I bet you have seen one of those Facebook publications where you have a grid and you have to count the number of squares the grid contains, and then you jump to the comment section and virtually no one agrees on what the correct answer should be... Let's settle this once and for all!
I am excited to tell you that I just released the alpha version of my “Pydont's” book, a book that compiles all my “Pydon't” articles. You can get the book at leanpub: leanpub.com/pydonts.
The image above is a colourful grid that has \(7\) rows and \(10\) columns. How many squares are hiding in that grid?
The problem in this post is not about complicated theorems or weird proofs, it is just about finding a way to systematically count all the squares in a figure like this... Other than tracing the squares with one's finger and whispering the count as you go, of course.
You can start with something simpler to warm up. How many squares are there in this smaller \(3 \times 3\) grid?
Give it some thought...
If you need any clarification whatsoever, feel free to ask in the comment section below.
You can read the solution here to compare with your own solution. You can also use that link to post your own solution in the comments!
If you enjoyed the problem and would like to get new problems directly in your inbox, be sure to subscribe to the Problems newsletter.
If you liked this article and would like to support the mathspp project, then you may want to buy me a slice of pizza 🍕.