Let the number of jewels stolen by five brothers be: x 1, x2, x3, x4, x5.
The number of jewels taken out by the five brothers is y 1, y2, y3, y4 and y5 respectively.
So according to the meaning of the question:
y 1 = x2+x3+x4+x5。
y2 =(x 1-y 1)+2 * x3+2 * x4+2 * X5。
y3 = 2 *(x 1-y 1)+2 * x2-y2+4 * x4+4 * X5。
y4 = 4 *(x 1-y 1)+2 *(2 * x2-y2)+4 * x3-y3+8 * X5
y5 = 8 *(x 1-y 1)+4 *(2 * x2-y2)+2 *(4 * x3-y3)+8 * x4-y4。
Because in the end, everyone's remaining jewelry is 32.
So:
2 * 8 * (x 1-y 1) = 32 .
2 * 4 * (2 * x2 - y2) = 32。
2 * 2 * (4 * x3 - y3) = 32。
2 * 8 * x4 - y4 = 32
16 * x5 - y5 = 32。
According to the above formula, it is easy to get: x 1=8 1, x2=4 1, x3=2 1, x4 =1,x5=6.