Finding 1-1 function

I am trying to find function f:Z->N that is 1-1.
Does that mean that every elements is Z (.....-3,-2,-1,0,1,2,3....) has to map to every element of (0,1,2,3.....)
of just every element of Z has to map to some distinktive element of N

Re: Finding 1-1 function

Since it says f:Z->N how do i know what actual elements are in Z and
N? I know that Z are all integers and N are all naturals but to solve this
problem how do i know what actual numbers are in each set i am trying to
find function that is 1-1

Re: Finding 1-1 function

Originally Posted by Plato

There is no general agreement on that point.
Most who work in the area of foundations do say that .
But follow whatever your textbook says.

That what's my knowledge. I noticed that some publications use WHOLE numbers set, and Natural numbers. the 0 is included in the whole numbers set and excluded from the natural numbers set. I don't know what is the rationale for this classification.