94.8k views
0 votes
Four houses in a row are each to be painted with one of the colors red, blue, green, and yellow. In how many different ways can the houses be painted so that no two adjacent houses are of the same color? There are possible ways to paint the houses.

User Shda
by
3.5k points

1 Answer

5 votes

Answer:

Possible ways to paint the house is 108

Explanation:

Total number of houses to be painted=4

Total number of colours to b used(red,blue,green and yellow)=4

Number of ways to paint the first house=4

Number of ways to paint the second house=3

Number of ways to paint the third house=3

Number of ways to paint the fourth house=3

Total number of ways to paint the 4 houses=4×3^3=108 ways.

User Joan Lara
by
3.8k points