Remix.run Logo
tmtvl 4 hours ago

Even better: you only have to check primes smaller than or equal to the square root.