// Numbas version: finer_feedback_settings {"name": "Fill in the gaps in an arithmetic sequence", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "preamble": {"js": "", "css": ""}, "type": "question", "name": "Fill in the gaps in an arithmetic sequence", "parts": [{"variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "gaps": [{"correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "minValue": "{m[0]*(index[0]+3)}", "maxValue": "{m[0]*(index[0]+3)}", "marks": 1, "variableReplacements": []}, {"correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "minValue": "{m[0]*(index[0]+5)}", "maxValue": "{m[0]*(index[0]+5)}", "marks": 1, "variableReplacements": []}], "marks": 0, "variableReplacements": [], "scripts": {}, "showFeedbackIcon": true, "prompt": "
$\\var{m[0]*(index[0])}, \\; \\var{m[0]*(index[0]+1)}, \\; \\var{m[0]*(index[0]+2)}, \\;$ [[0]] $, \\; \\var{m[0]*(index[0]+4)}, \\;$ [[1]]$, \\; \\var{m[0]*(index[0]+6)}$
\n"}, {"variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "gaps": [{"correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "minValue": "{m[1]*(index[1]-2)}", "maxValue": "{m[1]*(index[1]-2)}", "marks": 1, "variableReplacements": []}, {"correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "minValue": "{m[1]*(index[1]-5)}", "maxValue": "{m[1]*(index[1]-5)}", "marks": 1, "variableReplacements": []}], "marks": 0, "variableReplacements": [], "scripts": {}, "showFeedbackIcon": true, "prompt": "\n
$\\var{m[1]*(index[1])}, \\; \\var{m[1]*(index[1]-1)}, \\;$ [[0]]$, \\; \\var{m[1]*(index[1]-3)}, \\; \\var{m[1]*(index[1]-4)}, \\;$ [[1]] $, \\; \\var{m[1]*(index[1]-6)}$
"}], "advice": "In an arithmetic sequence, the difference between two adjecent terms is always the same.
\nThe difference between the first two terms in this sequence is $\\var{m[0]*(index[0]+1)} - \\var{m[0]*(index[0])} = \\var{m[0]}$.
\nSo to get from one term to the next, add $\\var{m[0]}$.
\nThe complete sequence is
\n\\[ \\var{m[0]*(index[0])}, \\; \\var{m[0]*(index[0]+1)}, \\; \\var{m[0]*(index[0]+2)}, \\; \\underline{\\var{m[0]*(index[0]+3)}}, \\; \\var{m[0]*(index[0]+4)}, \\; \\underline{\\var{m[0]*(index[0]+5)}}, \\; \\var{m[0]*(index[0]+6)} \\]
\nThe difference between the first two terms in this sequence is $\\var{m[1]*(index[1]-1)} - \\var{m[1]*(index[1])} = \\var{-m[1]}$.
\nSo to get from one term to the next, subtract $\\var{m[1]}$.
\nThe complete sequence is
\n\\[ \\var{m[1]*(index[1])}, \\; \\var{m[1]*(index[1]-1)}, \\; \\underline{\\var{m[1]*(index[1]-2)}}, \\; \\var{m[1]*(index[1]-3)}, \\; \\var{m[1]*(index[1]-4)}, \\; \\underline{\\var{m[1]*(index[1]-5)}}, \\; \\var{m[1]*(index[1]-6)} \\]
\n\n\n
Common differences of the sequences
", "definition": "shuffle(5..12 except 10)[0..2]", "name": "m", "group": "Ungrouped variables"}, "index": {"templateType": "anything", "description": "Starting indices of the sequences.
", "definition": "shuffle(7..15 except 10)[0..2]", "name": "index", "group": "Ungrouped variables"}}, "rulesets": {}, "extensions": [], "functions": {}, "ungrouped_variables": ["m", "index"], "statement": "Fill in the gaps in the following arithmetic sequences.
", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Given arithmetic sequences with some terms missing, fill in the missing terms.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}