MHB Combinations / Sets of objects

  • Thread starter Thread starter arno100
  • Start date Start date
  • Tags Tags
    Combinations Sets
AI Thread Summary
A solution is sought for generating unique combinations from a set of objects, such as {Apple, Pear, Orange}. The expected output includes all possible combinations without repetition, like Apple, Pear and Apple, Orange. The formula for calculating the total combinations is 2^n, where n is the number of elements in the set, although this also includes the empty set. Suggestions for online generators or resources to understand this concept better are requested. The discussion highlights the importance of ensuring combinations do not repeat in different orders.
arno100
Messages
1
Reaction score
0
Hi,

I am looking for a solution that generates combinations of objects from a series of objects in a set. For example, {Apple, Pear, Orange} should bring back
Apple
Pear
Orange
Apple, Pear
Apple, Pear, Orange,
Apple, Orange
...

Items in the series should not repeat (i.e. Apple, Orange / Orange, Apple should only appear once). Any online generators anybody can suggest? Or, material I can use to figure this out?

Many thanks
 
Mathematics news on Phys.org
You forgot "Pear, Orange", the formula is 2^n with n is the number of elements in the set. Beware that 2^n also includes an empty set.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top