Re: pairs and subsets challenge
- To: mathgroup at smc.vnet.net
- Subject: [mg59263] Re: pairs and subsets challenge
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Wed, 3 Aug 2005 01:20:04 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 8/2/05 at 12:42 AM, dreeves at umich.edu (Daniel Reeves) wrote: >You're right! That was my mistake (did the example by hand, >stupidly). Corrected output: (um, still by hand) >{{3,4,5}, {1,2,3,4}} Your description is still confusing. Given the starting set {1,2,3,4,5} why wouldn't {{1,2,3}, {1,2,4,5}} or {{1,2,3},{2,3,4,5}} be possible solutions? Or even better, why would not the 5 length 4 subsets given by KSubsets[Range@5, 4] be the set of solutions? None of these are subsets of each other and any possible shorter length subset must be a subset of one of these. -- To reply via email subtract one hundred and four