A bag contains 50 weights of different sisez.
There are 20, 50 and 100 gram weights.

A:How many different combinations is possible if atleast one of each weight has to be used?

B:How many different combinations is possible if the total weight of the bag is 3000grams (not counting the weitght of the bag itself).


Thanx in advance
/Monika