1989 AIME Problem 7

If the integer k is added to each of the numbers 36,300 and 596 , one obtains the squares of three consecutive terms of an arithmetic sequence. Find k.