Pick up Ten

Logic Level 4

What is the maximum number of positive integers we could pick, such that
1) the absolute difference of any two of them is at most 9, and
2) any two of them are coprime.

For example, the numbers 2 , 3 , 5 , 7 2, 3, 5, 7 shows that the maximum is at least 4.

10 8 3 6 9 4 5 7

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.

1 solution

Discussions for this problem are now closed

Calvin Lin Staff
Jan 8, 2015

The absolute difference is at most 9, means that we are looking at sets of 10 consecutive positive integers.

Out of 10 consecutive positive integers, 5 of them will be even. We can pick at most 1 out of these 5 even numbers, and thus at most 6 out of these 10 consecutive numbers.

Consider the sequence 11 , 12 , 13 , 14 , , 19 11, 12, 13, 14, \ldots, 19 . We can pick 11 , 13 , 15 , 16 , 17 , 19 11, 13, 15, 16, 17, 19 in which any 2 of them are coprime. Hence, the answer is exactly 6.

5,7,8,9,11,13 could be another sequence.

Divyansh Tyagi - 6 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...