What is the smallest integer N , such that no matter how we split the set S N = { 1 , 2 , … , N } into two sets A and B , there exists one set such that we can find 20 (not necessarily distinct) elements x 1 , x 2 , … x 2 0 satisfying
x 1 + x 2 + … + x 1 9 = x 2 0 ?
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.
What would your answer be, if 19 was replaced with the variable m ?
Log in to reply
It would be m 2 + m − 1 . For if N = m 2 + m − 2 , setting B = { m , m + 1 , ⋯ , m ( m − 1 ) } and the rest in A will cause the equation x 1 + x 2 + ⋯ + x m = x m + 1 to have no solutions if x 1 , x 2 , ⋯ , x m + 1 are all in A or are all in B .
But if N = m 2 + m − 1 , if we suppose S N can be split without the condition being fulfilled, then by assuming WLOG that 1 ∈ A we have m ∈ B and m 2 ∈ A . We will also then have m + 1 ∈ B and each of the two cases m 2 + m − 1 ∈ A and m 2 + m − 1 ∈ B will both yield a contradiction.
I did not understand anything this solution is trying to achieve 🤨
Suppose N = 1 9 2 + 1 8 = 3 7 9 . WLOG 1 ∈ A . If x 1 , . . . , x 2 0 don't exist, then 1 9 ∈ B , so 1 9 2 ∈ A , and 1 9 2 + 1 8 ∈ B . However, 20 could not be in either set, because 1 9 2 = 1 + 1 8 ( 2 0 ) and 1 9 2 + 1 8 = 1 9 + 1 8 ( 2 0 ) .
On the other hand, if N = 1 9 2 + 1 7 = 3 7 8 then no x 1 , . . . , x 2 0 exist for A = { 1 , . . . , 1 8 , 1 9 2 , . . . , 1 9 2 + 1 7 } and B = { 1 9 , . . . , 1 9 2 − 1 } , which shows that 3 7 9 in minimal.
Can you please explain how you got the number 3 7 9 ? I tried smaller values rather than 1 9 , but was unable to find any pattern. Nice solution though!
Log in to reply
If 1 is in A then 1 9 must be in B , and then 1 9 2 must be in A . In fact we find that we can stick all numbers between 1 9 and 1 9 2 − 1 in B , and all numbers between 1 and 1 8 in A without allowing a sum to exist. Then we get to 3 7 9 as it's 1 9 2 + 1 + 1 + . . . + 1 but clearly also possible in many ways from B .
We claim that N = 3 7 9 is the answer.
Suppose N = 3 7 8 satisfies the condition, then let A = { 1 9 , 2 0 , 2 1 , . . . , 3 6 0 } and B = { 1 , 2 , . . . , 1 8 , 3 6 1 , 3 6 2 , . . . , 3 7 8 }. It is clear that we can't find the required 2 0 numbers in both sets.
On the other hand, N = 3 7 9 satisfies the condition because, if not, let 1 ∈ B . Then 1 9 ∈ A . (because 1 9 = 1 9 × 1 .) Then 3 6 1 ∈ B . ( 1 9 + 1 9 + . . . + 1 9 ( 1 9 times) = 3 6 1 , so 1 9 and 3 6 1 can't be in the same set.). For similar reasons, 3 6 1 + 1 8 ( 1 ) = 3 7 9 ∈ A . Consider 2 0 . If 2 0 ∈ A , then 1 8 ( 2 0 ) + 1 9 = 3 7 9 , a contradiction to no such numbers exist. Else, if 2 0 ∈ B , then 1 8 ( 2 0 ) + 1 = 3 6 1 , also a contradiction. Thus, we conclude that N = 3 7 9 is the minimum possible value that satisfies the requirements.
What would your answer be, if 19 was replaced with the variable m ?
Log in to reply
Since, 3 7 9 works because 3 7 9 = 1 9 2 + 1 9 − 1 , I guess the general formula is m 2 + m − 1 . I think the proof should be similar to the above .
Suppose that N ≥ 3 7 9 and that there is no way of splitting S N as desired. For definiteness, suppose that 1 ∈ A . Then A cannot contain 1 9 = 1 9 × 1 , and hence 1 9 ∈ B . Then B cannot contain 3 6 1 = 1 9 × 1 9 , and hence 3 6 1 ∈ A . Then A cannot contain 3 7 9 = 3 6 1 + 1 8 × 1 , and hence 3 7 9 ∈ B . Since 3 7 9 = 1 8 × 2 0 + 1 9 , we deduce that B cannot contain 2 0 , and hence 2 0 ∈ A . But this is impossible, since 1 , 2 0 , 3 6 1 ∈ A and 3 6 1 = 1 8 × 2 0 + 1 .
Thus we deduce that S N can be split as required for any N ≥ 3 7 9 .
If N ≤ 3 7 8 , then the decomposition A B = = { 1 , 2 , … , 1 8 , 3 6 1 , 3 6 2 , … , 3 7 8 } ∩ S N { 1 9 , 2 0 , … , 3 6 0 } ∩ S N shows that it is not always possible to split S N as desired in this case. Thus the smallest possible value of N that we want is 3 7 9 .
Problem Loading...
Note Loading...
Set Loading...
We claim that N = 3 7 9 . Note that for N = 3 7 8 , then S 3 7 8 = { 1 , 2 , ⋯ , 3 7 8 } . Setting B = { 1 9 , 2 0 , ⋯ , 3 6 0 } and the rest in A , we can see that if x 1 , x 2 , ⋯ , x 1 9 are all in A , then either 1 9 ≤ x 1 + x 2 + ⋯ + x 1 9 ≤ 3 4 2 or x 1 + x 2 + ⋯ + x 1 9 ≥ 3 7 9 . Hence there are no x 1 , x 2 , ⋯ , x 2 0 in A satisfying x 1 + x 2 + ⋯ + x 1 9 = x 2 0 .
Similarly, if x 1 , x 2 , ⋯ , x 1 9 are all in B , then x 1 + x 2 + ⋯ + x 1 9 ≥ 3 6 1 . Hence there are no x 1 , x 2 , ⋯ , x 2 0 in B satisfying x 1 + x 2 + ⋯ + x 1 9 = x 2 0 .
Thus, S 3 7 8 can be split into two sets A and B without the condition being fulfilled. It is easy to see that for all N ≤ 3 7 8 , S N can also be split into two sets A and B without the condition being fulfilled. Hence N > 3 7 8 .
For N = 3 7 9 , suppose we can split S 3 7 9 into two sets A and B such that there doesn't exist a set from which we can choose 20 elements x 1 , x 2 , ⋯ , x 2 0 satisfying the given equation.
WLOG assume 1 ∈ A . It follows that 1 9 ∈ B . Hence 3 6 1 ∈ A . If 2 0 ∈ A then selecting x 1 = 1 , x 2 = x 3 = ⋯ = x 1 9 = 2 0 , and x 2 0 = 3 6 1 yields a contradiction, since x 1 , x 2 , ⋯ , x 2 0 are all in A and satisfies the equation. Hence 2 0 ∈ B .
If 3 7 9 ∈ A , then selecting x 1 = 3 6 1 , x 2 = x 3 = ⋯ = x 1 9 = 1 , and x 2 0 = 3 7 9 yields a contradiction, since x 1 , x 2 , ⋯ , x 2 0 are all in A and satisfies the equation. Thus 3 7 9 ∈ B . But then selecting x 1 = 1 9 , x 2 = x 3 = ⋯ = x 1 9 = 2 0 , and x 2 0 = 3 7 9 yields a contradiction, since x 1 , x 2 , ⋯ , x 2 0 are all in B and satisfies the equation. Therefore for N = 3 7 9 , no matter how we split S 3 7 9 into two sets A and B , the condition is always fulfilled.
Therefore, N = 3 7 9 is the minimum value for N for which the condition will always be fulfilled.