Exercise · ZW-EULER-S-TOTIENT-FUNCTION-010 · ★★★ Advanced

How many integers \(n\) with \(1\le n\le 30\) satisfy \(\varphi(n)=8\)?

Choose one option.

Show answer
  • D. 5

Explanation

The values are 15, 16, 20, 24 and 30; they are found by checking which \(n\) have a factorization yielding 8.

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-009