What is the value of n in Reverse Combinatorics problem?

  • Context: Undergrad 
  • Thread starter Thread starter hotvette
  • Start date Start date
  • Tags Tags
    Combinatorics Reverse
Click For Summary

Discussion Overview

The discussion revolves around determining the value of n in a reverse combinatorics problem involving the selection of colored beads. Participants explore methods to solve for n given the number of combinations possible when selecting beads with repetition allowed.

Discussion Character

  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • One participant presents a combinatorial approach, framing the problem as finding integer solutions to a linear equation and deriving a formula for the number of combinations.
  • Another participant suggests rearranging the problem into a polynomial equation to find roots, but notes the complexity of having multiple roots and the inefficiency of this method.
  • A different approach is proposed, suggesting that finding the factors of 230,230 may help narrow down potential values for n.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the most effective method to determine n, with multiple approaches being discussed and no definitive resolution presented.

Contextual Notes

Participants express uncertainty regarding the algebraic determination of n and the efficiency of various proposed methods, highlighting the complexity of the problem.

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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K