Neu mischen!

Startliste

liPunkte: {(0.5, 3.5), (1.5, 3.5), (2.5, 3.5), (3.5, 3.5), (0.5, 2.5), (1.5, 2.5), (2.5, 2.5), (3.5, 2.5), (0.5, 1.5), (1.5, 1.5), (2.5, 1.5), (3.5, 1.5), (0.5, 0.5), (1.5, 0.5), (2.5, 0.5), (3.5, 0.5)}
liStart: {(0.5, 3.5), (1.5, 3.5), (2.5, 3.5), (3.5, 3.5), (0.5, 2.5), (1.5, 2.5), (2.5, 2.5), (3.5, 2.5), (0.5, 1.5), (1.5, 1.5), (2.5, 1.5), (3.5, 1.5), (0.5, 0.5), (1.5, 0.5), (2.5, 0.5), (3.5, 0.5)}
liPlaetze = Sequence(IndexOf[Element[liPunkte, k], liStart], k, 1, 16)
liZahlen = Sequence(IndexOf[k, liPlaetze], k, 1, 16)
platz16 = IndexOf(16, liZahlen)
reihe16 = If(platz16 < 5, 1, If[platz16 < 9, 2, If[platz16 < 13, 3, 4]])
Vieleck1 = Polygon((0, 0), (4, 0), 4)
xli: 0.2
yun: 0.2
nb16: {(x(Element[liPunkte, 16] - 1), y(Element[liPunkte, 16])), (x(Element[liPunkte, 16] + 1), y(Element[liPunkte, 16])), (x(Element[liPunkte, 16]), y(Element[liPunkte, 16] - 1)), (x(Element[liPunkte, 16]), y(Element[liPunkte, 16] + 1))}
A1 = Element(liZahlen, 1)
A2 = Element(liZahlen, 2)
A3 = Element(liZahlen, 3)
A4 = Element(liZahlen, 4)
A5 = Element(liZahlen, 5)
A6 = Element(liZahlen, 6)
A7 = Element(liZahlen, 7)
A8 = Element(liZahlen, 8)
A9 = Element(liZahlen, 9)
A10 = Element(liZahlen, 10)
A11 = Element(liZahlen, 11)
A12 = Element(liZahlen, 12)
A13 = Element(liZahlen, 13)
A14 = Element(liZahlen, 14)
A15 = Element(liZahlen, 15)
A16 = Element(liZahlen, 16)
P1 = If($A$2 ≠ 16, If[$A$1 ≠ 16, If[$A$2 < $A1, 1, 0], 0], 0)
O1 = If($A$3 ≠ 16, If[$A$1 ≠ 16, If[$A$3 < $A1, 1, 0], 0], 0)
O2 = If($A$3 ≠ 16, If[$A$2 ≠ 16, If[$A$3 < $A2, 1, 0], 0], 0)
B1 = If($A$16 ≠ 16, If[$A$1 ≠ 16, If[$A$16 < $A1, 1, 0], 0], 0)
B2 = If($A$16 ≠ 16, If[$A$2 ≠ 16, If[$A$16 < $A2, 1, 0], 0], 0)
B3 = If($A$16 ≠ 16, If[$A$3 ≠ 16, If[$A$16 < $A3, 1, 0], 0], 0)
B4 = If($A$16 ≠ 16, If[$A$4 ≠ 16, If[$A$16 < $A4, 1, 0], 0], 0)
B5 = If($A$16 ≠ 16, If[$A$5 ≠ 16, If[$A$16 < $A5, 1, 0], 0], 0)
B6 = If($A$16 ≠ 16, If[$A$6 ≠ 16, If[$A$16 < $A6, 1, 0], 0], 0)
B7 = If($A$16 ≠ 16, If[$A$7 ≠ 16, If[$A$16 < $A7, 1, 0], 0], 0)
B8 = If($A$16 ≠ 16, If[$A$8 ≠ 16, If[$A$16 < $A8, 1, 0], 0], 0)
B9 = If($A$16 ≠ 16, If[$A$9 ≠ 16, If[$A$16 < $A9, 1, 0], 0], 0)
B10 = If($A$16 ≠ 16, If[$A$10 ≠ 16, If[$A$16 < $A10, 1, 0], 0], 0)
B11 = If($A$16 ≠ 16, If[$A$11 ≠ 16, If[$A$16 < $A11, 1, 0], 0], 0)
B12 = If($A$16 ≠ 16, If[$A$12 ≠ 16, If[$A$16 < $A12, 1, 0], 0], 0)
B13 = If($A$16 ≠ 16, If[$A$13 ≠ 16, If[$A$16 < $A13, 1, 0], 0], 0)
B14 = If($A$16 ≠ 16, If[$A$14 ≠ 16, If[$A$16 < $A14, 1, 0], 0], 0)
B15 = If($A$16 ≠ 16, If[$A$15 ≠ 16, If[$A$16 < $A15, 1, 0], 0], 0)
C1 = If($A$15 ≠ 16, If[$A$1 ≠ 16, If[$A$15 < $A1, 1, 0], 0], 0)
C2 = If($A$15 ≠ 16, If[$A$2 ≠ 16, If[$A$15 < $A2, 1, 0], 0], 0)
C3 = If($A$15 ≠ 16, If[$A$3 ≠ 16, If[$A$15 < $A3, 1, 0], 0], 0)
C4 = If($A$15 ≠ 16, If[$A$4 ≠ 16, If[$A$15 < $A4, 1, 0], 0], 0)
C5 = If($A$15 ≠ 16, If[$A$5 ≠ 16, If[$A$15 < $A5, 1, 0], 0], 0)
C6 = If($A$15 ≠ 16, If[$A$6 ≠ 16, If[$A$15 < $A6, 1, 0], 0], 0)
C7 = If($A$15 ≠ 16, If[$A$7 ≠ 16, If[$A$15 < $A7, 1, 0], 0], 0)
C8 = If($A$15 ≠ 16, If[$A$8 ≠ 16, If[$A$15 < $A8, 1, 0], 0], 0)
C9 = If($A$15 ≠ 16, If[$A$9 ≠ 16, If[$A$15 < $A9, 1, 0], 0], 0)
C10 = If($A$15 ≠ 16, If[$A$10 ≠ 16, If[$A$15 < $A10, 1, 0], 0], 0)
C11 = If($A$15 ≠ 16, If[$A$11 ≠ 16, If[$A$15 < $A11, 1, 0], 0], 0)
C12 = If($A$15 ≠ 16, If[$A$12 ≠ 16, If[$A$15 < $A12, 1, 0], 0], 0)
C13 = If($A$15 ≠ 16, If[$A$13 ≠ 16, If[$A$15 < $A13, 1, 0], 0], 0)
C14 = If($A$15 ≠ 16, If[$A$14 ≠ 16, If[$A$15 < $A14, 1, 0], 0], 0)
D1 = If($A$14 ≠ 16, If[$A$1 ≠ 16, If[$A$14 < $A1, 1, 0], 0], 0)
D2 = If($A$14 ≠ 16, If[$A$2 ≠ 16, If[$A$14 < $A2, 1, 0], 0], 0)
D3 = If($A$14 ≠ 16, If[$A$3 ≠ 16, If[$A$14 < $A3, 1, 0], 0], 0)
D4 = If($A$14 ≠ 16, If[$A$4 ≠ 16, If[$A$14 < $A4, 1, 0], 0], 0)
D5 = If($A$14 ≠ 16, If[$A$5 ≠ 16, If[$A$14 < $A5, 1, 0], 0], 0)
D6 = If($A$14 ≠ 16, If[$A$6 ≠ 16, If[$A$14 < $A6, 1, 0], 0], 0)
D7 = If($A$14 ≠ 16, If[$A$7 ≠ 16, If[$A$14 < $A7, 1, 0], 0], 0)
D8 = If($A$14 ≠ 16, If[$A$8 ≠ 16, If[$A$14 < $A8, 1, 0], 0], 0)
D9 = If($A$14 ≠ 16, If[$A$9 ≠ 16, If[$A$14 < $A9, 1, 0], 0], 0)
D10 = If($A$14 ≠ 16, If[$A$10 ≠ 16, If[$A$14 < $A10, 1, 0], 0], 0)
D11 = If($A$14 ≠ 16, If[$A$11 ≠ 16, If[$A$14 < $A11, 1, 0], 0], 0)
D12 = If($A$14 ≠ 16, If[$A$12 ≠ 16, If[$A$14 < $A12, 1, 0], 0], 0)
D13 = If($A$14 ≠ 16, If[$A$13 ≠ 16, If[$A$14 < $A13, 1, 0], 0], 0)
E1 = If($A$13 ≠ 16, If[$A$1 ≠ 16, If[$A$13 < $A1, 1, 0], 0], 0)
E2 = If($A$13 ≠ 16, If[$A$2 ≠ 16, If[$A$13 < $A2, 1, 0], 0], 0)
E3 = If($A$13 ≠ 16, If[$A$3 ≠ 16, If[$A$13 < $A3, 1, 0], 0], 0)
E4 = If($A$13 ≠ 16, If[$A$4 ≠ 16, If[$A$13 < $A4, 1, 0], 0], 0)
E5 = If($A$13 ≠ 16, If[$A$5 ≠ 16, If[$A$13 < $A5, 1, 0], 0], 0)
E6 = If($A$13 ≠ 16, If[$A$6 ≠ 16, If[$A$13 < $A6, 1, 0], 0], 0)
E7 = If($A$13 ≠ 16, If[$A$7 ≠ 16, If[$A$13 < $A7, 1, 0], 0], 0)
E8 = If($A$13 ≠ 16, If[$A$8 ≠ 16, If[$A$13 < $A8, 1, 0], 0], 0)
E9 = If($A$13 ≠ 16, If[$A$9 ≠ 16, If[$A$13 < $A9, 1, 0], 0], 0)
E10 = If($A$13 ≠ 16, If[$A$10 ≠ 16, If[$A$13 < $A10, 1, 0], 0], 0)
E11 = If($A$13 ≠ 16, If[$A$11 ≠ 16, If[$A$13 < $A11, 1, 0], 0], 0)
E12 = If($A$13 ≠ 16, If[$A$12 ≠ 16, If[$A$13 < $A12, 1, 0], 0], 0)
F1 = If($A$12 ≠ 16, If[$A$1 ≠ 16, If[$A$12 < $A1, 1, 0], 0], 0)
F2 = If($A$12 ≠ 16, If[$A$2 ≠ 16, If[$A$12 < $A2, 1, 0], 0], 0)
F3 = If($A$12 ≠ 16, If[$A$3 ≠ 16, If[$A$12 < $A3, 1, 0], 0], 0)
F4 = If($A$12 ≠ 16, If[$A$4 ≠ 16, If[$A$12 < $A4, 1, 0], 0], 0)
F5 = If($A$12 ≠ 16, If[$A$5 ≠ 16, If[$A$12 < $A5, 1, 0], 0], 0)
F6 = If($A$12 ≠ 16, If[$A$6 ≠ 16, If[$A$12 < $A6, 1, 0], 0], 0)
F7 = If($A$12 ≠ 16, If[$A$7 ≠ 16, If[$A$12 < $A7, 1, 0], 0], 0)
F8 = If($A$12 ≠ 16, If[$A$8 ≠ 16, If[$A$12 < $A8, 1, 0], 0], 0)
F9 = If($A$12 ≠ 16, If[$A$9 ≠ 16, If[$A$12 < $A9, 1, 0], 0], 0)
F10 = If($A$12 ≠ 16, If[$A$10 ≠ 16, If[$A$12 < $A10, 1, 0], 0], 0)
F11 = If($A$12 ≠ 16, If[$A$11 ≠ 16, If[$A$12 < $A11, 1, 0], 0], 0)
G1 = If($A$11 ≠ 16, If[$A$1 ≠ 16, If[$A$11 < $A1, 1, 0], 0], 0)
G2 = If($A$11 ≠ 16, If[$A$2 ≠ 16, If[$A$11 < $A2, 1, 0], 0], 0)
G3 = If($A$11 ≠ 16, If[$A$3 ≠ 16, If[$A$11 < $A3, 1, 0], 0], 0)
G4 = If($A$11 ≠ 16, If[$A$4 ≠ 16, If[$A$11 < $A4, 1, 0], 0], 0)
G5 = If($A$11 ≠ 16, If[$A$5 ≠ 16, If[$A$11 < $A5, 1, 0], 0], 0)
G6 = If($A$11 ≠ 16, If[$A$6 ≠ 16, If[$A$11 < $A6, 1, 0], 0], 0)
G7 = If($A$11 ≠ 16, If[$A$7 ≠ 16, If[$A$11 < $A7, 1, 0], 0], 0)
G8 = If($A$11 ≠ 16, If[$A$8 ≠ 16, If[$A$11 < $A8, 1, 0], 0], 0)
G9 = If($A$11 ≠ 16, If[$A$9 ≠ 16, If[$A$11 < $A9, 1, 0], 0], 0)
G10 = If($A$11 ≠ 16, If[$A$10 ≠ 16, If[$A$11 < $A10, 1, 0], 0], 0)
N1 = If($A$4 ≠ 16, If[$A$1 ≠ 16, If[$A$4 < $A1, 1, 0], 0], 0)
N2 = If($A$4 ≠ 16, If[$A$2 ≠ 16, If[$A$4 < $A2, 1, 0], 0], 0)
N3 = If($A$4 ≠ 16, If[$A$3 ≠ 16, If[$A$4 < $A3, 1, 0], 0], 0)
M1 = If($A$5 ≠ 16, If[$A$1 ≠ 16, If[$A$5 < $A1, 1, 0], 0], 0)
M2 = If($A$5 ≠ 16, If[$A$2 ≠ 16, If[$A$5 < $A2, 1, 0], 0], 0)
M3 = If($A$5 ≠ 16, If[$A$3 ≠ 16, If[$A$5 < $A3, 1, 0], 0], 0)
M4 = If($A$5 ≠ 16, If[$A$4 ≠ 16, If[$A$5 < $A4, 1, 0], 0], 0)
L1 = If($A$6 ≠ 16, If[$A$1 ≠ 16, If[$A$6 < $A1, 1, 0], 0], 0)
L2 = If($A$6 ≠ 16, If[$A$2 ≠ 16, If[$A$6 < $A2, 1, 0], 0], 0)
L3 = If($A$6 ≠ 16, If[$A$3 ≠ 16, If[$A$6 < $A3, 1, 0], 0], 0)
L4 = If($A$6 ≠ 16, If[$A$4 ≠ 16, If[$A$6 < $A4, 1, 0], 0], 0)
L5 = If($A$6 ≠ 16, If[$A$5 ≠ 16, If[$A$6 < $A5, 1, 0], 0], 0)
K1 = If($A$7 ≠ 16, If[$A$1 ≠ 16, If[$A$7 < $A1, 1, 0], 0], 0)
K2 = If($A$7 ≠ 16, If[$A$2 ≠ 16, If[$A$7 < $A2, 1, 0], 0], 0)
K3 = If($A$7 ≠ 16, If[$A$3 ≠ 16, If[$A$7 < $A3, 1, 0], 0], 0)
K4 = If($A$7 ≠ 16, If[$A$4 ≠ 16, If[$A$7 < $A4, 1, 0], 0], 0)
K5 = If($A$7 ≠ 16, If[$A$5 ≠ 16, If[$A$7 < $A5, 1, 0], 0], 0)
K6 = If($A$7 ≠ 16, If[$A$6 ≠ 16, If[$A$7 < $A6, 1, 0], 0], 0)
J1 = If($A$8 ≠ 16, If[$A$1 ≠ 16, If[$A$8 < $A1, 1, 0], 0], 0)
J2 = If($A$8 ≠ 16, If[$A$2 ≠ 16, If[$A$8 < $A2, 1, 0], 0], 0)
J3 = If($A$8 ≠ 16, If[$A$3 ≠ 16, If[$A$8 < $A3, 1, 0], 0], 0)
J4 = If($A$8 ≠ 16, If[$A$4 ≠ 16, If[$A$8 < $A4, 1, 0], 0], 0)
J5 = If($A$8 ≠ 16, If[$A$5 ≠ 16, If[$A$8 < $A5, 1, 0], 0], 0)
J6 = If($A$8 ≠ 16, If[$A$6 ≠ 16, If[$A$8 < $A6, 1, 0], 0], 0)
J7 = If($A$8 ≠ 16, If[$A$7 ≠ 16, If[$A$8 < $A7, 1, 0], 0], 0)
I1 = If($A$9 ≠ 16, If[$A$1 ≠ 16, If[$A$9 < $A1, 1, 0], 0], 0)
I2 = If($A$9 ≠ 16, If[$A$2 ≠ 16, If[$A$9 < $A2, 1, 0], 0], 0)
I3 = If($A$9 ≠ 16, If[$A$3 ≠ 16, If[$A$9 < $A3, 1, 0], 0], 0)
I4 = If($A$9 ≠ 16, If[$A$4 ≠ 16, If[$A$9 < $A4, 1, 0], 0], 0)
I5 = If($A$9 ≠ 16, If[$A$5 ≠ 16, If[$A$9 < $A5, 1, 0], 0], 0)
I6 = If($A$9 ≠ 16, If[$A$6 ≠ 16, If[$A$9 < $A6, 1, 0], 0], 0)
I7 = If($A$9 ≠ 16, If[$A$7 ≠ 16, If[$A$9 < $A7, 1, 0], 0], 0)
I8 = If($A$9 ≠ 16, If[$A$8 ≠ 16, If[$A$9 < $A8, 1, 0], 0], 0)
H1 = If($A$10 ≠ 16, If[$A$1 ≠ 16, If[$A$10 < $A1, 1, 0], 0], 0)
H2 = If($A$10 ≠ 16, If[$A$2 ≠ 16, If[$A$10 < $A2, 1, 0], 0], 0)
H3 = If($A$10 ≠ 16, If[$A$3 ≠ 16, If[$A$10 < $A3, 1, 0], 0], 0)
H4 = If($A$10 ≠ 16, If[$A$4 ≠ 16, If[$A$10 < $A4, 1, 0], 0], 0)
H5 = If($A$10 ≠ 16, If[$A$5 ≠ 16, If[$A$10 < $A5, 1, 0], 0], 0)
H6 = If($A$10 ≠ 16, If[$A$6 ≠ 16, If[$A$10 < $A6, 1, 0], 0], 0)
H7 = If($A$10 ≠ 16, If[$A$7 ≠ 16, If[$A$10 < $A7, 1, 0], 0], 0)
H8 = If($A$10 ≠ 16, If[$A$8 ≠ 16, If[$A$10 < $A8, 1, 0], 0], 0)
H9 = If($A$10 ≠ 16, If[$A$9 ≠ 16, If[$A$10 < $A9, 1, 0], 0], 0)
B17 = Sum(B1:B16)
C17 = Sum(C1:C16)
D17 = Sum(D1:D16)
E17 = Sum(E1:E16)
F17 = Sum(F1:F16)
G17 = Sum(G1:G16)
H17 = Sum(H1:H16)
I17 = Sum(I1:I16)
J17 = Sum(J1:J16)
K17 = Sum(K1:K16)
L17 = Sum(L1:L16)
M17 = Sum(M1:M16)
N17 = Sum(N1:N16)
O17 = Sum(O1:O16)
P17 = Sum(P1:P16)
sum = Sum({B17, C17, D17, E17, F17, G17, H17, I17, J17, K17, L17, M17, N17, O17, P17})
Nwert: sum + reihe16
loesbar = IsInteger(Nwert / 2)
liLoesung = Sequence(1, 16)
geloest = If(liZahlen ≟ liLoesung, true, false)
A: (0.3, 4.3)
B: (0.6, 4.3)
Vieleck2, f, g, h, i, C, D = Polygon(A, B, 4)
E = Centroid(Vieleck2)
c = Circle(E, 0.15)
zeigeMischen = true
B18 = Sum(B17:Q17)
Q1 = If($A$2 ≠ 16, If[$A$1 ≠ 16, If[$A$1 < $A1, 1, 0], 0], 0)
P2 = If($A$2 ≠ 16, If[$A$1 ≠ 16, If[$A$2 < $A2, 1, 0], 0], 0)
O3 = If($A$3 ≠ 16, If[$A$2 ≠ 16, If[$A$3 < $A3, 1, 0], 0], 0)
N4 = If($A$5 ≠ 16, If[$A$4 ≠ 16, If[$A$4 < $A4, 1, 0], 0], 0)
M5 = If($A$5 ≠ 16, If[$A$4 ≠ 16, If[$A$5 < $A5, 1, 0], 0], 0)
L6 = If($A$6 ≠ 16, If[$A$5 ≠ 16, If[$A$6 < $A6, 1, 0], 0], 0)
K7 = If($A$7 ≠ 16, If[$A$6 ≠ 16, If[$A$7 < $A7, 1, 0], 0], 0)
J8 = If($A$8 ≠ 16, If[$A$7 ≠ 16, If[$A$8 < $A8, 1, 0], 0], 0)
I9 = If($A$9 ≠ 16, If[$A$8 ≠ 16, If[$A$9 < $A9, 1, 0], 0], 0)
H10 = If($A$10 ≠ 16, If[$A$9 ≠ 16, If[$A$10 < $A10, 1, 0], 0], 0)
G11 = If($A$11 ≠ 16, If[$A$10 ≠ 16, If[$A$11 < $A11, 1, 0], 0], 0)
F12 = If($A$12 ≠ 16, If[$A$11 ≠ 16, If[$A$12 < $A12, 1, 0], 0], 0)
E13 = If($A$13 ≠ 16, If[$A$12 ≠ 16, If[$A$13 < $A13, 1, 0], 0], 0)
D14 = If($A$14 ≠ 16, If[$A$13 ≠ 16, If[$A$14 < $A14, 1, 0], 0], 0)
C15 = If($A$15 ≠ 16, If[$A$14 ≠ 16, If[$A$15 < $A15, 1, 0], 0], 0)
B16 = If($A$16 ≠ 16, If[$A$15 ≠ 16, If[$A$16 < $A16, 1, 0], 0], 0)
R1 = Sum(B1:Q1)
R2 = Sum(B2:Q2)
R3 = Sum(B3:Q3)
R4 = Sum(B4:Q4)
R5 = Sum(B5:Q5)
R6 = Sum(B6:Q6)
R7 = Sum(B7:Q7)
R8 = Sum(B8:Q8)
R9 = Sum(B9:Q9)
R10 = Sum(B10:Q10)
R11 = Sum(B11:Q11)
R12 = Sum(B12:Q12)
R13 = Sum(B13:Q13)
R14 = Sum(B14:Q14)
R15 = Sum(B15:Q15)
R16 = Sum(B16:Q16)
R17 = Sum(R1:R15)
Q17 = Sum(Q1:Q16)
Text1: "" + sum + " + " + reihe16 + " = " + (sum + reihe16) + ""
zeigeHilfe = false