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”).

A191162
a(n) = [4*n*Pi] - 2*[2*n*Pi], where [ ]=floor.
4
0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1
OFFSET
1
MATHEMATICA
f[n_] := Floor[4 n*Pi] - 2*Floor[2 n*Pi];
t = Table[f[n], {n, 1, 220}] (* A191162 *)
Flatten[Position[t, 0]] (* A191214 *)
Flatten[Position[t, 1]] (* A191215 *)
CROSSREFS
Sequence in context: A269927 A374468 A246146 * A234046 A285565 A188076
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 27 2011
STATUS
approved