Skip to content

Sophie Germain Primes: What They Are

  • Updated: August 4, 2026
📌

Complete guide: Special Prime Numbers

A Sophie Germain prime is a prime number that stays tied to another prime after a simple doubling step. If p is prime and 2p + 1 is also prime, then p is called a Sophie Germain prime.

Definition

A prime number p is a Sophie Germain prime when the number 2p + 1 is also prime. The number 2p + 1 is called a safe prime.

What Makes a Prime a Sophie Germain Prime?

The definition has two separate primality conditions. First, p itself must be prime. Second, the number made by doubling p and adding 1 must also be prime.

Sophie Germain Prime Test

p is a Sophie Germain prime if p is prime and 2p + 1 is prime.

For example, 11 is a Sophie Germain prime because 11 is prime and:

2 × 11 + 1 = 23

Since 23 is also prime, 11 fits the definition.

Examples of Sophie Germain Primes

The early Sophie Germain primes are small enough to verify by direct divisibility checks. Each one produces a safe prime through the expression 2p + 1.

Small Sophie Germain primes and the safe primes they produce.
Sophie Germain Prime pCalculationSafe Prime 2p + 1
22 × 2 + 15
32 × 3 + 17
52 × 5 + 111
112 × 11 + 123
232 × 23 + 147
292 × 29 + 159
412 × 41 + 183

Sophie Germain Primes and Safe Primes

Sophie Germain primes and safe primes describe the same relationship from opposite sides.

Sophie Germain Prime

The smaller prime p in the pair. It must make 2p + 1 prime.

Safe Prime

The larger prime formed by 2p + 1. If q is safe, then (q − 1) / 2 is also prime.

For the pair 11 and 23, 11 is the Sophie Germain prime and 23 is the safe prime.

Math Note

Every Sophie Germain prime creates a safe prime, but the label depends on which number is being described. The smaller number is the Sophie Germain prime. The larger number is the safe prime.

How to Check One

To check whether a number is a Sophie Germain prime, the number must first pass a primality test. After that, 2p + 1 must also pass a primality test.

For small numbers, trial division is often enough. A composite result at either stage means the original number is not a Sophie Germain prime. To test ordinary primality first, you can use PrimeOrNot’s prime number checker before checking the related value 2p + 1.

Example: Is 17 a Sophie Germain Prime?

The number 17 is prime. But:

2 × 17 + 1 = 35

The number 35 is composite because 35 = 5 × 7. Therefore, 17 is prime, but it is not a Sophie Germain prime.

Prime Does Not Always Mean Sophie Germain Prime

Every Sophie Germain prime is prime, but not every prime is a Sophie Germain prime. The second condition matters.

Common Mistake

A number can be prime and still fail the Sophie Germain test. The number 13 is prime, but 2 × 13 + 1 = 27, and 27 is composite.

Why These Primes Matter in Number Theory

Sophie Germain primes appear in questions about prime structure, factorization, modular arithmetic, and special prime pairs. They are also linked to safe primes, which are useful in some areas of computational number theory.

One open question remains: mathematicians do not know whether there are infinitely many Sophie Germain primes. Many examples are known, but no proof has settled the infinite case.

Related Concepts

FAQ About Sophie Germain Primes

What is a Sophie Germain prime?

A Sophie Germain prime is a prime number p where 2p + 1 is also prime.

Is 2 a Sophie Germain prime?

Yes. The number 2 is prime, and 2 × 2 + 1 = 5. Since 5 is prime, 2 is a Sophie Germain prime.

Is every prime number a Sophie Germain prime?

No. A prime number must also make 2p + 1 prime. For example, 17 is prime, but 2 × 17 + 1 = 35, which is composite.

What is the difference between a Sophie Germain prime and a safe prime?

The Sophie Germain prime is the smaller prime p. The safe prime is the larger prime 2p + 1.

Are there infinitely many Sophie Germain primes?

This is not known. Mathematicians have found many Sophie Germain primes, but no proof shows that infinitely many exist.

Can a composite number be a Sophie Germain prime?

No. The starting number p must be prime. Composite numbers cannot be Sophie Germain primes.