Finding LCM by Listing Multiples by Alex CHIK
Loading the math board and drawing, please wait…
This example demonstrates how to find the least common multiple (LCM) of two natural numbers using the listing method. Key mathematical concepts include natural numbers, multiples, and LCM. GeoGebra commands such as Sequence and Append are used to construct sequences, providing a visual understanding of the LCM concept. Suitable for students from upper elementary to middle school.
GeoGebra Commands & Parameters
Append("", Sequence[Text[i], i, 1, 30]) → listNumIf(SelectedIndex[listNum1] > 1, SelectedIndex[listNum1] - 1) → n1If(SelectedIndex[listNum2] > 1, SelectedIndex[listNum2] - 1) → n2If(n1 > 0 ∧ n2 > 0, LCM[n1, n2], 0) → aIf(t2 ≥ 1, Sequence[(n2 * i), i, 1, t2], {0}) → listMultiple2If(t1 ≥ 1, Sequence[(n1 * i), i, 1, t1], {0}) → listMultiple1Sequence((i * a), i, 1, 30) → listCMIf(listMultiple1 ≟ {0} ∨ t1 ≟ 0, {0}, First[listMultiple1, t1]) → listM1If(t1 > 0, Sequence[If[IndexOf[listM1(i), listCM] ≥ 1 ∧ box1, "\blue{\bold{", ""] + (Text[listM1(i)]) + (If[IndexOf[listM1(i), listCM] ≥ 1 ∧ box1, "}}", ""]) + "\,,\," + (If[i ≟ 10 ∨ i ≟ 20, "\\", ""]), i, 1, t1], {"0"}) → listMultiText1If(listMultiple2 ≟ {0} ∨ t2 ≟ 0, {0}, First[listMultiple2, t2]) → listM2If(t2 > 0, Sequence[If[IndexOf[listM2(i), listCM] ≥ 1 ∧ box1, "\blue{\bold{", ""] + (Text[listM2(i)]) + (If[IndexOf[listM2(i), listCM] ≥ 1 ∧ box1, "}}", ""]) + "\,,\," + (If[i ≟ 10 ∨ i ≟ 20, "\\", ""]), i, 1, t2], {"0"}) → listMultiText2If(listMultiText1 ≟ {"0"}, " ", Sum[listMultiText1]) → textSum1If(listMultiText2 ≟ {"0"}, " ", Sum[listMultiText2]) → textSum2If(t1 > 1, "the first " + t1 + " multiples", t1 ≟ 1, "the first multiple") → text1If(t2 > 1, "the first " + t2 + " multiples", t2 ≟ 1, "the first multiple") → text2