chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
354
leanexplore_declaration
leanexplore:382978
leanexplore_sqlite
leanexplore_declarations
/-- Let $a_1< a_2 < ⋯ $ be an infinite sequence of integers such that $a_1=1$ and $a_{i+1}$ is the least integer which is not a sum of consecutive earlier $a_j$s. Show that $a_k / k \to \infty$. -/ @[category research open, AMS 11] theorem erdos_359.parts.i (A : ℕ → ℕ) (hA : IsGoodFor A 1) : atTop.Tendsto (fun k ↦ ...
378
leanexplore_declaration
leanexplore:382979
leanexplore_sqlite
leanexplore_declarations
/-- The predicate that `A` is monotone, `A 0 = n` and for all `j`, `A (j + 1)` is the smallest natural number that cannot be written as a sum of consecutive terms of `A 0, ..., A j` -/ def IsGoodFor (A : ℕ → ℕ) (n : ℕ) : Prop := A 0 = n ∧ StrictMono A ∧ ∀ j, IsLeast {m : ℕ | A j < m ∧ ∀ a b, Finset.Icc a b ⊆ Fins...
513
leanexplore_declaration
leanexplore:382980
leanexplore_sqlite
leanexplore_declarations
/-- Let $c > 0$ and $n$ be some large integer. What is the size of the largest set $A \subseteq \{1, \ldots, \lfloor c n \rfloor\}$ such that $n$ is not a sum of a subset of $A$? Does this depend on $n$ in an irregular way? -/ @[category research open, AMS 11] theorem erdos_361.smallO (c : ℝ) (hc : 0 < c) (A : ...
515
leanexplore_declaration
leanexplore:382981
leanexplore_sqlite
leanexplore_declarations
/-- Let $c > 0$ and $n$ be some large integer. What is the size of the largest set $A \subseteq \{1, \ldots, \lfloor c n \rfloor\}$ such that $n$ is not a sum of a subset of $A$? Does this depend on $n$ in an irregular way? -/ @[category research open, AMS 11] theorem erdos_361.bigTheta (c : ℝ) (hc : 0 < c) (A ...
511
leanexplore_declaration
leanexplore:382982
leanexplore_sqlite
leanexplore_declarations
/-- Let $c > 0$ and $n$ be some large integer. What is the size of the largest set $A \subseteq \{1, \ldots, \lfloor c n \rfloor\}$ such that $n$ is not a sum of a subset of $A$? Does this depend on $n$ in an irregular way? -/ @[category research open, AMS 11] theorem erdos_361.bigO (c : ℝ) (hc : 0 < c) (A : ℕ ...
561
leanexplore_declaration
leanexplore:382983
leanexplore_sqlite
leanexplore_declarations
/-- There is no quadruple of powerful numbers, since at least one of the four numbers must be $2 \pmod{4}$, which cannot be powerful (since $2$ divides it, but $2^2$ does not). -/ @[category undergraduate, AMS 11] theorem erdos_364.variants.weak : ¬ ∃ (n : ℕ), Powerful n ∧ Powerful (n + 1) ∧ Powerful (n + 2) ∧ Powe...
595
leanexplore_declaration
leanexplore:382984
leanexplore_sqlite
leanexplore_declarations
/-- Erdős [Er76d] conjectured a stronger statement: if $n_k$ is the $k$th powerful number, then $n_{k+2} - n_k > n_k^c$ for some constant $c > 0$. [Er76d] Erdős, P., Problems and results on number theoretic properties of consecutive integers and related questions. Proceedings of the Fifth Manitoba Conference on Numeri...
192
leanexplore_declaration
leanexplore:382985
leanexplore_sqlite
leanexplore_declarations
/-- There is no consecutive triple of powerful numbers. -/ @[category research open, AMS 11] theorem erdos_364 : ¬ ∃ (n : ℕ), Powerful n ∧ Powerful (n + 1) ∧ Powerful (n + 2) := by sorry
199
leanexplore_declaration
leanexplore:382986
leanexplore_sqlite
leanexplore_declarations
/-- Are there any consecutive pairs of $3$-full integers? -/ @[category undergraduate, AMS 11] theorem erdos_366.variants.weaker : answer(sorry) ↔ ∃ n > 0, (3).Full n ∧ (3).Full (n + 1) := by sorry
222
leanexplore_declaration
leanexplore:382987
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many 3-full $n$ such that $n+1$ is 2-full? -/ @[category research open, AMS 11] theorem erdos_366.variants.three_two : answer(sorry) ↔ {n | (3).Full n ∧ (2).Full (n + 1)}.Infinite := by sorry
247
leanexplore_declaration
leanexplore:382988
leanexplore_sqlite
leanexplore_declarations
/-- Note that $8$ is $3$-full and $9$ is 2-full. -/ @[category test, AMS 11] theorem exists_three_full_then_two_full : (∃ n > 0, (3).Full n ∧ (2).Full (n + 1)) := by use 8 norm_num +contextual [Nat.Full, Nat.primeFactors, Nat.primeFactorsList]
185
leanexplore_declaration
leanexplore:382989
leanexplore_sqlite
leanexplore_declarations
/-- Are there any $2$-full $n$ such that $n+1$ is $3$-full? -/ @[category research open, AMS 11] theorem erdos_366 : answer(sorry) ↔ ∃ n > 0, (2).Full n ∧ (3).Full (n + 1) := by sorry
179
leanexplore_declaration
leanexplore:382990
leanexplore_sqlite
leanexplore_declarations
/-- Find the value of the limit of `MinOverlapQuotient`! -/ @[category research open, AMS 5 11] theorem erdos_36 : atTop.Tendsto MinOverlapQuotient (𝓝 answer(sorry)) := by sorry
225
leanexplore_declaration
leanexplore:382991
leanexplore_sqlite
leanexplore_declarations
/-- The limit of `MinOverlapQuotient` exists and it is less than $0.385694$. -/ @[category research solved, AMS 5 11] theorem erdos_36.variants.exists : ∃ c, atTop.Tendsto MinOverlapQuotient (𝓝 c) ∧ c < 0.385694 := by sorry
212
leanexplore_declaration
leanexplore:382992
leanexplore_sqlite
leanexplore_declarations
/-- Find a better upper bound! -/ @[category research open, AMS 5 11] theorem erdos_36.variants.upper : ∃ (c : ℝ), c < 0.380926853433087 ∧ atTop.limsup MinOverlapQuotient ≤ c ∧ c = answer(sorry) := by sorry
202
leanexplore_declaration
leanexplore:382993
leanexplore_sqlite
leanexplore_declarations
/-- Find a better lower bound! -/ @[category research open, AMS 5 11] theorem erdos_36.variants.lower: ∃ (c : ℝ), 0.379005 < c ∧ c ≤ atTop.liminf MinOverlapQuotient ∧ c = answer(sorry) := by sorry
310
leanexplore_declaration
leanexplore:382994
leanexplore_sqlite
leanexplore_declarations
/-- An upper bound of $0.3809268534330870$. See [The minimum overlap problem](https://www.neutreeko.net/mop/index.htm) by *Jan Kristian Haugland* -/ @[category research solved, AMS 5 11] theorem minimum_overlap.variants.upper.haugland_2022 : atTop.limsup MinOverlapQuotient ≤ 0.3809268534330870 := by sorry
387
leanexplore_declaration
leanexplore:382995
leanexplore_sqlite
leanexplore_declarations
/-- An upper bound of $0.38200298812318988$. See [Advances in the Minimum Overlap Problem](https://doi.org/10.1006%2Fjnth.1996.0064) by *Jan Kristian Haugland*, Journal of Number Theory Volume 58, Issue 1, p 71-78, 1996 -/ @[category research solved, AMS 5 11] theorem minimum_overlap.variants.upper.haugland_1996 : ...
488
leanexplore_declaration
leanexplore:382996
leanexplore_sqlite
leanexplore_declarations
/-- An upper bound of $\frac 2 5$. See [Minimal overlapping under translation.](https://projecteuclid.org/journals/bulletin-of-the-american-mathematical-society/volume-62/issue-6) by *T. S. Motzkin*, *K. E. Ralston* and *J. L. Selfridge*, in "The summer meeting in Seattle" by *V. L. Klee Jr.*, Bull. Amer. Math. Soc.62,...
267
leanexplore_declaration
leanexplore:382997
leanexplore_sqlite
leanexplore_declarations
/-- The example (with $N$ even), $A = \{\frac N 2 + 1, \dots, \frac{3N}{2}\}$ shows an upper bound of $\frac 1 2$. -/ @[category research solved, AMS 5 11] theorem minimum_overlap.variants.upper.erdos_1955 : atTop.limsup MinOverlapQuotient ≤ (1 : ℝ) / 2 := by sorry
284
leanexplore_declaration
leanexplore:382998
leanexplore_sqlite
leanexplore_declarations
/-- A lower bound of $0.379005$. See [Erdős' minimum overlap problem](https://arxiv.org/abs/2201.05704) by *Ethan Patrick White*, 2022 -/ @[category research solved, AMS 5 11] theorem minimum_overlap.variants.lower.white_2022 : 0.379005 < atTop.liminf MinOverlapQuotient := by sorry
232
leanexplore_declaration
leanexplore:382999
leanexplore_sqlite
leanexplore_declarations
/-- A lower bound of $\sqrt{4 - \sqrt{15}}$. -/ @[category research solved, AMS 5 11] theorem minimum_overlap.variants.lower.haugland_1996 : (4 - 15 ^((1 : ℝ) / 2)) ^ ((1 : ℝ) / 2) < atTop.liminf MinOverlapQuotient := by sorry
430
leanexplore_declaration
leanexplore:383000
leanexplore_sqlite
leanexplore_declarations
/-- A lower bound of $\frac{4 - \sqrt{6}}{5}. See [On the intersection of a linear set with the translation of its complement](https://bibliotekanauki.pl/articles/969027) by *Stanisław Świerczkowski1*, Colloquium Mathematicum 5(2), p. 185-197, 1958 -/ @[category research solved, AMS 5 11] theorem minimum_overlap.varia...
362
leanexplore_declaration
leanexplore:383001
leanexplore_sqlite
leanexplore_declarations
/-- A lower bound of $1 - frac{1}{\sqrt 2}$. Scherk (written communication), see [On the minimal overlap problem of Erdös](https://eudml.org/doc/206397) by *Leo Moser*, Аста Аrithmetica V, p. 117-119, 1959 -/ @[category research solved, AMS 5 11] theorem minimum_overlap.variants.lower.scherk_1955 : 1 - (√2)⁻¹ < atT...
329
leanexplore_declaration
leanexplore:383002
leanexplore_sqlite
leanexplore_declarations
/-- A lower bound of $\frac 1 4$. See [Some remarks on number theory (in Hebrew)](https://users.renyi.hu/~p_erdos/1955-13.pdf) by *Paul Erdős*, Riveon Lematematika 9, p.45-48,1955 -/ @[category graduate, AMS 5 11] theorem minimum_overlap.variants.lower.erdos_1955 : (1 : ℝ) / 4 < atTop.liminf MinOverlapQuotient := b...
255
leanexplore_declaration
leanexplore:383003
leanexplore_sqlite
leanexplore_declarations
/-- The quotient of the minimum maximum overlap $M(N)$ by $N$. The central question of the minimum overlap problem is to determine the asymptotic behavior of this quotient as $N \to \infty$. -/ noncomputable def MinOverlapQuotient (N : ℕ) := (M N : ℝ) / N
65
leanexplore_declaration
leanexplore:383004
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5 11] theorem M_five : M 5 = 3 := by sorry
65
leanexplore_declaration
leanexplore:383005
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5 11] theorem M_four : M 4 = 2 := by sorry
66
leanexplore_declaration
leanexplore:383006
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5 11] theorem M_three : M 3 = 2 := by sorry
64
leanexplore_declaration
leanexplore:383007
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5 11] theorem M_two : M 2 = 1 := by sorry
447
leanexplore_declaration
leanexplore:383008
leanexplore_sqlite
leanexplore_declarations
/-- This example calculates the value of $M 1$. The set is $\{1, 2\}$, so the only partition is $A = \{1\}, B = \{2\}$ (or vice versa). The possible differences are $1 - 2 = -1$ and $2 - 1 = 1$. The `Overlap` for $k=-1$ is 1 (if $A=\{1\}, B=\{2\}$) and for $k=1$ also 1 (if $A=\{2\}, B=\{1\}$ ). The `MaxOverlap` is $1$,...
465
leanexplore_declaration
leanexplore:383009
leanexplore_sqlite
leanexplore_declarations
/-- Let $A$ and $B$ be two complementary subsets, a splitting of the numbers $\{1, 2, \dots, 2n\}$, such that both have the same cardinality $n$. Define $M(n)$ to be the minimum `MaxOverlap` that can be achieved, ranging over all such partitions $(A, B)$. -/ noncomputable def M (n : ℕ) : ℕ := sInf {MaxOverlap A B | (...
186
leanexplore_declaration
leanexplore:383010
leanexplore_sqlite
leanexplore_declarations
/-- The maximum overlap for a given pair of sets $A$ and $B$, taken over all possible integer differences $k$. -/ noncomputable def MaxOverlap (A B : Finset ℤ) : ℕ := iSup <| Overlap A B
270
leanexplore_declaration
leanexplore:383011
leanexplore_sqlite
leanexplore_declarations
/-- The number of solutions to the equation $a - b = k$, for $a \in A$ and $b \in B$. This represents the "overlap" between sets $A$ and $B$ for a given difference $k$. -/ def Overlap (A B : Finset ℤ) (k : ℤ) : ℕ := ((A.product B).filter <| fun (a, b) => a - b = k).card
757
leanexplore_declaration
leanexplore:383012
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many $n$ such that the largest prime factor of $n$ is $< n^{\frac{1}{2}}$ and the largest prime factor of $n + 1$ is $< (n + 1)^{\frac{1}{2}}$. Steinerberger has pointed out this problem has a trivial solution. This was formalized in Lean by Alexeev using Aristotle. -/ @[category research sol...
271
leanexplore_declaration
leanexplore:383013
leanexplore_sqlite
leanexplore_declarations
/-- Let $P(n)$ denote the largest prime factor of $n$. Show that the set of $n$ with $P(n+1) > P(n)$ has density $\frac{1}{2}$. -/ @[category research open, AMS 11] theorem erdos_371 : { n | Nat.maxPrimeFac (n + 1) > Nat.maxPrimeFac n }.HasDensity (1/2) := by sorry
301
leanexplore_declaration
leanexplore:383014
leanexplore_sqlite
leanexplore_declarations
/-- Surányi was the first to conjecture that the only non-trivial solution to `a!b!=n!` is `6!7!=10!`. -/ @[category research open, AMS 11] theorem erdos_373.variants.suranyi : {(n, a, b) : ℕ × ℕ × ℕ | n ! = a ! * b ! ∧ 1 < n ∧ 1 < a ∧ 1 < b ∧ b ≤ a ∧ a + 1 ≠ n} = {(10, 7, 6)} := by sorry
279
leanexplore_declaration
leanexplore:383015
leanexplore_sqlite
leanexplore_declarations
/-- Hickerson conjectured the largest solution the equation `n!=a_1!a_2!···a_k!`, with `n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, is `16!=14!5!2!`. -/ @[category research open, AMS 11] theorem erdos_373.variants.maximal_solution : (16, [14, 5, 2]) ∈ S ∧ ∀ s ∈ S, s.fst ≤ 16 := by sorry
414
leanexplore_declaration
leanexplore:383016
leanexplore_sqlite
leanexplore_declarations
/-- Show that if `P(n(n−1)) > 4 log n` for large enough `n`, where `P(m)` denotes the largest prime factor of `m`, then the equation `n!=a_1!a_2!···a_k!`, with `n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, has only finitely many solutions. -/ @[category research solved, AMS 11] theorem erdos_373.variants.of_lower_bound (H : ∀ᶠ (n...
405
leanexplore_declaration
leanexplore:383017
leanexplore_sqlite
leanexplore_declarations
/-- Show that if `P(n(n+1)) / log n → ∞` where `P(m)` denotes the largest prime factor of `m`, then the equation `n!=a_1!a_2!···a_k!`, with `n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, has only finitely many solutions. -/ @[category research solved, AMS 11] theorem erdos_373.variants.of_limit (H : Filter.atTop.Tendsto (fun (n : ...
198
leanexplore_declaration
leanexplore:383018
leanexplore_sqlite
leanexplore_declarations
/-- Show that the equation `n!=a_1!a_2!···a_k!`, with `n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, has only finitely many solutions. -/ @[category research open, AMS 11] theorem erdos_373 : S.Finite := by sorry
271
leanexplore_declaration
leanexplore:383019
leanexplore_sqlite
leanexplore_declarations
/-- Let `S` be the set of non-trivial solutions to the equation `n! = a₁! ··· aₖ!` such that `a₁ ≥ ... ≥ aₖ` and `n-1 > a₁`. -/ abbrev S : Set (ℕ × List ℕ) := {(n, l) | n ! = (l.map Nat.factorial).prod ∧ l.Pairwise (· ≥ ·) ∧ l.headI < (n - 1 : ℕ) ∧ ∀ a ∈ l, 1 < a }
703
leanexplore_declaration
leanexplore:383020
leanexplore_sqlite
leanexplore_declarations
/-- There exists a constant `c > 0` such that for all `n`, if `k < c * (log n / (log (log n))) ^ 3 → (∀ i < k, ¬ (n + i + 1).Prime)`, then there are distinct primes `p₁, ... pₖ` such that `pᵢ ∣ n + i` for all `1 ≤ i ≤ k`. This is proved in [RST75]. There is no need to only consider sufficiently large `n` because one ca...
983
leanexplore_declaration
leanexplore:383021
leanexplore_sqlite
leanexplore_declarations
/-- It is easy to see that for any `n ≥ 1` and `k ≤ 2`, if `n + 1, ..., n + k` are all composite, then there are distinct primes `p₁, ... pₖ` such that `pᵢ ∣ n + i` for all `1 ≤ i ≤ k`. -/ @[category research solved, AMS 11] theorem erdos_375.variants.le_two : ∀ n ≥ 1, ∀ k ≤ 2, (∀ i < k, ¬ (n + i + 1).Prime) → ∃ p ...
349
leanexplore_declaration
leanexplore:383022
leanexplore_sqlite
leanexplore_declarations
/-- In particular, if `Erdos375Prop` is true, then Legendre's conjecture is asymptotically true. -/ @[category research solved, AMS 11] theorem erdos_375.variants.legendre : Erdos375Prop → (∀ᶠ n in atTop, ∃ p ∈ Set.Ioo (n ^ 2) ((n + 1) ^ 2), Nat.Prime p) := fun hp => LegendreConjecture.bounded_gap_legendre (erdos...
342
leanexplore_declaration
leanexplore:383023
leanexplore_sqlite
leanexplore_declarations
/-- If `Erdos375Prop` is true, then `(n + 1).nth Prime - n.nth Prime < (n.nth Prime) ^ (1 / 2 - c)` for some `c > 0`. -/ @[category research solved, AMS 11] theorem erdos_375.variants.bounded_gap : Erdos375Prop → ∃ c > 0, ∀ᶠ n in atTop, (n + 1).nth Nat.Prime - n.nth Nat.Prime < (n.nth Nat.Prime : ℝ) ^ (1 / (2 :...
127
leanexplore_declaration
leanexplore:383024
leanexplore_sqlite
leanexplore_declarations
/-- Is `Erdos375Prop` true? -/ @[category research open, AMS 11] theorem erdos_375 : answer(sorry) ↔ Erdos375Prop := by sorry
343
leanexplore_declaration
leanexplore:383025
leanexplore_sqlite
leanexplore_declarations
/-- This is a proposition saying that for any `n ≥ 1` and any `k`, if `n + 1, ..., n + k` are all composite, then there are distinct primes `p₁, ... pₖ` such that `pᵢ ∣ n + i` for all `1 ≤ i ≤ k`. -/ def Erdos375Prop : Prop := ∀ n ≥ 1, ∀ k, (∀ i < k, ¬ (n + i + 1).Prime) → ∃ p : Fin k → ℕ, p.Injective ∧ ∀ i, (p i)....
388
leanexplore_declaration
leanexplore:383026
leanexplore_sqlite
leanexplore_declarations
/-- Erdős, Graham, Ruzsa, and Straus [EGRS75] have shown that, for any two odd primes $p$ and $q$, there are infinite many $n$ such that ${2n\choose n}$ is coprime to $pq$. -/ @[category research solved, AMS 11] theorem erdos_376.variants.prime {p q : ℕ} (h₁ : p.Prime) (h₂ : Odd p) (h₃ : q.Prime) (h₄ : Odd q) : ...
217
leanexplore_declaration
leanexplore:383027
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many $n$ such that ${2n\choose n}$ is coprime to $105$? -/ @[category research open, AMS 11] theorem erdos_376 : answer(sorry) ↔ { (n : ℕ) | n.centralBinom.Coprime 105 }.Infinite := by sorry
535
leanexplore_declaration
leanexplore:383028
leanexplore_sqlite
leanexplore_declarations
/-- Erdos, Graham, Ruzsa, and Straus proved that if $$ f(n) = \sum_{p \leq n} 1_{p\nmid {2n \choose n}}\frac{1}{p} $$ then there is some constant $c < 1$ such that for all large $n$ $$ f(n) \leq c \log\log n. $$ [EGRS75] Erdős, P. and Graham, R. L. and Ruzsa, I. Z. and Straus, E. G., _On the prime factors of $\bin...
646
leanexplore_declaration
leanexplore:383029
leanexplore_sqlite
leanexplore_declarations
/-- Erdos, Graham, Ruzsa, and Straus proved that if $$ f(n) = \sum_{p \leq n} 1_{p\nmid {2n \choose n}}\frac{1}{p} $$ and $$ \gamma_0 = \sum_{k = 2}^{\infty} \frac{\log k}{2^k} $$ then for almost all integers $f(m) = \gamma_0 + o(1)$. [EGRS75] Erdős, P. and Graham, R. L. and Ruzsa, I. Z. and Straus, E. G., _On the...
696
leanexplore_declaration
leanexplore:383030
leanexplore_sqlite
leanexplore_declarations
/-- Erdos, Graham, Ruzsa, and Straus proved that if $$ f(n) = \sum_{p \leq n} 1_{p\nmid {2n \choose n}}\frac{1}{p} $$ and $$ \gamma_0 = \sum_{k = 2}^{\infty} \frac{\log k}{2^k} $$ then $$ \lim_{x\to\infty} \frac{1}{x}\sum_{n\leq x} f(n)^2 = \gamma_0^2 $$ [EGRS75] Erdős, P. and Graham, R. L. and Ruzsa, I. Z. and ...
675
leanexplore_declaration
leanexplore:383031
leanexplore_sqlite
leanexplore_declarations
/-- Erdos, Graham, Ruzsa, and Straus proved that if $$ f(n) = \sum_{p \leq n} 1_{p\nmid {2n \choose n}}\frac{1}{p} $$ and $$ \gamma_0 = \sum_{k = 2}^{\infty} \frac{\log k}{2^k} $$ then $$ \lim_{x\to\infty} \frac{1}{x}\sum_{n\leq x} f(n) = \gamma_0 $$ [EGRS75] Erdős, P. and Graham, R. L. and Ruzsa, I. Z. and Stra...
288
leanexplore_declaration
leanexplore:383032
leanexplore_sqlite
leanexplore_declarations
/-- Is there some absolute constant $C > 0$ such that $$ \sum_{p \leq n} 1_{p\nmid {2n \choose n}}\frac{1}{p} \leq C $$ for all $n$? -/ @[category research open, AMS 11] theorem erdos_377 : answer(sorry) ↔ ∃ C > (0 : ℝ), ∀ (n : ℕ), sumInvPrimesNotDvdCentralBinom n ≤ C := by sorry
262
leanexplore_declaration
leanexplore:383033
leanexplore_sqlite
leanexplore_declarations
/-- The sum of the inverses of all primes smaller than $n$, which don't divide the central binom coefficient. -/ noncomputable abbrev sumInvPrimesNotDvdCentralBinom (n : ℕ) : ℝ := ∑ p ∈ Finset.Icc 1 n with p.Prime, if p ∣ n.centralBinom then 0 else (1 : ℝ) / p
679
leanexplore_declaration
leanexplore:383034
leanexplore_sqlite
leanexplore_declarations
/-- Let $S(n)$ denote the largest integer such that, for all $1 ≤ k < n$, the binomial coefficient $\binom{n}{k}$ is divisible by $p^S(n)$ for some prime $p$ (depending on $k$).Then $\limsup S(n) = \infty$. This was formalized in Lean by Tao. -/ @[category research solved, AMS 11, formal_proof using lean4 at "https://...
100
leanexplore_declaration
leanexplore:383035
leanexplore_sqlite
leanexplore_declarations
noncomputable def S (n : ℕ) : ℕ := sSup {s | ∀ k ∈ Finset.Ico 1 n, ∃ p, p.Prime ∧ p^s ∣n.choose k}
334
leanexplore_declaration
leanexplore:383036
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that for every $k$ there are infinitely many primes $p$ such that the largest prime divisor of $$ \prod_{i = 0}^k (p ^ 2 + i) $$ is $p$? -/ @[category research open, AMS 11] theorem erdos_383 : answer(sorry) ↔ ∀ k, {p : ℕ | p.Prime ∧ Nat.maxPrimeFac (∏ i ∈ Finset.Icc 0 k, (p ^ 2 + i)) = p}.Infinite...
322
leanexplore_declaration
leanexplore:383037
leanexplore_sqlite
leanexplore_declarations
/-- A question of Erdős, Eggleton, and Selfridge, who write that in fact it is possible that this quantity is always at least $n+(1-o(1))\sqrt{n}$ -/ @[category research open, AMS 11] theorem erdos_385.variants.lb : answer(sorry) ↔ ∃ (e : ℕ → ℝ) (he : e =o[atTop] (1 : ℕ → ℝ)), ∀ n, n + (1 - e n) * √n ≤ F n := sor...
295
leanexplore_declaration
leanexplore:383038
leanexplore_sqlite
leanexplore_declarations
/-- Let $F(n) := \max\{m + p(m) \mid \textrm{$m < n$ composite}\}\}$ where $p(m)$ is the least prime divisor of $m$. Does $F(n) - n \to \infty$ as $n\to\infty$? -/ @[category research open, AMS 11] theorem erdos_385.parts.ii : answer(sorry) ↔ atTop.Tendsto (fun n ↦ F n - n) atTop := by sorry
292
leanexplore_declaration
leanexplore:383039
leanexplore_sqlite
leanexplore_declarations
/-- Let $F(n) := \max\{m + p(m) \mid \textrm{$m < n$ composite}\}\}$ where $p(m)$ is the least prime divisor of $m$. Is it true that $F(n)>n$ for all sufficiently large $n$? -/ @[category research open, AMS 11] theorem erdos_385.parts.i : answer(sorry) ↔ ∀ᶠ n in atTop, n < F n := by sorry
133
leanexplore_declaration
leanexplore:383040
leanexplore_sqlite
leanexplore_declarations
/-- Note that trivially $F(n) \leq n + \sqrt{n}$. -/ @[category test, AMS 11] theorem trivial_ub (n : ℕ) : F n ≤ n + √n := by sorry
203
leanexplore_declaration
leanexplore:383041
leanexplore_sqlite
leanexplore_declarations
/-- Let $F(n) := \max\{m + p(m) \mid \textrm{$m < n$ composite}\}\}$ where $p(m)$ is the least prime divisor of $m$. -/ noncomputable def F (n : ℕ) : ℕ := sSup {m + m.minFac | (m < n) (_ : m.Composite)}
273
leanexplore_declaration
leanexplore:383042
leanexplore_sqlite
leanexplore_declarations
/-- Can $\binom{n}{2}$ be the product of consecutive primes infinitely often? -/ @[category research open, AMS 11] theorem erdos_386.variants.two : answer(sorry) ↔ ∃ᶠ n in .atTop, 2 ≤ n - 2 ∧ ∃ p q : ℕ, n.choose 2 = ∏ i ∈ .Ico p q, nth Nat.Prime i := by sorry
314
leanexplore_declaration
leanexplore:383043
leanexplore_sqlite
leanexplore_declarations
/-- For all $2 \le k \le n - 2$, can $\binom{n}{k}$ be the product of consecutive primes infinitely often? -/ @[category research open, AMS 11] theorem erdos_386.variants.forall : answer(sorry) ↔ ∀ k ≥ 2, ∃ᶠ n in .atTop, k ≤ n - 2 ∧ ∃ p q : ℕ, n.choose k = ∏ i ∈ .Ico p q, nth Nat.Prime i := by sorry
319
leanexplore_declaration
leanexplore:383044
leanexplore_sqlite
leanexplore_declarations
/-- There is a $k$, such that $2 \le k \le n - 2$ and $\binom{n}{k}$ can be the product of consecutive primes infinitely often? -/ @[category research open, AMS 11] theorem erdos_386 : answer(sorry) ↔ ∃ k ≥ 2, ∃ᶠ n in .atTop, k ≤ n - 2 ∧ ∃ p q : ℕ, n.choose k = ∏ i ∈ .Ico p q, nth Nat.Prime i := by sorry
399
leanexplore_declaration
leanexplore:383045
leanexplore_sqlite
leanexplore_declarations
/-- Is it true for any `c < 1` and all `n` sufficiently large, for all `1 ≤ k < n`, `n.choose k` has a divisor in `(cn, n]`? This is a variant of `erdos_387` and appears in [Gu04]. -/ @[category research open, AMS 11] theorem erdos_387.variants.guy : answer(sorry) ↔ ∀ c : ℝ, c < 1 → ∀ᶠ n : ℕ in atTop, ∀ k : ℕ, 1 ≤ k → ...
692
leanexplore_declaration
leanexplore:383046
leanexplore_sqlite
leanexplore_declarations
/-- It is easy to see that `n.choose k` has a divisor in `[n / k, n]`. -/ @[category research solved, AMS 11] theorem erdos_387.variants.easy {n : ℕ} {k : ℕ} (hn : 1 ≤ n) (hk : k ≤ n) : ∃ d : ℕ, (d : ℝ) ∈ Set.Icc (n / k : ℝ) n ∧ d ∣ n.choose k := by by_cases k = 0 <;> simp_all refine ⟨(n.choose k).gcd n, ⟨?_, ?...
248
leanexplore_declaration
leanexplore:383047
leanexplore_sqlite
leanexplore_declarations
/-- The following is Schinzel's conjecture, which appears in [Gu04]. -/ @[category research open, AMS 11] theorem erdos_387.variants.schinzel : answer(sorry) ↔ ∀ᶠ k in atTop, ¬ IsPrimePow k → ∃ n : ℕ, ∀ i < k, ¬ n - i ∣ n.choose k := by sorry
328
leanexplore_declaration
leanexplore:383048
leanexplore_sqlite
leanexplore_declarations
/-- Is there an absolute constant `c > 0` such that, for all `1 ≤ k < n`, the binomial coefficient `n.choose k` has a divisor in `(cn, n]`? -/ @[category research open, AMS 11] theorem erdos_387 : answer(sorry) ↔ ∃ c : ℝ, 0 < c ∧ ∀ n k : ℕ, 1 ≤ k → k < n → ∃ d : ℕ, (d : ℝ) ∈ Set.Ioc (c * n) n ∧ d ∣ n.choose k := by...
324
leanexplore_declaration
leanexplore:383049
leanexplore_sqlite
leanexplore_declarations
/-- Bhavik Mehta has computed the minimal such $k$ for $1 \leq n \leq 18$. For example, the minimal $k$ for $n = 4$ is $207$. -/ @[category high_school, AMS 11] theorem erdos_389.variants.mehta_four : IsLeast { k | 1 ≤ k ∧ ∏ i ∈ Finset.range k, (4 + i) ∣ ∏ i ∈ Finset.range k, (4 + k + i) } 207 := by s...
310
leanexplore_declaration
leanexplore:383050
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that for every $n \geq 1$ there is a $k$ such that $$ n(n + 1) \cdots (n + k - 1) \mid (n + k) \cdots (n + 2k - 1)? $$ -/ @[category research open, AMS 11] theorem erdos_389 : answer(sorry) ↔ ∀ n ≥ 1, ∃ k ≥ 1, ∏ i ∈ Finset.range k, (n + i) ∣ ∏ i ∈ Finset.range k, (n + k + i) := by sorry
970
leanexplore_declaration
leanexplore:383051
leanexplore_sqlite
leanexplore_declarations
/-- Does there exist $B \subset \mathbb{N}$ which is not an additive basis, but is such that for every set $A \subseteq \mathbb{N}$ of Schnirelmann density $\alpha$ and every $N$ there exists $b \in B$ such that \[ \lvert (A \cup (A+b)) \cap \{1, \ldots, N\} \rvert \geq (\alpha + f(\alpha)) N \] where $f(\alpha) > 0$...
252
leanexplore_declaration
leanexplore:383052
leanexplore_sqlite
leanexplore_declarations
/-- Does there exists a constant `c` such that `f n - 2 * n ~ c * (n / log n)`? -/ @[category research open, AMS 11] theorem erdos_390 : answer(sorry) ↔ ∃ c, (fun n => f n - 2 * n : ℕ → ℝ) ~[atTop] (fun n => c * n / log (n : ℝ)) := by sorry
221
leanexplore_declaration
leanexplore:383053
leanexplore_sqlite
leanexplore_declarations
/-- `f n - 2 * n = θ (n / log n)`. This is proved in [EGS82]. -/ @[category research solved, AMS 11] theorem erdos_390.variants.theta : (fun n => f n - 2 * n : ℕ → ℝ) =Θ[atTop] (fun n => n / log (n : ℝ)) := by sorry
287
leanexplore_declaration
leanexplore:383054
leanexplore_sqlite
leanexplore_declarations
/-- Let `f n` be the smallest integer for which `n!` can be represented as the product of distinct integers greater than n, the largest of which is `f n`. -/ noncomputable def f (n : ℕ) : ℕ := sInf {m : ℕ | ∃ k, ∃ f : ℕ → ℕ, StrictMono f ∧ n < f 0 ∧ f (k - 1) = m ∧ ∏ i < k, f i = n !}
387
leanexplore_declaration
leanexplore:383055
leanexplore_sqlite
leanexplore_declarations
/-- Cambie has observed that a positive answer follows from the result above with $a_t \leq n$, simply by pairing variables together, e.g. taking $a'_i = a_{2i-1}a_{2i}$ (and the lower bound follows from Stirling's approximation). -/ @[category research solved, AMS 11] theorem erdos_392.variants.implication (h : type_o...
465
leanexplore_declaration
leanexplore:383056
leanexplore_sqlite
leanexplore_declarations
/-- If we change the condition to $a_t \leq n$ it can be shown that $$ A(n) = n - \frac{n}{\log n} + o\left(\frac{n}{\log n}\right) $$ -/ @[category research solved, AMS 11] theorem erdos_392.variants.lower (A : ℕ → ℕ) (hA : ∀ n > 0, IsLeast { t + 1 | (t) (_ : ∃ a : Fin (t + 1) → ℕ, (n)! = ∏ i, a i ∧ ...
666
leanexplore_declaration
leanexplore:383057
leanexplore_sqlite
leanexplore_declarations
/-- Let $A(n)$ denote the least value of $t$ such that $$ n! = a_1 \cdots a_t $$ with $a_1 \leq \cdots \leq a_t\leq n^2$. Then $$ A(n) = \frac{n}{2} - \frac{n}{2\log n} + o\left(\frac{n}{\log n}\right). $$ -/ @[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/AlexKontorovich/PrimeNu...
233
leanexplore_declaration
leanexplore:383058
leanexplore_sqlite
leanexplore_declarations
/-- They proved (with Selfridge) that this holds for $n=10$. -/ @[category research solved, AMS 11] theorem erdos_394.variants.factorial_gap_10 : ∀ (k : ℕ), 2 ≤ k → k < 10 → t k (10 !) < t (k - 1) (10 !) - 1 := by sorry
359
leanexplore_declaration
leanexplore:383059
leanexplore_sqlite
leanexplore_declarations
/-- They ask about the behaviour of $t_{n-3}(n!)$ and also ask whether, for infinitely many $n$, $t_k(n!)< t_{k-1}(n!)-1$ for all $1\leq k < n$. -/ @[category research open, AMS 11] theorem erdos_394.variants.factorial_gap_conjecture : answer(sorry) ↔ Set.Infinite { n : ℕ | ∀ k, 2 ≤ k → k < n → t k (n !...
274
leanexplore_declaration
leanexplore:383060
leanexplore_sqlite
leanexplore_declarations
/-- Since $t_2(p)=p-1$ for prime $p$ it is trivial that $\sum_{n\leq x}t_2(n)\gg \frac{x^2}{\log x}$. -/ @[category research solved, AMS 11] theorem erdos_394.variants.lower_bound : (fun x ↦ x ^ 2 / Real.log x) ≫ (fun x ↦ ∑ n ∈ Icc 1 ⌊x⌋₊, (t 2 n : ℝ)) := by sorry
296
leanexplore_declaration
leanexplore:383061
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Hall conjecture that the sum is $o(x^2/(\log x)^c)$ for any $c<\log 2$. -/ @[category research open, AMS 11] theorem erdos_394.variants.hall_conjecture : ∀ c < Real.log 2, (fun x ↦ ∑ n ∈ Icc 1 ⌊x⌋₊, (t 2 n : ℝ)) =o[atTop] (fun x ↦ x ^ 2 / (Real.log x) ^ c) := by sorry
428
leanexplore_declaration
leanexplore:383062
leanexplore_sqlite
leanexplore_declarations
/-- In [ErGr80] they mention a conjecture of Erdős that the sum is $o(x^2)$. This was proved by Erdős and Hall [ErHa78], who proved that in fact $\sum_{n\leq x}t_2(n)\ll \frac{\log\log\log x}{\log\log x}x^2.$ -/ @[category research solved, AMS 11] theorem erdos_394.variants.hall_bound : (fun x ↦ ∑ n ∈ Icc 1 ⌊x⌋₊, (...
340
leanexplore_declaration
leanexplore:383063
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that, for $k\geq 2$, $\sum_{n\leq x}t_{k+1}(n) =o\left(\sum_{n\leq x}t_k(n)\right)?$ -/ @[category research open, AMS 11] theorem erdos_394.parts.ii : answer(sorry) ↔ ∀ k ≥ 2, (fun (x : ℝ) ↦ ∑ n ∈ Icc 1 ⌊x⌋₊, (t (k + 1) n : ℝ)) =o[atTop] (fun (x : ℝ) ↦ ∑ n ∈ Icc 1 ⌊x⌋₊, (t k n...
281
leanexplore_declaration
leanexplore:383064
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that $\sum_{n\leq x}t_2(n)\ll \frac{x^2}{(\log x)^c}$ for some $c>0$? -/ @[category research open, AMS 11] theorem erdos_394.parts.i : answer(sorry) ↔ ∃ c > 0, (fun x ↦ ∑ n ∈ Icc 1 ⌊x⌋₊, (t 2 n : ℝ)) ≪ (fun x ↦ x ^ 2 / (Real.log x) ^ c) := by sorry
176
leanexplore_declaration
leanexplore:383065
leanexplore_sqlite
leanexplore_declarations
/-- Let $t_k(n)$ denote the least $m$ such that $n\mid m(m+1)(m+2)\cdots (m+k-1).$ -/ noncomputable def t (k n : ℕ) : ℕ := sInf { m : ℕ | 0 < m ∧ n ∣ ∏ i ∈ range k, (m + i) }
257
leanexplore_declaration
leanexplore:383066
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that for every $k$ there exists $n$ such that $$\prod_{0\leq i\leq k}(n-i) \mid \binom{2n}{n}?$$ -/ @[category research open, AMS 11] theorem erdos_396 : answer(sorry) ↔ ∀ k : ℕ, ∃ n : ℕ, descFactorial n (k + 1) ∣ centralBinom n := by sorry
1,219
leanexplore_declaration
leanexplore:383067
leanexplore_sqlite
leanexplore_declarations
/-- Are there only finitely many solutions to $$ \prod_i \binom{2m_i}{m_i}=\prod_j \binom{2n_j}{n_j} $$ with the $m_i,n_j$ distinct? Somani, using ChatGPT, has given a negative answer. In fact, for any $a\geq 2$, if $c=8a^2+8a+1$, $\binom{2a}{a}\binom{4a+4}{2a+2}\binom{2c}{c}= \binom{2a+2}{a+1}\binom{4a}{2a}\binom{2...
220
leanexplore_declaration
leanexplore:383068
leanexplore_sqlite
leanexplore_declarations
/-- **Brocard's Problem** Does $n! + 1 = m^2$ have integer solutions other than $n = 4, 5, 7$? -/ @[category research open, AMS 11] theorem erdos_398 : answer(sorry) ↔ {n | ∃ m, n ! + 1 = m ^ 2} = {4, 5, 7} := by sorry
522
leanexplore_declaration
leanexplore:383069
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Obláth observed that the Bertrand-style fact (first proved by Breusch [Br32]) that, if $q_i$ is the sequence of primes congruent to $3\pmod{4}$ then $q_{i+1}<2q_i$ except for $q_1=3$, together with Fermat's theorem on the sums of two squares implies that the only solution to $n!=x^2+y^2$ is $6!=12^2+24^2$...
276
leanexplore_declaration
leanexplore:383070
leanexplore_sqlite
leanexplore_declarations
/-- Cambie has also observed that considerations modulo $8$ rule out any solutions to $n!=x^4+y^4$ with $(x,y)=1$ and $xy>1$. -/ @[category research solved, AMS 11] theorem erdos_399.variants.cambie {n x y : ℕ} : x.Coprime y → 1 < x * y → n ! ≠ x ^ 4 + y ^ 4 := by sorry
201
leanexplore_declaration
leanexplore:383071
leanexplore_sqlite
leanexplore_declarations
/-- Pollack and Shapiro [PoSh73] proved there are no solutions to $n!=x^4-1$. -/ @[category research solved, AMS 11] theorem erdos_399.variants.pollack_shapiro (n x : ℕ) : n ! + 1 ≠ x ^ 4 := by sorry
282
leanexplore_declaration
leanexplore:383072
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Obláth [ErOb37] proved this is true when $(x,y)=1$ and $k\neq 4$. -/ @[category research solved, AMS 11] theorem erdos_399.variants.erdos_oblath {n x y k : ℕ} : x.Coprime y → 1 < x * y → 2 < k → k ≠ 4 → n ! ≠ x ^ k + y ^ k ∧ n ! + y ^ k ≠ x ^ k := by sorry
711
leanexplore_declaration
leanexplore:383073
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that there are no solutions to `n! = x^k ± y^k` with `x,y,n ∈ ℕ`, `x*y > 1`, and `k > 2`? The answer is no: Jonas Barfield found the counterexample `10! = 48^4 - 36^4` (equivalently, `10! + 36^4 = 48^4`). This is discussed in problem D2 of Guy's collection [Gu04]. This was formalized in Lean by Lu usi...
389
leanexplore_declaration
leanexplore:383074
leanexplore_sqlite
leanexplore_declarations
/-- Is there an infinite Sidon set $A\subset \mathbb{N}$ such that $\lvert A\cap \{1\ldots,N\}\rvert \gg_\epsilon N^{1/2-\epsilon}$ for all $\varepsilon > 0$? -/ @[category research open, AMS 11] theorem erdos_39 : answer(sorry) ↔ ∃ (A : Set ℕ), A.Infinite ∧ IsSidon A ∧ ∀ᵉ (ε > (0 : ℝ)), (· ^ (1 / 2 - ε) : ℕ ...
331
leanexplore_declaration
leanexplore:383075
leanexplore_sqlite
leanexplore_declarations
/-- If $A \subset \mathbb{N} has $\sum_{n \in A}\frac 1 n = \infty$, then must $A$ contain arbitrarily long arithmetic progressions? -/ @[category research open, AMS 11] theorem erdos_3 : answer(sorry) ↔ ∀ A : Set ℕ, (¬ Summable fun a : A ↦ 1 / (a : ℝ)) → ∃ᶠ (k : ℕ) in Filter.atTop, ∃ S ⊆ A, S.IsAPOfLength k :=...
1,564
leanexplore_declaration
leanexplore:383076
leanexplore_sqlite
leanexplore_declarations
/-- For $k \ge 2$, $g_k(n) > 0$. We show this by choosing $a = (n, 1, 0, \ldots, 0)$. -/ @[category test, AMS 11] theorem erdos_400.variants.g_pos (k n : ℕ) (h: k ≥ 2) : 0 < g k n := by obtain ⟨k', rfl⟩ : ∃ k', k = k' + 2 := ⟨k - 2, by omega⟩ simp only [g] -- Witness: a(0) = n, a(1) = 1, a(i) = 0 for i ≥ 2 set ...
306
leanexplore_declaration
leanexplore:383077
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Graham write that it is easy to show that $g_k(n) \ll_k \log n$ always, but the best possible constant is unknown. -/ @[category research solved, AMS 11] theorem erdos_400.variants.upper_bound (k : ℕ) (hk : k ≥ 2) : (fun n : ℕ ↦ (g k n : ℝ)) ≪ (fun n : ℕ ↦ Real.log (n : ℝ)) := by sorry