There is 1 card with color c1 numbered 1 , 2 cards with color c2 numbered 1 and 2, ... and n cards with color cn numbered from 1 to n. find the number of permutation of these cards with a this restriction :
any two cards with the same color and consecutive numbers cannot be adjacent.
I think it's an interesting problem :)
What means "consecutive numbers"? Cards are numbered?