|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.09.03.0004.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExtendedGCD[0, n] == {Abs[n], {0, Sign[n]}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List["ExtendedGCD", "[", RowBox[List["0", ",", "n"]], "]"]], "\[Equal]", RowBox[List["{", RowBox[List[RowBox[List["Abs", "[", "n", "]"]], ",", RowBox[List["{", RowBox[List["0", ",", RowBox[List["Sign", "[", "n", "]"]]]], "}"]]]], "}"]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mi> egcd </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mn> 0 </mn> <mo> , </mo> <mi> n </mi> </mrow> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mo> { </mo> <mrow> <mrow> <semantics> <mo> ❘ </mo> <annotation encoding='Mathematica'> "\[LeftBracketingBar]" </annotation> </semantics> <mi> n </mi> <semantics> <mo> ❘ </mo> <annotation encoding='Mathematica'> "\[RightBracketingBar]" </annotation> </semantics> </mrow> <mo> , </mo> <mrow> <mo> { </mo> <mrow> <mn> 0 </mn> <mo> , </mo> <mrow> <mi> sgn </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> </mrow> <mo> } </mo> </mrow> </mrow> <mo> } </mo> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <eq /> <apply> <ci> egcd </ci> <cn type='integer'> 0 </cn> <ci> n </ci> </apply> <list> <apply> <abs /> <ci> n </ci> </apply> <list> <cn type='integer'> 0 </cn> <apply> <ci> Sign </ci> <ci> n </ci> </apply> </list> </list> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["ExtendedGCD", "[", RowBox[List["0", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List["{", RowBox[List[RowBox[List["Abs", "[", "n", "]"]], ",", RowBox[List["{", RowBox[List["0", ",", RowBox[List["Sign", "[", "n", "]"]]]], "}"]]]], "}"]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|