Every Odd Number Greater Than 1 is the Sum of at Most 151 Primes
Provedodd_sum_le_151_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_151_primes (n : ℕ) (hodd : Odd n) (hn : 1 < n) :
∃ s : Multiset ℕ, s.card ≤ 151 ∧ (∀ 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
Theorem odd_sum_le_151_primes. Let be a natural number (so ), and assume:
- is odd, i.e. for some natural number ;
- (strict inequality).
Together these hypotheses say exactly that is an odd natural number with . They can be satisfied, for example by .
The conclusion is that there is a finite multiset of natural numbers (order does not matter, and the same value may occur more than once) such that:
- the number of elements of , counted with multiplicity, is at most : ;
- every element of is a prime number in the usual sense, meaning a natural number whose only divisors are and . The prime is allowed;
- the elements of , counted with multiplicity, add up to :
In other words, every odd natural number can be written as a sum of at most primes, where primes may repeat. Nothing requires the primes to be distinct or odd, and nothing fixes the number of summands beyond the upper bound . A single summand () is allowed, for example when is itself prime. The empty multiset (, with sum ) can never be a witness, because . The statement says nothing about even or about .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.