魔幻质数方阵

魔幻质数方阵
几何画板及绘图内容加载中,请稍等……
2021-09-20 22:11
所属专题 Primzahlen
本范例演示了一个独特的质数方阵,要求学生找到符合条件的质数,使每行、每列及两条对角线上的数字之和相等。涉及的核心数学概念包括质数、数列和几何构造。使用了TextField、Polygon、Shuffle等GeoGebra命令。适合小学五年级至六年级学生学习和练习。

GeoGebra 命令及参数

  1. Textfield(fInput) → Eingabefeld4
  2. Textfield(bInput) → InputBox2
  3. Textfield(cInput) → Eingabefeld1
  4. Textfield(dInput) → Eingabefeld2
  5. Textfield(eInput) → Eingabefeld3
  6. Textfield(aInput) → InputBox1
  7. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  8. Shuffle(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}
  9. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  10. Shuffle(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}
  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. Polygon(A, B, M, L) → q1, a_1, b, m, l
  19. Polygon(B, C, O, M) → q2, b_1, c, o, m_1
  20. Polygon(C, D, E, O) → q3, c_1, d, e, o_1
  21. Polygon(L, M, N, K) → q4, l_1, m_2, n, k
  22. Polygon(M, O, P, N) → q5, m_3, o_2, p, n_1
  23. Polygon(O, E, F, P) → q6, o_3, e_1, f, p_1
  24. Polygon(K, N, I, J) → q7, k_1, n_2, i, j
  25. Polygon(N, P, H, I) → q8, n_3, p_2, h, i_1
  26. Polygon(P, F, G, H) → q9, p_3, f_1, g, h_1
  27. Polygon(A, B, M, L) → v1, a_2, b_2, m_4, l_2
  28. Polygon(B, C, O, M) → v2, b_3, c_2, o_4, m_5
  29. Polygon(C, D, E, O) → v3, c_3, d_1, e_2, o_5
  30. Polygon(L, M, N, K) → v4, l_3, m_6, n_4, k_2
  31. Polygon(M, O, P, N) → v5, m_7, o_6, p_4, n_5
  32. Polygon(O, E, F, P) → v6, o_7, e_3, f_2, p_5
  33. Polygon(K, N, I, J) → v7, k_3, n_6, i_2, j_1
  34. Polygon(N, P, H, I) → v8, n_7, p_6, h_2, i_3
  35. Polygon(P, F, G, H) → v9, p_7, f_3, g_1, h_3
  36. CountIf(x ≠ 0, l1) → r
  37. Polygon(N_{1}, P_{1}, H_{1}, I_{1}) → q8_{1}, n_{9}, p_{9}, h_{5}, i_{5}
  38. Polygon(N_{1}, P_{1}, H_{1}, I_{1}) → vhint, n_{8}, p_{8}, h_{4}, i_{4}

AI 绘图提示语参考

请绘制一个由点组成的网格图形,网格中包含一个矩形边界以及若干内部多边形。这些多边形可能代表方格和对角线,整体图形类似于一个正方形网格,带有内部划分。网格中的点通过连接形成多个小多边形,图形结构清晰,便于观察。
以上提示语为根据原始绘图命令整理而来,仅供参考。