Search All of the Math Forum:

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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

 Messages: [ Previous | Next ]
 Jim Balter Posts: 181 Registered: 12/7/04
Re: MasterMind Scenario
Posted: Dec 17, 1997 3:36 AM

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>

Date Subject Author
12/15/97 Daniel Isaacs
12/16/97 Dave Gates
12/16/97 Hauke Reddmann
12/16/97 jons5451@telcel.net.ve
12/16/97 Jim Balter
12/17/97 Jim Balter
12/16/97 Jacob Lipman
12/16/97 Jacob Lipman
12/16/97 Jacob Lipman
12/16/97 Dave Dodson
12/17/97 Jacob Lipman