Project Euler is a website with mathematical challenges designed for programming languages. Here are some Java results.