Choose subset of n+1 from 2n set

  • Context: Graduate 
  • Thread starter Thread starter xax
  • Start date Start date
  • Tags Tags
    Set
Click For Summary

Discussion Overview

The discussion revolves around the claim that every subset of size n+1 chosen from a set of size 2n contains at least one pair of numbers with a greatest common divisor (gcd) of 1. Participants explore the validity of this claim, providing examples and counterexamples, and discussing the implications of the pigeonhole principle.

Discussion Character

  • Debate/contested

Main Points Raised

  • One participant asserts that every subset of n+1 from a 2n set has a pair of numbers with gcd=1 and seeks a proof for this statement.
  • Another participant counters this claim by providing a counterexample with the set S = {2, 4, 6, 8}, suggesting that the original claim is not universally true.
  • A third participant clarifies that the discussion pertains to the set of integers from 1 to 2n, proposing that within any selection of n+1 numbers from this set, there will always be a pair with gcd=1.
  • One participant agrees with the clarification and further questions the existence of pairs of the form {b, b+1} in the subset.
  • Another participant mentions having solved the problem using the pigeonhole principle and the property that gcd(n, n+1)=1.
  • A participant acknowledges the validity of the counterexample and notes that the property holds only if the elements can be ordered such that the difference between consecutive numbers is equal to 1.
  • One participant argues that selecting n+1 numbers from the range 1 to 2n must include two consecutive integers, which would have a gcd of 1.

Areas of Agreement / Disagreement

Participants do not reach a consensus; there are competing views regarding the original claim and its validity, with some supporting it under specific conditions while others provide counterexamples that challenge it.

Contextual Notes

The discussion highlights the dependence on the ordering of set elements and the specific properties of integers, which may affect the validity of the claims made.

xax
Messages
26
Reaction score
0
Every subset of n+1 from a 2n set has a pair of numbers with gcd=1. How can I prove this?
 
Physics news on Phys.org
Well, you can't because it's not true. For example let S = \left\{2, 4, 6, 8\right\}.
 
I think what xax meant was this:
Given is the set of integers from 1 to 2n. If you choose n+1 numbers from this set there is always a pair of numbers (among these n+1 numbers) with gcd=1.
 
Last edited:
Edgardo, you're right.
 
Well that makes more sense!

Xax, given any natural number, b, what is the gcd(b, b+1)? In your subset of size n+1 must there be a pair of the form {b, b+1}?
 
Thank you both, but I solved it using pigeonhole principle and the fact that gcd(n,n+1)=1
 
but the first counter example of rodigee is correct since the property this is true if and only if the set elements can be ordered sucht that the diference between consective numbers is equal to 1
 
Last edited:
cause n+1 numbers in 1..2n includes 2 consecutive ones, whose gcd is 1
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
6K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K