News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive.

Main Menu

The Jesus Christ Problem

Started by Ender, November 23, 2006, 07:59:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Miamiandy

#15
I got all the answers.

1. The maximum number of bars that cannot be obtained is 47.
2. The number of interger amounts of bars that one cannot buy is 24.
3. If a and b are coprime positive integers then the maximum number of bars that cannot be bought is (a*b-a-b) bars.  Otherwise, an arbitrarily large number of bars cannot be bought.
Want to meet someone famous?  Cut out this coupon!

___________________

|This coupon good for  \
|ONE FREE hunting        \
|expedition with            /
|Dick Cheney.             /

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯