Problem 467. Mr. Pyramidad & Ms. Whissy Bolower
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:
- He, as Boss-I, will recruit x individuals as Operator-II,
- Each of these operators will recruit x individuals at Helper-III,
- Every helper must recruit x individuals as Peddler-IV.
- All of them will be promoted to next higher level as soon as each of those peddlers deposit $1,000 cash to their acting Boss-I.
- Then, whoever was the acting Boss-I, he or she must retire, but the business will continue to expand as usual.
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.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers28
Suggested Problems
-
Return elements unique to either input
770 Solvers
-
478 Solvers
-
How many trades represent all the profit?
600 Solvers
-
1431 Solvers
-
Saving MATLAB session to a file
182 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!