Live data from Hacker News

How many squares can you find?

a2.sphotos.ak.fbcdn.net

11–17 of 17 posts

Re: How many squares can you find?

#17

40 - starting with a 4x4 grid, that makes 16+9+4+1 = 30, and adding 8+2 for the inner ones Can someone explain where is the 41th, if there is one?

Thats how I counted them too. Start off with cell in top left corner and count 4x4 (16). Then make a 2sq cell and see that you can fit 3 of these across by shifting one cell at a time to make 3x3 (9). Same with 3sq cells (4) and 4sq cells (1) as the total size. Adding the inner ones is straightforward from there.
Post reply on HN