The rigorousness of this proof about greatest common divisors.
$begingroup$
My task is to prove that gcd(n, n+1)=1 for all n>0.
It is obvious that 1 is a common divisor of both n and n+1 since
$$
1|n → 1x=n
$$
if x=n, and
$$
1|n+1 → 1y=n+1
$$
if y=n+1.
To prove that 1 is the greatest common divisor, I did as follows:
From the integers n and n+1 the other must be an even integer, and the other an odd integer. Since one of them must be odd, the gcd of the two can't be an even number, because the odd one doesn't have any even divisors. If the gcd of the two were an odd integer greater than 1, for example 3, then
$$
3|n → 3x=n → n=3x
$$
and
$$
3|n+1 → 3y=n+1 → n=3y-1,
$$
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1.
Is the part about the odd integers greater than 1 rigorous enough for a proper proof? I don't think it is; how would you prove this more rigorously? If anyone has any other improvement ideas of any kind, they're more than welcome!
elementary-number-theory proof-writing
$endgroup$
add a comment |
$begingroup$
My task is to prove that gcd(n, n+1)=1 for all n>0.
It is obvious that 1 is a common divisor of both n and n+1 since
$$
1|n → 1x=n
$$
if x=n, and
$$
1|n+1 → 1y=n+1
$$
if y=n+1.
To prove that 1 is the greatest common divisor, I did as follows:
From the integers n and n+1 the other must be an even integer, and the other an odd integer. Since one of them must be odd, the gcd of the two can't be an even number, because the odd one doesn't have any even divisors. If the gcd of the two were an odd integer greater than 1, for example 3, then
$$
3|n → 3x=n → n=3x
$$
and
$$
3|n+1 → 3y=n+1 → n=3y-1,
$$
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1.
Is the part about the odd integers greater than 1 rigorous enough for a proper proof? I don't think it is; how would you prove this more rigorously? If anyone has any other improvement ideas of any kind, they're more than welcome!
elementary-number-theory proof-writing
$endgroup$
$begingroup$
Seems unnecessarily complex. If $d|a$ and $d|b$ then $d|(a-b)$. Hence, in your case, $d|(n+1-n)implies d|1$. Thus the only positive common divisor of $n$ and $n+1$ is 1.
$endgroup$
– lulu
Nov 8 '15 at 22:34
$begingroup$
$gcd(a,b)le|a-b|$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:36
$begingroup$
It should be noted that the solution OP has given really is just a long-winded version of the version @lulu and I have given
$endgroup$
– ASKASK
Nov 8 '15 at 22:37
$begingroup$
(obv) for $ane b$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:46
add a comment |
$begingroup$
My task is to prove that gcd(n, n+1)=1 for all n>0.
It is obvious that 1 is a common divisor of both n and n+1 since
$$
1|n → 1x=n
$$
if x=n, and
$$
1|n+1 → 1y=n+1
$$
if y=n+1.
To prove that 1 is the greatest common divisor, I did as follows:
From the integers n and n+1 the other must be an even integer, and the other an odd integer. Since one of them must be odd, the gcd of the two can't be an even number, because the odd one doesn't have any even divisors. If the gcd of the two were an odd integer greater than 1, for example 3, then
$$
3|n → 3x=n → n=3x
$$
and
$$
3|n+1 → 3y=n+1 → n=3y-1,
$$
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1.
Is the part about the odd integers greater than 1 rigorous enough for a proper proof? I don't think it is; how would you prove this more rigorously? If anyone has any other improvement ideas of any kind, they're more than welcome!
elementary-number-theory proof-writing
$endgroup$
My task is to prove that gcd(n, n+1)=1 for all n>0.
It is obvious that 1 is a common divisor of both n and n+1 since
$$
1|n → 1x=n
$$
if x=n, and
$$
1|n+1 → 1y=n+1
$$
if y=n+1.
To prove that 1 is the greatest common divisor, I did as follows:
From the integers n and n+1 the other must be an even integer, and the other an odd integer. Since one of them must be odd, the gcd of the two can't be an even number, because the odd one doesn't have any even divisors. If the gcd of the two were an odd integer greater than 1, for example 3, then
$$
3|n → 3x=n → n=3x
$$
and
$$
3|n+1 → 3y=n+1 → n=3y-1,
$$
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1.
Is the part about the odd integers greater than 1 rigorous enough for a proper proof? I don't think it is; how would you prove this more rigorously? If anyone has any other improvement ideas of any kind, they're more than welcome!
elementary-number-theory proof-writing
elementary-number-theory proof-writing
asked Nov 8 '15 at 22:31
user265554user265554
1,3374815
1,3374815
$begingroup$
Seems unnecessarily complex. If $d|a$ and $d|b$ then $d|(a-b)$. Hence, in your case, $d|(n+1-n)implies d|1$. Thus the only positive common divisor of $n$ and $n+1$ is 1.
$endgroup$
– lulu
Nov 8 '15 at 22:34
$begingroup$
$gcd(a,b)le|a-b|$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:36
$begingroup$
It should be noted that the solution OP has given really is just a long-winded version of the version @lulu and I have given
$endgroup$
– ASKASK
Nov 8 '15 at 22:37
$begingroup$
(obv) for $ane b$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:46
add a comment |
$begingroup$
Seems unnecessarily complex. If $d|a$ and $d|b$ then $d|(a-b)$. Hence, in your case, $d|(n+1-n)implies d|1$. Thus the only positive common divisor of $n$ and $n+1$ is 1.
$endgroup$
– lulu
Nov 8 '15 at 22:34
$begingroup$
$gcd(a,b)le|a-b|$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:36
$begingroup$
It should be noted that the solution OP has given really is just a long-winded version of the version @lulu and I have given
$endgroup$
– ASKASK
Nov 8 '15 at 22:37
$begingroup$
(obv) for $ane b$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:46
$begingroup$
Seems unnecessarily complex. If $d|a$ and $d|b$ then $d|(a-b)$. Hence, in your case, $d|(n+1-n)implies d|1$. Thus the only positive common divisor of $n$ and $n+1$ is 1.
$endgroup$
– lulu
Nov 8 '15 at 22:34
$begingroup$
Seems unnecessarily complex. If $d|a$ and $d|b$ then $d|(a-b)$. Hence, in your case, $d|(n+1-n)implies d|1$. Thus the only positive common divisor of $n$ and $n+1$ is 1.
$endgroup$
– lulu
Nov 8 '15 at 22:34
$begingroup$
$gcd(a,b)le|a-b|$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:36
$begingroup$
$gcd(a,b)le|a-b|$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:36
$begingroup$
It should be noted that the solution OP has given really is just a long-winded version of the version @lulu and I have given
$endgroup$
– ASKASK
Nov 8 '15 at 22:37
$begingroup$
It should be noted that the solution OP has given really is just a long-winded version of the version @lulu and I have given
$endgroup$
– ASKASK
Nov 8 '15 at 22:37
$begingroup$
(obv) for $ane b$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:46
$begingroup$
(obv) for $ane b$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:46
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
If you know that $a mid b$ and $a mid c$ implies $a mid b pm c$, then this theorem is easier than you have laid it out to be. Let $a$ be any common divisor of $n$ and $n+1$. Then $a mid (n+1)-n$, so $a mid 1$. Do you think you can take it from here?
In regards to the first part, just note that if $ap=b$ and $aq=c$, then $b pm c = a(p pm q)$.
$endgroup$
add a comment |
$begingroup$
"3|n→3x=n→n=3x
and
3|n+1→3y=n+1→n=3y−1,
,
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1."
I really hate to say this, but if you can state that there are no integers that solve these, you could just have easily have stated "There are no integers other than 1 that divide both n and n+1" and saved yourself a lot of trouble.
In fact, that's the gyst of the matter, the only number that divides both n and n+1 is 1.
So how do you prove that? If you accept that if a|b and a|c then a|(b - c), it is easy, as a|n+1 and a|n implies a|(n+1 -n) = 1. And if a|1 = 1. So gcd(n, n+1) = 1.
If you don't know that if a|b and a|c then a|(b - c). Well you know that if a|n then n = a*m for some m. So $frac {n+ 1}{a} = m + frac{1}{a}$. If a > 1 then this is not an integer and $a$ does not divide $n + 1$. So no integer other than 1 divides both n and n + 1. So gcd(n, n+1) = 1.
$endgroup$
$begingroup$
Er... no positve integer other than 1 divides both n and n+1.....
$endgroup$
– fleablood
Nov 8 '15 at 22:58
add a comment |
$begingroup$
If $n$ is even then $n+1$ is odd, therefore $gcd(n,n+1)=1$
Analogously, if $n$ is odd then $n+1$ is even, therefore $gcd(n,n+1)=1$.
Consecutive Numbers are coprime
and
https://proofwiki.org/wiki/Consecutive_Integers_are_Coprime
$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%2f1519825%2fthe-rigorousness-of-this-proof-about-greatest-common-divisors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
If you know that $a mid b$ and $a mid c$ implies $a mid b pm c$, then this theorem is easier than you have laid it out to be. Let $a$ be any common divisor of $n$ and $n+1$. Then $a mid (n+1)-n$, so $a mid 1$. Do you think you can take it from here?
In regards to the first part, just note that if $ap=b$ and $aq=c$, then $b pm c = a(p pm q)$.
$endgroup$
add a comment |
$begingroup$
If you know that $a mid b$ and $a mid c$ implies $a mid b pm c$, then this theorem is easier than you have laid it out to be. Let $a$ be any common divisor of $n$ and $n+1$. Then $a mid (n+1)-n$, so $a mid 1$. Do you think you can take it from here?
In regards to the first part, just note that if $ap=b$ and $aq=c$, then $b pm c = a(p pm q)$.
$endgroup$
add a comment |
$begingroup$
If you know that $a mid b$ and $a mid c$ implies $a mid b pm c$, then this theorem is easier than you have laid it out to be. Let $a$ be any common divisor of $n$ and $n+1$. Then $a mid (n+1)-n$, so $a mid 1$. Do you think you can take it from here?
In regards to the first part, just note that if $ap=b$ and $aq=c$, then $b pm c = a(p pm q)$.
$endgroup$
If you know that $a mid b$ and $a mid c$ implies $a mid b pm c$, then this theorem is easier than you have laid it out to be. Let $a$ be any common divisor of $n$ and $n+1$. Then $a mid (n+1)-n$, so $a mid 1$. Do you think you can take it from here?
In regards to the first part, just note that if $ap=b$ and $aq=c$, then $b pm c = a(p pm q)$.
answered Nov 8 '15 at 22:36
ASKASKASKASK
5,87931836
5,87931836
add a comment |
add a comment |
$begingroup$
"3|n→3x=n→n=3x
and
3|n+1→3y=n+1→n=3y−1,
,
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1."
I really hate to say this, but if you can state that there are no integers that solve these, you could just have easily have stated "There are no integers other than 1 that divide both n and n+1" and saved yourself a lot of trouble.
In fact, that's the gyst of the matter, the only number that divides both n and n+1 is 1.
So how do you prove that? If you accept that if a|b and a|c then a|(b - c), it is easy, as a|n+1 and a|n implies a|(n+1 -n) = 1. And if a|1 = 1. So gcd(n, n+1) = 1.
If you don't know that if a|b and a|c then a|(b - c). Well you know that if a|n then n = a*m for some m. So $frac {n+ 1}{a} = m + frac{1}{a}$. If a > 1 then this is not an integer and $a$ does not divide $n + 1$. So no integer other than 1 divides both n and n + 1. So gcd(n, n+1) = 1.
$endgroup$
$begingroup$
Er... no positve integer other than 1 divides both n and n+1.....
$endgroup$
– fleablood
Nov 8 '15 at 22:58
add a comment |
$begingroup$
"3|n→3x=n→n=3x
and
3|n+1→3y=n+1→n=3y−1,
,
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1."
I really hate to say this, but if you can state that there are no integers that solve these, you could just have easily have stated "There are no integers other than 1 that divide both n and n+1" and saved yourself a lot of trouble.
In fact, that's the gyst of the matter, the only number that divides both n and n+1 is 1.
So how do you prove that? If you accept that if a|b and a|c then a|(b - c), it is easy, as a|n+1 and a|n implies a|(n+1 -n) = 1. And if a|1 = 1. So gcd(n, n+1) = 1.
If you don't know that if a|b and a|c then a|(b - c). Well you know that if a|n then n = a*m for some m. So $frac {n+ 1}{a} = m + frac{1}{a}$. If a > 1 then this is not an integer and $a$ does not divide $n + 1$. So no integer other than 1 divides both n and n + 1. So gcd(n, n+1) = 1.
$endgroup$
$begingroup$
Er... no positve integer other than 1 divides both n and n+1.....
$endgroup$
– fleablood
Nov 8 '15 at 22:58
add a comment |
$begingroup$
"3|n→3x=n→n=3x
and
3|n+1→3y=n+1→n=3y−1,
,
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1."
I really hate to say this, but if you can state that there are no integers that solve these, you could just have easily have stated "There are no integers other than 1 that divide both n and n+1" and saved yourself a lot of trouble.
In fact, that's the gyst of the matter, the only number that divides both n and n+1 is 1.
So how do you prove that? If you accept that if a|b and a|c then a|(b - c), it is easy, as a|n+1 and a|n implies a|(n+1 -n) = 1. And if a|1 = 1. So gcd(n, n+1) = 1.
If you don't know that if a|b and a|c then a|(b - c). Well you know that if a|n then n = a*m for some m. So $frac {n+ 1}{a} = m + frac{1}{a}$. If a > 1 then this is not an integer and $a$ does not divide $n + 1$. So no integer other than 1 divides both n and n + 1. So gcd(n, n+1) = 1.
$endgroup$
"3|n→3x=n→n=3x
and
3|n+1→3y=n+1→n=3y−1,
,
and there are no integers x and y such that both of these equations would hold at the same time. This happens with every odd integer larger than 1."
I really hate to say this, but if you can state that there are no integers that solve these, you could just have easily have stated "There are no integers other than 1 that divide both n and n+1" and saved yourself a lot of trouble.
In fact, that's the gyst of the matter, the only number that divides both n and n+1 is 1.
So how do you prove that? If you accept that if a|b and a|c then a|(b - c), it is easy, as a|n+1 and a|n implies a|(n+1 -n) = 1. And if a|1 = 1. So gcd(n, n+1) = 1.
If you don't know that if a|b and a|c then a|(b - c). Well you know that if a|n then n = a*m for some m. So $frac {n+ 1}{a} = m + frac{1}{a}$. If a > 1 then this is not an integer and $a$ does not divide $n + 1$. So no integer other than 1 divides both n and n + 1. So gcd(n, n+1) = 1.
answered Nov 8 '15 at 22:57
fleabloodfleablood
68.8k22685
68.8k22685
$begingroup$
Er... no positve integer other than 1 divides both n and n+1.....
$endgroup$
– fleablood
Nov 8 '15 at 22:58
add a comment |
$begingroup$
Er... no positve integer other than 1 divides both n and n+1.....
$endgroup$
– fleablood
Nov 8 '15 at 22:58
$begingroup$
Er... no positve integer other than 1 divides both n and n+1.....
$endgroup$
– fleablood
Nov 8 '15 at 22:58
$begingroup$
Er... no positve integer other than 1 divides both n and n+1.....
$endgroup$
– fleablood
Nov 8 '15 at 22:58
add a comment |
$begingroup$
If $n$ is even then $n+1$ is odd, therefore $gcd(n,n+1)=1$
Analogously, if $n$ is odd then $n+1$ is even, therefore $gcd(n,n+1)=1$.
Consecutive Numbers are coprime
and
https://proofwiki.org/wiki/Consecutive_Integers_are_Coprime
$endgroup$
add a comment |
$begingroup$
If $n$ is even then $n+1$ is odd, therefore $gcd(n,n+1)=1$
Analogously, if $n$ is odd then $n+1$ is even, therefore $gcd(n,n+1)=1$.
Consecutive Numbers are coprime
and
https://proofwiki.org/wiki/Consecutive_Integers_are_Coprime
$endgroup$
add a comment |
$begingroup$
If $n$ is even then $n+1$ is odd, therefore $gcd(n,n+1)=1$
Analogously, if $n$ is odd then $n+1$ is even, therefore $gcd(n,n+1)=1$.
Consecutive Numbers are coprime
and
https://proofwiki.org/wiki/Consecutive_Integers_are_Coprime
$endgroup$
If $n$ is even then $n+1$ is odd, therefore $gcd(n,n+1)=1$
Analogously, if $n$ is odd then $n+1$ is even, therefore $gcd(n,n+1)=1$.
Consecutive Numbers are coprime
and
https://proofwiki.org/wiki/Consecutive_Integers_are_Coprime
answered Jan 3 at 1:35


Julio Trujillo GonzalezJulio Trujillo Gonzalez
856
856
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%2f1519825%2fthe-rigorousness-of-this-proof-about-greatest-common-divisors%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$
Seems unnecessarily complex. If $d|a$ and $d|b$ then $d|(a-b)$. Hence, in your case, $d|(n+1-n)implies d|1$. Thus the only positive common divisor of $n$ and $n+1$ is 1.
$endgroup$
– lulu
Nov 8 '15 at 22:34
$begingroup$
$gcd(a,b)le|a-b|$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:36
$begingroup$
It should be noted that the solution OP has given really is just a long-winded version of the version @lulu and I have given
$endgroup$
– ASKASK
Nov 8 '15 at 22:37
$begingroup$
(obv) for $ane b$
$endgroup$
– JonMark Perry
Nov 8 '15 at 22:46