You're off by an order of magnitude at least. A mathematician does much more than just prove theorems. Let's start by teaching and administration duties.
And then you're off an order of magnitude of the efficacy of OpenAI. We don't know how much work of mathematicians is behind all these results, what's the real cost (which includes those problems they couldn't solve), etc.