Wolfram Researchfunctions.wolfram.comOther Wolfram Sites
Search Site
Function CategoriesGraphics GalleryNotationsGeneral IdentitiesAbout This Site ContributeEmail CommentsSign the Guestbook

View Related Information In
The Documentation Center
MathWorld

Download All Formulas For This Function
Mathematica Notebook
PDF File

 

Developed with Mathematica -- Download a Free Trial Version
 











PrimePi






Mathematica Notation

Traditional Notation









Number Theory Functions > PrimePi[x] > Series representations > Other series representations





http://functions.wolfram.com/13.04.06.0011.01









  


  










Input Form





PrimePi[x] == -Sum[MoebiusMu[k] Sum[MoebiusMu[n] \[CapitalOmega][n] Floor[x^(1/k)/n], {n, 2, Floor[x^(1/k)]}], {k, 1, Floor[Log[2, x]]}] /; n == Product[Subscript[p, k]^Subscript[n, k], {k, 1, l}] && Element[Subscript[p, k], Primes] && Element[Subscript[n, k], Integers] && Subscript[n, k] > 0 && \[CapitalOmega][n] == Sum[Subscript[n, k], {k, 1, l}]










Standard Form





Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["PrimePi", "[", "x", "]"]], "\[Equal]", RowBox[List["-", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["Floor", "[", RowBox[List["Log", "[", RowBox[List["2", ",", "x"]], "]"]], "]"]]], RowBox[List[RowBox[List["MoebiusMu", "[", "k", "]"]], " ", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["n", "=", "2"]], RowBox[List["Floor", "[", SuperscriptBox["x", RowBox[List["1", "/", "k"]]], "]"]]], RowBox[List[RowBox[List["MoebiusMu", "[", "n", "]"]], " ", RowBox[List["\[CapitalOmega]", "[", "n", "]"]], " ", RowBox[List["Floor", "[", FractionBox[SuperscriptBox["x", RowBox[List["1", "/", "k"]]], "n"], "]"]]]]]]]]]]]]]], "/;", RowBox[List[RowBox[List["n", "\[Equal]", RowBox[List[UnderoverscriptBox["\[Product]", RowBox[List["k", "=", "1"]], "l"], SubsuperscriptBox["p", "k", SubscriptBox["n", "k"]]]]]], "\[And]", RowBox[List[SubscriptBox["p", "k"], "\[Element]", "Primes"]], "\[And]", RowBox[List[SubscriptBox["n", "k"], "\[Element]", "Integers"]], "\[And]", RowBox[List[SubscriptBox["n", "k"], ">", "0"]], "\[And]", RowBox[List[RowBox[List["\[CapitalOmega]", "[", "n", "]"]], "\[Equal]", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "l"], SubscriptBox["n", "k"]]]]]]]]]]]










MathML Form







<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <semantics> <mi> &#960; </mi> <annotation encoding='Mathematica'> TagBox[&quot;\[Pi]&quot;, PrimePi] </annotation> </semantics> <mo> ( </mo> <mi> x </mi> <mo> ) </mo> </mrow> <mo> &#10869; </mo> <mrow> <mo> - </mo> <mrow> <munderover> <mo> &#8721; </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mrow> <mo> &#8970; </mo> <mrow> <msub> <mi> log </mi> <mn> 2 </mn> </msub> <mo> ( </mo> <mi> x </mi> <mo> ) </mo> </mrow> <mo> &#8971; </mo> </mrow> </munderover> <mrow> <mrow> <semantics> <mi> &#956; </mi> <annotation encoding='Mathematica'> TagBox[&quot;\[Mu]&quot;, MoebiusMu] </annotation> </semantics> <mo> ( </mo> <mi> k </mi> <mo> ) </mo> </mrow> <mo> &#8290; </mo> <mrow> <munderover> <mo> &#8721; </mo> <mrow> <mi> n </mi> <mo> = </mo> <mn> 2 </mn> </mrow> <mrow> <mo> &#8970; </mo> <msup> <mi> x </mi> <mrow> <mn> 1 </mn> <mo> / </mo> <mi> k </mi> </mrow> </msup> <mo> &#8971; </mo> </mrow> </munderover> <mrow> <mrow> <semantics> <mi> &#956; </mi> <annotation encoding='Mathematica'> TagBox[&quot;\[Mu]&quot;, MoebiusMu] </annotation> </semantics> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mo> &#8290; </mo> <mrow> <mi> &#937; </mi> <mo> &#8289; </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mo> &#8290; </mo> <mrow> <mo> &#8970; </mo> <mfrac> <msup> <mi> x </mi> <mrow> <mn> 1 </mn> <mo> / </mo> <mi> k </mi> </mrow> </msup> <mi> n </mi> </mfrac> <mo> &#8971; </mo> </mrow> </mrow> </mrow> </mrow> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> n </mi> <mo> &#10869; </mo> <mrow> <munderover> <mo> &#8719; </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mi> l </mi> </munderover> <msubsup> <mi> p </mi> <mi> k </mi> <msub> <mi> n </mi> <mi> k </mi> </msub> </msubsup> </mrow> </mrow> <mo> &#8743; </mo> <mrow> <msub> <mi> p </mi> <mi> k </mi> </msub> <mo> &#8712; </mo> <semantics> <mi> &#8473; </mi> <annotation encoding='Mathematica'> TagBox[&quot;\[DoubleStruckCapitalP]&quot;, Function[Primes]] </annotation> </semantics> </mrow> <mo> &#8743; </mo> <mrow> <msub> <mi> n </mi> <mi> k </mi> </msub> <mo> &#8712; </mo> <msup> <mi> &#8469; </mi> <mo> + </mo> </msup> </mrow> <mo> &#8743; </mo> <mrow> <mrow> <mi> &#937; </mi> <mo> &#8289; </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mo> &#10869; </mo> <mrow> <munderover> <mo> &#8721; </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mi> l </mi> </munderover> <msub> <mi> n </mi> <mi> k </mi> </msub> </mrow> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> PrimePi </ci> <ci> x </ci> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <apply> <floor /> <apply> <log /> <logbase> <cn type='integer'> 2 </cn> </logbase> <ci> x </ci> </apply> </apply> </uplimit> <apply> <times /> <apply> <ci> MoebiusMu </ci> <ci> k </ci> </apply> <apply> <sum /> <bvar> <ci> n </ci> </bvar> <lowlimit> <cn type='integer'> 2 </cn> </lowlimit> <uplimit> <apply> <floor /> <apply> <power /> <ci> x </ci> <apply> <times /> <cn type='integer'> 1 </cn> <apply> <power /> <ci> k </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </uplimit> <apply> <times /> <apply> <ci> MoebiusMu </ci> <ci> n </ci> </apply> <apply> <ci> &#937; </ci> <ci> n </ci> </apply> <apply> <floor /> <apply> <times /> <apply> <power /> <ci> x </ci> <apply> <times /> <cn type='integer'> 1 </cn> <apply> <power /> <ci> k </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <eq /> <ci> n </ci> <apply> <product /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <ci> l </ci> </uplimit> <apply> <power /> <apply> <ci> Subscript </ci> <ci> p </ci> <ci> k </ci> </apply> <apply> <ci> Subscript </ci> <ci> n </ci> <ci> k </ci> </apply> </apply> </apply> </apply> <apply> <in /> <apply> <ci> Subscript </ci> <ci> p </ci> <ci> k </ci> </apply> <primes /> </apply> <apply> <in /> <apply> <ci> Subscript </ci> <ci> n </ci> <ci> k </ci> </apply> <apply> <ci> SuperPlus </ci> <ci> &#8469; </ci> </apply> </apply> <apply> <eq /> <apply> <ci> &#937; </ci> <ci> n </ci> </apply> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <ci> l </ci> </uplimit> <apply> <ci> Subscript </ci> <ci> n </ci> <ci> k </ci> </apply> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>










Rule Form





Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["PrimePi", "[", "x_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["-", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["Floor", "[", RowBox[List["Log", "[", RowBox[List["2", ",", "x"]], "]"]], "]"]]], RowBox[List[RowBox[List["MoebiusMu", "[", "k", "]"]], " ", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["n", "=", "2"]], RowBox[List["Floor", "[", SuperscriptBox["x", RowBox[List["1", "/", "k"]]], "]"]]], RowBox[List[RowBox[List["MoebiusMu", "[", "n", "]"]], " ", RowBox[List["\[CapitalOmega]", "[", "n", "]"]], " ", RowBox[List["Floor", "[", FractionBox[SuperscriptBox["x", RowBox[List["1", "/", "k"]]], "n"], "]"]]]]]]]]]]]], "/;", RowBox[List[RowBox[List["n", "\[Equal]", RowBox[List[UnderoverscriptBox["\[Product]", RowBox[List["k", "=", "1"]], "l"], SubsuperscriptBox["p", "k", SubscriptBox["n", "k"]]]]]], "&&", RowBox[List[SubscriptBox["p", "k"], "\[Element]", "Primes"]], "&&", RowBox[List[SubscriptBox["n", "k"], "\[Element]", "Integers"]], "&&", RowBox[List[SubscriptBox["n", "k"], ">", "0"]], "&&", RowBox[List[RowBox[List["\[CapitalOmega]", "[", "n", "]"]], "\[Equal]", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "l"], SubscriptBox["n", "k"]]]]]]]]]]]]]










Date Added to functions.wolfram.com (modification date)





2001-10-29





© 1998-2014 Wolfram Research, Inc.