euler5.js without factorizing