My project Euler solutions.  Not pretty.  But if they're here, they work.