login
A112583
Lengths of the loop of the sequences "Sum of last n digits" beginning with (n-1) zeros followed by digit 4.
0
1, 8, 4, 50, 171, 39, 461, 78, 12203, 312, 318880, 2184, 57725, 5804, 1401, 3251, 4678, 10180, 18248, 2255, 33936, 17379, 228810, 191744, 418737, 477214, 210178, 116754, 827058, 1419710, 2100776, 1328500, 2481139, 3540942, 3227711, 3501401, 5362628, 15949331, 17333522
OFFSET
1,2
EXAMPLE
a(5)=171 because the sum of last five *digits* of the sequence beginning with 0,0,0,0,4, (four zeros followed by a 4) enters in a loop whose length is 171 terms; so a(5)=171
a(6)=39 because "Sum of last six digits" beginning with 0,0,0,0,0,4 enters in a cycle of 39 terms.
Computed by Michael D Beeler.
CROSSREFS
Cf. A112395.
Sequence in context: A046106 A112584 A112546 * A112589 A038282 A268482
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Dec 17 2005
EXTENSIONS
More terms from Bert Dobbelaere, May 08 2026
STATUS
approved