Re: How to calculate number of possible combinations



On 2006-12-26 01:14:03 -0500, "Leo Muller" <leo_muller_israel@xxxxxxxxxxxx> said:

Hi,

I am trying to calculate the number of different combinations of a number of items. The order of the items does not matter. Let's say I have A and B, then it can be A, B or AB.
A, B, C would be A, B, C, AB, BC, AC, ABC, so 7 combinations possible.

What is the formula to find this?
I have to create a table for 5, 10, 25, 50, 75, 100, 150, 250, 500, 1000, 2500 items

Hope someone can help me with this!

Regards,

Leo Muller

Assuming no repetition allowed, then in each combination an element is either in there or not in there --- so 2 possibilities for each element. So, if you have n elements, that would be ___ number of combinations. And it looks like you are ignoring the empty combination, so don't forget to substract 1 from ___ above.

--

-kira

.



Relevant Pages

  • Re: Hussein AL-Jabr will drift Alejandro
    ... The buckets, springs, and ... atoms are all scary and precise. ... arranges a remaining matter in back of Elmo's paragraph. ... empty, fortunate, and influences in addition the farm. ...
    (sci.crypt)
  • Re: To my government type persons
    ... people who matter, those in power, got their wish. ... no bearing except perhaps to people who have no knowledge of WWII ... you're completely ignoring the Japanese people who ... believe I'm ignoring Jap suffering. ...
    (rec.sport.football.college)
  • Re: Isnull not working as expected
    ... No matter what you put inside the MAX, ... If there's no row, there is no QuestionUnique. ... analogy, when you don't get any mail, you don't expect to find one empty ... mailbox is different from a non-empty mailbox containing one empty piece ...
    (microsoft.public.sqlserver.programming)
  • Re: Array half empty or half full?
    ... was wondering if there was a reason for it. ... As far as how *I* use MATLAB goes, it does not ever seem to matter (it ... regardless of the size report. ... I have used 0x0 empty arrays ...
    (comp.soft-sys.matlab)
  • Re: Why Canada Sucks
    ... Alexis's grammar ranges no matter how our idea after we place ... We can't empty ... romances unless Alhadin will no kick afterwards. ...
    (sci.crypt)