// Numbas version: exam_results_page_options {"name": "Write down and apply the formula for an arithmetic sequence.", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "statement": "

In this question, consider the sequence

\n

\\[ a = \\var{a1}, \\; \\var{a1+d}, \\; \\var{a1+d*2}, \\; \\var{a1+d*3}, \\; \\ldots \\]

\n

A helpful person has drawn out a table of the terms so far.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\boldsymbol{n}$$1$$2$$3$$4$$\\ldots$
$\\boldsymbol{a_n}$$\\var{a1}$$\\var{a1+d}$$\\var{a1+2d}$$\\var{a1+3d}$$\\ldots$
", "variable_groups": [], "ungrouped_variables": ["a1", "d", "small", "large"], "variables": {"large": {"group": "Ungrouped variables", "description": "

A large index to compute

", "definition": "random(10..50#5)*10", "name": "large", "templateType": "anything"}, "a1": {"group": "Ungrouped variables", "description": "

The first term in the sequence

", "definition": "random(1..90)", "name": "a1", "templateType": "anything"}, "d": {"group": "Ungrouped variables", "description": "", "definition": "random(3..13 except 10)", "name": "d", "templateType": "anything"}, "small": {"group": "Ungrouped variables", "description": "

A small index to compute

", "definition": "random(6..10)", "name": "small", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Given the first few terms of an arithmetic sequence, write down its formula, then find a couple of particular terms.

"}, "parts": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "customName": "", "prompt": "

Write out an expression for $a_n$, the $n^{\\text{th}}$ term of the sequence, in terms of $n$.

\n

$a_n =$ [[0]]

\n

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "answerSimplification": "basic", "checkingType": "absdiff", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "customMarkingAlgorithm": "", "valuegenerators": [{"value": "", "name": "n"}], "variableReplacements": [], "scripts": {}, "checkVariableNames": false, "failureRate": 1, "marks": 1, "unitTests": [], "customName": "", "answer": "{a1}+(n-1){d}", "showCorrectAnswer": true, "vsetRangePoints": 5, "checkingAccuracy": 0.001, "extendBaseMarkingAlgorithm": true, "showPreview": true}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "customName": "", "prompt": "

\n

Find the $\\var{small}^{\\text{th}}$ term

\n

$a_{\\var{small}} = $ [[0]]

\n

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "customName": "", "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "mustBeReduced": false, "minValue": "a1+(small-1)*d", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "type": "numberentry", "maxValue": "a1+(small-1)*d", "useCustomName": false, "showFeedbackIcon": true, "allowFractions": false, "variableReplacements": [], "scripts": {}}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "customName": "", "prompt": "

Find the $\\var{large}^{\\text{th}}$ term

\n

$a_{\\var{large}} = $[[0]]

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "customName": "", "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "mustBeReduced": false, "minValue": "a1+(large-1)*d", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "type": "numberentry", "maxValue": "a1+(large-1)*d", "useCustomName": false, "showFeedbackIcon": true, "allowFractions": false, "variableReplacements": [], "scripts": {}}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}], "advice": "

The formula for the $n^\\text{th}$ term, $a_n$, of an arithmetic sequence is

\n

\\[ a_n=a_1+(n-1)d \\text{.} \\]

\n

$a_1$ is the first term, and $d$ is the common difference between adjacent terms.

\n

a)

\n

In the given sequence, the common difference is $\\var{a1+d} - \\var{a1} = \\var{d}$, and the first term is $\\var{a1}$.

\n

So, the formula for this sequence is

\n

\\[ a_n = \\var{a1} + (n-1) \\times \\var{d} \\text{.} \\]

\n

b)

\n

\\[ a_\\var{small} = \\var{a1} + (\\var{small}-1) \\times \\var{d} = \\var{a1+(small-1)*d} \\text{.} \\]

\n

c)

\n

\\[ a_\\var{large} = \\var{a1} + (\\var{large}-1) \\times \\var{d} = \\var{a1+(large-1)*d} \\text{.} \\]

\n

\n

", "functions": {}, "rulesets": {}, "extensions": [], "name": "Write down and apply the formula for 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/"}]}