Blue/Green Flags
Source: AIME 2008II Problem 12
April 3, 2008
countingdistinguishabilityAMC
Problem Statement
There are two distinguishable flagpoles, and there are flags, of which are identical blue flags, and are identical green flags. Let be the number of distinguishable arrangements using all of the flags in which each flagpole has at least one flag and no two green flags on either pole are adjacent. Find the remainder when is divided by .