|
|
A017187
|
|
a(n) = (9*n + 2)^3.
|
|
1
|
|
|
8, 1331, 8000, 24389, 54872, 103823, 175616, 274625, 405224, 571787, 778688, 1030301, 1331000, 1685159, 2097152, 2571353, 3112136, 3723875, 4410944, 5177717, 6028568, 6967871, 8000000, 9129329
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (8 + 1299*x + 2724*x^2 + 343*x^3)/(-1+x)^4. - R. J. Mathar, Jun 24 2009
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4); a(0)=8, a(1)=1331, a(2)=8000, a(3)=24389. - Harvey P. Dale, Jan 27 2014
|
|
MAPLE
|
|
|
MATHEMATICA
|
(9*Range[0, 30]+2)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {8, 1331, 8000, 24389}, 30] (* Harvey P. Dale, Jan 27 2014 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|