Skip to main content
OlympiadHQ

Browse · MathNet

Print

European Mathematical Cup

North Macedonia number theory

Problem

Find all infinite sequences of positive integers such that

a) , for all positive integers , and

b) there are infinitely many positive integers such that .
Solution
Instead of sequence , we'll use notation with the function with same properties.

There exists only one such function: . We'll solve the problem with many separate facts.

Fact 1:

Proof. According to a) it holds . Since is positive integer, it can't be , so it must be .

Fact 2: Function is bijective.

Proof. Firstly, we'll show that is injective. Let be two arbitrary positive integers and let's assume . Since holds for infinitely any positive integers , it holds for some integer greater than and . Then, since , set contains or less (different) elements, but according to b), it contains elements.

Secondly, we'll show that is surjective. Let be arbitrary integer and let's assume that for all positive integers . Similarly as in first part of proof, let's take positive integer such that holds. Since , is also element of the set , so there exists positive integer such that .

Fact 3: Positive integer is prime if and only if is prime.

Proof. Let's assume that is prime, but isn't. Then it must be , where are positive integers greater 1, and are unique positive integers such that , (they exist since is bijective). Since is injective, and are not equal to 1, integers are also not equal to 1. Since is injective and , we have , so is composite.

Let's assume that is prime, but isn't. Then there exist positive integers greater than one such that . From there we have . Again from injectivity of and , we see that is product of two integers greater than 1.

Fact 4: If is unique factorization of positive integer , then is unique factorization of positive integer .

Proof. From multiple use of the condition a) we get identity . From fact 3, numbers are prime. Since is injective, none of two numbers and are equal.

Fact 5: (Technical result) For all positive integers there exist positive integer such that for all positive integers holds inequality

Proof. It is sufficient to prove the fact only for consecutive integers and (because we'll have . By binomial theorem we have Thus if we define , then for all we have Another proof. Inequality is equivalent to The fact follows from the fact that the expression on the left hand side is increasing and it is unbounded, while the right hand side is fixed.

Fact 6: For all prime numbers we have .

Proof. Let be the increasing sequence of all primes. Let's take arbitrary prime number . From the Fact 3 we have that is also prime. Let's take positive integer as the integer from the Fact 5, for positive integers . Since b) holds for infinitely many positive integers, it holds for some positive integer such that , and such that . Let be the greatest positive integer such that . From definitions of and we have .

In set we'll observe all positive integers which are power of a prime number. Since , we have that is in that set. It is easy to see that all numbers are also in that set. On the contrary, number is not in that set, because from the definition of and respectively we have (remember Fact 5 and ). Similarly, neither of the numbers (for ) is not in the set .

Let us now observe all positive integers which are power of a prime and they are in the set . According to Fact 4, we have that is power of a prime. From that and from previous paragraph we conclude that only such numbers are .

Now we have . Thus , so for some , which implies for some , which completes the proof.

Fact 7: For every positive integer we have .

Proof. From Fact 3 we have if and only if is prime. Let be the increasing sequence of all prime numbers. From fact 6 we have . For , inductively and from injectivity of we have and from Fact 6 we have , thus is must be , for all positive integer .

Now for arbitrary positive integer from Fact 4 we have which completes our proof.
Final answer
a_n = n for all n

Techniques

Prime numbersFactorization techniquesInjectivity / surjectivity