|
|
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>
|
|