CombinatoricsDifficulty 4.2AIMEFind the answerUnited States
Problem:
Count how many 8-digit numbers there are that contain exactly four nines as digits.
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
Solution:
There are (48)⋅94 sequences of 8 numbers with exactly four nines. A sequence of digits of length 8 is not an 8-digit number, however, if and only if the first digit is zero. There are (47)93-digit sequences that are not 8-digit numbers. The answer is thus (48)⋅94−(47)93=433755.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.