Primes up to 50
computed on the server, by the sieve of Eratosthenes
| primes | 15 |
| twin pairs | 6 |
| largest gap | 6 (after 23) |
| their sum | 328 |
234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
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.