Good evening everyone. I'm trying to solve this math problem. How many 5 digit numbers can we create using only these numbers $(0; 3; 6; 7; 8)$. Created numbers cannot be divided by $5$ and the given numbers (the ones that we use to create the 5 digit number) can't repeat.
I know that correct answer is $72$, but I'm not sure how to get it. Maybe someone could help me with that? Thank you in advance
There are $4$ ways to select the first digit (it cant be $0$).
After this there are $3$ ways to select the last digit (it cant be $0$ either).
After this there are $3!$ ways to select the numbers in the middle.
So the answer is $4\times 3\times 6=72$
Alternative solution:
Place the digit $0$ in any of $3$ positions and the rest in $4!$ ways.