Students join two groups of colored counting blocks into one rectangular arrangement.

Semiprime definition

A semiprime is a positive integer that is a product of exactly two prime factors, counted with multiplicity.

In Spanish
semiprimo
Topic
Prime numbers and number theory

Semiprime in a picture

Semiprime diagramBoth 15 and 49 are semiprime, and 12 has three prime factors counted with repetition.15 = 3 × 5Two different prime factors49 = 7 × 7The same prime occurs twice12 = 2 × 2 × 3Three prime factors, so it is excluded
Both 15 and 49 are semiprime, and 12 has three prime factors counted with repetition.

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

Which number is a semiprime?

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.