login
Nonmultiples of 4 that have an odd number of prime factors (with multiplicity).
4

%I #11 Dec 29 2022 09:16:26

%S 2,3,5,7,11,13,17,18,19,23,27,29,30,31,37,41,42,43,45,47,50,53,59,61,

%T 63,66,67,70,71,73,75,78,79,83,89,97,98,99,101,102,103,105,107,109,

%U 110,113,114,117,125,127,130,131,137,138,139,147,149,151,153,154,157,162,163,165,167,170,171,173,174

%N Nonmultiples of 4 that have an odd number of prime factors (with multiplicity).

%F {k | A008836(k) < 0 and A010873(k) > 0}.

%t Select[Range[200], And[LiouvilleLambda[#] < 0, ! Divisible[#, 4]] &] (* _Michael De Vlieger_, Dec 28 2022 *)

%o (PARI) isA359373(n) = A359372(n);

%Y Intersection of A026424 and A042968.

%Y Setwise difference A042968 \ A359371.

%Y Positions of negative terms in A358839.

%Y Cf. A001222, A008836, A010873, A067019 (subsequence), A166486, A359372 (characteristic function).

%K nonn

%O 1,1

%A _Antti Karttunen_, Dec 28 2022