Question 2

OCR B (MEI) Further Maths June 2024 Further pure with technology (Y436-01)A level23 marks

On the specification

(a)(i)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(a)(ii)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(b)(i)
TT1-T2 Further Pure with Technology: Programming for number theory
(b)(ii)
TT1-T2 Further Pure with Technology: Programming for number theory
(c)(i)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(c)(ii)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(c)(iii)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(c)(iv)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(c)(v)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(d)(i)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(d)(ii)
T3 Further Pure with Technology: Prime factorisation
(d)(iii)
Pp5 Core Pure: Proof (b)T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(d)(iv)
Pp5 Core Pure: Proof (b)
Question text

2 Wilson’s theorem states that a positive integer n 2 1 is prime if and only if (n-1) ! / n-1(modn). (a) (i) Calculate 136!(mod137 .) [1] (ii) Hence, determine if the integer 137 is prime. [1] (b) (i) Create a program that uses Wilson’s theorem to find all prime numbers less than or equal to n. Write down your program in the Printed Answer Booklet. [3] (ii) Using part (b)(i), write down all prime numbers x, where 260 G x G 300. [1] (c) (i) Explain why there is exactly one prime number congruent to 2(mod 4). [1] (ii) Explain why no prime number is congruent to 0(mod4 .) [1] (iii) Using part (b)(ii), write down the three prime numbers y, where 260 G y G 300, that are congruent to 3(mod 4). [1] Label the three prime numbers in part (c)(iii) c1, c2 and c3. Define the integer N by N = 4c c c1 2 3 +3. (iv) Explain why N is not divisible by c1, c2 or c3. [1] (v) Write down the value of N(mod4 .) [1] (d) The fundamental theorem of arithmetic states that every positive integer can be written uniquely as the product of powers of prime numbers. Suppose there are finitely many prime numbers congruent to 3(mod 4). Label these prime numbers p1, …, pn, where p1 = 3. Using the n-1 integers p2, …, pn, define the integer M by M = 4p p2 3…pn +3. (i) Write down the value of M(mod4 .) [1] (ii) Explain why M = q q1 2…qr, where the integers q1, …, qr are all prime. [2] (iii) Prove that there is at least one integer i, where 1 G i G n, such that qi / 3(mod4). [4] (iv) Hence, deduce that there are infinitely many prime numbers congruent to 3(mod 4). [5]