2006 Canadian MO Problems/Problem 1
Problem
Let be the number of ways distributing
candies to
children so that each child receives at most two candies. For example,
,
, and
. Evaluate
.
Solution
generating function for one student is
generating function for many students is
generating function for 2006 many students is
Let
coefficient of
is
, \quad
Take
Then is the sum of the coefficients of
in
\quad (third root of unity)
and since
the other coefficients vanish when we add up
and since we added up the same coefficient thrice, we need to divide it by
~Ishan
See also
2006 Canadian MO (Problems) | ||
Preceded by First question |
1 • 2 • 3 • 4 • 5 | Followed by Problem 2 |