Q.
A mapping $f : N \to N$, where $N$ is the set of natural numbers is defined as
$f(n) = n^2$ , for $n$ odd
$f(n) = 2n + 1$ , for $n$ even
for $n \in N $.
Then $f$ is
Solution: