Determine Divisor Sets

Determine Divisor Sets
Loading the math board and drawing, please wait…
2021-08-23 17:42
In collections Teiler und Teilermengen
① This example shows how to interactively list all divisors of a given natural number and compute the greatest common divisor. ② Core math concepts include number sense, factors and multiples, divisor sets, and GCD calculation. ③ Construction highlights: DivisorsList and Factors retrieve divisors and prime factorization; Sequence, Append, Join, Element, Length, Remove, and Shuffle manipulate lists and random ordering; Polygon, Textfield, and Corner build UI components; If and Defined drive validation and feedback logic. ④ Suitable for grades 5‑6 (or equivalent) for number‑sense practice, classroom exercises, and independent exploration.

GeoGebra Commands & Parameters

  1. If(¬Defined[Sort[RemoveUndefined[{input1, input2, input3, input4, input5, input6, input7, input8, input9}]]], {}, Sort[RemoveUndefined[{input1, input2, input3, input4, input5, input6, input7, input8, input9}]]) → listInput
  2. Append(true, Sequence[If[listInput(i) ≟ listInput(i - 1), false, true], i, 2, 12]) → listInputsDifferent
  3. Join(Sequence[Shuffle[listNums], i, 1, 9]) → randomNosForX
  4. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  5. Length(DivisorsList[numX]) → anzahlTeiler
  6. DivisorsList(numX) → listSol
  7. Factors(numX) →
  8. Remove(listSol, listInput) → listSolExtra
  9. Remove(listSol, listSolExtra) → listSolCorrect
  10. Textfield(input1) → InputBox1
  11. Textfield(input2) → InputBox2
  12. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1
  13. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {3, 1, 10, 0, 9, 0, 10, 8, 9, 2, 3, 6, 0, 4, 3, 0, 10, 0, 4, 6, 4, 2, 0, 5, 2, 3, 6, 2, 7, 2, 6, 9, 3, 10, 1, 7, 10, 9, 3, 0, 8, 0, 0, 9, 3, 3, 3, 6, 4, 6, 0, 2, 8, 3, 1, 6, 9, 5, 5, 4, 3, 10, 7, 7, 9, 4, 7, 1, 5, 3, 3, 1, 10, 5, 4, 4, 4, 2, 4, 7, 0, 5, 6, 5, 7, 6, 4, 1, 5, 3, 6, 1, 1, 3, 6, 10, 10, 4, 1, 4}
  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. Defined(Product[Sequence[Element[{input1, input2, input3, input4, input5, input6, input7, input8, input9}, m], m, 1, anzahlTeiler]]) → fixed
  22. Sequence(Element[{input1, input2, input3, input4, input5, input6, input7, input8, input9}, m], m, 1, anzahlTeiler) → listInputOriginal
  23. Textfield(input3) → InputBox3
  24. Textfield(input4) → InputBox4
  25. Textfield(input5) → InputBox5
  26. Textfield(input6) → InputBox6
  27. Textfield(input7) → InputBox7
  28. Textfield(input8) → InputBox8
  29. Textfield(input9) → InputBox9
  30. Corner(Text2, 2) → A

AI Drawing Prompt Reference

Draw an interactive graphical interface for practicing divisor and GCD calculations. The interface should include 9 input boxes for entering natural numbers, a text box for feedback, and a rectangle to display correctness. It should also feature a list of divisors, prime factorization, random number generation, and duplicate removal. The construction order should be: first create input boxes and text box, then add divisor list and prime factorization, followed by random number generation and deduplication, and finally draw the feedback rectangle. The interface should clearly show divisor sets and GCD calculation steps, suitable for 5-6th grade students.
The prompt above was compiled from the original drawing commands and is for reference only.