(i) A number is divisible by 4 exactly when the number formed by its last two digits is divisible by 4. The last two digits must be two different digits from 1 to 5. The multiples of 4 between 12 and 54 are 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52; those made of two different digits from 1 to 5 are
12, 24, 32, 52
(44 repeats a digit, and the others use 0, 6 or 8). (1 mark)
(ii) For each ending, the other 3 digits fill the first three places in 3!=6 ways:
4×3!=4×6=24
(1 mark)
(iii) The number exceeds 30000 exactly when its first digit is 3, 4 or 5. For each ending, look at the 3 digits left over:
| Ending | Digits left | Allowed first digits | Numbers |
|---|
| 12 | 3, 4, 5 | 3, 4, 5 | 3×2!=6 |
| 24 | 1, 3, 5 | 3, 5 | 2×2!=4 |
| 32 | 1, 4, 5 | 4, 5 | 2×2!=4 |
| 52 | 1, 3, 4 | 3, 4 | 2×2!=4 |
Total: 6+4+4+4=18. (1 mark)