A135497 a(n) = n^5 - n^2.
0, 0, 28, 234, 1008, 3100, 7740, 16758, 32704, 58968, 99900, 160930, 248688, 371124, 537628, 759150, 1048320, 1419568, 1889244, 2475738, 3199600, 4083660, 5153148, 6435814, 7962048, 9765000, 11880700, 14348178, 17209584, 20510308, 24299100, 28628190
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (6, -15, 20, -15, 6, -1).
Programs
-
Magma
[n^5 - n^2: n in [0..50]]; // Vincenzo Librandi, Mar 31 2011
-
Maple
seq(floor(n^8/(n^3+1)),n=0..25); # Gary Detlefs, Feb 11 2010
-
Mathematica
Table[n^5 - n^2, {n, 0, 40}] (* and *) LinearRecurrence[{6, -15, 20, -15, 6, -1}, {0, 0, 28, 234, 1008, 3100}, 40] (* Vladimir Joseph Stephan Orlovsky, Feb 20 2012 *)
Formula
a(n) = floor(n^8/(n^3+1)). - Gary Detlefs, Feb 11 2010
G.f.: 2*x^2*(14 +33*x +12*x^2 +x^3)/(1-x)^6. - Colin Barker, Feb 01 2012
Extensions
More terms from Vincenzo Librandi, Mar 31 2011