problem 4, plus added questions from euler