Solvability of implies ; infinitely many primes
ProvedAlfutovaUstinov.problem_4_131cyclotomic-polynomialselementary-number-theorynumber-theoryprimes-in-progressions
This is Problem 4.131 of N. B. Alfutova and A. V. Ustinov, Algebra and Number Theory (MCCME, 2002), Chapter 4, §4 “Theorems of Fermat and Euler”. The problem has two parts.
- Let be a prime. If the congruence
has an integer solution , then .
- There are infinitely many primes of the form , (the book asks to deduce this from part 1).
Part 1 describes the prime divisors of values of the cyclotomic polynomial ; part 2 is a special case of Dirichlet's theorem on primes in arithmetic progressions.
Formalization Note Part 1 quantifies over natural numbers with Nat.Prime p and , with and the congruence expressed with Int.ModEq; its conclusion uses Nat.ModEq. Part 2 states that the set of primes with for some is infinite.
Preamble
import Mathlib
Formal statement
namespace AlfutovaUstinov
theorem problem_4_131 :
(∀ p : ℕ, p.Prime → 5 < p →
(∃ x : ℤ, x ^ 4 + x ^ 3 + x ^ 2 + x + 1 ≡ 0 [ZMOD p]) → p ≡ 1 [MOD 5]) ∧
{p : ℕ | p.Prime ∧ ∃ n : ℕ, p = 5 * n + 1}.Infinite := by sorry
end AlfutovaUstinovSource
N. B. Alfutova, A. V. Ustinov, «Алгебра и теория чисел. Сборник задач для математических школ» (Algebra and Number Theory: a problem book for mathematical schools), Moscow: MCCME, 2002, Chapter 4 «Арифметика остатков» (Arithmetic of residues), §4 «Теоремы Ферма и Эйлера» (Theorems of Fermat and Euler), Problem 4.131. Problem text and answer as catalogued on problems.ru, problem 60757: https://problems.ru/view_problem_details_new.php?id=60757