Here is the prompt
Prove that $\phi(P)=2^{k-1}(2^{k-1}-1)$, given that $P>6$ is an even perfect number.
This is what i did,
$P = 2^{p-1}(2^p-1)$, through Euler's theorem $\phi(P)=\phi(2^{p-1}(2^p-1))$, because they are multiplicative = phi(2^(p-1)) * phi(2^p - 1) Then taking it individually
phi(2^(p-1)) = phi(2^k), given that k = p-1 = 2^(k-1)(2-1) through some lemma = 2^(k-1) Now for phi(2^p - 1)
I'm stuck because i don't know what to do with the -1 how does phi(2^k+1) = 2^(k-1) - 1
For even perfect numbers, $2^p-1$ must be a Mersenne prime. This implies that $\phi(2^p-1)=(2^p-1)-1=2(2^{p-1}-1)$, so
$$ \phi(P)=\phi(2^{p-1}(2^p-1))=2^{p-2}2(2^{p-1}-1)=2^{p-1}(2^{p-1}-1) $$