Title:Erdős Problem 946
Statement:There are infinitely many such that . Proved in [He84]. Here τ is the divisor counting function, which is
σ 0in mathlib.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.03724 [math.NT] · NS.03724v1 for this version |
| Declaration: | Erdos946.erdos_946 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 092184b39e680cebc17845d6a74c4fe9fc10cf8c9b2dc2ac340cf67519f8092d |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/946.lean |
Formal statement
theorem erdos_946 : {n : ℕ | σ 0 n = σ 0 (n + 1)}.InfiniteShow the full Challenge.lean (91 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 946
*References:*
- [erdosproblems.com/946](https://www.erdosproblems.com/946)
- [ErMi52] Erdős, P. and Mirsky, L., The distribution of values of the divisor function {$d(n)$}.
Proc. London Math. Soc. (3) (1952), 257--271.
- [Sp81] Spiro, C. A., The frequency with which an integral-valued, prime-independent,
multiplicative or additive function of n divides a polynomial function of n.
- [He84] Heath-Brown, D. R., The divisor function at consecutive integers.
Mathematika 31 (1984), no. 2, 141--149.
- [Hi85] Hildebrand, A., The divisor function at consecutive integers. Pacific J. Math.
(1987), 307--319
- [EPS87] Erdős, P., Pomerance, C., and Sarkőzy, A., On locally repeated values of
arithmetic functions. III. Proc. Amer. Math. Soc. (1987), 1--7.
-/
@[expose] public section
open Filter Real
open scoped ArithmeticFunction.sigma
namespace Erdos946
set_option linter.style.formal_proof_palomar false in
/--
There are infinitely many $n$ such that $τ(n) = τ(n+1)$. Proved in [He84].
Here τ is the divisor counting function, which is `σ 0` in mathlib.
-/
@[category research solved, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos946.lean#L75"]
theorem erdos_946 : {n : ℕ | σ 0 n = σ 0 (n + 1)}.Infinite := by
sorry
/--
There are infinitely many $n$ such that $τ(n) = τ(n + 5040)$. Proved in [Sp81].
-/
@[category research solved, AMS 11]
theorem erdos_946.variants.spiro_5040 : {n : ℕ | σ 0 n = σ 0 (n + 5040)}.Infinite := by
sorry
/-- Number of $n \le x$ with $τ(n) = τ(n+1)$. -/
noncomputable def erdos946Count (x : ℝ) : ℝ :=
((Finset.range (⌊x⌋₊ + 1)).filter (fun n => σ 0 n = σ 0 (n + 1))).card
/--
The number of $n \le x$ with $τ(n) = τ(n+1)$ is at least $x / (\log x)^7$ for all sufficiently
large $x$. Proved in [He84].
-/
@[category research solved, AMS 11]
theorem erdos_946.variants.heathbrown_lower_bound :
(fun x => x / (x.log)^7) =O[atTop] erdos946Count := by
sorry
/--
Improved lower bound in [Hi85]: $Ω(x / (\log \log x)^3)$.
-/
@[category research solved, AMS 11]
theorem erdos_946.variants.hildebrand_lower_bound :
(fun x => x / (x.log.log)^3) =O[atTop] erdos946Count := by
sorry
/--
Upper bound in [EPS87]: $O(x / \sqrt{\log \log x})$.
-/
@[category research solved, AMS 11]
theorem erdos_946.variants.upper_bound : erdos946Count =O[atTop] (fun x => x / √x.log.log ) := by
sorry
end Erdos946
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos946.erdos_946 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_946 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-946 nosorry submit erdos-946 nosorry/erdos-946/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-946-variants-spiro-5040 — known result
- erdos-946-variants-heathbrown-lower-bound — known result
- erdos-946-variants-hildebrand-lower-bound — known result
- erdos-946-variants-upper-bound — known result
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.