Sierpinski Number Prime Search Calculator

Number Theory

First prime exponentn = 6
Prime found (k x 2^n + 1)1,217
Exponents tested6
Largest value tested20,401,094,657
How this was calculated
  1. A Sierpinski number is an odd k for which k x 2^n + 1 is composite for every n. This search tests k = 19 for n = 1 to 30, looking for the first prime of the form k x 2^n + 1.
  2. The candidates start at 39 for n = 1 and double the power of two each step. Each candidate is tested by trial division.
  3. The first prime found is at n = 6, giving 19 x 2^6 + 1 = 1,217.
  4. Finding a prime proves k is not a Sierpinski number. Finding none in range proves nothing by itself: the smallest proven Sierpinski number is 78,557, shown composite for all n using a covering set of primes (3, 5, 7, 13, 19, 37, 73).

Waclaw Sierpinski proved in 1960 that there are infinitely many odd k for which k x 2^n + 1 is composite for every positive n. Such k are called Sierpinski numbers, and the smallest one known - 78,557 - was produced by Sierpinski's own proof. Whether it is truly the smallest is one of the longest-running open computations in mathematics.

This calculator runs the elimination side of that hunt. Enter an odd k and it searches n from 1 to 30 for the first prime of the form k x 2^n + 1. Most k fall quickly: 13 falls at n = 2, and 19 at n = 6. A k that survives the search, like 47, earns a second look.

Every candidate eliminated brings the Sierpinski problem one step closer to its answer - and the last few candidates have resisted some of the largest distributed computations ever organized.

Worked examples

k = 19

(19 · 30)

First prime exponentn = 6
Prime found (k x 2^n + 1)1,217
Exponents tested6
Largest value tested20,401,094,657

k = 13

(13 · 30)

First prime exponentn = 2
Prime found (k x 2^n + 1)53
Exponents tested2
Largest value tested13,958,643,713

k = 47 - no prime in range

(47 · 30)

First prime exponentNo prime up to n = 30
Prime found (k x 2^n + 1)None
Exponents tested30
Largest value tested50,465,865,729

The Sierpinski problem

The question is disarmingly simple: is 78,557 the smallest Sierpinski number? To answer yes, every smaller odd k must be eliminated by finding, for each, at least one prime of the form k x 2^n + 1. To answer no, a smaller k needs a covering set proving it composite for all n.

When the search began there were seventeen candidates below 78,557 - the number that gave the Seventeen or Bust project its name. One by one they fell. The survivors are attacked today by PrimeGrid with computing power Sierpinski could not have imagined, and the exponents involved run into the tens of millions.

Covering sets explained

Sierpinski's proof that 78,557 works uses a covering set: the primes {3, 5, 7, 13, 19, 37, 73}. The powers of 2 repeat modulo each of these primes with short periods, and the periods interlock so that every possible exponent n is 'covered' - for each n, one of the seven primes divides 78,557 x 2^n + 1.

The same set, remarkably, certifies the smallest proven Riesel number on the minus side. Finding a covering set for one of the surviving candidates would end the problem instantly - none has been found, which is why the searches grind on.

Searching versus proving

As with the Riesel problem, the asymmetry is total. One prime eliminates a candidate forever: k = 19 produces 19 x 2^6 + 1 = 1,217, prime, and leaves the list. A blank search - like k = 47 returning nothing up to n = 30 here - proves nothing at all.

That asymmetry explains the project's shape: enormous effort flows into the direction that can succeed incrementally, while the proving direction waits for an insight nobody has had since 1960.

Seventeen or Bust and PrimeGrid

Seventeen or Bust, launched in 2002, coordinated thousands of volunteers' computers against the seventeen surviving candidates and eliminated eleven of them before the project wound down, its remaining work absorbed by PrimeGrid. The primes that did the eliminating were monsters - in some cases over a million digits long.

The scale reframes this page's little search honestly: n up to 30 is the kindergarten version of a hunt whose real exponents have eight digits. But the logic the volunteers' machines executed, billions of times, is exactly the logic executed here.

Reading the search output

For a successful search you get the exponent and the prime itself; for a blank one, the count of exponents tested and the largest value examined - for k = 47 at n = 30, a number past 50 billion. Treat a blank result as a flag, not a finding.

It is also worth trying k in the twin Riesel calculator. Some k are quickly eliminated on one side and stubborn on the other, and the contrast teaches more about the two families than either search alone.

Why the problem endures

The Sierpinski problem survives because it sits at a sweet spot of difficulty: trivial to state, connected to deep questions about prime distribution, and just beyond the reach of both current theory and current computation. Its resolution - either the last candidates fall, or a covering set appears - will close a story that has run for over sixty years.

Until then, 78,557 keeps its title with an asterisk, and every eliminated candidate is a small headline in a very long-running story.

The surviving candidates

The candidates below 78,557 that remain unresolved are a famous short list, attacked continuously by PrimeGrid's volunteers. Each survivor has withstood searches to exponents in the millions or tens of millions - meaning that if a prime exists for it at all, the prime has millions of digits and the exponent is a number with no everyday meaning.

Progress is measured in candidates eliminated per decade, not per year. When one falls, it makes the mathematics press; the list's stubbornness over sixty years is itself data about how prime values distribute in these exponential sequences.

Why 78,557 works, intuitively

The covering set {3, 5, 7, 13, 19, 37, 73} succeeds for 78,557 because the number was, in effect, reverse-engineered from the set: Sierpinski's construction chooses k by the Chinese remainder theorem so that each covering prime is guaranteed its turn at dividing k x 2^n + 1 as n cycles through its residue classes.

That is why the same set certifies both a Sierpinski and a Riesel number - the construction is a machine for manufacturing proven examples. The open problem is never about existence; it is about whether nature placed an example lower than the machine's first famous product.

Plus versus minus

Run the same stubborn k through both calculators on this site and the asymmetry of the two problems becomes tangible: the plus family and minus family have different small-case behaviour, different smallest proven champions (78,557 versus 509,203), and different candidate lists - yet share their covering sets and their search technology.

Mathematicians suspect both smallest values are the proven ones, on heuristic grounds about how early a covering set can plausibly bite. Suspicion, however, is not a proof, and the searches continue.

The exponent scale of the real hunt

When PrimeGrid reports progress on a surviving candidate, the exponents involved have millions of digits in the resulting numbers - a single primality test can take days on one core. Volunteers contribute years of aggregate compute, and the software (LLR and its successors) is among the most optimized arithmetic code in existence.

Set against that, this page's ceiling of n = 30 is deliberately humble. Its purpose is the logic, not the frontier: one prime eliminates, blank searches merely bound, and covering sets prove. Those three ideas are the entire problem; the frontier is 'merely' their industrial application.

If a smaller Sierpinski number exists

Suppose a surviving candidate one day receives a covering set. The announcement would be a pure mathematics event: 78,557 dethroned, a sixty-year question closed by a finite set of primes and a Chinese-remainder construction. The covering set would be checked in an afternoon - proofs here are cheap to verify even when dear to find.

Suppose instead the last candidates fall to primes. Then 78,557 is crowned by exhaustion, and the proof of its minimality is a distributed computation no single mind can survey - a thoroughly modern kind of mathematical knowledge.

Reading about the problem

The problem's literature splits between Sierpinski's original construction, the computational reports of the search projects, and heuristic analyses predicting the candidates' fates from prime-gap statistics. The heuristics say the survivors likely do have primes, at exponents beyond current reach - a prediction the next decades will test.

The number 78,557 itself

Sierpinski's champion is not otherwise famous: it is not prime, not highly composite in any record-setting way - just a number whose covering set was found first and whose minimality has resisted two generations of computing. Fame by elimination is a peculiarly modern mathematical celebrity.

If the crown is ever settled, 78,557 keeps its historical place either way - as the smallest Sierpinski number, or as the near-miss that organized sixty years of distributed computation. The candidates below it have already earned the same footnote.

FAQs

What is a Sierpinski number?

An odd number k such that k x 2^n + 1 is composite for every positive integer n.

What is the smallest proven Sierpinski number?

78,557, proved by Sierpinski using the covering set 3, 5, 7, 13, 19, 37, 73.

For k = 19, where is the first prime?

At n = 6: 19 x 2^6 + 1 = 1,217, which is prime - so 19 is not a Sierpinski number.

How are Sierpinski numbers proved?

With a covering set of primes arranged so that every exponent n makes one of them divide k x 2^n + 1.

Does a blank search up to n = 30 prove anything?

No - it flags k as a candidate. Real searches reach exponents in the millions before drawing even tentative conclusions.

What was Seventeen or Bust?

A distributed computing project named for the seventeen candidates below 78,557; it eliminated eleven, and PrimeGrid continues the search.

How many candidates below 78,557 remain?

Only a handful of the original seventeen remain unresolved; PrimeGrid continues to search them, and each elimination narrows the question of whether 78,557 is truly the smallest Sierpinski number.

Why has nobody simply checked every k below 78,557?

They have - that is the project. Every smaller odd k is either eliminated by a found prime or on the surviving list; the check is complete except for the handful of candidates whose first prime, if it exists, lies at enormous exponents.

Sources

Related calculators

Correlation Coefficient Calculator
Pearson's r for up to six paired observations, with r² and the deviation sums shown — the full workings, not just the headline number.
Logit Calculator
The logit of a probability: the natural log of the odds, the scale on which logistic regression is linear.
Sphere Volume Calculator
Volume and surface area of a sphere from its radius — plus diameter, great-circle circumference and the hemisphere figure.