Difference between revisions of "1991 IMO Problems/Problem 2"
Line 66: | Line 66: | ||
This solution was posted and copyrighted by shinichiman. The original thread for this problem can be found here: [https://aops.com/community/p5878962] | This solution was posted and copyrighted by shinichiman. The original thread for this problem can be found here: [https://aops.com/community/p5878962] | ||
− | |||
− | + | Solution 6 ================ | |
− | |||
− | \ | + | // Lemma 1: If \(c\) is the number of numbers smaller than and coprime to a number \(n\) where \(n > 6\), then \(c\) is even.\\ \text{Examples:} \\ n = 7: \text{numbers smaller than and coprime to 7 are } 1, 2, 3, 4, 5, 6 \Rightarrow c = 6 \text{ (even)}.\\ n = 8: \text{coprime numbers are } 1, 3, 5, 7 \Rightarrow c = 4 \text{ (even)}.\\ \text{Proof: If } q \text{ is coprime to } n, \text{ then } n-q \text{ is also coprime to } n.\\ \text{So for each } q < n/2, \text{ there exists } n-q > n/2 \text{ also coprime. Hence, } c \text{ is even.}\\ // Now, we consider the main problem: prove that coprime numbers are never in an arithmetic progression if \(n > 6\) and \(n\) is not prime or a power of two.\\ \text{Scenario 1: } n \text{ is odd} \\ \text{First two coprime numbers are } 1 \text{ and } 2.\\ \text{If in arithmetic progression, sequence would be } 1, 2, 3, \dots, n-1.\\ \text{But } n \text{ is only coprime to all numbers smaller than it if } n \text{ is prime.}\\ \text{Hence, odd } n \text{ coprime numbers form an arithmetic progression only if } n \text{ is prime.}\\ \text{Scenario 2: } n \text{ divisible by 4} \\ \text{Assume coprime numbers form an arithmetic progression: } 1, 1+d, 1+2d, \dots, 1+(c-1)d \\ \text{Sum: } S = c + \frac{c(c-1)d}{2} \\ \text{Also, by Lemma 1: sum must equal } \frac{c n}{2} \\ c + \frac{c(c-1)d}{2} = \frac{c n}{2} \Rightarrow 2 = n - d(c-1)\\ \text{Since } c-1 \text{ is odd and } n \text{ is even, } d \text{ must be even, gcd}(n,d) = 2.\\ \text{If } n \text{ divisible by 4, } d \text{ must divide 2, so } d = 2. \\ \text{Arithmetic progression } 1, 3, 5, \dots \text{ only possible if } n \text{ is a power of 2.}\\ \text{Scenario 3: } n \text{ not divisible by 4, but by 2 and an odd number} \\ n = 2f, f \text{ odd, } n > 6 \\ \text{Then } f-2 \text{ and } f+2 \text{ are consecutive coprime numbers to } n. \\ \text{Gap between them is 4, so gap between consecutive coprime numbers must be 4.}\\ \text{Numbers coprime to sequence } 1, 5, 9, 13, \dots \\ 6 \text{ is coprime to 1 and 5. For } n>6, \text{ must be coprime to 9 } \Rightarrow \text{coprime to 3, contradiction.}\\ \text{Hence, no } n>6 \text{ in this scenario satisfies the constraints.}\\ // Conclusion: For } n > 6, \text{ coprime numbers smaller than } n \text{ are never in an arithmetic progression unless } n \text{ is prime or a power of two.\\ |
− | |||
− | \ | ||
− | |||
− | |||
− | |||
− | \ | ||
− | |||
− | \ | ||
− | |||
− | |||
− | \ | ||
− | |||
− | \ | ||
− | |||
− | \ | ||
− | |||
− | |||
− | \ | ||
− | |||
− | \ | ||
− | \ | ||
− | \ | ||
− | |||
− | \ | ||
− | c + \frac{c(c-1)}{2} | ||
− | \ | ||
− | Since | ||
− | |||
− | \ | ||
− | |||
− | |||
− | \ | ||
− | |||
− | \ | ||
== 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:13, 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 ================
// Lemma 1: If \(c\) is the number of numbers smaller than and coprime to a number \(n\) where \(n > 6\), then \(c\) is even.\\ \text{Examples:} \\ n = 7: \text{numbers smaller than and coprime to 7 are } 1, 2, 3, 4, 5, 6 \Rightarrow c = 6 \text{ (even)}.\\ n = 8: \text{coprime numbers are } 1, 3, 5, 7 \Rightarrow c = 4 \text{ (even)}.\\ \text{Proof: If } q \text{ is coprime to } n, \text{ then } n-q \text{ is also coprime to } n.\\ \text{So for each } q < n/2, \text{ there exists } n-q > n/2 \text{ also coprime. Hence, } c \text{ is even.}\\ // Now, we consider the main problem: prove that coprime numbers are never in an arithmetic progression if \(n > 6\) and \(n\) is not prime or a power of two.\\ \text{Scenario 1: } n \text{ is odd} \\ \text{First two coprime numbers are } 1 \text{ and } 2.\\ \text{If in arithmetic progression, sequence would be } 1, 2, 3, \dots, n-1.\\ \text{But } n \text{ is only coprime to all numbers smaller than it if } n \text{ is prime.}\\ \text{Hence, odd } n \text{ coprime numbers form an arithmetic progression only if } n \text{ is prime.}\\ \text{Scenario 2: } n \text{ divisible by 4} \\ \text{Assume coprime numbers form an arithmetic progression: } 1, 1+d, 1+2d, \dots, 1+(c-1)d \\ \text{Sum: } S = c + \frac{c(c-1)d}{2} \\ \text{Also, by Lemma 1: sum must equal } \frac{c n}{2} \\ c + \frac{c(c-1)d}{2} = \frac{c n}{2} \Rightarrow 2 = n - d(c-1)\\ \text{Since } c-1 \text{ is odd and } n \text{ is even, } d \text{ must be even, gcd}(n,d) = 2.\\ \text{If } n \text{ divisible by 4, } d \text{ must divide 2, so } d = 2. \\ \text{Arithmetic progression } 1, 3, 5, \dots \text{ only possible if } n \text{ is a power of 2.}\\ \text{Scenario 3: } n \text{ not divisible by 4, but by 2 and an odd number} \\ n = 2f, f \text{ odd, } n > 6 \\ \text{Then } f-2 \text{ and } f+2 \text{ are consecutive coprime numbers to } n. \\ \text{Gap between them is 4, so gap between consecutive coprime numbers must be 4.}\\ \text{Numbers coprime to sequence } 1, 5, 9, 13, \dots \\ 6 \text{ is coprime to 1 and 5. For } n>6, \text{ must be coprime to 9 } \Rightarrow \text{coprime to 3, contradiction.}\\ \text{Hence, no } n>6 \text{ in this scenario satisfies the constraints.}\\ // Conclusion: For } n > 6, \text{ coprime numbers smaller than } n \text{ are never in an arithmetic progression unless } n \text{ is prime or a power of two.\\
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 |