Problem:
Let M be the greatest integer such that both M+1213 and M+3773 are perfect squares. What is the units digit of M ?
Answer Choices:
A. 1
B. 2
C. 3
D. 6
E. 8
Solution:
Suppose M+1213=j2 and M+3773=k2 for nonnegative integers j and k. Then
(k+j)(kβj)=k2βj2=3773β1213=2560=5β
29
Because k+j and kβj have the same parity and their product is even, they must both be even, and it follows that one of them is 5β
2i and the other is 29βi for some i with 1β€iβ€8. Solving for k gives
k=25β
2i+29βiβ
To maximize M it is sufficient to maximize k, and this will occur when i=8 and k=5β
27+1=641. Therefore M=6412β3773, and its units digit is (E)8β.
OR
Because (n+1)2βn2=2n+1, successive terms in the sequence of squares, 1,4,9,16,β¦, differ by successive odd numbers; and because (n+2)2βn2=4(n+1), the terms in this sequence that are two apart differ by successive multiples of 4 . The two squares required in this problem differ by 3773β1213=2560, a multiple of 4 . It follows that the greatest such squares are two apart in the sequence of squares, so n+1=42560β=640. Therefore these squares are n2=6392 and (n+2)2=6412, and M+1213=6392. Then M=6392β1213, and its units digit is (E)8β.
Note: Shown below is a table of 5β
2i,29βi,k,j, and M for each i (notation from the first solution). Observe that M is maximized when k is maximized.
i12345678β5β
2i102040801603206401280β29βi256128643216842βk13374525688164322641βj12354122472156318639βM139161703β1069β63739712312399911407108ββ
The problems on this page are the property of the MAA's American Mathematics Competitions