Title:Erdős Problem 121
Statement:Let be the size of the largest such that the product of no many distinct elements of is a square. Is ?
Conjectured by Erdős, Sós, and Sárközy [ESS95], who proved , , and also established asymptotics for for all even (in particular for all even ). Erdős [Er38] earlier proved that - indeed, if and then there is a non-trivial solution to with .
This problem was answered in the negative by Tao [Ta24], who proved that for any there is some constant such that .
See also 888.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.01010 [math.NT] · NS.01010v1 for this version |
| Declaration: | Erdos121.erdos_121 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | a7e9a6dfacddf7fb1d6c4321517fac651cb279d9fe421f08f0de981ee7f40703 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/121.lean |
Formal statement
theorem erdos_121 : ¬ (fun N : ℕ => (F 5 N : ℝ)) ~[atTop] fun N : ℕ => (N : ℝ)Show the full Challenge.lean (102 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 121
*References:*
- [erdosproblems.com/121](https://www.erdosproblems.com/121)
- [Er94b] Erdős, Paul, *Some problems in number theory, combinatorics and combinatorial geometry*.
Math. Pannon. (1994), 261-269.
- [Er97] Erdős, Paul, *Problems in number theory*. New Zealand J. Math. (1997), 155-160.
- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*. Math. Japon. (1997), 527-537.
- [Er98] Erdős, Paul, *Some of my new and almost new problems and results in combinatorial number
theory*. Number theory (Eger, 1996) (1998), 169-180.
- [ESS95] Erdős, P. and Sárközy, A. and Sós, V. T., *On product representations of powers. I*.
European J. Combin. (1995), 567-588.
- [Er38] P. Erdős, *On sequences of integers no one of which divides the product of two others
and on related problems*. Tomsk. Gos. Univ. Ucen Zap. (1938), 74-82.
- [Ta24] Tao, T., *On product representations of squares*. arXiv:2405.11610 (2024).
-/
@[expose] public section
open Filter Asymptotics
namespace Erdos121
/-- $F_k(N)$ is the size of the largest $A\subseteq \{1,\ldots,N\}$ such that the product of no
$k$ many distinct elements of $A$ is a square. -/
noncomputable def F (k N : ℕ) : ℕ :=
sSup {m : ℕ | ∃ A : Finset ℕ, A ⊆ Finset.Icc 1 N ∧
(∀ S ⊆ A, S.card = k → ¬ IsSquare (∏ n ∈ S, n)) ∧ A.card = m}
set_option linter.style.formal_proof_palomar false in
/--
Let $F_{k}(N)$ be the size of the largest $A\subseteq \{1,\ldots,N\}$ such that the product of no
$k$ many distinct elements of $A$ is a square. Is $F_5(N)=(1-o(1))N$?
Conjectured by Erdős, Sós, and Sárközy [ESS95], who proved
$F_2(N)=\left(\frac{6}{\pi^2}+o(1)\right)N$, $F_3(N) = (1-o(1))N$, and also established
asymptotics for $F_k(N)$ for all even $k\geq 4$ (in particular $F_k(N)\asymp N/\log N$ for all
even $k\geq 4$). Erdős [Er38] earlier proved that $F_4(N)=o(N)$ - indeed, if
$\lvert A\rvert \gg N$ and $A\subseteq \{1,\ldots,N\}$ then there is a non-trivial solution to
$ab=cd$ with $a,b,c,d\in A$.
This problem was answered in the negative by Tao [Ta24], who proved that for any $k\geq 4$ there
is some constant $c_k>0$ such that $F_k(N) \leq (1-c_k+o(1))N$.
See also [888](https://www.erdosproblems.com/888).
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos121.lean#L87"]
theorem erdos_121 : ¬ (fun N : ℕ => (F 5 N : ℝ)) ~[atTop] fun N : ℕ => (N : ℝ) := by
sorry
set_option linter.style.formal_proof_palomar false in
/-- More generally, is $F_{2k+1}(N)=(1-o(1))N$? This is false for all $k \geq 2$ by Tao's
theorem [Ta24]. -/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos121.lean#L87"]
theorem erdos_121.variants.odd : ¬ ∀ k : ℕ, 1 ≤ k →
(fun N : ℕ => (F (2 * k + 1) N : ℝ)) ~[atTop] fun N : ℕ => (N : ℝ) := by
sorry
set_option linter.style.formal_proof_palomar false in
/-- Tao [Ta24] proved that for any $k\geq 4$ there is some constant $c_k>0$ such that
$F_k(N) \leq (1-c_k+o(1))N$. -/
@[category research solved, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos121.lean#L87"]
theorem erdos_121.variants.tao (k : ℕ) (hk : 4 ≤ k) :
∃ c : ℝ, 0 < c ∧ ∀ᶠ N : ℕ in atTop, (F k N : ℝ) ≤ (1 - c) * N := by
sorry
/-- Erdős, Sós, and Sárközy [ESS95] proved $F_3(N) = (1-o(1))N$. -/
@[category research solved, AMS 11]
theorem erdos_121.variants.three : (fun N : ℕ => (F 3 N : ℝ)) ~[atTop] fun N : ℕ => (N : ℝ) := by
sorry
/-- Erdős, Sós, and Sárközy [ESS95] proved $F_2(N)=\left(\frac{6}{\pi^2}+o(1)\right)N$. -/
@[category research solved, AMS 11]
theorem erdos_121.variants.two :
(fun N : ℕ => (F 2 N : ℝ)) ~[atTop] fun N : ℕ => 6 / Real.pi ^ 2 * N := by
sorry
end Erdos121
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos121.erdos_121 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_121 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-121 nosorry submit erdos-121 nosorry/erdos-121/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-121-variants-odd — known result
- erdos-121-variants-tao — known result
- erdos-121-variants-three — known result
- erdos-121-variants-two — 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.