OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
G.f.: 8*x*(8 + 43*x + 78*x^2 + 43*x^3 + 8*x^4)/(x-1)^6. - Colin Barker, Jan 02 2012
a(n) = 12*n^5 + 40*n^3 + 12*n. - Charles R Greathouse IV, Jan 02 2012
E.g.f.: 4*x*(16 +75*x +85*x^2 +30*x^3 +3*x^4)*exp(x). - G. C. Greubel, Nov 09 2019
MAPLE
seq((n+1)^6-(n-1)^6, n=0..30);
MATHEMATICA
Table[(n+1)^6-(n-1)^6, {n, 0, 30}] (* G. C. Greubel, Nov 09 2019 *)
PROG
(Magma) [(n+1)^6-(n-1)^6: n in [0..30]]; // Vincenzo Librandi, Aug 27 2011
(PARI) a(n)=n++^6-(n-2)^6 \\ Charles R Greathouse IV, Jan 02 2012
(Sage) [(n+1)^6-(n-1)^6 for n in (0..30)] # G. C. Greubel, Nov 09 2019
(GAP) List([0..30], n-> (n+1)^6-(n-1)^6); # G. C. Greubel, Nov 09 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved