|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.06.16.0015.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a == Mod[b, LCM[n, m]] /; a == Mod[b, n] && a == Mod[b, m] &&
Element[a, Integers] && a > 0 && Element[b, Integers] && b > 0 &&
Element[n, Integers] && n > 0 && Element[m, Integers] && m > 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List["a", "\[Equal]", RowBox[List["Mod", "[", RowBox[List["b", ",", RowBox[List["LCM", "[", RowBox[List["n", ",", "m"]], "]"]]]], "]"]]]], "/;", RowBox[List[RowBox[List["a", "\[Equal]", RowBox[List["Mod", "[", RowBox[List["b", ",", "n"]], "]"]]]], "\[And]", RowBox[List["a", "\[Equal]", RowBox[List["Mod", "[", RowBox[List["b", ",", "m"]], "]"]]]], "\[And]", RowBox[List["a", "\[Element]", "Integers"]], "\[And]", RowBox[List["a", ">", "0"]], "\[And]", RowBox[List["b", "\[Element]", "Integers"]], "\[And]", RowBox[List["b", ">", "0"]], "\[And]", RowBox[List["n", "\[Element]", "Integers"]], "\[And]", RowBox[List["n", ">", "0"]], "\[And]", RowBox[List["m", "\[Element]", "Integers"]], "\[And]", RowBox[List["m", ">", "0"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mi> a </mi> <mo> ⩵ </mo> <semantics> <mrow> <mi> b </mi> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mrow> <mi> lcm </mi> <mo> ( </mo> <mrow> <mi> n </mi> <mo> , </mo> <mi> m </mi> </mrow> <mo> ] </mo> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <ci> $CellContext`b </ci> <apply> <lcm /> <ci> $CellContext`n </ci> <ci> $CellContext`m </ci> </apply> </apply> </annotation-xml> </semantics> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> a </mi> <mo> ⩵ </mo> <semantics> <mrow> <mi> b </mi> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mi> n </mi> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <ci> $CellContext`b </ci> <ci> $CellContext`n </ci> </apply> </annotation-xml> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> a </mi> <mo> ⩵ </mo> <semantics> <mrow> <mi> b </mi> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mi> m </mi> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <ci> $CellContext`b </ci> <ci> $CellContext`m </ci> </apply> </annotation-xml> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> a </mi> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> <mo> ∧ </mo> <mrow> <mi> b </mi> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> <mo> ∧ </mo> <mrow> <mi> n </mi> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> <mo> ∧ </mo> <mrow> <mi> m </mi> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <ci> a </ci> <apply> <rem /> <ci> $CellContext`b </ci> <apply> <lcm /> <ci> $CellContext`n </ci> <ci> $CellContext`m </ci> </apply> </apply> </apply> <apply> <and /> <apply> <eq /> <ci> a </ci> <apply> <rem /> <ci> $CellContext`b </ci> <ci> $CellContext`n </ci> </apply> </apply> <apply> <eq /> <ci> a </ci> <apply> <rem /> <ci> $CellContext`b </ci> <ci> $CellContext`m </ci> </apply> </apply> <apply> <in /> <ci> a </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <in /> <ci> b </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <in /> <ci> n </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <in /> <ci> m </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", "a_", "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["Mod", "[", RowBox[List["b", ",", RowBox[List["LCM", "[", RowBox[List["n", ",", "m"]], "]"]]]], "]"]], "/;", RowBox[List[RowBox[List["a", "\[Equal]", RowBox[List["Mod", "[", RowBox[List["b", ",", "n"]], "]"]]]], "&&", RowBox[List["a", "\[Equal]", RowBox[List["Mod", "[", RowBox[List["b", ",", "m"]], "]"]]]], "&&", RowBox[List["a", "\[Element]", "Integers"]], "&&", RowBox[List["a", ">", "0"]], "&&", RowBox[List["b", "\[Element]", "Integers"]], "&&", RowBox[List["b", ">", "0"]], "&&", RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", ">", "0"]], "&&", RowBox[List["m", "\[Element]", "Integers"]], "&&", RowBox[List["m", ">", "0"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|