Form every three-digit number using distinct digits from zero, one, two and three. What is the average of all the resulting numbers? This original AMC 10-style exercise uses positional contributions to avoid listing the entire set, then checks the result by enumeration. Zero can occupy the tens or units place, but cannot lead a three-digit number, so the positions do not share the same digit frequencies.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send AMC10-S6-1129 and tell us your school year and question.
Count the valid numbers first
The hundreds digit has three choices: one, two or three. After it is chosen, the tens digit has three remaining choices, including zero, and the units digit has two. Thus there are eighteen numbers. Using four times three times two would include six strings beginning with zero, which are not valid three-digit numbers under the question definition.
Sum the hundreds-place contributions
Each nonzero digit leads six numbers, because the other two positions can be filled in three times two ways. The digit sum across the hundreds place is six times (one plus two plus three), or thirty-six. Multiplying by one hundred gives a contribution of 3,600 to the sum of all numbers. There is no hundreds-place zero contribution or leading-zero case to retain.
Count a nonzero digit in the tens place
Fix one of the nonzero digits in the tens place. The hundreds digit can be either of the other two nonzero digits, and the units digit can be either of the two remaining digits. Thus each nonzero digit appears four times in the tens place. Zero appears six times there, but contributes zero to the sum. The tens contribution is four times six times ten, or 240.
Apply the same reasoning to the units place
The units place has the same frequencies as the tens place: each nonzero digit appears four times and zero appears six times. Its contribution is twenty-four. The total sum is 3,600 plus 240 plus twenty-four, or 3,864. Dividing by eighteen gives the average 644/3, which is 214 and two thirds. An average need not itself be one of the integer members.
Explain the broken symmetry
Before banning leading zero, the four digits would be symmetric across the positions of length-three strings. Removing the leading-zero strings changes the remaining frequency pattern. It is therefore unsafe to assign every position the simple mean digit 1.5 and multiply by 111. The hundreds digit has a different allowed set and different frequencies from the other positions.
Check the positional sum with a short full list
Group the numbers by leading digit and enumerate the six suffixes for each group. Their total should be 3,864 and their count eighteen. This independently verifies both the numerator and denominator of the average. The method generalises to larger digit sets, but every leading-position restriction must be handled before assuming equal positional frequencies. These are original examples, not official AMC items.
Continue reading: AMC 10 Counting: Divisibility by Eleven Restricts Positions before It Restricts Permutations.
Contact Hanlin
Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send AMC10-S6-1129. Include your school year, country or competition region, experience and the question you want to discuss.

On your phone, use the button or save the QR image and scan it within WeChat.
Official information and further reading: Source 1
