AMC 10 Step by Step

2014 AMC 10B Problem 14

P11-15~4 minPrint

Danica drove her new car on a trip for a whole number of hours, averaging 5555 miles per hour. At the beginning of the trip, abcabc miles was displayed on the odometer, where abcabc is a 3-digit number with a≥1a \ge 1 and a+b+c≤7a + b + c \le 7 . At the end of the trip, the odometer showed cbacba miles. What is a2+b2+c2a^2 + b^2 + c^2  ?

Log in to save your progress.
Show solution without answering

Key insight

Reversing a 3-digit number changes it by 99 times (c - a). That must equal 55 times the hours, forcing c - a = 5.

Solution

1. How far did she drive? The odometer went from abcabc to cbacba. Write each as a number: abc=100a+10b+cabc = 100a + 10b + c and cba=100c+10b+acba = 100c + 10b + a.
2. Subtract. The middle digit cancels:
(100c+10b+a)−(100a+10b+c)=99c−99a=99(c−a).(100c + 10b + a) - (100a + 10b + c) = 99c - 99a = 99(c - a).
(Check with an example: 601−106=495=99×5601 - 106 = 495 = 99 \times 5.)
3. Use the speed. She drove hh whole hours at 5555 miles per hour, so 99(c−a)=55h99(c - a) = 55h.
4. Both 9999 and 5555 are multiples of 1111. Divide by 1111: 9(c−a)=5h9(c - a) = 5h.
5. The left side is a multiple of 99 and the right side is a multiple of 55. Since 99 has no factor 55, the number c−ac - a must be a multiple of 55.
6. She actually drove, so c−ac - a is positive. It is a difference of two digits, so it is at most 99. The only positive multiple of 55 up to 99 is 55. So c=a+5c = a + 5 (and h=9h = 9 hours).
7. Use the digit limit. a+b+c≤7a + b + c \le 7 becomes a+b+(a+5)≤7a + b + (a + 5) \le 7, so 2a+b≤22a + b \le 2. Since a≥1a \ge 1, the only choice is a=1a = 1, b=0b = 0. Then c=6c = 6.
8. Check: 601−106=495=55×9601 - 106 = 495 = 55 \times 9. Then a2+b2+c2=1+0+36=37a^2 + b^2 + c^2 = 1 + 0 + 36 = 37.

The answer is (D) 37\boxed{\textbf{(D)}\ 37}.

Why this works

Reversing the digits of a 3-digit number always changes it by a multiple of 9999, because the middle digit stays put. Matching that with a multiple of 5555 leaves only one possible gap between the outer digits. A strange-looking condition like a+b+c≤7a + b + c \le 7 is usually there to pick out exactly one answer at the end.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

If the trip lasted hh hours, the distance is 55h55h, so
cba‾−abc‾=(100c+10b+a)−(100a+10b+c)=99(c−a)=55h.\overline{cba} - \overline{abc} = (100c + 10b + a) - (100a + 10b + c) = 99(c - a) = 55h.

Divide by 1111: 9(c−a)=5h9(c - a) = 5h. Since gcd⁡(9,5)=1\gcd(9, 5) = 1, the number 55 must divide c−ac - a. The trip was real (h≥1h \ge 1), so c−a>0c - a > 0; and as a difference of digits c−a≤9c - a \le 9, so c−a=5c - a = 5 (and h=9h = 9).

Now use a≥1a \ge 1 and a+b+c≤7a + b + c \le 7. With c=a+5c = a + 5, the sum is 2a+b+5≤72a + b + 5 \le 7, so 2a+b≤22a + b \le 2. Since a≥1a \ge 1, this forces a=1a = 1 and b=0b = 0, hence c=6c = 6.

Check: 601−106=495=55⋅9601 - 106 = 495 = 55 \cdot 9. Then a2+b2+c2=1+0+36=37a^2 + b^2 + c^2 = 1 + 0 + 36 = 37.

The answer is (D) 37\boxed{\textbf{(D)}\ 37}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.