CBSE Class 12 Mathematics Relations and Functions Q #2146
KNOWLEDGE BASED
REMEMBER
3 Marks Generic-Curriculum SA
Prove that the function $f$ is surjective, where $f : N \to N$ such that $f(n) = \begin{cases} \frac{n + 1}{2}, & \text{if } n \text{ is odd} \\ \frac{n}{2}, & \text{if } n \text{ is even} \end{cases}$.