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

Thanks,

Creative