A new flag has to be designed with 6 vertical strips using some or all of the colours yellow,green,blue and red.In how many ways can this be done so that no two adjacent stripes have the same colour?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
There are 4 ways to choose color for the first strip.
There are 3 ways to choose color for the second strip (other the first strip's color) .
There are 3 ways to choose color for the third strip (other the second strip's color) .
There are 3 ways to choose color for the fourth strip (other the third strip's color) .
There are 3 ways to choose color for the fifth strip (other the fourth strip's color) .
There are 3 ways to choose color for the sixth strip (other the fifth strip's color) .
So, there are 4 . 3 . 3 . 3 . 3 . 3 = 9 7 2 ways to design this flag.