A palindrome is a number that reads the same when read back and forth. For example, 1234321 and 45654 are both palindromes. There exists n such that n and n + 1 9 2 are three digit and four digit palindromes respectively. What is the digital sum of n ?
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.
I like this method.
a b a + 1 9 2 = x y y x
a can only be 8 or 9 , otherwise a b a + 1 9 2 would be a three digit number.
a b a + 1 9 2 = x y y x ⟹ 1 0 1 a + 1 0 b + 1 9 2 = 1 0 0 1 x + 1 1 0 y
so
1 0 ∣ 1 0 1 a + 1 9 2 − 1 0 0 1 x ⟹ 1 0 ∣ a + 2 − x
if a = 8 then x = 0 , which is not an option. So, a = 9 and x = 1
the rest would be solving a rather easy Diophantine equation.
1 1 0 y − 1 0 b = 1 0 0
so, y = 1 and b = 1 .
9 1 9 + 1 9 2 = 1 1 1 1
9 + 1 + 9 = 1 9
Note that 8 0 8 + 1 9 2 = 1 0 0 0 , and that 8 0 8 + x is also a palindrome, if x is in the set { 1 0 , 2 0 , 3 0 , 4 0 , 5 0 , 6 0 , 7 0 , 8 0 , 9 0 , 1 0 1 , 1 1 1 , 1 2 1 , 1 3 1 , 1 4 1 , 1 5 1 , 1 6 1 , 1 7 1 , 1 8 1 , 1 9 1 } . Only 1 0 0 0 + 1 1 1 is a palindrome, because you need a 1 at the end of the number to match the 1 at the beginning of 1 0 0 0 , and you need the first two digits in that number to equal each other, which is only satisfied by 1 1 1 . Therefore, n = 8 0 8 + 1 1 1 = 9 1 9 , and 9 + 1 + 9 = 1 9 , as shown above.
Is this supposed to be a solution?
Log in to reply
Yes. Is it wrong?
Log in to reply
It is now correct, but it wasn't when I made that comment. Thank you.
Problem Loading...
Note Loading...
Set Loading...
Let n = 1 0 0 a + 1 0 b + a = a b a and m = n + 1 9 2 = c d d c , since they are palindromes. Therefore,
\[\begin{array} {} & & a & b & a \\ + & _{\color{red}1} & 1 & 9 & 2 \\ \hline & c & d & d & c \end{array} \]
where the small red 1 indicates carry-forward of a + 1 .
For m to be a 4-digit integer, a can either be 8 or 9. We also note that the thousand digit of m , which is c , can only be 1. Therefore, the unit digit of m must also be c = 1 . This means that a = 9 , so that a + 2 = 1 1 . Then we have:
\[\begin{array} {} & & 9 & b & 9 \\ + & _{\color{red}1} & 1_{\color{red}1} & 9_{\color{red}1} & 2 \\ \hline & 1 & \color{blue}1 & \color{blue} b & 1 \end{array} \]
Since m is a palindrome, b = 1 , ⟹ n = 9 1 9 and 9 1 9 + 1 9 2 = 1 1 1 1 . Therefore, the sum of digits of n is 9 + 1 + 9 = 1 9 .