getting ready for Euler 77