By inspection, there are 32 possible numbers.
If repetition is allowed, you basically don't use the factorial notation
just times, times and times (and use power if there are many letters)
for ur Q, for the number to be even it must ends with either 4 or 8 right?
choose:
1st digit * 2nd...