Fair and Square solutions

Fair and Square was solved using Mathematica by 2 contestants. Solution sizes: average 19235 bytes (shortest: 6551; longest: 31920).