A017163 a(n) = (9*n)^3.
0, 729, 5832, 19683, 46656, 91125, 157464, 250047, 373248, 531441, 729000, 970299, 1259712, 1601613, 2000376, 2460375, 2985984, 3581577, 4251528, 5000211, 5832000, 6751269, 7762392, 8869743
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
[(9*n)^3: n in [0..35]]; // Vincenzo Librandi, Jul 22 2011
-
Mathematica
(9*Range[0,30])^3 (* or *) LinearRecurrence[{4,-6,4,-1},{0,729,5832,19683},30] (* Harvey P. Dale, Sep 09 2019 *)
Formula
G.f.: 729*x*(1 + 4*x + x^2) / (x-1)^4. - R. J. Mathar, Jul 17 2014