login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A112589
Lengths of the loop of the sequences "Sum of last n digits" beginning with (n-1) zeros followed by digit 8.
0
1, 8, 4, 50, 171, 39, 461, 78, 12203, 312, 318880, 2184, 57725, 5804, 1401, 9722
OFFSET
1,2
EXAMPLE
a(4)=50 because the sum of last four *digits* of the sequence beginning with 0,0,0,8, (three zeros followed by a 8) 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,8 enters in a cycle of 171 terms.
Computed by Michael D Beeler.
CROSSREFS
Cf. A112395.
Sequence in context: A112584 A112546 A112583 * A038282 A268482 A231234
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Dec 17 2005
STATUS
approved