OFFSET

0,4

LINKS

Muniru A Asiru, Table of n, a(n) for n = 0..5000

FORMULA

From Chai Wah Wu, Oct 24 2018: (Start)

a(n) = 2*a(n-4) - a(n-8) for n > 7.

G.f.: x^3*(x^3 + x^2 + x + 2)/(x^8 - 2*x^4 + 1). (End)

MAPLE

seq(coeff(series(x^3*(x^3+x^2+x+2)/(x^8-2*x^4+1), x, n+1), x, n), n = 0 .. 85); # Muniru A Asiru, Oct 24 2018

PROG

(GAP) a:=[0, 0, 0, 2, 1, 1, 1, 4];; for n in [9..85] do a[n]:=2*a[n-4]-a[n-8]; od; a; # Muniru A Asiru, Oct 24 2018

CROSSREFS

KEYWORD

nonn,easy,less

AUTHOR

Paul Curtz, Aug 13 2007

STATUS

approved