biprimes
Biprime, also called semiprime in many contexts, is a natural number that is the product of exactly two prime numbers, counted with multiplicity. Equivalently, n = p q with primes p and q, not necessarily distinct. Consequently, squares of primes are biprimes (for example 4 = 2×2 and 9 = 3×3).
Common small biprimes include 4, 6, 9, 10, 14, 15, 21, 22, 25, 26, 33, 34, 35,
Distributionally, the number of biprimes up to x, denoted B(x), is asymptotically B(x) ~ x log log
Computationally, testing biprimality involves factoring n into primes and checking whether it equals p q for
Applications and usage: biprimes are a central object in cryptography, where the difficulty of factoring semiprimes