arithmomania
/ɑrɪθməˈmeɪniə/Definitions
1. noun
An excessive or obsessive desire to do mathematics, often resulting in a preoccupation with numbers and mathematical problems.
“The professor’s arithmomania led him to spend most of his free time working on complex mathematical proofs.”