first two problem solutions for euler