SOLUTION: In how many ways can a 4-digit code be arranged using 1,2,3,4,5,6,7,8 and 9

Algebra ->  Test -> SOLUTION: In how many ways can a 4-digit code be arranged using 1,2,3,4,5,6,7,8 and 9      Log On


   



Question 1207713: In how many ways can a 4-digit code be arranged using 1,2,3,4,5,6,7,8 and 9
Answer by ikleyn(52793) About Me  (Show Source):
You can put this solution on YOUR website!
.

In all, there are 9 digits from 1 to 9 inclusive.



If repetition is not allowed, then the number of different 4-digit codes is 

    9*8*7*6 = 3024.



If repetition is allowed, then the number of different 4-digit codes is 

    9*9*9*9 = 9%5E4 = 6561.

Solved.


///////////////


As the problem is worded/printed in the post,  it is a  " lame horse ",
since it does not specify if repetition is allowed or not.