- #1
jimjones
- 8
- 0
Hello,
Sorry if this is in the wrong forum, I wasn't sure so I just picked General. Is there a formula to determine the squares that will produce a given difference. For example x^2 - y^2 = 21. From a little experimentation it seems that for odd numbers the problem can be solved with this formula: x = (o+1)/2, y= x - 1. So 11^2 - 10^2 = 21. But I know also that 5^2 - 2^2 = 21. Is there a formula that will produce that result?
Thanks
Sorry if this is in the wrong forum, I wasn't sure so I just picked General. Is there a formula to determine the squares that will produce a given difference. For example x^2 - y^2 = 21. From a little experimentation it seems that for odd numbers the problem can be solved with this formula: x = (o+1)/2, y= x - 1. So 11^2 - 10^2 = 21. But I know also that 5^2 - 2^2 = 21. Is there a formula that will produce that result?
Thanks