Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

What is the smallest positive value of such that results in a palindrome?
Solution
We are asked to find the smallest palindrome greater than 5678 and subtract 5678 from it. The only palindrome in the 5600s is 5665, which is not greater than 5678. The only palindrome in the 5700s is 5775, which is greater than 5678. Therefore, 5775 is the smallest palindrome greater than 5678 and .
Final answer
97