Skip to main contentSkip to solution

Twenty five coloured beads are to be arranged in a grid comprising of five rows and five columns. Each cell in the grid must contain exactly one bead. Each bead is coloured either Red, Blue or Green.

While arranging the beads along any of the five rows or along any of the five columns, the rules given below are to be followed:

  1. Two adjacent beads along the same row or column are always of different colours.
  2. There is at least one Green bead between any two Blue beads along the same row or column.
  3. There is at least one Blue and at least one Green bead between any two Red beads along the same row or column.

Every unique, complete arrangement of twenty five beads is called a configuration.

What is the maximum possible number of Red beads that can appear in any configuration?

Entered answer:

Solution

✅ Correct Answer: 9
Slide 1/2

Understanding the set :-

  1. It says, there are 25 beads to be arranged in a grid comprising of five rows and five columns.
  1. Each bead is coloured either Red, Blue or Green.
  1. 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.

Question ask us to maximize the number of red beads -

Now, we know 1 Red needs to have at least 1 blue and 1 green between them, to maximize, we will need to have (ideally) exactly 1 blue and 1 green. (Clue 3)

therefore, we will try for red beads to not come in contact in adjacent cell, to avoid use of blue and green beads.

thus, Move along the diagonal as you are trying to fill the Red beads since that way, we can also ensure that 2Rs do not come in contact in adjacent cells

RedRed
RedRed
Red
RedRed
RedRed

Let's see if this is feasible with the given constraints. We will now need to fill in the G and B to see if it is feasible.

RedGreenBlueRedGreen
GreenRedGreenBlueRed
BlueGreenRedGreenBlue
RedBlueGreenRedGreen
GreenRedBlueGreenRed

It is indeed feasible,

by now you would have already noticed a pattern that moving along the diagonal (especially because of the non-repeating colours condition) is absolutely crucial to understanding the pattern in the grid.

Here as well, you can see that the Blues and Greens are along the diagonal.

Therefore, we can see that there are 9 Red colored beads in the above arrangement.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question