And here is the solution to his problem:
where and are the lengths of the sides of the rectangle and is the number of squares that can fit inside the rectangle.
I found this solution here.
And here is something I designed to help experience the relationships described by this function. Dragging the black dot allows you to create rectangles with different dimensions. The number next to the dot expresses the number of squares that can fit inside that rectangle.
Playing with it for just a few minutes reveals tons of interesting and unexpected patterns and ideas for further exploration. What interesting patterns can you find? What new questions do you have after playing with it? I invite you to post them in the comments to further the discussion. Here’s one to get you started. A 4 x 3 rectangle produces 20 squares. A 4 x 21 rectangle produces 200 squares. Hmmm…
That’s amazing, Harry. Thanks for sharing!
Thanks, Michael. And thanks for the twitter shout out. I’m looking forward to getting more active on there, too.