Problem #PRU-64503

Problems Set theory and logic Mathematical logic Mathematical logic (other)

Problem

The sheikh spread out his treasures in nine sacks: 1 kg in the first bag, 2 kg in the second bag, 3 kg in the third bag, and so on, and 9 kg in the ninth bag. The insidious official stole a part of the treasure from one bag. How can the sheikh work out from which bag the official stole the treasure from using two weighings?