Skip to content
dronacharya.ai
← JEE Main 2022 · 28 Jun · Shift 1
MathematicsSingle correct+4 / -1Question 2 of 90

JEE Main 2022 · 28 Jun · Shift 1, Mathematics question 2

Let a function f:N→Nf:\mathbb N\to\mathbb N be defined by
f(n)={2n,n=2,4,6,8,…n−1,n=3,7,11,15,…n+12,n=1,5,9,13,…f(n)=\begin{cases}2n, & n=2,4,6,8,\dots\\ n-1, & n=3,7,11,15,\dots\\ \dfrac{n+1}2, & n=1,5,9,13,\dots\end{cases}
then, ff is

Choose one option
Answer and worked solution

Official answer: D

Images. Even nn go to multiples of 4; n≡3(mod4)n\equiv3\pmod4 go to numbers ≡2(mod4)\equiv2\pmod4; n≡1(mod4)n\equiv1\pmod4 go to 1,3,5,…1,3,5,\dots, every odd number once.

The three pieces are one-one and together cover N\mathbb N exactly once.

(D)