Hey,
There is no specific post as a mathematician in UPSC. Also, I would suggest you not to continue maths, since you don't like it. You may feel like you can solve any problem for now, but there will be problems that you won't be able to solve if you choose maths as your profession. The services provided by UPSC are as follows:
All India services:
Central service group A:
Group B:
You can choose from these posts as per your interest.
Hope this helps!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile