In number theory, Sophie Germain's theorem is a statement about the divisibility of solutions to the equation x p + y p = z p {\displaystyle x^{p}+y^{p}=z^{p}} of Fermat's Last Theorem for odd prime p {\displaystyle p} .