Waste less time on Facebook — follow Brilliant.

Square & Rectangle

How many squares and rectangles are there in an \(n\times n\) grid?

Note by Shithil Islam
2 months, 1 week ago

No vote yet
1 vote


Sort by:

Top Newest

I am not fully sure but according to my calculations they are respectively equal to the sum of first \(n\) squares and the sum of first \(n\) cubes. Or we can say that there are \(\frac{n(n+1)(2n+1)}{6}\) squares and \((\frac{(n)(n+1)}{2})^2\) rectangles in an \(n*n\) grid. Yatin Khanna · 2 months, 1 week ago

Log in to reply


Problem Loading...

Note Loading...

Set Loading...