Goldbach Partitions Calculator

Number

Goldbach partitions6
Smallest pair3 + 97
Pair nearest the middle47 + 53
Primes up to n25
How this was calculated
  1. Goldbach's conjecture pairs primes that add to 100; a sieve lists the 25 primes up to 100.
  2. Testing each prime p up to 100 / 2, the partner 100 - p must also be prime.
  3. The smallest pair is 3 + 97 and the pair nearest the middle is 47 + 53.
  4. In total 100 has 6 Goldbach partitions (unordered prime pairs).

This Goldbach partitions calculator finds every way to write an even number as the sum of two primes. Goldbach's conjecture says every even integer greater than 2 is a sum of two primes, and each such pair is called a Goldbach partition. Enter an even number and the calculator lists all of its partitions, from the smallest prime in the first pair to the pair nearest the middle. For example, 100 has 6 partitions, running from 3 + 97 to 47 + 53. The number 50 has 4 partitions, and 1,000 has 28, running from 3 + 997 to 491 + 509.

The method is the accepted standard for this kind of calculation: the pairs are built from the primes up to n. There are 25 primes up to 100 and 168 up to 1,000, and the calculator pairs them to produce each partition. Goldbach's conjecture has been verified by computer for even numbers up to very large bounds, but no general proof exists, so every even number this calculator tests has at least one partition. This page shows the formula, step-by-step workings, worked examples and sources so you can check each result yourself.

Worked examples

Partitions of 100

(100)

Goldbach partitions6
Smallest pair3 + 97
Pair nearest the middle47 + 53
Primes up to n25

Partitions of 50

(50)

Goldbach partitions4
Smallest pair3 + 47
Pair nearest the middle19 + 31
Primes up to n15

Partitions of 1,000

(1000)

Goldbach partitions28
Smallest pair3 + 997
Pair nearest the middle491 + 509
Primes up to n168

The conjecture

Goldbach's conjecture says that every even integer greater than 2 is a sum of two primes. That is the claim in its modern form, and it is the version a Goldbach partitions calculator works with. Each way of writing an even number as the sum of two primes is called a Goldbach partition. The conjecture does not say how many partitions a number has, only that at least one always exists.

One distinction matters when you compare counts from different sources. A Goldbach partition is an unordered pair: 3 + 97 and 97 + 3 are the same partition, not two. Some sources instead count ordered representations, which list both orders separately and therefore give roughly twice as many entries for most numbers. The counts below treat partitions as unordered pairs, so each pair appears once.

The counts themselves are small at first and grow slowly. 100 has 6 partitions, running from 3 + 97 to the pair nearest the middle, 47 + 53. 50 has 4 partitions. 1,000 has 28, running from 3 + 997 to 491 + 509. These pairs are built from the primes up to n: there are 25 primes up to 100 and 168 up to 1,000. Because a partition is a pair of primes that adds to n, no prime larger than n can take part, so the pool of candidates is always the primes below the number being tested.

No general proof of the conjecture exists. It has been verified by computer for even numbers up to very large bounds, which is strong evidence but not a proof covering every even number. In practice, every even number this calculator tests has at least one partition, so the tool will always return a result for the inputs it accepts.

When you read a partition count, check which convention produced it. An unordered count matches the definition above and the examples here; an ordered count will look larger for the same number. Keeping the two apart is the main thing to watch when comparing results across tools or references.

A partition is an unordered pair: 3 + 97 and 97 + 3 count once, not twice.

Counting the partitions of 100

A goldbach partitions calculator answers a simple question for any even number: in how many ways can it be written as the sum of two primes? The best way to see how that count is built is to take 100 and test it pair by pair. Start with the smallest prime, 3, and ask whether 100 − 3 = 97 is also prime. It is, so 3 + 97 counts as the first partition. Move to the next prime, 5: 100 − 5 = 95, and 95 is not prime, so that pairing fails. Next comes 7: 100 − 7 = 93, also not prime. Then 11: 100 − 11 = 89, which is prime, giving the second partition, 11 + 89.

The test continues through the primes in order. With 13, 100 − 13 = 87, not prime. With 17, 100 − 17 = 83, prime, so 17 + 83 is the third partition. With 19, 100 − 19 = 81, not prime. With 23, 100 − 23 = 77, not prime. With 29, 100 − 29 = 71, prime, making 29 + 71 the fourth. With 31, 100 − 31 = 69, not prime. With 37, 100 − 37 = 63, not prime. With 41, 100 − 41 = 59, prime, so 41 + 59 is the fifth. With 43, 100 − 43 = 57, not prime. Finally, with 47, 100 − 47 = 53, which is prime, giving the sixth partition, 47 + 53, the pair nearest the middle of 100.

That is the full count: 100 has 6 partitions, running from 3 + 97 to the pair nearest the middle, 47 + 53. Notice that every pair was checked using the primes up to 100 — there are 25 primes up to 100 — and that the search stops at the midpoint, because past it the pairs simply repeat in reverse order. The same method scales. The number 50 has 4 partitions, and 1,000 has 28, running from 3 + 997 to 491 + 509, built from the 168 primes up to 1,000.

Goldbach's conjecture says every even integer greater than 2 is a sum of two primes, and each such way of writing it is a Goldbach partition. No general proof exists, though the conjecture has been verified by computer for even numbers up to very large bounds. That guarantee is what makes the counting reliable: every even number this calculator tests has at least one partition, so the answer is never zero.

Even numberGoldbach partitionsFirst pairLast pair (nearest middle)Primes up to n
10063 + 9747 + 5325
504———
1000283 + 997491 + 509168
Of the primes tested below 50, only 3, 11, 17, 29, 41 and 47 produced a prime partner for 100 — six successes out of the primes up to the midpoint.

How the count grows

The number of Goldbach partitions does not stay flat as the even numbers get larger. It climbs, and it climbs for a simple reason: bigger numbers give you more primes to work with, and more primes mean more chances to find two that add up to the target. A goldbach partitions calculator makes this growth easy to see by counting the pairs for you, but the pattern behind the count is worth understanding on its own.

Start with small cases. The number 50 has 4 partitions. The number 100 has 6 partitions, running from 3 + 97 up to the pair nearest the middle, 47 + 53. Jump to 1,000 and the count reaches 28 partitions, running from 3 + 997 to 491 + 509. So as the target moves from 50 to 100 to 1,000, the number of ways to write it as a sum of two primes goes from 4 to 6 to 28.

The engine behind that rise is the supply of primes. The pairs are built from the primes up to n, and that pool grows steadily: there are 25 primes up to 100 and 168 up to 1,000. With only 25 primes to combine, 100 has relatively few ways to pair them into a sum. With 168 primes available, 1,000 has far more candidate pairs, and more of them land on the target. More primes, more chances to pair — that is the rough growth story.

The growth is not a clean, smooth line, which is why the plotted counts are often called the Goldbach comet. Some even numbers have more partitions than nearby numbers of similar size, and some have fewer, because whether a given prime has a partner that is also prime depends on the specific number. The overall trend is upward, but the local count can wobble from one even number to the next.

One thing the count never does, in everything tested, is fall to zero. Goldbach's conjecture says every even integer greater than 2 is a sum of two primes, and the conjecture has been verified by computer for even numbers up to very large bounds, though no general proof exists. That means every even number this calculator tests has at least one partition. The count grows, it wobbles, but so far it never disappears.

  • 50 has 4 partitions.
  • 100 has 6 partitions, from 3 + 97 to 47 + 53.
  • 1,000 has 28 partitions, from 3 + 997 to 491 + 509.
  • There are 25 primes up to 100 and 168 up to 1,000 — a larger pool of primes means more chances to pair.
More primes up to n means more candidate pairs, so the partition count trends upward as n grows — though it wobbles along the way.

Verified but unproved

Goldbach's conjecture occupies an unusual place in mathematics: it has been checked by machine over an enormous range, yet it remains unproved. The statement itself is simple — every even integer greater than 2 is a sum of two primes, and each such way of writing it is a Goldbach partition. What makes the conjecture strange is the gap between how much evidence exists and how little proof does. A goldbach partitions calculator can show you the partitions for any even number you enter, but no one can show you why every even number must have at least one.

The mechanical checks are extensive. The conjecture has been verified by computer for even numbers up to very large bounds. That means the pattern has held without exception across a range far beyond anything a person could test by hand. Still, no general proof exists. A check, however large, covers only the numbers tested; a proof would have to cover every even number greater than 2, including all the ones no computer has reached. That is the odd status of the problem: overwhelming evidence on one side, and a missing argument on the other, after nearly three centuries.

The same primes that build the partitions are what make the conjecture useful as a test bed. The pairs are built from the primes up to n: there are 25 primes up to 100 and 168 up to 1,000. Counting partitions for those numbers gives concrete targets. 100 has 6 partitions, running from 3 + 97 to the pair nearest the middle, 47 + 53. 50 has 4 partitions, and 1,000 has 28, running from 3 + 997 to 491 + 509. Numbers like these are small enough to check by hand and large enough to expose mistakes in a sieve or a prime-counting routine.

That is why the conjecture doubles as a benchmark. Software that generates primes or counts partitions can be run against known values, and any deviation is a bug. Because every even number this calculator tests has at least one partition, the calculator never has to report a failure — it reports counts and pairs, and the underlying claim stays standing. The open question is not whether the partitions appear in the range we can test, but whether they must appear always.

So the conjecture sits in a middle state. It is verified far beyond practical need, used routinely to check prime software, and still unproved. Every partition this calculator lists is a data point in favor of the conjecture — and none of them, by itself, settles it.

Verified by computer for even numbers up to very large bounds — but no general proof exists.

FAQs

How many Goldbach partitions does 100 have?

100 has 6 Goldbach partitions. The pairs run from 3 + 97 up to 47 + 53, and each unordered pair is counted only once. So the calculator reports 6 for 100, not a larger number that would result from counting 3 + 97 and 97 + 3 as separate partitions.

How many does 1,000 have?

1,000 has 28 Goldbach partitions. They run from 3 + 997 up to the near-middle pair 491 + 509. As with every even target, each unordered pair is counted once, so the total of 28 reflects distinct pairs of primes that add to 1,000, not orderings of those pairs.

What is the smallest pair for a number?

The smallest pair is the one that uses the smallest possible prime. For 100 that is 3 + 97, for 50 it is 3 + 47, and for 1,000 it is 3 + 997. In each case the first prime is as small as it can be while the second remains prime, so this pair anchors the list of partitions.

Why must the number be even?

Two odd primes always sum to an even number, and 2 is the only even prime. That is why this calculator works on even targets. An odd target cannot be split into two odd primes, so it can only work as prime + 2 in the related three-prime version, not in this two-prime one.

Has Goldbach been proved?

No. Goldbach's conjecture has been verified by computer far beyond the 10,000 limit of this calculator, but a general proof remains one of mathematics' famous open problems. So the calculator shows partitions for the numbers it handles; it does not, and cannot, establish the conjecture for all even numbers.

Does the pair 47 + 53 count twice?

No. Partitions are unordered, so 47 + 53 and 53 + 47 are the same partition and are counted once. That is why 100 has 6 partitions rather than 12: the calculator lists each distinct pair of primes a single time, regardless of the order in which the two primes are written.

Sources

Related calculators

Prime Number Calculator
Primality by trial division, the full prime factorization of composites, and the neighbouring primes on either side.
Prime Counting Calculator
Exact count of primes up to any limit of ten million or less by the sieve of Eratosthenes, compared with the prime number theorem estimate x / ln(x), the average prime gap and the count in the top half of the range.
Prime Factorization Calculator
Break any whole number up to a trillion into its prime factors — with divisor count, divisor sum and largest prime factor.