Difference between revisions of "2013 Indonesia MO Problems/Problem 1"
Skill issue7 (talk | contribs) (Created page with "==Problem== Show that for any positive integers <math>a</math> and <math>b</math>, the number <cmath>n=\mathrm{LCM}(a,b)+\mathrm{GCD}(a,b)-a-b</cmath> is an even non-negative...") |
Skill issue7 (talk | contribs) (→Problem) |
||
Line 1: | Line 1: | ||
==Problem== | ==Problem== | ||
− | + | ===Problem 1=== | |
+ | |||
+ | In a <math>4 \times 6</math> grid, all edges and diagonals are drawn (see attachment). Determine the number of parallelograms in the grid that uses only the line segments drawn and none of its four angles are right. | ||
+ | |||
+ | <asy> | ||
+ | draw((0,0)--(6,0)--(6,4)--(0,4)--(0,0)); | ||
+ | for (int i=1; i<6; ++i) | ||
+ | { | ||
+ | draw((i,0)--(i,4)); | ||
+ | } | ||
+ | for (int i=1; i<4; ++i) | ||
+ | { | ||
+ | draw((0,i)--(6,i)); | ||
+ | } | ||
+ | draw((0,1)--(1,0)); | ||
+ | draw((0,2)--(2,0)); | ||
+ | draw((0,3)--(3,0)); | ||
+ | draw((0,4)--(4,0)); | ||
+ | draw((1,4)--(5,0)); | ||
+ | draw((2,4)--(6,0)); | ||
+ | draw((3,4)--(6,1)); | ||
+ | draw((4,4)--(6,2)); | ||
+ | draw((5,4)--(6,3)); | ||
+ | draw((0,3)--(1,4)); | ||
+ | draw((0,2)--(2,4)); | ||
+ | draw((0,1)--(3,4)); | ||
+ | draw((0,0)--(4,4)); | ||
+ | draw((1,0)--(5,4)); | ||
+ | draw((2,0)--(6,4)); | ||
+ | draw((3,0)--(6,3)); | ||
+ | draw((4,0)--(6,2)); | ||
+ | draw((5,0)--(6,1)); | ||
+ | |||
+ | |||
+ | </asy> | ||
+ | |||
+ | [[2013 Indonesia MO Problems/Problem 1|Solution]] | ||
==Solution== | ==Solution== |
Revision as of 22:59, 24 December 2024
Contents
Problem
Problem 1
In a grid, all edges and diagonals are drawn (see attachment). Determine the number of parallelograms in the grid that uses only the line segments drawn and none of its four angles are right.
Solution
We will prove that is even and that is nonnegative separately because each part has its own specific casework.
Lemma 1: is nonnegative
- If and are relatively prime, then . Since , we know that , making nonnegative.
- If and are not relatively prime, then let be the GCD of and . Since , we find that . This means that . Because , we know that and , making nonnegative.
Lemma 2: is even
- If and are even, then and are both even since and share a factor of 2. That means must be even as well since only even numbers are being added or subtracted.
- If is even and is odd, then because has a factor of 2 and because does not have a factor of . That means , making even once again. By symmetry, is even when is odd and is even.
- If and are odd, then and are both odd since and do not have a factor of 2. That means , making even.
By combining Lemmas 1 and 2, we find that for all scenarios, is nonnegative and even.
See Also
2012 Indonesia MO (Problems) | ||
Preceded by First Problem |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 | Followed by Problem 2 |
All Indonesia MO Problems and Solutions |