OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-9,6,0,0,0,-6,9,-5,1).
FORMULA
G.f.: -2*x^2*(x^6+5*x^5+16*x^4+16*x^3+16*x^2+5*x+1)/((x-1)^7*(x+1)*(x^2+x+1)). [Colin Barker, Sep 18 2012]
MATHEMATICA
ni[n_]:=Module[{c=n^6/36}, If[Ceiling[c]-c<c-Floor[c], Ceiling[c], Floor[ c]]]; Array[ni, 40] (* Harvey P. Dale, Oct 14 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 15 2001
STATUS
approved