Five-Digit Codes, No Repeats

Combinatorics
Permutations
Easy
How many length-5 codes can be made from digits 0 through 9 if no digit may repeat and a leading zero is allowed?
Hint 1

This is an ordered selection without replacement from ten digits.

Hint 2

Multiply the number of choices for each successive position.

Show worked solution
  1. 1. Count ordered selections

    There are choices for the first digit, for the second, and so on for positions.

Answer: 30240

Related roles: Browse quant jobs

Related problems