Hello everyone,
I am required to find the list of all the combinations of certain length of letters. I found the Permutations function but I did not find any function for finding the list of combinations. Please help me. I am a new user of Mathematicia. Thank you.
Regards, Azhar Uddin Mohammed
Perhaps make use of the Subsets function? For example, here are the subsets of the list {a, b, c, d} of exactly length 2
Subsets
{a, b, c, d}
In[1]:= Subsets[{a, b, c, d}, {2}] Out[1]= {{a, b}, {a, c}, {a, d}, {b, c}, {b, d}, {c, d}}
Thank you sir. It worked. :)