Why are these two groups not isomorphic?












0












$begingroup$


I am trying to understand a proof (from the German book "Einführung in die Kryptografie" by Johannes Buchmann) that there are at most $(n-1)/4$ non-witnesses against the primality of $n$ in the Miller-Rabin algorithm that are coprime to $n$.



The Miller-Rabin test is stated in the following way:



Let $s = max{r in mathbb{N}: 2^r text{ divides } n-1}$ and $d = (n-1)/2^s$.
If $n$ is a prime number and if $a$ is a number coprime to $n$ then



$$ a^d equiv 1 pmod{n} tag{A} $$



or there is a $r$ in the set ${0,1,ldots,s-1}$ such that



$$a^{2^rd} equiv -1 pmod{n} tag{B} $$



I have a problem with the following proof:



Let $n ge 3$ be an odd composite number. We want to estimate how many numbers $a in {0,1,ldots,s-1}$ exist for which $gcd(a,n-1) = 1$ and both $(A)$ and $(B)$ hold. If there is no such $a$ we are fi



We set the prime factorisation of $n$ to $n = prod_{pmid n} p^{e(p)}$.



The author considers the following two subgroups of $mathbb{Z}_n^{times}$
$$begin{align*}
K &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{n-1} equiv pm 1 pmod{p^{e(p)}} text{ for all primes $p$ such that } p|n}\
L &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{m} equiv pm 1 pmod{n}}
end{align*}$$



In the coure of the proof the author considers the groups $L$ and $K$ and distinguishes between them. I do not understand why these two groups are not just the same by the Chinese remainder theorem, as all $p^{e(p)}$ are pairwise coprime and $n$ is by definition the product of these $p^{e(p)}$. Could you tell me what I am getting wrong?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    The set $K$ includes cosets of $a$ such that $a^{n-1}equiv-1$ modulo some prime powers and $equiv+1$ modulo some other prime powers. In the set $L$ the same sign must occur for all prime powers dividing $n$ (as per the Chinese Remainder Theorem).
    $endgroup$
    – Jyrki Lahtonen
    Nov 25 '18 at 13:05






  • 1




    $begingroup$
    This question has large overlap with this other question: answerers and readers would do well to read both.
    $endgroup$
    – davidlowryduda
    Nov 27 '18 at 21:49
















0












$begingroup$


I am trying to understand a proof (from the German book "Einführung in die Kryptografie" by Johannes Buchmann) that there are at most $(n-1)/4$ non-witnesses against the primality of $n$ in the Miller-Rabin algorithm that are coprime to $n$.



The Miller-Rabin test is stated in the following way:



Let $s = max{r in mathbb{N}: 2^r text{ divides } n-1}$ and $d = (n-1)/2^s$.
If $n$ is a prime number and if $a$ is a number coprime to $n$ then



$$ a^d equiv 1 pmod{n} tag{A} $$



or there is a $r$ in the set ${0,1,ldots,s-1}$ such that



$$a^{2^rd} equiv -1 pmod{n} tag{B} $$



I have a problem with the following proof:



Let $n ge 3$ be an odd composite number. We want to estimate how many numbers $a in {0,1,ldots,s-1}$ exist for which $gcd(a,n-1) = 1$ and both $(A)$ and $(B)$ hold. If there is no such $a$ we are fi



We set the prime factorisation of $n$ to $n = prod_{pmid n} p^{e(p)}$.



The author considers the following two subgroups of $mathbb{Z}_n^{times}$
$$begin{align*}
K &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{n-1} equiv pm 1 pmod{p^{e(p)}} text{ for all primes $p$ such that } p|n}\
L &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{m} equiv pm 1 pmod{n}}
end{align*}$$



In the coure of the proof the author considers the groups $L$ and $K$ and distinguishes between them. I do not understand why these two groups are not just the same by the Chinese remainder theorem, as all $p^{e(p)}$ are pairwise coprime and $n$ is by definition the product of these $p^{e(p)}$. Could you tell me what I am getting wrong?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    The set $K$ includes cosets of $a$ such that $a^{n-1}equiv-1$ modulo some prime powers and $equiv+1$ modulo some other prime powers. In the set $L$ the same sign must occur for all prime powers dividing $n$ (as per the Chinese Remainder Theorem).
    $endgroup$
    – Jyrki Lahtonen
    Nov 25 '18 at 13:05






  • 1




    $begingroup$
    This question has large overlap with this other question: answerers and readers would do well to read both.
    $endgroup$
    – davidlowryduda
    Nov 27 '18 at 21:49














0












0








0


0



$begingroup$


I am trying to understand a proof (from the German book "Einführung in die Kryptografie" by Johannes Buchmann) that there are at most $(n-1)/4$ non-witnesses against the primality of $n$ in the Miller-Rabin algorithm that are coprime to $n$.



The Miller-Rabin test is stated in the following way:



Let $s = max{r in mathbb{N}: 2^r text{ divides } n-1}$ and $d = (n-1)/2^s$.
If $n$ is a prime number and if $a$ is a number coprime to $n$ then



$$ a^d equiv 1 pmod{n} tag{A} $$



or there is a $r$ in the set ${0,1,ldots,s-1}$ such that



$$a^{2^rd} equiv -1 pmod{n} tag{B} $$



I have a problem with the following proof:



Let $n ge 3$ be an odd composite number. We want to estimate how many numbers $a in {0,1,ldots,s-1}$ exist for which $gcd(a,n-1) = 1$ and both $(A)$ and $(B)$ hold. If there is no such $a$ we are fi



We set the prime factorisation of $n$ to $n = prod_{pmid n} p^{e(p)}$.



The author considers the following two subgroups of $mathbb{Z}_n^{times}$
$$begin{align*}
K &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{n-1} equiv pm 1 pmod{p^{e(p)}} text{ for all primes $p$ such that } p|n}\
L &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{m} equiv pm 1 pmod{n}}
end{align*}$$



In the coure of the proof the author considers the groups $L$ and $K$ and distinguishes between them. I do not understand why these two groups are not just the same by the Chinese remainder theorem, as all $p^{e(p)}$ are pairwise coprime and $n$ is by definition the product of these $p^{e(p)}$. Could you tell me what I am getting wrong?










share|cite|improve this question











$endgroup$




I am trying to understand a proof (from the German book "Einführung in die Kryptografie" by Johannes Buchmann) that there are at most $(n-1)/4$ non-witnesses against the primality of $n$ in the Miller-Rabin algorithm that are coprime to $n$.



The Miller-Rabin test is stated in the following way:



Let $s = max{r in mathbb{N}: 2^r text{ divides } n-1}$ and $d = (n-1)/2^s$.
If $n$ is a prime number and if $a$ is a number coprime to $n$ then



$$ a^d equiv 1 pmod{n} tag{A} $$



or there is a $r$ in the set ${0,1,ldots,s-1}$ such that



$$a^{2^rd} equiv -1 pmod{n} tag{B} $$



I have a problem with the following proof:



Let $n ge 3$ be an odd composite number. We want to estimate how many numbers $a in {0,1,ldots,s-1}$ exist for which $gcd(a,n-1) = 1$ and both $(A)$ and $(B)$ hold. If there is no such $a$ we are fi



We set the prime factorisation of $n$ to $n = prod_{pmid n} p^{e(p)}$.



The author considers the following two subgroups of $mathbb{Z}_n^{times}$
$$begin{align*}
K &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{n-1} equiv pm 1 pmod{p^{e(p)}} text{ for all primes $p$ such that } p|n}\
L &= { a + nmathbb{Z} : gcd(a,n) = 1 text{ and } a^{m} equiv pm 1 pmod{n}}
end{align*}$$



In the coure of the proof the author considers the groups $L$ and $K$ and distinguishes between them. I do not understand why these two groups are not just the same by the Chinese remainder theorem, as all $p^{e(p)}$ are pairwise coprime and $n$ is by definition the product of these $p^{e(p)}$. Could you tell me what I am getting wrong?







group-theory prime-numbers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 26 '18 at 1:19









Arturo Magidin

261k34586906




261k34586906










asked Nov 25 '18 at 12:44









3nondatur3nondatur

385111




385111








  • 2




    $begingroup$
    The set $K$ includes cosets of $a$ such that $a^{n-1}equiv-1$ modulo some prime powers and $equiv+1$ modulo some other prime powers. In the set $L$ the same sign must occur for all prime powers dividing $n$ (as per the Chinese Remainder Theorem).
    $endgroup$
    – Jyrki Lahtonen
    Nov 25 '18 at 13:05






  • 1




    $begingroup$
    This question has large overlap with this other question: answerers and readers would do well to read both.
    $endgroup$
    – davidlowryduda
    Nov 27 '18 at 21:49














  • 2




    $begingroup$
    The set $K$ includes cosets of $a$ such that $a^{n-1}equiv-1$ modulo some prime powers and $equiv+1$ modulo some other prime powers. In the set $L$ the same sign must occur for all prime powers dividing $n$ (as per the Chinese Remainder Theorem).
    $endgroup$
    – Jyrki Lahtonen
    Nov 25 '18 at 13:05






  • 1




    $begingroup$
    This question has large overlap with this other question: answerers and readers would do well to read both.
    $endgroup$
    – davidlowryduda
    Nov 27 '18 at 21:49








2




2




$begingroup$
The set $K$ includes cosets of $a$ such that $a^{n-1}equiv-1$ modulo some prime powers and $equiv+1$ modulo some other prime powers. In the set $L$ the same sign must occur for all prime powers dividing $n$ (as per the Chinese Remainder Theorem).
$endgroup$
– Jyrki Lahtonen
Nov 25 '18 at 13:05




$begingroup$
The set $K$ includes cosets of $a$ such that $a^{n-1}equiv-1$ modulo some prime powers and $equiv+1$ modulo some other prime powers. In the set $L$ the same sign must occur for all prime powers dividing $n$ (as per the Chinese Remainder Theorem).
$endgroup$
– Jyrki Lahtonen
Nov 25 '18 at 13:05




1




1




$begingroup$
This question has large overlap with this other question: answerers and readers would do well to read both.
$endgroup$
– davidlowryduda
Nov 27 '18 at 21:49




$begingroup$
This question has large overlap with this other question: answerers and readers would do well to read both.
$endgroup$
– davidlowryduda
Nov 27 '18 at 21:49










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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3012792%2fwhy-are-these-two-groups-not-isomorphic%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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3012792%2fwhy-are-these-two-groups-not-isomorphic%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?