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
.
apparently the proposers didnt get a closed form answer of this problem and somehow the previous solution here was wrong, this is standard roots of unity filter
Let
be the number of solutions
to the equation
where
for
. Equivalently,
is the coefficient of
in the generating function
Define
Let
be a primitive third root of unity. Then
Plugging in
, we obtain
We compute:
so the desired sum is
Thus, the final answer is
.
~Ishan
See also
2006 Canadian MO (Problems) | ||
Preceded by First question |
1 • 2 • 3 • 4 • 5 | Followed by Problem 2 |