Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_QED_E141.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗
/-From Prove2Me, definition `QED_E141` (https://prove2.me/definitions/f983a088-6e9d-4d22-b95b-a85c4bd7f76a). Apache-2.0 per Prove2Me's terms.-/import Mathlib /-! QED-E141: An odd weird numberA number is abundant if its proper divisors add up to more than the number itself, and weird if it is abundant but no selection of its distinct proper divisors adds up to exactly the number (70 is the smallest). Weird numbers have positive density, but every known one is even. Does an odd weird number exist?Informal statement: Decide whether there exists an odd $n\in\mathbb N$ with $\sigma(n)>2n$ such that no subset $S$ of the proper divisors of $n$ satisfies $\sum_{d\in S}d=n$.Formalization notes:* σ(n) is `∑ d ∈ n.divisors, d`; abundance is 2n < σ(n) (equivalently the proper divisors sum to more than n).* Not semiperfect: no `S ⊆ n.properDivisors` (a Finset, so a set of distinct proper divisors) has sum n.* `Odd n` excludes n = 0 (where `divisors` is the junk value ∅).* `Claim` asserts an odd weird number exists; `¬Claim` says none exists. Sanity check: with `Odd n` dropped, n = 70 witnesses the body.-/namespace OpenProblems.QEDE141noncomputable section /-- `n` is weird: abundant but not a sum of distinct proper divisors. -/def Weird (n : ℕ) : Prop := 2 * n < ∑ d ∈ n.divisors, d ∧ ¬ ∃ S : Finset ℕ, S ⊆ n.properDivisors ∧ ∑ d ∈ S, d = n def Claim : Prop := ∃ n : ℕ, Odd n ∧ Weird n endend OpenProblems.QEDE141