Euler project 35