Difference between revisions of "2023 AIME II Problems/Problem 2"

(Created page with "Recall that a palindrome is a number that reads the same forward and backward. Find the greatest integer less than <math>1000</math> that is a palindrome both when written in...")
 
Line 1: Line 1:
Recall that a palindrome is a number that reads the same forward and backward. Find the greatest integer less than <math>1000</math> that is a palindrome both when written in base ten and when written in base eight, such as <math>292 = 444_{eight}</math>.
+
== Problem ==
 +
 
 +
Recall that a palindrome is a number that reads the same forward and backward. Find the greatest integer less than <math>1000</math> that is a palindrome both when written in base ten and when written in base eight, such as <math>292 = 444_{\text{eight}}.</math>
 +
 
 +
== Solution ==
 +
 
 +
If the palindrome written in base eight has three digits, then we have <cmath>(\underline{ABA})_8 = 64A+8B+A = 65A+8B \leq 511.</cmath>
 +
If the palindrome written in base eight has four digits, then we have <cmath>(\underline{ABBA})_8 = 512A+64B+8B+A = 513A+72B \geq 513.</cmath>
 +
 
 +
== See also ==
 +
{{AIME box|year=2023|num-b=1|num-a=3|n=II}}
 +
{{MAA Notice}}

Revision as of 16:10, 16 February 2023

Problem

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

Solution

If the palindrome written in base eight has three digits, then we have \[(\underline{ABA})_8 = 64A+8B+A = 65A+8B \leq 511.\] If the palindrome written in base eight has four digits, then we have \[(\underline{ABBA})_8 = 512A+64B+8B+A = 513A+72B \geq 513.\]

See also

2023 AIME II (ProblemsAnswer KeyResources)
Preceded by
Problem 1
Followed by
Problem 3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png