A017343 a(n) = (10*n + 6)^3.
216, 4096, 17576, 46656, 97336, 175616, 287496, 438976, 636056, 884736, 1191016, 1560896, 2000376, 2515456, 3112136, 3796416, 4574296, 5451776, 6434856, 7529536, 8741816, 10077696, 11543176, 13144256, 14886936, 16777216, 18821096, 21024576, 23393656, 25934336
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+6)^3: n in [0..35]]; // Vincenzo Librandi, Aug 03 2011
-
Mathematica
(10*Range[0,30]+6)^3 (* or *) LinearRecurrence[{4,-6,4,-1},{216,4096,17576,46656},30] (* Harvey P. Dale, Nov 05 2019 *)
-
PARI
vector(40, n, n--; (10*n+6)^3) \\ Michel Marcus, Aug 04 2021
Formula
From Wesley Ivan Hurt, Jan 27 2022: (Start)
G.f.: 8*(27+404*x+311*x^2+8*x^3)/(x-1)^4.
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). (End)