View Full Version : Question
PrudensOptimus
Jan12-04, 09:49 PM
How do you find the sum of the digits of number N?
Say N = 10
BigRedDot
Jan12-04, 10:12 PM
If memory serves me correctly:
\sum_{k=1}^N k= \frac{N(N+1)}2
a fact that you would prove by induction.
HallsofIvy
Jan13-04, 05:35 AM
Was that what was meant? The "sum of the digits" of 10 is 1+ 0= 1, of course.
himanshu121
Jan13-04, 10:06 AM
Originally posted by BigRedDot
If memory serves me correctly:
\sum_{k=1}^N k= \frac{N(N+1)}2
a fact that you would prove by induction.
It will be true only if the digits form a Arithmetic Projection
for eg N=2468 etc {2+4+6+8}
but not in general say for N=12245 {1+2+2+4+5}
BigRedDot
Jan13-04, 10:31 AM
The "sum of the digits"
You're right, I answered a completely different question. Well, I am sure someone asked my question somewhere, sometime. :)
PrudensOptimus
Jan13-04, 09:31 PM
Originally posted by HallsofIvy
Was that what was meant? The "sum of the digits" of 10 is 1+ 0= 1, of course.
Yea what if N = 1231247839783924723840723084732084738274... + ... N?
himanshu121
Jan14-04, 02:13 AM
Originally posted by PrudensOptimus
Yea what if N = 1231247839783924723840723084732084738274... + ... N? [g)]
Ofcourse it would be
as N=1+0
here it will be N=1+2+3+1+2+4+7+8+3+9+7+8+3+9+2+4+7+2+3+8+4+0+7+2+ 3+0+8+4+7+3+2+0+8+4+7+3+8+2+7+4+...+x+y+z+a+b+c+d [;)] [;)] [;)] [6)]
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.