Maths Olympiad Prep

Library / /136 of 520

Number theory Difficulty 6.6 National olympiad Find the answer

Given a0>1a_0 > 1, the sequence a0,a1,a2,...a_0, a_1, a_2, ... is such that for all k>0k > 0, aka_k is the smallest integer greater than ak1a_{k-1} which is relatively prime to all the earlier terms in the sequence.
Find all a0a_0 for which all terms of the sequence are primes or prime powers.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

1. Initial Setup and Definitions:
Given a0>1 a_0 > 1 , the sequence a0,a1,a2, a_0, a_1, a_2, \ldots is defined such that for all k>0 k > 0 , ak a_k is the smallest integer greater than ak1 a_{k-1} which is relatively prime to all the earlier terms in the sequence. We need to find all a0 a_0 for which all terms of the sequence are primes or prime powers.

2. Lemma 1:
Every prime divides a term in the sequence.
- Proof: Take any prime p p . Suppose k k is the least integer such that a1pk a_1 \le p^k . Now let z z be the least such integer such that azpk a_z \ge p^k . If azpk a_z \neq p^k , then p p divides one of a1,a2,,az1 a_1, a_2, \ldots, a_{z-1} . But then we're done.

3. Corollary:
If p p is prime, then plogpa1 p^{\lceil \log_p{a_1} \rceil} is one of the ai a_i .

4. Sequence Behavior:
It follows that for sufficiently large n n , the an a_n are just a bunch of consecutive primes. Note that by the corollary, if an>a02 a_n > a_0^2 , then an a_n is prime.

5. Prime Product Argument:
We can pick two primes p p and q q such that pq[a1,a12] pq \in [a_1, a_1^2] but plogpa1,qlogqa1>pq p^{\lceil \log_p{a_1} \rceil}, q^{\lceil \log_q{a_1} \rceil} > pq .
- By Bertrand's Postulate, we can find a prime p p such that a121<p<a1 \frac{\sqrt{a_1}}{2} - 1 < p < \sqrt{a_1} when a116 a_1 \ge 16 .
- Let a1p=z \frac{\sqrt{a_1}}{p} = z . Then we can also find a prime q q such that za1<q<2za1 z\sqrt{a_1} < q < 2z\sqrt{a_1} .

6. Contradiction:
- Clearly, pq>a1 pq > a_1 . However, plogpa1p3>pq p^{\lceil \log_p{a_1} \rceil} \ge p^3 > pq .
- We also have qlogqa1=q2>pq q^{\lceil \log_q{a_1} \rceil} = q^2 > pq .
- Thus, it follows that pq pq must be one of the ai a_i , leading to a contradiction. Therefore, a1<16 a_1 < 16 .

7. Case Analysis:
- Checking which values of a1 a_1 less than 16 work involves casework.
- Further analysis suggests that a0 a_0 must be of the form 22n 2^{2^n} except in some exceptional cases.

The final answer is a0 \boxed{ a_0 } must be of the form 22n 2^{2^n} .

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.