![](/common/images/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
http://functions.wolfram.com/04.06.19.0001.01
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
Re[Mod[m, n]] ==
Re[m] + Floor[(Im[m] Re[n] - Im[n] Re[m])/(Im[n]^2 + Re[n]^2)] Im[n] -
Floor[(Im[m] Im[n] + Re[m] Re[n])/(Im[n]^2 + Re[n]^2)] Re[n]
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
Cell[BoxData[RowBox[List[RowBox[List["Re", "[", RowBox[List["Mod", "[", RowBox[List["m", ",", "n"]], "]"]], "]"]], "\[Equal]", RowBox[List[RowBox[List["Re", "[", "m", "]"]], "+", RowBox[List[RowBox[List["Floor", "[", FractionBox[RowBox[List[RowBox[List[RowBox[List["Im", "[", "m", "]"]], " ", RowBox[List["Re", "[", "n", "]"]]]], "-", RowBox[List[RowBox[List["Im", "[", "n", "]"]], " ", RowBox[List["Re", "[", "m", "]"]]]]]], RowBox[List[SuperscriptBox[RowBox[List["Im", "[", "n", "]"]], "2"], "+", SuperscriptBox[RowBox[List["Re", "[", "n", "]"]], "2"]]]], "]"]], " ", RowBox[List["Im", "[", "n", "]"]]]], "-", RowBox[List[RowBox[List["Floor", "[", FractionBox[RowBox[List[RowBox[List[RowBox[List["Im", "[", "m", "]"]], " ", RowBox[List["Im", "[", "n", "]"]]]], "+", RowBox[List[RowBox[List["Re", "[", "m", "]"]], " ", RowBox[List["Re", "[", "n", "]"]]]]]], RowBox[List[SuperscriptBox[RowBox[List["Im", "[", "n", "]"]], "2"], "+", SuperscriptBox[RowBox[List["Re", "[", "n", "]"]], "2"]]]], "]"]], " ", RowBox[List["Re", "[", "n", "]"]]]]]]]]]]
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <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> <mo> ⩵ </mo> <mrow> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> m </mi> <mo> ) </mo> </mrow> <mo> + </mo> <mrow> <mrow> <mo> ⌊ </mo> <mfrac> <mrow> <mrow> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> m </mi> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> </mrow> <mo> - </mo> <mrow> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> m </mi> <mo> ) </mo> </mrow> </mrow> </mrow> <mrow> <msup> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mn> 2 </mn> </msup> <mo> + </mo> <msup> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mn> 2 </mn> </msup> </mrow> </mfrac> <mo> ⌋ </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> </mrow> <mo> - </mo> <mrow> <mrow> <mo> ⌊ </mo> <mfrac> <mrow> <mrow> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> m </mi> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> </mrow> <mo> + </mo> <mrow> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> m </mi> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> </mrow> </mrow> <mrow> <msup> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mn> 2 </mn> </msup> <mo> + </mo> <msup> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mn> 2 </mn> </msup> </mrow> </mfrac> <mo> ⌋ </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <eq /> <apply> <real /> <apply> <rem /> <ci> $CellContext`m </ci> <ci> $CellContext`n </ci> </apply> </apply> <apply> <plus /> <apply> <real /> <ci> m </ci> </apply> <apply> <times /> <apply> <floor /> <apply> <times /> <apply> <plus /> <apply> <times /> <apply> <imaginary /> <ci> m </ci> </apply> <apply> <real /> <ci> n </ci> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <imaginary /> <ci> n </ci> </apply> <apply> <real /> <ci> m </ci> </apply> </apply> </apply> </apply> <apply> <power /> <apply> <plus /> <apply> <power /> <apply> <imaginary /> <ci> n </ci> </apply> <cn type='integer'> 2 </cn> </apply> <apply> <power /> <apply> <real /> <ci> n </ci> </apply> <cn type='integer'> 2 </cn> </apply> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <imaginary /> <ci> n </ci> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <floor /> <apply> <times /> <apply> <plus /> <apply> <times /> <apply> <imaginary /> <ci> m </ci> </apply> <apply> <imaginary /> <ci> n </ci> </apply> </apply> <apply> <times /> <apply> <real /> <ci> m </ci> </apply> <apply> <real /> <ci> n </ci> </apply> </apply> </apply> <apply> <power /> <apply> <plus /> <apply> <power /> <apply> <imaginary /> <ci> n </ci> </apply> <cn type='integer'> 2 </cn> </apply> <apply> <power /> <apply> <real /> <ci> n </ci> </apply> <cn type='integer'> 2 </cn> </apply> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <real /> <ci> n </ci> </apply> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/clear.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| | ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Re", "[", RowBox[List["Mod", "[", RowBox[List["m_", ",", "n_"]], "]"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["Re", "[", "m", "]"]], "+", RowBox[List[RowBox[List["Floor", "[", FractionBox[RowBox[List[RowBox[List[RowBox[List["Im", "[", "m", "]"]], " ", RowBox[List["Re", "[", "n", "]"]]]], "-", RowBox[List[RowBox[List["Im", "[", "n", "]"]], " ", RowBox[List["Re", "[", "m", "]"]]]]]], RowBox[List[SuperscriptBox[RowBox[List["Im", "[", "n", "]"]], "2"], "+", SuperscriptBox[RowBox[List["Re", "[", "n", "]"]], "2"]]]], "]"]], " ", RowBox[List["Im", "[", "n", "]"]]]], "-", RowBox[List[RowBox[List["Floor", "[", FractionBox[RowBox[List[RowBox[List[RowBox[List["Im", "[", "m", "]"]], " ", RowBox[List["Im", "[", "n", "]"]]]], "+", RowBox[List[RowBox[List["Re", "[", "m", "]"]], " ", RowBox[List["Re", "[", "n", "]"]]]]]], RowBox[List[SuperscriptBox[RowBox[List["Im", "[", "n", "]"]], "2"], "+", SuperscriptBox[RowBox[List["Re", "[", "n", "]"]], "2"]]]], "]"]], " ", RowBox[List["Re", "[", "n", "]"]]]]]]]]]] |
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
| ![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
Date Added to functions.wolfram.com (modification date)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
![](/images/home/spacer.gif)
|
|
![](/common/images/spacer.gif) |
|
|