Difference between revisions of "2012 AMC 8 Problems/Problem 15"
(→Solution 2(Chinese Remainder Theorem)) |
|||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
==Solution 2(Chinese Remainder Theorem)== | ==Solution 2(Chinese Remainder Theorem)== | ||
− | We have to find the smallest number <math>x</math> for <math>x \equiv 2\mod3</math>, <math>x \equiv 2\mod4</math>, and <math>x \equiv 2\mod5</math>. We are excluding six because it won't make our divisors relatively prime. For the first equation, <math>x \equiv 2\mod3</math> holds remainder(<math>r</math>) of 2. Now we have to find <math>M</math>. Our <math>M</math> which is all divisors multiplied by each other divided by the divisor we are using. So our <math>M</math> is <math>\frac{3 \cdot 4 \cdot 5}{3}=20</math>. We now need to find the inverse of <math>a</math> times <math>M</math> and solve <math>a</math>. Doing this we can get <math>20a \equiv 1\mod3</math>, and the smallest value of <math>a</math> where this is true is <math>2</math>. Now we multiply every value we have which gets us <math>2 \cdot 20 \cdot 2</math>. Then we repeat for mod 4 and mod 5. For mod 4 the numbers <math>r</math>,<math>M</math>,<math>a</math> are <math>2</math>, <math>15</math>, and <math>3</math> respectively. For mod 5 we get <math>2</math>,<math>12</math>, and <math>8</math>. Now we have to multiply all our values and we get <math>80</math> (mod 3), <math>90</math> (mod 4), and <math>192</math> (mod 5). Now we do <math>80+90+192\mod{5 \cdot 4 \cdot 3}</math>. This is <math>362\mod60</math>. This means <math>x \equiv 2\mod60</math>, but since it needs to be greater than <math>2</math>, we get <math>62</math>, which divided by six also has a remainder of 2. So <math>62</math> is in the range of | + | We have to find the smallest number <math>x</math> for <math>x \equiv 2\mod3</math>, <math>x \equiv 2\mod4</math>, and <math>x \equiv 2\mod5</math>. We are excluding six because it won't make our divisors relatively prime. For the first equation, <math>x \equiv 2\mod3</math> holds remainder(<math>r</math>) of 2. Now we have to find <math>M</math>. Our <math>M</math> which is all divisors multiplied by each other divided by the divisor we are using. So our <math>M</math> is <math>\frac{3 \cdot 4 \cdot 5}{3}=20</math>. We now need to find the inverse of <math>a</math> times <math>M</math> and solve <math>a</math>. Doing this we can get <math>20a \equiv 1\mod3</math>, and the smallest value of <math>a</math> where this is true is <math>2</math>. Now we multiply every value we have which gets us <math>2 \cdot 20 \cdot 2</math>. Then we repeat for mod 4 and mod 5. For mod 4 the numbers <math>r</math>,<math>M</math>,<math>a</math> are <math>2</math>, <math>15</math>, and <math>3</math> respectively. For mod 5 we get <math>2</math>,<math>12</math>, and <math>8</math>. Now we have to multiply all our values and we get <math>80</math> (mod 3), <math>90</math> (mod 4), and <math>192</math> (mod 5). Now we do <math>80+90+192\mod{5 \cdot 4 \cdot 3}</math>. This is <math>362\mod60</math>. This means <math>x \equiv 2\mod60</math>, but since it needs to be greater than <math>2</math>, we get <math>62</math>, which divided by six also has a remainder of 2. So <math>62</math> is in the range of <math> \boxed{\textbf{(D)}\ 61\text{ and }65} </math>. |
If CRT didn't make sense, this video is very good: | If CRT didn't make sense, this video is very good: |
Latest revision as of 14:08, 16 August 2025
Problem
The smallest number greater than 2 that leaves a remainder of 2 when divided by 3, 4, 5, or 6 lies between what numbers?
Video Solution
https://youtu.be/rQUwNC0gqdg?t=172
https://www.youtube.com/watch?v=Vfsb4nwvopU ~David
https://youtu.be/hOnw5UtBSqI ~savannahsolver
Solution
To find the answer to this problem, we need to find the least common multiple of ,
,
,
and add
to the result. To calculate the least common multiple, we need to find the prime factorization for each of them.
,
,
, and
. So the least common multiple of the four numbers is
, and by adding
, we find that that such number is
. Now we need to find the only given range that contains
. The only such range is answer
, and so our final answer is
.
~NXC
Solution 2(Chinese Remainder Theorem)
We have to find the smallest number for
,
, and
. We are excluding six because it won't make our divisors relatively prime. For the first equation,
holds remainder(
) of 2. Now we have to find
. Our
which is all divisors multiplied by each other divided by the divisor we are using. So our
is
. We now need to find the inverse of
times
and solve
. Doing this we can get
, and the smallest value of
where this is true is
. Now we multiply every value we have which gets us
. Then we repeat for mod 4 and mod 5. For mod 4 the numbers
,
,
are
,
, and
respectively. For mod 5 we get
,
, and
. Now we have to multiply all our values and we get
(mod 3),
(mod 4), and
(mod 5). Now we do
. This is
. This means
, but since it needs to be greater than
, we get
, which divided by six also has a remainder of 2. So
is in the range of
.
If CRT didn't make sense, this video is very good:
Chinese Remainder Theorem | Sun Tzu's Theorem
Additionally, this page is great:
~AM24
See Also
2012 AMC 8 (Problems • Answer Key • Resources) | ||
Preceded by Problem 14 |
Followed by Problem 16 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
All AJHSME/AMC 8 Problems and Solutions |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions.