Simplified form for sum of permutations ? Combinitorics question



I have been beating my head against the wall, because I know there
must be a simplified generalized formula for what I want to do.

If I have a group of values, say a,b,c,d


I want to sum the product of all these permutations. basically:


ab+ac+ad+bc+bd+cd, which is 11 math operations


which I think is best simplified as (a+b)(c+d) + ab + cd (7 math
operations)


Or perhaps:


ab + (a+b)c + (a+b+c)d, which can also be thought of as 7 operations.


But, what is the general form when the I want to chose 3 out of my
four values (abc+abd+bcd), or groups of 10 out of 100 total, etc?


Thanks

.



Relevant Pages

  • Re: LRC Calculation Algorithm
    ... > Your head must be quite swollen from beating it against the wall. ... > don't you heed the advice given and ask the question in an ...
    (microsoft.public.vb.enterprise)
  • Re: IBM Thinkpad install
    ... quite beating my head against that wall. ... , PEER, the IDE drivers, yap, yap, it is simply not worth it to go any ...
    (comp.os.os2.setup.misc)
  • Ok. This IS homework ...
    ... start beating my head against the wall. ... My assignment seemed simple: create a program that will cacluate the ...
    (comp.lang.python)
  • Re: Clear a combo box on error?
    ... I've been beating my head against the wall and I ... Prev by Date: ...
    (comp.databases.ms-access)
  • Re: Help with HtmlTextWriter
    ... Try UrlEncode the link. ... >I have been beating my head against a wall for two days now. ...
    (microsoft.public.dotnet.framework.aspnet)