A017307 a(n) = (10*n + 3)^3.
27, 2197, 12167, 35937, 79507, 148877, 250047, 389017, 571787, 804357, 1092727, 1442897, 1860867, 2352637, 2924207, 3581577, 4330747, 5177717, 6128487, 7189057, 8365427, 9663597, 11089567, 12649337, 14348907, 16194277, 18191447, 20346417, 22665187, 25153757, 27818127
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..10000
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
Programs
-
Magma
[(10*n+3)^3: n in [0..35]]; // Vincenzo Librandi, Jul 31 2011
-
Mathematica
(10 Range[0,30]+3)^3 (* or *) LinearRecurrence[{4,-6,4,-1},{27,2197,12167,35937},30] (* Harvey P. Dale, Jul 05 2021 *)
-
PARI
a(n) = (10*n + 3)^3; \\ Michel Marcus, Apr 14 2022
Formula
G.f.: (27 + 2089*x + 3541*x^2 + 343*x^3)/(x-1)^4. - R. J. Mathar, Mar 20 2018