Coprime or Not? – Interactive GCD Practice
Loading the math board and drawing, please wait…
In collections
Gemeinsame Teiler & ggT
① This interactive exercise presents random pairs of numbers and asks students to determine whether they are coprime (i.e., their greatest common divisor is 1). ② The core mathematical concepts include factors, multiples, greatest common divisor (GCD), and the definition of coprime numbers, forming a foundation in number theory. ③ Construction highlights: The GeoGebra applet uses commands such as Polygon, Midpoint, IsInRegion, Textfield, Shuffle, Element, Append, Remove, and Defined to build a dynamic interface, with ColorText objects providing visual feedback on answers. ④ It is designed for students in grades 5–6, suitable for classroom practice or homework, reinforcing the calculation of GCD and the concept of coprimality.
GeoGebra Commands & Parameters
Polygon(Q1E1, Q1E2, 4) → Q1, q1_1, q1_2, q1_3, q1_4, Q1E3, Q1E4Polygon(Q2E1, Q2E2, 4) → Q2, q2_1, q2_2, q2_3, q2_4, Q2E3, Q2E4Polygon(Q3E1, Q3E2, 4) → Q3, q3_4, q3_1, q3_2, q3_3, Q3E3, Q3E4Polygon(Q4E1, Q4E2, 4) → Q4, q4_4, q4_2, q4_1, q4_3, Q4E3, Q4E4Midpoint(Corner[T1530, 1], Corner[T1530, 3]) → Pos1530IsInRegion(Pos1530, Q4) → Correct1530Midpoint(Corner[T1814, 1], Corner[T1814, 3]) → Pos1814IsInRegion(Pos1814, Q2) → Correct1814Midpoint(Corner[T1830, 1], Corner[T1830, 3]) → Pos1830IsInRegion(Pos1830, Q4) → Correct1830Midpoint(Corner[T612, 1], Corner[T612, 3]) → Pos612IsInRegion(Pos612, Q4) → Correct612Midpoint(Corner[T820, 1], Corner[T820, 3]) → Pos820IsInRegion(Pos820, Q3) → Correct820Midpoint(Corner[T1826, 1], Corner[T1826, 3]) → Pos1826IsInRegion(Pos1826, Q2) → Correct1826Midpoint(Corner[T530, 1], Corner[T530, 3]) → Pos530IsInRegion(Pos530, Q2) → Correct530Midpoint(Corner[T1215, 1], Corner[T1215, 3]) → Pos1215IsInRegion(Pos1215, Q2) → Correct1215Midpoint(Corner[T2628, 1], Corner[T2628, 3]) → Pos2628IsInRegion(Pos2628, Q2) → Correct2628Midpoint(Corner[T610, 1], Corner[T610, 3]) → Pos610IsInRegion(Pos610, Q2) → Correct610Midpoint(Corner[T914, 1], Corner[T914, 3]) → Pos914IsInRegion(Pos914, Q1) → Correct914Midpoint(Corner[T1727, 1], Corner[T1727, 3]) → Pos1727IsInRegion(Pos1727, Q1) → Correct1727Midpoint(Corner[T1219, 1], Corner[T1219, 3]) → Pos1219IsInRegion(Pos1219, Q1) → Correct1219Textfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {0, 6, 1, 4, 4, 7, 3, 2, 2, 8, 0, 3, 4, 10, 0, 1, 9, 0, 8, 3, 1, 10, 8, 7, 2, 10, 10, 8, 2, 9, 6, 10, 7, 10, 5, 0, 4, 0, 7, 0, 1, 0, 3, 3, 3, 7, 0, 1, 0, 8, 7, 5, 7, 6, 2, 5, 8, 0, 6, 8, 1, 4, 10, 6, 5, 0, 1, 6, 3, 2, 8, 7, 7, 1, 0, 4, 4, 7, 5, 5, 8, 0, 2, 7, 3, 9, 9, 0, 5, 4, 7, 3, 6, 8, 10, 10, 8, 1, 4, 5}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {1, 4, 5, 7, 9, 0, 2, 5, 0, 8, 6, 1, 4, 10, 5, 1, 1, 9, 5, 9, 8, 3, 1, 1, 6, 7, 8, 9, 9, 2, 5, 3, 9, 3, 1, 4, 6, 4, 8, 10, 0, 0, 4, 9, 5, 0, 0, 7, 0, 1, 4, 10, 9, 10, 7, 6, 10, 1, 6, 4, 7, 8, 8, 2, 5, 5, 10, 1, 8, 8, 5, 7, 4, 4, 6, 10, 4, 10, 3, 0, 1, 5, 10, 9, 7, 8, 3, 9, 0, 3, 0, 10, 5, 4, 2, 8, 6, 5, 3, 0}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) → numYwithoutRepeatDefined((aInput * bInput)) → fixed
AI Drawing Prompt Reference
An interactive practice screen shows two randomly generated integers in two input boxes at the top. Below them are four square answer zones representing the choices “coprime” and “not coprime”. When the student selects a zone, the app checks the midpoint of the answer text to see which zone it falls in, then displays colored feedback in a rectangle indicating correct or incorrect. Each new question pulls a fresh pair from a pre‑shuffled list of unique random numbers, so the same pair never repeats.
The prompt above was compiled from the original drawing commands and is for reference only.