来客网

The result is wrong??有关李政道那桃子计算题

声明:本文转载自 「八阕--科技时空」, 或因排版与篇幅原因进行过编辑,内容未经本站独立核实,不代表本站立场、观点或建议。 如涉及版权问题,请联系我们,核实后立即删除。 [ 免责声明 ]

Checked the interesting question and it seems to me that there is a mathematic problem with the solution. I come up with the inital total number of peaches is 3126 rather than 3121.

Say the number of monkey is n and the inital number of peaches is y_n. After the first monkey ate one and took away his pile, then the number of remaining peaches, say y_(n-1) will be: y_(n-1) = y_n - 1/n(y_n-1) = (n-1)/n*y_n+1/n. Rewrite the equation, it gives

y_n - 1 = n/(n-1)*[ y_(n-1) -1]

with this equation, we can easily get the result of y_n as:

y_n -1 = [n/(n-1)]^n * ( y_0 - 1);

In case the number of the monkey is 5, we have:

y_5 -1 = (5/4)^5*(y_0 -1);

To have the integral number, then the y_0-1 must be 4^5. With this, the total number of the peaches will be y_5 = 5^5 +1 = 3126.

评论 (0)