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

Discussion Overview

The discussion revolves around the problem of determining whether a specific total amount of cents can be formed using a given set of coin denominations. The scope includes theoretical aspects of combinatorial mathematics and potential applications in problem-solving with coin combinations.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant questions how to determine if it is impossible to reach a specific total using given coin denominations, providing an example with denominations of 3 and 7 for a total of 8.
  • Another participant humorously asks if negative pennies can be considered in this context.
  • A third participant identifies the problem as the "Frobenius problem" or "coin problem" and references methods applicable for up to three coin denominations.
  • A fourth participant introduces the concept of the "stamp problem," explaining a formula for the largest number that cannot be formed using two relatively prime coin values and notes the complexity of the problem with more than three denominations.

Areas of Agreement / Disagreement

Participants present various perspectives on the problem, with no consensus reached on a singular method or solution. Multiple competing views and approaches are discussed.

Contextual Notes

Limitations include the complexity of the problem as the number of coin denominations increases and the unresolved nature of the problem for more than three relatively prime denominations.

Who May Find This Useful

Individuals interested in combinatorial mathematics, coin problem theory, or those seeking methods for solving similar problems in practical applications.

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 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K