If we pick 77 numbers randomly from the set { 1 , 2 , 3 , 4 , . . . , 1 5 0 } , we are guaranteed to have at least k pairs of numbers where the difference between each pair is 19. What is the maximum possible value of k ?
Please treat a pair as a combination, not a permutation.
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.
Bullet Proof (3 bullets)
First, consider congruence classes modulo 1 9 . 0 , 1 , 2 , 3 , 4 , . . . , 1 8 . For sure, 1 9 classes .
Now, using PHP , we find, 7 7 = 1 9 × 4 + 1 yields there are at least 5 numbers n 1 < n 2 < n 3 < n 4 < n 5 of our sample are of the same congruence class.
If, somehow, n i + 1 − n i = 1 9 , it would be as clear as Plexiglas (Polymethylmethacrylate) that, n i + 1 − n i ≥ 3 8 , and so, n 5 − n 1 ≥ 1 5 4 .
Well, friends, that is impossible. No two numbers of our set are more than 1 4 9 miles apart.
Thus, the answer is e 2 i π .
Please get admitted to grade 1 again. 3 8 × 4 = 1 5 2 = 1 5 4 . However, that does not change anything.
For completeness, you should show that such a sequence actually exists, IE there are 77 numbers such that only 1 pair have a difference of exactly 19.
All that you have shown is that the minimum is at least 1.
Hey friend u want to try hardest sum then I m uploading if u HV capacity to solve ..if u don't then also please let me know ok
Thank you, sir. Yes, the solution is indeed incomplete.
As a measure of damage control, let's construct a set here: we would take 1 to 1 9 , 3 9 to 5 7 , 7 7 to 9 5 , 1 1 5 to 1 3 3 , and finally, anyone from 1 3 4 to 1 5 0 . We would not take anyone from 2 0 to 3 8 , 5 8 to 7 6 , and so on, because they are members of two such pairs in this combination.
In our solution, we have done nothing else but whatever we have done here while trying to construct a set, and while observing the aspects.
Suppose we pick 1 to 19, 39 to 57, 77 to 95, 105 to 123 and anyone from 143 to 150, we have 19*4 + 1 = 77 numbers none with difference of 19. You must be meaning 19 or its multiples. Please word question accordingly. I like your style of giving a solution.
95+19=115 115+19=134 so, last sequece must be from 115 to 134, and then you lack that 77th number. 134+19=154.
Razen, you have taken 1 0 5 to 1 2 3 . Please observe that, 8 6 + 1 9 = 1 0 5 , 8 7 + 1 9 = 1 0 6 , 8 8 + 1 9 = 1 0 7 , . . . , 9 4 + 1 9 = 1 2 3 . Please check my comment in response to Calvin Lin.
Thank you for your appreciation.
Problem Loading...
Note Loading...
Set Loading...
Let's first see how many numbers we can pick before a pair is inevitably found. If we choose 1 , 2 , 3 , . . . , 1 9 , we cannot choose 2 0 , 2 1 , . . . , 3 8 because 2 0 − 1 = 1 9 , 2 1 − 2 = 1 9 , . . . 3 8 − 1 9 = 1 9 . So we must choose alternating sets of 19 numbers that fit within 150. Here is one possible group of such sets: 1 − 1 9 3 9 − 5 7 7 7 − 9 5 1 1 5 − 1 3 3 We obtain another such group if we start at 2 instead of 1 and so on. So how many numbers are in this set? Well each set has 19 numbers and 4 sets can fit in 150 so we can pick 4*19=76 numbers such that no pair exists. If we pick 77 numbers, then we are guaranteed to have 1 pair so the answer is 1.