Q:Give an explicit formula for a function from the set of all integers to
the set of positive integers that is neither one-to-one nor onto.
Can someone give me some hints as to how I should approach this question because honestly, I have no idea how to do this question.
Answer with explanation would be nice. xD
If we let two integers to be on the same partition(even or odd) -not one-one
then how do we get it to be not onto as well?
so if the function is ((x^2)-8x+7)
x = 7 and x = 1(both in odd partition)
How would you prove it not to be onto?