Date | May 2009 | Marks available | 9 | Reference code | 09M.3dm.hl.TZ0.5 |
Level | HL only | Paper | Paper 3 Discrete mathematics | Time zone | TZ0 |
Command term | Show that | Question number | 5 | Adapted from | N/A |
Question
(a) Using Fermat’s little theorem, show that, in base 10, the last digit of n is always equal to the last digit of n5 .
(b) Show that this result is also true in base 30.
Markscheme
(a) using Fermat’s little theorem n5≡n(mod5) (M1)
n5−n≡0(mod5) A1
now n5−n=n(n4−1) (M1)
=n(n2−1)(n2+1)
=n(n−1)(n+1)(n2+1) A1
hence one of the first two factors must be even R1
i.e. n5−n≡0(mod2)
thus n5−n is divisible by 5 and 2
hence it is divisible by 10 R1
in base 10, since n5−n is divisible by 10, then n5−n must end in zero and hence n5 and n must end with the same digit R1
[7 marks]
(b) consider n5−n=n(n−1)(n+1)(n2+1)
this is divisible by 3 since the first three factors are consecutive integers R1
hence n5−n is divisible by 3, 5 and 2 and therefore divisible by 30
in base 30, since n5−n is divisible by 30, then n5−n must end in zero and hence n5 and n must end with the same digit R1
[2 marks]
Total [9 marks]
Examiners report
There were very few fully correct answers. If Fermat‟s little theorem was known, it was not well applied.