login
a(0), ..., a(7) are 0,1,2,3,6,4,5,7; for n >= 8, a(n) = a(n-8) + 8.
0

%I #6 Mar 30 2012 18:51:52

%S 0,1,2,3,6,4,5,7,8,9,10,11,14,12,13,15,16,17,18,19,22,20,21,23,24,25,

%T 26,27,30,28,29,31,32,33,34,35,38,36,37,39,40,41,42,43,46,44,45,47,48,

%U 49,50,51,54,52,53,55,56,57,58,59,62,60,61,63,64,65,66,67,70,68,69,71,72

%N a(0), ..., a(7) are 0,1,2,3,6,4,5,7; for n >= 8, a(n) = a(n-8) + 8.

%F a(n)=a(n-1)+a(n-8)-a(n-9). O.g.f.: x*(1+x+x^2+3*x^3-2*x^4+x^5+2*x^6+x^7)/((1+x)*(x^2+1)*(x^4+1)*(x-1)^2). [From _R. J. Mathar_, Jul 22 2009]

%K nonn

%O 0,3

%A _Paul Curtz_, Nov 09 2007

%E Edited by _N. J. A. Sloane_, Nov 18 2007