BMO2 2021 (round 2)problem 1 solution (British Mathematical Olympiad) - first question - math