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
a(n) = 231*n^6 - 315*n^4 + 105*n^2 - 5. - Vaclav Kotesovec, Jul 31 2013
From Colin Barker, Jul 23 2019: (Start)
G.f.: -(5 - 51*x - 9942*x^2 - 73222*x^3 - 73047*x^4 - 10047*x^5 - 16*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)
MAPLE
MATHEMATICA
Table[16 LegendreP[6, n], {n, 0, 40}]
PROG
(PARI) a(n)=16*pollegendre(6, n) \\ Charles R Greathouse IV, Mar 18 2017
(PARI) Vec(-(5 - 51*x - 9942*x^2 - 73222*x^3 - 73047*x^4 - 10047*x^5 - 16*x^6) / (1 - x)^7 + O(x^30)) \\ Colin Barker, Jul 23 2019
(Magma) [231*n^6 -315*n^4 +105*n^2 -5: n in [0..30]]; // G. C. Greubel, May 02 2018
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2009
STATUS
approved