Today’s puzzle appeared in last year’s British Mathematical Olympiad (BMO), a competition taken by almost 2,000 school pupils in the UK.
The BMO is the top national maths contest for pre-university students, and is part of the selection process for the British team at the International Mathematical Olympiad and the European Girls’ Mathematical Olympiad.