This problem is solved using the Inclusion-Exclusion principle :
Answer = Total ways - Stacks in which exactly one red plate appears on top of a silver plate + Stacks in which exactly two red plates appears on top of two silver plates - Stacks in which all the three red plates appears on top of three silver plates
Comments