# Difference between revisions of "2021 AMC 10B Problems/Problem 11"

## Problem

Grandma has just finished baking a large rectangular pan of brownies. She is planning to make rectangular pieces of equal size and shape, with straight cuts parallel to the sides of the pan. Each cut must be made entirely across the pan. Grandma wants to make the same number of interior pieces as pieces along the perimeter of the pan. What is the greatest possible number of brownies she can produce?

$\textbf{(A)} ~24 \qquad\textbf{(B)} ~30 \qquad\textbf{(C)} ~48 \qquad\textbf{(D)} ~60 \qquad\textbf{(E)} ~64$

## Solution 1

Let the side lengths of the rectangular pan be $m$ and $n$. It follows that $(m-2)(n-2) = \frac{mn}{2}$, since half of the brownie pieces are in the interior. This gives $2(m-2)(n-2) = mn \iff mn - 2m - 2n - 4 = 0$. Adding 8 to both sides and applying Simon's Favorite Factoring Trick, we obtain $(m-2)(n-2) = 8$. Since $m$ and $n$ are both positive, we obtain $(m, n) = (5, 12), (6, 8)$ (up to ordering). By inspection, $5 \cdot 12 = \boxed{\textbf{(D) }60}$ maximizes the number of brownies.

~ ike.chen

## Solution 2

Obviously, no side of the rectangular pan can have less than $5$ brownies beside it. We let one side of the pan have $5$ brownies, and let the number of brownies on its adjacent side be $x$. Therefore, $5x=2\cdot3(x-2)$, and solving yields $x=12$ and there are $5\cdot12=60$ brownies in the pan. $64$ is the only choice larger than $60$, but it cannot be the answer since the only way to fit $64$ brownies in a pan without letting a side of it have less than $5$ brownies beside it is by forming a square of $8$ brownies on each side, which does not meet the requirement. Thus the answer is $\boxed{\textbf{(D) }60}$.

-SmileKat32

~ pi_is_3.14