What is the set $S$ of rings $R$ such that, for all rings $R'$, there is at most one nonzero homomorphism $R \to R'$?
We're dealing only with commutative rings with unity, and our definition of ring homomorphisms require $1_R \mapsto 1_{R'}$, and we're excluding considering the zero homomorphism. We know $\mathbb Z \in S$ and also $\mathbb Z/n\mathbb Z \in S$, which leads us to posit that any element of $S$ will have some special property $\mathbb Z$ and $\mathbb Z/n\mathbb Z$ have that makes them have a unique homomorphism, if it exists. After some thinking, I've come up with the possible hypothesis that the special property is the following: $R \in S$ if and only if any $r \in R$ is a finite sum of $1_R$, which will imply membership of $S$ by virtue of the property of ring homomorphisms forcing $1_R \mapsto 1_{R'}$.
It turns out that all such rings are indeed members of $S$, but I'm uncertain whether the converse holds.
Any tips, hints, or thoughts?