// Numbas version: finer_feedback_settings {"name": "Find a particular term of a sequence using the given formula", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "

Given a formula for a sequence, calculate a given term.

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["n"], "type": "question", "rulesets": {}, "advice": "

\n

\n

Substitute $n = \\var{n}$ into the formula for the sequence.

\n

\\[\\]

\n

\\begin{align}
a_n &= \\frac{\\var{a}n(n+\\var{b})}{\\var{c}} \\\\[0.5em]
a_{\\var{n}}&= \\simplify[]{ ({a}*{n}*({n}+{b}))/{c} } \\\\[0.5em]
&=\\var{a*n*(n+b)/c}
\\end{align}

\n

", "variables": {"b": {"description": "", "definition": "random(2..7)c", "group": "seq' eqn' question c)", "name": "b", "templateType": "anything"}, "c": {"description": "", "definition": "random(2..5)", "group": "seq' eqn' question c)", "name": "c", "templateType": "anything"}, "a": {"description": "", "definition": "random(2..5)", "group": "seq' eqn' question c)", "name": "a", "templateType": "anything"}, "n": {"description": "", "definition": "random(3..9 except 5)*c", "group": "Ungrouped variables", "name": "n", "templateType": "anything"}}, "statement": "", "name": "Find a particular term of a sequence using the given formula", "parts": [{"scripts": {}, "variableReplacements": [], "type": "gapfill", "prompt": "

Find the $\\var{n}^\\text{th}$ term of the sequence with formula: 

\n

\\[a_n=\\frac{\\var{a}n(n+\\var{b})}{\\var{c}}\\]

\n

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

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "gaps": [{"correctAnswerFraction": false, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "allowFractions": false, "minValue": "a*n*(n+b)/c", "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "maxValue": "a*n*(n+b)/c", "mustBeReduced": false, "marks": "1", "variableReplacements": [], "correctAnswerStyle": "plain", "showCorrectAnswer": true}], "showFeedbackIcon": true, "marks": 0}], "tags": ["taxonomy"], "preamble": {"js": "", "css": ""}, "variable_groups": [{"name": "seq' eqn' question c)", "variables": ["a", "b", "c"]}], "functions": {}, "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "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/"}]}