A2 June 2023 Q5

EdexcelCurrent spec8 marksNumber Theory

5.

(i) A security code is made up of 4 numerical digits followed by 3 distinct uppercase letters.

Given that the digits must be from the set {1, 2, 3, 4, 5} and the letters from the set {A, B, C, D}

(a) determine the total number of possible codes using this system.

To enable more codes to be generated, the system is adapted so that the 3 letters can appear anywhere in the code but no letter can be next to another letter.

(b) Determine the increase in the number of codes using this adapted system. (4)
(ii) A combination lock code consists of four distinct digits that can be read as a positive integer, \(N = abcd\), satisfying
  • all the digits are odd
  • \(N\) is divisible by 9
  • the digits appear in either ascending or descending order
  • \(N \equiv e \pmod{ab}\) where \(ab\) is read as a two-digit number and \(e\) is the odd digit that is not used in the code
(a) Use the first two properties to determine the four digits used in the code.
(b) Hence determine the code on the lock. (4)