OFFSET
0,3
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (1,3,-3,-3,3,1,-1).
FORMULA
a(n) = +a(n-1) +3*a(n-2) -3*a(n-3) -3*a(n-4) +3*a(n-5) +a(n-6) -a(n-7).
G.f.: -x*(-1-x+x^2) / ( (1+x)^3*(x-1)^4 ).
a(n) = (2*n+3+(-1)^n)*(2*n+3-3*(-1)^n)*(2*n+15+5*(-1)^n)/384. - Luce ETIENNE, Mar 31 2015
MAPLE
MATHEMATICA
Table[(2*n + 3 + (-1)^n)*(2*n + 3 - 3*(-1)^n)*(2*n + 15 + 5*(-1)^n)/ 384, {n, 0, 60}] (* Michael De Vlieger, Mar 31 2015 *)
PROG
(PARI) Vec(-x*(-1-x+x^2) / ( (1+x)^3*(x-1)^4 ) + O(x^80)) \\ Michel Marcus, Apr 01 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, May 29 2009
EXTENSIONS
Edited by Omar E. Pol, Feb 08 2010
STATUS
approved