Values of Euler\'s function: , , ,
ProvedAlfutovaUstinov.problem_4_132elementary-number-theoryeuler-totientnumber-theory
This is Problem 4.132 of N. B. Alfutova and A. V. Ustinov, Algebra and Number Theory (MCCME, 2002), Chapter 4, §4 “Theorems of Fermat and Euler”.
Euler's function is the number of integers among that are coprime to . The problem asks for (a) , (b) , (c) , (d) , where is a prime and is a natural number.
Theorem. For every prime and every integer :
- ;
- ;
- ;
These values, together with multiplicativity, give the standard product formula for Euler's function.
Formalization Note Euler's function is Mathlib's Nat.totient, which counts the with ; for this agrees with the book's definition. The subtractions and are natural-number subtractions, exact because and .
Preamble
import Mathlib
Formal statement
namespace AlfutovaUstinov
theorem problem_4_132 (p : ℕ) (hp : p.Prime) (α : ℕ) (hα : 0 < α) :
Nat.totient 17 = 16 ∧ Nat.totient p = p - 1 ∧ Nat.totient (p ^ 2) = p * (p - 1) ∧
Nat.totient (p ^ α) = p ^ (α - 1) * (p - 1) := 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.132. Problem text and answer as catalogued on problems.ru, problem 60758: https://problems.ru/view_problem_details_new.php?id=60758