OFFSET
0,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,0,0,0,1,-2,1).
FORMULA
G.f.: -x^4*(1+x^4) / ( (1+x)*(x^4-x^3+x^2-x+1)*(x^4+x^3+x^2+x+1)*(x-1)^3 ). - R. J. Mathar, Mar 08 2016
MAPLE
A056865 := proc(n)
floor(n^2/10) ;
end proc:
seq(A056865(n), n=0..100) ; # R. J. Mathar, Mar 08 2016
MATHEMATICA
Floor[Range[0, 60]^2/10] (* or *) LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 0, 1, 2, 3, 4, 6, 8, 10, 12}, 60] (* Harvey P. Dale, Jun 29 2022 *)
PROG
(PARI) a(n) = n^2\10; \\ Michel Marcus, Mar 08 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 02 2000
STATUS
approved