Boxes numbered 1, 2, 3, 4 and 5 are kept in a row and they are necessarily to be filled with either a red or a blue ball such that no two adjacent boxes can be filled with blue balls. How many different arrangements are possible, given that the balls of a given colour are exactly identical in all respects ?
Make cases when all 5 boxes are filled by:
Case 1: Identical 5 red balls =5C5=1 way
Case 2: 4 identical red balls and 1 blue ball 5C1=5 ways
Case 3: 3 red balls and 2 blue balls
Is similar to filling 4 gaps by 2 blue balls =4C2=6 ways
Case 4: 2 red and 3 blue balls
Is similar to filling 3 gaps by 3 blue balls =3C3=1 way
∴ Total number of ways =1+5+6+1=13 ways