Difference between revisions of "1991 IMO Problems/Problem 2"
Line 73: | Line 73: | ||
\begin{document} | \begin{document} | ||
− | \section*{ | + | \section*{Solution} |
− | + | Let <math>c</math> be the number of positive integers smaller than and coprime to <math>n</math>, with <math>n>6</math>. | |
− | \ | + | \textbf{Lemma 1.} <math>c</math> is even. |
− | |||
− | \textbf{ | + | \textbf{Proof of Lemma 1.} If <math>q</math> is coprime to <math>n</math>, then so is <math>n-q</math>. Pairing <math>q</math> with <math>n-q</math> shows that <math>c</math> is even. \(\blacksquare\) |
− | |||
− | |||
− | + | Assume that the numbers smaller than <math>n</math> and coprime to <math>n</math> form an arithmetic progression with first term <math>1</math> and difference <math>d</math>: | |
− | + | \[ | |
− | + | a_i = 1 + (i-1)d, \quad 1 \le i \le c. | |
− | + | \] | |
− | |||
− | |||
− | \ | + | \textbf{Case 1: <math>n</math> is odd.} |
− | The first two coprime numbers are <math>1</math> and <math>2</math> | + | The first two coprime numbers are <math>1</math> and <math>2</math>. If they form an arithmetic progression, the sequence would continue <math>1,2,3,\dots,n-1</math>. This implies <math>n</math> is coprime to all numbers smaller than it, so <math>n</math> must be prime. |
− | |||
− | \ | + | \textbf{Case 2: <math>n</math> divisible by <math>4</math>.} |
− | + | Summing the arithmetic progression gives | |
\[ | \[ | ||
− | 1 | + | \sum_{i=1}^{c} a_i = c + \frac{c(c-1)}{2}d. |
\] | \] | ||
− | + | By Lemma 1, pairing each <math>q</math> with <math>n-q</math> gives a total sum <math>c \cdot \frac{n}{2}</math>. Equating these, | |
− | |||
− | |||
− | |||
− | By Lemma 1, pairing each <math>q</math> with <math>n-q</math> | ||
\[ | \[ | ||
c + \frac{c(c-1)}{2}d = \frac{c n}{2} \implies 2 = n - d(c-1). | c + \frac{c(c-1)}{2}d = \frac{c n}{2} \implies 2 = n - d(c-1). | ||
\] | \] | ||
− | Since <math>c-1</math> is odd | + | Since <math>c-1</math> is odd and <math>n</math> is even, <math>d</math> must be even and <math>\gcd(n,d)=2</math>. Because <math>n</math> is divisible by <math>4</math>, the only possibility is <math>d=2</math>, which happens only if <math>n</math> is a power of two. |
− | \ | + | \textbf{Case 3: <math>n</math> divisible by <math>2</math> but not by <math>4</math>.} |
− | Let <math>n = 2f</math>, | + | Let <math>n=2f</math>, <math>f</math> odd. Then <math>f-2</math> and <math>f+2</math> are consecutive coprime numbers. The gap is <math>4</math>, so the progression is <math>1,5,9,13,\dots</math>. For <math>n>6</math>, the sequence eventually includes a multiple of <math>3</math>, contradicting coprimality. |
− | \ | + | \textbf{Conclusion.} In all cases, the numbers smaller than <math>n</math> and coprime to <math>n</math> form an arithmetic progression only if <math>n</math> is prime or a power of <math>2</math>. \(\blacksquare\) |
− | \ | + | \end{document} |
− | |||
− | |||
== See Also == {{IMO box|year=1991|num-b=1|num-a=3}} | == See Also == {{IMO box|year=1991|num-b=1|num-a=3}} |
Revision as of 05:11, 19 August 2025
Contents
Problem
Let be an integer and
be all the natural numbers less than
and relatively prime to
. If
prove that
must be either a prime number or a power of
.
Solution 1
We use Bertrand's Postulate: for is a positive integer, there is a prime in the interval
.
Clearly, must be equal to the smallest prime
which does not divide
. If
, then
is a prime since the common difference
is equal to
, i.e. all positive integers less than
are coprime to
. If, on the ther hand,
, we find
to be a power of
: the positive integers less than
and coprime to it are precisely the odd ones. We may thus assume that
. Furthermore, since
, the positive integers less than
and coprime to it cannot be
alone, i.e.
.
By Bertrand's Postulate, the largest prime less than is strictly larger than
, so it cannot divide
. We will denote this prime by
. We know that
. It's easy to check that for
there is a prime
strictly between
.
, so, in particular,
. On the other hand, if
, the two largest primes
which are smaller than
satisfy
(again, Bertrand's Postulate), so
so, once again, we have
(this is what I wanted to prove here).
Now, , and all the numbers
are smaller than
(they are smaller than
, which is smaller than
, according to the paragraph above). One of these numbers, however, must be divisible by
. Since our hypothesis tells us that all of them must be coprime to
, we have a contradiction.
This solution was posted and copyrighted by grobber. The original thread for this problem can be found here: [1]
Note
Bertrand actually allows for the bounds for
; thus, since
is the smallest prime not dividing
,
must equal
. Hence there cannot exist a prime in the bounds
, clearly untrue for
by Bertrand. Then
is clearly not possible, and
does not work (unless
is a power of
); hence the conclusion holds.
~eevee9406
Solution 2
Let . Then we have
. Since
, so
is the largest positive integer smaller than
and co-prime to
. Thus,
and
which shows
and so
divides
. We make two cases.
Case 1:
is odd. Then
. So, every divisor of
is co-prime to
too, so is
. Thus, there is a
such that
which implies
. Therefore, in this case,
and we easily find that all numbers less than
are co-prime to
, so
must be a prime.
Case 2:
is even. But then
and also
is ruled out. So
. Say,
. Then,
divides
. If
is odd,
and
forcing
, contradiction! So,
with
. If
for some
, then
. So, again
for a
. If
is odd, then
and thus,
. Similarly, we find that actually
must occur. We finally have,
. But then all odd numbers less than
are co-prime to
. So,
does not have any odd factor i.e.
for some
.
This solution was posted and copyrighted by ngv. The original thread for this problem can be found here: [2]
Solution 3
We use Bonse's Inequality: , for all
,
.
Let denote the smallest prime which does not divide
.
Case 1) . This implies
is a prime.
Case 2)
. This implies
for some
.
Case 3)
. Since
, we have that
. Therefore
, but
.
Case 4)
. Write
. We have
. Hence
, a contradiction since
.
This solution was posted and copyrighted by SFScoreLow. The original thread for this problem can be found here: [3]
Solution 4
Clearly, . Now let
be the smallest prime number which is not a divisor of
. Hence,
, and the common difference
. Observe that since
, we have that
, or
. This means that all prime factors of
are prime factors of
. However, due to the minimality of
, all primes factors of
are prime factors of
. By the Euclidean algorithm, the only prime factors of
are
, so
or
, by the theory of Fermat primes. We will now do casework on
.
Case 1:
This case is relatively easy.
, so all numbers less than
must be relatively prime to
. However, if
, where
and
, observe that
is not relatively prime to
, so
must be prime for this case to work.
Case 2: and
.
This case is somewhat tricky. Observe that
is even. Since
, we have that all numbers less than
which are odd are relatively prime to
. However, if
has a odd divisor
, clearly
is not relatively prime to
, so
must be a power of two.
Case 3: .
Note that
must be a divisor of
, so
cannot be a multiple of
for any
. I will contradict this statement. First, I claim that
for all integers
.
is trivial, so let me show that
has only solutions less than or equal to
. Since
is a multiplicative function, observe that
cannot be a multiple of a prime greater than
, because for such primes
we have that
, which is contradiction. Hence,
is just composed of factors of
and
. If it divides both, and is of the form
for
and
positive, we get that we need
, so
and
in this case. If it is of the form
, we get
. And if it is of the form
, we get
.
,
, and
are all less than or equal to
, so
. Now we're almost done. Since
, the number
must be in this sequence. However,
is of the form
, which is a multiple of
, and we have contradiction, so we are done.
This solution was posted and copyrighted by va2010. The original thread for this problem can be found here: [4]
Solution 5
Clearly that . Let
then
We can see that if
is a prime then
satisfies the condition. We consider the case when
is a composite number. Let
be the smallest prime divisor of
then
. Note that
for all prime
since
for all
. Therefore, if
then there will exists
such that
or
, a contradiction since
. Thus,
. We consider two cases:
If then
. Hence,
. This means there exists a prime
such that
. Since
so we get
or
, a contradiction since
. Thus,
or
.
If then all odd numbers
are relatively prime to
. This can only happen when
.
If then
since
. Thus,
or there exist a prime
such that
. Note that
so
, a contradiction.
Thus, must be either a prime number or a power of
.
This solution was posted and copyrighted by shinichiman. The original thread for this problem can be found here: [5]
Solution 6
\documentclass[12pt]{article} \usepackage{amsmath, amssymb}
\begin{document}
\section*{Solution}
Let be the number of positive integers smaller than and coprime to
, with
.
\textbf{Lemma 1.} is even.
\textbf{Proof of Lemma 1.} If is coprime to
, then so is
. Pairing
with
shows that
is even. \(\blacksquare\)
Assume that the numbers smaller than and coprime to
form an arithmetic progression with first term
and difference
:
\[
a_i = 1 + (i-1)d, \quad 1 \le i \le c.
\]
\textbf{Case 1: is odd.}
The first two coprime numbers are
and
. If they form an arithmetic progression, the sequence would continue
. This implies
is coprime to all numbers smaller than it, so
must be prime.
\textbf{Case 2: divisible by
.}
Summing the arithmetic progression gives
\[
\sum_{i=1}^{c} a_i = c + \frac{c(c-1)}{2}d.
\]
By Lemma 1, pairing each
with
gives a total sum
. Equating these,
\[
c + \frac{c(c-1)}{2}d = \frac{c n}{2} \implies 2 = n - d(c-1).
\]
Since
is odd and
is even,
must be even and
. Because
is divisible by
, the only possibility is
, which happens only if
is a power of two.
\textbf{Case 3: divisible by
but not by
.}
Let
,
odd. Then
and
are consecutive coprime numbers. The gap is
, so the progression is
. For
, the sequence eventually includes a multiple of
, contradicting coprimality.
\textbf{Conclusion.} In all cases, the numbers smaller than and coprime to
form an arithmetic progression only if
is prime or a power of
. \(\blacksquare\)
\end{document}
See Also
1991 IMO (Problems) • Resources | ||
Preceded by Problem 1 |
1 • 2 • 3 • 4 • 5 • 6 | Followed by Problem 3 |
All IMO Problems and Solutions |