Combinatorics · Invariants · Parity · Extremal process · State transitions

Problem 5, 2014

RegionalEnter the answer

In the Mad Forest there lived \(6\) werewolves, \(17\) unicorns and \(55\) spiders. A werewolf can eat a spider or a unicorn, but not another werewolf; a spider can eat a unicorn, but neither a werewolf nor another spider; and a unicorn can eat none of the three. Eating transforms the eater: a werewolf that eats a spider becomes a unicorn, a werewolf that eats a unicorn becomes a spider, and a spider that eats a unicorn becomes a werewolf.

What is the largest number of creatures that can remain in the forest at a moment when no creature is able to eat any other?

Sign in to check answers, open hints, read the full solution, and track your progress. Statements are always free.

Serbian Regional Competition 2014, high school grade I, category A, problem 5. Organized by the Mathematical Society of Serbia (DMS). Source