Counting Theory and Addition Rule Confuses Me

AI Thread Summary
The discussion revolves around calculating the number of 16-bit strings with specific counts of 1's. For exactly nine 1's, the correct calculation is given by the binomial coefficient {{16}\choose {9}}, which equals 11,440. To find the number of strings with at least fourteen 1's, the correct approach is to sum the combinations for 14, 15, and 16 ones, resulting in a total of 137. The confusion regarding poker hands highlights the importance of choosing denominations first, as treating pairs as distinct cases leads to incorrect counts. Overall, the thread emphasizes the correct application of combinatorial principles in these scenarios.
sjaguar13
Messages
49
Reaction score
0
How many 16-bit strings contain exactly nine 1's? I said the total number is 2 to the 16th power, so to get half with 1's would be 2 to the 8th, or 256.

How many 16-bit strings contain at least fourteen 1's? I have no idea.

When determining a how to get 2 pair in a poker hand, why is getting the denomination of the first pair, then the 2 cards, then the demonitation of the second pair, then the 2 cards wrong? I know you have to get the two denominations first, 13 choose 2 instead of 13 choose 1 and then 12 choose 1, but I don't know why.
 
Physics news on Phys.org
sjaguar13 said:
How many 16-bit strings contain exactly nine 1's? I said the total number is 2 to the 16th power, so to get half with 1's would be 2 to the 8th, or 256.
I have no idea what you did here. The number of 16-bit strings with nine 1's is equal to the number of ways you can choose 9 spots in 16 (to fill them with ones, leaving the rest with zeroes). That number is:

{{16}\choose {9}} = 11440
How many 16-bit strings contain at least fourteen 1's? I have no idea.
{{16}\choose {14}} + {{16}\choose {15}} + {{16}\choose {16}} = 137*.
When determining a how to get 2 pair in a poker hand, why is getting the denomination of the first pair, then the 2 cards, then the demonitation of the second pair, then the 2 cards wrong? I know you have to get the two denominations first, 13 choose 2 instead of 13 choose 1 and then 12 choose 1, but I don't know why.
Notice that:

{{13}\choose {2}} = \frac{1}{2} \times {{13}\choose {1}} {{12}\choose {1}}

That is, the stuff on the left is 1/2 the stuff on the right. Now why is the stuff on the left right? Because it correctly treats choosing 5 and J as denominations the same as choosing J and 5, whereas your approach treats them as two different cases, so you'd have to divide by 2 (which is already done if you do it the way you know you're supposed to).

*EDIT: Missed the part that said, "at least"
 
Last edited:
I don't think {{16}\choose {14}} is the correct answer to the second problem, seeing as he's asking for the number of 16-bit strings with /at least/ 14 ones. That means you have to count the number of strings with 15 ones and 16 ones as well. So the answer should be:

{{16}\choose {14}} + {{16}\choose {15}} + {{16}\choose {16}}.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...

Similar threads

Back
Top