For $n ge 20$, there are at least $0.6 cdot frac{2^n}{n}$ primes in $[2^{n-1},2^n - 1]$.












1












$begingroup$


From the prime number theorem, one can deduce the following inequality:




For $x ge 355991$, if $pi(x) = |{p le x:p text{ is prime}}|$
then we have



$frac{x}{ln(x)}Big(1+frac{1}{ln(x)}Big) < pi(x) <
frac{x}{ln(x)}Big(1+frac{1}{ln(x)}+frac{2.51}{(ln(x))^2}Big)$




Form here I have to deduce that for $n ge 20$ one has that there are at least $0.6 cdot frac{2^n}{n}$ primes in $[2^{n-1},2^n - 1]$.



My try



Observation: $pi(2^n -1) = pi(2^n)$ since $2^n$ is not prime.



So the number of primes in $[2^{n-1},2^n - 1]$ is given by $pi(2^n)-pi(2^{n-1})$.



We have:



$pi(2^{n-1}) <frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) implies$
$-frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < -pi(2^{n-1}) $



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) < pi(2^n)$



adding up these two:



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) - frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < pi(2^n) - pi(2^{n-1})$



At this point I could do various simplifications but I cannot find the right approximation. Any ideas?










share|cite|improve this question











$endgroup$












  • $begingroup$
    In the estimation in the yellow box you have x/lnx in the upper bound, but when you plug in $2^{n-1}$, you write 1/ln($2^{n-1}$).
    $endgroup$
    – Student7
    Jan 9 at 13:43










  • $begingroup$
    @Student7 is fixed now, thank you
    $endgroup$
    – Javier
    Jan 9 at 13:47










  • $begingroup$
    Using $ln(2^n) = n ln(2)$ etc. and factoring out $frac{2^n}{n}$ does not help? Then we have a sum which we have to bound by $0.6$.
    $endgroup$
    – Stockfish
    Jan 9 at 14:15












  • $begingroup$
    @Stockfish not really, this is the kind of simplification i tried
    $endgroup$
    – Javier
    Jan 9 at 21:35
















1












$begingroup$


From the prime number theorem, one can deduce the following inequality:




For $x ge 355991$, if $pi(x) = |{p le x:p text{ is prime}}|$
then we have



$frac{x}{ln(x)}Big(1+frac{1}{ln(x)}Big) < pi(x) <
frac{x}{ln(x)}Big(1+frac{1}{ln(x)}+frac{2.51}{(ln(x))^2}Big)$




Form here I have to deduce that for $n ge 20$ one has that there are at least $0.6 cdot frac{2^n}{n}$ primes in $[2^{n-1},2^n - 1]$.



My try



Observation: $pi(2^n -1) = pi(2^n)$ since $2^n$ is not prime.



So the number of primes in $[2^{n-1},2^n - 1]$ is given by $pi(2^n)-pi(2^{n-1})$.



We have:



$pi(2^{n-1}) <frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) implies$
$-frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < -pi(2^{n-1}) $



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) < pi(2^n)$



adding up these two:



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) - frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < pi(2^n) - pi(2^{n-1})$



At this point I could do various simplifications but I cannot find the right approximation. Any ideas?










share|cite|improve this question











$endgroup$












  • $begingroup$
    In the estimation in the yellow box you have x/lnx in the upper bound, but when you plug in $2^{n-1}$, you write 1/ln($2^{n-1}$).
    $endgroup$
    – Student7
    Jan 9 at 13:43










  • $begingroup$
    @Student7 is fixed now, thank you
    $endgroup$
    – Javier
    Jan 9 at 13:47










  • $begingroup$
    Using $ln(2^n) = n ln(2)$ etc. and factoring out $frac{2^n}{n}$ does not help? Then we have a sum which we have to bound by $0.6$.
    $endgroup$
    – Stockfish
    Jan 9 at 14:15












  • $begingroup$
    @Stockfish not really, this is the kind of simplification i tried
    $endgroup$
    – Javier
    Jan 9 at 21:35














1












1








1





$begingroup$


From the prime number theorem, one can deduce the following inequality:




For $x ge 355991$, if $pi(x) = |{p le x:p text{ is prime}}|$
then we have



$frac{x}{ln(x)}Big(1+frac{1}{ln(x)}Big) < pi(x) <
frac{x}{ln(x)}Big(1+frac{1}{ln(x)}+frac{2.51}{(ln(x))^2}Big)$




Form here I have to deduce that for $n ge 20$ one has that there are at least $0.6 cdot frac{2^n}{n}$ primes in $[2^{n-1},2^n - 1]$.



My try



Observation: $pi(2^n -1) = pi(2^n)$ since $2^n$ is not prime.



So the number of primes in $[2^{n-1},2^n - 1]$ is given by $pi(2^n)-pi(2^{n-1})$.



We have:



$pi(2^{n-1}) <frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) implies$
$-frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < -pi(2^{n-1}) $



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) < pi(2^n)$



adding up these two:



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) - frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < pi(2^n) - pi(2^{n-1})$



At this point I could do various simplifications but I cannot find the right approximation. Any ideas?










share|cite|improve this question











$endgroup$




From the prime number theorem, one can deduce the following inequality:




For $x ge 355991$, if $pi(x) = |{p le x:p text{ is prime}}|$
then we have



$frac{x}{ln(x)}Big(1+frac{1}{ln(x)}Big) < pi(x) <
frac{x}{ln(x)}Big(1+frac{1}{ln(x)}+frac{2.51}{(ln(x))^2}Big)$




Form here I have to deduce that for $n ge 20$ one has that there are at least $0.6 cdot frac{2^n}{n}$ primes in $[2^{n-1},2^n - 1]$.



My try



Observation: $pi(2^n -1) = pi(2^n)$ since $2^n$ is not prime.



So the number of primes in $[2^{n-1},2^n - 1]$ is given by $pi(2^n)-pi(2^{n-1})$.



We have:



$pi(2^{n-1}) <frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) implies$
$-frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < -pi(2^{n-1}) $



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) < pi(2^n)$



adding up these two:



$frac{2^n}{ln(2^n)}Big(1+frac{1}{ln(2^n)}Big) - frac{2^{n-1}}{ln(2^{n-1})}Big(1+frac{1}{ln(2^{n-1})}+frac{2.51}{(ln(2^{n-1}))^2}Big) < pi(2^n) - pi(2^{n-1})$



At this point I could do various simplifications but I cannot find the right approximation. Any ideas?







abstract-algebra number-theory cryptography






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 9 at 13:46







Javier

















asked Jan 9 at 13:38









JavierJavier

2,01821133




2,01821133












  • $begingroup$
    In the estimation in the yellow box you have x/lnx in the upper bound, but when you plug in $2^{n-1}$, you write 1/ln($2^{n-1}$).
    $endgroup$
    – Student7
    Jan 9 at 13:43










  • $begingroup$
    @Student7 is fixed now, thank you
    $endgroup$
    – Javier
    Jan 9 at 13:47










  • $begingroup$
    Using $ln(2^n) = n ln(2)$ etc. and factoring out $frac{2^n}{n}$ does not help? Then we have a sum which we have to bound by $0.6$.
    $endgroup$
    – Stockfish
    Jan 9 at 14:15












  • $begingroup$
    @Stockfish not really, this is the kind of simplification i tried
    $endgroup$
    – Javier
    Jan 9 at 21:35


















  • $begingroup$
    In the estimation in the yellow box you have x/lnx in the upper bound, but when you plug in $2^{n-1}$, you write 1/ln($2^{n-1}$).
    $endgroup$
    – Student7
    Jan 9 at 13:43










  • $begingroup$
    @Student7 is fixed now, thank you
    $endgroup$
    – Javier
    Jan 9 at 13:47










  • $begingroup$
    Using $ln(2^n) = n ln(2)$ etc. and factoring out $frac{2^n}{n}$ does not help? Then we have a sum which we have to bound by $0.6$.
    $endgroup$
    – Stockfish
    Jan 9 at 14:15












  • $begingroup$
    @Stockfish not really, this is the kind of simplification i tried
    $endgroup$
    – Javier
    Jan 9 at 21:35
















$begingroup$
In the estimation in the yellow box you have x/lnx in the upper bound, but when you plug in $2^{n-1}$, you write 1/ln($2^{n-1}$).
$endgroup$
– Student7
Jan 9 at 13:43




$begingroup$
In the estimation in the yellow box you have x/lnx in the upper bound, but when you plug in $2^{n-1}$, you write 1/ln($2^{n-1}$).
$endgroup$
– Student7
Jan 9 at 13:43












$begingroup$
@Student7 is fixed now, thank you
$endgroup$
– Javier
Jan 9 at 13:47




$begingroup$
@Student7 is fixed now, thank you
$endgroup$
– Javier
Jan 9 at 13:47












$begingroup$
Using $ln(2^n) = n ln(2)$ etc. and factoring out $frac{2^n}{n}$ does not help? Then we have a sum which we have to bound by $0.6$.
$endgroup$
– Stockfish
Jan 9 at 14:15






$begingroup$
Using $ln(2^n) = n ln(2)$ etc. and factoring out $frac{2^n}{n}$ does not help? Then we have a sum which we have to bound by $0.6$.
$endgroup$
– Stockfish
Jan 9 at 14:15














$begingroup$
@Stockfish not really, this is the kind of simplification i tried
$endgroup$
– Javier
Jan 9 at 21:35




$begingroup$
@Stockfish not really, this is the kind of simplification i tried
$endgroup$
– Javier
Jan 9 at 21:35










0






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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3067450%2ffor-n-ge-20-there-are-at-least-0-6-cdot-frac2nn-primes-in-2n-1%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3067450%2ffor-n-ge-20-there-are-at-least-0-6-cdot-frac2nn-primes-in-2n-1%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

MongoDB - Not Authorized To Execute Command

Npm cannot find a required file even through it is in the searched directory

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith