100 years old math puzzle was solved