Exercise · ZW-EULER-S-TOTIENT-FUNCTION-001 · ★☆☆ Basic

What is \(\varphi(7)\)?

Choose one option.

Show answer
  • A. 6

Explanation

Since 7 is prime, every integer from 1 to 6 is coprime to 7, so the value is 6.

Study Elementary number theory in ZWMath →

Review the concept: Euler's totient function

Euler's totient function \(\varphi\) assigns to each positive integer \(n\) the number of integers between 1 and \(n\) that are coprime to \(n\).

\[\varphi(n)=n\prod_{p\mid n}\left(1-\frac{1}{p}\right)\]

More practice problems: euler's totient function

ZW-EULER-S-TOTIENT-FUNCTION-002 →