All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Squares and Rectangles (Posted on 2004-01-21) Difficulty: 2 of 5
There is a grid of 20 squares by 10 squares. How many different rectangles are possible?
(Note that square is a rectangle).

See The Solution Submitted by Ravi Raja    
Rating: 2.0000 (5 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution General Case and Puzzle Solution Comment 22 of 22 |
(In reply to Puzzle Answer by K Sengupta)

Let us consider a grid of M squares by N squares with M>N

Then, all the distinct shapes of the individual rectangles (including square) must correspond to:
1x1, 1x2, ....., 1xN, 2x1, 2x2, ......, 2xN, Mx1, Mx2, ......, MxN
Then, the total number of individual rectangles
= 1*1+ 1*2 + .......+ 1*N+ 2*1+2*2+.....+2*N+........+M*1+M*2+.....+M*N
= 1(1+2+......+N) +2(1+2+.....+N)+.....+M(1+2+.....+N).
= (1+2+.....+N)*(1+2+......+M)
= comb(N+1, 2) * comb(M+1, 2)

Substituting M=20 and N=10 in the general case, we have:
The required # rectangles:
= comb(11,2)*comb(21,2)
={(11*10)/2} * {(21*20)/2}
= 55 *210
= 11,550

  Posted by K Sengupta on 2022-06-17 00:18:34
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information