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: First thoughts... ...(spoiler?) by Steve Herman)
My initial calculation was wrong. I was so intent on working out the problem as a sqrt(a)+sqrt(b)<=31 problem that I completely ignored the fact that 1^2+31^2 is still less than 1000, as Steve Herman pointed out.
Not counting reversals, I think the proper number should be 447.
|
Posted by Erik O.
on 2005-05-05 19:18:56 |