Let the number of coins picked from bags 1,2,3,4,5 be c1=1,c2=2,c3=4,c4=8,c5=16 respectively.
The total number of coins picked is:
1+2+4+8+16=31 If all coins had weighed 10 gm, the total weight would be:
31×10=310 gm The actual measured weight is 323 gm, so the excess weight is:
323−310=13 gm Since each coin of weight 11 gm contributes (11−10)=1 gm to the excess weight, the sum of coins taken from the bags containing 11 gm coins must equal 13.
Expressing 13 as a sum of powers of 2 (its binary representation 13=11012):
13=8+4+1=c4+c3+c1 Thus, the bags containing 11 gm coins are Bag 1, Bag 3, and Bag 4.
The product of the labels of these bags is:
Product=1×3×4=12