ErdosProblems/274solvedGroup theory and generalizations
Erdős Problem 274
Lean statement
theorem erdos_274.variants.abelian {G : Type*} [Fintype G] [CommGroup G]
(hG : 1 < Fintype.card G) {ι : Type*} [Fintype ι] (P : Group.ExactCovering G ι)
(hι : 1 < Fintype.card ι) :
∃ i j, i ≠ j ∧ #(P.parts i) = #(P.parts j)source on GitHub
ErdosProblems/275solvedNumber theory
Erdős Problem 275
Lean statement
theorem erdos_275 (r : ℕ) (a : Fin r → ℤ) (n : Fin r → ℕ)
(H : ∃ k : ℤ, ∀ x ∈ Ico k (k + 2 ^ r), ∃ i, x ≡ a i [ZMOD n i]) (x : ℤ) :
∃ i, x ≡ a i [ZMOD n i]source on GitHub · reference
ErdosProblems/277solvedNumber theory
Erdős Problem 277
Lean statement
theorem erdos_277 :
∀ c : ℝ, ∃ n : ℕ, (σ 1 n : ℝ) > c * n ∧
∀ (m : StrictCoveringSystem ℤ), ∃ i, (n : ℤ) ∉ m.moduli isource on GitHub · reference
ErdosProblems/280solvedNumber theory
Erdős Problem 280
Lean statement
theorem erdos_280 :
¬ ∀ (n a : ℕ → ℕ), StrictMono n → (∀ i, 1 ≤ i → a i < n i) →
(∃ ε : ℝ, 0 < ε ∧
∀ k, 1 ≤ k → (n k : ℝ) > (1 + ε) * (k : ℝ) * Real.log (k : ℝ)) →
¬ Tendsto
(fun k : ℕ => (uncoveredCount n a k : ℝ) / (k : ℝ))
atTop (nhds 0)source on GitHub · reference
ErdosProblems/281solvedNumber theory
Erdős Problem 281
Lean statement
theorem erdos_281 :
∀ (n : ℕ → ℕ), StrictMono n → (∀ i, 0 < n i) →
(∀ a : ResidueChoice n, Set.HasIntDensity (avoidAll n a) 0) →
∀ ε : ℝ, 0 < ε →
∃ k : ℕ, ∀ a : ResidueChoice n,
∃ d : ℝ, Set.HasIntDensity (avoidPrefix n a k) d ∧ d < εsource on GitHub · reference
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283 : ∀ p : ℚ[X], Condition p
source on GitHub · reference
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283.variants.alekseyev :
∀ (m : ℕ), m > 8542 →
∃ S : Finset ℕ, (∀ n ∈ S, 1 ≤ n) ∧
(∑ n ∈ S, (1 / (n : ℚ))) = 1 ∧
(∑ n ∈ S, (n : ℤ)^2) = (m : ℤ)source on GitHub
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283.variants.burr :
∀ (k : ℕ), k ≥ 1 →
∀ᶠ (m : ℕ) in atTop,
∃ M : Multiset ℕ, (∀ n ∈ M, 1 ≤ n) ∧
(M.map (fun n ↦ 1 / (n : ℚ))).sum = 1 ∧
(M.map (fun n ↦ (n : ℤ)^k)).sum = (m : ℤ)source on GitHub
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283.variants.cassels :
∀ (p : ℚ[X]),
(∀ n : ℤ, ∃ z : ℤ, p.eval (n : ℚ) = z) →
0 < p.leadingCoeff →
(¬ ∃ (d : ℤ), d ≥ 2 ∧ ∀ (n : ℤ), n ≥ 1 → ∃ z : ℤ, p.eval (n : ℚ) = d * z) →
∀ᶠ (m : ℕ) in atTop,
∃ S : Finset ℕ, (∀ n ∈ S, 1 ≤ n) ∧
(∑ n ∈ S, p.eval (n : ℚ)) = (m : ℚ)source on GitHub
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283.variants.graham : Condition X
source on GitHub
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283.variants.graham_alpha :
∀ (p : ℚ[X]) (α : ℚ),
(∀ n : ℤ, ∃ z : ℤ, p.eval (n : ℚ) = z) →
0 < p.leadingCoeff →
(¬ ∃ (d : ℤ), d ≥ 2 ∧ ∀ (n : ℤ), n ≥ 1 → ∃ z : ℤ, p.eval (n : ℚ) = d * z) →
α > 0 →
∀ᶠ (m : ℕ) in atTop,
∃ S : Finset ℕ, (∀ n ∈ S, 1 ≤ n) ∧
(∑ n ∈ S, (1 / (n : ℚ))) = α ∧
(∑ n ∈ S, p.eval (n : ℚ)) = (m : ℚ)source on GitHub
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283.variants.van_doorn_linear :
∀ b : ℤ, 1 ≤ b → b ≤ 5000 → Condition (X + C (b : ℚ))
source on GitHub
ErdosProblems/283solvedNumber theory
Erdős Problem 283
Lean statement
theorem erdos_283.variants.van_doorn_quadratic :
∀ b : ℤ, 1 ≤ b → b ≤ 800 → Condition (X^2 + C (b : ℚ))
source on GitHub
ErdosProblems/284solvedNumber theory
Erdős Problem 284
Lean statement
theorem erdos_284 :
Tendsto (fun k : ℕ ↦ (f k : ℝ) / k) atTop (nhds (1 / (Real.exp 1 - 1)))source on GitHub · reference
ErdosProblems/285solvedCombinatorics · Number theory
Erdős Problem 285
Lean statement
theorem erdos_285 :
∀ᵉ (f : ℕ → ℕ)
(S : Set ℕ)
(hS : S = {k | ∃ (n : Fin k.succ → ℕ), StrictMono n ∧ 0 ∉ Set.range n ∧
1 = ∑ i, (1 : ℝ) / n i })
(h : ∀ k ∈ S,
IsLeast
{ n (Fin.last k) | (n : Fin k.succ → ℕ) (_ : StrictMono n) (_ : 0 ∉ Set.range n)
(_ : 1 = ∑ i, (1 : ℝ) / n i) }
(f k)),
∃ (o : ℕ → ℝ) (_ : o =o[atTop] (1 : ℕ → ℝ)),
∀ k ∈ S, f k = (1 + o k) * rexp 1 / (rexp 1 - 1) * (k + 1)source on GitHub · reference
ErdosProblems/285solvedCombinatorics · Number theory
Erdős Problem 285
Lean statement
theorem erdos_285.variants.lb (f : ℕ → ℕ)
(S : Set ℕ)
(hS : S = {k | ∃ (n : Fin k.succ → ℕ), StrictMono n ∧ 0 ∉ Set.range n ∧
1 = ∑ i, (1 : ℝ) / n i })
(h : ∀ k ∈ S,
IsLeast
{ n (Fin.last k) | (n : Fin k.succ → ℕ) (_ : StrictMono n) (_ : 0 ∉ Set.range n)
(_ : 1 = ∑ i, (1 : ℝ) / n i) }
(f k)) :
∃ (o : ℕ → ℝ) (_ : o =o[atTop] (1 : ℕ → ℝ)),
∀ k ∈ S, (1 + o k) * rexp 1 / (rexp 1 - 1) * (k + 1) ≤ f ksource on GitHub
ErdosProblems/286solvedNumber theory
Erdős Problem 286
Lean statement
theorem erdos_286 : ∃ o : ℕ → ℝ, Tendsto o atTop (nhds 0) ∧
∀ᶠ k : ℕ in atTop, ∃ a b : ℝ, b - a = (exp 1 - 1 + o k) * k ∧
∃ S : Finset ℕ, S.card = k ∧ 0 ∉ S ∧ ∑ n ∈ S, (1 : ℝ) / n = 1 ∧
∀ n ∈ S, (n : ℝ) ∈ Set.Icc a bsource on GitHub · reference
ErdosProblems/287solvedNumber theory
Erdős Problem 287
Lean statement
theorem erdos_287.variants.gap_at_least_two :
∀ (k : ℕ) (_ : 2 ≤ k) (s : Fin k → ℕ),
StrictMono s → 1 < s ⟨0, by omega⟩ →
∑ i : Fin k, 1 / (s i : ℝ) = 1 →
2 ≤ max_gap k ssource on GitHub
ErdosProblems/289solvedNumber theory
Erdős Problem 289
Lean statement
theorem erdos_289 :
(∀ᶠ k : ℕ in atTop, ∃ I : Fin k → ℕ × ℕ,
(∀ i, (I i).1 < (I i).2) ∧
(∀ i j, i ≠ j → (I i).2 + 1 < (I j).1 ∨ (I j).2 + 1 < (I i).1) ∧
∑ i, ∑ n ∈ .Icc (I i).1 (I i).2, (n⁻¹ : ℚ) = 1)source on GitHub · reference
ErdosProblems/29solvedNumber theory
Erdős Problem 29
Lean statement
theorem erdos_29 : ∃ A : Set ℕ, A + A = Set.univ ∧ ∀ ε : ℝ, 0 < ε →
(fun n : ℕ => (sumRep A n : ℝ)) =o[atTop] fun n : ℕ => (n : ℝ) ^ εsource on GitHub · reference
ErdosProblems/290solvedNumber theory
Erdős Problem 290
Lean statement
theorem erdos_290 :
(∀ a : ℕ, 1 ≤ a → ∃ b : ℕ, a < b ∧ harmonicDen a (b + 1) < harmonicDen a b)source on GitHub · reference
ErdosProblems/291solvedNumber theory
Erdős Problem 291
Lean statement
theorem erdos_291.parts.ii :
{ n : ℕ | Nat.gcd (a n) (L n) > 1 }.Infinitesource on GitHub · reference
ErdosProblems/291solvedNumber theory
Erdős Problem 291
Lean statement
theorem erdos_291.variants.steinerberger_generalization (n p : ℕ) (hp : p.Prime) (hpn : p ≤ n) :
let ksource on GitHub
ErdosProblems/291solvedNumber theory
Erdős Problem 291
Lean statement
theorem erdos_291.variants.wu_yan
(h_indep : LinearIndependent ℚ (fun p : {p : ℕ // p.Prime} ↦ 1 / Real.log (p : ℝ))) :
atTop.limsup (fun N : ℕ ↦
((((Finset.Icc 1 N).filter (fun n ↦ Nat.gcd (a n) (L n) > 1)).card : ℝ) /
(N : ℝ) : EReal)) = 1source on GitHub
ErdosProblems/292solvedNumber theory
Erdős Problem 292
Lean statement
theorem erdos_292 : A.HasDensity 1
source on GitHub · reference
ErdosProblems/292solvedNumber theory
Erdős Problem 292
Lean statement
theorem erdos_292.variants.martin :
(fun x : ℕ ↦ ((Aᶜ ∩ Set.Icc 1 x).ncard : ℝ) / x) =Θ[atTop]
fun x ↦ Real.log (Real.log x) / Real.log xsource on GitHub
ErdosProblems/292solvedNumber theory
Erdős Problem 292
Lean statement
theorem erdos_292.variants.mul : ∀ m ∈ A, ∀ n ∈ A, m * n ∈ A
source on GitHub
ErdosProblems/292solvedNumber theory
Erdős Problem 292
Lean statement
theorem erdos_292.variants.prime_pow : ∀ n ∈ A, ¬ IsPrimePow n
source on GitHub
ErdosProblems/292solvedNumber theory
Erdős Problem 292
Lean statement
theorem erdos_292.variants.two_mul : ∀ n ∈ A, 1 < n → 2 * n ∈ A
source on GitHub
ErdosProblems/294solvedNumber theory
Erdős Problem 294
Lean statement
theorem erdos_294 :
(∃ K : ℝ, (fun N : ℕ => (N : ℝ) / (Real.log N * Real.log (Real.log N) ^ 3 *
Real.log (Real.log (Real.log N)) ^ K)) ≪ (fun N : ℕ => (t N : ℝ))) ∧
((fun N : ℕ => (t N : ℝ)) ≪ (fun N : ℕ => (N : ℝ) / Real.log N))source on GitHub · reference
ErdosProblems/294solvedNumber theory
Erdős Problem 294
Lean statement
theorem erdos_294.variants.erdos_graham_upper :
(fun N : ℕ => (t N : ℝ)) ≪ (fun N : ℕ => (N : ℝ) / Real.log N)source on GitHub
ErdosProblems/295solvedCombinatorics · Number theory
Erdős Problem 295
Lean statement
theorem erdos_295.variants.erdos_straus :
∃ᵉ (C > 0) (O > 0), ∀ᶠ (N : ℕ) in Filter.atTop,
(k N - (rexp 1 - 1)*N) ∈ Set.Ioc (-C) (O * N / (N : ℝ).log)source on GitHub
ErdosProblems/296solvedNumber theory
Erdős Problem 296
Lean statement
theorem erdos_296 :
(∀ N k : ℕ, HasDisjointUnitDecomps N k → (k : ℚ) ≤ recipSum (Finset.Icc 1 N)) ∧
(∀ ε : ℝ, 0 < ε → ε < 1 → ∀ᶠ N : ℕ in atTop,
HasDisjointUnitDecomps N ⌊(1 - ε) * Real.log N⌋₊)source on GitHub · reference
ErdosProblems/297solvedNumber theory
Erdős Problem 297
Lean statement
theorem erdos_297 : (∃! l : ℝ, massIntegral l = 1) ∧
Tendsto (fun N : ℕ => Real.logb 2 (count 1 N) / N) atTop (𝓝 erdos_297.answer)source on GitHub · reference
ErdosProblems/297solvedNumber theory
Erdős Problem 297
Lean statement
theorem erdos_297.variants.general (x : ℚ) (hx : 0 < x) : (∃! l : ℝ, massIntegral l = x) ∧
Tendsto (fun N : ℕ => Real.logb 2 (count x N) / N) atTop (𝓝 (exponentOf x))source on GitHub
ErdosProblems/297solvedNumber theory
Erdős Problem 297
Lean statement
theorem erdos_297.variants.steinerberger : ∀ᶠ N : ℕ in atTop,
({A ∈ (Finset.Icc 1 N).powerset | ∑ n ∈ A, (1 / (n : ℕ) : ℚ) ≤ 1}.card : ℝ) ≤
2 ^ (0.93 * N : ℝ)source on GitHub
ErdosProblems/298solvedNumber theory
Erdős Problem 298
Lean statement
theorem erdos_298 : (∀ (A : Set ℕ), 0 ∉ A → 0 < A.upperDensity →
∃ (S : Finset ℕ), ↑S ⊆ A ∧ ∑ n ∈ S, (1 / n : ℚ) = 1)source on GitHub · reference
ErdosProblems/298solvedNumber theory
Erdős Problem 298
Lean statement
theorem erdos_298.variants.natural_density : (∀ (A : Set ℕ), 0 ∉ A →
A.HasPosDensity →
∃ (S : Finset ℕ), ↑S ⊆ A ∧ ∑ n ∈ S, (1 / n : ℚ) = 1)source on GitHub
ErdosProblems/299solvedNumber theory · Sequences, series, summability
Erdős Problem 299
Lean statement
theorem erdos_299 : ¬ (∃ (a : ℕ → ℕ),
StrictMono a ∧ (∀ n, 0 < a n) ∧
(fun n ↦ (a (n + 1) : ℝ) - a n) =O[atTop] (1 : ℕ → ℝ) ∧
∀ S : Finset ℕ, ∑ i ∈ S, (1 : ℝ) / a i ≠ 1)source on GitHub · reference
ErdosProblems/299solvedNumber theory · Sequences, series, summability
Erdős Problem 299
Lean statement
theorem erdos_299.variants.density : ∀ (A : Set ℕ), 0 ∉ A → 0 < A.upperDensity →
∃ S : Finset ℕ, ↑S ⊆ A ∧ ∑ n ∈ S, (1 : ℝ) / n = 1source on GitHub