login
A187967
[nr+kr]-[nr]-[kr], where r=sqrt(2), k=2, [ ]=floor.
6
1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0
OFFSET
1
COMMENTS
See A187950.
MATHEMATICA
r=2^(1/2); k=2
seqA=Table[Floor[(n+2)r]-Floor[n*r]-Floor[k*r], {n, 1, 220}] (* A187967 *)
Flatten[Position[seqA, 0] ] (* A098021 conjectured *)
Flatten[Position[seqA, 1] ] (* A187968 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 17 2011
STATUS
approved