How do you find the sum of the digits of number N? Say N = 10

  • Context: High School 
  • Thread starter Thread starter PrudensOptimus
  • Start date Start date
  • Tags Tags
    Sum
Click For Summary
SUMMARY

The discussion focuses on calculating the sum of the digits of a number N, specifically using the example N = 10, where the sum is 1 + 0 = 1. Participants clarify that while the formula for the sum of the first N natural numbers, \(\sum_{k=1}^N k = \frac{N(N+1)}{2}\), is valid, it does not apply to the sum of the digits unless the digits form an arithmetic progression. For example, the sum of the digits of N = 12245 is 1 + 2 + 2 + 4 + 5 = 14. The conversation also touches on larger numbers and the complexity of summing their digits.

PREREQUISITES
  • Understanding of basic arithmetic operations
  • Familiarity with the concept of digit summation
  • Knowledge of arithmetic progressions
  • Basic mathematical induction principles
NEXT STEPS
  • Research methods for calculating digit sums in large integers
  • Explore algorithms for digit manipulation in programming languages
  • Learn about arithmetic sequences and their properties
  • Investigate mathematical induction proofs related to summation formulas
USEFUL FOR

Mathematicians, computer scientists, and programmers interested in number theory and algorithms for digit manipulation.

PrudensOptimus
Messages
641
Reaction score
0
How do you find the sum of the digits of number N?


Say N = 10
 
Mathematics news on Phys.org
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.
 
Was that what was meant? The "sum of the digits" of 10 is 1+ 0= 1, of course.
 
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.

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}
 
The "sum of the digits"
You're right, I answered a completely different question. Well, I am sure someone asked my question somewhere, sometime. :)
 
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?
 
Originally posted by PrudensOptimus
Yea what if N = 1231247839783924723840723084732084738274... + ... N?

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 :wink: :wink: :wink:
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 13 ·
Replies
13
Views
3K