The arithmetic mean of the nine numbers in the set is a -digit number , all of whose digits are distinct. The number doesn't contain the digit
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
Every number made of nines is 9 times a number made of ones. So the mean is 1 + 11 + 111 + ... + 111111111, which is 123456789.
Solution
The mean is the total divided by . Every number in the set is made of nines, and dividing by is easy for those, so divide first and add afterwards.
1. Notice , , , and so on. A number made of nines is times the number made of ones.
2. So the total is , and dividing by gives
3. Add this column by column. Line the numbers up on the right:
| column | ones | tens | hundreds | leftmost | |
|---|---|---|---|---|---|
| how many 1s |
Every one of the nine numbers has a ones digit, eight of them have a tens digit, and so on, until only the longest number reaches the ninth column.
4. No column adds to more than , so nothing carries. Reading the columns from left to right gives
5. The digits are through . The only digit missing is .
The answer is .
Why this works
Numbers like are almost always easier to handle as (or as a power of ten minus one). Here, dividing by before adding turned a messy sum into stacked rows of ones, and those add with no carrying. Next time you see all-nines numbers, try one of these two rewrites first.
Alternative approach
Each number is a power of ten minus one: , , and so on up to . The powers of ten add to , and there are nine "minus ones", so the total is . Long division by gives , which has no .
The trap
Adding the nine big numbers first and then dividing by 9, which is slow and easy to get wrong because of all the carrying.
Concise solution
A string of nines equals times a string of ones. So dividing each member of the set by before adding, the mean is
Add by columns. The units column contains a from every one of the nine terms, so it sums to . The tens column gets a from the eight terms with at least two digits, giving ; the hundreds column gives ; and so on down to the leftmost column, which gets a single . Every column total is at most , so there are no carries, and reading the columns from left to right gives
The digits of are through ; the missing digit is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 8: Base Numbers
- Introduction to Algebra, Chapter 21: Sequences & Series (§21.1, §21.2, §21.3, §21.4)
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.1)
- Introduction to Number Theory, Chapter 9: Base Number Arithmetic
Techniques
Set up the equation/formula and compute; no special trick needed · Compute small cases, spot the pattern, generalize