OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
From Colin Barker, Jul 23 2019: (Start)
G.f.: -(5 - 10194*x - 795993*x^2 - 4516108*x^3 - 4515933*x^4 - 796098*x^5 - 10159*x^6) / (1 - x)^7.
a(n) = 7*a(n-1) - 21*a(n-2) + 35*a(n-3) - 35*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7) for n>6.
a(n) = -5 + 420*n^2 - 5040*n^4 + 14784*n^6.
(End)
MAPLE
MATHEMATICA
Table[Numerator[LegendreP[6, 2n]], {n, 0, 40}]
PROG
(PARI) a(n)=numerator(pollegendre(6, n+n)) \\ Charles R Greathouse IV, Oct 24 2011
(PARI) Vec(-(5 - 10194*x - 795993*x^2 - 4516108*x^3 - 4515933*x^4 - 796098*x^5 - 10159*x^6) / (1 - x)^7 + O(x^30)) \\ Colin Barker, Jul 23 2019
CROSSREFS
KEYWORD
sign,frac,easy
AUTHOR
N. J. A. Sloane, Nov 17 2009
STATUS
approved