|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.10.27.0002.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LCM[Subscript[n, 1], Subscript[n, 2]] ==
Product[Subscript[p, i, j]^Max[Subscript[\[Alpha], 1, j],
Subscript[\[Alpha], 2, j]], {j, 1, Subscript[j, k]}] /;
Element[Subscript[n, 1], Integers] && Subscript[n, 1] > 0 &&
Element[Subscript[n, 2], Integers] && Subscript[n, 2] > 0 &&
FactorInteger[Subscript[n, k]] ==
{{Subscript[p, k, 1], Subscript[\[Alpha], k, 1]}, \[Ellipsis],
{Subscript[p, k, Subscript[j, k]], Subscript[\[Alpha], k,
Subscript[j, k]]}} && Element[Subscript[p, k, j], Primes] &&
Element[Subscript[\[Alpha], k, j], Integers] &&
Subscript[\[Alpha], k, j] > 0 && 1 <= k <= 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["LCM", "[", RowBox[List[SubscriptBox["n", "1"], ",", SubscriptBox["n", "2"]]], "]"]], "\[Equal]", RowBox[List[UnderoverscriptBox["\[Product]", RowBox[List["j", "=", "1"]], SubscriptBox["j", "k"]], SubsuperscriptBox["p", RowBox[List["i", ",", "j"]], RowBox[List["Max", "[", RowBox[List[SubscriptBox["\[Alpha]", RowBox[List["1", ",", "j"]]], ",", SubscriptBox["\[Alpha]", RowBox[List["2", ",", "j"]]]]], "]"]]]]]]], "/;", RowBox[List[RowBox[List[SubscriptBox["n", "1"], "\[Element]", "Integers"]], "\[And]", RowBox[List[SubscriptBox["n", "1"], ">", "0"]], "\[And]", RowBox[List[SubscriptBox["n", "2"], "\[Element]", "Integers"]], "\[And]", RowBox[List[SubscriptBox["n", "2"], ">", "0"]], "\[And]", RowBox[List[RowBox[List["FactorInteger", "[", SubscriptBox["n", "k"], "]"]], "\[Equal]", RowBox[List["{", RowBox[List[RowBox[List["{", RowBox[List[SubscriptBox["p", RowBox[List["k", ",", "1"]]], ",", SubscriptBox["\[Alpha]", RowBox[List["k", ",", "1"]]]]], "}"]], ",", "\[Ellipsis]", ",", RowBox[List["{", RowBox[List[SubscriptBox["p", RowBox[List["k", ",", SubscriptBox["j", "k"]]]], ",", SubscriptBox["\[Alpha]", RowBox[List["k", ",", SubscriptBox["j", "k"]]]]]], "}"]]]], "}"]]]], "\[And]", RowBox[List[SubscriptBox["p", RowBox[List["k", ",", "j"]]], "\[Element]", "Primes"]], "\[And]", RowBox[List[SubscriptBox["\[Alpha]", RowBox[List["k", ",", "j"]]], "\[Element]", "Integers"]], "\[And]", RowBox[List[SubscriptBox["\[Alpha]", RowBox[List["k", ",", "j"]]], ">", "0"]], "\[And]", RowBox[List["1", "\[LessEqual]", "k", "\[LessEqual]", "2"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <mi> lcm </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <msub> <mi> n </mi> <mn> 1 </mn> </msub> <mo> , </mo> <msub> <mi> n </mi> <mn> 2 </mn> </msub> </mrow> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <munderover> <mo> ∏ </mo> <mrow> <mi> j </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <msub> <mi> j </mi> <mi> k </mi> </msub> </munderover> <msubsup> <mi> p </mi> <mrow> <mi> i </mi> <mo> , </mo> <mi> j </mi> </mrow> <mrow> <mi> max </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <msub> <mi> α </mi> <mrow> <mn> 1 </mn> <mo> , </mo> <mi> j </mi> </mrow> </msub> <mo> , </mo> <msub> <mi> α </mi> <mrow> <mn> 2 </mn> <mo> , </mo> <mi> j </mi> </mrow> </msub> </mrow> <mo> ) </mo> </mrow> </msubsup> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <msub> <mi> n </mi> <mn> 1 </mn> </msub> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> <mo> ∧ </mo> <mrow> <msub> <mi> n </mi> <mn> 2 </mn> </msub> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> <mo> ∧ </mo> <mrow> <mrow> <mi> factors </mi> <mo> ⁡ </mo> <mo> ( </mo> <msub> <mi> n </mi> <mi> k </mi> </msub> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mo> { </mo> <mrow> <mrow> <mo> { </mo> <mrow> <msub> <mi> p </mi> <mrow> <mi> k </mi> <mo> , </mo> <mn> 1 </mn> </mrow> </msub> <mo> , </mo> <msub> <mi> α </mi> <mrow> <mi> k </mi> <mo> , </mo> <mn> 1 </mn> </mrow> </msub> </mrow> <mo> } </mo> </mrow> <mo> , </mo> <mo> … </mo> <mo> , </mo> <mrow> <mo> { </mo> <mrow> <msub> <mi> p </mi> <mrow> <mi> k </mi> <mo> , </mo> <msub> <mi> j </mi> <mi> k </mi> </msub> </mrow> </msub> <mo> , </mo> <msub> <mi> α </mi> <mrow> <mi> k </mi> <mo> , </mo> <msub> <mi> j </mi> <mi> k </mi> </msub> </mrow> </msub> </mrow> <mo> } </mo> </mrow> </mrow> <mo> } </mo> </mrow> </mrow> <mo> ∧ </mo> <mrow> <msub> <mi> p </mi> <mrow> <mi> k </mi> <mo> , </mo> <mi> j </mi> </mrow> </msub> <mo> ∈ </mo> <semantics> <mi> ℙ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalP]", Function[Primes]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <msub> <mi> α </mi> <mrow> <mi> k </mi> <mo> , </mo> <mi> j </mi> </mrow> </msub> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> <mo> ∧ </mo> <mrow> <mn> 1 </mn> <mo> ≤ </mo> <mi> k </mi> <mo> ≤ </mo> <mn> 2 </mn> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <lcm /> <apply> <ci> Subscript </ci> <ci> n </ci> <cn type='integer'> 1 </cn> </apply> <apply> <ci> Subscript </ci> <ci> n </ci> <cn type='integer'> 2 </cn> </apply> </apply> <apply> <product /> <bvar> <ci> j </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <apply> <ci> Subscript </ci> <ci> j </ci> <ci> k </ci> </apply> </uplimit> <apply> <power /> <apply> <ci> Subscript </ci> <ci> p </ci> <ci> i </ci> <ci> j </ci> </apply> <apply> <max /> <apply> <ci> Subscript </ci> <ci> α </ci> <cn type='integer'> 1 </cn> <ci> j </ci> </apply> <apply> <ci> Subscript </ci> <ci> α </ci> <cn type='integer'> 2 </cn> <ci> j </ci> </apply> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <in /> <apply> <ci> Subscript </ci> <ci> n </ci> <cn type='integer'> 1 </cn> </apply> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <in /> <apply> <ci> Subscript </ci> <ci> n </ci> <cn type='integer'> 2 </cn> </apply> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <eq /> <apply> <ci> factors </ci> <apply> <ci> Subscript </ci> <ci> n </ci> <ci> k </ci> </apply> </apply> <list> <list> <apply> <ci> Subscript </ci> <ci> p </ci> <ci> k </ci> <cn type='integer'> 1 </cn> </apply> <apply> <ci> Subscript </ci> <ci> α </ci> <ci> k </ci> <cn type='integer'> 1 </cn> </apply> </list> <ci> … </ci> <list> <apply> <ci> Subscript </ci> <ci> p </ci> <ci> k </ci> <apply> <ci> Subscript </ci> <ci> j </ci> <ci> k </ci> </apply> </apply> <apply> <ci> Subscript </ci> <ci> α </ci> <ci> k </ci> <apply> <ci> Subscript </ci> <ci> j </ci> <ci> k </ci> </apply> </apply> </list> </list> </apply> <apply> <in /> <apply> <ci> Subscript </ci> <ci> p </ci> <ci> k </ci> <ci> j </ci> </apply> <primes /> </apply> <apply> <in /> <apply> <ci> Subscript </ci> <ci> α </ci> <ci> k </ci> <ci> j </ci> </apply> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> <apply> <leq /> <cn type='integer'> 1 </cn> <ci> k </ci> <cn type='integer'> 2 </cn> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["LCM", "[", RowBox[List[SubscriptBox["n_", "1"], ",", SubscriptBox["n_", "2"]]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[UnderoverscriptBox["\[Product]", RowBox[List["j", "=", "1"]], SubscriptBox["j", "k"]], SubsuperscriptBox["p", RowBox[List["i", ",", "j"]], RowBox[List["Max", "[", RowBox[List[SubscriptBox["\[Alpha]", RowBox[List["1", ",", "j"]]], ",", SubscriptBox["\[Alpha]", RowBox[List["2", ",", "j"]]]]], "]"]]]]], "/;", RowBox[List[RowBox[List[SubscriptBox["n", "1"], "\[Element]", "Integers"]], "&&", RowBox[List[SubscriptBox["n", "1"], ">", "0"]], "&&", RowBox[List[SubscriptBox["n", "2"], "\[Element]", "Integers"]], "&&", RowBox[List[SubscriptBox["n", "2"], ">", "0"]], "&&", RowBox[List[RowBox[List["FactorInteger", "[", SubscriptBox["n", "k"], "]"]], "\[Equal]", RowBox[List["{", RowBox[List[RowBox[List["{", RowBox[List[SubscriptBox["p", RowBox[List["k", ",", "1"]]], ",", SubscriptBox["\[Alpha]", RowBox[List["k", ",", "1"]]]]], "}"]], ",", "\[Ellipsis]", ",", RowBox[List["{", RowBox[List[SubscriptBox["p", RowBox[List["k", ",", SubscriptBox["j", "k"]]]], ",", SubscriptBox["\[Alpha]", RowBox[List["k", ",", SubscriptBox["j", "k"]]]]]], "}"]]]], "}"]]]], "&&", RowBox[List[SubscriptBox["p", RowBox[List["k", ",", "j"]]], "\[Element]", "Primes"]], "&&", RowBox[List[SubscriptBox["\[Alpha]", RowBox[List["k", ",", "j"]]], "\[Element]", "Integers"]], "&&", RowBox[List[SubscriptBox["\[Alpha]", RowBox[List["k", ",", "j"]]], ">", "0"]], "&&", RowBox[List["1", "\[LessEqual]", "k", "\[LessEqual]", "2"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|