Problem #PRU-102822

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

Problem

The seller with weights. With four weights the seller can weigh any integer number of kilograms, from 1 to 40 inclusive. The total mass of the weights is 40 kg. What are the weights available to the seller?