A sharp 5/8 bound for Erdős Problem 865 #
For A ⊆ {1, …, N} we say A contains a pairwise-sum triple if there are distinct
a, b, c ∈ A with a + b, a + c, b + c ∈ A (Erdos865.HasTriple). Let f₃(N) be the least
size forcing such a triple. This file assembles the proof that
f₃(N) = 5N/8 + O(1), resolving Erdős Problem 865.
Erdos865.erdos865_upper_bound— every triple-freeA ⊆ [1,N]has8|A| ≤ 5N + 53, i.e.|A| ≤ 5N/8 + O(1).Erdos865.erdos865_contains_triple— everyA ⊆ [1,N]with8|A| > 5N + 53contains a pairwise-sum triple (the contrapositive form matching the paper's Theorem 1.1).Erdos865.erdos865— the packaged existence statement∃ C, ….Erdos865.sharpness— forN = 8M(M ≥ 1) there is a triple-freeA ⊆ [1,N]with8|A| = 5N + 16, so the constant5/8is optimal.
theorem
Erdos865.erdos865_upper_bound
(N : ℕ)
(A : Finset ℕ)
(hsub : A ⊆ Finset.Icc 1 N)
(hA : IsTripleFree A)
:
Upper bound (Erdős 865). Every triple-free set A ⊆ [1,N] satisfies
8 * |A| ≤ 5 * N + 53, i.e. |A| ≤ (5/8) N + O(1).
theorem
Erdos865.erdos865 :
∃ (C : ℕ), ∀ (N : ℕ), ∀ A ⊆ Finset.Icc 1 N, IsTripleFree A → 8 * A.card ≤ 5 * N + C
The upper bound packaged as an existence statement: there is an absolute constant C
such that every triple-free A ⊆ [1,N] has 8 * |A| ≤ 5 * N + C.