What is the value of n in Reverse Combinatorics problem?

In summary, the conversation discusses a problem involving the number of possible combinations of colored beads when a certain number is selected. The problem can be solved by finding the value of n in the equation x1 + x2 + ... + xn = 20, x > 0, which has 230,230 solutions. Different techniques, both algebraic and non-algebraic, can be used to solve for n. The conversation also mentions that finding the factors of 230,230 may help narrow down the values of n.
  • #1
hotvette
Homework Helper
996
5
TL;DR Summary
Combinations with repetition
Not homework, just working odd numbered problems in the book.

Sue has 24 each of n different colored beads. If 20 beads are selected (with repetition allowed) what is the value of n if there are 230,230 possible combinations. I view this as a problem of number of integer solutions to a linear equation, thus:

##x_1 + x_2 + \dots + x_n = 20, x_i \ge 0## has ##C(n+20-1,20) = C(n+19,20) = \frac{(n+19)!}{20!(n-1)!} = 230,230## solutions, which means the task is to solve for ##n##. I managed to get the correct answer (##n=7##) by trying different values of n. What I'm wondering is if there is a reasonable way to determine ##n## algebraically. I can't see any.
 
Physics news on Phys.org
  • #2
We can rearrange the equation to be a polynomial equation:
$$p(n)=0$$
where ##p## is the following degree-20 polynomial:
$$p(n) = \prod_{k=1}^{20} (n-k+1)- 230230\times 20!$$

We can then use techniques for root-finding to find the answer.

While that is an 'algebraic' technique it is not at all suitable to the problem. There will be up to twenty roots to be found and only one of them will be the n that we want.

It is more efficient to just start with ##n=1## and keep increasing it until the solution is found.
 
  • #3
Thanks!
 
  • #4
Maybe finding the factors of 230,230 will help narrow down the values of n.
 

1. What is reverse combinatorics?

Reverse combinatorics is a mathematical method used to find the number of ways to arrange a given set of objects. It is the opposite of traditional combinatorics, which involves finding the number of combinations or permutations of a set.

2. How does reverse combinatorics work?

In reverse combinatorics, the goal is to find the value of n, which represents the number of objects in a set. This is done by using various mathematical techniques such as counting, probability, and algebraic equations to determine the number of possible arrangements of the given set.

3. What are some applications of reverse combinatorics?

Reverse combinatorics is commonly used in fields such as computer science, genetics, and statistics. It can be used to solve problems related to data analysis, optimization, and pattern recognition. It is also used in cryptography to determine the strength of encryption algorithms.

4. What are the challenges of reverse combinatorics?

One of the main challenges of reverse combinatorics is dealing with large numbers. As the number of objects in a set increases, the number of possible arrangements also increases exponentially. This can make it difficult to find the exact value of n and may require the use of advanced mathematical techniques and algorithms.

5. How can reverse combinatorics be used in real-life situations?

Reverse combinatorics can be applied in various real-life situations, such as determining the number of possible combinations in a lottery game, calculating the number of possible outcomes in a genetics experiment, or finding the optimal arrangement of items in a warehouse. It can also be used in decision-making processes, such as selecting the best route for a delivery truck based on the number of possible routes.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
Replies
24
Views
2K
Replies
3
Views
737
Replies
16
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
4K
  • Programming and Computer Science
Replies
3
Views
855
Back
Top