cfahlgren1's picture
download
raw
1.2 kB
import Mathlib
namespace OAI
namespace LargePrimeGaps
noncomputable def prime (n : ℕ) : ℕ := Nat.nth Nat.Prime (n - 1)
noncomputable def largeGapIndices (C : ℝ) (N : ℕ) : Finset ℕ := by
classical
exact (Finset.Icc 1 N).filter fun n =>
C * Real.log (prime n : ℝ) < (prime (n + 1) : ℝ) - (prime n : ℝ)
end LargePrimeGaps
noncomputable section
namespace Problem344
def primeAt (n : ℕ) : ℕ :=
Nat.nth Nat.Prime (n - 1)
def initialCount (A : Set ℕ) (N : ℕ) : ℕ := by
classical
exact ((Finset.Icc 1 N).filter (fun n => n ∈ A)).card
def lowerAsymptoticDensity (A : Set ℕ) : ℝ :=
sSup {d : ℝ | ∃ N0 : ℕ, ∀ N : ℕ, N0 ≤ N →
d ≤ (initialCount A N : ℝ) / (N : ℝ)}
def ratioIncreaseIndices : Set ℕ :=
{n | 1 ≤ n ∧
(primeAt n : ℝ) / (n : ℝ) <
(primeAt (n + 1) : ℝ) / ((n + 1 : ℕ) : ℝ)}
theorem large_gaps_and_ratio_density :
(∀ C : ℝ, 0 < C →
∃ c : ℝ, 0 < c ∧ ∃ N₀ : ℕ, ∀ N : ℕ, N₀ ≤ N →
c * (N : ℝ) ≤ ((LargePrimeGaps.largeGapIndices C N).card : ℝ)) ∧
0 < lowerAsymptoticDensity ratioIncreaseIndices := by
sorry
end Problem344
end
end OAI

Xet Storage Details

Size:
1.2 kB
·
Xet hash:
99b690baa313f65b5e4179b49a0529b52532f046762cdb26b0fd1d25ffb3d661

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.