Reference request: a formula for the prime-counting function











up vote
1
down vote

favorite
1












Let $pi(n)$ denote the prime counting function, which returns the number of primes less than or equal to $n$. When one asks WolframAlpha for $pi(10,000)$ (or any suitably small number), it displays the result, along with several formulas it uses to calculate this result. The final listed formula caught my eye - WolframAlpha claims that $$pi(n) = -sum_{k=1}^{log_2(n)}mu(k)sum_{l=2}^{lfloor sqrt[k]{n} rfloor} leftlfloor frac{sqrt[k]{n}}{l}rightrfloor mu(l)Omega(l)$$ where $mu(k)$ is the Mobius function and $Omega(l)$ is the function that gives the number of prime factors counting multiplicities in $l$.



Question: Does this formula have a name? Where is it's correctness proven? Alternatively, I'd be interested in a proof of it's correctness.










share|cite|improve this question






















  • Looks like it tries to build the legendre formula in a highly inneficient way. Interesting formula, I'll dig into it as soon as I find some time. The values used to sum the thing reminds me of what I used for this mathoverflow.net/a/300060/118898
    – Collag3n
    yesterday















up vote
1
down vote

favorite
1












Let $pi(n)$ denote the prime counting function, which returns the number of primes less than or equal to $n$. When one asks WolframAlpha for $pi(10,000)$ (or any suitably small number), it displays the result, along with several formulas it uses to calculate this result. The final listed formula caught my eye - WolframAlpha claims that $$pi(n) = -sum_{k=1}^{log_2(n)}mu(k)sum_{l=2}^{lfloor sqrt[k]{n} rfloor} leftlfloor frac{sqrt[k]{n}}{l}rightrfloor mu(l)Omega(l)$$ where $mu(k)$ is the Mobius function and $Omega(l)$ is the function that gives the number of prime factors counting multiplicities in $l$.



Question: Does this formula have a name? Where is it's correctness proven? Alternatively, I'd be interested in a proof of it's correctness.










share|cite|improve this question






















  • Looks like it tries to build the legendre formula in a highly inneficient way. Interesting formula, I'll dig into it as soon as I find some time. The values used to sum the thing reminds me of what I used for this mathoverflow.net/a/300060/118898
    – Collag3n
    yesterday













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





Let $pi(n)$ denote the prime counting function, which returns the number of primes less than or equal to $n$. When one asks WolframAlpha for $pi(10,000)$ (or any suitably small number), it displays the result, along with several formulas it uses to calculate this result. The final listed formula caught my eye - WolframAlpha claims that $$pi(n) = -sum_{k=1}^{log_2(n)}mu(k)sum_{l=2}^{lfloor sqrt[k]{n} rfloor} leftlfloor frac{sqrt[k]{n}}{l}rightrfloor mu(l)Omega(l)$$ where $mu(k)$ is the Mobius function and $Omega(l)$ is the function that gives the number of prime factors counting multiplicities in $l$.



Question: Does this formula have a name? Where is it's correctness proven? Alternatively, I'd be interested in a proof of it's correctness.










share|cite|improve this question













Let $pi(n)$ denote the prime counting function, which returns the number of primes less than or equal to $n$. When one asks WolframAlpha for $pi(10,000)$ (or any suitably small number), it displays the result, along with several formulas it uses to calculate this result. The final listed formula caught my eye - WolframAlpha claims that $$pi(n) = -sum_{k=1}^{log_2(n)}mu(k)sum_{l=2}^{lfloor sqrt[k]{n} rfloor} leftlfloor frac{sqrt[k]{n}}{l}rightrfloor mu(l)Omega(l)$$ where $mu(k)$ is the Mobius function and $Omega(l)$ is the function that gives the number of prime factors counting multiplicities in $l$.



Question: Does this formula have a name? Where is it's correctness proven? Alternatively, I'd be interested in a proof of it's correctness.







number-theory reference-request prime-numbers






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked yesterday









KReiser

8,92711233




8,92711233












  • Looks like it tries to build the legendre formula in a highly inneficient way. Interesting formula, I'll dig into it as soon as I find some time. The values used to sum the thing reminds me of what I used for this mathoverflow.net/a/300060/118898
    – Collag3n
    yesterday


















  • Looks like it tries to build the legendre formula in a highly inneficient way. Interesting formula, I'll dig into it as soon as I find some time. The values used to sum the thing reminds me of what I used for this mathoverflow.net/a/300060/118898
    – Collag3n
    yesterday
















Looks like it tries to build the legendre formula in a highly inneficient way. Interesting formula, I'll dig into it as soon as I find some time. The values used to sum the thing reminds me of what I used for this mathoverflow.net/a/300060/118898
– Collag3n
yesterday




Looks like it tries to build the legendre formula in a highly inneficient way. Interesting formula, I'll dig into it as soon as I find some time. The values used to sum the thing reminds me of what I used for this mathoverflow.net/a/300060/118898
– Collag3n
yesterday















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%2f2996332%2freference-request-a-formula-for-the-prime-counting-function%23new-answer', 'question_page');
}
);

Post as a guest





































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%2f2996332%2freference-request-a-formula-for-the-prime-counting-function%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

How do I know what Microsoft account the skydrive app is syncing to?

When does type information flow backwards in C++?

Grease: Live!