152k views
2 votes
How many ways can a 4 digit password be formed?

How many ways can a 4 digit password be formed?-example-1
User Jjimenez
by
7.2k points

2 Answers

5 votes
We have 10 digits to choose 4 digits.
If repetition is allowed, we'd have 10 digits in the first slot, 10 digits in the second slot, and so on.
Hence, there are 10 000 ways to pick 4 digits.

Now, if repetition is not allowed, then we need to change the restrictions somehow.
If numbers cannot be repeated, then we can have 10 in the first slot, 9 in the second slot, 8 in the third slot, and 7 in the fourth slot, which makes 5040 ways.

If we want to understand this in permutations, then we have 10 objects to pick 4 different numbers, and so we can have 10P4 ways in forming a 4-digit password.
User WPFNewbie
by
8.0k points
3 votes
it can be solved in over 9000 ways possibility
User Roubachof
by
8.8k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.