OFFSET
1,2
FORMULA
The monotonic ordering of the numbers in the set S generated by these rules: 1 is in S, and if n is in S, then -2+Floor[(n+2)r] and n+Floor[(n+2)r] are in S, where r=(1+sqrt(5))/2, the golden ratio.
MATHEMATICA
nn=200; g=(1+5^(1/2))/2; t={1}; t0=t; While[t=Select[Union[t, -2+Floor[(t+2)g], t+Floor[(t+2)g]], #<=nn&]; t0 !=t, t0=t]; t
PROG
(Python)
from itertools import islice
def A183544_gen(): # generator of terms
a, b, i = 1, 1, 0
while True:
yield from (j+a for j in range(i, i+a))
i += a
a, b = b, a+b
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 05 2011
STATUS
approved