A185065 a(n) = n*(n^3 + 2).
0, 3, 20, 87, 264, 635, 1308, 2415, 4112, 6579, 10020, 14663, 20760, 28587, 38444, 50655, 65568, 83555, 105012, 130359, 160040, 194523, 234300, 279887, 331824, 390675, 457028, 531495, 614712, 707339, 810060, 923583, 1048640
Offset: 0
Examples
20^3 = 10^3*(10-2); 87^3 = 29^3*(29-2).
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
Programs
-
Mathematica
Table[n(n^3+2),{n,0,40}] (* Harvey P. Dale, Apr 11 2011 *)
-
PARI
a(n)=n*(n^3+2) \\ Charles R Greathouse IV, Oct 07 2015
Formula
G.f.: x*(3 + 5*x + 17*x^2 - x^3)/(1-x)^5. - Bruno Berselli, Mar 31 2011
Comments