Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #10 Jun 06 2015 16:58:33
%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(n-1) if T(n-1)=T(n), and otherwise shares a factor with a(n-1), where {T(n)} is the Thue-Morse 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