I was reading a riddle which says :
There are 10 boxes ,in each box there are ten apples which weigh 10g except for one box where the apples weigh 9g , find a way to find the special box when you can only weigh one time
The soultion is to take apples from each box with increasing order from 1 to 10 and then weighing them all together , then the difference will give the position of the box . The soultion is pretty creative but it made me wonder how can someone increase the probability just by changing some combinations. The probability was really low for one trial yet the soultion managed to make it 100% . I hope there is some mathematical clarification for this problem :)