// Numbas version: exam_results_page_options {"name": "Simon's copy of Find common difference in arithmetic sequences with gaps", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Given sequences with missing terms, find the common difference between terms.

"}, "tags": [], "ungrouped_variables": ["n", "index"], "variable_groups": [], "variables": {"n": {"definition": "shuffle(3..9)[0..3]", "name": "n", "group": "Ungrouped variables", "description": "", "templateType": "anything"}, "index": {"definition": "shuffle(5..15 except 10)[0..3]", "name": "index", "group": "Ungrouped variables", "description": "", "templateType": "anything"}}, "name": "Simon's copy of Find common difference in arithmetic sequences with gaps", "parts": [{"showCorrectAnswer": true, "gaps": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{n[0]}", "unitTests": [], "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "minValue": "{n[0]}", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "mustBeReduced": false, "marks": 1, "mustBeReducedPC": 0, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "allowFractions": false, "type": "numberentry"}], "showFeedbackIcon": true, "unitTests": [], "scripts": {}, "type": "gapfill", "customMarkingAlgorithm": "", "prompt": "

$\\var{n[0]*index[0]}$, $\\var{n[0]*(index[0]+1)}$, $\\var{n[0]*(index[0]+2)}$, $\\var{n[0]*(index[0]+3)}$

\n

Common Difference = [[0]]

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

$\\var{n[1]*(index[1])}$, $?$, $\\var{n[1]*(index[1]+2)}$, $?$, $\\var{n[1]*(index[1]+4)}$

\n

Common Difference = [[0]]

", "marks": 0, "sortAnswers": false, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst"}, {"showCorrectAnswer": true, "gaps": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{n[2]}", "unitTests": [], "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "minValue": "{n[2]}", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "mustBeReduced": false, "marks": 1, "mustBeReducedPC": 0, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "allowFractions": false, "type": "numberentry"}], "showFeedbackIcon": true, "unitTests": [], "scripts": {}, "type": "gapfill", "customMarkingAlgorithm": "", "prompt": "

$\\var{n[2]*(index[2])}$, $?$, $?$, $\\var{n[2]*(index[2]+3)}$, $?$, $?$, $\\var{n[2]*(index[2]+6)}$

\n

Common Difference = [[0]]

", "marks": 0, "sortAnswers": false, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst"}], "rulesets": {}, "preamble": {"css": "", "js": ""}, "statement": "

Find the common differences of the following arithmetic sequences. Some of the terms are missing.

", "functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "advice": "

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

\n

Call the common difference $d$, and the first term in the sequence $a_1$. Then the sequence goes as follows:

\n

\\[ a_1, \\; a_1+d, \\; a_1+2d, \\; a_1+3d, \\; \\ldots \\]

\n

The difference between a term in the sequence and the term $n$ places along is $n \\times d$.

\n

a)

\n

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

\n

So the common difference is $\\var{n[0]}$.

\n

b)

\n

We're not given any adjacent terms of this sequence, but we are given some terms two places apart.

\n

\\begin{align}
2d &= \\var{n[1]*(index[1]+2)} - \\var{n[1]*index[1]} \\\\
&= \\var{2*n[1]} \\\\
d &= \\var{n[1]}
\\end{align}

\n

The common difference is $\\var{n[1]}$.

\n

c)

\n

Again we're not given any adjacent terms of this sequence, but we have two terms three places apart.

\n

\\begin{align}
3d &= \\var{n[2]*(index[2]+3)} - \\var{n[2]*index[2]} \\\\
&= \\var{3*n[2]} \\\\
d &= \\var{n[2]}
\\end{align}

\n

The common difference is $\\var{n[2]}$.

\n

", "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}