login
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