A017379 a(n) = (10*n + 9)^3.
729, 6859, 24389, 59319, 117649, 205379, 328509, 493039, 704969, 970299, 1295029, 1685159, 2146689, 2685619, 3307949, 4019679, 4826809, 5735339, 6751269, 7880599, 9129329, 10503459, 12008989
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+9)^3: n in [0..40]]; // Vincenzo Librandi, Aug 31 2011
-
Mathematica
(10Range[0,30]+9)^3 (* or *) LinearRecurrence[{4,-6,4,-1},{729,6859,24389,59319},30] (* Harvey P. Dale, Nov 01 2011 *)
-
PARI
vector(40, n, n--; (10*n + 9)^3) \\ G. C. Greubel, Nov 10 2018
Formula
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4); a(0)=729, a(1)=6859, a(2)=24389, a(3)=59319. - Harvey P. Dale, Nov 01 2011