Problem 1187: (2000 AMC 10, 20; 2000 AMC 12, 12)
Let $A$, $M$, and $C$ be nonnegative integers such that $A+M+C=10$. What is the maximum value of $A\cdot M\cdot C+A\cdot M+M\cdot C+C\cdot A$?
$\textbf{(A)}\ 49$ $\textbf{(B)}\ 59$ $\textbf{(C)}\ 69$ $\textbf{(D)}\ 79$ $\textbf{(E)}\ 89$
- $AMC+AM+MC+CA=(A+1)(M+1)(C+1)-(A+M+C)-1=(A+1)(M+1)(C+1)-11$.
- With $(A+1)+(M+1)+(C+1)=13$ fixed, the product is largest when the factors are as equal as possible (replacing $p,q$ with $q\ge p+2$ by $p+1,q-1$ increases the product), namely $4,4,5$, giving $80$.
- The maximum is $80-11=69$. The answer is (C).
Let $A$, $M$, $C$ be nonnegative integers with $A+M+C=14$. What is the maximum value of $AMC+AM+MC+CA+A+M+C$?