Error
There was an error loading the page.
Factorise numbers into products of prime powers
Factorising 5 to 7 digit numbers into a product of prime powers.
Uses the marking algorithms from question 1 of this CBA
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are not members of Content created by Newcastle University :
Numbas Admin | said | Doesn't work | 5 years, 11 months ago |
History
Numbas Admin commented 5 years, 11 months ago
Automatic testing has identified a problem with this question:
Error in part Part a gap 0 custom script constructor: Cannot set property 'correctAnswer' of undefined
Numbas Admin 5 years, 11 months ago
Gave some feedback: Doesn't work
Newcastle University Mathematics and Statistics 9 years, 3 months ago
Created this.Name | Status | Author | Last Modified | |
---|---|---|---|---|
Factorise numbers into products of prime powers | Doesn't work | Newcastle University Mathematics and Statistics | 20/11/2019 14:51 | |
Marlon's copy of Factorise numbers into products of prime powers | draft | Marlon Arcila | 03/02/2018 16:38 |
Name | Type | Generated Value |
---|
p2 | integer |
7
|
||||
p3 | integer |
47
|
||||
p1 | integer |
2
|
||||
p5 | integer |
67
|
||||
sgp | list |
List of 15 items
|
||||
ntbf | number |
12596
|
||||
mgp | list |
List of 9 items
|
||||
e5 | integer |
1
|
||||
lgp | list |
[ 59, 61, 67, 73, 79 ]
|
||||
e1 | integer |
2
|
||||
e3 | integer |
1
|
||||
e2 | integer |
0
|
Generated value: integer
This variable doesn't seem to be used anywhere.
Gap-fill
Ask the student a question, and give any hints about how they should answer this part.
Factorize completely {ntbf}.
Input your answer in the form p^r * q^s * ...
where p,q,… are distinct primes and r,s,… are their powers.
{ntbf}=
(There is a Maple function ifactor(n) which factorizes integers.)
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Gap-fill | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet |
This question is used in the following exams:
- Number theory and cryptography by Newcastle University Mathematics and Statistics in Content created by Newcastle University.
- Michael's copy of Number theory and cryptography by Michael Foreman in Michael's workspace.
- Blathnaid's copy of Number theory and cryptography by Blathnaid Sheridan in Blathnaid's workspace.
- Blathnaid's copy of Blathnaid's copy of Number theory and cryptography by Blathnaid Sheridan in Blathnaid's workspace.
- Peter's copy of Blathnaid's copy of Blathnaid's copy of Number theory and cryptography by Peter Neary in Peter's workspace.
- Sean's copy of Number theory and cryptography by Sean Gardiner in Sean's workspace.