When $q$ is prime and a Wieferich prime $p$ divides $ M=2^q-1 $ . Why can we conclude $ p^2mid M $?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
Here : https://en.wikipedia.org/wiki/Wieferich_prime
I came across the following claim :
A prime divisor $p$ of $M_q$, where $q$ is prime, is a Wieferich prime if and only if $p^2mid M_q$.
The part, I cannot prove : If $M=2^q-1$ , $q$ prime and $pmid M$ is a prime factor of $M$ satisfying $2^p-1equiv 1mod p^2$ (in other words, $p$ is a Wieferich-prime) , then we also have $p^2mid M$ or alternatively formulated : $2^qequiv 1mod p^2$
I only could conclude that $ord_2(p^2)mid p-1$ , but not $ord_2(p^2)=q$ as claimed. What do I miss ? How can I prove this part ?
elementary-number-theory reference-request prime-numbers mersenne-numbers
add a comment |Â
up vote
3
down vote
favorite
Here : https://en.wikipedia.org/wiki/Wieferich_prime
I came across the following claim :
A prime divisor $p$ of $M_q$, where $q$ is prime, is a Wieferich prime if and only if $p^2mid M_q$.
The part, I cannot prove : If $M=2^q-1$ , $q$ prime and $pmid M$ is a prime factor of $M$ satisfying $2^p-1equiv 1mod p^2$ (in other words, $p$ is a Wieferich-prime) , then we also have $p^2mid M$ or alternatively formulated : $2^qequiv 1mod p^2$
I only could conclude that $ord_2(p^2)mid p-1$ , but not $ord_2(p^2)=q$ as claimed. What do I miss ? How can I prove this part ?
elementary-number-theory reference-request prime-numbers mersenne-numbers
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Here : https://en.wikipedia.org/wiki/Wieferich_prime
I came across the following claim :
A prime divisor $p$ of $M_q$, where $q$ is prime, is a Wieferich prime if and only if $p^2mid M_q$.
The part, I cannot prove : If $M=2^q-1$ , $q$ prime and $pmid M$ is a prime factor of $M$ satisfying $2^p-1equiv 1mod p^2$ (in other words, $p$ is a Wieferich-prime) , then we also have $p^2mid M$ or alternatively formulated : $2^qequiv 1mod p^2$
I only could conclude that $ord_2(p^2)mid p-1$ , but not $ord_2(p^2)=q$ as claimed. What do I miss ? How can I prove this part ?
elementary-number-theory reference-request prime-numbers mersenne-numbers
Here : https://en.wikipedia.org/wiki/Wieferich_prime
I came across the following claim :
A prime divisor $p$ of $M_q$, where $q$ is prime, is a Wieferich prime if and only if $p^2mid M_q$.
The part, I cannot prove : If $M=2^q-1$ , $q$ prime and $pmid M$ is a prime factor of $M$ satisfying $2^p-1equiv 1mod p^2$ (in other words, $p$ is a Wieferich-prime) , then we also have $p^2mid M$ or alternatively formulated : $2^qequiv 1mod p^2$
I only could conclude that $ord_2(p^2)mid p-1$ , but not $ord_2(p^2)=q$ as claimed. What do I miss ? How can I prove this part ?
elementary-number-theory reference-request prime-numbers mersenne-numbers
asked Aug 22 at 7:27
Peter
45.4k1039119
45.4k1039119
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
Obviously, $q mid p-1$. Write $p-1=qcdot a$.
Then $p^2 mid 2^qcdot a-1=(2^q-1)(2^q(a-1)+2^q(a-2)+ldots +1)$.
Observe now that the second parentheses is $equiv apmodp$ since each summand is $equiv 1pmodp$.
Observe also that $a<p$.
This shows that $p nmid(2^q(a-1)+2^q(a-2)+ldots +1)$ which means that the whole $p^2$ divides the first parentheses and so $p^2 mid 2^q-1$.
EDIT: $p-1=qcdot age a$. This means that $ale p-1<p$ and hence $a<p$.
1
Superb answer (+1 and accept) !
â Peter
Aug 22 at 8:47
1
Yes, $a<p$ is obvious which I realized shortly after my comment.
â Peter
Aug 22 at 8:50
add a comment |Â
up vote
1
down vote
We start with the observation that $a^m-b^m$ is divisible $a^n-b^n$ if $nmid m$.
From this, one deduces there is an algebraic factor $A_n$ that divides $a^m-b^m$ exactly when $nmid m$.
If prime $p$ divides some $a^q-b^q$, but for no value less than $q$, then $p mid A_q$, since this likewise does not divide any earlier $a^n-b^n$.
We now suppose that $q$ is a proper divisor of $p-1 = qr$ (say). Then $(a^p-1-b^p-1)$ is the product of all $A_d, dmid p-1$, and the same holds true for $q$. The result of the division of $(a^p-1-b^p-1)/(a^q-b^q)$ is the sum of $r$ terms, all having a value $1pmodp$. This is the 'casting-out nines rule', eg $1111 = 4 pmod9$.
So if $p mid A_qr$, then $p mid r$, and specifically, $r$ is $p^x$.
Since we can exclude that $p$ can not divide $p-1$, then if $p^2$ divides some $a^q-b^q$ and $p^2$ divides some $a^p-1-b^p-1$, and thus $p^2 mid A_q$.
QED
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Obviously, $q mid p-1$. Write $p-1=qcdot a$.
Then $p^2 mid 2^qcdot a-1=(2^q-1)(2^q(a-1)+2^q(a-2)+ldots +1)$.
Observe now that the second parentheses is $equiv apmodp$ since each summand is $equiv 1pmodp$.
Observe also that $a<p$.
This shows that $p nmid(2^q(a-1)+2^q(a-2)+ldots +1)$ which means that the whole $p^2$ divides the first parentheses and so $p^2 mid 2^q-1$.
EDIT: $p-1=qcdot age a$. This means that $ale p-1<p$ and hence $a<p$.
1
Superb answer (+1 and accept) !
â Peter
Aug 22 at 8:47
1
Yes, $a<p$ is obvious which I realized shortly after my comment.
â Peter
Aug 22 at 8:50
add a comment |Â
up vote
4
down vote
accepted
Obviously, $q mid p-1$. Write $p-1=qcdot a$.
Then $p^2 mid 2^qcdot a-1=(2^q-1)(2^q(a-1)+2^q(a-2)+ldots +1)$.
Observe now that the second parentheses is $equiv apmodp$ since each summand is $equiv 1pmodp$.
Observe also that $a<p$.
This shows that $p nmid(2^q(a-1)+2^q(a-2)+ldots +1)$ which means that the whole $p^2$ divides the first parentheses and so $p^2 mid 2^q-1$.
EDIT: $p-1=qcdot age a$. This means that $ale p-1<p$ and hence $a<p$.
1
Superb answer (+1 and accept) !
â Peter
Aug 22 at 8:47
1
Yes, $a<p$ is obvious which I realized shortly after my comment.
â Peter
Aug 22 at 8:50
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Obviously, $q mid p-1$. Write $p-1=qcdot a$.
Then $p^2 mid 2^qcdot a-1=(2^q-1)(2^q(a-1)+2^q(a-2)+ldots +1)$.
Observe now that the second parentheses is $equiv apmodp$ since each summand is $equiv 1pmodp$.
Observe also that $a<p$.
This shows that $p nmid(2^q(a-1)+2^q(a-2)+ldots +1)$ which means that the whole $p^2$ divides the first parentheses and so $p^2 mid 2^q-1$.
EDIT: $p-1=qcdot age a$. This means that $ale p-1<p$ and hence $a<p$.
Obviously, $q mid p-1$. Write $p-1=qcdot a$.
Then $p^2 mid 2^qcdot a-1=(2^q-1)(2^q(a-1)+2^q(a-2)+ldots +1)$.
Observe now that the second parentheses is $equiv apmodp$ since each summand is $equiv 1pmodp$.
Observe also that $a<p$.
This shows that $p nmid(2^q(a-1)+2^q(a-2)+ldots +1)$ which means that the whole $p^2$ divides the first parentheses and so $p^2 mid 2^q-1$.
EDIT: $p-1=qcdot age a$. This means that $ale p-1<p$ and hence $a<p$.
edited Aug 22 at 8:48
answered Aug 22 at 8:31
Konstantinos Gaitanas
6,66931838
6,66931838
1
Superb answer (+1 and accept) !
â Peter
Aug 22 at 8:47
1
Yes, $a<p$ is obvious which I realized shortly after my comment.
â Peter
Aug 22 at 8:50
add a comment |Â
1
Superb answer (+1 and accept) !
â Peter
Aug 22 at 8:47
1
Yes, $a<p$ is obvious which I realized shortly after my comment.
â Peter
Aug 22 at 8:50
1
1
Superb answer (+1 and accept) !
â Peter
Aug 22 at 8:47
Superb answer (+1 and accept) !
â Peter
Aug 22 at 8:47
1
1
Yes, $a<p$ is obvious which I realized shortly after my comment.
â Peter
Aug 22 at 8:50
Yes, $a<p$ is obvious which I realized shortly after my comment.
â Peter
Aug 22 at 8:50
add a comment |Â
up vote
1
down vote
We start with the observation that $a^m-b^m$ is divisible $a^n-b^n$ if $nmid m$.
From this, one deduces there is an algebraic factor $A_n$ that divides $a^m-b^m$ exactly when $nmid m$.
If prime $p$ divides some $a^q-b^q$, but for no value less than $q$, then $p mid A_q$, since this likewise does not divide any earlier $a^n-b^n$.
We now suppose that $q$ is a proper divisor of $p-1 = qr$ (say). Then $(a^p-1-b^p-1)$ is the product of all $A_d, dmid p-1$, and the same holds true for $q$. The result of the division of $(a^p-1-b^p-1)/(a^q-b^q)$ is the sum of $r$ terms, all having a value $1pmodp$. This is the 'casting-out nines rule', eg $1111 = 4 pmod9$.
So if $p mid A_qr$, then $p mid r$, and specifically, $r$ is $p^x$.
Since we can exclude that $p$ can not divide $p-1$, then if $p^2$ divides some $a^q-b^q$ and $p^2$ divides some $a^p-1-b^p-1$, and thus $p^2 mid A_q$.
QED
add a comment |Â
up vote
1
down vote
We start with the observation that $a^m-b^m$ is divisible $a^n-b^n$ if $nmid m$.
From this, one deduces there is an algebraic factor $A_n$ that divides $a^m-b^m$ exactly when $nmid m$.
If prime $p$ divides some $a^q-b^q$, but for no value less than $q$, then $p mid A_q$, since this likewise does not divide any earlier $a^n-b^n$.
We now suppose that $q$ is a proper divisor of $p-1 = qr$ (say). Then $(a^p-1-b^p-1)$ is the product of all $A_d, dmid p-1$, and the same holds true for $q$. The result of the division of $(a^p-1-b^p-1)/(a^q-b^q)$ is the sum of $r$ terms, all having a value $1pmodp$. This is the 'casting-out nines rule', eg $1111 = 4 pmod9$.
So if $p mid A_qr$, then $p mid r$, and specifically, $r$ is $p^x$.
Since we can exclude that $p$ can not divide $p-1$, then if $p^2$ divides some $a^q-b^q$ and $p^2$ divides some $a^p-1-b^p-1$, and thus $p^2 mid A_q$.
QED
add a comment |Â
up vote
1
down vote
up vote
1
down vote
We start with the observation that $a^m-b^m$ is divisible $a^n-b^n$ if $nmid m$.
From this, one deduces there is an algebraic factor $A_n$ that divides $a^m-b^m$ exactly when $nmid m$.
If prime $p$ divides some $a^q-b^q$, but for no value less than $q$, then $p mid A_q$, since this likewise does not divide any earlier $a^n-b^n$.
We now suppose that $q$ is a proper divisor of $p-1 = qr$ (say). Then $(a^p-1-b^p-1)$ is the product of all $A_d, dmid p-1$, and the same holds true for $q$. The result of the division of $(a^p-1-b^p-1)/(a^q-b^q)$ is the sum of $r$ terms, all having a value $1pmodp$. This is the 'casting-out nines rule', eg $1111 = 4 pmod9$.
So if $p mid A_qr$, then $p mid r$, and specifically, $r$ is $p^x$.
Since we can exclude that $p$ can not divide $p-1$, then if $p^2$ divides some $a^q-b^q$ and $p^2$ divides some $a^p-1-b^p-1$, and thus $p^2 mid A_q$.
QED
We start with the observation that $a^m-b^m$ is divisible $a^n-b^n$ if $nmid m$.
From this, one deduces there is an algebraic factor $A_n$ that divides $a^m-b^m$ exactly when $nmid m$.
If prime $p$ divides some $a^q-b^q$, but for no value less than $q$, then $p mid A_q$, since this likewise does not divide any earlier $a^n-b^n$.
We now suppose that $q$ is a proper divisor of $p-1 = qr$ (say). Then $(a^p-1-b^p-1)$ is the product of all $A_d, dmid p-1$, and the same holds true for $q$. The result of the division of $(a^p-1-b^p-1)/(a^q-b^q)$ is the sum of $r$ terms, all having a value $1pmodp$. This is the 'casting-out nines rule', eg $1111 = 4 pmod9$.
So if $p mid A_qr$, then $p mid r$, and specifically, $r$ is $p^x$.
Since we can exclude that $p$ can not divide $p-1$, then if $p^2$ divides some $a^q-b^q$ and $p^2$ divides some $a^p-1-b^p-1$, and thus $p^2 mid A_q$.
QED
edited Aug 23 at 2:04
answered Aug 22 at 8:11
wendy.krieger
5,42711426
5,42711426
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2890726%2fwhen-q-is-prime-and-a-wieferich-prime-p-divides-m-2q-1-why-can-we-c%23new-answer', 'question_page');
);
Post as a guest
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
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
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