Skip to content
DAH

The Erdős–Moser equation: 1k + 2k + … + (m−1)k = mk has only the solution k = 1, m = 3

OpenTo verify: Lean proofPosed by Leo Moser, 1953
AI-reviewed
On this page17 sections
Difficulty
65/100Research-grade
How far from a resolution. P vs NP = 100
Application value
1.5/100Theoretical
Realistic practical impact if resolved. P vs NP = 100
Leverage
6/100Isolated
How much other knowledge hinges on it. P vs NP = 100

Difficulty 65: elementary to state, with no method for excluding solutions beyond astronomical bounds from Bernoulli-number congruences and continued fractions; below Agoh–Giuga (69.5) and Lehmer (72) because it has a smaller literature and fewer failed structural attacks, close to union-closed sets (66). Application value 1.5 and leverage 6: self-contained; the lowest in the number-theory set.

The problem

Does 1^k + 2^k + … + (m−1)^k = m^k have any solution other than k = 1, m = 3?

  1. 1One solution known: k=1, m=3
  2. 2Algebra pins k/m near ln 2
  3. 3Continued fractions prune candidates
  4. 4Any other has billions of digits

Statement. For positive integers kk and mm, compare the sum of the first m−1m-1 kk-th powers with the next kk-th power: Sk(m)=1k+2k+⋯+(m−1)kandmk.S_k(m)=1^k+2^k+\cdots+(m-1)^k \quad\text{and}\quad m^k. The Erdős–Moser equation asks when they are equal. The only known solution is (k,m)=(1,3)(k,m)=(1,3): 1+2=31+2=3. In Lean the corpus defines powerSum k m as this sum and states that powerSum k m = m ^ k forces k = 1 ∧ m = 3.

Worked examples. For k=1k=1: 1+2+⋯+(m−1)=m(m−1)/21+2+\cdots+(m-1)=m(m-1)/2, which equals mm exactly when m=3m=3. For k=2k=2: ∑i<mi2=(m−1)m(2m−1)/6\sum_{i<m}i^2=(m-1)m(2m-1)/6; setting this equal to m2m^2 gives (m−1)(2m−1)=6m(m-1)(2m-1)=6m, a quadratic with no integer root. Each kk gives one polynomial equation in mm, and the question is whether any of them has an integer root other than the first.

Where a solution would have to be. Write Sk(m)=mk∑j≥1(1−j/m)kS_k(m)=m^k\sum_{j\ge1}(1-j/m)^k. For large mm, (1−j/m)k≈e−jk/m(1-j/m)^k\approx e^{-jk/m}, a geometric series that sums to about 1/(ek/m−1)1/(e^{k/m}-1). Setting the total equal to mkm^k forces ek/m≈2e^{k/m}\approx2, so k/mk/m must be very close to ln⁡2\ln 2. Refined with Bernoulli numbers (the coefficients in the exact formulas for Sk(m)S_k(m)), Moser showed that 2k/(2m−3)2k/(2m-3) must be an extremely good approximation to ln⁡2\ln 2; in continued-fraction language it must be a convergent of ln⁡2\ln 2.

Bounds. Moser (1953): any other solution has m>10106m>10^{10^6}. Butske, Jaje and Mayernik (2000): m>1.485×109,321,155m>1.485\times10^{9{,}321{,}155}, by exact computation. Gallot, Moree and Zudilin (2011): m>2.7139×101,667,658,416m>2.7139\times10^{1{,}667{,}658{,}416}, by testing the convergents of ln⁡2\ln 2. Moree also showed m≡3(mod8)m\equiv3\pmod 8.

Computation versus proof. These bounds come from testing necessary conditions over enormous ranges. A single solution larger than every bound would still be consistent with all of them, so only a proof (for all kk and mm) or an explicit solution can settle the question.

How it is checked. A Lean proof of the corpus statement, or an explicit pair (k,m)(k,m) whose identity the kernel can verify with certified big-integer arithmetic.

Go deeper

The full technical text.

Is (k,m)=(1,3)(k, m) = (1, 3) the only solution in positive integers of 1k+2k+⋯+(m−1)k=mk ?1^k + 2^k + \cdots + (m-1)^k = m^k\ ?

Lean 4 statement in the Formal Conjectures corpus:

def powerSum (k m : ℕ) : ℕ := ∑ i ∈ Finset.Ico 1 m, i ^ k

theorem erdos_moser_conjecture :
    ∀ k m : ℕ, 0 < k → 0 < m → powerSum k m = m ^ k → k = 1 ∧ m = 3
Words on this page (5)
Words on this page
power sum
The sum of the same power of consecutive whole numbers, such as 1 squared plus 2 squared plus 3 squared.
Bernoulli numbers
A sequence of rational numbers that appear in formulas for power sums.
continued fraction
A way of writing a number as a chain of whole numbers that gives the best rational approximations.
convergent
One of the best-approximating fractions in a continued fraction.
natural logarithm of 2
The number about 0.693 that appears when halving repeatedly.
New to this? Read first (2)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then
    • The Erdős–Moser equation: 1k + 2k + … + (m−1)k = mk has only the solution k = 1, m = 3The problem

State of the art

Moser (1953) showed that any further solution has m>10106m > 10^{10^6} (see Moree's survey). Butske, Jaje and Mayernik (2000) replaced estimates by exact computation and raised the bound to m>1.485×109,321,155m > 1.485\times 10^{9{,}321{,}155}. Gallot, Moree and Zudilin (2011) used continued fractions of ln⁡2\ln 2 (the quantity 2k/(2m−3)2k/(2m-3) must be a convergent) to reach m>2.7139×101,667,658,416m > 2.7139\times 10^{1{,}667{,}658{,}416}. Moree also gives congruence conditions on mm (for example m≡3(mod8)m \equiv 3 \pmod 8). All of this narrows where a solution could hide but gives no route to excluding one.

Realistic applications

None. The problem is a probe of how power sums and Bernoulli polynomials interact; the tools (Bernoulli number congruences, continued fractions with huge denominators) are classical number-theory machinery.

What counts as solved

A Lean proof of erdos_moser_conjecture as stated, or an explicit counterexample (k,m)(k,m) with k,mk, m large enough that the kernel can still check the identity by computation (probably with a certified bignum procedure).

How it gets verified

To verify: Lean proof

A formal proof checked by Lean 4 / Mathlib.

Statement: ErdosMoser.erdos_moser_conjecture in formal-conjectures, with the small helper powerSum shown in the statement; only core Lean and Mathlib (Finset.Ico, Finset.sum) are used, so no new definitions are needed. The file also proves sanity checks (powerSum 1 3 = 3^1 by decide) that a reviewer should keep. A counterexample would be an explicit pair (k,m)(k, m) whose identity Lean can check with kernel arithmetic on very large integers; a proof must handle all (k,m)(k, m). Use Comparator to pin the statement.

Claims

No claimed results on this problem.

Where the work is

Theory
70%
New mathematical or conceptual ideas
Engineering
0%
Building instruments, chips, systems, software, formal proofs
Compute
30%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

Bounds come from computation with Bernoulli numbers and continued fractions; excluding all solutions needs a new argument.

Connected problems

No connected problems.

Progress

  1. Jan 1, 2011
    Continued-fraction method to 10^1,667,658,416

    Gallot, Moree and Zudilin (Math. Comp. 80; year only known).

    source
  2. Jan 1, 2000
    Exact computation to 10^9,321,155

    Butske, Jaje and Mayernik (Math. Comp. 69; year only known).

    source
  3. Jan 1, 1953
    Moser's bound

    Leo Moser shows any other solution is astronomically large (Scripta Mathematica 19).

    source