Date | May 2018 | Marks available | 2 | Reference code | 18M.3dm.hl.TZ0.2 |
Level | HL only | Paper | Paper 3 Discrete mathematics | Time zone | TZ0 |
Command term | State | Question number | 2 | Adapted from | N/A |
Question
Consider the linear congruence ax≡b(modp) where a,b,p,x∈Z+, p is prime and a is not a multiple of p.
State Fermat’s little theorem.
Use Fermat’s little theorem to show that x≡ap−2b(modp).
Hence solve the linear congruence 5x≡7(mod13).
Markscheme
EITHER
if p is prime (and a is any integer) then ap≡a(modp) A1A1
Note: Award A1 for p prime and A1 for the congruence or for stating that p|ap−a.
OR
A1A1
Note: Award A1 for p prime and A1 for the congruence or for stating that p|ap−1−1.
Note: Condone use of equals sign provided (modp) is seen.
[2 marks]
multiplying both sides of the linear congruence by ap−2 (M1)
ap−1x≡ap−2b(modp) A1
as ap−1≡1(modp) R1
x≡ap−2b(modp) AG
[3 marks]
x≡511×7(mod13) (M1)
≡341796875(mod13) (A1)
Note: Accept equivalent calculation eg, using 52≡−1mod13.
≡4(mod13) A1
[3 marks]