What Is the Sum of Digits?
The sum of digits of a number is obtained by adding each individual digit together. For example, the sum of digits of 1234 is 1 + 2 + 3 + 4 = 10. This concept is fundamental in number theory and has applications in divisibility tests, checksum algorithms, and mathematical puzzles.
Key Concepts
Digit Sum
Add all digits of a number together to get a single result.
Digital Root
Repeatedly sum the digits until you get a single digit (1-9). Also called the iterated digit sum.
Running Sum
A cumulative sum showing the total as each digit is added from left to right.
Divisibility Rules Using Digit Sums
The sum of digits has a close relationship with divisibility. A number is divisible by 3 if its digit sum is divisible by 3. Similarly, a number is divisible by 9 if its digit sum is divisible by 9. The digital root provides a quick modular arithmetic check.
Applications
- Divisibility testing for 3 and 9.
- Casting out nines for arithmetic verification.
- ISBN and credit card checksum validation (Luhn algorithm).
- Numerology and recreational mathematics.