Hacker News new | ask | show | jobs
by IvoGeorgiev 5069 days ago
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?
1 comments

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.