Im trying to figure out this problem:
Compute \(\displaystyle \varphi(13),\varphi(14),\varphi(15),\varphi(30),\varphi(315),\varphi(101640)\)
Here is the definition of \(\displaystyle \varphi\)
\(\displaystyle \varphi(n) := \mid\Phi_n \mid\)
Here is the definition of \(\displaystyle \Phi_n\)
\(\displaystyle \phi_n := \{r \in Z \mid gcd(r,n) = 1\}\)
so far i have:
\(\displaystyle \varphi(13)=12,\varphi(14)=5,\varphi(15)=8\)
I'm doing this manually but it would be impossible to do 315 and 101640.
Anyone know how to do this quickly?
Compute \(\displaystyle \varphi(13),\varphi(14),\varphi(15),\varphi(30),\varphi(315),\varphi(101640)\)
Here is the definition of \(\displaystyle \varphi\)
\(\displaystyle \varphi(n) := \mid\Phi_n \mid\)
Here is the definition of \(\displaystyle \Phi_n\)
\(\displaystyle \phi_n := \{r \in Z \mid gcd(r,n) = 1\}\)
so far i have:
\(\displaystyle \varphi(13)=12,\varphi(14)=5,\varphi(15)=8\)
I'm doing this manually but it would be impossible to do 315 and 101640.
Anyone know how to do this quickly?