More work on euler 18.