OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
From R. J. Mathar, Feb 06 2010: (Start)
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).
G.f.: 24*x^2*(1+x)*(2*x^2+11*x+2)/(1-x)^7. (End)
From Amiram Eldar, Jan 12 2021: (Start)
MAPLE
map(n -> n^6 - n^4, [$0..100]); # Robert Israel, Aug 28 2018
MATHEMATICA
a[n_]:=n^6-n^4; a[Range[0, 60]] (* Vladimir Joseph Stephan Orlovsky, Feb 10 2011 *)
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {0, 0, 48, 648, 3840, 15000, 45360}, 30] (* Harvey P. Dale, May 17 2018 *)
PROG
(Magma) [n^6-n^4: n in [0..30]]; // Vincenzo Librandi, Feb 20 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Rolf Pleisch, Mar 16 2008
STATUS
approved