EULER 28 -- Initial correct solution before cleanup.