Solution
Understanding the set :-
- It says, there are 25 beads to be arranged in a grid comprising of five rows and five columns.
- Each bead is coloured either Red, Blue or Green.
- we need to arrange the beads according to the rules given :
a) Two adjacent beads are always of different colour
b) There is at least one Green bead between any two Blue beads
c) There is at least one Blue and at least one Green bead between any two Red beads
This set gives information about 25 beads, which we need to arrange in a grid of 5 rows and 5 columns,
so there will be n different configurations we can make of these 25 beads arrangement.
Therefore, this is a question based set,
which we need to solve according to the question's demand.
According to the question :
Two red beads are in second row, third column and third row, second column.
We are asked to maximise the number of Red beads.
| Red | ||||
| Red | ||||
To maximize the Rs,
we need to move along the diagonal and also add R wherever we can see a space of 2 cells
| Red | Red | |||
| Red | ||||
| Red | Red | |||
| Red | Red | |||
| Red |
Now we can see that there will be maximum 6 red colored beads which satisfy the given arrangement.