OFFSET
0,3
COMMENTS
Conjecture: Except for the initial 0, this is the sequence of positions of 0 in the fixed point of the morphism 0->01, 1->0000; see A284683. - Clark Kimberling, Apr 13 2017
LINKS
A. S. Fraenkel, Home Page
A. S. Fraenkel, New games related to old and new sequences, INTEGERS, Electronic J. of Combinatorial Number Theory, Vol. 4, Paper G6, 2004.
FORMULA
Let a(n) = this sequence, b(n) = A081691. Then a(n) = mex{ a(i), b(i) : 0 <= i < n}, b(0) = 0, b(n) = 2(b(n-1) - a(n-1)) + a(n) + 1.
MATHEMATICA
mex[{}]=0; mex[s_] := Complement[Range[0, 1+Max@@s], s][[1]]; A[0]=B[0]=0; A[n_] := A[n]=mex[Flatten[Table[{A[i], B[i]}, {i, 0, n-1}]]]; B[n_] := B[n]=B[n-1]+(A[n]-A[n-1])*(A[n]-A[n-1]+1); a := A
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 02 2003
EXTENSIONS
More terms from Vladeta Jovovic, Apr 04 2003
STATUS
approved