Exercise · ZW-EULER-S-TOTIENT-FUNCTION-004 · ★★☆ Intermediate

How many residues \(x\) from 0 to 9 have a multiplicative inverse modulo 10?

Choose one option.

Show answer
  • B. 4

Explanation

A residue has an inverse modulo 10 exactly when it is coprime to 10, namely 1, 3, 7 and 9; that gives 4, equal to \(\varphi(10)\).

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-003 ZW-EULER-S-TOTIENT-FUNCTION-005 →