SOLUTION: In how many ways an ATM pin number can be arranged so that the 2nd and 3rd digits are never the same?

Algebra ->  Permutations -> SOLUTION: In how many ways an ATM pin number can be arranged so that the 2nd and 3rd digits are never the same?      Log On


   



Question 821432: In how many ways an ATM pin number can be arranged so that the 2nd and 3rd digits are never the same?
Answer by KMST(5328) About Me  (Show Source):
You can put this solution on YOUR website!
You have 10 choices for the second digit and for each of those choices, you would have 9 different digits to choose the third digit from.
That gives you 10%2A9=90 permutations made with 2 different digits.
Another way of getting to the same result, would be counting how many 2 digit permutations there are,
10%2A10=100 and subtracting the ones that have the same digit repeated (100, to get
100-10=90 .
For each of the 90 permutations found for the two middle digits, you can choose the first and last digits any way you want, so you have 10 choices for each.
Those choices multiply and the total number of ways an ATM pin number can be arranged so that the 2nd and 3rd digits are never the same is
10%2A10%2A90=9000