Title:Erdős Problem 470
Statement:Are there any odd weird numbers?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.02221 [math.NT] · NS.02221v1 for this version |
| Declaration: | Erdos470.erdos_470.parts.i |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 579dd0c0a255040cbfc688640b953f63ded5d685bea073d229989714a2b691e0 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/470.lean |
Formal statement
theorem erdos_470.parts.i : ∃ n : ℕ, n.Weird ∧ Odd nShow the full Challenge.lean (136 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 470
*Reference:* [erdosproblems.com/470](https://www.erdosproblems.com/470)
-/
@[expose] public section
namespace Erdos470
/--
Primitive weird numbers are weird numbers such that no proper divisor of $n$ are weird.
-/
def PrimitiveWeird (n : ℕ) := n.Weird ∧ ∀ d ∈ n.properDivisors, ¬d.Weird
/--
The abundancy index is the sum of the divisors of $n$ divided by $n$.
-/
def AbundancyIndex (n : ℕ) : ℚ := (∑ d ∈ n.divisors, d) / n
/--
Are there any odd weird numbers?
-/
@[category research open, question, AMS 11]
theorem erdos_470.parts.i : ∃ n : ℕ, n.Weird ∧ Odd n := by
sorry
/--
Are there infinitely many primitive weird numbers?
-/
@[category research open, question, AMS 11]
theorem erdos_470.parts.ii : Set.Infinite PrimitiveWeird := by
sorry
/--
Benkoski and Erdős [BeEr74](https://mathscinet.ams.org/mathscinet/relay-station?mr=347726) proved
that the set of weird numbers has positive density.
`HasPosDensity` is the right reading here, rather than the positive *lower* density that Erdős'
"positive density" usually abbreviates. Their Theorem 5 is stated as "the density of weird
numbers is positive", and they first establish that the density exists at all: "It is clear that
the weird numbers have a density since both the abundant numbers and the pseudoperfect numbers
have a density. (A weird number is abundant and not pseudoperfect.)" The work in the paper goes
into showing that density is not `0`.
-/
@[category research solved, AMS 11]
theorem erdos_470.variants.weird_pos_density : {n : ℕ | n.Weird}.HasPosDensity := by
sorry
/--
The smallest weird number is 70.
-/
@[category textbook, AMS 11]
theorem erdos_470.variants.smallest_weird_eq_70 : (∀ n < 70, ¬n.Weird) ∧ (70).Weird := by
refine ⟨?_, Nat.weird_seventy⟩
rintro n hn ⟨ha, hnp⟩
unfold Nat.Abundant at ha
apply hnp
-- For non-abundant `n`, `ha` is contradictory; for each abundant `n < 70`, exhibit an explicit
-- subset of its proper divisors summing to `n` (so `n` is pseudoperfect, hence not weird).
interval_cases n <;>
first
| exact absurd ha (by decide)
| exact ⟨by decide, ({2, 4, 6} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({3, 6, 9} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({1, 4, 5, 10} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({4, 8, 12} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({5, 10, 15} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({6, 12, 18} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({2, 8, 10, 20} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({7, 14, 21} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({8, 16, 24} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({9, 18, 27} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({2, 4, 8, 14, 28} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({10, 20, 30} : Finset ℕ), by decide, by decide⟩
| exact ⟨by decide, ({11, 22, 33} : Finset ℕ), by decide, by decide⟩
/--
Melfi [Me15](https://mathscinet.ams.org/mathscinet/relay-station?mr=3276337) has proved that there
are infinitely many primitive weird numbers, conditional on the fact that
$p_{n+1} - p_n < \frac{1}{10} \sqrt{p_n}$ for all large $n$, which in turn would follow from
well-known conjectures concerning prime gaps.
-/
@[category research solved, AMS 11]
theorem erdos_470.variants.prime_gap_imp_inf_prim_weird :
(∀ᶠ n in Filter.atTop, primeGap n < √ (n.nth Nat.Prime) / 10) →
Set.Infinite PrimitiveWeird := by
sorry
/--
Fang [Fa22](https://arxiv.org/abs/2207.12906) has shown there are no odd weird numbers below $10^{21}$.
-/
@[category research solved, AMS 11]
theorem erdos_470.variants.odd_weird_10_pow_21 : ∀ n < 10 ^ 21, Odd n → ¬n.Weird := by
sorry
/--
Liddy and Riedl [LiRi18](https://ideaexchange.uakron.edu/honors_research_projects/728/) have shown
that an odd weird number must have at least 6 prime divisors.
-/
@[category research solved, AMS 11]
theorem erdos_470.variants.odd_weird_prime_div :
∀ n : ℕ, Odd n → n.Weird → 6 ≤ {m | m ∈ n.divisors ∧ m.Prime}.ncard := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
If there are no odd weird numbers then every weird number has abundancy index < 4.
-/
@[category research solved, AMS 11,
formal_proof using lean4 at "https://github.com/HowieHwong/lean-erdos-proofs/blob/40216cfee225ec5c9f122a48703e671a9f47db90/Erdos/P470.lean#L88"]
theorem erdos_470.variants.abundancy_index :
(∀ n : ℕ, n.Weird → ¬Odd n) → ∀ n, n.Weird → AbundancyIndex n < 4 := by
sorry
end Erdos470
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos470.erdos_470.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-470 nosorry submit erdos-470 nosorry/erdos-470/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-470-parts-ii — open
- erdos-470-variants-weird-pos-density — known result
- erdos-470-variants-smallest-weird-eq-70 — textbook
- erdos-470-variants-prime-gap-imp-inf-prim-weird — known result
- erdos-470-variants-odd-weird-10-pow-21 — known result
- erdos-470-variants-odd-weird-prime-div — known result
- erdos-470-variants-abundancy-index — 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.