Example in chapter 3: 5 digit lock first and last must be odd and no repetition
I don't think they do it right
They have 5x8x7x6x4
To make it simpler lets say it's 3 digits
Then:
5x5(if second is even)x4+5x4(if second is odd)x3
There's no repetition and the answer doesn't consider if the middle numbers are odd that eliminates choices for the fifth number. Am I missing something? Also 0 is even and should be total of ten choices.