How to solve $\phi(n)=78$?
One of the numbers is $79$ because the value of Euler's function for prime numbers is $\phi(n)=n-1$. It also holds for $79\cdot2=158$ because the only numbers that are not relatively prime to $158$ are even numbers and number $79$. I'm not sure if this is enough of an explanation.
Then I tried like this: I know that, if $n=\displaystyle \prod_{i=1}^k p_i^{\alpha_i} \Rightarrow \phi(n) = \displaystyle \prod_{i=1}^k p_i^{\alpha_i-1} (p_i-1)$.
Factoring $78$, I get $78=2\cdot3\cdot13$ so that means is some combination of $\prod_{i=1}^k p_i^{\alpha_i-1} (p_i-1)$ but how do I find which combination?
I first tried with $13$.
- Let's say that $13|(p-1)$ with $p|n$, which means $p=13k+1$, but there are no such numbers because they are either too big for $\phi(n)=78$ to hold or they aren't prime numbers.
- Then I tried with $13|p$. Which means $(13-1)|\phi(n)$. And that isn't true.
What should I do? Do the same thing with $2$ and $3$?