- Square-Size 1x1 --> 64
- Square-Size 2x2 --> 49
- Square-Size 3x3 --> 36
- Square-Size 4x4 --> 25
- Square-Size 5x5 --> 16
- Square-Size 6x6 --> 9
- Square-Size 7x7 --> 4
- Square-Size 8x8 --> 1
64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204
64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204
The real question is:
How many rectangles on a chessboard ?
8!x8!=1296
Not every rectangle is a square.
64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204
Sum (8x8 + 7x7 + 6x6 + 5x5 +4x4 +3x3 + 2x2 +1x1)
This way it can be calculated for any size.
If you want to calculate for any size, you need to use the letter n because that's what math people do.
So for an nxn board the answer is
nxn nxn nxn nxn . . . nxn
qed
Yeah, the simplification of squares and rectangles are really cool.
For example the number of rectangles is 8^3 + 7^3 + 6^3 + . . . + 1^3
Which I'm not sure has an easy way to visualize.
But counting the squares does have an easy way to visualize.
There is one 8x8 square, there are four 7x7 squares, nine 6x6 squares . . . 64 1x1 squares.
iballisticsquid123 wrote:
basically 8x8+7x7+6x6+5x5+4x4+3x3+2x2+1x1
Dammit!!! I worked it out and then saw your post.
Seven.