Is $small sumlimits_{pleq x}pileft(frac{x^2}{p}right)-sumlimits_{pgt x}pileft(frac{x^2}{p}right)=pi^2(x)$ of...












8












$begingroup$


I was playing with some Meissel/Lehmer formulas and I found this one. In fact there is a much simpler way to find it when looking closer, so I guess i is well known.



$$sumlimits_{pleq x}pileft(frac{x^2}{p}right)-sumlimits_{pgt x}pileft(frac{x^2}{p}right)=pi^2(x)$$



There is a similar formula I already explored in an other context (Goldbach).



$$sumlimits_{pleq x}pi(small 2x-p normalsize)-sumlimits_{pgt x}pi(small 2x-p normalsize)=pi^2(x)$$



Any paper covering one of them? Were they used anywhere?



Edit: this seems to work also for
$$sumlimits_{pleq x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)-sumlimits_{pgt x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$ with $kge 1$



and for some $kgt gamma_x$ we even have



$$sumlimits_{p}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$



To illustrate the influence of $k$, here is a chart with $k=1$ in blue, $k=2$ in purple and $k=16$ in yellow. $x=9$ in this example:
wrapping arround $pi^2(x)$



I guess there are a lot of other working formulas...










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    No because $pi(x)^2 = sum_{p le x, q le x} 1 = sum_{pq le x^2} 1 - sum_{pq le x^2, p > x} 1-sum_{pq le x^2, q > x} 1=sum_{pq le x^2} 1 -2sum_{pq le x^2, p > x} 1 $ $=sum_{pq le x^2,p le x} 1 -sum_{pq le x^2, p > x} 1 =sum_{ p le x}pi(x^2/p)-sum_{ p>x} pi(x^2/p) $ is valid for any set of strictly positive integers $A$ and $pi(x) = sum_{n le x, n in A} 1$
    $endgroup$
    – reuns
    Jan 14 at 16:22












  • $begingroup$
    That was my guess. It was not very usefull on Goldbach either.
    $endgroup$
    – Collag3n
    Jan 14 at 18:04
















8












$begingroup$


I was playing with some Meissel/Lehmer formulas and I found this one. In fact there is a much simpler way to find it when looking closer, so I guess i is well known.



$$sumlimits_{pleq x}pileft(frac{x^2}{p}right)-sumlimits_{pgt x}pileft(frac{x^2}{p}right)=pi^2(x)$$



There is a similar formula I already explored in an other context (Goldbach).



$$sumlimits_{pleq x}pi(small 2x-p normalsize)-sumlimits_{pgt x}pi(small 2x-p normalsize)=pi^2(x)$$



Any paper covering one of them? Were they used anywhere?



Edit: this seems to work also for
$$sumlimits_{pleq x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)-sumlimits_{pgt x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$ with $kge 1$



and for some $kgt gamma_x$ we even have



$$sumlimits_{p}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$



To illustrate the influence of $k$, here is a chart with $k=1$ in blue, $k=2$ in purple and $k=16$ in yellow. $x=9$ in this example:
wrapping arround $pi^2(x)$



I guess there are a lot of other working formulas...










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    No because $pi(x)^2 = sum_{p le x, q le x} 1 = sum_{pq le x^2} 1 - sum_{pq le x^2, p > x} 1-sum_{pq le x^2, q > x} 1=sum_{pq le x^2} 1 -2sum_{pq le x^2, p > x} 1 $ $=sum_{pq le x^2,p le x} 1 -sum_{pq le x^2, p > x} 1 =sum_{ p le x}pi(x^2/p)-sum_{ p>x} pi(x^2/p) $ is valid for any set of strictly positive integers $A$ and $pi(x) = sum_{n le x, n in A} 1$
    $endgroup$
    – reuns
    Jan 14 at 16:22












  • $begingroup$
    That was my guess. It was not very usefull on Goldbach either.
    $endgroup$
    – Collag3n
    Jan 14 at 18:04














8












8








8


2



$begingroup$


I was playing with some Meissel/Lehmer formulas and I found this one. In fact there is a much simpler way to find it when looking closer, so I guess i is well known.



$$sumlimits_{pleq x}pileft(frac{x^2}{p}right)-sumlimits_{pgt x}pileft(frac{x^2}{p}right)=pi^2(x)$$



There is a similar formula I already explored in an other context (Goldbach).



$$sumlimits_{pleq x}pi(small 2x-p normalsize)-sumlimits_{pgt x}pi(small 2x-p normalsize)=pi^2(x)$$



Any paper covering one of them? Were they used anywhere?



Edit: this seems to work also for
$$sumlimits_{pleq x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)-sumlimits_{pgt x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$ with $kge 1$



and for some $kgt gamma_x$ we even have



$$sumlimits_{p}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$



To illustrate the influence of $k$, here is a chart with $k=1$ in blue, $k=2$ in purple and $k=16$ in yellow. $x=9$ in this example:
wrapping arround $pi^2(x)$



I guess there are a lot of other working formulas...










share|cite|improve this question











$endgroup$




I was playing with some Meissel/Lehmer formulas and I found this one. In fact there is a much simpler way to find it when looking closer, so I guess i is well known.



$$sumlimits_{pleq x}pileft(frac{x^2}{p}right)-sumlimits_{pgt x}pileft(frac{x^2}{p}right)=pi^2(x)$$



There is a similar formula I already explored in an other context (Goldbach).



$$sumlimits_{pleq x}pi(small 2x-p normalsize)-sumlimits_{pgt x}pi(small 2x-p normalsize)=pi^2(x)$$



Any paper covering one of them? Were they used anywhere?



Edit: this seems to work also for
$$sumlimits_{pleq x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)-sumlimits_{pgt x}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$ with $kge 1$



and for some $kgt gamma_x$ we even have



$$sumlimits_{p}pileft(smallsqrt[k]{2 x^k-p^k}normalsizeright)=pi^2(x)$$



To illustrate the influence of $k$, here is a chart with $k=1$ in blue, $k=2$ in purple and $k=16$ in yellow. $x=9$ in this example:
wrapping arround $pi^2(x)$



I guess there are a lot of other working formulas...







prime-numbers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 14 at 14:32







Collag3n

















asked Jan 13 at 20:34









Collag3nCollag3n

769211




769211








  • 1




    $begingroup$
    No because $pi(x)^2 = sum_{p le x, q le x} 1 = sum_{pq le x^2} 1 - sum_{pq le x^2, p > x} 1-sum_{pq le x^2, q > x} 1=sum_{pq le x^2} 1 -2sum_{pq le x^2, p > x} 1 $ $=sum_{pq le x^2,p le x} 1 -sum_{pq le x^2, p > x} 1 =sum_{ p le x}pi(x^2/p)-sum_{ p>x} pi(x^2/p) $ is valid for any set of strictly positive integers $A$ and $pi(x) = sum_{n le x, n in A} 1$
    $endgroup$
    – reuns
    Jan 14 at 16:22












  • $begingroup$
    That was my guess. It was not very usefull on Goldbach either.
    $endgroup$
    – Collag3n
    Jan 14 at 18:04














  • 1




    $begingroup$
    No because $pi(x)^2 = sum_{p le x, q le x} 1 = sum_{pq le x^2} 1 - sum_{pq le x^2, p > x} 1-sum_{pq le x^2, q > x} 1=sum_{pq le x^2} 1 -2sum_{pq le x^2, p > x} 1 $ $=sum_{pq le x^2,p le x} 1 -sum_{pq le x^2, p > x} 1 =sum_{ p le x}pi(x^2/p)-sum_{ p>x} pi(x^2/p) $ is valid for any set of strictly positive integers $A$ and $pi(x) = sum_{n le x, n in A} 1$
    $endgroup$
    – reuns
    Jan 14 at 16:22












  • $begingroup$
    That was my guess. It was not very usefull on Goldbach either.
    $endgroup$
    – Collag3n
    Jan 14 at 18:04








1




1




$begingroup$
No because $pi(x)^2 = sum_{p le x, q le x} 1 = sum_{pq le x^2} 1 - sum_{pq le x^2, p > x} 1-sum_{pq le x^2, q > x} 1=sum_{pq le x^2} 1 -2sum_{pq le x^2, p > x} 1 $ $=sum_{pq le x^2,p le x} 1 -sum_{pq le x^2, p > x} 1 =sum_{ p le x}pi(x^2/p)-sum_{ p>x} pi(x^2/p) $ is valid for any set of strictly positive integers $A$ and $pi(x) = sum_{n le x, n in A} 1$
$endgroup$
– reuns
Jan 14 at 16:22






$begingroup$
No because $pi(x)^2 = sum_{p le x, q le x} 1 = sum_{pq le x^2} 1 - sum_{pq le x^2, p > x} 1-sum_{pq le x^2, q > x} 1=sum_{pq le x^2} 1 -2sum_{pq le x^2, p > x} 1 $ $=sum_{pq le x^2,p le x} 1 -sum_{pq le x^2, p > x} 1 =sum_{ p le x}pi(x^2/p)-sum_{ p>x} pi(x^2/p) $ is valid for any set of strictly positive integers $A$ and $pi(x) = sum_{n le x, n in A} 1$
$endgroup$
– reuns
Jan 14 at 16:22














$begingroup$
That was my guess. It was not very usefull on Goldbach either.
$endgroup$
– Collag3n
Jan 14 at 18:04




$begingroup$
That was my guess. It was not very usefull on Goldbach either.
$endgroup$
– Collag3n
Jan 14 at 18:04










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%2f3072482%2fis-small-sum-limits-p-leq-x-pi-left-fracx2p-right-sum-limits-p-gt%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%2f3072482%2fis-small-sum-limits-p-leq-x-pi-left-fracx2p-right-sum-limits-p-gt%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

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅