a(n) = length of period of transformation sum-digit-square: given a number m(k) define m(k+1) to be the sum of the squares of the decimal digits of m(k) and iterate until m(s) is found such that m(s)=m(k) with k<s. Numbers repeat periodically with a period of length a(n).

A160862

a(n) = length of period of transformation sum-digit-square: given a number m(k) define m(k+1) to be the sum of the squares of the decimal digits of m(k) and iterate until m(s) is found such that m(s)=m(k) with k<s. Numbers repeat periodically with a period of length a(n).

Terms

    a(0) =1a(1) =8a(2) =12a(3) =8a(4) =11a(5) =16a(6) =5a(7) =12a(8) =11a(9) =1a(10) =9a(11) =12a(12) =2a(13) =13a(14) =10a(15) =8a(16) =12a(17) =12a(18) =4a(19) =8a(20) =11a(21) =13a(22) =3a(23) =8a(24) =10a(25) =12a(26) =13a(27) =3a(28) =9a(29) =13

External references