

A258076


a(0)=1, a(1)=2; for n>=2, a(n) = smallest number not already used which shares a factor with a(n1) if T(n1)=T(n), and otherwise is relatively prime to a(n1), where {T(n)} is ThueMorse sequence (A010060).


2



1, 2, 4, 3, 5, 6, 8, 7, 14, 9, 12, 11, 10, 13, 26, 15, 16, 17, 34, 19, 18, 23, 46, 21, 24, 25, 20, 27, 22, 29, 58, 31, 62, 33, 30, 37, 28, 39, 36, 35, 40, 41, 82, 43, 32, 45, 42, 47, 38, 49, 56, 51, 44, 53, 106, 55, 50, 57, 48, 59, 52, 61, 122, 63, 64, 65, 60
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


COMMENTS

An analog of A098550 involving ThueMorse sequence.
Conjecture: the sequence is a permutation of the positive integers.
Conjecture: the primes appear in the natural order.


LINKS



CROSSREFS



KEYWORD

nonn


AUTHOR



EXTENSIONS



STATUS

approved



