login
a(n) = 1 if n is an odd number with an odd number of prime factors (counted with multiplicity), otherwise 0.
16

%I #9 May 02 2022 11:13:25

%S 0,0,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,

%T 0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,

%U 0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1

%N a(n) = 1 if n is an odd number with an odd number of prime factors (counted with multiplicity), otherwise 0.

%H Antti Karttunen, <a href="/A353558/b353558.txt">Table of n, a(n) for n = 1..65537</a>

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%F a(n) = A000035(n) * A066829(n).

%F a(n) = A000035(n) - A353557(n).

%F a(n) = A066829(n) - A353556(n).

%o (PARI) A353558(n) = ((n%2)&&(bigomega(n)%2));

%Y Characteristic function of A067019.

%Y Cf. A000035, A066829, A353555, A353556, A353557.

%K nonn

%O 1

%A _Antti Karttunen_, May 01 2022