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”).

A345212
Numbers with equal numbers of prime and semiprime divisors.
1
1, 4, 8, 9, 12, 16, 18, 20, 24, 25, 27, 28, 30, 32, 40, 42, 44, 45, 48, 49, 50, 52, 54, 56, 63, 64, 66, 68, 70, 75, 76, 78, 80, 81, 88, 92, 96, 98, 99, 102, 104, 105, 110, 112, 114, 116, 117, 121, 124, 125, 128, 130, 135, 136, 138, 147, 148, 152, 153, 154, 160, 162, 164, 165
OFFSET
1,2
LINKS
EXAMPLE
1 has 0 prime divisors and 0 semiprime divisors.
30 is in the sequence since it has 3 prime divisors: {2,3,5} and 3 semiprime divisors {6,10,15}.
MATHEMATICA
pdsdQ[n_]:=Module[{divs=Divisors[n]}, Count[divs, _?(PrimeQ[#]&)]==Count[divs, _?(PrimeOmega[ #]==2&)]]; Select[Range[200], pdsdQ] (* Harvey P. Dale, Apr 03 2024 *)
CROSSREFS
Cf. A000040 (primes), A001358 (semiprimes).
Sequence in context: A171598 A259241 A289553 * A013929 A162966 A375142
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 10 2021
STATUS
approved