User interface language: English | Español

Date November 2011 Marks available 7 Reference code 11N.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 version of Fermat’s little theorem states that when p is prime, a is a positive integer and a and p are relatively prime, then \({a^{p - 1}} \equiv 1(\bmod p)\).

Use the above result to show that if p is prime then \({a^p} \equiv a(\bmod p)\) where a is any positive integer.

[4]
a.

Show that \({2^{341}} \equiv 2(\bmod 341)\).

[7]
b.

(i)     State the converse of the result in part (a).

(ii)     Show that this converse is not true.

[2]
c.

Markscheme

consider two cases     M1

let a and p be coprime

\({a^{p - 1}} \equiv 1(\bmod p)\)     R1

\( \Rightarrow {a^p} \equiv a(\bmod p)\)

let a and p not be coprime

\(a \equiv 0(\bmod p)\)     M1

\({a^p} = 0(\bmod p)\)     R1

\( \Rightarrow {a^p} = a(\bmod p)\)

so \({a^p} = a(\bmod p)\) in both cases     AG

[4 marks]

a.

\(341 = 11 \times 31\)     (M1)

we know by Fermat’s little theorem

\({2^{10}} \equiv 1(\bmod 11)\)     M1

\( \Rightarrow {2^{341}} \equiv {({2^{10}})^{34}} \times 2 \equiv {1^{34}} \times 2 \equiv 2(\bmod 11)\)     A1

also \({2^{30}} \equiv 1(\bmod 31)\)     M1

\( \Rightarrow {2^{341}} \equiv {({2^{30}})^{11}} \times {2^{11}}\)     A1

\( \equiv {1^{11}} \times 2048 \equiv 2(\bmod 31)\)     A1

since 31 and 11 are coprime     R1

\({2^{341}} \equiv 2(\bmod 341)\)     AG

[7 marks]

b.

(i)     converse: if \({a^p} = a(\bmod p)\) then p is a prime     A1

 

(ii)     from part (b) we know \({2^{341}} \equiv 2(\bmod 341)\)

however, 341 is composite

hence 341 is a counter-example and the converse is not true     R1

[2 marks]

c.

Examiners report

There were very few fully correct answers. In (b) the majority of candidates assumed that 341 is a prime number and in (c) only a handful of candidates were able to state the converse.

a.

There were very few fully correct answers. In (b) the majority of candidates assumed that 341 is a prime number and in (c) only a handful of candidates were able to state the converse.

b.

There were very few fully correct answers. In (b) the majority of candidates assumed that 341 is a prime number and in (c) only a handful of candidates were able to state the converse.

c.

Syllabus sections

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

View options