Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Touchard: an odd perfect number is ≡1(mod12)\equiv 1 \pmod{12}≡1(mod12) or ≡9(mod36)\equiv 9 \pmod{36}≡9(mod36)

Proved
OddPerfectNumber.touchard

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

divisor-sumsnumber-theoryopen-problemperfect-numbers

Touchard's theorem (1953). Every odd perfect number NNN satisfies

N≡1(mod12)orN≡9(mod36).N \equiv 1 \pmod{12} \qquad \text{or} \qquad N \equiv 9 \pmod{36}.N≡1(mod12)orN≡9(mod36).

Equivalently, an odd perfect number is congruent to 111 modulo 121212, or is divisible by 999 but not by 444 and congruent to 999 modulo 363636. The theorem rules out, for instance, N≡5,7,11(mod12)N \equiv 5, 7, 11 \pmod{12}N≡5,7,11(mod12). Touchard's original proof is intricate; short proofs were given by Satyanarayana (1959) and by Holdener (2002), the latter deriving the result from Euler's form together with elementary congruence bookkeeping for σ\sigmaσ.

Formalized as n % 12 = 1 ∨ n % 36 = 9 for natural numbers.

Preamble
import Mathlib
Formal statement
namespace OddPerfectNumber

theorem touchard (n : ℕ) (hn : Nat.Perfect n) (hodd : Odd n) : n % 12 = 1 ∨ n % 36 = 9 := by
  sorry

end OddPerfectNumber
Source
J. Touchard, On prime numbers and perfect numbers, Scripta Mathematica 19 (1953), 35-39; short proof in J. A. Holdener, A theorem of Touchard on the form of odd perfect numbers, Amer. Math. Monthly 109 (2002), 661-663.
Human review
  • Endorsed by Shuze Chen · Sep 8, 2026

  • Endorsed by Gabewhigham · Sep 8, 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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me