digital root
Given an integer consisting of digits in base , let
then repeat this operation on the digits of until . This stores in the digital root of . The number of iterations of the sum operation is called the additive persistence of .
The digital root of is always 1 for any natural , while the digital root of (where is another natural number) is the same as the digital root of . This should not be taken to imply that the digital root is necessarily a multiplicative function
.
The digital root of an integer of the form is always .
Another way to calculate the digital root for is with the formula .