Semiprimes
A semiprime is a natural number that is the product of two primes, counting multiplicity. Equivalently, it has exactly two prime factors when multiplicities are considered, so any n = p q with primes p ≤ q qualifies. This includes the case p = q, which gives squares of primes such as 4 = 2×2 or 9 = 3×3.
Semiprimes are composite and not prime, occupying a middle ground between primes and numbers with more extensive
Common examples include 4, 6, 9, 10, 14, 15, 21, 25, 26, 33, 34, 35, and 49.
Counting and distribution: Let S(x) denote the number of semiprimes not exceeding x. Asymptotically, S(x) is ~
Applications and significance: Semiprimes are central in certain areas of number theory and cryptography. Many public-key