Re: Want to iterate through 51 factorial card decks... don't know if I've got the hardware for it...



Andrew Musgrave wrote:

Normally, I'd love to continue this discussion openly on usenet,
but because of the context that I'm preparing this (if you
haven't figured it out yet, think of what Martin Gardner's hobby
was), I think I'll have to discontinue it.

Abstract the problem description: You seek a permutation (or perhaps
as many as possible) of the set S = {1, 2, ..., 52} that
simultaneously fulfills a number of constraints. One of these is,
there must be a subsequence of length 22 that interleaves numbers
from two given subsets of S; etc. Put this way, someone here or on
sci.math.num-analysis might be able to cite a method or even a canned
code for combinatorial optimization, and if they suspect from the
number 52 that it's about cards you can always claim a coincidence ;)


Martin

--
Sufficiently encapsulated magic is
indistinguishable from technology.
.



Relevant Pages