Find Neighboring Prime Numbers – Prime Identification & Number Sense Training
Loading the math board and drawing, please wait…
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
Element(m, 2, n) → randnKeepIf(x < randn, primlist) → listVorLast(listVor) → l1KeepIf(x > randn, primlist) → listNachTextfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(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}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(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}Element(randomNosForY, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeatElement(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeatPoint(Circle[A, Segment[PtopLeftCornerFeedback, PtopRightCornerFeedback]]) → BPolygon(A, B, C, D) → q1, a, b, c, dDivisorsList(aInput) → dvaFactors(aInput) →DivisorsList(bInput) → dvbFactors(bInput) →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.