OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
From Bruno Berselli, Oct 17 2011: (Start)
G.f.: x*(8-17*x+25*x^2-14*x^3+6*x^4-3*x^5+x^6)/(1-x)^4.
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4) for n>7.
a(n) = A079908(n) for n>3. (End)
PROG
(Magma) [Floor((n+1/n)^3): n in [1..60]]
(PARI) a(n)=n^3+3*n+(3*n^2+1)\n^3 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 17 2011
STATUS
approved