IAT (IISER)
Permutations And Combinations PYQIAT (IISER) 2026
MCQ+4 / -12026
Let be two integers such that . What is the total number of functions
such that are all distinct?
such that
Solution
Correct option: D
Count the restricted values
The values
Apply multiplication rule
There are
Hence the first
Handle the remaining inputs
The remaining inputs are l+1,l+2,ldots,r, so there are
Thus, these give
Combine both parts
Total number of functions is r^{r-l}\cdot r(r-1)(r-2)\cdots(r-l+1).
So,
Therefore, the correct option is D.
