Re: REQ: Algorythm for combinations
- To: mathgroup at smc.vnet.net
- Subject: [mg8504] Re: REQ: Algorythm for combinations
- From: Seth Chandler <SChandler at uh.edu>
- Date: Thu, 4 Sep 1997 02:19:47 -0400
- Sender: owner-wri-mathgroup at wolfram.com
marc borms wrote: > Hi, > > who knows the algorythm or a program to print out > all possible combinations of x elements ? > > Please send some private email too. > > Thanks a lot, > > marc Here are two methods: Outer[List[Array[s,{6}],Array[s,{5}] or Distribute[List[Array[s,{6}],Array[s,{5}],List]