Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • $\begingroup$ Are you not interested in {{a},{b,c,d,e,f}} and similar as well ? $\endgroup$ Commented Jul 20, 2012 at 10:25
  • $\begingroup$ Does the Combinatorica function SetPartitions[] not do what you want? $\endgroup$ Commented Jul 20, 2012 at 10:28
  • $\begingroup$ Yes, it does! I was not aware of it (or had forgotten about it). Strange that such a basic command is not an integral part of Mathematica's kernel. Would you like to exemplify how it works? (I just tried it successfully, but since you made the suggestion...) $\endgroup$ Commented Jul 20, 2012 at 10:37
  • $\begingroup$ @b.gatessucks Yes, for sure. That's why I included the note about Permutations at the bottom. $\endgroup$ Commented Jul 20, 2012 at 10:38