Skip to main content

2008 AMC 10B Problem 23

Problem 23 of 25HarderAlgebraGeometryNumber Theory

A rectangular floor measures aa feet by bb feet, where aa and bb are positive integers with b>a.b\gt a. An artist paints a rectangle on the floor with the sides of the rectangle parallel to the sides of the floor. The unpainted part of the floor forms a border of width 11 foot around the painted rectangle and occupies half the area of the entire floor. How many possibilities are there for the ordered pair (a,b)?(a,b)?

Answer choices

Show solution

Solution

The painted rectangle is (a2)×(b2),(a-2)\times(b-2), and it is half the floor, so ab=2(a2)(b2).ab=2(a-2)(b-2). Expanding gives 0=ab4a4b+8,0=ab-4a-4b+8, and adding 88 yields (a4)(b4)=8.(a-4)(b-4)=8. With b>a>0,b\gt a\gt 0, the factorizations 8=18=248=1\cdot 8=2\cdot 4 give (a,b)=(5,12)(a,b)=(5,12) and (6,8).(6,8). So there are 22 possibilities. Thus, the correct answer is B.

More practice

Concepts: Simon’s Favorite Factoring Trick · Diophantine Equation · area

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.