// Numbas version: exam_results_page_options {"name": "Show the prime factorisation of a number", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"primes": {"description": "", "group": "Ungrouped variables", "definition": "[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47]", "templateType": "anything", "name": "primes"}, "f": {"description": "
show_factors
is defined in the Extensions & Scripts tab
A function which renders the factorisation of a number in LaTeX.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "$\\var{a} = \\var{show_factors(a)}$
", "parts": [], "rulesets": {}, "preamble": {"js": "", "css": ""}, "name": "Show the prime factorisation of a number", "variable_groups": [], "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/"}]}