Solving a inclusion-exclusion problem

  • Context: Graduate 
  • Thread starter Thread starter Awlad Hossain
  • Start date Start date
  • Tags Tags
    Combinatorics
Click For Summary
SUMMARY

The discussion centers on calculating the number of ways to select 4 integers from a set of 10 positive integers such that their GCD is 1, utilizing the inclusion-exclusion principle. The integers provided are 12, 46, 100, 131, 5, 6, 7, 8, 9, and the initial claim was that there are 195 valid combinations. However, it was established that the total number of distinct 4-sets is 210, and the number of invalid sets containing both 6 and 8 is 28, leading to a conclusion that the friend's solution is incorrect. The discussion emphasizes the necessity of including at least one odd number to achieve a GCD of 1.

PREREQUISITES
  • Understanding of the inclusion-exclusion principle
  • Familiarity with GCD (Greatest Common Divisor) concepts
  • Basic combinatorial mathematics, specifically binomial coefficients
  • Knowledge of integer properties, particularly regarding odd and even numbers
NEXT STEPS
  • Study the inclusion-exclusion principle in combinatorial mathematics
  • Learn how to calculate GCD for multiple integers
  • Explore binomial coefficients and their applications in combinatorics
  • Investigate properties of odd and even integers in relation to GCD
USEFUL FOR

Mathematicians, computer scientists, and students interested in combinatorial problems and number theory, particularly those working with GCD calculations and the inclusion-exclusion principle.

Awlad Hossain
Messages
2
Reaction score
0
Given N positive integers, not necessarily distinct, how many ways you can take 4 integers from the N numbers such that their GCD is 1. One of my friend told me that he can determine the number of ways with inclusion-exclusion principle and found the result 195 for given N=10 and the positive integers are 12,46,100,131,5,6,7,8,9.

I can not still catch how he used inclusion-exclusion principle to find out the number of ways.Hence I need an expert's help.
If the value of N varies how can I find out the number of ways using inclusion-exclusion principle? I'm a novice in learning inclusion-exclusion principle.So I need better explanation
 
Physics news on Phys.org
Given that the number of distinct ##4##-sets that can be constructed from the given set is ##{10\choose4}=210## and that the number of ##4##-sets that include both 6 and 8 (and therefore would not have the desired property) is ##{8\choose 2}=28##, I'd say that your friend's solution is incorrect.

So I think you should demand a more in-depth explanation from your friend.
 
gopher_p said:
Given that the number of distinct ##4##-sets that can be constructed from the given set is ##{10\choose4}=210## and that the number of ##4##-sets that include both 6 and 8 (and therefore would not have the desired property) is ##{8\choose 2}=28##, I'd say that your friend's solution is incorrect.

So I think you should demand a more in-depth explanation from your friend.
I think the meaning is that, choosing 4 numbers {a,b,c,d}, we then examine whether gcd(a,b,c,d) = 1. Choosing 6 and 8 does not shut down that possibility.

Awlad Hossain said:
given N=10 and the positive integers are 12,46,100,131,5,6,7,8,9.
Clearly we do need at least one odd number, and while 7 and 131 are co-prime to all the other possible choices, 5 and 9 are not.

More difficult is finding the 10th number when only 9 are specified.
 

Similar threads

  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
7K