Log In

Coin Problem

Posted on: February 8th, 2014 by

Suppose you have an infinite stock of $a bills and $b bills such that g.c.d(a,b)=1. Find the largest amount of money (integer) that cannot be represented using $a and $b denominations.

- via Wolfram Mathematica

One Response to Coin Problem

  1. Sid Hollander had this to say about that:

    ab - (a+b)

{"result":"error", "message":"You can't access this resource as it requires an 'view' access for the website id = 1."}