Euler project 1, 2