Given a positive integer , it is known that using weights of integer gram values and a balance scale, it is possible to measure all objects with weights of grams.
(1) Find the minimum value of . (2) For which values of is the composition of the weights uniquely determined? Prove your conclusion.