Kami ni Homura o: How to Prove the Last Theorem

In postwar Japan, a young mathematician pursues a proof of Fermat's Last Theorem. His search takes an unexpected turn when he meets Rama, a girl with an extraordinary talent for mathematics.