How to show the relationship between the two sequences in Pollard's $rho$ factoring algorithm?
$begingroup$
$DeclareMathOperator{mdc}{gcd}$This is about Pollard's $rho$ factoring algorithm. I'd like to show the relationship between the sequence of numbers modulo $p$ and the sequence of numbers modulo $N$, the composite we wish to factor.
My shot at the problem is this possible theorem below. I'm not convinced it's all correct.
Theorem. Let $N=pq:$ be the product of two primes $p, q$. Let $(N_k)$ be a sequence of random numbers reduced modulo $N$. Let $(P_k)$ be a sequence defined by reducing each element of $(N_k)$ modulo $p$. If there exists natural numbers $i, j$ such that $i neq j$ and $p_i = p_j in (P_k)$ then it follows that
$$1 < mdc(|n_i - n_j|, N) leq N,$$ where $n_i, n_j in (N_k).$
Proof. Suppose there is $i,j$ naturals such that $i neq j$ and $p_i = p_j in (P_k)$. Divide both $n_i$ and $n_j$ by $p.$ By the division algorithm, we get
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_j.
end{align*}
Since $p_i = p_j,$ we may rewrite these equations as
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_i.
end{align*}
Subtracting the second equation from the first, we get
begin{align*}
n_i - n_j &= (q_1 p + p_i) -(q_2 p + p_i)\
&= q_1 p - q_2 p\
&= (q_1 - q_2) p,
end{align*}
implying $p$ is a factor of $n_i - n_j$ e hence of $|n_i - n_j|$.
Since $p$ is prime, then it's clear that $p > 1$. Therefore, $1 < mdc(|n_i-n_j|,N) leq N$, as desired. QED.
My main concern is whether the result is correct. I'll appreciate any style comments regarding clarity and elegance. Thank you!
proof-verification proof-writing alternative-proof
$endgroup$
add a comment |
$begingroup$
$DeclareMathOperator{mdc}{gcd}$This is about Pollard's $rho$ factoring algorithm. I'd like to show the relationship between the sequence of numbers modulo $p$ and the sequence of numbers modulo $N$, the composite we wish to factor.
My shot at the problem is this possible theorem below. I'm not convinced it's all correct.
Theorem. Let $N=pq:$ be the product of two primes $p, q$. Let $(N_k)$ be a sequence of random numbers reduced modulo $N$. Let $(P_k)$ be a sequence defined by reducing each element of $(N_k)$ modulo $p$. If there exists natural numbers $i, j$ such that $i neq j$ and $p_i = p_j in (P_k)$ then it follows that
$$1 < mdc(|n_i - n_j|, N) leq N,$$ where $n_i, n_j in (N_k).$
Proof. Suppose there is $i,j$ naturals such that $i neq j$ and $p_i = p_j in (P_k)$. Divide both $n_i$ and $n_j$ by $p.$ By the division algorithm, we get
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_j.
end{align*}
Since $p_i = p_j,$ we may rewrite these equations as
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_i.
end{align*}
Subtracting the second equation from the first, we get
begin{align*}
n_i - n_j &= (q_1 p + p_i) -(q_2 p + p_i)\
&= q_1 p - q_2 p\
&= (q_1 - q_2) p,
end{align*}
implying $p$ is a factor of $n_i - n_j$ e hence of $|n_i - n_j|$.
Since $p$ is prime, then it's clear that $p > 1$. Therefore, $1 < mdc(|n_i-n_j|,N) leq N$, as desired. QED.
My main concern is whether the result is correct. I'll appreciate any style comments regarding clarity and elegance. Thank you!
proof-verification proof-writing alternative-proof
$endgroup$
add a comment |
$begingroup$
$DeclareMathOperator{mdc}{gcd}$This is about Pollard's $rho$ factoring algorithm. I'd like to show the relationship between the sequence of numbers modulo $p$ and the sequence of numbers modulo $N$, the composite we wish to factor.
My shot at the problem is this possible theorem below. I'm not convinced it's all correct.
Theorem. Let $N=pq:$ be the product of two primes $p, q$. Let $(N_k)$ be a sequence of random numbers reduced modulo $N$. Let $(P_k)$ be a sequence defined by reducing each element of $(N_k)$ modulo $p$. If there exists natural numbers $i, j$ such that $i neq j$ and $p_i = p_j in (P_k)$ then it follows that
$$1 < mdc(|n_i - n_j|, N) leq N,$$ where $n_i, n_j in (N_k).$
Proof. Suppose there is $i,j$ naturals such that $i neq j$ and $p_i = p_j in (P_k)$. Divide both $n_i$ and $n_j$ by $p.$ By the division algorithm, we get
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_j.
end{align*}
Since $p_i = p_j,$ we may rewrite these equations as
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_i.
end{align*}
Subtracting the second equation from the first, we get
begin{align*}
n_i - n_j &= (q_1 p + p_i) -(q_2 p + p_i)\
&= q_1 p - q_2 p\
&= (q_1 - q_2) p,
end{align*}
implying $p$ is a factor of $n_i - n_j$ e hence of $|n_i - n_j|$.
Since $p$ is prime, then it's clear that $p > 1$. Therefore, $1 < mdc(|n_i-n_j|,N) leq N$, as desired. QED.
My main concern is whether the result is correct. I'll appreciate any style comments regarding clarity and elegance. Thank you!
proof-verification proof-writing alternative-proof
$endgroup$
$DeclareMathOperator{mdc}{gcd}$This is about Pollard's $rho$ factoring algorithm. I'd like to show the relationship between the sequence of numbers modulo $p$ and the sequence of numbers modulo $N$, the composite we wish to factor.
My shot at the problem is this possible theorem below. I'm not convinced it's all correct.
Theorem. Let $N=pq:$ be the product of two primes $p, q$. Let $(N_k)$ be a sequence of random numbers reduced modulo $N$. Let $(P_k)$ be a sequence defined by reducing each element of $(N_k)$ modulo $p$. If there exists natural numbers $i, j$ such that $i neq j$ and $p_i = p_j in (P_k)$ then it follows that
$$1 < mdc(|n_i - n_j|, N) leq N,$$ where $n_i, n_j in (N_k).$
Proof. Suppose there is $i,j$ naturals such that $i neq j$ and $p_i = p_j in (P_k)$. Divide both $n_i$ and $n_j$ by $p.$ By the division algorithm, we get
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_j.
end{align*}
Since $p_i = p_j,$ we may rewrite these equations as
begin{align*}
n_i &= q_1 p + p_i\
n_j &= q_2 p + p_i.
end{align*}
Subtracting the second equation from the first, we get
begin{align*}
n_i - n_j &= (q_1 p + p_i) -(q_2 p + p_i)\
&= q_1 p - q_2 p\
&= (q_1 - q_2) p,
end{align*}
implying $p$ is a factor of $n_i - n_j$ e hence of $|n_i - n_j|$.
Since $p$ is prime, then it's clear that $p > 1$. Therefore, $1 < mdc(|n_i-n_j|,N) leq N$, as desired. QED.
My main concern is whether the result is correct. I'll appreciate any style comments regarding clarity and elegance. Thank you!
proof-verification proof-writing alternative-proof
proof-verification proof-writing alternative-proof
edited Jan 7 at 19:48
Luitpold Ambre
asked Jan 7 at 19:31
Luitpold AmbreLuitpold Ambre
135
135
add a comment |
add a comment |
0
active
oldest
votes
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%2f3065398%2fhow-to-show-the-relationship-between-the-two-sequences-in-pollards-rho-facto%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f3065398%2fhow-to-show-the-relationship-between-the-two-sequences-in-pollards-rho-facto%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