Difference between revisions of "2020 AIME I Problems/Problem 12"
m (→Solution 4 (MAA’s solution but Totient Function to speed things up at the end)) |
m (→Solution 4 (MAA’s solution but Totient Function to speed things up at the end)) |
||
Line 73: | Line 73: | ||
~hnkevin42 | ~hnkevin42 | ||
− | ==Solution 4 | + | ==Solution 4== |
Expanding with the Binomial Theorem we get | Expanding with the Binomial Theorem we get | ||
<cmath>(147 + 2)^n - 2^n = \binom{n}{0}147^n + \binom{n}{1}147^{n-1}\cdot2 + \dots + \binom{n}{n -1}147\cdot 2^{n-1}</cmath> All terms besides the last two are divisible by <math>3^3</math> since <math>147 = 3 \cdot 7^2.</math> So <math>n</math> should be a multiple of <math>3^2</math> at the minimum. For <math>7^7</math> all terms besides the last three are divisible by <math>7^7</math> so <math>n</math> should be a multiple of <math>7^5</math> at the minimum. | <cmath>(147 + 2)^n - 2^n = \binom{n}{0}147^n + \binom{n}{1}147^{n-1}\cdot2 + \dots + \binom{n}{n -1}147\cdot 2^{n-1}</cmath> All terms besides the last two are divisible by <math>3^3</math> since <math>147 = 3 \cdot 7^2.</math> So <math>n</math> should be a multiple of <math>3^2</math> at the minimum. For <math>7^7</math> all terms besides the last three are divisible by <math>7^7</math> so <math>n</math> should be a multiple of <math>7^5</math> at the minimum. | ||
− | For <math>5^5</math> we can use Euler's Totient Function, which states that if <math>\gcd(a,b) = 1,</math> then <math>a^{\phi(b)} \equiv 1 \pmod{b}.</math> We can see that < | + | For <math>5^5</math> we can use Euler's Totient Function, which states that if <math>\gcd(a,b) = 1,</math> then <math>a^{\phi(b)} \equiv 1 \pmod{b}.</math> We can see that <cmath>149^n - 2^n \pmod{5^5} \equiv 4^n - 2^n \ pmod{5} \equiv 0 \pmod{5^5} \implies 2^n \equiv 1 \pmod{5^5}.</cmath> The totient of <math>5^5</math> is <math>3125 \cdot (1 - \frac{1}{5}) = 2500,</math> so <math>a^{2500} \equiv 1 \pmod{5^5}.</math> Since <math>2</math> and <math>5^5</math> are relatively prime, we let <math>a = 2.</math> Then <math>n</math> must be a multiple of <math>2500 = 5^4 \cdot 2^2.</math> |
Putting everything together we get <math>n = 2^2 \cdot 3^2 \cdot 5^4 \cdot 7^5,</math> so the answer is <math>(2+1)(2+1)(4+1)(5+1) = \boxed{270}.</math> | Putting everything together we get <math>n = 2^2 \cdot 3^2 \cdot 5^4 \cdot 7^5,</math> so the answer is <math>(2+1)(2+1)(4+1)(5+1) = \boxed{270}.</math> |
Revision as of 08:08, 27 August 2025
Contents
Problem
Let be the least positive integer for which
is divisible by
Find the number of positive integer divisors of
Solution 1.1
As usual, denote the highest power of prime
that divides
.
Lifting the Exponent shows that
so thus,
divides
. It also shows that
so thus,
divides
.
Now, setting (necessitated by
in order to set up LTE), we see
and since
and
then
meaning that we have that by LTE,
and
divides
.
Since ,
and
all divide
, the smallest value of
working is their LCM, also
. Thus the number of divisors is
.
~kevinmathz
clarified by another user
notation note from another user
Note
We were able to use LTE with 3 and 7 but not 5 because in order to use LTE, we need \( p \mid x-y \).
Obviously, \( 149^n \equiv 2^n \pmod{3} \) implies \( 149^n - 2^n \equiv 0 \pmod{3} \), so LTE works here.
Furthermore, \( 149^n \equiv 2^n \pmod{7} \) implies \( 149^n - 2^n \equiv 0 \pmod{7} \), so LTE works here.
However, when we get to the case of 5, we see that \( 149^n \equiv 2^n \pmod{5} \) doesn't always hold; specifically, this is only valid when \( n \) is a multiple of \( 4 \), which is why we let \( n = 4c \) in the solution.
mathboy282
Solution 1.2 (LTE + Binomial)
Follow solution 1 to get that is a divisor of
. We now take care of the
part.
Rewrite
as
and assume
is even. Since this expression is divisible by
, we expand and get
Everything except the first three terms and the
term is divisible by
, so we can rewrite this as
And the following must be true:
Since
divides
, we can now see that
Solving for
,
.
We also know this is true:
We know
is divisible by
, so
divides
.
And now,
gives
This process can be repeated until we obtain
. The desired solution is then simply
which yields an answer of
.
~Marchk26
Solution 2 (Simpler, just basic mods and Fermat's theorem)
Note that for all ,
is divisible by
by difference of
th powers. That is
, so now we can clearly see that the smallest
to make the expression divisible by
is just
. Similarly, we can reason that the smallest
to make the expression divisible by
is just
.
Finally, for , take
and
of each quantity (They happen to both be
and
respectively, so you only need to compute once). One knows from Fermat's theorem that the maximum possible minimum
for divisibility by
is
, and other values are factors of
. Testing all of them(just
,
,
using mods-not too bad),
is indeed the smallest value to make the expression divisible by
, and this clearly is NOT divisible by
.
Therefore, the smallest
to make this expression divisible by
is
.
Calculating the LCM of all these, one gets . Using the factor counting formula,
the answer is
=
.
~Solution by thanosaops
~formatted by MY-2 and pandyhu2001
Solution 3 (Elementary and Thorough)
As usual, denote the highest power of prime
that divides
. For divisibility by
, notice that
as
, and upon checking mods,
is divisible by
but not
. In addition,
is divisible by
because
, and the rightmost factor equates to
. In fact,
is the least possible choice to ensure divisibility by
because if
, with
and
, we write
Then, the rightmost factor is equivalent to
, and
.
For divisibility by , we'll induct, claiming that
for whole numbers
. The base case is clear. Then,
By the induction hypothesis,
. Then, notice that
This tells us that
is divisible by
, but not
so that
, completing our induction. We can verify that
is the least choice of
to ensure divisibility by
by arguing similarly to the
case.
Finally, for , we take the powers of
and
in mod
and mod
. Writing out these mods, we have that
if and only if
, in which
. So here we claim that
and perform yet another induction. The base case is true:
, but
. Now then, assuming the induction statement to hold for some
,
Note that
equates to
in both mod
and mod
. We notice that
. Writing out the powers of
mod
, we have
. Also
when
is a multiple of
. Hence for
,
. Thus,
, completing our induction. Applying the same argument from the previous two cases,
is the least choice to ensure divisibility by
.
Our answer is the number of divisors of . It is
.
~hnkevin42
Solution 4
Expanding with the Binomial Theorem we get
All terms besides the last two are divisible by
since
So
should be a multiple of
at the minimum. For
all terms besides the last three are divisible by
so
should be a multiple of
at the minimum.
For we can use Euler's Totient Function, which states that if
then
We can see that
The totient of
is
so
Since
and
are relatively prime, we let
Then
must be a multiple of
Putting everything together we get so the answer is
Solution 5 (Official MAA)
Analyze each prime power separately.
Start with the case of . By the Binomial Theorem,
Because
is divisible by
, all terms after the first two are divisible by
, and the exponent of
in the first term is less than that in the second term. Hence it is necessary and sufficient that
, that is,
.
For the
case, consider the same expansion as in the previous case. Because
is divisible by
, all terms after the first three are divisible by
, and the exponent of
in the first term is less than that in the second and third term. Hence it is necessary and sufficient that
, that is,
.
For the
case, working modulo
gives
, so it must be that
. Let
, and let
. Note that
is an integer not divisible by
. Expand by the Binomial Theorem again to get
All terms after the first four are divisible by
, and the exponent of
in the first term is less than that in the second, third, or fourth term. Hence it is necessary and sufficient that
. Thus
, and it follows that
.
Therefore the least
is
. The requested number of divisors is
.
The results of the above cases can be generalized using the following lemma.
Lifting the Exponent Lemma: Let be an odd prime, and let
and
be integers relatively prime to
such that
. Let
be a positive integer. Then the number of factors of
that divide
is equal to the number of factors of
that divide
plus the number of factors of
that divide
.
Video Solution
https://www.youtube.com/watch?v=O0BprEOVkjo ~ Math Gold Medalist
See Also
2020 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 11 |
Followed by Problem 13 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions.