Sum of digits To the Infinity : ( 2 )

Algebra Level pending

Find the smallest value of X X such that sum of digits of the decimal representation of 1 + 2 + 3 + + ( X 1 0 n ) 1 + 2 + 3 + \cdots + (X \cdot 10^n) is equal to 3 for any positive integer n n .

1 2 3 4 7 9

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

Let : S = 1 + 2 + 3 + . . . . . . . . + X . 10^n ; so we Note that : S = [ X . ( 10^n ) / 2 ] + [ X^2 . ( 10^2n ) / 2 ] .. So Sum of All digits of ( S ) = ( X / 2 ) + ( X^2 ) / 2 = 3 ; X + X^2 = 6 ; ( X^2 ) + X - 6 = 0 ; ( X - 2 )( X + 3 ) = 0 ; X = 2 .

Of course, X = 20 X=20 , X = 200 X=200 , etc also work ( X X isn't unique here)

Chris Lewis - 3 months, 1 week ago

Log in to reply

Thanks. I've clarified that we're looking for the smallest value of X X .

In the future, if you have concerns about a problem's wording/clarity/etc., you can report the problem. See how here .

Brilliant Mathematics Staff - 3 months, 1 week ago

X = 20 OR 200 OR 2000 ; etc will Make : X . 10^n : Thanks .

محمد أبو العمايم - 3 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...