Question:
possible 4 digit pin codes?
anonymous
2008-11-27 01:28:42 UTC
if you wanted to use digits 0-9 to work out how many possible 4 digit pin codes there are, i think you would do 10x10x10x10.

But why would you use the permutations formula?
Six answers:
gudspeling
2008-11-27 01:40:13 UTC
You'd use permutations if repetition of digits was not allowed. There is no reason why you cannot repeat digits in this case...
?
2016-02-05 08:13:16 UTC
4 digit pin codes
anonymous
2008-11-27 01:41:08 UTC
It is often called a combination but mathematically speaking it is not. This is because combination does not take into account order. Obviously with a pin number order does matter.



It is not really a permutation either because permutations are calculated without replacement. With pin numbers you can use the same digit more than once.



10C4 = 210, 10P4 = 5040 but this answer is 10,000.
Kevin S
2008-11-27 02:01:53 UTC
Hi, nice to meet you!



I'll explain this:



Suppose the four digits:



___--___--___--___



There are 10 possibilities for each digit, so all you have to do is multiply the possibilities.



10x10x10x10



I use the permutation formula, because the order matters.

If the order doesn't matter, you can use the combination formula.



Have a nice day^^!
Mathematica
2008-11-27 01:44:47 UTC
You use permutation (nPr) when the order of the items/digits matters. You use combination (nCr) when the order does not.



Since the codes 1234 and 4321 are NOT the same (so, order DOES matter), you have to use permuation (nPr).



You use combinations (nCr) more when talking about selecting people to a group, or poker hands, etc - where it doesn't matter if you choose Sally, then John or the other way around.
Michael F
2008-11-27 01:33:54 UTC
You don't. It is simply the number of ways you can choose the first digit times the number of ways you can choose the second, and so on. So, you are correct; 10^4 different combinations.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...