Re: All permutations of a sequence
- To: mathgroup at smc.vnet.net
- Subject: [mg76277] Re: All permutations of a sequence
- From: Dave Seaman <dseaman at no.such.host>
- Date: Fri, 18 May 2007 06:35:34 -0400 (EDT)
- Organization: Information Technology at Purdue
- References: <f2h8t7$v4$1@smc.vnet.net>
On Thu, 17 May 2007 09:56:55 +0000 (UTC), Virgil Stokes wrote: > I would like to get all unique permutations of a sequence (e.g. > {1,2,3,4,5,6,7,8,9,10,11,12,13}) with the constraint that all sequences > that have an opposite ordering are not included (e.g. {13, 12, > 11,10,9,8,6,5,4,3,2,1}) would not be included. > Are there some Mathematica commands that can be used to efficiently > generate these permutations? Surely every sequence has an opposite ordering, leaving you with nothing to list. -- Dave Seaman Oral Arguments in Mumia Abu-Jamal Case to be heard May 17 U.S. Court of Appeals, Third Circuit <http://www.abu-jamal-news.com/>