2023 AIME II Problem 2

Attempt Problem 2 of the 2023 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 2023 AIME II solutions, or check the answer key.

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

2.

Recall that a palindrome is a number that reads the same forward and backward. Find the greatest integer less than 10001000 that is a palindrome both when written in base ten and when written in base eight, such as 292=444eight.292 = 444_{\text{eight}}.

Answer: 585
Concepts:palindromenumber basesystematic listing
Difficulty rating: 2070
Solution:

A four-digit base-eight number lies between 512512 and 4095,4095, so a base-eight palindrome less than 10001000 with four digits must have leading (and trailing) digit 1:1: it has the form 1bb1eight=512+64b\overline{1bb1}_{\text{eight}} = 512 + 64b +8b+1{}+ 8b + 1 =513+72b.= 513 + 72b. Keeping this below 10001000 requires b6,b \le 6, giving the candidates 513,585,657,729,801,873,945.513, 585, 657, 729, 801, 873, 945.

Checking from the top, the only one of these that is also a palindrome in base ten is 585=1111eight.585 = 1111_{\text{eight}}. Every base-eight palindrome with at most three digits is at most 777eight=511<585,777_{\text{eight}} = 511 \lt 585, so the answer is 585.585.

← Problem 1#1
Full Exam

Problem 2 in Other Years