A047670 Row 6 of array in A047666.
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
Links
- Colin Barker, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
Programs
-
Mathematica
LinearRecurrence[{7,-21,35,-35,21,-7,1},{6,37,158,529,1486,3653,8086},40] (* Harvey P. Dale, Jun 15 2018 *)
-
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
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
Extensions
More terms from Colin Barker, Nov 24 2014