Quote:
Originally Posted by nishish People help me in solving this question...
How many natural numbers less than 1000 can be expressed as the difference of two perfect squares in at least one way...... |
let us take two numbers to be x and y then
x^2 - y^2 < p where p < 1000. we have to find different values of p.
let us take maximum value of p = 1000
then x^2 - y^2 = 1000
x can take maximum value of 500 because 500^2 - 499^2 = 999, After this value of x the difference will exceed 1000.
now (x+y)(x-y) = p where p < 1000
let us assume
x + y = 2m
x - y = 2n (2m>2n)
then
x = m+n
y = m-n
where both m and n will be intergers. we can infer that both x+y and x - y should be even to give integral values of x and y
now x < 500 and y < 500.....................so no of ways of choosing different m and n where x > y are
(250 C 2)/2. hence the answer.............am i right or i have missed something.............