Difference between revisions of "2002 AIME I Problems/Problem 9"
(→Problem) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Harold, Tanya, and Ulysses paint a very long picket fence. | Harold, Tanya, and Ulysses paint a very long picket fence. | ||
− | *Harold starts with the first picket and paints every <math>h</math> th picket; | + | * Harold starts with the first picket and paints every <math>h</math>th picket; |
− | *Tanya starts with the second picket and paints every <math>t</math> th picket; and | + | * Tanya starts with the second picket and paints every <math>t</math>th picket; and |
− | *Ulysses starts with the third picket and paints every <math>u</math> th picket. | + | * Ulysses starts with the third picket and paints every <math>u</math>th picket. |
Call the positive integer <math>100h+10t+u</math> paintable when the triple <math>(h,t,u)</math> of positive integers results in every picket being painted exactly once. Find the sum of all the paintable integers. | Call the positive integer <math>100h+10t+u</math> paintable when the triple <math>(h,t,u)</math> of positive integers results in every picket being painted exactly once. Find the sum of all the paintable integers. | ||
− | |||
== Solution == | == Solution == | ||
=== Solution 1 === | === Solution 1 === | ||
Line 15: | Line 14: | ||
<math>h</math> cannot be <math>2</math>, or that will result in painting the third picket twice. If <math>h=3</math>, then <math>t</math> may not equal anything not divisible by <math>3</math>, and the same for <math>u</math>. Now for fourth and fifth pickets to be painted, <math>t</math> and <math>u</math> must be <math>3</math> as well. This configuration works, so <math>333</math> is paintable. | <math>h</math> cannot be <math>2</math>, or that will result in painting the third picket twice. If <math>h=3</math>, then <math>t</math> may not equal anything not divisible by <math>3</math>, and the same for <math>u</math>. Now for fourth and fifth pickets to be painted, <math>t</math> and <math>u</math> must be <math>3</math> as well. This configuration works, so <math>333</math> is paintable. | ||
− | If <math>h</math> is <math>4</math>, then <math>t</math> must be | + | If <math>h</math> is <math>4</math>, then <math>t</math> must be even. The same for <math>u</math>, except that it can't be <math>2 \mod 4</math>. Thus <math>u</math> is <math>0 \mod 4</math> and <math>t</math> is <math>2 \mod 4</math>. Since this is all <math>\mod 4</math>, <math>t</math> must be <math>2</math> and <math>u</math> must be <math>4</math>, in order for <math>5,6</math> to be paint-able. Thus <math>424</math> is paintable. |
− | <math>h</math> cannot be greater than <math> | + | <math>h</math> cannot be greater than <math>4</math>, since if that were the case then the answer would be greater than <math>999</math>, which would be impossible for the AIME. |
Thus the sum of all paintable numbers is <math>\boxed{757}</math>. | Thus the sum of all paintable numbers is <math>\boxed{757}</math>. | ||
Line 29: | Line 28: | ||
Thus the answer is <math>333+424 = \boxed{757}</math>. | Thus the answer is <math>333+424 = \boxed{757}</math>. | ||
+ | === Solution 3 === | ||
+ | The three conditions state that no picket number <math>n</math> may satisfy any two of the conditions: <math>n \equiv 1 \pmod{h},\ n \equiv 2 \pmod{t},\ n \equiv 3 \pmod{u}</math>. Note that the smallest number, <math>min \{ h,t,u \}, </math> divides the other <math>2</math>, and the next smallest divide the largest number, otherwise there is a common solution by the [[Chinese Remainder Theorem]]. It is also a necessary condition so that it paints exactly once. Note that the smallest number can't be at least <math>5</math>, otherwise not all picket will be painted. We are left with few cases (we could also exclude <math>1</math> as the possibility) which could be done quickly. Thus the answer is <math>333+424 = \boxed{757}</math>. | ||
== See also == | == See also == |
Latest revision as of 18:44, 25 April 2024
Problem
Harold, Tanya, and Ulysses paint a very long picket fence.
- Harold starts with the first picket and paints every th picket;
- Tanya starts with the second picket and paints every th picket; and
- Ulysses starts with the third picket and paints every th picket.
Call the positive integer paintable when the triple of positive integers results in every picket being painted exactly once. Find the sum of all the paintable integers.
Solution
Solution 1
Note that it is impossible for any of to be , since then each picket will have been painted one time, and then some will be painted more than once.
cannot be , or that will result in painting the third picket twice. If , then may not equal anything not divisible by , and the same for . Now for fourth and fifth pickets to be painted, and must be as well. This configuration works, so is paintable.
If is , then must be even. The same for , except that it can't be . Thus is and is . Since this is all , must be and must be , in order for to be paint-able. Thus is paintable.
cannot be greater than , since if that were the case then the answer would be greater than , which would be impossible for the AIME.
Thus the sum of all paintable numbers is .
Solution 2
Again, note that . The three conditions state that no picket number may satisfy any two of the conditions: . By the Chinese Remainder Theorem, the greatest common divisor of any pair of the three numbers cannot be (since otherwise without loss of generality consider ; then there will be a common solution ).
Now for to be paint-able, we require either or , but not both.
- In the former condition, since , it follows that . For and to be paint-able, we require , and it is easy to see that works.
- In the latter condition, similarly we require that . All even numbers are painted. We now renumber the remaining odd pickets to become the set of all positive integers (, where ), which requires the transformation , and with the painting starting respectively at . Our new number system retains the same conditions as above, except without . We thus need . Then for to be painted, we require . This translates to , which we see works.
Thus the answer is .
Solution 3
The three conditions state that no picket number may satisfy any two of the conditions: . Note that the smallest number, divides the other , and the next smallest divide the largest number, otherwise there is a common solution by the Chinese Remainder Theorem. It is also a necessary condition so that it paints exactly once. Note that the smallest number can't be at least , otherwise not all picket will be painted. We are left with few cases (we could also exclude as the possibility) which could be done quickly. Thus the answer is .
See also
2002 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 8 |
Followed by Problem 10 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.