Sharpness of the 5/8 bound (Erdős 865, §5) #
The construction A = [M,2M] ∪ [4M,8M] is triple-free of size 5M + 2, so for N = 8M
one has 8·|A| = 5·N + 16, showing the constant 5/8 is optimal.
The sharpness construction A = [M, 2M] ∪ [4M, 8M].
Equations
- Erdos865.sharpSet M = Finset.Icc M (2 * M) ∪ Finset.Icc (4 * M) (8 * M)
Instances For
The construction sits inside [1, 8M] (for M ≥ 1).
The construction is triple-free.
theorem
Erdos865.sharpness
{M : ℕ}
(hM : 1 ≤ M)
:
∃ A ⊆ Finset.Icc 1 (8 * M), IsTripleFree A ∧ 8 * A.card = 5 * (8 * M) + 16
Sharpness: for N = 8M with M ≥ 1 there is a triple-free subset of [1,N]
of size 5M + 2, i.e. with 8 * card = 5 * N + 16.