Dear Friends,(adsbygoogle = window.adsbygoogle || []).push({});

I have a question and would be pleased if you help me by suggesting a paper or book to study.

Let A={1,2,....,n}. We consider all the subsets with k elements. How many of these sets have a sum of r ?

e.g.

for n=6, k=3, r=10

{1,3,6}

{1,4,5}

{2,3,5}

Hense the solution in this case is 3.

Thanks for your kind.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Sum of subsets

**Physics Forums | Science Articles, Homework Help, Discussion**