Every Odd Number Greater Than 1 is the Sum of at Most 6101 Primes
Provedodd_sum_le_6101_primesEvery odd natural number greater than is a sum of at most primes, with repetition allowed.
Precisely: for every with odd and there is a finite multiset of natural numbers such that
Here counts elements with multiplicity, so the same prime may be used several times, and the order of the summands is irrelevant.
This is the campaign statement of Odd numbers as sums of primes with the value .
Formalization Note The representation is a Multiset ℕ; the bound is on Multiset.card, so repeated primes count separately.
import Mathlib
theorem odd_sum_le_6101_primes (n : ℕ) (hodd : Odd n) (hn : 1 < n) :
∃ s : Multiset ℕ, s.card ≤ 6101 ∧ (∀ p ∈ s, Nat.Prime p) ∧ s.sum = n := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every natural number that is odd and satisfies (so ), the statement says that can be written as a sum of at most primes, with repeats allowed. More precisely, it asserts that there exists a finite multiset of natural numbers satisfying all three of the following:
Notes on how to read each part:
- Variables and hypotheses.
- is a natural number, and natural numbers here include .
- The first hypothesis is that is odd, meaning for some natural number .
- The second hypothesis is the strict inequality .
- Together the two hypotheses exclude and every even . They are satisfiable, for example by .
- There are no other hypotheses or parameters.
- What is.
- is a multiset, meaning an unordered finite collection in which the same prime may appear more than once.
- is its cardinality counted with multiplicity. For example, has cardinality .
- is also the sum with multiplicity.
- The bound.
- The bound is non-strict.
- No lower bound on the number of summands is required.
- Since , the multiset cannot be empty. So the number of summands is between and inclusive.
- "Prime" is the usual notion: a natural number whose only divisors are and . In particular, counts as a prime, so a summand equal to is allowed.
- No other restrictions. The statement asks only that some such representation exists. It does not require the primes to be distinct, odd, or ordered in any way, and it does not require the representation to be unique.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.