Solutions to some basic problems on projecteuler.net