The number of ways of arranging numbers out of
so that maximum is
and minimum is 2 (repetition of number is allowed) such that maximum and minimum both occur exactly once,
is
First we take one of the numbers as 2 and one another as . We can arrange these two numbers in
ways. We have to choose remaining
numbers from the numbers
. This can be done in
ways.
Thus, the total number of ways of arranging the numbers in desired way is .
Study 40% syllabus and score up to 100% marks in JEE