For which positive integers k do there exist two perfect squares that differ by k ?
In symbols: Given positive integer k , when are there natural solutions to the following equation:
(a,b) : a^2 + k = b^2 ?
If a solution exists, is it unique? If not, are there finitely many solutions? If so, is there an easy way to determine all solutions? If there are infinitely many, is there an algorithm to compute all solutions?
Etc.
+j
k = b^2 - a^2k = (b-a)(b+a) ............ equation 1
3.1 a and b have the same parityBoth b+a and b-a are even, leading us to the conclusion that k = 4j, for some positive integer j3.2 a and b have different parityBoth b+a, b-a are odd, therefore k is an odd number of the form 2j + 1
4.1 Both a, b are evenb = 2m, a=2n , for some m, n > 0b^2 - a^2 = 4(m^2-n^2) = k = 4jOr, j = m^2-n^2 , which brings us back to equation 1 with m,n, j as parameters, so call algorithm recursively.4.2 Both a,b are oddb = 2m+1, a = 2n+1b^2 - a^2 = 4(m-n)(m+n+1) = 4jj = m^2 - n^2 + m - nj = m(m+1) - n(n+1) ..... (stuck)
5.1 b is odd, a is even
b=2m+1, a=2n2j + 1 = 4m^2 + 4m + 1 - 4n^22j + 1 = 4(m^2+m - n^2) +1j = 2 ( m(m+1) - n^2)So j must be even, or k must be of the form 4r +1
5.2 b is even, a is odd
b=2m, a=2n+12j+1 = 4m^2 - 4n^2 - 4n - 1j = 2 (2m^2 - 2n^2 - 2n -1)So j must be even, or k must be of the form 4r +1
--
You received this message because you are subscribed the mathmeth.com mailing list.
To unsubscribe from this group, send email to Calculational-Math...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Calculational-Mathematics?hl=en