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