"Chuck Crayne" <ccrayne@[EMAIL PROTECTED]
> wrote in message
news:20080719130745.427eb94e@[EMAIL PROTECTED]
> On Sat, 19 Jul 2008 04:13:29 -0400
> "Rod Pemberton" <do_not_have@[EMAIL PROTECTED]
> wrote:
>
> > There are not 52 cards left, but 5 left.
>
> If you are simplifying the problem for demonstration purposes, then
> this is correct. However, the real world problem is a five card hand
> drawn from a 52 card deck (assuming no Jokers).
>
Sigh... There is a numeric deck of cards numbered from 1 to 52. No cards
have been drawn. So, there are 52 cards remaining. 5 will be drawn. The
deck of cards have been shuffled and are completely random (as far as you
can tell). You pull five cards off of the top of the deck. They are
23,12,9,43,37. There are 47 cards remaining - randomly ordered. Now, the
internal representation of the deck of cards used by a computer program
isn't random at all but is sequentially ordered: 1,2,3,4, ...,51,52. If
the
program uses a non-random representation for the deck order, how does the
program keep track of the actual random deck order? Well, it possibly
does
so by a conversion function and an specific input to that function. The
function when given an input accurately generates the current random deck
order from a non-random deck order. This is only useful if functions to
do
the opposite also exist. So, is there a value that can represent of each
of
these orders? Is there a function to generate each of these orders given
that value? E.g.,
zxcv(Q), Q=1, zxcv(1)=1..47,48,49,50,51,52 (all 52 cards)
zxcv(Q), Q=2, zxcv(2)=1..47,48,49,50,52,51
zxcv(Q), Q=3, zxcv(3)=1..47,48,49,51,50,52
zxcv(Q), Q=4, zxcv(4)=1..47,48,49,51,52,50
zxcv(Q), Q=5, zxcv(5)=1..47,48,49,52,51,50
zxcv(Q), Q=6, zxcv(6)=1..47,48,49,52,50,51
Many values of Q later:
zxcv(Q), Q=?, zxcv(Q)=(a specific order of the remaining 47
cards),23,12,9,43,37
....
zxcv(Q), Q=?, zxcv(Q)=(another different specific order of the remaining
47
cards),23,12,9,43,37
....
zxcv(Q), Q=?, zxcv(Q)=(and another),23,12,9,43,37
....
I.e., given 'Q' and 'zxcv()', can this ordered set (input):
1,2,3,4,5,...,49,50,51,52, be converted into a given known random set
(output): (47 cards with a unique order),23,12,9,43,37 ? If so, what is
'zxcv()' ?
(Was that easier to understand Chuck?)
Rod Pemberton


|