OFFSET
1,2
EXAMPLE
a(4)=50 because the sum of last four *digits* of the sequence beginning with 0,0,0,5, (three zeros followed by a 5) enters in a loop whose length is 50 terms; so a(4)=50
a(5)=63 because "Sum of last five digits" beginning with 0,0,0,0,5 enters in a cycle of 63 terms.
Computed by Michael D Beeler.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Dec 17 2005
STATUS
approved