OFFSET
0,2
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
G.f.: 4*x*(1 + 10*x + x^2)/(1 - x)^4. - Vincenzo Librandi, May 29 2014
a(n) = 4*n*(2*n^2-1). - Vincenzo Librandi, May 29 2014
MATHEMATICA
Table[ChebyshevU[3, n], {n, 0, 100}] (* and *) Table[4n*(2*n^2-1), {n, 0, 100}]
CoefficientList[Series[4 x (1 + 10 x + x^2)/(1 - x)^4, {x, 0, 40}], x] (* Vincenzo Librandi, May 29 2014 *)
LinearRecurrence[{4, -6, 4, -1}, {0, 4, 56, 204}, 40] (* Harvey P. Dale, Dec 23 2022 *)
PROG
(Magma) [8*n^3-4*n: n in [0..40]]; // Vincenzo Librandi, May 29 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Sep 11 2008
STATUS
approved