Undergrad What is the value of n in Reverse Combinatorics problem?

Click For Summary
The problem involves determining the value of n in a reverse combinatorics scenario where 20 beads are selected from 24 each of n different colored beads, resulting in 230,230 combinations. The equation to solve is represented as the number of integer solutions to a linear equation, leading to the expression C(n+19,20) = 230,230. The correct answer is n=7, found by testing different values. An algebraic approach using a polynomial equation was considered but deemed inefficient due to the potential for multiple roots. A more practical method is to incrementally test values of n starting from 1, potentially using the factors of 230,230 to streamline the process.
hotvette
Homework Helper
Messages
1,001
Reaction score
11
TL;DR
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
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.
 
Thanks!
 
Maybe finding the factors of 230,230 will help narrow down the values of n.
 
The standard _A " operator" maps a Null Hypothesis Ho into a decision set { Do not reject:=1 and reject :=0}. In this sense ( HA)_A , makes no sense. Since H0, HA aren't exhaustive, can we find an alternative operator, _A' , so that ( H_A)_A' makes sense? Isn't Pearson Neyman related to this? Hope I'm making sense. Edit: I was motivated by a superficial similarity of the idea with double transposition of matrices M, with ## (M^{T})^{T}=M##, and just wanted to see if it made sense to talk...

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K