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
a(1)=7, a(2)=14, a(3)=33, a(4)=70; for n>4, a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Harvey P. Dale, Aug 08 2013
G.f.: (6 - 17*x + 22*x^2 - 5*x^3)/(1 - x)^4. - Vincenzo Librandi, Jun 10 2016
MATHEMATICA
Table[n^3 + 6, {n, 0, 60}] (* Vladimir Joseph Stephan Orlovsky, Apr 15 2011 *)
LinearRecurrence[{4, -6, 4, -1}, {6, 7, 14, 33}, 60] (* Harvey P. Dale, Aug 08 2013 *)
PROG
(PARI) a(n) = n^3 + 6;
(Magma) [n^3+6: n in [0..50]]; // Vincenzo Librandi, Jun 10 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Jun 23 2003
EXTENSIONS
Offset 0 and a(0) = 6 from Vincenzo Librandi, Jun 10 2016
STATUS
approved