In the game Mastermind, one player selects a code by inserting any combination of four pegs in
Question:
In the game Mastermind, one player selects a "code" by inserting any combination of four pegs in a row of four hidden holes. There are six colors of pegs to choose from. The second player tries to guess the code by repeatedly inserting four pegs i from the codemaker on the number of pegs of the correct color and the number of pegs in the correct position. Suppose the codemaker first selects four pegs for the code from the large supply of pegs of six colors, then determines the order of the pegs will be placed in the four holes.
(a) How many ways may the codemaker select the four pegs for the d receiving feedback n a row an Mastermind code?
(b) How many different Mastermind codes are possible?
College Algebra Graphs and Models
ISBN: 978-0321845405
5th edition
Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna