login
A258078
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).
2
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, 23, 46, 28, 30, 29, 58, 25, 35, 27, 33, 36, 32, 31, 62, 37, 74, 39, 42, 40, 44, 41, 82, 48, 45, 43, 86, 50, 52, 47, 94, 49, 56, 51, 54, 57, 60, 53, 106, 64, 66, 59
OFFSET
0,2
COMMENTS
A dual to A258076, an analog of A098550.
LINKS
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, May 19 2015
EXTENSIONS
More terms from Peter J. C. Moses, May 19 2015
STATUS
approved