Let be the sum of digits of the positive integer in its decimal representation. Let maximum value of be . Find the value of .
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.
The maximum carry is 1.This implies the only carries in 2x are the ones accounted for in S(2d) for each digit d in the decimal representation of x.Hence S(2x)= ∑ S(2d),where the sum is taken over all the digits of x.It is clear that S ( 2 d ) S ( d ) <= 5 for every decimal digit d not equal to 0.Thus S ( 2 x ) S ( x ) <=5.The equality holds if x=5 and hence the bound can not be improved. Another way I want u people to think is in the way that S(x)=S(10x)....then????.....10=5*(2x) use and see...want some one to solve in this manner... :).