OFFSET
0,1
COMMENTS
The cubic number sequence whose geometrical arrangement loses all vertices: this is a figurate number represented by a cubic lattice of n^3 equispaced points without vertices.
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: (-8 + 25*x - 20*x^2 + 9*x^3)/(1-x)^4. - Vincenzo Librandi, Jun 25 2015
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - Vincenzo Librandi, Jun 25 2015
MATHEMATICA
Table[n^3 - 8, {n, 0, 40}] (* Vincenzo Librandi, Jun 25 2015 *)
LinearRecurrence[{4, -6, 4, -1}, {-8, -7, 0, 19}, 50] (* Harvey P. Dale, Sep 25 2017 *)
PROG
(Magma) [n^3 - 8: n in [0..40]]; // Vincenzo Librandi, Jun 25 2015
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Luciano Ancora, Jun 24 2015
EXTENSIONS
First term -8 added from Vincenzo Librandi, Jun 25 2015
STATUS
approved