OFFSET
0,3
COMMENTS
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 0..3999
Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016.
MATHEMATICA
nn = 87; f[n_, b_] := Most@ Mod[NestWhileList[-(#1 - Mod[#1, b])/b &, n, #1 != 0 &], b]; Array[(k = 0; While[1 - Mod[Total@ f[k, 2], 2] == ThueMorse[# + k], k++]; k) &, nn - 1, 0] (* Michael De Vlieger, Aug 25 2022 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Feb 24 2016
EXTENSIONS
More terms from Peter J. C. Moses, Feb 24 2016
STATUS
approved