2015 AIME I Problem 8

Below is the professionally curated solution for Problem 8 of the 2015 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2015 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:digitsplace valuecasework

Difficulty rating: 2760

8.

For positive integer n,n, let s(n)s(n) denote the sum of the digits of n.n. Find the smallest positive integer nn satisfying s(n)=s(n+864)=20.s(n) = s(n + 864) = 20.

Solution:

Each carry in an addition replaces 1010 in one place by 11 in the next, lowering the digit sum by 9.9. Hence s(n+864)=s(n)+s(864)9c=20+189c,s(n + 864) = s(n) + s(864) - 9c = 20 + 18 - 9c, where cc is the number of carries, and s(n+864)=20s(n + 864) = 20 forces c=2.c = 2. For a three-digit candidate nn with digits t,t, u,u, vv summing to 20:20: since u+v18,u + v \le 18, we have t2,t \ge 2, so the hundreds place always carries (t+810t + 8 \ge 10), and exactly one of the units and tens places carries.

If the units carry and the tens do not, the tens computation u+6+1u + 6 + 1 must stay below 10,10, so u2;u \le 2; then t=20uv2029=9,t = 20 - u - v \ge 20 - 2 - 9 = 9, forcing n=929.n = 929. If the tens carry and the units do not, then v+49v + 4 \le 9 gives v5,v \le 5, so t=20uv2095=6,t = 20 - u - v \ge 20 - 9 - 5 = 6, and t=6,t = 6, u=9,u = 9, v=5v = 5 works: n=695.n = 695.

Indeed s(695)=20s(695) = 20 and 695+864=1559695 + 864 = 1559 with s(1559)=20,s(1559) = 20, so the smallest such nn is 695.695.

← Problem 7Full ExamProblem 9

Problem 8 in Other Years