OFFSET
0,5
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, -1, 0, 0, 0, 0, 1, -2, 1).
FORMULA
G.f.: -x^2*(x+1)*(x^2-x+1)^2/((x-1)^3*(x^6+x^5+x^4+x^3+x^2+x+1)). [Colin Barker, Oct 08 2012]
MATHEMATICA
Round[Range[0, 60]^2/7] (* or *) LinearRecurrence[{2, -1, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 1, 1, 2, 4, 5, 7, 9}, 60] (* Harvey P. Dale, Jul 31 2019 *)
PROG
(Magma) a056833:=func< n | Round(n^2/7) >; [ a056833(n): n in [0..70] ];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 02 2000
STATUS
approved