a_{n+1} = S(a_n) is periodic, where S(n) = sum of digits of n^2 +1
Source: 2007 Cuba MO 2.8
September 15, 2024
number theorysum of digitsPeriodic sequenceperiodic
Problem Statement
For each positive integer , let be the sum of the digits of . A sequence is defined, with an arbitrary positive integer and . Prove that the sequence is eventually periodic with period three.