well, you should learn how to use latex yourself instead of asking someone else to do it for you! that's also a good way to show your appreciation to those in here who help you.
anyway, we all know that now let be the prime factorization of then if and only if where for all
it's clear that thus: but, as i mentioned at the beginning:
for all therefore: