On https://projecteuler.net/ is a list of math problem which you can solve with computer science.
“Project Euler exists to encourage, challenge, and develop the skills and enjoyment of anyone with an interest in the fascinating world of mathematics.”
I’ve solved the first few problems and it’s really addictive.