A common divisor of (p+1)/2 and p^2-p+1 divides 3
ProvedOddPerfectNumber.Kernel.second_block_gcd_dvd_threecyclotomicdris-conjecturenumber-theoryperfect-numbers
If then any common divisor of and divides and hence . Thus is or , the two-case split needed to show is never a square for a prime .
Preamble
import Mathlib
Formal statement
namespace OddPerfectNumber.Kernel
theorem second_block_gcd_dvd_three (p : Nat) (hp4 : p % 4 = 1) :
Nat.gcd ((p + 1) / 2) (p ^ 2 - p + 1) ∣ 3 := by
sorry
end OddPerfectNumber.KernelSource
Odd Perfect Number Conjecture, branch. In the first Dris equation one has with and , so a Dris index that is a single prime times a square would force to be a square times that prime. The accepted child OddPerfectNumber.Kernel.five_cyclotomic_factors_ne_square (648a7dc4-9710-4052-8b9c-50b2d545ffbb) already supplies that is not a square for , so only the product needs an argument. The unconditional statement is false, since gives ; the hypothesis excludes exactly that case through the congruence versus , so no deep Diophantine input is required.