The correct option is B 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)=pk−Pk−1 ,
ϕ(P2)=P2−P1=P2−P and
ϕ(q)=q1−q0=q−1
Substituting these in eq. (i), we get
ϕ(n)=(p2−p)(q−1)
=p(p−1)(q−1)