%I #3 Mar 31 2012 10:30:58
%S 0,0,0,0,0,0,0,0,0,9,9,18,27,36,45,54,45,45,45,45,45,45,45,45,45,45,
%T 45,45,45,45,45,45,45,45,45,45,45,45,45
%N Next term is the sum of the last 10 digits in the sequence, beginning with a(10) = 9.
%C Variation on Angelini's A112395. The sequence cycles at a(17)=45 and the loop has one term. Computed by Gilles Sadowski.
%e a(17)=45 because 1+8 + 2+7 + 3+6 + 4+5 + 5+4 = 45
%Y Cf. A112395, A004207, A065075, A001370.
%K base,easy,nonn
%O 1,10
%A _Alexandre Wajnberg_, Dec 11 2005