Euler project 52