Part of 2023 Simon Marais Mathematical Competition
Source: Simon Marais Mathematics Competition 2023 Paper B Problem 1