%I #2 Mar 31 2012 10:30:58
%S 0,0,0,0,0,0,0,0,0,2,2,4,8,16,23,28,38,45,42,41,41,36,34,32,31,30,28,
%T 29,33,34,37,44,42,37,41,39,41,38,43,40,39,39,46,45,47,54,51,45,44,43,
%U 39,42,42,39,43,43,38,43,44,40,37,40,33,32,29,36,35,39,45,49,51,48,52,47
%N Next term is the sum of the last 10 digits in the sequence, beginning with a(10) = 2.
%C Variation on Angelini's A112395. The sequence cycles at a(17)=38 and the loop has 312 terms. It is exactly the same loop as in A112435 "Next term is the sum of the last 10 digits in the sequence, beginning with a(10) = 4". Computed by Gilles Sadowski.
%e a(17)=38 because 2+2+4+8+1+6+2+3+2+8=38
%Y Cf. A112395.
%K base,easy,nonn
%O 1,10
%A _Alexandre Wajnberg_, Dec 11 2005