Date | May 2011 | Marks available | 4 | Reference code | 11M.3dm.hl.TZ0.1 |
Level | HL only | Paper | Paper 3 Discrete mathematics | Time zone | TZ0 |
Command term | Find | Question number | 1 | Adapted from | N/A |
Question
Use the Euclidean algorithm to find the greatest common divisor of the numbers 56 and 315.
(i) Find the general solution to the diophantine equation 56x+315y=21.
(ii) Hence or otherwise find the smallest positive solution to the congruence 315x≡21 (modulo 56) .
Markscheme
315=5×56+35 M1
56=1×35+21
35=1×21+14 A1
21=1×14+7
14=2×7 A1
therefore gcd = 7 A1
[4 marks]
(i) 7=21−14 M1
=21−(35−21)
=2×21−35 (A1)
=2×(56−35)−35
=2×56−3×35 (A1)
=2×56−3×(315−5×56)
=17×56−3×315 (A1)
therefore 56×51+315×(−9)=21 M1
x=51, y=−9 is a solution (A1)
the general solution is x=51+45N , y=−9−8N , N∈Z A1A1
(ii) putting N = –2 gives y = 7 which is the required value of x A1
[9 marks]
Examiners report
This question was generally well answered although some candidates were unable to proceed from a particular solution of the Diophantine equation to the general solution.
This question was generally well answered although some candidates were unable to proceed from a particular solution of the Diophantine equation to the general solution.