ErdosProblems/401solvedNumber theory
Erdős Problem 401
Lean statement
theorem erdos_401 :
∃ f : ℕ → ℝ, Tendsto f atTop atTop ∧
∀ (r : ℕ) (hr : 1 ≤ r),
{n : ℕ | ∃ a₁ a₂ : ℕ, 0 < a₁ ∧ 0 < a₂ ∧
(a₁ : ℝ) + a₂ > n + f r * Real.log n ∧
a₁.factorial * a₂.factorial ∣
n.factorial * (∏ i ∈ Finset.range r, Nat.nth Nat.Prime i) ^ n}.Infinitesource on GitHub · reference
ErdosProblems/402solvedNumber theory
Erdős Problem 402
Lean statement
theorem erdos_402 (A : Finset ℕ) (h₁ : 0 ∉ A) (h₂ : A.Nonempty) : ∃ᵉ (a ∈ A) (b ∈ A),
a.gcd b ≤ (a / A.card : ℚ)source on GitHub · reference
ErdosProblems/402solvedNumber theory
Erdős Problem 402
Lean statement
theorem erdos_402.variants.equality (A : Finset ℕ) (h₁ : 0 ∉ A) (h₂ : A.Nonempty)
(h₃ : A.gcd id = 1)
(h : ∀ᵉ (a ∈ A) (b ∈ A), (a / A.card : ℚ) ≤ a.gcd b) :
A = Finset.Icc 1 A.card ∨
A = (Finset.Icc 1 A.card).image ((Finset.Icc 1 A.card).lcm id / ·) ∨
A = {2, 3, 4, 6}source on GitHub
ErdosProblems/402solvedNumber theory
Erdős Problem 402
Lean statement
theorem erdos_402.variants.szegedy_zaharescu_weak : ∀ᶠ n in atTop,
∀ (A : Finset ℕ), A.card = n → 0 ∉ A →
(n ≤ (A ×ˢ A).sup (fun x => x.1 / x.1.gcd x.2)) ∧
(n = (A ×ˢ A).sup (fun x => x.1 / x.1.gcd x.2) ↔
∃ k > 0, A = (Finset.Icc 1 n).image (k * ·) ∨
A = (Finset.Icc 1 n).image (k * (Finset.Icc 1 n).lcm id / ·))source on GitHub
ErdosProblems/403solvedNumber theory
Erdős Problem 403
Lean statement
theorem erdos_403 :
{p : ℕ × Finset ℕ | (∀ a ∈ p.2, 0 < a) ∧
2 ^ p.1 = ∑ a ∈ p.2, a.factorial}.Finitesource on GitHub · reference
ErdosProblems/405solvedNumber theory
Erdős Problem 405
Lean statement
theorem erdos_405 :
Set.Finite { x : ℕ × ℕ × ℕ | let (a, k, p) := x; p.Prime ∧ Odd p ∧
Nat.factorial (p - 1) + a ^ (p - 1) = p ^ k}source on GitHub · reference
ErdosProblems/405solvedNumber theory
Erdős Problem 405
Lean statement
theorem erdos_405.variants.yu_liu :
{ x : ℕ × ℕ × ℕ | let (a, k, p) := x; p.Prime ∧ Odd p ∧
Nat.factorial (p - 1) + a ^ (p - 1) = p ^ k } =
{(1, 1, 3), (5, 3, 3), (1, 2, 5)}source on GitHub
ErdosProblems/407solvedNumber theory
Erdős Problem 407
Lean statement
theorem erdos_407 : ∃ C : ℕ, ∀ n : ℕ, w n ≤ C
source on GitHub · reference
ErdosProblems/408solvedNumber theory
Erdős Problem 408
Lean statement
theorem erdos_408.variants.ford_konyagin_luca (ε δ : ℝ) (hε : 0 < ε) (hδ : 0 < δ) :
∃ k : ℕ, ∀ᶠ x : ℝ in atTop, (1 - ε) * x ≤
((Finset.Icc 1 ⌊x⌋₊).filter fun n ↦
((Nat.totient^[k] n).maxPrimeFac : ℝ) ≤ x ^ δ).cardsource on GitHub
ErdosProblems/408solvedNumber theory
Erdős Problem 408
Lean statement
theorem erdos_408.variants.pillai (n : ℕ) (hn : 2 ≤ n) :
⌊(Real.log n - Real.log 2) / Real.log 3⌋₊ + 1 ≤ f n ∧
f n ≤ ⌊Real.log n / Real.log 2⌋₊ + 1source on GitHub
ErdosProblems/41solvedNumber theory
Erdős Problem 41
Lean statement
theorem erdos_41.variants.pairwise (A : Set ℕ) (hA₂ : NtupleCondition A 2) (hA : A.Infinite) :
Filter.atTop.liminf (fun N => (A ∩ Icc 1 N).ncard / (N : ℝ).sqrt) = 0source on GitHub
ErdosProblems/413solvedNumber theory
Erdős Problem 413
Lean statement
theorem erdos_413.parts.ii :
(∃ ε > (0 : ℝ), { n | IsBarrier (fun n => ε * ω n) n }.Infinite)source on GitHub · reference
ErdosProblems/413solvedNumber theory
Erdős Problem 413
Lean statement
theorem erdos_413.variants.bigOmega_largest_barrier_lt_100k :
IsGreatest {n : ℕ | n < 10 ^ 5 ∧ IsBarrier (fun m => Ω m) n} 99840source on GitHub
ErdosProblems/413solvedNumber theory
Erdős Problem 413
Lean statement
theorem erdos_413.variants.hasPosDensity_barrier_expProd :
{ n | IsBarrier (fun m => expProd m) n }.HasPosDensitysource on GitHub
ErdosProblems/416solvedNumber theory
Erdős Problem 416
Lean statement
theorem erdos_416.parts.i :
Filter.Tendsto (fun x => (V (2 * x) / V (x))) Filter.atTop (𝓝 2)source on GitHub · reference
ErdosProblems/416solvedNumber theory
Erdős Problem 416
Lean statement
theorem erdos_416.variants.Erdos : ∃ f : ℝ → ℝ, f =o[atTop] (1 : ℝ → ℝ) ∧
∀ᶠ x in Filter.atTop, V x = x * x.log ^ (-1 + f x)source on GitHub
ErdosProblems/416solvedNumber theory
Erdős Problem 416
Lean statement
theorem erdos_416.variants.Ford :
let (C₁, C₂, C₃) : ℝ × ℝ × ℝsource on GitHub
ErdosProblems/416solvedNumber theory
Erdős Problem 416
Lean statement
theorem erdos_416.variants.Maier_Pomerance :
0 < erdos_416.variants.Maier_Pomerance.answer ∧ ∃ f : ℝ → ℝ, f =o[atTop] (1 : ℝ → ℝ) ∧
∀ᶠ x in Filter.atTop, (V x : ℝ) = x / x.log *
(rexp <| (erdos_416.variants.Maier_Pomerance.answer + f x) * x.log.log.log ^ 2)source on GitHub
ErdosProblems/416solvedNumber theory
Erdős Problem 416
Lean statement
theorem erdos_416.variants.Pillai : V =o[atTop] id
source on GitHub
ErdosProblems/416solvedNumber theory
Erdős Problem 416
Lean statement
theorem erdos_416.variants.regularly_varying (c : ℝ) (hc : 0 < c) :
Filter.Tendsto (fun x => V (c * x) / V x) Filter.atTop (𝓝 c)source on GitHub
ErdosProblems/418solvedNumber theory
Erdős Problem 418
Lean statement
theorem erdos_418 : { (n - n.totient : ℕ) | n }ᶜ.Infinitesource on GitHub · reference
ErdosProblems/418solvedNumber theory
Erdős Problem 418
Lean statement
theorem erdos_418.variants.conditional
(goldbach : ∀ (n : ℕ), 6 < n → Even n → ∃ p q, p ≠ q ∧ p.Prime ∧ q.Prime ∧ n = p + q)
(m : ℕ) (h : Odd m) :
∃ n, m + n.totient = nsource on GitHub
ErdosProblems/418solvedNumber theory
Erdős Problem 418
Lean statement
theorem erdos_418.variants.sigma :
0 < {n : ℕ | n.IsUntouchable}.lowerDensitysource on GitHub
ErdosProblems/418solvedNumber theory
Erdős Problem 418
Lean statement
theorem erdos_418.variants.soln :
{ 2 ^ (k + 1) * 509203 | k } ⊆ { (n - n.totient : ℕ) | n }ᶜsource on GitHub
ErdosProblems/419solvedNumber theory
Erdős Problem 419
Lean statement
theorem erdos_419 :
{x : ℝ | MapClusterPt x atTop factorialDivisorRatio} = limitPointSetsource on GitHub · reference
ErdosProblems/42solvedCombinatorics · Number theory
Erdős Problem 42: Maximal Sidon Sets and Disjoint Difference Sets
Lean statement
theorem erdos_42 :
∀ M ≥ 1, ∀ᶠ N in atTop, ∀ (A : Set ℕ) (_ : IsMaximalSidonSetIn A N),
∃ᵉ (B : Set ℕ), B ⊆ Set.Icc 1 N ∧ IsSidon B ∧ B.ncard = M ∧
((A - A) ∩ (B - B)) = {0}source on GitHub · reference
ErdosProblems/42solvedCombinatorics · Number theory
Erdős Problem 42: Maximal Sidon Sets and Disjoint Difference Sets
Lean statement
theorem erdos_42.variants.constructive :
∃ (f : ℕ → ℕ), ∀ (M N : ℕ) (_ : 1 ≤ M) (_ : f M ≤ N),
∀ (A : Set ℕ) (_ : IsMaximalSidonSetIn A N), ∃ᵉ (B : Set ℕ),
B ⊆ Set.Icc 1 N ∧ IsSidon B ∧ B.ncard = M ∧
((A - A) ∩ (B - B)) = {0}source on GitHub
ErdosProblems/420solvedNumber theory
Erdős Problem 420
Lean statement
theorem erdos_420.variants.log_frequently_lt_two :
∀ c > (0 : ℝ), ∃ᶠ n : ℕ in atTop, F (fun m ↦ c * Real.log m) n < 2source on GitHub
ErdosProblems/420solvedNumber theory
Erdős Problem 420
Lean statement
theorem erdos_420.variants.pow_four_ninths :
∀ᶠ n : ℕ in atTop, 2 ≤ F (fun m ↦ (m : ℝ) ^ (4 / 9 : ℝ)) nsource on GitHub
ErdosProblems/420solvedNumber theory
Erdős Problem 420
Lean statement
theorem erdos_420.variants.rankin_frequently_lt_two :
∃ᶠ n : ℕ in atTop, F (fun m ↦ Real.log m * Real.log (Real.log m) *
Real.log (Real.log (Real.log (Real.log m))) /
(9 * Real.log (Real.log (Real.log m)) ^ 3)) n < 2source on GitHub
ErdosProblems/421solvedNumber theory
Erdős Problem 421
Lean statement
theorem erdos_421 :
∃ (d : ℕ → ℕ), StrictMono d ∧ 1 ≤ d 0 ∧ HasDensity (Set.range d) 1 ∧
{(u, v) : ℕ × ℕ | u ≤ v}.InjOn fun (u, v) => ∏ i ∈ Finset.Icc u v, d isource on GitHub · reference
ErdosProblems/423solvedCombinatorics · Number theory
Erdős Problem 423
Lean statement
theorem erdos_423.variants.infinite_complement :
∀ a : ℕ → ℕ, IsHofstadterSeq a → Set.Infinite (Set.range a)ᶜsource on GitHub
ErdosProblems/423solvedCombinatorics · Number theory
Erdős Problem 423
Lean statement
theorem erdos_423.variants.lower_bound :
∀ a : ℕ → ℕ, IsHofstadterSeq a →
(fun n : ℕ => Real.log (Real.log n)) =O[atTop]
(fun n : ℕ => (a n : ℝ) - n)source on GitHub
ErdosProblems/423solvedCombinatorics · Number theory
Erdős Problem 423
Lean statement
theorem erdos_423.variants.nondecreasing :
∀ a : ℕ → ℕ, IsHofstadterSeq a →
∀ n m : ℕ, 1 ≤ n → n ≤ m → a n - n ≤ a m - msource on GitHub
ErdosProblems/423solvedCombinatorics · Number theory
Erdős Problem 423
Lean statement
theorem erdos_423.variants.unbounded :
∀ a : ℕ → ℕ, IsHofstadterSeq a →
∀ M : ℕ, ∀ᶠ n in atTop, M + n ≤ a nsource on GitHub
ErdosProblems/423solvedCombinatorics · Number theory
Erdős Problem 423
Lean statement
theorem erdos_423.variants.upper_bound :
∀ a : ℕ → ℕ, IsHofstadterSeq a →
∀ ε > (0 : ℝ), (fun n => (a n : ℝ)) =O[atTop]
(fun n => (n : ℝ) ^ ((688 : ℝ) / 413 + ε))source on GitHub
ErdosProblems/424solvedNumber theory
Erdős Problem 424: Sequence generated by $a_i a_j - 1$
Lean statement
theorem erdos_424 : 0 < generatedSet.lowerDensity
source on GitHub · reference
ErdosProblems/426solvedCombinatorics
Erdős Problem 426
Lean statement
theorem erdos_426 :
¬ ∃ c : ℝ, 0 < c ∧ ∃ᶠ (n : ℕ) in atTop, ∃ H : SimpleGraph (Fin n),
c * ((2 : ℝ) ^ n.choose 2 / n.factorial) ≤ (uniqueSubgraphCount H : ℝ)source on GitHub · reference
ErdosProblems/427solvedNumber theory
Erdős Problem 427
Lean statement
theorem erdos_427 : erdos427
source on GitHub · reference
ErdosProblems/427solvedNumber theory
Erdős Problem 427
Lean statement
theorem erdos_427.variants.of_shiu (H : ShiuTheorem) : erdos427
source on GitHub