Let be a 4-element permutation with for and for , such that either are consecutive integers or are consecutive integers.
Then the number of such permutations is equal to ____.
Then the number of such permutations is equal to ____.
Answer: 18915
Solution
Reading "consecutive integers" as a run taken in increasing order, let be the permutations in which form such a run and those in which do. For there are possible runs () and may be any of the remaining numbers, so ; by the same reasoning . When both hold at once, are four consecutive integers , of which there are , so . Hence .
JEE Main · 2022 · 29 Jun 2022 · Shift 1 · Integer answer