Difference between revisions of "2024 AMC 10A Problems/Problem 10"
MRENTHUSIASM (talk | contribs) m |
MRENTHUSIASM (talk | contribs) |
||
Line 2: | Line 2: | ||
Consider the following operation. Given a positive integer <math>n</math>, if <math>n</math> is a multiple of <math>3</math>, then you replace <math>n</math> by <math> | Consider the following operation. Given a positive integer <math>n</math>, if <math>n</math> is a multiple of <math>3</math>, then you replace <math>n</math> by <math> | ||
− | \frac{n}{3}</math>. If <math>n</math> is not a multiple of <math>3</math>, then you replace <math>n</math> by <math>n+10</math>. Then continue this process. For example, beginning with <math>n=4</math>, this procedure gives <math>4 \ | + | \frac{n}{3}</math>. If <math>n</math> is not a multiple of <math>3</math>, then you replace <math>n</math> by <math>n+10</math>. Then continue this process. For example, beginning with <math>n=4</math>, this procedure gives <math>4 \to 14 \to 24 \to 8 \to 18 \to 6 \to 2 \to 12 \to \cdots</math>. Suppose you start with <math>n=100</math>. What value results if you perform this operation exactly <math>100</math> times? |
<math>\textbf{(A) }10\qquad\textbf{(B) }20\qquad\textbf{(C) }30\qquad\textbf{(D) }40\qquad\textbf{(E) }50</math> | <math>\textbf{(A) }10\qquad\textbf{(B) }20\qquad\textbf{(C) }30\qquad\textbf{(D) }40\qquad\textbf{(E) }50</math> | ||
== Solution 1 (fast ⚡️⚡️⚡️) == | == Solution 1 (fast ⚡️⚡️⚡️) == | ||
− | Let <math>s</math> be the number of times the operation is performed. Notice the sequence goes <math>100 \ | + | Let <math>s</math> be the number of times the operation is performed. Notice the sequence goes <math>100 \to 110 \to 120 \to 40 \to 50 \to 60 \to 20 \to 30 \to 10 \to 20 \to \cdots</math>. Thus, for <math>s \equiv 1 \pmod{3}</math>, the value is <math>30</math>. Since <math>100 \equiv 1 \pmod{3}</math>, the answer is <math>\boxed{\textbf{(C) }30}</math>. |
~andliu766 | ~andliu766 | ||
== Solution 2 (More Explanatory) == | == Solution 2 (More Explanatory) == | ||
− | Looking at the first few values of our operation, we get <math>100 \ | + | Looking at the first few values of our operation, we get <math>100 \to 110 \to 120 \to 40 \to 50 \to 60 \to 20 \to 30 \to 10 \to 20</math>. We can see that <math>30</math> will go to <math>10</math>, then to <math>20</math>, then back to <math>30</math>, and the loop resets. After 7 operations, we reach <math>30</math>. We still have 93 operations left, so because the loop will run exactly <math>31</math> times <math>(93/3)</math>, we will reach at <math>30</math> again. So, the answer is <math>\boxed{\textbf{(C) } 30}</math>. |
edit for grammar pls | edit for grammar pls |
Revision as of 02:28, 9 November 2024
Problem
Consider the following operation. Given a positive integer , if is a multiple of , then you replace by . If is not a multiple of , then you replace by . Then continue this process. For example, beginning with , this procedure gives . Suppose you start with . What value results if you perform this operation exactly times?
Solution 1 (fast ⚡️⚡️⚡️)
Let be the number of times the operation is performed. Notice the sequence goes . Thus, for , the value is . Since , the answer is .
~andliu766
Solution 2 (More Explanatory)
Looking at the first few values of our operation, we get . We can see that will go to , then to , then back to , and the loop resets. After 7 operations, we reach . We still have 93 operations left, so because the loop will run exactly times , we will reach at again. So, the answer is .
edit for grammar pls
~Moonwatcher22
See also
2024 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 9 |
Followed by Problem 11 | |
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 AMC 10 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.