Project Euler
projecteuler.net
A long-running series of challenging mathematical and computational problems designed to be solved with a short, efficient program.
Why it is useful
Project Euler's problems require actual mathematical insight, not just brute-force code — solving them well means finding a genuinely efficient algorithm, making it a favorite among programmers who want to sharpen both math and coding skill together.