Show that if $p|(a^{2^n}+1)$, then $p = 2$ or $pequiv 1 pmod{2^{n+1}}$
up vote
1
down vote
favorite
As the title indicates, I do not know how to proceed. There is a hint to prove it. The hint says that:
show that if $p>2$ then a is of order $2^{n+1} pmod p$.
But I do not see any connection between the hint and the question in demand.
Please help!
Thanks in advance,,
EDIT:
The original question in the title was to prove:
If $p|(a^{2n}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
By the useful comment of @Zvi below, the statement appears to be false. The statement is originally from "An Introduction to The Theory of Numbers" by Ivan Niven, Herbert S.Zuckerman and Hugh L.Montgomery. Most probably, it is a typo, since the correct statement is:
If $p|(a^{2^{n}}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
Please consider the latter statement. A useful clue or hint is very helpful.
number-theory elementary-number-theory modular-arithmetic divisibility primitive-roots
add a comment |
up vote
1
down vote
favorite
As the title indicates, I do not know how to proceed. There is a hint to prove it. The hint says that:
show that if $p>2$ then a is of order $2^{n+1} pmod p$.
But I do not see any connection between the hint and the question in demand.
Please help!
Thanks in advance,,
EDIT:
The original question in the title was to prove:
If $p|(a^{2n}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
By the useful comment of @Zvi below, the statement appears to be false. The statement is originally from "An Introduction to The Theory of Numbers" by Ivan Niven, Herbert S.Zuckerman and Hugh L.Montgomery. Most probably, it is a typo, since the correct statement is:
If $p|(a^{2^{n}}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
Please consider the latter statement. A useful clue or hint is very helpful.
number-theory elementary-number-theory modular-arithmetic divisibility primitive-roots
2
Do you mean $pmid a^{2^n}+1$, because the statement is false as it is? (Take $a=3$, $p=5$, and $n=3$ so $2^{n+1}=16$. Then, $a^{2n}+1=730$ is divisible by $p$ but $pnotequiv 1pmod{16}$.)
– Zvi
Nov 23 at 11:26
The problem is taken from Ivan Niven number theory book. This might be a tipo though.
– Maged Saeed
Nov 23 at 11:29
Since the statement is true if you use $a^{2^n}+1$, if you want a useful answer, maybe you should change the problem to $a^{2^n}+1$.
– Zvi
Nov 23 at 11:32
@Zvi, consider the edited version of the post.
– Maged Saeed
Nov 23 at 11:37
2
There is no typo in the text. It's problem 17 in Chapter 2, Section 8, and it concerns $a^{2^n}+1$, not $a^{2n}+1$.
– Gerry Myerson
Nov 23 at 11:50
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
As the title indicates, I do not know how to proceed. There is a hint to prove it. The hint says that:
show that if $p>2$ then a is of order $2^{n+1} pmod p$.
But I do not see any connection between the hint and the question in demand.
Please help!
Thanks in advance,,
EDIT:
The original question in the title was to prove:
If $p|(a^{2n}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
By the useful comment of @Zvi below, the statement appears to be false. The statement is originally from "An Introduction to The Theory of Numbers" by Ivan Niven, Herbert S.Zuckerman and Hugh L.Montgomery. Most probably, it is a typo, since the correct statement is:
If $p|(a^{2^{n}}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
Please consider the latter statement. A useful clue or hint is very helpful.
number-theory elementary-number-theory modular-arithmetic divisibility primitive-roots
As the title indicates, I do not know how to proceed. There is a hint to prove it. The hint says that:
show that if $p>2$ then a is of order $2^{n+1} pmod p$.
But I do not see any connection between the hint and the question in demand.
Please help!
Thanks in advance,,
EDIT:
The original question in the title was to prove:
If $p|(a^{2n}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
By the useful comment of @Zvi below, the statement appears to be false. The statement is originally from "An Introduction to The Theory of Numbers" by Ivan Niven, Herbert S.Zuckerman and Hugh L.Montgomery. Most probably, it is a typo, since the correct statement is:
If $p|(a^{2^{n}}+1)$, then $p = 2$ or $p equiv 1 pmod {2^{n+1}}$.
Please consider the latter statement. A useful clue or hint is very helpful.
number-theory elementary-number-theory modular-arithmetic divisibility primitive-roots
number-theory elementary-number-theory modular-arithmetic divisibility primitive-roots
edited Nov 23 at 12:28
asked Nov 23 at 11:14
Maged Saeed
532315
532315
2
Do you mean $pmid a^{2^n}+1$, because the statement is false as it is? (Take $a=3$, $p=5$, and $n=3$ so $2^{n+1}=16$. Then, $a^{2n}+1=730$ is divisible by $p$ but $pnotequiv 1pmod{16}$.)
– Zvi
Nov 23 at 11:26
The problem is taken from Ivan Niven number theory book. This might be a tipo though.
– Maged Saeed
Nov 23 at 11:29
Since the statement is true if you use $a^{2^n}+1$, if you want a useful answer, maybe you should change the problem to $a^{2^n}+1$.
– Zvi
Nov 23 at 11:32
@Zvi, consider the edited version of the post.
– Maged Saeed
Nov 23 at 11:37
2
There is no typo in the text. It's problem 17 in Chapter 2, Section 8, and it concerns $a^{2^n}+1$, not $a^{2n}+1$.
– Gerry Myerson
Nov 23 at 11:50
add a comment |
2
Do you mean $pmid a^{2^n}+1$, because the statement is false as it is? (Take $a=3$, $p=5$, and $n=3$ so $2^{n+1}=16$. Then, $a^{2n}+1=730$ is divisible by $p$ but $pnotequiv 1pmod{16}$.)
– Zvi
Nov 23 at 11:26
The problem is taken from Ivan Niven number theory book. This might be a tipo though.
– Maged Saeed
Nov 23 at 11:29
Since the statement is true if you use $a^{2^n}+1$, if you want a useful answer, maybe you should change the problem to $a^{2^n}+1$.
– Zvi
Nov 23 at 11:32
@Zvi, consider the edited version of the post.
– Maged Saeed
Nov 23 at 11:37
2
There is no typo in the text. It's problem 17 in Chapter 2, Section 8, and it concerns $a^{2^n}+1$, not $a^{2n}+1$.
– Gerry Myerson
Nov 23 at 11:50
2
2
Do you mean $pmid a^{2^n}+1$, because the statement is false as it is? (Take $a=3$, $p=5$, and $n=3$ so $2^{n+1}=16$. Then, $a^{2n}+1=730$ is divisible by $p$ but $pnotequiv 1pmod{16}$.)
– Zvi
Nov 23 at 11:26
Do you mean $pmid a^{2^n}+1$, because the statement is false as it is? (Take $a=3$, $p=5$, and $n=3$ so $2^{n+1}=16$. Then, $a^{2n}+1=730$ is divisible by $p$ but $pnotequiv 1pmod{16}$.)
– Zvi
Nov 23 at 11:26
The problem is taken from Ivan Niven number theory book. This might be a tipo though.
– Maged Saeed
Nov 23 at 11:29
The problem is taken from Ivan Niven number theory book. This might be a tipo though.
– Maged Saeed
Nov 23 at 11:29
Since the statement is true if you use $a^{2^n}+1$, if you want a useful answer, maybe you should change the problem to $a^{2^n}+1$.
– Zvi
Nov 23 at 11:32
Since the statement is true if you use $a^{2^n}+1$, if you want a useful answer, maybe you should change the problem to $a^{2^n}+1$.
– Zvi
Nov 23 at 11:32
@Zvi, consider the edited version of the post.
– Maged Saeed
Nov 23 at 11:37
@Zvi, consider the edited version of the post.
– Maged Saeed
Nov 23 at 11:37
2
2
There is no typo in the text. It's problem 17 in Chapter 2, Section 8, and it concerns $a^{2^n}+1$, not $a^{2n}+1$.
– Gerry Myerson
Nov 23 at 11:50
There is no typo in the text. It's problem 17 in Chapter 2, Section 8, and it concerns $a^{2^n}+1$, not $a^{2n}+1$.
– Gerry Myerson
Nov 23 at 11:50
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Let $p>2$ be a prime number such that $p mid a^{2^n}+1$ for some integers $a$ and $ngeq 0$. We claim that $pequiv 1pmod{2^{n+1}}$. Clearly, $pnmid a$, so $a^{p-1}equiv 1pmod{p}$ by Fermat's Little Theorem.
Let $k$ be the order of $a$ modulo $p$. Then, we have $kmid p-1$. Since $a^{2^n}equiv -1pmod{p}$, we get
$$a^{2^{n+1}} =left(a^{2^n}right)^2equiv (-1)^2=1pmod{p},$$
we conclude that $kmid 2^{n+1}$. This shows that $k=2^m$ for some integer $m$ such that $0leq mleq n+1$.
Note that $m$ must equal $n+1$. If $mleq n$, then $a^{2^m}equiv 1pmod{p}$, so that $$a^{2^n}=left(a^{2^{m}}right)^{2^{m-n}}equiv 1^{2^{m-n}}=1pmod{p}.$$
This means $1equiv a^{2^n}equiv-1pmod{p}$, so $pmid 2$, but this contradicts the hypothesis that $p>2$. Thus, $m=n+1$ and $k=2^{n+1}$. Recall that $kmid p-1$, so $2^{n+1}mid p-1$ and the proof is finished.
Thanks for this detailed answer.
– Maged Saeed
Nov 23 at 12:21
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Let $p>2$ be a prime number such that $p mid a^{2^n}+1$ for some integers $a$ and $ngeq 0$. We claim that $pequiv 1pmod{2^{n+1}}$. Clearly, $pnmid a$, so $a^{p-1}equiv 1pmod{p}$ by Fermat's Little Theorem.
Let $k$ be the order of $a$ modulo $p$. Then, we have $kmid p-1$. Since $a^{2^n}equiv -1pmod{p}$, we get
$$a^{2^{n+1}} =left(a^{2^n}right)^2equiv (-1)^2=1pmod{p},$$
we conclude that $kmid 2^{n+1}$. This shows that $k=2^m$ for some integer $m$ such that $0leq mleq n+1$.
Note that $m$ must equal $n+1$. If $mleq n$, then $a^{2^m}equiv 1pmod{p}$, so that $$a^{2^n}=left(a^{2^{m}}right)^{2^{m-n}}equiv 1^{2^{m-n}}=1pmod{p}.$$
This means $1equiv a^{2^n}equiv-1pmod{p}$, so $pmid 2$, but this contradicts the hypothesis that $p>2$. Thus, $m=n+1$ and $k=2^{n+1}$. Recall that $kmid p-1$, so $2^{n+1}mid p-1$ and the proof is finished.
Thanks for this detailed answer.
– Maged Saeed
Nov 23 at 12:21
add a comment |
up vote
1
down vote
accepted
Let $p>2$ be a prime number such that $p mid a^{2^n}+1$ for some integers $a$ and $ngeq 0$. We claim that $pequiv 1pmod{2^{n+1}}$. Clearly, $pnmid a$, so $a^{p-1}equiv 1pmod{p}$ by Fermat's Little Theorem.
Let $k$ be the order of $a$ modulo $p$. Then, we have $kmid p-1$. Since $a^{2^n}equiv -1pmod{p}$, we get
$$a^{2^{n+1}} =left(a^{2^n}right)^2equiv (-1)^2=1pmod{p},$$
we conclude that $kmid 2^{n+1}$. This shows that $k=2^m$ for some integer $m$ such that $0leq mleq n+1$.
Note that $m$ must equal $n+1$. If $mleq n$, then $a^{2^m}equiv 1pmod{p}$, so that $$a^{2^n}=left(a^{2^{m}}right)^{2^{m-n}}equiv 1^{2^{m-n}}=1pmod{p}.$$
This means $1equiv a^{2^n}equiv-1pmod{p}$, so $pmid 2$, but this contradicts the hypothesis that $p>2$. Thus, $m=n+1$ and $k=2^{n+1}$. Recall that $kmid p-1$, so $2^{n+1}mid p-1$ and the proof is finished.
Thanks for this detailed answer.
– Maged Saeed
Nov 23 at 12:21
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Let $p>2$ be a prime number such that $p mid a^{2^n}+1$ for some integers $a$ and $ngeq 0$. We claim that $pequiv 1pmod{2^{n+1}}$. Clearly, $pnmid a$, so $a^{p-1}equiv 1pmod{p}$ by Fermat's Little Theorem.
Let $k$ be the order of $a$ modulo $p$. Then, we have $kmid p-1$. Since $a^{2^n}equiv -1pmod{p}$, we get
$$a^{2^{n+1}} =left(a^{2^n}right)^2equiv (-1)^2=1pmod{p},$$
we conclude that $kmid 2^{n+1}$. This shows that $k=2^m$ for some integer $m$ such that $0leq mleq n+1$.
Note that $m$ must equal $n+1$. If $mleq n$, then $a^{2^m}equiv 1pmod{p}$, so that $$a^{2^n}=left(a^{2^{m}}right)^{2^{m-n}}equiv 1^{2^{m-n}}=1pmod{p}.$$
This means $1equiv a^{2^n}equiv-1pmod{p}$, so $pmid 2$, but this contradicts the hypothesis that $p>2$. Thus, $m=n+1$ and $k=2^{n+1}$. Recall that $kmid p-1$, so $2^{n+1}mid p-1$ and the proof is finished.
Let $p>2$ be a prime number such that $p mid a^{2^n}+1$ for some integers $a$ and $ngeq 0$. We claim that $pequiv 1pmod{2^{n+1}}$. Clearly, $pnmid a$, so $a^{p-1}equiv 1pmod{p}$ by Fermat's Little Theorem.
Let $k$ be the order of $a$ modulo $p$. Then, we have $kmid p-1$. Since $a^{2^n}equiv -1pmod{p}$, we get
$$a^{2^{n+1}} =left(a^{2^n}right)^2equiv (-1)^2=1pmod{p},$$
we conclude that $kmid 2^{n+1}$. This shows that $k=2^m$ for some integer $m$ such that $0leq mleq n+1$.
Note that $m$ must equal $n+1$. If $mleq n$, then $a^{2^m}equiv 1pmod{p}$, so that $$a^{2^n}=left(a^{2^{m}}right)^{2^{m-n}}equiv 1^{2^{m-n}}=1pmod{p}.$$
This means $1equiv a^{2^n}equiv-1pmod{p}$, so $pmid 2$, but this contradicts the hypothesis that $p>2$. Thus, $m=n+1$ and $k=2^{n+1}$. Recall that $kmid p-1$, so $2^{n+1}mid p-1$ and the proof is finished.
answered Nov 23 at 11:49
Zvi
3,835328
3,835328
Thanks for this detailed answer.
– Maged Saeed
Nov 23 at 12:21
add a comment |
Thanks for this detailed answer.
– Maged Saeed
Nov 23 at 12:21
Thanks for this detailed answer.
– Maged Saeed
Nov 23 at 12:21
Thanks for this detailed answer.
– Maged Saeed
Nov 23 at 12:21
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3010241%2fshow-that-if-pa2n1-then-p-2-or-p-equiv-1-pmod2n1%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
2
Do you mean $pmid a^{2^n}+1$, because the statement is false as it is? (Take $a=3$, $p=5$, and $n=3$ so $2^{n+1}=16$. Then, $a^{2n}+1=730$ is divisible by $p$ but $pnotequiv 1pmod{16}$.)
– Zvi
Nov 23 at 11:26
The problem is taken from Ivan Niven number theory book. This might be a tipo though.
– Maged Saeed
Nov 23 at 11:29
Since the statement is true if you use $a^{2^n}+1$, if you want a useful answer, maybe you should change the problem to $a^{2^n}+1$.
– Zvi
Nov 23 at 11:32
@Zvi, consider the edited version of the post.
– Maged Saeed
Nov 23 at 11:37
2
There is no typo in the text. It's problem 17 in Chapter 2, Section 8, and it concerns $a^{2^n}+1$, not $a^{2n}+1$.
– Gerry Myerson
Nov 23 at 11:50