/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
import FormalConjecturesUtilErdős Problem 1113
[ErGr80] Erdős, P. and Graham, R. L., Old and New Problems and Results in Combinatorial Number Theory. Monographie de l'Enseignement Mathématique, No. 28 (1980).
[Si60] Sierpiński, W., Elementary Theory of Numbers. Państwowe Wydawnictwo Naukowe, Warsaw (1960).
[FFK08] Filaseta, M., Finch, C., and Kozek, M., On powers associated with Sierpiński numbers, Riesel numbers and Polignac's conjecture. Journal of Number Theory 128 (2008), 1916–1940.
A positive odd integer $k$ is a
Sierpiński (1960) proved that infinitely many Sierpiński numbers exist using covering systems. The smallest known Sierpiński number is 78557 (Selfridge). Erdős and Graham conjectured that there exist Sierpiński numbers with no finite covering set. A negative answer would imply infinitely many Fermat primes.
Note: The notion of a covering set for a Sierpiński number is closely related to a
CoveringSystem of $\mathbb{Z}$ (see
FormalConjecturesForMathlib.NumberTheory.CoveringSystem): a finite covering set of primes
for $k$ works because the exponents $n$ for which each prime divides $k \cdot 2^n + 1$ form
residue classes whose union covers all of $\mathbb{Z}$, i.e. a covering system.
namespace Erdos1113
A
def HasFinitePrimeCoveringSet (k : ℕ) : Prop :=
∃ P : Finset ℕ, (∀ p ∈ P, p.Prime) ∧ ∀ n, ∃ p ∈ P, p ∣ (k * 2 ^ n + 1)
Sierpiński [Si60] proved that there are infinitely many Sierpiński numbers, using covering systems to construct suitable covering sets for any $k$ satisfying a certain congruence.
@[category research solved, AMS 11]
theorem erdos_1113.variants.infinitely_many_sierpinski :
Set.Infinite {k : ℕ | k.IsSierpinskiNumber} := ⊢ {k | k.IsSierpinskiNumber}.Infinite
All goals completed! 🐙
Erdős Problem 1113. Do there exist Sierpiński numbers that possess no finite covering set of primes?
Erdős and Graham [ErGr80] conjectured that the answer is yes. A negative answer would imply that there are infinitely many Fermat primes.
@[category research open, AMS 11]
theorem erdos_1113 :
answer(sorry) ↔
∃ k, k.IsSierpinskiNumber ∧ ¬ HasFinitePrimeCoveringSet k := ⊢ True ↔ ∃ k, k.IsSierpinskiNumber ∧ ¬HasFinitePrimeCoveringSet k
All goals completed! 🐙
Filaseta–Finch–Kozek conjecture (2008). Every Sierpiński number is either a perfect power or possesses a finite covering set of primes.
@[category research open, AMS 11]
theorem erdos_1113.variants.filaseta_finch_kozek :
∀ k, k.IsSierpinskiNumber →
k.IsPerfectPower ∨ HasFinitePrimeCoveringSet k := ⊢ ∀ (k : ℕ), k.IsSierpinskiNumber → k.IsPerfectPower ∨ HasFinitePrimeCoveringSet k
All goals completed! 🐙
end Erdos1113