login
A036225
Length of cycle the 'summarize the previous term' sequence gets into.
2
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 1, 1, 1, 1, 1, 2, 3, 3, 3, 2, 1, 1, 1, 2, 2, 1, 3, 2, 2, 2, 1, 1, 1, 2, 3, 3, 1, 2, 2, 2, 1, 1, 1, 2, 3, 2, 2, 1, 2, 2, 1, 1, 1, 2, 3, 2, 2, 2, 1, 1
OFFSET
0,41
COMMENTS
For n <= 10^7, a(n) <= 3. - A.H.M. Smeets, Jun 24 2019
LINKS
EXAMPLE
a(0)=1 because the 'Summarize the previous term' starting with 0 becomes constant and a(40)=2 because starting with 40 it gets into a cycle of two.
CROSSREFS
KEYWORD
base,nonn
STATUS
approved