This is a very beautiful sample problem from ISI MStat PSB 2007 Problem 6 based on counting principle . Let's give it a try !!
18 boys and 2 girls are made to stand in a line in a random order. Let \(X\) be the number of boys standing in between the girls. Find
(a) P(X=5)
(b) \( E(X) \)
Basic Counting Principle
Probability
Discrete random variable
If there are j boys in between 2 girls then first we have to choose j boys out of 18 boys in \( {18 \choose j} \) ways now this j boys can arrange among themselves in j! ways and 2 girls can arrange among themselves in 2! ways and now consider these j boys and 2 girls as a single person then this single person along with remaining (18-j) boys can arrange among themselves in (18-j+1)! ways .
Giving all total \( 2! {18 \choose j} j! (18-j+1)! \) possible arrangements .
Again without any restrictions there are (18+2)!=20! arrangements .
Hence \( P(X=j)=\frac{ 2! {18 \choose j} j! (18-j+1)! }{20!} = \frac{19-j}{190} \)
(a) \( P(X=5)=\frac{19-5}{190}=\frac{7}{95} \)
(b) \( E(X)= \sum_{j=0}^{18} \frac{j (19-j )}{190} = 9 \) just computing the sum of first 18 natural number and sum of squares of first 18 natural numbes.
Find the same under the condition that 18 boys and 2 girls sit in a circular table in a random order .


Publishing original scientific research in a peer-reviewed journal is an achievement many scholars work toward for years. Achieving this feat early in one's academic journey requires exceptional intellectual rigor, creativity, and persistence. Aaditya Punatar and Muskan Sadana have reached this remarkable milestone, successfully publishing their collaborative research paper in the prestigious Journal of Emerging Investigators […]

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]