Olympiad problem

Is it possible to choose 1983 distinct positive integers, all less than or equal to 1 0 5 10^5 , no three of which are consecutive terms of an arithmetic progression ?

No Yes Data inadequate

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Ivan Koswara
Apr 27, 2016

The answer is yes . To do this, we first need a lemma:

Lemma 1 : Suppose three natural numbers form an arithmetic progression. Then, in base three , at least one of the numbers have the digit 2. For example, 13 , 28 , 43 13, 28, 43 forms an arithmetic progression, and they are 11 1 3 , 100 1 3 , 112 1 3 111_3, 1001_3, 1121_3 in ternary; there's that digit 2.

Proof : It's not fully rigorous yet, but the idea is to notice the rightmost digit that changes. For example, in the above, the rightmost digit that changes is the second digit. You can prove that said digit will be different in all three numbers, which means, because there are only three digits in ternary, one of them must be a 2.

Now, we use the contraposition of the above lemma. If three numbers form an arithmetic progression, one of them has a 2 in ternary. Thus if none of our numbers has a 2 in ternary, no three of them would form an arithmetic progression.

How many such numbers are there? Natural numbers in ternary that don't contain a 2 are simply 1 3 , 1 0 3 , 1 1 3 , 10 0 3 , 10 1 3 , 11 0 3 , 11 1 3 , 1_3, 10_3, 11_3, 100_3, 101_3, 110_3, 111_3, \ldots ; for a given n n , there are 2 n 1 2^n - 1 natural numbers of at most n n ternary digits that don't have a 2. The largest of these is 111 1 3 111 \ldots 1_3 with n n ones, which is equal to 3 n 1 2 \frac{3^n - 1}{2} . We plug in n = 11 n = 11 and find that we have 2047 such natural numbers, the largest of them being 88573. (We choose n = 11 n = 11 because that's when 2 n 1 1981 2^n - 1 \ge 1981 .) Thus not only we have enough; we have a few more.

Moderator note:

Great question. We can generalize the lemma, where for any prime p p , an AP with p p terms written in base p \leq p will consist of all of the digits.

The proof of the lemma seems rigorous to me. What are your concerns?

Calvin Lin Staff - 5 years, 1 month ago

Log in to reply

The part whose proof I skipped, of course.

Ivan Koswara - 5 years, 1 month ago

Log in to reply

Eh, I think it's self-evident​.

Calvin Lin Staff - 5 years, 1 month ago

I know I'm like 2.5 years late, but for anyone wondering;

Let the arithmetic progression be a , a + d p n , a + 2 d p n , , a + ( p 1 ) d p n a, a+d\cdot p^n, a+2 d\cdot p^n,\dots, a+(p-1)\cdot d\cdot p^n , where p d p\nmid d .

With this notation, the rightmost digit that changes is the n + 1 st {n+1}^{\text{st}} from the right. Assuming any two of the numbers, say a k = a + k d p n a_k=a+k\cdot d\cdot p^n and a l = a + l d p n a_l=a+l\cdot d\cdot p^n , k > l k>l , share said digit; then p n + 1 ( a k a l ) p n + 1 ( k l ) p n p^{n+1}\mid (a_k-a_l)\implies p^{n+1}\mid (k-l)\cdot p^n , contradiction.

Ivo Zerkov - 2 years, 7 months ago
Cantdo Math
Apr 11, 2020

Take the first ,second,fourth and fifth of every 9 consecutive integers ,it satisfies the condition.

Joseph Johannes
Apr 27, 2016

The easiest way to do this is to notice that prime numbers cannot belong to a single arithmetic progression and to calculate the number of prime numbers not greater than 100000, which is 100000/ln(100000) ≈ 8686 > 1981

This solution is wrong. For example, 3 , 5 , 7 3, 5, 7 are three terms forming an arithmetic progression, and so as 5 , 11 , 17 5, 11, 17 .

Ivan Koswara - 5 years, 1 month ago

What you are telling is not correct as it is clearly mentioned that no three consecutive terms must form an AP while 3,5,7 does form . You are considering the whole sequence as not an AP....hope u got it

Naveen Rawat - 5 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...