OFFSET
0,2
COMMENTS
For a guide to related sequences, see A212959.
Twice the partial sums of A210977. - J. M. Bergot, Aug 10 2013
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,1,-4,1,2,-1).
FORMULA
a(n) = 2*a(n-1) + a(n-2) - 4*a(n-3) + a(n-4) + 2*a(n-5) - a(n-6).
G.f.: f(x)/g(x), where f(x) = 2*x*(1 + 2*x + 2*x^2) and g(x) = ((1-x)^4)(1+x)^2.
a(n) = 2 * A088003(n) for n>0.
From Ayoub Saber Rguez, Mar 31 2023: (Start)
a(n) = (10*n^3 + 24*n^2 + 8*n + (6*n)*(n mod 2))/24. (End)
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 02 2012
EXTENSIONS
Typo in name corrected by Ayoub Saber Rguez, Mar 31 2023
STATUS
approved