A016887 a(n) = (5*n+3)^3.
27, 512, 2197, 5832, 12167, 21952, 35937, 54872, 79507, 110592, 148877, 195112, 250047, 314432, 389017, 474552, 571787, 681472, 804357, 941192, 1092727, 1259712, 1442897, 1643032, 1860867, 2097152, 2352637, 2628072, 2924207, 3241792, 3581577, 3944312
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
Programs
-
Magma
[(5*n+3)^3: n in [0..40]]; // Vincenzo Librandi, May 26 2016
-
Mathematica
(5 Range[0, 30] + 3)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {27, 512, 2197, 5832}, 30] (* Harvey P. Dale, Nov 26 2014 *) Table[(5 n + 3)^3, {n, 0, 40}] (* Vincenzo Librandi, May 26 2016 *)
Formula
From Ilya Gutkovskiy, May 26 2016: (Start)
O.g.f.: (27 + 404*x + 311*x^2 + 8*x^3)/(1 - x)^4.
E.g.f.: (27 + 485*x + 600*x^2 + 125*x^3)*exp(x). (End)