I know about Fermat's Last Theorem and the Poincare conjecture, but I'm curious which mathematical problem took the longest to solve or required the most effort. Was there one problem that stumped mathematicians for centuries before someone finally cracked it?