Question:
Construct 5-digit numbers from the digits $0, 1, 2, 3, 4$. Repetition and $0$ at the beginning isn't allowed.
a) How many 5-digit numbers can be formed?
b) How many of these are odd?
c) How many of these are divisible by 5?
For a), I got $96$, which is correct, by subtracting the number of numbers that begin with $0$ from $_{5} P_{5}$.
For b) and c), I got completely stuck. The answers to b) and c) are $36$ and $24$ respectively.