I am trying to prove the following facts about cyclotomic polynomials

$\displaystyle i) \Phi_n(1)=p \;\; if \;\; n=p^k , k \in \mathbb{Z}^{+}$

ii) $\displaystyle \Phi_n(1)=1 $ if n is divisible by two or more primes


i understand the identity $\displaystyle n = \prod_{d|n,d\neq1}^{\;} \Phi_d(1)$ and how to derive it, but I am not sure how to apply Mobius inversion. What is $\displaystyle F$? What is $\displaystyle f$? Do n and d become 1?

Thank you for your help.