Variations of the Frobenius coin problem

  • #1
I wasn't sure if this should go in the number theory section, but here goes:

Is there a formula for solving problems such as: If there are n coin denominations [itex]x_{1}[/itex],[itex]x_{2}[/itex]...[itex]x_{n}[/itex] that total p cents, how many combinations are possible? n and p are positive real numbers, of course.


On a side note, wikipedia says: "There is an explicit formula for the Frobenius number when there are only two different coin denominations. If the number of coin denominations is three or more, no explicit formula is known; but, for any fixed number of coin denominations, there is an algorithm computing the Frobenius number in polynomial time (in the logarithms of the coin denominations forming an input)."

Does anyone know what the algorithm that wikipedia mentions is? I know it cannot be written explicitly and mathematically (as per wikipedia), but can anyone write it in another format?


Feel free to repost this question on mathstackexchange, mathoverflow, yahoo! answers, etc. if it will help to get the answer.

Thanks in advance.
 

Answers and Replies

  • #2
Stephen Tashi
Science Advisor
7,674
1,503
If there are n coin denominations [itex]x_{1}[/itex],[itex]x_{2}[/itex]...[itex]x_{n}[/itex] that total p cents, how many combinations are possible?

Combinations of what? - you haven't stated a problem clearly.
 
  • #3
1
0
Combinations of what? - you haven't stated a problem clearly.

I think this is asking about the number of combinations of coins that total less than or equal to p. I have seen similar problems, and even if this isn't what the TC meant (which I'm pretty sure it is), this should generate some interesting discussion.
 

Related Threads on Variations of the Frobenius coin problem

  • Last Post
Replies
3
Views
1K
Replies
28
Views
2K
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
1
Views
771
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
597
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
18
Views
10K
Top