finishing with his doctorate at the age of twenty three and going on to teaching at the university at twenty four , he was a great mathematician , looking to test the waters , discover new ideas , and present new theses .