Letf:N→N be defined by fx=x2+x+1, x∈N. Then f is
one-one onto
many-one onto
one-one but not onto
none of these
Let x,y∈N such that fx=fy.
fx=fy
or x2+x+1=y2+y+1
or x-yx+y+1=0
i.e. x=y or x=-y-1∉N
Therefore, f is one-one.
Also, f(x) does not take all positive integral values.so not onto
Hence, f is into.