|
|
A112546
|
|
Lengths of the loop of the sequences "Sum of last n digits" beginning with (n-1) zeros followed by digit 1.
|
|
0
|
|
|
1, 8, 4, 50, 171, 14, 461, 78, 12203, 312, 318880, 2184, 57725, 5804, 1401, 9722, 4678, 3457, 748, 2255, 33936, 17379, 228810, 191744, 418737, 477214, 210178, 208280, 827058, 1419710, 2100776, 1328500
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(4)=50 because the sum of last four *digits* of the sequence beginning with 0,0,0,1, (three zeros followed by a 1) 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,1 enters in a cycle of 171 terms.
Computed by Michael D Beeler.
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|