How many integers are there such that sum of digits of is 2000?
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.
As n is a positive integer so n 2 = a k a k − 1 a k − 2 . . . . . a 2 a 1 .
n 2 = 1 0 k − 1 a k + 1 0 k − 2 a k − 1 + . . . . . . + 1 0 a 2 + a 1
⟹ n 2 = 9 l + ∑ r = 1 k a r
⟹ n 2 = 9 l + 2 0 0 0
So it seems there is no solution but if 9 l ends with 8 0 0 0 there may exists a solution.
Consider 9 l = X 8 0 0 0 where X is any integer So, 1 0 0 0 ∣ l where
l = ( 1 1 1 . . . . 1 1 a k + 1 1 1 . . . 1 1 a k − 1 + . . . . . + 1 1 1 a 4 + 1 1 a 3 + a 2
l = 1 1 1 . . . 0 0 0 a k + 1 1 1 . . . 0 0 0 a k − 1 + . . . . + 1 1 1 a k + 1 1 1 a k − 1 + . . . 1 1 1 a 4 + 1 1 a 3 + a 2
l = 1 0 0 0 m + 1 1 1 ( a k + a k − 1 + . . . + a 5 + a 4 ) + 1 1 a 3 + a 2
l = 1 0 0 0 m + 1 1 1 ( 2 0 0 0 − a 3 − a 2 − a 1 ) + 1 1 a 3 + a 2
l = 1 0 0 0 m ′ − 1 0 0 a 3 − 1 1 0 a 2 − 1 1 1 a 1 = 1 0 0 0 m ′ − 1 0 0 ( a 3 + a 2 + a 1 ) − 1 0 a 2 − 1 1 a 1
Now 1 0 0 0 ∣ 1 0 0 ( a 3 + a 2 + a 1 ) + 1 0 a 2 + 1 1 a 1 . The first two term ends with zero but last does not.if a 1 = 0 then a 2 = 0 beacuse n 2 is perfect square..So a 3 should be 1 0 which is not possible.So , 1 0 0 0 ∣ l .
So our assumption is wrong no such n exists.