OFFSET
0,3
COMMENTS
Suggested by A262592.
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (8,-22,28,-17,4).
FORMULA
a(n + 1) = (1/3)*(12*a(n) - 4*n^3 + 18*n^2 + 4*n - 15), a(0) = 1. - Ilya Gutkovskiy, Oct 22 2015
From Colin Barker, Oct 23 2015: (Start)
a(n) = 8*a(n-1)-22*a(n-2)+28*a(n-3)-17*a(n-4)+4*a(n-5) for n>4.
a(n) = (77+4^(1+n)-84*n-126*n^2+36*n^3)/81.
(End)
PROG
(PARI) Vec((1-3*x)^3/((1-x)^4*(1-4*x)) + O(x^40)) \\ Michel Marcus, Oct 23 2015
(PARI) a(n) = (77+4^(1+n)-84*n-126*n^2+36*n^3)/81 \\ Colin Barker, Oct 23 2015
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Oct 22 2015
STATUS
approved