

InterviewSolution
Saved Bookmarks
1. |
Let `f : N to N : f (n) = {underset((n)/(2), " when n is even ")( (1)/(2) (n+1) , " when n is odd ")` Then f isA. one-one and intoB. one-one and ontoC. many-one and intoD. many- one and into |
Answer» Correct Answer - D f(1)=(2) shows that f is many -one if n is odd then (2n-1) is odd and f (2n-1) =n ltbr. If n is even then 2n is even and f(2n)=n. `:. ` f is onto. |
|