A password is constructed from the numbers 1-9 and the uppercase letters A,B,C,D,E,F,G,H. How many passwords can be constructed which consist of four numbers and 3 letters, if
(a) repetition is allowed?
(b) repetition is not allowed?
(c) no two digits can be next to each other, and no repetition allowed?
Attempt
(a) Number of placements of the three letters $={ 7 \choose 3} = 35$, number of combinations of the letters $=8^3 = 512$, number of combinations of the numbers $=9^4 = 6561$, total combinations = $35\times 512 \times 6561 = 117573120$
(b) Number of placements of the three letters $={ 7 \choose 3} = 35$, number of combinations of the letters $={}^8\mathrm P_6 = 336$, number of combinations of the numbers $=9\times 8\times7\times 6 = 3024$, total combinations = $35\times 336 \times 3024 = 35562240$
Are my approaches for parts (a) and (b) correct? I am not sure how to approach part (c) - any suggestions would be greatly appreciated.