https://123dok.net/document/y4w47l30-the-i-o-complexity-of-computing-prime-tables.html