|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.07.27.0005.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quotient[m, n] == m/n - FractionalPart[m/n] - 1 - I +
I Sign[CharacteristicFunction[Im[m/n], Integers] + UnitStep[Im[m/n]]] +
Sign[CharacteristicFunction[Re[m/n], Integers] + UnitStep[Re[m/n]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List["Quotient", "[", RowBox[List["m", ",", "n"]], "]"]], "\[Equal]", RowBox[List[FractionBox["m", "n"], "-", RowBox[List["FractionalPart", "[", FractionBox["m", "n"], "]"]], "-", "1", "-", "\[ImaginaryI]", "+", RowBox[List["\[ImaginaryI]", " ", RowBox[List["Sign", "[", RowBox[List[RowBox[List["CharacteristicFunction", "[", RowBox[List[RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], ",", "Integers"]], "]"]], "+", RowBox[List["UnitStep", "[", RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], "]"]]]], "]"]]]], "+", RowBox[List["Sign", "[", RowBox[List[RowBox[List["CharacteristicFunction", "[", RowBox[List[RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], ",", "Integers"]], "]"]], "+", RowBox[List["UnitStep", "[", RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], "]"]]]], "]"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <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> <mrow> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> - </mo> <mrow> <mi> frac </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> - </mo> <mn> 1 </mn> <mo> - </mo> <mi> ⅈ </mi> <mo> + </mo> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mrow> <mi> sgn </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mrow> <msub> <mi> χ </mi> <mi> ℤ </mi> </msub> <mo> ( </mo> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> ) </mo> </mrow> <mo> + </mo> <mrow> <semantics> <mi> θ </mi> <annotation-xml encoding='MathML-Content'> <ci> UnitStep </ci> </annotation-xml> </semantics> <mo> ( </mo> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> + </mo> <mrow> <mi> sgn </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mrow> <msub> <mi> χ </mi> <mi> ℤ </mi> </msub> <mo> ( </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> ) </mo> </mrow> <mo> + </mo> <mrow> <semantics> <mi> θ </mi> <annotation-xml encoding='MathML-Content'> <ci> UnitStep </ci> </annotation-xml> </semantics> <mo> ( </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <eq /> <apply> <ci> quotient </ci> <ci> m </ci> <ci> n </ci> </apply> <apply> <plus /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <ci> FractionalPart </ci> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> <cn type='integer'> -1 </cn> <apply> <times /> <cn type='integer'> -1 </cn> <imaginaryi /> </apply> <apply> <times /> <imaginaryi /> <apply> <ci> Sign </ci> <apply> <plus /> <apply> <apply> <ci> Subscript </ci> <ci> χ </ci> <ci> ℤ </ci> </apply> <apply> <imaginary /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> <apply> <ci> UnitStep </ci> <apply> <imaginary /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <ci> Sign </ci> <apply> <plus /> <apply> <apply> <ci> Subscript </ci> <ci> χ </ci> <ci> ℤ </ci> </apply> <apply> <real /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> <apply> <ci> UnitStep </ci> <apply> <real /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Quotient", "[", RowBox[List["m_", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[FractionBox["m", "n"], "-", RowBox[List["FractionalPart", "[", FractionBox["m", "n"], "]"]], "-", "1", "-", "\[ImaginaryI]", "+", RowBox[List["\[ImaginaryI]", " ", RowBox[List["Sign", "[", RowBox[List[RowBox[List["CharacteristicFunction", "[", RowBox[List[RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], ",", "Integers"]], "]"]], "+", RowBox[List["UnitStep", "[", RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], "]"]]]], "]"]]]], "+", RowBox[List["Sign", "[", RowBox[List[RowBox[List["CharacteristicFunction", "[", RowBox[List[RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], ",", "Integers"]], "]"]], "+", RowBox[List["UnitStep", "[", RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], "]"]]]], "]"]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|