asked 34.0k views
4 votes
How many four-digit codes are possible using the digits 0 through 9 a) if digits can be repeated? b) with no repeated digits?

asked
User Youcef
by
7.4k points

1 Answer

5 votes

Final answer:

a) If digits can be repeated, there are 10,000 possible codes. b) If no repeated digits are allowed, there are 5,040 possible codes.

Step-by-step explanation:

a) If you can repeat digits, there are 10 possible choices for each of the four digits. So the total number of possible codes would be 10^4 = 10,000.

b) If you cannot repeat digits, there are 10 choices for the first digit, 9 choices for the second digit (since one digit has already been used), 8 choices for the third digit, and 7 choices for the fourth digit. So the total number of possible codes would be 10 x 9 x 8 x 7 = 5,040.

answered
User Abed
by
8.3k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.