I'll prove that HomZ(Zn,Zm)≅Zgcd(n,m) as left Z-modules.
First, let me characterize the homomorphisms in HomZ(Zn,Zm). Any homomorphism is completely determined by where it sends , since for any .
Let f(1)=a∈Zm for some . For to be well-defined, we need:
- If k=k′ in Z, then in
This means if n∣(k−k′), then m∣(a(k−k, which requires .
Therefore, f is a homomorphism if and only if m∣an, which is equivalent to gcd(m,n)m.
This shows that the possible values of a are exactly the multiples of gcd(m,n)m in . There are precisely such values: .
Now I'll construct an explicit isomorphism ϕ:HomZ(Zn,Z.
Define ϕ(f)=b∈Zgcd(n,m) where in .
To verify this is well-defined and bijective:
-
Well-defined: If f(1)=a with , then for some , and this is unique modulo .
Finally, I need to verify that ϕ is a Z-module homomorphism. The Z-module structure on HomZ(Z is given by for .
For any k∈Z and f∈HomZ(Z:
- (k⋅f)(1)=
Therefore, ϕ is a Z-module isomorphism, completing the proof.