Counting Combinations with Restricted Summation using Generating Functions

  • Thread starter FAhmad
  • Start date
  • Tags
    Binomial
In summary, there are 24 different combinations that can be picked from the numbers 1 to 11 with a restriction that the sum of the 5 picked numbers must be 21 or less. To calculate this, you can use generating functions and consider all possibilities with an unrestricted number of draws and unrestricted summation with a weight of x^(#numbers drawn) y^(value of the summation of numbers).
  • #1
FAhmad
1
0
If we have numbers 1,2,3,4,5,6,7,8,9,10,11.

We want to pick 5 numbers out of that, but there is a restriction - the summation of the 5 picked numbers must be 21 or less.

How many different combinations can we get?

The answer is 24 but I would like to know how to work it out (besides the impractical way of listing down all the possibilities in this case there are 462 different combinations, and testing one by one so that it is 21 or less)
 
Physics news on Phys.org
  • #2
You can use generating functions. Just count all the possibilities with an unrestricted number of draws and unrestricted summation with a weight of x^(#numbers drawn) y^(value of the summation of numbers).
 

1. What is a binomial question?

A binomial question is a type of statistical question that has two possible outcomes, often denoted as "success" or "failure". It follows a specific formula and is used to calculate probabilities in experiments or surveys.

2. How is a binomial question different from other types of questions?

A binomial question has only two possible outcomes, while other types of questions may have more than two. It also follows a specific formula for calculating probabilities, which sets it apart from other types of questions.

3. What is the formula for a binomial question?

The formula for a binomial question is P(x) = nCx * p^x * (1-p)^(n-x), where n is the total number of trials, x is the number of successes, and p is the probability of success in each trial.

4. Can a binomial question have more than two options?

No, a binomial question can only have two options. It is designed to calculate probabilities for experiments or surveys that have two possible outcomes.

5. What are some real-world examples of binomial questions?

Some real-world examples of binomial questions include coin tosses, where the outcome is either heads or tails, the success or failure of a medical treatment, or the election of a candidate where the outcome is either winning or losing.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
977
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
930
  • Calculus and Beyond Homework Help
Replies
4
Views
4K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
29
Views
7K
Back
Top