|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/13.04.02.0001.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PrimePi[x] == Sum[UnitStep[x - Prime[k]], {k, 1, Floor[x]}] /;
Element[x, Reals] && x >= 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["PrimePi", "[", "x", "]"]], "\[Equal]", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["Floor", "[", "x", "]"]]], RowBox[List["UnitStep", "[", RowBox[List["x", "-", RowBox[List["Prime", "[", "k", "]"]]]], "]"]]]]]], "/;", " ", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "\[And]", RowBox[List["x", "\[GreaterEqual]", "0"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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> π </mi> <annotation encoding='Mathematica'> TagBox["\[Pi]", PrimePi] </annotation> </semantics> <mo> ( </mo> <mi> x </mi> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mrow> <mo> ⌊ </mo> <mi> x </mi> <mo> ⌋ </mo> </mrow> </munderover> <mrow> <semantics> <mi> θ </mi> <annotation-xml encoding='MathML-Content'> <ci> UnitStep </ci> </annotation-xml> </semantics> <mo> ( </mo> <mrow> <mi> x </mi> <mo> - </mo> <mrow> <mi> prime </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> k </mi> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> x </mi> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> x </mi> <mo> ≥ </mo> <mn> 0 </mn> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> PrimePi </ci> <ci> x </ci> </apply> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <apply> <floor /> <ci> x </ci> </apply> </uplimit> <apply> <ci> UnitStep </ci> <apply> <plus /> <ci> x </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <ci> prime </ci> <ci> k </ci> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <in /> <ci> x </ci> <reals /> </apply> <apply> <geq /> <ci> x </ci> <cn type='integer'> 0 </cn> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["PrimePi", "[", "x_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["Floor", "[", "x", "]"]]], RowBox[List["UnitStep", "[", RowBox[List["x", "-", RowBox[List["Prime", "[", "k", "]"]]]], "]"]]]], "/;", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "&&", RowBox[List["x", "\[GreaterEqual]", "0"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|