MathDB
Three boxes, three sets, weird problem

Source: Pan African Olympiad 2008

October 1, 2011
combinatorics proposedcombinatorics

Problem Statement

Let a,b,ca,b,c be three positive integers such that a<b<ca<b<c. Consider the the sets A,B,CA,B,C and XX, defined as follows: A={1,2,,a}A=\{ 1,2,\ldots ,a \}, B={a+1,a+2,,b}B=\{a+1,a+2,\ldots,b\}, C={b+1,b+2,,c}C=\{b+1,b+2,\ldots ,c\} and X=ABCX=A\cup B\cup C. Determine, in terms of a,ba,b and cc, the number of ways of placing the elements of XX in three boxes such that there are x,yx,y and zz elements in the first, second and third box respectively, knowing that: i) xyzx\le y\le z; ii) elements of BB cannot be put in the first box; iii) elements of CC cannot be put in the third box.