login
A112547
Lengths of the loop of the sequences "Sum of last n digits" beginning with (n-1) zeros followed by digit 2.
0
1, 8, 10, 50, 171, 39, 461, 78, 12203, 312, 318880, 2184, 57725, 5804, 1401, 3251
OFFSET
1,2
EXAMPLE
a(4)=50 because the sum of last four *digits* of the sequence beginning with 0,0,0,2, (three zeros followed by a 2) enters in a loop whose length is 50 terms; so a(4)=50
a(5)=171 because "Sum of last five digits" beginning with 0,0,0,0,2 enters in a cycle of 171 terms.
Computed by Michael D Beeler.
CROSSREFS
Sequence in context: A060768 A218464 A060809 * A015657 A167303 A025634
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Dec 17 2005
STATUS
approved