OFFSET
0,2
COMMENTS
Column 3 of the table in A229834.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,3,0,-3,0,1).
FORMULA
G.f.: (1 + 4*x + x^2) / (1 - x^2)^3. [Bruno Berselli, Apr 24 2014]
a(n) = a(-n-4) = 1 + ( 3*n*(n + 4) + 2 - (-1)^n*(n*(n + 4) + 2) )/8. [Bruno Berselli, Apr 24 2014]
MATHEMATICA
Table[(3 n (n + 4) - (-1)^n (n (n + 4) + 2) + 10)/8, {n, 0, 60}] (* Bruno Berselli, Apr 24 2014 *)
LinearRecurrence[{0, 3, 0, -3, 0, 1}, {1, 4, 4, 12, 9, 24}, 60] (* Harvey P. Dale, Nov 25 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Maruelli, Apr 24 2014
EXTENSIONS
Edited by Bruno Berselli, Apr 24 2014
STATUS
approved