A Sierpiński number of the second kind is an odd positive integer such that
is composite
for every positive integer
.
The smallest known example is ,
proved by J. Selfridge in 1962 (Baillie et al. 1981, p. 229), but
the fate of a number of smaller candidates remains to be determined before this number
can be established as the smallest such number. As of 1996, 35 candidates
remained (Ribenboim 1996, p. 358), a number which had been reduced to 17 by
the beginning of 2002 (Peterson 2003).
In March 2002, L. K. Helm and D. A. Norris began a distributed computing effort dubbed "seventeen or bust" to eliminate the remaining candidates. With the aid of collaborators across the globe, this number was reduced to 12 as of December 2002 (Peterson 2003, Helm and Norris). The following table summarizes numbers subsequently found to be prime by "seventeen or bust" and its successor PrimeGrid subproject, leaving five candidates as of Oct. 2026 (PrimeGrid).
| date | participant | number |
| Dec. 6, 2003 | ||
| Jun. 8, 2005 | D. Gordon | |
| Oct. 15, 2005 | R. Hassler | |
| May 5, 2007 | K. Agafonov | |
| Oct. 30, 2007 | S. Sunde | |
| Oct. 31, 2016 | P. Szabolcs |
The following table lists the known primes together with the five remaining candidates as of Oct. 2026, namely 21181, 22699, 24737, 55459, and 67607. A list of primes found by the project is also maintained by Caldwell (https://t5k.org/bios/page.php?id=429).
| prime | digits | Caldwell | |
| 4847 | 999744 | https://t5k.org/primes/page.php?id=75994 | |
| 5359 | 1521561 | https://t5k.org/primes/page.php?id=67719 | |
| 10223 | 9383761 | https://t5k.org/primes/page.php?id=122473 | |
| 19249 | 3918990 | https://t5k.org/primes/page.php?id=80385 | |
| 21181 | |||
| 22699 | |||
| 24737 | |||
| 27653 | 2759677 | https://t5k.org/primes/page.php?id=74836 | |
| 28433 | 2357207 | https://t5k.org/primes/page.php?id=73145 | |
| 33661 | 2116617 | https://t5k.org/primes/page.php?id=82804 | |
| 44131 | 299823 | https://t5k.org/primes/page.php?id=62867 | |
| 46157 | 210186 | https://t5k.org/primes/page.php?id=62865 | |
| 54767 | 402569 | https://t5k.org/primes/page.php?id=62869 | |
| 55459 | |||
| 65567 | 305190 | https://t5k.org/primes/page.php?id=62866 | |
| 67607 | |||
| 69109 | 348431 | https://t5k.org/primes/page.php?id=62868 |
Consider now restricting Sierpiński numbers of the second kind to those with prime .
The smallest known prime Sierpiński number is 271129. Searches test smaller
prime multipliers
by seeking primes of the form
(Caldwell). As of Oct. 2026, the remaining candidates include two prime
candidates from the "seventeen or bust" list, 22699 and 67607. A list of
primes found by the project is maintained by Caldwell (https://t5k.org/bios/page.php?id=564).
For a positive integer , let
be the smallest nonnegative
integer
for which
is prime,
with
if no such
exists. The first few values are 0, 1, 1, 2, 1, 1, 2, 1, 3,
6, 1, 1, 2, 2, 1, 8, 1, 1, 2, 1, 1, 2, 2, 583, ... (OEIS A046067).
The second smallest such
,
with value
if it does not exist, is given by 1, 2, 3, 4, 2, 3, 8, 2,
15, 10, 4, 9, 4, 4, 3, 60, 6, 3, 4, 2, 11, 6, 9, 1483, ... (OEIS A046068).
Quite large
can be required to obtain the first prime even for small
. For example, the smallest prime of
the form
is
(Baillie et al. 1981, p. 230).
There are an infinite number of Sierpiński numbers which are prime.
The smallest odd positive integers such that
is composite for every
integer
with
are 773, 2131, 2491, 4471, 5101, ... (OEIS A033919).
For integers and Gaussian integers
,
,
or
,
is never a Gaussian
prime (E. Pegg, Jr., pers. comm., Feb. 6, 2003; Broadhurst 2005).