Colour an N × N grid with C colours so that no rectangle has all four corners the same colour. Make N as big as you can, for every C from 2 to 21.
1,2,3 or a,b,c. C is how many different symbols you use, and N is the square root of the number of cells.Where this came from. In 2009, William Gasarch challenged the world to colour a 17 × 17 grid with 4 colours and no single-colour rectangle. Bernd Steinbach and Christian Posthoff finally did it in February 2012, and Dmitry Kamenetsky asked the obvious next question: what about more colours? About the records: they come from the Tops page saved on 16 August 2012, two weeks before the contest closed. The players' own grids weren't saved, but for most C we can build a grid of the record size from methods the players shared on the forum afterwards. Press View to see one. Did you play in 2012 and still have your grids? Please submit them.
As on the original site, here is the code that scores every entry, so you can check your own before you send it. It's written to be easy to read, not fast. Each version reads one entry per line and prints its score. We've checked all six against the site on every grid we could build from the 2012 forum, plus hundreds of broken ones.
Why QBasic? It's the first programming language Neil, who runs ISS, ever learned, and this version is a nod to that. QBasic can't read typed-in input the way the others do, so it reads your entries from GRIDS.TXT and saves its answers in RESULTS.TXT. It handles grids up to 100 × 100: real QBasic runs out of memory beyond that.
Loading…
Your concern goes to Neil privately. Nothing shows on the board, and he keeps your name to himself. If it needs talking through, he opens a thread on Discord, where the player can answer.
Papers, write-ups and data about Monochromatic Squares that players have shared. Every file has been looked over by Neil before going up. Files about every contest are in the Library.
Loading…