I had something typed but cbid didn't like it (There is something wrong in your post) and now it's gone. I'll give you the basics.
Frobenius (coin) problem
Formula when you're only dealing with 2 numbers
(x-1)(y-1)-1
or
xy-x-y
So yes, 17 is the correct answer. You can google the why if you want more info, it's time for bed.
There is an alternate formula for dealing with 3 different numbers. No known formula for 4 or more IIRC.
z6joker9 wrote: