Which US president constructed his own proof of Pythagoras Theorem?

President James Garfield.