Try this problem from ISI MStat 2018 PSA Problem 14 based on all possible colorings. We provide sequential hints to help you solve the problem.
A flag is to be designed with 5 vertical stripes using some or all of the four colours: green, maroon, red and yellow. In how many ways can this be done so that no two adjacent stripes have the same colour?
Basic counting principles
Answer: is 324
ISI MStat 2018 PSA Problem 14
A First Course in Probability by Sheldon Ross
How many ways you can colour the first stripe and the second stripe?
You have 4 colour options for the first stripe.
You have (4-1) = 3 colour options for the second stripe.
\( 4 \times 3 \).
How many ways you can colour the third stripe and the rest of the stripes?
You have (4-1) = 3 colour options for the second stripe.
You have (4-1) = 3 colour options for the fourth stripe.
You have (4-1) = 3 colour options for the fifth stripe.
Therefore, total number of ways to colour = \( (4 \times 3) \times 3 \times 3 \times 3 = 324 ) \)


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 […]