Skip to main content

2017 AIME I Problem 14

Problem 14 of 15HarderAlgebraNumber Theory

Let a>1a \gt 1 and x>1x \gt 1 satisfy log⁡a ⁣(log⁡a ⁣(log⁡a2)+log⁡a24−128)\small \log_a\!\left(\log_a\!\left(\log_a 2\right) + \log_a 24 - 128\right) =128= 128 and log⁡a ⁣(log⁡ax)=256.\log_a\!\left(\log_a x\right) = 256. Find the remainder when xx is divided by 1000.1000.

Your answer

Integer from 0 to 999
Show solution

Solution

Exponentiating the first equation twice: log⁡a(log⁡a2)+log⁡a24−128\log_a(\log_a 2) + \log_a 24 - 128 =a128= a^{128} becomes log⁡a(24log⁡a2)=128+a128,\log_a(24 \log_a 2) = 128 + a^{128}, so 24log⁡a2=a128⋅aa128,24 \log_a 2 = a^{128} \cdot a^{a^{128}}, i.e. 224=a(a128⋅aa128).2^{24} = a^{\left(a^{128} \cdot a^{a^{128}}\right)}. Setting t=aa128,t = a^{a^{128}}, the right side is ttt^t and the left side is (23)23,\left(2^3\right)^{2^3}, so by the strict monotonicity of ttt^t we get aa128=8.a^{a^{128}} = 8. Writing c=log⁡2a>0,c = \log_2 a \gt 0, this says c⋅2128c=3,c \cdot 2^{128c} = 3, which is increasing in cc and satisfied by c=364:c = \frac{3}{64}: indeed 364⋅26=3.\frac{3}{64} \cdot 2^6 = 3. So a=2364.a = 2^{\frac{3}{64}}. The second equation gives x=aa256.x = a^{a^{256}}. Here a256=2256⋅364=212=4096,a^{256} = 2^{\frac{256 \cdot 3}{64}} = 2^{12} = 4096, so x=a4096=24096⋅364=2192.x = a^{4096} = 2^{\frac{4096 \cdot 3}{64}} = 2^{192}. Clearly 2192≡0(mod8).2^{192} \equiv 0 \pmod{8}. By Euler’s theorem 2100≡1(mod125),2^{100} \equiv 1 \pmod{125}, so 2192≡2−8(mod125),2^{192} \equiv 2^{-8} \pmod{125}, the inverse of 256≡6.256 \equiv 6. Since 6⋅21=126≡1(mod125),6 \cdot 21 = 126 \equiv 1 \pmod{125}, we get 2192≡21(mod125).2^{192} \equiv 21 \pmod{125}. The unique residue mod 10001000 that is 00 mod 88 and 2121 mod 125125 is 896.896.
AoPS wiki

Tagged: logarithm · modular exponentiation · Euler’s Totient Function · Chinese Remainder Theorem

More practice