// Numbas version: exam_results_page_options {"name": "Multiples and Factors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Multiples and Factors", "tags": [], "metadata": {"description": "

Multiples, factors, lowest common multiples and highest common factors.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Solve the following.

", "advice": "

Multiples are in the times table of the original number (e.g., 10, 15, 20 are multiples of 5 because they are in the 5 times table).

\n

Factors multiply together in pairs to give the original number (e.g., the factors of 10 are 1, 2, 5 and 10, because 1x10=10 and 2x5=10.

\n

A lowest common multiple (LCM) is the lowest number that is in the times tables of both given numbers (e.g., the LCM of 4 and 6 is 12, because that is the lowest number that the times tables of 4 and 6 have in common).

\n

A highest common factors is the highest number that is the list of factors of both given numbers (e.g., the HCF of 10 and 15 is 5, because that is the highest number in both lists of factors).

", "rulesets": {}, "extensions": [], "variables": {"ca2": {"name": "ca2", "group": "Ungrouped variables", "definition": "random(answers except ca1)", "description": "", "templateType": "anything"}, "ca1": {"name": "ca1", "group": "Ungrouped variables", "definition": "random(answers)", "description": "", "templateType": "anything"}, "hcf": {"name": "hcf", "group": "Ungrouped variables", "definition": "gcd(k,l)", "description": "", "templateType": "anything"}, "lcm4": {"name": "lcm4", "group": "Ungrouped variables", "definition": "lcm(p,q)", "description": "", "templateType": "anything"}, "lcm2": {"name": "lcm2", "group": "Ungrouped variables", "definition": "lcm(n,m)", "description": "", "templateType": "anything"}, "product": {"name": "product", "group": "Ungrouped variables", "definition": "a*b*c", "description": "", "templateType": "anything"}, "answers": {"name": "answers", "group": "Ungrouped variables", "definition": "[a,b,c,a*b,a*c,b*c,1,product]", "description": "", "templateType": "anything"}, "hcf3": {"name": "hcf3", "group": "Ungrouped variables", "definition": "gcd(p,q)", "description": "", "templateType": "anything"}, "hcf2": {"name": "hcf2", "group": "Ungrouped variables", "definition": "gcd(n,m)+1", "description": "", "templateType": "anything"}, "lcm": {"name": "lcm", "group": "Ungrouped variables", "definition": "lcm(k,l)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1,2,3)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(5,7)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2,3)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..12)", "description": "", "templateType": "anything"}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(2..10 except b)", "description": "", "templateType": "anything"}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything"}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(1..100 except [d*1,d*2,d*3,d*4,d*5,d*6,d*7,d*8,d*9,d*10,f*1,f*2,f*3,f*4,f*5,f*6,f*7,f*8,f*9,f*10,g*1,g*2,g*3,g*4,g*5,g*6,g*7,g*8,g*9,g*10])", "description": "", "templateType": "anything"}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(4..12)", "description": "", "templateType": "anything"}, "j": {"name": "j", "group": "Ungrouped variables", "definition": "random(1..50 except [d*1,d*2,d*3,d*4,d*5,d*6,d*7,d*8,d*9,d*10,f*1,f*2,f*3,f*4,f*5,f*6,f*7,f*8,f*9,f*10,g*1,g*2,g*3,g*4,g*5,g*6,g*7,g*8,g*9,g*10,h])", "description": "", "templateType": "anything"}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..15 except [k,l,lcm])", "description": "", "templateType": "anything"}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(4..15 except k)", "description": "", "templateType": "anything"}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(6..15 except [k,l,lcm,m])", "description": "", "templateType": "anything"}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(4..36 except p)", "description": "", "templateType": "anything"}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(6..24)", "description": "", "templateType": "anything"}, "wa2": {"name": "wa2", "group": "Ungrouped variables", "definition": "random(1..product except [a,b,c,a*b,a*c,b*c,1,product,wa1])", "description": "", "templateType": "anything"}, "wa1": {"name": "wa1", "group": "Ungrouped variables", "definition": "random(1..product except answers)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["hcf2", "lcm2", "a", "b", "c", "product", "answers", "wa1", "wa2", "ca1", "ca2", "d", "f", "g", "h", "j", "k", "l", "lcm", "m", "n", "hcf", "p", "q", "hcf3", "lcm4"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Choose all of the factors of $\\var{product}$.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": "0", "warningType": "warn", "showCellAnswerState": true, "choices": ["

$\\var{ca1}$

", "

$\\var{ca2}$

", "

$\\var{wa1}$

", "

$\\var{wa2}$

"], "matrix": ["1", "1", 0, 0], "distractors": ["", "", "", ""]}, {"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Choose the multiples of $\\var{d}$ that are in the first ten multiples of that number.

", "minMarks": 0, "maxMarks": "2", "shuffleChoices": true, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": "0", "warningType": "none", "showCellAnswerState": true, "choices": ["

$\\var{h}$

", "

$\\var{d*f}$

", "

$\\var{d*g}$

", "

$\\var{j}$

"], "matrix": [0, "1", "1", 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Give the lowest common multiple of $\\var{k}$ and $\\var{l}$.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

$\\var{lcm}$

", "

$\\var{lcm2}$

", "

$\\var{hcf}$

", "

$\\var{hcf+1}$

"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Give the highest common factor of $\\var{p}$ and $\\var{q}$.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

$\\var{hcf3}$

", "

$\\var{hcf2}$

", "

$\\var{lcm4}$

", "

$\\var{lcm}$

"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}