Prove the following homomorphism is surjective. $$f : Z → \frac{Z}{3Z} × \frac{Z}{5Z}$$
I completely get the questions and i can prove it by working out a corresponding pre-image for all of $\frac{Z}{3Z} × \frac{Z}{5Z}$.
But how do i give a formal proof if i change the question and ask
for any $(p,q)=1$ Prove the following homomorphism is surjective. $$f : Z → \frac{Z}{pZ} × \frac{Z}{qZ}$$
I feel we may have to use Bezout's identity but don't know how to. any help appreciated
Thanks