Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
Olympiad workbook
Exam
Olympiad workbook
Subject
IOQM
Chapter
Permutation and Combination

Olympiad workbook · IOQM · Permutation and Combination

For an integer n ≥ 3 and a permutation σ=(p_1, p_2, , p_n) of \...

For an integer n≥3andapermutationn \geq 3 and a permutation\sigma=\left(p_1, p_2, \ldots, p_n\right)ofof\{1,2, \ldots, n\},wesay, we sayp_1isalandmarkpointifis a landmark point if2 \leq I \leq n-1and(pI−1−pI)(pI+1−pI)>0and \left(p_{I-1}-p_I\right)\left(p_{I+1}-p_I\right)>0. For example, for n=7n=7, the permutation (2,7,6,4,5,1,3)(2,7,6,4,5,1,3) has four landmark points: p2=7,p4=4,p5=5p_2=7, p_4=4, p_5=5 and p6=1p_6=1. For a given n≥3n \geq 3, let L(n)L(n) denote the number of permutation of {1,2,…,n}\{1,2, \ldots, n\} with exactly only landmark point. Find the maximum n≤3n \leq 3 for which L(n)L(n) is a perfect square.

Correct answer

03

Step-by-step solution

For the permutations of set {1,2,3,…,n}\{1,2,3, \ldots, n\}, the landmark point should be 1 or nn to satisfy given conditions. \overline{\mathrm{I}^{\mathrm{st}}} \overline{\mathrm{II}^{\mathrm{nd}}}-\overline{\mathrm{r}^{\mathrm{th}}}-\cdots-\overline{\mathrm{n}^{\mathrm{th}}} If nn is at (similarly for 1 ) rth r^{\text {th }} position, there is only one permutation of the remaining numbers for each selection.  So, number of selections =∑r=2n−1n−1Cr−1=2n−1−2\begin{aligned} \text { So, number of selections } & =\sum_{r=2}^{n-1}{ }^{n-1} C_{r-1} \\ & =2^{n-1}-2 \end{aligned} ∴\therefore \quad Total number of selections =2(2n−1−2)=2\left(2^{n-1}-2\right)L(n)=4\left(2^{n-2}-1\right)NowforNow forL(n)tobeaperfectsquareto be a perfect squarenshouldbeequalto3.should be equal to 3 .\therefore \quad n=3
Practice Permutation and Combination on Quantrex Academy →

More from Permutation and Combination

All Permutation and Combination questions Full Permutation and Combination list All Olympiad workbook PYQs