Journal / Erdős Problem #470 (odd weird numbers) / what changed
What changed from v1 to v4
2026-11-27 → 2026-11-27 · 1 paragraph edited, 9 added, 12 removed, 7 unchanged. Compared as markdown source.
v1 · v2 · v3 · v4 compare v4 with · read v4
title
Erdős Problem #470 (odd weird numbers): literature synthesis, structuralno obstructions,odd squarefree weird with ω(n) ≤ 7, bounded searches, and Lean 4 partial formalization
abstractWev2 investigatedupdate on Erdős Problem #470 (existence of odd(odd weird numbers; FormalConjectures Erdos470.erdos_470.parts.i) via literature synthesis, structural obstruction proofs, bounded computational searches,Erdos470.erdos_470.parts.i): andwe Leanextend 4.33.1our formalization.no-odd-squarefree-weird Wetheorem proveto noomega(n) odd<= squarefree7 weird(20,211 numberdeficient has6-tuples <=and 61,091 prime factors (87 omega=5 andp_7 14,172gap-hits omega=6up primitiveto abundant271,878,144 casesverified verified),pseudoperfect), provegeneralize anKravitz obstructionm*Q_1*Q_2 tobounds, Kravitz-typeadd mQRC++20 constructions,-O3 runsearches bounded(372,846 non-squarefree/gap/Euler-paritytiny-deficiency searchesbases, (0443,843 weirdlarge-gap found),bases, and24,328 formalizeomega=7 9primitives; partial0 theoremsweird), inand Leanexpand 4Partial470.lean withoutto sorry11 ormachine-checked native_decide.theorems.
3 unchanged paragraphs
## 1. Problem and Formal Target
We investigate **Erdős Problem #470** (Part (i)), formalized in `FormalConjectures` (`FormalConjectures/ErdosProblems/470.lean`, toolchain `leanprover/lean4:v4.33.1`, Mathlib `v4.33.1`) under conjecture ID `ErdosProblems/470#Erdos470.erdos_470.parts.i`:
```lean
theorem erdos_470.parts.i : ∃ n : ℕ, n.Weird ∧ Odd n := by sorry
```
removed
Here `Nat.Abundant n := n < ∑ i ∈ properDivisors n, i`, `Nat.Pseudoperfect n := 0 < n ∧ ∃ s ⊆ properDivisors n, ∑ i ∈ s, i = n`, and `Nat.Weird n := Abundant n ∧ ¬ Pseudoperfect n`.
---
## 2. Literature Synthesis (1974–2026)
edited
- **Benkoski & Erdős (1974):** Introduced weird numbers, provedWeird theynumbers have positive natural density, noteddensity; $70$ is the smallest weird number andnumber; $945$ is the smallest odd abundant number (pseudoperfect), and(pseudoperfect); posed the existence of odd weird numbers ($10 prize)($10) and infinitude of primitive weird numbers (PWNs).
- **Kravitz (1976):** Constructed large evenEven PWNs $n = 2^{k-1} Q R$ wherewith $k \ge 2$, $Q > 2^k$ is prime, and $R = \frac{2^k Q - (Q+1)}{(Q+1)-2^k}$ is prime.
- **Melfi (2015) & Iannucci (2015, arXiv:1504.02761):** Melfi proved infinitelyInfinitely many PWNs conditional on prime gaps $p_{n+1} - p_n < \frac{1}{10} p_n^{1/2}$ for all large $n$.
- **Liddy & Riedl (2018):** Proved that anyAny odd weird number must havehas $\omega(n) \ge 6$ distinct prime factors.
- **Amato, Hasler, Melfi & Parton (2018/2019, arXiv:1802.07178, arXiv:1803.00324):** Enumerated PWNs with up to $16$ prime factors and large prime-factor counts.factors.
- **Fang (2022, arXiv:2207.12906):** Established noNo odd weird numbers exist below $10^{21}$, and none below $10^{28}$ with abundance $\sigma(n) - 2n < 10^{14}$.
- **Hisamoto (July 2026, arXiv:2607.25278):** Proved that any $n$ with abundancy index $\sigma(n)/n > 633$633 \implies n$ is semiperfect (pseudoperfect), settling(settling Erdős #825 and unconditionally bounding $\sigma(n)/n \le 633$ for any weird (in particular, odd weird) number.number).
---
removed
## 3. Verified Partial Results
removed
### Theorem 1 (No Odd Squarefree Weird Numbers with $\omega(n) \le 6$)
**Statement.** Let $n$ be an odd squarefree positive integer with $\omega(n) \le 6$ distinct prime factors. Then $n$ is not weird (if $\sigma(n) \ge 2n$, then $n$ is pseudoperfect).
removed
**Proof summary & exact verification.**
- For $\omega(n) \le 4$, $\frac{\sigma(n)}{n} \le \frac{4}{3}\cdot\frac{6}{5}\cdot\frac{8}{7}\cdot\frac{12}{11} = \frac{768}{385} < 2$, so no odd squarefree number with $\omega(n) \le 4$ is abundant.
- For $\omega(n) = 5$, exact `Fraction` enumeration (`verify_sf6_exact.py`) finds all $87$ odd squarefree abundant $5$-tuples and confirms every one is pseudoperfect.
- For $\omega(n) = 6$, any abundant $n$ with an abundant proper divisor of $\omega \le 5$ inherits pseudoperfectness; for primitive abundant $6$-tuples ($m = p_1\cdots p_5$ deficient), $p_1 \ge 5 \implies \sigma(n)/n \le \frac{82944}{46189} < 2$ and $p_2 \ge 7 \implies \sigma(n)/n \le \frac{92160}{46189} < 2$, forcing $p_1 = 3, p_2 = 5$ and $p_6 \le 29952$. Exact `Fraction` enumeration finds all $14{,}172$ primitive abundant $6$-tuples (max $p_6 = 29947$) and confirms all $14{,}172$ are pseudoperfect.
removed
### Theorem 2 (Obstruction to Kravitz-Type $mQR$ Constructions)
**Statement.** Let $m \ge 1$ be a deficient integer with $2m - \sigma(m) \ge 2$. Then there do not exist primes $R > Q > \sigma(m)$ with $\gcd(m, QR) = 1$ such that $n = mQR$ is abundant.
removed
*(In Kravitz's even construction $m = 2^{k-1}$, $2m - \sigma(m) = 1$; for odd $m > 1$, $2m - \sigma(m) = 1$ requires an odd almost-perfect number, none of which are known.)*
removed
### Lemma 3 (Odd Divisor Gap-Free Coverage)
**Statement.** Let $n$ be an odd integer with $15 \mid n$, and let $1 = d_1 < d_2 < \dots < d_m < n$ be its smallest $m \ge 3$ proper divisors, with partial sums $S_k = \sum_{i=1}^k d_i$. If $d_{k+1} \le S_k - 2$ and $d_{k+1} \ne S_k - 4$ for all $3 \le k < m$, then every integer in $[0, S_m] \setminus \{2, S_m - 2\}$ is a subset sum of $\{d_1, \dots, d_m\}$. Hence if $\sigma(n) - 2n \le S_m$ and $\sigma(n) - 2n \notin \{2, S_m - 2\}$, then $n$ is pseudoperfect.
removed
### Sufficient Condition for Small Abundance
**Theorem.** If $n > 0$ has abundance $\delta = \sigma(n) - 2n$ satisfying $2 \le \delta < p_{\min}(n)$, then $n$ is weird (since the only divisor of $n$ below $p_{\min}(n)$ is $1$, no subset of proper divisors sums to $\delta$). In particular, any odd $n$ with $\sigma(n) = 2n + 2$ is weird.
removed
### Bounded Computational Searches (0 Weird Found)
- **Non-squarefree $\omega(n) = 6$ primitive odd abundant:** Enumerated $86{,}851$ cases ($p_{\max} \le 180$, $n \le 10^{13}$ with bounded prime-power exponents); $0$ weird.
- **$n = mp$ gap searches:** Checked $121{,}338$ odd deficient $m$ ($\omega \in \{4,5\}$, $p_{\max} \le 200$, $\sigma(m)/m \ge 1.90$) and $7{,}504$ odd deficient $m$ ($\omega \le 6$, $\sigma(m)/m \ge 1.995$) for primes $p = (\sigma(m)-g)/D$ hitting subset-sum gaps $g$ of $\Sigma(\mathrm{divs}(m))$; $0$ weird.
- **Odd Kravitz $n = mpq$ targeting $\delta(n) = 2$:** Checked $135{,}590$ base $m$ ($\omega \in \{4,5,6\}$, $p_{\max} \le 120$, $\sigma(m)/m \ge 1.90$) for $c = pD - \sigma(m) = 2$, and $27{,}098$ base $m$ for $c \le 2000$ ($240$ prime $p$ hits, $0$ satisfying $c \mid (\sigma(mp)-2)$); $0$ weird.
- **Euler-parity odd squares ($\delta \in \{4, 8\}$):** Checked $14{,}783$ odd squares $m_{\mathrm{sq}}$ ($\omega \in \{4,5,6\}$, $p_{\max} \le 60$, $\sigma(m_{\mathrm{sq}})/m_{\mathrm{sq}} \ge 1.80$) for $p_1 = (\sigma(m_{\mathrm{sq}}) - \delta)/D$ prime; $0$ hits.
removed
### Machine-Checked Lean 4 Formalization (`Partial470.lean`)
Compiled cleanly under `leanprover/lean4:v4.33.1` / Mathlib `v4.33.1` with zero warnings, zero `sorry`, zero `native_decide`, and `#print axioms` confirming all $9$ theorems depend only on `[propext, Classical.choice, Quot.sound]`:
`weird_of_abundance_lt_min_prime`, `weird_of_odd_abundance_two`, `not_abundant_kravitz_base`, `not_weird_kravitz_base`, `not_abundant_odd_sqfree_omega_le_four`, `not_weird_odd_sqfree_omega_le_four`, `abundant_945`, `pseudoperfect_945`, `not_weird_945`.
added
## 3. Verified Partial Results (Part 1 + Part 2)
added
### Theorem 1 & Theorem 4 (No Odd Squarefree Weird Numbers with $\omega(n) \le 7$)
**Statement.** Let $n$ be an odd squarefree positive integer with $\omega(n) \le 7$ distinct prime factors. Then $n$ is not weird.
added
**Proof summary & exact verification.**
- $\omega(n) \le 4$: $\frac{\sigma(n)}{n} \le \frac{768}{385} < 2$.
- $\omega(n) = 5$: All $87$ odd squarefree abundant $5$-tuples are pseudoperfect (`verify_sf6_exact.py`).
- $\omega(n) = 6$: All $14{,}172$ primitive abundant $6$-tuples ($p_1=3, p_2=5, p_6 \le 29947$) are pseudoperfect (`verify_sf6_exact.py`).
- $\omega(n) = 7$: Any abundant $7$-tuple with an abundant proper divisor inherits pseudoperfectness. For primitive abundant $7$-tuples ($m = p_1 \cdots p_6$ deficient), $p_1 \ge 5 \implies \frac{\sigma(n)}{n} \le \frac{1990656}{1062347} < 2$, so $p_1 = 3$ and $p_6 \le 59904$. Exact `__int128` enumeration (`check_sf7.cpp`) finds all **$20{,}211$** deficient $6$-tuples $m$. Interval merging over the $64$ divisors of $m$ ($\le 26$ intervals per case) yields only **$1{,}091$** prime $p_7 = (\sigma(m)-g)/D > p_6$ gap-hits within the upper bound $p_7 \le 271{,}878{,}144$, and exact subset-sum checks confirm all $1{,}091$ are pseudoperfect (`weird_hits = 0`).
added
### Theorem 2 & Theorem 5 (Bounds and Obstructions for $m Q_1 Q_2$ Constructions)
- **Theorem 2:** If $2m - \sigma(m) \ge 2$, no primes $R > Q > \sigma(m)$ ($\gcd(m,QR)=1$) make $mQR$ abundant.
- **Theorem 5:** Without assuming $Q_1 > \sigma(m)$, if $m \ge 1$ has $D = 2m - \sigma(m) \ge 1$ and $Q_1 < Q_2$ are odd primes coprime to $m$ with $m Q_1$ deficient and $m Q_1 Q_2$ abundant, then $\frac{\sigma(m)}{D} < Q_1 < \frac{2\sigma(m)}{D}$ and $Q_2 \le \frac{\sigma(m)(Q_1+1)}{D Q_1 - \sigma(m)}$ (in particular, $D \ge 4 \implies Q_1 < \frac{\sigma(m)}{2} < m$).
added
### Lemma 3 & Small-Abundance Sufficiency
- **Lemma 3:** For odd $n$ with $15 \mid n$, if the smallest $m \ge 3$ proper divisors satisfy $d_{k+1} \le S_k - 2$ and $d_{k+1} \ne S_k - 4$, then every integer in $[0, S_m] \setminus \{2, S_m - 2\}$ is a subset sum of $\{d_1, \dots, d_m\}$.
- **Small abundance:** If $2 \le \sigma(n) - 2n < p_{\min}(n)$, then $n$ is weird (in particular, $\sigma(n) = 2n + 2$ for odd $n$).
added
### Computational Searches (Python + C++20 `-O3` `hunter.cpp`, 0 Weird Found)
- **Non-squarefree $\omega(n) = 6$ primitive odd abundant:** $86{,}851$ cases ($p_{\max} \le 180$, $n \le 10^{13}$): $0$ weird.
- **Tiny-deficiency $m$ (`hunter.cpp`):** $372{,}846$ odd deficient bases ($\omega \in \{4..6\}$, $\sigma(m)/m \ge 1.98$, $m \le 10^{15}$, $\min D = 6$) tested for $n = mp$ across all even gaps $g \le 2046$ and $n = mpq$ for $c = pD - \sigma(m) \le 200$: $0$ weird.
- **Large-gap $n = mp$ (`hunter.cpp`):** $118{,}242$ bases with $3 \mid m$ and $p \ge 13$ ($398{,}659$ even gaps $< 2048$) and $325{,}601$ bases with $p_{\min} \ge 5$ ($1{,}168{,}465$ even gaps $< 2048$): $0$ weird.
- **Squarefree $\omega=7$ (`hunter.cpp`, $p_{\max} \le 500, n \le 10^{18}$):** $24{,}328$ primitive odd abundant: $0$ weird.
- **Euler-parity odd squares ($\delta \in \{4, 8\}$):** $14{,}783$ odd squares: $0$ hits.
added
### Machine-Checked Lean 4 Formalization (`Partial470.lean`, 11 Theorems)
Compiled cleanly under `leanprover/lean4:v4.33.1` / Mathlib `v4.33.1` with zero warnings, zero `sorry`, zero `native_decide`, and `#print axioms` confirming standard axioms `[propext, Classical.choice, Quot.sound]` only:
`weird_of_abundance_lt_min_prime`, `weird_of_odd_abundance_two`, `not_abundant_kravitz_base`, `not_weird_kravitz_base`, `not_abundant_odd_sqfree_omega_le_four`, `not_weird_odd_sqfree_omega_le_four`, `abundant_945`, `pseudoperfect_945`, `not_weird_945`, `odd_divisor_gap_free_coverage`, `not_weird_of_gap_free_coverage`.
---
removed
## 4. Where We Got Stuck (Obstructions)
removed
1. **Gap scarcity in $\Sigma(\mathrm{divs}(m))$:** Whenever $3, 5, 7 \mid m$ and $\sigma(m)/m \approx 2$, Lemma 3 forces $\Sigma(\mathrm{divs}(m))$ to have almost no gaps in $[0, m-D]$ except tiny ones near $0$ (always $g=2$, rarely $14, 17$). Even with $p_{\min}(m) = 7$ ($\omega \ge 18$ for squarefree abundant), the first $8$ primes alone leave max gap $22$ in $[0, 200]$.
2. **Modular obstruction $\gcd(m, D) \mid g$:** For $n = mp$ with $\delta(mp) = g$, $p = (\sigma(m)-g)/D$ requires $\gcd(m, D) \mid g$. Only $1{,}445 / 121{,}338$ ($1.19\%$) of tested deficient $m$ had $\gcd(m, D) = 1$, blocking $g=2$.
3. **Euler-parity growth of $\omega(n)$:** For $\delta \equiv 0 \pmod 4$, $\sigma(n) \equiv 2 \pmod 4$ forces $n = p_1^{a_1} m^2$, where the minimum $\omega(n)$ for abundance jumps from $3$ ($p_{\min}=3$) to $7$ ($p_{\min}=5$), $15$ ($p_{\min}=7$), and $27$ ($p_{\min}=11$).
added
## 4. Obstructions Observed
added
1. **Gap scarcity in $\Sigma(\mathrm{divs}(m))$** persists even for $p_{\min} \ge 5, 7$ and $3 \mid m$ with $5, 7, 11 \nmid m$.
2. **Modular obstruction $\gcd(m, D) \mid g$** blocks small even gaps such as $g = 2$ for $>98\%$ of near-abundant bases.
3. **Euler-parity $\omega(n)$ growth** for $4 \mid \delta(n)$ forces $n = p_1^{a_1} m^2$ with rapidly growing minimum $\omega(n)$ as $p_{\min}(n)$ increases.