OFFSET
0,3
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (8, -28, 56, -70, 56, -28, 8, -1).
FORMULA
a(n) = (n^7+7*n^4+6*n)/14.
G.f.: x*(1+10*x+82*x^2+164*x^3+101*x^4+2*x^5)/(1-x)^8. [Colin Barker, Jan 29 2012]
MATHEMATICA
Table[(n^7+7n^4+6n)/14, {n, 0, 40}] (* or *) LinearRecurrence[{8, -28, 56, -70, 56, -28, 8, -1}, {0, 1, 18, 198, 1300, 5895, 20646, 60028}, 40] (* Harvey P. Dale, Aug 15 2016 *)
PROG
(PARI) { for (n=0, 200, write("b060532.txt", n, " ", (n^7 + 7*n^4 + 6*n)/14); ) } \\ Harry J. Smith, Jul 06 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 12 2001
STATUS
approved