a, b, and x are positive integers such that
sqrt(a) + sqrt(b) = sqrt(x)
How many possible values of x less than or equal to 1000 are there?
(In reply to
re(4): First thoughts... ...(spoiler?) by Charlie)
Charlie's solution sounds right to me. I agree that my count only
included cases where x was a perfect square, and missed situations like
(a,b,x) = (2,8,32)