A natural number $n$ fails to be prime to $p^e$ precisely when it is divisible by $p$.
And there are exactly $p^{e-1}$ integers $1\leq n\leq p^e$ which are divisible by $p$, namely the integers of the form $kp$ for $k=1,2,\dots,p^{e-1}$.
A natural number $n$ fails to be prime to $p^e$ precisely when it is divisible by $p$.
And there are exactly $p^{e-1}$ integers $1\leq n\leq p^e$ which are divisible by $p$, namely the integers of the form $kp$ for $k=1,2,\dots,p^{e-1}$.