Julia version of euler32