How many homomorphisms are there from Z30 onto Z10? How many are there to Z10? Give a formula for any homomorphism you find in the form f(x)= "expression" mod "some number." Be sure to verify that your homomorphism is well defined.

I'm not really sure how to do this at all.