Numbers Coprime to 38

Numbers Coprime to 38
Loading the math board and drawing, please wait…
2023-08-23 07:06
In collections Gemeinsame Teiler & ggT
This example demonstrates how to find numbers that are coprime to 38. Key mathematical concepts include coprime numbers and factors. Using GeoGebra commands such as DivisorsList and Intersection, the construction points are clearly illustrated. Suitable for students in grades 5-6.

GeoGebra Commands & Parameters

  1. DivisorsList(numA) → listTA
  2. Factors(numA) →
  3. DivisorsList(numB) → listTB
  4. Factors(numB) →
  5. Intersection(listTA, listTB) → listGT
  6. Length(listTA) → listalength
  7. If(Length[listGT] ≥ 2, input2 ∈ listGT ∧ (¬(input2 ∈ {input1, input3, input4, input5, input6})), true) → correct2
  8. If(Length[listGT] ≥ 3, input3 ∈ listGT ∧ (¬(input3 ∈ {input1, input2, input4, input5, input6})), true) → correct3
  9. If(Length[listGT] ≥ 4, input4 ∈ listGT ∧ (¬(input4 ∈ {input1, input3, input2, input5, input6})), true) → correct4
  10. If(Length[listGT] ≥ 5, input5 ∈ listGT ∧ (¬(input5 ∈ {input1, input3, input4, input2, input6})), true) → correct5
  11. If(Length[listGT] ≥ 6, input6 ∈ listGT ∧ (¬(input6 ∈ {input1, input3, input4, input5, input2})), true) → correct6
  12. Join({{O + (-0.7, 0)}, Sequence[O + (n * (0.8, 0)), n, 1, listalength]}) → listLupe
  13. Point(listLupe) → P1
  14. Circle(M1, r) → kg1
  15. PointIn(kg1) → A1a
  16. Distance(M1, M2) → a
  17. Midpoint(L1, L2) → M
  18. Segment(L1, L2) → f
  19. Circle(M2, r) → kg2
  20. PointIn(kg1) → A1c
  21. PointIn(kg1) → A1d
  22. PointIn(kg1) → A1e
  23. PointIn(kg1) → A1f
  24. PointIn(kg1) → A1b
  25. PointIn(kg1) → A2c
  26. PointIn(kg1) → A2a
  27. PointIn(kg1) → A2b
  28. PointIn(kg1) → A2d
  29. PointIn(kg2) → B2a
  30. PointIn(kg2) → B2b
  31. PointIn(kg2) → B2c
  32. PointIn(kg2) → B2d
  33. PointIn(kg2) → B2e
  34. PointIn(kg2) → B2f
  35. Length(listTB) → listblength
  36. Zip(B + (-0.6, 0.55), B, listLupe \ {listLupe(1)}) → listKreisPunkteAlle1
  37. Textfield(input1) → Eingabefeld1
  38. Textfield(input2) → Eingabefeld2
  39. Textfield(input3) → Eingabefeld3
  40. Textfield(input4) → Eingabefeld4
  41. Textfield(input5) → Eingabefeld5
  42. Textfield(input6) → Eingabefeld6
  43. Sequence(PosInput + (m * (absinput, 0)), m, 1, 6) → listPosInput
  44. Intersection(inputs, Sequence[n, n, 1, 1000]) → inputswithoutrep
  45. KeepIf(Defined[n], n, inputs) → inputsdef
  46. Sequence(Text["\textsf{,}", PosKomma + (n * (absinput, 0)), true, true, -0, 1], n, 0, Length[listGT] - 2) → listKomma
  47. Point(Line[Pic2a, xAxis]) → Pic2b
  48. Point(Line[Pic3a, xAxis]) → Pic3b
  49. Polygon(Corner[Text13, 3], Corner[Text13, 4], Corner[Text13, 1], Corner[Text13, 2] + (-0.3, 0), Corner[Text13, 2] + (0.3, -0.4), Corner[Text13, 2] + (0, 0.3)) → Vieleck1, g, h, i, j, k, l
  50. Polygon(Corner[Text12, 3], Corner[Text12, 4], Corner[Text12, 1], Corner[Text12, 2] + (-0.3, 0), Corner[Text12, 2] + (0.3, -0.4), Corner[Text12, 2] + (0, 0.3)) → Vieleck2, n, p, q, s, t, b
  51. Sequence(A + (o * (0.8, 0)), o, 1, Length[listTB]) → listKreisPunkteAlle2
  52. Zip(If[o ∈ listGT, o, 0], o, listTB) → listTB2
  53. RemoveUndefined(Zip[If[o > 0, w], o, listTB2, w, listKreisPunkteAlle2]) → listKreisPunkte2
  54. Zip(If[o ∈ listGT, o, 0], o, listTA) → listTA2
  55. RemoveUndefined(Zip[If[o > 0, w], o, listTA2, w, listKreisPunkteAlle1]) → listKreisPunkte1
  56. Remove(listTB2, {0, 0, 0, 0, 0, 0, 0}) → listTB3
  57. Remove(listTA2, {0, 0, 0, 0, 0, 0, 0, 0}) → listTA3
  58. IndexOf(P1, listLupe) → indexlupe
  59. IndexOf(lupenum1, listTA) → indexlupenum1
  60. Circle(listKreisPunkteAlle1(1), radlupe) → k1
  61. Circle(listKreisPunkteAlle1(2), radlupe) → k2
  62. Circle(listKreisPunkteAlle1(3), radlupe) → k3
  63. Circle(listKreisPunkteAlle1(4), radlupe) → k4
  64. Circle(listKreisPunkteAlle1(5), radlupe) → k5
  65. Circle(listKreisPunkteAlle1(7), radlupe) → k7
  66. Circle(listKreisPunkteAlle1(8), radlupe) → k8
  67. Zip(B + (0.2, -0.27), B, listPunkteA) → listKreisPunkteAlle3
  68. Circle(listKreisPunkteAlle3(1), radlupe2) → i1
  69. Circle(listKreisPunkteAlle3(2), radlupe2) → i2
  70. Circle(listKreisPunkteAlle3(3), radlupe2) → i3
  71. Circle(listKreisPunkteAlle3(4), radlupe2) → i4
  72. Circle(listKreisPunkteAlle3(6), radlupe2) → i6
  73. Zip(B + (0.2, -0.27), B, listPunkteB) → listKreisPunkteAlle4
  74. Circle(listKreisPunkteAlle4(1), radlupe2) → j1
  75. Circle(listKreisPunkteAlle4(2), radlupe2) → j2
  76. Circle(listKreisPunkteAlle4(4), radlupe2) → j4
  77. Circle(listKreisPunkteAlle4(6), radlupe2) → j6
  78. Circle(listKreisPunkteAlle3(If[exnum ≟ 1, 4, 5]), radlupe2) → i5
  79. Circle(listKreisPunkteAlle4(If[exnum ≟ 1, 4, 5]), radlupe2) → j5
  80. Circle(listKreisPunkteAlle4(If[exnum ≟ 3, 2, 3]), radlupe2) → j3
  81. Circle(listKreisPunkteAlle4(6), radlupe2) → j7
  82. Zip(u, u, listAttemptsAll, v, listGT) → listAttempts
  83. Circle(listKreisPunkteAlle2(1), radlupe) → h1
  84. Circle(listKreisPunkteAlle2(2), radlupe) → h2
  85. Circle(listKreisPunkteAlle2(3), radlupe) → h3
  86. Circle(listKreisPunkteAlle2(4), radlupe) → h4
  87. Circle(listKreisPunkteAlle2(5), radlupe) → h5
  88. Circle(listKreisPunkteAlle2(6), radlupe) → h6
  89. Circle(listKreisPunkteAlle2(8), radlupe) → h8
  90. Circle(listKreisPunkteAlle2(9), radlupe) → h9
  91. SpeechBubbleRight(D, 8.9, 2) → Vieleck3
  92. SpeechBubbleRight(E, 9.8, 1.9) → Vieleck4
  93. Circle(listKreisPunkteAlle2(7) + If[excount ≟ 4, (0.12, 0), (0, 0)], radlupe) → h7
  94. LaTeX(excount, true, true) → Text18
  95. Circle(listKreisPunkteAlle1(6) + If[excount ≟ 4, (0.12, 0), (0, 0)], radlupe) → k6

AI Drawing Prompt Reference

Create a diagram for finding numbers coprime to 38. Start by listing all divisors of 38 and another number, then find their common divisors. Place points along an axis to represent these divisors. Draw two circles and scatter several points inside each to represent candidate numbers. Below, add six input fields for entering numbers, and check if each entered number is in the common divisor list and not repeated. Display the common divisors separated by commas. The layout should be clear and educational for grades 5-6.
The prompt above was compiled from the original drawing commands and is for reference only.