login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A359373
Nonmultiples of 4 that have an odd number of prime factors (with multiplicity).
4
2, 3, 5, 7, 11, 13, 17, 18, 19, 23, 27, 29, 30, 31, 37, 41, 42, 43, 45, 47, 50, 53, 59, 61, 63, 66, 67, 70, 71, 73, 75, 78, 79, 83, 89, 97, 98, 99, 101, 102, 103, 105, 107, 109, 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
OFFSET
1,1
FORMULA
{k | A008836(k) < 0 and A010873(k) > 0}.
MATHEMATICA
Select[Range[200], And[LiouvilleLambda[#] < 0, ! Divisible[#, 4]] &] (* Michael De Vlieger, Dec 28 2022 *)
PROG
(PARI) isA359373(n) = A359372(n);
CROSSREFS
Intersection of A026424 and A042968.
Setwise difference A042968 \ A359371.
Positions of negative terms in A358839.
Cf. A001222, A008836, A010873, A067019 (subsequence), A166486, A359372 (characteristic function).
Sequence in context: A171055 A117285 A100546 * A117094 A171057 A229786
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 28 2022
STATUS
approved