Primes up to 500
computed on the server, by the sieve of Eratosthenes
| primes | 95 |
| twin pairs | 24 |
| largest gap | 14 (after 113) |
| their sum | 21536 |
The sieve is sub sieve(Int $limit) is server. Read the page source: the numbers are in the HTML, and the algorithm is not in the script.