Sanpou Shoujo
An adaptation of a children's novel of the same title brought out in 1973. Its author, Endo Hiroko, was moved to write the story by a tale her father had told her when she was small. It follows Aki, a girl of 13. While on a pilgrimage to Sensou-ji (a Buddhist temple in Asakusa, Tokyo), she spotted an error in the sangaku. Word of her cleverness spread fast and in time reached Arima Yoriyuki, lord of the Kurume Domain (himself famed for discovering the rational approximation of pi). He engaged Aki as an arithmetic teacher for the region's princess, though he took on others too. In a mathematics contest, Aki competed against other geniuses and prodigies, all in the hope of earning a wage so that she might one day open a school for poor children and teach them arithmetic as well.