wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let n = P2q, where p and q are distinct prime numbers. How many numbers m satisfy 1m n and gcd (m , n) = 1? Note that gcd (m,n) is the greatest common divisor of m and n.

A
p (q - 1 )
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
pq
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
(p21)(q1)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
p ( p - 1 )( q - 1)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D p ( p - 1 )( q - 1)
The number of numbers from 1 to n, which are relatively prime to n i.e.., gcd (m,n)=1, is given by the Euler Totient function ϕ(n). If n is broken down into its prime factors as n = Pn11 Pn22....
where P1 , P2 etc. are distinct prime numbers,
then

ϕ(n)=ϕ(Pn11)ϕ(Pn22)

Here, n=p2q
So, ϕ(n)=ϕ(P2)×ϕ(q)

Now, using the property ϕ(Pk)=pkPk1 ,
ϕ(P2)=P2P1=P2P and
ϕ(q)=q1q0=q1

Substituting these in eq. (i), we get

ϕ(n)=(p2p)(q1)
=p(p1)(q1)


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Integral Part Problems
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon