contestada

For how many values of a is it true that:
(1) a is a positive integer such that a \le 50.
(2) the quadratic equation x^2 + (2a+1)x + a^2 = 0 has two integer solutions?