Puzzles/Decision puzzles/Weighings Once More

Puzzles | Decision puzzles | Weighings once more

You want to use a balance to weigh items that have an integral weight between 1 ounce and 40 ounces (integral means that no fractions such as 1.5 ounces are allowed).

What is the fewest number of weights you need?

solution