Euler Probs 6 thru 9