(no title)
fortenforge | 2 years ago
...but its actually an interesting (and not super difficult) exercise in its own right to figure this out even if you don't know the formula. Encourage you all to give it a shot.
SPOILERS: 9999 = 3^2 * 11 * 101, so first subtract out the multiples of 3 (3333 of them), the multiples of 11 (909 of them), the multiples of 101 (99 of them). Note that we've now double-subtracted multiples of 33 (303 of them), multiples of 303 (33 of them), multiples of 1111 (9 of them) so add these back. Finally subtract 1 to not count 9999 itself.
phi(9999) = 9999 - 3333 - 909 - 101 + 33 + 303 + 9 - 1 = 6000
I guess my point is that the purpose of these problems is not to separate out people who know specific tricks from people who don't—its to separate out people who can reason their way through difficult mathematical problems and people who can't.
chongli|2 years ago
Trying to come up with everything from scratch could take a lot longer and be very frustrating when you've got other problems waiting for you to solve.
Jensson|2 years ago
If that is frustrating instead of thrilling to you then you probably shouldn't do these competitions.
gowld|2 years ago
https://artofproblemsolving.com/wiki/index.php/2022_AIME_I_P...
The totient formula isn't the hard part of the problem.
The test has a very short time limit (for the difficulty of the problems), and has many gruelingly complicated problems,so if you dont have the formulas down cold, you'll burn out during the contest.
Of course, if you don't care about silly speed-mathing contests, you can enjot the problems at a leisurely pace.
junar|2 years ago
* The contest has 15 problems and a time limit of 3 hours, giving only an average of 12 minutes per problem.
* The average score is 4.83/15, from the official statistics [1].
* The statistics noted that only 5.17% of test takers answered this problem correctly, making it the second-hardest problem out of the 15 on the exam.
[1] "AIME 02/08/2022" https://amc-reg.maa.org/reports/generalreports.aspx
lupire|2 years ago
OP missing this point shows that he really was doing this for all the wrong reasons. He should have done FIRST or science bowl instead.
lupire|2 years ago
For every distinct prime factor p (so, of 9 is a factor, use 3 not 9), only (p-1)/p of the natural numbers ≤ n are relatively prime to it. Pime. This overcpunts nothing, since prime factors are relatively prime to each other. (Proving this requires some analysis of remaimders / modular arithmetic. But working an example shows the pattern).
This gives a formula, phi(n = Sum (p_i ^ e^i)) = n • Product ((p_i -1)/p))
This also shows how OP (and maybe the coach) missed the point of math team.