login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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