OFFSET
0
LINKS
FORMULA
MATHEMATICA
a[n_] := If[Mod[DigitCount[n, 2, 1], 2] == Mod[DigitCount[3*n, 2, 1], 2], 0, 1]; Array[a, 100, 0] (* Amiram Eldar, Feb 07 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Nov 30 2017
STATUS
approved