We can define the palindrome of an integer as the integer with the same digits but in reverse :
Some integers can be written as the sum of (e.g. )
Which of these integers cannot be written as the sum of an integer and its palindrome ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
First of all here are the palindromic decompositions for 1 5 5 1 , 1 5 5 4 and 1 5 5 5 :
1 5 5 1 = 1 0 5 0 + 5 0 1 , 1 5 5 4 = 5 7 9 + 9 7 5 1 5 5 5 = 6 2 9 + 9 2 6
Now to show that there is no palindromic decomposition for 1 5 5 3 .
Let's assume there is an integer n such that n + P ( n ) = 1 5 5 3 . There are two possibilities : either n = a b c or n = 1 a b 0 .
We can exclude directly n = 1 a b 0 because the unit digit would be 1 and not 3 .
If n = a b c then we have a b c + c b a = 1 5 5 3 which means that a + c should be equal to either 1 5 with b < 5 or to 1 4 with b > 5 . In both cases the unit digit will never be 3 so there is no solution either with n = a b c .