Common Divisors Exploration: Finding Common Factors and GCD

Common Divisors Exploration: Finding Common Factors and GCD
Loading the math board and drawing, please wait…
2022-12-01 18:54
In collections Gemeinsame Teiler & ggT
This GeoGebra example demonstrates an interactive exercise that lists all divisors of two natural numbers, highlights their common divisors, and computes the greatest common divisor (GCD). Core mathematical concepts include factors, multiples, common factors, the GCD, and divisibility properties of natural numbers. Construction highlights: Shuffle randomizes problem instances; DivisorsList and Factors retrieve divisor lists; Union and Sort merge and order them; Circle, Midpoint, Segment, Intersect, and IsInRegion build visual circles and region checks; Textfield, If, Element, Append, Remove, Length provide dynamic input, conditional feedback, and list manipulation. Suitable for grades 5‑6 number‑sense lessons on factors and multiples, and as a review tool for early secondary mathematics.

GeoGebra Commands & Parameters

  1. Shuffle({1, 2, 3, 4, 5}) → RandomNum, {1, 3, 4, 5, 2}
  2. DivisorsList(48) → Teilerliste48
  3. Factors(48) →
  4. DivisorsList(42) → Teilerliste42
  5. Factors(42) →
  6. Union(Teilerliste42, Teilerliste48) → Vereinigung5
  7. DivisorsList(36) → Teilerliste36
  8. Factors(36) →
  9. DivisorsList(24) → Teilerliste24
  10. Factors(24) →
  11. Union(Teilerliste24, Teilerliste36) → Vereinigung4
  12. DivisorsList(66) → Teilerliste66
  13. Factors(66) →
  14. DivisorsList(12) → Teilerliste12
  15. Factors(12) →
  16. Union(Teilerliste12, Teilerliste66) → Vereinigung3
  17. DivisorsList(50) → Teilerliste50
  18. Factors(50) →
  19. DivisorsList(30) → Teilerliste30
  20. Factors(30) →
  21. Union(Teilerliste30, Teilerliste50) → Vereinigung2
  22. DivisorsList(55) → Teilerliste55
  23. Factors(55) →
  24. Union(Teilerliste30, Teilerliste55) → Vereinigung1
  25. Sort(VereinigungVarListe(exNum)) → VereinigungVar
  26. Circle(KreisM_2, 2) → TRight
  27. Circle(KreisM_1, 2) → TLeft
  28. Midpoint(Corner[Teiler10, 1], Corner[Teiler10, 3]) → Teiler10Pos
  29. IsInRegion(Teiler10Pos, TRight) → T10R
  30. IsInRegion(Teiler10Pos, TLeft) → T10L
  31. Midpoint(Corner[Teiler9, 1], Corner[Teiler9, 3]) → Teiler9Pos
  32. IsInRegion(Teiler9Pos, TRight) → T9R
  33. IsInRegion(Teiler9Pos, TLeft) → T9L
  34. Midpoint(Corner[Teiler8, 1], Corner[Teiler8, 3]) → Teiler8Pos
  35. IsInRegion(Teiler8Pos, TRight) → T8R
  36. IsInRegion(Teiler8Pos, TLeft) → T8L
  37. Midpoint(Corner[Teiler7, 1], Corner[Teiler7, 3]) → Teiler7Pos
  38. IsInRegion(Teiler7Pos, TRight) → T7R
  39. IsInRegion(Teiler7Pos, TLeft) → T7L
  40. Midpoint(Corner[Teiler6, 1], Corner[Teiler6, 3]) → Teiler6Pos
  41. IsInRegion(Teiler6Pos, TRight) → T6R
  42. IsInRegion(Teiler6Pos, TLeft) → T6L
  43. Midpoint(Corner[Teiler5, 1], Corner[Teiler5, 3]) → Teiler5Pos
  44. IsInRegion(Teiler5Pos, TRight) → T5R
  45. IsInRegion(Teiler5Pos, TLeft) → T5L
  46. Midpoint(Corner[Teiler4, 1], Corner[Teiler4, 3]) → Teiler4Pos
  47. IsInRegion(Teiler4Pos, TRight) → T4R
  48. IsInRegion(Teiler4Pos, TLeft) → T4L
  49. Midpoint(Corner[Teiler3, 1], Corner[Teiler3, 3]) → Teiler3Pos
  50. IsInRegion(Teiler3Pos, TRight) → T3R
  51. IsInRegion(Teiler3Pos, TLeft) → T3L
  52. Midpoint(Corner[Teiler2, 1], Corner[Teiler2, 3]) → Teiler2Pos
  53. IsInRegion(Teiler2Pos, TRight) → T2R
  54. IsInRegion(Teiler2Pos, TLeft) → T2L
  55. Midpoint(Corner[Teiler1, 1], Corner[Teiler1, 3]) → Teiler1Pos
  56. IsInRegion(Teiler1Pos, TRight) → T1R
  57. IsInRegion(Teiler1Pos, TLeft) → T1L
  58. Textfield(aInput) → InputBox1
  59. Textfield(bInput) → InputBox2
  60. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {4, 3, 3, 6, 10, 3, 3, 0, 0, 8, 9, 8, 7, 10, 4, 9, 4, 3, 2, 1, 1, 3, 7, 8, 1, 7, 3, 8, 4, 0, 0, 3, 3, 4, 6, 9, 9, 4, 9, 5, 10, 1, 2, 6, 8, 3, 4, 6, 0, 7, 6, 0, 6, 1, 9, 7, 0, 8, 9, 10, 4, 3, 9, 2, 7, 3, 9, 4, 1, 6, 0, 2, 7, 1, 6, 2, 8, 9, 0, 9, 4, 0, 3, 4, 8, 5, 3, 7, 10, 7, 8, 10, 1, 6, 8, 2, 6, 3, 8, 2}
  61. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  62. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {4, 3, 1, 7, 6, 6, 4, 9, 4, 10, 10, 10, 2, 0, 5, 3, 3, 1, 7, 10, 6, 7, 4, 10, 5, 7, 1, 3, 4, 9, 5, 7, 0, 10, 3, 8, 7, 0, 6, 4, 1, 8, 0, 5, 1, 5, 7, 2, 8, 1, 6, 2, 9, 2, 5, 0, 2, 7, 9, 4, 5, 3, 0, 0, 6, 8, 1, 2, 0, 1, 4, 0, 6, 2, 7, 8, 2, 1, 4, 6, 4, 9, 2, 1, 6, 7, 7, 4, 8, 10, 3, 8, 0, 0, 10, 3, 7, 0, 0, 8}
  63. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  64. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  65. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  66. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  67. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  68. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  69. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  70. Length(Vereinigung1) → KardTeiler1
  71. Length(Vereinigung2) → KardTeiler2
  72. Length(Vereinigung3) → KardTeiler3
  73. Length(Vereinigung4) → KardTeiler4
  74. Length(Vereinigung5) → KardTeiler5
  75. Midpoint(Corner[Teiler11, 1], Corner[Teiler11, 3]) → Teiler11Pos
  76. Midpoint(Corner[Teiler12, 1], Corner[Teiler12, 3]) → Teiler12Pos
  77. Midpoint(Corner[Teiler13, 1], Corner[Teiler13, 3]) → Teiler13Pos
  78. Midpoint(Corner[Teiler14, 1], Corner[Teiler14, 3]) → Teiler14Pos
  79. IsInRegion(Teiler11Pos, TLeft) → T11L
  80. IsInRegion(Teiler12Pos, TLeft) → T12L
  81. IsInRegion(Teiler13Pos, TLeft) → T13L
  82. IsInRegion(Teiler14Pos, TLeft) → T14L
  83. IsInRegion(Teiler11Pos, TRight) → T11R
  84. IsInRegion(Teiler12Pos, TRight) → T12R
  85. IsInRegion(Teiler13Pos, TRight) → T13R
  86. IsInRegion(Teiler14Pos, TRight) → T14R
  87. Intersection(Teilerliste30, Teilerliste55) → l1
  88. Intersection(Teilerliste30, Teilerliste50) → l2
  89. Intersection(Teilerliste12, Teilerliste66) → l3
  90. Intersection(Teilerliste24, Teilerliste36) → l4
  91. Midpoint(Corner[Teilertext2Var, 1], Corner[Teilertext2Var, 3]) → Teilertext2VarPos
  92. Midpoint(Corner[Teilertext3Var, 1], Corner[Teilertext3Var, 3]) → Teilertext3VarPos
  93. Midpoint(Corner[Teilertext1Var, 1], Corner[Teilertext1Var, 3]) → Teilertext1VarPos
  94. Segment(KreisM_2, Teilertext2VarPos) → f
  95. Segment(KreisM_1, Teilertext1VarPos) → g
  96. Intersect(TLeft, TRight) → B, C, ,
  97. Intersect(TLeft, g) → D,
  98. Intersect(TRight, f) → A,
  99. Circle(Teilertext1VarPos, 0.35) → AbstandTeilertext1
  100. Circle(Teilertext2VarPos, 0.35) → AbstandTeilertext2
  101. Circle(Teilertext3VarPos, 0.35) → AbstandTeilertext3
  102. Segment(D, Teilertext1VarPos) → h
  103. Segment(A, Teilertext2VarPos) → i
  104. Segment(B, Teilertext3VarPos) → j
  105. Intersect(AbstandTeilertext2, i) → E,
  106. Intersect(AbstandTeilertext1, h) → F,
  107. Intersect(AbstandTeilertext3, j) → G,
  108. Segment(A, E) → Verbindungsstrecke2
  109. Segment(B, G) → Verbindungsstrecke3
  110. Segment(D, F) → Verbindungsstrecke1
  111. If(exNum ≟ 1, KardTeiler1, exNum ≟ 2, KardTeiler2, exNum ≟ 3, KardTeiler3, exNum ≟ 4, KardTeiler4, exNum ≟ 5, KardTeiler5) → KardTeilerMaster