Suppose the first monkey takes x 1 peach, the second monkey takes x2, ... and the fifth monkey takes x5.
Total number y = 5x1+1= 5x2+1+(x1+1)-> 4x1= 5x2+1and so on.
4x2=5x3+ 1
4x3=5x4+ 1
4x4=5x5+ 1
Through iteration, 256x1= 625x5+369->; 256(x 1-X5)= 369(X5+ 1)
Because x 1-x5 and x5+ 1 must be integers.
So we get x 1-x5 = 369.
x5+ 1=256
Finally get
X5 = 255x4 = 319x3 = 399x2 = 499x1= 624 The total is 3 12 1.