127 is the correct answer.
When the last thief comes the number of bread will be 7.
Later on going upwards it takes the formula
2x+1 ie 2*7+1 =15 no will be there when Fourth thief comes
and so on.
for third thief 2*15+1 ie 31 bread will be there
for second thief 2*31+1 ie 63 bread will be there
for first thief 2*63+1 ie 127 bread will be there  |