|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/13.04.06.0006.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PrimePi[n] == Sum[KroneckerDelta[(E^((2 Pi I (n - 1)!)/n) - 1)/
(E^(-((2 Pi I)/n)) - 1), 1], {n, 2, n}] /; Element[n, Integers] && n >= 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["PrimePi", "[", "n", "]"]], "\[Equal]", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["n", "=", "2"]], "n"], RowBox[List["KroneckerDelta", "[", RowBox[List[FractionBox[RowBox[List[SuperscriptBox["\[ExponentialE]", FractionBox[RowBox[List["2", " ", "\[Pi]", " ", "\[ImaginaryI]", " ", RowBox[List[RowBox[List["(", RowBox[List["n", "-", "1"]], ")"]], "!"]]]], "n"]], "-", "1"]], RowBox[List[SuperscriptBox["\[ExponentialE]", RowBox[List["-", FractionBox[RowBox[List["2", " ", "\[Pi]", " ", "\[ImaginaryI]"]], "n"]]]], "-", "1"]]], ",", "1"]], "]"]]]]]], "/;", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "\[And]", RowBox[List["n", "\[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> n </mi> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> n </mi> <mo> = </mo> <mn> 2 </mn> </mrow> <mi> n </mi> </munderover> <msub> <semantics> <mi> δ </mi> <annotation-xml encoding='MathML-Content'> <ci> KroneckerDelta </ci> </annotation-xml> </semantics> <mrow> <mfrac> <mrow> <msup> <mi> ⅇ </mi> <mfrac> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mi> π </mi> <mo> ⁢ </mo> <mi> ⅈ </mi> <mo> ⁢ </mo> <mrow> <mrow> <mo> ( </mo> <mrow> <mi> n </mi> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mo> ! </mo> </mrow> </mrow> <mi> n </mi> </mfrac> </msup> <mo> - </mo> <mn> 1 </mn> </mrow> <mrow> <msup> <mi> ⅇ </mi> <mrow> <mo> - </mo> <mfrac> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mi> π </mi> <mo> ⁢ </mo> <mi> ⅈ </mi> </mrow> <mi> n </mi> </mfrac> </mrow> </msup> <mo> - </mo> <mn> 1 </mn> </mrow> </mfrac> <mo> , </mo> <mn> 1 </mn> </mrow> </msub> </mrow> </mrow> <mo> /; </mo> <mrow> <mi> n </mi> <mo> ∈ </mo> <mi> ℕ </mi> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> PrimePi </ci> <ci> n </ci> </apply> <apply> <sum /> <bvar> <ci> n </ci> </bvar> <lowlimit> <cn type='integer'> 2 </cn> </lowlimit> <uplimit> <ci> n </ci> </uplimit> <apply> <ci> KroneckerDelta </ci> <apply> <times /> <apply> <plus /> <apply> <power /> <exponentiale /> <apply> <times /> <cn type='integer'> 2 </cn> <pi /> <imaginaryi /> <apply> <factorial /> <apply> <plus /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <cn type='integer'> -1 </cn> </apply> <apply> <power /> <apply> <plus /> <apply> <power /> <exponentiale /> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <cn type='integer'> 2 </cn> <pi /> <imaginaryi /> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> <cn type='integer'> -1 </cn> </apply> <cn type='integer'> -1 </cn> </apply> </apply> <cn type='integer'> 1 </cn> </apply> </apply> </apply> <apply> <in /> <ci> n </ci> <ci> ℕ </ci> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["PrimePi", "[", "n_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["n", "=", "2"]], "n"], RowBox[List["KroneckerDelta", "[", RowBox[List[FractionBox[RowBox[List[SuperscriptBox["\[ExponentialE]", FractionBox[RowBox[List["2", " ", "\[Pi]", " ", "\[ImaginaryI]", " ", RowBox[List[RowBox[List["(", RowBox[List["n", "-", "1"]], ")"]], "!"]]]], "n"]], "-", "1"]], RowBox[List[SuperscriptBox["\[ExponentialE]", RowBox[List["-", FractionBox[RowBox[List["2", " ", "\[Pi]", " ", "\[ImaginaryI]"]], "n"]]]], "-", "1"]]], ",", "1"]], "]"]]]], "/;", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", "\[GreaterEqual]", "0"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|