Solving a inclusion-exclusion problem

  • Thread starter Thread starter Awlad Hossain
  • Start date Start date
  • Tags Tags
    Combinatorics
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.
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top