Multiple choice, one correct option Memory basedSets, Relations & Functions
A function f from the set of natural numbers to integers defined by $f(\mathrm{n}) = \begin{cases} \frac{\mathrm{n}-1}{2}, & \text{when } n \text{ is odd} \\ \frac{\mathrm{n}}{2}, & \text{when n is even} \end{cases}$ is
(1)
neither one-one nor onto
(2)
one-one but not onto
(3)
onto but not one-one
(4)
one-one and onto both.
Show answer
Option (1) is correct.
Checked by our team
See the step-by-step solution in EdLoop
The worked solution is in the EdLoop app, free on Android, with every other Sets, Relations & Functions question from 2002 to 2026.
Mathematics Sets, Relations & Functions question from AIEEE 2003 (AIEEE, now called JEE Main). Memory-based papers are reconstructed from candidates' memory by coaching institutes.