SOLUTION: How many 5 digit number-based codes can be made if you don't repeat numbers?

Algebra ->  Permutations -> SOLUTION: How many 5 digit number-based codes can be made if you don't repeat numbers?      Log On


   



Question 1156920: How many 5 digit number-based codes can be made if you don't repeat numbers?
Found 2 solutions by ikleyn, josmiceli:
Answer by ikleyn(52787) About Me  (Show Source):
You can put this solution on YOUR website!
.

The post says nothing about restrictions to digits;


so by DEFAULT I can assume that any of 10 digits from 0 to 9  can occupy any position.


If so, then the answer is  10*9*8*7*6 = 30240  (the product of 5 factors).

Solved.


Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
5 choices for the 1st digit
can't repeat, so 4 choices for the 2nd digit
can't repeat, so 3 choices for the 3rd digit
2 choices for the 4th
1 choice for the 5th
+5%2A4%2A3%2A2%2A1+=+120+
120 possible codes