By default, primes are generated starting at 0. You may specify a different starting number using the field below.
By default, smaller numbers of primes will be rendered inline, while larger ones will be stored in a file for download. You may use the following options to force inline display or download. Note that enabling "Display" mode when generating large numbers of primes may slow, hang, or crash your browser.
WASM uses 32-bit integers by default to achieve optimal performance. You may enable 64-bit mode to mitigate overflow at a considerable performance tradeoff.