2001 AIME II Problem 1

Attempt Problem 1 of the 2001 AIME II below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2001 AIME II solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

1.

Let NN be the largest positive integer with the following property: reading from left to right, each pair of consecutive digits of NN forms a perfect square. What are the leftmost three digits of N?N?
Answer: 816
Concepts:digitsperfect squaresystematic listing
Small hint:
Each adjacent digit pair must be one of the two-digit perfect squares 16,16, 25,25, 36,36, 49,49, 64,64, 8181
Big hint:
Every digit has at most one possible next digit, so trace the chains and take the longest one
Solution:
Each pair of consecutive digits must be one of the two-digit squares 16,16, 25,25, 36,36, 49,49, 64,64, 81.81. So each digit determines its successor uniquely if one exists: 1→6,1 \to 6, 2→5,2 \to 5, 3→6,3 \to 6, 4→9,4 \to 9, 6→4,6 \to 4, 8→1,8 \to 1, while 55 and 99 end the number.
Following these chains from each possible starting digit, the longest strings are 25,25, 3649,3649, and 81649.81649. The five-digit chain 8→1→6→4→98 \to 1 \to 6 \to 4 \to 9 beats everything else, so N=81649,N = 81649, whose leftmost three digits are 816.816.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.