HCF and LCM of Two Numbers by Short Division
Loading the math board and drawing, please wait…
This example demonstrates how to find the highest common factor (HCF) and least common multiple (LCM) of two numbers using the short division method. Key mathematical concepts include the theory of HCF and LCM. Using GeoGebra commands such as PrimeFactors, Append, and Zip, the process is visually illustrated. Suitable for students from upper elementary to middle school.
GeoGebra Commands & Parameters
PrimeFactors(GCD[{a, b}]) → list1Append(1, Sequence[Product[list1, k], k, 1, Length[list1]]) → list1PZip(a / k, k, list1P) → listAZip(b / k, k, list1P) → listBElement(Last[listA], 1) → a'Element(Last[listB], 1) → b'Textfield(a) → inputBox1Textfield(b) → inputBox2Append(Zip[Text[p] + (UnicodeToLetter[8901]), p, Take[list1, 1, Length[list1] - 1]], Text[Element[list1, Length[list1]]]) → listTextHCFJoin({list1, Last[listA], Last[listB]}) → listLCMAppend(Zip[Text[p] + (UnicodeToLetter[8901]), p, Take[listLCM, 1, Length[listLCM] - 1]], Text[Element[listLCM, Length[listLCM]]]) → listTextLCMTableText({First[listA, step1 + 1], First[listB, step1 + 1]}, "|100 _01vr") → text1TableText({First[list1, step1]}, "vr") → text4