login
A188071
[nr]-[kr]-[nr-kr], where r=sqrt(3), k=2, [ ]=floor.
3
0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1
OFFSET
1
COMMENTS
See A188014.
FORMULA
[nr]-[2r]-[nr-2r], where r=sqrt(3).
MATHEMATICA
r=3^(1/2)); k=2;
t=Table[Floor[n*r]-Floor[(n-k)*r]-Floor[k*r], {n, 1, 220}] (*A188071*)
Flatten[Position[t, 0]] (*A188072*)
Flatten[Position[t, 1]] (*A188073*)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 20 2011
STATUS
approved