OFFSET
0,3
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: ([s] + [2s]x + [3s]x^2 + ...)/([r] + [2r]x + [3r]x^2 + ...); [ ] = floor, r = sqrt(3), s = sqrt(2).
MATHEMATICA
z = 100;
r = Sqrt[2]; f[x_] := f[x] = Sum[Floor[r*(k + 1)] x^k, {k, 0, z}];
s = Sqrt[3]; g[x_] := g[x] = Sum[Floor[s*(k + 1)] x^k, {k, 0, z}];
CoefficientList[Series[f[x]/g[x], {x, 0, z}], x]
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Clark Kimberling, Dec 17 2016
STATUS
approved