On Sat, 22 Jun 2002 16:32:21 +0000
begin  Terence McCarthy <[EMAIL PROTECTED]> spewed forth:

> On Sat, 22 Jun 2002 10:12:15 -0400
> Bruce Marshall <[EMAIL PROTECTED]> wrote:
> 
> > "There are 293 ways to make change for a dollar."
> 
> Go on, list them.....

Actually, there's a lot more than that.

4 quarters
each quarter has 12 ways to make change for it, starting with 2 dimes and
a nickel, 2 dimes and 5 pennies, then 1 dime and 4 different mixes of
nickels and pennies, then all nickels, then mixes of nickels and pennies
(3 more), then all pennies.

since each $0.25 can have 13 different values, you actually have 13^4
(13*13*13*13), plus all dimes (not in the above mix anywhere).

So listing _only_ 293 should be a piece of cake.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
                -- Nemesis Racing Team motto
_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to