OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Adalbert Kerber, A matrix of combinatorial numbers related to the symmetric groups, Discrete Math., 21 (1978), 319-321. See Eq. (7), col. 4.
A. Kerber, A matrix of combinatorial numbers related to the symmetric groups<, Discrete Math., 21 (1978), 319-321. [Annotated scanned copy]
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: (1-3*x+17*x^2-9*x^3)/(1-x)^4. - Vincenzo Librandi, Apr 28 2014
Recurrence: a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - Fung Lam, May 11 2014
MATHEMATICA
CoefficientList[Series[(1 - 3 x + 17 x^2 - 9 x^3)/(1 - x)^4, {x, 0, 50}], x] (* Vincenzo Librandi, Apr 28 2014 *)
PROG
(Magma) [n^3+4*n^2-5*n+1: n in [0..50]]; // Vincenzo Librandi, Apr 28 2014
(PARI) a(n)=n^3+4*n^2-5*n+1 \\ Charles R Greathouse IV, Aug 26 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 27 2014
STATUS
approved