Intermediate Mathematics-4.

Number Theory Level pending

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 n such that n n and n + 192 n + 192 are three digit and four digit palindromes respectively. What is the digital sum of n n ?

23 21 19 17 15

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.

3 solutions

Let n = 100 a + 10 b + a = a b a n=100a+10b+a = \overline{aba} and m = n + 192 = c d d c m = n+192=\overline{cddc} , 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 \color{#D61F06}1 indicates carry-forward of a + 1 a+1 .

For m m to be a 4-digit integer, a a can either be 8 or 9. We also note that the thousand digit of m m , which is c c , can only be 1. Therefore, the unit digit of m m must also be c = 1 c=1 . This means that a = 9 a=9 , so that a + 2 = 11 a+2 = 11 . 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 m is a palindrome, b = 1 \color{#3D99F6}b=1 , n = 919 \implies n = 919 and 919 + 192 = 1111 919+192 = 1111 . Therefore, the sum of digits of n n is 9 + 1 + 9 = 19 9+1+9 = \boxed{19} .

I like this method.

EKENE FRANKLIN - 2 years, 7 months ago

Log in to reply

Upvote please

Chew-Seong Cheong - 2 years, 7 months ago

a b a + 192 = x y y x \overline{aba}+192=\overline{xyyx}

a a can only be 8 8 or 9 9 , otherwise a b a + 192 \overline{aba}+192 would be a three digit number.

a b a + 192 = x y y x 101 a + 10 b + 192 = 1001 x + 110 y \overline{aba}+192=\overline{xyyx} \implies 101a+10b+192=1001x+110y

so

10 101 a + 192 1001 x 10 a + 2 x 10|101a+192-1001x \implies 10|a+2-x

if a = 8 a=8 then x = 0 x=0 , which is not an option. So, a = 9 a=9 and x = 1 x=1

the rest would be solving a rather easy Diophantine equation.

110 y 10 b = 100 110y-10b=100

so, y = 1 y=1 and b = 1 b=1 .

Joshua Lowrance
Nov 8, 2018

919 + 192 = 1111 919+192=1111

9 + 1 + 9 = 19 9+1+9=19

Note that 808 + 192 = 1000 808+192=1000 , and that 808 + x 808+x is also a palindrome, if x x is in the set { 10 , 20 , 30 , 40 , 50 , 60 , 70 , 80 , 90 , 101 , 111 , 121 , 131 , 141 , 151 , 161 , 171 , 181 , 191 } \{10,20,30,40,50,60,70,80,90,101,111,121,131,141,151,161,171,181,191\} . Only 1000 + 111 1000+111 is a palindrome, because you need a 1 1 at the end of the number to match the 1 1 at the beginning of 1000 1000 , and you need the first two digits in that number to equal each other, which is only satisfied by 111 111 . Therefore, n = 808 + 111 = 919 n=808+111=919 , and 9 + 1 + 9 = 19 9+1+9=19 , as shown above.

Is this supposed to be a solution?

EKENE FRANKLIN - 2 years, 7 months ago

Log in to reply

Yes. Is it wrong?

Joshua Lowrance - 2 years, 7 months ago

Log in to reply

It is now correct, but it wasn't when I made that comment. Thank you.

EKENE FRANKLIN - 2 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...