login
A188086
[nr+kr]-[nr]-[kr], where r=sqrt(3), k=3, [ ]=floor.
3
0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0
OFFSET
1
COMMENTS
FORMULA
a(n)=[nr+3r]-[nr]-[3r], where r=sqrt(3).
MATHEMATICA
r=3^(1/2); k=3;
seqA=Table[Floor[n*r+k*r]-Floor[n*r]-Floor[k*r], {n, 1, 220}] (* A188086 *)
Flatten[Position[seqA, 0] ] (* A188087 *)
Flatten[Position[seqA, 1] ] (* A188088 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 20 2011
STATUS
approved