Question 2

OCR B (MEI) Further Maths June 2022 Further pure with technology (Y436-01)A level20 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
(a)(iii)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(a)(iv)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(a)(v)
T4-T7 Further Pure with Technology: Congruences and modular arithmeticPp4 Core Pure: Proof (a)
(a)(vi)
T4-T7 Further Pure with Technology: Congruences and modular arithmeticPp4 Core Pure: Proof (a)
(b)(i)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(b)(ii)
TT1-T2 Further Pure with Technology: Programming for number theoryT4-T7 Further Pure with Technology: Congruences and modular arithmetic
Question text

2 (a) In this part of the question n is an integer greater than 1. An integer q, where 0 1 q 1 n is said to be a quadratic residue modulo n if there exists an 2 integer x such that x / q (modn). Note that under this definition 0 is not considered to be a quadratic residue modulo n. 2 (i) Find all the integers x, where 0 G x 1 1000 which satisfy x / 481 (mod 1000). [1] (ii) Explain why 481 is a quadratic residue modulo 1000. [1] (iii) Determine the quadratic residues modulo 11. [2] (iv) Determine the quadratic residues modulo 13. [2] 22 (v) Show that, for any integer m, m / (n-m) (modn). [2] (vi) Prove that if p is prime, where p 2 2, then the number of quadratic residues modulo p-1 p is . [4] 2 (b) Fermat’s little theorem states that if p is prime and a is an integer which is co-prime to p, then p-1 a / 1 (modp). (i) Use Fermat’s little theorem to show that 91 is not prime. [2] (ii) Create a program to find an integer n between 500 and 600 which is not prime and such n-1 that a / 1 (modn) for all integers a which are co-prime to n. In the Printed Answer Booklet • Write down your program in full. • State the integer found by your program. [6]