Given big rectangle of size $x, y$, count sum of areas of smaller rectangles.
up vote
0
down vote
favorite
Let's say we have two integers $x$ and $y$ that describe one rectangle, if this rectangle is splitten in exactly $xcdot y$ squares, each of size $1cdot 1$, count the sum of areas of all rectangles that can be formed from those squares.
For example if $x = 2, y = 2$, we have $4$ rectangles of size $(1,1)$, $2$ rectangles of size $(1, 2)$, $2$ rectangles of size $(2, 1)$ and $1$ rectangle of size $(4,4)$. So the total answer is $4cdot 1+ 2cdot2 + 2cdot2+1cdot4 = 16$
Is there easy way to solve this for different $x$ and $y$?
combinatorics summation area
add a comment |
up vote
0
down vote
favorite
Let's say we have two integers $x$ and $y$ that describe one rectangle, if this rectangle is splitten in exactly $xcdot y$ squares, each of size $1cdot 1$, count the sum of areas of all rectangles that can be formed from those squares.
For example if $x = 2, y = 2$, we have $4$ rectangles of size $(1,1)$, $2$ rectangles of size $(1, 2)$, $2$ rectangles of size $(2, 1)$ and $1$ rectangle of size $(4,4)$. So the total answer is $4cdot 1+ 2cdot2 + 2cdot2+1cdot4 = 16$
Is there easy way to solve this for different $x$ and $y$?
combinatorics summation area
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Let's say we have two integers $x$ and $y$ that describe one rectangle, if this rectangle is splitten in exactly $xcdot y$ squares, each of size $1cdot 1$, count the sum of areas of all rectangles that can be formed from those squares.
For example if $x = 2, y = 2$, we have $4$ rectangles of size $(1,1)$, $2$ rectangles of size $(1, 2)$, $2$ rectangles of size $(2, 1)$ and $1$ rectangle of size $(4,4)$. So the total answer is $4cdot 1+ 2cdot2 + 2cdot2+1cdot4 = 16$
Is there easy way to solve this for different $x$ and $y$?
combinatorics summation area
Let's say we have two integers $x$ and $y$ that describe one rectangle, if this rectangle is splitten in exactly $xcdot y$ squares, each of size $1cdot 1$, count the sum of areas of all rectangles that can be formed from those squares.
For example if $x = 2, y = 2$, we have $4$ rectangles of size $(1,1)$, $2$ rectangles of size $(1, 2)$, $2$ rectangles of size $(2, 1)$ and $1$ rectangle of size $(4,4)$. So the total answer is $4cdot 1+ 2cdot2 + 2cdot2+1cdot4 = 16$
Is there easy way to solve this for different $x$ and $y$?
combinatorics summation area
combinatorics summation area
asked 1 hour ago
someone123123
411214
411214
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2997926%2fgiven-big-rectangle-of-size-x-y-count-sum-of-areas-of-smaller-rectangles%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password