Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

σ(pk)≠2m2\sigma(p^k) \ne 2m^2σ(pk)=2m2 when 6∣k+16 \mid k+16∣k+1

Proved
OddPerfectNumber.sigma_prime_pow_ne_two_mul_sq_of_six_dvd

by Gabewhigham · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

diophantine-equationsdivisor-sumsnumber-theoryperfect-numbers

Write σ(n)=∑d∣nd\sigma(n)=\sum_{d\mid n} dσ(n)=∑d∣n​d for the sum-of-divisors function.

Let ppp be an odd prime and let kkk be a natural number with 6∣k+16 \mid k+16∣k+1. Then the equation

σ(pk)  =  2m2\sigma(p^{k}) \;=\; 2m^{2}σ(pk)=2m2

has no solution in natural numbers mmm.

Equivalently, 12σ(pk)=12(1+p+⋯+pk)\tfrac{1}{2}\sigma(p^{k}) = \tfrac{1}{2}\bigl(1+p+\cdots+p^{k}\bigr)21​σ(pk)=21​(1+p+⋯+pk) is never a perfect square when 6∣k+16 \mid k+16∣k+1.

Why this is relevant to odd perfect numbers. If N=pkm2N = p^{k}m^{2}N=pkm2 is an odd perfect number in Euler form (ppp prime, p≡k≡1(mod4)p \equiv k \equiv 1 \pmod 4p≡k≡1(mod4), p∤mp \nmid mp∤m), then multiplicativity of σ\sigmaσ gives the Euler equation σ(pk)σ(m2)=2pkm2\sigma(p^{k})\sigma(m^{2}) = 2p^{k}m^{2}σ(pk)σ(m2)=2pkm2. Since p∤σ(pk)p \nmid \sigma(p^{k})p∤σ(pk) and kkk is odd, one gets 12σ(pk)∣m2\tfrac{1}{2}\sigma(p^{k}) \mid m^{2}21​σ(pk)∣m2, and writing 2m2=σ(pk) s2m^{2} = \sigma(p^{k})\,s2m2=σ(pk)s, σ(m2)=pks\sigma(m^{2}) = p^{k} sσ(m2)=pks shows that m2≤pkm^{2} \le p^{k}m2≤pk forces s=1s = 1s=1, i.e. 2m2=σ(pk)2m^{2} = \sigma(p^{k})2m2=σ(pk). The statement above therefore rules out m2≤pkm^{2} \le p^{k}m2≤pk whenever 6∣k+16 \mid k+16∣k+1; for the special exponents k≡1(mod4)k \equiv 1 \pmod 4k≡1(mod4) with k≥5k \ge 5k≥5 this covers k≡5(mod12)k \equiv 5 \pmod{12}k≡5(mod12), in particular the first case k=5k = 5k=5.

Proof idea. Writing k+1=6wk+1 = 6wk+1=6w and y=pwy = p^{w}y=pw, the geometric series identity factors σ(pk)=σ(p2w−1) (y4+y2+1)\sigma(p^{k}) = \sigma(p^{2w-1})\,(y^{4}+y^{2}+1)σ(pk)=σ(p2w−1)(y4+y2+1), where σ(p2w−1)\sigma(p^{2w-1})σ(p2w−1) is even and divides y2−1y^{2}-1y2−1. Hence 2m2=σ(pk)2m^{2} = \sigma(p^k)2m2=σ(pk) becomes

12σ(p2w−1)⋅(y2+y+1)(y2−y+1)=m2.\tfrac{1}{2}\sigma(p^{2w-1}) \cdot (y^{2}+y+1)(y^{2}-y+1) = m^{2}.21​σ(p2w−1)⋅(y2+y+1)(y2−y+1)=m2.

The two quadratic factors are coprime, and each has greatest common divisor with y2−1y^{2}-1y2−1 dividing 333; since 333 cannot divide both, one of them is coprime to the remaining product and must be a perfect square. That is impossible because y2<y2+y+1<(y+1)2y^{2} < y^{2}+y+1 < (y+1)^{2}y2<y2+y+1<(y+1)2 and (y−1)2<y2−y+1<y2(y-1)^{2} < y^{2}-y+1 < y^{2}(y−1)2<y2−y+1<y2.

Preamble
import Mathlib
open Finset
Formal statement
namespace OddPerfectNumber

theorem sigma_prime_pow_ne_two_mul_sq_of_six_dvd (p k m : ℕ) (hp : p.Prime) (hp2 : p ≠ 2)
    (hk : (k + 1) % 6 = 0) :
    (∑ d ∈ (p ^ k).divisors, d) ≠ 2 * m ^ 2 := by sorry

end OddPerfectNumber
Source
Consequence of the Dris parametrisation of an odd perfect number in Euler form; see J. A. B. Dris, 'The abundancy index of divisors of odd perfect numbers', Journal of Integer Sequences 15 (2012), Article 12.4.4, Section 2 (the relations sigma(p^k)/2 | m^2 and p^k | sigma(m^2)). The Diophantine statement itself is elementary.

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me