4
votes
2answers
271 views

Finding the codomain of a monoid homomorphism

We have a monoid M, and a function $f: M \rightarrow \{0, 1\}$. We're promised that this function factors through a (surjective) homomorphism to a finite abelian group (considered as a commutative ...