Find the LCM
Loading the math board and drawing, please wait…
This example demonstrates how to find the least common multiple (LCM) of two numbers using GeoGebra. Key mathematical concepts include number theory, specifically LCM and GCD. The construction involves commands such as Random, LCM, Textfield, If, Sequence, PrimeFactors, and GCD. Suitable for middle school and above students to learn about number theory.
GeoGebra Commands & Parameters
Random(3, 20) → num2Random(2, 16) → num1LCM(num1, num2) → num3Textfield(num_{LCM}) → InputBox1If(num_{LCM} ≟ num3, "Good Job", "Sorry, try again") → checkSequence(num1, (more * num1), num1) → list1PrimeFactors(num1) → prime1PrimeFactors(num2) → prime2Sequence(num2, (more * num2), num2) → list2GCD(num1, num2) → num4If(num_{GCF} ≟ num4, "Good Job", "Try Again") → check_{GCF}Textfield(num_{GCF}) → InputBox2