Number Theory Solutions
Number Theory Solutions
2. (a) EITHER
3│m ⇒ m ≡ 0 (mod 3) (R1)
if this is false then m ≡ 1 or 2 (mod 3) and m2 ≡ 1 or 4 (mod 3) R1A1
since 4 ≡ 1(mod 3) then m2 ≡ 1(mod 3) A1
similarly n2 ≡ 1(mod 3) A1
hence m2 + n2 ≡ 2 (mod 3)
but m2 + n2 ≡ 0 (mod 3) (R1)
this is a contradiction so 3│m and 3│n R1AG
OR
m ≡ 0, 1 or 2 (mod 3) and n = 0, 1 or 2 (mod 3) M1R1
⇒ m2 ≡ 0 or 1 (mod 3) and n2 ≡ 0 or 1 (mod 3) A1A1
so m2 + n2 ≡ 0, 1, 2 (mod 3) A1
but 3| m2 + n2, so m2 + n2 ≡ 0 (mod 3) R1
m ≡ 0 (mod 3) and n ≡ 0 (mod 3) R1
⇒ 3│m and 3│n AG
a
(b) suppose 2= , where a, b ∈ and a and b are coprime M1
b
then
2b2 = a2 A1
a2 + b2 = 3b2 A1
3b2 ≡ 0 (mod 3) A1
a
but by (a) a and b have a common factor so 2≠ R1
b
⇒ 2 is irrational AG
[12]
n 6
(b) we require the least integer such that 2 2 ≥ 1010
taking logs twice gives M1M1
2n ln 2 ≥ 106 ln 10
10 6 ln 10
n ln 2 ≥ ln
ln 2
= 6 ln 10 + ln ln 10 – ln ln 2
n ≥ 21.7 (A1)
least n is 22 A1
(b) (i) every positive integer, greater than 1, is either prime or can be
expressed uniquely as a product of primes A1A1
Note: Award A1 for “product of primes” and A1 for “uniquely”.
a
(b) (i) aRa since = 1 = 20, hence R is reflexive A1
a
a b
aRb ⇒ = 2 k ⇒ = 2 −k ⇒ bRa
b a
so R is symmetric A1
a b
aRb and bRc ⇒ = 2m, m ∈ and bRc ⇒ = 2n, n ∈ M1
b c
a b a
⇒ × = = 2m+n, m + n ∈ A1
b c c
⇒ aRc so transitive R1
hence R is an equivalence relation AG
(ii) equivalence classes are {1, 2, 4, 8}, {3, 6} , {5,10} , {7}, {9} A3
Note: Award A2 if one class missing,
A1 if two classes missing,
A0 if three or more classes missing.
[11]
(b) N = an × 3n + an − 1 × 3n − 1 +... + a1 × 3 + a0
∑ a (3 )
n
an + an − 1 + ... + a1 + a0 = N − r
r
−1 M1
r =1
n (n2 + 2n + 3)(mod 8)
1 6
2 3
3 2
4 3
5 6
6 3
7 2
8 3
M1A2
we see that the only possible values so far are 2, 3 and 6 R1
also, the table suggests that these values repeat themselves but we have
to prove this
let f(n) = n2 + 2n + 3, consider
f(n + 4) – f(n) = (n + 4)2 + 2(n + 4) + 3 – n2 – 2n – 3 M1
= 8n + 24 A1
since 8n + 24 is divisible by 8, M1
f(n + 4) = f(n)(mod 8) A1
this confirms that the values do repeat every 4 values of n so that 2, 3 and 6
are the only values taken for all values of n R1
[9]
8. (a) a = λc + 1 M1
so ab = λbc + b ⇒ ab ≡ b (mod c) A1 AG
OR
= an(9n – 1) + an–1(9n–1 – 1) + ... + a1(91 – 1)
+ an + an–1 + ... + a1 + a0 A1
11. (a) Let p1, ..., pn be the set of primes that divide either a or b M1
Then a = p1 p 2 ... p nα n and b = p1β1
α2 α2 β2
p 2 ... p nβ n A1A1
Hence ab = p1α1 + β1 p 2α 2 + β 2 ... p nα n + β n A1
Furthermore min{αj, βj} + max{αj, βj} = αj + βj for j = 1,2,...,n A1
Hence ab = p1min{α1 , β1 }+ max{α1 , β1 } ... p nmin{α n , β n }+ max{α n , β n } A1
ab = gcd(a,b) × lcm(a,b) AG
(b) EITHER
consider N in the form
n
N = an × (9n – 1) + an–1 × (9n–1 – 1) + ... + a1(9 – 1) + ∑a
i =0
i M1A1
all terms except the last are even so therefore is their sum R1
n
it follows that N is even if ∑a
i =0
i is even AG
OR
working modulo 2, 9k ≡ 1 (mod 2) M1A1
hence N = anan–1...a1a0 = an × 9n + an–1 × 9n–1 + ... + a1 × 9 + a0
n
≡ ∑a
i =0
i (mod 2) R1
n
it follows that N is even if ∑a
i =0
i is even AG
(b) x ≡ y(mod n)
⇒ x = y + kn M1
x2 = y2 + 2kny + k2n2 A1
⇒ x2 = y2 + (2ky + k2n) n M1A1
⇒ x2 ≡ y2 (mod n) AG
(c) EITHER
x2 ≡ y2 (mod n)
⇒ x2 − y2 = 0(mod n) M1
⇒ (x − y)(x + y) = 0(mod n) A1
This will be the case if
x + y = 0(mod n) or x = −y(mod n) R1
so x ≠ y(mod n) in general R1
OR
Any counter example, e.g. n = 5, x = 3, y = 2, in which case R2
x2 ≡ y2 (mod n) but x ≡/ y (mod n). (false) R1R1
[9]
Note: A method that uses the fact that 10t ≡ 1 (mod 9) is equally valid.
(b) a0 ≡ X (mod 7) M1
X = k × 56 + 25 + 15 + 5 – k
by Fermat 56 ≡ 1(mod 7) R1
X ≡ k + 45 – k (mod 7) (M1)
X ≡ 3 (mod 7) A1
a0 = 3 A1
(c) X = 2 × 56 + 25 + 15 + 3 = 31293 A1
EITHER
X – 75 = 14486 (M1)
X – 75 – 6 × 74 = 80
X – 75 – 6 × 74 – 72 = 31
X – 75 – 6 × 74 – 72 – 4 × 7 = 3
X = 75 + 6 × 74 + 72 + 4 × 7 + 3 (A1)
X = (160143)7 A1
OR
31293 = 7 × 4470 + 3 (M1)
4470 = 7 × 638 + 4
638 = 7 × 91 + 1
91 = 7 × 13 + 0
13 = 7 × 1 + 6 (A1)
X = (160143)7 A1
[11]
[5]
(b) METHOD 1
Since 3 | 12 the equation has a solution M1
3 = 1 × 66 − 1 × 63 M1
3 = −1 × 129 + 2 × 66
3 = 2 × (324 − 2 × 129) − 129
3 = 2 × 324 − 5 × 129 A1
12 = 8 × 324 − 20 × 129 A1
(x, y) = (8, −20) is a particular solution A1
Note: A calculator solution may gain M1M1A0A0A1.
129
A general solution is x = 8 + t = 8 + 43t , y = − 20 − 108t , t ∈ A1
3
METHOD 2
324x + 129y = 12
108x + 43y = 4 A1
108x ≡ 4(mod 43) ⇒ 27x ≡ 1(mod 43) A1
x = 8 + 43t A1
108(8 + 43t) + 43y = 4 M1
864 + 4644t + 43y = 4
43y = −860 − 4644t
y = −20 −108t A1
a particular solution (for example t = 0) is (x, y) = (8, −20) A1
(c) EITHER
(b) (i) 7 = 21 – 14 M1
= 21 – (35 – 21)
= 2 × 21 – 35 (A1)
= 2 × (56 – 35) – 35
= 2 × 56 – 3 × 35 (A1)
= 2 × 56 – 3 × (315 – 5 × 56)
= 17 × 56 – 3 × 315 (A1)
therefore 56 × 51 + 315 × (–9) = 21 M1
x = 51, y = – 9 is a solution (A1)
the general solution is x = 51 + 45 N, y = –9 – 8N, N ∈ A1A1
2 x + 5 y ≡ 1 (mod 6)
(ii)
x + y ≡ 5 (mod 6)
adding 3x + 6y ≡ 0(mod 6) M1
6y ≡ 0(mod 6) so 3x ≡ 0(mod 6) R1
x ≡ 0 or x ≡ 2 or x ≡ 4(mod 6) A1A1A1
for x ≡ 0, 0 + y ≡ 5(mod 6) so y ≡ 5(mod 6) A1
for x ≡ 2, 2 + y ≡ 5(mod 6) so y ≡ 3(mod 6) A1
If x ≡ 4(mod 6), 4 + y ≡ 5(mod 6) so y ≡ 1(mod 6) A1
26. (a) the relevant powers of 16 are 16, 256 and 4096
then
51966 = 12 × 4096 remainder 2814 M1A1
2814 = 10 × 256 remainder 254
254 = 15 × 16 remainder 14 A1
the hexadecimal number is CAFE A1
Note: CAFE is produced using a standard notation, accept explained
alternative notations.
27. x ≡ 1(mod 3) ⇒ x = 3k + 1 A1
Choose k such that 3k + 1 ≡ 2 (mod 5) M1
With Euclid’s algorithm or otherwise we find
k ≡ 7 + 5h A1
Choose h such that 22 + 15k ≡ 3 (mod 7) M1
With Euclid′s algorithm or otherwise
k ≡ 2 + 7j A1
Hence x = 22 + 15(2 + 7j) = 52 + 105j A1 N3
[6]
(b) EITHER
solutions to x ≡ 3 (mod 4) are
3, 7, 11, 15, 19, 23, 27, ... A1
solutions to 3x ≡ 2 (mod 5) are
4, 9, 14, 19 ... (M1)A1
so a solution is x = 19 A1
using the Chinese remainder theorem (or otherwise) (M1)
the general solution is x = 19 + 20n (n ∈ ) A1
(accept 19 (mod 20))
OR
x = 3 + 4t ⇒ 9 + 12t ≡ 2 (mod 5) M1A1
⇒ 2t ≡ 3 (mod 5) A1
⇒ 6t ≡ 9 (mod 5)
⇒ t ≡ 4 (mod 5) A1
so t = 4 + 5n and x = 19 + 20n (n ∈ ) M1A1
(accept 19 (mod 20))
Note: Also accept solutions done by formula.
[14]