Number Theory (Intermediate)
Level 2 — Recall & Standard Problems Time: 30 minutes Total Marks: 40
Q1. State the divisibility rule for 11, and use it to check whether is divisible by . (4 marks)
Q2. Prove that is irrational. (6 marks)
Q3. Use the Euclidean algorithm to find . Show every step. (4 marks)
Q4. Using the Extended Euclidean algorithm, find integers such that State Bézout's identity in your answer. (5 marks)
Q5. Evaluate the following in modular arithmetic: (a) (b) (4 marks)
Q6. Write the decimal expansion of each rational number and state whether it terminates or repeats: (a) (b) (4 marks)
Q7. State Fermat's Little Theorem. Using it, compute . (5 marks)
Q8. Fill in with the correct symbol () to describe the real number system, and classify each number below into the smallest set to which it belongs (): (4 marks)
Q9. Find the smallest positive integer satisfying the system (Chinese Remainder Theorem): (4 marks)
End of paper
Answer keyMark scheme & solutions
Q1. (4 marks) Rule: A number is divisible by 11 iff the alternating sum of its digits (from the right) is divisible by 11. (1 mark)
For : digits from right . Alternating sum . (2 marks) Since is divisible by 11, is divisible by 11. (1 mark) (Check: .)
Q2. (6 marks) Assume, for contradiction, with , , and (lowest terms). (1) Then , so is even is even. (1) Write . Then , so is even is even. (2) But then and , contradicting . (1) Hence cannot be written as a ratio of integers; is irrational. (1)
Q3. (4 marks) (3 marks, 1 per correct step) Last non-zero remainder , so . (1)
Q4. (5 marks) Euclid: ; ; ; ; . So . (2) Back-substitute: . (2) Thus : (Bézout's identity: gcd is expressible as integer combination). (1)
Q5. (4 marks) (a) , . (2) (b) ; , so . (Or .) (2)
Q6. (4 marks) (a) — terminating (denominator ). (2) (b) — repeating, period 2. (2)
Q7. (5 marks) Fermat's Little Theorem: If is prime and , then . (2) Here , : . (1) , so . (1) . (1)
Q8. (4 marks) (1 for chain) Classification (smallest set): (3, ¾ each)
- (irrational)
Q9. (4 marks) Numbers : (1) Test : . ✓ (2) Smallest positive solution (general solution ). (1)
[
{"claim":"918082 divisible by 11", "code":"result = (918082 % 11 == 0)"},
{"claim":"gcd(1071,462)=21", "code":"result = (gcd(1071,462) == 21)"},
{"claim":"Bezout 240*(-9)+46*47 = gcd = 2", "code":"result = (240*(-9)+46*47 == 2 and gcd(240,46)==2)"},
{"claim":"3**100 mod 7 = 4", "code":"result = (pow(3,100,7) == 4)"},
{"claim":"CRT solution x=8 satisfies both congruences", "code":"result = (8 % 3 == 2 and 8 % 5 == 3)"}
]