2024 AIME II Problem 14

Below is the professionally curated solution for Problem 14 of the 2024 AIME II, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2024 AIME II 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:number basedigitsChinese Remainder Theorem

Difficulty rating: 3270

14.

Let b2b \ge 2 be an integer. Call a positive integer nn bb-eautiful if it has exactly two digits when expressed in base bb and these two digits sum to n.\sqrt{n}. For example, 8181 is 1313-eautiful because 81=631381 = \underline{6}\,\underline{3}_{13} and 6+3=81.6 + 3 = \sqrt{81}. Find the least integer b2b \ge 2 for which there are more than ten bb-eautiful integers.

Solution:

A two-digit number in base bb is n=xb+yn = xb + y with 1xb11 \le x \le b-1 and 0yb1,0 \le y \le b-1, and the condition says n=s2n = s^2 where s=x+y.s = x + y. Then s2=xb+y=x(b1)+s,s^2 = xb + y = x(b-1) + s, so s(s1)=x(b1).s(s - 1) = x(b - 1). Note sb21<b.s \le \sqrt{b^2 - 1} \lt b. Conversely, for any ss with 2sb12 \le s \le b - 1 and (b1)s(s1),(b-1) \mid s(s-1), setting x=s(s1)b1x = \frac{s(s-1)}{b-1} and y=sx=s(bs)b1y = s - x = \frac{s(b-s)}{b-1} gives 1xb11 \le x \le b-1 and 0yb1,0 \le y \le b-1, hence exactly one bb-eautiful integer n=s2.n = s^2. So the count equals the number of s{2,,b1}s \in \{2, \ldots, b-1\} with s(s1)0(modb1).s(s-1) \equiv 0 \pmod{b-1}.

Let m=b1.m = b - 1. Since ss and s1s - 1 are coprime, each prime power dividing mm must divide ss or s1,s - 1, so by the Chinese remainder theorem there are 2ω(m)2^{\omega(m)} solutions modulo m,m, where ω(m)\omega(m) is the number of distinct prime factors of m.m. Among the representatives 1,2,,m,1, 2, \ldots, m, only s=1s = 1 falls outside our range (and s=ms = m qualifies), so the count is 2ω(m)1.2^{\omega(m)} - 1.

We need 2ω(m)1>10,2^{\omega(m)} - 1 \gt 10, i.e. ω(m)4.\omega(m) \ge 4. The smallest positive integer with four distinct prime factors is 2357=210,2 \cdot 3 \cdot 5 \cdot 7 = 210, so the least base is b=211b = 211 (which has 241=152^4 - 1 = 15 bb-eautiful integers).

← Problem 13Full ExamProblem 15

Problem 14 in Other Years