Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.independent

Topic: MasterMind Scenario
Replies: 16   Last Post: Dec 17, 1997 4:09 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jim Balter

Posts: 181
Registered: 12/7/04
Re: MasterMind Scenario
Posted: Dec 17, 1997 3:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



Jim Balter wrote:
>
> Daniel Isaacs wrote:

> >
> > Suppose in a game of Master Mind with 6 colors and 4 locations, the guess
> >
> > RBBG
> >
> > yields a response of two white pegs. That is, two colors are right, but
> > are in the wrong position. Find the number of codes which are still
> > possible based on this information.
> >
> > Good Luck.

>
> Wherever you put the two correct colors, the colors in the other
> positions can't be the color that was there and can't be one of the
> wrong colors. There are 8 cases of 4*3, 4 cases of 4*4 and 5*4,
> and 1 case of 3*3 and 5*5, yielding 274 possibilities.


Oops. I failed to account for the fact that some of these duplicate
each other. I imagine that Dave Dodson's enumeration is correct.

--
<J Q B>







Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.