Prove that there exists only one prime number of the form $p^2−1$ where $p≥2$ is an integer
$begingroup$
By factoring $p^2 − 1$, we have $(p + 1)(p - 1)$.
I know that $p = 2$ which gives $3$ is the only solution.
However, how do I prove that $p = 2$ is the only integer which gives a prime?
elementary-number-theory discrete-mathematics proof-verification proof-writing
$endgroup$
add a comment |
$begingroup$
By factoring $p^2 − 1$, we have $(p + 1)(p - 1)$.
I know that $p = 2$ which gives $3$ is the only solution.
However, how do I prove that $p = 2$ is the only integer which gives a prime?
elementary-number-theory discrete-mathematics proof-verification proof-writing
$endgroup$
$begingroup$
Because of the $p-1$ factor...
$endgroup$
– abiessu
Dec 3 '15 at 1:45
$begingroup$
for any number>$2$, $p-1$ will give you a factor > $1$
$endgroup$
– Kushal Bhuyan
Dec 3 '15 at 1:46
$begingroup$
any other solution can't be prime because it can be decomposed as a product of two numbers, neither of which equals 1 by the work you've already shown
$endgroup$
– cnick
Dec 3 '15 at 1:46
add a comment |
$begingroup$
By factoring $p^2 − 1$, we have $(p + 1)(p - 1)$.
I know that $p = 2$ which gives $3$ is the only solution.
However, how do I prove that $p = 2$ is the only integer which gives a prime?
elementary-number-theory discrete-mathematics proof-verification proof-writing
$endgroup$
By factoring $p^2 − 1$, we have $(p + 1)(p - 1)$.
I know that $p = 2$ which gives $3$ is the only solution.
However, how do I prove that $p = 2$ is the only integer which gives a prime?
elementary-number-theory discrete-mathematics proof-verification proof-writing
elementary-number-theory discrete-mathematics proof-verification proof-writing
edited Jul 1 '18 at 20:09
Robert Soupe
11.5k21951
11.5k21951
asked Dec 3 '15 at 1:44
Noah DengNoah Deng
8918
8918
$begingroup$
Because of the $p-1$ factor...
$endgroup$
– abiessu
Dec 3 '15 at 1:45
$begingroup$
for any number>$2$, $p-1$ will give you a factor > $1$
$endgroup$
– Kushal Bhuyan
Dec 3 '15 at 1:46
$begingroup$
any other solution can't be prime because it can be decomposed as a product of two numbers, neither of which equals 1 by the work you've already shown
$endgroup$
– cnick
Dec 3 '15 at 1:46
add a comment |
$begingroup$
Because of the $p-1$ factor...
$endgroup$
– abiessu
Dec 3 '15 at 1:45
$begingroup$
for any number>$2$, $p-1$ will give you a factor > $1$
$endgroup$
– Kushal Bhuyan
Dec 3 '15 at 1:46
$begingroup$
any other solution can't be prime because it can be decomposed as a product of two numbers, neither of which equals 1 by the work you've already shown
$endgroup$
– cnick
Dec 3 '15 at 1:46
$begingroup$
Because of the $p-1$ factor...
$endgroup$
– abiessu
Dec 3 '15 at 1:45
$begingroup$
Because of the $p-1$ factor...
$endgroup$
– abiessu
Dec 3 '15 at 1:45
$begingroup$
for any number>$2$, $p-1$ will give you a factor > $1$
$endgroup$
– Kushal Bhuyan
Dec 3 '15 at 1:46
$begingroup$
for any number>$2$, $p-1$ will give you a factor > $1$
$endgroup$
– Kushal Bhuyan
Dec 3 '15 at 1:46
$begingroup$
any other solution can't be prime because it can be decomposed as a product of two numbers, neither of which equals 1 by the work you've already shown
$endgroup$
– cnick
Dec 3 '15 at 1:46
$begingroup$
any other solution can't be prime because it can be decomposed as a product of two numbers, neither of which equals 1 by the work you've already shown
$endgroup$
– cnick
Dec 3 '15 at 1:46
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
If $p>2$, both $p+1$ and $p-1$ are $>1$, hence $p^2-1$ is composite.
$endgroup$
add a comment |
$begingroup$
In $p^2-1=(p-1)(p+1)$ give a prime number only and only if p-1 is 1 so that p+1 will be the only prime factor. So n must be 2 and its the only one which can give us a prime(3).
I better suggest you to think about $$n^2-m=p$$ where 'n' is an natural number and m<$n^2$ such that 'p' will be a prime number.
$endgroup$
add a comment |
Your Answer
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%2f1557483%2fprove-that-there-exists-only-one-prime-number-of-the-form-p2%25e2%2588%25921-where-p%25e2%2589%25a52-is%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$
If $p>2$, both $p+1$ and $p-1$ are $>1$, hence $p^2-1$ is composite.
$endgroup$
add a comment |
$begingroup$
If $p>2$, both $p+1$ and $p-1$ are $>1$, hence $p^2-1$ is composite.
$endgroup$
add a comment |
$begingroup$
If $p>2$, both $p+1$ and $p-1$ are $>1$, hence $p^2-1$ is composite.
$endgroup$
If $p>2$, both $p+1$ and $p-1$ are $>1$, hence $p^2-1$ is composite.
answered Dec 3 '15 at 1:47
BernardBernard
124k742117
124k742117
add a comment |
add a comment |
$begingroup$
In $p^2-1=(p-1)(p+1)$ give a prime number only and only if p-1 is 1 so that p+1 will be the only prime factor. So n must be 2 and its the only one which can give us a prime(3).
I better suggest you to think about $$n^2-m=p$$ where 'n' is an natural number and m<$n^2$ such that 'p' will be a prime number.
$endgroup$
add a comment |
$begingroup$
In $p^2-1=(p-1)(p+1)$ give a prime number only and only if p-1 is 1 so that p+1 will be the only prime factor. So n must be 2 and its the only one which can give us a prime(3).
I better suggest you to think about $$n^2-m=p$$ where 'n' is an natural number and m<$n^2$ such that 'p' will be a prime number.
$endgroup$
add a comment |
$begingroup$
In $p^2-1=(p-1)(p+1)$ give a prime number only and only if p-1 is 1 so that p+1 will be the only prime factor. So n must be 2 and its the only one which can give us a prime(3).
I better suggest you to think about $$n^2-m=p$$ where 'n' is an natural number and m<$n^2$ such that 'p' will be a prime number.
$endgroup$
In $p^2-1=(p-1)(p+1)$ give a prime number only and only if p-1 is 1 so that p+1 will be the only prime factor. So n must be 2 and its the only one which can give us a prime(3).
I better suggest you to think about $$n^2-m=p$$ where 'n' is an natural number and m<$n^2$ such that 'p' will be a prime number.
answered Dec 23 '18 at 13:22
DynamoDynamo
104517
104517
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%2f1557483%2fprove-that-there-exists-only-one-prime-number-of-the-form-p2%25e2%2588%25921-where-p%25e2%2589%25a52-is%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
$begingroup$
Because of the $p-1$ factor...
$endgroup$
– abiessu
Dec 3 '15 at 1:45
$begingroup$
for any number>$2$, $p-1$ will give you a factor > $1$
$endgroup$
– Kushal Bhuyan
Dec 3 '15 at 1:46
$begingroup$
any other solution can't be prime because it can be decomposed as a product of two numbers, neither of which equals 1 by the work you've already shown
$endgroup$
– cnick
Dec 3 '15 at 1:46