JEE Main 2003Annual, Paper 1MathematicsMediumSets, Relations and Functions168× since 2002A function fff from the set of natural numbers to integers defined by f(n)={n−12, when n is odd−n2, when n is evenf\left( n \right) = \left\{ {\matrix{ {{{n - 1} \over 2},\,when\,n\,is\,odd} \cr { - {n \over 2},\,when\,n\,is\,even} \cr } } \right.f(n)={2n−1,whennisodd−2n,whenniseven isAOption A. neither one -one nor ontoBOption B. one-one but not ontoCOption C. onto but not one-oneDOption D. one-one and onto bothCheckSkip · show solution