login
A191188
a(n) = floor(8*n*Pi) - 2*floor(4*n*Pi).
4
1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0
OFFSET
1
MATHEMATICA
f[n_] := Floor[8 n*Pi] - 2*Floor[4 n*Pi];
t = Table[f[n], {n, 1, 220}] (* A191188 *)
Flatten[Position[t, 0]] (* A191194 *)
Flatten[Position[t, 1]] (* A191202 *)
CROSSREFS
Sequence in context: A267704 A174888 A162549 * A285592 A276793 A375349
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 27 2011
STATUS
approved