OFFSET
0,2
COMMENTS
For every even n, n^4+(n/2)^3 is a cube.
In effect, a(n) = n*(24*n+3+64*n^2) and 8*a(n)+1 = (8*n+1)^3. [R. J. Mathar, Oct 18 2010]
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: x*(91+250*x+43*x^2)/(1-x)^4. [Colin Barker, Jun 15 2012]
MATHEMATICA
LinearRecurrence[{4, -6, 4, -1}, {0, 91, 614, 1953}, 100] (* Vincenzo Librandi, Apr 06 2013 *)
PROG
(Magma) I:=[0, 91, 614, 1953]; [n le 4 select I[n] else 4*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..50]]; // Vincenzo Librandi, Apr 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 08 2009
EXTENSIONS
Typo corrected by Zak Seidov, Sep 14 2009
STATUS
approved