A017007 a(n) = (7*n + 2)^3.
8, 729, 4096, 12167, 27000, 50653, 85184, 132651, 195112, 274625, 373248, 493039, 636056, 804357, 1000000, 1225043, 1481544, 1771561, 2097152, 2460375, 2863288, 3307949, 3796416, 4330747, 4913000
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
-
GAP
List([0..30],n->(7*n+2)^3); # Muniru A Asiru, Oct 13 2018
-
Magma
[(7*n+2)^3: n in [0..40]]; // Vincenzo Librandi, Jul 13 2011
-
Maple
seq((7*n+2)^3,n=0..30); # Muniru A Asiru, Oct 13 2018
-
PARI
a(n) = (7*n+2)^3; \\ Altug Alkan, Oct 13 2018
Formula
G.f.: (8 + 697*x + 1228*x^2 + 125*x^3)/(-1+x)^4. - R. J. Mathar, Jun 24 2009