%I #12 May 10 2017 23:36:31
%S 1,1,2,2,3,1,1,3,4,1,1,2,2,4,4,1,5,2,1,1,2,3,1,1,3,5,1,1,5,6,1,1,2,2,
%T 3,1,1,3,4,1,1,2,2,4,4,1,6,2,1,1,2,7,1,1,3,2,1,1,2,4,1,1,3,2,5,1,1,2,
%U 2,3,1,1,3,6,8,1,1,2,2,3,1,1,3,4,1,1,2
%N Lexicographically earliest sequence of positive integers such that {a(n), a(n + 1), ..., a(n + k)} != {a(n + k), a(n + k + 1), ..., a(n + 2k)} for all k > 0.
%C Records appear at: 1,3,5,9,17,30,52,75,127,202,329,598,969,1568,2538,4207.
%H Peter Kagey, <a href="/A286093/b286093.txt">Table of n, a(n) for n = 1..10000</a>
%e a(4) != 1 or else {a(2), a(3)} = {1, 2} = {a(3), a(4)}, thereforea(4) = 2.
%e a(5) != 1 or else {a(1), a(2), a(3)} = {1, 2} = {a(3), a(4), a(5)},a(5) != 2 or else {a(3), a(4)} = {2} = {a(4), a(5)}, therefore a(5) != 3.
%K nonn
%O 1,3
%A _Peter Kagey_, May 01 2017