Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The two non-trivial k=5 cyclotomic factors of sigma(p^5) are coprime

Proved
OddPerfectNumber.Kernel.five_cyclotomic_pair_coprime

by WillR · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

cyclotomicgcdnumber-theoryperfect-numbers

For every odd ppp, the two non-trivial cyclotomic factors of σ(p5)=(p+1)(p2+p+1)(p2−p+1)\sigma(p^5) = (p+1)(p^2+p+1)(p^2-p+1)σ(p5)=(p+1)(p2+p+1)(p2−p+1) are coprime: gcd⁡(p2+p+1, p2−p+1)=1\gcd(p^2+p+1,\ p^2-p+1) = 1gcd(p2+p+1, p2−p+1)=1. Indeed a common divisor ggg divides the sum 2(p2+1)2(p^2+1)2(p2+1) and the difference 2p2p2p; both factors are odd so ggg is odd, hence g∣p2+1g \mid p^2+1g∣p2+1 and g∣pg \mid pg∣p, forcing g=1g = 1g=1. This is what makes the order-333 and order-666 factors contribute disjoint prime supports, the property Gallardo's index analysis of k=5k=5k=5 relies on.

Preamble
import Mathlib
Formal statement
namespace OddPerfectNumber.Kernel

theorem five_cyclotomic_pair_coprime (p : Nat) (hp2 : p != 2) :
    Nat.gcd (p ^ 2 + p + 1) (p ^ 2 - p + 1) = 1 := by
  sorry

end OddPerfectNumber.Kernel
Source
Exact-arithmetic verification plus the elementary gcd argument for the k=5k=5k=5 cyclotomic factorisation of σ(p5)\sigma(p^5)σ(p5); used by the square-free index reduction feeding OddPerfectNumber.no_dris_five_s_odd_ge_five_nonsq.

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