Fair and Square solutions

Fair and Square was solved using MATLAB by 37 contestants. Solution sizes: average 1745 bytes (shortest: 304; longest: 13150).

The list below is sorted by solution size. You can also sort by ranking.