login
A361018
Parity of A361017, where A361017 is the Dirichlet inverse of Thue-Morse sequence, A010060.
2
1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0
OFFSET
1
FORMULA
a(n) = A000035(A361017(n)) = A000035(A323886(n)).
MATHEMATICA
s[1] = 1; s[n_] := s[n] = -DivisorSum[n, s[#] * ThueMorse[n/#] &, # < n &]; a[n_] := Mod[s[n], 2]; Array[a, 100] (* Amiram Eldar, Mar 02 2023 *)
PROG
(PARI) A361018(n) = (A361017(n)%2);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 02 2023
STATUS
approved