OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
FORMULA
From Colin Barker, Mar 31 2018: (Start)
G.f.: x*(64 + 1733803*x + 76262482*x^2 + 533398021*x^3 + 982614460*x^4 + 533398021*x^5 + 76262482*x^6 + 1733803*x^7 + 64*x^8) / (1 - x)^10.
a(n) = n*(315 - 4620*n^2 + 18018*n^4 - 25740*n^6 + 12155*n^8) / 2.
(End)
MATHEMATICA
Table[64*LegendreP[9, n], {n, 0, 50}] (* G. C. Greubel, Apr 30 2018 *)
PROG
(PARI) a(n)=pollegendre(9, n)<<6 \\ Charles R Greathouse IV, Oct 26 2011
(PARI) concat(0, Vec(x*(64 + 1733803*x + 76262482*x^2 + 533398021*x^3 + 982614460*x^4 + 533398021*x^5 + 76262482*x^6 + 1733803*x^7 + 64*x^8) / (1 - x)^10 + O(x^20))) \\ Colin Barker, Mar 31 2018
(Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); [0] cat Coefficients(R!(x*(64 + 1733803*x + 76262482*x^2 + 533398021*x^3 + 982614460*x^4 + 533398021*x^5 + 76262482*x^6 + 1733803*x^7 + 64*x^8) / (1 - x)^10)); // G. C. Greubel, Apr 30 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 19 2009
STATUS
approved