Worked solution from the Permutations and combinations Paper 2 Calculator booklet, Part 2 of 2.
The code is greater than 5000, so the first digit is 5, 6, 7, 8 or 9. It is odd, so the last digit is 3, 5, 7 or 9.
Starts with 5, 7 or 9 and ends in 3 or one of the other two of 5, 7, 9: 3 × 6 × 5 × 3 = 270 [1]
Starts with 6 or 8 and ends in 3, 5, 7 or 9: 2 × 6 × 5 × 4 = 240 [1]
Total = 270 + 240 = 510 [1]
The last digit is prime: 2, 3, 5 or 7. The first digit is 5, 6, 7, 8 or 9.
Starts with 5 or 7 and ends in 2, 3 or the other of 5 and 7: 2 × 6 × 5 × 3 = 180 [1]
Starts with 6, 8 or 9 and ends in 2, 3, 5 or 7: 3 × 6 × 5 × 4 = 360 [1]
Total = 180 + 360 = 540 [1]
▶ Starts at Q6 (18:51)
Starts at Q6 (18:51) · by O/A-Level Mathematics. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.