1989 AHSME Problems/Problem 17

Problem

The perimeter of an equilateral triangle exceeds the perimeter of a square by $1989 \ \text{cm}$. The length of each side of the triangle exceeds the length of each side of the square by $d \ \text{cm}$. The square has perimeter greater than 0. How many positive integers are NOT possible value for $d$?

$\text{(A)} \ 0 \qquad \text{(B)} \ 9 \qquad \text{(C)} \ 221 \qquad \text{(D)} \ 663 \qquad \text{(E)} \ \text{infinitely many}$ The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png