Friday, November 28, 2008

Squares on a grid

Over on Yahoo!Answers someone asked how many squares could be drawn on a 8 by 8 grid. I didn't have a clue so I wrote a program to generate them all and count as it went. The answer turned out to be 540. The image of all those squares is quite nice so I thought I would share it here:

No comments: