Businessman Mr. B. M. Pyramidad was drinking with his new girlfriend Ms. Whissy Bolower. He disclosed to her that he has an illegal business plan:
Ms. Whissy Bolower has decided to blow the whistle. She is calculating that Mr. Pyramidad may come back at the Peddler-IV level after retiring. What could be the minimum x so he collects minimum y dollars net after retiring z times? Please try a general solution, the test suite may expand. For more information, see Pyramid Scheme.