# Difference between revisions of "2004 AMC 8 Problems/Problem 17"

## Problem

Three friends have a total of $6$ identical pencils, and each one has at least one pencil. In how many ways can this happen?

$\textbf{(A)}\ 1\qquad \textbf{(B)}\ 3\qquad \textbf{(C)}\ 6\qquad \textbf{(D)}\ 10 \qquad \textbf{(E)}\ 12$

## Solution

For each person to have at least one pencil, assign one of the pencil to each of the three friends so that you have $3$ left. In partitioning the remaining $3$ pencils into $3$ distinct groups, use Ball-and-urn to find the number of possibilities is $_{3+3-1} C _{3-1} = _10 C _2 = \boxed{\textbf{(D)}\ 10}$.