Project Euloer solutions 1-3