OFFSET
0,2
COMMENTS
Legendre polynomial LP_4(x) = (35*x^4 - 30*x^2 + 3)/8. - Klaus Brockhaus, Nov 21 2009
LINKS
Eric W. Weisstein, Legendre Polynomial.
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
From Klaus Brockhaus, Nov 21 2009: (Start)
a(n) = 70*n^4 + 140*n^3 + 90*n^2 + 20*n + 1.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + 1680 for n > 3; a(0)=1, a(1)=321, a(2)=2641, a(3)=10321.
G.f.: (1 + 316*x + 1046*x^2 + 316*x^3 + x^4)/(1-x)^5. (End)
MATHEMATICA
Table[LegendreP[4, 2n+1], {n, 0, 50}] (* N. J. A. Sloane, Nov 17 2009 *)
PROG
(Magma) P<x> := PolynomialRing(IntegerRing()); LP_4<x>:=LegendrePolynomial(4); [ Evaluate(LP_4, 2*n+1): n in [0..25] ]; // Klaus Brockhaus, Nov 21 2009
(PARI) a(n)=pollegendre(4, n+n+1) \\ Charles R Greathouse IV, Oct 25 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Sep 11 2008
EXTENSIONS
Definition corrected by N. J. A. Sloane, Nov 17 2009
STATUS
approved