Given $2$ prime numbers,$ p$ and $q$, that are both not even, and $3$ doesn't divide $p-1$ or $q-1$, and $n=pq$, how many elements in $Z^*_n$ exists that has $b$ such that $b^3\equiv a\pmod n$ .
I know that the answer is $\phi(n)$ - that is, $(p-1)*(q-1)$, but I can't find out how to prove it :(
Let $a \in \Bbb (Z/n \Bbb Z)^\times$. We show that there is $k$ such that we can choose $b=a^k$, so $a^{3k}\equiv a \mod n$.
By Fermat's Little Theorem, we have $a^{\varphi(n)}\equiv 1 \mod n$.
As $3 \nmid (p-1)(q-1) = \varphi(n)$, we know $\gcd(3,\varphi(n)) = 1$. So by the Euclidean Algorithm you can choose $k \in \Bbb N$ such that $3k \equiv 1 \mod \varphi(n)$.
Now prove that $k$ has the desired property, i. e. $(a^k) ^3 \equiv a \mod n$