Andrew Jackson Libby
Andrew Jackson "Slipstick" Libby is a fictional character featured in the "Future History" series of science fiction novels by Robert A. Heinlein. He is an enormously talented and intuitive mathematician, but received little formal education. His talent was first appreciated in the short story "Misfit", where he helps guide an asteroid into the correct orbit after the guidance computer has failed.
In later stories he changes sex to become Elizabeth Andrew Jackson Libby.