# Difference between revisions of "2016 AMC 10A Problems/Problem 14"

## Problem

How many ways are there to write $2016$ as the sum of twos and threes, ignoring order? (For example, $1008\cdot 2 + 0\cdot 3$ and $402\cdot 2 + 404\cdot 3$ are two such ways.)

$\textbf{(A)}\ 236\qquad\textbf{(B)}\ 336\qquad\textbf{(C)}\ 337\qquad\textbf{(D)}\ 403\qquad\textbf{(E)}\ 672$

## Solution

The amount of twos in our sum ranges from $0$ to $1008$, with differences of $3$ because $2 \cdot 3 = lcm(2, 3)$.

The possible amount of twos is $\frac{1008 - 0}{3} + 1 \Rightarrow \boxed{\textbf{(C)} 337}$