Question 3
OCR B (MEI) Further Maths June 2023 Further pure with technology (Y436-01)A level10 marks
On the specification
- (a)
- T4-T7 Further Pure with Technology: Congruences and modular arithmetic
- (b)(i)
- TT1-T2 Further Pure with Technology: Programming for number theoryT4-T7 Further Pure with Technology: Congruences and modular arithmetic
- (b)(ii)
- TT1-T2 Further Pure with Technology: Programming for number theory
- (b)(iii)
- T4-T7 Further Pure with Technology: Congruences and modular arithmeticPp4 Core Pure: Proof (a)
Question text
3 Wilson’s theorem states that an integer p 2 1 is prime if and only if (p-1) ! /-1(modp). (a) Use Wilson’s theorem to show that 17! / 1(mod19). [2] 2 (b) A prime number p is called a Wilson prime if (p-1) ! /-1(modp ). For example, 5 is a Wilson prime because (5-1) ! / 24 /-1(mod25). At the time of writing all known Wilson primes are less than 1000. (i) Create a program to find all the known Wilson primes. Write out your program in full in the Printed Answer Booklet. [4] (ii) Use your program to find and write down all the known Wilson primes. [1] 2 (iii) Prove that if there is an integer solution m to the equation (p-1) !+1 = m where p is prime, then p is a Wilson prime. [3]