Maths Olympiad Prep

Library / HMMT February /892 of 1302

HMMT February, 2019

Algebra Difficulty 5.5 AIME, harder Prove it United States

Problem:

What is the smallest positive integer that cannot be written as the sum of two nonnegative palindromic integers? (An integer is palindromic if the sequence of decimal digits are the same when read backwards.)

Solution

Solution:

We need to first prove that every positive integer NN less than 2121 can be written as sum of two nonnegative palindromic integers. If NN is in the interval [1,9][1,9], then it can be written as 0+N0+N. If NN is in the interval [10,18][10,18], it can be written as 9+(N−9)9+(N-9). In addition, 1919 and 2020 can be written as 11+811+8 and 11+911+9, respectively.

Second, we need to show that 2121 cannot be expressed in such a way. Let's suppose 21=a+b21=a+b with a≤ba \leq b. It follows that bb has to be at least 1111. Since b≤21b \leq 21, the only way for bb to be palindromic is that b=11b=11. However, this leads to a=21−b=10a=21-b=10, which is not a palindrome. Therefore, 2121 is the smallest number that satisfies the problem condition.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.