If f:{1,2,3,.........} →{0,±1,±2,.......} is defined byf(n)=⎧⎪ ⎪⎨⎪ ⎪⎩n2, if n is even−(n−12), if n is odd
Let f:N→N be defined by f(n)={n+12,if n is oddn2,if n is even} for all n∈N.
State whether the function f is bijective. Justify your answer.