Hey guys, I have the following question.
Imagine there is a certain amount of money which should be split among 100 brothers. The first brother gets 1/100 of the money, the second brother gets 2/100 of what remains after his first brother takes his share, the third brother gets 3/100 of what remains after his first and second brothers get their share and so on. Question is, who gets the most and how much? Could you solve this without brute force? I am sure you can get a general formula for how much n-th brother gets and then just differentiate it and equalize to 0 to get the max. However, I cannot find the general formula. Thank you in advance.
Imagine there is a certain amount of money which should be split among 100 brothers. The first brother gets 1/100 of the money, the second brother gets 2/100 of what remains after his first brother takes his share, the third brother gets 3/100 of what remains after his first and second brothers get their share and so on. Question is, who gets the most and how much? Could you solve this without brute force? I am sure you can get a general formula for how much n-th brother gets and then just differentiate it and equalize to 0 to get the max. However, I cannot find the general formula. Thank you in advance.
Last edited: