IMO 1966 LL USS8

We are given a bag of sugar, a two-pan balance, and a weight of

IMO 1966 LL USS8

Origin: USS

Problem

We are given a bag of sugar, a two-pan balance, and a weight of 1 gram. How do we obtain 1 kilogram of sugar in the smallest possible number of weighings?