Efficiently computing GCDs in $mathbb{Z}[(1+sqrt{-19})/2]$
$begingroup$
The ring $mathbb{Z}[(1+sqrt{-19})/2]$ is a PID; hence any two elements have a GCD. How you would compute their GCD?
In a Euclidean domain, you would use the Euclidean algorithm. But $mathbb{Z}[(1+sqrt{-19})/2]$ is not Euclidean.
If you knew prime factorizations of the two elements, you could immediately compute the GCD. But surely factoring in $mathbb{Z}[(1+sqrt{-19})/2]$ is at least as hard as factoring in $mathbb{Z}$. At least for now, we do not know how to do this efficiently.
So, is there an efficient algorithm to compute GCD?
(You may use the de facto interpretation of "efficient" as "polynomial time".)
abstract-algebra ring-theory algorithms
$endgroup$
add a comment |
$begingroup$
The ring $mathbb{Z}[(1+sqrt{-19})/2]$ is a PID; hence any two elements have a GCD. How you would compute their GCD?
In a Euclidean domain, you would use the Euclidean algorithm. But $mathbb{Z}[(1+sqrt{-19})/2]$ is not Euclidean.
If you knew prime factorizations of the two elements, you could immediately compute the GCD. But surely factoring in $mathbb{Z}[(1+sqrt{-19})/2]$ is at least as hard as factoring in $mathbb{Z}$. At least for now, we do not know how to do this efficiently.
So, is there an efficient algorithm to compute GCD?
(You may use the de facto interpretation of "efficient" as "polynomial time".)
abstract-algebra ring-theory algorithms
$endgroup$
$begingroup$
It is possible to use the Dedekind-Hasse criterion for devising an algorithm; see arxiv.org/pdf/1205.1147.pdf
$endgroup$
– franz lemmermeyer
Feb 4 at 15:28
add a comment |
$begingroup$
The ring $mathbb{Z}[(1+sqrt{-19})/2]$ is a PID; hence any two elements have a GCD. How you would compute their GCD?
In a Euclidean domain, you would use the Euclidean algorithm. But $mathbb{Z}[(1+sqrt{-19})/2]$ is not Euclidean.
If you knew prime factorizations of the two elements, you could immediately compute the GCD. But surely factoring in $mathbb{Z}[(1+sqrt{-19})/2]$ is at least as hard as factoring in $mathbb{Z}$. At least for now, we do not know how to do this efficiently.
So, is there an efficient algorithm to compute GCD?
(You may use the de facto interpretation of "efficient" as "polynomial time".)
abstract-algebra ring-theory algorithms
$endgroup$
The ring $mathbb{Z}[(1+sqrt{-19})/2]$ is a PID; hence any two elements have a GCD. How you would compute their GCD?
In a Euclidean domain, you would use the Euclidean algorithm. But $mathbb{Z}[(1+sqrt{-19})/2]$ is not Euclidean.
If you knew prime factorizations of the two elements, you could immediately compute the GCD. But surely factoring in $mathbb{Z}[(1+sqrt{-19})/2]$ is at least as hard as factoring in $mathbb{Z}$. At least for now, we do not know how to do this efficiently.
So, is there an efficient algorithm to compute GCD?
(You may use the de facto interpretation of "efficient" as "polynomial time".)
abstract-algebra ring-theory algorithms
abstract-algebra ring-theory algorithms
asked Mar 7 '15 at 3:35
echinodermataechinodermata
2,52911228
2,52911228
$begingroup$
It is possible to use the Dedekind-Hasse criterion for devising an algorithm; see arxiv.org/pdf/1205.1147.pdf
$endgroup$
– franz lemmermeyer
Feb 4 at 15:28
add a comment |
$begingroup$
It is possible to use the Dedekind-Hasse criterion for devising an algorithm; see arxiv.org/pdf/1205.1147.pdf
$endgroup$
– franz lemmermeyer
Feb 4 at 15:28
$begingroup$
It is possible to use the Dedekind-Hasse criterion for devising an algorithm; see arxiv.org/pdf/1205.1147.pdf
$endgroup$
– franz lemmermeyer
Feb 4 at 15:28
$begingroup$
It is possible to use the Dedekind-Hasse criterion for devising an algorithm; see arxiv.org/pdf/1205.1147.pdf
$endgroup$
– franz lemmermeyer
Feb 4 at 15:28
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Not a complete answer, just trying to draw attention to your question.
Humans such as yourself generally find factorization in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ to be more difficult than factorization in $mathbb{Z}$ because $mathbb{Z}$ is familiar and $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ is unfamiliar.
So if I was bedraggled by human failings, I would see about how to leverage my familiarity with one to my advantage in the other. The way is with norms.
If the norms of two numbers in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ are coprime, then the two numbers must be coprime as well. Example: $$Nleft( frac{3 + sqrt{-19}}{2} right) = 7$$ and $$Nleft( frac{9 + sqrt{-19}}{2} right) = 25,$$ so since $gcd(7, 25) = 1$, this must mean that $$gcdleft( frac{3 + sqrt{-19}}{2}, frac{9 + sqrt{-19}}{2} right) = 1$$ as well.
But if the norms do have a common divisor, then it's a little more difficult, for humans anyway. Example: $$gcdleft( frac{3 + sqrt{-19}}{2}, 11 + sqrt{-19} right) = ???$$
$endgroup$
add a comment |
$begingroup$
The last time I wanted to do this, I used the $O(n^2)$ algorithm described in Agarwal and Frandsen. I think I recall that your specific case is easier because $-19 < 0$.
$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%2f1179085%2fefficiently-computing-gcds-in-mathbbz1-sqrt-19-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Not a complete answer, just trying to draw attention to your question.
Humans such as yourself generally find factorization in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ to be more difficult than factorization in $mathbb{Z}$ because $mathbb{Z}$ is familiar and $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ is unfamiliar.
So if I was bedraggled by human failings, I would see about how to leverage my familiarity with one to my advantage in the other. The way is with norms.
If the norms of two numbers in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ are coprime, then the two numbers must be coprime as well. Example: $$Nleft( frac{3 + sqrt{-19}}{2} right) = 7$$ and $$Nleft( frac{9 + sqrt{-19}}{2} right) = 25,$$ so since $gcd(7, 25) = 1$, this must mean that $$gcdleft( frac{3 + sqrt{-19}}{2}, frac{9 + sqrt{-19}}{2} right) = 1$$ as well.
But if the norms do have a common divisor, then it's a little more difficult, for humans anyway. Example: $$gcdleft( frac{3 + sqrt{-19}}{2}, 11 + sqrt{-19} right) = ???$$
$endgroup$
add a comment |
$begingroup$
Not a complete answer, just trying to draw attention to your question.
Humans such as yourself generally find factorization in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ to be more difficult than factorization in $mathbb{Z}$ because $mathbb{Z}$ is familiar and $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ is unfamiliar.
So if I was bedraggled by human failings, I would see about how to leverage my familiarity with one to my advantage in the other. The way is with norms.
If the norms of two numbers in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ are coprime, then the two numbers must be coprime as well. Example: $$Nleft( frac{3 + sqrt{-19}}{2} right) = 7$$ and $$Nleft( frac{9 + sqrt{-19}}{2} right) = 25,$$ so since $gcd(7, 25) = 1$, this must mean that $$gcdleft( frac{3 + sqrt{-19}}{2}, frac{9 + sqrt{-19}}{2} right) = 1$$ as well.
But if the norms do have a common divisor, then it's a little more difficult, for humans anyway. Example: $$gcdleft( frac{3 + sqrt{-19}}{2}, 11 + sqrt{-19} right) = ???$$
$endgroup$
add a comment |
$begingroup$
Not a complete answer, just trying to draw attention to your question.
Humans such as yourself generally find factorization in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ to be more difficult than factorization in $mathbb{Z}$ because $mathbb{Z}$ is familiar and $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ is unfamiliar.
So if I was bedraggled by human failings, I would see about how to leverage my familiarity with one to my advantage in the other. The way is with norms.
If the norms of two numbers in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ are coprime, then the two numbers must be coprime as well. Example: $$Nleft( frac{3 + sqrt{-19}}{2} right) = 7$$ and $$Nleft( frac{9 + sqrt{-19}}{2} right) = 25,$$ so since $gcd(7, 25) = 1$, this must mean that $$gcdleft( frac{3 + sqrt{-19}}{2}, frac{9 + sqrt{-19}}{2} right) = 1$$ as well.
But if the norms do have a common divisor, then it's a little more difficult, for humans anyway. Example: $$gcdleft( frac{3 + sqrt{-19}}{2}, 11 + sqrt{-19} right) = ???$$
$endgroup$
Not a complete answer, just trying to draw attention to your question.
Humans such as yourself generally find factorization in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ to be more difficult than factorization in $mathbb{Z}$ because $mathbb{Z}$ is familiar and $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ is unfamiliar.
So if I was bedraggled by human failings, I would see about how to leverage my familiarity with one to my advantage in the other. The way is with norms.
If the norms of two numbers in $mathbb{Z}left[frac{1 + sqrt{-19}}{2}right]$ are coprime, then the two numbers must be coprime as well. Example: $$Nleft( frac{3 + sqrt{-19}}{2} right) = 7$$ and $$Nleft( frac{9 + sqrt{-19}}{2} right) = 25,$$ so since $gcd(7, 25) = 1$, this must mean that $$gcdleft( frac{3 + sqrt{-19}}{2}, frac{9 + sqrt{-19}}{2} right) = 1$$ as well.
But if the norms do have a common divisor, then it's a little more difficult, for humans anyway. Example: $$gcdleft( frac{3 + sqrt{-19}}{2}, 11 + sqrt{-19} right) = ???$$
answered Dec 20 '18 at 23:26
The Short OneThe Short One
5941625
5941625
add a comment |
add a comment |
$begingroup$
The last time I wanted to do this, I used the $O(n^2)$ algorithm described in Agarwal and Frandsen. I think I recall that your specific case is easier because $-19 < 0$.
$endgroup$
add a comment |
$begingroup$
The last time I wanted to do this, I used the $O(n^2)$ algorithm described in Agarwal and Frandsen. I think I recall that your specific case is easier because $-19 < 0$.
$endgroup$
add a comment |
$begingroup$
The last time I wanted to do this, I used the $O(n^2)$ algorithm described in Agarwal and Frandsen. I think I recall that your specific case is easier because $-19 < 0$.
$endgroup$
The last time I wanted to do this, I used the $O(n^2)$ algorithm described in Agarwal and Frandsen. I think I recall that your specific case is easier because $-19 < 0$.
answered Dec 21 '18 at 0:59
Eric TowersEric Towers
33k22370
33k22370
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%2f1179085%2fefficiently-computing-gcds-in-mathbbz1-sqrt-19-2%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$
It is possible to use the Dedekind-Hasse criterion for devising an algorithm; see arxiv.org/pdf/1205.1147.pdf
$endgroup$
– franz lemmermeyer
Feb 4 at 15:28