Open Problems

Goldbach's Conjecture

Enter any even number up to 200,000 and list every pair of primes that adds up to it. The number of ways grows with size, which is why the conjecture is believed true even though it is unproven.

5 minLevel 1/3The interactive stage stays ad-free.
Number100Prime pairs6Smallest pair3+97

6 ways to write 100 as two primes.

3 + 9711 + 8917 + 8329 + 7141 + 5947 + 53

A sieve marks every prime up to your number, then we test each prime p with n − p. Goldbach is verified past 4×10¹⁸ by computer, yet no one has proved it holds for every even number.

What you are seeing

1

A sieve marks every prime up to your number in one pass.

2

For each prime p ≤ n/2, we check whether n − p is also prime. Each such pair is one representation.

3

The count of representations is the headline number. Larger numbers have many more.

Why it matters

Goldbach is one of the oldest unsolved problems in number theory. It links the additive structure of the integers to the multiplicative structure of the primes, and it is a classic stress test for prime-generation tools.

Complexity & details

Sieve is O(n log log n). Checking all pairs is O(n / log n) after the sieve.

Frequently asked questions

Do we know it holds up to a bound?+

Yes. It has been verified by computer for every even number past 4×10^18, but that is not a proof.

What about odd numbers?+

The weak Goldbach conjecture (every odd number above 5 is the sum of three primes) was proved in 2013.