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

Problem 18

Problem 18 · 2015 Math Kangaroo Medium
Logic & Word Problems casework

Each side of each triangle in the diagram is painted either blue (blau), green (grün) or red. Four of the sides are already painted, as shown. Which colour can the line marked x have, if each triangle must have all sides in different colours?

Figure for Math Kangaroo 2015 Problem 18
Show answer
Answer: A — only green
Show hints
Hint 1 of 2
Each triangle uses all three colours exactly once, and neighbouring triangles share a side.
Still stuck? Show hint 2 →
Hint 2 of 2
Start from the known blue sides and force each shared side in turn along the strip until you reach x.
Show solution
Approach: propagate the all-different constraint along the strip
  1. Each triangle must use blue, green and red once.
  2. Starting from the two given blue sides and using the shared edges, each triangle's remaining colours are forced one after another.
  3. Following the chain to the side marked x leaves only green possible.
  4. So x can only be green (A).
Mark: · log in to save