// Numbas version: exam_results_page_options {"name": "Lowest common multiples", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "rulesets": {}, "name": "Lowest common multiples", "functions": {}, "ungrouped_variables": [], "metadata": {"description": "

This is a simple question testing the student on their ability to calculate the lowest common multiple of two integers which are: 

\n

Part a) - coprime;

\n

Part b) - where the greatest common divisor between the two integers is greater than one and not equal to either given number; and

\n

Part c) - where one of the integer is a multiple of the other. 

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "variable_groups": [{"variables": ["a", "b", "lcm_ab"], "name": "part c"}, {"variables": ["c", "d", "lcm_cd"], "name": "part a"}, {"variables": ["f", "g", "lcm_fg", "gcd_fg"], "name": "part b"}], "advice": "

a)

\n

Here are the times tables for $\\var{a}$ and $\\var{b}$.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{a}$$\\var{2a}$$\\var{3a}$$\\var{4a}$$\\var{5a}$$\\var{6a}$$\\var{7a}$$\\var{8a}$$\\var{9a}$$\\var{10a}$$\\var{11a}$$\\var{12a}$$\\var{13a}$
$\\var{b}$$\\var{2b}$$\\var{3b}$$\\var{4b}$$\\var{5b}$$\\var{6b}$$\\var{7b}$$\\var{8b}$$\\var{9b}$$\\var{10b}$$\\var{11b}$$\\var{12b}$$\\var{13b}$
\n

The first number which appears in both lists is $\\var{a*b}$.

\n

Alternately, notice that $\\var{a}$ and $\\var{b}$ don't have any factors in common, so their greatest common divisor is $1$. So the lowest common multiple is just the product of the two numbers.

\n

\n

b)

\n

The lowest common multiple of $\\var{f}$ and $\\var{g}$ will be the product of the two numbers, divided by the greatest common divisor.

\n

The greatest common divisor of $\\var{f}$ and $\\var{g}$ is $\\var{gcd_fg}$.

\n

Therefore, the lowest common multiple will is

\n

\\[\\frac{\\var{f}\\times\\var{g}}{\\var{gcd_fg}}=\\var{lcm_fg}\\text{.}\\]

\n

c)

\n

$\\var{d}$ is a multiple of $\\var{c}$, as $\\var{d/c}\\times\\var{c}=\\var{d}.$

\n

The lowest common multiple of $\\var{c}$ and $\\var{d}$ will therefore be $\\var{d/c} \\times \\var{c} = 1 \\times \\var{d} = \\var{d}$.

", "statement": "

The lowest common multiple of two numbers is the first number which appears in both numbers' times tables. 

", "preamble": {"js": "", "css": ""}, "variables": {"a": {"templateType": "anything", "description": "", "name": "a", "group": "part c", "definition": "random([2,3,5,7,11,13])"}, "lcm_fg": {"templateType": "anything", "description": "", "name": "lcm_fg", "group": "part b", "definition": "lcm(f,g)"}, "lcm_ab": {"templateType": "anything", "description": "", "name": "lcm_ab", "group": "part c", "definition": "lcm(a,b)"}, "c": {"templateType": "anything", "description": "", "name": "c", "group": "part a", "definition": "random(2..10)"}, "lcm_cd": {"templateType": "anything", "description": "", "name": "lcm_cd", "group": "part a", "definition": "lcm(c,d)"}, "g": {"templateType": "anything", "description": "", "name": "g", "group": "part b", "definition": "random([10,12,14,16,18,22,27] except f)"}, "gcd_fg": {"templateType": "anything", "description": "", "name": "gcd_fg", "group": "part b", "definition": "gcd(f,g)"}, "b": {"templateType": "anything", "description": "", "name": "b", "group": "part c", "definition": "random([2,3,5,7,11,13] except a)"}, "f": {"templateType": "anything", "description": "", "name": "f", "group": "part b", "definition": "random([10,12,14,16,18,22])"}, "d": {"templateType": "anything", "description": "", "name": "d", "group": "part a", "definition": "random(2..6)*c"}}, "parts": [{"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "lcm_ab", "allowFractions": false, "prompt": "

What is the lowest common multiple of $\\var{a}$ and $\\var{b}$? 

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

What is the lowest common multiple of $\\var{f}$ and $\\var{g}$?

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

What is the lowest common multiple of $\\var{c}$ and $\\var{d}$? 

", "mustBeReducedPC": 0, "minValue": "lcm_cd", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "marks": 1, "showCorrectAnswer": true}], "tags": ["lowest common multiples", "taxonomy"], "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}