Digital sum

From Wikipedia, the free encyclopedia

There are a number of common mathematical meanings of the term digital sum:

Values

  • The digit sum - add the digits of the representation of a number in a given base. For example, considering 84001 in base 10 the digit sum would be 8 + 4 + 0 + 0 + 1 = 13.
  • The digital root - repeatedly apply the digit sum operation to the representation of a number in a given base until the outcome is a single digit. For example, considering 84001 in base 10 the digital root would be 4 (8 + 4 + 0 + 0 + 1 = 13, 1 + 3 = 4).

Operations

The mathematical operation digital sum in base b can also be called the digital sum. This is where each place is summed independently, ignoring digit carry. For example, 84001 + 56734 = (8 + 5 = 13)(4 + 6 = 10)(0 + 7 = 7)(0 + 3 = 3)(1 + 4 = 5) = 30735.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Digital_sum&oldid=793672409"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Digital_sum
This page is based on the copyrighted Wikipedia article "Digital sum"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA