A mathematical challenge with solution.