Bitcoin is basically built on the blockchain. And the basic programming that is done on the computer while building the blockchain involves mathematical terms. If you want to know the details of this topic, you can get crypto related courses for free on Coursera and learn from there. I am giving you a link from where you can find out the details.