Calculate the Greatest Common Divisor (GCD) without Prime Factorization using Ge

Calculate the Greatest Common Divisor (GCD) without Prime Factorization using Ge
Loading the math board and drawing, please wait…
2022-12-01 10:55
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

  1. DivisorsList(ListeZahlen2(exNum)) → T2
  2. Factors(ListeZahlen2(exNum)) →
  3. DivisorsList(ListeZahlen1(exNum)) → T1
  4. Factors(ListeZahlen1(exNum)) →
  5. Sort(RemoveUndefined[EingabeTeiler2]) → EingabeTeilerGeordnet2
  6. Sort(RemoveUndefined[EingabeTeiler1]) → EingabeTeilerGeordnet1
  7. Sequence(1, maxExNum, 1) → listeExVal
  8. Textfield(aInput) → InputBox1
  9. Textfield(bInput) → InputBox2
  10. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  11. Shuffle(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}
  12. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  13. Shuffle(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}
  14. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  15. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  16. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  17. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  18. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  19. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  20. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  21. Textfield(cInput) → InputBox3
  22. Textfield(dInput) → InputBox4
  23. Textfield(eInput) → InputBox5
  24. Textfield(fInput) → InputBox6
  25. Textfield(gInput) → InputBox7
  26. Textfield(hInput) → InputBox8
  27. Textfield(iInput) → InputBox9
  28. Textfield(jInput) → InputBox10
  29. Textfield(ggTInput) → ggTInputBox
  30. Textfield(kInput) → InputBox11
  31. Textfield(lInput) → InputBox12
  32. Textfield(mInput) → InputBox13
  33. Textfield(nInput) → InputBox14
  34. Textfield(oInput) → InputBox15
  35. Textfield(pInput) → InputBox16
  36. Textfield(qInput) → InputBox17
  37. Textfield(rInput) → InputBox18
  38. Textfield(sInput) → InputBox19
  39. Textfield(tInput) → InputBox20
  40. SpeechBubbleRight(A, 7, 1.8) → Vieleck1
  41. Unique(EingabeTeiler1) → l1
  42. Unique(RemoveUndefined[EingabeTeiler1]) → l3
  43. DivisorsList(100) → l4
  44. Factors(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.