ErdosProblems/211openCombinatorics · Convex and discrete geometry
Erdős Problem 211
Lean statement
theorem erdos_211.variants.one_sixth :
∀ ε : ℝ, 0 < ε → ∃ N : ℕ, ∀ (n k : ℕ), N ≤ n → 1 ≤ k → k < n →
∀ s : Finset ℝ², s.card = n →
(∀ L : AffineSubspace ℝ ℝ², IsLine L → (s.filter fun p => p ∈ L).card ≤ n - k) →
(1 - ε) / 6 * (k : ℝ) * (n : ℝ) ≤ ((determinedLines s).card : ℝ)source on GitHub
ErdosProblems/212openConvex and discrete geometry
Erdős Problem 212
Lean statement
theorem erdos_212 :
∃ u : Set ℂ, Dense u ∧ u.Pairwise fun c₁ c₂ => dist c₁ c₂ ∈ Set.range Rat.castsource on GitHub · reference
ErdosProblems/213openConvex and discrete geometry
Erdős Problem 213
Lean statement
theorem erdos_213 : ∀ n : ℕ, n ≥ 4 → Erdos213For n
source on GitHub · reference
ErdosProblems/217openCombinatorics · Convex and discrete geometry
Erdős Problem 217
Lean statement
theorem erdos_217 : erdos_217.answer = {n : ℕ | 0 < n ∧ ∃ P : Finset ℝ²,
P.card = n ∧ InGeneralPosition (P : Set ℝ²) ∧
(distanceSet P).card = n - 1 ∧
(distanceSet P).image (distanceMultiplicity P) = Finset.Icc 1 (n - 1)}source on GitHub · reference
ErdosProblems/218openNumber theory
Erdős Problem 218
Lean statement
theorem erdos_218.variants.ge : {n | primeGap (n + 1) ≤ primeGap n}.HasDensity <| 1 / 2source on GitHub
ErdosProblems/218openNumber theory
Erdős Problem 218
Lean statement
theorem erdos_218.variants.infinite_equal_prime_gap : {n | primeGap n = primeGap (n + 1)}.Infinitesource on GitHub
ErdosProblems/218openNumber theory
Erdős Problem 218
Lean statement
theorem erdos_218.variants.le : {n | primeGap n ≤ primeGap (n + 1)}.HasDensity <| 1 / 2source on GitHub
ErdosProblems/23openCombinatorics
Erdős Problem 23
Lean statement
theorem erdos_23 :
∀ (n : ℕ) (V : Type) [Fintype V], Fintype.card V = 5 * n →
∀ (G : SimpleGraph V), G.CliqueFree 3 →
∃ (H : SimpleGraph V),
H ≤ G ∧ H.IsBipartite ∧ (G.edgeFinset \ H.edgeFinset).card ≤ n^2source on GitHub · reference
ErdosProblems/233openNumber theory
Erdős Problem 233
Lean statement
theorem erdos_233 :
(fun N => ((∑ n ∈ Finset.range N, (primeGap n) ^ 2) : ℝ)) =O[atTop] fun N => N * (log N)^2source on GitHub · reference
ErdosProblems/234openNumber theory
Erdős Problem 234
Lean statement
theorem erdos_234 : ∃ f : ℝ≥0 → ℝ, Continuous f ∧
∀ c : ℝ≥0, HasDensity {n : ℕ | primeGap n / log n < c} (f c)source on GitHub · reference
ErdosProblems/236openCombinatorics · Number theory
Erdős Problem 236
Lean statement
theorem erdos_236: (fun n => (f n : ℝ)) =o[atTop] (fun n => Real.log (n : ℝ))
source on GitHub · reference
ErdosProblems/238openNumber theory
Erdős Problem 238
Lean statement
theorem erdos_238 : ∀ᵉ (c₁ > 0) (c₂ > 0), ∀ᶠ (x : ℝ) in atTop, ∃ (k : ℕ),
c₁ * log x < k ∧ ∃ f : Fin k → ℕ, ∃ m, (∀ i, f i ≤ x ∧ f i = (m + i.1).nth Nat.Prime)
∧ ∀ i : Fin (k - 1), c₂ < primeGap (m + i.1)source on GitHub · reference
ErdosProblems/241openCombinatorics
Erdős Problem 241
Lean statement
theorem erdos_241 :
(fun N ↦ (f N 3 : ℝ)) ~[atTop] (fun N ↦ (N : ℝ) ^ ((1 : ℝ) / 3))source on GitHub · reference
ErdosProblems/241openCombinatorics
Erdős Problem 241
Lean statement
theorem erdos_241.variants.generalization (r : ℕ) (hr : r ≥ 2) : BoseChowlaConjecture r
source on GitHub
ErdosProblems/242openNumber theory
Erdős Problem 242
Lean statement
theorem erdos_242 (n : ℕ) (hn : 2 < n) :
∃ x y z : ℕ, 1 ≤ x ∧ x < y ∧ y < z ∧
(4 / n : ℚ) = 1 / x + 1 / y + 1 / zsource on GitHub · reference
ErdosProblems/242openNumber theory
Erdős Problem 242
Lean statement
theorem erdos_242.variants.schinzel_generalization
(a : ℕ) (ha : 0 < a) :
∀ᶠ (n : ℕ) in Filter.atTop, ∃ x y z : ℕ, 1 ≤ x ∧ x < y ∧ y < z ∧
(a / n : ℚ) = 1 / x + 1 / y + 1 / zsource on GitHub
ErdosProblems/243openSequences, series, summability
Erdős Problem 243
Lean statement
theorem erdos_243 (a : ℕ → ℕ) (ha₀ : StrictMono a)
(ha₁ : Tendsto (fun n ↦ (a n : ℝ) / a (n - 1) ^ 2) atTop (𝓝 1))
(ha₂ : Summable ((1 : ℚ) / a ·)) :
∀ᶠ n in atTop, a n = a (n - 1) ^ 2 - a (n - 1) + 1source on GitHub · reference
ErdosProblems/244openNumber theory
Erdős Problem 244
Lean statement
theorem erdos_244 :
∀ C > (1 : ℝ), 0 < { p + ⌊C ^ k⌋₊ | (p) (k) (_ : p.Prime) }.lowerDensitysource on GitHub · reference
ErdosProblems/247openNumber theory
Erdős Problem 247
Lean statement
theorem erdos_247 : ∀ (n : ℕ → ℕ), (StrictMono n) →
atTop.limsup (fun k => (n k / k.succ : EReal)) = ⊤ →
Transcendental ℚ (∑' k, (1 : ℝ) / 2 ^ n k)source on GitHub · reference
ErdosProblems/249openNumber theory
Erdős Problem 249
Lean statement
theorem erdos_249 : Irrational (∑' n : ℕ, (φ n) / (2 ^ n))
source on GitHub · reference
ErdosProblems/25openNumber theory
Erdős Problem 25: Logarithmic density of size-dependent congruences
Lean statement
theorem erdos_25 :
∀ (seq_n : ℕ → ℕ) (seq_a : ℕ → ℤ), (∀ i, 0 < seq_n i) → StrictMono seq_n →
∃ d, Set.HasLogDensity
{ x : ℕ | ∀ i, (x : ℤ) < seq_n i ∨ ¬((x : ℤ) ≡ seq_a i [ZMOD seq_n i]) } dsource on GitHub · reference
ErdosProblems/251openNumber theory
Erdős Problem 251
Lean statement
theorem erdos_251 : Irrational (∑' n : ℕ, (Nat.nth Nat.Prime n) / (2 ^ n))
source on GitHub · reference
ErdosProblems/252openNumber theory
Erdős Problem 252
Lean statement
theorem erdos_252 :
∀ k ≥ 1, Irrational (erdos_252_sum k)source on GitHub · reference
ErdosProblems/252openNumber theory
Erdős Problem 252
Lean statement
theorem erdos_252.variants.k_ge_five :
∀ k ≥ 5, Irrational (erdos_252_sum k)source on GitHub
ErdosProblems/257openNumber theory
Erdős Problem 257
Lean statement
theorem erdos_257 : ∀ (A : Set ℕ), A.Infinite →
Irrational (∑' n : A, (1 : ℝ) / (2 ^ n.1 - 1))source on GitHub · reference
ErdosProblems/261openNumber theory
Erdős Problem 261
Lean statement
theorem erdos_261.parts.ii : ∀ n > 0, Erdos261Prop n
source on GitHub · reference
ErdosProblems/261openNumber theory
Erdős Problem 261
Lean statement
theorem erdos_261.parts.iii : ∃ x : ℚ,
𝔠 ≤ #{a : ℕ → ℕ | Erdos261InfiniteRepresentation x a}source on GitHub · reference
ErdosProblems/263openNumber theory
Erdős Problem 263
Lean statement
theorem erdos_263.parts.i : IsIrrationalitySequence (fun n : ℕ => 2 ^ 2 ^ n)
source on GitHub · reference
ErdosProblems/264openNumber theory
Erdős Problem 264
Lean statement
theorem erdos_264.parts.ii : IsIrrationalitySequence Nat.factorial
source on GitHub · reference
ErdosProblems/267openNumber theory
Erdős Problem 267
Lean statement
theorem erdos_267.variants.generalisation_ratio_limit_to_infinity : ∀ (n : ℕ → ℕ),
StrictMono n → Filter.Tendsto (fun k => (n (k+1) / k.succ : ℝ)) Filter.atTop Filter.atTop →
Irrational (∑' k, 1 / (Nat.fib <| n k))source on GitHub
ErdosProblems/269openNumber theory
Erdős Problem 269
Lean statement
theorem erdos_269.variants.irrational :
∀ᵉ (P : Finset ℕ) (h : ∀ p ∈ P, p.Prime) (h_card : P.card ≥ 2),
Irrational (series (P : Set ℕ))source on GitHub
ErdosProblems/269openNumber theory
Erdős Problem 269
Lean statement
theorem erdos_269.variants.rational :
∀ᵉ (P : Finset ℕ) (h : ∀ p ∈ P, p.Prime) (h_card : P.card ≥ 2),
∃ (q : ℚ), q = (series (P : Set ℕ))source on GitHub
ErdosProblems/270openNumber theory
Erdős Problem 270
Lean statement
theorem erdos_270.variants.monotone :
∀ f : ℕ → ℕ, Monotone f → Tendsto f atTop atTop → Irrational (series f)source on GitHub
ErdosProblems/272openCombinatorics
Erdős Problem 272
Lean statement
theorem erdos_272 :
∀ N ≥ 1, maxArithInterCard N = erdos_272.answer Nsource on GitHub · reference
ErdosProblems/272openCombinatorics
Erdős Problem 272
Lean statement
theorem erdos_272.variants.szabo_strong :
(fun N ↦ (maxArithInterCard N - N ^ 2 / 2 : ℝ)) =O[atTop] fun N : ℕ ↦ (N : ℝ)source on GitHub
ErdosProblems/273openCombinatorics · Number theory
Erdős Problem 273
Lean statement
theorem erdos_273 : ∃ c : StrictCoveringSystem ℤ, ∀ i, ∃ (p : ℕ), p.Prime ∧ 5 ≤ p ∧
c.moduli i = Ideal.span {↑(p - 1)}source on GitHub · reference
ErdosProblems/274openGroup theory and generalizations
Erdős Problem 274
Lean statement
theorem erdos_274 : ∃ (G : Type*) (_ : Group G),
1 < ENat.card G ∧ ∃ (ι : Type*) (_ : Fintype ι) (P : Group.ExactCovering G ι),
1 < Fintype.card ι ∧ ∀ i j, i ≠ j → #(P.parts i) ≠ #(P.parts j)source on GitHub · reference
ErdosProblems/274openGroup theory and generalizations
Erdős Problem 274
Lean statement
theorem herzog_schonheim {G : Type*} [Group G] (hG : 1 < ENat.card G) {ι : Type*} [Fintype ι]
(hι : 1 < Fintype.card ι) (P : Group.ExactCovering G ι) :
∃ i j, i ≠ j ∧ (P.parts i).index = (P.parts j).indexsource on GitHub · reference
ErdosProblems/276openNumber theory
Erdős Problem 276
Lean statement
theorem erdos_276 :
∃ (a : ℕ → ℕ),
IsLucasSequence a ∧ (∀ k, (a k).Composite) ∧ (∀ n > 1, ∃ k, Nat.gcd n (a k) = 1)source on GitHub · reference
ErdosProblems/279openNumber theory
Erdős Problem 279
Lean statement
theorem erdos_279 : ∀ k : Nat, k ≥ 3 →
∃ a : Nat → Nat, ∃ N : Nat, (∀ p : Nat, p.Prime → a p < p) ∧
∀ n ≥ N, ∃ p : Nat, ∃ t ≥ k, p.Prime ∧ n = a p + t * psource on GitHub · reference