The Gateway to Computer Science Excellence
+1 vote
50 views

A new flag of ISI club is to be designed with $5$ vertical strips using some or all of the four colors: green, maroon, red and yellow. In how many ways this can be done so that no two adjacent strips have the same color?

  1. $120$
  2. $324$
  3. $424$
  4. $576$
in Combinatory by Boss (41.9k points) | 50 views

1 Answer

0 votes
Color for first strip can be selected from 4 colors in 4 ways.

Color for next strip can be selected in 3 ways(since we can't allow adjacent strips to have same color)

For similar reason, color for each of the next 3 strips can be selected in 3 ways .

Hence total number of ways of coloring the strips of the flag = $4*3*3*3*3$ = $324$ ways
by Loyal (7.2k points)
0
sir why cant it be 576? 4*3*4*3*4 ways

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,648 questions
56,430 answers
195,210 comments
99,924 users