If the A.M., the G.M. and the H.M. of the first and the last terms of the series 100,101,102,.........,n are the terms of the series itself then the sum of digit in n is (100<n≤500)
The first and the last terms of the series are 100 and n
A.M. =100+n2, G.M. =10√n
And
H.M. =200n100+n
For A.M. to be an integer n must be even
For G.M. to be an integer n must be perfect square
⇒n=4k2
⇒H.M =200k225+k2
Since numerator is multiple of 25, denominator must be a multiple of 25 as H.M. is an integer.
Also 100<n<500
⇒25<k2≤125
→k2=50,75,100 and 125
Satisfying these values, we get
k2=100 as the only solution.
⇒n=400
Sum =4