euler 29 distinct terms