login
A008513
Number of points on surface of 6-dimensional cube.
2
0, 64, 728, 4032, 14896, 42560, 102024, 215488, 413792, 737856, 1240120, 1985984, 3055248, 4543552, 6563816, 9247680, 12746944, 17235008, 22908312, 29987776, 38720240, 49379904, 62269768
OFFSET
0,2
FORMULA
G.f.: 8*x*(8 + 43*x + 78*x^2 + 43*x^3 + 8*x^4)/(x-1)^6. - Colin Barker, Jan 02 2012
a(n) = 12*n^5 + 40*n^3 + 12*n. - Charles R Greathouse IV, Jan 02 2012
E.g.f.: 4*x*(16 +75*x +85*x^2 +30*x^3 +3*x^4)*exp(x). - G. C. Greubel, Nov 09 2019
MAPLE
seq((n+1)^6-(n-1)^6, n=0..30);
MATHEMATICA
Table[(n+1)^6-(n-1)^6, {n, 0, 30}] (* G. C. Greubel, Nov 09 2019 *)
PROG
(Magma) [(n+1)^6-(n-1)^6: n in [0..30]]; // Vincenzo Librandi, Aug 27 2011
(PARI) a(n)=n++^6-(n-2)^6 \\ Charles R Greathouse IV, Jan 02 2012
(Sage) [(n+1)^6-(n-1)^6 for n in (0..30)] # G. C. Greubel, Nov 09 2019
(GAP) List([0..30], n-> (n+1)^6-(n-1)^6); # G. C. Greubel, Nov 09 2019
CROSSREFS
Sequence in context: A316288 A306052 A317229 * A321830 A182673 A182674
KEYWORD
nonn,easy
STATUS
approved