Difference between revisions of "2022 IMO Problems/Problem 5"
(→Solution 3(Unfinished)) |
(→Solution 3(Unfinished)) |
||
Line 102: | Line 102: | ||
Case 1.3: <math>b</math> is anything but <math>k - 1</math> where <math>k</math> is a prime | Case 1.3: <math>b</math> is anything but <math>k - 1</math> where <math>k</math> is a prime | ||
− | Recall that we have <math>a^{a} - a = b!</math>. Notice that <math>b = k</math> will lead to a contradiction because <math>a \geq 3 \implies a^{a} - a</math> is composite. Therefore, <math>b = k + \alpha</math> where <math>\alpha</math> is a constant of anything but <math>-1, 0</math>. Let <math>r</math> be a prime that divides <math>(k + \alpha)!</math>. Thus, <math>r \mid a^{a} - a = a(a^{a - 1} - 1)</math>. Therefore, we know that <math>r \mid k + \alpha - i</math> for <math>0 \leq i \leq k + \alpha - 1</math>. We also know that <math>r \mid a</math> or <math>r \mid a^{a - 1} - 1</math>. If we consider <math>r \mid a</math>, because <math>r</math> is a prime, <math>r = a \implies a</math> is a prime number. In other words, we have just proven that if there exists a prime <math>r</math> that divides <math>b!</math> where <math>b = k + \alpha</math>, then there also may exist a prime <math>a</math> that also divides <math>b!</math>. But because <math>b \geq a</math>, <math>a = b, b - 1, ..., 1</math>. Therefore, at least one of <math>b - j</math> where <math>0 \leq j \leq b - 1</math>, must be a prime number. Now, we have <math>a^{a} - a \leq b^{b} - b</math>. Let us consider the highest power of prime <math>a</math> in <math>b!</math>. We need to find <math>v_a(b!)</math>. By Legendre's Formula, < | + | Recall that we have <math>a^{a} - a = b!</math>. Notice that <math>b = k</math> will lead to a contradiction because <math>a \geq 3 \implies a^{a} - a</math> is composite. Therefore, <math>b = k + \alpha</math> where <math>\alpha</math> is a constant of anything but <math>-1, 0</math>. Let <math>r</math> be a prime that divides <math>(k + \alpha)!</math>. Thus, <math>r \mid a^{a} - a = a(a^{a - 1} - 1)</math>. Therefore, we know that <math>r \mid k + \alpha - i</math> for <math>0 \leq i \leq k + \alpha - 1</math>. We also know that <math>r \mid a</math> or <math>r \mid a^{a - 1} - 1</math>. If we consider <math>r \mid a</math>, because <math>r</math> is a prime, <math>r = a \implies a</math> is a prime number. In other words, we have just proven that if there exists a prime <math>r</math> that divides <math>b!</math> where <math>b = k + \alpha</math>, then there also may exist a prime <math>a</math> that also divides <math>b!</math>. But because <math>b \geq a</math>, <math>a = b, b - 1, ..., 1</math>. Therefore, at least one of <math>b - j</math> where <math>0 \leq j \leq b - 1</math>, must be a prime number. Now, we have <math>a^{a} - a \leq b^{b} - b</math>. Let us consider the highest power of prime <math>a</math> in <math>b!</math>. We need to find <math>v_a(b!)</math>. By Legendre's Formula, <cmath>e_p(n!)=\sum_{i=1}^{\infty} \left\lfloor \dfrac{n}{p^i}\right\rfloor =\frac{n-S_{p}(n)}{p-1}</cmath>. We just need to find that <math>\sum_{i=1}^{\infty} \left\lfloor \dfrac{b}{a^i}\right\rfloor = a</math>. If <math>b</math> is a multiple of <math>k</math>, this will not hold true simply be plugging in. Even if <math>b = a + \beta</math>, because the sum is finite, it would imply <math>\beta = 0</math> which goes back to the case where <math>b</math> is a multiple of <math>a</math>. Therefore, the only condition for which this can hold is if <math>a = 1</math> which contradicts the part where <math>1</math> must divide <math>b - i</math> because <math>1</math> is not prime. We now have to prove that this case doesn't hold even if <math>r \mid a^{a - 1} - 1</math>. In this case, <math>a</math> is not necessarily prime. We can apply Fermat's Little Theorem if we assume <math>a - 1</math> is a prime. Then, <math>a^{a - 1} \equiv a(\mod a - 1)</math>. This tells us that <math>a^{a - 1} - 1 \equiv 0(\mod a - 1)</math> which tells us that <math>a - 1</math> is another prime that divides it. Therefore, there are two primes that divide <math>a^{a - 1} - 1</math> and those are <math>r</math> and <math>a - 1</math> if <math>a - 1</math> is a prime. We conclude that either <math>r = a - 1</math> or <math>a^{a - 1} - 1</math> has more than one prime factor. If we consider <math>r = a - 1</math>, we can apply Legendre's again and see that it gives us the same result. If we have <math>a^{a - 1} - 1</math> has at least two distinct prime factors and two of them are <math>r</math> and <math>a - 1</math>. This can only occur if <math>a = 2</math>(The other case will lead to a - 1 being composite which is not what we assumed). But we already considered this case. Therefore, we don't have a new solution here. Now, onto when <math>a - 1</math> is not prime.(I have not finished proving this case.) |
Case 2: <math>b < a</math> | Case 2: <math>b < a</math> |
Revision as of 21:40, 18 June 2025
Problem
Find all triples of positive integers with
prime and
Video solution
https://www.youtube.com/watch?v=-AII0ldyDww [Video contains solutions to all day 2 problems]
Solution
Case 1:
- Since
is indivisible by
, then
must also be indivisible by
.
- If
, then
is divisible by
, so
must be a divisor of
, but
obviously has no solutions and we ruled out
already. For
, let's show that there are no solutions using simple inequalities.
- If
, then
and
by throwing away the remaining (non-negative) terms of binomial theorem. For any solution,
, which is impossible for
. That leaves us with
and
, but
for any integer
(proof by induction), so there are no solutions.
- If
, RHS is at most
and LHS is at least
(again from binomial theorem), which gives no solutions as well.
Case 2:
- Since
is divisible by
, then
must also be divisible by
.
- In addition, RHS is at most
, so
. We may write
, where
.
- Since
is a divisor of
and
it must also be a divisor of
, so
and
. We're looking for solutions of
.
- Let's factorise
: if
with
odd and
, it's
- Since
and
contain an odd number of odd terms (remember the assumption
aka
), they're odd. Also,
modulo
, so
and each following term is even but indivisible by
. The highest power of
dividing
is therefore
where
is the highest power dividing
.
- In comparison,
has factors
,
etc (up to
), and
other even factors, so it's divisible at least by
. Since
for
, the only possible solutions have
or
.
- If
, we reuse the inequalities
and
to show that there are no solutions for
.
- Finally,
isn't a factorial,
and
.
Case 3:
Just like in case 2, is divisible by
so
must also be divisible by
. However,
and
are also both divisible by
, so remainders modulo
tell us that no solutions exist.
Conclusion:
The only solutions are .
Solution 2
I considered the cases:
1) If \(a\) is even, then it must:
1.a) \(b \neq 1\) and \(p > 2\) 1.b) \(b!\) is even and \(p = 2\)
2) If \(a\) is odd, then it must:
2.a) \(b \neq 1\) and \(p = 2\) 2.b) \(b!\) is even and \(p > 2\)
Examining 1.a), we end up with an equation of the form \(a^p = p+1\), which has no integer solutions.
In case 1.b), \(b!\) can take values: 2, 6, 24, 120, 720, ..., so \(b!+2\) takes values: 4, 8, 26, 122, 722, .... We observe that the only perfect square is 4 among the possible cases, as for \(b \geq 5\), the result ends in 2, which is not a perfect square. Therefore, we have the triple \((2,2,2)\).
Case 2.a) yields \(a^2 = 3\), which is rejected.
Examining the last case 2.b), we have for \(b!\) the values: 2, 6, 24, 120, 720, 5040,
i) \(b! = 2\), then \(a^p = 2+p\), which is rejected. ii) \(b! = 6\), then \(a^p = 6+p\), also does not give integer solutions. iii) \(b! = 24\), then \(a^p = 24+p\), giving a solution for \(p=3\). Thus, we have the triple \((3,4,3)\). iv) \(b \geq 5\): \(a^3 = b! + 3\), so \(a\) must end in 3 or 7, which does not give solutions. \(a^5 = b! + 5\), so \(a\) must end in 5, also not giving solutions. \(a^7 = b! + 7\), so \(a\) must end in 3, again not giving solutions. \(a^{11} = b! + 11\), no \(a \in \mathbb{Z^+}\) satisfies this. \(a^{19} = b! + 19\), similarly, no solutions. Other prime exponents reduce to these, as their last digit is one of \(\{1,3,7,9\}\)
The analysis of the last case is incomplete, which is why I wasn't initially sure about the number of triples. Therefore, with this approach (which is not strictly documented), we find the triples: \((2,2,2), (3,4,3)\).
Solution 3(Unfinished)
Consider . Then,
must have a factor of
. Since
and
,
. But
is prime so
can only be
or the set of prime numbers. If
, then
which is impossible since
is a positive integer and so is
. Therefore,
must be the set of prime numbers specifically
. This means
. We can rearrange this to solve this Diophantine Equation:
with
being a prime number. Wilson's Theorem states that if
is a prime number, then
. This motivates us to consider different cases.
Case 1: where
is a prime
This means . Note that
is always even. Thus,
is odd. Let
. Here, we clearly see that
. Here, we only consider
. Note that
does indeed lead a solution of
so we have found our first solution triple.
Now, we go back to our original equation: ,
is a prime. Note that
. Consider
. Then,
. It is immediately obvious that
is the only solution which yields a solution of
. We will prove that is the second and last solution triple.
Case 1.1:
Then, . Since
is a prime, we have
. Note that if
, then this inequality will obviously not hold as all terms are strictly less than
. If
, then
. Using the same trick and dividing by
, we get a similar contradiction. Therefore, if
, we have no solution.
Case 1.2:
Note that will lead a contradiction in the modular arithmetic. Note that
. We have
. Notice
. It is immediately obvious that only
will hold solutions(If
, we can use a similar trick as above to prove that nothing will work). But note that
which means
. It is now obvious that
\implies
. Recall that
. Thus,
.(I have not finished proving why this doesn't work.)
Case 1.3: is anything but
where
is a prime
Recall that we have . Notice that
will lead to a contradiction because
is composite. Therefore,
where
is a constant of anything but
. Let
be a prime that divides
. Thus,
. Therefore, we know that
for
. We also know that
or
. If we consider
, because
is a prime,
is a prime number. In other words, we have just proven that if there exists a prime
that divides
where
, then there also may exist a prime
that also divides
. But because
,
. Therefore, at least one of
where
, must be a prime number. Now, we have
. Let us consider the highest power of prime
in
. We need to find
. By Legendre's Formula,
. We just need to find that
. If
is a multiple of
, this will not hold true simply be plugging in. Even if
, because the sum is finite, it would imply
which goes back to the case where
is a multiple of
. Therefore, the only condition for which this can hold is if
which contradicts the part where
must divide
because
is not prime. We now have to prove that this case doesn't hold even if
. In this case,
is not necessarily prime. We can apply Fermat's Little Theorem if we assume
is a prime. Then,
. This tells us that
which tells us that
is another prime that divides it. Therefore, there are two primes that divide
and those are
and
if
is a prime. We conclude that either
or
has more than one prime factor. If we consider
, we can apply Legendre's again and see that it gives us the same result. If we have
has at least two distinct prime factors and two of them are
and
. This can only occur if
(The other case will lead to a - 1 being composite which is not what we assumed). But we already considered this case. Therefore, we don't have a new solution here. Now, onto when
is not prime.(I have not finished proving this case.)
Case 2:
This just implies . Because of Wilson's Theorem, if
where we use
again as a prime, then
will have a modular residue of anything but
.(I have not finished proving why
will also host no solutions).
~ilikemath247365
See Also
2022 IMO (Problems) • Resources | ||
Preceded by Problem 4 |
1 • 2 • 3 • 4 • 5 • 6 | Followed by Problem 6 |
All IMO Problems and Solutions |