Difference between revisions of "2025 AIME II Problems/Problem 2"
m (→Solution 1) |
Sohcahtoa157 (talk | contribs) (→Solution 3 (modular arithmetic)) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 30: | Line 30: | ||
~ Edited by [https://artofproblemsolving.com/wiki/index.php/User:Aoum aoum] | ~ Edited by [https://artofproblemsolving.com/wiki/index.php/User:Aoum aoum] | ||
+ | |||
+ | ==Solution 2== | ||
+ | We observe that <math>n+2</math> and <math>n+3</math> share no common prime factor, so <math>n+2</math> divides <math>3(n+3)(n^2+9)</math> if and only if <math>n+2</math> divides <math>3(n^2+9)</math>. | ||
+ | |||
+ | By dividing <math>\frac{3(n^2+9)}{n+2}</math> either with long division or synthetic division, one obtains <math>3n-6+\frac{39}{n+2}</math>. This quantity is an integer if and only if <math>\frac{39}{n+2}</math> is an integer, so <math>n+2</math> must be a factor of 39. As in Solution 1, <math>n \in \{1,11,37\}</math> and the sum is <math>\boxed{049}</math>. | ||
+ | |||
+ | ~scrabbler94 | ||
+ | |||
+ | ==Solution 3 (modular arithmetic)== | ||
+ | Let's express the right-hand expression in terms of mod <math>n + 2</math>. | ||
+ | |||
+ | <math>3 \equiv 3 \pmod{n + 2}</math>. | ||
+ | |||
+ | <math>n + 3 \equiv 1 \pmod{n + 2}</math>. | ||
+ | |||
+ | <math>n^2 + 9 \equiv 13 \pmod{n + 2}</math> since <math>n^2 - 4 \equiv 0 \pmod{n + 2}</math> with a quotient <math>n - 2</math> | ||
+ | |||
+ | <math>3(n + 3)(n^2 + 9) \equiv 3(1)(13) \pmod{n + 2} \equiv 39 \pmod{n + 2}</math> | ||
+ | |||
+ | This means <math>39 = (n + 2)k \pmod{n + 2}</math> where k is some integer. | ||
+ | |||
+ | Note that <math>n + 2</math> is positive, meaning <math>n + 2 \geq 3</math>. | ||
+ | |||
+ | <math>n + 2</math> is one of the factors of 39, so <math>n + 2 = 3, 13,</math> or <math>39</math>, so <math>n = 1, 11,</math> or <math>37</math>. | ||
+ | |||
+ | The sum of all possible <math>n</math> is <math>1 + 11 + 37 = \boxed{049}</math>. | ||
+ | |||
+ | ~Sohcahtoa157 | ||
==See also== | ==See also== |
Latest revision as of 00:58, 28 February 2025
Problem
Find the sum of all positive integers such that
divides the product
.
Solution 1
Since is positive, the positive factors of
are
,
,
, and
.
Therefore, ,
,
and
.
Since is positive,
,
and
.
is the correct answer
~ Edited by aoum
Solution 2
We observe that and
share no common prime factor, so
divides
if and only if
divides
.
By dividing either with long division or synthetic division, one obtains
. This quantity is an integer if and only if
is an integer, so
must be a factor of 39. As in Solution 1,
and the sum is
.
~scrabbler94
Solution 3 (modular arithmetic)
Let's express the right-hand expression in terms of mod .
.
.
since
with a quotient
This means where k is some integer.
Note that is positive, meaning
.
is one of the factors of 39, so
or
, so
or
.
The sum of all possible is
.
~Sohcahtoa157
See also
2025 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 1 |
Followed by Problem 3 | |
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.