Fermi
·
Concept Library
·
Courses
·
Books
·
Problems
·
Simulations
·
Math Wiki
·
High School
Fermi
›
Problems
Problem
Problem
A function
f
f
f
from the set of natural numbers to integers defined by
f
(
n
)
=
{
n
−
1
2
,
when
n
is odd
−
n
2
,
when
n
is even
f(n) = \begin{cases} \frac{n-1}{2}, & \text{when } n \text{ is odd} \\ -\frac{n}{2}, & \text{when } n \text{ is even} \end{cases}
f
(
n
)
=
{
2
n
−
1
,
−
2
n
,
when
n
is odd
when
n
is even
, is (a) One-one but not onto (b) Onto but not one-one (c) One-one and onto both (d) Neither one-one nor onto
Browse the problem library