Find Neighboring Prime Numbers – Prime Identification & Number Sense Training

Find Neighboring Prime Numbers – Prime Identification & Number Sense Training
Loading the math board and drawing, please wait…
2021-09-20 14:08
In collections Primzahlen
This GeoGebra activity is an interactive exercise focusing on prime number identification and finding neighboring primes. Students work with randomly generated numbers, determining whether each is prime, and locating its adjacent primes in the prime number sequence. Key mathematical concepts include the definition of prime numbers, factorization, number sense development, and understanding factors and multiples. The construction utilizes commands such as IsPrime for primality testing, DivisorsList to retrieve factor information, Shuffle and Element for random prime selection, and KeepIf for filtering prime candidates. Textfield and validation mechanisms enable student input and automated feedback. Designed for grades 5-6, this resource helps students master the concept of prime numbers while developing number sense and logical reasoning skills.

GeoGebra Commands & Parameters

  1. Element(m, 2, n) → randn
  2. KeepIf(x < randn, primlist) → listVor
  3. Last(listVor) → l1
  4. KeepIf(x > randn, primlist) → listNach
  5. Textfield(aInput) → InputBox1
  6. Textfield(bInput) → InputBox2
  7. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  8. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {8, 9, 7, 5, 5, 4, 8, 5, 4, 8, 9, 6, 3, 6, 9, 1, 0, 0, 9, 9, 2, 0, 6, 9, 0, 6, 2, 6, 0, 8, 2, 8, 2, 9, 2, 8, 9, 7, 4, 5, 0, 2, 3, 5, 3, 9, 5, 6, 10, 4, 4, 0, 7, 6, 4, 1, 8, 0, 1, 2, 5, 6, 0, 7, 6, 7, 10, 8, 9, 3, 9, 6, 8, 4, 0, 1, 1, 5, 9, 8, 1, 4, 0, 1, 5, 3, 0, 8, 10, 2, 1, 0, 5, 4, 2, 3, 3, 8, 1, 5}
  9. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  10. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {9, 3, 8, 1, 4, 10, 9, 1, 2, 1, 9, 6, 4, 9, 4, 1, 4, 10, 8, 4, 10, 6, 8, 8, 8, 10, 8, 1, 5, 7, 0, 1, 10, 6, 10, 5, 1, 5, 7, 1, 6, 9, 8, 8, 1, 7, 6, 10, 7, 8, 9, 0, 3, 3, 3, 3, 9, 9, 4, 1, 1, 5, 5, 8, 0, 5, 3, 8, 8, 6, 1, 0, 10, 9, 0, 8, 9, 9, 10, 6, 4, 0, 7, 7, 5, 5, 4, 8, 8, 9, 5, 4, 3, 3, 6, 1, 5, 10, 2, 1}
  11. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  12. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  13. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  14. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  15. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  16. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  17. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  18. Point(Circle[A, Segment[PtopLeftCornerFeedback, PtopRightCornerFeedback]]) → B
  19. Polygon(A, B, C, D) → q1, a, b, c, d
  20. DivisorsList(aInput) → dva
  21. Factors(aInput) →
  22. DivisorsList(bInput) → dvb
  23. Factors(bInput) →
  24. IsPrime(89) → IsPrime

AI Drawing Prompt Reference

Describe a graphic of a prime number sequence. Random numbers are displayed in a row, each marked with a color indicating primality: red for prime, gray for non-prime. Adjacent primes are shown next to each prime number. A slider allows changing the sequence. The bottom shows the primality test result and neighboring primes. The layout is clean, like a number line.
The prompt above was compiled from the original drawing commands and is for reference only.