%I #4 Apr 04 2015 21:57:24
%S 7,25,52,59,86,127,132,135,162,169,193,198,201,214,215,218,251,256,
%T 259,286,293,317,322,325,338,339,342,352,356,359,386,393,417,422,425,
%U 438,469,501,506,509,536,543,567,572,575,588,589,592,625,630,633,660,667
%N Values of n such that one or more ending terms of the lexicographically earliest squarefree ternary word (LMSFTW) of length n differ(s) from the first n terms of the LMSFTW of length n+1.
%e The LMSFTW of length 7 is W1=(0,1,0,2,0,1,0) and the LMSFTW of length 8 is W2=
%e (0,1,0,2,0,1,2,0). Since the last term of W1 differs from the 7th term of W8, 7 is a term of the sequence.
%Y Cf. A085794.
%K nonn
%O 1,1
%A _John W. Layman_, May 18 2004