Question 3

OCR B (MEI) Further Maths November 2021 Further pure with technology (Y436-01)A level20 marks

On the specification

(a)(i)
TT1-T2 Further Pure with Technology: Programming for number theory
(a)(ii)
TT1-T2 Further Pure with Technology: Programming for number theoryT4-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 theoryT4-T7 Further Pure with Technology: Congruences and modular arithmetic
(b)(iii)
T3 Further Pure with Technology: Prime factorisationT4-T7 Further Pure with Technology: Congruences and modular arithmetic
(b)(iv)
T3 Further Pure with Technology: Prime factorisationT4-T7 Further Pure with Technology: Congruences and modular arithmetic
(c)(i)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
(c)(ii)
T4-T7 Further Pure with Technology: Congruences and modular arithmeticOT1 Overarching theme: mathematical argument, language and proof
(c)(iii)
T4-T7 Further Pure with Technology: Congruences and modular arithmetic
Question text

3 (a) (i) Create a program which returns the highest common factor of positive integers m and n. Write out your program in full in the Printed Answer Booklet. [3] In the rest of this question the highest common factor of positive integers m and n is denoted by (m, n). (ii) Use your program to find (74333, 89817). [1] (b) Euler’s totient function {( ),n where n is a positive integer, is defined to be the number of integers m with 1 G m G n such that (m n, ) = 1. For example {( )6 = 2 because ( ,1 6) = 1, ( ,2 6) = 2, ( ,3 6) = 3, ( ,4 6) = 2, ( ,5 6) = 1 and ( ,6 6) = 6. (i) Extend your program in (a)(i) to create a program which returns {( )n for a given positive integer n. [3] (ii) Use your program to find {(128) and {(1000) . [2] n (iii) For a positive integer n, determine {(2 ) in terms of n. [2] n (iv) For a positive integer n, determine {(10 ) in terms of n. [3] m (c) For any positive integer k, let F( )k be the number of distinct fractions where 0 1 m 1 n G k. n For example F(4) = 5, since there are five fractions which satisfy the required condition, 11 1 2 3 namely , , , , . 43 2 3 4 (i) Find F( )5 and F( ).6 [2] (ii) Explain why, for any positive integer l, F(l+1) = F( )l +{(l+1). [2] (iii) Determine F(100). [2]