Difference between revisions of "2023 AMC 12A Problems/Problem 22"
(→Solution) |
|||
Line 75: | Line 75: | ||
Consider any <math>n \in \Bbb N</math> with prime factorization <math>n = \Pi_{i=1}^k p_i^{\alpha_i}</math>. | Consider any <math>n \in \Bbb N</math> with prime factorization <math>n = \Pi_{i=1}^k p_i^{\alpha_i}</math>. | ||
Thus, the equation given in this problem can be equivalently written as | Thus, the equation given in this problem can be equivalently written as | ||
+ | <cmath> | ||
\[ | \[ | ||
\sum_{\beta_1 = 0}^{\alpha_1} | \sum_{\beta_1 = 0}^{\alpha_1} | ||
Line 85: | Line 86: | ||
= 1 . | = 1 . | ||
\] | \] | ||
+ | </cmath> | ||
\noindent \textbf{Special case 1}: <math>n = 1</math>. | \noindent \textbf{Special case 1}: <math>n = 1</math>. | ||
Line 93: | Line 95: | ||
We have | We have | ||
+ | <cmath> | ||
\[ | \[ | ||
1 \cdot f \left( n \right) + n \cdot f \left( 1 \right) = 1 . | 1 \cdot f \left( n \right) + n \cdot f \left( 1 \right) = 1 . | ||
\] | \] | ||
+ | </cmath> | ||
Thus, <math>f \left( n \right) = 1 - n</math>. | Thus, <math>f \left( n \right) = 1 - n</math>. | ||
Line 102: | Line 106: | ||
We have | We have | ||
+ | <cmath> | ||
\[ | \[ | ||
1 \cdot f \left( p_1^2 \right) + p_1 \cdot f \left( p_1 \right) + p_1^2 \cdot f \left( 1 \right) = 1. | 1 \cdot f \left( p_1^2 \right) + p_1 \cdot f \left( p_1 \right) + p_1^2 \cdot f \left( 1 \right) = 1. | ||
\] | \] | ||
+ | </cmath> | ||
Thus, <math>f \left( p_1^2 \right) = 1 - p_1</math>. | Thus, <math>f \left( p_1^2 \right) = 1 - p_1</math>. | ||
Line 111: | Line 117: | ||
We have | We have | ||
+ | <cmath> | ||
\[ | \[ | ||
1 \cdot f \left( p_1 p_2 \right) + p_1 \cdot f \left( p_2 \right) + p_2 \cdot f \left( p_1 \right) + p_1 p_2 \cdot f \left( 1 \right) = 1. | 1 \cdot f \left( p_1 p_2 \right) + p_1 \cdot f \left( p_2 \right) + p_2 \cdot f \left( p_1 \right) + p_1 p_2 \cdot f \left( 1 \right) = 1. | ||
\] | \] | ||
+ | </cmath> | ||
Thus, <math>f \left( p_1 p_2 \right) = 1 - p_1 - p_2 + p_1 p_2</math>. | Thus, <math>f \left( p_1 p_2 \right) = 1 - p_1 - p_2 + p_1 p_2</math>. | ||
Line 120: | Line 128: | ||
We have | We have | ||
+ | <cmath> | ||
\[ | \[ | ||
1 \cdot f \left( p_1^2 p_2 \right) + p_1 \cdot f \left( p_1 p_2 \right) + p_1^2 \cdot f \left( p_2 \right) + p_2 \cdot f \left( p_1^2 \right) | 1 \cdot f \left( p_1^2 p_2 \right) + p_1 \cdot f \left( p_1 p_2 \right) + p_1^2 \cdot f \left( p_2 \right) + p_2 \cdot f \left( p_1^2 \right) | ||
+ p_1 p_2 f \left( p_1 \right) + p_1^2 p_2 f \left( 1 \right) = 1. | + p_1 p_2 f \left( p_1 \right) + p_1^2 p_2 f \left( 1 \right) = 1. | ||
\] | \] | ||
+ | </cmath> | ||
Thus, <math>f \left( p_1^2 p_2 \right) = 1 - p_1 - p_2 + p_1 p_2</math>. | Thus, <math>f \left( p_1^2 p_2 \right) = 1 - p_1 - p_2 + p_1 p_2</math>. | ||
Line 129: | Line 139: | ||
The prime factorization of 2023 is <math>7 \cdot 17^2</math>. | The prime factorization of 2023 is <math>7 \cdot 17^2</math>. | ||
Therefore, | Therefore, | ||
+ | <cmath> | ||
\begin{align*} | \begin{align*} | ||
f \left( 2023 \right) & = 1 - 7 - 17 + 7 \cdot 17 \\ | f \left( 2023 \right) & = 1 - 7 - 17 + 7 \cdot 17 \\ | ||
& = \boxed{\textbf{(B) 96}}. | & = \boxed{\textbf{(B) 96}}. | ||
\end{align*} | \end{align*} | ||
+ | </cmath> | ||
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) |
Revision as of 17:41, 10 November 2023
Contents
Problem
Let be the unique function defined on the positive integers such that for all positive integers . What is ?
Solution 1 (Very Thorough)
First, we note that , since the only divisor of is itself.
Then, let's look at for a prime. We see that
Nice.
Now consider , for . .
It can be (strongly) inductively shown that . Here's how.
We already showed works. Suppose it holds for , then
For , we have
, then using , we simplify to
.
Very nice! Now, we need to show that this function is multiplicative, i.e. for prime. It's pretty standard, let's go through it quickly. Using our formulas from earlier, we have
Great! We're almost done now. Let's actually plug in into the original formula. Let's use our formulas! We know
So plugging ALL that in, we have which, be my guest simplifying, is
~
Solution 2
First, change the problem into an easier form. So now we get Also, notice that both and are arithmetic functions. Applying Möbius inversion formula, we get So So the answer should be
~ZZZIIIVVV
Solution
Consider any with prime factorization . Thus, the equation given in this problem can be equivalently written as
\noindent \textbf{Special case 1}: .
We have .
\noindent \textbf{Special case 2}: is a prime.
We have
Thus, .
\noindent \textbf{Special case 3}: is the square of a prime, .
We have
Thus, .
\noindent \textbf{Special case 4}: is the product of two distinct primes, .
We have
Thus, .
\noindent \textbf{Special case 5}: takes the form , where and are two distinct primes.
We have
Thus, .
The prime factorization of 2023 is . Therefore,
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
Video Solution by MOP 2024
https://YouTube.com/watch?v=gdhVqdRhMsQ
~r00tsOfUnity
Video Solution by OmegaLearn
See also
2023 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 21 |
Followed by Problem 23 |
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 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.