ليونهارت أويلر
Later, the mathematicians Joseph Louis Lagrange and Leonhard Euler provided an analytical solution to the problem.