Skip to main content
OlympiadHQ

Browse · MathNet

Print

SAUDI ARABIAN MATHEMATICAL COMPETITIONS

Saudi Arabia number theory

Problem

Let be a positive integer and there exist positive integers that are arranged on a circle such that: - The product of each pair of two non-adjacent numbers is divisible by . - The product of each pair of two adjacent numbers is not divisible by . Find the maximum value of .
Solution
Denote as the exponent of prime in the prime factorization of positive integer . It is easy to see that for all positive integers .

We have , . Denote and Suppose there exist positive integers arranged on the circle satisfying the given condition and denote and .

Since is not divisible by for , then there exists a prime such that These primes form a sequence and the elements can be repeated. We will prove that with two non-adjacent indices.

Indeed, if there are some non-adjacent indices such that . Denote and from (*), we have and . Hence, we have On the other hand, since are pairs of non-adjacent indices then This implies that which is a contradiction.

Continue, suppose that there exists an index such that . If , because and are not divisible by , we can conclude that are not divisible by . Hence is not divisible by , contradiction because are not adjacent. So if , then we must have .

Now we can conclude that the sequence has the following properties: - Each prime appears at most 2 times. - If some prime appears 2 times, then .

Hence, we have Since , we can see that (in the sequence , prime appears times, prime appears times and the rest appear time). It is easy to check that if we choose 8 numbers as follows: and the corresponding sequence is Therefore, the maximum value of is .
Final answer
8

Techniques

Factorization techniquesColoring schemes, extremal arguments