#!/usr/bin/js24 function isPrime(num) { if (num === 3) { return true; } if (num % 2 === 0) { return false; } for (let i = 3; i <= Math.sqrt(num); i++) { if (num % i === 0) { return false; } } return true; } const MAX = 5e7; let primes = [2, 3, 5, 7]; for(let i=10; i= MAX) { break; } sumSet.add(sum); } } } print("found "+sumSet.size+" numbers");