OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,1,-2,1). [R. J. Mathar, Jul 06 2010]
FORMULA
a(n) = +2*a(n-1) -a(n-2) +a(n-7) -2*a(n-8) +a(n-9). G.f.: x*(1+x)*(x^2-x+1)*(x^4-x^3+x^2-x+1) / ( (x^6+x^5+x^4+x^3+x^2+x+1)*(1-x)^3 ). [R. J. Mathar, Jul 06 2010]
MAPLE
MATHEMATICA
Ceiling[Range[0, 60]^2/7] (* or *) LinearRecurrence[{2, -1, 0, 0, 0, 0, 1, -2, 1}, {0, 1, 1, 2, 3, 4, 6, 7, 10}, 60] (* Harvey P. Dale, Jun 23 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved