OFFSET
0,2
MATHEMATICA
r = Sqrt[2]; f[n_] := Floor[n*r];
Table[f[n], {n, 0, 100}] (* A001951 *)
Table[f[n] + f[n + 1], {n, 0, 100}]
Table[f[n] + f[n + 2], {n, 0, 100}]
Table[f[n] + f[n + 3], {n, 0, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jun 01 2011
STATUS
approved