Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Every Odd Number Greater Than 1 is the Sum of at Most 151 Primes

Proved
odd_sum_le_151_primes

by xuanji · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

goldbachnumber-theoryschnirelmann-densitysieve-theory

Every odd natural number greater than 111 is a sum of at most 151151151 primes, with repetition allowed.

Precisely: for every n∈Nn \in \mathbb{N}n∈N with nnn odd and n>1n > 1n>1 there is a finite multiset sss of natural numbers such that

∣s∣≤151,every p∈s is prime,∑p∈sp=n.|s| \le 151, \qquad \text{every } p \in s \text{ is prime}, \qquad \sum_{p \in s} p = n.∣s∣≤151,every p∈s is prime,p∈s∑​p=n.

Here ∣s∣|s|∣s∣ 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 151151151.

Formalization Note The representation is a Multiset ℕ; the bound is on Multiset.card, so repeated primes count separately.

Preamble
import Mathlib
Formal statement
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
Source
AI-assisted explicit calculation (unpublished, October 2026), improving the K = 241 entry: Riesel–Vaughan small-shift second moment (Ark. Mat. 21 (1983), Lemma 8) with a fixed-shift prime-pair Selberg sieve, Mathlib's Chebyshev bound psi(x) >= x log 2 - O(log x), and the Hölder large range, giving sigma(A) >= 1/75; Mann's theorem then gives K = 151. Framework: P. Pollack, Not Always Buried Deep, Ch. 6 §6, https://www.pollack-math.net/NABDofficial.pdf
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Theorem odd_sum_le_151_primes. Let nnn be a natural number (so n∈{0,1,2,… }n \in \{0, 1, 2, \dots\}n∈{0,1,2,…}), and assume:

  • nnn is odd, i.e. n=2k+1n = 2k + 1n=2k+1 for some natural number kkk;
  • 1<n1 < n1<n (strict inequality).

Together these hypotheses say exactly that nnn is an odd natural number with n≥3n \ge 3n≥3. They can be satisfied, for example by n=3n = 3n=3.

The conclusion is that there is a finite multiset sss of natural numbers p1,…,pmp_1, \dots, p_mp1​,…,pm​ (order does not matter, and the same value may occur more than once) such that:

  1. the number of elements of sss, counted with multiplicity, is at most 151151151: m≤151m \le 151m≤151;
  2. every element of sss is a prime number in the usual sense, meaning a natural number p≥2p \ge 2p≥2 whose only divisors are 111 and ppp. The prime 222 is allowed;
  3. the elements of sss, counted with multiplicity, add up to nnn:
p1+p2+⋯+pm=n.p_1 + p_2 + \cdots + p_m = n .p1​+p2​+⋯+pm​=n.

In other words, every odd natural number n≥3n \ge 3n≥3 can be written as a sum of at most 151151151 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 m≤151m \le 151m≤151. A single summand (m=1m = 1m=1) is allowed, for example when nnn is itself prime. The empty multiset (m=0m = 0m=0, with sum 000) can never be a witness, because n≥3n \ge 3n≥3. The statement says nothing about even nnn or about n=1n = 1n=1.

Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by xuanji · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me