OFFSET
0,2
COMMENTS
If n > 4, then a(n) is even.
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-2,-1,-2,-2).
FORMULA
G.f.: 1/([r] + [2r]x + [3r]x^2 + ...); [ ] = floor, r = 8/5.
G.f.: (1 - x) (1 - x^5)/(1 + 2 x + x^2 + 2 x^3 + 2 x^4).
MATHEMATICA
z = 50; f[x_] := f[x] = Sum[Floor[(8/5)*(k + 1)] x^k, {k, 0, z}]; f[x]
CoefficientList[Series[1/f[x], {x, 0, z}], x]
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Clark Kimberling, Dec 18 2016
STATUS
approved