If S(n) denotes the sum of digits of n, how can I prove that for any n, the sequence n, S(n), S(S(n)),... eventually becomes constant? I understand that this is essentially just finding the digital sum of n, but I am having hard time figuring out how I would formally prove this. Any help is appreciated! Thanks!
Get Answers For Free
Most questions answered within 1 hours.