Terminating Sum of Digits of a Positive Integer

The terminating sum $T(n)$ of a positive integer $n$ is obtained by repeatedly adding the digits of $n$ until a single digit number is obtained.

Add new comment