I was preparing for my Engineering entrance exam and got across this question.
A flag is to be made with 6 vertical stripes by using colours yellow, blue, green and red in such a way that none of the adjacent stripes have same colour. How many ways is it possible?
I landed up with 12x81 but I tried again and landed with 24x216
http://math.stackexchange.com/questions/840965/permutation-combination/842434#842434
– bobbym Jun 21 '14 at 18:40