login
A047670
Row 6 of array in A047666.
1
6, 37, 158, 529, 1486, 3653, 8086, 16449, 31222, 55941, 95470, 156305, 246910, 378085, 563366, 819457, 1166694, 1629541, 2237118, 3023761, 4029614, 5301253, 6892342, 8864321, 11287126, 14239941, 17811982, 22103313, 27225694, 33303461, 40474438, 48890881
OFFSET
1,1
FORMULA
a(n) = (1/45) * (2n^6 + 50n^4 + 173 + 45).
G.f.: -x*(x^6 - x^5 + 16*x^4 - 10*x^3 + 25*x^2 - 5*x + 6) / (x-1)^7. - Colin Barker, Nov 24 2014
MATHEMATICA
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {6, 37, 158, 529, 1486, 3653, 8086}, 40] (* Harvey P. Dale, Jun 15 2018 *)
PROG
(PARI) Vec(-x*(x^6-x^5+16*x^4-10*x^3+25*x^2-5*x+6)/(x-1)^7 + O(x^100)) \\ Colin Barker, Nov 24 2014
CROSSREFS
Sequence in context: A097297 A362336 A349857 * A338708 A129552 A293800
KEYWORD
nonn,easy
EXTENSIONS
More terms from Colin Barker, Nov 24 2014
STATUS
approved