nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
63,
94,
32,
17
] | 15 | [
"94+32=126",
"126/63=2",
"17-2=15"
] | Current State: 15:[63, 94, 32, 17], Operations: []
Exploring Operation: 94+32=126, Resulting Numbers: [63, 17, 126]
Generated Node #2: [63, 17, 126] from Operation: 94+32=126
Current State: 15:[63, 17, 126], Operations: ['94+32=126']
Exploring Operation: 126/63=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 126/63=2
Current State: 15:[17, 2], Operations: ['94+32=126', '126/63=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[63, 94, 32, 17], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [32, 17, 31]
Generated Node #0,0: 15:[32, 17, 31] Operation: 94-63=31
Moving to Node #0,0
Current State: 15:[32, 17, 31], Operations: ['94-63=31']
Exploring Operation: 32-31=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 15:[17, 1] Operation: 32-31=1
Moving to Node #0,0,0
Current State: 15:[17, 1], Operations: ['94-63=31', '32-31=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
86,
13,
77,
70
] | 80 | [
"86-13=73",
"77-70=7",
"73+7=80"
] | Current State: 80:[86, 13, 77, 70], Operations: []
Exploring Operation: 86-13=73, Resulting Numbers: [77, 70, 73]
Generated Node #2: [77, 70, 73] from Operation: 86-13=73
Current State: 80:[77, 70, 73], Operations: ['86-13=73']
Exploring Operation: 77-70=7, Resulting Numbers: [73, 7]
Generated Node #3: [73, 7] from Operation: 77-70=7
Current State: 80:[73, 7], Operations: ['86-13=73', '77-70=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[86, 13, 77, 70], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [13, 77, 16]
Generated Node #0,0: 80:[13, 77, 16] Operation: 86-70=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[13, 77, 16], Operations: ['86-70=16']
Exploring Operation: 16-13=3, Resulting Numbers: [77, 3]
Generated Node #0,0,0: 80:[77, 3] Operation: 16-13=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[77, 3], Operations: ['86-70=16', '16-13=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[86, 13, 77, 70], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [13, 77, 16]
Generated Node #0,0: 80:[13, 77, 16] Operation: 86-70=16
Moving to Node #0,0
Current State: 80:[13, 77, 16], Operations: ['86-70=16']
Exploring Operation: 16-13=3, Resulting Numbers: [77, 3]
Generated Node #0,0,0: 80:[77, 3] Operation: 16-13=3
Moving to Node #0,0,0
Current State: 80:[77, 3], Operations: ['86-70=16', '16-13=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
74,
38,
15,
4
] | 43 | [
"74+38=112",
"112/4=28",
"15+28=43"
] | Current State: 43:[74, 38, 15, 4], Operations: []
Exploring Operation: 74+38=112, Resulting Numbers: [15, 4, 112]
Generated Node #2: [15, 4, 112] from Operation: 74+38=112
Current State: 43:[15, 4, 112], Operations: ['74+38=112']
Exploring Operation: 112/4=28, Resulting Numbers: [15, 28]
Generated Node #3: [15, 28] from Operation: 112/4=28
Current State: 43:[15, 28], Operations: ['74+38=112', '112/4=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[74, 38, 15, 4], Operations: []
Exploring Operation: 15*4=60, Resulting Numbers: [74, 38, 60]
Generated Node #0,0: 43:[74, 38, 60] Operation: 15*4=60
Exploring Operation: 74-15=59, Resulting Numbers: [38, 4, 59]
Generated Node #0,1: 43:[38, 4, 59] Operation: 74-15=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[74, 38, 60], Operations: ['15*4=60']
Exploring Operation: 74-60=14, Resulting Numbers: [38, 14]
Generated Node #0,0,0: 43:[38, 14] Operation: 74-60=14
Exploring Operation: 74-38=36, Resulting Numbers: [60, 36]
Generated Node #0,0,1: 43:[60, 36] Operation: 74-38=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[60, 36], Operations: ['15*4=60', '74-38=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[38, 14], Operations: ['15*4=60', '74-60=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[38, 4, 59], Operations: ['74-15=59']
Exploring Operation: 38+4=42, Resulting Numbers: [59, 42]
Generated Node #0,1,0: 43:[59, 42] Operation: 38+4=42
Exploring Operation: 59-4=55, Resulting Numbers: [38, 55]
Generated Node #0,1,1: 43:[38, 55] Operation: 59-4=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[59, 42], Operations: ['74-15=59', '38+4=42']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[38, 55], Operations: ['74-15=59', '59-4=55']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
54,
10,
56
] | 27 | [
"44+10=54",
"56-54=2",
"54/2=27"
] | Current State: 27:[44, 54, 10, 56], Operations: []
Exploring Operation: 44+10=54, Resulting Numbers: [54, 56, 54]
Generated Node #2: [54, 56, 54] from Operation: 44+10=54
Current State: 27:[54, 56, 54], Operations: ['44+10=54']
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,27 equal: Goal Reached
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[44, 54, 10, 56], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [10, 56, 10]
Generated Node #0,0: 27:[10, 56, 10] Operation: 54-44=10
Exploring Operation: 56-44=12, Resulting Numbers: [54, 10, 12]
Generated Node #0,1: 27:[54, 10, 12] Operation: 56-44=12
Exploring Operation: 56-54=2, Resulting Numbers: [44, 10, 2]
Generated Node #0,2: 27:[44, 10, 2] Operation: 56-54=2
Moving to Node #0,2
Current State: 27:[44, 10, 2], Operations: ['56-54=2']
Exploring Operation: 44-10=34, Resulting Numbers: [2, 34]
Generated Node #0,2,0: 27:[2, 34] Operation: 44-10=34
Exploring Operation: 44-2=42, Resulting Numbers: [10, 42]
Generated Node #0,2,1: 27:[10, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [10, 22]
Generated Node #0,2,2: 27:[10, 22] Operation: 44/2=22
Moving to Node #0,0
Current State: 27:[10, 56, 10], Operations: ['54-44=10']
Exploring Operation: 56-10=46, Resulting Numbers: [10, 46]
Generated Node #0,0,0: 27:[10, 46] Operation: 56-10=46
Exploring Operation: 10/10=1, Resulting Numbers: [56, 1]
Generated Node #0,0,1: 27:[56, 1] Operation: 10/10=1
Exploring Operation: 56-10=46, Resulting Numbers: [10, 46]
Generated Node #0,0,2: 27:[10, 46] Operation: 56-10=46
Moving to Node #0,1
Current State: 27:[54, 10, 12], Operations: ['56-44=12']
Exploring Operation: 12-10=2, Resulting Numbers: [54, 2]
Generated Node #0,1,0: 27:[54, 2] Operation: 12-10=2
Exploring Operation: 54-10=44, Resulting Numbers: [12, 44]
Generated Node #0,1,1: 27:[12, 44] Operation: 54-10=44
Exploring Operation: 54-12=42, Resulting Numbers: [10, 42]
Generated Node #0,1,2: 27:[10, 42] Operation: 54-12=42
Moving to Node #0,2,2
Current State: 27:[10, 22], Operations: ['56-54=2', '44/2=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,27 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[2, 34], Operations: ['56-54=2', '44-10=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[10, 42], Operations: ['56-54=2', '44-2=42']
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,27 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[10, 42], Operations: ['56-44=12', '54-12=42']
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,27 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[12, 44], Operations: ['56-44=12', '54-10=44']
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[10, 46], Operations: ['54-44=10', '56-10=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,27 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[10, 46], Operations: ['54-44=10', '56-10=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[54, 2], Operations: ['56-44=12', '12-10=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[44, 54, 10, 56], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [54, 10, 12]
Generated Node #0,1: 27:[54, 10, 12] Operation: 56-44=12
Moving to Node #0,1
Current State: 27:[54, 10, 12], Operations: ['56-44=12']
Exploring Operation: 12-10=2, Resulting Numbers: [54, 2]
Generated Node #0,1,0: 27:[54, 2] Operation: 12-10=2
Moving to Node #0,1,0
Current State: 27:[54, 2], Operations: ['56-44=12', '12-10=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
48,
98,
89,
48
] | 87 | [
"98-48=50",
"89+48=137",
"137-50=87"
] | Current State: 87:[48, 98, 89, 48], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [89, 50]
Generated Node #2: [89, 50] from Operation: 98-48=50
Current State: 87:[89, 50], Operations: ['98-48=50']
Exploring Operation: 89+48=137, Resulting Numbers: [50, 137]
Generated Node #3: [50, 137] from Operation: 89+48=137
Current State: 87:[50, 137], Operations: ['98-48=50', '89+48=137']
Exploring Operation: 137-50=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[48, 98, 89, 48], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [98, 89, 1]
Generated Node #0,0: 87:[98, 89, 1] Operation: 48/48=1
Exploring Operation: 48-48=0, Resulting Numbers: [98, 89, 0]
Generated Node #0,1: 87:[98, 89, 0] Operation: 48-48=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[98, 89, 1], Operations: ['48/48=1']
Exploring Operation: 98-1=97, Resulting Numbers: [89, 97]
Generated Node #0,0,0: 87:[89, 97] Operation: 98-1=97
Exploring Operation: 98-89=9, Resulting Numbers: [1, 9]
Generated Node #0,0,1: 87:[1, 9] Operation: 98-89=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[1, 9], Operations: ['48/48=1', '98-89=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[89, 97], Operations: ['48/48=1', '98-1=97']
Exploring Operation: 89+97=186, Resulting Numbers: [186]
186,87 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[98, 89, 0], Operations: ['48-48=0']
Exploring Operation: 98-89=9, Resulting Numbers: [0, 9]
Generated Node #0,1,0: 87:[0, 9] Operation: 98-89=9
Exploring Operation: 98*0=0, Resulting Numbers: [89, 0]
Generated Node #0,1,1: 87:[89, 0] Operation: 98*0=0
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[89, 0], Operations: ['48-48=0', '98*0=0']
Exploring Operation: 89+0=89, Resulting Numbers: [89]
89,87 unequal: No Solution
Exploring Operation: 89-0=89, Resulting Numbers: [89]
89,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[0, 9], Operations: ['48-48=0', '98-89=9']
Exploring Operation: 0+9=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 0*9=0, Resulting Numbers: [0]
0,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
68,
4,
32,
25
] | 51 | [
"68-25=43",
"32/4=8",
"43+8=51"
] | Current State: 51:[68, 4, 32, 25], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [4, 32, 43]
Generated Node #2: [4, 32, 43] from Operation: 68-25=43
Current State: 51:[4, 32, 43], Operations: ['68-25=43']
Exploring Operation: 32/4=8, Resulting Numbers: [43, 8]
Generated Node #3: [43, 8] from Operation: 32/4=8
Current State: 51:[43, 8], Operations: ['68-25=43', '32/4=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[68, 4, 32, 25], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [68, 4, 7]
Generated Node #0,0: 51:[68, 4, 7] Operation: 32-25=7
Exploring Operation: 68/4=17, Resulting Numbers: [32, 25, 17]
Generated Node #0,1: 51:[32, 25, 17] Operation: 68/4=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[68, 4, 7], Operations: ['32-25=7']
Exploring Operation: 68-7=61, Resulting Numbers: [4, 61]
Generated Node #0,0,0: 51:[4, 61] Operation: 68-7=61
Exploring Operation: 68/4=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 51:[7, 17] Operation: 68/4=17
Moving to Node #0,0,1
Current State: 51:[7, 17], Operations: ['32-25=7', '68/4=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[4, 61], Operations: ['32-25=7', '68-7=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[32, 25, 17], Operations: ['68/4=17']
Exploring Operation: 32+25=57, Resulting Numbers: [17, 57]
Generated Node #0,1,0: 51:[17, 57] Operation: 32+25=57
Exploring Operation: 32-25=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 51:[17, 7] Operation: 32-25=7
Moving to Node #0,1,1
Current State: 51:[17, 7], Operations: ['68/4=17', '32-25=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[17, 57], Operations: ['68/4=17', '32+25=57']
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
59,
30,
2
] | 29 | [
"62-59=3",
"30+2=32",
"32-3=29"
] | Current State: 29:[62, 59, 30, 2], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [30, 2, 3]
Generated Node #2: [30, 2, 3] from Operation: 62-59=3
Current State: 29:[30, 2, 3], Operations: ['62-59=3']
Exploring Operation: 30+2=32, Resulting Numbers: [3, 32]
Generated Node #3: [3, 32] from Operation: 30+2=32
Current State: 29:[3, 32], Operations: ['62-59=3', '30+2=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[62, 59, 30, 2], Operations: []
Exploring Operation: 59-30=29, Resulting Numbers: [62, 2, 29]
Generated Node #0,0: 29:[62, 2, 29] Operation: 59-30=29
Exploring Operation: 62-59=3, Resulting Numbers: [30, 2, 3]
Generated Node #0,1: 29:[30, 2, 3] Operation: 62-59=3
Exploring Operation: 62/2=31, Resulting Numbers: [59, 30, 31]
Generated Node #0,2: 29:[59, 30, 31] Operation: 62/2=31
Exploring Operation: 62-30=32, Resulting Numbers: [59, 2, 32]
Generated Node #0,3: 29:[59, 2, 32] Operation: 62-30=32
Moving to Node #0,2
Current State: 29:[59, 30, 31], Operations: ['62/2=31']
Exploring Operation: 59-31=28, Resulting Numbers: [30, 28]
Generated Node #0,2,0: 29:[30, 28] Operation: 59-31=28
Exploring Operation: 59+30=89, Resulting Numbers: [31, 89]
Generated Node #0,2,1: 29:[31, 89] Operation: 59+30=89
Exploring Operation: 31-30=1, Resulting Numbers: [59, 1]
Generated Node #0,2,2: 29:[59, 1] Operation: 31-30=1
Exploring Operation: 59-30=29, Resulting Numbers: [31, 29]
Generated Node #0,2,3: 29:[31, 29] Operation: 59-30=29
Moving to Node #0,1
Current State: 29:[30, 2, 3], Operations: ['62-59=3']
Exploring Operation: 2*3=6, Resulting Numbers: [30, 6]
Generated Node #0,1,0: 29:[30, 6] Operation: 2*3=6
Exploring Operation: 30-2=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 29:[3, 28] Operation: 30-2=28
Exploring Operation: 30+2=32, Resulting Numbers: [3, 32]
Generated Node #0,1,2: 29:[3, 32] Operation: 30+2=32
Exploring Operation: 2+3=5, Resulting Numbers: [30, 5]
Generated Node #0,1,3: 29:[30, 5] Operation: 2+3=5
Moving to Node #0,3
Current State: 29:[59, 2, 32], Operations: ['62-30=32']
Exploring Operation: 59+2=61, Resulting Numbers: [32, 61]
Generated Node #0,3,0: 29:[32, 61] Operation: 59+2=61
Exploring Operation: 59-32=27, Resulting Numbers: [2, 27]
Generated Node #0,3,1: 29:[2, 27] Operation: 59-32=27
Exploring Operation: 32-2=30, Resulting Numbers: [59, 30]
Generated Node #0,3,2: 29:[59, 30] Operation: 32-2=30
Exploring Operation: 59-2=57, Resulting Numbers: [32, 57]
Generated Node #0,3,3: 29:[32, 57] Operation: 59-2=57
Moving to Node #0,0
Current State: 29:[62, 2, 29], Operations: ['59-30=29']
Exploring Operation: 62+2=64, Resulting Numbers: [29, 64]
Generated Node #0,0,0: 29:[29, 64] Operation: 62+2=64
Exploring Operation: 62-29=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 29:[2, 33] Operation: 62-29=33
Exploring Operation: 62/2=31, Resulting Numbers: [29, 31]
Generated Node #0,0,2: 29:[29, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [29, 60]
Generated Node #0,0,3: 29:[29, 60] Operation: 62-2=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[29, 31], Operations: ['59-30=29', '62/2=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[2, 33], Operations: ['59-30=29', '62-29=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[29, 60], Operations: ['59-30=29', '62-2=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,29 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[29, 64], Operations: ['59-30=29', '62+2=64']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,29 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 29:[30, 28], Operations: ['62/2=31', '59-31=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,29 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[31, 29], Operations: ['62/2=31', '59-30=29']
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,29 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[30, 6], Operations: ['62-59=3', '2*3=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[30, 5], Operations: ['62-59=3', '2+3=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[3, 28], Operations: ['62-59=3', '30-2=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[3, 32], Operations: ['62-59=3', '30+2=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,29 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[62, 59, 30, 2], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [30, 2, 3]
Generated Node #0,1: 29:[30, 2, 3] Operation: 62-59=3
Moving to Node #0,1
Current State: 29:[30, 2, 3], Operations: ['62-59=3']
Exploring Operation: 30+2=32, Resulting Numbers: [3, 32]
Generated Node #0,1,2: 29:[3, 32] Operation: 30+2=32
Moving to Node #0,1,2
Current State: 29:[3, 32], Operations: ['62-59=3', '30+2=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.951389 | hs_4 | mult_heuristic |
[
31,
38,
28,
1
] | 97 | [
"31+38=69",
"28*1=28",
"69+28=97"
] | Current State: 97:[31, 38, 28, 1], Operations: []
Exploring Operation: 31+38=69, Resulting Numbers: [28, 1, 69]
Generated Node #2: [28, 1, 69] from Operation: 31+38=69
Current State: 97:[28, 1, 69], Operations: ['31+38=69']
Exploring Operation: 28*1=28, Resulting Numbers: [69, 28]
Generated Node #3: [69, 28] from Operation: 28*1=28
Current State: 97:[69, 28], Operations: ['31+38=69', '28*1=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[31, 38, 28, 1], Operations: []
Exploring Operation: 38+28=66, Resulting Numbers: [31, 1, 66]
Generated Node #0,0: 97:[31, 1, 66] Operation: 38+28=66
Exploring Operation: 31+38=69, Resulting Numbers: [28, 1, 69]
Generated Node #0,1: 97:[28, 1, 69] Operation: 31+38=69
Exploring Operation: 38+1=39, Resulting Numbers: [31, 28, 39]
Generated Node #0,2: 97:[31, 28, 39] Operation: 38+1=39
Exploring Operation: 31+1=32, Resulting Numbers: [38, 28, 32]
Generated Node #0,3: 97:[38, 28, 32] Operation: 31+1=32
Exploring Operation: 31+28=59, Resulting Numbers: [38, 1, 59]
Generated Node #0,4: 97:[38, 1, 59] Operation: 31+28=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[31, 1, 66], Operations: ['38+28=66']
Exploring Operation: 31*1=31, Resulting Numbers: [66, 31]
Generated Node #0,0,0: 97:[66, 31] Operation: 31*1=31
Exploring Operation: 1+66=67, Resulting Numbers: [31, 67]
Generated Node #0,0,1: 97:[31, 67] Operation: 1+66=67
Exploring Operation: 31/1=31, Resulting Numbers: [66, 31]
Generated Node #0,0,2: 97:[66, 31] Operation: 31/1=31
Exploring Operation: 31+66=97, Resulting Numbers: [1, 97]
Generated Node #0,0,3: 97:[1, 97] Operation: 31+66=97
Exploring Operation: 31+1=32, Resulting Numbers: [66, 32]
Generated Node #0,0,4: 97:[66, 32] Operation: 31+1=32
Moving to Node #0,0,1
Current State: 97:[31, 67], Operations: ['38+28=66', '1+66=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[66, 32], Operations: ['38+28=66', '31+1=32']
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,97 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[1, 97], Operations: ['38+28=66', '31+66=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 1+97=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[31, 38, 28, 1], Operations: []
Exploring Operation: 38+28=66, Resulting Numbers: [31, 1, 66]
Generated Node #0,0: 97:[31, 1, 66] Operation: 38+28=66
Moving to Node #0,0
Current State: 97:[31, 1, 66], Operations: ['38+28=66']
Exploring Operation: 31+66=97, Resulting Numbers: [1, 97]
Generated Node #0,0,3: 97:[1, 97] Operation: 31+66=97
Moving to Node #0,0,3
Current State: 97:[1, 97], Operations: ['38+28=66', '31+66=97']
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
65,
40,
25,
15
] | 61 | [
"25-15=10",
"40/10=4",
"65-4=61"
] | Current State: 61:[65, 40, 25, 15], Operations: []
Exploring Operation: 25-15=10, Resulting Numbers: [65, 40, 10]
Generated Node #2: [65, 40, 10] from Operation: 25-15=10
Current State: 61:[65, 40, 10], Operations: ['25-15=10']
Exploring Operation: 40/10=4, Resulting Numbers: [65, 4]
Generated Node #3: [65, 4] from Operation: 40/10=4
Current State: 61:[65, 4], Operations: ['25-15=10', '40/10=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[65, 40, 25, 15], Operations: []
Exploring Operation: 25+15=40, Resulting Numbers: [65, 40, 40]
Generated Node #0,0: 61:[65, 40, 40] Operation: 25+15=40
Exploring Operation: 40+15=55, Resulting Numbers: [65, 25, 55]
Generated Node #0,1: 61:[65, 25, 55] Operation: 40+15=55
Moving to Node #0,0
Current State: 61:[65, 40, 40], Operations: ['25+15=40']
Exploring Operation: 40+40=80, Resulting Numbers: [65, 80]
Generated Node #0,0,0: 61:[65, 80] Operation: 40+40=80
Exploring Operation: 65-40=25, Resulting Numbers: [40, 25]
Generated Node #0,0,1: 61:[40, 25] Operation: 65-40=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[65, 80], Operations: ['25+15=40', '40+40=80']
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[40, 25], Operations: ['25+15=40', '65-40=25']
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[65, 25, 55], Operations: ['40+15=55']
Exploring Operation: 65-25=40, Resulting Numbers: [55, 40]
Generated Node #0,1,0: 61:[55, 40] Operation: 65-25=40
Exploring Operation: 25+55=80, Resulting Numbers: [65, 80]
Generated Node #0,1,1: 61:[65, 80] Operation: 25+55=80
Moving to Node #0,1,1
Current State: 61:[65, 80], Operations: ['40+15=55', '25+55=80']
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[55, 40], Operations: ['40+15=55', '65-25=40']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
79,
95,
63,
48
] | 92 | [
"79-63=16",
"48/16=3",
"95-3=92"
] | Current State: 92:[79, 95, 63, 48], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [95, 48, 16]
Generated Node #2: [95, 48, 16] from Operation: 79-63=16
Current State: 92:[95, 48, 16], Operations: ['79-63=16']
Exploring Operation: 48/16=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 48/16=3
Current State: 92:[95, 3], Operations: ['79-63=16', '48/16=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[79, 95, 63, 48], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [79, 95, 15]
Generated Node #0,0: 92:[79, 95, 15] Operation: 63-48=15
Exploring Operation: 79-48=31, Resulting Numbers: [95, 63, 31]
Generated Node #0,1: 92:[95, 63, 31] Operation: 79-48=31
Exploring Operation: 95-79=16, Resulting Numbers: [63, 48, 16]
Generated Node #0,2: 92:[63, 48, 16] Operation: 95-79=16
Exploring Operation: 79-63=16, Resulting Numbers: [95, 48, 16]
Generated Node #0,3: 92:[95, 48, 16] Operation: 79-63=16
Exploring Operation: 95-63=32, Resulting Numbers: [79, 48, 32]
Generated Node #0,4: 92:[79, 48, 32] Operation: 95-63=32
Moving to Node #0,3
Current State: 92:[95, 48, 16], Operations: ['79-63=16']
Exploring Operation: 95-16=79, Resulting Numbers: [48, 79]
Generated Node #0,3,0: 92:[48, 79] Operation: 95-16=79
Exploring Operation: 95-48=47, Resulting Numbers: [16, 47]
Generated Node #0,3,1: 92:[16, 47] Operation: 95-48=47
Exploring Operation: 48-16=32, Resulting Numbers: [95, 32]
Generated Node #0,3,2: 92:[95, 32] Operation: 48-16=32
Exploring Operation: 95+16=111, Resulting Numbers: [48, 111]
Generated Node #0,3,3: 92:[48, 111] Operation: 95+16=111
Exploring Operation: 48/16=3, Resulting Numbers: [95, 3]
Generated Node #0,3,4: 92:[95, 3] Operation: 48/16=3
Moving to Node #0,4
Current State: 92:[79, 48, 32], Operations: ['95-63=32']
Exploring Operation: 48-32=16, Resulting Numbers: [79, 16]
Generated Node #0,4,0: 92:[79, 16] Operation: 48-32=16
Exploring Operation: 79-32=47, Resulting Numbers: [48, 47]
Generated Node #0,4,1: 92:[48, 47] Operation: 79-32=47
Exploring Operation: 48+32=80, Resulting Numbers: [79, 80]
Generated Node #0,4,2: 92:[79, 80] Operation: 48+32=80
Exploring Operation: 79+32=111, Resulting Numbers: [48, 111]
Generated Node #0,4,3: 92:[48, 111] Operation: 79+32=111
Exploring Operation: 79-48=31, Resulting Numbers: [32, 31]
Generated Node #0,4,4: 92:[32, 31] Operation: 79-48=31
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 92:[48, 47], Operations: ['95-63=32', '79-32=47']
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 92:[32, 31], Operations: ['95-63=32', '79-48=31']
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,92 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 92:[79, 16], Operations: ['95-63=32', '48-32=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 92:[48, 111], Operations: ['95-63=32', '79+32=111']
Exploring Operation: 48+111=159, Resulting Numbers: [159]
159,92 unequal: No Solution
Exploring Operation: 111-48=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 48*111=5328, Resulting Numbers: [5328]
5328,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 92:[79, 80], Operations: ['95-63=32', '48+32=80']
Exploring Operation: 79+80=159, Resulting Numbers: [159]
159,92 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 79*80=6320, Resulting Numbers: [6320]
6320,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 92:[79, 95, 15], Operations: ['63-48=15']
Exploring Operation: 95-79=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 92:[15, 16] Operation: 95-79=16
Exploring Operation: 95+15=110, Resulting Numbers: [79, 110]
Generated Node #0,0,1: 92:[79, 110] Operation: 95+15=110
Exploring Operation: 79+15=94, Resulting Numbers: [95, 94]
Generated Node #0,0,2: 92:[95, 94] Operation: 79+15=94
Exploring Operation: 95-15=80, Resulting Numbers: [79, 80]
Generated Node #0,0,3: 92:[79, 80] Operation: 95-15=80
Exploring Operation: 79-15=64, Resulting Numbers: [95, 64]
Generated Node #0,0,4: 92:[95, 64] Operation: 79-15=64
Moving to Node #0,2
Current State: 92:[63, 48, 16], Operations: ['95-79=16']
Exploring Operation: 48/16=3, Resulting Numbers: [63, 3]
Generated Node #0,2,0: 92:[63, 3] Operation: 48/16=3
Exploring Operation: 63-16=47, Resulting Numbers: [48, 47]
Generated Node #0,2,1: 92:[48, 47] Operation: 63-16=47
Exploring Operation: 63+48=111, Resulting Numbers: [16, 111]
Generated Node #0,2,2: 92:[16, 111] Operation: 63+48=111
Exploring Operation: 63-48=15, Resulting Numbers: [16, 15]
Generated Node #0,2,3: 92:[16, 15] Operation: 63-48=15
Exploring Operation: 63+16=79, Resulting Numbers: [48, 79]
Generated Node #0,2,4: 92:[48, 79] Operation: 63+16=79
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[48, 47], Operations: ['95-79=16', '63-16=47']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,92 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[16, 15], Operations: ['95-79=16', '63-48=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,92 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[48, 79], Operations: ['95-79=16', '63+16=79']
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,92 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[63, 3], Operations: ['95-79=16', '48/16=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,92 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[16, 111], Operations: ['95-79=16', '63+48=111']
Exploring Operation: 16*111=1776, Resulting Numbers: [1776]
1776,92 unequal: No Solution
Exploring Operation: 111-16=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 16+111=127, Resulting Numbers: [127]
127,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[95, 63, 31], Operations: ['79-48=31']
Exploring Operation: 95-31=64, Resulting Numbers: [63, 64]
Generated Node #0,1,0: 92:[63, 64] Operation: 95-31=64
Exploring Operation: 95-63=32, Resulting Numbers: [31, 32]
Generated Node #0,1,1: 92:[31, 32] Operation: 95-63=32
Exploring Operation: 63-31=32, Resulting Numbers: [95, 32]
Generated Node #0,1,2: 92:[95, 32] Operation: 63-31=32
Exploring Operation: 63+31=94, Resulting Numbers: [95, 94]
Generated Node #0,1,3: 92:[95, 94] Operation: 63+31=94
Exploring Operation: 95+31=126, Resulting Numbers: [63, 126]
Generated Node #0,1,4: 92:[63, 126] Operation: 95+31=126
Moving to Node #0,3,4
Current State: 92:[95, 3], Operations: ['79-63=16', '48/16=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[79, 95, 63, 48], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [95, 48, 16]
Generated Node #0,3: 92:[95, 48, 16] Operation: 79-63=16
Moving to Node #0,3
Current State: 92:[95, 48, 16], Operations: ['79-63=16']
Exploring Operation: 48/16=3, Resulting Numbers: [95, 3]
Generated Node #0,3,4: 92:[95, 3] Operation: 48/16=3
Moving to Node #0,3,4
Current State: 92:[95, 3], Operations: ['79-63=16', '48/16=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
46,
67,
65,
2
] | 17 | [
"46+67=113",
"65*2=130",
"130-113=17"
] | Current State: 17:[46, 67, 65, 2], Operations: []
Exploring Operation: 46+67=113, Resulting Numbers: [65, 2, 113]
Generated Node #2: [65, 2, 113] from Operation: 46+67=113
Current State: 17:[65, 2, 113], Operations: ['46+67=113']
Exploring Operation: 65*2=130, Resulting Numbers: [113, 130]
Generated Node #3: [113, 130] from Operation: 65*2=130
Current State: 17:[113, 130], Operations: ['46+67=113', '65*2=130']
Exploring Operation: 130-113=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[46, 67, 65, 2], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [46, 2, 2]
Generated Node #0,0: 17:[46, 2, 2] Operation: 67-65=2
Moving to Node #0,0
Current State: 17:[46, 2, 2], Operations: ['67-65=2']
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 17:[2, 23] Operation: 46/2=23
Moving to Node #0,0,0
Current State: 17:[2, 23], Operations: ['67-65=2', '46/2=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,17 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
60,
61,
76
] | 59 | [
"15+61=76",
"76/76=1",
"60-1=59"
] | Current State: 59:[15, 60, 61, 76], Operations: []
Exploring Operation: 15+61=76, Resulting Numbers: [60, 76, 76]
Generated Node #2: [60, 76, 76] from Operation: 15+61=76
Current State: 59:[60, 76, 76], Operations: ['15+61=76']
Exploring Operation: 76/76=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 76/76=1
Current State: 59:[60, 1], Operations: ['15+61=76', '76/76=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[15, 60, 61, 76], Operations: []
Exploring Operation: 61-15=46, Resulting Numbers: [60, 76, 46]
Generated Node #0,0: 59:[60, 76, 46] Operation: 61-15=46
Exploring Operation: 76-15=61, Resulting Numbers: [60, 61, 61]
Generated Node #0,1: 59:[60, 61, 61] Operation: 76-15=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[60, 61, 61], Operations: ['76-15=61']
Exploring Operation: 61/61=1, Resulting Numbers: [60, 1]
Generated Node #0,1,0: 59:[60, 1] Operation: 61/61=1
Exploring Operation: 61-60=1, Resulting Numbers: [61, 1]
Generated Node #0,1,1: 59:[61, 1] Operation: 61-60=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[60, 1], Operations: ['76-15=61', '61/61=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[15, 60, 61, 76], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [60, 61, 61]
Generated Node #0,1: 59:[60, 61, 61] Operation: 76-15=61
Moving to Node #0,1
Current State: 59:[60, 61, 61], Operations: ['76-15=61']
Exploring Operation: 61/61=1, Resulting Numbers: [60, 1]
Generated Node #0,1,0: 59:[60, 1] Operation: 61/61=1
Moving to Node #0,1,0
Current State: 59:[60, 1], Operations: ['76-15=61', '61/61=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
10,
37,
39,
40
] | 80 | [
"40/10=4",
"37+39=76",
"4+76=80"
] | Current State: 80:[10, 37, 39, 40], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [37, 39, 4]
Generated Node #2: [37, 39, 4] from Operation: 40/10=4
Current State: 80:[37, 39, 4], Operations: ['40/10=4']
Exploring Operation: 37+39=76, Resulting Numbers: [4, 76]
Generated Node #3: [4, 76] from Operation: 37+39=76
Current State: 80:[4, 76], Operations: ['40/10=4', '37+39=76']
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[10, 37, 39, 40], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [10, 40, 2]
Generated Node #0,0: 80:[10, 40, 2] Operation: 39-37=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[10, 40, 2], Operations: ['39-37=2']
Exploring Operation: 40/10=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 80:[2, 4] Operation: 40/10=4
Moving to Node #0,0,0
Current State: 80:[2, 4], Operations: ['39-37=2', '40/10=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
98,
48,
96
] | 41 | [
"98-96=2",
"48/2=24",
"65-24=41"
] | Current State: 41:[65, 98, 48, 96], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [65, 48, 2]
Generated Node #2: [65, 48, 2] from Operation: 98-96=2
Current State: 41:[65, 48, 2], Operations: ['98-96=2']
Exploring Operation: 48/2=24, Resulting Numbers: [65, 24]
Generated Node #3: [65, 24] from Operation: 48/2=24
Current State: 41:[65, 24], Operations: ['98-96=2', '48/2=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[65, 98, 48, 96], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [98, 48, 31]
Generated Node #0,0: 41:[98, 48, 31] Operation: 96-65=31
Exploring Operation: 98-65=33, Resulting Numbers: [48, 96, 33]
Generated Node #0,1: 41:[48, 96, 33] Operation: 98-65=33
Exploring Operation: 98-96=2, Resulting Numbers: [65, 48, 2]
Generated Node #0,2: 41:[65, 48, 2] Operation: 98-96=2
Exploring Operation: 98-48=50, Resulting Numbers: [65, 96, 50]
Generated Node #0,3: 41:[65, 96, 50] Operation: 98-48=50
Moving to Node #0,1
Current State: 41:[48, 96, 33], Operations: ['98-65=33']
Exploring Operation: 96-48=48, Resulting Numbers: [33, 48]
Generated Node #0,1,0: 41:[33, 48] Operation: 96-48=48
Exploring Operation: 96-33=63, Resulting Numbers: [48, 63]
Generated Node #0,1,1: 41:[48, 63] Operation: 96-33=63
Exploring Operation: 96/48=2, Resulting Numbers: [33, 2]
Generated Node #0,1,2: 41:[33, 2] Operation: 96/48=2
Exploring Operation: 48-33=15, Resulting Numbers: [96, 15]
Generated Node #0,1,3: 41:[96, 15] Operation: 48-33=15
Moving to Node #0,2
Current State: 41:[65, 48, 2], Operations: ['98-96=2']
Exploring Operation: 48+2=50, Resulting Numbers: [65, 50]
Generated Node #0,2,0: 41:[65, 50] Operation: 48+2=50
Exploring Operation: 48-2=46, Resulting Numbers: [65, 46]
Generated Node #0,2,1: 41:[65, 46] Operation: 48-2=46
Exploring Operation: 65-2=63, Resulting Numbers: [48, 63]
Generated Node #0,2,2: 41:[48, 63] Operation: 65-2=63
Exploring Operation: 65+2=67, Resulting Numbers: [48, 67]
Generated Node #0,2,3: 41:[48, 67] Operation: 65+2=67
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[65, 46], Operations: ['98-96=2', '48-2=46']
Exploring Operation: 65*46=2990, Resulting Numbers: [2990]
2990,41 unequal: No Solution
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 65+46=111, Resulting Numbers: [111]
111,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[48, 63], Operations: ['98-96=2', '65-2=63']
Exploring Operation: 48+63=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 48*63=3024, Resulting Numbers: [3024]
3024,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[65, 50], Operations: ['98-96=2', '48+2=50']
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,41 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[48, 67], Operations: ['98-96=2', '65+2=67']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[98, 48, 31], Operations: ['96-65=31']
Exploring Operation: 98-31=67, Resulting Numbers: [48, 67]
Generated Node #0,0,0: 41:[48, 67] Operation: 98-31=67
Exploring Operation: 48-31=17, Resulting Numbers: [98, 17]
Generated Node #0,0,1: 41:[98, 17] Operation: 48-31=17
Exploring Operation: 98+31=129, Resulting Numbers: [48, 129]
Generated Node #0,0,2: 41:[48, 129] Operation: 98+31=129
Exploring Operation: 98-48=50, Resulting Numbers: [31, 50]
Generated Node #0,0,3: 41:[31, 50] Operation: 98-48=50
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[31, 50], Operations: ['96-65=31', '98-48=50']
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[48, 67], Operations: ['96-65=31', '98-31=67']
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,41 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[98, 17], Operations: ['96-65=31', '48-31=17']
Exploring Operation: 98+17=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 98*17=1666, Resulting Numbers: [1666]
1666,41 unequal: No Solution
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[48, 129], Operations: ['96-65=31', '98+31=129']
Exploring Operation: 48+129=177, Resulting Numbers: [177]
177,41 unequal: No Solution
Exploring Operation: 48*129=6192, Resulting Numbers: [6192]
6192,41 unequal: No Solution
Exploring Operation: 129-48=81, Resulting Numbers: [81]
81,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 41:[65, 96, 50], Operations: ['98-48=50']
Exploring Operation: 96-50=46, Resulting Numbers: [65, 46]
Generated Node #0,3,0: 41:[65, 46] Operation: 96-50=46
Exploring Operation: 65+96=161, Resulting Numbers: [50, 161]
Generated Node #0,3,1: 41:[50, 161] Operation: 65+96=161
Exploring Operation: 96-65=31, Resulting Numbers: [50, 31]
Generated Node #0,3,2: 41:[50, 31] Operation: 96-65=31
Exploring Operation: 65-50=15, Resulting Numbers: [96, 15]
Generated Node #0,3,3: 41:[96, 15] Operation: 65-50=15
Moving to Node #0,1,0
Current State: 41:[33, 48], Operations: ['98-65=33', '96-48=48']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,41 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[50, 31], Operations: ['98-48=50', '96-65=31']
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,41 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[65, 46], Operations: ['98-48=50', '96-50=46']
Exploring Operation: 65+46=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 65*46=2990, Resulting Numbers: [2990]
2990,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[48, 63], Operations: ['98-65=33', '96-33=63']
Exploring Operation: 48*63=3024, Resulting Numbers: [3024]
3024,41 unequal: No Solution
Exploring Operation: 48+63=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[33, 2], Operations: ['98-65=33', '96/48=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[96, 15], Operations: ['98-65=33', '48-33=15']
Exploring Operation: 96*15=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
Exploring Operation: 96+15=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[96, 15], Operations: ['98-48=50', '65-50=15']
Exploring Operation: 96*15=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 96+15=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[50, 161], Operations: ['98-48=50', '65+96=161']
Exploring Operation: 50+161=211, Resulting Numbers: [211]
211,41 unequal: No Solution
Exploring Operation: 161-50=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 50*161=8050, Resulting Numbers: [8050]
8050,41 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
99,
77,
10,
45
] | 33 | [
"99-77=22",
"10+45=55",
"55-22=33"
] | Current State: 33:[99, 77, 10, 45], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [10, 45, 22]
Generated Node #2: [10, 45, 22] from Operation: 99-77=22
Current State: 33:[10, 45, 22], Operations: ['99-77=22']
Exploring Operation: 10+45=55, Resulting Numbers: [22, 55]
Generated Node #3: [22, 55] from Operation: 10+45=55
Current State: 33:[22, 55], Operations: ['99-77=22', '10+45=55']
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[99, 77, 10, 45], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [10, 45, 22]
Generated Node #0,0: 33:[10, 45, 22] Operation: 99-77=22
Exploring Operation: 99-45=54, Resulting Numbers: [77, 10, 54]
Generated Node #0,1: 33:[77, 10, 54] Operation: 99-45=54
Exploring Operation: 77-45=32, Resulting Numbers: [99, 10, 32]
Generated Node #0,2: 33:[99, 10, 32] Operation: 77-45=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[10, 45, 22], Operations: ['99-77=22']
Exploring Operation: 10+22=32, Resulting Numbers: [45, 32]
Generated Node #0,0,0: 33:[45, 32] Operation: 10+22=32
Exploring Operation: 45-22=23, Resulting Numbers: [10, 23]
Generated Node #0,0,1: 33:[10, 23] Operation: 45-22=23
Exploring Operation: 45-10=35, Resulting Numbers: [22, 35]
Generated Node #0,0,2: 33:[22, 35] Operation: 45-10=35
Moving to Node #0,0,1
Current State: 33:[10, 23], Operations: ['99-77=22', '45-22=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,33 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[99, 77, 10, 45], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [10, 45, 22]
Generated Node #0,0: 33:[10, 45, 22] Operation: 99-77=22
Moving to Node #0,0
Current State: 33:[10, 45, 22], Operations: ['99-77=22']
Exploring Operation: 45-22=23, Resulting Numbers: [10, 23]
Generated Node #0,0,1: 33:[10, 23] Operation: 45-22=23
Moving to Node #0,0,1
Current State: 33:[10, 23], Operations: ['99-77=22', '45-22=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
73,
2,
40,
8
] | 74 | [
"73-40=33",
"2*33=66",
"8+66=74"
] | Current State: 74:[73, 2, 40, 8], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [2, 8, 33]
Generated Node #2: [2, 8, 33] from Operation: 73-40=33
Current State: 74:[2, 8, 33], Operations: ['73-40=33']
Exploring Operation: 2*33=66, Resulting Numbers: [8, 66]
Generated Node #3: [8, 66] from Operation: 2*33=66
Current State: 74:[8, 66], Operations: ['73-40=33', '2*33=66']
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[73, 2, 40, 8], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [73, 2, 5]
Generated Node #0,0: 74:[73, 2, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[73, 2, 5], Operations: ['40/8=5']
Exploring Operation: 5-2=3, Resulting Numbers: [73, 3]
Generated Node #0,0,0: 74:[73, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[73, 3], Operations: ['40/8=5', '5-2=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
53,
28,
39
] | 83 | [
"53-39=14",
"28/14=2",
"85-2=83"
] | Current State: 83:[85, 53, 28, 39], Operations: []
Exploring Operation: 53-39=14, Resulting Numbers: [85, 28, 14]
Generated Node #2: [85, 28, 14] from Operation: 53-39=14
Current State: 83:[85, 28, 14], Operations: ['53-39=14']
Exploring Operation: 28/14=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 28/14=2
Current State: 83:[85, 2], Operations: ['53-39=14', '28/14=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[85, 53, 28, 39], Operations: []
Exploring Operation: 28+39=67, Resulting Numbers: [85, 53, 67]
Generated Node #0,0: 83:[85, 53, 67] Operation: 28+39=67
Exploring Operation: 53+28=81, Resulting Numbers: [85, 39, 81]
Generated Node #0,1: 83:[85, 39, 81] Operation: 53+28=81
Exploring Operation: 53+39=92, Resulting Numbers: [85, 28, 92]
Generated Node #0,2: 83:[85, 28, 92] Operation: 53+39=92
Exploring Operation: 85-28=57, Resulting Numbers: [53, 39, 57]
Generated Node #0,3: 83:[53, 39, 57] Operation: 85-28=57
Exploring Operation: 85+28=113, Resulting Numbers: [53, 39, 113]
Generated Node #0,4: 83:[53, 39, 113] Operation: 85+28=113
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[85, 53, 67], Operations: ['28+39=67']
Exploring Operation: 85-53=32, Resulting Numbers: [67, 32]
Generated Node #0,0,0: 83:[67, 32] Operation: 85-53=32
Exploring Operation: 67-53=14, Resulting Numbers: [85, 14]
Generated Node #0,0,1: 83:[85, 14] Operation: 67-53=14
Exploring Operation: 53+67=120, Resulting Numbers: [85, 120]
Generated Node #0,0,2: 83:[85, 120] Operation: 53+67=120
Exploring Operation: 85-67=18, Resulting Numbers: [53, 18]
Generated Node #0,0,3: 83:[53, 18] Operation: 85-67=18
Exploring Operation: 85+53=138, Resulting Numbers: [67, 138]
Generated Node #0,0,4: 83:[67, 138] Operation: 85+53=138
Moving to Node #0,0,2
Current State: 83:[85, 120], Operations: ['28+39=67', '53+67=120']
Exploring Operation: 120-85=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 85+120=205, Resulting Numbers: [205]
205,83 unequal: No Solution
Exploring Operation: 85*120=10200, Resulting Numbers: [10200]
10200,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[67, 32], Operations: ['28+39=67', '85-53=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,83 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[85, 14], Operations: ['28+39=67', '67-53=14']
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,83 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[67, 138], Operations: ['28+39=67', '85+53=138']
Exploring Operation: 138-67=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 67*138=9246, Resulting Numbers: [9246]
9246,83 unequal: No Solution
Exploring Operation: 67+138=205, Resulting Numbers: [205]
205,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[53, 18], Operations: ['28+39=67', '85-67=18']
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 53*18=954, Resulting Numbers: [954]
954,83 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[85, 39, 81], Operations: ['53+28=81']
Exploring Operation: 39+81=120, Resulting Numbers: [85, 120]
Generated Node #0,1,0: 83:[85, 120] Operation: 39+81=120
Exploring Operation: 85+39=124, Resulting Numbers: [81, 124]
Generated Node #0,1,1: 83:[81, 124] Operation: 85+39=124
Exploring Operation: 85-81=4, Resulting Numbers: [39, 4]
Generated Node #0,1,2: 83:[39, 4] Operation: 85-81=4
Exploring Operation: 85-39=46, Resulting Numbers: [81, 46]
Generated Node #0,1,3: 83:[81, 46] Operation: 85-39=46
Exploring Operation: 81-39=42, Resulting Numbers: [85, 42]
Generated Node #0,1,4: 83:[85, 42] Operation: 81-39=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[85, 120], Operations: ['53+28=81', '39+81=120']
Exploring Operation: 120-85=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 85*120=10200, Resulting Numbers: [10200]
10200,83 unequal: No Solution
Exploring Operation: 85+120=205, Resulting Numbers: [205]
205,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[81, 46], Operations: ['53+28=81', '85-39=46']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 81+46=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 81*46=3726, Resulting Numbers: [3726]
3726,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[81, 124], Operations: ['53+28=81', '85+39=124']
Exploring Operation: 81*124=10044, Resulting Numbers: [10044]
10044,83 unequal: No Solution
Exploring Operation: 81+124=205, Resulting Numbers: [205]
205,83 unequal: No Solution
Exploring Operation: 124-81=43, Resulting Numbers: [43]
43,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 83:[85, 42], Operations: ['53+28=81', '81-39=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 85+42=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 85*42=3570, Resulting Numbers: [3570]
3570,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[39, 4], Operations: ['53+28=81', '85-81=4']
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[85, 28, 92], Operations: ['53+39=92']
Exploring Operation: 85-28=57, Resulting Numbers: [92, 57]
Generated Node #0,2,0: 83:[92, 57] Operation: 85-28=57
Exploring Operation: 92-85=7, Resulting Numbers: [28, 7]
Generated Node #0,2,1: 83:[28, 7] Operation: 92-85=7
Exploring Operation: 92-28=64, Resulting Numbers: [85, 64]
Generated Node #0,2,2: 83:[85, 64] Operation: 92-28=64
Exploring Operation: 28+92=120, Resulting Numbers: [85, 120]
Generated Node #0,2,3: 83:[85, 120] Operation: 28+92=120
Exploring Operation: 85+28=113, Resulting Numbers: [92, 113]
Generated Node #0,2,4: 83:[92, 113] Operation: 85+28=113
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[85, 64], Operations: ['53+39=92', '92-28=64']
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,83 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[92, 57], Operations: ['53+39=92', '85-28=57']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 92*57=5244, Resulting Numbers: [5244]
5244,83 unequal: No Solution
Exploring Operation: 92+57=149, Resulting Numbers: [149]
149,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[85, 120], Operations: ['53+39=92', '28+92=120']
Exploring Operation: 120-85=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 85+120=205, Resulting Numbers: [205]
205,83 unequal: No Solution
Exploring Operation: 85*120=10200, Resulting Numbers: [10200]
10200,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 83:[92, 113], Operations: ['53+39=92', '85+28=113']
Exploring Operation: 92+113=205, Resulting Numbers: [205]
205,83 unequal: No Solution
Exploring Operation: 113-92=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 92*113=10396, Resulting Numbers: [10396]
10396,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[28, 7], Operations: ['53+39=92', '92-85=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[53, 39, 57], Operations: ['85-28=57']
Exploring Operation: 39+57=96, Resulting Numbers: [53, 96]
Generated Node #0,3,0: 83:[53, 96] Operation: 39+57=96
Exploring Operation: 53+57=110, Resulting Numbers: [39, 110]
Generated Node #0,3,1: 83:[39, 110] Operation: 53+57=110
Exploring Operation: 53-39=14, Resulting Numbers: [57, 14]
Generated Node #0,3,2: 83:[57, 14] Operation: 53-39=14
Exploring Operation: 53+39=92, Resulting Numbers: [57, 92]
Generated Node #0,3,3: 83:[57, 92] Operation: 53+39=92
Exploring Operation: 57-39=18, Resulting Numbers: [53, 18]
Generated Node #0,3,4: 83:[53, 18] Operation: 57-39=18
Moving to Node #0,3,3
Current State: 83:[57, 92], Operations: ['85-28=57', '53+39=92']
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,83 unequal: No Solution
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,83 unequal: No Solution
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[53, 96], Operations: ['85-28=57', '39+57=96']
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 53+96=149, Resulting Numbers: [149]
149,83 unequal: No Solution
Exploring Operation: 53*96=5088, Resulting Numbers: [5088]
5088,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[39, 110], Operations: ['85-28=57', '53+57=110']
Exploring Operation: 39+110=149, Resulting Numbers: [149]
149,83 unequal: No Solution
Exploring Operation: 110-39=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 39*110=4290, Resulting Numbers: [4290]
4290,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[57, 14], Operations: ['85-28=57', '53-39=14']
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,83 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[53, 18], Operations: ['85-28=57', '57-39=18']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 53*18=954, Resulting Numbers: [954]
954,83 unequal: No Solution
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[53, 39, 113], Operations: ['85+28=113']
Exploring Operation: 53+39=92, Resulting Numbers: [113, 92]
Generated Node #0,4,0: 83:[113, 92] Operation: 53+39=92
Exploring Operation: 53-39=14, Resulting Numbers: [113, 14]
Generated Node #0,4,1: 83:[113, 14] Operation: 53-39=14
Exploring Operation: 39+113=152, Resulting Numbers: [53, 152]
Generated Node #0,4,2: 83:[53, 152] Operation: 39+113=152
Exploring Operation: 113-39=74, Resulting Numbers: [53, 74]
Generated Node #0,4,3: 83:[53, 74] Operation: 113-39=74
Exploring Operation: 113-53=60, Resulting Numbers: [39, 60]
Generated Node #0,4,4: 83:[39, 60] Operation: 113-53=60
Moving to Node #0,4,0
Current State: 83:[113, 92], Operations: ['85+28=113', '53+39=92']
Exploring Operation: 113-92=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 113*92=10396, Resulting Numbers: [10396]
10396,83 unequal: No Solution
Exploring Operation: 113+92=205, Resulting Numbers: [205]
205,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[53, 74], Operations: ['85+28=113', '113-39=74']
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 53*74=3922, Resulting Numbers: [3922]
3922,83 unequal: No Solution
Exploring Operation: 53+74=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[39, 60], Operations: ['85+28=113', '113-53=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[113, 14], Operations: ['85+28=113', '53-39=14']
Exploring Operation: 113+14=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 113-14=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 113*14=1582, Resulting Numbers: [1582]
1582,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[53, 152], Operations: ['85+28=113', '39+113=152']
Exploring Operation: 53+152=205, Resulting Numbers: [205]
205,83 unequal: No Solution
Exploring Operation: 152-53=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 53*152=8056, Resulting Numbers: [8056]
8056,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
48,
28,
25
] | 36 | [
"28-25=3",
"28*3=84",
"84-48=36"
] | Current State: 36:[28, 48, 28, 25], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [48, 3]
Generated Node #2: [48, 3] from Operation: 28-25=3
Current State: 36:[48, 3], Operations: ['28-25=3']
Exploring Operation: 28*3=84, Resulting Numbers: [48, 84]
Generated Node #3: [48, 84] from Operation: 28*3=84
Current State: 36:[48, 84], Operations: ['28-25=3', '28*3=84']
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[28, 48, 28, 25], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [28, 25, 20]
Generated Node #0,0: 36:[28, 25, 20] Operation: 48-28=20
Moving to Node #0,0
Current State: 36:[28, 25, 20], Operations: ['48-28=20']
Exploring Operation: 28-25=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 36:[20, 3] Operation: 28-25=3
Moving to Node #0,0,0
Current State: 36:[20, 3], Operations: ['48-28=20', '28-25=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
68,
94,
33
] | 60 | [
"68+94=162",
"162/6=27",
"33+27=60"
] | Current State: 60:[6, 68, 94, 33], Operations: []
Exploring Operation: 68+94=162, Resulting Numbers: [6, 33, 162]
Generated Node #2: [6, 33, 162] from Operation: 68+94=162
Current State: 60:[6, 33, 162], Operations: ['68+94=162']
Exploring Operation: 162/6=27, Resulting Numbers: [33, 27]
Generated Node #3: [33, 27] from Operation: 162/6=27
Current State: 60:[33, 27], Operations: ['68+94=162', '162/6=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[6, 68, 94, 33], Operations: []
Exploring Operation: 94-6=88, Resulting Numbers: [68, 33, 88]
Generated Node #0,0: 60:[68, 33, 88] Operation: 94-6=88
Exploring Operation: 94-68=26, Resulting Numbers: [6, 33, 26]
Generated Node #0,1: 60:[6, 33, 26] Operation: 94-68=26
Exploring Operation: 94-33=61, Resulting Numbers: [6, 68, 61]
Generated Node #0,2: 60:[6, 68, 61] Operation: 94-33=61
Exploring Operation: 68-6=62, Resulting Numbers: [94, 33, 62]
Generated Node #0,3: 60:[94, 33, 62] Operation: 68-6=62
Moving to Node #0,1
Current State: 60:[6, 33, 26], Operations: ['94-68=26']
Exploring Operation: 33-26=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 60:[6, 7] Operation: 33-26=7
Exploring Operation: 33+26=59, Resulting Numbers: [6, 59]
Generated Node #0,1,1: 60:[6, 59] Operation: 33+26=59
Exploring Operation: 26-6=20, Resulting Numbers: [33, 20]
Generated Node #0,1,2: 60:[33, 20] Operation: 26-6=20
Exploring Operation: 6+26=32, Resulting Numbers: [33, 32]
Generated Node #0,1,3: 60:[33, 32] Operation: 6+26=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[6, 7], Operations: ['94-68=26', '33-26=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[6, 59], Operations: ['94-68=26', '33+26=59']
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,60 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[33, 20], Operations: ['94-68=26', '26-6=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,60 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[33, 32], Operations: ['94-68=26', '6+26=32']
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,60 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 60:[6, 68, 61], Operations: ['94-33=61']
Exploring Operation: 6+68=74, Resulting Numbers: [61, 74]
Generated Node #0,2,0: 60:[61, 74] Operation: 6+68=74
Exploring Operation: 68-61=7, Resulting Numbers: [6, 7]
Generated Node #0,2,1: 60:[6, 7] Operation: 68-61=7
Exploring Operation: 61-6=55, Resulting Numbers: [68, 55]
Generated Node #0,2,2: 60:[68, 55] Operation: 61-6=55
Exploring Operation: 68-6=62, Resulting Numbers: [61, 62]
Generated Node #0,2,3: 60:[61, 62] Operation: 68-6=62
Moving to Node #0,3
Current State: 60:[94, 33, 62], Operations: ['68-6=62']
Exploring Operation: 62-33=29, Resulting Numbers: [94, 29]
Generated Node #0,3,0: 60:[94, 29] Operation: 62-33=29
Exploring Operation: 94+33=127, Resulting Numbers: [62, 127]
Generated Node #0,3,1: 60:[62, 127] Operation: 94+33=127
Exploring Operation: 94-33=61, Resulting Numbers: [62, 61]
Generated Node #0,3,2: 60:[62, 61] Operation: 94-33=61
Exploring Operation: 94-62=32, Resulting Numbers: [33, 32]
Generated Node #0,3,3: 60:[33, 32] Operation: 94-62=32
Moving to Node #0,0
Current State: 60:[68, 33, 88], Operations: ['94-6=88']
Exploring Operation: 68-33=35, Resulting Numbers: [88, 35]
Generated Node #0,0,0: 60:[88, 35] Operation: 68-33=35
Exploring Operation: 68+33=101, Resulting Numbers: [88, 101]
Generated Node #0,0,1: 60:[88, 101] Operation: 68+33=101
Exploring Operation: 88-33=55, Resulting Numbers: [68, 55]
Generated Node #0,0,2: 60:[68, 55] Operation: 88-33=55
Exploring Operation: 88-68=20, Resulting Numbers: [33, 20]
Generated Node #0,0,3: 60:[33, 20] Operation: 88-68=20
Moving to Node #0,2,1
Current State: 60:[6, 7], Operations: ['94-33=61', '68-61=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[61, 62], Operations: ['94-33=61', '68-6=62']
Exploring Operation: 61+62=123, Resulting Numbers: [123]
123,60 unequal: No Solution
Exploring Operation: 61*62=3782, Resulting Numbers: [3782]
3782,60 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[62, 61], Operations: ['68-6=62', '94-33=61']
Exploring Operation: 62*61=3782, Resulting Numbers: [3782]
3782,60 unequal: No Solution
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,60 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[33, 20], Operations: ['94-6=88', '88-68=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,60 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[33, 32], Operations: ['68-6=62', '94-62=32']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[68, 55], Operations: ['94-33=61', '61-6=55']
Exploring Operation: 68+55=123, Resulting Numbers: [123]
123,60 unequal: No Solution
Exploring Operation: 68*55=3740, Resulting Numbers: [3740]
3740,60 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[68, 55], Operations: ['94-6=88', '88-33=55']
Exploring Operation: 68+55=123, Resulting Numbers: [123]
123,60 unequal: No Solution
Exploring Operation: 68*55=3740, Resulting Numbers: [3740]
3740,60 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[61, 74], Operations: ['94-33=61', '6+68=74']
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,60 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[88, 35], Operations: ['94-6=88', '68-33=35']
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,60 unequal: No Solution
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[94, 29], Operations: ['68-6=62', '62-33=29']
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,60 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[62, 127], Operations: ['68-6=62', '94+33=127']
Exploring Operation: 62+127=189, Resulting Numbers: [189]
189,60 unequal: No Solution
Exploring Operation: 127-62=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 62*127=7874, Resulting Numbers: [7874]
7874,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[88, 101], Operations: ['94-6=88', '68+33=101']
Exploring Operation: 101-88=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 88+101=189, Resulting Numbers: [189]
189,60 unequal: No Solution
Exploring Operation: 88*101=8888, Resulting Numbers: [8888]
8888,60 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
96,
66,
17,
48
] | 81 | [
"96/48=2",
"66+17=83",
"83-2=81"
] | Current State: 81:[96, 66, 17, 48], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [66, 17, 2]
Generated Node #2: [66, 17, 2] from Operation: 96/48=2
Current State: 81:[66, 17, 2], Operations: ['96/48=2']
Exploring Operation: 66+17=83, Resulting Numbers: [2, 83]
Generated Node #3: [2, 83] from Operation: 66+17=83
Current State: 81:[2, 83], Operations: ['96/48=2', '66+17=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[96, 66, 17, 48], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [66, 17, 2]
Generated Node #0,0: 81:[66, 17, 2] Operation: 96/48=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[66, 17, 2], Operations: ['96/48=2']
Exploring Operation: 66+17=83, Resulting Numbers: [2, 83]
Generated Node #0,0,0: 81:[2, 83] Operation: 66+17=83
Moving to Node #0,0,0
Current State: 81:[2, 83], Operations: ['96/48=2', '66+17=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[96, 66, 17, 48], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [66, 17, 2]
Generated Node #0,0: 81:[66, 17, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 81:[66, 17, 2], Operations: ['96/48=2']
Exploring Operation: 66+17=83, Resulting Numbers: [2, 83]
Generated Node #0,0,0: 81:[2, 83] Operation: 66+17=83
Moving to Node #0,0,0
Current State: 81:[2, 83], Operations: ['96/48=2', '66+17=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
29,
85,
10,
20
] | 84 | [
"29+85=114",
"10+20=30",
"114-30=84"
] | Current State: 84:[29, 85, 10, 20], Operations: []
Exploring Operation: 29+85=114, Resulting Numbers: [10, 20, 114]
Generated Node #2: [10, 20, 114] from Operation: 29+85=114
Current State: 84:[10, 20, 114], Operations: ['29+85=114']
Exploring Operation: 10+20=30, Resulting Numbers: [114, 30]
Generated Node #3: [114, 30] from Operation: 10+20=30
Current State: 84:[114, 30], Operations: ['29+85=114', '10+20=30']
Exploring Operation: 114-30=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[29, 85, 10, 20], Operations: []
Exploring Operation: 29-10=19, Resulting Numbers: [85, 20, 19]
Generated Node #0,0: 84:[85, 20, 19] Operation: 29-10=19
Exploring Operation: 20/10=2, Resulting Numbers: [29, 85, 2]
Generated Node #0,1: 84:[29, 85, 2] Operation: 20/10=2
Exploring Operation: 29+10=39, Resulting Numbers: [85, 20, 39]
Generated Node #0,2: 84:[85, 20, 39] Operation: 29+10=39
Exploring Operation: 20-10=10, Resulting Numbers: [29, 85, 10]
Generated Node #0,3: 84:[29, 85, 10] Operation: 20-10=10
Exploring Operation: 10+20=30, Resulting Numbers: [29, 85, 30]
Generated Node #0,4: 84:[29, 85, 30] Operation: 10+20=30
Moving to Node #0,1
Current State: 84:[29, 85, 2], Operations: ['20/10=2']
Exploring Operation: 85+2=87, Resulting Numbers: [29, 87]
Generated Node #0,1,0: 84:[29, 87] Operation: 85+2=87
Exploring Operation: 29+2=31, Resulting Numbers: [85, 31]
Generated Node #0,1,1: 84:[85, 31] Operation: 29+2=31
Exploring Operation: 85-2=83, Resulting Numbers: [29, 83]
Generated Node #0,1,2: 84:[29, 83] Operation: 85-2=83
Exploring Operation: 29-2=27, Resulting Numbers: [85, 27]
Generated Node #0,1,3: 84:[85, 27] Operation: 29-2=27
Exploring Operation: 85-29=56, Resulting Numbers: [2, 56]
Generated Node #0,1,4: 84:[2, 56] Operation: 85-29=56
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[29, 83], Operations: ['20/10=2', '85-2=83']
Exploring Operation: 29+83=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,84 unequal: No Solution
Exploring Operation: 29*83=2407, Resulting Numbers: [2407]
2407,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[85, 27], Operations: ['20/10=2', '29-2=27']
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,84 unequal: No Solution
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[29, 87], Operations: ['20/10=2', '85+2=87']
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,84 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,84 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[85, 31], Operations: ['20/10=2', '29+2=31']
Exploring Operation: 85*31=2635, Resulting Numbers: [2635]
2635,84 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,84 unequal: No Solution
Exploring Operation: 85+31=116, Resulting Numbers: [116]
116,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 84:[2, 56], Operations: ['20/10=2', '85-29=56']
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,84 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 84:[29, 85, 10], Operations: ['20-10=10']
Exploring Operation: 29-10=19, Resulting Numbers: [85, 19]
Generated Node #0,3,0: 84:[85, 19] Operation: 29-10=19
Exploring Operation: 85-10=75, Resulting Numbers: [29, 75]
Generated Node #0,3,1: 84:[29, 75] Operation: 85-10=75
Exploring Operation: 29+10=39, Resulting Numbers: [85, 39]
Generated Node #0,3,2: 84:[85, 39] Operation: 29+10=39
Exploring Operation: 85+10=95, Resulting Numbers: [29, 95]
Generated Node #0,3,3: 84:[29, 95] Operation: 85+10=95
Exploring Operation: 85-29=56, Resulting Numbers: [10, 56]
Generated Node #0,3,4: 84:[10, 56] Operation: 85-29=56
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[85, 19], Operations: ['20-10=10', '29-10=19']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,84 unequal: No Solution
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[85, 39], Operations: ['20-10=10', '29+10=39']
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,84 unequal: No Solution
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,84 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[29, 75], Operations: ['20-10=10', '85-10=75']
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,84 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 84:[29, 95], Operations: ['20-10=10', '85+10=95']
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,84 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 84:[10, 56], Operations: ['20-10=10', '85-29=56']
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,84 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 84:[85, 20, 19], Operations: ['29-10=19']
Exploring Operation: 20+19=39, Resulting Numbers: [85, 39]
Generated Node #0,0,0: 84:[85, 39] Operation: 20+19=39
Exploring Operation: 85+19=104, Resulting Numbers: [20, 104]
Generated Node #0,0,1: 84:[20, 104] Operation: 85+19=104
Exploring Operation: 85-20=65, Resulting Numbers: [19, 65]
Generated Node #0,0,2: 84:[19, 65] Operation: 85-20=65
Exploring Operation: 85-19=66, Resulting Numbers: [20, 66]
Generated Node #0,0,3: 84:[20, 66] Operation: 85-19=66
Exploring Operation: 20-19=1, Resulting Numbers: [85, 1]
Generated Node #0,0,4: 84:[85, 1] Operation: 20-19=1
Moving to Node #0,4
Current State: 84:[29, 85, 30], Operations: ['10+20=30']
Exploring Operation: 85-29=56, Resulting Numbers: [30, 56]
Generated Node #0,4,0: 84:[30, 56] Operation: 85-29=56
Exploring Operation: 30-29=1, Resulting Numbers: [85, 1]
Generated Node #0,4,1: 84:[85, 1] Operation: 30-29=1
Exploring Operation: 29+30=59, Resulting Numbers: [85, 59]
Generated Node #0,4,2: 84:[85, 59] Operation: 29+30=59
Exploring Operation: 85-30=55, Resulting Numbers: [29, 55]
Generated Node #0,4,3: 84:[29, 55] Operation: 85-30=55
Exploring Operation: 29+85=114, Resulting Numbers: [30, 114]
Generated Node #0,4,4: 84:[30, 114] Operation: 29+85=114
Moving to Node #0,2
Current State: 84:[85, 20, 39], Operations: ['29+10=39']
Exploring Operation: 85-20=65, Resulting Numbers: [39, 65]
Generated Node #0,2,0: 84:[39, 65] Operation: 85-20=65
Exploring Operation: 85+20=105, Resulting Numbers: [39, 105]
Generated Node #0,2,1: 84:[39, 105] Operation: 85+20=105
Exploring Operation: 85-39=46, Resulting Numbers: [20, 46]
Generated Node #0,2,2: 84:[20, 46] Operation: 85-39=46
Exploring Operation: 39-20=19, Resulting Numbers: [85, 19]
Generated Node #0,2,3: 84:[85, 19] Operation: 39-20=19
Exploring Operation: 20+39=59, Resulting Numbers: [85, 59]
Generated Node #0,2,4: 84:[85, 59] Operation: 20+39=59
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[85, 19], Operations: ['29+10=39', '39-20=19']
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,84 unequal: No Solution
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[20, 46], Operations: ['29+10=39', '85-39=46']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,84 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[85, 59], Operations: ['29+10=39', '20+39=59']
Exploring Operation: 85*59=5015, Resulting Numbers: [5015]
5015,84 unequal: No Solution
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 85+59=144, Resulting Numbers: [144]
144,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[39, 65], Operations: ['29+10=39', '85-20=65']
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,84 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[39, 105], Operations: ['29+10=39', '85+20=105']
Exploring Operation: 39+105=144, Resulting Numbers: [144]
144,84 unequal: No Solution
Exploring Operation: 105-39=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 39*105=4095, Resulting Numbers: [4095]
4095,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 84:[85, 1], Operations: ['29-10=19', '20-19=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[29, 85, 10, 20], Operations: []
Exploring Operation: 29-10=19, Resulting Numbers: [85, 20, 19]
Generated Node #0,0: 84:[85, 20, 19] Operation: 29-10=19
Moving to Node #0,0
Current State: 84:[85, 20, 19], Operations: ['29-10=19']
Exploring Operation: 20-19=1, Resulting Numbers: [85, 1]
Generated Node #0,0,4: 84:[85, 1] Operation: 20-19=1
Moving to Node #0,0,4
Current State: 84:[85, 1], Operations: ['29-10=19', '20-19=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.927083 | hs_5 | sum_heuristic |
[
31,
49,
44,
61
] | 58 | [
"49+44=93",
"93/31=3",
"61-3=58"
] | Current State: 58:[31, 49, 44, 61], Operations: []
Exploring Operation: 49+44=93, Resulting Numbers: [31, 61, 93]
Generated Node #2: [31, 61, 93] from Operation: 49+44=93
Current State: 58:[31, 61, 93], Operations: ['49+44=93']
Exploring Operation: 93/31=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 93/31=3
Current State: 58:[61, 3], Operations: ['49+44=93', '93/31=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[31, 49, 44, 61], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [31, 61, 5]
Generated Node #0,0: 58:[31, 61, 5] Operation: 49-44=5
Moving to Node #0,0
Current State: 58:[31, 61, 5], Operations: ['49-44=5']
Exploring Operation: 61-31=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 58:[5, 30] Operation: 61-31=30
Moving to Node #0,0,0
Current State: 58:[5, 30], Operations: ['49-44=5', '61-31=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,58 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
43,
24,
53
] | 29 | [
"43+53=96",
"96/24=4",
"33-4=29"
] | Current State: 29:[33, 43, 24, 53], Operations: []
Exploring Operation: 43+53=96, Resulting Numbers: [33, 24, 96]
Generated Node #2: [33, 24, 96] from Operation: 43+53=96
Current State: 29:[33, 24, 96], Operations: ['43+53=96']
Exploring Operation: 96/24=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 96/24=4
Current State: 29:[33, 4], Operations: ['43+53=96', '96/24=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[33, 43, 24, 53], Operations: []
Exploring Operation: 53-24=29, Resulting Numbers: [33, 43, 29]
Generated Node #0,0: 29:[33, 43, 29] Operation: 53-24=29
Exploring Operation: 53-43=10, Resulting Numbers: [33, 24, 10]
Generated Node #0,1: 29:[33, 24, 10] Operation: 53-43=10
Exploring Operation: 53-33=20, Resulting Numbers: [43, 24, 20]
Generated Node #0,2: 29:[43, 24, 20] Operation: 53-33=20
Exploring Operation: 43-24=19, Resulting Numbers: [33, 53, 19]
Generated Node #0,3: 29:[33, 53, 19] Operation: 43-24=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[33, 43, 29], Operations: ['53-24=29']
Exploring Operation: 33-29=4, Resulting Numbers: [43, 4]
Generated Node #0,0,0: 29:[43, 4] Operation: 33-29=4
Exploring Operation: 43-33=10, Resulting Numbers: [29, 10]
Generated Node #0,0,1: 29:[29, 10] Operation: 43-33=10
Exploring Operation: 33+43=76, Resulting Numbers: [29, 76]
Generated Node #0,0,2: 29:[29, 76] Operation: 33+43=76
Exploring Operation: 43-29=14, Resulting Numbers: [33, 14]
Generated Node #0,0,3: 29:[33, 14] Operation: 43-29=14
Moving to Node #0,0,1
Current State: 29:[29, 10], Operations: ['53-24=29', '43-33=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[33, 14], Operations: ['53-24=29', '43-29=14']
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,29 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[43, 4], Operations: ['53-24=29', '33-29=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[29, 76], Operations: ['53-24=29', '33+43=76']
Exploring Operation: 29+76=105, Resulting Numbers: [105]
105,29 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 29*76=2204, Resulting Numbers: [2204]
2204,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[33, 24, 10], Operations: ['53-43=10']
Exploring Operation: 33-10=23, Resulting Numbers: [24, 23]
Generated Node #0,1,0: 29:[24, 23] Operation: 33-10=23
Exploring Operation: 24-10=14, Resulting Numbers: [33, 14]
Generated Node #0,1,1: 29:[33, 14] Operation: 24-10=14
Exploring Operation: 33+10=43, Resulting Numbers: [24, 43]
Generated Node #0,1,2: 29:[24, 43] Operation: 33+10=43
Exploring Operation: 24+10=34, Resulting Numbers: [33, 34]
Generated Node #0,1,3: 29:[33, 34] Operation: 24+10=34
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[33, 34], Operations: ['53-43=10', '24+10=34']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,29 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[24, 23], Operations: ['53-43=10', '33-10=23']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,29 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[33, 14], Operations: ['53-43=10', '24-10=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[24, 43], Operations: ['53-43=10', '33+10=43']
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,29 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[43, 24, 20], Operations: ['53-33=20']
Exploring Operation: 43+20=63, Resulting Numbers: [24, 63]
Generated Node #0,2,0: 29:[24, 63] Operation: 43+20=63
Exploring Operation: 24+20=44, Resulting Numbers: [43, 44]
Generated Node #0,2,1: 29:[43, 44] Operation: 24+20=44
Exploring Operation: 43-24=19, Resulting Numbers: [20, 19]
Generated Node #0,2,2: 29:[20, 19] Operation: 43-24=19
Exploring Operation: 43-20=23, Resulting Numbers: [24, 23]
Generated Node #0,2,3: 29:[24, 23] Operation: 43-20=23
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[24, 23], Operations: ['53-33=20', '43-20=23']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,29 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[20, 19], Operations: ['53-33=20', '43-24=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[43, 44], Operations: ['53-33=20', '24+20=44']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,29 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[24, 63], Operations: ['53-33=20', '43+20=63']
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,29 unequal: No Solution
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,29 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[33, 53, 19], Operations: ['43-24=19']
Exploring Operation: 53-33=20, Resulting Numbers: [19, 20]
Generated Node #0,3,0: 29:[19, 20] Operation: 53-33=20
Exploring Operation: 53-19=34, Resulting Numbers: [33, 34]
Generated Node #0,3,1: 29:[33, 34] Operation: 53-19=34
Exploring Operation: 33+19=52, Resulting Numbers: [53, 52]
Generated Node #0,3,2: 29:[53, 52] Operation: 33+19=52
Exploring Operation: 33-19=14, Resulting Numbers: [53, 14]
Generated Node #0,3,3: 29:[53, 14] Operation: 33-19=14
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[33, 34], Operations: ['43-24=19', '53-19=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,29 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[19, 20], Operations: ['43-24=19', '53-33=20']
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,29 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[53, 14], Operations: ['43-24=19', '33-19=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[53, 52], Operations: ['43-24=19', '33+19=52']
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 53+52=105, Resulting Numbers: [105]
105,29 unequal: No Solution
Exploring Operation: 53*52=2756, Resulting Numbers: [2756]
2756,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
81,
35,
3,
94
] | 74 | [
"94-81=13",
"3*13=39",
"35+39=74"
] | Current State: 74:[81, 35, 3, 94], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [35, 3, 13]
Generated Node #2: [35, 3, 13] from Operation: 94-81=13
Current State: 74:[35, 3, 13], Operations: ['94-81=13']
Exploring Operation: 3*13=39, Resulting Numbers: [35, 39]
Generated Node #3: [35, 39] from Operation: 3*13=39
Current State: 74:[35, 39], Operations: ['94-81=13', '3*13=39']
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[81, 35, 3, 94], Operations: []
Exploring Operation: 35+3=38, Resulting Numbers: [81, 94, 38]
Generated Node #0,0: 74:[81, 94, 38] Operation: 35+3=38
Exploring Operation: 81-3=78, Resulting Numbers: [35, 94, 78]
Generated Node #0,1: 74:[35, 94, 78] Operation: 81-3=78
Exploring Operation: 94-81=13, Resulting Numbers: [35, 3, 13]
Generated Node #0,2: 74:[35, 3, 13] Operation: 94-81=13
Exploring Operation: 94-3=91, Resulting Numbers: [81, 35, 91]
Generated Node #0,3: 74:[81, 35, 91] Operation: 94-3=91
Exploring Operation: 94-35=59, Resulting Numbers: [81, 3, 59]
Generated Node #0,4: 74:[81, 3, 59] Operation: 94-35=59
Moving to Node #0,2
Current State: 74:[35, 3, 13], Operations: ['94-81=13']
Exploring Operation: 13-3=10, Resulting Numbers: [35, 10]
Generated Node #0,2,0: 74:[35, 10] Operation: 13-3=10
Exploring Operation: 35+3=38, Resulting Numbers: [13, 38]
Generated Node #0,2,1: 74:[13, 38] Operation: 35+3=38
Exploring Operation: 35+13=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 74:[3, 48] Operation: 35+13=48
Exploring Operation: 3*13=39, Resulting Numbers: [35, 39]
Generated Node #0,2,3: 74:[35, 39] Operation: 3*13=39
Exploring Operation: 35-3=32, Resulting Numbers: [13, 32]
Generated Node #0,2,4: 74:[13, 32] Operation: 35-3=32
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[35, 39], Operations: ['94-81=13', '3*13=39']
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,74 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[81, 35, 3, 94], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [35, 3, 13]
Generated Node #0,2: 74:[35, 3, 13] Operation: 94-81=13
Moving to Node #0,2
Current State: 74:[35, 3, 13], Operations: ['94-81=13']
Exploring Operation: 3*13=39, Resulting Numbers: [35, 39]
Generated Node #0,2,3: 74:[35, 39] Operation: 3*13=39
Moving to Node #0,2,3
Current State: 74:[35, 39], Operations: ['94-81=13', '3*13=39']
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
53,
3,
2,
54
] | 56 | [
"53*2=106",
"3*54=162",
"162-106=56"
] | Current State: 56:[53, 3, 2, 54], Operations: []
Exploring Operation: 53*2=106, Resulting Numbers: [3, 54, 106]
Generated Node #2: [3, 54, 106] from Operation: 53*2=106
Current State: 56:[3, 54, 106], Operations: ['53*2=106']
Exploring Operation: 3*54=162, Resulting Numbers: [106, 162]
Generated Node #3: [106, 162] from Operation: 3*54=162
Current State: 56:[106, 162], Operations: ['53*2=106', '3*54=162']
Exploring Operation: 162-106=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[53, 3, 2, 54], Operations: []
Exploring Operation: 53+3=56, Resulting Numbers: [2, 54, 56]
Generated Node #0,0: 56:[2, 54, 56] Operation: 53+3=56
Exploring Operation: 53+2=55, Resulting Numbers: [3, 54, 55]
Generated Node #0,1: 56:[3, 54, 55] Operation: 53+2=55
Exploring Operation: 3+54=57, Resulting Numbers: [53, 2, 57]
Generated Node #0,2: 56:[53, 2, 57] Operation: 3+54=57
Exploring Operation: 54-53=1, Resulting Numbers: [3, 2, 1]
Generated Node #0,3: 56:[3, 2, 1] Operation: 54-53=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[2, 54, 56], Operations: ['53+3=56']
Exploring Operation: 56/2=28, Resulting Numbers: [54, 28]
Generated Node #0,0,0: 56:[54, 28] Operation: 56/2=28
Exploring Operation: 54/2=27, Resulting Numbers: [56, 27]
Generated Node #0,0,1: 56:[56, 27] Operation: 54/2=27
Exploring Operation: 56-54=2, Resulting Numbers: [2, 2]
Generated Node #0,0,2: 56:[2, 2] Operation: 56-54=2
Exploring Operation: 2+54=56, Resulting Numbers: [56, 56]
Generated Node #0,0,3: 56:[56, 56] Operation: 2+54=56
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[2, 2], Operations: ['53+3=56', '56-54=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[56, 56], Operations: ['53+3=56', '2+54=56']
Exploring Operation: 56+56=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 56/56=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 56*56=3136, Resulting Numbers: [3136]
3136,56 unequal: No Solution
Exploring Operation: 56-56=0, Resulting Numbers: [0]
0,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[56, 27], Operations: ['53+3=56', '54/2=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,56 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[54, 28], Operations: ['53+3=56', '56/2=28']
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,56 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,56 unequal: No Solution
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[3, 2, 1], Operations: ['54-53=1']
Exploring Operation: 3/1=3, Resulting Numbers: [2, 3]
Generated Node #0,3,0: 56:[2, 3] Operation: 3/1=3
Exploring Operation: 3*1=3, Resulting Numbers: [2, 3]
Generated Node #0,3,1: 56:[2, 3] Operation: 3*1=3
Exploring Operation: 3-1=2, Resulting Numbers: [2, 2]
Generated Node #0,3,2: 56:[2, 2] Operation: 3-1=2
Exploring Operation: 3+1=4, Resulting Numbers: [2, 4]
Generated Node #0,3,3: 56:[2, 4] Operation: 3+1=4
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 56:[2, 2], Operations: ['54-53=1', '3-1=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 56:[2, 4], Operations: ['54-53=1', '3+1=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 56:[2, 3], Operations: ['54-53=1', '3/1=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 56:[2, 3], Operations: ['54-53=1', '3*1=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[3, 54, 55], Operations: ['53+2=55']
Exploring Operation: 3+54=57, Resulting Numbers: [55, 57]
Generated Node #0,1,0: 56:[55, 57] Operation: 3+54=57
Exploring Operation: 3+55=58, Resulting Numbers: [54, 58]
Generated Node #0,1,1: 56:[54, 58] Operation: 3+55=58
Exploring Operation: 54/3=18, Resulting Numbers: [55, 18]
Generated Node #0,1,2: 56:[55, 18] Operation: 54/3=18
Exploring Operation: 55-54=1, Resulting Numbers: [3, 1]
Generated Node #0,1,3: 56:[3, 1] Operation: 55-54=1
Moving to Node #0,1,0
Current State: 56:[55, 57], Operations: ['53+2=55', '3+54=57']
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,56 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[3, 1], Operations: ['53+2=55', '55-54=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[54, 58], Operations: ['53+2=55', '3+55=58']
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 54*58=3132, Resulting Numbers: [3132]
3132,56 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[55, 18], Operations: ['53+2=55', '54/3=18']
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[53, 2, 57], Operations: ['3+54=57']
Exploring Operation: 53-2=51, Resulting Numbers: [57, 51]
Generated Node #0,2,0: 56:[57, 51] Operation: 53-2=51
Exploring Operation: 57-2=55, Resulting Numbers: [53, 55]
Generated Node #0,2,1: 56:[53, 55] Operation: 57-2=55
Exploring Operation: 53+2=55, Resulting Numbers: [57, 55]
Generated Node #0,2,2: 56:[57, 55] Operation: 53+2=55
Exploring Operation: 57-53=4, Resulting Numbers: [2, 4]
Generated Node #0,2,3: 56:[2, 4] Operation: 57-53=4
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 56:[2, 4], Operations: ['3+54=57', '57-53=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[57, 55], Operations: ['3+54=57', '53+2=55']
Exploring Operation: 57+55=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 57*55=3135, Resulting Numbers: [3135]
3135,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[53, 55], Operations: ['3+54=57', '57-2=55']
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,56 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[57, 51], Operations: ['3+54=57', '53-2=51']
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,56 unequal: No Solution
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
77,
60,
5,
15
] | 76 | [
"77-5=72",
"60/15=4",
"72+4=76"
] | Current State: 76:[77, 60, 5, 15], Operations: []
Exploring Operation: 77-5=72, Resulting Numbers: [60, 15, 72]
Generated Node #2: [60, 15, 72] from Operation: 77-5=72
Current State: 76:[60, 15, 72], Operations: ['77-5=72']
Exploring Operation: 60/15=4, Resulting Numbers: [72, 4]
Generated Node #3: [72, 4] from Operation: 60/15=4
Current State: 76:[72, 4], Operations: ['77-5=72', '60/15=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[77, 60, 5, 15], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [77, 5, 4]
Generated Node #0,0: 76:[77, 5, 4] Operation: 60/15=4
Exploring Operation: 77-60=17, Resulting Numbers: [5, 15, 17]
Generated Node #0,1: 76:[5, 15, 17] Operation: 77-60=17
Exploring Operation: 60+15=75, Resulting Numbers: [77, 5, 75]
Generated Node #0,2: 76:[77, 5, 75] Operation: 60+15=75
Moving to Node #0,0
Current State: 76:[77, 5, 4], Operations: ['60/15=4']
Exploring Operation: 77-5=72, Resulting Numbers: [4, 72]
Generated Node #0,0,0: 76:[4, 72] Operation: 77-5=72
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20]
Generated Node #0,0,1: 76:[77, 20] Operation: 5*4=20
Exploring Operation: 5-4=1, Resulting Numbers: [77, 1]
Generated Node #0,0,2: 76:[77, 1] Operation: 5-4=1
Moving to Node #0,2
Current State: 76:[77, 5, 75], Operations: ['60+15=75']
Exploring Operation: 77-5=72, Resulting Numbers: [75, 72]
Generated Node #0,2,0: 76:[75, 72] Operation: 77-5=72
Exploring Operation: 77-75=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 76:[5, 2] Operation: 77-75=2
Exploring Operation: 5+75=80, Resulting Numbers: [77, 80]
Generated Node #0,2,2: 76:[77, 80] Operation: 5+75=80
Moving to Node #0,1
Current State: 76:[5, 15, 17], Operations: ['77-60=17']
Exploring Operation: 5*15=75, Resulting Numbers: [17, 75]
Generated Node #0,1,0: 76:[17, 75] Operation: 5*15=75
Exploring Operation: 17-15=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 76:[5, 2] Operation: 17-15=2
Exploring Operation: 5+15=20, Resulting Numbers: [17, 20]
Generated Node #0,1,2: 76:[17, 20] Operation: 5+15=20
Moving to Node #0,2,1
Current State: 76:[5, 2], Operations: ['60+15=75', '77-75=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[5, 2], Operations: ['77-60=17', '17-15=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[77, 20], Operations: ['60/15=4', '5*4=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,76 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[77, 1], Operations: ['60/15=4', '5-4=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[77, 60, 5, 15], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [77, 5, 4]
Generated Node #0,0: 76:[77, 5, 4] Operation: 60/15=4
Moving to Node #0,0
Current State: 76:[77, 5, 4], Operations: ['60/15=4']
Exploring Operation: 5-4=1, Resulting Numbers: [77, 1]
Generated Node #0,0,2: 76:[77, 1] Operation: 5-4=1
Moving to Node #0,0,2
Current State: 76:[77, 1], Operations: ['60/15=4', '5-4=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
18,
74,
38,
42
] | 14 | [
"74-18=56",
"42-38=4",
"56/4=14"
] | Current State: 14:[18, 74, 38, 42], Operations: []
Exploring Operation: 74-18=56, Resulting Numbers: [38, 42, 56]
Generated Node #2: [38, 42, 56] from Operation: 74-18=56
Current State: 14:[38, 42, 56], Operations: ['74-18=56']
Exploring Operation: 42-38=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 42-38=4
Current State: 14:[56, 4], Operations: ['74-18=56', '42-38=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[18, 74, 38, 42], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [18, 42, 36]
Generated Node #0,0: 14:[18, 42, 36] Operation: 74-38=36
Exploring Operation: 74-42=32, Resulting Numbers: [18, 38, 32]
Generated Node #0,1: 14:[18, 38, 32] Operation: 74-42=32
Exploring Operation: 42-38=4, Resulting Numbers: [18, 74, 4]
Generated Node #0,2: 14:[18, 74, 4] Operation: 42-38=4
Exploring Operation: 38-18=20, Resulting Numbers: [74, 42, 20]
Generated Node #0,3: 14:[74, 42, 20] Operation: 38-18=20
Exploring Operation: 74-18=56, Resulting Numbers: [38, 42, 56]
Generated Node #0,4: 14:[38, 42, 56] Operation: 74-18=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[18, 38, 32], Operations: ['74-42=32']
Exploring Operation: 32-18=14, Resulting Numbers: [38, 14]
Generated Node #0,1,0: 14:[38, 14] Operation: 32-18=14
Exploring Operation: 18+38=56, Resulting Numbers: [32, 56]
Generated Node #0,1,1: 14:[32, 56] Operation: 18+38=56
Exploring Operation: 38-18=20, Resulting Numbers: [32, 20]
Generated Node #0,1,2: 14:[32, 20] Operation: 38-18=20
Exploring Operation: 38-32=6, Resulting Numbers: [18, 6]
Generated Node #0,1,3: 14:[18, 6] Operation: 38-32=6
Exploring Operation: 18+32=50, Resulting Numbers: [38, 50]
Generated Node #0,1,4: 14:[38, 50] Operation: 18+32=50
Moving to Node #0,1,3
Current State: 14:[18, 6], Operations: ['74-42=32', '38-32=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,14 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[32, 20], Operations: ['74-42=32', '38-18=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,14 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[38, 14], Operations: ['74-42=32', '32-18=14']
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,14 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[32, 56], Operations: ['74-42=32', '18+38=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,14 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,14 unequal: No Solution
Moving to Node #0,1,4
Current State: 14:[38, 50], Operations: ['74-42=32', '18+32=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,14 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[18, 42, 36], Operations: ['74-38=36']
Exploring Operation: 18+42=60, Resulting Numbers: [36, 60]
Generated Node #0,0,0: 14:[36, 60] Operation: 18+42=60
Exploring Operation: 42-36=6, Resulting Numbers: [18, 6]
Generated Node #0,0,1: 14:[18, 6] Operation: 42-36=6
Exploring Operation: 36/18=2, Resulting Numbers: [42, 2]
Generated Node #0,0,2: 14:[42, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [42, 18]
Generated Node #0,0,3: 14:[42, 18] Operation: 36-18=18
Exploring Operation: 42-18=24, Resulting Numbers: [36, 24]
Generated Node #0,0,4: 14:[36, 24] Operation: 42-18=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[18, 6], Operations: ['74-38=36', '42-36=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,14 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[42, 2], Operations: ['74-38=36', '36/18=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[42, 18], Operations: ['74-38=36', '36-18=18']
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,14 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 14:[36, 24], Operations: ['74-38=36', '42-18=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[36, 60], Operations: ['74-38=36', '18+42=60']
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,14 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[18, 74, 4], Operations: ['42-38=4']
Exploring Operation: 74+4=78, Resulting Numbers: [18, 78]
Generated Node #0,2,0: 14:[18, 78] Operation: 74+4=78
Exploring Operation: 18+4=22, Resulting Numbers: [74, 22]
Generated Node #0,2,1: 14:[74, 22] Operation: 18+4=22
Exploring Operation: 74-4=70, Resulting Numbers: [18, 70]
Generated Node #0,2,2: 14:[18, 70] Operation: 74-4=70
Exploring Operation: 18-4=14, Resulting Numbers: [74, 14]
Generated Node #0,2,3: 14:[74, 14] Operation: 18-4=14
Exploring Operation: 74-18=56, Resulting Numbers: [4, 56]
Generated Node #0,2,4: 14:[4, 56] Operation: 74-18=56
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 14:[4, 56], Operations: ['42-38=4', '74-18=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[18, 74, 38, 42], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [18, 74, 4]
Generated Node #0,2: 14:[18, 74, 4] Operation: 42-38=4
Moving to Node #0,2
Current State: 14:[18, 74, 4], Operations: ['42-38=4']
Exploring Operation: 74-18=56, Resulting Numbers: [4, 56]
Generated Node #0,2,4: 14:[4, 56] Operation: 74-18=56
Moving to Node #0,2,4
Current State: 14:[4, 56], Operations: ['42-38=4', '74-18=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
75,
76,
98,
18
] | 13 | [
"75*18=1350",
"1350-76=1274",
"1274/98=13"
] | Current State: 13:[75, 76, 98, 18], Operations: []
Exploring Operation: 75*18=1350, Resulting Numbers: [76, 98, 1350]
Generated Node #2: [76, 98, 1350] from Operation: 75*18=1350
Current State: 13:[76, 98, 1350], Operations: ['75*18=1350']
Exploring Operation: 1350-76=1274, Resulting Numbers: [98, 1274]
Generated Node #3: [98, 1274] from Operation: 1350-76=1274
Current State: 13:[98, 1274], Operations: ['75*18=1350', '1350-76=1274']
Exploring Operation: 1274/98=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[75, 76, 98, 18], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [76, 98, 57]
Generated Node #0,0: 13:[76, 98, 57] Operation: 75-18=57
Exploring Operation: 76-75=1, Resulting Numbers: [98, 18, 1]
Generated Node #0,1: 13:[98, 18, 1] Operation: 76-75=1
Exploring Operation: 98-76=22, Resulting Numbers: [75, 18, 22]
Generated Node #0,2: 13:[75, 18, 22] Operation: 98-76=22
Exploring Operation: 98-75=23, Resulting Numbers: [76, 18, 23]
Generated Node #0,3: 13:[76, 18, 23] Operation: 98-75=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[75, 18, 22], Operations: ['98-76=22']
Exploring Operation: 75-18=57, Resulting Numbers: [22, 57]
Generated Node #0,2,0: 13:[22, 57] Operation: 75-18=57
Exploring Operation: 75-22=53, Resulting Numbers: [18, 53]
Generated Node #0,2,1: 13:[18, 53] Operation: 75-22=53
Exploring Operation: 75+18=93, Resulting Numbers: [22, 93]
Generated Node #0,2,2: 13:[22, 93] Operation: 75+18=93
Exploring Operation: 22-18=4, Resulting Numbers: [75, 4]
Generated Node #0,2,3: 13:[75, 4] Operation: 22-18=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[18, 53], Operations: ['98-76=22', '75-22=53']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,13 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[22, 57], Operations: ['98-76=22', '75-18=57']
Exploring Operation: 22*57=1254, Resulting Numbers: [1254]
1254,13 unequal: No Solution
Exploring Operation: 22+57=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[75, 4], Operations: ['98-76=22', '22-18=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,13 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[22, 93], Operations: ['98-76=22', '75+18=93']
Exploring Operation: 22+93=115, Resulting Numbers: [115]
115,13 unequal: No Solution
Exploring Operation: 22*93=2046, Resulting Numbers: [2046]
2046,13 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[76, 18, 23], Operations: ['98-75=23']
Exploring Operation: 23-18=5, Resulting Numbers: [76, 5]
Generated Node #0,3,0: 13:[76, 5] Operation: 23-18=5
Exploring Operation: 76-23=53, Resulting Numbers: [18, 53]
Generated Node #0,3,1: 13:[18, 53] Operation: 76-23=53
Exploring Operation: 76-18=58, Resulting Numbers: [23, 58]
Generated Node #0,3,2: 13:[23, 58] Operation: 76-18=58
Exploring Operation: 76+18=94, Resulting Numbers: [23, 94]
Generated Node #0,3,3: 13:[23, 94] Operation: 76+18=94
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[18, 53], Operations: ['98-75=23', '76-23=53']
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,13 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[23, 58], Operations: ['98-75=23', '76-18=58']
Exploring Operation: 23*58=1334, Resulting Numbers: [1334]
1334,13 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[76, 5], Operations: ['98-75=23', '23-18=5']
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,13 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[23, 94], Operations: ['98-75=23', '76+18=94']
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 23+94=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 23*94=2162, Resulting Numbers: [2162]
2162,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[98, 18, 1], Operations: ['76-75=1']
Exploring Operation: 98*1=98, Resulting Numbers: [18, 98]
Generated Node #0,1,0: 13:[18, 98] Operation: 98*1=98
Exploring Operation: 98-1=97, Resulting Numbers: [18, 97]
Generated Node #0,1,1: 13:[18, 97] Operation: 98-1=97
Exploring Operation: 18-1=17, Resulting Numbers: [98, 17]
Generated Node #0,1,2: 13:[98, 17] Operation: 18-1=17
Exploring Operation: 98-18=80, Resulting Numbers: [1, 80]
Generated Node #0,1,3: 13:[1, 80] Operation: 98-18=80
Moving to Node #0,1,3
Current State: 13:[1, 80], Operations: ['76-75=1', '98-18=80']
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[98, 17], Operations: ['76-75=1', '18-1=17']
Exploring Operation: 98*17=1666, Resulting Numbers: [1666]
1666,13 unequal: No Solution
Exploring Operation: 98+17=115, Resulting Numbers: [115]
115,13 unequal: No Solution
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[18, 97], Operations: ['76-75=1', '98-1=97']
Exploring Operation: 18*97=1746, Resulting Numbers: [1746]
1746,13 unequal: No Solution
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 18+97=115, Resulting Numbers: [115]
115,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[18, 98], Operations: ['76-75=1', '98*1=98']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 18+98=116, Resulting Numbers: [116]
116,13 unequal: No Solution
Exploring Operation: 18*98=1764, Resulting Numbers: [1764]
1764,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[76, 98, 57], Operations: ['75-18=57']
Exploring Operation: 98-57=41, Resulting Numbers: [76, 41]
Generated Node #0,0,0: 13:[76, 41] Operation: 98-57=41
Exploring Operation: 76-57=19, Resulting Numbers: [98, 19]
Generated Node #0,0,1: 13:[98, 19] Operation: 76-57=19
Exploring Operation: 98-76=22, Resulting Numbers: [57, 22]
Generated Node #0,0,2: 13:[57, 22] Operation: 98-76=22
Exploring Operation: 76+98=174, Resulting Numbers: [57, 174]
Generated Node #0,0,3: 13:[57, 174] Operation: 76+98=174
Moving to Node #0,0,2
Current State: 13:[57, 22], Operations: ['75-18=57', '98-76=22']
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[98, 19], Operations: ['75-18=57', '76-57=19']
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,13 unequal: No Solution
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[76, 41], Operations: ['75-18=57', '98-57=41']
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[57, 174], Operations: ['75-18=57', '76+98=174']
Exploring Operation: 174-57=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 57+174=231, Resulting Numbers: [231]
231,13 unequal: No Solution
Exploring Operation: 57*174=9918, Resulting Numbers: [9918]
9918,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
60,
3,
79
] | 71 | [
"60-10=50",
"3*50=150",
"150-79=71"
] | Current State: 71:[10, 60, 3, 79], Operations: []
Exploring Operation: 60-10=50, Resulting Numbers: [3, 79, 50]
Generated Node #2: [3, 79, 50] from Operation: 60-10=50
Current State: 71:[3, 79, 50], Operations: ['60-10=50']
Exploring Operation: 3*50=150, Resulting Numbers: [79, 150]
Generated Node #3: [79, 150] from Operation: 3*50=150
Current State: 71:[79, 150], Operations: ['60-10=50', '3*50=150']
Exploring Operation: 150-79=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[10, 60, 3, 79], Operations: []
Exploring Operation: 10*3=30, Resulting Numbers: [60, 79, 30]
Generated Node #0,0: 71:[60, 79, 30] Operation: 10*3=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[60, 79, 30], Operations: ['10*3=30']
Exploring Operation: 60+30=90, Resulting Numbers: [79, 90]
Generated Node #0,0,0: 71:[79, 90] Operation: 60+30=90
Moving to Node #0,0,0
Current State: 71:[79, 90], Operations: ['10*3=30', '60+30=90']
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
5,
28,
33
] | 95 | [
"5+33=38",
"70*38=2660",
"2660/28=95"
] | Current State: 95:[70, 5, 28, 33], Operations: []
Exploring Operation: 5+33=38, Resulting Numbers: [70, 28, 38]
Generated Node #2: [70, 28, 38] from Operation: 5+33=38
Current State: 95:[70, 28, 38], Operations: ['5+33=38']
Exploring Operation: 70*38=2660, Resulting Numbers: [28, 2660]
Generated Node #3: [28, 2660] from Operation: 70*38=2660
Current State: 95:[28, 2660], Operations: ['5+33=38', '70*38=2660']
Exploring Operation: 2660/28=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[70, 5, 28, 33], Operations: []
Exploring Operation: 70+28=98, Resulting Numbers: [5, 33, 98]
Generated Node #0,0: 95:[5, 33, 98] Operation: 70+28=98
Moving to Node #0,0
Current State: 95:[5, 33, 98], Operations: ['70+28=98']
Exploring Operation: 33-5=28, Resulting Numbers: [98, 28]
Generated Node #0,0,0: 95:[98, 28] Operation: 33-5=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[98, 28], Operations: ['70+28=98', '33-5=28']
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
18,
34,
4
] | 76 | [
"96+18=114",
"34+4=38",
"114-38=76"
] | Current State: 76:[96, 18, 34, 4], Operations: []
Exploring Operation: 96+18=114, Resulting Numbers: [34, 4, 114]
Generated Node #2: [34, 4, 114] from Operation: 96+18=114
Current State: 76:[34, 4, 114], Operations: ['96+18=114']
Exploring Operation: 34+4=38, Resulting Numbers: [114, 38]
Generated Node #3: [114, 38] from Operation: 34+4=38
Current State: 76:[114, 38], Operations: ['96+18=114', '34+4=38']
Exploring Operation: 114-38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[96, 18, 34, 4], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [18, 34, 24]
Generated Node #0,0: 76:[18, 34, 24] Operation: 96/4=24
Exploring Operation: 96-18=78, Resulting Numbers: [34, 4, 78]
Generated Node #0,1: 76:[34, 4, 78] Operation: 96-18=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[34, 4, 78], Operations: ['96-18=78']
Exploring Operation: 78-34=44, Resulting Numbers: [4, 44]
Generated Node #0,1,0: 76:[4, 44] Operation: 78-34=44
Exploring Operation: 34+4=38, Resulting Numbers: [78, 38]
Generated Node #0,1,1: 76:[78, 38] Operation: 34+4=38
Moving to Node #0,1,1
Current State: 76:[78, 38], Operations: ['96-18=78', '34+4=38']
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[4, 44], Operations: ['96-18=78', '78-34=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[18, 34, 24], Operations: ['96/4=24']
Exploring Operation: 34-24=10, Resulting Numbers: [18, 10]
Generated Node #0,0,0: 76:[18, 10] Operation: 34-24=10
Exploring Operation: 24-18=6, Resulting Numbers: [34, 6]
Generated Node #0,0,1: 76:[34, 6] Operation: 24-18=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[34, 6], Operations: ['96/4=24', '24-18=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[18, 10], Operations: ['96/4=24', '34-24=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
41,
78,
31,
8
] | 80 | [
"41+78=119",
"31+8=39",
"119-39=80"
] | Current State: 80:[41, 78, 31, 8], Operations: []
Exploring Operation: 41+78=119, Resulting Numbers: [31, 8, 119]
Generated Node #2: [31, 8, 119] from Operation: 41+78=119
Current State: 80:[31, 8, 119], Operations: ['41+78=119']
Exploring Operation: 31+8=39, Resulting Numbers: [119, 39]
Generated Node #3: [119, 39] from Operation: 31+8=39
Current State: 80:[119, 39], Operations: ['41+78=119', '31+8=39']
Exploring Operation: 119-39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[41, 78, 31, 8], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [41, 8, 47]
Generated Node #0,0: 80:[41, 8, 47] Operation: 78-31=47
Exploring Operation: 41-31=10, Resulting Numbers: [78, 8, 10]
Generated Node #0,1: 80:[78, 8, 10] Operation: 41-31=10
Exploring Operation: 31-8=23, Resulting Numbers: [41, 78, 23]
Generated Node #0,2: 80:[41, 78, 23] Operation: 31-8=23
Exploring Operation: 31+8=39, Resulting Numbers: [41, 78, 39]
Generated Node #0,3: 80:[41, 78, 39] Operation: 31+8=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[78, 8, 10], Operations: ['41-31=10']
Exploring Operation: 8*10=80, Resulting Numbers: [78, 80]
Generated Node #0,1,0: 80:[78, 80] Operation: 8*10=80
Exploring Operation: 8+10=18, Resulting Numbers: [78, 18]
Generated Node #0,1,1: 80:[78, 18] Operation: 8+10=18
Exploring Operation: 10-8=2, Resulting Numbers: [78, 2]
Generated Node #0,1,2: 80:[78, 2] Operation: 10-8=2
Exploring Operation: 78+8=86, Resulting Numbers: [10, 86]
Generated Node #0,1,3: 80:[10, 86] Operation: 78+8=86
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[78, 80], Operations: ['41-31=10', '8*10=80']
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,80 unequal: No Solution
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[78, 2], Operations: ['41-31=10', '10-8=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,80 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[41, 78, 31, 8], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [78, 8, 10]
Generated Node #0,1: 80:[78, 8, 10] Operation: 41-31=10
Moving to Node #0,1
Current State: 80:[78, 8, 10], Operations: ['41-31=10']
Exploring Operation: 10-8=2, Resulting Numbers: [78, 2]
Generated Node #0,1,2: 80:[78, 2] Operation: 10-8=2
Moving to Node #0,1,2
Current State: 80:[78, 2], Operations: ['41-31=10', '10-8=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
8,
9,
34,
6
] | 39 | [
"9-8=1",
"34+6=40",
"40-1=39"
] | Current State: 39:[8, 9, 34, 6], Operations: []
Exploring Operation: 9-8=1, Resulting Numbers: [34, 6, 1]
Generated Node #2: [34, 6, 1] from Operation: 9-8=1
Current State: 39:[34, 6, 1], Operations: ['9-8=1']
Exploring Operation: 34+6=40, Resulting Numbers: [1, 40]
Generated Node #3: [1, 40] from Operation: 34+6=40
Current State: 39:[1, 40], Operations: ['9-8=1', '34+6=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[8, 9, 34, 6], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [8, 34, 3]
Generated Node #0,0: 39:[8, 34, 3] Operation: 9-6=3
Exploring Operation: 8+6=14, Resulting Numbers: [9, 34, 14]
Generated Node #0,1: 39:[9, 34, 14] Operation: 8+6=14
Exploring Operation: 8+34=42, Resulting Numbers: [9, 6, 42]
Generated Node #0,2: 39:[9, 6, 42] Operation: 8+34=42
Exploring Operation: 9-8=1, Resulting Numbers: [34, 6, 1]
Generated Node #0,3: 39:[34, 6, 1] Operation: 9-8=1
Exploring Operation: 8-6=2, Resulting Numbers: [9, 34, 2]
Generated Node #0,4: 39:[9, 34, 2] Operation: 8-6=2
Moving to Node #0,0
Current State: 39:[8, 34, 3], Operations: ['9-6=3']
Exploring Operation: 8+34=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 39:[3, 42] Operation: 8+34=42
Exploring Operation: 34+3=37, Resulting Numbers: [8, 37]
Generated Node #0,0,1: 39:[8, 37] Operation: 34+3=37
Exploring Operation: 8+3=11, Resulting Numbers: [34, 11]
Generated Node #0,0,2: 39:[34, 11] Operation: 8+3=11
Exploring Operation: 8-3=5, Resulting Numbers: [34, 5]
Generated Node #0,0,3: 39:[34, 5] Operation: 8-3=5
Exploring Operation: 34-8=26, Resulting Numbers: [3, 26]
Generated Node #0,0,4: 39:[3, 26] Operation: 34-8=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[3, 42], Operations: ['9-6=3', '8+34=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[8, 9, 34, 6], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [8, 34, 3]
Generated Node #0,0: 39:[8, 34, 3] Operation: 9-6=3
Moving to Node #0,0
Current State: 39:[8, 34, 3], Operations: ['9-6=3']
Exploring Operation: 8+34=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 39:[3, 42] Operation: 8+34=42
Moving to Node #0,0,0
Current State: 39:[3, 42], Operations: ['9-6=3', '8+34=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
64,
55,
47,
76
] | 68 | [
"55-47=8",
"64/8=8",
"76-8=68"
] | Current State: 68:[64, 55, 47, 76], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [64, 76, 8]
Generated Node #2: [64, 76, 8] from Operation: 55-47=8
Current State: 68:[64, 76, 8], Operations: ['55-47=8']
Exploring Operation: 64/8=8, Resulting Numbers: [76, 8]
Generated Node #3: [76, 8] from Operation: 64/8=8
Current State: 68:[76, 8], Operations: ['55-47=8', '64/8=8']
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[64, 55, 47, 76], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [64, 76, 8]
Generated Node #0,0: 68:[64, 76, 8] Operation: 55-47=8
Exploring Operation: 64-47=17, Resulting Numbers: [55, 76, 17]
Generated Node #0,1: 68:[55, 76, 17] Operation: 64-47=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[64, 76, 8], Operations: ['55-47=8']
Exploring Operation: 76-8=68, Resulting Numbers: [64, 68]
Generated Node #0,0,0: 68:[64, 68] Operation: 76-8=68
Exploring Operation: 76-64=12, Resulting Numbers: [8, 12]
Generated Node #0,0,1: 68:[8, 12] Operation: 76-64=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[64, 68], Operations: ['55-47=8', '76-8=68']
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[8, 12], Operations: ['55-47=8', '76-64=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[55, 76, 17], Operations: ['64-47=17']
Exploring Operation: 55+17=72, Resulting Numbers: [76, 72]
Generated Node #0,1,0: 68:[76, 72] Operation: 55+17=72
Exploring Operation: 76-55=21, Resulting Numbers: [17, 21]
Generated Node #0,1,1: 68:[17, 21] Operation: 76-55=21
Moving to Node #0,1,1
Current State: 68:[17, 21], Operations: ['64-47=17', '76-55=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[76, 72], Operations: ['64-47=17', '55+17=72']
Exploring Operation: 76+72=148, Resulting Numbers: [148]
148,68 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
12,
13,
54
] | 48 | [
"19-12=7",
"54-13=41",
"7+41=48"
] | Current State: 48:[19, 12, 13, 54], Operations: []
Exploring Operation: 19-12=7, Resulting Numbers: [13, 54, 7]
Generated Node #2: [13, 54, 7] from Operation: 19-12=7
Current State: 48:[13, 54, 7], Operations: ['19-12=7']
Exploring Operation: 54-13=41, Resulting Numbers: [7, 41]
Generated Node #3: [7, 41] from Operation: 54-13=41
Current State: 48:[7, 41], Operations: ['19-12=7', '54-13=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[19, 12, 13, 54], Operations: []
Exploring Operation: 19-13=6, Resulting Numbers: [12, 54, 6]
Generated Node #0,0: 48:[12, 54, 6] Operation: 19-13=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[12, 54, 6], Operations: ['19-13=6']
Exploring Operation: 54-6=48, Resulting Numbers: [12, 48]
Generated Node #0,0,0: 48:[12, 48] Operation: 54-6=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[12, 48], Operations: ['19-13=6', '54-6=48']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
55,
4,
3
] | 56 | [
"55-38=17",
"17-3=14",
"4*14=56"
] | Current State: 56:[38, 55, 4, 3], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [4, 3, 17]
Generated Node #2: [4, 3, 17] from Operation: 55-38=17
Current State: 56:[4, 3, 17], Operations: ['55-38=17']
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 17-3=14
Current State: 56:[4, 14], Operations: ['55-38=17', '17-3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[38, 55, 4, 3], Operations: []
Exploring Operation: 38-4=34, Resulting Numbers: [55, 3, 34]
Generated Node #0,0: 56:[55, 3, 34] Operation: 38-4=34
Exploring Operation: 38-3=35, Resulting Numbers: [55, 4, 35]
Generated Node #0,1: 56:[55, 4, 35] Operation: 38-3=35
Exploring Operation: 55-38=17, Resulting Numbers: [4, 3, 17]
Generated Node #0,2: 56:[4, 3, 17] Operation: 55-38=17
Exploring Operation: 4+3=7, Resulting Numbers: [38, 55, 7]
Generated Node #0,3: 56:[38, 55, 7] Operation: 4+3=7
Moving to Node #0,2
Current State: 56:[4, 3, 17], Operations: ['55-38=17']
Exploring Operation: 4+3=7, Resulting Numbers: [17, 7]
Generated Node #0,2,0: 56:[17, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [17, 1]
Generated Node #0,2,1: 56:[17, 1] Operation: 4-3=1
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 56:[4, 14] Operation: 17-3=14
Exploring Operation: 17-4=13, Resulting Numbers: [3, 13]
Generated Node #0,2,3: 56:[3, 13] Operation: 17-4=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[4, 14], Operations: ['55-38=17', '17-3=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[38, 55, 4, 3], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [4, 3, 17]
Generated Node #0,2: 56:[4, 3, 17] Operation: 55-38=17
Moving to Node #0,2
Current State: 56:[4, 3, 17], Operations: ['55-38=17']
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 56:[4, 14] Operation: 17-3=14
Moving to Node #0,2,2
Current State: 56:[4, 14], Operations: ['55-38=17', '17-3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
2,
91,
99,
75
] | 91 | [
"99-91=8",
"2*8=16",
"75+16=91"
] | Current State: 91:[2, 91, 99, 75], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [2, 75, 8]
Generated Node #2: [2, 75, 8] from Operation: 99-91=8
Current State: 91:[2, 75, 8], Operations: ['99-91=8']
Exploring Operation: 2*8=16, Resulting Numbers: [75, 16]
Generated Node #3: [75, 16] from Operation: 2*8=16
Current State: 91:[75, 16], Operations: ['99-91=8', '2*8=16']
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[2, 91, 99, 75], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [2, 91, 24]
Generated Node #0,0: 91:[2, 91, 24] Operation: 99-75=24
Exploring Operation: 91-75=16, Resulting Numbers: [2, 99, 16]
Generated Node #0,1: 91:[2, 99, 16] Operation: 91-75=16
Exploring Operation: 99-2=97, Resulting Numbers: [91, 75, 97]
Generated Node #0,2: 91:[91, 75, 97] Operation: 99-2=97
Exploring Operation: 2+75=77, Resulting Numbers: [91, 99, 77]
Generated Node #0,3: 91:[91, 99, 77] Operation: 2+75=77
Moving to Node #0,0
Current State: 91:[2, 91, 24], Operations: ['99-75=24']
Exploring Operation: 24-2=22, Resulting Numbers: [91, 22]
Generated Node #0,0,0: 91:[91, 22] Operation: 24-2=22
Exploring Operation: 91-2=89, Resulting Numbers: [24, 89]
Generated Node #0,0,1: 91:[24, 89] Operation: 91-2=89
Exploring Operation: 2+91=93, Resulting Numbers: [24, 93]
Generated Node #0,0,2: 91:[24, 93] Operation: 2+91=93
Exploring Operation: 24/2=12, Resulting Numbers: [91, 12]
Generated Node #0,0,3: 91:[91, 12] Operation: 24/2=12
Moving to Node #0,1
Current State: 91:[2, 99, 16], Operations: ['91-75=16']
Exploring Operation: 99-2=97, Resulting Numbers: [16, 97]
Generated Node #0,1,0: 91:[16, 97] Operation: 99-2=97
Exploring Operation: 2+99=101, Resulting Numbers: [16, 101]
Generated Node #0,1,1: 91:[16, 101] Operation: 2+99=101
Exploring Operation: 16/2=8, Resulting Numbers: [99, 8]
Generated Node #0,1,2: 91:[99, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [99, 14]
Generated Node #0,1,3: 91:[99, 14] Operation: 16-2=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[16, 97], Operations: ['91-75=16', '99-2=97']
Exploring Operation: 16+97=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 16*97=1552, Resulting Numbers: [1552]
1552,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[99, 8], Operations: ['91-75=16', '16/2=8']
Exploring Operation: 99*8=792, Resulting Numbers: [792]
792,91 unequal: No Solution
Exploring Operation: 99+8=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[2, 91, 99, 75], Operations: []
Exploring Operation: 91-75=16, Resulting Numbers: [2, 99, 16]
Generated Node #0,1: 91:[2, 99, 16] Operation: 91-75=16
Moving to Node #0,1
Current State: 91:[2, 99, 16], Operations: ['91-75=16']
Exploring Operation: 16/2=8, Resulting Numbers: [99, 8]
Generated Node #0,1,2: 91:[99, 8] Operation: 16/2=8
Moving to Node #0,1,2
Current State: 91:[99, 8], Operations: ['91-75=16', '16/2=8']
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
86,
14,
9,
68
] | 80 | [
"68-14=54",
"54/9=6",
"86-6=80"
] | Current State: 80:[86, 14, 9, 68], Operations: []
Exploring Operation: 68-14=54, Resulting Numbers: [86, 9, 54]
Generated Node #2: [86, 9, 54] from Operation: 68-14=54
Current State: 80:[86, 9, 54], Operations: ['68-14=54']
Exploring Operation: 54/9=6, Resulting Numbers: [86, 6]
Generated Node #3: [86, 6] from Operation: 54/9=6
Current State: 80:[86, 6], Operations: ['68-14=54', '54/9=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[86, 14, 9, 68], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [14, 9, 18]
Generated Node #0,0: 80:[14, 9, 18] Operation: 86-68=18
Exploring Operation: 14+68=82, Resulting Numbers: [86, 9, 82]
Generated Node #0,1: 80:[86, 9, 82] Operation: 14+68=82
Moving to Node #0,0
Current State: 80:[14, 9, 18], Operations: ['86-68=18']
Exploring Operation: 18-14=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 80:[9, 4] Operation: 18-14=4
Exploring Operation: 14-9=5, Resulting Numbers: [18, 5]
Generated Node #0,0,1: 80:[18, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[9, 4], Operations: ['86-68=18', '18-14=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[18, 5], Operations: ['86-68=18', '14-9=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 80:[86, 9, 82], Operations: ['14+68=82']
Exploring Operation: 86-9=77, Resulting Numbers: [82, 77]
Generated Node #0,1,0: 80:[82, 77] Operation: 86-9=77
Exploring Operation: 86-82=4, Resulting Numbers: [9, 4]
Generated Node #0,1,1: 80:[9, 4] Operation: 86-82=4
Moving to Node #0,1,1
Current State: 80:[9, 4], Operations: ['14+68=82', '86-82=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[82, 77], Operations: ['14+68=82', '86-9=77']
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 82+77=159, Resulting Numbers: [159]
159,80 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
42,
49,
19
] | 43 | [
"42-17=25",
"49+19=68",
"68-25=43"
] | Current State: 43:[17, 42, 49, 19], Operations: []
Exploring Operation: 42-17=25, Resulting Numbers: [49, 19, 25]
Generated Node #2: [49, 19, 25] from Operation: 42-17=25
Current State: 43:[49, 19, 25], Operations: ['42-17=25']
Exploring Operation: 49+19=68, Resulting Numbers: [25, 68]
Generated Node #3: [25, 68] from Operation: 49+19=68
Current State: 43:[25, 68], Operations: ['42-17=25', '49+19=68']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[17, 42, 49, 19], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [42, 49, 36]
Generated Node #0,0: 43:[42, 49, 36] Operation: 17+19=36
Moving to Node #0,0
Current State: 43:[42, 49, 36], Operations: ['17+19=36']
Exploring Operation: 49-36=13, Resulting Numbers: [42, 13]
Generated Node #0,0,0: 43:[42, 13] Operation: 49-36=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[42, 13], Operations: ['17+19=36', '49-36=13']
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
5,
55,
71
] | 33 | [
"44+5=49",
"71-55=16",
"49-16=33"
] | Current State: 33:[44, 5, 55, 71], Operations: []
Exploring Operation: 44+5=49, Resulting Numbers: [55, 71, 49]
Generated Node #2: [55, 71, 49] from Operation: 44+5=49
Current State: 33:[55, 71, 49], Operations: ['44+5=49']
Exploring Operation: 71-55=16, Resulting Numbers: [49, 16]
Generated Node #3: [49, 16] from Operation: 71-55=16
Current State: 33:[49, 16], Operations: ['44+5=49', '71-55=16']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[44, 5, 55, 71], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [44, 5, 16]
Generated Node #0,0: 33:[44, 5, 16] Operation: 71-55=16
Moving to Node #0,0
Current State: 33:[44, 5, 16], Operations: ['71-55=16']
Exploring Operation: 44-16=28, Resulting Numbers: [5, 28]
Generated Node #0,0,0: 33:[5, 28] Operation: 44-16=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[5, 28], Operations: ['71-55=16', '44-16=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[44, 5, 55, 71], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [44, 5, 16]
Generated Node #0,0: 33:[44, 5, 16] Operation: 71-55=16
Moving to Node #0,0
Current State: 33:[44, 5, 16], Operations: ['71-55=16']
Exploring Operation: 44-16=28, Resulting Numbers: [5, 28]
Generated Node #0,0,0: 33:[5, 28] Operation: 44-16=28
Moving to Node #0,0,0
Current State: 33:[5, 28], Operations: ['71-55=16', '44-16=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
81,
95,
3,
71
] | 73 | [
"95-71=24",
"24/3=8",
"81-8=73"
] | Current State: 73:[81, 95, 3, 71], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [81, 3, 24]
Generated Node #2: [81, 3, 24] from Operation: 95-71=24
Current State: 73:[81, 3, 24], Operations: ['95-71=24']
Exploring Operation: 24/3=8, Resulting Numbers: [81, 8]
Generated Node #3: [81, 8] from Operation: 24/3=8
Current State: 73:[81, 8], Operations: ['95-71=24', '24/3=8']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[81, 95, 3, 71], Operations: []
Exploring Operation: 95+3=98, Resulting Numbers: [81, 71, 98]
Generated Node #0,0: 73:[81, 71, 98] Operation: 95+3=98
Exploring Operation: 81-3=78, Resulting Numbers: [95, 71, 78]
Generated Node #0,1: 73:[95, 71, 78] Operation: 81-3=78
Exploring Operation: 81+3=84, Resulting Numbers: [95, 71, 84]
Generated Node #0,2: 73:[95, 71, 84] Operation: 81+3=84
Exploring Operation: 3+71=74, Resulting Numbers: [81, 95, 74]
Generated Node #0,3: 73:[81, 95, 74] Operation: 3+71=74
Exploring Operation: 95-3=92, Resulting Numbers: [81, 71, 92]
Generated Node #0,4: 73:[81, 71, 92] Operation: 95-3=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[95, 71, 78], Operations: ['81-3=78']
Exploring Operation: 78-71=7, Resulting Numbers: [95, 7]
Generated Node #0,1,0: 73:[95, 7] Operation: 78-71=7
Exploring Operation: 95-71=24, Resulting Numbers: [78, 24]
Generated Node #0,1,1: 73:[78, 24] Operation: 95-71=24
Exploring Operation: 95+71=166, Resulting Numbers: [78, 166]
Generated Node #0,1,2: 73:[78, 166] Operation: 95+71=166
Exploring Operation: 71+78=149, Resulting Numbers: [95, 149]
Generated Node #0,1,3: 73:[95, 149] Operation: 71+78=149
Exploring Operation: 95-78=17, Resulting Numbers: [71, 17]
Generated Node #0,1,4: 73:[71, 17] Operation: 95-78=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[78, 24], Operations: ['81-3=78', '95-71=24']
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,73 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[71, 17], Operations: ['81-3=78', '95-78=17']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[95, 7], Operations: ['81-3=78', '78-71=7']
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[78, 166], Operations: ['81-3=78', '95+71=166']
Exploring Operation: 78*166=12948, Resulting Numbers: [12948]
12948,73 unequal: No Solution
Exploring Operation: 78+166=244, Resulting Numbers: [244]
244,73 unequal: No Solution
Exploring Operation: 166-78=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[95, 149], Operations: ['81-3=78', '71+78=149']
Exploring Operation: 149-95=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 95*149=14155, Resulting Numbers: [14155]
14155,73 unequal: No Solution
Exploring Operation: 95+149=244, Resulting Numbers: [244]
244,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[81, 71, 92], Operations: ['95-3=92']
Exploring Operation: 81-71=10, Resulting Numbers: [92, 10]
Generated Node #0,4,0: 73:[92, 10] Operation: 81-71=10
Exploring Operation: 92-81=11, Resulting Numbers: [71, 11]
Generated Node #0,4,1: 73:[71, 11] Operation: 92-81=11
Exploring Operation: 71+92=163, Resulting Numbers: [81, 163]
Generated Node #0,4,2: 73:[81, 163] Operation: 71+92=163
Exploring Operation: 92-71=21, Resulting Numbers: [81, 21]
Generated Node #0,4,3: 73:[81, 21] Operation: 92-71=21
Exploring Operation: 81+71=152, Resulting Numbers: [92, 152]
Generated Node #0,4,4: 73:[92, 152] Operation: 81+71=152
Moving to Node #0,4,3
Current State: 73:[81, 21], Operations: ['95-3=92', '92-71=21']
Exploring Operation: 81*21=1701, Resulting Numbers: [1701]
1701,73 unequal: No Solution
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 81+21=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[71, 11], Operations: ['95-3=92', '92-81=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[92, 10], Operations: ['95-3=92', '81-71=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[81, 163], Operations: ['95-3=92', '71+92=163']
Exploring Operation: 81*163=13203, Resulting Numbers: [13203]
13203,73 unequal: No Solution
Exploring Operation: 81+163=244, Resulting Numbers: [244]
244,73 unequal: No Solution
Exploring Operation: 163-81=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[92, 152], Operations: ['95-3=92', '81+71=152']
Exploring Operation: 92*152=13984, Resulting Numbers: [13984]
13984,73 unequal: No Solution
Exploring Operation: 152-92=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 92+152=244, Resulting Numbers: [244]
244,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[81, 95, 74], Operations: ['3+71=74']
Exploring Operation: 81+74=155, Resulting Numbers: [95, 155]
Generated Node #0,3,0: 73:[95, 155] Operation: 81+74=155
Exploring Operation: 95-81=14, Resulting Numbers: [74, 14]
Generated Node #0,3,1: 73:[74, 14] Operation: 95-81=14
Exploring Operation: 81+95=176, Resulting Numbers: [74, 176]
Generated Node #0,3,2: 73:[74, 176] Operation: 81+95=176
Exploring Operation: 95-74=21, Resulting Numbers: [81, 21]
Generated Node #0,3,3: 73:[81, 21] Operation: 95-74=21
Exploring Operation: 81-74=7, Resulting Numbers: [95, 7]
Generated Node #0,3,4: 73:[95, 7] Operation: 81-74=7
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[74, 14], Operations: ['3+71=74', '95-81=14']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,73 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[81, 21], Operations: ['3+71=74', '95-74=21']
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 81*21=1701, Resulting Numbers: [1701]
1701,73 unequal: No Solution
Exploring Operation: 81+21=102, Resulting Numbers: [102]
102,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 73:[95, 7], Operations: ['3+71=74', '81-74=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[95, 155], Operations: ['3+71=74', '81+74=155']
Exploring Operation: 95*155=14725, Resulting Numbers: [14725]
14725,73 unequal: No Solution
Exploring Operation: 155-95=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 95+155=250, Resulting Numbers: [250]
250,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[74, 176], Operations: ['3+71=74', '81+95=176']
Exploring Operation: 176-74=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 74+176=250, Resulting Numbers: [250]
250,73 unequal: No Solution
Exploring Operation: 74*176=13024, Resulting Numbers: [13024]
13024,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[81, 71, 98], Operations: ['95+3=98']
Exploring Operation: 98-81=17, Resulting Numbers: [71, 17]
Generated Node #0,0,0: 73:[71, 17] Operation: 98-81=17
Exploring Operation: 81+71=152, Resulting Numbers: [98, 152]
Generated Node #0,0,1: 73:[98, 152] Operation: 81+71=152
Exploring Operation: 71+98=169, Resulting Numbers: [81, 169]
Generated Node #0,0,2: 73:[81, 169] Operation: 71+98=169
Exploring Operation: 98-71=27, Resulting Numbers: [81, 27]
Generated Node #0,0,3: 73:[81, 27] Operation: 98-71=27
Exploring Operation: 81-71=10, Resulting Numbers: [98, 10]
Generated Node #0,0,4: 73:[98, 10] Operation: 81-71=10
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[81, 27], Operations: ['95+3=98', '98-71=27']
Exploring Operation: 81*27=2187, Resulting Numbers: [2187]
2187,73 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[71, 17], Operations: ['95+3=98', '98-81=17']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,73 unequal: No Solution
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 73:[98, 10], Operations: ['95+3=98', '81-71=10']
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,73 unequal: No Solution
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[98, 152], Operations: ['95+3=98', '81+71=152']
Exploring Operation: 98*152=14896, Resulting Numbers: [14896]
14896,73 unequal: No Solution
Exploring Operation: 98+152=250, Resulting Numbers: [250]
250,73 unequal: No Solution
Exploring Operation: 152-98=54, Resulting Numbers: [54]
54,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[81, 169], Operations: ['95+3=98', '71+98=169']
Exploring Operation: 169-81=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 81+169=250, Resulting Numbers: [250]
250,73 unequal: No Solution
Exploring Operation: 81*169=13689, Resulting Numbers: [13689]
13689,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[95, 71, 84], Operations: ['81+3=84']
Exploring Operation: 84-71=13, Resulting Numbers: [95, 13]
Generated Node #0,2,0: 73:[95, 13] Operation: 84-71=13
Exploring Operation: 95-84=11, Resulting Numbers: [71, 11]
Generated Node #0,2,1: 73:[71, 11] Operation: 95-84=11
Exploring Operation: 95+71=166, Resulting Numbers: [84, 166]
Generated Node #0,2,2: 73:[84, 166] Operation: 95+71=166
Exploring Operation: 95-71=24, Resulting Numbers: [84, 24]
Generated Node #0,2,3: 73:[84, 24] Operation: 95-71=24
Exploring Operation: 71+84=155, Resulting Numbers: [95, 155]
Generated Node #0,2,4: 73:[95, 155] Operation: 71+84=155
Moving to Node #0,2,3
Current State: 73:[84, 24], Operations: ['81+3=84', '95-71=24']
Exploring Operation: 84+24=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 84*24=2016, Resulting Numbers: [2016]
2016,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[71, 11], Operations: ['81+3=84', '95-84=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,73 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[95, 13], Operations: ['81+3=84', '84-71=13']
Exploring Operation: 95*13=1235, Resulting Numbers: [1235]
1235,73 unequal: No Solution
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 95+13=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[84, 166], Operations: ['81+3=84', '95+71=166']
Exploring Operation: 166-84=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 84*166=13944, Resulting Numbers: [13944]
13944,73 unequal: No Solution
Exploring Operation: 84+166=250, Resulting Numbers: [250]
250,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[95, 155], Operations: ['81+3=84', '71+84=155']
Exploring Operation: 95+155=250, Resulting Numbers: [250]
250,73 unequal: No Solution
Exploring Operation: 95*155=14725, Resulting Numbers: [14725]
14725,73 unequal: No Solution
Exploring Operation: 155-95=60, Resulting Numbers: [60]
60,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
41,
71,
67
] | 59 | [
"67-41=26",
"5*26=130",
"130-71=59"
] | Current State: 59:[5, 41, 71, 67], Operations: []
Exploring Operation: 67-41=26, Resulting Numbers: [5, 71, 26]
Generated Node #2: [5, 71, 26] from Operation: 67-41=26
Current State: 59:[5, 71, 26], Operations: ['67-41=26']
Exploring Operation: 5*26=130, Resulting Numbers: [71, 130]
Generated Node #3: [71, 130] from Operation: 5*26=130
Current State: 59:[71, 130], Operations: ['67-41=26', '5*26=130']
Exploring Operation: 130-71=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[5, 41, 71, 67], Operations: []
Exploring Operation: 5+41=46, Resulting Numbers: [71, 67, 46]
Generated Node #0,0: 59:[71, 67, 46] Operation: 5+41=46
Exploring Operation: 71-5=66, Resulting Numbers: [41, 67, 66]
Generated Node #0,1: 59:[41, 67, 66] Operation: 71-5=66
Exploring Operation: 67-5=62, Resulting Numbers: [41, 71, 62]
Generated Node #0,2: 59:[41, 71, 62] Operation: 67-5=62
Exploring Operation: 5+71=76, Resulting Numbers: [41, 67, 76]
Generated Node #0,3: 59:[41, 67, 76] Operation: 5+71=76
Exploring Operation: 41-5=36, Resulting Numbers: [71, 67, 36]
Generated Node #0,4: 59:[71, 67, 36] Operation: 41-5=36
Moving to Node #0,0
Current State: 59:[71, 67, 46], Operations: ['5+41=46']
Exploring Operation: 71+46=117, Resulting Numbers: [67, 117]
Generated Node #0,0,0: 59:[67, 117] Operation: 71+46=117
Exploring Operation: 71-67=4, Resulting Numbers: [46, 4]
Generated Node #0,0,1: 59:[46, 4] Operation: 71-67=4
Exploring Operation: 71-46=25, Resulting Numbers: [67, 25]
Generated Node #0,0,2: 59:[67, 25] Operation: 71-46=25
Exploring Operation: 67+46=113, Resulting Numbers: [71, 113]
Generated Node #0,0,3: 59:[71, 113] Operation: 67+46=113
Exploring Operation: 67-46=21, Resulting Numbers: [71, 21]
Generated Node #0,0,4: 59:[71, 21] Operation: 67-46=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[67, 25], Operations: ['5+41=46', '71-46=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,59 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 59:[71, 21], Operations: ['5+41=46', '67-46=21']
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[67, 117], Operations: ['5+41=46', '71+46=117']
Exploring Operation: 67*117=7839, Resulting Numbers: [7839]
7839,59 unequal: No Solution
Exploring Operation: 67+117=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 117-67=50, Resulting Numbers: [50]
50,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[71, 113], Operations: ['5+41=46', '67+46=113']
Exploring Operation: 71+113=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 71*113=8023, Resulting Numbers: [8023]
8023,59 unequal: No Solution
Exploring Operation: 113-71=42, Resulting Numbers: [42]
42,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[46, 4], Operations: ['5+41=46', '71-67=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 59:[41, 71, 62], Operations: ['67-5=62']
Exploring Operation: 41+71=112, Resulting Numbers: [62, 112]
Generated Node #0,2,0: 59:[62, 112] Operation: 41+71=112
Exploring Operation: 71-62=9, Resulting Numbers: [41, 9]
Generated Node #0,2,1: 59:[41, 9] Operation: 71-62=9
Exploring Operation: 62-41=21, Resulting Numbers: [71, 21]
Generated Node #0,2,2: 59:[71, 21] Operation: 62-41=21
Exploring Operation: 41+62=103, Resulting Numbers: [71, 103]
Generated Node #0,2,3: 59:[71, 103] Operation: 41+62=103
Exploring Operation: 71-41=30, Resulting Numbers: [62, 30]
Generated Node #0,2,4: 59:[62, 30] Operation: 71-41=30
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 59:[62, 30], Operations: ['67-5=62', '71-41=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,59 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[71, 21], Operations: ['67-5=62', '62-41=21']
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[62, 112], Operations: ['67-5=62', '41+71=112']
Exploring Operation: 62+112=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Exploring Operation: 112-62=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 62*112=6944, Resulting Numbers: [6944]
6944,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[71, 103], Operations: ['67-5=62', '41+62=103']
Exploring Operation: 71*103=7313, Resulting Numbers: [7313]
7313,59 unequal: No Solution
Exploring Operation: 103-71=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 71+103=174, Resulting Numbers: [174]
174,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[41, 9], Operations: ['67-5=62', '71-62=9']
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,59 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[41, 67, 66], Operations: ['71-5=66']
Exploring Operation: 67-41=26, Resulting Numbers: [66, 26]
Generated Node #0,1,0: 59:[66, 26] Operation: 67-41=26
Exploring Operation: 41+67=108, Resulting Numbers: [66, 108]
Generated Node #0,1,1: 59:[66, 108] Operation: 41+67=108
Exploring Operation: 41+66=107, Resulting Numbers: [67, 107]
Generated Node #0,1,2: 59:[67, 107] Operation: 41+66=107
Exploring Operation: 67-66=1, Resulting Numbers: [41, 1]
Generated Node #0,1,3: 59:[41, 1] Operation: 67-66=1
Exploring Operation: 66-41=25, Resulting Numbers: [67, 25]
Generated Node #0,1,4: 59:[67, 25] Operation: 66-41=25
Moving to Node #0,3
Current State: 59:[41, 67, 76], Operations: ['5+71=76']
Exploring Operation: 41+76=117, Resulting Numbers: [67, 117]
Generated Node #0,3,0: 59:[67, 117] Operation: 41+76=117
Exploring Operation: 41+67=108, Resulting Numbers: [76, 108]
Generated Node #0,3,1: 59:[76, 108] Operation: 41+67=108
Exploring Operation: 76-41=35, Resulting Numbers: [67, 35]
Generated Node #0,3,2: 59:[67, 35] Operation: 76-41=35
Exploring Operation: 76-67=9, Resulting Numbers: [41, 9]
Generated Node #0,3,3: 59:[41, 9] Operation: 76-67=9
Exploring Operation: 67-41=26, Resulting Numbers: [76, 26]
Generated Node #0,3,4: 59:[76, 26] Operation: 67-41=26
Moving to Node #0,4
Current State: 59:[71, 67, 36], Operations: ['41-5=36']
Exploring Operation: 71-67=4, Resulting Numbers: [36, 4]
Generated Node #0,4,0: 59:[36, 4] Operation: 71-67=4
Exploring Operation: 71-36=35, Resulting Numbers: [67, 35]
Generated Node #0,4,1: 59:[67, 35] Operation: 71-36=35
Exploring Operation: 71+36=107, Resulting Numbers: [67, 107]
Generated Node #0,4,2: 59:[67, 107] Operation: 71+36=107
Exploring Operation: 67-36=31, Resulting Numbers: [71, 31]
Generated Node #0,4,3: 59:[71, 31] Operation: 67-36=31
Exploring Operation: 67+36=103, Resulting Numbers: [71, 103]
Generated Node #0,4,4: 59:[71, 103] Operation: 67+36=103
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 59:[67, 35], Operations: ['41-5=36', '71-36=35']
Exploring Operation: 67+35=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 67*35=2345, Resulting Numbers: [2345]
2345,59 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 59:[71, 31], Operations: ['41-5=36', '67-36=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,59 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 59:[67, 107], Operations: ['41-5=36', '71+36=107']
Exploring Operation: 107-67=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 67*107=7169, Resulting Numbers: [7169]
7169,59 unequal: No Solution
Exploring Operation: 67+107=174, Resulting Numbers: [174]
174,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 59:[71, 103], Operations: ['41-5=36', '67+36=103']
Exploring Operation: 71+103=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Exploring Operation: 103-71=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 71*103=7313, Resulting Numbers: [7313]
7313,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 59:[36, 4], Operations: ['41-5=36', '71-67=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 59:[67, 35], Operations: ['5+71=76', '76-41=35']
Exploring Operation: 67+35=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 67*35=2345, Resulting Numbers: [2345]
2345,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[66, 26], Operations: ['71-5=66', '67-41=26']
Exploring Operation: 66*26=1716, Resulting Numbers: [1716]
1716,59 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[67, 25], Operations: ['71-5=66', '66-41=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,59 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[76, 26], Operations: ['5+71=76', '67-41=26']
Exploring Operation: 76+26=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 76*26=1976, Resulting Numbers: [1976]
1976,59 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[66, 108], Operations: ['71-5=66', '41+67=108']
Exploring Operation: 108-66=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 66*108=7128, Resulting Numbers: [7128]
7128,59 unequal: No Solution
Exploring Operation: 66+108=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[67, 107], Operations: ['71-5=66', '41+66=107']
Exploring Operation: 67*107=7169, Resulting Numbers: [7169]
7169,59 unequal: No Solution
Exploring Operation: 107-67=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 67+107=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[76, 108], Operations: ['5+71=76', '41+67=108']
Exploring Operation: 76+108=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 108-76=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 76*108=8208, Resulting Numbers: [8208]
8208,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[67, 117], Operations: ['5+71=76', '41+76=117']
Exploring Operation: 67+117=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 117-67=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 67*117=7839, Resulting Numbers: [7839]
7839,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[41, 9], Operations: ['5+71=76', '76-67=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[41, 1], Operations: ['71-5=66', '67-66=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
95,
81,
89,
24
] | 63 | [
"95+81=176",
"89+24=113",
"176-113=63"
] | Current State: 63:[95, 81, 89, 24], Operations: []
Exploring Operation: 95+81=176, Resulting Numbers: [89, 24, 176]
Generated Node #2: [89, 24, 176] from Operation: 95+81=176
Current State: 63:[89, 24, 176], Operations: ['95+81=176']
Exploring Operation: 89+24=113, Resulting Numbers: [176, 113]
Generated Node #3: [176, 113] from Operation: 89+24=113
Current State: 63:[176, 113], Operations: ['95+81=176', '89+24=113']
Exploring Operation: 176-113=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[95, 81, 89, 24], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [95, 24, 8]
Generated Node #0,0: 63:[95, 24, 8] Operation: 89-81=8
Exploring Operation: 95-89=6, Resulting Numbers: [81, 24, 6]
Generated Node #0,1: 63:[81, 24, 6] Operation: 95-89=6
Exploring Operation: 95-81=14, Resulting Numbers: [89, 24, 14]
Generated Node #0,2: 63:[89, 24, 14] Operation: 95-81=14
Moving to Node #0,1
Current State: 63:[81, 24, 6], Operations: ['95-89=6']
Exploring Operation: 81-6=75, Resulting Numbers: [24, 75]
Generated Node #0,1,0: 63:[24, 75] Operation: 81-6=75
Exploring Operation: 81-24=57, Resulting Numbers: [6, 57]
Generated Node #0,1,1: 63:[6, 57] Operation: 81-24=57
Exploring Operation: 24/6=4, Resulting Numbers: [81, 4]
Generated Node #0,1,2: 63:[81, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[6, 57], Operations: ['95-89=6', '81-24=57']
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,63 unequal: No Solution
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[95, 81, 89, 24], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [81, 24, 6]
Generated Node #0,1: 63:[81, 24, 6] Operation: 95-89=6
Moving to Node #0,1
Current State: 63:[81, 24, 6], Operations: ['95-89=6']
Exploring Operation: 81-24=57, Resulting Numbers: [6, 57]
Generated Node #0,1,1: 63:[6, 57] Operation: 81-24=57
Moving to Node #0,1,1
Current State: 63:[6, 57], Operations: ['95-89=6', '81-24=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
63,
44,
43,
60
] | 41 | [
"63-43=20",
"60/20=3",
"44-3=41"
] | Current State: 41:[63, 44, 43, 60], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [44, 60, 20]
Generated Node #2: [44, 60, 20] from Operation: 63-43=20
Current State: 41:[44, 60, 20], Operations: ['63-43=20']
Exploring Operation: 60/20=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 60/20=3
Current State: 41:[44, 3], Operations: ['63-43=20', '60/20=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[63, 44, 43, 60], Operations: []
Exploring Operation: 60-44=16, Resulting Numbers: [63, 43, 16]
Generated Node #0,0: 41:[63, 43, 16] Operation: 60-44=16
Exploring Operation: 63-60=3, Resulting Numbers: [44, 43, 3]
Generated Node #0,1: 41:[44, 43, 3] Operation: 63-60=3
Exploring Operation: 63-44=19, Resulting Numbers: [43, 60, 19]
Generated Node #0,2: 41:[43, 60, 19] Operation: 63-44=19
Exploring Operation: 63-43=20, Resulting Numbers: [44, 60, 20]
Generated Node #0,3: 41:[44, 60, 20] Operation: 63-43=20
Moving to Node #0,1
Current State: 41:[44, 43, 3], Operations: ['63-60=3']
Exploring Operation: 43+3=46, Resulting Numbers: [44, 46]
Generated Node #0,1,0: 41:[44, 46] Operation: 43+3=46
Exploring Operation: 44+3=47, Resulting Numbers: [43, 47]
Generated Node #0,1,1: 41:[43, 47] Operation: 44+3=47
Exploring Operation: 44-3=41, Resulting Numbers: [43, 41]
Generated Node #0,1,2: 41:[43, 41] Operation: 44-3=41
Exploring Operation: 43-3=40, Resulting Numbers: [44, 40]
Generated Node #0,1,3: 41:[44, 40] Operation: 43-3=40
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[43, 41], Operations: ['63-60=3', '44-3=41']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,41 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[44, 40], Operations: ['63-60=3', '43-3=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,41 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[44, 46], Operations: ['63-60=3', '43+3=46']
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,41 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[43, 47], Operations: ['63-60=3', '44+3=47']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,41 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 41:[44, 60, 20], Operations: ['63-43=20']
Exploring Operation: 44+20=64, Resulting Numbers: [60, 64]
Generated Node #0,3,0: 41:[60, 64] Operation: 44+20=64
Exploring Operation: 44-20=24, Resulting Numbers: [60, 24]
Generated Node #0,3,1: 41:[60, 24] Operation: 44-20=24
Exploring Operation: 60-20=40, Resulting Numbers: [44, 40]
Generated Node #0,3,2: 41:[44, 40] Operation: 60-20=40
Exploring Operation: 60/20=3, Resulting Numbers: [44, 3]
Generated Node #0,3,3: 41:[44, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[44, 40], Operations: ['63-43=20', '60-20=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[60, 24], Operations: ['63-43=20', '44-20=24']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[44, 3], Operations: ['63-43=20', '60/20=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[63, 44, 43, 60], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [44, 60, 20]
Generated Node #0,3: 41:[44, 60, 20] Operation: 63-43=20
Moving to Node #0,3
Current State: 41:[44, 60, 20], Operations: ['63-43=20']
Exploring Operation: 60/20=3, Resulting Numbers: [44, 3]
Generated Node #0,3,3: 41:[44, 3] Operation: 60/20=3
Moving to Node #0,3,3
Current State: 41:[44, 3], Operations: ['63-43=20', '60/20=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
37,
76,
97,
79
] | 57 | [
"76-37=39",
"97-79=18",
"39+18=57"
] | Current State: 57:[37, 76, 97, 79], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [97, 79, 39]
Generated Node #2: [97, 79, 39] from Operation: 76-37=39
Current State: 57:[97, 79, 39], Operations: ['76-37=39']
Exploring Operation: 97-79=18, Resulting Numbers: [39, 18]
Generated Node #3: [39, 18] from Operation: 97-79=18
Current State: 57:[39, 18], Operations: ['76-37=39', '97-79=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[37, 76, 97, 79], Operations: []
Exploring Operation: 97-76=21, Resulting Numbers: [37, 79, 21]
Generated Node #0,0: 57:[37, 79, 21] Operation: 97-76=21
Exploring Operation: 97-79=18, Resulting Numbers: [37, 76, 18]
Generated Node #0,1: 57:[37, 76, 18] Operation: 97-79=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[37, 76, 18], Operations: ['97-79=18']
Exploring Operation: 76-37=39, Resulting Numbers: [18, 39]
Generated Node #0,1,0: 57:[18, 39] Operation: 76-37=39
Exploring Operation: 37-18=19, Resulting Numbers: [76, 19]
Generated Node #0,1,1: 57:[76, 19] Operation: 37-18=19
Moving to Node #0,1,0
Current State: 57:[18, 39], Operations: ['97-79=18', '76-37=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[37, 76, 97, 79], Operations: []
Exploring Operation: 97-79=18, Resulting Numbers: [37, 76, 18]
Generated Node #0,1: 57:[37, 76, 18] Operation: 97-79=18
Moving to Node #0,1
Current State: 57:[37, 76, 18], Operations: ['97-79=18']
Exploring Operation: 76-37=39, Resulting Numbers: [18, 39]
Generated Node #0,1,0: 57:[18, 39] Operation: 76-37=39
Moving to Node #0,1,0
Current State: 57:[18, 39], Operations: ['97-79=18', '76-37=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
12,
88,
13,
9
] | 33 | [
"12*9=108",
"88-13=75",
"108-75=33"
] | Current State: 33:[12, 88, 13, 9], Operations: []
Exploring Operation: 12*9=108, Resulting Numbers: [88, 13, 108]
Generated Node #2: [88, 13, 108] from Operation: 12*9=108
Current State: 33:[88, 13, 108], Operations: ['12*9=108']
Exploring Operation: 88-13=75, Resulting Numbers: [108, 75]
Generated Node #3: [108, 75] from Operation: 88-13=75
Current State: 33:[108, 75], Operations: ['12*9=108', '88-13=75']
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[12, 88, 13, 9], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [13, 9, 76]
Generated Node #0,0: 33:[13, 9, 76] Operation: 88-12=76
Exploring Operation: 88-13=75, Resulting Numbers: [12, 9, 75]
Generated Node #0,1: 33:[12, 9, 75] Operation: 88-13=75
Exploring Operation: 88-9=79, Resulting Numbers: [12, 13, 79]
Generated Node #0,2: 33:[12, 13, 79] Operation: 88-9=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[12, 9, 75], Operations: ['88-13=75']
Exploring Operation: 12-9=3, Resulting Numbers: [75, 3]
Generated Node #0,1,0: 33:[75, 3] Operation: 12-9=3
Exploring Operation: 75-9=66, Resulting Numbers: [12, 66]
Generated Node #0,1,1: 33:[12, 66] Operation: 75-9=66
Exploring Operation: 75-12=63, Resulting Numbers: [9, 63]
Generated Node #0,1,2: 33:[9, 63] Operation: 75-12=63
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[9, 63], Operations: ['88-13=75', '75-12=63']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[12, 66], Operations: ['88-13=75', '75-9=66']
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,33 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[75, 3], Operations: ['88-13=75', '12-9=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[13, 9, 76], Operations: ['88-12=76']
Exploring Operation: 76-9=67, Resulting Numbers: [13, 67]
Generated Node #0,0,0: 33:[13, 67] Operation: 76-9=67
Exploring Operation: 13-9=4, Resulting Numbers: [76, 4]
Generated Node #0,0,1: 33:[76, 4] Operation: 13-9=4
Exploring Operation: 76-13=63, Resulting Numbers: [9, 63]
Generated Node #0,0,2: 33:[9, 63] Operation: 76-13=63
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[9, 63], Operations: ['88-12=76', '76-13=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[13, 67], Operations: ['88-12=76', '76-9=67']
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,33 unequal: No Solution
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[76, 4], Operations: ['88-12=76', '13-9=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[12, 13, 79], Operations: ['88-9=79']
Exploring Operation: 79-12=67, Resulting Numbers: [13, 67]
Generated Node #0,2,0: 33:[13, 67] Operation: 79-12=67
Exploring Operation: 13-12=1, Resulting Numbers: [79, 1]
Generated Node #0,2,1: 33:[79, 1] Operation: 13-12=1
Exploring Operation: 79-13=66, Resulting Numbers: [12, 66]
Generated Node #0,2,2: 33:[12, 66] Operation: 79-13=66
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[12, 66], Operations: ['88-9=79', '79-13=66']
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[13, 67], Operations: ['88-9=79', '79-12=67']
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,33 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[79, 1], Operations: ['88-9=79', '13-12=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
46,
80,
7
] | 24 | [
"46+80=126",
"126/7=18",
"6+18=24"
] | Current State: 24:[6, 46, 80, 7], Operations: []
Exploring Operation: 46+80=126, Resulting Numbers: [6, 7, 126]
Generated Node #2: [6, 7, 126] from Operation: 46+80=126
Current State: 24:[6, 7, 126], Operations: ['46+80=126']
Exploring Operation: 126/7=18, Resulting Numbers: [6, 18]
Generated Node #3: [6, 18] from Operation: 126/7=18
Current State: 24:[6, 18], Operations: ['46+80=126', '126/7=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[6, 46, 80, 7], Operations: []
Exploring Operation: 46-7=39, Resulting Numbers: [6, 80, 39]
Generated Node #0,0: 24:[6, 80, 39] Operation: 46-7=39
Exploring Operation: 80-7=73, Resulting Numbers: [6, 46, 73]
Generated Node #0,1: 24:[6, 46, 73] Operation: 80-7=73
Exploring Operation: 80-46=34, Resulting Numbers: [6, 7, 34]
Generated Node #0,2: 24:[6, 7, 34] Operation: 80-46=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[6, 7, 34], Operations: ['80-46=34']
Exploring Operation: 34-6=28, Resulting Numbers: [7, 28]
Generated Node #0,2,0: 24:[7, 28] Operation: 34-6=28
Exploring Operation: 34-7=27, Resulting Numbers: [6, 27]
Generated Node #0,2,1: 24:[6, 27] Operation: 34-7=27
Exploring Operation: 6+7=13, Resulting Numbers: [34, 13]
Generated Node #0,2,2: 24:[34, 13] Operation: 6+7=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 24:[6, 27], Operations: ['80-46=34', '34-7=27']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[7, 28], Operations: ['80-46=34', '34-6=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 24:[34, 13], Operations: ['80-46=34', '6+7=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[6, 80, 39], Operations: ['46-7=39']
Exploring Operation: 80-39=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 24:[6, 41] Operation: 80-39=41
Exploring Operation: 80-6=74, Resulting Numbers: [39, 74]
Generated Node #0,0,1: 24:[39, 74] Operation: 80-6=74
Exploring Operation: 39-6=33, Resulting Numbers: [80, 33]
Generated Node #0,0,2: 24:[80, 33] Operation: 39-6=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[6, 41], Operations: ['46-7=39', '80-39=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,24 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[39, 74], Operations: ['46-7=39', '80-6=74']
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,24 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[80, 33], Operations: ['46-7=39', '39-6=33']
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,24 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[6, 46, 73], Operations: ['80-7=73']
Exploring Operation: 73-6=67, Resulting Numbers: [46, 67]
Generated Node #0,1,0: 24:[46, 67] Operation: 73-6=67
Exploring Operation: 73-46=27, Resulting Numbers: [6, 27]
Generated Node #0,1,1: 24:[6, 27] Operation: 73-46=27
Exploring Operation: 46-6=40, Resulting Numbers: [73, 40]
Generated Node #0,1,2: 24:[73, 40] Operation: 46-6=40
Moving to Node #0,1,1
Current State: 24:[6, 27], Operations: ['80-7=73', '73-46=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,24 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[46, 67], Operations: ['80-7=73', '73-6=67']
Exploring Operation: 46+67=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Exploring Operation: 46*67=3082, Resulting Numbers: [3082]
3082,24 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[73, 40], Operations: ['80-7=73', '46-6=40']
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,24 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
63,
16,
16,
39
] | 25 | [
"63-39=24",
"16/16=1",
"24+1=25"
] | Current State: 25:[63, 16, 16, 39], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [16, 16, 24]
Generated Node #2: [16, 16, 24] from Operation: 63-39=24
Current State: 25:[16, 16, 24], Operations: ['63-39=24']
Exploring Operation: 16/16=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 16/16=1
Current State: 25:[24, 1], Operations: ['63-39=24', '16/16=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[63, 16, 16, 39], Operations: []
Exploring Operation: 63-16=47, Resulting Numbers: [16, 39, 47]
Generated Node #0,0: 25:[16, 39, 47] Operation: 63-16=47
Exploring Operation: 63-16=47, Resulting Numbers: [16, 39, 47]
Generated Node #0,1: 25:[16, 39, 47] Operation: 63-16=47
Exploring Operation: 63-39=24, Resulting Numbers: [16, 16, 24]
Generated Node #0,2: 25:[16, 16, 24] Operation: 63-39=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[16, 16, 24], Operations: ['63-39=24']
Exploring Operation: 16+16=32, Resulting Numbers: [24, 32]
Generated Node #0,2,0: 25:[24, 32] Operation: 16+16=32
Exploring Operation: 16/16=1, Resulting Numbers: [24, 1]
Generated Node #0,2,1: 25:[24, 1] Operation: 16/16=1
Exploring Operation: 16-16=0, Resulting Numbers: [24, 0]
Generated Node #0,2,2: 25:[24, 0] Operation: 16-16=0
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[24, 1], Operations: ['63-39=24', '16/16=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[63, 16, 16, 39], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [16, 16, 24]
Generated Node #0,2: 25:[16, 16, 24] Operation: 63-39=24
Moving to Node #0,2
Current State: 25:[16, 16, 24], Operations: ['63-39=24']
Exploring Operation: 16/16=1, Resulting Numbers: [24, 1]
Generated Node #0,2,1: 25:[24, 1] Operation: 16/16=1
Moving to Node #0,2,1
Current State: 25:[24, 1], Operations: ['63-39=24', '16/16=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
93,
16,
48,
18
] | 78 | [
"93-18=75",
"48/16=3",
"75+3=78"
] | Current State: 78:[93, 16, 48, 18], Operations: []
Exploring Operation: 93-18=75, Resulting Numbers: [16, 48, 75]
Generated Node #2: [16, 48, 75] from Operation: 93-18=75
Current State: 78:[16, 48, 75], Operations: ['93-18=75']
Exploring Operation: 48/16=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 48/16=3
Current State: 78:[75, 3], Operations: ['93-18=75', '48/16=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[93, 16, 48, 18], Operations: []
Exploring Operation: 93-16=77, Resulting Numbers: [48, 18, 77]
Generated Node #0,0: 78:[48, 18, 77] Operation: 93-16=77
Exploring Operation: 93-48=45, Resulting Numbers: [16, 18, 45]
Generated Node #0,1: 78:[16, 18, 45] Operation: 93-48=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[16, 18, 45], Operations: ['93-48=45']
Exploring Operation: 18-16=2, Resulting Numbers: [45, 2]
Generated Node #0,1,0: 78:[45, 2] Operation: 18-16=2
Exploring Operation: 45-18=27, Resulting Numbers: [16, 27]
Generated Node #0,1,1: 78:[16, 27] Operation: 45-18=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[16, 27], Operations: ['93-48=45', '45-18=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[45, 2], Operations: ['93-48=45', '18-16=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[48, 18, 77], Operations: ['93-16=77']
Exploring Operation: 77-48=29, Resulting Numbers: [18, 29]
Generated Node #0,0,0: 78:[18, 29] Operation: 77-48=29
Exploring Operation: 48-18=30, Resulting Numbers: [77, 30]
Generated Node #0,0,1: 78:[77, 30] Operation: 48-18=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[77, 30], Operations: ['93-16=77', '48-18=30']
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[18, 29], Operations: ['93-16=77', '77-48=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
91,
54,
96
] | 69 | [
"90*96=8640",
"8640/54=160",
"160-91=69"
] | Current State: 69:[90, 91, 54, 96], Operations: []
Exploring Operation: 90*96=8640, Resulting Numbers: [91, 54, 8640]
Generated Node #2: [91, 54, 8640] from Operation: 90*96=8640
Current State: 69:[91, 54, 8640], Operations: ['90*96=8640']
Exploring Operation: 8640/54=160, Resulting Numbers: [91, 160]
Generated Node #3: [91, 160] from Operation: 8640/54=160
Current State: 69:[91, 160], Operations: ['90*96=8640', '8640/54=160']
Exploring Operation: 160-91=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[90, 91, 54, 96], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [90, 54, 5]
Generated Node #0,0: 69:[90, 54, 5] Operation: 96-91=5
Exploring Operation: 96-90=6, Resulting Numbers: [91, 54, 6]
Generated Node #0,1: 69:[91, 54, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[90, 54, 5], Operations: ['96-91=5']
Exploring Operation: 90-54=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 69:[5, 36] Operation: 90-54=36
Exploring Operation: 90/5=18, Resulting Numbers: [54, 18]
Generated Node #0,0,1: 69:[54, 18] Operation: 90/5=18
Moving to Node #0,0,0
Current State: 69:[5, 36], Operations: ['96-91=5', '90-54=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[54, 18], Operations: ['96-91=5', '90/5=18']
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[91, 54, 6], Operations: ['96-90=6']
Exploring Operation: 91-54=37, Resulting Numbers: [6, 37]
Generated Node #0,1,0: 69:[6, 37] Operation: 91-54=37
Exploring Operation: 54/6=9, Resulting Numbers: [91, 9]
Generated Node #0,1,1: 69:[91, 9] Operation: 54/6=9
Moving to Node #0,1,0
Current State: 69:[6, 37], Operations: ['96-90=6', '91-54=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[91, 9], Operations: ['96-90=6', '54/6=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,69 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
79,
16,
50,
55
] | 90 | [
"79+16=95",
"55-50=5",
"95-5=90"
] | Current State: 90:[79, 16, 50, 55], Operations: []
Exploring Operation: 79+16=95, Resulting Numbers: [50, 55, 95]
Generated Node #2: [50, 55, 95] from Operation: 79+16=95
Current State: 90:[50, 55, 95], Operations: ['79+16=95']
Exploring Operation: 55-50=5, Resulting Numbers: [95, 5]
Generated Node #3: [95, 5] from Operation: 55-50=5
Current State: 90:[95, 5], Operations: ['79+16=95', '55-50=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[79, 16, 50, 55], Operations: []
Exploring Operation: 79+16=95, Resulting Numbers: [50, 55, 95]
Generated Node #0,0: 90:[50, 55, 95] Operation: 79+16=95
Exploring Operation: 79-50=29, Resulting Numbers: [16, 55, 29]
Generated Node #0,1: 90:[16, 55, 29] Operation: 79-50=29
Exploring Operation: 79-55=24, Resulting Numbers: [16, 50, 24]
Generated Node #0,2: 90:[16, 50, 24] Operation: 79-55=24
Exploring Operation: 55-50=5, Resulting Numbers: [79, 16, 5]
Generated Node #0,3: 90:[79, 16, 5] Operation: 55-50=5
Moving to Node #0,1
Current State: 90:[16, 55, 29], Operations: ['79-50=29']
Exploring Operation: 16+29=45, Resulting Numbers: [55, 45]
Generated Node #0,1,0: 90:[55, 45] Operation: 16+29=45
Exploring Operation: 55-29=26, Resulting Numbers: [16, 26]
Generated Node #0,1,1: 90:[16, 26] Operation: 55-29=26
Exploring Operation: 55-16=39, Resulting Numbers: [29, 39]
Generated Node #0,1,2: 90:[29, 39] Operation: 55-16=39
Exploring Operation: 55+29=84, Resulting Numbers: [16, 84]
Generated Node #0,1,3: 90:[16, 84] Operation: 55+29=84
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[16, 26], Operations: ['79-50=29', '55-29=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,90 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[29, 39], Operations: ['79-50=29', '55-16=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,90 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[16, 84], Operations: ['79-50=29', '55+29=84']
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 16*84=1344, Resulting Numbers: [1344]
1344,90 unequal: No Solution
Exploring Operation: 16+84=100, Resulting Numbers: [100]
100,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[55, 45], Operations: ['79-50=29', '16+29=45']
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,90 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 90:[79, 16, 5], Operations: ['55-50=5']
Exploring Operation: 79+5=84, Resulting Numbers: [16, 84]
Generated Node #0,3,0: 90:[16, 84] Operation: 79+5=84
Exploring Operation: 79+16=95, Resulting Numbers: [5, 95]
Generated Node #0,3,1: 90:[5, 95] Operation: 79+16=95
Exploring Operation: 16+5=21, Resulting Numbers: [79, 21]
Generated Node #0,3,2: 90:[79, 21] Operation: 16+5=21
Exploring Operation: 16-5=11, Resulting Numbers: [79, 11]
Generated Node #0,3,3: 90:[79, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[5, 95], Operations: ['55-50=5', '79+16=95']
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[79, 16, 50, 55], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [79, 16, 5]
Generated Node #0,3: 90:[79, 16, 5] Operation: 55-50=5
Moving to Node #0,3
Current State: 90:[79, 16, 5], Operations: ['55-50=5']
Exploring Operation: 79+16=95, Resulting Numbers: [5, 95]
Generated Node #0,3,1: 90:[5, 95] Operation: 79+16=95
Moving to Node #0,3,1
Current State: 90:[5, 95], Operations: ['55-50=5', '79+16=95']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
66,
1,
56,
15
] | 18 | [
"66*15=990",
"56-1=55",
"990/55=18"
] | Current State: 18:[66, 1, 56, 15], Operations: []
Exploring Operation: 66*15=990, Resulting Numbers: [1, 56, 990]
Generated Node #2: [1, 56, 990] from Operation: 66*15=990
Current State: 18:[1, 56, 990], Operations: ['66*15=990']
Exploring Operation: 56-1=55, Resulting Numbers: [990, 55]
Generated Node #3: [990, 55] from Operation: 56-1=55
Current State: 18:[990, 55], Operations: ['66*15=990', '56-1=55']
Exploring Operation: 990/55=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[66, 1, 56, 15], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [1, 15, 10]
Generated Node #0,0: 18:[1, 15, 10] Operation: 66-56=10
Exploring Operation: 66-15=51, Resulting Numbers: [1, 56, 51]
Generated Node #0,1: 18:[1, 56, 51] Operation: 66-15=51
Exploring Operation: 66-1=65, Resulting Numbers: [56, 15, 65]
Generated Node #0,2: 18:[56, 15, 65] Operation: 66-1=65
Exploring Operation: 56-1=55, Resulting Numbers: [66, 15, 55]
Generated Node #0,3: 18:[66, 15, 55] Operation: 56-1=55
Exploring Operation: 56-15=41, Resulting Numbers: [66, 1, 41]
Generated Node #0,4: 18:[66, 1, 41] Operation: 56-15=41
Moving to Node #0,0
Current State: 18:[1, 15, 10], Operations: ['66-56=10']
Exploring Operation: 15-10=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 18:[1, 5] Operation: 15-10=5
Exploring Operation: 15/1=15, Resulting Numbers: [10, 15]
Generated Node #0,0,1: 18:[10, 15] Operation: 15/1=15
Exploring Operation: 10-1=9, Resulting Numbers: [15, 9]
Generated Node #0,0,2: 18:[15, 9] Operation: 10-1=9
Exploring Operation: 1+15=16, Resulting Numbers: [10, 16]
Generated Node #0,0,3: 18:[10, 16] Operation: 1+15=16
Exploring Operation: 1*15=15, Resulting Numbers: [10, 15]
Generated Node #0,0,4: 18:[10, 15] Operation: 1*15=15
Moving to Node #0,4
Current State: 18:[66, 1, 41], Operations: ['56-15=41']
Exploring Operation: 66-41=25, Resulting Numbers: [1, 25]
Generated Node #0,4,0: 18:[1, 25] Operation: 66-41=25
Exploring Operation: 66*1=66, Resulting Numbers: [41, 66]
Generated Node #0,4,1: 18:[41, 66] Operation: 66*1=66
Exploring Operation: 41-1=40, Resulting Numbers: [66, 40]
Generated Node #0,4,2: 18:[66, 40] Operation: 41-1=40
Exploring Operation: 66/1=66, Resulting Numbers: [41, 66]
Generated Node #0,4,3: 18:[41, 66] Operation: 66/1=66
Exploring Operation: 66-1=65, Resulting Numbers: [41, 65]
Generated Node #0,4,4: 18:[41, 65] Operation: 66-1=65
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[1, 25], Operations: ['56-15=41', '66-41=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[66, 40], Operations: ['56-15=41', '41-1=40']
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,18 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[41, 65], Operations: ['56-15=41', '66-1=65']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 18:[41, 66], Operations: ['56-15=41', '66*1=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[41, 66], Operations: ['56-15=41', '66/1=66']
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,18 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 18:[1, 56, 51], Operations: ['66-15=51']
Exploring Operation: 56-51=5, Resulting Numbers: [1, 5]
Generated Node #0,1,0: 18:[1, 5] Operation: 56-51=5
Exploring Operation: 56/1=56, Resulting Numbers: [51, 56]
Generated Node #0,1,1: 18:[51, 56] Operation: 56/1=56
Exploring Operation: 56-1=55, Resulting Numbers: [51, 55]
Generated Node #0,1,2: 18:[51, 55] Operation: 56-1=55
Exploring Operation: 51-1=50, Resulting Numbers: [56, 50]
Generated Node #0,1,3: 18:[56, 50] Operation: 51-1=50
Exploring Operation: 1*56=56, Resulting Numbers: [51, 56]
Generated Node #0,1,4: 18:[51, 56] Operation: 1*56=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[1, 5], Operations: ['66-15=51', '56-51=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[51, 55], Operations: ['66-15=51', '56-1=55']
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 51*55=2805, Resulting Numbers: [2805]
2805,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[56, 50], Operations: ['66-15=51', '51-1=50']
Exploring Operation: 56+50=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 56*50=2800, Resulting Numbers: [2800]
2800,18 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[51, 56], Operations: ['66-15=51', '56/1=56']
Exploring Operation: 51*56=2856, Resulting Numbers: [2856]
2856,18 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[51, 56], Operations: ['66-15=51', '1*56=56']
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 51*56=2856, Resulting Numbers: [2856]
2856,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 18:[56, 15, 65], Operations: ['66-1=65']
Exploring Operation: 65-15=50, Resulting Numbers: [56, 50]
Generated Node #0,2,0: 18:[56, 50] Operation: 65-15=50
Exploring Operation: 56-15=41, Resulting Numbers: [65, 41]
Generated Node #0,2,1: 18:[65, 41] Operation: 56-15=41
Exploring Operation: 15+65=80, Resulting Numbers: [56, 80]
Generated Node #0,2,2: 18:[56, 80] Operation: 15+65=80
Exploring Operation: 65-56=9, Resulting Numbers: [15, 9]
Generated Node #0,2,3: 18:[15, 9] Operation: 65-56=9
Exploring Operation: 56+15=71, Resulting Numbers: [65, 71]
Generated Node #0,2,4: 18:[65, 71] Operation: 56+15=71
Moving to Node #0,3
Current State: 18:[66, 15, 55], Operations: ['56-1=55']
Exploring Operation: 66-15=51, Resulting Numbers: [55, 51]
Generated Node #0,3,0: 18:[55, 51] Operation: 66-15=51
Exploring Operation: 66-55=11, Resulting Numbers: [15, 11]
Generated Node #0,3,1: 18:[15, 11] Operation: 66-55=11
Exploring Operation: 55-15=40, Resulting Numbers: [66, 40]
Generated Node #0,3,2: 18:[66, 40] Operation: 55-15=40
Exploring Operation: 66+15=81, Resulting Numbers: [55, 81]
Generated Node #0,3,3: 18:[55, 81] Operation: 66+15=81
Exploring Operation: 15+55=70, Resulting Numbers: [66, 70]
Generated Node #0,3,4: 18:[66, 70] Operation: 15+55=70
Moving to Node #0,0,0
Current State: 18:[1, 5], Operations: ['66-56=10', '15-10=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[10, 16], Operations: ['66-56=10', '1+15=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,18 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[15, 9], Operations: ['66-1=65', '65-56=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,18 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[15, 9], Operations: ['66-56=10', '10-1=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,18 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[10, 15], Operations: ['66-56=10', '1*15=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[10, 15], Operations: ['66-56=10', '15/1=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[15, 11], Operations: ['56-1=55', '66-55=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,18 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[56, 50], Operations: ['66-1=65', '65-15=50']
Exploring Operation: 56*50=2800, Resulting Numbers: [2800]
2800,18 unequal: No Solution
Exploring Operation: 56+50=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[66, 40], Operations: ['56-1=55', '55-15=40']
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[65, 41], Operations: ['66-1=65', '56-15=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,18 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[55, 51], Operations: ['56-1=55', '66-15=51']
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,18 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[55, 81], Operations: ['56-1=55', '66+15=81']
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 55*81=4455, Resulting Numbers: [4455]
4455,18 unequal: No Solution
Exploring Operation: 55+81=136, Resulting Numbers: [136]
136,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[56, 80], Operations: ['66-1=65', '15+65=80']
Exploring Operation: 56+80=136, Resulting Numbers: [136]
136,18 unequal: No Solution
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 56*80=4480, Resulting Numbers: [4480]
4480,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[65, 71], Operations: ['66-1=65', '56+15=71']
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,18 unequal: No Solution
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,18 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[66, 70], Operations: ['56-1=55', '15+55=70']
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,18 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,18 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
4,
36,
38,
66
] | 17 | [
"38-36=2",
"66+2=68",
"68/4=17"
] | Current State: 17:[4, 36, 38, 66], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [4, 66, 2]
Generated Node #2: [4, 66, 2] from Operation: 38-36=2
Current State: 17:[4, 66, 2], Operations: ['38-36=2']
Exploring Operation: 66+2=68, Resulting Numbers: [4, 68]
Generated Node #3: [4, 68] from Operation: 66+2=68
Current State: 17:[4, 68], Operations: ['38-36=2', '66+2=68']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[4, 36, 38, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [4, 38, 30]
Generated Node #0,0: 17:[4, 38, 30] Operation: 66-36=30
Exploring Operation: 66-38=28, Resulting Numbers: [4, 36, 28]
Generated Node #0,1: 17:[4, 36, 28] Operation: 66-38=28
Moving to Node #0,1
Current State: 17:[4, 36, 28], Operations: ['66-38=28']
Exploring Operation: 36/4=9, Resulting Numbers: [28, 9]
Generated Node #0,1,0: 17:[28, 9] Operation: 36/4=9
Exploring Operation: 36-28=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 17:[4, 8] Operation: 36-28=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[28, 9], Operations: ['66-38=28', '36/4=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[4, 8], Operations: ['66-38=28', '36-28=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 17:[4, 38, 30], Operations: ['66-36=30']
Exploring Operation: 38-4=34, Resulting Numbers: [30, 34]
Generated Node #0,0,0: 17:[30, 34] Operation: 38-4=34
Exploring Operation: 38-30=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 17:[4, 8] Operation: 38-30=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[4, 8], Operations: ['66-36=30', '38-30=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[30, 34], Operations: ['66-36=30', '38-4=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
21,
45,
67
] | 75 | [
"45-21=24",
"24/3=8",
"67+8=75"
] | Current State: 75:[3, 21, 45, 67], Operations: []
Exploring Operation: 45-21=24, Resulting Numbers: [3, 67, 24]
Generated Node #2: [3, 67, 24] from Operation: 45-21=24
Current State: 75:[3, 67, 24], Operations: ['45-21=24']
Exploring Operation: 24/3=8, Resulting Numbers: [67, 8]
Generated Node #3: [67, 8] from Operation: 24/3=8
Current State: 75:[67, 8], Operations: ['45-21=24', '24/3=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 21, 45, 67], Operations: []
Exploring Operation: 67-45=22, Resulting Numbers: [3, 21, 22]
Generated Node #0,0: 75:[3, 21, 22] Operation: 67-45=22
Exploring Operation: 45-21=24, Resulting Numbers: [3, 67, 24]
Generated Node #0,1: 75:[3, 67, 24] Operation: 45-21=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[3, 21, 22], Operations: ['67-45=22']
Exploring Operation: 3+21=24, Resulting Numbers: [22, 24]
Generated Node #0,0,0: 75:[22, 24] Operation: 3+21=24
Exploring Operation: 22-21=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 75:[3, 1] Operation: 22-21=1
Moving to Node #0,0,1
Current State: 75:[3, 1], Operations: ['67-45=22', '22-21=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[22, 24], Operations: ['67-45=22', '3+21=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[3, 67, 24], Operations: ['45-21=24']
Exploring Operation: 3+67=70, Resulting Numbers: [24, 70]
Generated Node #0,1,0: 75:[24, 70] Operation: 3+67=70
Exploring Operation: 3+24=27, Resulting Numbers: [67, 27]
Generated Node #0,1,1: 75:[67, 27] Operation: 3+24=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[24, 70], Operations: ['45-21=24', '3+67=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[67, 27], Operations: ['45-21=24', '3+24=27']
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
96,
58,
57,
59
] | 78 | [
"96-58=38",
"57+59=116",
"116-38=78"
] | Current State: 78:[96, 58, 57, 59], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [57, 59, 38]
Generated Node #2: [57, 59, 38] from Operation: 96-58=38
Current State: 78:[57, 59, 38], Operations: ['96-58=38']
Exploring Operation: 57+59=116, Resulting Numbers: [38, 116]
Generated Node #3: [38, 116] from Operation: 57+59=116
Current State: 78:[38, 116], Operations: ['96-58=38', '57+59=116']
Exploring Operation: 116-38=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[96, 58, 57, 59], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [96, 57, 1]
Generated Node #0,0: 78:[96, 57, 1] Operation: 59-58=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[96, 57, 1], Operations: ['59-58=1']
Exploring Operation: 96-57=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 78:[1, 39] Operation: 96-57=39
Moving to Node #0,0,0
Current State: 78:[1, 39], Operations: ['59-58=1', '96-57=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
38,
21,
41
] | 62 | [
"4+38=42",
"41-21=20",
"42+20=62"
] | Current State: 62:[4, 38, 21, 41], Operations: []
Exploring Operation: 4+38=42, Resulting Numbers: [21, 41, 42]
Generated Node #2: [21, 41, 42] from Operation: 4+38=42
Current State: 62:[21, 41, 42], Operations: ['4+38=42']
Exploring Operation: 41-21=20, Resulting Numbers: [42, 20]
Generated Node #3: [42, 20] from Operation: 41-21=20
Current State: 62:[42, 20], Operations: ['4+38=42', '41-21=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[4, 38, 21, 41], Operations: []
Exploring Operation: 21+41=62, Resulting Numbers: [4, 38, 62]
Generated Node #0,0: 62:[4, 38, 62] Operation: 21+41=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[4, 38, 62], Operations: ['21+41=62']
Exploring Operation: 38-4=34, Resulting Numbers: [62, 34]
Generated Node #0,0,0: 62:[62, 34] Operation: 38-4=34
Moving to Node #0,0,0
Current State: 62:[62, 34], Operations: ['21+41=62', '38-4=34']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
14,
48,
2
] | 59 | [
"56+14=70",
"48+70=118",
"118/2=59"
] | Current State: 59:[56, 14, 48, 2], Operations: []
Exploring Operation: 56+14=70, Resulting Numbers: [48, 2, 70]
Generated Node #2: [48, 2, 70] from Operation: 56+14=70
Current State: 59:[48, 2, 70], Operations: ['56+14=70']
Exploring Operation: 48+70=118, Resulting Numbers: [2, 118]
Generated Node #3: [2, 118] from Operation: 48+70=118
Current State: 59:[2, 118], Operations: ['56+14=70', '48+70=118']
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[56, 14, 48, 2], Operations: []
Exploring Operation: 14+2=16, Resulting Numbers: [56, 48, 16]
Generated Node #0,0: 59:[56, 48, 16] Operation: 14+2=16
Exploring Operation: 56+2=58, Resulting Numbers: [14, 48, 58]
Generated Node #0,1: 59:[14, 48, 58] Operation: 56+2=58
Exploring Operation: 14*2=28, Resulting Numbers: [56, 48, 28]
Generated Node #0,2: 59:[56, 48, 28] Operation: 14*2=28
Moving to Node #0,2
Current State: 59:[56, 48, 28], Operations: ['14*2=28']
Exploring Operation: 48+28=76, Resulting Numbers: [56, 76]
Generated Node #0,2,0: 59:[56, 76] Operation: 48+28=76
Exploring Operation: 56+28=84, Resulting Numbers: [48, 84]
Generated Node #0,2,1: 59:[48, 84] Operation: 56+28=84
Exploring Operation: 56-28=28, Resulting Numbers: [48, 28]
Generated Node #0,2,2: 59:[48, 28] Operation: 56-28=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[56, 76], Operations: ['14*2=28', '48+28=76']
Exploring Operation: 56*76=4256, Resulting Numbers: [4256]
4256,59 unequal: No Solution
Exploring Operation: 56+76=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[48, 84], Operations: ['14*2=28', '56+28=84']
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[48, 28], Operations: ['14*2=28', '56-28=28']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 59:[56, 48, 16], Operations: ['14+2=16']
Exploring Operation: 56-16=40, Resulting Numbers: [48, 40]
Generated Node #0,0,0: 59:[48, 40] Operation: 56-16=40
Exploring Operation: 56+16=72, Resulting Numbers: [48, 72]
Generated Node #0,0,1: 59:[48, 72] Operation: 56+16=72
Exploring Operation: 48+16=64, Resulting Numbers: [56, 64]
Generated Node #0,0,2: 59:[56, 64] Operation: 48+16=64
Moving to Node #0,1
Current State: 59:[14, 48, 58], Operations: ['56+2=58']
Exploring Operation: 14+58=72, Resulting Numbers: [48, 72]
Generated Node #0,1,0: 59:[48, 72] Operation: 14+58=72
Exploring Operation: 48-14=34, Resulting Numbers: [58, 34]
Generated Node #0,1,1: 59:[58, 34] Operation: 48-14=34
Exploring Operation: 14+48=62, Resulting Numbers: [58, 62]
Generated Node #0,1,2: 59:[58, 62] Operation: 14+48=62
Moving to Node #0,1,2
Current State: 59:[58, 62], Operations: ['56+2=58', '14+48=62']
Exploring Operation: 58+62=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 58*62=3596, Resulting Numbers: [3596]
3596,59 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[56, 64], Operations: ['14+2=16', '48+16=64']
Exploring Operation: 56*64=3584, Resulting Numbers: [3584]
3584,59 unequal: No Solution
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 56+64=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[48, 72], Operations: ['56+2=58', '14+58=72']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[48, 72], Operations: ['14+2=16', '56+16=72']
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,59 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[58, 34], Operations: ['56+2=58', '48-14=34']
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,59 unequal: No Solution
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[48, 40], Operations: ['14+2=16', '56-16=40']
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,59 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
31,
95,
50,
44
] | 58 | [
"95-31=64",
"50-44=6",
"64-6=58"
] | Current State: 58:[31, 95, 50, 44], Operations: []
Exploring Operation: 95-31=64, Resulting Numbers: [50, 44, 64]
Generated Node #2: [50, 44, 64] from Operation: 95-31=64
Current State: 58:[50, 44, 64], Operations: ['95-31=64']
Exploring Operation: 50-44=6, Resulting Numbers: [64, 6]
Generated Node #3: [64, 6] from Operation: 50-44=6
Current State: 58:[64, 6], Operations: ['95-31=64', '50-44=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[31, 95, 50, 44], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [31, 50, 51]
Generated Node #0,0: 58:[31, 50, 51] Operation: 95-44=51
Moving to Node #0,0
Current State: 58:[31, 50, 51], Operations: ['95-44=51']
Exploring Operation: 51-50=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 58:[31, 1] Operation: 51-50=1
Moving to Node #0,0,0
Current State: 58:[31, 1], Operations: ['95-44=51', '51-50=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,58 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
69,
47,
70
] | 43 | [
"69-3=66",
"70-47=23",
"66-23=43"
] | Current State: 43:[3, 69, 47, 70], Operations: []
Exploring Operation: 69-3=66, Resulting Numbers: [47, 70, 66]
Generated Node #2: [47, 70, 66] from Operation: 69-3=66
Current State: 43:[47, 70, 66], Operations: ['69-3=66']
Exploring Operation: 70-47=23, Resulting Numbers: [66, 23]
Generated Node #3: [66, 23] from Operation: 70-47=23
Current State: 43:[66, 23], Operations: ['69-3=66', '70-47=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 69, 47, 70], Operations: []
Exploring Operation: 47-3=44, Resulting Numbers: [69, 70, 44]
Generated Node #0,0: 43:[69, 70, 44] Operation: 47-3=44
Exploring Operation: 70-3=67, Resulting Numbers: [69, 47, 67]
Generated Node #0,1: 43:[69, 47, 67] Operation: 70-3=67
Exploring Operation: 3+69=72, Resulting Numbers: [47, 70, 72]
Generated Node #0,2: 43:[47, 70, 72] Operation: 3+69=72
Exploring Operation: 69/3=23, Resulting Numbers: [47, 70, 23]
Generated Node #0,3: 43:[47, 70, 23] Operation: 69/3=23
Exploring Operation: 69-3=66, Resulting Numbers: [47, 70, 66]
Generated Node #0,4: 43:[47, 70, 66] Operation: 69-3=66
Moving to Node #0,3
Current State: 43:[47, 70, 23], Operations: ['69/3=23']
Exploring Operation: 47+23=70, Resulting Numbers: [70, 70]
Generated Node #0,3,0: 43:[70, 70] Operation: 47+23=70
Exploring Operation: 70-47=23, Resulting Numbers: [23, 23]
Generated Node #0,3,1: 43:[23, 23] Operation: 70-47=23
Exploring Operation: 70-23=47, Resulting Numbers: [47, 47]
Generated Node #0,3,2: 43:[47, 47] Operation: 70-23=47
Exploring Operation: 47-23=24, Resulting Numbers: [70, 24]
Generated Node #0,3,3: 43:[70, 24] Operation: 47-23=24
Exploring Operation: 70+23=93, Resulting Numbers: [47, 93]
Generated Node #0,3,4: 43:[47, 93] Operation: 70+23=93
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[47, 47], Operations: ['69/3=23', '70-23=47']
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,43 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[23, 23], Operations: ['69/3=23', '70-47=23']
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,43 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[70, 24], Operations: ['69/3=23', '47-23=24']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[70, 70], Operations: ['69/3=23', '47+23=70']
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,43 unequal: No Solution
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 43:[47, 93], Operations: ['69/3=23', '70+23=93']
Exploring Operation: 47+93=140, Resulting Numbers: [140]
140,43 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 47*93=4371, Resulting Numbers: [4371]
4371,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 43:[69, 47, 67], Operations: ['70-3=67']
Exploring Operation: 69+67=136, Resulting Numbers: [47, 136]
Generated Node #0,1,0: 43:[47, 136] Operation: 69+67=136
Exploring Operation: 69+47=116, Resulting Numbers: [67, 116]
Generated Node #0,1,1: 43:[67, 116] Operation: 69+47=116
Exploring Operation: 69-67=2, Resulting Numbers: [47, 2]
Generated Node #0,1,2: 43:[47, 2] Operation: 69-67=2
Exploring Operation: 69-47=22, Resulting Numbers: [67, 22]
Generated Node #0,1,3: 43:[67, 22] Operation: 69-47=22
Exploring Operation: 67-47=20, Resulting Numbers: [69, 20]
Generated Node #0,1,4: 43:[69, 20] Operation: 67-47=20
Moving to Node #0,0
Current State: 43:[69, 70, 44], Operations: ['47-3=44']
Exploring Operation: 69+70=139, Resulting Numbers: [44, 139]
Generated Node #0,0,0: 43:[44, 139] Operation: 69+70=139
Exploring Operation: 70-69=1, Resulting Numbers: [44, 1]
Generated Node #0,0,1: 43:[44, 1] Operation: 70-69=1
Exploring Operation: 69+44=113, Resulting Numbers: [70, 113]
Generated Node #0,0,2: 43:[70, 113] Operation: 69+44=113
Exploring Operation: 69-44=25, Resulting Numbers: [70, 25]
Generated Node #0,0,3: 43:[70, 25] Operation: 69-44=25
Exploring Operation: 70-44=26, Resulting Numbers: [69, 26]
Generated Node #0,0,4: 43:[69, 26] Operation: 70-44=26
Moving to Node #0,4
Current State: 43:[47, 70, 66], Operations: ['69-3=66']
Exploring Operation: 70-47=23, Resulting Numbers: [66, 23]
Generated Node #0,4,0: 43:[66, 23] Operation: 70-47=23
Exploring Operation: 70-66=4, Resulting Numbers: [47, 4]
Generated Node #0,4,1: 43:[47, 4] Operation: 70-66=4
Exploring Operation: 47+66=113, Resulting Numbers: [70, 113]
Generated Node #0,4,2: 43:[70, 113] Operation: 47+66=113
Exploring Operation: 66-47=19, Resulting Numbers: [70, 19]
Generated Node #0,4,3: 43:[70, 19] Operation: 66-47=19
Exploring Operation: 47+70=117, Resulting Numbers: [66, 117]
Generated Node #0,4,4: 43:[66, 117] Operation: 47+70=117
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 43:[66, 23], Operations: ['69-3=66', '70-47=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[3, 69, 47, 70], Operations: []
Exploring Operation: 69-3=66, Resulting Numbers: [47, 70, 66]
Generated Node #0,4: 43:[47, 70, 66] Operation: 69-3=66
Moving to Node #0,4
Current State: 43:[47, 70, 66], Operations: ['69-3=66']
Exploring Operation: 70-47=23, Resulting Numbers: [66, 23]
Generated Node #0,4,0: 43:[66, 23] Operation: 70-47=23
Moving to Node #0,4,0
Current State: 43:[66, 23], Operations: ['69-3=66', '70-47=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
82,
78,
82,
57
] | 100 | [
"82-78=4",
"82-57=25",
"4*25=100"
] | Current State: 100:[82, 78, 82, 57], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [57, 4]
Generated Node #2: [57, 4] from Operation: 82-78=4
Current State: 100:[57, 4], Operations: ['82-78=4']
Exploring Operation: 82-57=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 82-57=25
Current State: 100:[4, 25], Operations: ['82-78=4', '82-57=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[82, 78, 82, 57], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [82, 57, 4]
Generated Node #0,0: 100:[82, 57, 4] Operation: 82-78=4
Exploring Operation: 82-78=4, Resulting Numbers: [82, 57, 4]
Generated Node #0,1: 100:[82, 57, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 100:[82, 57, 4], Operations: ['82-78=4']
Exploring Operation: 82-57=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 82-57=25
Exploring Operation: 82+4=86, Resulting Numbers: [57, 86]
Generated Node #0,0,1: 100:[57, 86] Operation: 82+4=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['82-78=4', '82-57=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[82, 78, 82, 57], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [82, 57, 4]
Generated Node #0,0: 100:[82, 57, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 100:[82, 57, 4], Operations: ['82-78=4']
Exploring Operation: 82-57=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 82-57=25
Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['82-78=4', '82-57=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
75,
60,
29,
99
] | 85 | [
"75-60=15",
"99-29=70",
"15+70=85"
] | Current State: 85:[75, 60, 29, 99], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [29, 99, 15]
Generated Node #2: [29, 99, 15] from Operation: 75-60=15
Current State: 85:[29, 99, 15], Operations: ['75-60=15']
Exploring Operation: 99-29=70, Resulting Numbers: [15, 70]
Generated Node #3: [15, 70] from Operation: 99-29=70
Current State: 85:[15, 70], Operations: ['75-60=15', '99-29=70']
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[75, 60, 29, 99], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [29, 99, 15]
Generated Node #0,0: 85:[29, 99, 15] Operation: 75-60=15
Exploring Operation: 60+29=89, Resulting Numbers: [75, 99, 89]
Generated Node #0,1: 85:[75, 99, 89] Operation: 60+29=89
Moving to Node #0,0
Current State: 85:[29, 99, 15], Operations: ['75-60=15']
Exploring Operation: 99-15=84, Resulting Numbers: [29, 84]
Generated Node #0,0,0: 85:[29, 84] Operation: 99-15=84
Exploring Operation: 99-29=70, Resulting Numbers: [15, 70]
Generated Node #0,0,1: 85:[15, 70] Operation: 99-29=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[29, 84], Operations: ['75-60=15', '99-15=84']
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[15, 70], Operations: ['75-60=15', '99-29=70']
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[75, 60, 29, 99], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [29, 99, 15]
Generated Node #0,0: 85:[29, 99, 15] Operation: 75-60=15
Moving to Node #0,0
Current State: 85:[29, 99, 15], Operations: ['75-60=15']
Exploring Operation: 99-29=70, Resulting Numbers: [15, 70]
Generated Node #0,0,1: 85:[15, 70] Operation: 99-29=70
Moving to Node #0,0,1
Current State: 85:[15, 70], Operations: ['75-60=15', '99-29=70']
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
38,
74,
52,
47
] | 63 | [
"74-38=36",
"52+47=99",
"99-36=63"
] | Current State: 63:[38, 74, 52, 47], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [52, 47, 36]
Generated Node #2: [52, 47, 36] from Operation: 74-38=36
Current State: 63:[52, 47, 36], Operations: ['74-38=36']
Exploring Operation: 52+47=99, Resulting Numbers: [36, 99]
Generated Node #3: [36, 99] from Operation: 52+47=99
Current State: 63:[36, 99], Operations: ['74-38=36', '52+47=99']
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[38, 74, 52, 47], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [38, 74, 5]
Generated Node #0,0: 63:[38, 74, 5] Operation: 52-47=5
Exploring Operation: 47-38=9, Resulting Numbers: [74, 52, 9]
Generated Node #0,1: 63:[74, 52, 9] Operation: 47-38=9
Exploring Operation: 52-38=14, Resulting Numbers: [74, 47, 14]
Generated Node #0,2: 63:[74, 47, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[74, 52, 9], Operations: ['47-38=9']
Exploring Operation: 74-9=65, Resulting Numbers: [52, 65]
Generated Node #0,1,0: 63:[52, 65] Operation: 74-9=65
Exploring Operation: 74-52=22, Resulting Numbers: [9, 22]
Generated Node #0,1,1: 63:[9, 22] Operation: 74-52=22
Exploring Operation: 52+9=61, Resulting Numbers: [74, 61]
Generated Node #0,1,2: 63:[74, 61] Operation: 52+9=61
Moving to Node #0,1,1
Current State: 63:[9, 22], Operations: ['47-38=9', '74-52=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,63 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[52, 65], Operations: ['47-38=9', '74-9=65']
Exploring Operation: 52+65=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 52*65=3380, Resulting Numbers: [3380]
3380,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[74, 61], Operations: ['47-38=9', '52+9=61']
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[38, 74, 5], Operations: ['52-47=5']
Exploring Operation: 74-38=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 63:[5, 36] Operation: 74-38=36
Exploring Operation: 74-5=69, Resulting Numbers: [38, 69]
Generated Node #0,0,1: 63:[38, 69] Operation: 74-5=69
Exploring Operation: 38-5=33, Resulting Numbers: [74, 33]
Generated Node #0,0,2: 63:[74, 33] Operation: 38-5=33
Moving to Node #0,0,0
Current State: 63:[5, 36], Operations: ['52-47=5', '74-38=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[38, 69], Operations: ['52-47=5', '74-5=69']
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,63 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,63 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[74, 33], Operations: ['52-47=5', '38-5=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 74*33=2442, Resulting Numbers: [2442]
2442,63 unequal: No Solution
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[74, 47, 14], Operations: ['52-38=14']
Exploring Operation: 47+14=61, Resulting Numbers: [74, 61]
Generated Node #0,2,0: 63:[74, 61] Operation: 47+14=61
Exploring Operation: 74-47=27, Resulting Numbers: [14, 27]
Generated Node #0,2,1: 63:[14, 27] Operation: 74-47=27
Exploring Operation: 74-14=60, Resulting Numbers: [47, 60]
Generated Node #0,2,2: 63:[47, 60] Operation: 74-14=60
Moving to Node #0,2,1
Current State: 63:[14, 27], Operations: ['52-38=14', '74-47=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,63 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[74, 61], Operations: ['52-38=14', '47+14=61']
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,63 unequal: No Solution
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[47, 60], Operations: ['52-38=14', '74-14=60']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,63 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
70,
45,
27
] | 10 | [
"70-45=25",
"27-25=2",
"20/2=10"
] | Current State: 10:[20, 70, 45, 27], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [20, 27, 25]
Generated Node #2: [20, 27, 25] from Operation: 70-45=25
Current State: 10:[20, 27, 25], Operations: ['70-45=25']
Exploring Operation: 27-25=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 27-25=2
Current State: 10:[20, 2], Operations: ['70-45=25', '27-25=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[20, 70, 45, 27], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [45, 27, 50]
Generated Node #0,0: 10:[45, 27, 50] Operation: 70-20=50
Exploring Operation: 70-27=43, Resulting Numbers: [20, 45, 43]
Generated Node #0,1: 10:[20, 45, 43] Operation: 70-27=43
Exploring Operation: 45-27=18, Resulting Numbers: [20, 70, 18]
Generated Node #0,2: 10:[20, 70, 18] Operation: 45-27=18
Exploring Operation: 70-45=25, Resulting Numbers: [20, 27, 25]
Generated Node #0,3: 10:[20, 27, 25] Operation: 70-45=25
Exploring Operation: 45-20=25, Resulting Numbers: [70, 27, 25]
Generated Node #0,4: 10:[70, 27, 25] Operation: 45-20=25
Moving to Node #0,3
Current State: 10:[20, 27, 25], Operations: ['70-45=25']
Exploring Operation: 20+27=47, Resulting Numbers: [25, 47]
Generated Node #0,3,0: 10:[25, 47] Operation: 20+27=47
Exploring Operation: 20+25=45, Resulting Numbers: [27, 45]
Generated Node #0,3,1: 10:[27, 45] Operation: 20+25=45
Exploring Operation: 25-20=5, Resulting Numbers: [27, 5]
Generated Node #0,3,2: 10:[27, 5] Operation: 25-20=5
Exploring Operation: 27-25=2, Resulting Numbers: [20, 2]
Generated Node #0,3,3: 10:[20, 2] Operation: 27-25=2
Exploring Operation: 27-20=7, Resulting Numbers: [25, 7]
Generated Node #0,3,4: 10:[25, 7] Operation: 27-20=7
Moving to Node #0,2
Current State: 10:[20, 70, 18], Operations: ['45-27=18']
Exploring Operation: 20+70=90, Resulting Numbers: [18, 90]
Generated Node #0,2,0: 10:[18, 90] Operation: 20+70=90
Exploring Operation: 70-20=50, Resulting Numbers: [18, 50]
Generated Node #0,2,1: 10:[18, 50] Operation: 70-20=50
Exploring Operation: 70-18=52, Resulting Numbers: [20, 52]
Generated Node #0,2,2: 10:[20, 52] Operation: 70-18=52
Exploring Operation: 20-18=2, Resulting Numbers: [70, 2]
Generated Node #0,2,3: 10:[70, 2] Operation: 20-18=2
Exploring Operation: 20+18=38, Resulting Numbers: [70, 38]
Generated Node #0,2,4: 10:[70, 38] Operation: 20+18=38
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[18, 50], Operations: ['45-27=18', '70-20=50']
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,10 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[20, 52], Operations: ['45-27=18', '70-18=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[70, 2], Operations: ['45-27=18', '20-18=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[18, 90], Operations: ['45-27=18', '20+70=90']
Exploring Operation: 18+90=108, Resulting Numbers: [108]
108,10 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 18*90=1620, Resulting Numbers: [1620]
1620,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 10:[70, 38], Operations: ['45-27=18', '20+18=38']
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,10 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,10 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[20, 45, 43], Operations: ['70-27=43']
Exploring Operation: 45-43=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 10:[20, 2] Operation: 45-43=2
Exploring Operation: 20+43=63, Resulting Numbers: [45, 63]
Generated Node #0,1,1: 10:[45, 63] Operation: 20+43=63
Exploring Operation: 45-20=25, Resulting Numbers: [43, 25]
Generated Node #0,1,2: 10:[43, 25] Operation: 45-20=25
Exploring Operation: 43-20=23, Resulting Numbers: [45, 23]
Generated Node #0,1,3: 10:[45, 23] Operation: 43-20=23
Exploring Operation: 20+45=65, Resulting Numbers: [43, 65]
Generated Node #0,1,4: 10:[43, 65] Operation: 20+45=65
Moving to Node #0,0
Current State: 10:[45, 27, 50], Operations: ['70-20=50']
Exploring Operation: 45-27=18, Resulting Numbers: [50, 18]
Generated Node #0,0,0: 10:[50, 18] Operation: 45-27=18
Exploring Operation: 45+27=72, Resulting Numbers: [50, 72]
Generated Node #0,0,1: 10:[50, 72] Operation: 45+27=72
Exploring Operation: 50-27=23, Resulting Numbers: [45, 23]
Generated Node #0,0,2: 10:[45, 23] Operation: 50-27=23
Exploring Operation: 50-45=5, Resulting Numbers: [27, 5]
Generated Node #0,0,3: 10:[27, 5] Operation: 50-45=5
Exploring Operation: 45+50=95, Resulting Numbers: [27, 95]
Generated Node #0,0,4: 10:[27, 95] Operation: 45+50=95
Moving to Node #0,4
Current State: 10:[70, 27, 25], Operations: ['45-20=25']
Exploring Operation: 70-25=45, Resulting Numbers: [27, 45]
Generated Node #0,4,0: 10:[27, 45] Operation: 70-25=45
Exploring Operation: 70-27=43, Resulting Numbers: [25, 43]
Generated Node #0,4,1: 10:[25, 43] Operation: 70-27=43
Exploring Operation: 27-25=2, Resulting Numbers: [70, 2]
Generated Node #0,4,2: 10:[70, 2] Operation: 27-25=2
Exploring Operation: 70+27=97, Resulting Numbers: [25, 97]
Generated Node #0,4,3: 10:[25, 97] Operation: 70+27=97
Exploring Operation: 70+25=95, Resulting Numbers: [27, 95]
Generated Node #0,4,4: 10:[27, 95] Operation: 70+25=95
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[25, 43], Operations: ['45-20=25', '70-27=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 10:[27, 45], Operations: ['45-20=25', '70-25=45']
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,10 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 10:[70, 2], Operations: ['45-20=25', '27-25=2']
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 10:[25, 97], Operations: ['45-20=25', '70+27=97']
Exploring Operation: 25*97=2425, Resulting Numbers: [2425]
2425,10 unequal: No Solution
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 25+97=122, Resulting Numbers: [122]
122,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[27, 95], Operations: ['45-20=25', '70+25=95']
Exploring Operation: 27*95=2565, Resulting Numbers: [2565]
2565,10 unequal: No Solution
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 27+95=122, Resulting Numbers: [122]
122,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 10:[20, 2], Operations: ['70-45=25', '27-25=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[20, 70, 45, 27], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [20, 27, 25]
Generated Node #0,3: 10:[20, 27, 25] Operation: 70-45=25
Moving to Node #0,3
Current State: 10:[20, 27, 25], Operations: ['70-45=25']
Exploring Operation: 27-25=2, Resulting Numbers: [20, 2]
Generated Node #0,3,3: 10:[20, 2] Operation: 27-25=2
Moving to Node #0,3,3
Current State: 10:[20, 2], Operations: ['70-45=25', '27-25=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.940104 | hs_5 | mult_heuristic |
[
17,
92,
44,
4
] | 86 | [
"92-17=75",
"44/4=11",
"75+11=86"
] | Current State: 86:[17, 92, 44, 4], Operations: []
Exploring Operation: 92-17=75, Resulting Numbers: [44, 4, 75]
Generated Node #2: [44, 4, 75] from Operation: 92-17=75
Current State: 86:[44, 4, 75], Operations: ['92-17=75']
Exploring Operation: 44/4=11, Resulting Numbers: [75, 11]
Generated Node #3: [75, 11] from Operation: 44/4=11
Current State: 86:[75, 11], Operations: ['92-17=75', '44/4=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[17, 92, 44, 4], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [17, 4, 48]
Generated Node #0,0: 86:[17, 4, 48] Operation: 92-44=48
Exploring Operation: 92-4=88, Resulting Numbers: [17, 44, 88]
Generated Node #0,1: 86:[17, 44, 88] Operation: 92-4=88
Exploring Operation: 17-4=13, Resulting Numbers: [92, 44, 13]
Generated Node #0,2: 86:[92, 44, 13] Operation: 17-4=13
Exploring Operation: 92-17=75, Resulting Numbers: [44, 4, 75]
Generated Node #0,3: 86:[44, 4, 75] Operation: 92-17=75
Moving to Node #0,3
Current State: 86:[44, 4, 75], Operations: ['92-17=75']
Exploring Operation: 44-4=40, Resulting Numbers: [75, 40]
Generated Node #0,3,0: 86:[75, 40] Operation: 44-4=40
Exploring Operation: 75-44=31, Resulting Numbers: [4, 31]
Generated Node #0,3,1: 86:[4, 31] Operation: 75-44=31
Exploring Operation: 4+75=79, Resulting Numbers: [44, 79]
Generated Node #0,3,2: 86:[44, 79] Operation: 4+75=79
Exploring Operation: 44+4=48, Resulting Numbers: [75, 48]
Generated Node #0,3,3: 86:[75, 48] Operation: 44+4=48
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[44, 79], Operations: ['92-17=75', '4+75=79']
Exploring Operation: 44*79=3476, Resulting Numbers: [3476]
3476,86 unequal: No Solution
Exploring Operation: 44+79=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[75, 40], Operations: ['92-17=75', '44-4=40']
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,86 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[4, 31], Operations: ['92-17=75', '75-44=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[75, 48], Operations: ['92-17=75', '44+4=48']
Exploring Operation: 75*48=3600, Resulting Numbers: [3600]
3600,86 unequal: No Solution
Exploring Operation: 75+48=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[92, 44, 13], Operations: ['17-4=13']
Exploring Operation: 92+13=105, Resulting Numbers: [44, 105]
Generated Node #0,2,0: 86:[44, 105] Operation: 92+13=105
Exploring Operation: 92-13=79, Resulting Numbers: [44, 79]
Generated Node #0,2,1: 86:[44, 79] Operation: 92-13=79
Exploring Operation: 44-13=31, Resulting Numbers: [92, 31]
Generated Node #0,2,2: 86:[92, 31] Operation: 44-13=31
Exploring Operation: 92-44=48, Resulting Numbers: [13, 48]
Generated Node #0,2,3: 86:[13, 48] Operation: 92-44=48
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[44, 79], Operations: ['17-4=13', '92-13=79']
Exploring Operation: 44+79=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 44*79=3476, Resulting Numbers: [3476]
3476,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[13, 48], Operations: ['17-4=13', '92-44=48']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[92, 31], Operations: ['17-4=13', '44-13=31']
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,86 unequal: No Solution
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[44, 105], Operations: ['17-4=13', '92+13=105']
Exploring Operation: 44*105=4620, Resulting Numbers: [4620]
4620,86 unequal: No Solution
Exploring Operation: 44+105=149, Resulting Numbers: [149]
149,86 unequal: No Solution
Exploring Operation: 105-44=61, Resulting Numbers: [61]
61,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[17, 44, 88], Operations: ['92-4=88']
Exploring Operation: 88-44=44, Resulting Numbers: [17, 44]
Generated Node #0,1,0: 86:[17, 44] Operation: 88-44=44
Exploring Operation: 88-17=71, Resulting Numbers: [44, 71]
Generated Node #0,1,1: 86:[44, 71] Operation: 88-17=71
Exploring Operation: 88/44=2, Resulting Numbers: [17, 2]
Generated Node #0,1,2: 86:[17, 2] Operation: 88/44=2
Exploring Operation: 44-17=27, Resulting Numbers: [88, 27]
Generated Node #0,1,3: 86:[88, 27] Operation: 44-17=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[17, 2], Operations: ['92-4=88', '88/44=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[17, 44], Operations: ['92-4=88', '88-44=44']
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,86 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[44, 71], Operations: ['92-4=88', '88-17=71']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[88, 27], Operations: ['92-4=88', '44-17=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 86:[17, 4, 48], Operations: ['92-44=48']
Exploring Operation: 48-17=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 86:[4, 31] Operation: 48-17=31
Exploring Operation: 17-4=13, Resulting Numbers: [48, 13]
Generated Node #0,0,1: 86:[48, 13] Operation: 17-4=13
Exploring Operation: 17*4=68, Resulting Numbers: [48, 68]
Generated Node #0,0,2: 86:[48, 68] Operation: 17*4=68
Exploring Operation: 48-4=44, Resulting Numbers: [17, 44]
Generated Node #0,0,3: 86:[17, 44] Operation: 48-4=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[4, 31], Operations: ['92-44=48', '48-17=31']
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[48, 13], Operations: ['92-44=48', '17-4=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,86 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[17, 44], Operations: ['92-44=48', '48-4=44']
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,86 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[48, 68], Operations: ['92-44=48', '17*4=68']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,86 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
32,
76,
7,
16
] | 90 | [
"32*7=224",
"224/16=14",
"76+14=90"
] | Current State: 90:[32, 76, 7, 16], Operations: []
Exploring Operation: 32*7=224, Resulting Numbers: [76, 16, 224]
Generated Node #2: [76, 16, 224] from Operation: 32*7=224
Current State: 90:[76, 16, 224], Operations: ['32*7=224']
Exploring Operation: 224/16=14, Resulting Numbers: [76, 14]
Generated Node #3: [76, 14] from Operation: 224/16=14
Current State: 90:[76, 14], Operations: ['32*7=224', '224/16=14']
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[32, 76, 7, 16], Operations: []
Exploring Operation: 76+16=92, Resulting Numbers: [32, 7, 92]
Generated Node #0,0: 90:[32, 7, 92] Operation: 76+16=92
Exploring Operation: 32/16=2, Resulting Numbers: [76, 7, 2]
Generated Node #0,1: 90:[76, 7, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [76, 7, 16]
Generated Node #0,2: 90:[76, 7, 16] Operation: 32-16=16
Exploring Operation: 76+7=83, Resulting Numbers: [32, 16, 83]
Generated Node #0,3: 90:[32, 16, 83] Operation: 76+7=83
Exploring Operation: 76-32=44, Resulting Numbers: [7, 16, 44]
Generated Node #0,4: 90:[7, 16, 44] Operation: 76-32=44
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[7, 16, 44], Operations: ['76-32=44']
Exploring Operation: 44-16=28, Resulting Numbers: [7, 28]
Generated Node #0,4,0: 90:[7, 28] Operation: 44-16=28
Exploring Operation: 16-7=9, Resulting Numbers: [44, 9]
Generated Node #0,4,1: 90:[44, 9] Operation: 16-7=9
Exploring Operation: 44-7=37, Resulting Numbers: [16, 37]
Generated Node #0,4,2: 90:[16, 37] Operation: 44-7=37
Exploring Operation: 7+44=51, Resulting Numbers: [16, 51]
Generated Node #0,4,3: 90:[16, 51] Operation: 7+44=51
Exploring Operation: 7+16=23, Resulting Numbers: [44, 23]
Generated Node #0,4,4: 90:[44, 23] Operation: 7+16=23
Moving to Node #0,4,1
Current State: 90:[44, 9], Operations: ['76-32=44', '16-7=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,90 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Moving to Node #0,4,0
Current State: 90:[7, 28], Operations: ['76-32=44', '44-16=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[44, 23], Operations: ['76-32=44', '7+16=23']
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[16, 51], Operations: ['76-32=44', '7+44=51']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,90 unequal: No Solution
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[16, 37], Operations: ['76-32=44', '44-7=37']
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,90 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[32, 7, 92], Operations: ['76+16=92']
Exploring Operation: 92-32=60, Resulting Numbers: [7, 60]
Generated Node #0,0,0: 90:[7, 60] Operation: 92-32=60
Exploring Operation: 32-7=25, Resulting Numbers: [92, 25]
Generated Node #0,0,1: 90:[92, 25] Operation: 32-7=25
Exploring Operation: 92-7=85, Resulting Numbers: [32, 85]
Generated Node #0,0,2: 90:[32, 85] Operation: 92-7=85
Exploring Operation: 32+7=39, Resulting Numbers: [92, 39]
Generated Node #0,0,3: 90:[92, 39] Operation: 32+7=39
Exploring Operation: 7+92=99, Resulting Numbers: [32, 99]
Generated Node #0,0,4: 90:[32, 99] Operation: 7+92=99
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[92, 25], Operations: ['76+16=92', '32-7=25']
Exploring Operation: 92*25=2300, Resulting Numbers: [2300]
2300,90 unequal: No Solution
Exploring Operation: 92-25=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 92+25=117, Resulting Numbers: [117]
117,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[32, 85], Operations: ['76+16=92', '92-7=85']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 32*85=2720, Resulting Numbers: [2720]
2720,90 unequal: No Solution
Exploring Operation: 32+85=117, Resulting Numbers: [117]
117,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[92, 39], Operations: ['76+16=92', '32+7=39']
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 92+39=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 92*39=3588, Resulting Numbers: [3588]
3588,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[32, 99], Operations: ['76+16=92', '7+92=99']
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[7, 60], Operations: ['76+16=92', '92-32=60']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[32, 16, 83], Operations: ['76+7=83']
Exploring Operation: 32+16=48, Resulting Numbers: [83, 48]
Generated Node #0,3,0: 90:[83, 48] Operation: 32+16=48
Exploring Operation: 32/16=2, Resulting Numbers: [83, 2]
Generated Node #0,3,1: 90:[83, 2] Operation: 32/16=2
Exploring Operation: 83-32=51, Resulting Numbers: [16, 51]
Generated Node #0,3,2: 90:[16, 51] Operation: 83-32=51
Exploring Operation: 16+83=99, Resulting Numbers: [32, 99]
Generated Node #0,3,3: 90:[32, 99] Operation: 16+83=99
Exploring Operation: 32-16=16, Resulting Numbers: [83, 16]
Generated Node #0,3,4: 90:[83, 16] Operation: 32-16=16
Moving to Node #0,3,1
Current State: 90:[83, 2], Operations: ['76+7=83', '32/16=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,90 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[16, 51], Operations: ['76+7=83', '83-32=51']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,90 unequal: No Solution
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[83, 16], Operations: ['76+7=83', '32-16=16']
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,90 unequal: No Solution
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[83, 48], Operations: ['76+7=83', '32+16=48']
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,90 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[32, 99], Operations: ['76+7=83', '16+83=99']
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[76, 7, 2], Operations: ['32/16=2']
Exploring Operation: 7-2=5, Resulting Numbers: [76, 5]
Generated Node #0,1,0: 90:[76, 5] Operation: 7-2=5
Exploring Operation: 76+7=83, Resulting Numbers: [2, 83]
Generated Node #0,1,1: 90:[2, 83] Operation: 76+7=83
Exploring Operation: 7+2=9, Resulting Numbers: [76, 9]
Generated Node #0,1,2: 90:[76, 9] Operation: 7+2=9
Exploring Operation: 76+2=78, Resulting Numbers: [7, 78]
Generated Node #0,1,3: 90:[7, 78] Operation: 76+2=78
Exploring Operation: 76/2=38, Resulting Numbers: [7, 38]
Generated Node #0,1,4: 90:[7, 38] Operation: 76/2=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[2, 83], Operations: ['32/16=2', '76+7=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 90:[7, 38], Operations: ['32/16=2', '76/2=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[7, 78], Operations: ['32/16=2', '76+2=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,90 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[76, 5], Operations: ['32/16=2', '7-2=5']
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,90 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[76, 9], Operations: ['32/16=2', '7+2=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,90 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[76, 7, 16], Operations: ['32-16=16']
Exploring Operation: 76+7=83, Resulting Numbers: [16, 83]
Generated Node #0,2,0: 90:[16, 83] Operation: 76+7=83
Exploring Operation: 16-7=9, Resulting Numbers: [76, 9]
Generated Node #0,2,1: 90:[76, 9] Operation: 16-7=9
Exploring Operation: 76+16=92, Resulting Numbers: [7, 92]
Generated Node #0,2,2: 90:[7, 92] Operation: 76+16=92
Exploring Operation: 7+16=23, Resulting Numbers: [76, 23]
Generated Node #0,2,3: 90:[76, 23] Operation: 7+16=23
Exploring Operation: 76-16=60, Resulting Numbers: [7, 60]
Generated Node #0,2,4: 90:[7, 60] Operation: 76-16=60
Moving to Node #0,2,2
Current State: 90:[7, 92], Operations: ['32-16=16', '76+16=92']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,90 unequal: No Solution
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[16, 83], Operations: ['32-16=16', '76+7=83']
Exploring Operation: 16*83=1328, Resulting Numbers: [1328]
1328,90 unequal: No Solution
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[76, 9], Operations: ['32-16=16', '16-7=9']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,90 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[7, 60], Operations: ['32-16=16', '76-16=60']
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[76, 23], Operations: ['32-16=16', '7+16=23']
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
49,
15,
3,
90
] | 47 | [
"15*3=45",
"90/45=2",
"49-2=47"
] | Current State: 47:[49, 15, 3, 90], Operations: []
Exploring Operation: 15*3=45, Resulting Numbers: [49, 90, 45]
Generated Node #2: [49, 90, 45] from Operation: 15*3=45
Current State: 47:[49, 90, 45], Operations: ['15*3=45']
Exploring Operation: 90/45=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 90/45=2
Current State: 47:[49, 2], Operations: ['15*3=45', '90/45=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[49, 15, 3, 90], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [49, 3, 75]
Generated Node #0,0: 47:[49, 3, 75] Operation: 90-15=75
Exploring Operation: 90/3=30, Resulting Numbers: [49, 15, 30]
Generated Node #0,1: 47:[49, 15, 30] Operation: 90/3=30
Exploring Operation: 15+3=18, Resulting Numbers: [49, 90, 18]
Generated Node #0,2: 47:[49, 90, 18] Operation: 15+3=18
Exploring Operation: 15*3=45, Resulting Numbers: [49, 90, 45]
Generated Node #0,3: 47:[49, 90, 45] Operation: 15*3=45
Moving to Node #0,3
Current State: 47:[49, 90, 45], Operations: ['15*3=45']
Exploring Operation: 90-45=45, Resulting Numbers: [49, 45]
Generated Node #0,3,0: 47:[49, 45] Operation: 90-45=45
Exploring Operation: 90-49=41, Resulting Numbers: [45, 41]
Generated Node #0,3,1: 47:[45, 41] Operation: 90-49=41
Exploring Operation: 49-45=4, Resulting Numbers: [90, 4]
Generated Node #0,3,2: 47:[90, 4] Operation: 49-45=4
Exploring Operation: 90/45=2, Resulting Numbers: [49, 2]
Generated Node #0,3,3: 47:[49, 2] Operation: 90/45=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[49, 45], Operations: ['15*3=45', '90-45=45']
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,47 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[45, 41], Operations: ['15*3=45', '90-49=41']
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,47 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[49, 2], Operations: ['15*3=45', '90/45=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[49, 15, 3, 90], Operations: []
Exploring Operation: 15*3=45, Resulting Numbers: [49, 90, 45]
Generated Node #0,3: 47:[49, 90, 45] Operation: 15*3=45
Moving to Node #0,3
Current State: 47:[49, 90, 45], Operations: ['15*3=45']
Exploring Operation: 90/45=2, Resulting Numbers: [49, 2]
Generated Node #0,3,3: 47:[49, 2] Operation: 90/45=2
Moving to Node #0,3,3
Current State: 47:[49, 2], Operations: ['15*3=45', '90/45=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
49,
90,
34,
30
] | 23 | [
"90-49=41",
"34+30=64",
"64-41=23"
] | Current State: 23:[49, 90, 34, 30], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [34, 30, 41]
Generated Node #2: [34, 30, 41] from Operation: 90-49=41
Current State: 23:[34, 30, 41], Operations: ['90-49=41']
Exploring Operation: 34+30=64, Resulting Numbers: [41, 64]
Generated Node #3: [41, 64] from Operation: 34+30=64
Current State: 23:[41, 64], Operations: ['90-49=41', '34+30=64']
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[49, 90, 34, 30], Operations: []
Exploring Operation: 90-30=60, Resulting Numbers: [49, 34, 60]
Generated Node #0,0: 23:[49, 34, 60] Operation: 90-30=60
Exploring Operation: 90-34=56, Resulting Numbers: [49, 30, 56]
Generated Node #0,1: 23:[49, 30, 56] Operation: 90-34=56
Exploring Operation: 49-34=15, Resulting Numbers: [90, 30, 15]
Generated Node #0,2: 23:[90, 30, 15] Operation: 49-34=15
Exploring Operation: 90/30=3, Resulting Numbers: [49, 34, 3]
Generated Node #0,3: 23:[49, 34, 3] Operation: 90/30=3
Exploring Operation: 90-49=41, Resulting Numbers: [34, 30, 41]
Generated Node #0,4: 23:[34, 30, 41] Operation: 90-49=41
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[34, 30, 41], Operations: ['90-49=41']
Exploring Operation: 41-34=7, Resulting Numbers: [30, 7]
Generated Node #0,4,0: 23:[30, 7] Operation: 41-34=7
Exploring Operation: 34+41=75, Resulting Numbers: [30, 75]
Generated Node #0,4,1: 23:[30, 75] Operation: 34+41=75
Exploring Operation: 34+30=64, Resulting Numbers: [41, 64]
Generated Node #0,4,2: 23:[41, 64] Operation: 34+30=64
Exploring Operation: 34-30=4, Resulting Numbers: [41, 4]
Generated Node #0,4,3: 23:[41, 4] Operation: 34-30=4
Exploring Operation: 41-30=11, Resulting Numbers: [34, 11]
Generated Node #0,4,4: 23:[34, 11] Operation: 41-30=11
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 23:[30, 7], Operations: ['90-49=41', '41-34=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,23 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[49, 90, 34, 30], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [34, 30, 41]
Generated Node #0,4: 23:[34, 30, 41] Operation: 90-49=41
Moving to Node #0,4
Current State: 23:[34, 30, 41], Operations: ['90-49=41']
Exploring Operation: 41-34=7, Resulting Numbers: [30, 7]
Generated Node #0,4,0: 23:[30, 7] Operation: 41-34=7
Moving to Node #0,4,0
Current State: 23:[30, 7], Operations: ['90-49=41', '41-34=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
25,
19,
90,
91
] | 43 | [
"25+19=44",
"91-90=1",
"44-1=43"
] | Current State: 43:[25, 19, 90, 91], Operations: []
Exploring Operation: 25+19=44, Resulting Numbers: [90, 91, 44]
Generated Node #2: [90, 91, 44] from Operation: 25+19=44
Current State: 43:[90, 91, 44], Operations: ['25+19=44']
Exploring Operation: 91-90=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 91-90=1
Current State: 43:[44, 1], Operations: ['25+19=44', '91-90=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[25, 19, 90, 91], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [19, 90, 66]
Generated Node #0,0: 43:[19, 90, 66] Operation: 91-25=66
Exploring Operation: 90-25=65, Resulting Numbers: [19, 91, 65]
Generated Node #0,1: 43:[19, 91, 65] Operation: 90-25=65
Exploring Operation: 90-19=71, Resulting Numbers: [25, 91, 71]
Generated Node #0,2: 43:[25, 91, 71] Operation: 90-19=71
Exploring Operation: 91-19=72, Resulting Numbers: [25, 90, 72]
Generated Node #0,3: 43:[25, 90, 72] Operation: 91-19=72
Exploring Operation: 91-90=1, Resulting Numbers: [25, 19, 1]
Generated Node #0,4: 43:[25, 19, 1] Operation: 91-90=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[25, 19, 1], Operations: ['91-90=1']
Exploring Operation: 25*1=25, Resulting Numbers: [19, 25]
Generated Node #0,4,0: 43:[19, 25] Operation: 25*1=25
Exploring Operation: 19*1=19, Resulting Numbers: [25, 19]
Generated Node #0,4,1: 43:[25, 19] Operation: 19*1=19
Exploring Operation: 19+1=20, Resulting Numbers: [25, 20]
Generated Node #0,4,2: 43:[25, 20] Operation: 19+1=20
Exploring Operation: 25+1=26, Resulting Numbers: [19, 26]
Generated Node #0,4,3: 43:[19, 26] Operation: 25+1=26
Exploring Operation: 25/1=25, Resulting Numbers: [19, 25]
Generated Node #0,4,4: 43:[19, 25] Operation: 25/1=25
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 43:[25, 20], Operations: ['91-90=1', '19+1=20']
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,43 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 43:[19, 26], Operations: ['91-90=1', '25+1=26']
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,43 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 43:[19, 25], Operations: ['91-90=1', '25*1=25']
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 43:[25, 19], Operations: ['91-90=1', '19*1=19']
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,43 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 43:[19, 25], Operations: ['91-90=1', '25/1=25']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[19, 90, 66], Operations: ['91-25=66']
Exploring Operation: 19+66=85, Resulting Numbers: [90, 85]
Generated Node #0,0,0: 43:[90, 85] Operation: 19+66=85
Exploring Operation: 19+90=109, Resulting Numbers: [66, 109]
Generated Node #0,0,1: 43:[66, 109] Operation: 19+90=109
Exploring Operation: 90-19=71, Resulting Numbers: [66, 71]
Generated Node #0,0,2: 43:[66, 71] Operation: 90-19=71
Exploring Operation: 90-66=24, Resulting Numbers: [19, 24]
Generated Node #0,0,3: 43:[19, 24] Operation: 90-66=24
Exploring Operation: 66-19=47, Resulting Numbers: [90, 47]
Generated Node #0,0,4: 43:[90, 47] Operation: 66-19=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[19, 24], Operations: ['91-25=66', '90-66=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[25, 19, 90, 91], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [19, 90, 66]
Generated Node #0,0: 43:[19, 90, 66] Operation: 91-25=66
Moving to Node #0,0
Current State: 43:[19, 90, 66], Operations: ['91-25=66']
Exploring Operation: 90-66=24, Resulting Numbers: [19, 24]
Generated Node #0,0,3: 43:[19, 24] Operation: 90-66=24
Moving to Node #0,0,3
Current State: 43:[19, 24], Operations: ['91-25=66', '90-66=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
55,
52,
15,
63
] | 81 | [
"55-52=3",
"15+63=78",
"3+78=81"
] | Current State: 81:[55, 52, 15, 63], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [15, 63, 3]
Generated Node #2: [15, 63, 3] from Operation: 55-52=3
Current State: 81:[15, 63, 3], Operations: ['55-52=3']
Exploring Operation: 15+63=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 15+63=78
Current State: 81:[3, 78], Operations: ['55-52=3', '15+63=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[55, 52, 15, 63], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [55, 15, 11]
Generated Node #0,0: 81:[55, 15, 11] Operation: 63-52=11
Exploring Operation: 63-55=8, Resulting Numbers: [52, 15, 8]
Generated Node #0,1: 81:[52, 15, 8] Operation: 63-55=8
Exploring Operation: 55-52=3, Resulting Numbers: [15, 63, 3]
Generated Node #0,2: 81:[15, 63, 3] Operation: 55-52=3
Exploring Operation: 55+52=107, Resulting Numbers: [15, 63, 107]
Generated Node #0,3: 81:[15, 63, 107] Operation: 55+52=107
Moving to Node #0,2
Current State: 81:[15, 63, 3], Operations: ['55-52=3']
Exploring Operation: 15+63=78, Resulting Numbers: [3, 78]
Generated Node #0,2,0: 81:[3, 78] Operation: 15+63=78
Exploring Operation: 63-15=48, Resulting Numbers: [3, 48]
Generated Node #0,2,1: 81:[3, 48] Operation: 63-15=48
Exploring Operation: 63/3=21, Resulting Numbers: [15, 21]
Generated Node #0,2,2: 81:[15, 21] Operation: 63/3=21
Exploring Operation: 15/3=5, Resulting Numbers: [63, 5]
Generated Node #0,2,3: 81:[63, 5] Operation: 15/3=5
Moving to Node #0,1
Current State: 81:[52, 15, 8], Operations: ['63-55=8']
Exploring Operation: 52-8=44, Resulting Numbers: [15, 44]
Generated Node #0,1,0: 81:[15, 44] Operation: 52-8=44
Exploring Operation: 52+15=67, Resulting Numbers: [8, 67]
Generated Node #0,1,1: 81:[8, 67] Operation: 52+15=67
Exploring Operation: 52-15=37, Resulting Numbers: [8, 37]
Generated Node #0,1,2: 81:[8, 37] Operation: 52-15=37
Exploring Operation: 52+8=60, Resulting Numbers: [15, 60]
Generated Node #0,1,3: 81:[15, 60] Operation: 52+8=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[8, 37], Operations: ['63-55=8', '52-15=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[8, 67], Operations: ['63-55=8', '52+15=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,81 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[15, 44], Operations: ['63-55=8', '52-8=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,81 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[15, 60], Operations: ['63-55=8', '52+8=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,81 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 81:[55, 15, 11], Operations: ['63-52=11']
Exploring Operation: 55/11=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 81:[15, 5] Operation: 55/11=5
Exploring Operation: 55+15=70, Resulting Numbers: [11, 70]
Generated Node #0,0,1: 81:[11, 70] Operation: 55+15=70
Exploring Operation: 55+11=66, Resulting Numbers: [15, 66]
Generated Node #0,0,2: 81:[15, 66] Operation: 55+11=66
Exploring Operation: 55-15=40, Resulting Numbers: [11, 40]
Generated Node #0,0,3: 81:[11, 40] Operation: 55-15=40
Moving to Node #0,3
Current State: 81:[15, 63, 107], Operations: ['55+52=107']
Exploring Operation: 15+63=78, Resulting Numbers: [107, 78]
Generated Node #0,3,0: 81:[107, 78] Operation: 15+63=78
Exploring Operation: 107-15=92, Resulting Numbers: [63, 92]
Generated Node #0,3,1: 81:[63, 92] Operation: 107-15=92
Exploring Operation: 107-63=44, Resulting Numbers: [15, 44]
Generated Node #0,3,2: 81:[15, 44] Operation: 107-63=44
Exploring Operation: 63-15=48, Resulting Numbers: [107, 48]
Generated Node #0,3,3: 81:[107, 48] Operation: 63-15=48
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[15, 44], Operations: ['55+52=107', '107-63=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[107, 78], Operations: ['55+52=107', '15+63=78']
Exploring Operation: 107*78=8346, Resulting Numbers: [8346]
8346,81 unequal: No Solution
Exploring Operation: 107+78=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Exploring Operation: 107-78=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[63, 92], Operations: ['55+52=107', '107-15=92']
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,81 unequal: No Solution
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,81 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[107, 48], Operations: ['55+52=107', '63-15=48']
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 107*48=5136, Resulting Numbers: [5136]
5136,81 unequal: No Solution
Exploring Operation: 107+48=155, Resulting Numbers: [155]
155,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 81:[3, 78], Operations: ['55-52=3', '15+63=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,81 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[55, 52, 15, 63], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [15, 63, 3]
Generated Node #0,2: 81:[15, 63, 3] Operation: 55-52=3
Moving to Node #0,2
Current State: 81:[15, 63, 3], Operations: ['55-52=3']
Exploring Operation: 15+63=78, Resulting Numbers: [3, 78]
Generated Node #0,2,0: 81:[3, 78] Operation: 15+63=78
Moving to Node #0,2,0
Current State: 81:[3, 78], Operations: ['55-52=3', '15+63=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
83,
62,
54,
58
] | 84 | [
"83-62=21",
"58-54=4",
"21*4=84"
] | Current State: 84:[83, 62, 54, 58], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [54, 58, 21]
Generated Node #2: [54, 58, 21] from Operation: 83-62=21
Current State: 84:[54, 58, 21], Operations: ['83-62=21']
Exploring Operation: 58-54=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 58-54=4
Current State: 84:[21, 4], Operations: ['83-62=21', '58-54=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[83, 62, 54, 58], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [83, 54, 4]
Generated Node #0,0: 84:[83, 54, 4] Operation: 62-58=4
Exploring Operation: 62-54=8, Resulting Numbers: [83, 58, 8]
Generated Node #0,1: 84:[83, 58, 8] Operation: 62-54=8
Exploring Operation: 58-54=4, Resulting Numbers: [83, 62, 4]
Generated Node #0,2: 84:[83, 62, 4] Operation: 58-54=4
Exploring Operation: 83-62=21, Resulting Numbers: [54, 58, 21]
Generated Node #0,3: 84:[54, 58, 21] Operation: 83-62=21
Moving to Node #0,0
Current State: 84:[83, 54, 4], Operations: ['62-58=4']
Exploring Operation: 54-4=50, Resulting Numbers: [83, 50]
Generated Node #0,0,0: 84:[83, 50] Operation: 54-4=50
Exploring Operation: 83-4=79, Resulting Numbers: [54, 79]
Generated Node #0,0,1: 84:[54, 79] Operation: 83-4=79
Exploring Operation: 83-54=29, Resulting Numbers: [4, 29]
Generated Node #0,0,2: 84:[4, 29] Operation: 83-54=29
Exploring Operation: 83+4=87, Resulting Numbers: [54, 87]
Generated Node #0,0,3: 84:[54, 87] Operation: 83+4=87
Moving to Node #0,1
Current State: 84:[83, 58, 8], Operations: ['62-54=8']
Exploring Operation: 58-8=50, Resulting Numbers: [83, 50]
Generated Node #0,1,0: 84:[83, 50] Operation: 58-8=50
Exploring Operation: 83+8=91, Resulting Numbers: [58, 91]
Generated Node #0,1,1: 84:[58, 91] Operation: 83+8=91
Exploring Operation: 83-58=25, Resulting Numbers: [8, 25]
Generated Node #0,1,2: 84:[8, 25] Operation: 83-58=25
Exploring Operation: 58+8=66, Resulting Numbers: [83, 66]
Generated Node #0,1,3: 84:[83, 66] Operation: 58+8=66
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[8, 25], Operations: ['62-54=8', '83-58=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[83, 50], Operations: ['62-54=8', '58-8=50']
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[83, 66], Operations: ['62-54=8', '58+8=66']
Exploring Operation: 83+66=149, Resulting Numbers: [149]
149,84 unequal: No Solution
Exploring Operation: 83*66=5478, Resulting Numbers: [5478]
5478,84 unequal: No Solution
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[58, 91], Operations: ['62-54=8', '83+8=91']
Exploring Operation: 58*91=5278, Resulting Numbers: [5278]
5278,84 unequal: No Solution
Exploring Operation: 58+91=149, Resulting Numbers: [149]
149,84 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 84:[83, 62, 4], Operations: ['58-54=4']
Exploring Operation: 62-4=58, Resulting Numbers: [83, 58]
Generated Node #0,2,0: 84:[83, 58] Operation: 62-4=58
Exploring Operation: 83-62=21, Resulting Numbers: [4, 21]
Generated Node #0,2,1: 84:[4, 21] Operation: 83-62=21
Exploring Operation: 62+4=66, Resulting Numbers: [83, 66]
Generated Node #0,2,2: 84:[83, 66] Operation: 62+4=66
Exploring Operation: 83+4=87, Resulting Numbers: [62, 87]
Generated Node #0,2,3: 84:[62, 87] Operation: 83+4=87
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[4, 21], Operations: ['58-54=4', '83-62=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[83, 62, 54, 58], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [83, 62, 4]
Generated Node #0,2: 84:[83, 62, 4] Operation: 58-54=4
Moving to Node #0,2
Current State: 84:[83, 62, 4], Operations: ['58-54=4']
Exploring Operation: 83-62=21, Resulting Numbers: [4, 21]
Generated Node #0,2,1: 84:[4, 21] Operation: 83-62=21
Moving to Node #0,2,1
Current State: 84:[4, 21], Operations: ['58-54=4', '83-62=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
47,
6,
46,
15
] | 91 | [
"47-46=1",
"6*15=90",
"1+90=91"
] | Current State: 91:[47, 6, 46, 15], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [6, 15, 1]
Generated Node #2: [6, 15, 1] from Operation: 47-46=1
Current State: 91:[6, 15, 1], Operations: ['47-46=1']
Exploring Operation: 6*15=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 6*15=90
Current State: 91:[1, 90], Operations: ['47-46=1', '6*15=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[47, 6, 46, 15], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [6, 15, 1]
Generated Node #0,0: 91:[6, 15, 1] Operation: 47-46=1
Exploring Operation: 47+46=93, Resulting Numbers: [6, 15, 93]
Generated Node #0,1: 91:[6, 15, 93] Operation: 47+46=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[6, 15, 93], Operations: ['47+46=93']
Exploring Operation: 6*15=90, Resulting Numbers: [93, 90]
Generated Node #0,1,0: 91:[93, 90] Operation: 6*15=90
Exploring Operation: 15-6=9, Resulting Numbers: [93, 9]
Generated Node #0,1,1: 91:[93, 9] Operation: 15-6=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[93, 90], Operations: ['47+46=93', '6*15=90']
Exploring Operation: 93+90=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[93, 9], Operations: ['47+46=93', '15-6=9']
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[6, 15, 1], Operations: ['47-46=1']
Exploring Operation: 6+1=7, Resulting Numbers: [15, 7]
Generated Node #0,0,0: 91:[15, 7] Operation: 6+1=7
Exploring Operation: 15-1=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 91:[6, 14] Operation: 15-1=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[15, 7], Operations: ['47-46=1', '6+1=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[6, 14], Operations: ['47-46=1', '15-1=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
8,
91,
13
] | 78 | [
"5+8=13",
"13*13=169",
"169-91=78"
] | Current State: 78:[5, 8, 91, 13], Operations: []
Exploring Operation: 5+8=13, Resulting Numbers: [91, 13, 13]
Generated Node #2: [91, 13, 13] from Operation: 5+8=13
Current State: 78:[91, 13, 13], Operations: ['5+8=13']
Exploring Operation: 13*13=169, Resulting Numbers: [91, 169]
Generated Node #3: [91, 169] from Operation: 13*13=169
Current State: 78:[91, 169], Operations: ['5+8=13', '13*13=169']
Exploring Operation: 169-91=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[5, 8, 91, 13], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [5, 8, 78]
Generated Node #0,0: 78:[5, 8, 78] Operation: 91-13=78
Moving to Node #0,0
Current State: 78:[5, 8, 78], Operations: ['91-13=78']
Exploring Operation: 5+8=13, Resulting Numbers: [78, 13]
Generated Node #0,0,0: 78:[78, 13] Operation: 5+8=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[78, 13], Operations: ['91-13=78', '5+8=13']
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
33,
5,
40
] | 46 | [
"87-33=54",
"40/5=8",
"54-8=46"
] | Current State: 46:[87, 33, 5, 40], Operations: []
Exploring Operation: 87-33=54, Resulting Numbers: [5, 40, 54]
Generated Node #2: [5, 40, 54] from Operation: 87-33=54
Current State: 46:[5, 40, 54], Operations: ['87-33=54']
Exploring Operation: 40/5=8, Resulting Numbers: [54, 8]
Generated Node #3: [54, 8] from Operation: 40/5=8
Current State: 46:[54, 8], Operations: ['87-33=54', '40/5=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[87, 33, 5, 40], Operations: []
Exploring Operation: 87-40=47, Resulting Numbers: [33, 5, 47]
Generated Node #0,0: 46:[33, 5, 47] Operation: 87-40=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[33, 5, 47], Operations: ['87-40=47']
Exploring Operation: 33-5=28, Resulting Numbers: [47, 28]
Generated Node #0,0,0: 46:[47, 28] Operation: 33-5=28
Moving to Node #0,0,0
Current State: 46:[47, 28], Operations: ['87-40=47', '33-5=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
45,
70,
59
] | 75 | [
"19+45=64",
"70-59=11",
"64+11=75"
] | Current State: 75:[19, 45, 70, 59], Operations: []
Exploring Operation: 19+45=64, Resulting Numbers: [70, 59, 64]
Generated Node #2: [70, 59, 64] from Operation: 19+45=64
Current State: 75:[70, 59, 64], Operations: ['19+45=64']
Exploring Operation: 70-59=11, Resulting Numbers: [64, 11]
Generated Node #3: [64, 11] from Operation: 70-59=11
Current State: 75:[64, 11], Operations: ['19+45=64', '70-59=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[19, 45, 70, 59], Operations: []
Exploring Operation: 45-19=26, Resulting Numbers: [70, 59, 26]
Generated Node #0,0: 75:[70, 59, 26] Operation: 45-19=26
Exploring Operation: 70-45=25, Resulting Numbers: [19, 59, 25]
Generated Node #0,1: 75:[19, 59, 25] Operation: 70-45=25
Exploring Operation: 59-45=14, Resulting Numbers: [19, 70, 14]
Generated Node #0,2: 75:[19, 70, 14] Operation: 59-45=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[19, 70, 14], Operations: ['59-45=14']
Exploring Operation: 70/14=5, Resulting Numbers: [19, 5]
Generated Node #0,2,0: 75:[19, 5] Operation: 70/14=5
Exploring Operation: 19-14=5, Resulting Numbers: [70, 5]
Generated Node #0,2,1: 75:[70, 5] Operation: 19-14=5
Exploring Operation: 19+14=33, Resulting Numbers: [70, 33]
Generated Node #0,2,2: 75:[70, 33] Operation: 19+14=33
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[19, 5], Operations: ['59-45=14', '70/14=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[70, 5], Operations: ['59-45=14', '19-14=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[19, 45, 70, 59], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [19, 70, 14]
Generated Node #0,2: 75:[19, 70, 14] Operation: 59-45=14
Moving to Node #0,2
Current State: 75:[19, 70, 14], Operations: ['59-45=14']
Exploring Operation: 19-14=5, Resulting Numbers: [70, 5]
Generated Node #0,2,1: 75:[70, 5] Operation: 19-14=5
Moving to Node #0,2,1
Current State: 75:[70, 5], Operations: ['59-45=14', '19-14=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
40,
4,
81,
59
] | 96 | [
"40+4=44",
"81+59=140",
"140-44=96"
] | Current State: 96:[40, 4, 81, 59], Operations: []
Exploring Operation: 40+4=44, Resulting Numbers: [81, 59, 44]
Generated Node #2: [81, 59, 44] from Operation: 40+4=44
Current State: 96:[81, 59, 44], Operations: ['40+4=44']
Exploring Operation: 81+59=140, Resulting Numbers: [44, 140]
Generated Node #3: [44, 140] from Operation: 81+59=140
Current State: 96:[44, 140], Operations: ['40+4=44', '81+59=140']
Exploring Operation: 140-44=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[40, 4, 81, 59], Operations: []
Exploring Operation: 40+59=99, Resulting Numbers: [4, 81, 99]
Generated Node #0,0: 96:[4, 81, 99] Operation: 40+59=99
Exploring Operation: 81-40=41, Resulting Numbers: [4, 59, 41]
Generated Node #0,1: 96:[4, 59, 41] Operation: 81-40=41
Exploring Operation: 81-59=22, Resulting Numbers: [40, 4, 22]
Generated Node #0,2: 96:[40, 4, 22] Operation: 81-59=22
Exploring Operation: 59-40=19, Resulting Numbers: [4, 81, 19]
Generated Node #0,3: 96:[4, 81, 19] Operation: 59-40=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[40, 4, 22], Operations: ['81-59=22']
Exploring Operation: 40/4=10, Resulting Numbers: [22, 10]
Generated Node #0,2,0: 96:[22, 10] Operation: 40/4=10
Exploring Operation: 40+4=44, Resulting Numbers: [22, 44]
Generated Node #0,2,1: 96:[22, 44] Operation: 40+4=44
Exploring Operation: 40-22=18, Resulting Numbers: [4, 18]
Generated Node #0,2,2: 96:[4, 18] Operation: 40-22=18
Exploring Operation: 40-4=36, Resulting Numbers: [22, 36]
Generated Node #0,2,3: 96:[22, 36] Operation: 40-4=36
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[4, 18], Operations: ['81-59=22', '40-22=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[22, 10], Operations: ['81-59=22', '40/4=10']
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,96 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[22, 44], Operations: ['81-59=22', '40+4=44']
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,96 unequal: No Solution
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[22, 36], Operations: ['81-59=22', '40-4=36']
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,96 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[4, 81, 99], Operations: ['40+59=99']
Exploring Operation: 81-4=77, Resulting Numbers: [99, 77]
Generated Node #0,0,0: 96:[99, 77] Operation: 81-4=77
Exploring Operation: 4+81=85, Resulting Numbers: [99, 85]
Generated Node #0,0,1: 96:[99, 85] Operation: 4+81=85
Exploring Operation: 99-4=95, Resulting Numbers: [81, 95]
Generated Node #0,0,2: 96:[81, 95] Operation: 99-4=95
Exploring Operation: 99-81=18, Resulting Numbers: [4, 18]
Generated Node #0,0,3: 96:[4, 18] Operation: 99-81=18
Moving to Node #0,0,3
Current State: 96:[4, 18], Operations: ['40+59=99', '99-81=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[99, 85], Operations: ['40+59=99', '4+81=85']
Exploring Operation: 99+85=184, Resulting Numbers: [184]
184,96 unequal: No Solution
Exploring Operation: 99-85=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 99*85=8415, Resulting Numbers: [8415]
8415,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[81, 95], Operations: ['40+59=99', '99-4=95']
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 81+95=176, Resulting Numbers: [176]
176,96 unequal: No Solution
Exploring Operation: 81*95=7695, Resulting Numbers: [7695]
7695,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[99, 77], Operations: ['40+59=99', '81-4=77']
Exploring Operation: 99*77=7623, Resulting Numbers: [7623]
7623,96 unequal: No Solution
Exploring Operation: 99+77=176, Resulting Numbers: [176]
176,96 unequal: No Solution
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[4, 59, 41], Operations: ['81-40=41']
Exploring Operation: 59-4=55, Resulting Numbers: [41, 55]
Generated Node #0,1,0: 96:[41, 55] Operation: 59-4=55
Exploring Operation: 59-41=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 96:[4, 18] Operation: 59-41=18
Exploring Operation: 4+41=45, Resulting Numbers: [59, 45]
Generated Node #0,1,2: 96:[59, 45] Operation: 4+41=45
Exploring Operation: 59+41=100, Resulting Numbers: [4, 100]
Generated Node #0,1,3: 96:[4, 100] Operation: 59+41=100
Moving to Node #0,1,1
Current State: 96:[4, 18], Operations: ['81-40=41', '59-41=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[4, 100], Operations: ['81-40=41', '59+41=100']
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[40, 4, 81, 59], Operations: []
Exploring Operation: 81-40=41, Resulting Numbers: [4, 59, 41]
Generated Node #0,1: 96:[4, 59, 41] Operation: 81-40=41
Moving to Node #0,1
Current State: 96:[4, 59, 41], Operations: ['81-40=41']
Exploring Operation: 59+41=100, Resulting Numbers: [4, 100]
Generated Node #0,1,3: 96:[4, 100] Operation: 59+41=100
Moving to Node #0,1,3
Current State: 96:[4, 100], Operations: ['81-40=41', '59+41=100']
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
21,
38,
25,
36
] | 23 | [
"21+25=46",
"38-36=2",
"46/2=23"
] | Current State: 23:[21, 38, 25, 36], Operations: []
Exploring Operation: 21+25=46, Resulting Numbers: [38, 36, 46]
Generated Node #2: [38, 36, 46] from Operation: 21+25=46
Current State: 23:[38, 36, 46], Operations: ['21+25=46']
Exploring Operation: 38-36=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 38-36=2
Current State: 23:[46, 2], Operations: ['21+25=46', '38-36=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[21, 38, 25, 36], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [38, 25, 15]
Generated Node #0,0: 23:[38, 25, 15] Operation: 36-21=15
Exploring Operation: 38-25=13, Resulting Numbers: [21, 36, 13]
Generated Node #0,1: 23:[21, 36, 13] Operation: 38-25=13
Exploring Operation: 38-21=17, Resulting Numbers: [25, 36, 17]
Generated Node #0,2: 23:[25, 36, 17] Operation: 38-21=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[25, 36, 17], Operations: ['38-21=17']
Exploring Operation: 36-25=11, Resulting Numbers: [17, 11]
Generated Node #0,2,0: 23:[17, 11] Operation: 36-25=11
Exploring Operation: 25-17=8, Resulting Numbers: [36, 8]
Generated Node #0,2,1: 23:[36, 8] Operation: 25-17=8
Exploring Operation: 36-17=19, Resulting Numbers: [25, 19]
Generated Node #0,2,2: 23:[25, 19] Operation: 36-17=19
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[25, 19], Operations: ['38-21=17', '36-17=19']
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,23 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[17, 11], Operations: ['38-21=17', '36-25=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,23 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[36, 8], Operations: ['38-21=17', '25-17=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[38, 25, 15], Operations: ['36-21=15']
Exploring Operation: 38-25=13, Resulting Numbers: [15, 13]
Generated Node #0,0,0: 23:[15, 13] Operation: 38-25=13
Exploring Operation: 25-15=10, Resulting Numbers: [38, 10]
Generated Node #0,0,1: 23:[38, 10] Operation: 25-15=10
Exploring Operation: 38-15=23, Resulting Numbers: [25, 23]
Generated Node #0,0,2: 23:[25, 23] Operation: 38-15=23
Moving to Node #0,0,2
Current State: 23:[25, 23], Operations: ['36-21=15', '38-15=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,23 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[15, 13], Operations: ['36-21=15', '38-25=13']
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,23 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[38, 10], Operations: ['36-21=15', '25-15=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[21, 36, 13], Operations: ['38-25=13']
Exploring Operation: 36-21=15, Resulting Numbers: [13, 15]
Generated Node #0,1,0: 23:[13, 15] Operation: 36-21=15
Exploring Operation: 21+13=34, Resulting Numbers: [36, 34]
Generated Node #0,1,1: 23:[36, 34] Operation: 21+13=34
Exploring Operation: 36-13=23, Resulting Numbers: [21, 23]
Generated Node #0,1,2: 23:[21, 23] Operation: 36-13=23
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[21, 23], Operations: ['38-25=13', '36-13=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,23 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[13, 15], Operations: ['38-25=13', '36-21=15']
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,23 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[36, 34], Operations: ['38-25=13', '21+13=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,23 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
69,
93,
94,
91
] | 38 | [
"94-91=3",
"93/3=31",
"69-31=38"
] | Current State: 38:[69, 93, 94, 91], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [69, 93, 3]
Generated Node #2: [69, 93, 3] from Operation: 94-91=3
Current State: 38:[69, 93, 3], Operations: ['94-91=3']
Exploring Operation: 93/3=31, Resulting Numbers: [69, 31]
Generated Node #3: [69, 31] from Operation: 93/3=31
Current State: 38:[69, 31], Operations: ['94-91=3', '93/3=31']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[69, 93, 94, 91], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [69, 91, 1]
Generated Node #0,0: 38:[69, 91, 1] Operation: 94-93=1
Exploring Operation: 93-91=2, Resulting Numbers: [69, 94, 2]
Generated Node #0,1: 38:[69, 94, 2] Operation: 93-91=2
Exploring Operation: 94-91=3, Resulting Numbers: [69, 93, 3]
Generated Node #0,2: 38:[69, 93, 3] Operation: 94-91=3
Moving to Node #0,0
Current State: 38:[69, 91, 1], Operations: ['94-93=1']
Exploring Operation: 69-1=68, Resulting Numbers: [91, 68]
Generated Node #0,0,0: 38:[91, 68] Operation: 69-1=68
Exploring Operation: 91-1=90, Resulting Numbers: [69, 90]
Generated Node #0,0,1: 38:[69, 90] Operation: 91-1=90
Exploring Operation: 91-69=22, Resulting Numbers: [1, 22]
Generated Node #0,0,2: 38:[1, 22] Operation: 91-69=22
Moving to Node #0,1
Current State: 38:[69, 94, 2], Operations: ['93-91=2']
Exploring Operation: 94/2=47, Resulting Numbers: [69, 47]
Generated Node #0,1,0: 38:[69, 47] Operation: 94/2=47
Exploring Operation: 94-69=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 38:[2, 25] Operation: 94-69=25
Exploring Operation: 69-2=67, Resulting Numbers: [94, 67]
Generated Node #0,1,2: 38:[94, 67] Operation: 69-2=67
Moving to Node #0,2
Current State: 38:[69, 93, 3], Operations: ['94-91=3']
Exploring Operation: 69/3=23, Resulting Numbers: [93, 23]
Generated Node #0,2,0: 38:[93, 23] Operation: 69/3=23
Exploring Operation: 93-69=24, Resulting Numbers: [3, 24]
Generated Node #0,2,1: 38:[3, 24] Operation: 93-69=24
Exploring Operation: 93/3=31, Resulting Numbers: [69, 31]
Generated Node #0,2,2: 38:[69, 31] Operation: 93/3=31
Moving to Node #0,0,2
Current State: 38:[1, 22], Operations: ['94-93=1', '91-69=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[3, 24], Operations: ['94-91=3', '93-69=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[2, 25], Operations: ['93-91=2', '94-69=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[69, 31], Operations: ['94-91=3', '93/3=31']
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[69, 93, 94, 91], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [69, 93, 3]
Generated Node #0,2: 38:[69, 93, 3] Operation: 94-91=3
Moving to Node #0,2
Current State: 38:[69, 93, 3], Operations: ['94-91=3']
Exploring Operation: 93/3=31, Resulting Numbers: [69, 31]
Generated Node #0,2,2: 38:[69, 31] Operation: 93/3=31
Moving to Node #0,2,2
Current State: 38:[69, 31], Operations: ['94-91=3', '93/3=31']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
17,
24,
28,
47
] | 51 | [
"24-17=7",
"28/7=4",
"47+4=51"
] | Current State: 51:[17, 24, 28, 47], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [28, 47, 7]
Generated Node #2: [28, 47, 7] from Operation: 24-17=7
Current State: 51:[28, 47, 7], Operations: ['24-17=7']
Exploring Operation: 28/7=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 28/7=4
Current State: 51:[47, 4], Operations: ['24-17=7', '28/7=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[17, 24, 28, 47], Operations: []
Exploring Operation: 47-28=19, Resulting Numbers: [17, 24, 19]
Generated Node #0,0: 51:[17, 24, 19] Operation: 47-28=19
Exploring Operation: 28-24=4, Resulting Numbers: [17, 47, 4]
Generated Node #0,1: 51:[17, 47, 4] Operation: 28-24=4
Exploring Operation: 24+28=52, Resulting Numbers: [17, 47, 52]
Generated Node #0,2: 51:[17, 47, 52] Operation: 24+28=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[17, 47, 4], Operations: ['28-24=4']
Exploring Operation: 47+4=51, Resulting Numbers: [17, 51]
Generated Node #0,1,0: 51:[17, 51] Operation: 47+4=51
Exploring Operation: 17+4=21, Resulting Numbers: [47, 21]
Generated Node #0,1,1: 51:[47, 21] Operation: 17+4=21
Exploring Operation: 17-4=13, Resulting Numbers: [47, 13]
Generated Node #0,1,2: 51:[47, 13] Operation: 17-4=13
Moving to Node #0,1,0
Current State: 51:[17, 51], Operations: ['28-24=4', '47+4=51']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[47, 21], Operations: ['28-24=4', '17+4=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[47, 13], Operations: ['28-24=4', '17-4=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[17, 47, 52], Operations: ['24+28=52']
Exploring Operation: 52-47=5, Resulting Numbers: [17, 5]
Generated Node #0,2,0: 51:[17, 5] Operation: 52-47=5
Exploring Operation: 17+47=64, Resulting Numbers: [52, 64]
Generated Node #0,2,1: 51:[52, 64] Operation: 17+47=64
Exploring Operation: 47-17=30, Resulting Numbers: [52, 30]
Generated Node #0,2,2: 51:[52, 30] Operation: 47-17=30
Moving to Node #0,2,0
Current State: 51:[17, 5], Operations: ['24+28=52', '52-47=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[52, 64], Operations: ['24+28=52', '17+47=64']
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,51 unequal: No Solution
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,51 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[52, 30], Operations: ['24+28=52', '47-17=30']
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[17, 24, 19], Operations: ['47-28=19']
Exploring Operation: 24-17=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 51:[19, 7] Operation: 24-17=7
Exploring Operation: 19-17=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 51:[24, 2] Operation: 19-17=2
Exploring Operation: 24-19=5, Resulting Numbers: [17, 5]
Generated Node #0,0,2: 51:[17, 5] Operation: 24-19=5
Moving to Node #0,0,2
Current State: 51:[17, 5], Operations: ['47-28=19', '24-19=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[19, 7], Operations: ['47-28=19', '24-17=7']
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,51 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[24, 2], Operations: ['47-28=19', '19-17=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
40,
61,
39
] | 69 | [
"51+40=91",
"61-39=22",
"91-22=69"
] | Current State: 69:[51, 40, 61, 39], Operations: []
Exploring Operation: 51+40=91, Resulting Numbers: [61, 39, 91]
Generated Node #2: [61, 39, 91] from Operation: 51+40=91
Current State: 69:[61, 39, 91], Operations: ['51+40=91']
Exploring Operation: 61-39=22, Resulting Numbers: [91, 22]
Generated Node #3: [91, 22] from Operation: 61-39=22
Current State: 69:[91, 22], Operations: ['51+40=91', '61-39=22']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[51, 40, 61, 39], Operations: []
Exploring Operation: 51-40=11, Resulting Numbers: [61, 39, 11]
Generated Node #0,0: 69:[61, 39, 11] Operation: 51-40=11
Exploring Operation: 40-39=1, Resulting Numbers: [51, 61, 1]
Generated Node #0,1: 69:[51, 61, 1] Operation: 40-39=1
Exploring Operation: 61-40=21, Resulting Numbers: [51, 39, 21]
Generated Node #0,2: 69:[51, 39, 21] Operation: 61-40=21
Exploring Operation: 40+39=79, Resulting Numbers: [51, 61, 79]
Generated Node #0,3: 69:[51, 61, 79] Operation: 40+39=79
Exploring Operation: 51-39=12, Resulting Numbers: [40, 61, 12]
Generated Node #0,4: 69:[40, 61, 12] Operation: 51-39=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[51, 61, 1], Operations: ['40-39=1']
Exploring Operation: 51*1=51, Resulting Numbers: [61, 51]
Generated Node #0,1,0: 69:[61, 51] Operation: 51*1=51
Exploring Operation: 61+1=62, Resulting Numbers: [51, 62]
Generated Node #0,1,1: 69:[51, 62] Operation: 61+1=62
Exploring Operation: 61-51=10, Resulting Numbers: [1, 10]
Generated Node #0,1,2: 69:[1, 10] Operation: 61-51=10
Exploring Operation: 51/1=51, Resulting Numbers: [61, 51]
Generated Node #0,1,3: 69:[61, 51] Operation: 51/1=51
Exploring Operation: 51+1=52, Resulting Numbers: [61, 52]
Generated Node #0,1,4: 69:[61, 52] Operation: 51+1=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[1, 10], Operations: ['40-39=1', '61-51=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[51, 62], Operations: ['40-39=1', '61+1=62']
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,69 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 69:[61, 52], Operations: ['40-39=1', '51+1=52']
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,69 unequal: No Solution
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,69 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[61, 51], Operations: ['40-39=1', '51*1=51']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 61*51=3111, Resulting Numbers: [3111]
3111,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 69:[61, 51], Operations: ['40-39=1', '51/1=51']
Exploring Operation: 61*51=3111, Resulting Numbers: [3111]
3111,69 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[61, 39, 11], Operations: ['51-40=11']
Exploring Operation: 39+11=50, Resulting Numbers: [61, 50]
Generated Node #0,0,0: 69:[61, 50] Operation: 39+11=50
Exploring Operation: 61+11=72, Resulting Numbers: [39, 72]
Generated Node #0,0,1: 69:[39, 72] Operation: 61+11=72
Exploring Operation: 39-11=28, Resulting Numbers: [61, 28]
Generated Node #0,0,2: 69:[61, 28] Operation: 39-11=28
Exploring Operation: 61-39=22, Resulting Numbers: [11, 22]
Generated Node #0,0,3: 69:[11, 22] Operation: 61-39=22
Exploring Operation: 61-11=50, Resulting Numbers: [39, 50]
Generated Node #0,0,4: 69:[39, 50] Operation: 61-11=50
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[11, 22], Operations: ['51-40=11', '61-39=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,69 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[61, 28], Operations: ['51-40=11', '39-11=28']
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,69 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[39, 72], Operations: ['51-40=11', '61+11=72']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[61, 50], Operations: ['51-40=11', '39+11=50']
Exploring Operation: 61+50=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Exploring Operation: 61*50=3050, Resulting Numbers: [3050]
3050,69 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 69:[39, 50], Operations: ['51-40=11', '61-11=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[40, 61, 12], Operations: ['51-39=12']
Exploring Operation: 61-12=49, Resulting Numbers: [40, 49]
Generated Node #0,4,0: 69:[40, 49] Operation: 61-12=49
Exploring Operation: 40-12=28, Resulting Numbers: [61, 28]
Generated Node #0,4,1: 69:[61, 28] Operation: 40-12=28
Exploring Operation: 61+12=73, Resulting Numbers: [40, 73]
Generated Node #0,4,2: 69:[40, 73] Operation: 61+12=73
Exploring Operation: 40+12=52, Resulting Numbers: [61, 52]
Generated Node #0,4,3: 69:[61, 52] Operation: 40+12=52
Exploring Operation: 61-40=21, Resulting Numbers: [12, 21]
Generated Node #0,4,4: 69:[12, 21] Operation: 61-40=21
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 69:[12, 21], Operations: ['51-39=12', '61-40=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,69 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 69:[61, 28], Operations: ['51-39=12', '40-12=28']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 69:[40, 73], Operations: ['51-39=12', '61+12=73']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 40*73=2920, Resulting Numbers: [2920]
2920,69 unequal: No Solution
Exploring Operation: 40+73=113, Resulting Numbers: [113]
113,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 69:[61, 52], Operations: ['51-39=12', '40+12=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,69 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,69 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[40, 49], Operations: ['51-39=12', '61-12=49']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,69 unequal: No Solution
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[51, 39, 21], Operations: ['61-40=21']
Exploring Operation: 39-21=18, Resulting Numbers: [51, 18]
Generated Node #0,2,0: 69:[51, 18] Operation: 39-21=18
Exploring Operation: 51+39=90, Resulting Numbers: [21, 90]
Generated Node #0,2,1: 69:[21, 90] Operation: 51+39=90
Exploring Operation: 51+21=72, Resulting Numbers: [39, 72]
Generated Node #0,2,2: 69:[39, 72] Operation: 51+21=72
Exploring Operation: 51-39=12, Resulting Numbers: [21, 12]
Generated Node #0,2,3: 69:[21, 12] Operation: 51-39=12
Exploring Operation: 51-21=30, Resulting Numbers: [39, 30]
Generated Node #0,2,4: 69:[39, 30] Operation: 51-21=30
Moving to Node #0,2,3
Current State: 69:[21, 12], Operations: ['61-40=21', '51-39=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,69 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[39, 72], Operations: ['61-40=21', '51+21=72']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[51, 18], Operations: ['61-40=21', '39-21=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[51, 40, 61, 39], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [51, 39, 21]
Generated Node #0,2: 69:[51, 39, 21] Operation: 61-40=21
Moving to Node #0,2
Current State: 69:[51, 39, 21], Operations: ['61-40=21']
Exploring Operation: 39-21=18, Resulting Numbers: [51, 18]
Generated Node #0,2,0: 69:[51, 18] Operation: 39-21=18
Moving to Node #0,2,0
Current State: 69:[51, 18], Operations: ['61-40=21', '39-21=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.927951 | hs_5 | mult_heuristic |
[
69,
24,
17,
83
] | 55 | [
"69-24=45",
"17+83=100",
"100-45=55"
] | Current State: 55:[69, 24, 17, 83], Operations: []
Exploring Operation: 69-24=45, Resulting Numbers: [17, 83, 45]
Generated Node #2: [17, 83, 45] from Operation: 69-24=45
Current State: 55:[17, 83, 45], Operations: ['69-24=45']
Exploring Operation: 17+83=100, Resulting Numbers: [45, 100]
Generated Node #3: [45, 100] from Operation: 17+83=100
Current State: 55:[45, 100], Operations: ['69-24=45', '17+83=100']
Exploring Operation: 100-45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[69, 24, 17, 83], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [69, 24, 66]
Generated Node #0,0: 55:[69, 24, 66] Operation: 83-17=66
Exploring Operation: 83-24=59, Resulting Numbers: [69, 17, 59]
Generated Node #0,1: 55:[69, 17, 59] Operation: 83-24=59
Exploring Operation: 83-69=14, Resulting Numbers: [24, 17, 14]
Generated Node #0,2: 55:[24, 17, 14] Operation: 83-69=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[24, 17, 14], Operations: ['83-69=14']
Exploring Operation: 24-14=10, Resulting Numbers: [17, 10]
Generated Node #0,2,0: 55:[17, 10] Operation: 24-14=10
Exploring Operation: 17-14=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 55:[24, 3] Operation: 17-14=3
Exploring Operation: 24-17=7, Resulting Numbers: [14, 7]
Generated Node #0,2,2: 55:[14, 7] Operation: 24-17=7
Moving to Node #0,2,2
Current State: 55:[14, 7], Operations: ['83-69=14', '24-17=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[17, 10], Operations: ['83-69=14', '24-14=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[24, 3], Operations: ['83-69=14', '17-14=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[69, 17, 59], Operations: ['83-24=59']
Exploring Operation: 69-17=52, Resulting Numbers: [59, 52]
Generated Node #0,1,0: 55:[59, 52] Operation: 69-17=52
Exploring Operation: 69-59=10, Resulting Numbers: [17, 10]
Generated Node #0,1,1: 55:[17, 10] Operation: 69-59=10
Exploring Operation: 59-17=42, Resulting Numbers: [69, 42]
Generated Node #0,1,2: 55:[69, 42] Operation: 59-17=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[59, 52], Operations: ['83-24=59', '69-17=52']
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,55 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[17, 10], Operations: ['83-24=59', '69-59=10']
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,55 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[69, 42], Operations: ['83-24=59', '59-17=42']
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[69, 24, 66], Operations: ['83-17=66']
Exploring Operation: 69-24=45, Resulting Numbers: [66, 45]
Generated Node #0,0,0: 55:[66, 45] Operation: 69-24=45
Exploring Operation: 66-24=42, Resulting Numbers: [69, 42]
Generated Node #0,0,1: 55:[69, 42] Operation: 66-24=42
Exploring Operation: 69-66=3, Resulting Numbers: [24, 3]
Generated Node #0,0,2: 55:[24, 3] Operation: 69-66=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 55:[24, 3], Operations: ['83-17=66', '69-66=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[66, 45], Operations: ['83-17=66', '69-24=45']
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 66+45=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 66*45=2970, Resulting Numbers: [2970]
2970,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[69, 42], Operations: ['83-17=66', '66-24=42']
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,55 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
68,
41,
61
] | 70 | [
"21+61=82",
"82/41=2",
"68+2=70"
] | Current State: 70:[21, 68, 41, 61], Operations: []
Exploring Operation: 21+61=82, Resulting Numbers: [68, 41, 82]
Generated Node #2: [68, 41, 82] from Operation: 21+61=82
Current State: 70:[68, 41, 82], Operations: ['21+61=82']
Exploring Operation: 82/41=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 82/41=2
Current State: 70:[68, 2], Operations: ['21+61=82', '82/41=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[21, 68, 41, 61], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [21, 68, 20]
Generated Node #0,0: 70:[21, 68, 20] Operation: 61-41=20
Exploring Operation: 68-61=7, Resulting Numbers: [21, 41, 7]
Generated Node #0,1: 70:[21, 41, 7] Operation: 68-61=7
Exploring Operation: 61-21=40, Resulting Numbers: [68, 41, 40]
Generated Node #0,2: 70:[68, 41, 40] Operation: 61-21=40
Moving to Node #0,1
Current State: 70:[21, 41, 7], Operations: ['68-61=7']
Exploring Operation: 21/7=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 70:[41, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [41, 14]
Generated Node #0,1,1: 70:[41, 14] Operation: 21-7=14
Exploring Operation: 41-21=20, Resulting Numbers: [7, 20]
Generated Node #0,1,2: 70:[7, 20] Operation: 41-21=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[41, 14], Operations: ['68-61=7', '21-7=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,70 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[7, 20], Operations: ['68-61=7', '41-21=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[41, 3], Operations: ['68-61=7', '21/7=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,70 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 70:[68, 41, 40], Operations: ['61-21=40']
Exploring Operation: 41-40=1, Resulting Numbers: [68, 1]
Generated Node #0,2,0: 70:[68, 1] Operation: 41-40=1
Exploring Operation: 68-40=28, Resulting Numbers: [41, 28]
Generated Node #0,2,1: 70:[41, 28] Operation: 68-40=28
Exploring Operation: 68-41=27, Resulting Numbers: [40, 27]
Generated Node #0,2,2: 70:[40, 27] Operation: 68-41=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[68, 1], Operations: ['61-21=40', '41-40=1']
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[41, 28], Operations: ['61-21=40', '68-40=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,70 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[40, 27], Operations: ['61-21=40', '68-41=27']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,70 unequal: No Solution
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[21, 68, 20], Operations: ['61-41=20']
Exploring Operation: 68-21=47, Resulting Numbers: [20, 47]
Generated Node #0,0,0: 70:[20, 47] Operation: 68-21=47
Exploring Operation: 21-20=1, Resulting Numbers: [68, 1]
Generated Node #0,0,1: 70:[68, 1] Operation: 21-20=1
Exploring Operation: 21+20=41, Resulting Numbers: [68, 41]
Generated Node #0,0,2: 70:[68, 41] Operation: 21+20=41
Moving to Node #0,0,1
Current State: 70:[68, 1], Operations: ['61-41=20', '21-20=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[68, 41], Operations: ['61-41=20', '21+20=41']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,70 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[20, 47], Operations: ['61-41=20', '68-21=47']
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,70 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
64,
94,
33
] | 32 | [
"30+64=94",
"94/94=1",
"33-1=32"
] | Current State: 32:[30, 64, 94, 33], Operations: []
Exploring Operation: 30+64=94, Resulting Numbers: [94, 33, 94]
Generated Node #2: [94, 33, 94] from Operation: 30+64=94
Current State: 32:[94, 33, 94], Operations: ['30+64=94']
Exploring Operation: 94/94=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 94/94=1
Current State: 32:[33, 1], Operations: ['30+64=94', '94/94=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[30, 64, 94, 33], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [30, 33, 30]
Generated Node #0,0: 32:[30, 33, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 32:[30, 33, 30], Operations: ['94-64=30']
Exploring Operation: 30/30=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 32:[33, 1] Operation: 30/30=1
Moving to Node #0,0,0
Current State: 32:[33, 1], Operations: ['94-64=30', '30/30=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[30, 64, 94, 33], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [30, 33, 30]
Generated Node #0,0: 32:[30, 33, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 32:[30, 33, 30], Operations: ['94-64=30']
Exploring Operation: 30/30=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 32:[33, 1] Operation: 30/30=1
Moving to Node #0,0,0
Current State: 32:[33, 1], Operations: ['94-64=30', '30/30=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
84,
6,
36,
43
] | 21 | [
"84/6=14",
"43-36=7",
"14+7=21"
] | Current State: 21:[84, 6, 36, 43], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [36, 43, 14]
Generated Node #2: [36, 43, 14] from Operation: 84/6=14
Current State: 21:[36, 43, 14], Operations: ['84/6=14']
Exploring Operation: 43-36=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 43-36=7
Current State: 21:[14, 7], Operations: ['84/6=14', '43-36=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[84, 6, 36, 43], Operations: []
Exploring Operation: 84-43=41, Resulting Numbers: [6, 36, 41]
Generated Node #0,0: 21:[6, 36, 41] Operation: 84-43=41
Exploring Operation: 84-36=48, Resulting Numbers: [6, 43, 48]
Generated Node #0,1: 21:[6, 43, 48] Operation: 84-36=48
Exploring Operation: 84/6=14, Resulting Numbers: [36, 43, 14]
Generated Node #0,2: 21:[36, 43, 14] Operation: 84/6=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[6, 36, 41], Operations: ['84-43=41']
Exploring Operation: 36/6=6, Resulting Numbers: [41, 6]
Generated Node #0,0,0: 21:[41, 6] Operation: 36/6=6
Exploring Operation: 41-36=5, Resulting Numbers: [6, 5]
Generated Node #0,0,1: 21:[6, 5] Operation: 41-36=5
Exploring Operation: 36-6=30, Resulting Numbers: [41, 30]
Generated Node #0,0,2: 21:[41, 30] Operation: 36-6=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[6, 5], Operations: ['84-43=41', '41-36=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[41, 6], Operations: ['84-43=41', '36/6=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[41, 30], Operations: ['84-43=41', '36-6=30']
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,21 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[36, 43, 14], Operations: ['84/6=14']
Exploring Operation: 43-36=7, Resulting Numbers: [14, 7]
Generated Node #0,2,0: 21:[14, 7] Operation: 43-36=7
Exploring Operation: 43-14=29, Resulting Numbers: [36, 29]
Generated Node #0,2,1: 21:[36, 29] Operation: 43-14=29
Exploring Operation: 36-14=22, Resulting Numbers: [43, 22]
Generated Node #0,2,2: 21:[43, 22] Operation: 36-14=22
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[14, 7], Operations: ['84/6=14', '43-36=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[84, 6, 36, 43], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [36, 43, 14]
Generated Node #0,2: 21:[36, 43, 14] Operation: 84/6=14
Moving to Node #0,2
Current State: 21:[36, 43, 14], Operations: ['84/6=14']
Exploring Operation: 43-36=7, Resulting Numbers: [14, 7]
Generated Node #0,2,0: 21:[14, 7] Operation: 43-36=7
Moving to Node #0,2,0
Current State: 21:[14, 7], Operations: ['84/6=14', '43-36=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
78,
8,
65,
67
] | 43 | [
"78+8=86",
"67-65=2",
"86/2=43"
] | Current State: 43:[78, 8, 65, 67], Operations: []
Exploring Operation: 78+8=86, Resulting Numbers: [65, 67, 86]
Generated Node #2: [65, 67, 86] from Operation: 78+8=86
Current State: 43:[65, 67, 86], Operations: ['78+8=86']
Exploring Operation: 67-65=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 67-65=2
Current State: 43:[86, 2], Operations: ['78+8=86', '67-65=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[78, 8, 65, 67], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [78, 67, 57]
Generated Node #0,0: 43:[78, 67, 57] Operation: 65-8=57
Exploring Operation: 78-8=70, Resulting Numbers: [65, 67, 70]
Generated Node #0,1: 43:[65, 67, 70] Operation: 78-8=70
Moving to Node #0,0
Current State: 43:[78, 67, 57], Operations: ['65-8=57']
Exploring Operation: 78-67=11, Resulting Numbers: [57, 11]
Generated Node #0,0,0: 43:[57, 11] Operation: 78-67=11
Exploring Operation: 78-57=21, Resulting Numbers: [67, 21]
Generated Node #0,0,1: 43:[67, 21] Operation: 78-57=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[57, 11], Operations: ['65-8=57', '78-67=11']
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[67, 21], Operations: ['65-8=57', '78-57=21']
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 43:[65, 67, 70], Operations: ['78-8=70']
Exploring Operation: 70-67=3, Resulting Numbers: [65, 3]
Generated Node #0,1,0: 43:[65, 3] Operation: 70-67=3
Exploring Operation: 70-65=5, Resulting Numbers: [67, 5]
Generated Node #0,1,1: 43:[67, 5] Operation: 70-65=5
Moving to Node #0,1,0
Current State: 43:[65, 3], Operations: ['78-8=70', '70-67=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[67, 5], Operations: ['78-8=70', '70-65=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,43 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
72,
26,
48
] | 43 | [
"72-7=65",
"48-26=22",
"65-22=43"
] | Current State: 43:[7, 72, 26, 48], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [26, 48, 65]
Generated Node #2: [26, 48, 65] from Operation: 72-7=65
Current State: 43:[26, 48, 65], Operations: ['72-7=65']
Exploring Operation: 48-26=22, Resulting Numbers: [65, 22]
Generated Node #3: [65, 22] from Operation: 48-26=22
Current State: 43:[65, 22], Operations: ['72-7=65', '48-26=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[7, 72, 26, 48], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [26, 48, 65]
Generated Node #0,0: 43:[26, 48, 65] Operation: 72-7=65
Exploring Operation: 7+72=79, Resulting Numbers: [26, 48, 79]
Generated Node #0,1: 43:[26, 48, 79] Operation: 7+72=79
Exploring Operation: 48-7=41, Resulting Numbers: [72, 26, 41]
Generated Node #0,2: 43:[72, 26, 41] Operation: 48-7=41
Exploring Operation: 72-26=46, Resulting Numbers: [7, 48, 46]
Generated Node #0,3: 43:[7, 48, 46] Operation: 72-26=46
Exploring Operation: 7+26=33, Resulting Numbers: [72, 48, 33]
Generated Node #0,4: 43:[72, 48, 33] Operation: 7+26=33
Moving to Node #0,0
Current State: 43:[26, 48, 65], Operations: ['72-7=65']
Exploring Operation: 26+65=91, Resulting Numbers: [48, 91]
Generated Node #0,0,0: 43:[48, 91] Operation: 26+65=91
Exploring Operation: 65-48=17, Resulting Numbers: [26, 17]
Generated Node #0,0,1: 43:[26, 17] Operation: 65-48=17
Exploring Operation: 26+48=74, Resulting Numbers: [65, 74]
Generated Node #0,0,2: 43:[65, 74] Operation: 26+48=74
Exploring Operation: 48-26=22, Resulting Numbers: [65, 22]
Generated Node #0,0,3: 43:[65, 22] Operation: 48-26=22
Exploring Operation: 65-26=39, Resulting Numbers: [48, 39]
Generated Node #0,0,4: 43:[48, 39] Operation: 65-26=39
Moving to Node #0,4
Current State: 43:[72, 48, 33], Operations: ['7+26=33']
Exploring Operation: 72-48=24, Resulting Numbers: [33, 24]
Generated Node #0,4,0: 43:[33, 24] Operation: 72-48=24
Exploring Operation: 48-33=15, Resulting Numbers: [72, 15]
Generated Node #0,4,1: 43:[72, 15] Operation: 48-33=15
Exploring Operation: 72+33=105, Resulting Numbers: [48, 105]
Generated Node #0,4,2: 43:[48, 105] Operation: 72+33=105
Exploring Operation: 72-33=39, Resulting Numbers: [48, 39]
Generated Node #0,4,3: 43:[48, 39] Operation: 72-33=39
Exploring Operation: 48+33=81, Resulting Numbers: [72, 81]
Generated Node #0,4,4: 43:[72, 81] Operation: 48+33=81
Moving to Node #0,3
Current State: 43:[7, 48, 46], Operations: ['72-26=46']
Exploring Operation: 48-46=2, Resulting Numbers: [7, 2]
Generated Node #0,3,0: 43:[7, 2] Operation: 48-46=2
Exploring Operation: 48-7=41, Resulting Numbers: [46, 41]
Generated Node #0,3,1: 43:[46, 41] Operation: 48-7=41
Exploring Operation: 7+46=53, Resulting Numbers: [48, 53]
Generated Node #0,3,2: 43:[48, 53] Operation: 7+46=53
Exploring Operation: 7+48=55, Resulting Numbers: [46, 55]
Generated Node #0,3,3: 43:[46, 55] Operation: 7+48=55
Exploring Operation: 46-7=39, Resulting Numbers: [48, 39]
Generated Node #0,3,4: 43:[48, 39] Operation: 46-7=39
Moving to Node #0,2
Current State: 43:[72, 26, 41], Operations: ['48-7=41']
Exploring Operation: 26+41=67, Resulting Numbers: [72, 67]
Generated Node #0,2,0: 43:[72, 67] Operation: 26+41=67
Exploring Operation: 41-26=15, Resulting Numbers: [72, 15]
Generated Node #0,2,1: 43:[72, 15] Operation: 41-26=15
Exploring Operation: 72+26=98, Resulting Numbers: [41, 98]
Generated Node #0,2,2: 43:[41, 98] Operation: 72+26=98
Exploring Operation: 72-41=31, Resulting Numbers: [26, 31]
Generated Node #0,2,3: 43:[26, 31] Operation: 72-41=31
Exploring Operation: 72-26=46, Resulting Numbers: [41, 46]
Generated Node #0,2,4: 43:[41, 46] Operation: 72-26=46
Moving to Node #0,1
Current State: 43:[26, 48, 79], Operations: ['7+72=79']
Exploring Operation: 79-26=53, Resulting Numbers: [48, 53]
Generated Node #0,1,0: 43:[48, 53] Operation: 79-26=53
Exploring Operation: 79-48=31, Resulting Numbers: [26, 31]
Generated Node #0,1,1: 43:[26, 31] Operation: 79-48=31
Exploring Operation: 26+79=105, Resulting Numbers: [48, 105]
Generated Node #0,1,2: 43:[48, 105] Operation: 26+79=105
Exploring Operation: 48-26=22, Resulting Numbers: [79, 22]
Generated Node #0,1,3: 43:[79, 22] Operation: 48-26=22
Exploring Operation: 26+48=74, Resulting Numbers: [79, 74]
Generated Node #0,1,4: 43:[79, 74] Operation: 26+48=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[48, 53], Operations: ['7+72=79', '79-26=53']
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,43 unequal: No Solution
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[26, 31], Operations: ['7+72=79', '79-48=31']
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,43 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[79, 22], Operations: ['7+72=79', '48-26=22']
Exploring Operation: 79+22=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 79*22=1738, Resulting Numbers: [1738]
1738,43 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[48, 105], Operations: ['7+72=79', '26+79=105']
Exploring Operation: 48*105=5040, Resulting Numbers: [5040]
5040,43 unequal: No Solution
Exploring Operation: 105-48=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 48+105=153, Resulting Numbers: [153]
153,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 43:[79, 74], Operations: ['7+72=79', '26+48=74']
Exploring Operation: 79*74=5846, Resulting Numbers: [5846]
5846,43 unequal: No Solution
Exploring Operation: 79-74=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 79+74=153, Resulting Numbers: [153]
153,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 43:[46, 41], Operations: ['72-26=46', '48-7=41']
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,43 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[41, 46], Operations: ['48-7=41', '72-26=46']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,43 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[48, 39], Operations: ['7+26=33', '72-33=39']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,43 unequal: No Solution
Moving to Node #0,3,4
Current State: 43:[48, 39], Operations: ['72-26=46', '46-7=39']
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,43 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[48, 39], Operations: ['72-7=65', '65-26=39']
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,43 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[46, 55], Operations: ['72-26=46', '7+48=55']
Exploring Operation: 46+55=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 46*55=2530, Resulting Numbers: [2530]
2530,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[48, 53], Operations: ['72-26=46', '7+46=53']
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[33, 24], Operations: ['7+26=33', '72-48=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,43 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[26, 31], Operations: ['48-7=41', '72-41=31']
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,43 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[65, 22], Operations: ['72-7=65', '48-26=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,43 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[7, 72, 26, 48], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [26, 48, 65]
Generated Node #0,0: 43:[26, 48, 65] Operation: 72-7=65
Moving to Node #0,0
Current State: 43:[26, 48, 65], Operations: ['72-7=65']
Exploring Operation: 48-26=22, Resulting Numbers: [65, 22]
Generated Node #0,0,3: 43:[65, 22] Operation: 48-26=22
Moving to Node #0,0,3
Current State: 43:[65, 22], Operations: ['72-7=65', '48-26=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.931424 | hs_5 | mult_heuristic |
[
86,
91,
18,
3
] | 49 | [
"91-86=5",
"18*3=54",
"54-5=49"
] | Current State: 49:[86, 91, 18, 3], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [18, 3, 5]
Generated Node #2: [18, 3, 5] from Operation: 91-86=5
Current State: 49:[18, 3, 5], Operations: ['91-86=5']
Exploring Operation: 18*3=54, Resulting Numbers: [5, 54]
Generated Node #3: [5, 54] from Operation: 18*3=54
Current State: 49:[5, 54], Operations: ['91-86=5', '18*3=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[86, 91, 18, 3], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [91, 3, 68]
Generated Node #0,0: 49:[91, 3, 68] Operation: 86-18=68
Exploring Operation: 91-86=5, Resulting Numbers: [18, 3, 5]
Generated Node #0,1: 49:[18, 3, 5] Operation: 91-86=5
Moving to Node #0,1
Current State: 49:[18, 3, 5], Operations: ['91-86=5']
Exploring Operation: 18*3=54, Resulting Numbers: [5, 54]
Generated Node #0,1,0: 49:[5, 54] Operation: 18*3=54
Exploring Operation: 18/3=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 49:[5, 6] Operation: 18/3=6
Moving to Node #0,0
Current State: 49:[91, 3, 68], Operations: ['86-18=68']
Exploring Operation: 91-68=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 49:[3, 23] Operation: 91-68=23
Exploring Operation: 91-3=88, Resulting Numbers: [68, 88]
Generated Node #0,0,1: 49:[68, 88] Operation: 91-3=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[3, 23], Operations: ['86-18=68', '91-68=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[68, 88], Operations: ['86-18=68', '91-3=88']
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 68+88=156, Resulting Numbers: [156]
156,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 49:[5, 6], Operations: ['91-86=5', '18/3=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[5, 54], Operations: ['91-86=5', '18*3=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[86, 91, 18, 3], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [18, 3, 5]
Generated Node #0,1: 49:[18, 3, 5] Operation: 91-86=5
Moving to Node #0,1
Current State: 49:[18, 3, 5], Operations: ['91-86=5']
Exploring Operation: 18*3=54, Resulting Numbers: [5, 54]
Generated Node #0,1,0: 49:[5, 54] Operation: 18*3=54
Moving to Node #0,1,0
Current State: 49:[5, 54], Operations: ['91-86=5', '18*3=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
30,
62,
45,
65
] | 12 | [
"62-30=32",
"65-45=20",
"32-20=12"
] | Current State: 12:[30, 62, 45, 65], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [45, 65, 32]
Generated Node #2: [45, 65, 32] from Operation: 62-30=32
Current State: 12:[45, 65, 32], Operations: ['62-30=32']
Exploring Operation: 65-45=20, Resulting Numbers: [32, 20]
Generated Node #3: [32, 20] from Operation: 65-45=20
Current State: 12:[32, 20], Operations: ['62-30=32', '65-45=20']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[30, 62, 45, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [30, 62, 20]
Generated Node #0,0: 12:[30, 62, 20] Operation: 65-45=20
Exploring Operation: 62-45=17, Resulting Numbers: [30, 65, 17]
Generated Node #0,1: 12:[30, 65, 17] Operation: 62-45=17
Exploring Operation: 45-30=15, Resulting Numbers: [62, 65, 15]
Generated Node #0,2: 12:[62, 65, 15] Operation: 45-30=15
Exploring Operation: 65-62=3, Resulting Numbers: [30, 45, 3]
Generated Node #0,3: 12:[30, 45, 3] Operation: 65-62=3
Exploring Operation: 62-30=32, Resulting Numbers: [45, 65, 32]
Generated Node #0,4: 12:[45, 65, 32] Operation: 62-30=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[30, 45, 3], Operations: ['65-62=3']
Exploring Operation: 45-30=15, Resulting Numbers: [3, 15]
Generated Node #0,3,0: 12:[3, 15] Operation: 45-30=15
Exploring Operation: 45-3=42, Resulting Numbers: [30, 42]
Generated Node #0,3,1: 12:[30, 42] Operation: 45-3=42
Exploring Operation: 30/3=10, Resulting Numbers: [45, 10]
Generated Node #0,3,2: 12:[45, 10] Operation: 30/3=10
Exploring Operation: 45/3=15, Resulting Numbers: [30, 15]
Generated Node #0,3,3: 12:[30, 15] Operation: 45/3=15
Exploring Operation: 30-3=27, Resulting Numbers: [45, 27]
Generated Node #0,3,4: 12:[45, 27] Operation: 30-3=27
Moving to Node #0,3,0
Current State: 12:[3, 15], Operations: ['65-62=3', '45-30=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[30, 62, 45, 65], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [30, 45, 3]
Generated Node #0,3: 12:[30, 45, 3] Operation: 65-62=3
Moving to Node #0,3
Current State: 12:[30, 45, 3], Operations: ['65-62=3']
Exploring Operation: 45-30=15, Resulting Numbers: [3, 15]
Generated Node #0,3,0: 12:[3, 15] Operation: 45-30=15
Moving to Node #0,3,0
Current State: 12:[3, 15], Operations: ['65-62=3', '45-30=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
90,
80,
24,
52
] | 66 | [
"90-80=10",
"24+52=76",
"76-10=66"
] | Current State: 66:[90, 80, 24, 52], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [24, 52, 10]
Generated Node #2: [24, 52, 10] from Operation: 90-80=10
Current State: 66:[24, 52, 10], Operations: ['90-80=10']
Exploring Operation: 24+52=76, Resulting Numbers: [10, 76]
Generated Node #3: [10, 76] from Operation: 24+52=76
Current State: 66:[10, 76], Operations: ['90-80=10', '24+52=76']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[90, 80, 24, 52], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [24, 52, 10]
Generated Node #0,0: 66:[24, 52, 10] Operation: 90-80=10
Exploring Operation: 90-24=66, Resulting Numbers: [80, 52, 66]
Generated Node #0,1: 66:[80, 52, 66] Operation: 90-24=66
Exploring Operation: 90-52=38, Resulting Numbers: [80, 24, 38]
Generated Node #0,2: 66:[80, 24, 38] Operation: 90-52=38
Exploring Operation: 80-52=28, Resulting Numbers: [90, 24, 28]
Generated Node #0,3: 66:[90, 24, 28] Operation: 80-52=28
Moving to Node #0,0
Current State: 66:[24, 52, 10], Operations: ['90-80=10']
Exploring Operation: 52-10=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 66:[24, 42] Operation: 52-10=42
Exploring Operation: 24+52=76, Resulting Numbers: [10, 76]
Generated Node #0,0,1: 66:[10, 76] Operation: 24+52=76
Exploring Operation: 52+10=62, Resulting Numbers: [24, 62]
Generated Node #0,0,2: 66:[24, 62] Operation: 52+10=62
Exploring Operation: 52-24=28, Resulting Numbers: [10, 28]
Generated Node #0,0,3: 66:[10, 28] Operation: 52-24=28
Moving to Node #0,2
Current State: 66:[80, 24, 38], Operations: ['90-52=38']
Exploring Operation: 24+38=62, Resulting Numbers: [80, 62]
Generated Node #0,2,0: 66:[80, 62] Operation: 24+38=62
Exploring Operation: 38-24=14, Resulting Numbers: [80, 14]
Generated Node #0,2,1: 66:[80, 14] Operation: 38-24=14
Exploring Operation: 80-24=56, Resulting Numbers: [38, 56]
Generated Node #0,2,2: 66:[38, 56] Operation: 80-24=56
Exploring Operation: 80-38=42, Resulting Numbers: [24, 42]
Generated Node #0,2,3: 66:[24, 42] Operation: 80-38=42
Moving to Node #0,1
Current State: 66:[80, 52, 66], Operations: ['90-24=66']
Exploring Operation: 80+52=132, Resulting Numbers: [66, 132]
Generated Node #0,1,0: 66:[66, 132] Operation: 80+52=132
Exploring Operation: 66-52=14, Resulting Numbers: [80, 14]
Generated Node #0,1,1: 66:[80, 14] Operation: 66-52=14
Exploring Operation: 80-52=28, Resulting Numbers: [66, 28]
Generated Node #0,1,2: 66:[66, 28] Operation: 80-52=28
Exploring Operation: 80-66=14, Resulting Numbers: [52, 14]
Generated Node #0,1,3: 66:[52, 14] Operation: 80-66=14
Moving to Node #0,3
Current State: 66:[90, 24, 28], Operations: ['80-52=28']
Exploring Operation: 90-28=62, Resulting Numbers: [24, 62]
Generated Node #0,3,0: 66:[24, 62] Operation: 90-28=62
Exploring Operation: 28-24=4, Resulting Numbers: [90, 4]
Generated Node #0,3,1: 66:[90, 4] Operation: 28-24=4
Exploring Operation: 24+28=52, Resulting Numbers: [90, 52]
Generated Node #0,3,2: 66:[90, 52] Operation: 24+28=52
Exploring Operation: 90-24=66, Resulting Numbers: [28, 66]
Generated Node #0,3,3: 66:[28, 66] Operation: 90-24=66
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[28, 66], Operations: ['80-52=28', '90-24=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,66 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[24, 62], Operations: ['80-52=28', '90-28=62']
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,66 unequal: No Solution
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[90, 4], Operations: ['80-52=28', '28-24=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,66 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[90, 52], Operations: ['80-52=28', '24+28=52']
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 66:[66, 28], Operations: ['90-24=66', '80-52=28']
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,66 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[24, 62], Operations: ['90-80=10', '52+10=62']
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,66 unequal: No Solution
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[10, 28], Operations: ['90-80=10', '52-24=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[24, 42], Operations: ['90-80=10', '52-10=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[90, 80, 24, 52], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [24, 52, 10]
Generated Node #0,0: 66:[24, 52, 10] Operation: 90-80=10
Moving to Node #0,0
Current State: 66:[24, 52, 10], Operations: ['90-80=10']
Exploring Operation: 52-10=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 66:[24, 42] Operation: 52-10=42
Moving to Node #0,0,0
Current State: 66:[24, 42], Operations: ['90-80=10', '52-10=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.960069 | hs_4 | sum_heuristic |
[
2,
22,
5,
80
] | 27 | [
"22/2=11",
"80/5=16",
"11+16=27"
] | Current State: 27:[2, 22, 5, 80], Operations: []
Exploring Operation: 22/2=11, Resulting Numbers: [5, 80, 11]
Generated Node #2: [5, 80, 11] from Operation: 22/2=11
Current State: 27:[5, 80, 11], Operations: ['22/2=11']
Exploring Operation: 80/5=16, Resulting Numbers: [11, 16]
Generated Node #3: [11, 16] from Operation: 80/5=16
Current State: 27:[11, 16], Operations: ['22/2=11', '80/5=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[2, 22, 5, 80], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [22, 5, 40]
Generated Node #0,0: 27:[22, 5, 40] Operation: 80/2=40
Exploring Operation: 80/5=16, Resulting Numbers: [2, 22, 16]
Generated Node #0,1: 27:[2, 22, 16] Operation: 80/5=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[2, 22, 16], Operations: ['80/5=16']
Exploring Operation: 16/2=8, Resulting Numbers: [22, 8]
Generated Node #0,1,0: 27:[22, 8] Operation: 16/2=8
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 27:[2, 6] Operation: 22-16=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[2, 6], Operations: ['80/5=16', '22-16=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[22, 8], Operations: ['80/5=16', '16/2=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[22, 5, 40], Operations: ['80/2=40']
Exploring Operation: 40/5=8, Resulting Numbers: [22, 8]
Generated Node #0,0,0: 27:[22, 8] Operation: 40/5=8
Exploring Operation: 40-22=18, Resulting Numbers: [5, 18]
Generated Node #0,0,1: 27:[5, 18] Operation: 40-22=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[22, 8], Operations: ['80/2=40', '40/5=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[5, 18], Operations: ['80/2=40', '40-22=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
81,
23,
20,
73
] | 59 | [
"81*20=1620",
"23*73=1679",
"1679-1620=59"
] | Current State: 59:[81, 23, 20, 73], Operations: []
Exploring Operation: 81*20=1620, Resulting Numbers: [23, 73, 1620]
Generated Node #2: [23, 73, 1620] from Operation: 81*20=1620
Current State: 59:[23, 73, 1620], Operations: ['81*20=1620']
Exploring Operation: 23*73=1679, Resulting Numbers: [1620, 1679]
Generated Node #3: [1620, 1679] from Operation: 23*73=1679
Current State: 59:[1620, 1679], Operations: ['81*20=1620', '23*73=1679']
Exploring Operation: 1679-1620=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[81, 23, 20, 73], Operations: []
Exploring Operation: 81-20=61, Resulting Numbers: [23, 73, 61]
Generated Node #0,0: 59:[23, 73, 61] Operation: 81-20=61
Moving to Node #0,0
Current State: 59:[23, 73, 61], Operations: ['81-20=61']
Exploring Operation: 73-23=50, Resulting Numbers: [61, 50]
Generated Node #0,0,0: 59:[61, 50] Operation: 73-23=50
Moving to Node #0,0,0
Current State: 59:[61, 50], Operations: ['81-20=61', '73-23=50']
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
60,
57,
87
] | 61 | [
"60-57=3",
"87/3=29",
"32+29=61"
] | Current State: 61:[32, 60, 57, 87], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [32, 87, 3]
Generated Node #2: [32, 87, 3] from Operation: 60-57=3
Current State: 61:[32, 87, 3], Operations: ['60-57=3']
Exploring Operation: 87/3=29, Resulting Numbers: [32, 29]
Generated Node #3: [32, 29] from Operation: 87/3=29
Current State: 61:[32, 29], Operations: ['60-57=3', '87/3=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[32, 60, 57, 87], Operations: []
Exploring Operation: 87-32=55, Resulting Numbers: [60, 57, 55]
Generated Node #0,0: 61:[60, 57, 55] Operation: 87-32=55
Exploring Operation: 32+57=89, Resulting Numbers: [60, 87, 89]
Generated Node #0,1: 61:[60, 87, 89] Operation: 32+57=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[60, 57, 55], Operations: ['87-32=55']
Exploring Operation: 60+55=115, Resulting Numbers: [57, 115]
Generated Node #0,0,0: 61:[57, 115] Operation: 60+55=115
Exploring Operation: 57+55=112, Resulting Numbers: [60, 112]
Generated Node #0,0,1: 61:[60, 112] Operation: 57+55=112
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[60, 112], Operations: ['87-32=55', '57+55=112']
Exploring Operation: 60+112=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 112-60=52, Resulting Numbers: [52]
52,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[57, 115], Operations: ['87-32=55', '60+55=115']
Exploring Operation: 57+115=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 115-57=58, Resulting Numbers: [58]
58,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[60, 87, 89], Operations: ['32+57=89']
Exploring Operation: 89-60=29, Resulting Numbers: [87, 29]
Generated Node #0,1,0: 61:[87, 29] Operation: 89-60=29
Exploring Operation: 89-87=2, Resulting Numbers: [60, 2]
Generated Node #0,1,1: 61:[60, 2] Operation: 89-87=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[87, 29], Operations: ['32+57=89', '89-60=29']
Exploring Operation: 87+29=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[60, 2], Operations: ['32+57=89', '89-87=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
20,
71,
42
] | 15 | [
"78+20=98",
"71+42=113",
"113-98=15"
] | Current State: 15:[78, 20, 71, 42], Operations: []
Exploring Operation: 78+20=98, Resulting Numbers: [71, 42, 98]
Generated Node #2: [71, 42, 98] from Operation: 78+20=98
Current State: 15:[71, 42, 98], Operations: ['78+20=98']
Exploring Operation: 71+42=113, Resulting Numbers: [98, 113]
Generated Node #3: [98, 113] from Operation: 71+42=113
Current State: 15:[98, 113], Operations: ['78+20=98', '71+42=113']
Exploring Operation: 113-98=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[78, 20, 71, 42], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [20, 71, 36]
Generated Node #0,0: 15:[20, 71, 36] Operation: 78-42=36
Exploring Operation: 78-20=58, Resulting Numbers: [71, 42, 58]
Generated Node #0,1: 15:[71, 42, 58] Operation: 78-20=58
Exploring Operation: 71-42=29, Resulting Numbers: [78, 20, 29]
Generated Node #0,2: 15:[78, 20, 29] Operation: 71-42=29
Exploring Operation: 78-71=7, Resulting Numbers: [20, 42, 7]
Generated Node #0,3: 15:[20, 42, 7] Operation: 78-71=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[20, 42, 7], Operations: ['78-71=7']
Exploring Operation: 42/7=6, Resulting Numbers: [20, 6]
Generated Node #0,3,0: 15:[20, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [20, 35]
Generated Node #0,3,1: 15:[20, 35] Operation: 42-7=35
Exploring Operation: 20-7=13, Resulting Numbers: [42, 13]
Generated Node #0,3,2: 15:[42, 13] Operation: 20-7=13
Exploring Operation: 42-20=22, Resulting Numbers: [7, 22]
Generated Node #0,3,3: 15:[7, 22] Operation: 42-20=22
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 15:[20, 6], Operations: ['78-71=7', '42/7=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 15:[7, 22], Operations: ['78-71=7', '42-20=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,15 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[78, 20, 71, 42], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [20, 42, 7]
Generated Node #0,3: 15:[20, 42, 7] Operation: 78-71=7
Moving to Node #0,3
Current State: 15:[20, 42, 7], Operations: ['78-71=7']
Exploring Operation: 42-20=22, Resulting Numbers: [7, 22]
Generated Node #0,3,3: 15:[7, 22] Operation: 42-20=22
Moving to Node #0,3,3
Current State: 15:[7, 22], Operations: ['78-71=7', '42-20=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
77,
83,
87,
45
] | 36 | [
"83-77=6",
"87-45=42",
"42-6=36"
] | Current State: 36:[77, 83, 87, 45], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [87, 45, 6]
Generated Node #2: [87, 45, 6] from Operation: 83-77=6
Current State: 36:[87, 45, 6], Operations: ['83-77=6']
Exploring Operation: 87-45=42, Resulting Numbers: [6, 42]
Generated Node #3: [6, 42] from Operation: 87-45=42
Current State: 36:[6, 42], Operations: ['83-77=6', '87-45=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[77, 83, 87, 45], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [77, 45, 4]
Generated Node #0,0: 36:[77, 45, 4] Operation: 87-83=4
Exploring Operation: 87-77=10, Resulting Numbers: [83, 45, 10]
Generated Node #0,1: 36:[83, 45, 10] Operation: 87-77=10
Exploring Operation: 83-77=6, Resulting Numbers: [87, 45, 6]
Generated Node #0,2: 36:[87, 45, 6] Operation: 83-77=6
Moving to Node #0,0
Current State: 36:[77, 45, 4], Operations: ['87-83=4']
Exploring Operation: 77-4=73, Resulting Numbers: [45, 73]
Generated Node #0,0,0: 36:[45, 73] Operation: 77-4=73
Exploring Operation: 45-4=41, Resulting Numbers: [77, 41]
Generated Node #0,0,1: 36:[77, 41] Operation: 45-4=41
Exploring Operation: 77-45=32, Resulting Numbers: [4, 32]
Generated Node #0,0,2: 36:[4, 32] Operation: 77-45=32
Moving to Node #0,1
Current State: 36:[83, 45, 10], Operations: ['87-77=10']
Exploring Operation: 83-45=38, Resulting Numbers: [10, 38]
Generated Node #0,1,0: 36:[10, 38] Operation: 83-45=38
Exploring Operation: 45-10=35, Resulting Numbers: [83, 35]
Generated Node #0,1,1: 36:[83, 35] Operation: 45-10=35
Exploring Operation: 83-10=73, Resulting Numbers: [45, 73]
Generated Node #0,1,2: 36:[45, 73] Operation: 83-10=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[10, 38], Operations: ['87-77=10', '83-45=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,36 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[45, 73], Operations: ['87-77=10', '83-10=73']
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,36 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[83, 35], Operations: ['87-77=10', '45-10=35']
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,36 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 36:[87, 45, 6], Operations: ['83-77=6']
Exploring Operation: 87-45=42, Resulting Numbers: [6, 42]
Generated Node #0,2,0: 36:[6, 42] Operation: 87-45=42
Exploring Operation: 87-6=81, Resulting Numbers: [45, 81]
Generated Node #0,2,1: 36:[45, 81] Operation: 87-6=81
Exploring Operation: 45-6=39, Resulting Numbers: [87, 39]
Generated Node #0,2,2: 36:[87, 39] Operation: 45-6=39
Moving to Node #0,0,2
Current State: 36:[4, 32], Operations: ['87-83=4', '77-45=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[77, 83, 87, 45], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [77, 45, 4]
Generated Node #0,0: 36:[77, 45, 4] Operation: 87-83=4
Moving to Node #0,0
Current State: 36:[77, 45, 4], Operations: ['87-83=4']
Exploring Operation: 77-45=32, Resulting Numbers: [4, 32]
Generated Node #0,0,2: 36:[4, 32] Operation: 77-45=32
Moving to Node #0,0,2
Current State: 36:[4, 32], Operations: ['87-83=4', '77-45=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
67,
73,
62,
9
] | 82 | [
"73+62=135",
"135/9=15",
"67+15=82"
] | Current State: 82:[67, 73, 62, 9], Operations: []
Exploring Operation: 73+62=135, Resulting Numbers: [67, 9, 135]
Generated Node #2: [67, 9, 135] from Operation: 73+62=135
Current State: 82:[67, 9, 135], Operations: ['73+62=135']
Exploring Operation: 135/9=15, Resulting Numbers: [67, 15]
Generated Node #3: [67, 15] from Operation: 135/9=15
Current State: 82:[67, 15], Operations: ['73+62=135', '135/9=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[67, 73, 62, 9], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [62, 9, 6]
Generated Node #0,0: 82:[62, 9, 6] Operation: 73-67=6
Exploring Operation: 73+9=82, Resulting Numbers: [67, 62, 82]
Generated Node #0,1: 82:[67, 62, 82] Operation: 73+9=82
Exploring Operation: 73-62=11, Resulting Numbers: [67, 9, 11]
Generated Node #0,2: 82:[67, 9, 11] Operation: 73-62=11
Exploring Operation: 67-62=5, Resulting Numbers: [73, 9, 5]
Generated Node #0,3: 82:[73, 9, 5] Operation: 67-62=5
Exploring Operation: 67+9=76, Resulting Numbers: [73, 62, 76]
Generated Node #0,4: 82:[73, 62, 76] Operation: 67+9=76
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[73, 9, 5], Operations: ['67-62=5']
Exploring Operation: 9*5=45, Resulting Numbers: [73, 45]
Generated Node #0,3,0: 82:[73, 45] Operation: 9*5=45
Exploring Operation: 73-9=64, Resulting Numbers: [5, 64]
Generated Node #0,3,1: 82:[5, 64] Operation: 73-9=64
Exploring Operation: 9-5=4, Resulting Numbers: [73, 4]
Generated Node #0,3,2: 82:[73, 4] Operation: 9-5=4
Exploring Operation: 73+5=78, Resulting Numbers: [9, 78]
Generated Node #0,3,3: 82:[9, 78] Operation: 73+5=78
Exploring Operation: 73+9=82, Resulting Numbers: [5, 82]
Generated Node #0,3,4: 82:[5, 82] Operation: 73+9=82
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 82:[5, 82], Operations: ['67-62=5', '73+9=82']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[73, 4], Operations: ['67-62=5', '9-5=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,82 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[9, 78], Operations: ['67-62=5', '73+5=78']
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,82 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[73, 45], Operations: ['67-62=5', '9*5=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,82 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[5, 64], Operations: ['67-62=5', '73-9=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,82 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[62, 9, 6], Operations: ['73-67=6']
Exploring Operation: 9-6=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 82:[62, 3] Operation: 9-6=3
Exploring Operation: 62+9=71, Resulting Numbers: [6, 71]
Generated Node #0,0,1: 82:[6, 71] Operation: 62+9=71
Exploring Operation: 62-6=56, Resulting Numbers: [9, 56]
Generated Node #0,0,2: 82:[9, 56] Operation: 62-6=56
Exploring Operation: 62+6=68, Resulting Numbers: [9, 68]
Generated Node #0,0,3: 82:[9, 68] Operation: 62+6=68
Exploring Operation: 62-9=53, Resulting Numbers: [6, 53]
Generated Node #0,0,4: 82:[6, 53] Operation: 62-9=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[6, 71], Operations: ['73-67=6', '62+9=71']
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,82 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[6, 53], Operations: ['73-67=6', '62-9=53']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[62, 3], Operations: ['73-67=6', '9-6=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,82 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[9, 68], Operations: ['73-67=6', '62+6=68']
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,82 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[9, 56], Operations: ['73-67=6', '62-6=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,82 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[67, 9, 11], Operations: ['73-62=11']
Exploring Operation: 11-9=2, Resulting Numbers: [67, 2]
Generated Node #0,2,0: 82:[67, 2] Operation: 11-9=2
Exploring Operation: 67+9=76, Resulting Numbers: [11, 76]
Generated Node #0,2,1: 82:[11, 76] Operation: 67+9=76
Exploring Operation: 67-9=58, Resulting Numbers: [11, 58]
Generated Node #0,2,2: 82:[11, 58] Operation: 67-9=58
Exploring Operation: 67-11=56, Resulting Numbers: [9, 56]
Generated Node #0,2,3: 82:[9, 56] Operation: 67-11=56
Exploring Operation: 67+11=78, Resulting Numbers: [9, 78]
Generated Node #0,2,4: 82:[9, 78] Operation: 67+11=78
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[9, 78], Operations: ['73-62=11', '67+11=78']
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,82 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[67, 2], Operations: ['73-62=11', '11-9=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[11, 76], Operations: ['73-62=11', '67+9=76']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 11*76=836, Resulting Numbers: [836]
836,82 unequal: No Solution
Exploring Operation: 11+76=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[9, 56], Operations: ['73-62=11', '67-11=56']
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,82 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[11, 58], Operations: ['73-62=11', '67-9=58']
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,82 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[67, 62, 82], Operations: ['73+9=82']
Exploring Operation: 67+62=129, Resulting Numbers: [82, 129]
Generated Node #0,1,0: 82:[82, 129] Operation: 67+62=129
Exploring Operation: 82-62=20, Resulting Numbers: [67, 20]
Generated Node #0,1,1: 82:[67, 20] Operation: 82-62=20
Exploring Operation: 82-67=15, Resulting Numbers: [62, 15]
Generated Node #0,1,2: 82:[62, 15] Operation: 82-67=15
Exploring Operation: 62+82=144, Resulting Numbers: [67, 144]
Generated Node #0,1,3: 82:[67, 144] Operation: 62+82=144
Exploring Operation: 67-62=5, Resulting Numbers: [82, 5]
Generated Node #0,1,4: 82:[82, 5] Operation: 67-62=5
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 82:[82, 5], Operations: ['73+9=82', '67-62=5']
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,82 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[67, 20], Operations: ['73+9=82', '82-62=20']
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,82 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[62, 15], Operations: ['73+9=82', '82-67=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,82 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[82, 129], Operations: ['73+9=82', '67+62=129']
Exploring Operation: 82+129=211, Resulting Numbers: [211]
211,82 unequal: No Solution
Exploring Operation: 82*129=10578, Resulting Numbers: [10578]
10578,82 unequal: No Solution
Exploring Operation: 129-82=47, Resulting Numbers: [47]
47,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[67, 144], Operations: ['73+9=82', '62+82=144']
Exploring Operation: 144-67=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 67*144=9648, Resulting Numbers: [9648]
9648,82 unequal: No Solution
Exploring Operation: 67+144=211, Resulting Numbers: [211]
211,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[73, 62, 76], Operations: ['67+9=76']
Exploring Operation: 73-62=11, Resulting Numbers: [76, 11]
Generated Node #0,4,0: 82:[76, 11] Operation: 73-62=11
Exploring Operation: 76-62=14, Resulting Numbers: [73, 14]
Generated Node #0,4,1: 82:[73, 14] Operation: 76-62=14
Exploring Operation: 62+76=138, Resulting Numbers: [73, 138]
Generated Node #0,4,2: 82:[73, 138] Operation: 62+76=138
Exploring Operation: 76-73=3, Resulting Numbers: [62, 3]
Generated Node #0,4,3: 82:[62, 3] Operation: 76-73=3
Exploring Operation: 73+62=135, Resulting Numbers: [76, 135]
Generated Node #0,4,4: 82:[76, 135] Operation: 73+62=135
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 82:[76, 11], Operations: ['67+9=76', '73-62=11']
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,82 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 82:[73, 14], Operations: ['67+9=76', '76-62=14']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 82:[62, 3], Operations: ['67+9=76', '76-73=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 82:[76, 135], Operations: ['67+9=76', '73+62=135']
Exploring Operation: 76+135=211, Resulting Numbers: [211]
211,82 unequal: No Solution
Exploring Operation: 76*135=10260, Resulting Numbers: [10260]
10260,82 unequal: No Solution
Exploring Operation: 135-76=59, Resulting Numbers: [59]
59,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 82:[73, 138], Operations: ['67+9=76', '62+76=138']
Exploring Operation: 73*138=10074, Resulting Numbers: [10074]
10074,82 unequal: No Solution
Exploring Operation: 138-73=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 73+138=211, Resulting Numbers: [211]
211,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
17,
16,
24,
12
] | 92 | [
"16-12=4",
"17*4=68",
"24+68=92"
] | Current State: 92:[17, 16, 24, 12], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [17, 24, 4]
Generated Node #2: [17, 24, 4] from Operation: 16-12=4
Current State: 92:[17, 24, 4], Operations: ['16-12=4']
Exploring Operation: 17*4=68, Resulting Numbers: [24, 68]
Generated Node #3: [24, 68] from Operation: 17*4=68
Current State: 92:[24, 68], Operations: ['16-12=4', '17*4=68']
Exploring Operation: 24+68=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[17, 16, 24, 12], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [16, 24, 5]
Generated Node #0,0: 92:[16, 24, 5] Operation: 17-12=5
Exploring Operation: 16-12=4, Resulting Numbers: [17, 24, 4]
Generated Node #0,1: 92:[17, 24, 4] Operation: 16-12=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[17, 24, 4], Operations: ['16-12=4']
Exploring Operation: 17+4=21, Resulting Numbers: [24, 21]
Generated Node #0,1,0: 92:[24, 21] Operation: 17+4=21
Exploring Operation: 24-17=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 92:[4, 7] Operation: 24-17=7
Moving to Node #0,1,0
Current State: 92:[24, 21], Operations: ['16-12=4', '17+4=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[4, 7], Operations: ['16-12=4', '24-17=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[16, 24, 5], Operations: ['17-12=5']
Exploring Operation: 24-16=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 92:[5, 8] Operation: 24-16=8
Exploring Operation: 16+5=21, Resulting Numbers: [24, 21]
Generated Node #0,0,1: 92:[24, 21] Operation: 16+5=21
Moving to Node #0,0,1
Current State: 92:[24, 21], Operations: ['17-12=5', '16+5=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[5, 8], Operations: ['17-12=5', '24-16=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
21,
13,
84
] | 91 | [
"28*21=588",
"13*588=7644",
"7644/84=91"
] | Current State: 91:[28, 21, 13, 84], Operations: []
Exploring Operation: 28*21=588, Resulting Numbers: [13, 84, 588]
Generated Node #2: [13, 84, 588] from Operation: 28*21=588
Current State: 91:[13, 84, 588], Operations: ['28*21=588']
Exploring Operation: 13*588=7644, Resulting Numbers: [84, 7644]
Generated Node #3: [84, 7644] from Operation: 13*588=7644
Current State: 91:[84, 7644], Operations: ['28*21=588', '13*588=7644']
Exploring Operation: 7644/84=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[28, 21, 13, 84], Operations: []
Exploring Operation: 28-21=7, Resulting Numbers: [13, 84, 7]
Generated Node #0,0: 91:[13, 84, 7] Operation: 28-21=7
Moving to Node #0,0
Current State: 91:[13, 84, 7], Operations: ['28-21=7']
Exploring Operation: 84+7=91, Resulting Numbers: [13, 91]
Generated Node #0,0,0: 91:[13, 91] Operation: 84+7=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[13, 91], Operations: ['28-21=7', '84+7=91']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
18,
57,
33,
52
] | 57 | [
"18+33=51",
"52-51=1",
"57*1=57"
] | Current State: 57:[18, 57, 33, 52], Operations: []
Exploring Operation: 18+33=51, Resulting Numbers: [57, 52, 51]
Generated Node #2: [57, 52, 51] from Operation: 18+33=51
Current State: 57:[57, 52, 51], Operations: ['18+33=51']
Exploring Operation: 52-51=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 52-51=1
Current State: 57:[57, 1], Operations: ['18+33=51', '52-51=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[18, 57, 33, 52], Operations: []
Exploring Operation: 33-18=15, Resulting Numbers: [57, 52, 15]
Generated Node #0,0: 57:[57, 52, 15] Operation: 33-18=15
Exploring Operation: 52-33=19, Resulting Numbers: [18, 57, 19]
Generated Node #0,1: 57:[18, 57, 19] Operation: 52-33=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[18, 57, 19], Operations: ['52-33=19']
Exploring Operation: 57/19=3, Resulting Numbers: [18, 3]
Generated Node #0,1,0: 57:[18, 3] Operation: 57/19=3
Exploring Operation: 19-18=1, Resulting Numbers: [57, 1]
Generated Node #0,1,1: 57:[57, 1] Operation: 19-18=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[18, 3], Operations: ['52-33=19', '57/19=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[57, 1], Operations: ['52-33=19', '19-18=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[18, 57, 33, 52], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [18, 57, 19]
Generated Node #0,1: 57:[18, 57, 19] Operation: 52-33=19
Moving to Node #0,1
Current State: 57:[18, 57, 19], Operations: ['52-33=19']
Exploring Operation: 19-18=1, Resulting Numbers: [57, 1]
Generated Node #0,1,1: 57:[57, 1] Operation: 19-18=1
Moving to Node #0,1,1
Current State: 57:[57, 1], Operations: ['52-33=19', '19-18=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
67,
30,
86,
4
] | 46 | [
"86-67=19",
"4*19=76",
"76-30=46"
] | Current State: 46:[67, 30, 86, 4], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [30, 4, 19]
Generated Node #2: [30, 4, 19] from Operation: 86-67=19
Current State: 46:[30, 4, 19], Operations: ['86-67=19']
Exploring Operation: 4*19=76, Resulting Numbers: [30, 76]
Generated Node #3: [30, 76] from Operation: 4*19=76
Current State: 46:[30, 76], Operations: ['86-67=19', '4*19=76']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[67, 30, 86, 4], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [30, 4, 19]
Generated Node #0,0: 46:[30, 4, 19] Operation: 86-67=19
Exploring Operation: 86-30=56, Resulting Numbers: [67, 4, 56]
Generated Node #0,1: 46:[67, 4, 56] Operation: 86-30=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[30, 4, 19], Operations: ['86-67=19']
Exploring Operation: 30+19=49, Resulting Numbers: [4, 49]
Generated Node #0,0,0: 46:[4, 49] Operation: 30+19=49
Exploring Operation: 30-4=26, Resulting Numbers: [19, 26]
Generated Node #0,0,1: 46:[19, 26] Operation: 30-4=26
Moving to Node #0,0,0
Current State: 46:[4, 49], Operations: ['86-67=19', '30+19=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[19, 26], Operations: ['86-67=19', '30-4=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[67, 4, 56], Operations: ['86-30=56']
Exploring Operation: 67-56=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 46:[4, 11] Operation: 67-56=11
Exploring Operation: 67-4=63, Resulting Numbers: [56, 63]
Generated Node #0,1,1: 46:[56, 63] Operation: 67-4=63
Moving to Node #0,1,0
Current State: 46:[4, 11], Operations: ['86-30=56', '67-56=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[56, 63], Operations: ['86-30=56', '67-4=63']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
52,
36,
66
] | 65 | [
"66-21=45",
"52*45=2340",
"2340/36=65"
] | Current State: 65:[21, 52, 36, 66], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [52, 36, 45]
Generated Node #2: [52, 36, 45] from Operation: 66-21=45
Current State: 65:[52, 36, 45], Operations: ['66-21=45']
Exploring Operation: 52*45=2340, Resulting Numbers: [36, 2340]
Generated Node #3: [36, 2340] from Operation: 52*45=2340
Current State: 65:[36, 2340], Operations: ['66-21=45', '52*45=2340']
Exploring Operation: 2340/36=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[21, 52, 36, 66], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [21, 66, 16]
Generated Node #0,0: 65:[21, 66, 16] Operation: 52-36=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[21, 66, 16], Operations: ['52-36=16']
Exploring Operation: 21-16=5, Resulting Numbers: [66, 5]
Generated Node #0,0,0: 65:[66, 5] Operation: 21-16=5
Moving to Node #0,0,0
Current State: 65:[66, 5], Operations: ['52-36=16', '21-16=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
58,
35,
14,
95
] | 20 | [
"14*95=1330",
"1330/35=38",
"58-38=20"
] | Current State: 20:[58, 35, 14, 95], Operations: []
Exploring Operation: 14*95=1330, Resulting Numbers: [58, 35, 1330]
Generated Node #2: [58, 35, 1330] from Operation: 14*95=1330
Current State: 20:[58, 35, 1330], Operations: ['14*95=1330']
Exploring Operation: 1330/35=38, Resulting Numbers: [58, 38]
Generated Node #3: [58, 38] from Operation: 1330/35=38
Current State: 20:[58, 38], Operations: ['14*95=1330', '1330/35=38']
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[58, 35, 14, 95], Operations: []
Exploring Operation: 95-58=37, Resulting Numbers: [35, 14, 37]
Generated Node #0,0: 20:[35, 14, 37] Operation: 95-58=37
Exploring Operation: 58-35=23, Resulting Numbers: [14, 95, 23]
Generated Node #0,1: 20:[14, 95, 23] Operation: 58-35=23
Moving to Node #0,0
Current State: 20:[35, 14, 37], Operations: ['95-58=37']
Exploring Operation: 37-35=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 20:[14, 2] Operation: 37-35=2
Exploring Operation: 35-14=21, Resulting Numbers: [37, 21]
Generated Node #0,0,1: 20:[37, 21] Operation: 35-14=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[14, 2], Operations: ['95-58=37', '37-35=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[37, 21], Operations: ['95-58=37', '35-14=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[14, 95, 23], Operations: ['58-35=23']
Exploring Operation: 95-23=72, Resulting Numbers: [14, 72]
Generated Node #0,1,0: 20:[14, 72] Operation: 95-23=72
Exploring Operation: 95-14=81, Resulting Numbers: [23, 81]
Generated Node #0,1,1: 20:[23, 81] Operation: 95-14=81
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[14, 72], Operations: ['58-35=23', '95-23=72']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[23, 81], Operations: ['58-35=23', '95-14=81']
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,20 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.