Date | November 2010 | Marks available | 11 | Reference code | 10N.3dm.hl.TZ0.4 |
Level | HL only | Paper | Paper 3 Discrete mathematics | Time zone | TZ0 |
Command term | Find and Write down | Question number | 4 | Adapted from | N/A |
Question
(a) Write down Fermat’s little theorem.
(b) In base 5 the representation of a natural number X is (k00013(5−k))5.
This means that X=k×56+1×52+3×5+(5−k).
In base 7 the representation of X is (anan−1…a2a1a0)7.
Find a0.
(c) Given that k = 2, find X in base 7.
Markscheme
(a) EITHER
if p is a prime ap≡a(modp) A1A1
OR
if p is a prime and a 0(modp) then ap−1≡1(modp) A1A1
Note: Award A1 for p being prime and A1 for the congruence.
[2 marks]
(b) a0≡X(mod7) M1
X=k×56+25+15+5−k
by Fermat 56≡1(mod7) R1
X=k+45−k(mod7) (M1)
X=3(mod7) A1
a0=3 A1
[5 marks]
(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
[4 marks]
Total [11 marks]
Examiners report
Fermat’s little theorem was reasonably well known. Not all candidates took the hint to use this in the next part and this part was not done well. Part (c) could and was done even if part (b) was not.