Processing math: 100%

User interface language: English | Español

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(5k))5.

This means that X=k×56+1×52+3×5+(5k).

In base 7 the representation of X is (anan1a2a1a0)7.

Find a0.

(c)     Given that k = 2, find X in base 7.

Markscheme

(a)     EITHER

if p is a prime apa(modp)     A1A1

OR

if p is a prime and a 0(modp) then ap11(modp)     A1A1

Note: Award A1 for p being prime and A1 for the congruence.

 

[2 marks]

 

(b)     a0X(mod7)     M1

X=k×56+25+15+5k

by Fermat 561(mod7)     R1

X=k+45k(mod7)     (M1)

X=3(mod7)     A1

a0=3     A1

[5 marks]

 

(c)     X=2×56+25+15+3=31293     A1

EITHER

X75=14486     (M1)

X756×74=80

X756×7472=31

X756×74724×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.

Syllabus sections

Topic 10 - Option: Discrete mathematics » 10.5 » Representation of integers in different bases.

View options