OFFSET
0,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
O.g.f.: 4*x*(7 + 10*x + 7*x^2)/(1 - x)^4.
E.g.f.: 4*x*(7 + 12*x + 4*x^2)*exp(x). - Ilya Gutkovskiy, Apr 11 2016
a(n) = -a(-n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).
a(n) = 4*A229183(2*n). - Bruno Berselli, Apr 11 2016
MATHEMATICA
Table[4 n (4 n^2 + 3), {n, 0, 50}]
PROG
(Magma) [4*n*(4*n^2+3): n in [0..50]];
(PARI) x='x+O('x^99); concat(0, Vec(x*(28+40*x+28*x^2)/(1-x)^4)) \\ Altug Alkan, Apr 11 2016
(Python) for n in range(0, 1000):print(4*n*(4*n**2+3)) # Soumil Mandal, Apr 11 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 11 2016
EXTENSIONS
Edit and extended by Bruno Berselli, Apr 12 2016
STATUS
approved