Difference between revisions of "2006 Canadian MO Problems/Problem 1"
(→Solution) |
(→Solution) |
||
Line 3: | Line 3: | ||
==Solution== | ==Solution== | ||
− | <math>f(n, k) = \text{the number of ways to distribute } k \text{ candies among } n \text{ children such that each child gets at most 2 candies. </math> | + | <math>f(n, k) = \text{the number of ways to distribute } k \text{ candies among } n \text{ children such that each child gets at most 2 candies.} </math> |
<math> \text{This corresponds to finding non-negative integer solutions to } x_1 + x_2 + \cdots + x_n = k \text{ where } 0 \leq x_i \leq 2 \text{ for all } i.</math> | <math> \text{This corresponds to finding non-negative integer solutions to } x_1 + x_2 + \cdots + x_n = k \text{ where } 0 \leq x_i \leq 2 \text{ for all } i.</math> |
Revision as of 18:24, 17 November 2024
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
\text{ Therefore, the final answer is } \boxed{2^{2005}}. $
See also
2006 Canadian MO (Problems) | ||
Preceded by First question |
1 • 2 • 3 • 4 • 5 | Followed by Problem 2 |