Difference between revisions of "2012 AIME II Problems/Problem 12"
(→Solution) |
(→Solution) |
||
Line 9: | Line 9: | ||
<math>c (mod d)</math> | <math>c (mod d)</math> | ||
<math>e (mod f)</math> | <math>e (mod f)</math> | ||
− | has one solution if <math>gcd(b,d,f)=1. For example, in our case, the number < | + | has one solution if <math>gcd(b,d,f)=1</math>. For example, in our case, the number <math>n</math> can be: |
− | < | + | <math>3 (mod 7)</math> |
− | < | + | <math>3 (mod 11)</math> |
− | < | + | <math>7 (mod 13)</math> |
− | so since gcd(7,11,13)=1, there is 1 solution for n for this case of residues of < | + | so since gcd<math>(7,11,13)</math>=1, there is 1 solution for n for this case of residues of <math>n</math>. |
− | This means that by the Chinese Remainder Theorem, < | + | This means that by the Chinese Remainder Theorem, <math>n</math> can have <math>2\cdot 6 \cdot 8 = 96</math> different residues mod <math>7 \cdot 11 \cdot 13 = 1001</math>. Thus, there are <math>960</math> values of <math>n</math> satisfying the conditions in the range <math>0 \le n < 10010</math>. However, we must now remove any values greater than <math>10000</math> that satisfy the conditions. By checking residues, we easily see that the only such values are <math>10007</math> and <math>10006</math>, so there remain <math>\fbox{958}</math> values satisfying the conditions of the problem. |
== See Also == | == See Also == | ||
{{AIME box|year=2012|n=II|num-b=11|num-a=13}} | {{AIME box|year=2012|n=II|num-b=11|num-a=13}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Revision as of 20:12, 15 February 2015
Problem 12
For a positive integer , define the positive integer to be -safe if differs in absolute value by more than from all multiples of . For example, the set of -safe numbers is . Find the number of positive integers less than or equal to which are simultaneously -safe, -safe, and -safe.
Solution
We see that a number is -safe if and only if the residue of is greater than and less than ; thus, there are residues that a -safe number can have. Therefore, a number satisfying the conditions of the problem can have different residues , different residues , and different residues . The Chinese Remainder Theorem states that for a number that is has one solution if . For example, in our case, the number can be: so since gcd=1, there is 1 solution for n for this case of residues of .
This means that by the Chinese Remainder Theorem, can have different residues mod . Thus, there are values of satisfying the conditions in the range . However, we must now remove any values greater than that satisfy the conditions. By checking residues, we easily see that the only such values are and , so there remain values satisfying the conditions of the problem.
See Also
2012 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 11 |
Followed by Problem 13 | |
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.