|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.06.06.0001.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mod[m, n] == n/2 - (n/Pi) Sum[(1/k) Sin[(2 Pi k m)/n], {k, 1, Infinity}] /;
Element[m/n, Reals] && !Element[m/n, Integers]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Mod", "[", RowBox[List["m", ",", "n"]], "]"]], "\[Equal]", RowBox[List[FractionBox["n", "2"], "-", RowBox[List[FractionBox["n", "\[Pi]"], RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "\[Infinity]"], RowBox[List[FractionBox["1", "k"], RowBox[List["Sin", "[", FractionBox[RowBox[List["2", " ", "\[Pi]", " ", "k", " ", "m"]], "n"], "]"]]]]]]]]]]]], "/;", RowBox[List[RowBox[List["Element", "[", RowBox[List[FractionBox["m", "n"], ",", "Reals"]], "]"]], "\[And]", RowBox[List["Not", "[", RowBox[List["Element", "[", RowBox[List[FractionBox["m", "n"], ",", "Integers"]], "]"]], "]"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <semantics> <mrow> <mi> m </mi> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mi> n </mi> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <ci> $CellContext`m </ci> <ci> $CellContext`n </ci> </apply> </annotation-xml> </semantics> <mo> ⩵ </mo> <mrow> <mfrac> <mi> n </mi> <mn> 2 </mn> </mfrac> <mo> - </mo> <mrow> <mfrac> <mrow> <mi> n </mi> <mtext> </mtext> </mrow> <mi> π </mi> </mfrac> <mo> ⁢ </mo> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mi> ∞ </mi> </munderover> <mrow> <mfrac> <mn> 1 </mn> <mi> k </mi> </mfrac> <mo> ⁢ </mo> <mrow> <mi> sin </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mi> π </mi> <mo> ⁢ </mo> <mi> k </mi> <mo> ⁢ </mo> <mi> m </mi> </mrow> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> </mrow> </mrow> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ∉ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <rem /> <ci> $CellContext`m </ci> <ci> $CellContext`n </ci> </apply> <apply> <plus /> <apply> <times /> <ci> n </ci> <apply> <power /> <cn type='integer'> 2 </cn> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <times /> <ci> n </ci> <apply> <power /> <pi /> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <infinity /> </uplimit> <apply> <times /> <apply> <times /> <cn type='integer'> 1 </cn> <apply> <power /> <ci> k </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <sin /> <apply> <times /> <cn type='integer'> 2 </cn> <pi /> <ci> k </ci> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <in /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <reals /> </apply> <apply> <notin /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <integers /> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Mod", "[", RowBox[List["m_", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[FractionBox["n", "2"], "-", FractionBox[RowBox[List["n", " ", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "\[Infinity]"], FractionBox[RowBox[List["Sin", "[", FractionBox[RowBox[List["2", " ", "\[Pi]", " ", "k", " ", "m"]], "n"], "]"]], "k"]]]]], "\[Pi]"]]], "/;", RowBox[List[RowBox[List[FractionBox["m", "n"], "\[Element]", "Reals"]], "&&", RowBox[List["!", RowBox[List[FractionBox["m", "n"], "\[Element]", "Integers"]]]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|