OFFSET
1,2
COMMENTS
Conjecture: the positions of 1 in the fixed point of the morphism 0 -> 10, 1 -> 1000, and -1 < n*(1 + sqrt(3)) - a(n) < 4 for n>=1; see A285301. - Clark Kimberling, Apr 25 2017
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (1+sqrt(3))*n + O(1).
MATHEMATICA
PROG
(PARI) x=1; y=2; z=2; t=4; an[1]=x; for(n=2, 100, an[n]=if(setsearch(Set(vector(n-1, i, a(i))), n), a(n-1)+y, if(setsearch(Set(vector(n-1, i, a(i))), n-1), a(n-1)+t, a(n-1)+z)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 13 2003
STATUS
approved