Calculate the Greatest Common Divisor (GCD) without Prime Factorization using Ge
Loading the math board and drawing, please wait…
In collections
Gemeinsame Teiler & ggT
① This example demonstrates how to compute the greatest common divisor (GCD) of two natural numbers using GeoGebra without performing prime factorization. ② The core mathematical concepts involve number sense, factors, multiples, and the Euclidean algorithm. ③ The construction uses interactive input fields, the Sequence and Sort commands to generate ordered divisor lists, the DivisorsList and Factors commands to extract divisors, and geometric objects such as polygons and speech bubbles to display results. Key GeoGebra commands include Sequence, Sort, DivisorsList, Factors, Unique, Element, and Append, while objects like lInput, mInput, nInput, and ggTInput manage user inputs and intermediate calculations. ④ Designed for upper primary school students (grades 5‑6), the activity supports curriculum objectives of recognizing and determining divisors of natural numbers and finding the greatest common divisor through computational methods.
GeoGebra Commands & Parameters
DivisorsList(ListeZahlen2(exNum)) → T2Factors(ListeZahlen2(exNum)) →DivisorsList(ListeZahlen1(exNum)) → T1Factors(ListeZahlen1(exNum)) →Sort(RemoveUndefined[EingabeTeiler2]) → EingabeTeilerGeordnet2Sort(RemoveUndefined[EingabeTeiler1]) → EingabeTeilerGeordnet1Sequence(1, maxExNum, 1) → listeExValTextfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {4, 2, 6, 7, 10, 2, 4, 3, 2, 0, 8, 5, 7, 1, 2, 8, 1, 9, 9, 0, 2, 9, 0, 4, 9, 1, 7, 3, 1, 0, 9, 2, 9, 1, 0, 2, 6, 1, 6, 7, 0, 5, 8, 7, 6, 0, 9, 7, 2, 6, 9, 0, 7, 3, 2, 9, 8, 5, 3, 0, 5, 8, 2, 0, 7, 5, 10, 10, 10, 9, 10, 3, 3, 3, 9, 5, 6, 4, 0, 7, 2, 10, 1, 6, 1, 0, 9, 1, 4, 1, 6, 7, 6, 4, 10, 6, 4, 2, 7, 5}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {5, 6, 6, 0, 10, 7, 8, 3, 2, 6, 6, 0, 9, 0, 0, 1, 5, 6, 8, 2, 8, 2, 8, 6, 3, 2, 7, 6, 8, 9, 7, 5, 3, 3, 0, 8, 2, 1, 6, 3, 10, 6, 8, 3, 9, 5, 6, 4, 1, 2, 10, 5, 4, 9, 10, 1, 1, 3, 1, 10, 9, 3, 0, 9, 2, 9, 2, 8, 3, 9, 8, 4, 1, 10, 10, 9, 10, 8, 0, 10, 2, 2, 3, 6, 4, 0, 3, 6, 1, 0, 10, 10, 0, 0, 10, 10, 5, 0, 5, 0}Element(randomNosForY, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeatElement(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeatTextfield(cInput) → InputBox3Textfield(dInput) → InputBox4Textfield(eInput) → InputBox5Textfield(fInput) → InputBox6Textfield(gInput) → InputBox7Textfield(hInput) → InputBox8Textfield(iInput) → InputBox9Textfield(jInput) → InputBox10Textfield(ggTInput) → ggTInputBoxTextfield(kInput) → InputBox11Textfield(lInput) → InputBox12Textfield(mInput) → InputBox13Textfield(nInput) → InputBox14Textfield(oInput) → InputBox15Textfield(pInput) → InputBox16Textfield(qInput) → InputBox17Textfield(rInput) → InputBox18Textfield(sInput) → InputBox19Textfield(tInput) → InputBox20SpeechBubbleRight(A, 7, 1.8) → Vieleck1Unique(EingabeTeiler1) → l1Unique(RemoveUndefined[EingabeTeiler1]) → l3DivisorsList(100) → l4Factors(100) →
AI Drawing Prompt Reference
Create an interactive greatest common divisor demonstration: place two editable number input boxes at the top for the user to enter two natural numbers; below each, automatically list all divisors sorted in ascending order with duplicates removed, shown as two tidy columns; add a rectangular feedback area in the middle with a speech bubble pointing to it that displays the computed GCD in real time; provide several additional input boxes at the bottom for learners to fill in the intermediate steps of the Euclidean algorithm; beside the main panel generate two sets of non‑repeating random number pairs to serve as practice problems.
The prompt above was compiled from the original drawing commands and is for reference only.