// 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": [], "metadata": {"description": "

Given arithmetic sequences with some terms missing, fill in the missing terms.

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["m", "index"], "functions": {}, "extensions": [], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "statement": "

Fill in the gaps in the following arithmetic sequences.

", "preamble": {"js": "", "css": ""}, "tags": ["Arithmetic sequences", "arithmetic sequences", "sequences", "taxonomy"], "parts": [{"showFeedbackIcon": true, "marks": 0, "scripts": {}, "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

", "type": "gapfill", "gaps": [{"correctAnswerStyle": "plain", "scripts": {}, "maxValue": "{m[0]*(index[0]+3)}", "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "minValue": "{m[0]*(index[0]+3)}", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false}, {"correctAnswerStyle": "plain", "scripts": {}, "maxValue": "{m[0]*(index[0]+5)}", "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "minValue": "{m[0]*(index[0]+5)}", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}, {"showFeedbackIcon": true, "marks": 0, "scripts": {}, "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)}$

", "type": "gapfill", "gaps": [{"correctAnswerStyle": "plain", "scripts": {}, "maxValue": "{m[1]*(index[1]-2)}", "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "minValue": "{m[1]*(index[1]-2)}", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false}, {"correctAnswerStyle": "plain", "scripts": {}, "maxValue": "{m[1]*(index[1]-5)}", "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "minValue": "{m[1]*(index[1]-5)}", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "rulesets": {}, "variables": {"index": {"templateType": "anything", "definition": "shuffle(7..15 except 10)[0..2]", "description": "

Starting indices of the sequences.

", "group": "Ungrouped variables", "name": "index"}, "m": {"templateType": "anything", "definition": "shuffle(5..12 except 10)[0..2]", "description": "

Common differences of the sequences

", "group": "Ungrouped variables", "name": "m"}}, "advice": "

In an arithmetic sequence, the difference between two adjecent terms is always the same.

\n

a)

\n

The difference between the first two terms in this sequence is $\\var{m[0]*(index[0]+1)} - \\var{m[0]*(index[0])} = \\var{m[0]}$.

\n

So to get from one term to the next, add $\\var{m[0]}$.

\n

The 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)} \\]

\n

b)

\n

The difference between the first two terms in this sequence is $\\var{m[1]*(index[1]-1)} - \\var{m[1]*(index[1])} = \\var{-m[1]}$.

\n

So to get from one term to the next, subtract $\\var{m[1]}$.

\n

The 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

", "name": "Fill in the gaps in an arithmetic sequence", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}