%I
%S 1,2,3,6,4,8,5,10,7,14,9,12,15,18,11,22,16,20,13,26,24,21,17,34,19,38,
%T 23,46,28,30,29,58,25,35,27,33,36,32,31,62,37,74,39,42,40,44,41,82,48,
%U 45,43,86,50,52,47,94,49,56,51,54,57,60,53,106,64,66,59
%N a(0)=1, a(1)=2; for n>=2, a(n)=smallest number not already used which is relatively prime to a(n1) if T(n1)=T(n), and otherwise shares a factor with a(n1), where {T(n)} is the ThueMorse sequence (A010060).
%C A dual to A258076, an analog of A098550.
%H Peter J. C. Moses, <a href="/A258078/b258078.txt">Table of n, a(n) for n = 0..4999</a>
%Y Cf. A010060, A098550, A258076.
%K nonn
%O 0,2
%A _Vladimir Shevelev_, May 19 2015
%E More terms from _Peter J. C. Moses_, May 19 2015
