🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2016 Math Kangaroo

Problem 29

Problem 29 · 2016 Math Kangaroo Stretch
Counting & Probability caseworkcareful-counting

We consider a 5 × 5 square that is split up into 25 fields. Initially all fields are white. In each move it is allowed to change the colour of three fields that are adjacent in a horizontal or vertical line (i.e. white fields turn black and black ones turn white). What is the smallest number of moves needed to obtain the chessboard colouring shown in the diagram?

Figure for Math Kangaroo 2016 Problem 29
Show answer
Answer: A — less than 10
Show hints
Hint 1 of 3
Each move flips exactly three in-line cells, so a cell ends black only if it is flipped an odd number of times.
Still stuck? Show hint 2 →
Hint 2 of 3
Try to cover several needed black cells with each single move instead of one at a time.
Still stuck? Show hint 3 →
Hint 3 of 3
Look for a clever overlap of horizontal and vertical triples that hits the target with very few moves.
Show solution
Approach: find an efficient flip sequence
  1. A move toggles three adjacent cells in a line, so the goal is to flip exactly the target-black cells an odd number of times and the rest an even number.
  2. Because moves overlap, a single well-placed triple can settle several target cells at once.
  3. A careful set of fewer than ten moves produces the whole chessboard pattern, so the answer is less than 10 (A).
Mark: · log in to save