OFFSET
1,1
FORMULA
The monotonic ordering of the numbers in the set S generated by these rules: 2 is in S, and if n is in S, then n^2+4*n+2 and n+Floor[1/2+sqrt(n+2)] is in S.
EXAMPLE
MATHEMATICA
nn=200; t={2}; t0=t; While[t=Select[Union[t, (t^2+4t+2), t+Floor[1/2+(t+2)^(1/2)]], #<=nn&]; t0 !=t, t0=t]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 04 2011
STATUS
approved