|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.06.03.0007.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mod[m, n] == m - k n /; Element[m, Integers] && m > 0 &&
Element[n, Integers] && n > 0 && Element[k, Integers] && k > 0 &&
Inequality[k n, LessEqual, m, Less, (k + 1) n]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Mod", "[", RowBox[List["m", ",", "n"]], "]"]], "\[Equal]", RowBox[List["m", "-", RowBox[List["k", " ", "n"]]]]]], "/;", RowBox[List[RowBox[List["Element", "[", RowBox[List["m", ",", "Integers"]], "]"]], "\[And]", RowBox[List["m", ">", "0"]], "\[And]", RowBox[List["Element", "[", RowBox[List["n", ",", "Integers"]], "]"]], "\[And]", RowBox[List["n", ">", "0"]], "\[And]", RowBox[List["Element", "[", RowBox[List["k", ",", "Integers"]], "]"]], "\[And]", RowBox[List["k", ">", "0"]], "\[And]", RowBox[List[RowBox[List["k", " ", "n"]], "\[LessEqual]", "m", "<", RowBox[List[RowBox[List["(", RowBox[List["k", "+", "1"]], ")"]], "n"]]]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <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> <mi> m </mi> <mo> - </mo> <mrow> <mi> k </mi> <mo> ⁢ </mo> <mi> n </mi> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> m </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> k </mi> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> <mo> ∧ </mo> <mrow> <mrow> <mi> k </mi> <mo> ⁢ </mo> <mi> n </mi> </mrow> <mo> ≤ </mo> <mi> m </mi> <mo> < </mo> <mrow> <mrow> <mo> ( </mo> <mrow> <mi> k </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mi> n </mi> </mrow> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <rem /> <ci> $CellContext`m </ci> <ci> $CellContext`n </ci> </apply> <apply> <plus /> <ci> m </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <ci> k </ci> <ci> n </ci> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <in /> <ci> m </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <in /> <ci> n </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <in /> <ci> k </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <ci> Inequality </ci> <apply> <times /> <ci> k </ci> <ci> n </ci> </apply> <leq /> <ci> m </ci> <lt /> <apply> <times /> <apply> <plus /> <ci> k </ci> <cn type='integer'> 1 </cn> </apply> <ci> n </ci> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Mod", "[", RowBox[List["m_", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["m", "-", RowBox[List["k", " ", "n"]]]], "/;", RowBox[List[RowBox[List["m", "\[Element]", "Integers"]], "&&", RowBox[List["m", ">", "0"]], "&&", RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", ">", "0"]], "&&", RowBox[List["k", "\[Element]", "Integers"]], "&&", RowBox[List["k", ">", "0"]], "&&", RowBox[List[RowBox[List["k", " ", "n"]], "\[LessEqual]", "m", "<", RowBox[List[RowBox[List["(", RowBox[List["k", "+", "1"]], ")"]], " ", "n"]]]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|