Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #4 Mar 31 2012 10:30:58
%S 1,8,10,50,171,39,461,78,12203,312,318880,2184,57725,5804,1401,3251
%N Lengths of the loop of the sequences "Sum of last n digits" beginning with (n-1) zeros followed by digit 2.
%e 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
%e a(5)=171 because "Sum of last five digits" beginning with 0,0,0,0,2 enters in a cycle of 171 terms.
%e Computed by Michael D Beeler.
%K base,easy,nonn
%O 1,2
%A _Alexandre Wajnberg_, Dec 17 2005