This question was asked in Ex 1.2 , 2
Injectivity and subjectivity of the following function f :Z>Z given by f(x)=x^2
Ankit Bro's image