OFFSET
1,1
COMMENTS
Numbers of the form p*q^k, where p and q are distinct primes and k>1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ k*n log n where k = 1/A136141 = 1.293398.... - Charles R Greathouse IV, Feb 04 2026
EXAMPLE
50 is in the sequence since it has exactly 2 semiprime divisors, 10 and 25.
MATHEMATICA
Select[Range[300], Length[(e = Sort[FactorInteger[#][[;; , 2]]])] == 2 && Min[e] == 1 && Max[e] > 1 &] (* Amiram Eldar, Sep 30 2021 *)
Select[Range[300], Count[Divisors[#], _?(PrimeOmega[#]==2&)]==2&] (* Harvey P. Dale, Mar 16 2026 *)
PROG
(Python)
from sympy import factorint
def ok(n):
e = sorted(factorint(n).values())
return len(e) == 2 and e[0] == 1 and e[1] > 1
print([k for k in range(276) if ok(k)]) # Michael S. Branicky, Dec 18 2021
(PARI) list(lim)=my(v=List()); for(e=2, logint(lim\3, 2), forprime(p=2, logint(lim\2, e), my(pe=p^e); forprime(q=2, lim\pe, if(p!=q, listput(v, pe*q))))); Set(v) \\ Charles R Greathouse IV, Feb 04 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 16 2021
STATUS
approved
