Confirming your payment

Skip to content

Exercise 1.2 · Question 9 of 12

Let f : N N be defined by f(n) = cases n+1/2, & if n is odd n/2, & if n is even cases for all n N State whether the…

Question 93 marksEasy

Let f:N→Nf : \mathbb{N} \to \mathbb{N} be defined by

f(n)={n+12,if n is oddn2,if n is evenfor all n∈Nf(n) = \begin{cases} \dfrac{n+1}{2}, & \text{if } n \text{ is odd} \\ \dfrac{n}{2}, & \text{if } n \text{ is even} \end{cases} \quad \text{for all } n \in \mathbb{N}

State whether the function ff is bijective. Justify your answer.