Skip to content
Worked Examples · Example 14

Q.Find φ(n)\varphi(n) for n=3n = 3.

CBSENCERTSubjective· 2mImportance★★★★★est
13% · 14/106 Questions
✓ Free question

33 is prime, and the numbers 11 and 22 are coprime to it, so φ(3)=2\varphi(3) = 2.

φ(n)=#{ k:1≤k≤n, gcd⁡(k,n)=1 }\varphi(n) = \#\{\,k : 1\le k\le n,\ \gcd(k,n)=1\,\}

Euler's totient counts the positive integers up to nn that are coprime to nn. For a prime pp, φ(p)=p−1\varphi(p) = p-1.

  1. List the integers from 11 to 33 and test gcd⁡\gcd with 33:

gcd⁡(1,3)=1 ✓,gcd⁡(2,3)=1 ✓,gcd⁡(3,3)=3 ×\gcd(1,3)=1\ \checkmark,\qquad \gcd(2,3)=1\ \checkmark,\qquad \gcd(3,3)=3\ \times

  1. Count the coprime values: 11 and 22 qualify ⇒\Rightarrow count =2=2.

  2. Prime cross-check: since 33 is prime, φ(3)=3−1=2\varphi(3) = 3-1 = 2. Consistent.

✓Final answer

φ(3)=2\varphi(3) = \mathbf{2}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.