Digital root

The digital root (also repeated digital sum) of a non-negative integer is the (single digit) value obtained by an iterative process of summing digits, on each iteration using the result from the previous iteration to compute a digit sum. The process continues until a single-digit number is reached.

For example, the digital root of 65,536 is 7, because 6 + 5 + 5 + 3 + 6 = 25 and 2 + 5 = 7.

Digital roots can be calculated with congruences in modular arithmetic rather than by adding up all the digits, a procedure that can save time in the case of very large numbers.

Digital roots can be used as a sort of checksum, to check that a sum has been performed correctly. If it has, then the digital root of the sum of the given numbers will equal the digital root of the sum of the digital roots of the given numbers. This check, which involves only single-digit calculations, can catch many errors in calculation.

Digital roots are used in Western numerology, but certain numbers deemed to have occult significance (such as 11 and 22) are not always completely reduced to a single digit.

The number of times the digits must be summed to reach the digital sum is called a number's additive persistence; in the above example, the additive persistence of 65,536 is 2.

Significance and formula of the digital root

It helps to see the digital root of a positive integer as the position it holds with respect to the largest multiple of 9 less than the number itself. For example, the digital root of 11 is 2, which means that 11 is the second number after 9. Likewise, the digital root of 2035 is 1, which means that 2035  1 is a multiple of 9. If a number produces a digital root of exactly 9, then the number is a multiple of 9.

With this in mind the digital root of a positive integer may be defined by using floor function , as

Abstract multiplication of digital roots

The table below shows the digital roots produced by the familiar multiplication table in the decimal system.

dr 1 2 3 4 5 6 7 8 9
1 123456789
2 246813579
3 369369369
4 483726159
5 516273849
6 639639639
7 753186429
8 876543219
9 999999999

The table shows a number of interesting patterns and symmetries and is known as the Vedic square.

Formal definition

Let denote the sum of the digits of and let the composition of be as follows:

Eventually the sequence becomes a one digit number. Let (the digital sum of ) represent this one digit number.

Example

Let us find the digital sum of .

Thus,

For simplicity let us agree simply that

Proof that a constant value exists

How do we know that the sequence eventually becomes a one digit number? Here's a proof:

Let , for all , is an integer greater than or equal to 0 and less than 10. Then, . This means that , unless , in which case is a one digit number. Thus, repeatedly using the function would cause to decrease by at least 1, until it becomes a one digit number, at which point it will stay constant, as .

Congruence formula

The formula is:

or,

To generalize the concept of digital roots to other bases b, one can simply change the 9 in the formula to b - 1.

(sequence A010888 in the OEIS)

The digital root is the value modulo 9 because and thus so regardless of position, the value mod 9 is the same – – which is why digits can be meaningfully added. Concretely, for a three-digit number,

.

To obtain the modular value with respect to other numbers n, one can take weighted sums, where the weight on the kth digit corresponds to the value of modulo n, or analogously for for different bases. This is simplest for 2, 5, and 10, where higher digits vanish (since 2 and 5 divide 10), which corresponds to the familiar fact that the divisibility of a decimal number with respect to 2, 5, and 10 can be checked by the last digit (even numbers end in 0, 2, 4, 6, or 8).

Also of note is the modulus 11: since and thus taking the alternating sum of digits yields the value modulo 11.

Some properties of digital roots

The digital root of a number is zero if and only if the number is itself zero.

The digital root of a number is a positive integer if and only if the number is itself a positive integer.

The digital root of is itself if and only if the number has exactly one digit.

The digital root of is less than if and only if the number is greater than or equal to 10.

The digital root of + is digital root of the sum of the digital root of and the digital root of .

The digital root of - is congruent with the difference of the digital root of and the digital root of modulo 9.

Especially, we can define the digital root of minus as follows:

The digital root of × is digital root of the product of the digital root of and the digital root of .

In other bases

This article is about the digital root in decimal or base ten, hence it is the number mod 9. It is nothing different as the number converted to base 9 and then only the last digit taken. In other radixes the digital root is number mod (base-1) so in base 12 a digital root of a number is the number mod 11 (Ɛduod), for example, 1972duod is 1 + 9 + 7 + 2 = 19 = 17duod which is 1 + 7 = 8, while in decimal the root of the same number (3110) is 5; and in base 16 a digital root of a number is the number mod 15 (0xF), for example, 0x7DF is 7 + 13 + 15 = 35 = 0x23 which is 2 + 3 = 5, while in decimal the root of the same number (2015) is 8.

See also

References

External links

This article is issued from Wikipedia - version of the 11/17/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.