CAT 2018 Slot 1DILR Question 17

Mixed PracticeEasy
Passage / Data

Answer the following question based on the information given below.

You are given an n × n square matrix to be filled with numerals so that no two adjacent cells have the same numeral. Two cells are called adjacent if they touch each other horizontally, vertically or diagonally. So a cell in one of the four corners has three cells adjacent to it, and a cell in the first or last row or column which is not in the corner has five cells adjacent to it. Any other cell has eight cells adjacent to it.

What is the minimum number of different numerals needed to fill a 3×3 square matrix?

Answer & solution

Answer: 4

Solution

A number say ‘x’ can be filled in four corner cells. Another number say ‘y’ can be used in the central cell. Now the remaining cells are middle cells of top row, bottom row, left column and right column. Two more numerals can be used to fill these cells. Assume that ‘z’ and ‘w’ are those numerals.

Thus,

​​​​​​​

Thus, four different numerals are required.

Therefore, the required answer is 4.

Answer: 4

CAT 2018 Slot 1 DILR Q17: What is the minimum number of different numerals needed to fill a 3×3 square matrix? — Solution | TheCATExam