Results 1 to 2 of 2

Math Help - A puzzle problem involving coinage

  1. #1
    Newbie
    Joined
    Sep 2012
    From
    Columbus
    Posts
    14

    A puzzle problem involving coinage

    A shopkeeper and her customer each have an unlimited number of coins.
    However, they are of only two denominations 3 and 5.

    1. What amount purchases are not possible using only these two denominations of
    coinage, if the shopkeeper is allowed to give change back to the customer?

    2. If the shopkeeper has no coins at all to give as change, but the customer has an
    unlimited number of these two coins, what purchase amounts are possible?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Apr 2005
    Posts
    14,973
    Thanks
    1121

    Re: A puzzle problem involving coinage

    If the customer started with "a" 3 cent coins and "b" 5 cent coins, and the dealer returned change of "c" three cent coins and "d" 5 cent coins, that is exactly the same as if the customer had "a- c" 3 cent coins and "b- d" 5 cent coins. So we can treat both problems as just "a" 3 cent coins and "b" 5 cent coins as long as we require that both a and b be positive in the first problem, but allow one to be negative in the second.

    You are looking for two integers, x and y, such that 3x+ 5y= N for a given integer N. First look at 3x+ 5y= 1. -9+ 10= 1 so one solution is x= -3, y= 2. It is easy to see that x=-3+ 5p and y= 2- 3p is also a solution for any integer p: 3(-3+ 5p)+ 5(2- 3p)= -9+ 15p+ 10- 15p= 1 for all n.

    Now, suppose we want to make up "N" cents. Multiply both sides of 3x+ 5y= 1 by N we have 2(Nx)+ 5(Ny)= N so that x= -3N+ 5p and y= 2N- 3p. Now, for what N can we find solutions so that both x and y are positive or where one is positive and the other negative?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Puzzle-like problem
    Posted in the Algebra Forum
    Replies: 8
    Last Post: January 15th 2011, 11:54 AM
  2. Replies: 6
    Last Post: January 12th 2011, 12:45 PM
  3. interesting probability puzzle involving out-of-sequence series
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: November 20th 2010, 10:58 AM
  4. Replies: 2
    Last Post: July 4th 2009, 02:37 AM
  5. Puzzle problem
    Posted in the Math Topics Forum
    Replies: 2
    Last Post: April 28th 2009, 10:57 PM

Search Tags


/mathhelpforum @mathhelpforum