A017631 a(n) = (12*n+9)^3.
729, 9261, 35937, 91125, 185193, 328509, 531441, 804357, 1157625, 1601613, 2146689, 2803221, 3581577, 4492125, 5545233, 6751269, 8120601, 9663597, 11390625, 13312053, 15438249, 17779581, 20346417
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
Programs
-
Mathematica
(12*Range[0,30]+9)^3 (* or *) LinearRecurrence[{4,-6,4,-1},{729,9261,35937,91125},30] (* Harvey P. Dale, Apr 06 2016 *)
-
PARI
a(n) = (12*n+9)^3; \\ Altug Alkan, Dec 03 2015
Formula
G.f. 27*(27+235*x+121*x^2+x^3)/(x-1)^4. a(n) = 27*A016839(n). - R. J. Mathar, Dec 03 2015