%I
%S 1,1,2,1,6,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,2,1,1,1,
%T 1,4,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,4,1,1,1,1,2,1,1,1,1,1,1,1,
%U 2,2,1,2,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,3,1,1,1,1,2,1,1,1,1,1,1,1
%N Number of final terms of the LMSFTW of length m that differ from the first m terms of the LMSFTW of length m+1, where m is the nth term of A094672.
%e The LMSFTW of length 86 is (0,1,0,2,0,1,2,0,2,1,0,1,2,0,1,0,2,0,1,2,0,2,1,0,2,0,1,0,2,1,0,1,2,0,1,0,2,0,1,2,0,2,1,0,1,2,0,1,0,2,1,0,1,2,0,2,1,0,2,0,1,0,2,1,0,1,2,0,1,0,2,0,1,2,0,2,1,0,1,2,0,1,0,2,0,1), while the LMSFTW of length 87 is
%e (0,1,0,2,0,1,2,0,2,1,0,1,2,0,1,0,2,0,1,2,0,2,1,0,2,0,1,0,2,1,0,1,2,0,1,0,2,0,1,2,0,2,1,0,1,2,0,1,0,2,1,0,1,2,0,2,1,0,2,0,1,0,2,1,0,1,2,0,1,0,2,0,1,2,0,2,1,0,1,2,1,0,2,0,1,0,2). The last 6 terms of the former differ from the corresponding terms of the latter, whereas all previous terms are the same. Since 86 is the 5th term of A094672, we have a(5)=6.
%Y Cf. A085794, A094672.
%K nonn
%O 1,3
%A _John W. Layman_, May 18 2004
