Can non-isomorphic abelian groups have isomorphic endomorphism rings?
I am aware that distinct Banach spaces $X$, $Y$, give rise to distinct operator algebras $B(X)$, $B(Y)$, but the proof seems to rely heavily on the use of projections and the Hahn-Banach theorem. So if there is a generalization to rings and groups, it is not obvious.
Solution 1:
Yes, both $\mathbb{Z}$ and $\{ \frac{a}{b} \in \mathbb{Q} : b \text{ is square-free} \}$ have endomorphism ring $\mathbb{Z}$. If $A \leq \mathbb{Q}$, then its endomorphism ring is a subring of $\mathbb{Q}$, and such subrings are easily classified by which primes of $\mathbb{Z}$ are invertible. None are in either endomorphism ring, so they are both $\mathbb{Z}$.