OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Cino Hilliard, Proof that a cube plus 7 cannot be a square
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: (5 - 14*x + 19*x^2 - 4*x^3)/(1 - x)^4. - Vincenzo Librandi, Jun 09 2016
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n>3. - Vincenzo Librandi, Jun 09 2016
MATHEMATICA
Table[n^3 + 5, {n, 0, 60}] (* Vladimir Joseph Stephan Orlovsky, Apr 15 2011 *)
PROG
(PARI) a(n) = n^3 + 5;
(Magma) [n^3+5: n in [0..50]]; // Vincenzo Librandi, Jun 09 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Jun 23 2003
EXTENSIONS
Offset 0 and a(0) = 5 by Vincenzo Librandi, Jun 09 2016
STATUS
approved