Non isomorphic groups who product with Z is isomorphic [duplicate]

Solution 1:

Yes, there is an example in a paper by Hirshon, "On Cancellation in Groups". You can find a slightly different example written up here