SOLUTION: if i have ten digits (0-9) how many 4 digit codes can i make?

Algebra ->  Permutations -> SOLUTION: if i have ten digits (0-9) how many 4 digit codes can i make?      Log On


   



Question 541021: if i have ten digits (0-9) how many 4 digit codes can i make?
Answer by jpg7n16(66) About Me  (Show Source):
You can put this solution on YOUR website!
This is a combination problem. Really you are looking for how many options do you have at each spot. Your "code" has 4 spots open:
(__-__-__-__)
And you just need to know if there are any limitations on them. The problem doesn't say you can't reuse a number, so you have 10 options for each spot.
(10-10-10-10)
To figure out how many different codes you could make, multiply the spots together.
%2810%29%2A%2810%29%2A%2810%29%2A%2810%29=10000
.
.
If you run across a problem where you cannot reuse the numbers, here's what you'd do. You would have 10 numbers for the 1st slot, but only 9 for the second (since you used one of them in the first slot), then 8 for the 3rd, etc. To solve a problem like this, do the same thing:
(10-9-8-7)
And multiply together.
%2810%29%2A%289%29%2A%288%29%2A%287%29=5040
Future problem solved!