How to use modular arithmetic for $a^b-1 $
$begingroup$
The problem is: If $a,b ge 2$ are natural numbers s.t $a^b - 1$ is prime, then $a = 2$.
My ideas so far:
Since the we want to show that $a = 2$, we can take the the expression modulo $a$.
$a^b-1 equiv -1 pmod{a}$, so we know that there's a prime $p>2$ such that $p equiv -1 pmod{a}$ However I am not really sure where to go from here.
elementary-number-theory modular-arithmetic
$endgroup$
add a comment |
$begingroup$
The problem is: If $a,b ge 2$ are natural numbers s.t $a^b - 1$ is prime, then $a = 2$.
My ideas so far:
Since the we want to show that $a = 2$, we can take the the expression modulo $a$.
$a^b-1 equiv -1 pmod{a}$, so we know that there's a prime $p>2$ such that $p equiv -1 pmod{a}$ However I am not really sure where to go from here.
elementary-number-theory modular-arithmetic
$endgroup$
1
$begingroup$
I think the intent might have been to look at this modulo $a-1$ - since $aequiv 1pmod{a-1}$, $a^b-1equiv 1^b-1=0pmod{a-1}$, so $a-1$ is a factor of $a^b-1$. This says nothing more than the answer below, but it's still worth pointing out.
$endgroup$
– Wojowu
Dec 29 '18 at 21:40
add a comment |
$begingroup$
The problem is: If $a,b ge 2$ are natural numbers s.t $a^b - 1$ is prime, then $a = 2$.
My ideas so far:
Since the we want to show that $a = 2$, we can take the the expression modulo $a$.
$a^b-1 equiv -1 pmod{a}$, so we know that there's a prime $p>2$ such that $p equiv -1 pmod{a}$ However I am not really sure where to go from here.
elementary-number-theory modular-arithmetic
$endgroup$
The problem is: If $a,b ge 2$ are natural numbers s.t $a^b - 1$ is prime, then $a = 2$.
My ideas so far:
Since the we want to show that $a = 2$, we can take the the expression modulo $a$.
$a^b-1 equiv -1 pmod{a}$, so we know that there's a prime $p>2$ such that $p equiv -1 pmod{a}$ However I am not really sure where to go from here.
elementary-number-theory modular-arithmetic
elementary-number-theory modular-arithmetic
edited Dec 29 '18 at 21:05
Namaste
1
1
asked Dec 29 '18 at 21:03
xAlyxAly
404
404
1
$begingroup$
I think the intent might have been to look at this modulo $a-1$ - since $aequiv 1pmod{a-1}$, $a^b-1equiv 1^b-1=0pmod{a-1}$, so $a-1$ is a factor of $a^b-1$. This says nothing more than the answer below, but it's still worth pointing out.
$endgroup$
– Wojowu
Dec 29 '18 at 21:40
add a comment |
1
$begingroup$
I think the intent might have been to look at this modulo $a-1$ - since $aequiv 1pmod{a-1}$, $a^b-1equiv 1^b-1=0pmod{a-1}$, so $a-1$ is a factor of $a^b-1$. This says nothing more than the answer below, but it's still worth pointing out.
$endgroup$
– Wojowu
Dec 29 '18 at 21:40
1
1
$begingroup$
I think the intent might have been to look at this modulo $a-1$ - since $aequiv 1pmod{a-1}$, $a^b-1equiv 1^b-1=0pmod{a-1}$, so $a-1$ is a factor of $a^b-1$. This says nothing more than the answer below, but it's still worth pointing out.
$endgroup$
– Wojowu
Dec 29 '18 at 21:40
$begingroup$
I think the intent might have been to look at this modulo $a-1$ - since $aequiv 1pmod{a-1}$, $a^b-1equiv 1^b-1=0pmod{a-1}$, so $a-1$ is a factor of $a^b-1$. This says nothing more than the answer below, but it's still worth pointing out.
$endgroup$
– Wojowu
Dec 29 '18 at 21:40
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Suppose, there is an $a>2$, and a $b$ such that $a^b-1$ is prime. Observe that $a-1mid a^b-1$, $2leq a-1<a^b-1$ establishes, $a^b-1$ is not a prime.
$endgroup$
1
$begingroup$
What's the point in taking $q$? $a-1mid a^b-1$ already proves $a^b-1$ is not prime.
$endgroup$
– Wojowu
Dec 29 '18 at 21:10
$begingroup$
No need to. I was thinking as I was writing. Condensed it.
$endgroup$
– Aaron
Dec 29 '18 at 21:17
add a comment |
$begingroup$
Hmm, If $b ge 2$ then $a^b -1 = (a-1)(a^{b-1}+ .... + 1)$ and $a ge 2$ then $a^{b-1}+ .... + 1> 1$ so the only way $a^b - 1$ is prime is if $a-1 = 1$ or $a = 2$.
The real question is under what conditions of $b$ can we assume $2^b - 1$ is prime. If $b= nk$ is not prime then you have $2^b - 1 = 2^n)^k - 1 = (2^n-1)((2^n)^{k-1} + ..... +1)$ so $b$ must be prime if $2^b -1$ is to be prime.
These are the Mersenne primes. Which are well researched.
$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%2f3056263%2fhow-to-use-modular-arithmetic-for-ab-1%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$
Suppose, there is an $a>2$, and a $b$ such that $a^b-1$ is prime. Observe that $a-1mid a^b-1$, $2leq a-1<a^b-1$ establishes, $a^b-1$ is not a prime.
$endgroup$
1
$begingroup$
What's the point in taking $q$? $a-1mid a^b-1$ already proves $a^b-1$ is not prime.
$endgroup$
– Wojowu
Dec 29 '18 at 21:10
$begingroup$
No need to. I was thinking as I was writing. Condensed it.
$endgroup$
– Aaron
Dec 29 '18 at 21:17
add a comment |
$begingroup$
Suppose, there is an $a>2$, and a $b$ such that $a^b-1$ is prime. Observe that $a-1mid a^b-1$, $2leq a-1<a^b-1$ establishes, $a^b-1$ is not a prime.
$endgroup$
1
$begingroup$
What's the point in taking $q$? $a-1mid a^b-1$ already proves $a^b-1$ is not prime.
$endgroup$
– Wojowu
Dec 29 '18 at 21:10
$begingroup$
No need to. I was thinking as I was writing. Condensed it.
$endgroup$
– Aaron
Dec 29 '18 at 21:17
add a comment |
$begingroup$
Suppose, there is an $a>2$, and a $b$ such that $a^b-1$ is prime. Observe that $a-1mid a^b-1$, $2leq a-1<a^b-1$ establishes, $a^b-1$ is not a prime.
$endgroup$
Suppose, there is an $a>2$, and a $b$ such that $a^b-1$ is prime. Observe that $a-1mid a^b-1$, $2leq a-1<a^b-1$ establishes, $a^b-1$ is not a prime.
edited Dec 29 '18 at 21:18
answered Dec 29 '18 at 21:07
AaronAaron
1,922415
1,922415
1
$begingroup$
What's the point in taking $q$? $a-1mid a^b-1$ already proves $a^b-1$ is not prime.
$endgroup$
– Wojowu
Dec 29 '18 at 21:10
$begingroup$
No need to. I was thinking as I was writing. Condensed it.
$endgroup$
– Aaron
Dec 29 '18 at 21:17
add a comment |
1
$begingroup$
What's the point in taking $q$? $a-1mid a^b-1$ already proves $a^b-1$ is not prime.
$endgroup$
– Wojowu
Dec 29 '18 at 21:10
$begingroup$
No need to. I was thinking as I was writing. Condensed it.
$endgroup$
– Aaron
Dec 29 '18 at 21:17
1
1
$begingroup$
What's the point in taking $q$? $a-1mid a^b-1$ already proves $a^b-1$ is not prime.
$endgroup$
– Wojowu
Dec 29 '18 at 21:10
$begingroup$
What's the point in taking $q$? $a-1mid a^b-1$ already proves $a^b-1$ is not prime.
$endgroup$
– Wojowu
Dec 29 '18 at 21:10
$begingroup$
No need to. I was thinking as I was writing. Condensed it.
$endgroup$
– Aaron
Dec 29 '18 at 21:17
$begingroup$
No need to. I was thinking as I was writing. Condensed it.
$endgroup$
– Aaron
Dec 29 '18 at 21:17
add a comment |
$begingroup$
Hmm, If $b ge 2$ then $a^b -1 = (a-1)(a^{b-1}+ .... + 1)$ and $a ge 2$ then $a^{b-1}+ .... + 1> 1$ so the only way $a^b - 1$ is prime is if $a-1 = 1$ or $a = 2$.
The real question is under what conditions of $b$ can we assume $2^b - 1$ is prime. If $b= nk$ is not prime then you have $2^b - 1 = 2^n)^k - 1 = (2^n-1)((2^n)^{k-1} + ..... +1)$ so $b$ must be prime if $2^b -1$ is to be prime.
These are the Mersenne primes. Which are well researched.
$endgroup$
add a comment |
$begingroup$
Hmm, If $b ge 2$ then $a^b -1 = (a-1)(a^{b-1}+ .... + 1)$ and $a ge 2$ then $a^{b-1}+ .... + 1> 1$ so the only way $a^b - 1$ is prime is if $a-1 = 1$ or $a = 2$.
The real question is under what conditions of $b$ can we assume $2^b - 1$ is prime. If $b= nk$ is not prime then you have $2^b - 1 = 2^n)^k - 1 = (2^n-1)((2^n)^{k-1} + ..... +1)$ so $b$ must be prime if $2^b -1$ is to be prime.
These are the Mersenne primes. Which are well researched.
$endgroup$
add a comment |
$begingroup$
Hmm, If $b ge 2$ then $a^b -1 = (a-1)(a^{b-1}+ .... + 1)$ and $a ge 2$ then $a^{b-1}+ .... + 1> 1$ so the only way $a^b - 1$ is prime is if $a-1 = 1$ or $a = 2$.
The real question is under what conditions of $b$ can we assume $2^b - 1$ is prime. If $b= nk$ is not prime then you have $2^b - 1 = 2^n)^k - 1 = (2^n-1)((2^n)^{k-1} + ..... +1)$ so $b$ must be prime if $2^b -1$ is to be prime.
These are the Mersenne primes. Which are well researched.
$endgroup$
Hmm, If $b ge 2$ then $a^b -1 = (a-1)(a^{b-1}+ .... + 1)$ and $a ge 2$ then $a^{b-1}+ .... + 1> 1$ so the only way $a^b - 1$ is prime is if $a-1 = 1$ or $a = 2$.
The real question is under what conditions of $b$ can we assume $2^b - 1$ is prime. If $b= nk$ is not prime then you have $2^b - 1 = 2^n)^k - 1 = (2^n-1)((2^n)^{k-1} + ..... +1)$ so $b$ must be prime if $2^b -1$ is to be prime.
These are the Mersenne primes. Which are well researched.
answered Dec 29 '18 at 21:43
fleabloodfleablood
72.9k22789
72.9k22789
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%2f3056263%2fhow-to-use-modular-arithmetic-for-ab-1%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
1
$begingroup$
I think the intent might have been to look at this modulo $a-1$ - since $aequiv 1pmod{a-1}$, $a^b-1equiv 1^b-1=0pmod{a-1}$, so $a-1$ is a factor of $a^b-1$. This says nothing more than the answer below, but it's still worth pointing out.
$endgroup$
– Wojowu
Dec 29 '18 at 21:40