Counting and Pigeonhole, Incl- Excl

  • Thread starter snaidu228
  • Start date
  • Tags
    Counting
In summary: But since d divides n, it can't be -1, so d must be 1. Thus n and n+1 are relatively prime.In summary, when choosing n+1 positive integers from the set {1, 2, ..., 2n}, there will always be at least two numbers that are relatively prime. This can be seen by labeling the pairs of consecutive integers and noting that they cannot have a common divisor except for 1, making them relatively prime.
  • #1
snaidu228
9
0

Homework Statement


Prove that, in any set of n + 1 positive integers (n ≥ 1) chosen from the set {1, 2, . . . 2n}, it must be that two of them are relatively prime (i.e. have no common divisor except 1). ( Hint: two consecutive integers are relatively prime. Make boxes labelled by pairs of consecutive integers. ).


Homework Equations





The Attempt at a Solution


In boxes does it mean to write:

[1,2]
[2,3]
[3,4]
[4,5]
[5,6]
[6,7]...

and i don't understand how two consecutive integers are relatively prime.
 
Physics news on Phys.org
  • #2
snaidu228 said:

Homework Statement


Prove that, in any set of n + 1 positive integers (n ≥ 1) chosen from the set {1, 2, . . . 2n}, it must be that two of them are relatively prime (i.e. have no common divisor except 1). ( Hint: two consecutive integers are relatively prime. Make boxes labelled by pairs of consecutive integers. ).


Homework Equations





The Attempt at a Solution


In boxes does it mean to write:

[1,2]
[2,3]
[3,4]
[4,5]
[5,6]
[6,7]...

and i don't understand how two consecutive integers are relatively prime.

When you post a question and no one responds, you can "bump" the post and provide additional information, but don't start another thread about the same problem.

I believe the hint means to label the boxes so they are distinct, like so...
[1,2]
[3,4]
[5,6]
[7,8]
[9,10]
[11,12]
.
.
.
[2n-1,2n]

For any two consecutive integers, one must be even and the other odd, so they can't be divisible by 2. If one is divisible by 3, the other one can't be, because they're only 1 apart. Similarly, both can't be divisible by 5, 7, 11, 13, and so on. We don't need to check 4, 6, 8, and so on, or any other multiple of 2, since one of the numbers isn't even. We also don't need to check multiples of 3, or 4, or 5, or ...
 
  • #3
Suppose d divides n and n+1.
Then d must divide (n+1) - n = 1.
So d must be plus or minus 1.
 

1. What is counting and why is it important in science?

Counting is the process of determining the number of objects or events in a given set. It is important in science because it allows us to quantify and compare different phenomena, make predictions, and draw conclusions based on data.

2. What is the principle of pigeonhole in counting?

The principle of pigeonhole states that if we have n objects and m holes, where n > m, then at least one of the holes must contain more than one object. This principle is useful in counting problems where we need to distribute objects into groups or categories.

3. Can you give an example of the inclusion-exclusion principle?

One example of the inclusion-exclusion principle is in counting the number of ways to arrange a group of people in a line. If we have 5 people, we can use the formula 5! (5 factorial) to find the total number of arrangements. However, if two of the people must always be next to each other, we can first count the number of ways to arrange the two people (2!), then subtract that from the total number of arrangements (5!) to get the final answer.

4. How is counting and pigeonhole used in probability calculations?

Counting and pigeonhole are important in probability calculations because they help us determine the total number of possible outcomes in a given event, which is necessary for calculating probabilities. For example, in calculating the probability of rolling a specific number on a die, we need to know the total number of possible outcomes (6) and the number of favorable outcomes (1) to calculate the probability (1/6).

5. Can counting and pigeonhole be applied to real-life situations outside of science?

Yes, counting and pigeonhole can be applied to many real-life situations, such as organizing and categorizing items, planning and scheduling events, and even in legal and political systems. The principles of counting and pigeonhole can help us make informed decisions and solve problems in various aspects of our lives.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
1
Views
5K
  • Precalculus Mathematics Homework Help
Replies
3
Views
945
  • General Math
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Math Proof Training and Practice
3
Replies
100
Views
7K
  • Math Proof Training and Practice
2
Replies
61
Views
6K
  • Calculus and Beyond Homework Help
Replies
4
Views
799
Back
Top