OFFSET
0,2
LINKS
Colin Barker, 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
a(n) = 924*n^6 + 2772*n^5 + 3150*n^4 + 1680*n^3 + 420*n^2 + 42*n+1. - Vaclav Kotesovec, Jul 31 2013
From Colin Barker, Jul 23 2019: (Start)
G.f.: (1 + 8982*x + 150543*x^2 + 346228*x^3 + 150543*x^4 + 8982*x^5 + 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.
(End)
MATHEMATICA
Table[LegendreP[6, 2n+1], {n, 0, 50}] (* N. J. A. Sloane, Nov 17 2009 *)
PROG
(PARI) a(n)=pollegendre(6, n+n+1) \\ Charles R Greathouse IV, Oct 25 2011
(PARI) Vec((1 + 8982*x + 150543*x^2 + 346228*x^3 + 150543*x^4 + 8982*x^5 + x^6) / (1 - x)^7 + O(x^30)) \\ Colin Barker, Jul 23 2019
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