Processing math: 100%

User interface language: English | Español

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 n5n(mod5)     (M1)

n5n0(mod5)     A1

now n5n=n(n41)     (M1)

=n(n21)(n2+1)

=n(n1)(n+1)(n2+1)     A1

hence one of the first two factors must be even     R1

i.e. n5n0(mod2)

thus n5n is divisible by 5 and 2

hence it is divisible by 10     R1

in base 10, since n5n is divisible by 10, then n5n must end in zero and hence n5 and n must end with the same digit     R1

[7 marks]

 

(b)     consider n5n=n(n1)(n+1)(n2+1)

this is divisible by 3 since the first three factors are consecutive integers     R1

hence n5n is divisible by 3, 5 and 2 and therefore divisible by 30 

in base 30, since n5n is divisible by 30, then n5n 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.

Syllabus sections

Topic 10 - Option: Discrete mathematics » 10.6 » Fermat’s little theorem.

View options