login
A191156
a(n) = [6*n*Pi] - 2*[3*n*Pi], where [ ]=floor.
3
0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1
OFFSET
1
MATHEMATICA
f[n_] := Floor[6 n*Pi] - 2*Floor[3 n*Pi];
t = Table[f[n], {n, 1, 220}] (* A191156 *)
Flatten[Position[t, 0]] (* A191160 *)
Flatten[Position[t, 1]] (* A101176 *)
CROSSREFS
Sequence in context: A288640 A361115 A082446 * A144611 A288473 A130853
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 27 2011
STATUS
approved