Project-euler is a project mainly written in ..., it's free.
"Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve."
Solutions to a subset of the Project Euler problems.