Maths Olympiad Prep

Library / HMMT February /501 of 1302

HMMT February

Number theory Difficulty 5.2 AIME, harder Find the answer

What is the smallest positive integer that cannot be written as the sum of two nonnegative palindromic integers?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

We need to first prove that every positive integer NN less than 21 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, 19 and 20 can be written as 11+811+8 and 11+911+9, respectively. Second, we need to show that 21 cannot be expressed in such a way. Lets suppose 21=a+b21=a+b with a≤ba \leq b. It follows that bb has to be at least 11. 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, 21 is the smallest number that satisfy 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: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.