The Sieve of Eratosthenes
Cheat Sheet
Number represented by cell (x,y) is x + y*\text{width}.
Color of cell for n is
- A color if the number is a multiple of a lmb-marked number
- Black/dark grey if the number is rmb-marked depending on parity
- Light grey if the number is 0,1 or a multiple of a rmb-marked number
- White otherwise
Text will appear on lmb-marked numbers.