// Numbas version: exam_results_page_options {"name": "Finding the highest common factor of two numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "variable_groups": [], "name": "Finding the highest common factor of two numbers", "functions": {}, "rulesets": {}, "ungrouped_variables": ["sixfac", "fourfac", "hc"], "metadata": {"description": "

This question tests the student's ability to identify the factors of some composite numbers and the highest common factors of two numbers. 

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "advice": "

a)

\n

i)

\n

$\\var{fourfac}$ has four factors: $1$, $3$, $\\var{fourfac/3}$ and $\\var{fourfac}$. 

\n

It is possible to pair the factors up to prove that they are factors. 

\n

\\[
\\begin{align}
1\\times\\var{fourfac}&=\\var{fourfac}\\text{.}\\\\
3\\times\\var{fourfac/3}&=\\var{fourfac}\\text{.}\\\\
\\end{align}
\\]

\n

ii)

\n

$\\var{sixfac}$ has six factors: $1$, $2$, $3$, $\\var{sixfac/3}$, $\\var{sixfac/2}$ and $\\var{sixfac}$.

\n

Again, it is possible to pair the factors up to prove that they are factors. 

\n

\\[
\\begin{align}
1\\times\\var{sixfac}&=\\var{sixfac}\\text{.}\\\\
2\\times\\var{sixfac/2}&=\\var{sixfac}\\text{.}\\\\
3\\times\\var{sixfac/3}&=\\var{sixfac}\\text{.}\\\\
\\end{align}
\\]

\n

\n

\n

b)

\n

We now look for common factors between the two lists of factors, and the highest common factor will be the largest of these.

\n

\n

For $\\var{fourfac}$ and $\\var{sixfac}$, the highest common factor is $\\var{hc}$.

\n

c)

\n

Dividing both the numerator and denominator by the highest common factor gives:

\n

\\[ \\frac{\\var{sixfac}}{\\var{fourfac}} = \\frac{\\frac{\\var{sixfac}}{\\var{hc}}}{\\frac{\\var{fourfac}}{\\var{hc}}} = \\frac{\\var{sixfac/hc}}{\\var{fourfac/hc}}\\text{.}\\]

\n

", "statement": "

Simplify $\\var{sixfac}/\\var{fourfac}$ by finding the highest common factor.

", "preamble": {"css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n", "js": ""}, "variables": {"fourfac": {"templateType": "anything", "description": "", "name": "fourfac", "group": "Ungrouped variables", "definition": "random(27,33,39)"}, "hc": {"templateType": "anything", "description": "", "name": "hc", "group": "Ungrouped variables", "definition": "gcd(sixfac,fourfac)"}, "sixfac": {"templateType": "anything", "description": "", "name": "sixfac", "group": "Ungrouped variables", "definition": "random(12,18)"}}, "parts": [{"variableReplacementStrategy": "originalfirst", "prompt": "

Identify the factors of the following numbers in ascending order.

\n

i)     Factors of $\\var{fourfac}$:            $1$, [[4]], [[5]], $\\var{fourfac}$

\n

\n

ii)     Factors of $\\var{sixfac}$:          [[0]], $2$, [[1]], [[2]], $\\var{sixfac/2}$, [[3]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": "0.5", "maxValue": "1", "allowFractions": false, "minValue": "1", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": "0.5", "maxValue": "3", "allowFractions": false, "minValue": "3", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": "0.5", "maxValue": "{sixfac/3}", "allowFractions": false, "minValue": "{sixfac/3}", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": "0.5", "maxValue": "{sixfac}", "allowFractions": false, "minValue": "{sixfac}", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": "0.5", "maxValue": "3", "allowFractions": false, "minValue": "3", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": "0.5", "maxValue": "{fourfac/3}", "allowFractions": false, "minValue": "{fourfac/3}", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}], "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "gapfill", "marks": 0, "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "prompt": "

What is the heighest common factor of $\\var{fourfac}$ and $\\var{sixfac}$?

\n

The heighest common factor is [[0]]

", "stepsPenalty": 0, "gaps": [{"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": "1", "maxValue": "hc", "allowFractions": false, "minValue": "hc", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "marks": 0, "steps": [{"variableReplacementStrategy": "originalfirst", "prompt": "

If the same number appears in a list of factors for two numbers, it is a common factor. The largest of these common factors is the highest common factor.

", "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "information", "marks": 0, "scripts": {}}], "showCorrectAnswer": true}, {"variableReplacementStrategy": "originalfirst", "prompt": "

Use the result above to reduce the following fraction to its simplest form.

\n

$\\displaystyle \\frac{\\var{sixfac}}{\\var{fourfac}} = $ [[0]] [[1]]

", "stepsPenalty": 0, "gaps": [{"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": 1, "maxValue": "sixfac/hc", "allowFractions": false, "minValue": "sixfac/hc", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "marks": 1, "maxValue": "fourfac/hc", "allowFractions": false, "minValue": "fourfac/hc", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "marks": 0, "steps": [{"variableReplacementStrategy": "originalfirst", "prompt": "

To simplify the fraction, divide both the numerator and denominator by the highest common factor.

", "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "information", "marks": 0, "scripts": {}}], "showCorrectAnswer": true}], "tags": ["composite numbers", "factors", "Factors", "highest common factors", "prime numbers", "taxonomy"], "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}]}], "contributors": [{"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}