I have found a really nice website offering you problems that you can solve using computer programming. You can then verify whether the result was true, and if you have an account it will take track of which problems you solved and which are still to be solved for you.
Currently my rating is: Your current rating is 3% genius, having solved 8 out of 202 problems.
I hope you will also try to solve these problems, because it is a good way to practice both programming and mathematics.
The site can be found at http://projecteuler.net/.