0606 P23 - Nov 2020 - Q6 - 6 marks
8224
A 4-digit code is formed using 4 different numbers chosen from \(1,2,3,\ldots,9\).
(a) Find the number of different codes that can be formed with no restrictions.
(b) Find the number of different codes that can be formed using only prime numbers.
(c) Find the number of different codes that can be formed if the first two numbers are even and the last two numbers are odd.
(d) Find the number of different codes that can be formed if the code is an even number.
