Digit addition

Inspired by this problem by Chan Lye Lee .


Let s ( n ) s(n) be the digit sum of n n . For example, s ( 2019 ) = 2 + 0 + 1 + 9 = 12 s(2019)=2+0+1+9=12 .

Also, define a digit-addition series :

a k , n = { n for k = 1 a k 1 , n + s ( a k 1 , n ) otherwise a_{k,n} = \begin{cases} n & \text{for } k=1 \\ a_{k-1,n}+s(a_{k-1,n}) & \text{otherwise} \end{cases}

Do there exist positive integers i i and j j such that a i , 819 = a j , 255 a_{i,819} = a_{j,255} ?

No Yes

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.

1 solution

Henry U
Mar 10, 2019

9 819 = a 1 , 819 9 s ( 819 ) 9 819 + s ( 819 ) = a 2 , 819 9 | 819=a_{1,819} \Rightarrow 9 | s(819) \Rightarrow 9 | 819+s(819)=a_{2,819}

The same argument proves (by induction) that any number a i , 819 a_{i,819} will be divisible by 9.

Similarly, we can prove that any number a j , 255 a_{j,255} will be divisible by 3, but not by 9. This is because 255 = 3 5 17 255 = 3 \cdot 5 \cdot 17 .

So, all numbers a i , 819 a_{i,819} are divisible by 9, but no number a j , 255 a_{j,255} is, so they can never be equal.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...