Solutions to some projecteuler.net problems