Butterfly Puzzle: Interactive Place Value Practice with Natural Numbers
Loading the math board and drawing, please wait…
In collections
Knobelaufgaben (natürliche Zahlen)
This GeoGebra example presents a butterfly-shaped puzzle as an interactive exercise for natural numbers and place value. Students work with colored polygon pieces and random number positions to reinforce number sense, especially the decimal place-value system. The construction uses Point and Polygon to create puzzle elements, Sequence, Shuffle, Element, Append, Remove, and IndexOf to generate and randomize number options, and Textfield, checkboxes, If, and CountIf to check answers, count correct cases, and provide feedback. It is suitable for grades 5–6 classroom practice, homework, or self-study on place value and natural numbers.
GeoGebra Commands & Parameters
Shuffle(Sequence[Random[1, 5], i, 1, 100]) → randomNosPositionAnswerCorrect1, {3, 3, 2, 2, 2, 3, 5, 2, 2, 1, 1, 3, 1, 4, 1, 1, 3, 2, 3, 3, 3, 2, 5, 3, 1, 3, 2, 4, 3, 2, 2, 2, 2, 4, 5, 4, 3, 1, 2, 3, 2, 3, 2, 3, 1, 3, 5, 4, 3, 4, 1, 4, 3, 1, 4, 4, 3, 4, 4, 4, 4, 5, 3, 1, 1, 5, 5, 4, 1, 4, 3, 2, 5, 5, 4, 3, 3, 3, 3, 2, 4, 2, 1, 5, 2, 2, 2, 4, 4, 1, 3, 5, 4, 2, 3, 4, 2, 2, 4, 1}Sequence(RandomElement[Remove[Sequence[5], {randomNosPositionAnswerCorrect1(i)}]], i, 1, 100) → randomNosPositionAnswerWrong1, {1, 5, 3, 4, 4, 5, 2, 1, 5, 5, 2, 1, 4, 2, 5, 3, 1, 3, 5, 1, 2, 3, 2, 2, 3, 2, 1, 5, 1, 1, 5, 5, 1, 5, 1, 1, 4, 2, 3, 1, 3, 1, 4, 2, 3, 2, 4, 1, 4, 5, 4, 2, 2, 2, 2, 1, 2, 5, 2, 3, 2, 2, 2, 5, 5, 1, 2, 3, 4, 5, 2, 3, 1, 3, 5, 5, 1, 5, 1, 3, 2, 3, 4, 2, 1, 5, 3, 1, 5, 2, 4, 3, 3, 4, 4, 3, 1, 5, 2, 5}Sequence(RandomElement[Remove[Remove[Sequence[5], {randomNosPositionAnswerCorrect1(i)}], {randomNosPositionAnswerWrong1(i)}]], i, 1, 100) → randomNosPositionAnswerWrong2, {4, 2, 4, 5, 1, 4, 3, 4, 3, 4, 5, 4, 2, 1, 4, 4, 2, 5, 2, 5, 4, 5, 3, 1, 2, 5, 5, 3, 2, 5, 3, 3, 3, 3, 2, 5, 2, 3, 5, 4, 1, 2, 1, 1, 2, 4, 3, 2, 2, 1, 2, 1, 1, 4, 3, 5, 5, 3, 5, 5, 1, 4, 1, 2, 4, 3, 1, 2, 3, 1, 4, 4, 4, 2, 2, 2, 4, 1, 4, 5, 5, 4, 5, 1, 4, 3, 4, 3, 3, 5, 2, 1, 2, 3, 5, 2, 5, 1, 1, 2}Sequence(RandomElement[Remove[Remove[Remove[Sequence[5], {randomNosPositionAnswerCorrect1(i)}], {randomNosPositionAnswerWrong1(i)}], {randomNosPositionAnswerWrong2(i)}]], i, 1, 100) → randomNosPositionAnswerCorrect2, {2, 4, 1, 3, 3, 2, 4, 5, 1, 2, 3, 5, 3, 5, 3, 5, 5, 1, 4, 4, 5, 4, 4, 4, 4, 1, 4, 2, 4, 4, 4, 1, 4, 2, 4, 3, 1, 4, 4, 5, 4, 5, 3, 5, 4, 1, 1, 5, 1, 2, 5, 5, 4, 3, 5, 2, 1, 2, 3, 1, 3, 3, 4, 4, 2, 2, 4, 5, 2, 3, 5, 1, 3, 4, 1, 4, 5, 2, 5, 1, 1, 5, 2, 4, 3, 4, 5, 5, 2, 3, 1, 2, 1, 5, 1, 1, 3, 4, 3, 3}Element(randomNosPositionAnswerCorrect2, Mod[questionCount, 100] + 1) → numPositionAnswerCorrect2Element(randomNosPositionAnswerCorrect1, Mod[questionCount, 100] + 1) → numPositionAnswerCorrect1Element(randomNosPositionAnswerWrong1, Mod[questionCount, 100] + 1) → numPositionAnswerWrong1Element(randomNosPositionAnswerWrong2, Mod[questionCount, 100] + 1) → numPositionAnswerWrong2Sequence(RandomElement[Remove[Remove[Remove[Remove[Sequence[5], {randomNosPositionAnswerCorrect1(i)}], {randomNosPositionAnswerWrong1(i)}], {randomNosPositionAnswerWrong2(i)}], {randomNosPositionAnswerCorrect2(i)}]], i, 1, 100) → randomNosPositionAnswerWrong3, {5, 1, 5, 1, 5, 1, 1, 3, 4, 3, 4, 2, 5, 3, 2, 2, 4, 4, 1, 2, 1, 1, 1, 5, 5, 4, 3, 1, 5, 3, 1, 4, 5, 1, 3, 2, 5, 5, 1, 2, 5, 4, 5, 4, 5, 5, 2, 3, 5, 3, 3, 3, 5, 5, 1, 3, 4, 1, 1, 2, 5, 1, 5, 3, 3, 4, 3, 1, 5, 2, 1, 5, 2, 1, 3, 1, 2, 4, 2, 4, 3, 1, 3, 3, 5, 1, 1, 2, 1, 4, 5, 4, 5, 1, 2, 5, 4, 3, 5, 4}Element(randomNosPositionAnswerWrong3, Mod[questionCount, 100] + 1) → numPositionAnswerWrong3Shuffle(Sequence[Random[1, 49], i, 1, 100]) → randomNosForY, {20, 15, 40, 19, 24, 18, 41, 32, 10, 7, 9, 39, 37, 6, 48, 23, 2, 21, 12, 4, 19, 25, 7, 1, 41, 27, 21, 30, 34, 40, 43, 3, 35, 2, 40, 44, 34, 33, 43, 28, 27, 45, 14, 25, 37, 29, 1, 33, 23, 12, 31, 18, 8, 7, 39, 7, 12, 21, 9, 17, 40, 24, 32, 9, 29, 20, 36, 21, 48, 4, 31, 8, 17, 34, 30, 49, 5, 28, 1, 45, 1, 40, 26, 27, 34, 17, 25, 49, 37, 15, 26, 20, 19, 1, 26, 20, 28, 38, 45, 11}Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatShuffle(Sequence[Random[50, 99], i, 1, 100]) → randomNosForX, {51, 67, 98, 72, 72, 67, 63, 75, 58, 69, 95, 90, 86, 86, 79, 91, 96, 71, 79, 55, 92, 54, 66, 64, 75, 98, 51, 68, 68, 88, 88, 68, 54, 51, 96, 52, 96, 71, 83, 64, 76, 91, 90, 64, 74, 78, 78, 79, 87, 87, 61, 74, 69, 58, 57, 64, 56, 65, 86, 51, 56, 96, 79, 75, 61, 59, 58, 93, 65, 61, 67, 88, 83, 57, 85, 92, 63, 76, 85, 66, 79, 72, 88, 70, 97, 62, 57, 61, 70, 86, 78, 87, 91, 91, 90, 62, 86, 97, 74, 88}Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatShuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNosForK, {5, 3, 6, 2, 2, 4, 2, 10, 2, 4, 6, 7, 9, 8, 2, 2, 10, 5, 6, 4, 9, 5, 8, 3, 2, 3, 8, 10, 6, 5, 10, 9, 5, 10, 9, 7, 6, 6, 5, 5, 8, 10, 8, 9, 6, 5, 4, 6, 8, 2, 10, 10, 3, 10, 10, 7, 3, 7, 10, 10, 2, 7, 2, 9, 7, 7, 7, 9, 9, 3, 4, 4, 9, 5, 10, 10, 2, 6, 10, 6, 4, 2, 3, 9, 9, 7, 6, 7, 10, 6, 2, 5, 3, 6, 8, 3, 4, 10, 5, 7}Append(true, Sequence[If[randomNosForK(i) ≟ randomNosForK(i - 1), false, true], i, 2, 100]) → stayKIndexOf(true, checkboxes) → SelectedCheckboxPoint(Line[F11, Vector[(0, 0), (0, -1.2)]]) → F21Shuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNosForA, {7, 8, 4, 3, 7, 9, 9, 9, 5, 8, 4, 9, 9, 3, 4, 4, 10, 4, 7, 7, 8, 3, 8, 4, 2, 9, 5, 3, 5, 8, 6, 3, 8, 3, 5, 9, 3, 8, 5, 2, 10, 6, 7, 2, 9, 7, 7, 2, 4, 6, 8, 6, 2, 4, 10, 10, 5, 9, 4, 3, 10, 5, 9, 4, 10, 2, 2, 5, 4, 3, 2, 7, 5, 5, 7, 10, 10, 2, 3, 9, 4, 5, 5, 10, 9, 10, 10, 3, 5, 2, 8, 5, 5, 10, 7, 9, 2, 9, 10, 10}Append(true, Sequence[If[randomNosForA(i) ≟ randomNosForA(i - 1), false, true], i, 2, 100]) → stayARemove(Sequence[If[stayA(i), randomNosForA(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForAwithoutRepeatElement(randomNosForAwithoutRepeat, Mod[questionCount, 100] + 1) → numARemove(Sequence[If[stayK(i), randomNosForK(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForKwithoutRepeatElement(randomNosForKwithoutRepeat, Mod[questionCount, 100] + 1) → numKZip((a * k), a, randomNosForAwithoutRepeat, k, randomNosForKwithoutRepeat) → randomNosForZTextfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(Sequence[Random[1, 15], i, 1, 100]) → randomNosCase, {2, 13, 13, 9, 1, 5, 8, 1, 4, 8, 14, 1, 6, 13, 3, 6, 10, 11, 6, 3, 6, 7, 2, 7, 1, 5, 13, 11, 6, 6, 9, 4, 13, 7, 12, 3, 7, 7, 8, 8, 6, 1, 14, 2, 8, 1, 7, 12, 11, 10, 10, 15, 12, 15, 8, 6, 4, 13, 1, 5, 6, 4, 15, 6, 2, 4, 4, 15, 7, 15, 11, 15, 7, 1, 12, 8, 9, 15, 13, 3, 4, 5, 8, 14, 11, 14, 7, 9, 4, 11, 14, 2, 8, 14, 6, 15, 1, 12, 1, 8}Sequence(RandomElement[{-2, -1, 1, 2}], i, 1, 200) → randomNosForNumDeviation1, {1, -2, -1, 2, 1, -1, 1, 1, -1, 1, 1, 1, -1, 1, 2, 1, -1, -1, -1, -1, -2, 2, -2, -2, 2, 2, -2, -1, 2, 1, -2, -1, 2, 1, -1, -2, -2, 2, 1, -2, 1, -1, 2, -1, -2, -2, 2, -1, -1, 2, -1, -1, -2, -2, 2, -1, -2, -2, 1, 1, 1, -2, -2, 2, -2, -1, -2, -2, 2, -2, -1, 1, 2, -2, -2, -2, -1, 2, 2, 2, -1, 2, -1, 2, 2, -1, -1, -1, 2, -1, -1, -2, -2, 2, -1, 1, 2, -1, -2, -2, 2, -1, -2, -2, 2, -2, 1, 1, 1, -2, -2, 1, -2, -1, 2, -1, -1, 2, 1, 2, -1, -1, 2, 1, -1, 1, -1, 1, -2, -2, -1, -2, 2, 2, -2, 2, 1, -1, 2, 1, 2, 1, -1, 2, -2, -1, 2, 2, 2, -2, 2, -2, 1, 1, 1, -2, 2, 1, 1, 1, -1, -1, 1, -1, -2, -2, -2, -1, -2, -1, 2, -2, 1, 2, 2, -2, -2, 1, 2, 1, 1, -2, 1, -1, -1, 2, -2, 2, -1, -2, -1, -1, 2, 1, 1, 2, -2, -2, 1, 1}Element(randomNosForNumDeviation1, Mod[questionCount, 100] + 1) → numDeviation1Zip(RandomElement[{-2, -1, 1, 2} \ {m}], m, randomNosForNumDeviation1) → randomNosForNumDeviation2Element(randomNosForNumDeviation2, Mod[questionCount, 100] + 1) → numDeviation2Append(true, Sequence[If[randomNosCase(i) ≟ randomNosCase(i - 1), false, true], i, 2, 100]) → stayNosRemove(Sequence[If[stayNos(i), randomNosCase(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosCasewithoutRepeatIf((numPositionAnswerCorrect1 ≟ 1 ∨ numPositionAnswerCorrect2 ≟ 1) ∧ checkbox1 ≟ true, true, false) → c1If((numPositionAnswerCorrect1 ≟ 2 ∨ numPositionAnswerCorrect2 ≟ 2) ∧ checkbox2 ≟ true, true, false) → c2If((numPositionAnswerCorrect1 ≟ 3 ∨ numPositionAnswerCorrect2 ≟ 3) ∧ checkbox3 ≟ true, true, false) → c3If((numPositionAnswerCorrect1 ≟ 4 ∨ numPositionAnswerCorrect2 ≟ 4) ∧ checkbox4 ≟ true, true, false) → c4If((numPositionAnswerCorrect1 ≟ 5 ∨ numPositionAnswerCorrect2 ≟ 5) ∧ checkbox5 ≟ true, true, false) → c5Polygon(PtopLeftCornerFeedback1, PbottomLeftCornerFeedback1, PbottomRightCornerFeedback1, PtopRightCornerFeedback1) → rectangleCorrect1, i, j_1, k_1, l_1Polygon(PtopLeftCornerFeedback2, PbottomLeftCornerFeedback2, PbottomRightCornerFeedback2, PtopRightCornerFeedback2) → rectangleCorrect2, i_1, j_2, k_2, l_2Polygon(PtopLeftCornerFeedback3, PtopRightCornerFeedback3, PbottomRightCornerFeedback3, PbottomLeftCornerFeedback3) → rectangleCorrect3, i_2, j_3, k_3, l_3Polygon(PtopLeftCornerFeedback4, PtopRightCornerFeedback4, PbottomRightCornerFeedback4, PbottomLeftCornerFeedback4) → rectangleCorrect4, i_3, j_4, k_4, l_4CountIf(a ≟ true, a, checkboxes) → countBoxes
AI Drawing Prompt Reference
This is an interactive butterfly puzzle for practicing natural numbers and place value. The figure consists of a butterfly outline made of colored polygons, with colored square blocks scattered around it. Students need to move the blocks to the correct positions to verify their understanding of place value. The puzzle includes randomly generated number options and feedback boxes for checking answers. The construction order is: first draw the butterfly outline, then generate the number blocks, then randomly assign positions, and finally add the feedback boxes. The overall design aims to help students reinforce number sense through interactive practice.
The prompt above was compiled from the original drawing commands and is for reference only.