Rectangle test
Sieve
Prime or composite?
Every way to arrange the tiles in a full rectangle: