Exercise · ZW-EULER-S-TOTIENT-FUNCTION-005 · ★★☆ Intermediate
For which of these \(n\) does \(\varphi(n)=n-1\) hold?
Choose one option.
Show answer
- A. 29
Exercise · ZW-EULER-S-TOTIENT-FUNCTION-005 · ★★☆ Intermediate
Choose one option.
The equality requires every integer from 1 to \(n-1\) to be coprime to \(n\), which happens only when \(n\) is prime; 29 is prime, while \(\varphi(15)=8\), \(\varphi(21)=12\) and \(\varphi(25)=20\).
Euler's totient function \(\varphi\) assigns to each positive integer \(n\) the number of integers between 1 and \(n\) that are coprime to \(n\).
← ZW-EULER-S-TOTIENT-FUNCTION-004 ZW-EULER-S-TOTIENT-FUNCTION-006 →