PrudensOptimus
- 641
- 0
How do you find the sum of the digits of number N?
Say N = 10
Say N = 10
Originally posted by BigRedDot
If memory serves me correctly:
<br /> \sum_{k=1}^N k= \frac{N(N+1)}2<br />
a fact that you would prove by induction.
You're right, I answered a completely different question. Well, I am sure someone asked my question somewhere, sometime. :)The "sum of the digits"
Originally posted by HallsofIvy
Was that what was meant? The "sum of the digits" of 10 is 1+ 0= 1, of course.
Originally posted by PrudensOptimus
Yea what if N = 1231247839783924723840723084732084738274... + ... N?