test/euler.jl: fix integer overflow on 32-bit systems.
Merge pull request #5479 from mschauer/test-euler

test/euler.jl:  integer overflow on 32-bit systems.