Title:Erdős Problem 977
Statement:If is the greatest prime divisor of , then is it true that as ?
Schinzel [Sc62] proved that for . In [Er65b] Erdős also asks about . Stewart [St74b] proved that this conjecture is true if we restrict to those integers with many prime factors.
This was proved in the affirmative by Stewart [St13], who proved that for all large .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.03840 [math.NT] · NS.03840v1 for this version |
| Declaration: | Erdos977.erdos_977 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | ff746d4fb88e69df42868e9094cde9ed5ecf0767779b25e3b9c8e5fa40706ef4 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/977.lean |
Formal statement
theorem erdos_977 :
Tendsto (fun n : ℕ ↦ (Nat.maxPrimeFac (2 ^ n - 1) : ℝ) / n) atTop atTopShow the full Challenge.lean (95 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 977
*References:*
- [erdosproblems.com/977](https://www.erdosproblems.com/977)
- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on
Modern Mathematics, Vol. III (1965), 196-244.
- [Sc62] Schinzel, A., *On primitive prime factors of $a^n-b^n$*. Proc. Cambridge Philos. Soc.
(1962), 555-562.
- [St74b] Stewart, C. L., *The greatest prime factor of $a^n-b^n$*. Acta Arith. (1974/75),
427-433.
- [St13] Stewart, Cameron L., *On divisors of Lucas and Lehmer numbers*. Acta Math. (2013),
291-314.
- [MuWo02] Murty, Ram and Wong, Siman, *The $ABC$ conjecture and prime divisors of the Lucas and
Lehmer sequences*. (2002), 43-54.
- [La21] L. Lai, *On the largest prime divisor of $n!+1$*. arXiv:2103.14894 (2021).
-/
@[expose] public section
open Filter
namespace Erdos977
set_option linter.style.formal_proof_palomar false in
/--
If $P(m)$ is the greatest prime divisor of $m$, then is it true that
$$\frac{P(2^n-1)}{n}\to \infty$$
as $n\to \infty$?
Schinzel [Sc62] proved that $P(2^n-1)>2n$ for $n>12$. In [Er65b] Erdős also asks about $P(n!+1)$.
Stewart [St74b] proved that this conjecture is true if we restrict $n$ to those integers with
$<\frac{1}{\log 2}\log\log n$ many prime factors.
This was proved in the affirmative by Stewart [St13], who proved that
$P(2^n-1)\gg n^{1+\frac{1}{104\log\log n}}$ for all large $n$.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos977.lean#L4271"]
theorem erdos_977 :
Tendsto (fun n : ℕ ↦ (Nat.maxPrimeFac (2 ^ n - 1) : ℝ) / n) atTop atTop := by
sorry
/-- Schinzel [Sc62] proved that $P(2^n-1)>2n$ for $n>12$. -/
@[category research solved, AMS 11]
theorem erdos_977.variants.schinzel :
∀ n : ℕ, 12 < n → 2 * n < Nat.maxPrimeFac (2 ^ n - 1) := by
sorry
/-- Stewart [St13] proved that $P(2^n-1)\gg n^{1+\frac{1}{104\log\log n}}$ for all large $n$. -/
@[category research solved, AMS 11]
theorem erdos_977.variants.stewart : ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,
c * (n : ℝ) ^ (1 + 1 / (104 * Real.log (Real.log n))) ≤ Nat.maxPrimeFac (2 ^ n - 1) := by
sorry
/--
In [Er65b] Erdős also asks about $P(n!+1)$: is it true that $P(n!+1)/n\to\infty$? This appears to
be open still. Murty and Wong [MuWo02] proved that $P(n!+1)>(1+o(1))n\log n$ assuming the abc
conjecture.
-/
@[category research open, question, AMS 11]
theorem erdos_977.variants.factorial :
Tendsto (fun n : ℕ ↦ (Nat.maxPrimeFac (n.factorial + 1) : ℝ) / n) atTop atTop := by
sorry
/--
The best-known unconditional result, due to Lai [La21], is that
$$\limsup \frac{P(n!+1)}{n} \geq 1+9\log 2\approx 7.238.$$
-/
@[category research solved, AMS 11]
theorem erdos_977.variants.lai : ∀ C : ℝ, C < 1 + 9 * Real.log 2 →
∃ᶠ n : ℕ in atTop, C * n < Nat.maxPrimeFac (n.factorial + 1) := by
sorry
end Erdos977
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos977.erdos_977 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_977 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-977 nosorry submit erdos-977 nosorry/erdos-977/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-977-variants-schinzel — known result
- erdos-977-variants-stewart — known result
- erdos-977-variants-factorial — open
- erdos-977-variants-lai — known result
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.