Q9. Grids
TITA · +3 / 0
What is the minimum number of different numerals needed to fill a square matrix?
Correct Answer
4
Step-by-step solution
📌 Core Concept
Cells in any block all touch each other (horizontally, vertically or diagonally), so they need pairwise different numerals. This gives a lower bound, which a repeating pattern then achieves.
🔢 Step-by-Step Solution
1
Take the top-left block. Each of its four cells is adjacent to the other three, so four different numerals are needed. Hence at least 4 numerals are required.
2
Show that 4 is enough by repeating the block, with numerals 1, 2, 3, 4:
3
Check the pattern. Horizontal neighbours are 1 and 2, or 3 and 4. Vertical neighbours are 1 and 3, or 2 and 4. Diagonal neighbours are 1 and 4, or 2 and 3. No two touching cells match.
Quick Check
The lower bound is 4 and the pattern uses exactly 4, so the minimum is 4.
Correct Answer: 4