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