OFFSET
0
COMMENTS
a(2n) = a(n). This is because the binary weight of 2(3n) is the same as the binary weight of 3n.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..21846
Alan Cobham, Uniform tag sequences, Math. Systems Theory (1972) 6: 164-192. See Example 9.
Roswitha Hofer, Coquet-type formulas for the rarefied weighted Thue-Morse sequence Discrete Mathematics 311.16 (2011): 1724-1734.
FORMULA
From Antti Karttunen, Dec 01 2017: (Start)
a(n) = A000120(3*n) mod 2.
a(n) = A026492(n) - 1. - Andrey Zabolotskiy, Dec 31 2023
MATHEMATICA
ThueMorse[Range[0, 300, 3]] (* Paolo Xausa, Dec 18 2023 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 15 2017
STATUS
approved