OFFSET
0,3
FORMULA
a(n) = a(n-1) + 2*a(n-2) + a(n-3) - 2*a(n-4) - 3*a(n-5) -a(n-6), a(0) = 0, a(1) = 1, a(2) = 4, a(3) = 8, a(4) = 17, a(5) = 35 .
G.f.: x*(x+1)*(2x+1)/((x^2+x+1)*(x^2+x-1)^2)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Aug 03 2012
STATUS
approved