f:N→N, where fx=x--1n. Then f is
one-one and into
many-one and into
one-one and onto
many-one and onto
fx=x-1, n is evenx+1, n is odd,both cases function is linear. which is clearly one-one and onto.