Can every perfect square exist as the sum or difference of two perfect squares?
$begingroup$
I believe this is trivial and I'm over-complicating it. But can every squared integer be expressed as the sum of two squared integers OR the difference of two squared integers? And is there a proof for it?
Algebraically, assuming integers $x, y, z ≥ 0:$
$$begin{align}z^2 &= x^2 + y^2 \ z^2 &= x^2 - y^2end{align}$$
In other words, can every positive integer, regardless of the other two variables, be expressed as a part of a Pythagorean triple $(a,b,c)$?
I ask this because I cannot seem to find any explicit answers for it. I understand that the set of all sums of two squared integers is closed under multiplication by the Fibonacci identity, but I'm not sure how it applies in this situation. Also, I'm not sure if a proof of the Pythagorean theorem would be able to answer this question, but I need some clarification.
elementary-number-theory diophantine-equations recreational-mathematics pythagorean-triples
$endgroup$
add a comment |
$begingroup$
I believe this is trivial and I'm over-complicating it. But can every squared integer be expressed as the sum of two squared integers OR the difference of two squared integers? And is there a proof for it?
Algebraically, assuming integers $x, y, z ≥ 0:$
$$begin{align}z^2 &= x^2 + y^2 \ z^2 &= x^2 - y^2end{align}$$
In other words, can every positive integer, regardless of the other two variables, be expressed as a part of a Pythagorean triple $(a,b,c)$?
I ask this because I cannot seem to find any explicit answers for it. I understand that the set of all sums of two squared integers is closed under multiplication by the Fibonacci identity, but I'm not sure how it applies in this situation. Also, I'm not sure if a proof of the Pythagorean theorem would be able to answer this question, but I need some clarification.
elementary-number-theory diophantine-equations recreational-mathematics pythagorean-triples
$endgroup$
$begingroup$
If $z=1$ I think you'll have a problem assuming $x, y>0$.
$endgroup$
– TravisJ
Apr 12 '15 at 1:07
$begingroup$
Ah, right, I shall edit that
$endgroup$
– CuriousMathematics
Apr 12 '15 at 1:07
3
$begingroup$
Let $y=0$ and $x=z$.
$endgroup$
– George V. Williams
Apr 12 '15 at 1:14
add a comment |
$begingroup$
I believe this is trivial and I'm over-complicating it. But can every squared integer be expressed as the sum of two squared integers OR the difference of two squared integers? And is there a proof for it?
Algebraically, assuming integers $x, y, z ≥ 0:$
$$begin{align}z^2 &= x^2 + y^2 \ z^2 &= x^2 - y^2end{align}$$
In other words, can every positive integer, regardless of the other two variables, be expressed as a part of a Pythagorean triple $(a,b,c)$?
I ask this because I cannot seem to find any explicit answers for it. I understand that the set of all sums of two squared integers is closed under multiplication by the Fibonacci identity, but I'm not sure how it applies in this situation. Also, I'm not sure if a proof of the Pythagorean theorem would be able to answer this question, but I need some clarification.
elementary-number-theory diophantine-equations recreational-mathematics pythagorean-triples
$endgroup$
I believe this is trivial and I'm over-complicating it. But can every squared integer be expressed as the sum of two squared integers OR the difference of two squared integers? And is there a proof for it?
Algebraically, assuming integers $x, y, z ≥ 0:$
$$begin{align}z^2 &= x^2 + y^2 \ z^2 &= x^2 - y^2end{align}$$
In other words, can every positive integer, regardless of the other two variables, be expressed as a part of a Pythagorean triple $(a,b,c)$?
I ask this because I cannot seem to find any explicit answers for it. I understand that the set of all sums of two squared integers is closed under multiplication by the Fibonacci identity, but I'm not sure how it applies in this situation. Also, I'm not sure if a proof of the Pythagorean theorem would be able to answer this question, but I need some clarification.
elementary-number-theory diophantine-equations recreational-mathematics pythagorean-triples
elementary-number-theory diophantine-equations recreational-mathematics pythagorean-triples
edited Apr 14 '15 at 11:12


GPerez
4,26611541
4,26611541
asked Apr 12 '15 at 1:04
CuriousMathematicsCuriousMathematics
3814
3814
$begingroup$
If $z=1$ I think you'll have a problem assuming $x, y>0$.
$endgroup$
– TravisJ
Apr 12 '15 at 1:07
$begingroup$
Ah, right, I shall edit that
$endgroup$
– CuriousMathematics
Apr 12 '15 at 1:07
3
$begingroup$
Let $y=0$ and $x=z$.
$endgroup$
– George V. Williams
Apr 12 '15 at 1:14
add a comment |
$begingroup$
If $z=1$ I think you'll have a problem assuming $x, y>0$.
$endgroup$
– TravisJ
Apr 12 '15 at 1:07
$begingroup$
Ah, right, I shall edit that
$endgroup$
– CuriousMathematics
Apr 12 '15 at 1:07
3
$begingroup$
Let $y=0$ and $x=z$.
$endgroup$
– George V. Williams
Apr 12 '15 at 1:14
$begingroup$
If $z=1$ I think you'll have a problem assuming $x, y>0$.
$endgroup$
– TravisJ
Apr 12 '15 at 1:07
$begingroup$
If $z=1$ I think you'll have a problem assuming $x, y>0$.
$endgroup$
– TravisJ
Apr 12 '15 at 1:07
$begingroup$
Ah, right, I shall edit that
$endgroup$
– CuriousMathematics
Apr 12 '15 at 1:07
$begingroup$
Ah, right, I shall edit that
$endgroup$
– CuriousMathematics
Apr 12 '15 at 1:07
3
3
$begingroup$
Let $y=0$ and $x=z$.
$endgroup$
– George V. Williams
Apr 12 '15 at 1:14
$begingroup$
Let $y=0$ and $x=z$.
$endgroup$
– George V. Williams
Apr 12 '15 at 1:14
add a comment |
5 Answers
5
active
oldest
votes
$begingroup$
Every square can be written as the difference of two squares.
$(x+1)^2-x^2=2x+1$
This shows that any odd number, in particular an odd square, is the difference of two squares.
$(x+1)^2-(x-1)^2=4x$.
Any multiple of 4 is the difference of squares. An even square will be divisible by 4, so even squares are also the difference of two squares.
$endgroup$
add a comment |
$begingroup$
Every square number is expressible as the difference of two squares. First, note that every odd number $2n+1$ can be written as $(n+1)^2 - n^2$. Next, you can write every even square as $4n^2 = (n^2+1)^2 - (n^2-1)^2$. Note that if you specify that it has to be a difference of two nonzero squares, then $1$ and $4$ do not count.
In general, the only integers that cannot be written as differences of squares are the numbers congruent to $2$ modulo $4$. This can be obtained by solving for $x-y = n_1, x+y = n_2$, whenever you have a factorization $n = n_1n_2$ into terms of the same parity. (Again, if you specify difference of nonzero squares, $1$ and $4$ do not count.)
$endgroup$
add a comment |
$begingroup$
First of all an integer $n$ can be expressed as the difference of two squres if and only if it's odd or divisible by $4$ and here are the expression:
$$n=2k+1=(k+1)^2-k^2 n=4k=(k+1)^2-(k-1)^2$$
And because $n^2$ is either odd or divisible by $4$ we can conclude that:
Every square is the difference of two squares
$endgroup$
add a comment |
$begingroup$
I'm going to be more general, and cover all integers that can be expressed as a sum or difference of squares.
We start with the difference.
Suppose $n$ is an integer with factors $k$ and $m$, one of which could be $1$. Then if
$$n = a^2-b^2 = (a+b)(a-b), $$
you need to solve the equations
$$ a+b = k \
a-b = m, $$
so $a=(k+m)/2$, $b=(k-m)/2$. Therefore you can express a number as the difference of two squares if, and only if, you can find a factorisation into two factors whose sum and difference is even. This can only occur if the factors are both odd, or both even.
Since 1 is an odd number, if $n$ is odd we can use $n=n times 1$, so all odd numbers are so expressible. Hence, looking modulo 4, the residue classes $n equiv 1,3 pmod{4}$ are covered. $n equiv 0 pmod{4}$ is also obvious since $n = 2 times 2 (n/4)$. However, if $n=4k+2=2(2k+1)$, this cannot work.
Now, what about a sum of two squares? Working modulo $8$, the squares are
$$ 0^2 equiv 0, 1^2 equiv 1, 2^2 equiv 4,3^3 equiv 1,4^2 equiv 0,5^2 equiv 1,6^2 equiv 4,7^2 equiv 1, $$
so all squares are $0,1$ or $4 pmod{8}$. Hence anything that is $6,7 pmod{8}$ cannot be a sum of two squares. (and anything that is $7 pmod{8}$ is not even a sum of three squares. Four squares, on the other hand, are enough for anything sufficiently large - this is the solution to Waring's problem for squares)
In fact all Pythagorean triples are given by $((m^2+n^2),2mn,(m^2-n^2))$ for integer $m,n$.
$endgroup$
add a comment |
$begingroup$
Even more is true: a squared integer can be expressed as the difference of two squared integers in as many ways as there are factorisations of the squared integer into $2$ unequal factors of the same parity. The case $n=2$ in Fermat's Last Theorem is indeed very special.
Example:
begin{aligned} 12times 12 &= 2times 72 = 37times3 7 - 35times 35\
&= 4times 36 = 20times 20 - 16times 16\
&= 6times 24 = 15times 15 - 9times 9\
&= 8times 18 = 13times 13 - 5times 5.
end{aligned}
For primes and even semi-primes ($2times$odd prime), the expression is unique and consists of consecutive integers in the former case and of integers which differ by two in the latter (e.g. $5times5= 13times13 - 12times12$ and $10times 10= 26times 26 -24times 24.$
This also implies immediately that if $x < y < z,; y$ cannot be a prime.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1230796%2fcan-every-perfect-square-exist-as-the-sum-or-difference-of-two-perfect-squares%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Every square can be written as the difference of two squares.
$(x+1)^2-x^2=2x+1$
This shows that any odd number, in particular an odd square, is the difference of two squares.
$(x+1)^2-(x-1)^2=4x$.
Any multiple of 4 is the difference of squares. An even square will be divisible by 4, so even squares are also the difference of two squares.
$endgroup$
add a comment |
$begingroup$
Every square can be written as the difference of two squares.
$(x+1)^2-x^2=2x+1$
This shows that any odd number, in particular an odd square, is the difference of two squares.
$(x+1)^2-(x-1)^2=4x$.
Any multiple of 4 is the difference of squares. An even square will be divisible by 4, so even squares are also the difference of two squares.
$endgroup$
add a comment |
$begingroup$
Every square can be written as the difference of two squares.
$(x+1)^2-x^2=2x+1$
This shows that any odd number, in particular an odd square, is the difference of two squares.
$(x+1)^2-(x-1)^2=4x$.
Any multiple of 4 is the difference of squares. An even square will be divisible by 4, so even squares are also the difference of two squares.
$endgroup$
Every square can be written as the difference of two squares.
$(x+1)^2-x^2=2x+1$
This shows that any odd number, in particular an odd square, is the difference of two squares.
$(x+1)^2-(x-1)^2=4x$.
Any multiple of 4 is the difference of squares. An even square will be divisible by 4, so even squares are also the difference of two squares.
answered Apr 12 '15 at 1:16
Josh B.Josh B.
2,54511424
2,54511424
add a comment |
add a comment |
$begingroup$
Every square number is expressible as the difference of two squares. First, note that every odd number $2n+1$ can be written as $(n+1)^2 - n^2$. Next, you can write every even square as $4n^2 = (n^2+1)^2 - (n^2-1)^2$. Note that if you specify that it has to be a difference of two nonzero squares, then $1$ and $4$ do not count.
In general, the only integers that cannot be written as differences of squares are the numbers congruent to $2$ modulo $4$. This can be obtained by solving for $x-y = n_1, x+y = n_2$, whenever you have a factorization $n = n_1n_2$ into terms of the same parity. (Again, if you specify difference of nonzero squares, $1$ and $4$ do not count.)
$endgroup$
add a comment |
$begingroup$
Every square number is expressible as the difference of two squares. First, note that every odd number $2n+1$ can be written as $(n+1)^2 - n^2$. Next, you can write every even square as $4n^2 = (n^2+1)^2 - (n^2-1)^2$. Note that if you specify that it has to be a difference of two nonzero squares, then $1$ and $4$ do not count.
In general, the only integers that cannot be written as differences of squares are the numbers congruent to $2$ modulo $4$. This can be obtained by solving for $x-y = n_1, x+y = n_2$, whenever you have a factorization $n = n_1n_2$ into terms of the same parity. (Again, if you specify difference of nonzero squares, $1$ and $4$ do not count.)
$endgroup$
add a comment |
$begingroup$
Every square number is expressible as the difference of two squares. First, note that every odd number $2n+1$ can be written as $(n+1)^2 - n^2$. Next, you can write every even square as $4n^2 = (n^2+1)^2 - (n^2-1)^2$. Note that if you specify that it has to be a difference of two nonzero squares, then $1$ and $4$ do not count.
In general, the only integers that cannot be written as differences of squares are the numbers congruent to $2$ modulo $4$. This can be obtained by solving for $x-y = n_1, x+y = n_2$, whenever you have a factorization $n = n_1n_2$ into terms of the same parity. (Again, if you specify difference of nonzero squares, $1$ and $4$ do not count.)
$endgroup$
Every square number is expressible as the difference of two squares. First, note that every odd number $2n+1$ can be written as $(n+1)^2 - n^2$. Next, you can write every even square as $4n^2 = (n^2+1)^2 - (n^2-1)^2$. Note that if you specify that it has to be a difference of two nonzero squares, then $1$ and $4$ do not count.
In general, the only integers that cannot be written as differences of squares are the numbers congruent to $2$ modulo $4$. This can be obtained by solving for $x-y = n_1, x+y = n_2$, whenever you have a factorization $n = n_1n_2$ into terms of the same parity. (Again, if you specify difference of nonzero squares, $1$ and $4$ do not count.)
answered Apr 12 '15 at 1:17
Rolf HoyerRolf Hoyer
11.2k31629
11.2k31629
add a comment |
add a comment |
$begingroup$
First of all an integer $n$ can be expressed as the difference of two squres if and only if it's odd or divisible by $4$ and here are the expression:
$$n=2k+1=(k+1)^2-k^2 n=4k=(k+1)^2-(k-1)^2$$
And because $n^2$ is either odd or divisible by $4$ we can conclude that:
Every square is the difference of two squares
$endgroup$
add a comment |
$begingroup$
First of all an integer $n$ can be expressed as the difference of two squres if and only if it's odd or divisible by $4$ and here are the expression:
$$n=2k+1=(k+1)^2-k^2 n=4k=(k+1)^2-(k-1)^2$$
And because $n^2$ is either odd or divisible by $4$ we can conclude that:
Every square is the difference of two squares
$endgroup$
add a comment |
$begingroup$
First of all an integer $n$ can be expressed as the difference of two squres if and only if it's odd or divisible by $4$ and here are the expression:
$$n=2k+1=(k+1)^2-k^2 n=4k=(k+1)^2-(k-1)^2$$
And because $n^2$ is either odd or divisible by $4$ we can conclude that:
Every square is the difference of two squares
$endgroup$
First of all an integer $n$ can be expressed as the difference of two squres if and only if it's odd or divisible by $4$ and here are the expression:
$$n=2k+1=(k+1)^2-k^2 n=4k=(k+1)^2-(k-1)^2$$
And because $n^2$ is either odd or divisible by $4$ we can conclude that:
Every square is the difference of two squares
answered Apr 12 '15 at 1:18


ElaqqadElaqqad
11.6k1040
11.6k1040
add a comment |
add a comment |
$begingroup$
I'm going to be more general, and cover all integers that can be expressed as a sum or difference of squares.
We start with the difference.
Suppose $n$ is an integer with factors $k$ and $m$, one of which could be $1$. Then if
$$n = a^2-b^2 = (a+b)(a-b), $$
you need to solve the equations
$$ a+b = k \
a-b = m, $$
so $a=(k+m)/2$, $b=(k-m)/2$. Therefore you can express a number as the difference of two squares if, and only if, you can find a factorisation into two factors whose sum and difference is even. This can only occur if the factors are both odd, or both even.
Since 1 is an odd number, if $n$ is odd we can use $n=n times 1$, so all odd numbers are so expressible. Hence, looking modulo 4, the residue classes $n equiv 1,3 pmod{4}$ are covered. $n equiv 0 pmod{4}$ is also obvious since $n = 2 times 2 (n/4)$. However, if $n=4k+2=2(2k+1)$, this cannot work.
Now, what about a sum of two squares? Working modulo $8$, the squares are
$$ 0^2 equiv 0, 1^2 equiv 1, 2^2 equiv 4,3^3 equiv 1,4^2 equiv 0,5^2 equiv 1,6^2 equiv 4,7^2 equiv 1, $$
so all squares are $0,1$ or $4 pmod{8}$. Hence anything that is $6,7 pmod{8}$ cannot be a sum of two squares. (and anything that is $7 pmod{8}$ is not even a sum of three squares. Four squares, on the other hand, are enough for anything sufficiently large - this is the solution to Waring's problem for squares)
In fact all Pythagorean triples are given by $((m^2+n^2),2mn,(m^2-n^2))$ for integer $m,n$.
$endgroup$
add a comment |
$begingroup$
I'm going to be more general, and cover all integers that can be expressed as a sum or difference of squares.
We start with the difference.
Suppose $n$ is an integer with factors $k$ and $m$, one of which could be $1$. Then if
$$n = a^2-b^2 = (a+b)(a-b), $$
you need to solve the equations
$$ a+b = k \
a-b = m, $$
so $a=(k+m)/2$, $b=(k-m)/2$. Therefore you can express a number as the difference of two squares if, and only if, you can find a factorisation into two factors whose sum and difference is even. This can only occur if the factors are both odd, or both even.
Since 1 is an odd number, if $n$ is odd we can use $n=n times 1$, so all odd numbers are so expressible. Hence, looking modulo 4, the residue classes $n equiv 1,3 pmod{4}$ are covered. $n equiv 0 pmod{4}$ is also obvious since $n = 2 times 2 (n/4)$. However, if $n=4k+2=2(2k+1)$, this cannot work.
Now, what about a sum of two squares? Working modulo $8$, the squares are
$$ 0^2 equiv 0, 1^2 equiv 1, 2^2 equiv 4,3^3 equiv 1,4^2 equiv 0,5^2 equiv 1,6^2 equiv 4,7^2 equiv 1, $$
so all squares are $0,1$ or $4 pmod{8}$. Hence anything that is $6,7 pmod{8}$ cannot be a sum of two squares. (and anything that is $7 pmod{8}$ is not even a sum of three squares. Four squares, on the other hand, are enough for anything sufficiently large - this is the solution to Waring's problem for squares)
In fact all Pythagorean triples are given by $((m^2+n^2),2mn,(m^2-n^2))$ for integer $m,n$.
$endgroup$
add a comment |
$begingroup$
I'm going to be more general, and cover all integers that can be expressed as a sum or difference of squares.
We start with the difference.
Suppose $n$ is an integer with factors $k$ and $m$, one of which could be $1$. Then if
$$n = a^2-b^2 = (a+b)(a-b), $$
you need to solve the equations
$$ a+b = k \
a-b = m, $$
so $a=(k+m)/2$, $b=(k-m)/2$. Therefore you can express a number as the difference of two squares if, and only if, you can find a factorisation into two factors whose sum and difference is even. This can only occur if the factors are both odd, or both even.
Since 1 is an odd number, if $n$ is odd we can use $n=n times 1$, so all odd numbers are so expressible. Hence, looking modulo 4, the residue classes $n equiv 1,3 pmod{4}$ are covered. $n equiv 0 pmod{4}$ is also obvious since $n = 2 times 2 (n/4)$. However, if $n=4k+2=2(2k+1)$, this cannot work.
Now, what about a sum of two squares? Working modulo $8$, the squares are
$$ 0^2 equiv 0, 1^2 equiv 1, 2^2 equiv 4,3^3 equiv 1,4^2 equiv 0,5^2 equiv 1,6^2 equiv 4,7^2 equiv 1, $$
so all squares are $0,1$ or $4 pmod{8}$. Hence anything that is $6,7 pmod{8}$ cannot be a sum of two squares. (and anything that is $7 pmod{8}$ is not even a sum of three squares. Four squares, on the other hand, are enough for anything sufficiently large - this is the solution to Waring's problem for squares)
In fact all Pythagorean triples are given by $((m^2+n^2),2mn,(m^2-n^2))$ for integer $m,n$.
$endgroup$
I'm going to be more general, and cover all integers that can be expressed as a sum or difference of squares.
We start with the difference.
Suppose $n$ is an integer with factors $k$ and $m$, one of which could be $1$. Then if
$$n = a^2-b^2 = (a+b)(a-b), $$
you need to solve the equations
$$ a+b = k \
a-b = m, $$
so $a=(k+m)/2$, $b=(k-m)/2$. Therefore you can express a number as the difference of two squares if, and only if, you can find a factorisation into two factors whose sum and difference is even. This can only occur if the factors are both odd, or both even.
Since 1 is an odd number, if $n$ is odd we can use $n=n times 1$, so all odd numbers are so expressible. Hence, looking modulo 4, the residue classes $n equiv 1,3 pmod{4}$ are covered. $n equiv 0 pmod{4}$ is also obvious since $n = 2 times 2 (n/4)$. However, if $n=4k+2=2(2k+1)$, this cannot work.
Now, what about a sum of two squares? Working modulo $8$, the squares are
$$ 0^2 equiv 0, 1^2 equiv 1, 2^2 equiv 4,3^3 equiv 1,4^2 equiv 0,5^2 equiv 1,6^2 equiv 4,7^2 equiv 1, $$
so all squares are $0,1$ or $4 pmod{8}$. Hence anything that is $6,7 pmod{8}$ cannot be a sum of two squares. (and anything that is $7 pmod{8}$ is not even a sum of three squares. Four squares, on the other hand, are enough for anything sufficiently large - this is the solution to Waring's problem for squares)
In fact all Pythagorean triples are given by $((m^2+n^2),2mn,(m^2-n^2))$ for integer $m,n$.
answered Apr 12 '15 at 1:28


ChappersChappers
55.9k74192
55.9k74192
add a comment |
add a comment |
$begingroup$
Even more is true: a squared integer can be expressed as the difference of two squared integers in as many ways as there are factorisations of the squared integer into $2$ unequal factors of the same parity. The case $n=2$ in Fermat's Last Theorem is indeed very special.
Example:
begin{aligned} 12times 12 &= 2times 72 = 37times3 7 - 35times 35\
&= 4times 36 = 20times 20 - 16times 16\
&= 6times 24 = 15times 15 - 9times 9\
&= 8times 18 = 13times 13 - 5times 5.
end{aligned}
For primes and even semi-primes ($2times$odd prime), the expression is unique and consists of consecutive integers in the former case and of integers which differ by two in the latter (e.g. $5times5= 13times13 - 12times12$ and $10times 10= 26times 26 -24times 24.$
This also implies immediately that if $x < y < z,; y$ cannot be a prime.
$endgroup$
add a comment |
$begingroup$
Even more is true: a squared integer can be expressed as the difference of two squared integers in as many ways as there are factorisations of the squared integer into $2$ unequal factors of the same parity. The case $n=2$ in Fermat's Last Theorem is indeed very special.
Example:
begin{aligned} 12times 12 &= 2times 72 = 37times3 7 - 35times 35\
&= 4times 36 = 20times 20 - 16times 16\
&= 6times 24 = 15times 15 - 9times 9\
&= 8times 18 = 13times 13 - 5times 5.
end{aligned}
For primes and even semi-primes ($2times$odd prime), the expression is unique and consists of consecutive integers in the former case and of integers which differ by two in the latter (e.g. $5times5= 13times13 - 12times12$ and $10times 10= 26times 26 -24times 24.$
This also implies immediately that if $x < y < z,; y$ cannot be a prime.
$endgroup$
add a comment |
$begingroup$
Even more is true: a squared integer can be expressed as the difference of two squared integers in as many ways as there are factorisations of the squared integer into $2$ unequal factors of the same parity. The case $n=2$ in Fermat's Last Theorem is indeed very special.
Example:
begin{aligned} 12times 12 &= 2times 72 = 37times3 7 - 35times 35\
&= 4times 36 = 20times 20 - 16times 16\
&= 6times 24 = 15times 15 - 9times 9\
&= 8times 18 = 13times 13 - 5times 5.
end{aligned}
For primes and even semi-primes ($2times$odd prime), the expression is unique and consists of consecutive integers in the former case and of integers which differ by two in the latter (e.g. $5times5= 13times13 - 12times12$ and $10times 10= 26times 26 -24times 24.$
This also implies immediately that if $x < y < z,; y$ cannot be a prime.
$endgroup$
Even more is true: a squared integer can be expressed as the difference of two squared integers in as many ways as there are factorisations of the squared integer into $2$ unequal factors of the same parity. The case $n=2$ in Fermat's Last Theorem is indeed very special.
Example:
begin{aligned} 12times 12 &= 2times 72 = 37times3 7 - 35times 35\
&= 4times 36 = 20times 20 - 16times 16\
&= 6times 24 = 15times 15 - 9times 9\
&= 8times 18 = 13times 13 - 5times 5.
end{aligned}
For primes and even semi-primes ($2times$odd prime), the expression is unique and consists of consecutive integers in the former case and of integers which differ by two in the latter (e.g. $5times5= 13times13 - 12times12$ and $10times 10= 26times 26 -24times 24.$
This also implies immediately that if $x < y < z,; y$ cannot be a prime.
edited Jan 14 at 11:54
user376343
3,7883828
3,7883828
answered Jan 14 at 11:36
user634642
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1230796%2fcan-every-perfect-square-exist-as-the-sum-or-difference-of-two-perfect-squares%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
If $z=1$ I think you'll have a problem assuming $x, y>0$.
$endgroup$
– TravisJ
Apr 12 '15 at 1:07
$begingroup$
Ah, right, I shall edit that
$endgroup$
– CuriousMathematics
Apr 12 '15 at 1:07
3
$begingroup$
Let $y=0$ and $x=z$.
$endgroup$
– George V. Williams
Apr 12 '15 at 1:14