$n$ such $n!+1$ and $n!-1$ are both primes











up vote
4
down vote

favorite
1












I am looking for positive integers $n$ such that $n!+1$ and $n!-1$ are both primes.



Looking in OEIS Lists, I found that the only known $n$ such $n!+1$ and $n!-1$ are both primes is $n=3$ (giving $5$ and $7$).



Is it known if $3$ is only value for $n$ or is it still an open problem ?










share|cite|improve this question
























  • It's a well-known conjecture of Erdős for the $n!+1$ case, actually...
    – Parcly Taxel
    Jan 13 '17 at 16:55










  • Take a look at this en.wikipedia.org/wiki/Factorial_prime
    – kingW3
    Jan 13 '17 at 16:58










  • @kingW3 : I took a look to this article, but they don't speak about the case of $n!+1$ and $n!-1$ being both prime
    – BenLaz
    Jan 13 '17 at 17:01






  • 1




    Did you read the line labeled "COMMENTS"?
    – Nate
    Jan 13 '17 at 17:13






  • 2




    I don't know any source, if you want I can sketch why the "standard" heuristics (i.e. a probabilistic model) suggests that we should only expect finitely many such numbers. Proving such heuristics actually hold is in general very difficult though and I'd expect this to be about as hard as say proving there are finitely many Fermat primes.
    – Nate
    Jan 13 '17 at 17:40















up vote
4
down vote

favorite
1












I am looking for positive integers $n$ such that $n!+1$ and $n!-1$ are both primes.



Looking in OEIS Lists, I found that the only known $n$ such $n!+1$ and $n!-1$ are both primes is $n=3$ (giving $5$ and $7$).



Is it known if $3$ is only value for $n$ or is it still an open problem ?










share|cite|improve this question
























  • It's a well-known conjecture of Erdős for the $n!+1$ case, actually...
    – Parcly Taxel
    Jan 13 '17 at 16:55










  • Take a look at this en.wikipedia.org/wiki/Factorial_prime
    – kingW3
    Jan 13 '17 at 16:58










  • @kingW3 : I took a look to this article, but they don't speak about the case of $n!+1$ and $n!-1$ being both prime
    – BenLaz
    Jan 13 '17 at 17:01






  • 1




    Did you read the line labeled "COMMENTS"?
    – Nate
    Jan 13 '17 at 17:13






  • 2




    I don't know any source, if you want I can sketch why the "standard" heuristics (i.e. a probabilistic model) suggests that we should only expect finitely many such numbers. Proving such heuristics actually hold is in general very difficult though and I'd expect this to be about as hard as say proving there are finitely many Fermat primes.
    – Nate
    Jan 13 '17 at 17:40













up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





I am looking for positive integers $n$ such that $n!+1$ and $n!-1$ are both primes.



Looking in OEIS Lists, I found that the only known $n$ such $n!+1$ and $n!-1$ are both primes is $n=3$ (giving $5$ and $7$).



Is it known if $3$ is only value for $n$ or is it still an open problem ?










share|cite|improve this question















I am looking for positive integers $n$ such that $n!+1$ and $n!-1$ are both primes.



Looking in OEIS Lists, I found that the only known $n$ such $n!+1$ and $n!-1$ are both primes is $n=3$ (giving $5$ and $7$).



Is it known if $3$ is only value for $n$ or is it still an open problem ?







number-theory elementary-number-theory prime-numbers prime-twins






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 21 at 11:50









José Carlos Santos

141k19111207




141k19111207










asked Jan 13 '17 at 16:52









BenLaz

476215




476215












  • It's a well-known conjecture of Erdős for the $n!+1$ case, actually...
    – Parcly Taxel
    Jan 13 '17 at 16:55










  • Take a look at this en.wikipedia.org/wiki/Factorial_prime
    – kingW3
    Jan 13 '17 at 16:58










  • @kingW3 : I took a look to this article, but they don't speak about the case of $n!+1$ and $n!-1$ being both prime
    – BenLaz
    Jan 13 '17 at 17:01






  • 1




    Did you read the line labeled "COMMENTS"?
    – Nate
    Jan 13 '17 at 17:13






  • 2




    I don't know any source, if you want I can sketch why the "standard" heuristics (i.e. a probabilistic model) suggests that we should only expect finitely many such numbers. Proving such heuristics actually hold is in general very difficult though and I'd expect this to be about as hard as say proving there are finitely many Fermat primes.
    – Nate
    Jan 13 '17 at 17:40


















  • It's a well-known conjecture of Erdős for the $n!+1$ case, actually...
    – Parcly Taxel
    Jan 13 '17 at 16:55










  • Take a look at this en.wikipedia.org/wiki/Factorial_prime
    – kingW3
    Jan 13 '17 at 16:58










  • @kingW3 : I took a look to this article, but they don't speak about the case of $n!+1$ and $n!-1$ being both prime
    – BenLaz
    Jan 13 '17 at 17:01






  • 1




    Did you read the line labeled "COMMENTS"?
    – Nate
    Jan 13 '17 at 17:13






  • 2




    I don't know any source, if you want I can sketch why the "standard" heuristics (i.e. a probabilistic model) suggests that we should only expect finitely many such numbers. Proving such heuristics actually hold is in general very difficult though and I'd expect this to be about as hard as say proving there are finitely many Fermat primes.
    – Nate
    Jan 13 '17 at 17:40
















It's a well-known conjecture of Erdős for the $n!+1$ case, actually...
– Parcly Taxel
Jan 13 '17 at 16:55




It's a well-known conjecture of Erdős for the $n!+1$ case, actually...
– Parcly Taxel
Jan 13 '17 at 16:55












Take a look at this en.wikipedia.org/wiki/Factorial_prime
– kingW3
Jan 13 '17 at 16:58




Take a look at this en.wikipedia.org/wiki/Factorial_prime
– kingW3
Jan 13 '17 at 16:58












@kingW3 : I took a look to this article, but they don't speak about the case of $n!+1$ and $n!-1$ being both prime
– BenLaz
Jan 13 '17 at 17:01




@kingW3 : I took a look to this article, but they don't speak about the case of $n!+1$ and $n!-1$ being both prime
– BenLaz
Jan 13 '17 at 17:01




1




1




Did you read the line labeled "COMMENTS"?
– Nate
Jan 13 '17 at 17:13




Did you read the line labeled "COMMENTS"?
– Nate
Jan 13 '17 at 17:13




2




2




I don't know any source, if you want I can sketch why the "standard" heuristics (i.e. a probabilistic model) suggests that we should only expect finitely many such numbers. Proving such heuristics actually hold is in general very difficult though and I'd expect this to be about as hard as say proving there are finitely many Fermat primes.
– Nate
Jan 13 '17 at 17:40




I don't know any source, if you want I can sketch why the "standard" heuristics (i.e. a probabilistic model) suggests that we should only expect finitely many such numbers. Proving such heuristics actually hold is in general very difficult though and I'd expect this to be about as hard as say proving there are finitely many Fermat primes.
– Nate
Jan 13 '17 at 17:40















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',
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%2f2096369%2fn-such-n1-and-n-1-are-both-primes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2096369%2fn-such-n1-and-n-1-are-both-primes%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

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen