Erdős Problem 168 #
Reference: erdosproblems.com/168
IntervalNonTernarySets N
is the (fin)set of non ternary subsets of {1,...,N}
.
The advantage of defining it as below is that some proofs (e.g. that of F 3 = 2
) become rfl
.
Equations
- IntervalNonTernarySets N = Finset.filter (fun (S : Finset ℕ) => ∀ n ∈ Finset.Icc 1 (N / 3), n ∉ S ∨ 2 * n ∉ S ∨ 3 * n ∉ S) (Finset.Icc 1 N).powerset
Instances For
Sanity check: elements of IntervalNonTernarySets N
are precisely non ternary subsets of
{1,...,N}
theorem
F_eq_card
(N : ℕ)
(S : Finset ℕ)
(hS : S ⊆ Finset.Icc 1 N)
(hS' : NonTernary S)
(hS'' : ∀ T ⊆ Finset.Icc 1 N, NonTernary T → S ⊆ T → T = S)
:
Sanity check: if S
is a maximal non ternary subset of {1,..., N}
then F N
is given by the
cardinality of S
What is the limit $F(N)/N$ as $N \to \infty$?
Is the limit $F(N)/N$ as $N \to \infty$ irrational?
theorem
erdos_168.variants.limit_exists :
∃ (x : ℝ), Filter.Tendsto (fun (N : ℕ) => ↑(F✝ N) / ↑N) Filter.atTop (nhds x)
The limit $F(N)/N$ as $N \to \infty$ exists. (proved by Graham, Spencer, and Witsenhausen)