Semiprime definition
A semiprime is a positive integer that is a product of exactly two prime factors, counted with multiplicity.
Semiprime in a picture
How it works
The two primes may be distinct, as in 15 = 3 × 5, or equal, as in 49 = 7 × 7. Every semiprime is composite. Check the full prime factorization because a product of two factors may contain more than two primes.
Worked examples
Is 21 semiprime?
Yes. Its prime factorization is 3 × 7.
Is 8 semiprime?
No. Its factorization has three copies of 2.
Is 25 semiprime?
Yes. It is 5 × 5.
Common mistake
Count each occurrence of a prime factor. A prime square has two prime factors counted with multiplicity.
Quick check
Can a prime be a semiprime?
Show answer
No. A prime has only one prime factor counted with multiplicity.
Is 27 semiprime?
Show answer
No. It is 3 × 3 × 3.
Sources
Flashcard
Semiprime
Reveal the definition
A semiprime is a positive integer that is a product of exactly two prime factors, counted with multiplicity.
Effortless Math. “Semiprime.” Math Dictionary.



