1,1

G. C. Greubel, Table of n, a(n) for n = 1..5500

u = Sin[Pi/8]; v = Cos[Pi/8];

f[n_] := Floor[n*u + n*v] - Floor[n*u] - Floor[n*v]

t = Table[f[n], {n, 1, 120}] (* A190233 *)

Flatten[Position[t, 0]] (* A190234 *)

Flatten[Position[t, 1]] (* A190235 *)

Cf. A190233, A190235.

Sequence in context: A299240 A004715 A280272 * A036558 A005870 A194461

Adjacent sequences: A190231 A190232 A190233 * A190235 A190236 A190237

nonn

Clark Kimberling, May 06 2011

approved