Magic Prime Number Square
Loading the math board and drawing, please wait…
In collections
Primzahlen
This example demonstrates a unique prime number square where students need to find the prime numbers that satisfy the conditions, making the sum of numbers in each row, column, and both diagonals equal. Key mathematical concepts include prime numbers, sequences, and geometric construction. GeoGebra commands used include Textfield, Polygon, Shuffle, etc. Suitable for students in grades 5-6.
GeoGebra Commands & Parameters
Textfield(fInput) → Eingabefeld4Textfield(bInput) → InputBox2Textfield(cInput) → Eingabefeld1Textfield(dInput) → Eingabefeld2Textfield(eInput) → Eingabefeld3Textfield(aInput) → InputBox1Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {10, 2, 6, 0, 4, 1, 1, 8, 10, 5, 8, 8, 4, 0, 10, 1, 7, 2, 5, 6, 10, 5, 9, 2, 0, 2, 6, 3, 2, 5, 5, 5, 5, 0, 8, 10, 10, 4, 3, 7, 5, 4, 3, 4, 8, 6, 10, 3, 3, 8, 7, 1, 3, 1, 9, 7, 10, 7, 0, 6, 3, 9, 2, 9, 10, 3, 4, 9, 7, 10, 5, 2, 9, 6, 2, 8, 6, 8, 8, 3, 2, 9, 3, 6, 9, 0, 1, 10, 1, 3, 6, 3, 7, 8, 6, 9, 10, 5, 9, 3}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {5, 7, 2, 1, 2, 9, 1, 6, 3, 10, 4, 1, 2, 10, 6, 6, 7, 9, 7, 10, 1, 9, 10, 4, 0, 6, 0, 8, 3, 6, 4, 3, 8, 8, 3, 5, 3, 8, 7, 4, 3, 1, 2, 7, 10, 5, 9, 3, 4, 2, 6, 1, 9, 2, 7, 6, 3, 5, 3, 6, 10, 0, 2, 3, 1, 3, 8, 9, 5, 5, 6, 0, 10, 8, 4, 9, 1, 0, 5, 7, 2, 10, 6, 2, 3, 4, 2, 10, 9, 9, 3, 1, 8, 1, 0, 8, 3, 9, 1, 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) → numYwithoutRepeatPolygon(A, B, M, L) → q1, a_1, b, m, lPolygon(B, C, O, M) → q2, b_1, c, o, m_1Polygon(C, D, E, O) → q3, c_1, d, e, o_1Polygon(L, M, N, K) → q4, l_1, m_2, n, kPolygon(M, O, P, N) → q5, m_3, o_2, p, n_1Polygon(O, E, F, P) → q6, o_3, e_1, f, p_1Polygon(K, N, I, J) → q7, k_1, n_2, i, jPolygon(N, P, H, I) → q8, n_3, p_2, h, i_1Polygon(P, F, G, H) → q9, p_3, f_1, g, h_1Polygon(A, B, M, L) → v1, a_2, b_2, m_4, l_2Polygon(B, C, O, M) → v2, b_3, c_2, o_4, m_5Polygon(C, D, E, O) → v3, c_3, d_1, e_2, o_5Polygon(L, M, N, K) → v4, l_3, m_6, n_4, k_2Polygon(M, O, P, N) → v5, m_7, o_6, p_4, n_5Polygon(O, E, F, P) → v6, o_7, e_3, f_2, p_5Polygon(K, N, I, J) → v7, k_3, n_6, i_2, j_1Polygon(N, P, H, I) → v8, n_7, p_6, h_2, i_3Polygon(P, F, G, H) → v9, p_7, f_3, g_1, h_3CountIf(x ≠ 0, l1) → rPolygon(N_{1}, P_{1}, H_{1}, I_{1}) → q8_{1}, n_{9}, p_{9}, h_{5}, i_{5}Polygon(N_{1}, P_{1}, H_{1}, I_{1}) → vhint, n_{8}, p_{8}, h_{4}, i_{4}
AI Drawing Prompt Reference
Draw a grid of points with a rectangular boundary and several internal polygons. These polygons may represent squares and diagonals, forming a square grid with internal divisions. The points are connected to create smaller polygons, resulting in a clear and observable structure.
The prompt above was compiled from the original drawing commands and is for reference only.