Question
Find the number of 4-digit numbers in which any digit may be repeated any number of times.
Solution
Number of digits = 10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
Number of digits used = 4
For a 4-digit number, zero may not occupy box 1.
Number of permutations for box 1 =
Number of ways filling boxes 2, 3, 4 =
Total number of 4-digit numbers = 9 x 1000 = 9000.