A017295 (10*n+2)^3.
8, 1728, 10648, 32768, 74088, 140608, 238328, 373248, 551368, 778688, 1061208, 1404928, 1815848, 2299968, 2863288, 3511808, 4251528, 5088448, 6028568, 7077888, 8242408, 9528128, 10941048, 12487168
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+2)^3: n in [0..35]]; // Vincenzo Librandi, Jul 30 2011
-
Maple
A017295:=n->(10*n+2)^3; seq(A017295(n), n=0..40); # Wesley Ivan Hurt, May 02 2014
-
Mathematica
Table[(10 n + 2)^3, {n, 0, 40}] (* Wesley Ivan Hurt, May 02 2014 *) LinearRecurrence[{4,-6,4,-1},{8,1728,10648,32768},30] (* Harvey P. Dale, Aug 24 2018 *)
-
PARI
Vec(8*(64*x^3+473*x^2+212*x+1)/(x-1)^4 + O(x^100)) \\ Colin Barker, May 03 2014
Formula
G.f.: 8*(64*x^3+473*x^2+212*x+1) / (x-1)^4. - Colin Barker, May 03 2014