Finding Combinations of Coin Denominations for a Given Total

  • Context: Undergrad 
  • Thread starter Thread starter rsala004
  • Start date Start date
  • Tags Tags
    Combinations
Click For Summary
SUMMARY

The discussion focuses on determining the impossibility of achieving a specific total using a given set of coin denominations, particularly when the denominations are 3 and 7 for a total of 8 cents. This scenario illustrates the Frobenius coin problem, which addresses the challenge of finding combinations of coin values to reach a target amount. The discussion references established mathematical principles, including the formula for the largest unattainable amount with two relatively prime denominations, which is (p-1)(q-1). For more than three denominations, the problem remains unsolved and is linked to the postage stamp problem.

PREREQUISITES
  • Understanding of the Frobenius coin problem
  • Basic knowledge of linear Diophantine equations
  • Familiarity with relatively prime numbers
  • Concept of combinatorial mathematics
NEXT STEPS
  • Research the Frobenius coin problem and its applications
  • Study linear Diophantine equations in depth
  • Explore algorithms for solving the coin change problem
  • Investigate the postage stamp problem and its implications in combinatorial optimization
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in combinatorial optimization and number theory will benefit from this discussion.

rsala004
Messages
23
Reaction score
0
if you are given an amount of cents, and a set of coin denominations...how can we tell if its impossible to amount to exactly the given amount of cents?

for example say we want to gather 8 units of value but only have coins with denomination 3 and 7, thus its not possible to make a combination that amounts to 8.
(3x + 7y = 8 , has no positive integer solutions)

so given any total , and any set of coin denominations (any # of coins)...how can we tell?sorry if this sounds trivial...I just can't find a method that suits my need
(ie. computing every possibility won't do the job if the number of coins and total value are large)

I could think of a way to handle the situation given only 2 coins..but any more and the problem becomes unwieldy. its likely just something simple I am not seeing
 
Last edited:
Physics news on Phys.org
Can you have negative pennies?
 
This is also called "the stamp problem" : if you have stamps of values p,q only, and
you want to pay for packages beyond a certain amount.

For two coins of values p,q with p,q relatively prime, there is a nice formula for the
largest number that cannot be written as ap+bq ; a,b nonnegative integers:

This highest number is (p-1)(q-1). Assume WLOG p>q . You can show this is
the smallest by producing p consecutive numbers that can be written as
ap+bq.

For more than three rel. prime numbers, this was an open problem recently, and
I think it still is. Try Googling " Postage Stamp" problem for more.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 28 ·
Replies
28
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
7K
Replies
4
Views
2K