Hi there.

I am trying to find the number of different permutations for the following problem:

Box Box 1 Red Blue Green Box 2 Red Blue Green Box 3 Red Blue Green Box 4 Red Blue Green Box 5 Red Blue n/a Box 6 Red Blue n/a Box 7 Red Blue n/a

I have seven boxes.Three of the boxes (box 5,6&7) can be either red or blue. Four of the boxes (box 1,2,3&4) can be either red, blue or green. How do I find out the number of permutations of all seven boxes?

i.e

What is the value of n?

Combination Box 1 Box 2 Box 3 Box 4 Box 5 Box 6 Box 7 Combination 1 R R R R R R R Combination 2 R R R R R R B Combination 3 R R R R R B R ..... ... ... ... ... ... ... ... Combination n

Thanks