Skip to content

Commit 84ac92f

Browse files
authored
feat(ErdosProblems): 1210 (#3809)
Formalizes Erdos Problem 1210: https://www.erdosproblems.com/1210 Assisted by Gemini/Antigravity Sorry for the hiatus, got nerd sniped by a few side projects for a bit.
1 parent 415ae22 commit 84ac92f

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/-
2+
Copyright 2026 The Formal Conjectures Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
https://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-/
16+
17+
import FormalConjectures.Util.ProblemImports
18+
19+
/-!
20+
# Erdős Problem 1210
21+
22+
*References:*
23+
- [erdosproblems.com/1210](https://www.erdosproblems.com/1210)
24+
- [Er77c] Erdős, Paul, Problems and results on combinatorial number theory. III. Number theory day
25+
(Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.
26+
- [Er80] Erdős, Paul, A survey of problems in combinatorial number theory. Ann. Discrete Math.
27+
(1980), 89-115.
28+
-/
29+
30+
open Finset
31+
32+
namespace Erdos1210
33+
34+
/--
35+
Let $A\subseteq [1,n)$ be a set of integers such that $(a,b)=1$ for all distinct $a,b\in A$.
36+
Is it true that $\sum_{a\in A}\frac{1}{n-a}\leq \sum_{p < n}\frac{1}{p}+O(1)$?
37+
-/
38+
@[category research open, AMS 11]
39+
theorem erdos_1210 :
40+
answer(sorry) ↔
41+
∃ C : ℝ, ∀ n : ℕ, ∀ A : Finset ℕ,
42+
(∀ a ∈ A, 1 ≤ a ∧ a < n) →
43+
(∀ a ∈ A, ∀ b ∈ A, a ≠ b → a.Coprime b) →
44+
∑ a ∈ A, (1 / ((n : ℝ) - a)) ≤ (∑ p ∈ (range n).filter Prime, (1 / (p : ℝ))) + C := by
45+
sorry
46+
47+
/--
48+
In [Er80] he claims he "did not state this quite correctly" in [Er77c]. The problem in [Er77c] which
49+
Erdős is presumably referring to states that if $n < q_1 < \cdots < q_k\leq m$ is the set of primes
50+
in $(n,m]$ then $\sum \frac{1}{q_i-n} < \sum_{p < m-n}\frac{1}{p}+O(1)$.
51+
-/
52+
@[category research open, AMS 11]
53+
theorem erdos_1210.variants.er80_correction :
54+
answer(sorry) ↔
55+
∃ C : ℝ, ∀ n m : ℕ, n < m →
56+
∑ q ∈ (Ioc n m).filter Prime, (1 / ((q : ℝ) - n)) <
57+
(∑ p ∈ (range (m - n)).filter Prime, (1 / (p : ℝ))) + C := by
58+
sorry
59+
60+
end Erdos1210

0 commit comments

Comments
 (0)