|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.06.16.0027.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mod[Quotient[m, n], n] == Floor[m/n] - n Floor[(1/n) Floor[m/n]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List["Mod", "[", RowBox[List[RowBox[List["Quotient", "[", RowBox[List["m", ",", "n"]], "]"]], ",", "n"]], "]"]], "\[Equal]", RowBox[List[RowBox[List["Floor", "[", FractionBox["m", "n"], "]"]], "-", RowBox[List["n", " ", RowBox[List["Floor", "[", RowBox[List[FractionBox["1", "n"], RowBox[List["Floor", "[", FractionBox["m", "n"], "]"]]]], "]"]]]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <semantics> <mrow> <mrow> <mi> quotient </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> m </mi> <mo> , </mo> <mi> n </mi> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mi> n </mi> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <apply> <quotient /> <ci> FE`Conversion`Private`m </ci> <ci> FE`Conversion`Private`n </ci> </apply> <ci> FE`Conversion`Private`n </ci> </apply> </annotation-xml> </semantics> <mo> ⩵ </mo> <mrow> <mrow> <mo> ⌊ </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ⌋ </mo> </mrow> <mo> - </mo> <mrow> <mi> n </mi> <mo> ⁢ </mo> <mrow> <mo> ⌊ </mo> <mrow> <mfrac> <mn> 1 </mn> <mi> n </mi> </mfrac> <mo> ⁢ </mo> <mrow> <mo> ⌊ </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ⌋ </mo> </mrow> </mrow> <mo> ⌋ </mo> </mrow> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <eq /> <apply> <rem /> <apply> <quotient /> <ci> FE`Conversion`Private`m </ci> <ci> FE`Conversion`Private`n </ci> </apply> <ci> FE`Conversion`Private`n </ci> </apply> <apply> <plus /> <apply> <floor /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <ci> n </ci> <apply> <floor /> <apply> <times /> <apply> <times /> <cn type='integer'> 1 </cn> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <floor /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Mod", "[", RowBox[List[RowBox[List["Quotient", "[", RowBox[List["m_", ",", "n_"]], "]"]], ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["Floor", "[", FractionBox["m", "n"], "]"]], "-", RowBox[List["n", " ", RowBox[List["Floor", "[", FractionBox[RowBox[List["Floor", "[", FractionBox["m", "n"], "]"]], "n"], "]"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|