OFFSET
1
COMMENTS
See A187950.
FORMULA
a(n)=[nr+6r]-[nr]-9, where r=(1+sqrt(5))/2.
MATHEMATICA
r=(1+5^(1/2))/2;
seqA=Table[Floor[(n+6)r]-Floor[n*r]-9, {n, 1, 220}] (* A187948 *)
Flatten[Position[seqA, 0] ] (* A187949 *)
Flatten[Position[seqA, 1] ] (* A187953 *)
f[n_]:=Module[{a=GoldenRatio*n, b=GoldenRatio*6}, Floor[a+b]-Floor[a]-Floor[b]]; Array[f, 130] (* Harvey P. Dale, Jan 10 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 16 2011
STATUS
approved