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 |
|---|---|---|---|---|---|---|---|---|
[
93,
5,
79,
68
] | 38 | [
"79-68=11",
"5*11=55",
"93-55=38"
] | Current State: 38:[93, 5, 79, 68], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [93, 5, 11]
Generated Node #2: [93, 5, 11] from Operation: 79-68=11
Current State: 38:[93, 5, 11], Operations: ['79-68=11']
Exploring Operation: 5*11=55, Resulting Numbers: [93, 55]
Generated Node #3: [93, 55] from Operation: 5*11=55
Current State: 38:[93, 55], Operations: ['79-68=11', '5*11=55']
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[93, 5, 79, 68], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [5, 68, 14]
Generated Node #0,0: 38:[5, 68, 14] Operation: 93-79=14
Exploring Operation: 79-68=11, Resulting Numbers: [93, 5, 11]
Generated Node #0,1: 38:[93, 5, 11] Operation: 79-68=11
Exploring Operation: 93-68=25, Resulting Numbers: [5, 79, 25]
Generated Node #0,2: 38:[5, 79, 25] Operation: 93-68=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[5, 68, 14], Operations: ['93-79=14']
Exploring Operation: 68-5=63, Resulting Numbers: [14, 63]
Generated Node #0,0,0: 38:[14, 63] Operation: 68-5=63
Exploring Operation: 5+14=19, Resulting Numbers: [68, 19]
Generated Node #0,0,1: 38:[68, 19] Operation: 5+14=19
Exploring Operation: 68-14=54, Resulting Numbers: [5, 54]
Generated Node #0,0,2: 38:[5, 54] Operation: 68-14=54
Moving to Node #0,0,2
Current State: 38:[5, 54], Operations: ['93-79=14', '68-14=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[14, 63], Operations: ['93-79=14', '68-5=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,38 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[68, 19], Operations: ['93-79=14', '5+14=19']
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,38 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,38 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: 38:[5, 79, 25], Operations: ['93-68=25']
Exploring Operation: 79-5=74, Resulting Numbers: [25, 74]
Generated Node #0,2,0: 38:[25, 74] Operation: 79-5=74
Exploring Operation: 79-25=54, Resulting Numbers: [5, 54]
Generated Node #0,2,1: 38:[5, 54] Operation: 79-25=54
Exploring Operation: 25-5=20, Resulting Numbers: [79, 20]
Generated Node #0,2,2: 38:[79, 20] Operation: 25-5=20
Moving to Node #0,2,1
Current State: 38:[5, 54], Operations: ['93-68=25', '79-25=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,38 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[25, 74], Operations: ['93-68=25', '79-5=74']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,38 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[79, 20], Operations: ['93-68=25', '25-5=20']
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,38 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,38 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: 38:[93, 5, 11], Operations: ['79-68=11']
Exploring Operation: 5+11=16, Resulting Numbers: [93, 16]
Generated Node #0,1,0: 38:[93, 16] Operation: 5+11=16
Exploring Operation: 93-11=82, Resulting Numbers: [5, 82]
Generated Node #0,1,1: 38:[5, 82] Operation: 93-11=82
Exploring Operation: 93-5=88, Resulting Numbers: [11, 88]
Generated Node #0,1,2: 38:[11, 88] Operation: 93-5=88
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[5, 82], Operations: ['79-68=11', '93-11=82']
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,38 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,38 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: 38:[93, 16], Operations: ['79-68=11', '5+11=16']
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,38 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,38 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: 38:[11, 88], Operations: ['79-68=11', '93-5=88']
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 11+88=99, Resulting Numbers: [99]
99,38 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,38 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 |
[
5,
63,
11,
48
] | 56 | [
"5*11=55",
"63+48=111",
"111-55=56"
] | Current State: 56:[5, 63, 11, 48], Operations: []
Exploring Operation: 5*11=55, Resulting Numbers: [63, 48, 55]
Generated Node #2: [63, 48, 55] from Operation: 5*11=55
Current State: 56:[63, 48, 55], Operations: ['5*11=55']
Exploring Operation: 63+48=111, Resulting Numbers: [55, 111]
Generated Node #3: [55, 111] from Operation: 63+48=111
Current State: 56:[55, 111], Operations: ['5*11=55', '63+48=111']
Exploring Operation: 111-55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[5, 63, 11, 48], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [5, 11, 15]
Generated Node #0,0: 56:[5, 11, 15] Operation: 63-48=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[5, 11, 15], Operations: ['63-48=15']
Exploring Operation: 15-11=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 56:[5, 4] Operation: 15-11=4
Moving to Node #0,0,0
Current State: 56:[5, 4], Operations: ['63-48=15', '15-11=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,56 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 |
[
53,
15,
43,
83
] | 67 | [
"53-43=10",
"15*10=150",
"150-83=67"
] | Current State: 67:[53, 15, 43, 83], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [15, 83, 10]
Generated Node #2: [15, 83, 10] from Operation: 53-43=10
Current State: 67:[15, 83, 10], Operations: ['53-43=10']
Exploring Operation: 15*10=150, Resulting Numbers: [83, 150]
Generated Node #3: [83, 150] from Operation: 15*10=150
Current State: 67:[83, 150], Operations: ['53-43=10', '15*10=150']
Exploring Operation: 150-83=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[53, 15, 43, 83], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [53, 83, 28]
Generated Node #0,0: 67:[53, 83, 28] Operation: 43-15=28
Exploring Operation: 15+43=58, Resulting Numbers: [53, 83, 58]
Generated Node #0,1: 67:[53, 83, 58] Operation: 15+43=58
Exploring Operation: 53-15=38, Resulting Numbers: [43, 83, 38]
Generated Node #0,2: 67:[43, 83, 38] Operation: 53-15=38
Exploring Operation: 53+15=68, Resulting Numbers: [43, 83, 68]
Generated Node #0,3: 67:[43, 83, 68] Operation: 53+15=68
Exploring Operation: 83-15=68, Resulting Numbers: [53, 43, 68]
Generated Node #0,4: 67:[53, 43, 68] Operation: 83-15=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[53, 83, 58], Operations: ['15+43=58']
Exploring Operation: 53+83=136, Resulting Numbers: [58, 136]
Generated Node #0,1,0: 67:[58, 136] Operation: 53+83=136
Exploring Operation: 58-53=5, Resulting Numbers: [83, 5]
Generated Node #0,1,1: 67:[83, 5] Operation: 58-53=5
Exploring Operation: 83-53=30, Resulting Numbers: [58, 30]
Generated Node #0,1,2: 67:[58, 30] Operation: 83-53=30
Exploring Operation: 83-58=25, Resulting Numbers: [53, 25]
Generated Node #0,1,3: 67:[53, 25] Operation: 83-58=25
Exploring Operation: 53+58=111, Resulting Numbers: [83, 111]
Generated Node #0,1,4: 67:[83, 111] Operation: 53+58=111
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[58, 30], Operations: ['15+43=58', '83-53=30']
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,67 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,67 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: 67:[53, 25], Operations: ['15+43=58', '83-58=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,67 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,67 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: 67:[83, 111], Operations: ['15+43=58', '53+58=111']
Exploring Operation: 83+111=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 111-83=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 83*111=9213, Resulting Numbers: [9213]
9213,67 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: 67:[58, 136], Operations: ['15+43=58', '53+83=136']
Exploring Operation: 58+136=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 136-58=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 58*136=7888, Resulting Numbers: [7888]
7888,67 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: 67:[83, 5], Operations: ['15+43=58', '58-53=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,67 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,67 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: 67:[53, 43, 68], Operations: ['83-15=68']
Exploring Operation: 53-43=10, Resulting Numbers: [68, 10]
Generated Node #0,4,0: 67:[68, 10] Operation: 53-43=10
Exploring Operation: 53+43=96, Resulting Numbers: [68, 96]
Generated Node #0,4,1: 67:[68, 96] Operation: 53+43=96
Exploring Operation: 68-53=15, Resulting Numbers: [43, 15]
Generated Node #0,4,2: 67:[43, 15] Operation: 68-53=15
Exploring Operation: 43+68=111, Resulting Numbers: [53, 111]
Generated Node #0,4,3: 67:[53, 111] Operation: 43+68=111
Exploring Operation: 68-43=25, Resulting Numbers: [53, 25]
Generated Node #0,4,4: 67:[53, 25] Operation: 68-43=25
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 67:[68, 96], Operations: ['83-15=68', '53+43=96']
Exploring Operation: 68*96=6528, Resulting Numbers: [6528]
6528,67 unequal: No Solution
Exploring Operation: 68+96=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 96-68=28, Resulting Numbers: [28]
28,67 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: 67:[53, 25], Operations: ['83-15=68', '68-43=25']
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,67 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: 67:[68, 10], Operations: ['83-15=68', '53-43=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,67 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,67 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: 67:[53, 111], Operations: ['83-15=68', '43+68=111']
Exploring Operation: 53*111=5883, Resulting Numbers: [5883]
5883,67 unequal: No Solution
Exploring Operation: 53+111=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 111-53=58, Resulting Numbers: [58]
58,67 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: 67:[43, 15], Operations: ['83-15=68', '68-53=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,67 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,67 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: 67:[43, 83, 68], Operations: ['53+15=68']
Exploring Operation: 43+83=126, Resulting Numbers: [68, 126]
Generated Node #0,3,0: 67:[68, 126] Operation: 43+83=126
Exploring Operation: 83-68=15, Resulting Numbers: [43, 15]
Generated Node #0,3,1: 67:[43, 15] Operation: 83-68=15
Exploring Operation: 43+68=111, Resulting Numbers: [83, 111]
Generated Node #0,3,2: 67:[83, 111] Operation: 43+68=111
Exploring Operation: 83-43=40, Resulting Numbers: [68, 40]
Generated Node #0,3,3: 67:[68, 40] Operation: 83-43=40
Exploring Operation: 68-43=25, Resulting Numbers: [83, 25]
Generated Node #0,3,4: 67:[83, 25] Operation: 68-43=25
Moving to Node #0,3,3
Current State: 67:[68, 40], Operations: ['53+15=68', '83-43=40']
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,67 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[83, 25], Operations: ['53+15=68', '68-43=25']
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[68, 126], Operations: ['53+15=68', '43+83=126']
Exploring Operation: 68+126=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 68*126=8568, Resulting Numbers: [8568]
8568,67 unequal: No Solution
Exploring Operation: 126-68=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[83, 111], Operations: ['53+15=68', '43+68=111']
Exploring Operation: 83*111=9213, Resulting Numbers: [9213]
9213,67 unequal: No Solution
Exploring Operation: 83+111=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 111-83=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[43, 15], Operations: ['53+15=68', '83-68=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,67 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: 67:[53, 83, 28], Operations: ['43-15=28']
Exploring Operation: 53+28=81, Resulting Numbers: [83, 81]
Generated Node #0,0,0: 67:[83, 81] Operation: 53+28=81
Exploring Operation: 53-28=25, Resulting Numbers: [83, 25]
Generated Node #0,0,1: 67:[83, 25] Operation: 53-28=25
Exploring Operation: 83-53=30, Resulting Numbers: [28, 30]
Generated Node #0,0,2: 67:[28, 30] Operation: 83-53=30
Exploring Operation: 83+28=111, Resulting Numbers: [53, 111]
Generated Node #0,0,3: 67:[53, 111] Operation: 83+28=111
Exploring Operation: 83-28=55, Resulting Numbers: [53, 55]
Generated Node #0,0,4: 67:[53, 55] Operation: 83-28=55
Moving to Node #0,0,4
Current State: 67:[53, 55], Operations: ['43-15=28', '83-28=55']
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[83, 81], Operations: ['43-15=28', '53+28=81']
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,67 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[83, 25], Operations: ['43-15=28', '53-28=25']
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[53, 111], Operations: ['43-15=28', '83+28=111']
Exploring Operation: 111-53=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 53*111=5883, Resulting Numbers: [5883]
5883,67 unequal: No Solution
Exploring Operation: 53+111=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[28, 30], Operations: ['43-15=28', '83-53=30']
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,67 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,67 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: 67:[43, 83, 38], Operations: ['53-15=38']
Exploring Operation: 43+38=81, Resulting Numbers: [83, 81]
Generated Node #0,2,0: 67:[83, 81] Operation: 43+38=81
Exploring Operation: 83-38=45, Resulting Numbers: [43, 45]
Generated Node #0,2,1: 67:[43, 45] Operation: 83-38=45
Exploring Operation: 43-38=5, Resulting Numbers: [83, 5]
Generated Node #0,2,2: 67:[83, 5] Operation: 43-38=5
Exploring Operation: 83+38=121, Resulting Numbers: [43, 121]
Generated Node #0,2,3: 67:[43, 121] Operation: 83+38=121
Exploring Operation: 83-43=40, Resulting Numbers: [38, 40]
Generated Node #0,2,4: 67:[38, 40] Operation: 83-43=40
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[83, 81], Operations: ['53-15=38', '43+38=81']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,67 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,67 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: 67:[43, 45], Operations: ['53-15=38', '83-38=45']
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,67 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,67 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: 67:[38, 40], Operations: ['53-15=38', '83-43=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,67 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: 67:[83, 5], Operations: ['53-15=38', '43-38=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,67 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,67 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: 67:[43, 121], Operations: ['53-15=38', '83+38=121']
Exploring Operation: 43+121=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 43*121=5203, Resulting Numbers: [5203]
5203,67 unequal: No Solution
Exploring Operation: 121-43=78, Resulting Numbers: [78]
78,67 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 |
[
10,
1,
79,
31
] | 82 | [
"31-1=30",
"30/10=3",
"79+3=82"
] | Current State: 82:[10, 1, 79, 31], Operations: []
Exploring Operation: 31-1=30, Resulting Numbers: [10, 79, 30]
Generated Node #2: [10, 79, 30] from Operation: 31-1=30
Current State: 82:[10, 79, 30], Operations: ['31-1=30']
Exploring Operation: 30/10=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 30/10=3
Current State: 82:[79, 3], Operations: ['31-1=30', '30/10=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[10, 1, 79, 31], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [10, 1, 48]
Generated Node #0,0: 82:[10, 1, 48] Operation: 79-31=48
Exploring Operation: 10+79=89, Resulting Numbers: [1, 31, 89]
Generated Node #0,1: 82:[1, 31, 89] Operation: 10+79=89
Exploring Operation: 10+31=41, Resulting Numbers: [1, 79, 41]
Generated Node #0,2: 82:[1, 79, 41] Operation: 10+31=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[1, 79, 41], Operations: ['10+31=41']
Exploring Operation: 1+79=80, Resulting Numbers: [41, 80]
Generated Node #0,2,0: 82:[41, 80] Operation: 1+79=80
Exploring Operation: 1*79=79, Resulting Numbers: [41, 79]
Generated Node #0,2,1: 82:[41, 79] Operation: 1*79=79
Exploring Operation: 79/1=79, Resulting Numbers: [41, 79]
Generated Node #0,2,2: 82:[41, 79] Operation: 79/1=79
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[41, 80], Operations: ['10+31=41', '1+79=80']
Exploring Operation: 41+80=121, Resulting Numbers: [121]
121,82 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 41*80=3280, Resulting Numbers: [3280]
3280,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:[41, 79], Operations: ['10+31=41', '1*79=79']
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,82 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,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:[41, 79], Operations: ['10+31=41', '79/1=79']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,82 unequal: No Solution
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,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:[10, 1, 48], Operations: ['79-31=48']
Exploring Operation: 10-1=9, Resulting Numbers: [48, 9]
Generated Node #0,0,0: 82:[48, 9] Operation: 10-1=9
Exploring Operation: 48-10=38, Resulting Numbers: [1, 38]
Generated Node #0,0,1: 82:[1, 38] Operation: 48-10=38
Exploring Operation: 48-1=47, Resulting Numbers: [10, 47]
Generated Node #0,0,2: 82:[10, 47] Operation: 48-1=47
Moving to Node #0,0,1
Current State: 82:[1, 38], Operations: ['79-31=48', '48-10=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[48, 9], Operations: ['79-31=48', '10-1=9']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[10, 47], Operations: ['79-31=48', '48-1=47']
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,82 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,82 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: 82:[1, 31, 89], Operations: ['10+79=89']
Exploring Operation: 1+31=32, Resulting Numbers: [89, 32]
Generated Node #0,1,0: 82:[89, 32] Operation: 1+31=32
Exploring Operation: 89-1=88, Resulting Numbers: [31, 88]
Generated Node #0,1,1: 82:[31, 88] Operation: 89-1=88
Exploring Operation: 1*31=31, Resulting Numbers: [89, 31]
Generated Node #0,1,2: 82:[89, 31] Operation: 1*31=31
Moving to Node #0,1,0
Current State: 82:[89, 32], Operations: ['10+79=89', '1+31=32']
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,82 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[31, 88], Operations: ['10+79=89', '89-1=88']
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 31+88=119, Resulting Numbers: [119]
119,82 unequal: No Solution
Exploring Operation: 31*88=2728, Resulting Numbers: [2728]
2728,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[89, 31], Operations: ['10+79=89', '1*31=31']
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,82 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,82 unequal: No Solution
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,82 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 |
[
36,
78,
23,
92
] | 98 | [
"36-23=13",
"78/13=6",
"92+6=98"
] | Current State: 98:[36, 78, 23, 92], Operations: []
Exploring Operation: 36-23=13, Resulting Numbers: [78, 92, 13]
Generated Node #2: [78, 92, 13] from Operation: 36-23=13
Current State: 98:[78, 92, 13], Operations: ['36-23=13']
Exploring Operation: 78/13=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 78/13=6
Current State: 98:[92, 6], Operations: ['36-23=13', '78/13=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[36, 78, 23, 92], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [23, 92, 42]
Generated Node #0,0: 98:[23, 92, 42] Operation: 78-36=42
Exploring Operation: 78-23=55, Resulting Numbers: [36, 92, 55]
Generated Node #0,1: 98:[36, 92, 55] Operation: 78-23=55
Exploring Operation: 36-23=13, Resulting Numbers: [78, 92, 13]
Generated Node #0,2: 98:[78, 92, 13] Operation: 36-23=13
Exploring Operation: 78+23=101, Resulting Numbers: [36, 92, 101]
Generated Node #0,3: 98:[36, 92, 101] Operation: 78+23=101
Exploring Operation: 92-78=14, Resulting Numbers: [36, 23, 14]
Generated Node #0,4: 98:[36, 23, 14] Operation: 92-78=14
Moving to Node #0,0
Current State: 98:[23, 92, 42], Operations: ['78-36=42']
Exploring Operation: 92/23=4, Resulting Numbers: [42, 4]
Generated Node #0,0,0: 98:[42, 4] Operation: 92/23=4
Exploring Operation: 23+92=115, Resulting Numbers: [42, 115]
Generated Node #0,0,1: 98:[42, 115] Operation: 23+92=115
Exploring Operation: 42-23=19, Resulting Numbers: [92, 19]
Generated Node #0,0,2: 98:[92, 19] Operation: 42-23=19
Exploring Operation: 92-42=50, Resulting Numbers: [23, 50]
Generated Node #0,0,3: 98:[23, 50] Operation: 92-42=50
Exploring Operation: 23+42=65, Resulting Numbers: [92, 65]
Generated Node #0,0,4: 98:[92, 65] Operation: 23+42=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[42, 4], Operations: ['78-36=42', '92/23=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,98 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,98 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: 98:[23, 50], Operations: ['78-36=42', '92-42=50']
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,98 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,98 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: 98:[92, 19], Operations: ['78-36=42', '42-23=19']
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,98 unequal: No Solution
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,98 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: 98:[92, 65], Operations: ['78-36=42', '23+42=65']
Exploring Operation: 92-65=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 92+65=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 92*65=5980, Resulting Numbers: [5980]
5980,98 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: 98:[42, 115], Operations: ['78-36=42', '23+92=115']
Exploring Operation: 115-42=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 42+115=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 42*115=4830, Resulting Numbers: [4830]
4830,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 98:[36, 23, 14], Operations: ['92-78=14']
Exploring Operation: 23-14=9, Resulting Numbers: [36, 9]
Generated Node #0,4,0: 98:[36, 9] Operation: 23-14=9
Exploring Operation: 36+14=50, Resulting Numbers: [23, 50]
Generated Node #0,4,1: 98:[23, 50] Operation: 36+14=50
Exploring Operation: 36-14=22, Resulting Numbers: [23, 22]
Generated Node #0,4,2: 98:[23, 22] Operation: 36-14=22
Exploring Operation: 36-23=13, Resulting Numbers: [14, 13]
Generated Node #0,4,3: 98:[14, 13] Operation: 36-23=13
Exploring Operation: 36+23=59, Resulting Numbers: [14, 59]
Generated Node #0,4,4: 98:[14, 59] Operation: 36+23=59
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[14, 13], Operations: ['92-78=14', '36-23=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,98 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,98 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: 98:[23, 50], Operations: ['92-78=14', '36+14=50']
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,98 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,98 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: 98:[14, 59], Operations: ['92-78=14', '36+23=59']
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,98 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,98 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: 98:[36, 9], Operations: ['92-78=14', '23-14=9']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,98 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: 98:[23, 22], Operations: ['92-78=14', '36-14=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,98 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,98 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: 98:[36, 92, 101], Operations: ['78+23=101']
Exploring Operation: 36+92=128, Resulting Numbers: [101, 128]
Generated Node #0,3,0: 98:[101, 128] Operation: 36+92=128
Exploring Operation: 92-36=56, Resulting Numbers: [101, 56]
Generated Node #0,3,1: 98:[101, 56] Operation: 92-36=56
Exploring Operation: 101-36=65, Resulting Numbers: [92, 65]
Generated Node #0,3,2: 98:[92, 65] Operation: 101-36=65
Exploring Operation: 36+101=137, Resulting Numbers: [92, 137]
Generated Node #0,3,3: 98:[92, 137] Operation: 36+101=137
Exploring Operation: 101-92=9, Resulting Numbers: [36, 9]
Generated Node #0,3,4: 98:[36, 9] Operation: 101-92=9
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[101, 56], Operations: ['78+23=101', '92-36=56']
Exploring Operation: 101-56=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 101*56=5656, Resulting Numbers: [5656]
5656,98 unequal: No Solution
Exploring Operation: 101+56=157, Resulting Numbers: [157]
157,98 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: 98:[36, 9], Operations: ['78+23=101', '101-92=9']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,98 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: 98:[92, 65], Operations: ['78+23=101', '101-36=65']
Exploring Operation: 92*65=5980, Resulting Numbers: [5980]
5980,98 unequal: No Solution
Exploring Operation: 92+65=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 92-65=27, Resulting Numbers: [27]
27,98 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: 98:[101, 128], Operations: ['78+23=101', '36+92=128']
Exploring Operation: 101*128=12928, Resulting Numbers: [12928]
12928,98 unequal: No Solution
Exploring Operation: 128-101=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 101+128=229, Resulting Numbers: [229]
229,98 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: 98:[92, 137], Operations: ['78+23=101', '36+101=137']
Exploring Operation: 137-92=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 92*137=12604, Resulting Numbers: [12604]
12604,98 unequal: No Solution
Exploring Operation: 92+137=229, Resulting Numbers: [229]
229,98 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: 98:[36, 92, 55], Operations: ['78-23=55']
Exploring Operation: 36+92=128, Resulting Numbers: [55, 128]
Generated Node #0,1,0: 98:[55, 128] Operation: 36+92=128
Exploring Operation: 36+55=91, Resulting Numbers: [92, 91]
Generated Node #0,1,1: 98:[92, 91] Operation: 36+55=91
Exploring Operation: 92-55=37, Resulting Numbers: [36, 37]
Generated Node #0,1,2: 98:[36, 37] Operation: 92-55=37
Exploring Operation: 55-36=19, Resulting Numbers: [92, 19]
Generated Node #0,1,3: 98:[92, 19] Operation: 55-36=19
Exploring Operation: 92-36=56, Resulting Numbers: [55, 56]
Generated Node #0,1,4: 98:[55, 56] Operation: 92-36=56
Moving to Node #0,2
Current State: 98:[78, 92, 13], Operations: ['36-23=13']
Exploring Operation: 78+13=91, Resulting Numbers: [92, 91]
Generated Node #0,2,0: 98:[92, 91] Operation: 78+13=91
Exploring Operation: 92+13=105, Resulting Numbers: [78, 105]
Generated Node #0,2,1: 98:[78, 105] Operation: 92+13=105
Exploring Operation: 92-78=14, Resulting Numbers: [13, 14]
Generated Node #0,2,2: 98:[13, 14] Operation: 92-78=14
Exploring Operation: 78-13=65, Resulting Numbers: [92, 65]
Generated Node #0,2,3: 98:[92, 65] Operation: 78-13=65
Exploring Operation: 78/13=6, Resulting Numbers: [92, 6]
Generated Node #0,2,4: 98:[92, 6] Operation: 78/13=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[13, 14], Operations: ['36-23=13', '92-78=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,98 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: 98:[92, 6], Operations: ['36-23=13', '78/13=6']
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,98 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[36, 78, 23, 92], Operations: []
Exploring Operation: 36-23=13, Resulting Numbers: [78, 92, 13]
Generated Node #0,2: 98:[78, 92, 13] Operation: 36-23=13
Moving to Node #0,2
Current State: 98:[78, 92, 13], Operations: ['36-23=13']
Exploring Operation: 78/13=6, Resulting Numbers: [92, 6]
Generated Node #0,2,4: 98:[92, 6] Operation: 78/13=6
Moving to Node #0,2,4
Current State: 98:[92, 6], Operations: ['36-23=13', '78/13=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.925347 | hs_5 | sum_heuristic |
[
68,
50,
26,
64
] | 56 | [
"68-50=18",
"64-26=38",
"18+38=56"
] | Current State: 56:[68, 50, 26, 64], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [26, 64, 18]
Generated Node #2: [26, 64, 18] from Operation: 68-50=18
Current State: 56:[26, 64, 18], Operations: ['68-50=18']
Exploring Operation: 64-26=38, Resulting Numbers: [18, 38]
Generated Node #3: [18, 38] from Operation: 64-26=38
Current State: 56:[18, 38], Operations: ['68-50=18', '64-26=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[68, 50, 26, 64], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [50, 26, 4]
Generated Node #0,0: 56:[50, 26, 4] Operation: 68-64=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[50, 26, 4], Operations: ['68-64=4']
Exploring Operation: 50-26=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 56:[4, 24] Operation: 50-26=24
Moving to Node #0,0,0
Current State: 56:[4, 24], Operations: ['68-64=4', '50-26=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,56 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 |
[
10,
77,
72,
36
] | 69 | [
"77-10=67",
"72/36=2",
"67+2=69"
] | Current State: 69:[10, 77, 72, 36], Operations: []
Exploring Operation: 77-10=67, Resulting Numbers: [72, 36, 67]
Generated Node #2: [72, 36, 67] from Operation: 77-10=67
Current State: 69:[72, 36, 67], Operations: ['77-10=67']
Exploring Operation: 72/36=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 72/36=2
Current State: 69:[67, 2], Operations: ['77-10=67', '72/36=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[10, 77, 72, 36], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [10, 77, 2]
Generated Node #0,0: 69:[10, 77, 2] Operation: 72/36=2
Exploring Operation: 72-10=62, Resulting Numbers: [77, 36, 62]
Generated Node #0,1: 69:[77, 36, 62] Operation: 72-10=62
Exploring Operation: 36-10=26, Resulting Numbers: [77, 72, 26]
Generated Node #0,2: 69:[77, 72, 26] Operation: 36-10=26
Exploring Operation: 77-10=67, Resulting Numbers: [72, 36, 67]
Generated Node #0,3: 69:[72, 36, 67] Operation: 77-10=67
Exploring Operation: 77-72=5, Resulting Numbers: [10, 36, 5]
Generated Node #0,4: 69:[10, 36, 5] Operation: 77-72=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[77, 72, 26], Operations: ['36-10=26']
Exploring Operation: 72-26=46, Resulting Numbers: [77, 46]
Generated Node #0,2,0: 69:[77, 46] Operation: 72-26=46
Exploring Operation: 77+26=103, Resulting Numbers: [72, 103]
Generated Node #0,2,1: 69:[72, 103] Operation: 77+26=103
Exploring Operation: 77-26=51, Resulting Numbers: [72, 51]
Generated Node #0,2,2: 69:[72, 51] Operation: 77-26=51
Exploring Operation: 72+26=98, Resulting Numbers: [77, 98]
Generated Node #0,2,3: 69:[77, 98] Operation: 72+26=98
Exploring Operation: 77-72=5, Resulting Numbers: [26, 5]
Generated Node #0,2,4: 69:[26, 5] Operation: 77-72=5
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 69:[26, 5], Operations: ['36-10=26', '77-72=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,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,2,2
Current State: 69:[72, 51], Operations: ['36-10=26', '77-26=51']
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 72+51=123, Resulting Numbers: [123]
123,69 unequal: No Solution
Exploring Operation: 72*51=3672, Resulting Numbers: [3672]
3672,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,2,0
Current State: 69:[77, 46], Operations: ['36-10=26', '72-26=46']
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,69 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,69 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,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,2,1
Current State: 69:[72, 103], Operations: ['36-10=26', '77+26=103']
Exploring Operation: 103-72=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 72+103=175, Resulting Numbers: [175]
175,69 unequal: No Solution
Exploring Operation: 72*103=7416, Resulting Numbers: [7416]
7416,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,2,3
Current State: 69:[77, 98], Operations: ['36-10=26', '72+26=98']
Exploring Operation: 77+98=175, Resulting Numbers: [175]
175,69 unequal: No Solution
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 77*98=7546, Resulting Numbers: [7546]
7546,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:[10, 77, 2], Operations: ['72/36=2']
Exploring Operation: 77-2=75, Resulting Numbers: [10, 75]
Generated Node #0,0,0: 69:[10, 75] Operation: 77-2=75
Exploring Operation: 10*2=20, Resulting Numbers: [77, 20]
Generated Node #0,0,1: 69:[77, 20] Operation: 10*2=20
Exploring Operation: 10/2=5, Resulting Numbers: [77, 5]
Generated Node #0,0,2: 69:[77, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [77, 8]
Generated Node #0,0,3: 69:[77, 8] Operation: 10-2=8
Exploring Operation: 77-10=67, Resulting Numbers: [2, 67]
Generated Node #0,0,4: 69:[2, 67] Operation: 77-10=67
Moving to Node #0,0,4
Current State: 69:[2, 67], Operations: ['72/36=2', '77-10=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[10, 77, 72, 36], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [10, 77, 2]
Generated Node #0,0: 69:[10, 77, 2] Operation: 72/36=2
Moving to Node #0,0
Current State: 69:[10, 77, 2], Operations: ['72/36=2']
Exploring Operation: 77-10=67, Resulting Numbers: [2, 67]
Generated Node #0,0,4: 69:[2, 67] Operation: 77-10=67
Moving to Node #0,0,4
Current State: 69:[2, 67], Operations: ['72/36=2', '77-10=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
15,
7,
77,
73
] | 43 | [
"77-73=4",
"7*4=28",
"15+28=43"
] | Current State: 43:[15, 7, 77, 73], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [15, 7, 4]
Generated Node #2: [15, 7, 4] from Operation: 77-73=4
Current State: 43:[15, 7, 4], Operations: ['77-73=4']
Exploring Operation: 7*4=28, Resulting Numbers: [15, 28]
Generated Node #3: [15, 28] from Operation: 7*4=28
Current State: 43:[15, 28], Operations: ['77-73=4', '7*4=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[15, 7, 77, 73], Operations: []
Exploring Operation: 73-15=58, Resulting Numbers: [7, 77, 58]
Generated Node #0,0: 43:[7, 77, 58] Operation: 73-15=58
Exploring Operation: 77-7=70, Resulting Numbers: [15, 73, 70]
Generated Node #0,1: 43:[15, 73, 70] Operation: 77-7=70
Exploring Operation: 77-15=62, Resulting Numbers: [7, 73, 62]
Generated Node #0,2: 43:[7, 73, 62] Operation: 77-15=62
Exploring Operation: 15+7=22, Resulting Numbers: [77, 73, 22]
Generated Node #0,3: 43:[77, 73, 22] Operation: 15+7=22
Moving to Node #0,0
Current State: 43:[7, 77, 58], Operations: ['73-15=58']
Exploring Operation: 77-7=70, Resulting Numbers: [58, 70]
Generated Node #0,0,0: 43:[58, 70] Operation: 77-7=70
Exploring Operation: 58-7=51, Resulting Numbers: [77, 51]
Generated Node #0,0,1: 43:[77, 51] Operation: 58-7=51
Exploring Operation: 7+77=84, Resulting Numbers: [58, 84]
Generated Node #0,0,2: 43:[58, 84] Operation: 7+77=84
Exploring Operation: 77/7=11, Resulting Numbers: [58, 11]
Generated Node #0,0,3: 43:[58, 11] Operation: 77/7=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[58, 70], Operations: ['73-15=58', '77-7=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,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:[77, 51], Operations: ['73-15=58', '58-7=51']
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,43 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,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,3
Current State: 43:[58, 11], Operations: ['73-15=58', '77/7=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,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,2
Current State: 43:[58, 84], Operations: ['73-15=58', '7+77=84']
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,43 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: 43:[7, 73, 62], Operations: ['77-15=62']
Exploring Operation: 7+73=80, Resulting Numbers: [62, 80]
Generated Node #0,2,0: 43:[62, 80] Operation: 7+73=80
Exploring Operation: 73-7=66, Resulting Numbers: [62, 66]
Generated Node #0,2,1: 43:[62, 66] Operation: 73-7=66
Exploring Operation: 62-7=55, Resulting Numbers: [73, 55]
Generated Node #0,2,2: 43:[73, 55] Operation: 62-7=55
Exploring Operation: 7+62=69, Resulting Numbers: [73, 69]
Generated Node #0,2,3: 43:[73, 69] Operation: 7+62=69
Moving to Node #0,1
Current State: 43:[15, 73, 70], Operations: ['77-7=70']
Exploring Operation: 15+73=88, Resulting Numbers: [70, 88]
Generated Node #0,1,0: 43:[70, 88] Operation: 15+73=88
Exploring Operation: 73-15=58, Resulting Numbers: [70, 58]
Generated Node #0,1,1: 43:[70, 58] Operation: 73-15=58
Exploring Operation: 70-15=55, Resulting Numbers: [73, 55]
Generated Node #0,1,2: 43:[73, 55] Operation: 70-15=55
Exploring Operation: 73-70=3, Resulting Numbers: [15, 3]
Generated Node #0,1,3: 43:[15, 3] Operation: 73-70=3
Moving to Node #0,3
Current State: 43:[77, 73, 22], Operations: ['15+7=22']
Exploring Operation: 77-22=55, Resulting Numbers: [73, 55]
Generated Node #0,3,0: 43:[73, 55] Operation: 77-22=55
Exploring Operation: 77+22=99, Resulting Numbers: [73, 99]
Generated Node #0,3,1: 43:[73, 99] Operation: 77+22=99
Exploring Operation: 73-22=51, Resulting Numbers: [77, 51]
Generated Node #0,3,2: 43:[77, 51] Operation: 73-22=51
Exploring Operation: 77-73=4, Resulting Numbers: [22, 4]
Generated Node #0,3,3: 43:[22, 4] Operation: 77-73=4
Moving to Node #0,2,1
Current State: 43:[62, 66], Operations: ['77-15=62', '73-7=66']
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 62+66=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 62*66=4092, Resulting Numbers: [4092]
4092,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[73, 55], Operations: ['77-7=70', '70-15=55']
Exploring Operation: 73*55=4015, Resulting Numbers: [4015]
4015,43 unequal: No Solution
Exploring Operation: 73+55=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[73, 55], Operations: ['77-15=62', '62-7=55']
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 73+55=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 73*55=4015, Resulting Numbers: [4015]
4015,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[70, 58], Operations: ['77-7=70', '73-15=58']
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[77, 51], Operations: ['15+7=22', '73-22=51']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,43 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[73, 55], Operations: ['15+7=22', '77-22=55']
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 73+55=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 73*55=4015, Resulting Numbers: [4015]
4015,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[62, 80], Operations: ['77-15=62', '7+73=80']
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[73, 69], Operations: ['77-15=62', '7+62=69']
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 73*69=5037, Resulting Numbers: [5037]
5037,43 unequal: No Solution
Exploring Operation: 73+69=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[22, 4], Operations: ['15+7=22', '77-73=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[15, 3], Operations: ['77-7=70', '73-70=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[70, 88], Operations: ['77-7=70', '15+73=88']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,43 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[73, 99], Operations: ['15+7=22', '77+22=99']
Exploring Operation: 99-73=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 73*99=7227, Resulting Numbers: [7227]
7227,43 unequal: No Solution
Exploring Operation: 73+99=172, Resulting Numbers: [172]
172,43 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
35,
98,
3,
58
] | 78 | [
"35+98=133",
"58-3=55",
"133-55=78"
] | Current State: 78:[35, 98, 3, 58], Operations: []
Exploring Operation: 35+98=133, Resulting Numbers: [3, 58, 133]
Generated Node #2: [3, 58, 133] from Operation: 35+98=133
Current State: 78:[3, 58, 133], Operations: ['35+98=133']
Exploring Operation: 58-3=55, Resulting Numbers: [133, 55]
Generated Node #3: [133, 55] from Operation: 58-3=55
Current State: 78:[133, 55], Operations: ['35+98=133', '58-3=55']
Exploring Operation: 133-55=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[35, 98, 3, 58], Operations: []
Exploring Operation: 98-58=40, Resulting Numbers: [35, 3, 40]
Generated Node #0,0: 78:[35, 3, 40] Operation: 98-58=40
Moving to Node #0,0
Current State: 78:[35, 3, 40], Operations: ['98-58=40']
Exploring Operation: 40-35=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 78:[3, 5] Operation: 40-35=5
Moving to Node #0,0,0
Current State: 78:[3, 5], Operations: ['98-58=40', '40-35=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
94,
58,
1,
39
] | 76 | [
"94-58=36",
"1+39=40",
"36+40=76"
] | Current State: 76:[94, 58, 1, 39], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [1, 39, 36]
Generated Node #2: [1, 39, 36] from Operation: 94-58=36
Current State: 76:[1, 39, 36], Operations: ['94-58=36']
Exploring Operation: 1+39=40, Resulting Numbers: [36, 40]
Generated Node #3: [36, 40] from Operation: 1+39=40
Current State: 76:[36, 40], Operations: ['94-58=36', '1+39=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[94, 58, 1, 39], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [58, 39, 93]
Generated Node #0,0: 76:[58, 39, 93] Operation: 94-1=93
Exploring Operation: 58-39=19, Resulting Numbers: [94, 1, 19]
Generated Node #0,1: 76:[94, 1, 19] Operation: 58-39=19
Exploring Operation: 94-39=55, Resulting Numbers: [58, 1, 55]
Generated Node #0,2: 76:[58, 1, 55] Operation: 94-39=55
Exploring Operation: 94-58=36, Resulting Numbers: [1, 39, 36]
Generated Node #0,3: 76:[1, 39, 36] Operation: 94-58=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[1, 39, 36], Operations: ['94-58=36']
Exploring Operation: 39-36=3, Resulting Numbers: [1, 3]
Generated Node #0,3,0: 76:[1, 3] Operation: 39-36=3
Exploring Operation: 39+36=75, Resulting Numbers: [1, 75]
Generated Node #0,3,1: 76:[1, 75] Operation: 39+36=75
Exploring Operation: 1+36=37, Resulting Numbers: [39, 37]
Generated Node #0,3,2: 76:[39, 37] Operation: 1+36=37
Exploring Operation: 39-1=38, Resulting Numbers: [36, 38]
Generated Node #0,3,3: 76:[36, 38] Operation: 39-1=38
Moving to Node #0,3,0
Current State: 76:[1, 3], Operations: ['94-58=36', '39-36=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[39, 37], Operations: ['94-58=36', '1+36=37']
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,76 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[94, 58, 1, 39], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [1, 39, 36]
Generated Node #0,3: 76:[1, 39, 36] Operation: 94-58=36
Moving to Node #0,3
Current State: 76:[1, 39, 36], Operations: ['94-58=36']
Exploring Operation: 1+36=37, Resulting Numbers: [39, 37]
Generated Node #0,3,2: 76:[39, 37] Operation: 1+36=37
Moving to Node #0,3,2
Current State: 76:[39, 37], Operations: ['94-58=36', '1+36=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
13,
75,
79,
63
] | 25 | [
"79-13=66",
"66-63=3",
"75/3=25"
] | Current State: 25:[13, 75, 79, 63], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [75, 63, 66]
Generated Node #2: [75, 63, 66] from Operation: 79-13=66
Current State: 25:[75, 63, 66], Operations: ['79-13=66']
Exploring Operation: 66-63=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 66-63=3
Current State: 25:[75, 3], Operations: ['79-13=66', '66-63=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[13, 75, 79, 63], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [13, 63, 4]
Generated Node #0,0: 25:[13, 63, 4] Operation: 79-75=4
Exploring Operation: 79-63=16, Resulting Numbers: [13, 75, 16]
Generated Node #0,1: 25:[13, 75, 16] Operation: 79-63=16
Moving to Node #0,0
Current State: 25:[13, 63, 4], Operations: ['79-75=4']
Exploring Operation: 13-4=9, Resulting Numbers: [63, 9]
Generated Node #0,0,0: 25:[63, 9] Operation: 13-4=9
Exploring Operation: 63-13=50, Resulting Numbers: [4, 50]
Generated Node #0,0,1: 25:[4, 50] Operation: 63-13=50
Moving to Node #0,1
Current State: 25:[13, 75, 16], Operations: ['79-63=16']
Exploring Operation: 75-13=62, Resulting Numbers: [16, 62]
Generated Node #0,1,0: 25:[16, 62] Operation: 75-13=62
Exploring Operation: 75-16=59, Resulting Numbers: [13, 59]
Generated Node #0,1,1: 25:[13, 59] Operation: 75-16=59
Moving to Node #0,0,1
Current State: 25:[4, 50], Operations: ['79-75=4', '63-13=50']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[13, 59], Operations: ['79-63=16', '75-16=59']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[63, 9], Operations: ['79-75=4', '13-4=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[16, 62], Operations: ['79-63=16', '75-13=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
77,
66,
29
] | 26 | [
"77-8=69",
"66+29=95",
"95-69=26"
] | Current State: 26:[8, 77, 66, 29], Operations: []
Exploring Operation: 77-8=69, Resulting Numbers: [66, 29, 69]
Generated Node #2: [66, 29, 69] from Operation: 77-8=69
Current State: 26:[66, 29, 69], Operations: ['77-8=69']
Exploring Operation: 66+29=95, Resulting Numbers: [69, 95]
Generated Node #3: [69, 95] from Operation: 66+29=95
Current State: 26:[69, 95], Operations: ['77-8=69', '66+29=95']
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[8, 77, 66, 29], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [8, 29, 11]
Generated Node #0,0: 26:[8, 29, 11] Operation: 77-66=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[8, 29, 11], Operations: ['77-66=11']
Exploring Operation: 11-8=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 26:[29, 3] Operation: 11-8=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[29, 3], Operations: ['77-66=11', '11-8=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[8, 77, 66, 29], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [8, 29, 11]
Generated Node #0,0: 26:[8, 29, 11] Operation: 77-66=11
Moving to Node #0,0
Current State: 26:[8, 29, 11], Operations: ['77-66=11']
Exploring Operation: 11-8=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 26:[29, 3] Operation: 11-8=3
Moving to Node #0,0,0
Current State: 26:[29, 3], Operations: ['77-66=11', '11-8=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
94,
52,
95,
13
] | 40 | [
"94-52=42",
"95-13=82",
"82-42=40"
] | Current State: 40:[94, 52, 95, 13], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [95, 13, 42]
Generated Node #2: [95, 13, 42] from Operation: 94-52=42
Current State: 40:[95, 13, 42], Operations: ['94-52=42']
Exploring Operation: 95-13=82, Resulting Numbers: [42, 82]
Generated Node #3: [42, 82] from Operation: 95-13=82
Current State: 40:[42, 82], Operations: ['94-52=42', '95-13=82']
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[94, 52, 95, 13], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [52, 13, 1]
Generated Node #0,0: 40:[52, 13, 1] Operation: 95-94=1
Exploring Operation: 95-52=43, Resulting Numbers: [94, 13, 43]
Generated Node #0,1: 40:[94, 13, 43] Operation: 95-52=43
Exploring Operation: 94-13=81, Resulting Numbers: [52, 95, 81]
Generated Node #0,2: 40:[52, 95, 81] Operation: 94-13=81
Exploring Operation: 94-52=42, Resulting Numbers: [95, 13, 42]
Generated Node #0,3: 40:[95, 13, 42] Operation: 94-52=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[52, 13, 1], Operations: ['95-94=1']
Exploring Operation: 52-1=51, Resulting Numbers: [13, 51]
Generated Node #0,0,0: 40:[13, 51] Operation: 52-1=51
Exploring Operation: 52/13=4, Resulting Numbers: [1, 4]
Generated Node #0,0,1: 40:[1, 4] Operation: 52/13=4
Exploring Operation: 13-1=12, Resulting Numbers: [52, 12]
Generated Node #0,0,2: 40:[52, 12] Operation: 13-1=12
Exploring Operation: 52-13=39, Resulting Numbers: [1, 39]
Generated Node #0,0,3: 40:[1, 39] Operation: 52-13=39
Moving to Node #0,0,1
Current State: 40:[1, 4], Operations: ['95-94=1', '52/13=4']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[1, 39], Operations: ['95-94=1', '52-13=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[94, 52, 95, 13], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [52, 13, 1]
Generated Node #0,0: 40:[52, 13, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 40:[52, 13, 1], Operations: ['95-94=1']
Exploring Operation: 52-13=39, Resulting Numbers: [1, 39]
Generated Node #0,0,3: 40:[1, 39] Operation: 52-13=39
Moving to Node #0,0,3
Current State: 40:[1, 39], Operations: ['95-94=1', '52-13=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
64,
43,
4,
81
] | 98 | [
"64-43=21",
"81-4=77",
"21+77=98"
] | Current State: 98:[64, 43, 4, 81], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [4, 81, 21]
Generated Node #2: [4, 81, 21] from Operation: 64-43=21
Current State: 98:[4, 81, 21], Operations: ['64-43=21']
Exploring Operation: 81-4=77, Resulting Numbers: [21, 77]
Generated Node #3: [21, 77] from Operation: 81-4=77
Current State: 98:[21, 77], Operations: ['64-43=21', '81-4=77']
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[64, 43, 4, 81], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [43, 81, 16]
Generated Node #0,0: 98:[43, 81, 16] Operation: 64/4=16
Exploring Operation: 81-64=17, Resulting Numbers: [43, 4, 17]
Generated Node #0,1: 98:[43, 4, 17] Operation: 81-64=17
Exploring Operation: 64-43=21, Resulting Numbers: [4, 81, 21]
Generated Node #0,2: 98:[4, 81, 21] Operation: 64-43=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[43, 4, 17], Operations: ['81-64=17']
Exploring Operation: 43+4=47, Resulting Numbers: [17, 47]
Generated Node #0,1,0: 98:[17, 47] Operation: 43+4=47
Exploring Operation: 17-4=13, Resulting Numbers: [43, 13]
Generated Node #0,1,1: 98:[43, 13] Operation: 17-4=13
Exploring Operation: 43-4=39, Resulting Numbers: [17, 39]
Generated Node #0,1,2: 98:[17, 39] Operation: 43-4=39
Moving to Node #0,1,0
Current State: 98:[17, 47], Operations: ['81-64=17', '43+4=47']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,98 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[43, 13], Operations: ['81-64=17', '17-4=13']
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[17, 39], Operations: ['81-64=17', '43-4=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,98 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,98 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: 98:[43, 81, 16], Operations: ['64/4=16']
Exploring Operation: 81+16=97, Resulting Numbers: [43, 97]
Generated Node #0,0,0: 98:[43, 97] Operation: 81+16=97
Exploring Operation: 81-43=38, Resulting Numbers: [16, 38]
Generated Node #0,0,1: 98:[16, 38] Operation: 81-43=38
Exploring Operation: 81-16=65, Resulting Numbers: [43, 65]
Generated Node #0,0,2: 98:[43, 65] Operation: 81-16=65
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[43, 97], Operations: ['64/4=16', '81+16=97']
Exploring Operation: 43+97=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 43*97=4171, Resulting Numbers: [4171]
4171,98 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: 98:[16, 38], Operations: ['64/4=16', '81-43=38']
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,98 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,98 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: 98:[43, 65], Operations: ['64/4=16', '81-16=65']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 43*65=2795, Resulting Numbers: [2795]
2795,98 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: 98:[4, 81, 21], Operations: ['64-43=21']
Exploring Operation: 81-21=60, Resulting Numbers: [4, 60]
Generated Node #0,2,0: 98:[4, 60] Operation: 81-21=60
Exploring Operation: 4+81=85, Resulting Numbers: [21, 85]
Generated Node #0,2,1: 98:[21, 85] Operation: 4+81=85
Exploring Operation: 81+21=102, Resulting Numbers: [4, 102]
Generated Node #0,2,2: 98:[4, 102] Operation: 81+21=102
Moving to Node #0,2,2
Current State: 98:[4, 102], Operations: ['64-43=21', '81+21=102']
Exploring Operation: 4*102=408, Resulting Numbers: [408]
408,98 unequal: No Solution
Exploring Operation: 4+102=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[64, 43, 4, 81], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [4, 81, 21]
Generated Node #0,2: 98:[4, 81, 21] Operation: 64-43=21
Moving to Node #0,2
Current State: 98:[4, 81, 21], Operations: ['64-43=21']
Exploring Operation: 81+21=102, Resulting Numbers: [4, 102]
Generated Node #0,2,2: 98:[4, 102] Operation: 81+21=102
Moving to Node #0,2,2
Current State: 98:[4, 102], Operations: ['64-43=21', '81+21=102']
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
29,
76,
24,
9
] | 32 | [
"76-29=47",
"24-9=15",
"47-15=32"
] | Current State: 32:[29, 76, 24, 9], Operations: []
Exploring Operation: 76-29=47, Resulting Numbers: [24, 9, 47]
Generated Node #2: [24, 9, 47] from Operation: 76-29=47
Current State: 32:[24, 9, 47], Operations: ['76-29=47']
Exploring Operation: 24-9=15, Resulting Numbers: [47, 15]
Generated Node #3: [47, 15] from Operation: 24-9=15
Current State: 32:[47, 15], Operations: ['76-29=47', '24-9=15']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[29, 76, 24, 9], Operations: []
Exploring Operation: 76-24=52, Resulting Numbers: [29, 9, 52]
Generated Node #0,0: 32:[29, 9, 52] Operation: 76-24=52
Exploring Operation: 76-29=47, Resulting Numbers: [24, 9, 47]
Generated Node #0,1: 32:[24, 9, 47] Operation: 76-29=47
Exploring Operation: 24+9=33, Resulting Numbers: [29, 76, 33]
Generated Node #0,2: 32:[29, 76, 33] Operation: 24+9=33
Exploring Operation: 29-24=5, Resulting Numbers: [76, 9, 5]
Generated Node #0,3: 32:[76, 9, 5] Operation: 29-24=5
Exploring Operation: 76-9=67, Resulting Numbers: [29, 24, 67]
Generated Node #0,4: 32:[29, 24, 67] Operation: 76-9=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[29, 9, 52], Operations: ['76-24=52']
Exploring Operation: 9+52=61, Resulting Numbers: [29, 61]
Generated Node #0,0,0: 32:[29, 61] Operation: 9+52=61
Exploring Operation: 29-9=20, Resulting Numbers: [52, 20]
Generated Node #0,0,1: 32:[52, 20] Operation: 29-9=20
Exploring Operation: 52-9=43, Resulting Numbers: [29, 43]
Generated Node #0,0,2: 32:[29, 43] Operation: 52-9=43
Exploring Operation: 29+9=38, Resulting Numbers: [52, 38]
Generated Node #0,0,3: 32:[52, 38] Operation: 29+9=38
Exploring Operation: 52-29=23, Resulting Numbers: [9, 23]
Generated Node #0,0,4: 32:[9, 23] Operation: 52-29=23
Moving to Node #0,0,4
Current State: 32:[9, 23], Operations: ['76-24=52', '52-29=23']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,32 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[29, 76, 24, 9], Operations: []
Exploring Operation: 76-24=52, Resulting Numbers: [29, 9, 52]
Generated Node #0,0: 32:[29, 9, 52] Operation: 76-24=52
Moving to Node #0,0
Current State: 32:[29, 9, 52], Operations: ['76-24=52']
Exploring Operation: 52-29=23, Resulting Numbers: [9, 23]
Generated Node #0,0,4: 32:[9, 23] Operation: 52-29=23
Moving to Node #0,0,4
Current State: 32:[9, 23], Operations: ['76-24=52', '52-29=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
20,
31,
14,
82
] | 79 | [
"31-20=11",
"82-14=68",
"11+68=79"
] | Current State: 79:[20, 31, 14, 82], Operations: []
Exploring Operation: 31-20=11, Resulting Numbers: [14, 82, 11]
Generated Node #2: [14, 82, 11] from Operation: 31-20=11
Current State: 79:[14, 82, 11], Operations: ['31-20=11']
Exploring Operation: 82-14=68, Resulting Numbers: [11, 68]
Generated Node #3: [11, 68] from Operation: 82-14=68
Current State: 79:[11, 68], Operations: ['31-20=11', '82-14=68']
Exploring Operation: 11+68=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[20, 31, 14, 82], Operations: []
Exploring Operation: 20+31=51, Resulting Numbers: [14, 82, 51]
Generated Node #0,0: 79:[14, 82, 51] Operation: 20+31=51
Exploring Operation: 20+14=34, Resulting Numbers: [31, 82, 34]
Generated Node #0,1: 79:[31, 82, 34] Operation: 20+14=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[14, 82, 51], Operations: ['20+31=51']
Exploring Operation: 14+51=65, Resulting Numbers: [82, 65]
Generated Node #0,0,0: 79:[82, 65] Operation: 14+51=65
Exploring Operation: 82-14=68, Resulting Numbers: [51, 68]
Generated Node #0,0,1: 79:[51, 68] Operation: 82-14=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[82, 65], Operations: ['20+31=51', '14+51=65']
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 82+65=147, Resulting Numbers: [147]
147,79 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: 79:[51, 68], Operations: ['20+31=51', '82-14=68']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,79 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: 79:[31, 82, 34], Operations: ['20+14=34']
Exploring Operation: 82-31=51, Resulting Numbers: [34, 51]
Generated Node #0,1,0: 79:[34, 51] Operation: 82-31=51
Exploring Operation: 31+34=65, Resulting Numbers: [82, 65]
Generated Node #0,1,1: 79:[82, 65] Operation: 31+34=65
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[82, 65], Operations: ['20+14=34', '31+34=65']
Exploring Operation: 82+65=147, Resulting Numbers: [147]
147,79 unequal: No Solution
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,79 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: 79:[34, 51], Operations: ['20+14=34', '82-31=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,79 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 |
[
50,
54,
95,
12
] | 21 | [
"50+54=104",
"95-12=83",
"104-83=21"
] | Current State: 21:[50, 54, 95, 12], Operations: []
Exploring Operation: 50+54=104, Resulting Numbers: [95, 12, 104]
Generated Node #2: [95, 12, 104] from Operation: 50+54=104
Current State: 21:[95, 12, 104], Operations: ['50+54=104']
Exploring Operation: 95-12=83, Resulting Numbers: [104, 83]
Generated Node #3: [104, 83] from Operation: 95-12=83
Current State: 21:[104, 83], Operations: ['50+54=104', '95-12=83']
Exploring Operation: 104-83=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[50, 54, 95, 12], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [54, 12, 45]
Generated Node #0,0: 21:[54, 12, 45] Operation: 95-50=45
Exploring Operation: 54-50=4, Resulting Numbers: [95, 12, 4]
Generated Node #0,1: 21:[95, 12, 4] Operation: 54-50=4
Exploring Operation: 95-54=41, Resulting Numbers: [50, 12, 41]
Generated Node #0,2: 21:[50, 12, 41] Operation: 95-54=41
Exploring Operation: 54-12=42, Resulting Numbers: [50, 95, 42]
Generated Node #0,3: 21:[50, 95, 42] Operation: 54-12=42
Exploring Operation: 50-12=38, Resulting Numbers: [54, 95, 38]
Generated Node #0,4: 21:[54, 95, 38] Operation: 50-12=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[50, 12, 41], Operations: ['95-54=41']
Exploring Operation: 50-12=38, Resulting Numbers: [41, 38]
Generated Node #0,2,0: 21:[41, 38] Operation: 50-12=38
Exploring Operation: 12+41=53, Resulting Numbers: [50, 53]
Generated Node #0,2,1: 21:[50, 53] Operation: 12+41=53
Exploring Operation: 50+12=62, Resulting Numbers: [41, 62]
Generated Node #0,2,2: 21:[41, 62] Operation: 50+12=62
Exploring Operation: 50-41=9, Resulting Numbers: [12, 9]
Generated Node #0,2,3: 21:[12, 9] Operation: 50-41=9
Exploring Operation: 41-12=29, Resulting Numbers: [50, 29]
Generated Node #0,2,4: 21:[50, 29] Operation: 41-12=29
Moving to Node #0,2,3
Current State: 21:[12, 9], Operations: ['95-54=41', '50-41=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[50, 54, 95, 12], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [50, 12, 41]
Generated Node #0,2: 21:[50, 12, 41] Operation: 95-54=41
Moving to Node #0,2
Current State: 21:[50, 12, 41], Operations: ['95-54=41']
Exploring Operation: 50-41=9, Resulting Numbers: [12, 9]
Generated Node #0,2,3: 21:[12, 9] Operation: 50-41=9
Moving to Node #0,2,3
Current State: 21:[12, 9], Operations: ['95-54=41', '50-41=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
77,
84,
94,
77
] | 83 | [
"84-77=7",
"77/7=11",
"94-11=83"
] | Current State: 83:[77, 84, 94, 77], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [94, 7]
Generated Node #2: [94, 7] from Operation: 84-77=7
Current State: 83:[94, 7], Operations: ['84-77=7']
Exploring Operation: 77/7=11, Resulting Numbers: [94, 11]
Generated Node #3: [94, 11] from Operation: 77/7=11
Current State: 83:[94, 11], Operations: ['84-77=7', '77/7=11']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[77, 84, 94, 77], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [84, 77, 17]
Generated Node #0,0: 83:[84, 77, 17] Operation: 94-77=17
Exploring Operation: 94-77=17, Resulting Numbers: [77, 84, 17]
Generated Node #0,1: 83:[77, 84, 17] Operation: 94-77=17
Moving to Node #0,0
Current State: 83:[84, 77, 17], Operations: ['94-77=17']
Exploring Operation: 77+17=94, Resulting Numbers: [84, 94]
Generated Node #0,0,0: 83:[84, 94] Operation: 77+17=94
Exploring Operation: 84-17=67, Resulting Numbers: [77, 67]
Generated Node #0,0,1: 83:[77, 67] Operation: 84-17=67
Moving to Node #0,1
Current State: 83:[77, 84, 17], Operations: ['94-77=17']
Exploring Operation: 77+17=94, Resulting Numbers: [84, 94]
Generated Node #0,1,0: 83:[84, 94] Operation: 77+17=94
Exploring Operation: 84-17=67, Resulting Numbers: [77, 67]
Generated Node #0,1,1: 83:[77, 67] Operation: 84-17=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[84, 94], Operations: ['94-77=17', '77+17=94']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 84+94=178, Resulting Numbers: [178]
178,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,1
Current State: 83:[77, 67], Operations: ['94-77=17', '84-17=67']
Exploring Operation: 77+67=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 83:[84, 94], Operations: ['94-77=17', '77+17=94']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 84+94=178, Resulting Numbers: [178]
178,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[77, 67], Operations: ['94-77=17', '84-17=67']
Exploring Operation: 77+67=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
5,
23,
45
] | 10 | [
"60/5=12",
"45-23=22",
"22-12=10"
] | Current State: 10:[60, 5, 23, 45], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [23, 45, 12]
Generated Node #2: [23, 45, 12] from Operation: 60/5=12
Current State: 10:[23, 45, 12], Operations: ['60/5=12']
Exploring Operation: 45-23=22, Resulting Numbers: [12, 22]
Generated Node #3: [12, 22] from Operation: 45-23=22
Current State: 10:[12, 22], Operations: ['60/5=12', '45-23=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[60, 5, 23, 45], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [23, 45, 12]
Generated Node #0,0: 10:[23, 45, 12] Operation: 60/5=12
Exploring Operation: 60-45=15, Resulting Numbers: [5, 23, 15]
Generated Node #0,1: 10:[5, 23, 15] Operation: 60-45=15
Exploring Operation: 60-23=37, Resulting Numbers: [5, 45, 37]
Generated Node #0,2: 10:[5, 45, 37] Operation: 60-23=37
Moving to Node #0,1
Current State: 10:[5, 23, 15], Operations: ['60-45=15']
Exploring Operation: 15-5=10, Resulting Numbers: [23, 10]
Generated Node #0,1,0: 10:[23, 10] Operation: 15-5=10
Exploring Operation: 23-5=18, Resulting Numbers: [15, 18]
Generated Node #0,1,1: 10:[15, 18] Operation: 23-5=18
Exploring Operation: 23-15=8, Resulting Numbers: [5, 8]
Generated Node #0,1,2: 10:[5, 8] Operation: 23-15=8
Moving to Node #0,0
Current State: 10:[23, 45, 12], Operations: ['60/5=12']
Exploring Operation: 23-12=11, Resulting Numbers: [45, 11]
Generated Node #0,0,0: 10:[45, 11] Operation: 23-12=11
Exploring Operation: 45-23=22, Resulting Numbers: [12, 22]
Generated Node #0,0,1: 10:[12, 22] Operation: 45-23=22
Exploring Operation: 45-12=33, Resulting Numbers: [23, 33]
Generated Node #0,0,2: 10:[23, 33] Operation: 45-12=33
Moving to Node #0,2
Current State: 10:[5, 45, 37], Operations: ['60-23=37']
Exploring Operation: 45-37=8, Resulting Numbers: [5, 8]
Generated Node #0,2,0: 10:[5, 8] Operation: 45-37=8
Exploring Operation: 45/5=9, Resulting Numbers: [37, 9]
Generated Node #0,2,1: 10:[37, 9] Operation: 45/5=9
Exploring Operation: 45-5=40, Resulting Numbers: [37, 40]
Generated Node #0,2,2: 10:[37, 40] Operation: 45-5=40
Moving to Node #0,1,2
Current State: 10:[5, 8], Operations: ['60-45=15', '23-15=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[5, 8], Operations: ['60-23=37', '45-37=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[15, 18], Operations: ['60-45=15', '23-5=18']
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[23, 10], Operations: ['60-45=15', '15-5=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,10 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[12, 22], Operations: ['60/5=12', '45-23=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[60, 5, 23, 45], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [23, 45, 12]
Generated Node #0,0: 10:[23, 45, 12] Operation: 60/5=12
Moving to Node #0,0
Current State: 10:[23, 45, 12], Operations: ['60/5=12']
Exploring Operation: 45-23=22, Resulting Numbers: [12, 22]
Generated Node #0,0,1: 10:[12, 22] Operation: 45-23=22
Moving to Node #0,0,1
Current State: 10:[12, 22], Operations: ['60/5=12', '45-23=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
2,
65,
6,
14
] | 76 | [
"6/2=3",
"65+14=79",
"79-3=76"
] | Current State: 76:[2, 65, 6, 14], Operations: []
Exploring Operation: 6/2=3, Resulting Numbers: [65, 14, 3]
Generated Node #2: [65, 14, 3] from Operation: 6/2=3
Current State: 76:[65, 14, 3], Operations: ['6/2=3']
Exploring Operation: 65+14=79, Resulting Numbers: [3, 79]
Generated Node #3: [3, 79] from Operation: 65+14=79
Current State: 76:[3, 79], Operations: ['6/2=3', '65+14=79']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[2, 65, 6, 14], Operations: []
Exploring Operation: 6+14=20, Resulting Numbers: [2, 65, 20]
Generated Node #0,0: 76:[2, 65, 20] Operation: 6+14=20
Exploring Operation: 65+14=79, Resulting Numbers: [2, 6, 79]
Generated Node #0,1: 76:[2, 6, 79] Operation: 65+14=79
Exploring Operation: 65-14=51, Resulting Numbers: [2, 6, 51]
Generated Node #0,2: 76:[2, 6, 51] Operation: 65-14=51
Exploring Operation: 65+6=71, Resulting Numbers: [2, 14, 71]
Generated Node #0,3: 76:[2, 14, 71] Operation: 65+6=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[2, 6, 79], Operations: ['65+14=79']
Exploring Operation: 6/2=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 76:[79, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [79, 4]
Generated Node #0,1,1: 76:[79, 4] Operation: 6-2=4
Exploring Operation: 79-2=77, Resulting Numbers: [6, 77]
Generated Node #0,1,2: 76:[6, 77] Operation: 79-2=77
Exploring Operation: 79-6=73, Resulting Numbers: [2, 73]
Generated Node #0,1,3: 76:[2, 73] Operation: 79-6=73
Moving to Node #0,1,1
Current State: 76:[79, 4], Operations: ['65+14=79', '6-2=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,76 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[2, 73], Operations: ['65+14=79', '79-6=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,76 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[6, 77], Operations: ['65+14=79', '79-2=77']
Exploring Operation: 6*77=462, Resulting Numbers: [462]
462,76 unequal: No Solution
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[79, 3], Operations: ['65+14=79', '6/2=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[2, 65, 6, 14], Operations: []
Exploring Operation: 65+14=79, Resulting Numbers: [2, 6, 79]
Generated Node #0,1: 76:[2, 6, 79] Operation: 65+14=79
Moving to Node #0,1
Current State: 76:[2, 6, 79], Operations: ['65+14=79']
Exploring Operation: 6/2=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 76:[79, 3] Operation: 6/2=3
Moving to Node #0,1,0
Current State: 76:[79, 3], Operations: ['65+14=79', '6/2=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
8,
32,
47,
83
] | 32 | [
"32/8=4",
"83-47=36",
"36-4=32"
] | Current State: 32:[8, 32, 47, 83], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [47, 83, 4]
Generated Node #2: [47, 83, 4] from Operation: 32/8=4
Current State: 32:[47, 83, 4], Operations: ['32/8=4']
Exploring Operation: 83-47=36, Resulting Numbers: [4, 36]
Generated Node #3: [4, 36] from Operation: 83-47=36
Current State: 32:[4, 36], Operations: ['32/8=4', '83-47=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[8, 32, 47, 83], Operations: []
Exploring Operation: 83-32=51, Resulting Numbers: [8, 47, 51]
Generated Node #0,0: 32:[8, 47, 51] Operation: 83-32=51
Exploring Operation: 47-32=15, Resulting Numbers: [8, 83, 15]
Generated Node #0,1: 32:[8, 83, 15] Operation: 47-32=15
Exploring Operation: 47-8=39, Resulting Numbers: [32, 83, 39]
Generated Node #0,2: 32:[32, 83, 39] Operation: 47-8=39
Exploring Operation: 83-47=36, Resulting Numbers: [8, 32, 36]
Generated Node #0,3: 32:[8, 32, 36] Operation: 83-47=36
Moving to Node #0,3
Current State: 32:[8, 32, 36], Operations: ['83-47=36']
Exploring Operation: 32/8=4, Resulting Numbers: [36, 4]
Generated Node #0,3,0: 32:[36, 4] Operation: 32/8=4
Exploring Operation: 8+32=40, Resulting Numbers: [36, 40]
Generated Node #0,3,1: 32:[36, 40] Operation: 8+32=40
Exploring Operation: 36-8=28, Resulting Numbers: [32, 28]
Generated Node #0,3,2: 32:[32, 28] Operation: 36-8=28
Exploring Operation: 36-32=4, Resulting Numbers: [8, 4]
Generated Node #0,3,3: 32:[8, 4] Operation: 36-32=4
Moving to Node #0,0
Current State: 32:[8, 47, 51], Operations: ['83-32=51']
Exploring Operation: 51-47=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 32:[8, 4] Operation: 51-47=4
Exploring Operation: 8+47=55, Resulting Numbers: [51, 55]
Generated Node #0,0,1: 32:[51, 55] Operation: 8+47=55
Exploring Operation: 51-8=43, Resulting Numbers: [47, 43]
Generated Node #0,0,2: 32:[47, 43] Operation: 51-8=43
Exploring Operation: 47-8=39, Resulting Numbers: [51, 39]
Generated Node #0,0,3: 32:[51, 39] Operation: 47-8=39
Moving to Node #0,1
Current State: 32:[8, 83, 15], Operations: ['47-32=15']
Exploring Operation: 15-8=7, Resulting Numbers: [83, 7]
Generated Node #0,1,0: 32:[83, 7] Operation: 15-8=7
Exploring Operation: 83-8=75, Resulting Numbers: [15, 75]
Generated Node #0,1,1: 32:[15, 75] Operation: 83-8=75
Exploring Operation: 83-15=68, Resulting Numbers: [8, 68]
Generated Node #0,1,2: 32:[8, 68] Operation: 83-15=68
Exploring Operation: 8+15=23, Resulting Numbers: [83, 23]
Generated Node #0,1,3: 32:[83, 23] Operation: 8+15=23
Moving to Node #0,2
Current State: 32:[32, 83, 39], Operations: ['47-8=39']
Exploring Operation: 83-39=44, Resulting Numbers: [32, 44]
Generated Node #0,2,0: 32:[32, 44] Operation: 83-39=44
Exploring Operation: 32+83=115, Resulting Numbers: [39, 115]
Generated Node #0,2,1: 32:[39, 115] Operation: 32+83=115
Exploring Operation: 39-32=7, Resulting Numbers: [83, 7]
Generated Node #0,2,2: 32:[83, 7] Operation: 39-32=7
Exploring Operation: 83-32=51, Resulting Numbers: [39, 51]
Generated Node #0,2,3: 32:[39, 51] Operation: 83-32=51
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[32, 44], Operations: ['47-8=39', '83-39=44']
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,32 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: 32:[39, 51], Operations: ['47-8=39', '83-32=51']
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,32 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,32 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: 32:[83, 7], Operations: ['47-8=39', '39-32=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,32 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,32 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: 32:[39, 115], Operations: ['47-8=39', '32+83=115']
Exploring Operation: 39+115=154, Resulting Numbers: [154]
154,32 unequal: No Solution
Exploring Operation: 39*115=4485, Resulting Numbers: [4485]
4485,32 unequal: No Solution
Exploring Operation: 115-39=76, Resulting Numbers: [76]
76,32 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: 32:[8, 4], Operations: ['83-47=36', '36-32=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[8, 32, 47, 83], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [8, 32, 36]
Generated Node #0,3: 32:[8, 32, 36] Operation: 83-47=36
Moving to Node #0,3
Current State: 32:[8, 32, 36], Operations: ['83-47=36']
Exploring Operation: 36-32=4, Resulting Numbers: [8, 4]
Generated Node #0,3,3: 32:[8, 4] Operation: 36-32=4
Moving to Node #0,3,3
Current State: 32:[8, 4], Operations: ['83-47=36', '36-32=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
95,
7,
57,
78
] | 47 | [
"95-7=88",
"57+78=135",
"135-88=47"
] | Current State: 47:[95, 7, 57, 78], Operations: []
Exploring Operation: 95-7=88, Resulting Numbers: [57, 78, 88]
Generated Node #2: [57, 78, 88] from Operation: 95-7=88
Current State: 47:[57, 78, 88], Operations: ['95-7=88']
Exploring Operation: 57+78=135, Resulting Numbers: [88, 135]
Generated Node #3: [88, 135] from Operation: 57+78=135
Current State: 47:[88, 135], Operations: ['95-7=88', '57+78=135']
Exploring Operation: 135-88=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[95, 7, 57, 78], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [95, 78, 50]
Generated Node #0,0: 47:[95, 78, 50] Operation: 57-7=50
Exploring Operation: 95-57=38, Resulting Numbers: [7, 78, 38]
Generated Node #0,1: 47:[7, 78, 38] Operation: 95-57=38
Exploring Operation: 95-78=17, Resulting Numbers: [7, 57, 17]
Generated Node #0,2: 47:[7, 57, 17] Operation: 95-78=17
Exploring Operation: 78-7=71, Resulting Numbers: [95, 57, 71]
Generated Node #0,3: 47:[95, 57, 71] Operation: 78-7=71
Exploring Operation: 95-7=88, Resulting Numbers: [57, 78, 88]
Generated Node #0,4: 47:[57, 78, 88] Operation: 95-7=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[7, 78, 38], Operations: ['95-57=38']
Exploring Operation: 78-7=71, Resulting Numbers: [38, 71]
Generated Node #0,1,0: 47:[38, 71] Operation: 78-7=71
Exploring Operation: 7+78=85, Resulting Numbers: [38, 85]
Generated Node #0,1,1: 47:[38, 85] Operation: 7+78=85
Exploring Operation: 78-38=40, Resulting Numbers: [7, 40]
Generated Node #0,1,2: 47:[7, 40] Operation: 78-38=40
Exploring Operation: 7+38=45, Resulting Numbers: [78, 45]
Generated Node #0,1,3: 47:[78, 45] Operation: 7+38=45
Exploring Operation: 38-7=31, Resulting Numbers: [78, 31]
Generated Node #0,1,4: 47:[78, 31] Operation: 38-7=31
Moving to Node #0,1,0
Current State: 47:[38, 71], Operations: ['95-57=38', '78-7=71']
Exploring Operation: 38+71=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 38*71=2698, Resulting Numbers: [2698]
2698,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[78, 45], Operations: ['95-57=38', '7+38=45']
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[38, 85], Operations: ['95-57=38', '7+78=85']
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[95, 7, 57, 78], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [7, 78, 38]
Generated Node #0,1: 47:[7, 78, 38] Operation: 95-57=38
Moving to Node #0,1
Current State: 47:[7, 78, 38], Operations: ['95-57=38']
Exploring Operation: 7+78=85, Resulting Numbers: [38, 85]
Generated Node #0,1,1: 47:[38, 85] Operation: 7+78=85
Moving to Node #0,1,1
Current State: 47:[38, 85], Operations: ['95-57=38', '7+78=85']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
51,
59,
38,
42
] | 49 | [
"59-38=21",
"42/21=2",
"51-2=49"
] | Current State: 49:[51, 59, 38, 42], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [51, 42, 21]
Generated Node #2: [51, 42, 21] from Operation: 59-38=21
Current State: 49:[51, 42, 21], Operations: ['59-38=21']
Exploring Operation: 42/21=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 42/21=2
Current State: 49:[51, 2], Operations: ['59-38=21', '42/21=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[51, 59, 38, 42], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [38, 42, 8]
Generated Node #0,0: 49:[38, 42, 8] Operation: 59-51=8
Exploring Operation: 42-38=4, Resulting Numbers: [51, 59, 4]
Generated Node #0,1: 49:[51, 59, 4] Operation: 42-38=4
Moving to Node #0,1
Current State: 49:[51, 59, 4], Operations: ['42-38=4']
Exploring Operation: 59-51=8, Resulting Numbers: [4, 8]
Generated Node #0,1,0: 49:[4, 8] Operation: 59-51=8
Exploring Operation: 59-4=55, Resulting Numbers: [51, 55]
Generated Node #0,1,1: 49:[51, 55] Operation: 59-4=55
Moving to Node #0,0
Current State: 49:[38, 42, 8], Operations: ['59-51=8']
Exploring Operation: 38+8=46, Resulting Numbers: [42, 46]
Generated Node #0,0,0: 49:[42, 46] Operation: 38+8=46
Exploring Operation: 42-38=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 49:[8, 4] Operation: 42-38=4
Moving to Node #0,1,0
Current State: 49:[4, 8], Operations: ['42-38=4', '59-51=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[8, 4], Operations: ['59-51=8', '42-38=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[51, 55], Operations: ['42-38=4', '59-4=55']
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[42, 46], Operations: ['59-51=8', '38+8=46']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,49 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
30,
37,
39
] | 31 | [
"15+30=45",
"37+39=76",
"76-45=31"
] | Current State: 31:[15, 30, 37, 39], Operations: []
Exploring Operation: 15+30=45, Resulting Numbers: [37, 39, 45]
Generated Node #2: [37, 39, 45] from Operation: 15+30=45
Current State: 31:[37, 39, 45], Operations: ['15+30=45']
Exploring Operation: 37+39=76, Resulting Numbers: [45, 76]
Generated Node #3: [45, 76] from Operation: 37+39=76
Current State: 31:[45, 76], Operations: ['15+30=45', '37+39=76']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[15, 30, 37, 39], Operations: []
Exploring Operation: 15+30=45, Resulting Numbers: [37, 39, 45]
Generated Node #0,0: 31:[37, 39, 45] Operation: 15+30=45
Exploring Operation: 39-15=24, Resulting Numbers: [30, 37, 24]
Generated Node #0,1: 31:[30, 37, 24] Operation: 39-15=24
Exploring Operation: 37-15=22, Resulting Numbers: [30, 39, 22]
Generated Node #0,2: 31:[30, 39, 22] Operation: 37-15=22
Exploring Operation: 30-15=15, Resulting Numbers: [37, 39, 15]
Generated Node #0,3: 31:[37, 39, 15] Operation: 30-15=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[30, 37, 24], Operations: ['39-15=24']
Exploring Operation: 37-30=7, Resulting Numbers: [24, 7]
Generated Node #0,1,0: 31:[24, 7] Operation: 37-30=7
Exploring Operation: 30+24=54, Resulting Numbers: [37, 54]
Generated Node #0,1,1: 31:[37, 54] Operation: 30+24=54
Exploring Operation: 37-24=13, Resulting Numbers: [30, 13]
Generated Node #0,1,2: 31:[30, 13] Operation: 37-24=13
Exploring Operation: 30-24=6, Resulting Numbers: [37, 6]
Generated Node #0,1,3: 31:[37, 6] Operation: 30-24=6
Moving to Node #0,1,2
Current State: 31:[30, 13], Operations: ['39-15=24', '37-24=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[37, 54], Operations: ['39-15=24', '30+24=54']
Exploring Operation: 37*54=1998, Resulting Numbers: [1998]
1998,31 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[37, 6], Operations: ['39-15=24', '30-24=6']
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,31 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[15, 30, 37, 39], Operations: []
Exploring Operation: 39-15=24, Resulting Numbers: [30, 37, 24]
Generated Node #0,1: 31:[30, 37, 24] Operation: 39-15=24
Moving to Node #0,1
Current State: 31:[30, 37, 24], Operations: ['39-15=24']
Exploring Operation: 30-24=6, Resulting Numbers: [37, 6]
Generated Node #0,1,3: 31:[37, 6] Operation: 30-24=6
Moving to Node #0,1,3
Current State: 31:[37, 6], Operations: ['39-15=24', '30-24=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
13,
20,
96,
52
] | 11 | [
"13+20=33",
"96-52=44",
"44-33=11"
] | Current State: 11:[13, 20, 96, 52], Operations: []
Exploring Operation: 13+20=33, Resulting Numbers: [96, 52, 33]
Generated Node #2: [96, 52, 33] from Operation: 13+20=33
Current State: 11:[96, 52, 33], Operations: ['13+20=33']
Exploring Operation: 96-52=44, Resulting Numbers: [33, 44]
Generated Node #3: [33, 44] from Operation: 96-52=44
Current State: 11:[33, 44], Operations: ['13+20=33', '96-52=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[13, 20, 96, 52], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [20, 96, 4]
Generated Node #0,0: 11:[20, 96, 4] Operation: 52/13=4
Exploring Operation: 52-20=32, Resulting Numbers: [13, 96, 32]
Generated Node #0,1: 11:[13, 96, 32] Operation: 52-20=32
Exploring Operation: 96-52=44, Resulting Numbers: [13, 20, 44]
Generated Node #0,2: 11:[13, 20, 44] Operation: 96-52=44
Exploring Operation: 96-20=76, Resulting Numbers: [13, 52, 76]
Generated Node #0,3: 11:[13, 52, 76] Operation: 96-20=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[13, 20, 44], Operations: ['96-52=44']
Exploring Operation: 44-13=31, Resulting Numbers: [20, 31]
Generated Node #0,2,0: 11:[20, 31] Operation: 44-13=31
Exploring Operation: 13+20=33, Resulting Numbers: [44, 33]
Generated Node #0,2,1: 11:[44, 33] Operation: 13+20=33
Exploring Operation: 20-13=7, Resulting Numbers: [44, 7]
Generated Node #0,2,2: 11:[44, 7] Operation: 20-13=7
Exploring Operation: 44-20=24, Resulting Numbers: [13, 24]
Generated Node #0,2,3: 11:[13, 24] Operation: 44-20=24
Moving to Node #0,2,3
Current State: 11:[13, 24], Operations: ['96-52=44', '44-20=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,11 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[13, 20, 96, 52], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [13, 20, 44]
Generated Node #0,2: 11:[13, 20, 44] Operation: 96-52=44
Moving to Node #0,2
Current State: 11:[13, 20, 44], Operations: ['96-52=44']
Exploring Operation: 44-20=24, Resulting Numbers: [13, 24]
Generated Node #0,2,3: 11:[13, 24] Operation: 44-20=24
Moving to Node #0,2,3
Current State: 11:[13, 24], Operations: ['96-52=44', '44-20=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
20,
42,
5,
19
] | 34 | [
"20/5=4",
"19*4=76",
"76-42=34"
] | Current State: 34:[20, 42, 5, 19], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [42, 19, 4]
Generated Node #2: [42, 19, 4] from Operation: 20/5=4
Current State: 34:[42, 19, 4], Operations: ['20/5=4']
Exploring Operation: 19*4=76, Resulting Numbers: [42, 76]
Generated Node #3: [42, 76] from Operation: 19*4=76
Current State: 34:[42, 76], Operations: ['20/5=4', '19*4=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[20, 42, 5, 19], Operations: []
Exploring Operation: 42-5=37, Resulting Numbers: [20, 19, 37]
Generated Node #0,0: 34:[20, 19, 37] Operation: 42-5=37
Exploring Operation: 20-19=1, Resulting Numbers: [42, 5, 1]
Generated Node #0,1: 34:[42, 5, 1] Operation: 20-19=1
Exploring Operation: 42-20=22, Resulting Numbers: [5, 19, 22]
Generated Node #0,2: 34:[5, 19, 22] Operation: 42-20=22
Exploring Operation: 20/5=4, Resulting Numbers: [42, 19, 4]
Generated Node #0,3: 34:[42, 19, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [42, 19, 15]
Generated Node #0,4: 34:[42, 19, 15] Operation: 20-5=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[20, 19, 37], Operations: ['42-5=37']
Exploring Operation: 37-20=17, Resulting Numbers: [19, 17]
Generated Node #0,0,0: 34:[19, 17] Operation: 37-20=17
Exploring Operation: 20+37=57, Resulting Numbers: [19, 57]
Generated Node #0,0,1: 34:[19, 57] Operation: 20+37=57
Exploring Operation: 20-19=1, Resulting Numbers: [37, 1]
Generated Node #0,0,2: 34:[37, 1] Operation: 20-19=1
Exploring Operation: 20+19=39, Resulting Numbers: [37, 39]
Generated Node #0,0,3: 34:[37, 39] Operation: 20+19=39
Exploring Operation: 37-19=18, Resulting Numbers: [20, 18]
Generated Node #0,0,4: 34:[20, 18] Operation: 37-19=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[19, 17], Operations: ['42-5=37', '37-20=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,34 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,34 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: 34:[37, 1], Operations: ['42-5=37', '20-19=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,34 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: 34:[20, 18], Operations: ['42-5=37', '37-19=18']
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,34 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,34 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: 34:[37, 39], Operations: ['42-5=37', '20+19=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,34 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: 34:[19, 57], Operations: ['42-5=37', '20+37=57']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,34 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,34 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: 34:[5, 19, 22], Operations: ['42-20=22']
Exploring Operation: 22-5=17, Resulting Numbers: [19, 17]
Generated Node #0,2,0: 34:[19, 17] Operation: 22-5=17
Exploring Operation: 22-19=3, Resulting Numbers: [5, 3]
Generated Node #0,2,1: 34:[5, 3] Operation: 22-19=3
Exploring Operation: 19+22=41, Resulting Numbers: [5, 41]
Generated Node #0,2,2: 34:[5, 41] Operation: 19+22=41
Exploring Operation: 19-5=14, Resulting Numbers: [22, 14]
Generated Node #0,2,3: 34:[22, 14] Operation: 19-5=14
Exploring Operation: 5+22=27, Resulting Numbers: [19, 27]
Generated Node #0,2,4: 34:[19, 27] Operation: 5+22=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[19, 17], Operations: ['42-20=22', '22-5=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,34 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: 34:[5, 3], Operations: ['42-20=22', '22-19=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,34 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: 34:[22, 14], Operations: ['42-20=22', '19-5=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,34 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,34 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: 34:[19, 27], Operations: ['42-20=22', '5+22=27']
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,34 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,34 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: 34:[5, 41], Operations: ['42-20=22', '19+22=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,34 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,34 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: 34:[42, 5, 1], Operations: ['20-19=1']
Exploring Operation: 42*1=42, Resulting Numbers: [5, 42]
Generated Node #0,1,0: 34:[5, 42] Operation: 42*1=42
Exploring Operation: 5-1=4, Resulting Numbers: [42, 4]
Generated Node #0,1,1: 34:[42, 4] Operation: 5-1=4
Exploring Operation: 42-5=37, Resulting Numbers: [1, 37]
Generated Node #0,1,2: 34:[1, 37] Operation: 42-5=37
Exploring Operation: 42-1=41, Resulting Numbers: [5, 41]
Generated Node #0,1,3: 34:[5, 41] Operation: 42-1=41
Exploring Operation: 42/1=42, Resulting Numbers: [5, 42]
Generated Node #0,1,4: 34:[5, 42] Operation: 42/1=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[1, 37], Operations: ['20-19=1', '42-5=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,34 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: 34:[42, 4], Operations: ['20-19=1', '5-1=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,34 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,34 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: 34:[5, 41], Operations: ['20-19=1', '42-1=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,34 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,34 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: 34:[5, 42], Operations: ['20-19=1', '42*1=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,34 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: 34:[5, 42], Operations: ['20-19=1', '42/1=42']
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,34 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,34 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: 34:[42, 19, 4], Operations: ['20/5=4']
Exploring Operation: 42-19=23, Resulting Numbers: [4, 23]
Generated Node #0,3,0: 34:[4, 23] Operation: 42-19=23
Exploring Operation: 19-4=15, Resulting Numbers: [42, 15]
Generated Node #0,3,1: 34:[42, 15] Operation: 19-4=15
Exploring Operation: 42+4=46, Resulting Numbers: [19, 46]
Generated Node #0,3,2: 34:[19, 46] Operation: 42+4=46
Exploring Operation: 19+4=23, Resulting Numbers: [42, 23]
Generated Node #0,3,3: 34:[42, 23] Operation: 19+4=23
Exploring Operation: 42-4=38, Resulting Numbers: [19, 38]
Generated Node #0,3,4: 34:[19, 38] Operation: 42-4=38
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 34:[19, 38], Operations: ['20/5=4', '42-4=38']
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,34 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,34 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: 34:[4, 23], Operations: ['20/5=4', '42-19=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,34 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: 34:[42, 15], Operations: ['20/5=4', '19-4=15']
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,34 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,34 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: 34:[19, 46], Operations: ['20/5=4', '42+4=46']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,34 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: 34:[42, 23], Operations: ['20/5=4', '19+4=23']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,34 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: 34:[42, 19, 15], Operations: ['20-5=15']
Exploring Operation: 42+15=57, Resulting Numbers: [19, 57]
Generated Node #0,4,0: 34:[19, 57] Operation: 42+15=57
Exploring Operation: 42-15=27, Resulting Numbers: [19, 27]
Generated Node #0,4,1: 34:[19, 27] Operation: 42-15=27
Exploring Operation: 42-19=23, Resulting Numbers: [15, 23]
Generated Node #0,4,2: 34:[15, 23] Operation: 42-19=23
Exploring Operation: 19+15=34, Resulting Numbers: [42, 34]
Generated Node #0,4,3: 34:[42, 34] Operation: 19+15=34
Exploring Operation: 19-15=4, Resulting Numbers: [42, 4]
Generated Node #0,4,4: 34:[42, 4] Operation: 19-15=4
Moving to Node #0,4,2
Current State: 34:[15, 23], Operations: ['20-5=15', '42-19=23']
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,34 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[42, 34], Operations: ['20-5=15', '19+15=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[19, 27], Operations: ['20-5=15', '42-15=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,34 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[42, 4], Operations: ['20-5=15', '19-15=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,34 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[19, 57], Operations: ['20-5=15', '42+15=57']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,34 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 |
[
26,
32,
58,
92
] | 93 | [
"26+32=58",
"58/58=1",
"92+1=93"
] | Current State: 93:[26, 32, 58, 92], Operations: []
Exploring Operation: 26+32=58, Resulting Numbers: [58, 92, 58]
Generated Node #2: [58, 92, 58] from Operation: 26+32=58
Current State: 93:[58, 92, 58], Operations: ['26+32=58']
Exploring Operation: 58/58=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 58/58=1
Current State: 93:[92, 1], Operations: ['26+32=58', '58/58=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[26, 32, 58, 92], Operations: []
Exploring Operation: 32+58=90, Resulting Numbers: [26, 92, 90]
Generated Node #0,0: 93:[26, 92, 90] Operation: 32+58=90
Exploring Operation: 58-26=32, Resulting Numbers: [32, 92, 32]
Generated Node #0,1: 93:[32, 92, 32] Operation: 58-26=32
Exploring Operation: 92-58=34, Resulting Numbers: [26, 32, 34]
Generated Node #0,2: 93:[26, 32, 34] Operation: 92-58=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[32, 92, 32], Operations: ['58-26=32']
Exploring Operation: 32/32=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 93:[92, 1] Operation: 32/32=1
Exploring Operation: 92-32=60, Resulting Numbers: [32, 60]
Generated Node #0,1,1: 93:[32, 60] Operation: 92-32=60
Exploring Operation: 32-32=0, Resulting Numbers: [92, 0]
Generated Node #0,1,2: 93:[92, 0] Operation: 32-32=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[92, 1], Operations: ['58-26=32', '32/32=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[26, 32, 58, 92], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [32, 92, 32]
Generated Node #0,1: 93:[32, 92, 32] Operation: 58-26=32
Moving to Node #0,1
Current State: 93:[32, 92, 32], Operations: ['58-26=32']
Exploring Operation: 32/32=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 93:[92, 1] Operation: 32/32=1
Moving to Node #0,1,0
Current State: 93:[92, 1], Operations: ['58-26=32', '32/32=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
16,
18,
61,
26
] | 70 | [
"18-16=2",
"61-26=35",
"2*35=70"
] | Current State: 70:[16, 18, 61, 26], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [61, 26, 2]
Generated Node #2: [61, 26, 2] from Operation: 18-16=2
Current State: 70:[61, 26, 2], Operations: ['18-16=2']
Exploring Operation: 61-26=35, Resulting Numbers: [2, 35]
Generated Node #3: [2, 35] from Operation: 61-26=35
Current State: 70:[2, 35], Operations: ['18-16=2', '61-26=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[16, 18, 61, 26], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [16, 61, 8]
Generated Node #0,0: 70:[16, 61, 8] Operation: 26-18=8
Exploring Operation: 61-26=35, Resulting Numbers: [16, 18, 35]
Generated Node #0,1: 70:[16, 18, 35] Operation: 61-26=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[16, 18, 35], Operations: ['61-26=35']
Exploring Operation: 16+18=34, Resulting Numbers: [35, 34]
Generated Node #0,1,0: 70:[35, 34] Operation: 16+18=34
Exploring Operation: 18-16=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 70:[35, 2] Operation: 18-16=2
Moving to Node #0,1,1
Current State: 70:[35, 2], Operations: ['61-26=35', '18-16=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[16, 18, 61, 26], Operations: []
Exploring Operation: 61-26=35, Resulting Numbers: [16, 18, 35]
Generated Node #0,1: 70:[16, 18, 35] Operation: 61-26=35
Moving to Node #0,1
Current State: 70:[16, 18, 35], Operations: ['61-26=35']
Exploring Operation: 18-16=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 70:[35, 2] Operation: 18-16=2
Moving to Node #0,1,1
Current State: 70:[35, 2], Operations: ['61-26=35', '18-16=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
92,
96,
6,
6
] | 18 | [
"96-92=4",
"6*4=24",
"24-6=18"
] | Current State: 18:[92, 96, 6, 6], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [6, 6, 4]
Generated Node #2: [6, 6, 4] from Operation: 96-92=4
Current State: 18:[6, 6, 4], Operations: ['96-92=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,18 equal: Goal Reached
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[92, 96, 6, 6], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [92, 6, 16]
Generated Node #0,0: 18:[92, 6, 16] Operation: 96/6=16
Exploring Operation: 96-92=4, Resulting Numbers: [6, 6, 4]
Generated Node #0,1: 18:[6, 6, 4] Operation: 96-92=4
Exploring Operation: 96/6=16, Resulting Numbers: [92, 6, 16]
Generated Node #0,2: 18:[92, 6, 16] Operation: 96/6=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[6, 6, 4], Operations: ['96-92=4']
Exploring Operation: 6-4=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 18:[6, 2] Operation: 6-4=2
Exploring Operation: 6+4=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 18:[6, 10] Operation: 6+4=10
Exploring Operation: 6-4=2, Resulting Numbers: [6, 2]
Generated Node #0,1,2: 18:[6, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[6, 2], Operations: ['96-92=4', '6-4=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,18 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: 18:[6, 2], Operations: ['96-92=4', '6-4=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,18 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: 18:[6, 10], Operations: ['96-92=4', '6+4=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,18 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: 18:[92, 6, 16], Operations: ['96/6=16']
Exploring Operation: 92-16=76, Resulting Numbers: [6, 76]
Generated Node #0,0,0: 18:[6, 76] Operation: 92-16=76
Exploring Operation: 92-6=86, Resulting Numbers: [16, 86]
Generated Node #0,0,1: 18:[16, 86] Operation: 92-6=86
Exploring Operation: 16-6=10, Resulting Numbers: [92, 10]
Generated Node #0,0,2: 18:[92, 10] Operation: 16-6=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[6, 76], Operations: ['96/6=16', '92-16=76']
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,18 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: 18:[16, 86], Operations: ['96/6=16', '92-6=86']
Exploring Operation: 16*86=1376, Resulting Numbers: [1376]
1376,18 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 16+86=102, Resulting Numbers: [102]
102,18 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: 18:[92, 10], Operations: ['96/6=16', '16-6=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,18 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: 18:[92, 6, 16], Operations: ['96/6=16']
Exploring Operation: 92-16=76, Resulting Numbers: [6, 76]
Generated Node #0,2,0: 18:[6, 76] Operation: 92-16=76
Exploring Operation: 16-6=10, Resulting Numbers: [92, 10]
Generated Node #0,2,1: 18:[92, 10] Operation: 16-6=10
Exploring Operation: 92-6=86, Resulting Numbers: [16, 86]
Generated Node #0,2,2: 18:[16, 86] Operation: 92-6=86
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[6, 76], Operations: ['96/6=16', '92-16=76']
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,18 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,18 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: 18:[16, 86], Operations: ['96/6=16', '92-6=86']
Exploring Operation: 16*86=1376, Resulting Numbers: [1376]
1376,18 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 16+86=102, Resulting Numbers: [102]
102,18 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: 18:[92, 10], Operations: ['96/6=16', '16-6=10']
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,18 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,18 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 | mult_heuristic |
[
23,
59,
64,
47
] | 99 | [
"23+59=82",
"64-47=17",
"82+17=99"
] | Current State: 99:[23, 59, 64, 47], Operations: []
Exploring Operation: 23+59=82, Resulting Numbers: [64, 47, 82]
Generated Node #2: [64, 47, 82] from Operation: 23+59=82
Current State: 99:[64, 47, 82], Operations: ['23+59=82']
Exploring Operation: 64-47=17, Resulting Numbers: [82, 17]
Generated Node #3: [82, 17] from Operation: 64-47=17
Current State: 99:[82, 17], Operations: ['23+59=82', '64-47=17']
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[23, 59, 64, 47], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [23, 64, 12]
Generated Node #0,0: 99:[23, 64, 12] Operation: 59-47=12
Exploring Operation: 64-59=5, Resulting Numbers: [23, 47, 5]
Generated Node #0,1: 99:[23, 47, 5] Operation: 64-59=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[23, 47, 5], Operations: ['64-59=5']
Exploring Operation: 23+5=28, Resulting Numbers: [47, 28]
Generated Node #0,1,0: 99:[47, 28] Operation: 23+5=28
Exploring Operation: 47-23=24, Resulting Numbers: [5, 24]
Generated Node #0,1,1: 99:[5, 24] Operation: 47-23=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[5, 24], Operations: ['64-59=5', '47-23=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,99 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: 99:[47, 28], Operations: ['64-59=5', '23+5=28']
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,99 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: 99:[23, 64, 12], Operations: ['59-47=12']
Exploring Operation: 64-23=41, Resulting Numbers: [12, 41]
Generated Node #0,0,0: 99:[12, 41] Operation: 64-23=41
Exploring Operation: 23+64=87, Resulting Numbers: [12, 87]
Generated Node #0,0,1: 99:[12, 87] Operation: 23+64=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[12, 41], Operations: ['59-47=12', '64-23=41']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,99 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: 99:[12, 87], Operations: ['59-47=12', '23+64=87']
Exploring Operation: 12+87=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[23, 59, 64, 47], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [23, 64, 12]
Generated Node #0,0: 99:[23, 64, 12] Operation: 59-47=12
Moving to Node #0,0
Current State: 99:[23, 64, 12], Operations: ['59-47=12']
Exploring Operation: 23+64=87, Resulting Numbers: [12, 87]
Generated Node #0,0,1: 99:[12, 87] Operation: 23+64=87
Moving to Node #0,0,1
Current State: 99:[12, 87], Operations: ['59-47=12', '23+64=87']
Exploring Operation: 12+87=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
72,
32,
84,
69
] | 49 | [
"72+32=104",
"84+69=153",
"153-104=49"
] | Current State: 49:[72, 32, 84, 69], Operations: []
Exploring Operation: 72+32=104, Resulting Numbers: [84, 69, 104]
Generated Node #2: [84, 69, 104] from Operation: 72+32=104
Current State: 49:[84, 69, 104], Operations: ['72+32=104']
Exploring Operation: 84+69=153, Resulting Numbers: [104, 153]
Generated Node #3: [104, 153] from Operation: 84+69=153
Current State: 49:[104, 153], Operations: ['72+32=104', '84+69=153']
Exploring Operation: 153-104=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[72, 32, 84, 69], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [32, 69, 12]
Generated Node #0,0: 49:[32, 69, 12] Operation: 84-72=12
Exploring Operation: 72-69=3, Resulting Numbers: [32, 84, 3]
Generated Node #0,1: 49:[32, 84, 3] Operation: 72-69=3
Exploring Operation: 84-69=15, Resulting Numbers: [72, 32, 15]
Generated Node #0,2: 49:[72, 32, 15] Operation: 84-69=15
Exploring Operation: 84-32=52, Resulting Numbers: [72, 69, 52]
Generated Node #0,3: 49:[72, 69, 52] Operation: 84-32=52
Exploring Operation: 72-32=40, Resulting Numbers: [84, 69, 40]
Generated Node #0,4: 49:[84, 69, 40] Operation: 72-32=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[32, 69, 12], Operations: ['84-72=12']
Exploring Operation: 69-32=37, Resulting Numbers: [12, 37]
Generated Node #0,0,0: 49:[12, 37] Operation: 69-32=37
Exploring Operation: 32-12=20, Resulting Numbers: [69, 20]
Generated Node #0,0,1: 49:[69, 20] Operation: 32-12=20
Exploring Operation: 32+12=44, Resulting Numbers: [69, 44]
Generated Node #0,0,2: 49:[69, 44] Operation: 32+12=44
Exploring Operation: 69+12=81, Resulting Numbers: [32, 81]
Generated Node #0,0,3: 49:[32, 81] Operation: 69+12=81
Exploring Operation: 69-12=57, Resulting Numbers: [32, 57]
Generated Node #0,0,4: 49:[32, 57] Operation: 69-12=57
Moving to Node #0,0,0
Current State: 49:[12, 37], Operations: ['84-72=12', '69-32=37']
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,49 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[72, 32, 84, 69], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [32, 69, 12]
Generated Node #0,0: 49:[32, 69, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 49:[32, 69, 12], Operations: ['84-72=12']
Exploring Operation: 69-32=37, Resulting Numbers: [12, 37]
Generated Node #0,0,0: 49:[12, 37] Operation: 69-32=37
Moving to Node #0,0,0
Current State: 49:[12, 37], Operations: ['84-72=12', '69-32=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
30,
90,
88,
99
] | 39 | [
"90-88=2",
"30*2=60",
"99-60=39"
] | Current State: 39:[30, 90, 88, 99], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [30, 99, 2]
Generated Node #2: [30, 99, 2] from Operation: 90-88=2
Current State: 39:[30, 99, 2], Operations: ['90-88=2']
Exploring Operation: 30*2=60, Resulting Numbers: [99, 60]
Generated Node #3: [99, 60] from Operation: 30*2=60
Current State: 39:[99, 60], Operations: ['90-88=2', '30*2=60']
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[30, 90, 88, 99], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [30, 88, 9]
Generated Node #0,0: 39:[30, 88, 9] Operation: 99-90=9
Exploring Operation: 99-88=11, Resulting Numbers: [30, 90, 11]
Generated Node #0,1: 39:[30, 90, 11] Operation: 99-88=11
Exploring Operation: 90/30=3, Resulting Numbers: [88, 99, 3]
Generated Node #0,2: 39:[88, 99, 3] Operation: 90/30=3
Exploring Operation: 90-88=2, Resulting Numbers: [30, 99, 2]
Generated Node #0,3: 39:[30, 99, 2] Operation: 90-88=2
Moving to Node #0,0
Current State: 39:[30, 88, 9], Operations: ['99-90=9']
Exploring Operation: 30+9=39, Resulting Numbers: [88, 39]
Generated Node #0,0,0: 39:[88, 39] Operation: 30+9=39
Exploring Operation: 88-30=58, Resulting Numbers: [9, 58]
Generated Node #0,0,1: 39:[9, 58] Operation: 88-30=58
Exploring Operation: 88-9=79, Resulting Numbers: [30, 79]
Generated Node #0,0,2: 39:[30, 79] Operation: 88-9=79
Exploring Operation: 30-9=21, Resulting Numbers: [88, 21]
Generated Node #0,0,3: 39:[88, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[9, 58], Operations: ['99-90=9', '88-30=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,39 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,39 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: 39:[88, 39], Operations: ['99-90=9', '30+9=39']
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,39 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,39 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: 39:[30, 79], Operations: ['99-90=9', '88-9=79']
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,39 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: 39:[88, 21], Operations: ['99-90=9', '30-9=21']
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,39 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,39 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: 39:[30, 90, 11], Operations: ['99-88=11']
Exploring Operation: 90-30=60, Resulting Numbers: [11, 60]
Generated Node #0,1,0: 39:[11, 60] Operation: 90-30=60
Exploring Operation: 90-11=79, Resulting Numbers: [30, 79]
Generated Node #0,1,1: 39:[30, 79] Operation: 90-11=79
Exploring Operation: 30+11=41, Resulting Numbers: [90, 41]
Generated Node #0,1,2: 39:[90, 41] Operation: 30+11=41
Exploring Operation: 90/30=3, Resulting Numbers: [11, 3]
Generated Node #0,1,3: 39:[11, 3] Operation: 90/30=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[11, 3], Operations: ['99-88=11', '90/30=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,39 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: 39:[11, 60], Operations: ['99-88=11', '90-30=60']
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,39 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,39 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: 39:[30, 79], Operations: ['99-88=11', '90-11=79']
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,39 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,39 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: 39:[90, 41], Operations: ['99-88=11', '30+11=41']
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,39 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,39 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: 39:[30, 99, 2], Operations: ['90-88=2']
Exploring Operation: 99-30=69, Resulting Numbers: [2, 69]
Generated Node #0,3,0: 39:[2, 69] Operation: 99-30=69
Exploring Operation: 30+2=32, Resulting Numbers: [99, 32]
Generated Node #0,3,1: 39:[99, 32] Operation: 30+2=32
Exploring Operation: 30/2=15, Resulting Numbers: [99, 15]
Generated Node #0,3,2: 39:[99, 15] Operation: 30/2=15
Exploring Operation: 99-2=97, Resulting Numbers: [30, 97]
Generated Node #0,3,3: 39:[30, 97] Operation: 99-2=97
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 39:[2, 69], Operations: ['90-88=2', '99-30=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,39 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,39 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: 39:[99, 15], Operations: ['90-88=2', '30/2=15']
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,39 unequal: No Solution
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,39 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: 39:[99, 32], Operations: ['90-88=2', '30+2=32']
Exploring Operation: 99*32=3168, Resulting Numbers: [3168]
3168,39 unequal: No Solution
Exploring Operation: 99+32=131, Resulting Numbers: [131]
131,39 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,39 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: 39:[30, 97], Operations: ['90-88=2', '99-2=97']
Exploring Operation: 30+97=127, Resulting Numbers: [127]
127,39 unequal: No Solution
Exploring Operation: 30*97=2910, Resulting Numbers: [2910]
2910,39 unequal: No Solution
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,39 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: 39:[88, 99, 3], Operations: ['90/30=3']
Exploring Operation: 99/3=33, Resulting Numbers: [88, 33]
Generated Node #0,2,0: 39:[88, 33] Operation: 99/3=33
Exploring Operation: 88-3=85, Resulting Numbers: [99, 85]
Generated Node #0,2,1: 39:[99, 85] Operation: 88-3=85
Exploring Operation: 99-3=96, Resulting Numbers: [88, 96]
Generated Node #0,2,2: 39:[88, 96] Operation: 99-3=96
Exploring Operation: 99-88=11, Resulting Numbers: [3, 11]
Generated Node #0,2,3: 39:[3, 11] Operation: 99-88=11
Moving to Node #0,2,3
Current State: 39:[3, 11], Operations: ['90/30=3', '99-88=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[88, 33], Operations: ['90/30=3', '99/3=33']
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,39 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[88, 96], Operations: ['90/30=3', '99-3=96']
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,39 unequal: No Solution
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[99, 85], Operations: ['90/30=3', '88-3=85']
Exploring Operation: 99+85=184, Resulting Numbers: [184]
184,39 unequal: No Solution
Exploring Operation: 99-85=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 99*85=8415, Resulting Numbers: [8415]
8415,39 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
43,
28,
59,
38
] | 82 | [
"43-28=15",
"59+38=97",
"97-15=82"
] | Current State: 82:[43, 28, 59, 38], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [59, 38, 15]
Generated Node #2: [59, 38, 15] from Operation: 43-28=15
Current State: 82:[59, 38, 15], Operations: ['43-28=15']
Exploring Operation: 59+38=97, Resulting Numbers: [15, 97]
Generated Node #3: [15, 97] from Operation: 59+38=97
Current State: 82:[15, 97], Operations: ['43-28=15', '59+38=97']
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[43, 28, 59, 38], Operations: []
Exploring Operation: 59-28=31, Resulting Numbers: [43, 38, 31]
Generated Node #0,0: 82:[43, 38, 31] Operation: 59-28=31
Exploring Operation: 28+59=87, Resulting Numbers: [43, 38, 87]
Generated Node #0,1: 82:[43, 38, 87] Operation: 28+59=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[43, 38, 87], Operations: ['28+59=87']
Exploring Operation: 87-43=44, Resulting Numbers: [38, 44]
Generated Node #0,1,0: 82:[38, 44] Operation: 87-43=44
Exploring Operation: 43+38=81, Resulting Numbers: [87, 81]
Generated Node #0,1,1: 82:[87, 81] Operation: 43+38=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[38, 44], Operations: ['28+59=87', '87-43=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[43, 28, 59, 38], Operations: []
Exploring Operation: 28+59=87, Resulting Numbers: [43, 38, 87]
Generated Node #0,1: 82:[43, 38, 87] Operation: 28+59=87
Moving to Node #0,1
Current State: 82:[43, 38, 87], Operations: ['28+59=87']
Exploring Operation: 87-43=44, Resulting Numbers: [38, 44]
Generated Node #0,1,0: 82:[38, 44] Operation: 87-43=44
Moving to Node #0,1,0
Current State: 82:[38, 44], Operations: ['28+59=87', '87-43=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
72,
28,
65,
8
] | 67 | [
"28+8=36",
"72/36=2",
"65+2=67"
] | Current State: 67:[72, 28, 65, 8], Operations: []
Exploring Operation: 28+8=36, Resulting Numbers: [72, 65, 36]
Generated Node #2: [72, 65, 36] from Operation: 28+8=36
Current State: 67:[72, 65, 36], Operations: ['28+8=36']
Exploring Operation: 72/36=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 72/36=2
Current State: 67:[65, 2], Operations: ['28+8=36', '72/36=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[72, 28, 65, 8], Operations: []
Exploring Operation: 28+8=36, Resulting Numbers: [72, 65, 36]
Generated Node #0,0: 67:[72, 65, 36] Operation: 28+8=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[72, 65, 36], Operations: ['28+8=36']
Exploring Operation: 72-36=36, Resulting Numbers: [65, 36]
Generated Node #0,0,0: 67:[65, 36] Operation: 72-36=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[65, 36], Operations: ['28+8=36', '72-36=36']
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,67 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 |
[
70,
94,
81,
1
] | 82 | [
"70+94=164",
"81+1=82",
"164-82=82"
] | Current State: 82:[70, 94, 81, 1], Operations: []
Exploring Operation: 70+94=164, Resulting Numbers: [81, 1, 164]
Generated Node #2: [81, 1, 164] from Operation: 70+94=164
Current State: 82:[81, 1, 164], Operations: ['70+94=164']
Exploring Operation: 81+1=82, Resulting Numbers: [164, 82]
Generated Node #3: [164, 82] from Operation: 81+1=82
Current State: 82:[164, 82], Operations: ['70+94=164', '81+1=82']
Exploring Operation: 164-82=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[70, 94, 81, 1], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [70, 81, 93]
Generated Node #0,0: 82:[70, 81, 93] Operation: 94-1=93
Exploring Operation: 94-81=13, Resulting Numbers: [70, 1, 13]
Generated Node #0,1: 82:[70, 1, 13] Operation: 94-81=13
Exploring Operation: 70+1=71, Resulting Numbers: [94, 81, 71]
Generated Node #0,2: 82:[94, 81, 71] Operation: 70+1=71
Exploring Operation: 81-70=11, Resulting Numbers: [94, 1, 11]
Generated Node #0,3: 82:[94, 1, 11] Operation: 81-70=11
Exploring Operation: 94-70=24, Resulting Numbers: [81, 1, 24]
Generated Node #0,4: 82:[81, 1, 24] Operation: 94-70=24
Moving to Node #0,4
Current State: 82:[81, 1, 24], Operations: ['94-70=24']
Exploring Operation: 81+1=82, Resulting Numbers: [24, 82]
Generated Node #0,4,0: 82:[24, 82] Operation: 81+1=82
Exploring Operation: 1+24=25, Resulting Numbers: [81, 25]
Generated Node #0,4,1: 82:[81, 25] Operation: 1+24=25
Exploring Operation: 81-24=57, Resulting Numbers: [1, 57]
Generated Node #0,4,2: 82:[1, 57] Operation: 81-24=57
Exploring Operation: 81*1=81, Resulting Numbers: [24, 81]
Generated Node #0,4,3: 82:[24, 81] Operation: 81*1=81
Exploring Operation: 81/1=81, Resulting Numbers: [24, 81]
Generated Node #0,4,4: 82:[24, 81] Operation: 81/1=81
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 82:[24, 82], Operations: ['94-70=24', '81+1=82']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,82 unequal: No Solution
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,82 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: 82:[81, 25], Operations: ['94-70=24', '1+24=25']
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,82 unequal: No Solution
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,82 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: 82:[1, 57], Operations: ['94-70=24', '81-24=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,82 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,82 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: 82:[24, 81], Operations: ['94-70=24', '81*1=81']
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,82 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,82 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: 82:[24, 81], Operations: ['94-70=24', '81/1=81']
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,82 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,82 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: 82:[94, 1, 11], Operations: ['81-70=11']
Exploring Operation: 94-1=93, Resulting Numbers: [11, 93]
Generated Node #0,3,0: 82:[11, 93] Operation: 94-1=93
Exploring Operation: 94*1=94, Resulting Numbers: [11, 94]
Generated Node #0,3,1: 82:[11, 94] Operation: 94*1=94
Exploring Operation: 11-1=10, Resulting Numbers: [94, 10]
Generated Node #0,3,2: 82:[94, 10] Operation: 11-1=10
Exploring Operation: 94/1=94, Resulting Numbers: [11, 94]
Generated Node #0,3,3: 82:[11, 94] Operation: 94/1=94
Exploring Operation: 94-11=83, Resulting Numbers: [1, 83]
Generated Node #0,3,4: 82:[1, 83] Operation: 94-11=83
Moving to Node #0,0
Current State: 82:[70, 81, 93], Operations: ['94-1=93']
Exploring Operation: 70+81=151, Resulting Numbers: [93, 151]
Generated Node #0,0,0: 82:[93, 151] Operation: 70+81=151
Exploring Operation: 93-81=12, Resulting Numbers: [70, 12]
Generated Node #0,0,1: 82:[70, 12] Operation: 93-81=12
Exploring Operation: 70+93=163, Resulting Numbers: [81, 163]
Generated Node #0,0,2: 82:[81, 163] Operation: 70+93=163
Exploring Operation: 81-70=11, Resulting Numbers: [93, 11]
Generated Node #0,0,3: 82:[93, 11] Operation: 81-70=11
Exploring Operation: 93-70=23, Resulting Numbers: [81, 23]
Generated Node #0,0,4: 82:[81, 23] Operation: 93-70=23
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 82:[81, 23], Operations: ['94-1=93', '93-70=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,82 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,82 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,82 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: 82:[93, 11], Operations: ['94-1=93', '81-70=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[70, 94, 81, 1], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [70, 81, 93]
Generated Node #0,0: 82:[70, 81, 93] Operation: 94-1=93
Moving to Node #0,0
Current State: 82:[70, 81, 93], Operations: ['94-1=93']
Exploring Operation: 81-70=11, Resulting Numbers: [93, 11]
Generated Node #0,0,3: 82:[93, 11] Operation: 81-70=11
Moving to Node #0,0,3
Current State: 82:[93, 11], Operations: ['94-1=93', '81-70=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
61,
51,
66,
60
] | 16 | [
"61-51=10",
"66-60=6",
"10+6=16"
] | Current State: 16:[61, 51, 66, 60], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [66, 60, 10]
Generated Node #2: [66, 60, 10] from Operation: 61-51=10
Current State: 16:[66, 60, 10], Operations: ['61-51=10']
Exploring Operation: 66-60=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 66-60=6
Current State: 16:[10, 6], Operations: ['61-51=10', '66-60=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[61, 51, 66, 60], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [66, 60, 10]
Generated Node #0,0: 16:[66, 60, 10] Operation: 61-51=10
Exploring Operation: 66-51=15, Resulting Numbers: [61, 60, 15]
Generated Node #0,1: 16:[61, 60, 15] Operation: 66-51=15
Exploring Operation: 66-61=5, Resulting Numbers: [51, 60, 5]
Generated Node #0,2: 16:[51, 60, 5] Operation: 66-61=5
Exploring Operation: 66-60=6, Resulting Numbers: [61, 51, 6]
Generated Node #0,3: 16:[61, 51, 6] Operation: 66-60=6
Exploring Operation: 61-60=1, Resulting Numbers: [51, 66, 1]
Generated Node #0,4: 16:[51, 66, 1] Operation: 61-60=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[51, 60, 5], Operations: ['66-61=5']
Exploring Operation: 60-5=55, Resulting Numbers: [51, 55]
Generated Node #0,2,0: 16:[51, 55] Operation: 60-5=55
Exploring Operation: 51-5=46, Resulting Numbers: [60, 46]
Generated Node #0,2,1: 16:[60, 46] Operation: 51-5=46
Exploring Operation: 60/5=12, Resulting Numbers: [51, 12]
Generated Node #0,2,2: 16:[51, 12] Operation: 60/5=12
Exploring Operation: 60-51=9, Resulting Numbers: [5, 9]
Generated Node #0,2,3: 16:[5, 9] Operation: 60-51=9
Exploring Operation: 51+5=56, Resulting Numbers: [60, 56]
Generated Node #0,2,4: 16:[60, 56] Operation: 51+5=56
Moving to Node #0,2,3
Current State: 16:[5, 9], Operations: ['66-61=5', '60-51=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[51, 12], Operations: ['66-61=5', '60/5=12']
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[51, 55], Operations: ['66-61=5', '60-5=55']
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 51*55=2805, Resulting Numbers: [2805]
2805,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[60, 46], Operations: ['66-61=5', '51-5=46']
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,16 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[60, 56], Operations: ['66-61=5', '51+5=56']
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,16 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,16 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: 16:[61, 51, 6], Operations: ['66-60=6']
Exploring Operation: 51-6=45, Resulting Numbers: [61, 45]
Generated Node #0,3,0: 16:[61, 45] Operation: 51-6=45
Exploring Operation: 51+6=57, Resulting Numbers: [61, 57]
Generated Node #0,3,1: 16:[61, 57] Operation: 51+6=57
Exploring Operation: 61+6=67, Resulting Numbers: [51, 67]
Generated Node #0,3,2: 16:[51, 67] Operation: 61+6=67
Exploring Operation: 61-51=10, Resulting Numbers: [6, 10]
Generated Node #0,3,3: 16:[6, 10] Operation: 61-51=10
Exploring Operation: 61-6=55, Resulting Numbers: [51, 55]
Generated Node #0,3,4: 16:[51, 55] Operation: 61-6=55
Moving to Node #0,3,3
Current State: 16:[6, 10], Operations: ['66-60=6', '61-51=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[61, 51, 66, 60], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [61, 51, 6]
Generated Node #0,3: 16:[61, 51, 6] Operation: 66-60=6
Moving to Node #0,3
Current State: 16:[61, 51, 6], Operations: ['66-60=6']
Exploring Operation: 61-51=10, Resulting Numbers: [6, 10]
Generated Node #0,3,3: 16:[6, 10] Operation: 61-51=10
Moving to Node #0,3,3
Current State: 16:[6, 10], Operations: ['66-60=6', '61-51=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
9,
11,
4,
36
] | 10 | [
"9*4=36",
"36/36=1",
"11-1=10"
] | Current State: 10:[9, 11, 4, 36], Operations: []
Exploring Operation: 9*4=36, Resulting Numbers: [11, 36, 36]
Generated Node #2: [11, 36, 36] from Operation: 9*4=36
Current State: 10:[11, 36, 36], Operations: ['9*4=36']
Exploring Operation: 36/36=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 36/36=1
Current State: 10:[11, 1], Operations: ['9*4=36', '36/36=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[9, 11, 4, 36], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [9, 11, 9]
Generated Node #0,0: 10:[9, 11, 9] Operation: 36/4=9
Exploring Operation: 36-11=25, Resulting Numbers: [9, 4, 25]
Generated Node #0,1: 10:[9, 4, 25] Operation: 36-11=25
Exploring Operation: 36/9=4, Resulting Numbers: [11, 4, 4]
Generated Node #0,2: 10:[11, 4, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [11, 4, 27]
Generated Node #0,3: 10:[11, 4, 27] Operation: 36-9=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[9, 11, 9], Operations: ['36/4=9']
Exploring Operation: 9/9=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 10:[11, 1] Operation: 9/9=1
Exploring Operation: 9-9=0, Resulting Numbers: [11, 0]
Generated Node #0,0,1: 10:[11, 0] Operation: 9-9=0
Exploring Operation: 11-9=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 10:[9, 2] Operation: 11-9=2
Exploring Operation: 11-9=2, Resulting Numbers: [9, 2]
Generated Node #0,0,3: 10:[9, 2] Operation: 11-9=2
Moving to Node #0,0,2
Current State: 10:[9, 2], Operations: ['36/4=9', '11-9=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[9, 2], Operations: ['36/4=9', '11-9=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[11, 1], Operations: ['36/4=9', '9/9=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[9, 11, 4, 36], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [9, 11, 9]
Generated Node #0,0: 10:[9, 11, 9] Operation: 36/4=9
Moving to Node #0,0
Current State: 10:[9, 11, 9], Operations: ['36/4=9']
Exploring Operation: 9/9=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 10:[11, 1] Operation: 9/9=1
Moving to Node #0,0,0
Current State: 10:[11, 1], Operations: ['36/4=9', '9/9=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
15,
54,
46,
17
] | 24 | [
"54-15=39",
"46+17=63",
"63-39=24"
] | Current State: 24:[15, 54, 46, 17], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [46, 17, 39]
Generated Node #2: [46, 17, 39] from Operation: 54-15=39
Current State: 24:[46, 17, 39], Operations: ['54-15=39']
Exploring Operation: 46+17=63, Resulting Numbers: [39, 63]
Generated Node #3: [39, 63] from Operation: 46+17=63
Current State: 24:[39, 63], Operations: ['54-15=39', '46+17=63']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[15, 54, 46, 17], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [15, 17, 8]
Generated Node #0,0: 24:[15, 17, 8] Operation: 54-46=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[15, 17, 8], Operations: ['54-46=8']
Exploring Operation: 17-15=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 24:[8, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 24:[8, 2], Operations: ['54-46=8', '17-15=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,24 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 |
[
83,
39,
32,
68
] | 52 | [
"83-32=51",
"39*68=2652",
"2652/51=52"
] | Current State: 52:[83, 39, 32, 68], Operations: []
Exploring Operation: 83-32=51, Resulting Numbers: [39, 68, 51]
Generated Node #2: [39, 68, 51] from Operation: 83-32=51
Current State: 52:[39, 68, 51], Operations: ['83-32=51']
Exploring Operation: 39*68=2652, Resulting Numbers: [51, 2652]
Generated Node #3: [51, 2652] from Operation: 39*68=2652
Current State: 52:[51, 2652], Operations: ['83-32=51', '39*68=2652']
Exploring Operation: 2652/51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[83, 39, 32, 68], Operations: []
Exploring Operation: 83-32=51, Resulting Numbers: [39, 68, 51]
Generated Node #0,0: 52:[39, 68, 51] Operation: 83-32=51
Exploring Operation: 83-68=15, Resulting Numbers: [39, 32, 15]
Generated Node #0,1: 52:[39, 32, 15] Operation: 83-68=15
Exploring Operation: 83-39=44, Resulting Numbers: [32, 68, 44]
Generated Node #0,2: 52:[32, 68, 44] Operation: 83-39=44
Moving to Node #0,1
Current State: 52:[39, 32, 15], Operations: ['83-68=15']
Exploring Operation: 39+15=54, Resulting Numbers: [32, 54]
Generated Node #0,1,0: 52:[32, 54] Operation: 39+15=54
Exploring Operation: 39-15=24, Resulting Numbers: [32, 24]
Generated Node #0,1,1: 52:[32, 24] Operation: 39-15=24
Exploring Operation: 39-32=7, Resulting Numbers: [15, 7]
Generated Node #0,1,2: 52:[15, 7] Operation: 39-32=7
Moving to Node #0,0
Current State: 52:[39, 68, 51], Operations: ['83-32=51']
Exploring Operation: 51-39=12, Resulting Numbers: [68, 12]
Generated Node #0,0,0: 52:[68, 12] Operation: 51-39=12
Exploring Operation: 68-51=17, Resulting Numbers: [39, 17]
Generated Node #0,0,1: 52:[39, 17] Operation: 68-51=17
Exploring Operation: 68-39=29, Resulting Numbers: [51, 29]
Generated Node #0,0,2: 52:[51, 29] Operation: 68-39=29
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[51, 29], Operations: ['83-32=51', '68-39=29']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,52 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: 52:[68, 12], Operations: ['83-32=51', '51-39=12']
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,52 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: 52:[39, 17], Operations: ['83-32=51', '68-51=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,52 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: 52:[32, 68, 44], Operations: ['83-39=44']
Exploring Operation: 68-32=36, Resulting Numbers: [44, 36]
Generated Node #0,2,0: 52:[44, 36] Operation: 68-32=36
Exploring Operation: 44-32=12, Resulting Numbers: [68, 12]
Generated Node #0,2,1: 52:[68, 12] Operation: 44-32=12
Exploring Operation: 68-44=24, Resulting Numbers: [32, 24]
Generated Node #0,2,2: 52:[32, 24] Operation: 68-44=24
Moving to Node #0,1,2
Current State: 52:[15, 7], Operations: ['83-68=15', '39-32=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,52 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[32, 24], Operations: ['83-68=15', '39-15=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,52 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[32, 54], Operations: ['83-68=15', '39+15=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,52 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[32, 24], Operations: ['83-39=44', '68-44=24']
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,52 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[68, 12], Operations: ['83-39=44', '44-32=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[44, 36], Operations: ['83-39=44', '68-32=36']
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 44*36=1584, Resulting Numbers: [1584]
1584,52 unequal: No Solution
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,52 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
39,
14,
2,
73
] | 18 | [
"39+14=53",
"73-2=71",
"71-53=18"
] | Current State: 18:[39, 14, 2, 73], Operations: []
Exploring Operation: 39+14=53, Resulting Numbers: [2, 73, 53]
Generated Node #2: [2, 73, 53] from Operation: 39+14=53
Current State: 18:[2, 73, 53], Operations: ['39+14=53']
Exploring Operation: 73-2=71, Resulting Numbers: [53, 71]
Generated Node #3: [53, 71] from Operation: 73-2=71
Current State: 18:[53, 71], Operations: ['39+14=53', '73-2=71']
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[39, 14, 2, 73], Operations: []
Exploring Operation: 39-14=25, Resulting Numbers: [2, 73, 25]
Generated Node #0,0: 18:[2, 73, 25] Operation: 39-14=25
Exploring Operation: 73-39=34, Resulting Numbers: [14, 2, 34]
Generated Node #0,1: 18:[14, 2, 34] Operation: 73-39=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[14, 2, 34], Operations: ['73-39=34']
Exploring Operation: 34-14=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 18:[2, 20] Operation: 34-14=20
Exploring Operation: 34/2=17, Resulting Numbers: [14, 17]
Generated Node #0,1,1: 18:[14, 17] Operation: 34/2=17
Moving to Node #0,1,0
Current State: 18:[2, 20], Operations: ['73-39=34', '34-14=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[39, 14, 2, 73], Operations: []
Exploring Operation: 73-39=34, Resulting Numbers: [14, 2, 34]
Generated Node #0,1: 18:[14, 2, 34] Operation: 73-39=34
Moving to Node #0,1
Current State: 18:[14, 2, 34], Operations: ['73-39=34']
Exploring Operation: 34-14=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 18:[2, 20] Operation: 34-14=20
Moving to Node #0,1,0
Current State: 18:[2, 20], Operations: ['73-39=34', '34-14=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
9,
85,
29,
56
] | 82 | [
"56-29=27",
"27/9=3",
"85-3=82"
] | Current State: 82:[9, 85, 29, 56], Operations: []
Exploring Operation: 56-29=27, Resulting Numbers: [9, 85, 27]
Generated Node #2: [9, 85, 27] from Operation: 56-29=27
Current State: 82:[9, 85, 27], Operations: ['56-29=27']
Exploring Operation: 27/9=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 27/9=3
Current State: 82:[85, 3], Operations: ['56-29=27', '27/9=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[9, 85, 29, 56], Operations: []
Exploring Operation: 29+56=85, Resulting Numbers: [9, 85, 85]
Generated Node #0,0: 82:[9, 85, 85] Operation: 29+56=85
Moving to Node #0,0
Current State: 82:[9, 85, 85], Operations: ['29+56=85']
Exploring Operation: 85/85=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 82:[9, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[9, 1], Operations: ['29+56=85', '85/85=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,82 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 |
[
11,
39,
20,
41
] | 51 | [
"41-39=2",
"20*2=40",
"11+40=51"
] | Current State: 51:[11, 39, 20, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [11, 20, 2]
Generated Node #2: [11, 20, 2] from Operation: 41-39=2
Current State: 51:[11, 20, 2], Operations: ['41-39=2']
Exploring Operation: 20*2=40, Resulting Numbers: [11, 40]
Generated Node #3: [11, 40] from Operation: 20*2=40
Current State: 51:[11, 40], Operations: ['41-39=2', '20*2=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[11, 39, 20, 41], Operations: []
Exploring Operation: 11+41=52, Resulting Numbers: [39, 20, 52]
Generated Node #0,0: 51:[39, 20, 52] Operation: 11+41=52
Exploring Operation: 39-20=19, Resulting Numbers: [11, 41, 19]
Generated Node #0,1: 51:[11, 41, 19] Operation: 39-20=19
Exploring Operation: 41-39=2, Resulting Numbers: [11, 20, 2]
Generated Node #0,2: 51:[11, 20, 2] Operation: 41-39=2
Exploring Operation: 11+39=50, Resulting Numbers: [20, 41, 50]
Generated Node #0,3: 51:[20, 41, 50] Operation: 11+39=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[11, 20, 2], Operations: ['41-39=2']
Exploring Operation: 11+2=13, Resulting Numbers: [20, 13]
Generated Node #0,2,0: 51:[20, 13] Operation: 11+2=13
Exploring Operation: 11*2=22, Resulting Numbers: [20, 22]
Generated Node #0,2,1: 51:[20, 22] Operation: 11*2=22
Exploring Operation: 20-11=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 51:[2, 9] Operation: 20-11=9
Exploring Operation: 20-2=18, Resulting Numbers: [11, 18]
Generated Node #0,2,3: 51:[11, 18] Operation: 20-2=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[20, 13], Operations: ['41-39=2', '11+2=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,51 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,51 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: 51:[2, 9], Operations: ['41-39=2', '20-11=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,51 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: 51:[11, 18], Operations: ['41-39=2', '20-2=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,51 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,51 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: 51:[20, 22], Operations: ['41-39=2', '11*2=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,51 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: 51:[20, 41, 50], Operations: ['11+39=50']
Exploring Operation: 50-41=9, Resulting Numbers: [20, 9]
Generated Node #0,3,0: 51:[20, 9] Operation: 50-41=9
Exploring Operation: 50-20=30, Resulting Numbers: [41, 30]
Generated Node #0,3,1: 51:[41, 30] Operation: 50-20=30
Exploring Operation: 20+41=61, Resulting Numbers: [50, 61]
Generated Node #0,3,2: 51:[50, 61] Operation: 20+41=61
Exploring Operation: 41-20=21, Resulting Numbers: [50, 21]
Generated Node #0,3,3: 51:[50, 21] Operation: 41-20=21
Moving to Node #0,3,3
Current State: 51:[50, 21], Operations: ['11+39=50', '41-20=21']
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,51 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[20, 9], Operations: ['11+39=50', '50-41=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[50, 61], Operations: ['11+39=50', '20+41=61']
Exploring Operation: 50*61=3050, Resulting Numbers: [3050]
3050,51 unequal: No Solution
Exploring Operation: 50+61=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[41, 30], Operations: ['11+39=50', '50-20=30']
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,51 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,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:[39, 20, 52], Operations: ['11+41=52']
Exploring Operation: 39-20=19, Resulting Numbers: [52, 19]
Generated Node #0,0,0: 51:[52, 19] Operation: 39-20=19
Exploring Operation: 39+20=59, Resulting Numbers: [52, 59]
Generated Node #0,0,1: 51:[52, 59] Operation: 39+20=59
Exploring Operation: 52-20=32, Resulting Numbers: [39, 32]
Generated Node #0,0,2: 51:[39, 32] Operation: 52-20=32
Exploring Operation: 52-39=13, Resulting Numbers: [20, 13]
Generated Node #0,0,3: 51:[20, 13] Operation: 52-39=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[52, 19], Operations: ['11+41=52', '39-20=19']
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,51 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,51 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: 51:[20, 13], Operations: ['11+41=52', '52-39=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,51 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: 51:[52, 59], Operations: ['11+41=52', '39+20=59']
Exploring Operation: 52+59=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 52*59=3068, Resulting Numbers: [3068]
3068,51 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: 51:[39, 32], Operations: ['11+41=52', '52-20=32']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,51 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: 51:[11, 41, 19], Operations: ['39-20=19']
Exploring Operation: 19-11=8, Resulting Numbers: [41, 8]
Generated Node #0,1,0: 51:[41, 8] Operation: 19-11=8
Exploring Operation: 41-19=22, Resulting Numbers: [11, 22]
Generated Node #0,1,1: 51:[11, 22] Operation: 41-19=22
Exploring Operation: 11+41=52, Resulting Numbers: [19, 52]
Generated Node #0,1,2: 51:[19, 52] Operation: 11+41=52
Exploring Operation: 41-11=30, Resulting Numbers: [19, 30]
Generated Node #0,1,3: 51:[19, 30] Operation: 41-11=30
Moving to Node #0,1,2
Current State: 51:[19, 52], Operations: ['39-20=19', '11+41=52']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,51 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[11, 22], Operations: ['39-20=19', '41-19=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[19, 30], Operations: ['39-20=19', '41-11=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,51 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[41, 8], Operations: ['39-20=19', '19-11=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,51 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 |
[
66,
89,
19,
67
] | 25 | [
"89-66=23",
"67-19=48",
"48-23=25"
] | Current State: 25:[66, 89, 19, 67], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [19, 67, 23]
Generated Node #2: [19, 67, 23] from Operation: 89-66=23
Current State: 25:[19, 67, 23], Operations: ['89-66=23']
Exploring Operation: 67-19=48, Resulting Numbers: [23, 48]
Generated Node #3: [23, 48] from Operation: 67-19=48
Current State: 25:[23, 48], Operations: ['89-66=23', '67-19=48']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[66, 89, 19, 67], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [19, 67, 23]
Generated Node #0,0: 25:[19, 67, 23] Operation: 89-66=23
Moving to Node #0,0
Current State: 25:[19, 67, 23], Operations: ['89-66=23']
Exploring Operation: 67-19=48, Resulting Numbers: [23, 48]
Generated Node #0,0,0: 25:[23, 48] Operation: 67-19=48
Moving to Node #0,0,0
Current State: 25:[23, 48], Operations: ['89-66=23', '67-19=48']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[66, 89, 19, 67], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [19, 67, 23]
Generated Node #0,0: 25:[19, 67, 23] Operation: 89-66=23
Moving to Node #0,0
Current State: 25:[19, 67, 23], Operations: ['89-66=23']
Exploring Operation: 67-19=48, Resulting Numbers: [23, 48]
Generated Node #0,0,0: 25:[23, 48] Operation: 67-19=48
Moving to Node #0,0,0
Current State: 25:[23, 48], Operations: ['89-66=23', '67-19=48']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
64,
32,
40,
88
] | 48 | [
"64+32=96",
"88-40=48",
"96-48=48"
] | Current State: 48:[64, 32, 40, 88], Operations: []
Exploring Operation: 64+32=96, Resulting Numbers: [40, 88, 96]
Generated Node #2: [40, 88, 96] from Operation: 64+32=96
Current State: 48:[40, 88, 96], Operations: ['64+32=96']
Exploring Operation: 88-40=48, Resulting Numbers: [96, 48]
Generated Node #3: [96, 48] from Operation: 88-40=48
Current State: 48:[96, 48], Operations: ['64+32=96', '88-40=48']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[64, 32, 40, 88], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [32, 40, 24]
Generated Node #0,0: 48:[32, 40, 24] Operation: 88-64=24
Moving to Node #0,0
Current State: 48:[32, 40, 24], Operations: ['88-64=24']
Exploring Operation: 40-32=8, Resulting Numbers: [24, 8]
Generated Node #0,0,0: 48:[24, 8] Operation: 40-32=8
Moving to Node #0,0,0
Current State: 48:[24, 8], Operations: ['88-64=24', '40-32=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,48 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
9,
33,
3
] | 54 | [
"33/11=3",
"3+3=6",
"9*6=54"
] | Current State: 54:[11, 9, 33, 3], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [9, 3, 3]
Generated Node #2: [9, 3, 3] from Operation: 33/11=3
Current State: 54:[9, 3, 3], Operations: ['33/11=3']
Exploring Operation: 3+3=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 3+3=6
Current State: 54:[9, 6], Operations: ['33/11=3', '3+3=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[11, 9, 33, 3], Operations: []
Exploring Operation: 33/3=11, Resulting Numbers: [11, 9, 11]
Generated Node #0,0: 54:[11, 9, 11] Operation: 33/3=11
Exploring Operation: 33/11=3, Resulting Numbers: [9, 3, 3]
Generated Node #0,1: 54:[9, 3, 3] Operation: 33/11=3
Exploring Operation: 33-9=24, Resulting Numbers: [11, 3, 24]
Generated Node #0,2: 54:[11, 3, 24] Operation: 33-9=24
Exploring Operation: 33-11=22, Resulting Numbers: [9, 3, 22]
Generated Node #0,3: 54:[9, 3, 22] Operation: 33-11=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[9, 3, 3], Operations: ['33/11=3']
Exploring Operation: 9-3=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 54:[3, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 54:[3, 3] Operation: 9/3=3
Exploring Operation: 9*3=27, Resulting Numbers: [3, 27]
Generated Node #0,1,2: 54:[3, 27] Operation: 9*3=27
Exploring Operation: 9*3=27, Resulting Numbers: [3, 27]
Generated Node #0,1,3: 54:[3, 27] Operation: 9*3=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[3, 6], Operations: ['33/11=3', '9-3=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,54 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: 54:[3, 3], Operations: ['33/11=3', '9/3=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,54 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: 54:[3, 27], Operations: ['33/11=3', '9*3=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,54 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: 54:[3, 27], Operations: ['33/11=3', '9*3=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,54 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: 54:[11, 9, 11], Operations: ['33/3=11']
Exploring Operation: 11/11=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 54:[9, 1] Operation: 11/11=1
Exploring Operation: 11-9=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 54:[11, 2] Operation: 11-9=2
Exploring Operation: 11-11=0, Resulting Numbers: [9, 0]
Generated Node #0,0,2: 54:[9, 0] Operation: 11-11=0
Exploring Operation: 11-9=2, Resulting Numbers: [11, 2]
Generated Node #0,0,3: 54:[11, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 54:[9, 1], Operations: ['33/3=11', '11/11=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[9, 0], Operations: ['33/3=11', '11-11=0']
Exploring Operation: 9*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Exploring Operation: 9-0=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 9+0=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[11, 2], Operations: ['33/3=11', '11-9=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[11, 2], Operations: ['33/3=11', '11-9=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,54 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: 54:[9, 3, 22], Operations: ['33-11=22']
Exploring Operation: 9-3=6, Resulting Numbers: [22, 6]
Generated Node #0,3,0: 54:[22, 6] Operation: 9-3=6
Exploring Operation: 3+22=25, Resulting Numbers: [9, 25]
Generated Node #0,3,1: 54:[9, 25] Operation: 3+22=25
Exploring Operation: 9*3=27, Resulting Numbers: [22, 27]
Generated Node #0,3,2: 54:[22, 27] Operation: 9*3=27
Exploring Operation: 22-3=19, Resulting Numbers: [9, 19]
Generated Node #0,3,3: 54:[9, 19] Operation: 22-3=19
Moving to Node #0,3,3
Current State: 54:[9, 19], Operations: ['33-11=22', '22-3=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[9, 25], Operations: ['33-11=22', '3+22=25']
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,54 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[22, 27], Operations: ['33-11=22', '9*3=27']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[22, 6], Operations: ['33-11=22', '9-3=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,54 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,54 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: 54:[11, 3, 24], Operations: ['33-9=24']
Exploring Operation: 24/3=8, Resulting Numbers: [11, 8]
Generated Node #0,2,0: 54:[11, 8] Operation: 24/3=8
Exploring Operation: 3+24=27, Resulting Numbers: [11, 27]
Generated Node #0,2,1: 54:[11, 27] Operation: 3+24=27
Exploring Operation: 24-11=13, Resulting Numbers: [3, 13]
Generated Node #0,2,2: 54:[3, 13] Operation: 24-11=13
Exploring Operation: 11-3=8, Resulting Numbers: [24, 8]
Generated Node #0,2,3: 54:[24, 8] Operation: 11-3=8
Moving to Node #0,2,1
Current State: 54:[11, 27], Operations: ['33-9=24', '3+24=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,54 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[11, 8], Operations: ['33-9=24', '24/3=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[24, 8], Operations: ['33-9=24', '11-3=8']
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[3, 13], Operations: ['33-9=24', '24-11=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,54 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 |
[
44,
93,
91,
76
] | 60 | [
"44+76=120",
"93-91=2",
"120/2=60"
] | Current State: 60:[44, 93, 91, 76], Operations: []
Exploring Operation: 44+76=120, Resulting Numbers: [93, 91, 120]
Generated Node #2: [93, 91, 120] from Operation: 44+76=120
Current State: 60:[93, 91, 120], Operations: ['44+76=120']
Exploring Operation: 93-91=2, Resulting Numbers: [120, 2]
Generated Node #3: [120, 2] from Operation: 93-91=2
Current State: 60:[120, 2], Operations: ['44+76=120', '93-91=2']
Exploring Operation: 120/2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[44, 93, 91, 76], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [44, 91, 17]
Generated Node #0,0: 60:[44, 91, 17] Operation: 93-76=17
Exploring Operation: 91-76=15, Resulting Numbers: [44, 93, 15]
Generated Node #0,1: 60:[44, 93, 15] Operation: 91-76=15
Exploring Operation: 93-91=2, Resulting Numbers: [44, 76, 2]
Generated Node #0,2: 60:[44, 76, 2] Operation: 93-91=2
Moving to Node #0,2
Current State: 60:[44, 76, 2], Operations: ['93-91=2']
Exploring Operation: 76/2=38, Resulting Numbers: [44, 38]
Generated Node #0,2,0: 60:[44, 38] Operation: 76/2=38
Exploring Operation: 76-44=32, Resulting Numbers: [2, 32]
Generated Node #0,2,1: 60:[2, 32] Operation: 76-44=32
Exploring Operation: 44/2=22, Resulting Numbers: [76, 22]
Generated Node #0,2,2: 60:[76, 22] Operation: 44/2=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[2, 32], Operations: ['93-91=2', '76-44=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,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,2,2
Current State: 60:[76, 22], Operations: ['93-91=2', '44/2=22']
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,60 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,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,2,0
Current State: 60:[44, 38], Operations: ['93-91=2', '76/2=38']
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,60 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,60 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: 60:[44, 91, 17], Operations: ['93-76=17']
Exploring Operation: 44+17=61, Resulting Numbers: [91, 61]
Generated Node #0,0,0: 60:[91, 61] Operation: 44+17=61
Exploring Operation: 91-17=74, Resulting Numbers: [44, 74]
Generated Node #0,0,1: 60:[44, 74] Operation: 91-17=74
Exploring Operation: 91-44=47, Resulting Numbers: [17, 47]
Generated Node #0,0,2: 60:[17, 47] Operation: 91-44=47
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[17, 47], Operations: ['93-76=17', '91-44=47']
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,60 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,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,0,1
Current State: 60:[44, 74], Operations: ['93-76=17', '91-17=74']
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,60 unequal: No Solution
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,60 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,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,0,0
Current State: 60:[91, 61], Operations: ['93-76=17', '44+17=61']
Exploring Operation: 91+61=152, Resulting Numbers: [152]
152,60 unequal: No Solution
Exploring Operation: 91*61=5551, Resulting Numbers: [5551]
5551,60 unequal: No Solution
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,60 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: 60:[44, 93, 15], Operations: ['91-76=15']
Exploring Operation: 44+15=59, Resulting Numbers: [93, 59]
Generated Node #0,1,0: 60:[93, 59] Operation: 44+15=59
Exploring Operation: 93-44=49, Resulting Numbers: [15, 49]
Generated Node #0,1,1: 60:[15, 49] Operation: 93-44=49
Exploring Operation: 93-15=78, Resulting Numbers: [44, 78]
Generated Node #0,1,2: 60:[44, 78] Operation: 93-15=78
Moving to Node #0,1,1
Current State: 60:[15, 49], Operations: ['91-76=15', '93-44=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,60 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[44, 78], Operations: ['91-76=15', '93-15=78']
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[93, 59], Operations: ['91-76=15', '44+15=59']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,60 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,60 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
48,
51,
44,
93
] | 47 | [
"51+93=144",
"144/48=3",
"44+3=47"
] | Current State: 47:[48, 51, 44, 93], Operations: []
Exploring Operation: 51+93=144, Resulting Numbers: [48, 44, 144]
Generated Node #2: [48, 44, 144] from Operation: 51+93=144
Current State: 47:[48, 44, 144], Operations: ['51+93=144']
Exploring Operation: 144/48=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 144/48=3
Current State: 47:[44, 3], Operations: ['51+93=144', '144/48=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[48, 51, 44, 93], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [51, 44, 45]
Generated Node #0,0: 47:[51, 44, 45] Operation: 93-48=45
Exploring Operation: 93-44=49, Resulting Numbers: [48, 51, 49]
Generated Node #0,1: 47:[48, 51, 49] Operation: 93-44=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[48, 51, 49], Operations: ['93-44=49']
Exploring Operation: 51-48=3, Resulting Numbers: [49, 3]
Generated Node #0,1,0: 47:[49, 3] Operation: 51-48=3
Exploring Operation: 51-49=2, Resulting Numbers: [48, 2]
Generated Node #0,1,1: 47:[48, 2] Operation: 51-49=2
Moving to Node #0,1,0
Current State: 47:[49, 3], Operations: ['93-44=49', '51-48=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[48, 2], Operations: ['93-44=49', '51-49=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,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,0
Current State: 47:[51, 44, 45], Operations: ['93-48=45']
Exploring Operation: 51-44=7, Resulting Numbers: [45, 7]
Generated Node #0,0,0: 47:[45, 7] Operation: 51-44=7
Exploring Operation: 51-45=6, Resulting Numbers: [44, 6]
Generated Node #0,0,1: 47:[44, 6] Operation: 51-45=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[45, 7], Operations: ['93-48=45', '51-44=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,47 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: 47:[44, 6], Operations: ['93-48=45', '51-45=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,47 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 |
[
64,
46,
29,
35
] | 24 | [
"64-46=18",
"35-29=6",
"18+6=24"
] | Current State: 24:[64, 46, 29, 35], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [29, 35, 18]
Generated Node #2: [29, 35, 18] from Operation: 64-46=18
Current State: 24:[29, 35, 18], Operations: ['64-46=18']
Exploring Operation: 35-29=6, Resulting Numbers: [18, 6]
Generated Node #3: [18, 6] from Operation: 35-29=6
Current State: 24:[18, 6], Operations: ['64-46=18', '35-29=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[64, 46, 29, 35], Operations: []
Exploring Operation: 46-35=11, Resulting Numbers: [64, 29, 11]
Generated Node #0,0: 24:[64, 29, 11] Operation: 46-35=11
Exploring Operation: 64-35=29, Resulting Numbers: [46, 29, 29]
Generated Node #0,1: 24:[46, 29, 29] Operation: 64-35=29
Exploring Operation: 64-29=35, Resulting Numbers: [46, 35, 35]
Generated Node #0,2: 24:[46, 35, 35] Operation: 64-29=35
Exploring Operation: 64-46=18, Resulting Numbers: [29, 35, 18]
Generated Node #0,3: 24:[29, 35, 18] Operation: 64-46=18
Exploring Operation: 46-29=17, Resulting Numbers: [64, 35, 17]
Generated Node #0,4: 24:[64, 35, 17] Operation: 46-29=17
Moving to Node #0,3
Current State: 24:[29, 35, 18], Operations: ['64-46=18']
Exploring Operation: 35-29=6, Resulting Numbers: [18, 6]
Generated Node #0,3,0: 24:[18, 6] Operation: 35-29=6
Exploring Operation: 29+18=47, Resulting Numbers: [35, 47]
Generated Node #0,3,1: 24:[35, 47] Operation: 29+18=47
Exploring Operation: 35+18=53, Resulting Numbers: [29, 53]
Generated Node #0,3,2: 24:[29, 53] Operation: 35+18=53
Exploring Operation: 29-18=11, Resulting Numbers: [35, 11]
Generated Node #0,3,3: 24:[35, 11] Operation: 29-18=11
Exploring Operation: 35-18=17, Resulting Numbers: [29, 17]
Generated Node #0,3,4: 24:[29, 17] Operation: 35-18=17
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[18, 6], Operations: ['64-46=18', '35-29=6']
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[64, 46, 29, 35], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [29, 35, 18]
Generated Node #0,3: 24:[29, 35, 18] Operation: 64-46=18
Moving to Node #0,3
Current State: 24:[29, 35, 18], Operations: ['64-46=18']
Exploring Operation: 35-29=6, Resulting Numbers: [18, 6]
Generated Node #0,3,0: 24:[18, 6] Operation: 35-29=6
Moving to Node #0,3,0
Current State: 24:[18, 6], Operations: ['64-46=18', '35-29=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
37,
68,
41,
89
] | 25 | [
"37+68=105",
"41+89=130",
"130-105=25"
] | Current State: 25:[37, 68, 41, 89], Operations: []
Exploring Operation: 37+68=105, Resulting Numbers: [41, 89, 105]
Generated Node #2: [41, 89, 105] from Operation: 37+68=105
Current State: 25:[41, 89, 105], Operations: ['37+68=105']
Exploring Operation: 41+89=130, Resulting Numbers: [105, 130]
Generated Node #3: [105, 130] from Operation: 41+89=130
Current State: 25:[105, 130], Operations: ['37+68=105', '41+89=130']
Exploring Operation: 130-105=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[37, 68, 41, 89], Operations: []
Exploring Operation: 89-41=48, Resulting Numbers: [37, 68, 48]
Generated Node #0,0: 25:[37, 68, 48] Operation: 89-41=48
Exploring Operation: 89-68=21, Resulting Numbers: [37, 41, 21]
Generated Node #0,1: 25:[37, 41, 21] Operation: 89-68=21
Exploring Operation: 68-41=27, Resulting Numbers: [37, 89, 27]
Generated Node #0,2: 25:[37, 89, 27] Operation: 68-41=27
Exploring Operation: 68-37=31, Resulting Numbers: [41, 89, 31]
Generated Node #0,3: 25:[41, 89, 31] Operation: 68-37=31
Moving to Node #0,1
Current State: 25:[37, 41, 21], Operations: ['89-68=21']
Exploring Operation: 37-21=16, Resulting Numbers: [41, 16]
Generated Node #0,1,0: 25:[41, 16] Operation: 37-21=16
Exploring Operation: 41-21=20, Resulting Numbers: [37, 20]
Generated Node #0,1,1: 25:[37, 20] Operation: 41-21=20
Exploring Operation: 41-37=4, Resulting Numbers: [21, 4]
Generated Node #0,1,2: 25:[21, 4] Operation: 41-37=4
Exploring Operation: 37+21=58, Resulting Numbers: [41, 58]
Generated Node #0,1,3: 25:[41, 58] Operation: 37+21=58
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[21, 4], Operations: ['89-68=21', '41-37=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[37, 68, 41, 89], Operations: []
Exploring Operation: 89-68=21, Resulting Numbers: [37, 41, 21]
Generated Node #0,1: 25:[37, 41, 21] Operation: 89-68=21
Moving to Node #0,1
Current State: 25:[37, 41, 21], Operations: ['89-68=21']
Exploring Operation: 41-37=4, Resulting Numbers: [21, 4]
Generated Node #0,1,2: 25:[21, 4] Operation: 41-37=4
Moving to Node #0,1,2
Current State: 25:[21, 4], Operations: ['89-68=21', '41-37=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
23,
24,
18,
30
] | 20 | [
"24+30=54",
"54/18=3",
"23-3=20"
] | Current State: 20:[23, 24, 18, 30], Operations: []
Exploring Operation: 24+30=54, Resulting Numbers: [23, 18, 54]
Generated Node #2: [23, 18, 54] from Operation: 24+30=54
Current State: 20:[23, 18, 54], Operations: ['24+30=54']
Exploring Operation: 54/18=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 54/18=3
Current State: 20:[23, 3], Operations: ['24+30=54', '54/18=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[23, 24, 18, 30], Operations: []
Exploring Operation: 30-24=6, Resulting Numbers: [23, 18, 6]
Generated Node #0,0: 20:[23, 18, 6] Operation: 30-24=6
Exploring Operation: 30-18=12, Resulting Numbers: [23, 24, 12]
Generated Node #0,1: 20:[23, 24, 12] Operation: 30-18=12
Exploring Operation: 30-23=7, Resulting Numbers: [24, 18, 7]
Generated Node #0,2: 20:[24, 18, 7] Operation: 30-23=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[23, 18, 6], Operations: ['30-24=6']
Exploring Operation: 23-6=17, Resulting Numbers: [18, 17]
Generated Node #0,0,0: 20:[18, 17] Operation: 23-6=17
Exploring Operation: 18/6=3, Resulting Numbers: [23, 3]
Generated Node #0,0,1: 20:[23, 3] Operation: 18/6=3
Exploring Operation: 23-18=5, Resulting Numbers: [6, 5]
Generated Node #0,0,2: 20:[6, 5] Operation: 23-18=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[6, 5], Operations: ['30-24=6', '23-18=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,20 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: 20:[23, 3], Operations: ['30-24=6', '18/6=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[23, 24, 18, 30], Operations: []
Exploring Operation: 30-24=6, Resulting Numbers: [23, 18, 6]
Generated Node #0,0: 20:[23, 18, 6] Operation: 30-24=6
Moving to Node #0,0
Current State: 20:[23, 18, 6], Operations: ['30-24=6']
Exploring Operation: 18/6=3, Resulting Numbers: [23, 3]
Generated Node #0,0,1: 20:[23, 3] Operation: 18/6=3
Moving to Node #0,0,1
Current State: 20:[23, 3], Operations: ['30-24=6', '18/6=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
13,
32,
1,
80
] | 62 | [
"32-13=19",
"1+80=81",
"81-19=62"
] | Current State: 62:[13, 32, 1, 80], Operations: []
Exploring Operation: 32-13=19, Resulting Numbers: [1, 80, 19]
Generated Node #2: [1, 80, 19] from Operation: 32-13=19
Current State: 62:[1, 80, 19], Operations: ['32-13=19']
Exploring Operation: 1+80=81, Resulting Numbers: [19, 81]
Generated Node #3: [19, 81] from Operation: 1+80=81
Current State: 62:[19, 81], Operations: ['32-13=19', '1+80=81']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[13, 32, 1, 80], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [13, 1, 48]
Generated Node #0,0: 62:[13, 1, 48] Operation: 80-32=48
Exploring Operation: 80-13=67, Resulting Numbers: [32, 1, 67]
Generated Node #0,1: 62:[32, 1, 67] Operation: 80-13=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[32, 1, 67], Operations: ['80-13=67']
Exploring Operation: 67-32=35, Resulting Numbers: [1, 35]
Generated Node #0,1,0: 62:[1, 35] Operation: 67-32=35
Exploring Operation: 32-1=31, Resulting Numbers: [67, 31]
Generated Node #0,1,1: 62:[67, 31] Operation: 32-1=31
Moving to Node #0,1,0
Current State: 62:[1, 35], Operations: ['80-13=67', '67-32=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[67, 31], Operations: ['80-13=67', '32-1=31']
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,62 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: 62:[13, 1, 48], Operations: ['80-32=48']
Exploring Operation: 48-13=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 62:[1, 35] Operation: 48-13=35
Exploring Operation: 13+48=61, Resulting Numbers: [1, 61]
Generated Node #0,0,1: 62:[1, 61] Operation: 13+48=61
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[1, 61], Operations: ['80-32=48', '13+48=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[13, 32, 1, 80], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [13, 1, 48]
Generated Node #0,0: 62:[13, 1, 48] Operation: 80-32=48
Moving to Node #0,0
Current State: 62:[13, 1, 48], Operations: ['80-32=48']
Exploring Operation: 13+48=61, Resulting Numbers: [1, 61]
Generated Node #0,0,1: 62:[1, 61] Operation: 13+48=61
Moving to Node #0,0,1
Current State: 62:[1, 61], Operations: ['80-32=48', '13+48=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
6,
79,
47,
56
] | 82 | [
"79-6=73",
"56-47=9",
"73+9=82"
] | Current State: 82:[6, 79, 47, 56], Operations: []
Exploring Operation: 79-6=73, Resulting Numbers: [47, 56, 73]
Generated Node #2: [47, 56, 73] from Operation: 79-6=73
Current State: 82:[47, 56, 73], Operations: ['79-6=73']
Exploring Operation: 56-47=9, Resulting Numbers: [73, 9]
Generated Node #3: [73, 9] from Operation: 56-47=9
Current State: 82:[73, 9], Operations: ['79-6=73', '56-47=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[6, 79, 47, 56], Operations: []
Exploring Operation: 47-6=41, Resulting Numbers: [79, 56, 41]
Generated Node #0,0: 82:[79, 56, 41] Operation: 47-6=41
Exploring Operation: 56-47=9, Resulting Numbers: [6, 79, 9]
Generated Node #0,1: 82:[6, 79, 9] Operation: 56-47=9
Moving to Node #0,1
Current State: 82:[6, 79, 9], Operations: ['56-47=9']
Exploring Operation: 9-6=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 82:[79, 3] Operation: 9-6=3
Exploring Operation: 6+79=85, Resulting Numbers: [9, 85]
Generated Node #0,1,1: 82:[9, 85] Operation: 6+79=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[79, 3], Operations: ['56-47=9', '9-6=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[6, 79, 47, 56], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [6, 79, 9]
Generated Node #0,1: 82:[6, 79, 9] Operation: 56-47=9
Moving to Node #0,1
Current State: 82:[6, 79, 9], Operations: ['56-47=9']
Exploring Operation: 9-6=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 82:[79, 3] Operation: 9-6=3
Moving to Node #0,1,0
Current State: 82:[79, 3], Operations: ['56-47=9', '9-6=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
83,
88,
28,
7
] | 16 | [
"88-83=5",
"28-7=21",
"21-5=16"
] | Current State: 16:[83, 88, 28, 7], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [28, 7, 5]
Generated Node #2: [28, 7, 5] from Operation: 88-83=5
Current State: 16:[28, 7, 5], Operations: ['88-83=5']
Exploring Operation: 28-7=21, Resulting Numbers: [5, 21]
Generated Node #3: [5, 21] from Operation: 28-7=21
Current State: 16:[5, 21], Operations: ['88-83=5', '28-7=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[83, 88, 28, 7], Operations: []
Exploring Operation: 83-28=55, Resulting Numbers: [88, 7, 55]
Generated Node #0,0: 16:[88, 7, 55] Operation: 83-28=55
Exploring Operation: 88-28=60, Resulting Numbers: [83, 7, 60]
Generated Node #0,1: 16:[83, 7, 60] Operation: 88-28=60
Exploring Operation: 88-83=5, Resulting Numbers: [28, 7, 5]
Generated Node #0,2: 16:[28, 7, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[28, 7, 5], Operations: ['88-83=5']
Exploring Operation: 28/7=4, Resulting Numbers: [5, 4]
Generated Node #0,2,0: 16:[5, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [5, 21]
Generated Node #0,2,1: 16:[5, 21] Operation: 28-7=21
Exploring Operation: 28-5=23, Resulting Numbers: [7, 23]
Generated Node #0,2,2: 16:[7, 23] Operation: 28-5=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 16:[5, 4], Operations: ['88-83=5', '28/7=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,16 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: 16:[5, 21], Operations: ['88-83=5', '28-7=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[83, 88, 28, 7], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [28, 7, 5]
Generated Node #0,2: 16:[28, 7, 5] Operation: 88-83=5
Moving to Node #0,2
Current State: 16:[28, 7, 5], Operations: ['88-83=5']
Exploring Operation: 28-7=21, Resulting Numbers: [5, 21]
Generated Node #0,2,1: 16:[5, 21] Operation: 28-7=21
Moving to Node #0,2,1
Current State: 16:[5, 21], Operations: ['88-83=5', '28-7=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
72,
79,
18,
43
] | 54 | [
"79-72=7",
"18+43=61",
"61-7=54"
] | Current State: 54:[72, 79, 18, 43], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [18, 43, 7]
Generated Node #2: [18, 43, 7] from Operation: 79-72=7
Current State: 54:[18, 43, 7], Operations: ['79-72=7']
Exploring Operation: 18+43=61, Resulting Numbers: [7, 61]
Generated Node #3: [7, 61] from Operation: 18+43=61
Current State: 54:[7, 61], Operations: ['79-72=7', '18+43=61']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[72, 79, 18, 43], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [79, 18, 29]
Generated Node #0,0: 54:[79, 18, 29] Operation: 72-43=29
Exploring Operation: 79-43=36, Resulting Numbers: [72, 18, 36]
Generated Node #0,1: 54:[72, 18, 36] Operation: 79-43=36
Exploring Operation: 79-72=7, Resulting Numbers: [18, 43, 7]
Generated Node #0,2: 54:[18, 43, 7] Operation: 79-72=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[18, 43, 7], Operations: ['79-72=7']
Exploring Operation: 18+43=61, Resulting Numbers: [7, 61]
Generated Node #0,2,0: 54:[7, 61] Operation: 18+43=61
Exploring Operation: 43+7=50, Resulting Numbers: [18, 50]
Generated Node #0,2,1: 54:[18, 50] Operation: 43+7=50
Exploring Operation: 43-18=25, Resulting Numbers: [7, 25]
Generated Node #0,2,2: 54:[7, 25] Operation: 43-18=25
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[7, 25], Operations: ['79-72=7', '43-18=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,54 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: 54:[18, 50], Operations: ['79-72=7', '43+7=50']
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,54 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: 54:[7, 61], Operations: ['79-72=7', '18+43=61']
Exploring Operation: 7+61=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[72, 79, 18, 43], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [18, 43, 7]
Generated Node #0,2: 54:[18, 43, 7] Operation: 79-72=7
Moving to Node #0,2
Current State: 54:[18, 43, 7], Operations: ['79-72=7']
Exploring Operation: 18+43=61, Resulting Numbers: [7, 61]
Generated Node #0,2,0: 54:[7, 61] Operation: 18+43=61
Moving to Node #0,2,0
Current State: 54:[7, 61], Operations: ['79-72=7', '18+43=61']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
72,
45,
2,
31
] | 80 | [
"45+31=76",
"2*76=152",
"152-72=80"
] | Current State: 80:[72, 45, 2, 31], Operations: []
Exploring Operation: 45+31=76, Resulting Numbers: [72, 2, 76]
Generated Node #2: [72, 2, 76] from Operation: 45+31=76
Current State: 80:[72, 2, 76], Operations: ['45+31=76']
Exploring Operation: 2*76=152, Resulting Numbers: [72, 152]
Generated Node #3: [72, 152] from Operation: 2*76=152
Current State: 80:[72, 152], Operations: ['45+31=76', '2*76=152']
Exploring Operation: 152-72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[72, 45, 2, 31], Operations: []
Exploring Operation: 72-31=41, Resulting Numbers: [45, 2, 41]
Generated Node #0,0: 80:[45, 2, 41] Operation: 72-31=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[45, 2, 41], Operations: ['72-31=41']
Exploring Operation: 45-41=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 80:[2, 4] Operation: 45-41=4
Moving to Node #0,0,0
Current State: 80:[2, 4], Operations: ['72-31=41', '45-41=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 | mult_heuristic |
[
81,
84,
21,
12
] | 95 | [
"81+21=102",
"84/12=7",
"102-7=95"
] | Current State: 95:[81, 84, 21, 12], Operations: []
Exploring Operation: 81+21=102, Resulting Numbers: [84, 12, 102]
Generated Node #2: [84, 12, 102] from Operation: 81+21=102
Current State: 95:[84, 12, 102], Operations: ['81+21=102']
Exploring Operation: 84/12=7, Resulting Numbers: [102, 7]
Generated Node #3: [102, 7] from Operation: 84/12=7
Current State: 95:[102, 7], Operations: ['81+21=102', '84/12=7']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[81, 84, 21, 12], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [21, 12, 3]
Generated Node #0,0: 95:[21, 12, 3] Operation: 84-81=3
Exploring Operation: 84+12=96, Resulting Numbers: [81, 21, 96]
Generated Node #0,1: 95:[81, 21, 96] Operation: 84+12=96
Exploring Operation: 84/12=7, Resulting Numbers: [81, 21, 7]
Generated Node #0,2: 95:[81, 21, 7] Operation: 84/12=7
Exploring Operation: 81+12=93, Resulting Numbers: [84, 21, 93]
Generated Node #0,3: 95:[84, 21, 93] Operation: 81+12=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[21, 12, 3], Operations: ['84-81=3']
Exploring Operation: 12+3=15, Resulting Numbers: [21, 15]
Generated Node #0,0,0: 95:[21, 15] Operation: 12+3=15
Exploring Operation: 21-12=9, Resulting Numbers: [3, 9]
Generated Node #0,0,1: 95:[3, 9] Operation: 21-12=9
Exploring Operation: 12/3=4, Resulting Numbers: [21, 4]
Generated Node #0,0,2: 95:[21, 4] Operation: 12/3=4
Exploring Operation: 12-3=9, Resulting Numbers: [21, 9]
Generated Node #0,0,3: 95:[21, 9] Operation: 12-3=9
Moving to Node #0,0,2
Current State: 95:[21, 4], Operations: ['84-81=3', '12/3=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[3, 9], Operations: ['84-81=3', '21-12=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[21, 15], Operations: ['84-81=3', '12+3=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,95 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[21, 9], Operations: ['84-81=3', '12-3=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,95 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,95 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: 95:[84, 21, 93], Operations: ['81+12=93']
Exploring Operation: 93-84=9, Resulting Numbers: [21, 9]
Generated Node #0,3,0: 95:[21, 9] Operation: 93-84=9
Exploring Operation: 84+21=105, Resulting Numbers: [93, 105]
Generated Node #0,3,1: 95:[93, 105] Operation: 84+21=105
Exploring Operation: 84/21=4, Resulting Numbers: [93, 4]
Generated Node #0,3,2: 95:[93, 4] Operation: 84/21=4
Exploring Operation: 21+93=114, Resulting Numbers: [84, 114]
Generated Node #0,3,3: 95:[84, 114] Operation: 21+93=114
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[93, 4], Operations: ['81+12=93', '84/21=4']
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,95 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,95 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: 95:[21, 9], Operations: ['81+12=93', '93-84=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,95 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,95 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: 95:[93, 105], Operations: ['81+12=93', '84+21=105']
Exploring Operation: 93+105=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 105-93=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 93*105=9765, Resulting Numbers: [9765]
9765,95 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: 95:[84, 114], Operations: ['81+12=93', '21+93=114']
Exploring Operation: 114-84=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 84*114=9576, Resulting Numbers: [9576]
9576,95 unequal: No Solution
Exploring Operation: 84+114=198, Resulting Numbers: [198]
198,95 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: 95:[81, 21, 96], Operations: ['84+12=96']
Exploring Operation: 96-21=75, Resulting Numbers: [81, 75]
Generated Node #0,1,0: 95:[81, 75] Operation: 96-21=75
Exploring Operation: 81+21=102, Resulting Numbers: [96, 102]
Generated Node #0,1,1: 95:[96, 102] Operation: 81+21=102
Exploring Operation: 81-21=60, Resulting Numbers: [96, 60]
Generated Node #0,1,2: 95:[96, 60] Operation: 81-21=60
Exploring Operation: 96-81=15, Resulting Numbers: [21, 15]
Generated Node #0,1,3: 95:[21, 15] Operation: 96-81=15
Moving to Node #0,1,3
Current State: 95:[21, 15], Operations: ['84+12=96', '96-81=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[96, 102], Operations: ['84+12=96', '81+21=102']
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 96*102=9792, Resulting Numbers: [9792]
9792,95 unequal: No Solution
Exploring Operation: 96+102=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[81, 75], Operations: ['84+12=96', '96-21=75']
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,95 unequal: No Solution
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,95 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[96, 60], Operations: ['84+12=96', '81-21=60']
Exploring Operation: 96+60=156, Resulting Numbers: [156]
156,95 unequal: No Solution
Exploring Operation: 96*60=5760, Resulting Numbers: [5760]
5760,95 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,95 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: 95:[81, 21, 7], Operations: ['84/12=7']
Exploring Operation: 21/7=3, Resulting Numbers: [81, 3]
Generated Node #0,2,0: 95:[81, 3] Operation: 21/7=3
Exploring Operation: 81+7=88, Resulting Numbers: [21, 88]
Generated Node #0,2,1: 95:[21, 88] Operation: 81+7=88
Exploring Operation: 81+21=102, Resulting Numbers: [7, 102]
Generated Node #0,2,2: 95:[7, 102] Operation: 81+21=102
Exploring Operation: 21-7=14, Resulting Numbers: [81, 14]
Generated Node #0,2,3: 95:[81, 14] Operation: 21-7=14
Moving to Node #0,2,1
Current State: 95:[21, 88], Operations: ['84/12=7', '81+7=88']
Exploring Operation: 21+88=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 21*88=1848, Resulting Numbers: [1848]
1848,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[7, 102], Operations: ['84/12=7', '81+21=102']
Exploring Operation: 7*102=714, Resulting Numbers: [714]
714,95 unequal: No Solution
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[81, 84, 21, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [81, 21, 7]
Generated Node #0,2: 95:[81, 21, 7] Operation: 84/12=7
Moving to Node #0,2
Current State: 95:[81, 21, 7], Operations: ['84/12=7']
Exploring Operation: 81+21=102, Resulting Numbers: [7, 102]
Generated Node #0,2,2: 95:[7, 102] Operation: 81+21=102
Moving to Node #0,2,2
Current State: 95:[7, 102], Operations: ['84/12=7', '81+21=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_4 | mult_heuristic |
[
34,
80,
36,
60
] | 22 | [
"80-34=46",
"60-36=24",
"46-24=22"
] | Current State: 22:[34, 80, 36, 60], Operations: []
Exploring Operation: 80-34=46, Resulting Numbers: [36, 60, 46]
Generated Node #2: [36, 60, 46] from Operation: 80-34=46
Current State: 22:[36, 60, 46], Operations: ['80-34=46']
Exploring Operation: 60-36=24, Resulting Numbers: [46, 24]
Generated Node #3: [46, 24] from Operation: 60-36=24
Current State: 22:[46, 24], Operations: ['80-34=46', '60-36=24']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[34, 80, 36, 60], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [34, 60, 44]
Generated Node #0,0: 22:[34, 60, 44] Operation: 80-36=44
Exploring Operation: 60-34=26, Resulting Numbers: [80, 36, 26]
Generated Node #0,1: 22:[80, 36, 26] Operation: 60-34=26
Exploring Operation: 60-36=24, Resulting Numbers: [34, 80, 24]
Generated Node #0,2: 22:[34, 80, 24] Operation: 60-36=24
Exploring Operation: 80-60=20, Resulting Numbers: [34, 36, 20]
Generated Node #0,3: 22:[34, 36, 20] Operation: 80-60=20
Exploring Operation: 80-34=46, Resulting Numbers: [36, 60, 46]
Generated Node #0,4: 22:[36, 60, 46] Operation: 80-34=46
Moving to Node #0,3
Current State: 22:[34, 36, 20], Operations: ['80-60=20']
Exploring Operation: 36+20=56, Resulting Numbers: [34, 56]
Generated Node #0,3,0: 22:[34, 56] Operation: 36+20=56
Exploring Operation: 36-20=16, Resulting Numbers: [34, 16]
Generated Node #0,3,1: 22:[34, 16] Operation: 36-20=16
Exploring Operation: 36-34=2, Resulting Numbers: [20, 2]
Generated Node #0,3,2: 22:[20, 2] Operation: 36-34=2
Exploring Operation: 34-20=14, Resulting Numbers: [36, 14]
Generated Node #0,3,3: 22:[36, 14] Operation: 34-20=14
Exploring Operation: 34+20=54, Resulting Numbers: [36, 54]
Generated Node #0,3,4: 22:[36, 54] Operation: 34+20=54
Moving to Node #0,2
Current State: 22:[34, 80, 24], Operations: ['60-36=24']
Exploring Operation: 80-34=46, Resulting Numbers: [24, 46]
Generated Node #0,2,0: 22:[24, 46] Operation: 80-34=46
Exploring Operation: 34+24=58, Resulting Numbers: [80, 58]
Generated Node #0,2,1: 22:[80, 58] Operation: 34+24=58
Exploring Operation: 34-24=10, Resulting Numbers: [80, 10]
Generated Node #0,2,2: 22:[80, 10] Operation: 34-24=10
Exploring Operation: 34+80=114, Resulting Numbers: [24, 114]
Generated Node #0,2,3: 22:[24, 114] Operation: 34+80=114
Exploring Operation: 80-24=56, Resulting Numbers: [34, 56]
Generated Node #0,2,4: 22:[34, 56] Operation: 80-24=56
Moving to Node #0,0
Current State: 22:[34, 60, 44], Operations: ['80-36=44']
Exploring Operation: 60-44=16, Resulting Numbers: [34, 16]
Generated Node #0,0,0: 22:[34, 16] Operation: 60-44=16
Exploring Operation: 60-34=26, Resulting Numbers: [44, 26]
Generated Node #0,0,1: 22:[44, 26] Operation: 60-34=26
Exploring Operation: 44-34=10, Resulting Numbers: [60, 10]
Generated Node #0,0,2: 22:[60, 10] Operation: 44-34=10
Exploring Operation: 34+60=94, Resulting Numbers: [44, 94]
Generated Node #0,0,3: 22:[44, 94] Operation: 34+60=94
Exploring Operation: 34+44=78, Resulting Numbers: [60, 78]
Generated Node #0,0,4: 22:[60, 78] Operation: 34+44=78
Moving to Node #0,1
Current State: 22:[80, 36, 26], Operations: ['60-34=26']
Exploring Operation: 80+36=116, Resulting Numbers: [26, 116]
Generated Node #0,1,0: 22:[26, 116] Operation: 80+36=116
Exploring Operation: 80-26=54, Resulting Numbers: [36, 54]
Generated Node #0,1,1: 22:[36, 54] Operation: 80-26=54
Exploring Operation: 36-26=10, Resulting Numbers: [80, 10]
Generated Node #0,1,2: 22:[80, 10] Operation: 36-26=10
Exploring Operation: 80-36=44, Resulting Numbers: [26, 44]
Generated Node #0,1,3: 22:[26, 44] Operation: 80-36=44
Exploring Operation: 80+26=106, Resulting Numbers: [36, 106]
Generated Node #0,1,4: 22:[36, 106] Operation: 80+26=106
Moving to Node #0,4
Current State: 22:[36, 60, 46], Operations: ['80-34=46']
Exploring Operation: 46-36=10, Resulting Numbers: [60, 10]
Generated Node #0,4,0: 22:[60, 10] Operation: 46-36=10
Exploring Operation: 36+60=96, Resulting Numbers: [46, 96]
Generated Node #0,4,1: 22:[46, 96] Operation: 36+60=96
Exploring Operation: 36+46=82, Resulting Numbers: [60, 82]
Generated Node #0,4,2: 22:[60, 82] Operation: 36+46=82
Exploring Operation: 60-36=24, Resulting Numbers: [46, 24]
Generated Node #0,4,3: 22:[46, 24] Operation: 60-36=24
Exploring Operation: 60-46=14, Resulting Numbers: [36, 14]
Generated Node #0,4,4: 22:[36, 14] Operation: 60-46=14
Moving to Node #0,3,2
Current State: 22:[20, 2], Operations: ['80-60=20', '36-34=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[34, 80, 36, 60], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [34, 36, 20]
Generated Node #0,3: 22:[34, 36, 20] Operation: 80-60=20
Moving to Node #0,3
Current State: 22:[34, 36, 20], Operations: ['80-60=20']
Exploring Operation: 36-34=2, Resulting Numbers: [20, 2]
Generated Node #0,3,2: 22:[20, 2] Operation: 36-34=2
Moving to Node #0,3,2
Current State: 22:[20, 2], Operations: ['80-60=20', '36-34=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.969618 | hs_5 | sum_heuristic |
[
81,
36,
31,
34
] | 89 | [
"36-31=5",
"34*5=170",
"170-81=89"
] | Current State: 89:[81, 36, 31, 34], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [81, 34, 5]
Generated Node #2: [81, 34, 5] from Operation: 36-31=5
Current State: 89:[81, 34, 5], Operations: ['36-31=5']
Exploring Operation: 34*5=170, Resulting Numbers: [81, 170]
Generated Node #3: [81, 170] from Operation: 34*5=170
Current State: 89:[81, 170], Operations: ['36-31=5', '34*5=170']
Exploring Operation: 170-81=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[81, 36, 31, 34], Operations: []
Exploring Operation: 36+31=67, Resulting Numbers: [81, 34, 67]
Generated Node #0,0: 89:[81, 34, 67] Operation: 36+31=67
Exploring Operation: 36+34=70, Resulting Numbers: [81, 31, 70]
Generated Node #0,1: 89:[81, 31, 70] Operation: 36+34=70
Exploring Operation: 81+34=115, Resulting Numbers: [36, 31, 115]
Generated Node #0,2: 89:[36, 31, 115] Operation: 81+34=115
Exploring Operation: 81+31=112, Resulting Numbers: [36, 34, 112]
Generated Node #0,3: 89:[36, 34, 112] Operation: 81+31=112
Exploring Operation: 31+34=65, Resulting Numbers: [81, 36, 65]
Generated Node #0,4: 89:[81, 36, 65] Operation: 31+34=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[81, 34, 67], Operations: ['36+31=67']
Exploring Operation: 81+34=115, Resulting Numbers: [67, 115]
Generated Node #0,0,0: 89:[67, 115] Operation: 81+34=115
Exploring Operation: 34+67=101, Resulting Numbers: [81, 101]
Generated Node #0,0,1: 89:[81, 101] Operation: 34+67=101
Exploring Operation: 67-34=33, Resulting Numbers: [81, 33]
Generated Node #0,0,2: 89:[81, 33] Operation: 67-34=33
Exploring Operation: 81+67=148, Resulting Numbers: [34, 148]
Generated Node #0,0,3: 89:[34, 148] Operation: 81+67=148
Exploring Operation: 81-34=47, Resulting Numbers: [67, 47]
Generated Node #0,0,4: 89:[67, 47] Operation: 81-34=47
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[81, 101], Operations: ['36+31=67', '34+67=101']
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,89 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: 89:[67, 115], Operations: ['36+31=67', '81+34=115']
Exploring Operation: 67+115=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 67*115=7705, Resulting Numbers: [7705]
7705,89 unequal: No Solution
Exploring Operation: 115-67=48, Resulting Numbers: [48]
48,89 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: 89:[81, 33], Operations: ['36+31=67', '67-34=33']
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,89 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,89 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: 89:[67, 47], Operations: ['36+31=67', '81-34=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,89 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,89 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: 89:[34, 148], Operations: ['36+31=67', '81+67=148']
Exploring Operation: 34+148=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 148-34=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 34*148=5032, Resulting Numbers: [5032]
5032,89 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: 89:[81, 31, 70], Operations: ['36+34=70']
Exploring Operation: 70-31=39, Resulting Numbers: [81, 39]
Generated Node #0,1,0: 89:[81, 39] Operation: 70-31=39
Exploring Operation: 81+31=112, Resulting Numbers: [70, 112]
Generated Node #0,1,1: 89:[70, 112] Operation: 81+31=112
Exploring Operation: 31+70=101, Resulting Numbers: [81, 101]
Generated Node #0,1,2: 89:[81, 101] Operation: 31+70=101
Exploring Operation: 81-31=50, Resulting Numbers: [70, 50]
Generated Node #0,1,3: 89:[70, 50] Operation: 81-31=50
Exploring Operation: 81+70=151, Resulting Numbers: [31, 151]
Generated Node #0,1,4: 89:[31, 151] Operation: 81+70=151
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[81, 101], Operations: ['36+34=70', '31+70=101']
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,89 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,89 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: 89:[70, 112], Operations: ['36+34=70', '81+31=112']
Exploring Operation: 70+112=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 112-70=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 70*112=7840, Resulting Numbers: [7840]
7840,89 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: 89:[81, 39], Operations: ['36+34=70', '70-31=39']
Exploring Operation: 81*39=3159, Resulting Numbers: [3159]
3159,89 unequal: No Solution
Exploring Operation: 81+39=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,89 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: 89:[70, 50], Operations: ['36+34=70', '81-31=50']
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 70*50=3500, Resulting Numbers: [3500]
3500,89 unequal: No Solution
Exploring Operation: 70+50=120, Resulting Numbers: [120]
120,89 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: 89:[31, 151], Operations: ['36+34=70', '81+70=151']
Exploring Operation: 31+151=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 151-31=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 31*151=4681, Resulting Numbers: [4681]
4681,89 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: 89:[81, 36, 65], Operations: ['31+34=65']
Exploring Operation: 81+65=146, Resulting Numbers: [36, 146]
Generated Node #0,4,0: 89:[36, 146] Operation: 81+65=146
Exploring Operation: 81-36=45, Resulting Numbers: [65, 45]
Generated Node #0,4,1: 89:[65, 45] Operation: 81-36=45
Exploring Operation: 65-36=29, Resulting Numbers: [81, 29]
Generated Node #0,4,2: 89:[81, 29] Operation: 65-36=29
Exploring Operation: 81+36=117, Resulting Numbers: [65, 117]
Generated Node #0,4,3: 89:[65, 117] Operation: 81+36=117
Exploring Operation: 36+65=101, Resulting Numbers: [81, 101]
Generated Node #0,4,4: 89:[81, 101] Operation: 36+65=101
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 89:[81, 101], Operations: ['31+34=65', '36+65=101']
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,89 unequal: No Solution
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,89 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: 89:[65, 117], Operations: ['31+34=65', '81+36=117']
Exploring Operation: 65*117=7605, Resulting Numbers: [7605]
7605,89 unequal: No Solution
Exploring Operation: 65+117=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 117-65=52, Resulting Numbers: [52]
52,89 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: 89:[65, 45], Operations: ['31+34=65', '81-36=45']
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,89 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,89 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: 89:[81, 29], Operations: ['31+34=65', '65-36=29']
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,89 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,89 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: 89:[36, 146], Operations: ['31+34=65', '81+65=146']
Exploring Operation: 36*146=5256, Resulting Numbers: [5256]
5256,89 unequal: No Solution
Exploring Operation: 146-36=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 36+146=182, Resulting Numbers: [182]
182,89 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: 89:[36, 34, 112], Operations: ['81+31=112']
Exploring Operation: 112-34=78, Resulting Numbers: [36, 78]
Generated Node #0,3,0: 89:[36, 78] Operation: 112-34=78
Exploring Operation: 112-36=76, Resulting Numbers: [34, 76]
Generated Node #0,3,1: 89:[34, 76] Operation: 112-36=76
Exploring Operation: 34+112=146, Resulting Numbers: [36, 146]
Generated Node #0,3,2: 89:[36, 146] Operation: 34+112=146
Exploring Operation: 36-34=2, Resulting Numbers: [112, 2]
Generated Node #0,3,3: 89:[112, 2] Operation: 36-34=2
Exploring Operation: 36+34=70, Resulting Numbers: [112, 70]
Generated Node #0,3,4: 89:[112, 70] Operation: 36+34=70
Moving to Node #0,3,4
Current State: 89:[112, 70], Operations: ['81+31=112', '36+34=70']
Exploring Operation: 112*70=7840, Resulting Numbers: [7840]
7840,89 unequal: No Solution
Exploring Operation: 112+70=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 112-70=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[36, 78], Operations: ['81+31=112', '112-34=78']
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,89 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[34, 76], Operations: ['81+31=112', '112-36=76']
Exploring Operation: 34*76=2584, Resulting Numbers: [2584]
2584,89 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 34+76=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[36, 146], Operations: ['81+31=112', '34+112=146']
Exploring Operation: 146-36=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 36*146=5256, Resulting Numbers: [5256]
5256,89 unequal: No Solution
Exploring Operation: 36+146=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[112, 2], Operations: ['81+31=112', '36-34=2']
Exploring Operation: 112+2=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 112*2=224, Resulting Numbers: [224]
224,89 unequal: No Solution
Exploring Operation: 112/2=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 112-2=110, Resulting Numbers: [110]
110,89 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: 89:[36, 31, 115], Operations: ['81+34=115']
Exploring Operation: 36-31=5, Resulting Numbers: [115, 5]
Generated Node #0,2,0: 89:[115, 5] Operation: 36-31=5
Exploring Operation: 36+31=67, Resulting Numbers: [115, 67]
Generated Node #0,2,1: 89:[115, 67] Operation: 36+31=67
Exploring Operation: 31+115=146, Resulting Numbers: [36, 146]
Generated Node #0,2,2: 89:[36, 146] Operation: 31+115=146
Exploring Operation: 115-36=79, Resulting Numbers: [31, 79]
Generated Node #0,2,3: 89:[31, 79] Operation: 115-36=79
Exploring Operation: 115-31=84, Resulting Numbers: [36, 84]
Generated Node #0,2,4: 89:[36, 84] Operation: 115-31=84
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[115, 67], Operations: ['81+34=115', '36+31=67']
Exploring Operation: 115*67=7705, Resulting Numbers: [7705]
7705,89 unequal: No Solution
Exploring Operation: 115+67=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 115-67=48, Resulting Numbers: [48]
48,89 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: 89:[36, 84], Operations: ['81+34=115', '115-31=84']
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,89 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: 89:[31, 79], Operations: ['81+34=115', '115-36=79']
Exploring Operation: 31+79=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 31*79=2449, Resulting Numbers: [2449]
2449,89 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,89 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: 89:[115, 5], Operations: ['81+34=115', '36-31=5']
Exploring Operation: 115*5=575, Resulting Numbers: [575]
575,89 unequal: No Solution
Exploring Operation: 115/5=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 115-5=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 115+5=120, Resulting Numbers: [120]
120,89 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: 89:[36, 146], Operations: ['81+34=115', '31+115=146']
Exploring Operation: 146-36=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 36+146=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 36*146=5256, Resulting Numbers: [5256]
5256,89 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 |
[
37,
7,
32,
5
] | 53 | [
"7-5=2",
"32/2=16",
"37+16=53"
] | Current State: 53:[37, 7, 32, 5], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [37, 32, 2]
Generated Node #2: [37, 32, 2] from Operation: 7-5=2
Current State: 53:[37, 32, 2], Operations: ['7-5=2']
Exploring Operation: 32/2=16, Resulting Numbers: [37, 16]
Generated Node #3: [37, 16] from Operation: 32/2=16
Current State: 53:[37, 16], Operations: ['7-5=2', '32/2=16']
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[37, 7, 32, 5], Operations: []
Exploring Operation: 37+7=44, Resulting Numbers: [32, 5, 44]
Generated Node #0,0: 53:[32, 5, 44] Operation: 37+7=44
Exploring Operation: 37+5=42, Resulting Numbers: [7, 32, 42]
Generated Node #0,1: 53:[7, 32, 42] Operation: 37+5=42
Exploring Operation: 7*5=35, Resulting Numbers: [37, 32, 35]
Generated Node #0,2: 53:[37, 32, 35] Operation: 7*5=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[37, 32, 35], Operations: ['7*5=35']
Exploring Operation: 37+32=69, Resulting Numbers: [35, 69]
Generated Node #0,2,0: 53:[35, 69] Operation: 37+32=69
Exploring Operation: 37+35=72, Resulting Numbers: [32, 72]
Generated Node #0,2,1: 53:[32, 72] Operation: 37+35=72
Exploring Operation: 32+35=67, Resulting Numbers: [37, 67]
Generated Node #0,2,2: 53:[37, 67] Operation: 32+35=67
Moving to Node #0,2,2
Current State: 53:[37, 67], Operations: ['7*5=35', '32+35=67']
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,53 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[35, 69], Operations: ['7*5=35', '37+32=69']
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,53 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[32, 72], Operations: ['7*5=35', '37+35=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,53 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: 53:[32, 5, 44], Operations: ['37+7=44']
Exploring Operation: 32-5=27, Resulting Numbers: [44, 27]
Generated Node #0,0,0: 53:[44, 27] Operation: 32-5=27
Exploring Operation: 32+5=37, Resulting Numbers: [44, 37]
Generated Node #0,0,1: 53:[44, 37] Operation: 32+5=37
Exploring Operation: 5+44=49, Resulting Numbers: [32, 49]
Generated Node #0,0,2: 53:[32, 49] Operation: 5+44=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[44, 37], Operations: ['37+7=44', '32+5=37']
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,53 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: 53:[32, 49], Operations: ['37+7=44', '5+44=49']
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,53 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,53 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: 53:[44, 27], Operations: ['37+7=44', '32-5=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,53 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,53 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: 53:[7, 32, 42], Operations: ['37+5=42']
Exploring Operation: 32-7=25, Resulting Numbers: [42, 25]
Generated Node #0,1,0: 53:[42, 25] Operation: 32-7=25
Exploring Operation: 7+42=49, Resulting Numbers: [32, 49]
Generated Node #0,1,1: 53:[32, 49] Operation: 7+42=49
Exploring Operation: 7+32=39, Resulting Numbers: [42, 39]
Generated Node #0,1,2: 53:[42, 39] Operation: 7+32=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[32, 49], Operations: ['37+5=42', '7+42=49']
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,53 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,53 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: 53:[42, 39], Operations: ['37+5=42', '7+32=39']
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,53 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,53 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: 53:[42, 25], Operations: ['37+5=42', '32-7=25']
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,53 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,53 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 | mult_heuristic |
[
75,
5,
50,
6
] | 95 | [
"75+50=125",
"5*6=30",
"125-30=95"
] | Current State: 95:[75, 5, 50, 6], Operations: []
Exploring Operation: 75+50=125, Resulting Numbers: [5, 6, 125]
Generated Node #2: [5, 6, 125] from Operation: 75+50=125
Current State: 95:[5, 6, 125], Operations: ['75+50=125']
Exploring Operation: 5*6=30, Resulting Numbers: [125, 30]
Generated Node #3: [125, 30] from Operation: 5*6=30
Current State: 95:[125, 30], Operations: ['75+50=125', '5*6=30']
Exploring Operation: 125-30=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[75, 5, 50, 6], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [5, 6, 25]
Generated Node #0,0: 95:[5, 6, 25] Operation: 75-50=25
Exploring Operation: 50/5=10, Resulting Numbers: [75, 6, 10]
Generated Node #0,1: 95:[75, 6, 10] Operation: 50/5=10
Exploring Operation: 75+50=125, Resulting Numbers: [5, 6, 125]
Generated Node #0,2: 95:[5, 6, 125] Operation: 75+50=125
Moving to Node #0,0
Current State: 95:[5, 6, 25], Operations: ['75-50=25']
Exploring Operation: 25/5=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 95:[6, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 95:[6, 20] Operation: 25-5=20
Exploring Operation: 25-6=19, Resulting Numbers: [5, 19]
Generated Node #0,0,2: 95:[5, 19] Operation: 25-6=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[5, 19], Operations: ['75-50=25', '25-6=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[75, 5, 50, 6], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [5, 6, 25]
Generated Node #0,0: 95:[5, 6, 25] Operation: 75-50=25
Moving to Node #0,0
Current State: 95:[5, 6, 25], Operations: ['75-50=25']
Exploring Operation: 25-6=19, Resulting Numbers: [5, 19]
Generated Node #0,0,2: 95:[5, 19] Operation: 25-6=19
Moving to Node #0,0,2
Current State: 95:[5, 19], Operations: ['75-50=25', '25-6=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
82,
4,
77,
80
] | 80 | [
"82-4=78",
"78-77=1",
"80*1=80"
] | Current State: 80:[82, 4, 77, 80], Operations: []
Exploring Operation: 82-4=78, Resulting Numbers: [77, 80, 78]
Generated Node #2: [77, 80, 78] from Operation: 82-4=78
Current State: 80:[77, 80, 78], Operations: ['82-4=78']
Exploring Operation: 78-77=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 78-77=1
Current State: 80:[80, 1], Operations: ['82-4=78', '78-77=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[82, 4, 77, 80], Operations: []
Exploring Operation: 4+77=81, Resulting Numbers: [82, 80, 81]
Generated Node #0,0: 80:[82, 80, 81] Operation: 4+77=81
Exploring Operation: 82-77=5, Resulting Numbers: [4, 80, 5]
Generated Node #0,1: 80:[4, 80, 5] Operation: 82-77=5
Exploring Operation: 80-77=3, Resulting Numbers: [82, 4, 3]
Generated Node #0,2: 80:[82, 4, 3] Operation: 80-77=3
Exploring Operation: 82-80=2, Resulting Numbers: [4, 77, 2]
Generated Node #0,3: 80:[4, 77, 2] Operation: 82-80=2
Moving to Node #0,1
Current State: 80:[4, 80, 5], Operations: ['82-77=5']
Exploring Operation: 80/5=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 80:[4, 16] Operation: 80/5=16
Exploring Operation: 4*5=20, Resulting Numbers: [80, 20]
Generated Node #0,1,1: 80:[80, 20] Operation: 4*5=20
Exploring Operation: 80/4=20, Resulting Numbers: [5, 20]
Generated Node #0,1,2: 80:[5, 20] Operation: 80/4=20
Exploring Operation: 4+5=9, Resulting Numbers: [80, 9]
Generated Node #0,1,3: 80:[80, 9] Operation: 4+5=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[4, 16], Operations: ['82-77=5', '80/5=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,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,1,1
Current State: 80:[80, 20], Operations: ['82-77=5', '4*5=20']
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,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,1,2
Current State: 80:[5, 20], Operations: ['82-77=5', '80/4=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,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,1,3
Current State: 80:[80, 9], Operations: ['82-77=5', '4+5=9']
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,80 unequal: No Solution
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,80 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: 80:[82, 4, 3], Operations: ['80-77=3']
Exploring Operation: 4-3=1, Resulting Numbers: [82, 1]
Generated Node #0,2,0: 80:[82, 1] Operation: 4-3=1
Exploring Operation: 82-4=78, Resulting Numbers: [3, 78]
Generated Node #0,2,1: 80:[3, 78] Operation: 82-4=78
Exploring Operation: 82-3=79, Resulting Numbers: [4, 79]
Generated Node #0,2,2: 80:[4, 79] Operation: 82-3=79
Exploring Operation: 4+3=7, Resulting Numbers: [82, 7]
Generated Node #0,2,3: 80:[82, 7] Operation: 4+3=7
Moving to Node #0,0
Current State: 80:[82, 80, 81], Operations: ['4+77=81']
Exploring Operation: 82-81=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 80:[80, 1] Operation: 82-81=1
Exploring Operation: 82+80=162, Resulting Numbers: [81, 162]
Generated Node #0,0,1: 80:[81, 162] Operation: 82+80=162
Exploring Operation: 82-80=2, Resulting Numbers: [81, 2]
Generated Node #0,0,2: 80:[81, 2] Operation: 82-80=2
Exploring Operation: 81-80=1, Resulting Numbers: [82, 1]
Generated Node #0,0,3: 80:[82, 1] Operation: 81-80=1
Moving to Node #0,3
Current State: 80:[4, 77, 2], Operations: ['82-80=2']
Exploring Operation: 77+2=79, Resulting Numbers: [4, 79]
Generated Node #0,3,0: 80:[4, 79] Operation: 77+2=79
Exploring Operation: 4-2=2, Resulting Numbers: [77, 2]
Generated Node #0,3,1: 80:[77, 2] Operation: 4-2=2
Exploring Operation: 4+77=81, Resulting Numbers: [2, 81]
Generated Node #0,3,2: 80:[2, 81] Operation: 4+77=81
Exploring Operation: 4*2=8, Resulting Numbers: [77, 8]
Generated Node #0,3,3: 80:[77, 8] Operation: 4*2=8
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[4, 79], Operations: ['82-80=2', '77+2=79']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,80 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,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,3,2
Current State: 80:[2, 81], Operations: ['82-80=2', '4+77=81']
Exploring Operation: 2*81=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,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,3,1
Current State: 80:[77, 2], Operations: ['82-80=2', '4-2=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,80 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,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,3,3
Current State: 80:[77, 8], Operations: ['82-80=2', '4*2=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,80 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 80:[4, 79], Operations: ['80-77=3', '82-3=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,80 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[81, 2], Operations: ['4+77=81', '82-80=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[80, 1], Operations: ['4+77=81', '82-81=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[82, 4, 77, 80], Operations: []
Exploring Operation: 4+77=81, Resulting Numbers: [82, 80, 81]
Generated Node #0,0: 80:[82, 80, 81] Operation: 4+77=81
Moving to Node #0,0
Current State: 80:[82, 80, 81], Operations: ['4+77=81']
Exploring Operation: 82-81=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 80:[80, 1] Operation: 82-81=1
Moving to Node #0,0,0
Current State: 80:[80, 1], Operations: ['4+77=81', '82-81=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.949653 | hs_4 | mult_heuristic |
[
56,
71,
80,
88
] | 64 | [
"88-80=8",
"56/8=7",
"71-7=64"
] | Current State: 64:[56, 71, 80, 88], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [56, 71, 8]
Generated Node #2: [56, 71, 8] from Operation: 88-80=8
Current State: 64:[56, 71, 8], Operations: ['88-80=8']
Exploring Operation: 56/8=7, Resulting Numbers: [71, 7]
Generated Node #3: [71, 7] from Operation: 56/8=7
Current State: 64:[71, 7], Operations: ['88-80=8', '56/8=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[56, 71, 80, 88], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [56, 80, 17]
Generated Node #0,0: 64:[56, 80, 17] Operation: 88-71=17
Exploring Operation: 80-71=9, Resulting Numbers: [56, 88, 9]
Generated Node #0,1: 64:[56, 88, 9] Operation: 80-71=9
Exploring Operation: 88-80=8, Resulting Numbers: [56, 71, 8]
Generated Node #0,2: 64:[56, 71, 8] Operation: 88-80=8
Exploring Operation: 88-56=32, Resulting Numbers: [71, 80, 32]
Generated Node #0,3: 64:[71, 80, 32] Operation: 88-56=32
Moving to Node #0,2
Current State: 64:[56, 71, 8], Operations: ['88-80=8']
Exploring Operation: 56/8=7, Resulting Numbers: [71, 7]
Generated Node #0,2,0: 64:[71, 7] Operation: 56/8=7
Exploring Operation: 71-8=63, Resulting Numbers: [56, 63]
Generated Node #0,2,1: 64:[56, 63] Operation: 71-8=63
Exploring Operation: 56+8=64, Resulting Numbers: [71, 64]
Generated Node #0,2,2: 64:[71, 64] Operation: 56+8=64
Exploring Operation: 71-56=15, Resulting Numbers: [8, 15]
Generated Node #0,2,3: 64:[8, 15] Operation: 71-56=15
Moving to Node #0,3
Current State: 64:[71, 80, 32], Operations: ['88-56=32']
Exploring Operation: 71-32=39, Resulting Numbers: [80, 39]
Generated Node #0,3,0: 64:[80, 39] Operation: 71-32=39
Exploring Operation: 80-32=48, Resulting Numbers: [71, 48]
Generated Node #0,3,1: 64:[71, 48] Operation: 80-32=48
Exploring Operation: 80-71=9, Resulting Numbers: [32, 9]
Generated Node #0,3,2: 64:[32, 9] Operation: 80-71=9
Exploring Operation: 71+32=103, Resulting Numbers: [80, 103]
Generated Node #0,3,3: 64:[80, 103] Operation: 71+32=103
Moving to Node #0,0
Current State: 64:[56, 80, 17], Operations: ['88-71=17']
Exploring Operation: 80-17=63, Resulting Numbers: [56, 63]
Generated Node #0,0,0: 64:[56, 63] Operation: 80-17=63
Exploring Operation: 56-17=39, Resulting Numbers: [80, 39]
Generated Node #0,0,1: 64:[80, 39] Operation: 56-17=39
Exploring Operation: 80-56=24, Resulting Numbers: [17, 24]
Generated Node #0,0,2: 64:[17, 24] Operation: 80-56=24
Exploring Operation: 56+17=73, Resulting Numbers: [80, 73]
Generated Node #0,0,3: 64:[80, 73] Operation: 56+17=73
Moving to Node #0,1
Current State: 64:[56, 88, 9], Operations: ['80-71=9']
Exploring Operation: 88-9=79, Resulting Numbers: [56, 79]
Generated Node #0,1,0: 64:[56, 79] Operation: 88-9=79
Exploring Operation: 88-56=32, Resulting Numbers: [9, 32]
Generated Node #0,1,1: 64:[9, 32] Operation: 88-56=32
Exploring Operation: 56-9=47, Resulting Numbers: [88, 47]
Generated Node #0,1,2: 64:[88, 47] Operation: 56-9=47
Exploring Operation: 56+9=65, Resulting Numbers: [88, 65]
Generated Node #0,1,3: 64:[88, 65] Operation: 56+9=65
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[9, 32], Operations: ['80-71=9', '88-56=32']
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,64 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,64 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: 64:[56, 79], Operations: ['80-71=9', '88-9=79']
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,64 unequal: No Solution
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,64 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: 64:[88, 65], Operations: ['80-71=9', '56+9=65']
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 88+65=153, Resulting Numbers: [153]
153,64 unequal: No Solution
Exploring Operation: 88*65=5720, Resulting Numbers: [5720]
5720,64 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: 64:[88, 47], Operations: ['80-71=9', '56-9=47']
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,64 unequal: No Solution
Exploring Operation: 88*47=4136, Resulting Numbers: [4136]
4136,64 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 64:[8, 15], Operations: ['88-80=8', '71-56=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[32, 9], Operations: ['88-56=32', '80-71=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,64 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[71, 64], Operations: ['88-80=8', '56+8=64']
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,64 unequal: No Solution
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,64 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[71, 7], Operations: ['88-80=8', '56/8=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[56, 71, 80, 88], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [56, 71, 8]
Generated Node #0,2: 64:[56, 71, 8] Operation: 88-80=8
Moving to Node #0,2
Current State: 64:[56, 71, 8], Operations: ['88-80=8']
Exploring Operation: 56/8=7, Resulting Numbers: [71, 7]
Generated Node #0,2,0: 64:[71, 7] Operation: 56/8=7
Moving to Node #0,2,0
Current State: 64:[71, 7], Operations: ['88-80=8', '56/8=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.960069 | hs_4 | sum_heuristic |
[
68,
99,
80,
82
] | 84 | [
"99-82=17",
"68/17=4",
"80+4=84"
] | Current State: 84:[68, 99, 80, 82], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [68, 80, 17]
Generated Node #2: [68, 80, 17] from Operation: 99-82=17
Current State: 84:[68, 80, 17], Operations: ['99-82=17']
Exploring Operation: 68/17=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 68/17=4
Current State: 84:[80, 4], Operations: ['99-82=17', '68/17=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[68, 99, 80, 82], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [99, 82, 12]
Generated Node #0,0: 84:[99, 82, 12] Operation: 80-68=12
Exploring Operation: 82-68=14, Resulting Numbers: [99, 80, 14]
Generated Node #0,1: 84:[99, 80, 14] Operation: 82-68=14
Exploring Operation: 99-68=31, Resulting Numbers: [80, 82, 31]
Generated Node #0,2: 84:[80, 82, 31] Operation: 99-68=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[80, 82, 31], Operations: ['99-68=31']
Exploring Operation: 82-31=51, Resulting Numbers: [80, 51]
Generated Node #0,2,0: 84:[80, 51] Operation: 82-31=51
Exploring Operation: 82-80=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 84:[31, 2] Operation: 82-80=2
Exploring Operation: 80-31=49, Resulting Numbers: [82, 49]
Generated Node #0,2,2: 84:[82, 49] Operation: 80-31=49
Moving to Node #0,2,1
Current State: 84:[31, 2], Operations: ['99-68=31', '82-80=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[82, 49], Operations: ['99-68=31', '80-31=49']
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,84 unequal: No Solution
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[80, 51], Operations: ['99-68=31', '82-31=51']
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,84 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 80*51=4080, Resulting Numbers: [4080]
4080,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,0
Current State: 84:[99, 82, 12], Operations: ['80-68=12']
Exploring Operation: 99-12=87, Resulting Numbers: [82, 87]
Generated Node #0,0,0: 84:[82, 87] Operation: 99-12=87
Exploring Operation: 82+12=94, Resulting Numbers: [99, 94]
Generated Node #0,0,1: 84:[99, 94] Operation: 82+12=94
Exploring Operation: 99-82=17, Resulting Numbers: [12, 17]
Generated Node #0,0,2: 84:[12, 17] Operation: 99-82=17
Moving to Node #0,0,2
Current State: 84:[12, 17], Operations: ['80-68=12', '99-82=17']
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,84 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[82, 87], Operations: ['80-68=12', '99-12=87']
Exploring Operation: 82*87=7134, Resulting Numbers: [7134]
7134,84 unequal: No Solution
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 82+87=169, Resulting Numbers: [169]
169,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[99, 94], Operations: ['80-68=12', '82+12=94']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 99*94=9306, Resulting Numbers: [9306]
9306,84 unequal: No Solution
Exploring Operation: 99+94=193, Resulting Numbers: [193]
193,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
Current State: 84:[99, 80, 14], Operations: ['82-68=14']
Exploring Operation: 99-14=85, Resulting Numbers: [80, 85]
Generated Node #0,1,0: 84:[80, 85] Operation: 99-14=85
Exploring Operation: 80+14=94, Resulting Numbers: [99, 94]
Generated Node #0,1,1: 84:[99, 94] Operation: 80+14=94
Exploring Operation: 99-80=19, Resulting Numbers: [14, 19]
Generated Node #0,1,2: 84:[14, 19] Operation: 99-80=19
Moving to Node #0,1,2
Current State: 84:[14, 19], Operations: ['82-68=14', '99-80=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[80, 85], Operations: ['82-68=14', '99-14=85']
Exploring Operation: 80*85=6800, Resulting Numbers: [6800]
6800,84 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[99, 94], Operations: ['82-68=14', '80+14=94']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 99+94=193, Resulting Numbers: [193]
193,84 unequal: No Solution
Exploring Operation: 99*94=9306, Resulting Numbers: [9306]
9306,84 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 |
[
67,
4,
1,
41
] | 23 | [
"67-4=63",
"41-1=40",
"63-40=23"
] | Current State: 23:[67, 4, 1, 41], Operations: []
Exploring Operation: 67-4=63, Resulting Numbers: [1, 41, 63]
Generated Node #2: [1, 41, 63] from Operation: 67-4=63
Current State: 23:[1, 41, 63], Operations: ['67-4=63']
Exploring Operation: 41-1=40, Resulting Numbers: [63, 40]
Generated Node #3: [63, 40] from Operation: 41-1=40
Current State: 23:[63, 40], Operations: ['67-4=63', '41-1=40']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[67, 4, 1, 41], Operations: []
Exploring Operation: 67-4=63, Resulting Numbers: [1, 41, 63]
Generated Node #0,0: 23:[1, 41, 63] Operation: 67-4=63
Exploring Operation: 67-41=26, Resulting Numbers: [4, 1, 26]
Generated Node #0,1: 23:[4, 1, 26] Operation: 67-41=26
Moving to Node #0,1
Current State: 23:[4, 1, 26], Operations: ['67-41=26']
Exploring Operation: 4+1=5, Resulting Numbers: [26, 5]
Generated Node #0,1,0: 23:[26, 5] Operation: 4+1=5
Exploring Operation: 26-1=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 23:[4, 25] Operation: 26-1=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[26, 5], Operations: ['67-41=26', '4+1=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,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,1
Current State: 23:[4, 25], Operations: ['67-41=26', '26-1=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,23 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: 23:[1, 41, 63], Operations: ['67-4=63']
Exploring Operation: 63-41=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 23:[1, 22] Operation: 63-41=22
Exploring Operation: 41-1=40, Resulting Numbers: [63, 40]
Generated Node #0,0,1: 23:[63, 40] Operation: 41-1=40
Moving to Node #0,0,0
Current State: 23:[1, 22], Operations: ['67-4=63', '63-41=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[67, 4, 1, 41], Operations: []
Exploring Operation: 67-4=63, Resulting Numbers: [1, 41, 63]
Generated Node #0,0: 23:[1, 41, 63] Operation: 67-4=63
Moving to Node #0,0
Current State: 23:[1, 41, 63], Operations: ['67-4=63']
Exploring Operation: 63-41=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 23:[1, 22] Operation: 63-41=22
Moving to Node #0,0,0
Current State: 23:[1, 22], Operations: ['67-4=63', '63-41=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
36,
94,
94,
32
] | 32 | [
"94-94=0",
"36*0=0",
"32+0=32"
] | Current State: 32:[36, 94, 94, 32], Operations: []
Exploring Operation: 94-94=0, Resulting Numbers: [36, 32, 0]
Generated Node #2: [36, 32, 0] from Operation: 94-94=0
Current State: 32:[36, 32, 0], Operations: ['94-94=0']
Exploring Operation: 36*0=0, Resulting Numbers: [32, 0]
Generated Node #3: [32, 0] from Operation: 36*0=0
Current State: 32:[32, 0], Operations: ['94-94=0', '36*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[36, 94, 94, 32], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [94, 32, 58]
Generated Node #0,0: 32:[94, 32, 58] Operation: 94-36=58
Exploring Operation: 94-94=0, Resulting Numbers: [36, 32, 0]
Generated Node #0,1: 32:[36, 32, 0] Operation: 94-94=0
Exploring Operation: 94/94=1, Resulting Numbers: [36, 32, 1]
Generated Node #0,2: 32:[36, 32, 1] Operation: 94/94=1
Exploring Operation: 94-32=62, Resulting Numbers: [36, 94, 62]
Generated Node #0,3: 32:[36, 94, 62] Operation: 94-32=62
Exploring Operation: 94-36=58, Resulting Numbers: [94, 32, 58]
Generated Node #0,4: 32:[94, 32, 58] Operation: 94-36=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[36, 32, 1], Operations: ['94/94=1']
Exploring Operation: 36-32=4, Resulting Numbers: [1, 4]
Generated Node #0,2,0: 32:[1, 4] Operation: 36-32=4
Exploring Operation: 36/1=36, Resulting Numbers: [32, 36]
Generated Node #0,2,1: 32:[32, 36] Operation: 36/1=36
Exploring Operation: 36*1=36, Resulting Numbers: [32, 36]
Generated Node #0,2,2: 32:[32, 36] Operation: 36*1=36
Exploring Operation: 36-1=35, Resulting Numbers: [32, 35]
Generated Node #0,2,3: 32:[32, 35] Operation: 36-1=35
Exploring Operation: 32*1=32, Resulting Numbers: [36, 32]
Generated Node #0,2,4: 32:[36, 32] Operation: 32*1=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[1, 4], Operations: ['94/94=1', '36-32=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,32 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: 32:[32, 35], Operations: ['94/94=1', '36-1=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,32 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,32 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: 32:[32, 36], Operations: ['94/94=1', '36/1=36']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,32 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: 32:[32, 36], Operations: ['94/94=1', '36*1=36']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,32 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: 32:[36, 32], Operations: ['94/94=1', '32*1=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,32 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,32 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: 32:[36, 32, 0], Operations: ['94-94=0']
Exploring Operation: 36*0=0, Resulting Numbers: [32, 0]
Generated Node #0,1,0: 32:[32, 0] Operation: 36*0=0
Exploring Operation: 36+0=36, Resulting Numbers: [32, 36]
Generated Node #0,1,1: 32:[32, 36] Operation: 36+0=36
Exploring Operation: 36-0=36, Resulting Numbers: [32, 36]
Generated Node #0,1,2: 32:[32, 36] Operation: 36-0=36
Exploring Operation: 32+0=32, Resulting Numbers: [36, 32]
Generated Node #0,1,3: 32:[36, 32] Operation: 32+0=32
Exploring Operation: 36-32=4, Resulting Numbers: [0, 4]
Generated Node #0,1,4: 32:[0, 4] Operation: 36-32=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[32, 0], Operations: ['94-94=0', '36*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[36, 94, 94, 32], Operations: []
Exploring Operation: 94-94=0, Resulting Numbers: [36, 32, 0]
Generated Node #0,1: 32:[36, 32, 0] Operation: 94-94=0
Moving to Node #0,1
Current State: 32:[36, 32, 0], Operations: ['94-94=0']
Exploring Operation: 36*0=0, Resulting Numbers: [32, 0]
Generated Node #0,1,0: 32:[32, 0] Operation: 36*0=0
Moving to Node #0,1,0
Current State: 32:[32, 0], Operations: ['94-94=0', '36*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
69,
45,
93,
15
] | 17 | [
"45+93=138",
"138/69=2",
"15+2=17"
] | Current State: 17:[69, 45, 93, 15], Operations: []
Exploring Operation: 45+93=138, Resulting Numbers: [69, 15, 138]
Generated Node #2: [69, 15, 138] from Operation: 45+93=138
Current State: 17:[69, 15, 138], Operations: ['45+93=138']
Exploring Operation: 138/69=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 138/69=2
Current State: 17:[15, 2], Operations: ['45+93=138', '138/69=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[69, 45, 93, 15], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [93, 15, 24]
Generated Node #0,0: 17:[93, 15, 24] Operation: 69-45=24
Exploring Operation: 93-69=24, Resulting Numbers: [45, 15, 24]
Generated Node #0,1: 17:[45, 15, 24] Operation: 93-69=24
Exploring Operation: 69-15=54, Resulting Numbers: [45, 93, 54]
Generated Node #0,2: 17:[45, 93, 54] Operation: 69-15=54
Exploring Operation: 93-45=48, Resulting Numbers: [69, 15, 48]
Generated Node #0,3: 17:[69, 15, 48] Operation: 93-45=48
Moving to Node #0,1
Current State: 17:[45, 15, 24], Operations: ['93-69=24']
Exploring Operation: 45/15=3, Resulting Numbers: [24, 3]
Generated Node #0,1,0: 17:[24, 3] Operation: 45/15=3
Exploring Operation: 45-24=21, Resulting Numbers: [15, 21]
Generated Node #0,1,1: 17:[15, 21] Operation: 45-24=21
Exploring Operation: 24-15=9, Resulting Numbers: [45, 9]
Generated Node #0,1,2: 17:[45, 9] Operation: 24-15=9
Exploring Operation: 45-15=30, Resulting Numbers: [24, 30]
Generated Node #0,1,3: 17:[24, 30] Operation: 45-15=30
Moving to Node #0,3
Current State: 17:[69, 15, 48], Operations: ['93-45=48']
Exploring Operation: 69-15=54, Resulting Numbers: [48, 54]
Generated Node #0,3,0: 17:[48, 54] Operation: 69-15=54
Exploring Operation: 48-15=33, Resulting Numbers: [69, 33]
Generated Node #0,3,1: 17:[69, 33] Operation: 48-15=33
Exploring Operation: 69+15=84, Resulting Numbers: [48, 84]
Generated Node #0,3,2: 17:[48, 84] Operation: 69+15=84
Exploring Operation: 69-48=21, Resulting Numbers: [15, 21]
Generated Node #0,3,3: 17:[15, 21] Operation: 69-48=21
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[15, 21], Operations: ['93-45=48', '69-48=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,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,3,0
Current State: 17:[48, 54], Operations: ['93-45=48', '69-15=54']
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,17 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,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,3,1
Current State: 17:[69, 33], Operations: ['93-45=48', '48-15=33']
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,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,3,2
Current State: 17:[48, 84], Operations: ['93-45=48', '69+15=84']
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,17 unequal: No Solution
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,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:[93, 15, 24], Operations: ['69-45=24']
Exploring Operation: 93-15=78, Resulting Numbers: [24, 78]
Generated Node #0,0,0: 17:[24, 78] Operation: 93-15=78
Exploring Operation: 93-24=69, Resulting Numbers: [15, 69]
Generated Node #0,0,1: 17:[15, 69] Operation: 93-24=69
Exploring Operation: 24-15=9, Resulting Numbers: [93, 9]
Generated Node #0,0,2: 17:[93, 9] Operation: 24-15=9
Exploring Operation: 93+15=108, Resulting Numbers: [24, 108]
Generated Node #0,0,3: 17:[24, 108] Operation: 93+15=108
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[15, 69], Operations: ['69-45=24', '93-24=69']
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,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:[24, 78], Operations: ['69-45=24', '93-15=78']
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,17 unequal: No Solution
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,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,2
Current State: 17:[93, 9], Operations: ['69-45=24', '24-15=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,17 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,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,3
Current State: 17:[24, 108], Operations: ['69-45=24', '93+15=108']
Exploring Operation: 24+108=132, Resulting Numbers: [132]
132,17 unequal: No Solution
Exploring Operation: 24*108=2592, Resulting Numbers: [2592]
2592,17 unequal: No Solution
Exploring Operation: 108-24=84, Resulting Numbers: [84]
84,17 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: 17:[45, 93, 54], Operations: ['69-15=54']
Exploring Operation: 54-45=9, Resulting Numbers: [93, 9]
Generated Node #0,2,0: 17:[93, 9] Operation: 54-45=9
Exploring Operation: 93-54=39, Resulting Numbers: [45, 39]
Generated Node #0,2,1: 17:[45, 39] Operation: 93-54=39
Exploring Operation: 93-45=48, Resulting Numbers: [54, 48]
Generated Node #0,2,2: 17:[54, 48] Operation: 93-45=48
Exploring Operation: 45+93=138, Resulting Numbers: [54, 138]
Generated Node #0,2,3: 17:[54, 138] Operation: 45+93=138
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[45, 39], Operations: ['69-15=54', '93-54=39']
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,17 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,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,2,2
Current State: 17:[54, 48], Operations: ['69-15=54', '93-45=48']
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,17 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,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,2,0
Current State: 17:[93, 9], Operations: ['69-15=54', '54-45=9']
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,17 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,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,2,3
Current State: 17:[54, 138], Operations: ['69-15=54', '45+93=138']
Exploring Operation: 54+138=192, Resulting Numbers: [192]
192,17 unequal: No Solution
Exploring Operation: 138-54=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 54*138=7452, Resulting Numbers: [7452]
7452,17 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: 17:[15, 21], Operations: ['93-69=24', '45-24=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[24, 30], Operations: ['93-69=24', '45-15=30']
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,17 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[24, 3], Operations: ['93-69=24', '45/15=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[45, 9], Operations: ['93-69=24', '24-15=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,17 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,17 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
71,
39,
28,
38
] | 98 | [
"71-39=32",
"28+38=66",
"32+66=98"
] | Current State: 98:[71, 39, 28, 38], Operations: []
Exploring Operation: 71-39=32, Resulting Numbers: [28, 38, 32]
Generated Node #2: [28, 38, 32] from Operation: 71-39=32
Current State: 98:[28, 38, 32], Operations: ['71-39=32']
Exploring Operation: 28+38=66, Resulting Numbers: [32, 66]
Generated Node #3: [32, 66] from Operation: 28+38=66
Current State: 98:[32, 66], Operations: ['71-39=32', '28+38=66']
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[71, 39, 28, 38], Operations: []
Exploring Operation: 71+28=99, Resulting Numbers: [39, 38, 99]
Generated Node #0,0: 98:[39, 38, 99] Operation: 71+28=99
Exploring Operation: 71+38=109, Resulting Numbers: [39, 28, 109]
Generated Node #0,1: 98:[39, 28, 109] Operation: 71+38=109
Exploring Operation: 71-28=43, Resulting Numbers: [39, 38, 43]
Generated Node #0,2: 98:[39, 38, 43] Operation: 71-28=43
Exploring Operation: 38-28=10, Resulting Numbers: [71, 39, 10]
Generated Node #0,3: 98:[71, 39, 10] Operation: 38-28=10
Exploring Operation: 39-28=11, Resulting Numbers: [71, 38, 11]
Generated Node #0,4: 98:[71, 38, 11] Operation: 39-28=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[39, 38, 99], Operations: ['71+28=99']
Exploring Operation: 99-39=60, Resulting Numbers: [38, 60]
Generated Node #0,0,0: 98:[38, 60] Operation: 99-39=60
Exploring Operation: 39+38=77, Resulting Numbers: [99, 77]
Generated Node #0,0,1: 98:[99, 77] Operation: 39+38=77
Exploring Operation: 99-38=61, Resulting Numbers: [39, 61]
Generated Node #0,0,2: 98:[39, 61] Operation: 99-38=61
Exploring Operation: 38+99=137, Resulting Numbers: [39, 137]
Generated Node #0,0,3: 98:[39, 137] Operation: 38+99=137
Exploring Operation: 39-38=1, Resulting Numbers: [99, 1]
Generated Node #0,0,4: 98:[99, 1] Operation: 39-38=1
Moving to Node #0,0,4
Current State: 98:[99, 1], Operations: ['71+28=99', '39-38=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[71, 39, 28, 38], Operations: []
Exploring Operation: 71+28=99, Resulting Numbers: [39, 38, 99]
Generated Node #0,0: 98:[39, 38, 99] Operation: 71+28=99
Moving to Node #0,0
Current State: 98:[39, 38, 99], Operations: ['71+28=99']
Exploring Operation: 39-38=1, Resulting Numbers: [99, 1]
Generated Node #0,0,4: 98:[99, 1] Operation: 39-38=1
Moving to Node #0,0,4
Current State: 98:[99, 1], Operations: ['71+28=99', '39-38=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
60,
60,
59,
11
] | 48 | [
"60-60=0",
"59-11=48",
"0+48=48"
] | Current State: 48:[60, 60, 59, 11], Operations: []
Exploring Operation: 60-60=0, Resulting Numbers: [59, 11, 0]
Generated Node #2: [59, 11, 0] from Operation: 60-60=0
Current State: 48:[59, 11, 0], Operations: ['60-60=0']
Exploring Operation: 59-11=48, Resulting Numbers: [0, 48]
Generated Node #3: [0, 48] from Operation: 59-11=48
Current State: 48:[0, 48], Operations: ['60-60=0', '59-11=48']
Exploring Operation: 0+48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[60, 60, 59, 11], Operations: []
Exploring Operation: 60-60=0, Resulting Numbers: [59, 11, 0]
Generated Node #0,0: 48:[59, 11, 0] Operation: 60-60=0
Exploring Operation: 60/60=1, Resulting Numbers: [59, 11, 1]
Generated Node #0,1: 48:[59, 11, 1] Operation: 60/60=1
Moving to Node #0,1
Current State: 48:[59, 11, 1], Operations: ['60/60=1']
Exploring Operation: 59-11=48, Resulting Numbers: [1, 48]
Generated Node #0,1,0: 48:[1, 48] Operation: 59-11=48
Exploring Operation: 59-1=58, Resulting Numbers: [11, 58]
Generated Node #0,1,1: 48:[11, 58] Operation: 59-1=58
Moving to Node #0,0
Current State: 48:[59, 11, 0], Operations: ['60-60=0']
Exploring Operation: 59*0=0, Resulting Numbers: [11, 0]
Generated Node #0,0,0: 48:[11, 0] Operation: 59*0=0
Exploring Operation: 59-11=48, Resulting Numbers: [0, 48]
Generated Node #0,0,1: 48:[0, 48] Operation: 59-11=48
Moving to Node #0,1,0
Current State: 48:[1, 48], Operations: ['60/60=1', '59-11=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[60, 60, 59, 11], Operations: []
Exploring Operation: 60/60=1, Resulting Numbers: [59, 11, 1]
Generated Node #0,1: 48:[59, 11, 1] Operation: 60/60=1
Moving to Node #0,1
Current State: 48:[59, 11, 1], Operations: ['60/60=1']
Exploring Operation: 59-11=48, Resulting Numbers: [1, 48]
Generated Node #0,1,0: 48:[1, 48] Operation: 59-11=48
Moving to Node #0,1,0
Current State: 48:[1, 48], Operations: ['60/60=1', '59-11=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
38,
86,
29,
66
] | 86 | [
"38+29=67",
"67-66=1",
"86*1=86"
] | Current State: 86:[38, 86, 29, 66], Operations: []
Exploring Operation: 38+29=67, Resulting Numbers: [86, 66, 67]
Generated Node #2: [86, 66, 67] from Operation: 38+29=67
Current State: 86:[86, 66, 67], Operations: ['38+29=67']
Exploring Operation: 67-66=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 67-66=1
Current State: 86:[86, 1], Operations: ['38+29=67', '67-66=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[38, 86, 29, 66], Operations: []
Exploring Operation: 29+66=95, Resulting Numbers: [38, 86, 95]
Generated Node #0,0: 86:[38, 86, 95] Operation: 29+66=95
Exploring Operation: 38-29=9, Resulting Numbers: [86, 66, 9]
Generated Node #0,1: 86:[86, 66, 9] Operation: 38-29=9
Exploring Operation: 66-29=37, Resulting Numbers: [38, 86, 37]
Generated Node #0,2: 86:[38, 86, 37] Operation: 66-29=37
Exploring Operation: 38+66=104, Resulting Numbers: [86, 29, 104]
Generated Node #0,3: 86:[86, 29, 104] Operation: 38+66=104
Exploring Operation: 66-38=28, Resulting Numbers: [86, 29, 28]
Generated Node #0,4: 86:[86, 29, 28] Operation: 66-38=28
Moving to Node #0,2
Current State: 86:[38, 86, 37], Operations: ['66-29=37']
Exploring Operation: 38-37=1, Resulting Numbers: [86, 1]
Generated Node #0,2,0: 86:[86, 1] Operation: 38-37=1
Exploring Operation: 86+37=123, Resulting Numbers: [38, 123]
Generated Node #0,2,1: 86:[38, 123] Operation: 86+37=123
Exploring Operation: 86-38=48, Resulting Numbers: [37, 48]
Generated Node #0,2,2: 86:[37, 48] Operation: 86-38=48
Exploring Operation: 38+37=75, Resulting Numbers: [86, 75]
Generated Node #0,2,3: 86:[86, 75] Operation: 38+37=75
Exploring Operation: 86-37=49, Resulting Numbers: [38, 49]
Generated Node #0,2,4: 86:[38, 49] Operation: 86-37=49
Moving to Node #0,0
Current State: 86:[38, 86, 95], Operations: ['29+66=95']
Exploring Operation: 38+95=133, Resulting Numbers: [86, 133]
Generated Node #0,0,0: 86:[86, 133] Operation: 38+95=133
Exploring Operation: 86-38=48, Resulting Numbers: [95, 48]
Generated Node #0,0,1: 86:[95, 48] Operation: 86-38=48
Exploring Operation: 38+86=124, Resulting Numbers: [95, 124]
Generated Node #0,0,2: 86:[95, 124] Operation: 38+86=124
Exploring Operation: 95-86=9, Resulting Numbers: [38, 9]
Generated Node #0,0,3: 86:[38, 9] Operation: 95-86=9
Exploring Operation: 95-38=57, Resulting Numbers: [86, 57]
Generated Node #0,0,4: 86:[86, 57] Operation: 95-38=57
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[38, 9], Operations: ['29+66=95', '95-86=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,86 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,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:[95, 48], Operations: ['29+66=95', '86-38=48']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,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,4
Current State: 86:[86, 57], Operations: ['29+66=95', '95-38=57']
Exploring Operation: 86+57=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Exploring Operation: 86*57=4902, Resulting Numbers: [4902]
4902,86 unequal: No Solution
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,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,0
Current State: 86:[86, 133], Operations: ['29+66=95', '38+95=133']
Exploring Operation: 133-86=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 86+133=219, Resulting Numbers: [219]
219,86 unequal: No Solution
Exploring Operation: 86*133=11438, Resulting Numbers: [11438]
11438,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:[95, 124], Operations: ['29+66=95', '38+86=124']
Exploring Operation: 95+124=219, Resulting Numbers: [219]
219,86 unequal: No Solution
Exploring Operation: 95*124=11780, Resulting Numbers: [11780]
11780,86 unequal: No Solution
Exploring Operation: 124-95=29, Resulting Numbers: [29]
29,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:[86, 66, 9], Operations: ['38-29=9']
Exploring Operation: 66+9=75, Resulting Numbers: [86, 75]
Generated Node #0,1,0: 86:[86, 75] Operation: 66+9=75
Exploring Operation: 86+9=95, Resulting Numbers: [66, 95]
Generated Node #0,1,1: 86:[66, 95] Operation: 86+9=95
Exploring Operation: 86-9=77, Resulting Numbers: [66, 77]
Generated Node #0,1,2: 86:[66, 77] Operation: 86-9=77
Exploring Operation: 86-66=20, Resulting Numbers: [9, 20]
Generated Node #0,1,3: 86:[9, 20] Operation: 86-66=20
Exploring Operation: 66-9=57, Resulting Numbers: [86, 57]
Generated Node #0,1,4: 86:[86, 57] Operation: 66-9=57
Moving to Node #0,4
Current State: 86:[86, 29, 28], Operations: ['66-38=28']
Exploring Operation: 29-28=1, Resulting Numbers: [86, 1]
Generated Node #0,4,0: 86:[86, 1] Operation: 29-28=1
Exploring Operation: 86-29=57, Resulting Numbers: [28, 57]
Generated Node #0,4,1: 86:[28, 57] Operation: 86-29=57
Exploring Operation: 86-28=58, Resulting Numbers: [29, 58]
Generated Node #0,4,2: 86:[29, 58] Operation: 86-28=58
Exploring Operation: 29+28=57, Resulting Numbers: [86, 57]
Generated Node #0,4,3: 86:[86, 57] Operation: 29+28=57
Exploring Operation: 86+28=114, Resulting Numbers: [29, 114]
Generated Node #0,4,4: 86:[29, 114] Operation: 86+28=114
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 86:[86, 1], Operations: ['66-38=28', '29-28=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[38, 86, 29, 66], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [86, 29, 28]
Generated Node #0,4: 86:[86, 29, 28] Operation: 66-38=28
Moving to Node #0,4
Current State: 86:[86, 29, 28], Operations: ['66-38=28']
Exploring Operation: 29-28=1, Resulting Numbers: [86, 1]
Generated Node #0,4,0: 86:[86, 1] Operation: 29-28=1
Moving to Node #0,4,0
Current State: 86:[86, 1], Operations: ['66-38=28', '29-28=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
44,
29,
21,
21
] | 14 | [
"44-29=15",
"21/21=1",
"15-1=14"
] | Current State: 14:[44, 29, 21, 21], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [21, 21, 15]
Generated Node #2: [21, 21, 15] from Operation: 44-29=15
Current State: 14:[21, 21, 15], Operations: ['44-29=15']
Exploring Operation: 21/21=1, Resulting Numbers: [15, 1]
Generated Node #3: [15, 1] from Operation: 21/21=1
Current State: 14:[15, 1], Operations: ['44-29=15', '21/21=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[44, 29, 21, 21], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [29, 21, 23]
Generated Node #0,0: 14:[29, 21, 23] Operation: 44-21=23
Exploring Operation: 44-21=23, Resulting Numbers: [29, 21, 23]
Generated Node #0,1: 14:[29, 21, 23] Operation: 44-21=23
Exploring Operation: 29-21=8, Resulting Numbers: [44, 21, 8]
Generated Node #0,2: 14:[44, 21, 8] Operation: 29-21=8
Exploring Operation: 29-21=8, Resulting Numbers: [44, 21, 8]
Generated Node #0,3: 14:[44, 21, 8] Operation: 29-21=8
Exploring Operation: 44-29=15, Resulting Numbers: [21, 21, 15]
Generated Node #0,4: 14:[21, 21, 15] Operation: 44-29=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[21, 21, 15], Operations: ['44-29=15']
Exploring Operation: 21-15=6, Resulting Numbers: [21, 6]
Generated Node #0,4,0: 14:[21, 6] Operation: 21-15=6
Exploring Operation: 21/21=1, Resulting Numbers: [15, 1]
Generated Node #0,4,1: 14:[15, 1] Operation: 21/21=1
Exploring Operation: 21-15=6, Resulting Numbers: [21, 6]
Generated Node #0,4,2: 14:[21, 6] Operation: 21-15=6
Exploring Operation: 21+21=42, Resulting Numbers: [15, 42]
Generated Node #0,4,3: 14:[15, 42] Operation: 21+21=42
Exploring Operation: 21-21=0, Resulting Numbers: [15, 0]
Generated Node #0,4,4: 14:[15, 0] Operation: 21-21=0
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 14:[15, 1], Operations: ['44-29=15', '21/21=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[44, 29, 21, 21], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [21, 21, 15]
Generated Node #0,4: 14:[21, 21, 15] Operation: 44-29=15
Moving to Node #0,4
Current State: 14:[21, 21, 15], Operations: ['44-29=15']
Exploring Operation: 21/21=1, Resulting Numbers: [15, 1]
Generated Node #0,4,1: 14:[15, 1] Operation: 21/21=1
Moving to Node #0,4,1
Current State: 14:[15, 1], Operations: ['44-29=15', '21/21=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
75,
23,
52,
83
] | 67 | [
"75+23=98",
"83-52=31",
"98-31=67"
] | Current State: 67:[75, 23, 52, 83], Operations: []
Exploring Operation: 75+23=98, Resulting Numbers: [52, 83, 98]
Generated Node #2: [52, 83, 98] from Operation: 75+23=98
Current State: 67:[52, 83, 98], Operations: ['75+23=98']
Exploring Operation: 83-52=31, Resulting Numbers: [98, 31]
Generated Node #3: [98, 31] from Operation: 83-52=31
Current State: 67:[98, 31], Operations: ['75+23=98', '83-52=31']
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[75, 23, 52, 83], Operations: []
Exploring Operation: 83-23=60, Resulting Numbers: [75, 52, 60]
Generated Node #0,0: 67:[75, 52, 60] Operation: 83-23=60
Exploring Operation: 23+52=75, Resulting Numbers: [75, 83, 75]
Generated Node #0,1: 67:[75, 83, 75] Operation: 23+52=75
Exploring Operation: 75-23=52, Resulting Numbers: [52, 83, 52]
Generated Node #0,2: 67:[52, 83, 52] Operation: 75-23=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[75, 52, 60], Operations: ['83-23=60']
Exploring Operation: 75-52=23, Resulting Numbers: [60, 23]
Generated Node #0,0,0: 67:[60, 23] Operation: 75-52=23
Exploring Operation: 52+60=112, Resulting Numbers: [75, 112]
Generated Node #0,0,1: 67:[75, 112] Operation: 52+60=112
Exploring Operation: 75+52=127, Resulting Numbers: [60, 127]
Generated Node #0,0,2: 67:[60, 127] Operation: 75+52=127
Moving to Node #0,0,0
Current State: 67:[60, 23], Operations: ['83-23=60', '75-52=23']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[75, 112], Operations: ['83-23=60', '52+60=112']
Exploring Operation: 75*112=8400, Resulting Numbers: [8400]
8400,67 unequal: No Solution
Exploring Operation: 75+112=187, Resulting Numbers: [187]
187,67 unequal: No Solution
Exploring Operation: 112-75=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[60, 127], Operations: ['83-23=60', '75+52=127']
Exploring Operation: 127-60=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[75, 23, 52, 83], Operations: []
Exploring Operation: 83-23=60, Resulting Numbers: [75, 52, 60]
Generated Node #0,0: 67:[75, 52, 60] Operation: 83-23=60
Moving to Node #0,0
Current State: 67:[75, 52, 60], Operations: ['83-23=60']
Exploring Operation: 75+52=127, Resulting Numbers: [60, 127]
Generated Node #0,0,2: 67:[60, 127] Operation: 75+52=127
Moving to Node #0,0,2
Current State: 67:[60, 127], Operations: ['83-23=60', '75+52=127']
Exploring Operation: 127-60=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
36,
62,
31,
50
] | 17 | [
"36+62=98",
"31+50=81",
"98-81=17"
] | Current State: 17:[36, 62, 31, 50], Operations: []
Exploring Operation: 36+62=98, Resulting Numbers: [31, 50, 98]
Generated Node #2: [31, 50, 98] from Operation: 36+62=98
Current State: 17:[31, 50, 98], Operations: ['36+62=98']
Exploring Operation: 31+50=81, Resulting Numbers: [98, 81]
Generated Node #3: [98, 81] from Operation: 31+50=81
Current State: 17:[98, 81], Operations: ['36+62=98', '31+50=81']
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[36, 62, 31, 50], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [31, 50, 26]
Generated Node #0,0: 17:[31, 50, 26] Operation: 62-36=26
Exploring Operation: 62-50=12, Resulting Numbers: [36, 31, 12]
Generated Node #0,1: 17:[36, 31, 12] Operation: 62-50=12
Exploring Operation: 50-36=14, Resulting Numbers: [62, 31, 14]
Generated Node #0,2: 17:[62, 31, 14] Operation: 50-36=14
Exploring Operation: 62-31=31, Resulting Numbers: [36, 50, 31]
Generated Node #0,3: 17:[36, 50, 31] Operation: 62-31=31
Moving to Node #0,1
Current State: 17:[36, 31, 12], Operations: ['62-50=12']
Exploring Operation: 36/12=3, Resulting Numbers: [31, 3]
Generated Node #0,1,0: 17:[31, 3] Operation: 36/12=3
Exploring Operation: 31-12=19, Resulting Numbers: [36, 19]
Generated Node #0,1,1: 17:[36, 19] Operation: 31-12=19
Exploring Operation: 36-31=5, Resulting Numbers: [12, 5]
Generated Node #0,1,2: 17:[12, 5] Operation: 36-31=5
Exploring Operation: 36-12=24, Resulting Numbers: [31, 24]
Generated Node #0,1,3: 17:[31, 24] Operation: 36-12=24
Moving to Node #0,0
Current State: 17:[31, 50, 26], Operations: ['62-36=26']
Exploring Operation: 31-26=5, Resulting Numbers: [50, 5]
Generated Node #0,0,0: 17:[50, 5] Operation: 31-26=5
Exploring Operation: 50-26=24, Resulting Numbers: [31, 24]
Generated Node #0,0,1: 17:[31, 24] Operation: 50-26=24
Exploring Operation: 50-31=19, Resulting Numbers: [26, 19]
Generated Node #0,0,2: 17:[26, 19] Operation: 50-31=19
Exploring Operation: 31+50=81, Resulting Numbers: [26, 81]
Generated Node #0,0,3: 17:[26, 81] Operation: 31+50=81
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[26, 19], Operations: ['62-36=26', '50-31=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,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,1
Current State: 17:[31, 24], Operations: ['62-36=26', '50-26=24']
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,17 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,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:[50, 5], Operations: ['62-36=26', '31-26=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,17 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,17 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,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,3
Current State: 17:[26, 81], Operations: ['62-36=26', '31+50=81']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,17 unequal: No Solution
Exploring Operation: 26+81=107, Resulting Numbers: [107]
107,17 unequal: No Solution
Exploring Operation: 26*81=2106, Resulting Numbers: [2106]
2106,17 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: 17:[62, 31, 14], Operations: ['50-36=14']
Exploring Operation: 62/31=2, Resulting Numbers: [14, 2]
Generated Node #0,2,0: 17:[14, 2] Operation: 62/31=2
Exploring Operation: 62-14=48, Resulting Numbers: [31, 48]
Generated Node #0,2,1: 17:[31, 48] Operation: 62-14=48
Exploring Operation: 62-31=31, Resulting Numbers: [14, 31]
Generated Node #0,2,2: 17:[14, 31] Operation: 62-31=31
Exploring Operation: 31-14=17, Resulting Numbers: [62, 17]
Generated Node #0,2,3: 17:[62, 17] Operation: 31-14=17
Moving to Node #0,3
Current State: 17:[36, 50, 31], Operations: ['62-31=31']
Exploring Operation: 36-31=5, Resulting Numbers: [50, 5]
Generated Node #0,3,0: 17:[50, 5] Operation: 36-31=5
Exploring Operation: 50-36=14, Resulting Numbers: [31, 14]
Generated Node #0,3,1: 17:[31, 14] Operation: 50-36=14
Exploring Operation: 50-31=19, Resulting Numbers: [36, 19]
Generated Node #0,3,2: 17:[36, 19] Operation: 50-31=19
Exploring Operation: 36+50=86, Resulting Numbers: [31, 86]
Generated Node #0,3,3: 17:[31, 86] Operation: 36+50=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[31, 14], Operations: ['62-31=31', '50-36=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[36, 62, 31, 50], Operations: []
Exploring Operation: 62-31=31, Resulting Numbers: [36, 50, 31]
Generated Node #0,3: 17:[36, 50, 31] Operation: 62-31=31
Moving to Node #0,3
Current State: 17:[36, 50, 31], Operations: ['62-31=31']
Exploring Operation: 50-36=14, Resulting Numbers: [31, 14]
Generated Node #0,3,1: 17:[31, 14] Operation: 50-36=14
Moving to Node #0,3,1
Current State: 17:[31, 14], Operations: ['62-31=31', '50-36=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
48,
79,
18,
1
] | 48 | [
"79-48=31",
"18-1=17",
"31+17=48"
] | Current State: 48:[48, 79, 18, 1], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [18, 1, 31]
Generated Node #2: [18, 1, 31] from Operation: 79-48=31
Current State: 48:[18, 1, 31], Operations: ['79-48=31']
Exploring Operation: 18-1=17, Resulting Numbers: [31, 17]
Generated Node #3: [31, 17] from Operation: 18-1=17
Current State: 48:[31, 17], Operations: ['79-48=31', '18-1=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[48, 79, 18, 1], Operations: []
Exploring Operation: 79-18=61, Resulting Numbers: [48, 1, 61]
Generated Node #0,0: 48:[48, 1, 61] Operation: 79-18=61
Exploring Operation: 79-48=31, Resulting Numbers: [18, 1, 31]
Generated Node #0,1: 48:[18, 1, 31] Operation: 79-48=31
Exploring Operation: 79-1=78, Resulting Numbers: [48, 18, 78]
Generated Node #0,2: 48:[48, 18, 78] Operation: 79-1=78
Exploring Operation: 48*1=48, Resulting Numbers: [79, 18, 48]
Generated Node #0,3: 48:[79, 18, 48] Operation: 48*1=48
Exploring Operation: 18-1=17, Resulting Numbers: [48, 79, 17]
Generated Node #0,4: 48:[48, 79, 17] Operation: 18-1=17
Moving to Node #0,1
Current State: 48:[18, 1, 31], Operations: ['79-48=31']
Exploring Operation: 18+31=49, Resulting Numbers: [1, 49]
Generated Node #0,1,0: 48:[1, 49] Operation: 18+31=49
Exploring Operation: 18-1=17, Resulting Numbers: [31, 17]
Generated Node #0,1,1: 48:[31, 17] Operation: 18-1=17
Exploring Operation: 31-1=30, Resulting Numbers: [18, 30]
Generated Node #0,1,2: 48:[18, 30] Operation: 31-1=30
Exploring Operation: 31-18=13, Resulting Numbers: [1, 13]
Generated Node #0,1,3: 48:[1, 13] Operation: 31-18=13
Exploring Operation: 18*1=18, Resulting Numbers: [31, 18]
Generated Node #0,1,4: 48:[31, 18] Operation: 18*1=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[1, 49], Operations: ['79-48=31', '18+31=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[48, 79, 18, 1], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [18, 1, 31]
Generated Node #0,1: 48:[18, 1, 31] Operation: 79-48=31
Moving to Node #0,1
Current State: 48:[18, 1, 31], Operations: ['79-48=31']
Exploring Operation: 18+31=49, Resulting Numbers: [1, 49]
Generated Node #0,1,0: 48:[1, 49] Operation: 18+31=49
Moving to Node #0,1,0
Current State: 48:[1, 49], Operations: ['79-48=31', '18+31=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
62,
90,
57,
71
] | 59 | [
"90-71=19",
"57/19=3",
"62-3=59"
] | Current State: 59:[62, 90, 57, 71], Operations: []
Exploring Operation: 90-71=19, Resulting Numbers: [62, 57, 19]
Generated Node #2: [62, 57, 19] from Operation: 90-71=19
Current State: 59:[62, 57, 19], Operations: ['90-71=19']
Exploring Operation: 57/19=3, Resulting Numbers: [62, 3]
Generated Node #3: [62, 3] from Operation: 57/19=3
Current State: 59:[62, 3], Operations: ['90-71=19', '57/19=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 90, 57, 71], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [57, 71, 28]
Generated Node #0,0: 59:[57, 71, 28] Operation: 90-62=28
Exploring Operation: 90-71=19, Resulting Numbers: [62, 57, 19]
Generated Node #0,1: 59:[62, 57, 19] Operation: 90-71=19
Exploring Operation: 90-57=33, Resulting Numbers: [62, 71, 33]
Generated Node #0,2: 59:[62, 71, 33] Operation: 90-57=33
Moving to Node #0,2
Current State: 59:[62, 71, 33], Operations: ['90-57=33']
Exploring Operation: 71-33=38, Resulting Numbers: [62, 38]
Generated Node #0,2,0: 59:[62, 38] Operation: 71-33=38
Exploring Operation: 62+33=95, Resulting Numbers: [71, 95]
Generated Node #0,2,1: 59:[71, 95] Operation: 62+33=95
Exploring Operation: 62-33=29, Resulting Numbers: [71, 29]
Generated Node #0,2,2: 59:[71, 29] Operation: 62-33=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[62, 38], Operations: ['90-57=33', '71-33=38']
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,59 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,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, 29], Operations: ['90-57=33', '62-33=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,59 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,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:[71, 95], Operations: ['90-57=33', '62+33=95']
Exploring Operation: 71*95=6745, Resulting Numbers: [6745]
6745,59 unequal: No Solution
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 71+95=166, Resulting Numbers: [166]
166,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:[57, 71, 28], Operations: ['90-62=28']
Exploring Operation: 71-28=43, Resulting Numbers: [57, 43]
Generated Node #0,0,0: 59:[57, 43] Operation: 71-28=43
Exploring Operation: 57-28=29, Resulting Numbers: [71, 29]
Generated Node #0,0,1: 59:[71, 29] Operation: 57-28=29
Exploring Operation: 57+28=85, Resulting Numbers: [71, 85]
Generated Node #0,0,2: 59:[71, 85] Operation: 57+28=85
Moving to Node #0,1
Current State: 59:[62, 57, 19], Operations: ['90-71=19']
Exploring Operation: 62-19=43, Resulting Numbers: [57, 43]
Generated Node #0,1,0: 59:[57, 43] Operation: 62-19=43
Exploring Operation: 62+19=81, Resulting Numbers: [57, 81]
Generated Node #0,1,1: 59:[57, 81] Operation: 62+19=81
Exploring Operation: 57+19=76, Resulting Numbers: [62, 76]
Generated Node #0,1,2: 59:[62, 76] Operation: 57+19=76
Moving to Node #0,0,0
Current State: 59:[57, 43], Operations: ['90-62=28', '71-28=43']
Exploring Operation: 57*43=2451, Resulting Numbers: [2451]
2451,59 unequal: No Solution
Exploring Operation: 57+43=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[57, 43], Operations: ['90-71=19', '62-19=43']
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 57*43=2451, Resulting Numbers: [2451]
2451,59 unequal: No Solution
Exploring Operation: 57+43=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[62, 76], Operations: ['90-71=19', '57+19=76']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 62*76=4712, Resulting Numbers: [4712]
4712,59 unequal: No Solution
Exploring Operation: 62+76=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[57, 81], Operations: ['90-71=19', '62+19=81']
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 57*81=4617, Resulting Numbers: [4617]
4617,59 unequal: No Solution
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[71, 85], Operations: ['90-62=28', '57+28=85']
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 71+85=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 71*85=6035, Resulting Numbers: [6035]
6035,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[71, 29], Operations: ['90-62=28', '57-28=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,59 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
23,
24,
58,
17
] | 62 | [
"23-17=6",
"24/6=4",
"58+4=62"
] | Current State: 62:[23, 24, 58, 17], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [24, 58, 6]
Generated Node #2: [24, 58, 6] from Operation: 23-17=6
Current State: 62:[24, 58, 6], Operations: ['23-17=6']
Exploring Operation: 24/6=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 24/6=4
Current State: 62:[58, 4], Operations: ['23-17=6', '24/6=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[23, 24, 58, 17], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [58, 17, 1]
Generated Node #0,0: 62:[58, 17, 1] Operation: 24-23=1
Exploring Operation: 23+17=40, Resulting Numbers: [24, 58, 40]
Generated Node #0,1: 62:[24, 58, 40] Operation: 23+17=40
Exploring Operation: 24-17=7, Resulting Numbers: [23, 58, 7]
Generated Node #0,2: 62:[23, 58, 7] Operation: 24-17=7
Exploring Operation: 23-17=6, Resulting Numbers: [24, 58, 6]
Generated Node #0,3: 62:[24, 58, 6] Operation: 23-17=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[24, 58, 6], Operations: ['23-17=6']
Exploring Operation: 24/6=4, Resulting Numbers: [58, 4]
Generated Node #0,3,0: 62:[58, 4] Operation: 24/6=4
Exploring Operation: 58-24=34, Resulting Numbers: [6, 34]
Generated Node #0,3,1: 62:[6, 34] Operation: 58-24=34
Exploring Operation: 24+6=30, Resulting Numbers: [58, 30]
Generated Node #0,3,2: 62:[58, 30] Operation: 24+6=30
Exploring Operation: 58+6=64, Resulting Numbers: [24, 64]
Generated Node #0,3,3: 62:[24, 64] Operation: 58+6=64
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 62:[58, 30], Operations: ['23-17=6', '24+6=30']
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,62 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,62 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,62 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: 62:[58, 4], Operations: ['23-17=6', '24/6=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,62 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[23, 24, 58, 17], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [24, 58, 6]
Generated Node #0,3: 62:[24, 58, 6] Operation: 23-17=6
Moving to Node #0,3
Current State: 62:[24, 58, 6], Operations: ['23-17=6']
Exploring Operation: 24/6=4, Resulting Numbers: [58, 4]
Generated Node #0,3,0: 62:[58, 4] Operation: 24/6=4
Moving to Node #0,3,0
Current State: 62:[58, 4], Operations: ['23-17=6', '24/6=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
84,
29,
4,
31
] | 28 | [
"84-29=55",
"31-4=27",
"55-27=28"
] | Current State: 28:[84, 29, 4, 31], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [4, 31, 55]
Generated Node #2: [4, 31, 55] from Operation: 84-29=55
Current State: 28:[4, 31, 55], Operations: ['84-29=55']
Exploring Operation: 31-4=27, Resulting Numbers: [55, 27]
Generated Node #3: [55, 27] from Operation: 31-4=27
Current State: 28:[55, 27], Operations: ['84-29=55', '31-4=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[84, 29, 4, 31], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [29, 31, 21]
Generated Node #0,0: 28:[29, 31, 21] Operation: 84/4=21
Exploring Operation: 84-31=53, Resulting Numbers: [29, 4, 53]
Generated Node #0,1: 28:[29, 4, 53] Operation: 84-31=53
Moving to Node #0,0
Current State: 28:[29, 31, 21], Operations: ['84/4=21']
Exploring Operation: 31-21=10, Resulting Numbers: [29, 10]
Generated Node #0,0,0: 28:[29, 10] Operation: 31-21=10
Exploring Operation: 29-21=8, Resulting Numbers: [31, 8]
Generated Node #0,0,1: 28:[31, 8] Operation: 29-21=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[29, 10], Operations: ['84/4=21', '31-21=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,28 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: 28:[31, 8], Operations: ['84/4=21', '29-21=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,28 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: 28:[29, 4, 53], Operations: ['84-31=53']
Exploring Operation: 53-29=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 28:[4, 24] Operation: 53-29=24
Exploring Operation: 53-4=49, Resulting Numbers: [29, 49]
Generated Node #0,1,1: 28:[29, 49] Operation: 53-4=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[4, 24], Operations: ['84-31=53', '53-29=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[84, 29, 4, 31], Operations: []
Exploring Operation: 84-31=53, Resulting Numbers: [29, 4, 53]
Generated Node #0,1: 28:[29, 4, 53] Operation: 84-31=53
Moving to Node #0,1
Current State: 28:[29, 4, 53], Operations: ['84-31=53']
Exploring Operation: 53-29=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 28:[4, 24] Operation: 53-29=24
Moving to Node #0,1,0
Current State: 28:[4, 24], Operations: ['84-31=53', '53-29=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
17,
77,
34,
68
] | 94 | [
"77-17=60",
"68-34=34",
"60+34=94"
] | Current State: 94:[17, 77, 34, 68], Operations: []
Exploring Operation: 77-17=60, Resulting Numbers: [34, 68, 60]
Generated Node #2: [34, 68, 60] from Operation: 77-17=60
Current State: 94:[34, 68, 60], Operations: ['77-17=60']
Exploring Operation: 68-34=34, Resulting Numbers: [60, 34]
Generated Node #3: [60, 34] from Operation: 68-34=34
Current State: 94:[60, 34], Operations: ['77-17=60', '68-34=34']
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[17, 77, 34, 68], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [17, 34, 9]
Generated Node #0,0: 94:[17, 34, 9] Operation: 77-68=9
Exploring Operation: 68/34=2, Resulting Numbers: [17, 77, 2]
Generated Node #0,1: 94:[17, 77, 2] Operation: 68/34=2
Exploring Operation: 68/17=4, Resulting Numbers: [77, 34, 4]
Generated Node #0,2: 94:[77, 34, 4] Operation: 68/17=4
Exploring Operation: 17+77=94, Resulting Numbers: [34, 68, 94]
Generated Node #0,3: 94:[34, 68, 94] Operation: 17+77=94
Exploring Operation: 68-17=51, Resulting Numbers: [77, 34, 51]
Generated Node #0,4: 94:[77, 34, 51] Operation: 68-17=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[17, 77, 2], Operations: ['68/34=2']
Exploring Operation: 77-17=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 94:[2, 60] Operation: 77-17=60
Exploring Operation: 17-2=15, Resulting Numbers: [77, 15]
Generated Node #0,1,1: 94:[77, 15] Operation: 17-2=15
Exploring Operation: 17+77=94, Resulting Numbers: [2, 94]
Generated Node #0,1,2: 94:[2, 94] Operation: 17+77=94
Exploring Operation: 17*2=34, Resulting Numbers: [77, 34]
Generated Node #0,1,3: 94:[77, 34] Operation: 17*2=34
Exploring Operation: 77+2=79, Resulting Numbers: [17, 79]
Generated Node #0,1,4: 94:[17, 79] Operation: 77+2=79
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[2, 94], Operations: ['68/34=2', '17+77=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,94 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,94 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: 94:[2, 60], Operations: ['68/34=2', '77-17=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,94 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,94 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: 94:[77, 15], Operations: ['68/34=2', '17-2=15']
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,94 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: 94:[77, 34], Operations: ['68/34=2', '17*2=34']
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,94 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,94 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: 94:[17, 79], Operations: ['68/34=2', '77+2=79']
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,94 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: 94:[77, 34, 4], Operations: ['68/17=4']
Exploring Operation: 34+4=38, Resulting Numbers: [77, 38]
Generated Node #0,2,0: 94:[77, 38] Operation: 34+4=38
Exploring Operation: 77+4=81, Resulting Numbers: [34, 81]
Generated Node #0,2,1: 94:[34, 81] Operation: 77+4=81
Exploring Operation: 77-4=73, Resulting Numbers: [34, 73]
Generated Node #0,2,2: 94:[34, 73] Operation: 77-4=73
Exploring Operation: 77-34=43, Resulting Numbers: [4, 43]
Generated Node #0,2,3: 94:[4, 43] Operation: 77-34=43
Exploring Operation: 77+34=111, Resulting Numbers: [4, 111]
Generated Node #0,2,4: 94:[4, 111] Operation: 77+34=111
Moving to Node #0,2,3
Current State: 94:[4, 43], Operations: ['68/17=4', '77-34=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[4, 111], Operations: ['68/17=4', '77+34=111']
Exploring Operation: 4*111=444, Resulting Numbers: [444]
444,94 unequal: No Solution
Exploring Operation: 111-4=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 4+111=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[77, 38], Operations: ['68/17=4', '34+4=38']
Exploring Operation: 77+38=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 77*38=2926, Resulting Numbers: [2926]
2926,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[34, 81], Operations: ['68/17=4', '77+4=81']
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[34, 73], Operations: ['68/17=4', '77-4=73']
Exploring Operation: 34*73=2482, Resulting Numbers: [2482]
2482,94 unequal: No Solution
Exploring Operation: 34+73=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,94 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: 94:[34, 68, 94], Operations: ['17+77=94']
Exploring Operation: 94-34=60, Resulting Numbers: [68, 60]
Generated Node #0,3,0: 94:[68, 60] Operation: 94-34=60
Exploring Operation: 94-68=26, Resulting Numbers: [34, 26]
Generated Node #0,3,1: 94:[34, 26] Operation: 94-68=26
Exploring Operation: 68-34=34, Resulting Numbers: [94, 34]
Generated Node #0,3,2: 94:[94, 34] Operation: 68-34=34
Exploring Operation: 68/34=2, Resulting Numbers: [94, 2]
Generated Node #0,3,3: 94:[94, 2] Operation: 68/34=2
Exploring Operation: 34+68=102, Resulting Numbers: [94, 102]
Generated Node #0,3,4: 94:[94, 102] Operation: 34+68=102
Moving to Node #0,3,3
Current State: 94:[94, 2], Operations: ['17+77=94', '68/34=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,94 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[94, 102], Operations: ['17+77=94', '34+68=102']
Exploring Operation: 94+102=196, Resulting Numbers: [196]
196,94 unequal: No Solution
Exploring Operation: 94*102=9588, Resulting Numbers: [9588]
9588,94 unequal: No Solution
Exploring Operation: 102-94=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[94, 34], Operations: ['17+77=94', '68-34=34']
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,94 unequal: No Solution
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[68, 60], Operations: ['17+77=94', '94-34=60']
Exploring Operation: 68+60=128, Resulting Numbers: [128]
128,94 unequal: No Solution
Exploring Operation: 68*60=4080, Resulting Numbers: [4080]
4080,94 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[34, 26], Operations: ['17+77=94', '94-68=26']
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,94 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,94 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: 94:[77, 34, 51], Operations: ['68-17=51']
Exploring Operation: 51-34=17, Resulting Numbers: [77, 17]
Generated Node #0,4,0: 94:[77, 17] Operation: 51-34=17
Exploring Operation: 77-51=26, Resulting Numbers: [34, 26]
Generated Node #0,4,1: 94:[34, 26] Operation: 77-51=26
Exploring Operation: 77-34=43, Resulting Numbers: [51, 43]
Generated Node #0,4,2: 94:[51, 43] Operation: 77-34=43
Exploring Operation: 77+34=111, Resulting Numbers: [51, 111]
Generated Node #0,4,3: 94:[51, 111] Operation: 77+34=111
Exploring Operation: 34+51=85, Resulting Numbers: [77, 85]
Generated Node #0,4,4: 94:[77, 85] Operation: 34+51=85
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[51, 43], Operations: ['68-17=51', '77-34=43']
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,94 unequal: No Solution
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[17, 77, 34, 68], Operations: []
Exploring Operation: 68-17=51, Resulting Numbers: [77, 34, 51]
Generated Node #0,4: 94:[77, 34, 51] Operation: 68-17=51
Moving to Node #0,4
Current State: 94:[77, 34, 51], Operations: ['68-17=51']
Exploring Operation: 77-34=43, Resulting Numbers: [51, 43]
Generated Node #0,4,2: 94:[51, 43] Operation: 77-34=43
Moving to Node #0,4,2
Current State: 94:[51, 43], Operations: ['68-17=51', '77-34=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.930556 | hs_5 | mult_heuristic |
[
15,
67,
72,
63
] | 73 | [
"15+67=82",
"72-63=9",
"82-9=73"
] | Current State: 73:[15, 67, 72, 63], Operations: []
Exploring Operation: 15+67=82, Resulting Numbers: [72, 63, 82]
Generated Node #2: [72, 63, 82] from Operation: 15+67=82
Current State: 73:[72, 63, 82], Operations: ['15+67=82']
Exploring Operation: 72-63=9, Resulting Numbers: [82, 9]
Generated Node #3: [82, 9] from Operation: 72-63=9
Current State: 73:[82, 9], Operations: ['15+67=82', '72-63=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[15, 67, 72, 63], Operations: []
Exploring Operation: 15+63=78, Resulting Numbers: [67, 72, 78]
Generated Node #0,0: 73:[67, 72, 78] Operation: 15+63=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[67, 72, 78], Operations: ['15+63=78']
Exploring Operation: 78-67=11, Resulting Numbers: [72, 11]
Generated Node #0,0,0: 73:[72, 11] Operation: 78-67=11
Moving to Node #0,0,0
Current State: 73:[72, 11], Operations: ['15+63=78', '78-67=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,73 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 |
[
28,
12,
19,
76
] | 19 | [
"28*19=532",
"532/76=7",
"12+7=19"
] | Current State: 19:[28, 12, 19, 76], Operations: []
Exploring Operation: 28*19=532, Resulting Numbers: [12, 76, 532]
Generated Node #2: [12, 76, 532] from Operation: 28*19=532
Current State: 19:[12, 76, 532], Operations: ['28*19=532']
Exploring Operation: 532/76=7, Resulting Numbers: [12, 7]
Generated Node #3: [12, 7] from Operation: 532/76=7
Current State: 19:[12, 7], Operations: ['28*19=532', '532/76=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[28, 12, 19, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [28, 12, 4]
Generated Node #0,0: 19:[28, 12, 4] Operation: 76/19=4
Exploring Operation: 76-19=57, Resulting Numbers: [28, 12, 57]
Generated Node #0,1: 19:[28, 12, 57] Operation: 76-19=57
Exploring Operation: 76-12=64, Resulting Numbers: [28, 19, 64]
Generated Node #0,2: 19:[28, 19, 64] Operation: 76-12=64
Exploring Operation: 76-28=48, Resulting Numbers: [12, 19, 48]
Generated Node #0,3: 19:[12, 19, 48] Operation: 76-28=48
Moving to Node #0,0
Current State: 19:[28, 12, 4], Operations: ['76/19=4']
Exploring Operation: 12+4=16, Resulting Numbers: [28, 16]
Generated Node #0,0,0: 19:[28, 16] Operation: 12+4=16
Exploring Operation: 28-12=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 19:[4, 16] Operation: 28-12=16
Exploring Operation: 28-4=24, Resulting Numbers: [12, 24]
Generated Node #0,0,2: 19:[12, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [12, 7]
Generated Node #0,0,3: 19:[12, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[28, 16], Operations: ['76/19=4', '12+4=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,19 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,19 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: 19:[12, 24], Operations: ['76/19=4', '28-4=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,19 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: 19:[4, 16], Operations: ['76/19=4', '28-12=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,19 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: 19:[12, 7], Operations: ['76/19=4', '28/4=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[28, 12, 19, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [28, 12, 4]
Generated Node #0,0: 19:[28, 12, 4] Operation: 76/19=4
Moving to Node #0,0
Current State: 19:[28, 12, 4], Operations: ['76/19=4']
Exploring Operation: 28/4=7, Resulting Numbers: [12, 7]
Generated Node #0,0,3: 19:[12, 7] Operation: 28/4=7
Moving to Node #0,0,3
Current State: 19:[12, 7], Operations: ['76/19=4', '28/4=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
25,
19,
8,
37
] | 32 | [
"19+37=56",
"56/8=7",
"25+7=32"
] | Current State: 32:[25, 19, 8, 37], Operations: []
Exploring Operation: 19+37=56, Resulting Numbers: [25, 8, 56]
Generated Node #2: [25, 8, 56] from Operation: 19+37=56
Current State: 32:[25, 8, 56], Operations: ['19+37=56']
Exploring Operation: 56/8=7, Resulting Numbers: [25, 7]
Generated Node #3: [25, 7] from Operation: 56/8=7
Current State: 32:[25, 7], Operations: ['19+37=56', '56/8=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[25, 19, 8, 37], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [8, 37, 6]
Generated Node #0,0: 32:[8, 37, 6] Operation: 25-19=6
Moving to Node #0,0
Current State: 32:[8, 37, 6], Operations: ['25-19=6']
Exploring Operation: 37-6=31, Resulting Numbers: [8, 31]
Generated Node #0,0,0: 32:[8, 31] Operation: 37-6=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[8, 31], Operations: ['25-19=6', '37-6=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,32 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 |
[
17,
55,
57,
73
] | 55 | [
"17+57=74",
"74-73=1",
"55*1=55"
] | Current State: 55:[17, 55, 57, 73], Operations: []
Exploring Operation: 17+57=74, Resulting Numbers: [55, 73, 74]
Generated Node #2: [55, 73, 74] from Operation: 17+57=74
Current State: 55:[55, 73, 74], Operations: ['17+57=74']
Exploring Operation: 74-73=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 74-73=1
Current State: 55:[55, 1], Operations: ['17+57=74', '74-73=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[17, 55, 57, 73], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [17, 73, 2]
Generated Node #0,0: 55:[17, 73, 2] Operation: 57-55=2
Exploring Operation: 73-57=16, Resulting Numbers: [17, 55, 16]
Generated Node #0,1: 55:[17, 55, 16] Operation: 73-57=16
Exploring Operation: 73-17=56, Resulting Numbers: [55, 57, 56]
Generated Node #0,2: 55:[55, 57, 56] Operation: 73-17=56
Exploring Operation: 57-17=40, Resulting Numbers: [55, 73, 40]
Generated Node #0,3: 55:[55, 73, 40] Operation: 57-17=40
Exploring Operation: 73-55=18, Resulting Numbers: [17, 57, 18]
Generated Node #0,4: 55:[17, 57, 18] Operation: 73-55=18
Moving to Node #0,2
Current State: 55:[55, 57, 56], Operations: ['73-17=56']
Exploring Operation: 55+57=112, Resulting Numbers: [56, 112]
Generated Node #0,2,0: 55:[56, 112] Operation: 55+57=112
Exploring Operation: 55+56=111, Resulting Numbers: [57, 111]
Generated Node #0,2,1: 55:[57, 111] Operation: 55+56=111
Exploring Operation: 56-55=1, Resulting Numbers: [57, 1]
Generated Node #0,2,2: 55:[57, 1] Operation: 56-55=1
Exploring Operation: 57-55=2, Resulting Numbers: [56, 2]
Generated Node #0,2,3: 55:[56, 2] Operation: 57-55=2
Exploring Operation: 57-56=1, Resulting Numbers: [55, 1]
Generated Node #0,2,4: 55:[55, 1] Operation: 57-56=1
Moving to Node #0,1
Current State: 55:[17, 55, 16], Operations: ['73-57=16']
Exploring Operation: 17+16=33, Resulting Numbers: [55, 33]
Generated Node #0,1,0: 55:[55, 33] Operation: 17+16=33
Exploring Operation: 17+55=72, Resulting Numbers: [16, 72]
Generated Node #0,1,1: 55:[16, 72] Operation: 17+55=72
Exploring Operation: 55+16=71, Resulting Numbers: [17, 71]
Generated Node #0,1,2: 55:[17, 71] Operation: 55+16=71
Exploring Operation: 17-16=1, Resulting Numbers: [55, 1]
Generated Node #0,1,3: 55:[55, 1] Operation: 17-16=1
Exploring Operation: 55-17=38, Resulting Numbers: [16, 38]
Generated Node #0,1,4: 55:[16, 38] Operation: 55-17=38
Moving to Node #0,4
Current State: 55:[17, 57, 18], Operations: ['73-55=18']
Exploring Operation: 57-17=40, Resulting Numbers: [18, 40]
Generated Node #0,4,0: 55:[18, 40] Operation: 57-17=40
Exploring Operation: 17+18=35, Resulting Numbers: [57, 35]
Generated Node #0,4,1: 55:[57, 35] Operation: 17+18=35
Exploring Operation: 18-17=1, Resulting Numbers: [57, 1]
Generated Node #0,4,2: 55:[57, 1] Operation: 18-17=1
Exploring Operation: 57-18=39, Resulting Numbers: [17, 39]
Generated Node #0,4,3: 55:[17, 39] Operation: 57-18=39
Exploring Operation: 17+57=74, Resulting Numbers: [18, 74]
Generated Node #0,4,4: 55:[18, 74] Operation: 17+57=74
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 55:[57, 1], Operations: ['73-55=18', '18-17=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,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,4,0
Current State: 55:[18, 40], Operations: ['73-55=18', '57-17=40']
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,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,4,1
Current State: 55:[57, 35], Operations: ['73-55=18', '17+18=35']
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,55 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,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,4,3
Current State: 55:[17, 39], Operations: ['73-55=18', '57-18=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,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,4,4
Current State: 55:[18, 74], Operations: ['73-55=18', '17+57=74']
Exploring Operation: 18*74=1332, Resulting Numbers: [1332]
1332,55 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 18+74=92, Resulting Numbers: [92]
92,55 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: 55:[17, 73, 2], Operations: ['57-55=2']
Exploring Operation: 17+2=19, Resulting Numbers: [73, 19]
Generated Node #0,0,0: 55:[73, 19] Operation: 17+2=19
Exploring Operation: 17-2=15, Resulting Numbers: [73, 15]
Generated Node #0,0,1: 55:[73, 15] Operation: 17-2=15
Exploring Operation: 73+2=75, Resulting Numbers: [17, 75]
Generated Node #0,0,2: 55:[17, 75] Operation: 73+2=75
Exploring Operation: 73-17=56, Resulting Numbers: [2, 56]
Generated Node #0,0,3: 55:[2, 56] Operation: 73-17=56
Exploring Operation: 73-2=71, Resulting Numbers: [17, 71]
Generated Node #0,0,4: 55:[17, 71] Operation: 73-2=71
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[2, 56], Operations: ['57-55=2', '73-17=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,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,0,1
Current State: 55:[73, 15], Operations: ['57-55=2', '17-2=15']
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 73*15=1095, Resulting Numbers: [1095]
1095,55 unequal: No Solution
Exploring Operation: 73+15=88, Resulting Numbers: [88]
88,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,0,4
Current State: 55:[17, 71], Operations: ['57-55=2', '73-2=71']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 17*71=1207, Resulting Numbers: [1207]
1207,55 unequal: No Solution
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,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,0,0
Current State: 55:[73, 19], Operations: ['57-55=2', '17+2=19']
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,55 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,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,0,2
Current State: 55:[17, 75], Operations: ['57-55=2', '73+2=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,55 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: 55:[55, 73, 40], Operations: ['57-17=40']
Exploring Operation: 73+40=113, Resulting Numbers: [55, 113]
Generated Node #0,3,0: 55:[55, 113] Operation: 73+40=113
Exploring Operation: 73-40=33, Resulting Numbers: [55, 33]
Generated Node #0,3,1: 55:[55, 33] Operation: 73-40=33
Exploring Operation: 55+40=95, Resulting Numbers: [73, 95]
Generated Node #0,3,2: 55:[73, 95] Operation: 55+40=95
Exploring Operation: 73-55=18, Resulting Numbers: [40, 18]
Generated Node #0,3,3: 55:[40, 18] Operation: 73-55=18
Exploring Operation: 55-40=15, Resulting Numbers: [73, 15]
Generated Node #0,3,4: 55:[73, 15] Operation: 55-40=15
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[55, 33], Operations: ['57-17=40', '73-40=33']
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,55 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 55*33=1815, Resulting Numbers: [1815]
1815,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,3,3
Current State: 55:[40, 18], Operations: ['57-17=40', '73-55=18']
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,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,3,4
Current State: 55:[73, 15], Operations: ['57-17=40', '55-40=15']
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 73+15=88, Resulting Numbers: [88]
88,55 unequal: No Solution
Exploring Operation: 73*15=1095, Resulting Numbers: [1095]
1095,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,3,0
Current State: 55:[55, 113], Operations: ['57-17=40', '73+40=113']
Exploring Operation: 113-55=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 55*113=6215, Resulting Numbers: [6215]
6215,55 unequal: No Solution
Exploring Operation: 55+113=168, Resulting Numbers: [168]
168,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,3,2
Current State: 55:[73, 95], Operations: ['57-17=40', '55+40=95']
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 73*95=6935, Resulting Numbers: [6935]
6935,55 unequal: No Solution
Exploring Operation: 73+95=168, Resulting Numbers: [168]
168,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 55:[56, 2], Operations: ['73-17=56', '57-55=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,55 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[55, 1], Operations: ['73-57=16', '17-16=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[17, 55, 57, 73], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [17, 55, 16]
Generated Node #0,1: 55:[17, 55, 16] Operation: 73-57=16
Moving to Node #0,1
Current State: 55:[17, 55, 16], Operations: ['73-57=16']
Exploring Operation: 17-16=1, Resulting Numbers: [55, 1]
Generated Node #0,1,3: 55:[55, 1] Operation: 17-16=1
Moving to Node #0,1,3
Current State: 55:[55, 1], Operations: ['73-57=16', '17-16=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.924479 | hs_5 | sum_heuristic |
[
94,
2,
16,
96
] | 30 | [
"94-16=78",
"96/2=48",
"78-48=30"
] | Current State: 30:[94, 2, 16, 96], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [2, 96, 78]
Generated Node #2: [2, 96, 78] from Operation: 94-16=78
Current State: 30:[2, 96, 78], Operations: ['94-16=78']
Exploring Operation: 96/2=48, Resulting Numbers: [78, 48]
Generated Node #3: [78, 48] from Operation: 96/2=48
Current State: 30:[78, 48], Operations: ['94-16=78', '96/2=48']
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[94, 2, 16, 96], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [94, 2, 6]
Generated Node #0,0: 30:[94, 2, 6] Operation: 96/16=6
Exploring Operation: 96-94=2, Resulting Numbers: [2, 16, 2]
Generated Node #0,1: 30:[2, 16, 2] Operation: 96-94=2
Moving to Node #0,1
Current State: 30:[2, 16, 2], Operations: ['96-94=2']
Exploring Operation: 16-2=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 30:[2, 14] Operation: 16-2=14
Exploring Operation: 16-2=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 30:[2, 14] Operation: 16-2=14
Moving to Node #0,0
Current State: 30:[94, 2, 6], Operations: ['96/16=6']
Exploring Operation: 94-6=88, Resulting Numbers: [2, 88]
Generated Node #0,0,0: 30:[2, 88] Operation: 94-6=88
Exploring Operation: 94/2=47, Resulting Numbers: [6, 47]
Generated Node #0,0,1: 30:[6, 47] Operation: 94/2=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[6, 47], Operations: ['96/16=6', '94/2=47']
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,30 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: 30:[2, 88], Operations: ['96/16=6', '94-6=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 30:[2, 14], Operations: ['96-94=2', '16-2=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[2, 14], Operations: ['96-94=2', '16-2=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
81,
38,
76
] | 64 | [
"81-31=50",
"38+76=114",
"114-50=64"
] | Current State: 64:[31, 81, 38, 76], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [38, 76, 50]
Generated Node #2: [38, 76, 50] from Operation: 81-31=50
Current State: 64:[38, 76, 50], Operations: ['81-31=50']
Exploring Operation: 38+76=114, Resulting Numbers: [50, 114]
Generated Node #3: [50, 114] from Operation: 38+76=114
Current State: 64:[50, 114], Operations: ['81-31=50', '38+76=114']
Exploring Operation: 114-50=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[31, 81, 38, 76], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [31, 76, 43]
Generated Node #0,0: 64:[31, 76, 43] Operation: 81-38=43
Exploring Operation: 76/38=2, Resulting Numbers: [31, 81, 2]
Generated Node #0,1: 64:[31, 81, 2] Operation: 76/38=2
Exploring Operation: 81-76=5, Resulting Numbers: [31, 38, 5]
Generated Node #0,2: 64:[31, 38, 5] Operation: 81-76=5
Exploring Operation: 76-38=38, Resulting Numbers: [31, 81, 38]
Generated Node #0,3: 64:[31, 81, 38] Operation: 76-38=38
Moving to Node #0,2
Current State: 64:[31, 38, 5], Operations: ['81-76=5']
Exploring Operation: 38-31=7, Resulting Numbers: [5, 7]
Generated Node #0,2,0: 64:[5, 7] Operation: 38-31=7
Exploring Operation: 31+38=69, Resulting Numbers: [5, 69]
Generated Node #0,2,1: 64:[5, 69] Operation: 31+38=69
Exploring Operation: 31+5=36, Resulting Numbers: [38, 36]
Generated Node #0,2,2: 64:[38, 36] Operation: 31+5=36
Exploring Operation: 38-5=33, Resulting Numbers: [31, 33]
Generated Node #0,2,3: 64:[31, 33] Operation: 38-5=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[5, 7], Operations: ['81-76=5', '38-31=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,64 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: 64:[31, 33], Operations: ['81-76=5', '38-5=33']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,64 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[31, 81, 38, 76], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [31, 38, 5]
Generated Node #0,2: 64:[31, 38, 5] Operation: 81-76=5
Moving to Node #0,2
Current State: 64:[31, 38, 5], Operations: ['81-76=5']
Exploring Operation: 38-5=33, Resulting Numbers: [31, 33]
Generated Node #0,2,3: 64:[31, 33] Operation: 38-5=33
Moving to Node #0,2,3
Current State: 64:[31, 33], Operations: ['81-76=5', '38-5=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
56,
28,
9,
67
] | 85 | [
"56/28=2",
"9*2=18",
"67+18=85"
] | Current State: 85:[56, 28, 9, 67], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [9, 67, 2]
Generated Node #2: [9, 67, 2] from Operation: 56/28=2
Current State: 85:[9, 67, 2], Operations: ['56/28=2']
Exploring Operation: 9*2=18, Resulting Numbers: [67, 18]
Generated Node #3: [67, 18] from Operation: 9*2=18
Current State: 85:[67, 18], Operations: ['56/28=2', '9*2=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[56, 28, 9, 67], Operations: []
Exploring Operation: 56+28=84, Resulting Numbers: [9, 67, 84]
Generated Node #0,0: 85:[9, 67, 84] Operation: 56+28=84
Exploring Operation: 56/28=2, Resulting Numbers: [9, 67, 2]
Generated Node #0,1: 85:[9, 67, 2] Operation: 56/28=2
Exploring Operation: 67-56=11, Resulting Numbers: [28, 9, 11]
Generated Node #0,2: 85:[28, 9, 11] Operation: 67-56=11
Moving to Node #0,2
Current State: 85:[28, 9, 11], Operations: ['67-56=11']
Exploring Operation: 9+11=20, Resulting Numbers: [28, 20]
Generated Node #0,2,0: 85:[28, 20] Operation: 9+11=20
Exploring Operation: 28-11=17, Resulting Numbers: [9, 17]
Generated Node #0,2,1: 85:[9, 17] Operation: 28-11=17
Exploring Operation: 28-9=19, Resulting Numbers: [11, 19]
Generated Node #0,2,2: 85:[11, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[9, 17], Operations: ['67-56=11', '28-11=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,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,2,2
Current State: 85:[11, 19], Operations: ['67-56=11', '28-9=19']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,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,2,0
Current State: 85:[28, 20], Operations: ['67-56=11', '9+11=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,85 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,85 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: 85:[9, 67, 84], Operations: ['56+28=84']
Exploring Operation: 84-67=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 85:[9, 17] Operation: 84-67=17
Exploring Operation: 9+84=93, Resulting Numbers: [67, 93]
Generated Node #0,0,1: 85:[67, 93] Operation: 9+84=93
Exploring Operation: 9+67=76, Resulting Numbers: [84, 76]
Generated Node #0,0,2: 85:[84, 76] Operation: 9+67=76
Moving to Node #0,1
Current State: 85:[9, 67, 2], Operations: ['56/28=2']
Exploring Operation: 9-2=7, Resulting Numbers: [67, 7]
Generated Node #0,1,0: 85:[67, 7] Operation: 9-2=7
Exploring Operation: 9+67=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 85:[2, 76] Operation: 9+67=76
Exploring Operation: 9*2=18, Resulting Numbers: [67, 18]
Generated Node #0,1,2: 85:[67, 18] Operation: 9*2=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[2, 76], Operations: ['56/28=2', '9+67=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,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,1,2
Current State: 85:[67, 18], Operations: ['56/28=2', '9*2=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,85 unequal: No Solution
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[56, 28, 9, 67], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [9, 67, 2]
Generated Node #0,1: 85:[9, 67, 2] Operation: 56/28=2
Moving to Node #0,1
Current State: 85:[9, 67, 2], Operations: ['56/28=2']
Exploring Operation: 9*2=18, Resulting Numbers: [67, 18]
Generated Node #0,1,2: 85:[67, 18] Operation: 9*2=18
Moving to Node #0,1,2
Current State: 85:[67, 18], Operations: ['56/28=2', '9*2=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
15,
4,
9,
69
] | 71 | [
"15-4=11",
"69-9=60",
"11+60=71"
] | Current State: 71:[15, 4, 9, 69], Operations: []
Exploring Operation: 15-4=11, Resulting Numbers: [9, 69, 11]
Generated Node #2: [9, 69, 11] from Operation: 15-4=11
Current State: 71:[9, 69, 11], Operations: ['15-4=11']
Exploring Operation: 69-9=60, Resulting Numbers: [11, 60]
Generated Node #3: [11, 60] from Operation: 69-9=60
Current State: 71:[11, 60], Operations: ['15-4=11', '69-9=60']
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[15, 4, 9, 69], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [15, 69, 36]
Generated Node #0,0: 71:[15, 69, 36] Operation: 4*9=36
Exploring Operation: 15+4=19, Resulting Numbers: [9, 69, 19]
Generated Node #0,1: 71:[9, 69, 19] Operation: 15+4=19
Exploring Operation: 15*4=60, Resulting Numbers: [9, 69, 60]
Generated Node #0,2: 71:[9, 69, 60] Operation: 15*4=60
Exploring Operation: 15+9=24, Resulting Numbers: [4, 69, 24]
Generated Node #0,3: 71:[4, 69, 24] Operation: 15+9=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[9, 69, 60], Operations: ['15*4=60']
Exploring Operation: 69-9=60, Resulting Numbers: [60, 60]
Generated Node #0,2,0: 71:[60, 60] Operation: 69-9=60
Exploring Operation: 9+60=69, Resulting Numbers: [69, 69]
Generated Node #0,2,1: 71:[69, 69] Operation: 9+60=69
Exploring Operation: 9+69=78, Resulting Numbers: [60, 78]
Generated Node #0,2,2: 71:[60, 78] Operation: 9+69=78
Exploring Operation: 60-9=51, Resulting Numbers: [69, 51]
Generated Node #0,2,3: 71:[69, 51] Operation: 60-9=51
Moving to Node #0,2,1
Current State: 71:[69, 69], Operations: ['15*4=60', '9+60=69']
Exploring Operation: 69/69=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 69-69=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 69+69=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 69*69=4761, Resulting Numbers: [4761]
4761,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[60, 78], Operations: ['15*4=60', '9+69=78']
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[69, 51], Operations: ['15*4=60', '60-9=51']
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,71 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[60, 60], Operations: ['15*4=60', '69-9=60']
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,71 unequal: No Solution
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,71 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: 71:[15, 69, 36], Operations: ['4*9=36']
Exploring Operation: 69-15=54, Resulting Numbers: [36, 54]
Generated Node #0,0,0: 71:[36, 54] Operation: 69-15=54
Exploring Operation: 15+36=51, Resulting Numbers: [69, 51]
Generated Node #0,0,1: 71:[69, 51] Operation: 15+36=51
Exploring Operation: 36-15=21, Resulting Numbers: [69, 21]
Generated Node #0,0,2: 71:[69, 21] Operation: 36-15=21
Exploring Operation: 15+69=84, Resulting Numbers: [36, 84]
Generated Node #0,0,3: 71:[36, 84] Operation: 15+69=84
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[69, 51], Operations: ['4*9=36', '15+36=51']
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,71 unequal: No Solution
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,71 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: 71:[36, 84], Operations: ['4*9=36', '15+69=84']
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,71 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,71 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: 71:[36, 54], Operations: ['4*9=36', '69-15=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,71 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,71 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: 71:[69, 21], Operations: ['4*9=36', '36-15=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,71 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,71 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: 71:[9, 69, 19], Operations: ['15+4=19']
Exploring Operation: 19-9=10, Resulting Numbers: [69, 10]
Generated Node #0,1,0: 71:[69, 10] Operation: 19-9=10
Exploring Operation: 9+69=78, Resulting Numbers: [19, 78]
Generated Node #0,1,1: 71:[19, 78] Operation: 9+69=78
Exploring Operation: 9+19=28, Resulting Numbers: [69, 28]
Generated Node #0,1,2: 71:[69, 28] Operation: 9+19=28
Exploring Operation: 69-9=60, Resulting Numbers: [19, 60]
Generated Node #0,1,3: 71:[19, 60] Operation: 69-9=60
Moving to Node #0,1,2
Current State: 71:[69, 28], Operations: ['15+4=19', '9+19=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,71 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[19, 78], Operations: ['15+4=19', '9+69=78']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[19, 60], Operations: ['15+4=19', '69-9=60']
Exploring Operation: 19*60=1140, Resulting Numbers: [1140]
1140,71 unequal: No Solution
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[69, 10], Operations: ['15+4=19', '19-9=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,71 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: 71:[4, 69, 24], Operations: ['15+9=24']
Exploring Operation: 4+24=28, Resulting Numbers: [69, 28]
Generated Node #0,3,0: 71:[69, 28] Operation: 4+24=28
Exploring Operation: 69-4=65, Resulting Numbers: [24, 65]
Generated Node #0,3,1: 71:[24, 65] Operation: 69-4=65
Exploring Operation: 4+69=73, Resulting Numbers: [24, 73]
Generated Node #0,3,2: 71:[24, 73] Operation: 4+69=73
Exploring Operation: 4*24=96, Resulting Numbers: [69, 96]
Generated Node #0,3,3: 71:[69, 96] Operation: 4*24=96
Moving to Node #0,3,3
Current State: 71:[69, 96], Operations: ['15+9=24', '4*24=96']
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 69+96=165, Resulting Numbers: [165]
165,71 unequal: No Solution
Exploring Operation: 69*96=6624, Resulting Numbers: [6624]
6624,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[69, 28], Operations: ['15+9=24', '4+24=28']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[24, 73], Operations: ['15+9=24', '4+69=73']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[24, 65], Operations: ['15+9=24', '69-4=65']
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 24*65=1560, Resulting Numbers: [1560]
1560,71 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,
21,
51,
26
] | 40 | [
"51-21=30",
"30-26=4",
"10*4=40"
] | Current State: 40:[10, 21, 51, 26], Operations: []
Exploring Operation: 51-21=30, Resulting Numbers: [10, 26, 30]
Generated Node #2: [10, 26, 30] from Operation: 51-21=30
Current State: 40:[10, 26, 30], Operations: ['51-21=30']
Exploring Operation: 30-26=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 30-26=4
Current State: 40:[10, 4], Operations: ['51-21=30', '30-26=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[10, 21, 51, 26], Operations: []
Exploring Operation: 10+26=36, Resulting Numbers: [21, 51, 36]
Generated Node #0,0: 40:[21, 51, 36] Operation: 10+26=36
Exploring Operation: 26-21=5, Resulting Numbers: [10, 51, 5]
Generated Node #0,1: 40:[10, 51, 5] Operation: 26-21=5
Exploring Operation: 51-10=41, Resulting Numbers: [21, 26, 41]
Generated Node #0,2: 40:[21, 26, 41] Operation: 51-10=41
Exploring Operation: 51-26=25, Resulting Numbers: [10, 21, 25]
Generated Node #0,3: 40:[10, 21, 25] Operation: 51-26=25
Moving to Node #0,3
Current State: 40:[10, 21, 25], Operations: ['51-26=25']
Exploring Operation: 10+25=35, Resulting Numbers: [21, 35]
Generated Node #0,3,0: 40:[21, 35] Operation: 10+25=35
Exploring Operation: 21-10=11, Resulting Numbers: [25, 11]
Generated Node #0,3,1: 40:[25, 11] Operation: 21-10=11
Exploring Operation: 25-21=4, Resulting Numbers: [10, 4]
Generated Node #0,3,2: 40:[10, 4] Operation: 25-21=4
Exploring Operation: 25-10=15, Resulting Numbers: [21, 15]
Generated Node #0,3,3: 40:[21, 15] Operation: 25-10=15
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[10, 4], Operations: ['51-26=25', '25-21=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[10, 21, 51, 26], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [10, 21, 25]
Generated Node #0,3: 40:[10, 21, 25] Operation: 51-26=25
Moving to Node #0,3
Current State: 40:[10, 21, 25], Operations: ['51-26=25']
Exploring Operation: 25-21=4, Resulting Numbers: [10, 4]
Generated Node #0,3,2: 40:[10, 4] Operation: 25-21=4
Moving to Node #0,3,2
Current State: 40:[10, 4], Operations: ['51-26=25', '25-21=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
86,
17,
88,
28
] | 47 | [
"86-17=69",
"88+28=116",
"116-69=47"
] | Current State: 47:[86, 17, 88, 28], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [88, 28, 69]
Generated Node #2: [88, 28, 69] from Operation: 86-17=69
Current State: 47:[88, 28, 69], Operations: ['86-17=69']
Exploring Operation: 88+28=116, Resulting Numbers: [69, 116]
Generated Node #3: [69, 116] from Operation: 88+28=116
Current State: 47:[69, 116], Operations: ['86-17=69', '88+28=116']
Exploring Operation: 116-69=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[86, 17, 88, 28], Operations: []
Exploring Operation: 17+28=45, Resulting Numbers: [86, 88, 45]
Generated Node #0,0: 47:[86, 88, 45] Operation: 17+28=45
Exploring Operation: 86-17=69, Resulting Numbers: [88, 28, 69]
Generated Node #0,1: 47:[88, 28, 69] Operation: 86-17=69
Exploring Operation: 86-28=58, Resulting Numbers: [17, 88, 58]
Generated Node #0,2: 47:[17, 88, 58] Operation: 86-28=58
Exploring Operation: 88-17=71, Resulting Numbers: [86, 28, 71]
Generated Node #0,3: 47:[86, 28, 71] Operation: 88-17=71
Moving to Node #0,0
Current State: 47:[86, 88, 45], Operations: ['17+28=45']
Exploring Operation: 88-45=43, Resulting Numbers: [86, 43]
Generated Node #0,0,0: 47:[86, 43] Operation: 88-45=43
Exploring Operation: 86+45=131, Resulting Numbers: [88, 131]
Generated Node #0,0,1: 47:[88, 131] Operation: 86+45=131
Exploring Operation: 88-86=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 47:[45, 2] Operation: 88-86=2
Exploring Operation: 86-45=41, Resulting Numbers: [88, 41]
Generated Node #0,0,3: 47:[88, 41] Operation: 86-45=41
Moving to Node #0,2
Current State: 47:[17, 88, 58], Operations: ['86-28=58']
Exploring Operation: 17+88=105, Resulting Numbers: [58, 105]
Generated Node #0,2,0: 47:[58, 105] Operation: 17+88=105
Exploring Operation: 88-17=71, Resulting Numbers: [58, 71]
Generated Node #0,2,1: 47:[58, 71] Operation: 88-17=71
Exploring Operation: 58-17=41, Resulting Numbers: [88, 41]
Generated Node #0,2,2: 47:[88, 41] Operation: 58-17=41
Exploring Operation: 88-58=30, Resulting Numbers: [17, 30]
Generated Node #0,2,3: 47:[17, 30] Operation: 88-58=30
Moving to Node #0,1
Current State: 47:[88, 28, 69], Operations: ['86-17=69']
Exploring Operation: 69-28=41, Resulting Numbers: [88, 41]
Generated Node #0,1,0: 47:[88, 41] Operation: 69-28=41
Exploring Operation: 88-28=60, Resulting Numbers: [69, 60]
Generated Node #0,1,1: 47:[69, 60] Operation: 88-28=60
Exploring Operation: 88-69=19, Resulting Numbers: [28, 19]
Generated Node #0,1,2: 47:[28, 19] Operation: 88-69=19
Exploring Operation: 88+28=116, Resulting Numbers: [69, 116]
Generated Node #0,1,3: 47:[69, 116] Operation: 88+28=116
Moving to Node #0,3
Current State: 47:[86, 28, 71], Operations: ['88-17=71']
Exploring Operation: 86+28=114, Resulting Numbers: [71, 114]
Generated Node #0,3,0: 47:[71, 114] Operation: 86+28=114
Exploring Operation: 86-28=58, Resulting Numbers: [71, 58]
Generated Node #0,3,1: 47:[71, 58] Operation: 86-28=58
Exploring Operation: 86-71=15, Resulting Numbers: [28, 15]
Generated Node #0,3,2: 47:[28, 15] Operation: 86-71=15
Exploring Operation: 71-28=43, Resulting Numbers: [86, 43]
Generated Node #0,3,3: 47:[86, 43] Operation: 71-28=43
Moving to Node #0,2,1
Current State: 47:[58, 71], Operations: ['86-28=58', '88-17=71']
Exploring Operation: 58*71=4118, Resulting Numbers: [4118]
4118,47 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[71, 58], Operations: ['88-17=71', '86-28=58']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 71*58=4118, Resulting Numbers: [4118]
4118,47 unequal: No Solution
Exploring Operation: 71+58=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[69, 60], Operations: ['86-17=69', '88-28=60']
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,47 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[86, 43], Operations: ['88-17=71', '71-28=43']
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[86, 43], Operations: ['17+28=45', '88-45=43']
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,47 unequal: No Solution
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[17, 30], Operations: ['86-28=58', '88-58=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[86, 17, 88, 28], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [17, 88, 58]
Generated Node #0,2: 47:[17, 88, 58] Operation: 86-28=58
Moving to Node #0,2
Current State: 47:[17, 88, 58], Operations: ['86-28=58']
Exploring Operation: 88-58=30, Resulting Numbers: [17, 30]
Generated Node #0,2,3: 47:[17, 30] Operation: 88-58=30
Moving to Node #0,2,3
Current State: 47:[17, 30], Operations: ['86-28=58', '88-58=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.963542 | hs_4 | mult_heuristic |
[
46,
22,
16,
98
] | 24 | [
"46+98=144",
"22-16=6",
"144/6=24"
] | Current State: 24:[46, 22, 16, 98], Operations: []
Exploring Operation: 46+98=144, Resulting Numbers: [22, 16, 144]
Generated Node #2: [22, 16, 144] from Operation: 46+98=144
Current State: 24:[22, 16, 144], Operations: ['46+98=144']
Exploring Operation: 22-16=6, Resulting Numbers: [144, 6]
Generated Node #3: [144, 6] from Operation: 22-16=6
Current State: 24:[144, 6], Operations: ['46+98=144', '22-16=6']
Exploring Operation: 144/6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[46, 22, 16, 98], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [22, 16, 52]
Generated Node #0,0: 24:[22, 16, 52] Operation: 98-46=52
Moving to Node #0,0
Current State: 24:[22, 16, 52], Operations: ['98-46=52']
Exploring Operation: 52-22=30, Resulting Numbers: [16, 30]
Generated Node #0,0,0: 24:[16, 30] Operation: 52-22=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[16, 30], Operations: ['98-46=52', '52-22=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,24 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 |
[
12,
2,
94,
29
] | 41 | [
"12*2=24",
"94-29=65",
"65-24=41"
] | Current State: 41:[12, 2, 94, 29], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [94, 29, 24]
Generated Node #2: [94, 29, 24] from Operation: 12*2=24
Current State: 41:[94, 29, 24], Operations: ['12*2=24']
Exploring Operation: 94-29=65, Resulting Numbers: [24, 65]
Generated Node #3: [24, 65] from Operation: 94-29=65
Current State: 41:[24, 65], Operations: ['12*2=24', '94-29=65']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[12, 2, 94, 29], Operations: []
Exploring Operation: 12+2=14, Resulting Numbers: [94, 29, 14]
Generated Node #0,0: 41:[94, 29, 14] Operation: 12+2=14
Exploring Operation: 94-12=82, Resulting Numbers: [2, 29, 82]
Generated Node #0,1: 41:[2, 29, 82] Operation: 94-12=82
Exploring Operation: 12*2=24, Resulting Numbers: [94, 29, 24]
Generated Node #0,2: 41:[94, 29, 24] Operation: 12*2=24
Exploring Operation: 94/2=47, Resulting Numbers: [12, 29, 47]
Generated Node #0,3: 41:[12, 29, 47] Operation: 94/2=47
Moving to Node #0,3
Current State: 41:[12, 29, 47], Operations: ['94/2=47']
Exploring Operation: 29-12=17, Resulting Numbers: [47, 17]
Generated Node #0,3,0: 41:[47, 17] Operation: 29-12=17
Exploring Operation: 12+47=59, Resulting Numbers: [29, 59]
Generated Node #0,3,1: 41:[29, 59] Operation: 12+47=59
Exploring Operation: 47-12=35, Resulting Numbers: [29, 35]
Generated Node #0,3,2: 41:[29, 35] Operation: 47-12=35
Exploring Operation: 12+29=41, Resulting Numbers: [47, 41]
Generated Node #0,3,3: 41:[47, 41] Operation: 12+29=41
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[47, 41], Operations: ['94/2=47', '12+29=41']
Exploring Operation: 47+41=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 47*41=1927, Resulting Numbers: [1927]
1927,41 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,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,2
Current State: 41:[29, 35], Operations: ['94/2=47', '47-12=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,41 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,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,0
Current State: 41:[47, 17], Operations: ['94/2=47', '29-12=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,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:[29, 59], Operations: ['94/2=47', '12+47=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,41 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: 41:[94, 29, 24], Operations: ['12*2=24']
Exploring Operation: 94-29=65, Resulting Numbers: [24, 65]
Generated Node #0,2,0: 41:[24, 65] Operation: 94-29=65
Exploring Operation: 29+24=53, Resulting Numbers: [94, 53]
Generated Node #0,2,1: 41:[94, 53] Operation: 29+24=53
Exploring Operation: 94+24=118, Resulting Numbers: [29, 118]
Generated Node #0,2,2: 41:[29, 118] Operation: 94+24=118
Exploring Operation: 94-24=70, Resulting Numbers: [29, 70]
Generated Node #0,2,3: 41:[29, 70] Operation: 94-24=70
Moving to Node #0,1
Current State: 41:[2, 29, 82], Operations: ['94-12=82']
Exploring Operation: 2+29=31, Resulting Numbers: [82, 31]
Generated Node #0,1,0: 41:[82, 31] Operation: 2+29=31
Exploring Operation: 82/2=41, Resulting Numbers: [29, 41]
Generated Node #0,1,1: 41:[29, 41] Operation: 82/2=41
Exploring Operation: 82-2=80, Resulting Numbers: [29, 80]
Generated Node #0,1,2: 41:[29, 80] Operation: 82-2=80
Exploring Operation: 82-29=53, Resulting Numbers: [2, 53]
Generated Node #0,1,3: 41:[2, 53] Operation: 82-29=53
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[29, 41], Operations: ['94-12=82', '82/2=41']
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,41 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,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:[82, 31], Operations: ['94-12=82', '2+29=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,41 unequal: No Solution
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,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,2
Current State: 41:[29, 80], Operations: ['94-12=82', '82-2=80']
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,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:[2, 53], Operations: ['94-12=82', '82-29=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,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:[94, 29, 14], Operations: ['12+2=14']
Exploring Operation: 94-14=80, Resulting Numbers: [29, 80]
Generated Node #0,0,0: 41:[29, 80] Operation: 94-14=80
Exploring Operation: 94-29=65, Resulting Numbers: [14, 65]
Generated Node #0,0,1: 41:[14, 65] Operation: 94-29=65
Exploring Operation: 29+14=43, Resulting Numbers: [94, 43]
Generated Node #0,0,2: 41:[94, 43] Operation: 29+14=43
Exploring Operation: 94+14=108, Resulting Numbers: [29, 108]
Generated Node #0,0,3: 41:[29, 108] Operation: 94+14=108
Moving to Node #0,2,0
Current State: 41:[24, 65], Operations: ['12*2=24', '94-29=65']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[12, 2, 94, 29], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [94, 29, 24]
Generated Node #0,2: 41:[94, 29, 24] Operation: 12*2=24
Moving to Node #0,2
Current State: 41:[94, 29, 24], Operations: ['12*2=24']
Exploring Operation: 94-29=65, Resulting Numbers: [24, 65]
Generated Node #0,2,0: 41:[24, 65] Operation: 94-29=65
Moving to Node #0,2,0
Current State: 41:[24, 65], Operations: ['12*2=24', '94-29=65']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
17,
46,
31,
55
] | 39 | [
"17+46=63",
"55-31=24",
"63-24=39"
] | Current State: 39:[17, 46, 31, 55], Operations: []
Exploring Operation: 17+46=63, Resulting Numbers: [31, 55, 63]
Generated Node #2: [31, 55, 63] from Operation: 17+46=63
Current State: 39:[31, 55, 63], Operations: ['17+46=63']
Exploring Operation: 55-31=24, Resulting Numbers: [63, 24]
Generated Node #3: [63, 24] from Operation: 55-31=24
Current State: 39:[63, 24], Operations: ['17+46=63', '55-31=24']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[17, 46, 31, 55], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [46, 31, 38]
Generated Node #0,0: 39:[46, 31, 38] Operation: 55-17=38
Exploring Operation: 55-46=9, Resulting Numbers: [17, 31, 9]
Generated Node #0,1: 39:[17, 31, 9] Operation: 55-46=9
Exploring Operation: 46-31=15, Resulting Numbers: [17, 55, 15]
Generated Node #0,2: 39:[17, 55, 15] Operation: 46-31=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[46, 31, 38], Operations: ['55-17=38']
Exploring Operation: 46-38=8, Resulting Numbers: [31, 8]
Generated Node #0,0,0: 39:[31, 8] Operation: 46-38=8
Exploring Operation: 46-31=15, Resulting Numbers: [38, 15]
Generated Node #0,0,1: 39:[38, 15] Operation: 46-31=15
Exploring Operation: 38-31=7, Resulting Numbers: [46, 7]
Generated Node #0,0,2: 39:[46, 7] Operation: 38-31=7
Moving to Node #0,0,1
Current State: 39:[38, 15], Operations: ['55-17=38', '46-31=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[46, 7], Operations: ['55-17=38', '38-31=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[17, 46, 31, 55], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [46, 31, 38]
Generated Node #0,0: 39:[46, 31, 38] Operation: 55-17=38
Moving to Node #0,0
Current State: 39:[46, 31, 38], Operations: ['55-17=38']
Exploring Operation: 38-31=7, Resulting Numbers: [46, 7]
Generated Node #0,0,2: 39:[46, 7] Operation: 38-31=7
Moving to Node #0,0,2
Current State: 39:[46, 7], Operations: ['55-17=38', '38-31=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
65,
58,
5,
15
] | 74 | [
"65+15=80",
"80/5=16",
"58+16=74"
] | Current State: 74:[65, 58, 5, 15], Operations: []
Exploring Operation: 65+15=80, Resulting Numbers: [58, 5, 80]
Generated Node #2: [58, 5, 80] from Operation: 65+15=80
Current State: 74:[58, 5, 80], Operations: ['65+15=80']
Exploring Operation: 80/5=16, Resulting Numbers: [58, 16]
Generated Node #3: [58, 16] from Operation: 80/5=16
Current State: 74:[58, 16], Operations: ['65+15=80', '80/5=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[65, 58, 5, 15], Operations: []
Exploring Operation: 58+15=73, Resulting Numbers: [65, 5, 73]
Generated Node #0,0: 74:[65, 5, 73] Operation: 58+15=73
Exploring Operation: 65+15=80, Resulting Numbers: [58, 5, 80]
Generated Node #0,1: 74:[58, 5, 80] Operation: 65+15=80
Exploring Operation: 58-15=43, Resulting Numbers: [65, 5, 43]
Generated Node #0,2: 74:[65, 5, 43] Operation: 58-15=43
Exploring Operation: 5*15=75, Resulting Numbers: [65, 58, 75]
Generated Node #0,3: 74:[65, 58, 75] Operation: 5*15=75
Exploring Operation: 65-58=7, Resulting Numbers: [5, 15, 7]
Generated Node #0,4: 74:[5, 15, 7] Operation: 65-58=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[65, 5, 73], Operations: ['58+15=73']
Exploring Operation: 65/5=13, Resulting Numbers: [73, 13]
Generated Node #0,0,0: 74:[73, 13] Operation: 65/5=13
Exploring Operation: 5+73=78, Resulting Numbers: [65, 78]
Generated Node #0,0,1: 74:[65, 78] Operation: 5+73=78
Exploring Operation: 65-5=60, Resulting Numbers: [73, 60]
Generated Node #0,0,2: 74:[73, 60] Operation: 65-5=60
Exploring Operation: 73-65=8, Resulting Numbers: [5, 8]
Generated Node #0,0,3: 74:[5, 8] Operation: 73-65=8
Exploring Operation: 65+5=70, Resulting Numbers: [73, 70]
Generated Node #0,0,4: 74:[73, 70] Operation: 65+5=70
Moving to Node #0,0,4
Current State: 74:[73, 70], Operations: ['58+15=73', '65+5=70']
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 73+70=143, Resulting Numbers: [143]
143,74 unequal: No Solution
Exploring Operation: 73*70=5110, Resulting Numbers: [5110]
5110,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[5, 8], Operations: ['58+15=73', '73-65=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[73, 13], Operations: ['58+15=73', '65/5=13']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[65, 78], Operations: ['58+15=73', '5+73=78']
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 65+78=143, Resulting Numbers: [143]
143,74 unequal: No Solution
Exploring Operation: 65*78=5070, Resulting Numbers: [5070]
5070,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[73, 60], Operations: ['58+15=73', '65-5=60']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,74 unequal: No Solution
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,74 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: 74:[65, 5, 43], Operations: ['58-15=43']
Exploring Operation: 43-5=38, Resulting Numbers: [65, 38]
Generated Node #0,2,0: 74:[65, 38] Operation: 43-5=38
Exploring Operation: 65-5=60, Resulting Numbers: [43, 60]
Generated Node #0,2,1: 74:[43, 60] Operation: 65-5=60
Exploring Operation: 65+5=70, Resulting Numbers: [43, 70]
Generated Node #0,2,2: 74:[43, 70] Operation: 65+5=70
Exploring Operation: 65-43=22, Resulting Numbers: [5, 22]
Generated Node #0,2,3: 74:[5, 22] Operation: 65-43=22
Exploring Operation: 65/5=13, Resulting Numbers: [43, 13]
Generated Node #0,2,4: 74:[43, 13] Operation: 65/5=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[65, 38], Operations: ['58-15=43', '43-5=38']
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,74 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: 74:[43, 70], Operations: ['58-15=43', '65+5=70']
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,74 unequal: No Solution
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,74 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: 74:[43, 13], Operations: ['58-15=43', '65/5=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,74 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,74 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: 74:[5, 22], Operations: ['58-15=43', '65-43=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,74 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: 74:[43, 60], Operations: ['58-15=43', '65-5=60']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,74 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[5, 15, 7], Operations: ['65-58=7']
Exploring Operation: 15/5=3, Resulting Numbers: [7, 3]
Generated Node #0,4,0: 74:[7, 3] Operation: 15/5=3
Exploring Operation: 7-5=2, Resulting Numbers: [15, 2]
Generated Node #0,4,1: 74:[15, 2] Operation: 7-5=2
Exploring Operation: 15-5=10, Resulting Numbers: [7, 10]
Generated Node #0,4,2: 74:[7, 10] Operation: 15-5=10
Exploring Operation: 15-7=8, Resulting Numbers: [5, 8]
Generated Node #0,4,3: 74:[5, 8] Operation: 15-7=8
Exploring Operation: 5*15=75, Resulting Numbers: [7, 75]
Generated Node #0,4,4: 74:[7, 75] Operation: 5*15=75
Moving to Node #0,4,0
Current State: 74:[7, 3], Operations: ['65-58=7', '15/5=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[7, 75], Operations: ['65-58=7', '5*15=75']
Exploring Operation: 7*75=525, Resulting Numbers: [525]
525,74 unequal: No Solution
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[5, 8], Operations: ['65-58=7', '15-7=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[15, 2], Operations: ['65-58=7', '7-5=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[7, 10], Operations: ['65-58=7', '15-5=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,74 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: 74:[58, 5, 80], Operations: ['65+15=80']
Exploring Operation: 80-58=22, Resulting Numbers: [5, 22]
Generated Node #0,1,0: 74:[5, 22] Operation: 80-58=22
Exploring Operation: 5+80=85, Resulting Numbers: [58, 85]
Generated Node #0,1,1: 74:[58, 85] Operation: 5+80=85
Exploring Operation: 58+5=63, Resulting Numbers: [80, 63]
Generated Node #0,1,2: 74:[80, 63] Operation: 58+5=63
Exploring Operation: 80-5=75, Resulting Numbers: [58, 75]
Generated Node #0,1,3: 74:[58, 75] Operation: 80-5=75
Exploring Operation: 58-5=53, Resulting Numbers: [80, 53]
Generated Node #0,1,4: 74:[80, 53] Operation: 58-5=53
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[80, 63], Operations: ['65+15=80', '58+5=63']
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,74 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,74 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,74 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: 74:[58, 75], Operations: ['65+15=80', '80-5=75']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 58*75=4350, Resulting Numbers: [4350]
4350,74 unequal: No Solution
Exploring Operation: 58+75=133, Resulting Numbers: [133]
133,74 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: 74:[5, 22], Operations: ['65+15=80', '80-58=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,74 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: 74:[80, 53], Operations: ['65+15=80', '58-5=53']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,74 unequal: No Solution
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,74 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: 74:[58, 85], Operations: ['65+15=80', '5+80=85']
Exploring Operation: 58+85=143, Resulting Numbers: [143]
143,74 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 58*85=4930, Resulting Numbers: [4930]
4930,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[65, 58, 75], Operations: ['5*15=75']
Exploring Operation: 65+58=123, Resulting Numbers: [75, 123]
Generated Node #0,3,0: 74:[75, 123] Operation: 65+58=123
Exploring Operation: 58+75=133, Resulting Numbers: [65, 133]
Generated Node #0,3,1: 74:[65, 133] Operation: 58+75=133
Exploring Operation: 75-65=10, Resulting Numbers: [58, 10]
Generated Node #0,3,2: 74:[58, 10] Operation: 75-65=10
Exploring Operation: 75-58=17, Resulting Numbers: [65, 17]
Generated Node #0,3,3: 74:[65, 17] Operation: 75-58=17
Exploring Operation: 65-58=7, Resulting Numbers: [75, 7]
Generated Node #0,3,4: 74:[75, 7] Operation: 65-58=7
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 74:[75, 7], Operations: ['5*15=75', '65-58=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,74 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,74 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: 74:[58, 10], Operations: ['5*15=75', '75-65=10']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,74 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: 74:[65, 17], Operations: ['5*15=75', '75-58=17']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,74 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,74 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: 74:[75, 123], Operations: ['5*15=75', '65+58=123']
Exploring Operation: 123-75=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 75*123=9225, Resulting Numbers: [9225]
9225,74 unequal: No Solution
Exploring Operation: 75+123=198, Resulting Numbers: [198]
198,74 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: 74:[65, 133], Operations: ['5*15=75', '58+75=133']
Exploring Operation: 65*133=8645, Resulting Numbers: [8645]
8645,74 unequal: No Solution
Exploring Operation: 65+133=198, Resulting Numbers: [198]
198,74 unequal: No Solution
Exploring Operation: 133-65=68, Resulting Numbers: [68]
68,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_5 | sum_heuristic |
[
17,
28,
66,
36
] | 70 | [
"36-28=8",
"17*8=136",
"136-66=70"
] | Current State: 70:[17, 28, 66, 36], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [17, 66, 8]
Generated Node #2: [17, 66, 8] from Operation: 36-28=8
Current State: 70:[17, 66, 8], Operations: ['36-28=8']
Exploring Operation: 17*8=136, Resulting Numbers: [66, 136]
Generated Node #3: [66, 136] from Operation: 17*8=136
Current State: 70:[66, 136], Operations: ['36-28=8', '17*8=136']
Exploring Operation: 136-66=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[17, 28, 66, 36], Operations: []
Exploring Operation: 66-28=38, Resulting Numbers: [17, 36, 38]
Generated Node #0,0: 70:[17, 36, 38] Operation: 66-28=38
Exploring Operation: 17+28=45, Resulting Numbers: [66, 36, 45]
Generated Node #0,1: 70:[66, 36, 45] Operation: 17+28=45
Exploring Operation: 36-28=8, Resulting Numbers: [17, 66, 8]
Generated Node #0,2: 70:[17, 66, 8] Operation: 36-28=8
Exploring Operation: 28-17=11, Resulting Numbers: [66, 36, 11]
Generated Node #0,3: 70:[66, 36, 11] Operation: 28-17=11
Exploring Operation: 28+36=64, Resulting Numbers: [17, 66, 64]
Generated Node #0,4: 70:[17, 66, 64] Operation: 28+36=64
Moving to Node #0,3
Current State: 70:[66, 36, 11], Operations: ['28-17=11']
Exploring Operation: 36-11=25, Resulting Numbers: [66, 25]
Generated Node #0,3,0: 70:[66, 25] Operation: 36-11=25
Exploring Operation: 66+11=77, Resulting Numbers: [36, 77]
Generated Node #0,3,1: 70:[36, 77] Operation: 66+11=77
Exploring Operation: 66/11=6, Resulting Numbers: [36, 6]
Generated Node #0,3,2: 70:[36, 6] Operation: 66/11=6
Exploring Operation: 66-36=30, Resulting Numbers: [11, 30]
Generated Node #0,3,3: 70:[11, 30] Operation: 66-36=30
Exploring Operation: 66-11=55, Resulting Numbers: [36, 55]
Generated Node #0,3,4: 70:[36, 55] Operation: 66-11=55
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[36, 6], Operations: ['28-17=11', '66/11=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,70 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,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,3,3
Current State: 70:[11, 30], Operations: ['28-17=11', '66-36=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,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,3,1
Current State: 70:[36, 77], Operations: ['28-17=11', '66+11=77']
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36*77=2772, Resulting Numbers: [2772]
2772,70 unequal: No Solution
Exploring Operation: 36+77=113, Resulting Numbers: [113]
113,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,3,0
Current State: 70:[66, 25], Operations: ['28-17=11', '36-11=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,70 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,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,3,4
Current State: 70:[36, 55], Operations: ['28-17=11', '66-11=55']
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,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:[17, 36, 38], Operations: ['66-28=38']
Exploring Operation: 17+38=55, Resulting Numbers: [36, 55]
Generated Node #0,0,0: 70:[36, 55] Operation: 17+38=55
Exploring Operation: 36-17=19, Resulting Numbers: [38, 19]
Generated Node #0,0,1: 70:[38, 19] Operation: 36-17=19
Exploring Operation: 38-36=2, Resulting Numbers: [17, 2]
Generated Node #0,0,2: 70:[17, 2] Operation: 38-36=2
Exploring Operation: 36+38=74, Resulting Numbers: [17, 74]
Generated Node #0,0,3: 70:[17, 74] Operation: 36+38=74
Exploring Operation: 38-17=21, Resulting Numbers: [36, 21]
Generated Node #0,0,4: 70:[36, 21] Operation: 38-17=21
Moving to Node #0,2
Current State: 70:[17, 66, 8], Operations: ['36-28=8']
Exploring Operation: 17+8=25, Resulting Numbers: [66, 25]
Generated Node #0,2,0: 70:[66, 25] Operation: 17+8=25
Exploring Operation: 17-8=9, Resulting Numbers: [66, 9]
Generated Node #0,2,1: 70:[66, 9] Operation: 17-8=9
Exploring Operation: 66-17=49, Resulting Numbers: [8, 49]
Generated Node #0,2,2: 70:[8, 49] Operation: 66-17=49
Exploring Operation: 17+66=83, Resulting Numbers: [8, 83]
Generated Node #0,2,3: 70:[8, 83] Operation: 17+66=83
Exploring Operation: 66+8=74, Resulting Numbers: [17, 74]
Generated Node #0,2,4: 70:[17, 74] Operation: 66+8=74
Moving to Node #0,4
Current State: 70:[17, 66, 64], Operations: ['28+36=64']
Exploring Operation: 66-17=49, Resulting Numbers: [64, 49]
Generated Node #0,4,0: 70:[64, 49] Operation: 66-17=49
Exploring Operation: 64-17=47, Resulting Numbers: [66, 47]
Generated Node #0,4,1: 70:[66, 47] Operation: 64-17=47
Exploring Operation: 17+64=81, Resulting Numbers: [66, 81]
Generated Node #0,4,2: 70:[66, 81] Operation: 17+64=81
Exploring Operation: 17+66=83, Resulting Numbers: [64, 83]
Generated Node #0,4,3: 70:[64, 83] Operation: 17+66=83
Exploring Operation: 66-64=2, Resulting Numbers: [17, 2]
Generated Node #0,4,4: 70:[17, 2] Operation: 66-64=2
Moving to Node #0,1
Current State: 70:[66, 36, 45], Operations: ['17+28=45']
Exploring Operation: 36+45=81, Resulting Numbers: [66, 81]
Generated Node #0,1,0: 70:[66, 81] Operation: 36+45=81
Exploring Operation: 66-45=21, Resulting Numbers: [36, 21]
Generated Node #0,1,1: 70:[36, 21] Operation: 66-45=21
Exploring Operation: 45-36=9, Resulting Numbers: [66, 9]
Generated Node #0,1,2: 70:[66, 9] Operation: 45-36=9
Exploring Operation: 66+36=102, Resulting Numbers: [45, 102]
Generated Node #0,1,3: 70:[45, 102] Operation: 66+36=102
Exploring Operation: 66-36=30, Resulting Numbers: [45, 30]
Generated Node #0,1,4: 70:[45, 30] Operation: 66-36=30
Moving to Node #0,0,2
Current State: 70:[17, 2], Operations: ['66-28=38', '38-36=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[17, 2], Operations: ['28+36=64', '66-64=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[66, 9], Operations: ['36-28=8', '17-8=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 66*9=594, Resulting Numbers: [594]
594,70 unequal: No Solution
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[66, 9], Operations: ['17+28=45', '45-36=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 66*9=594, Resulting Numbers: [594]
594,70 unequal: No Solution
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[17, 74], Operations: ['36-28=8', '66+8=74']
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[17, 74], Operations: ['66-28=38', '36+38=74']
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,70 unequal: No Solution
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[38, 19], Operations: ['66-28=38', '36-17=19']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[36, 21], Operations: ['66-28=38', '38-17=21']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,70 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[36, 21], Operations: ['17+28=45', '66-45=21']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,70 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[8, 83], Operations: ['36-28=8', '17+66=83']
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 8*83=664, Resulting Numbers: [664]
664,70 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[66, 25], Operations: ['36-28=8', '17+8=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,70 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[45, 30], Operations: ['17+28=45', '66-36=30']
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,70 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[66, 81], Operations: ['28+36=64', '17+64=81']
Exploring Operation: 66*81=5346, Resulting Numbers: [5346]
5346,70 unequal: No Solution
Exploring Operation: 66+81=147, Resulting Numbers: [147]
147,70 unequal: No Solution
Exploring Operation: 81-66=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[8, 49], Operations: ['36-28=8', '66-17=49']
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,70 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[66, 81], Operations: ['17+28=45', '36+45=81']
Exploring Operation: 66+81=147, Resulting Numbers: [147]
147,70 unequal: No Solution
Exploring Operation: 81-66=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 66*81=5346, Resulting Numbers: [5346]
5346,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[36, 55], Operations: ['66-28=38', '17+38=55']
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,70 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[66, 47], Operations: ['28+36=64', '64-17=47']
Exploring Operation: 66+47=113, Resulting Numbers: [113]
113,70 unequal: No Solution
Exploring Operation: 66*47=3102, Resulting Numbers: [3102]
3102,70 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[64, 83], Operations: ['28+36=64', '17+66=83']
Exploring Operation: 64+83=147, Resulting Numbers: [147]
147,70 unequal: No Solution
Exploring Operation: 64*83=5312, Resulting Numbers: [5312]
5312,70 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[64, 49], Operations: ['28+36=64', '66-17=49']
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,70 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[45, 102], Operations: ['17+28=45', '66+36=102']
Exploring Operation: 102-45=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 45+102=147, Resulting Numbers: [147]
147,70 unequal: No Solution
Exploring Operation: 45*102=4590, Resulting Numbers: [4590]
4590,70 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
18,
54,
26,
26
] | 52 | [
"54/18=3",
"26*3=78",
"78-26=52"
] | Current State: 52:[18, 54, 26, 26], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [26, 26, 3]
Generated Node #2: [26, 26, 3] from Operation: 54/18=3
Current State: 52:[26, 26, 3], Operations: ['54/18=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,52 equal: Goal Reached
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[18, 54, 26, 26], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [26, 26, 3]
Generated Node #0,0: 52:[26, 26, 3] Operation: 54/18=3
Exploring Operation: 26-18=8, Resulting Numbers: [54, 26, 8]
Generated Node #0,1: 52:[54, 26, 8] Operation: 26-18=8
Exploring Operation: 26-18=8, Resulting Numbers: [54, 26, 8]
Generated Node #0,2: 52:[54, 26, 8] Operation: 26-18=8
Exploring Operation: 54-26=28, Resulting Numbers: [18, 26, 28]
Generated Node #0,3: 52:[18, 26, 28] Operation: 54-26=28
Moving to Node #0,0
Current State: 52:[26, 26, 3], Operations: ['54/18=3']
Exploring Operation: 26-26=0, Resulting Numbers: [3, 0]
Generated Node #0,0,0: 52:[3, 0] Operation: 26-26=0
Exploring Operation: 26/26=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 52:[3, 1] Operation: 26/26=1
Exploring Operation: 26+26=52, Resulting Numbers: [3, 52]
Generated Node #0,0,2: 52:[3, 52] Operation: 26+26=52
Exploring Operation: 26+3=29, Resulting Numbers: [26, 29]
Generated Node #0,0,3: 52:[26, 29] Operation: 26+3=29
Moving to Node #0,2
Current State: 52:[54, 26, 8], Operations: ['26-18=8']
Exploring Operation: 54-26=28, Resulting Numbers: [8, 28]
Generated Node #0,2,0: 52:[8, 28] Operation: 54-26=28
Exploring Operation: 54+8=62, Resulting Numbers: [26, 62]
Generated Node #0,2,1: 52:[26, 62] Operation: 54+8=62
Exploring Operation: 54-8=46, Resulting Numbers: [26, 46]
Generated Node #0,2,2: 52:[26, 46] Operation: 54-8=46
Exploring Operation: 26-8=18, Resulting Numbers: [54, 18]
Generated Node #0,2,3: 52:[54, 18] Operation: 26-8=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[8, 28], Operations: ['26-18=8', '54-26=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,52 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: 52:[26, 46], Operations: ['26-18=8', '54-8=46']
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,52 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,52 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: 52:[54, 18], Operations: ['26-18=8', '26-8=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,52 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,52 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: 52:[26, 62], Operations: ['26-18=8', '54+8=62']
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,52 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: 52:[54, 26, 8], Operations: ['26-18=8']
Exploring Operation: 54+8=62, Resulting Numbers: [26, 62]
Generated Node #0,1,0: 52:[26, 62] Operation: 54+8=62
Exploring Operation: 54-8=46, Resulting Numbers: [26, 46]
Generated Node #0,1,1: 52:[26, 46] Operation: 54-8=46
Exploring Operation: 26-8=18, Resulting Numbers: [54, 18]
Generated Node #0,1,2: 52:[54, 18] Operation: 26-8=18
Exploring Operation: 54-26=28, Resulting Numbers: [8, 28]
Generated Node #0,1,3: 52:[8, 28] Operation: 54-26=28
Moving to Node #0,3
Current State: 52:[18, 26, 28], Operations: ['54-26=28']
Exploring Operation: 18+28=46, Resulting Numbers: [26, 46]
Generated Node #0,3,0: 52:[26, 46] Operation: 18+28=46
Exploring Operation: 28-26=2, Resulting Numbers: [18, 2]
Generated Node #0,3,1: 52:[18, 2] Operation: 28-26=2
Exploring Operation: 26-18=8, Resulting Numbers: [28, 8]
Generated Node #0,3,2: 52:[28, 8] Operation: 26-18=8
Exploring Operation: 28-18=10, Resulting Numbers: [26, 10]
Generated Node #0,3,3: 52:[26, 10] Operation: 28-18=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[26, 10], Operations: ['54-26=28', '28-18=10']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,52 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: 52:[18, 2], Operations: ['54-26=28', '28-26=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,52 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: 52:[26, 46], Operations: ['54-26=28', '18+28=46']
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,52 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,52 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: 52:[28, 8], Operations: ['54-26=28', '26-18=8']
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,52 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 52:[3, 52], Operations: ['54/18=3', '26+26=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,52 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[3, 1], Operations: ['54/18=3', '26/26=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[3, 0], Operations: ['54/18=3', '26-26=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[26, 29], Operations: ['54/18=3', '26+3=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[8, 28], Operations: ['26-18=8', '54-26=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,52 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[26, 46], Operations: ['26-18=8', '54-8=46']
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[54, 18], Operations: ['26-18=8', '26-8=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[26, 62], Operations: ['26-18=8', '54+8=62']
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,52 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,52 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
95,
83,
38
] | 95 | [
"83-83=0",
"38*0=0",
"95+0=95"
] | Current State: 95:[83, 95, 83, 38], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [95, 38, 0]
Generated Node #2: [95, 38, 0] from Operation: 83-83=0
Current State: 95:[95, 38, 0], Operations: ['83-83=0']
Exploring Operation: 38*0=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 38*0=0
Current State: 95:[95, 0], Operations: ['83-83=0', '38*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[83, 95, 83, 38], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [95, 38, 1]
Generated Node #0,0: 95:[95, 38, 1] Operation: 83/83=1
Exploring Operation: 95-83=12, Resulting Numbers: [83, 38, 12]
Generated Node #0,1: 95:[83, 38, 12] Operation: 95-83=12
Exploring Operation: 83-83=0, Resulting Numbers: [95, 38, 0]
Generated Node #0,2: 95:[95, 38, 0] Operation: 83-83=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[95, 38, 1], Operations: ['83/83=1']
Exploring Operation: 95*1=95, Resulting Numbers: [38, 95]
Generated Node #0,0,0: 95:[38, 95] Operation: 95*1=95
Exploring Operation: 95/1=95, Resulting Numbers: [38, 95]
Generated Node #0,0,1: 95:[38, 95] Operation: 95/1=95
Exploring Operation: 38-1=37, Resulting Numbers: [95, 37]
Generated Node #0,0,2: 95:[95, 37] Operation: 38-1=37
Moving to Node #0,0,2
Current State: 95:[95, 37], Operations: ['83/83=1', '38-1=37']
Exploring Operation: 95*37=3515, Resulting Numbers: [3515]
3515,95 unequal: No Solution
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 95+37=132, Resulting Numbers: [132]
132,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[38, 95], Operations: ['83/83=1', '95*1=95']
Exploring Operation: 38+95=133, Resulting Numbers: [133]
133,95 unequal: No Solution
Exploring Operation: 38*95=3610, Resulting Numbers: [3610]
3610,95 unequal: No Solution
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[38, 95], Operations: ['83/83=1', '95/1=95']
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 38+95=133, Resulting Numbers: [133]
133,95 unequal: No Solution
Exploring Operation: 38*95=3610, Resulting Numbers: [3610]
3610,95 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: 95:[95, 38, 0], Operations: ['83-83=0']
Exploring Operation: 38*0=0, Resulting Numbers: [95, 0]
Generated Node #0,2,0: 95:[95, 0] Operation: 38*0=0
Exploring Operation: 95+0=95, Resulting Numbers: [38, 95]
Generated Node #0,2,1: 95:[38, 95] Operation: 95+0=95
Exploring Operation: 95-0=95, Resulting Numbers: [38, 95]
Generated Node #0,2,2: 95:[38, 95] Operation: 95-0=95
Moving to Node #0,2,0
Current State: 95:[95, 0], Operations: ['83-83=0', '38*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[83, 95, 83, 38], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [95, 38, 0]
Generated Node #0,2: 95:[95, 38, 0] Operation: 83-83=0
Moving to Node #0,2
Current State: 95:[95, 38, 0], Operations: ['83-83=0']
Exploring Operation: 38*0=0, Resulting Numbers: [95, 0]
Generated Node #0,2,0: 95:[95, 0] Operation: 38*0=0
Moving to Node #0,2,0
Current State: 95:[95, 0], Operations: ['83-83=0', '38*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
83,
2,
61,
97
] | 65 | [
"97-61=36",
"36/2=18",
"83-18=65"
] | Current State: 65:[83, 2, 61, 97], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [83, 2, 36]
Generated Node #2: [83, 2, 36] from Operation: 97-61=36
Current State: 65:[83, 2, 36], Operations: ['97-61=36']
Exploring Operation: 36/2=18, Resulting Numbers: [83, 18]
Generated Node #3: [83, 18] from Operation: 36/2=18
Current State: 65:[83, 18], Operations: ['97-61=36', '36/2=18']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[83, 2, 61, 97], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [2, 61, 14]
Generated Node #0,0: 65:[2, 61, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[2, 61, 14], Operations: ['97-83=14']
Exploring Operation: 2+61=63, Resulting Numbers: [14, 63]
Generated Node #0,0,0: 65:[14, 63] Operation: 2+61=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[14, 63], Operations: ['97-83=14', '2+61=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,65 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 |
[
46,
18,
84,
38
] | 94 | [
"46-18=28",
"84+38=122",
"122-28=94"
] | Current State: 94:[46, 18, 84, 38], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [84, 38, 28]
Generated Node #2: [84, 38, 28] from Operation: 46-18=28
Current State: 94:[84, 38, 28], Operations: ['46-18=28']
Exploring Operation: 84+38=122, Resulting Numbers: [28, 122]
Generated Node #3: [28, 122] from Operation: 84+38=122
Current State: 94:[28, 122], Operations: ['46-18=28', '84+38=122']
Exploring Operation: 122-28=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[46, 18, 84, 38], Operations: []
Exploring Operation: 84-38=46, Resulting Numbers: [46, 18, 46]
Generated Node #0,0: 94:[46, 18, 46] Operation: 84-38=46
Exploring Operation: 18+84=102, Resulting Numbers: [46, 38, 102]
Generated Node #0,1: 94:[46, 38, 102] Operation: 18+84=102
Exploring Operation: 18+38=56, Resulting Numbers: [46, 84, 56]
Generated Node #0,2: 94:[46, 84, 56] Operation: 18+38=56
Exploring Operation: 84-18=66, Resulting Numbers: [46, 38, 66]
Generated Node #0,3: 94:[46, 38, 66] Operation: 84-18=66
Moving to Node #0,0
Current State: 94:[46, 18, 46], Operations: ['84-38=46']
Exploring Operation: 46-46=0, Resulting Numbers: [18, 0]
Generated Node #0,0,0: 94:[18, 0] Operation: 46-46=0
Exploring Operation: 46/46=1, Resulting Numbers: [18, 1]
Generated Node #0,0,1: 94:[18, 1] Operation: 46/46=1
Exploring Operation: 46+18=64, Resulting Numbers: [46, 64]
Generated Node #0,0,2: 94:[46, 64] Operation: 46+18=64
Exploring Operation: 46+46=92, Resulting Numbers: [18, 92]
Generated Node #0,0,3: 94:[18, 92] Operation: 46+46=92
Moving to Node #0,1
Current State: 94:[46, 38, 102], Operations: ['18+84=102']
Exploring Operation: 46+38=84, Resulting Numbers: [102, 84]
Generated Node #0,1,0: 94:[102, 84] Operation: 46+38=84
Exploring Operation: 46-38=8, Resulting Numbers: [102, 8]
Generated Node #0,1,1: 94:[102, 8] Operation: 46-38=8
Exploring Operation: 102-38=64, Resulting Numbers: [46, 64]
Generated Node #0,1,2: 94:[46, 64] Operation: 102-38=64
Exploring Operation: 102-46=56, Resulting Numbers: [38, 56]
Generated Node #0,1,3: 94:[38, 56] Operation: 102-46=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[102, 8], Operations: ['18+84=102', '46-38=8']
Exploring Operation: 102*8=816, Resulting Numbers: [816]
816,94 unequal: No Solution
Exploring Operation: 102+8=110, Resulting Numbers: [110]
110,94 unequal: No Solution
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[46, 18, 84, 38], Operations: []
Exploring Operation: 18+84=102, Resulting Numbers: [46, 38, 102]
Generated Node #0,1: 94:[46, 38, 102] Operation: 18+84=102
Moving to Node #0,1
Current State: 94:[46, 38, 102], Operations: ['18+84=102']
Exploring Operation: 46-38=8, Resulting Numbers: [102, 8]
Generated Node #0,1,1: 94:[102, 8] Operation: 46-38=8
Moving to Node #0,1,1
Current State: 94:[102, 8], Operations: ['18+84=102', '46-38=8']
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
16,
38,
56,
19
] | 36 | [
"16+56=72",
"38/19=2",
"72/2=36"
] | Current State: 36:[16, 38, 56, 19], Operations: []
Exploring Operation: 16+56=72, Resulting Numbers: [38, 19, 72]
Generated Node #2: [38, 19, 72] from Operation: 16+56=72
Current State: 36:[38, 19, 72], Operations: ['16+56=72']
Exploring Operation: 38/19=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 38/19=2
Current State: 36:[72, 2], Operations: ['16+56=72', '38/19=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[16, 38, 56, 19], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [16, 19, 18]
Generated Node #0,0: 36:[16, 19, 18] Operation: 56-38=18
Exploring Operation: 56-19=37, Resulting Numbers: [16, 38, 37]
Generated Node #0,1: 36:[16, 38, 37] Operation: 56-19=37
Exploring Operation: 56-16=40, Resulting Numbers: [38, 19, 40]
Generated Node #0,2: 36:[38, 19, 40] Operation: 56-16=40
Moving to Node #0,0
Current State: 36:[16, 19, 18], Operations: ['56-38=18']
Exploring Operation: 16+19=35, Resulting Numbers: [18, 35]
Generated Node #0,0,0: 36:[18, 35] Operation: 16+19=35
Exploring Operation: 19-16=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 36:[18, 3] Operation: 19-16=3
Exploring Operation: 18-16=2, Resulting Numbers: [19, 2]
Generated Node #0,0,2: 36:[19, 2] Operation: 18-16=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[18, 3], Operations: ['56-38=18', '19-16=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,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,0,0
Current State: 36:[18, 35], Operations: ['56-38=18', '16+19=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,36 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,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,0,2
Current State: 36:[19, 2], Operations: ['56-38=18', '18-16=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,36 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: 36:[16, 38, 37], Operations: ['56-19=37']
Exploring Operation: 38-37=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 36:[16, 1] Operation: 38-37=1
Exploring Operation: 38-16=22, Resulting Numbers: [37, 22]
Generated Node #0,1,1: 36:[37, 22] Operation: 38-16=22
Exploring Operation: 37-16=21, Resulting Numbers: [38, 21]
Generated Node #0,1,2: 36:[38, 21] Operation: 37-16=21
Moving to Node #0,2
Current State: 36:[38, 19, 40], Operations: ['56-16=40']
Exploring Operation: 38-19=19, Resulting Numbers: [40, 19]
Generated Node #0,2,0: 36:[40, 19] Operation: 38-19=19
Exploring Operation: 40-38=2, Resulting Numbers: [19, 2]
Generated Node #0,2,1: 36:[19, 2] Operation: 40-38=2
Exploring Operation: 38/19=2, Resulting Numbers: [40, 2]
Generated Node #0,2,2: 36:[40, 2] Operation: 38/19=2
Moving to Node #0,2,1
Current State: 36:[19, 2], Operations: ['56-16=40', '40-38=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[16, 1], Operations: ['56-19=37', '38-37=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[40, 2], Operations: ['56-16=40', '38/19=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[38, 21], Operations: ['56-19=37', '37-16=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[37, 22], Operations: ['56-19=37', '38-16=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,36 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[40, 19], Operations: ['56-16=40', '38-19=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,36 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
24,
19,
57
] | 10 | [
"80*57=4560",
"24*19=456",
"4560/456=10"
] | Current State: 10:[80, 24, 19, 57], Operations: []
Exploring Operation: 80*57=4560, Resulting Numbers: [24, 19, 4560]
Generated Node #2: [24, 19, 4560] from Operation: 80*57=4560
Current State: 10:[24, 19, 4560], Operations: ['80*57=4560']
Exploring Operation: 24*19=456, Resulting Numbers: [4560, 456]
Generated Node #3: [4560, 456] from Operation: 24*19=456
Current State: 10:[4560, 456], Operations: ['80*57=4560', '24*19=456']
Exploring Operation: 4560/456=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[80, 24, 19, 57], Operations: []
Exploring Operation: 80-57=23, Resulting Numbers: [24, 19, 23]
Generated Node #0,0: 10:[24, 19, 23] Operation: 80-57=23
Exploring Operation: 80-24=56, Resulting Numbers: [19, 57, 56]
Generated Node #0,1: 10:[19, 57, 56] Operation: 80-24=56
Exploring Operation: 57/19=3, Resulting Numbers: [80, 24, 3]
Generated Node #0,2: 10:[80, 24, 3] Operation: 57/19=3
Exploring Operation: 57-24=33, Resulting Numbers: [80, 19, 33]
Generated Node #0,3: 10:[80, 19, 33] Operation: 57-24=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[24, 19, 23], Operations: ['80-57=23']
Exploring Operation: 24+19=43, Resulting Numbers: [23, 43]
Generated Node #0,0,0: 10:[23, 43] Operation: 24+19=43
Exploring Operation: 24-19=5, Resulting Numbers: [23, 5]
Generated Node #0,0,1: 10:[23, 5] Operation: 24-19=5
Exploring Operation: 24-23=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 10:[19, 1] Operation: 24-23=1
Exploring Operation: 23-19=4, Resulting Numbers: [24, 4]
Generated Node #0,0,3: 10:[24, 4] Operation: 23-19=4
Moving to Node #0,0,2
Current State: 10:[19, 1], Operations: ['80-57=23', '24-23=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[23, 5], Operations: ['80-57=23', '24-19=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,10 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[24, 4], Operations: ['80-57=23', '23-19=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[23, 43], Operations: ['80-57=23', '24+19=43']
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,10 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,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
Current State: 10:[80, 24, 3], Operations: ['57/19=3']
Exploring Operation: 24/3=8, Resulting Numbers: [80, 8]
Generated Node #0,2,0: 10:[80, 8] Operation: 24/3=8
Exploring Operation: 24-3=21, Resulting Numbers: [80, 21]
Generated Node #0,2,1: 10:[80, 21] Operation: 24-3=21
Exploring Operation: 80-24=56, Resulting Numbers: [3, 56]
Generated Node #0,2,2: 10:[3, 56] Operation: 80-24=56
Exploring Operation: 80-3=77, Resulting Numbers: [24, 77]
Generated Node #0,2,3: 10:[24, 77] Operation: 80-3=77
Moving to Node #0,2,2
Current State: 10:[3, 56], Operations: ['57/19=3', '80-24=56']
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[80, 8], Operations: ['57/19=3', '24/3=8']
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,10 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[80, 24, 19, 57], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [80, 24, 3]
Generated Node #0,2: 10:[80, 24, 3] Operation: 57/19=3
Moving to Node #0,2
Current State: 10:[80, 24, 3], Operations: ['57/19=3']
Exploring Operation: 24/3=8, Resulting Numbers: [80, 8]
Generated Node #0,2,0: 10:[80, 8] Operation: 24/3=8
Moving to Node #0,2,0
Current State: 10:[80, 8], Operations: ['57/19=3', '24/3=8']
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
15,
19,
65,
17
] | 67 | [
"15+19=34",
"34/17=2",
"65+2=67"
] | Current State: 67:[15, 19, 65, 17], Operations: []
Exploring Operation: 15+19=34, Resulting Numbers: [65, 17, 34]
Generated Node #2: [65, 17, 34] from Operation: 15+19=34
Current State: 67:[65, 17, 34], Operations: ['15+19=34']
Exploring Operation: 34/17=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 34/17=2
Current State: 67:[65, 2], Operations: ['15+19=34', '34/17=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[15, 19, 65, 17], Operations: []
Exploring Operation: 15+17=32, Resulting Numbers: [19, 65, 32]
Generated Node #0,0: 67:[19, 65, 32] Operation: 15+17=32
Exploring Operation: 15+19=34, Resulting Numbers: [65, 17, 34]
Generated Node #0,1: 67:[65, 17, 34] Operation: 15+19=34
Moving to Node #0,0
Current State: 67:[19, 65, 32], Operations: ['15+17=32']
Exploring Operation: 19+32=51, Resulting Numbers: [65, 51]
Generated Node #0,0,0: 67:[65, 51] Operation: 19+32=51
Exploring Operation: 19+65=84, Resulting Numbers: [32, 84]
Generated Node #0,0,1: 67:[32, 84] Operation: 19+65=84
Moving to Node #0,1
Current State: 67:[65, 17, 34], Operations: ['15+19=34']
Exploring Operation: 65+17=82, Resulting Numbers: [34, 82]
Generated Node #0,1,0: 67:[34, 82] Operation: 65+17=82
Exploring Operation: 17+34=51, Resulting Numbers: [65, 51]
Generated Node #0,1,1: 67:[65, 51] Operation: 17+34=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[65, 51], Operations: ['15+19=34', '17+34=51']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,67 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: 67:[34, 82], Operations: ['15+19=34', '65+17=82']
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 67:[65, 51], Operations: ['15+17=32', '19+32=51']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[32, 84], Operations: ['15+17=32', '19+65=84']
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 32+84=116, Resulting Numbers: [116]
116,67 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
76,
9,
70
] | 32 | [
"9-7=2",
"76/2=38",
"70-38=32"
] | Current State: 32:[7, 76, 9, 70], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [76, 70, 2]
Generated Node #2: [76, 70, 2] from Operation: 9-7=2
Current State: 32:[76, 70, 2], Operations: ['9-7=2']
Exploring Operation: 76/2=38, Resulting Numbers: [70, 38]
Generated Node #3: [70, 38] from Operation: 76/2=38
Current State: 32:[70, 38], Operations: ['9-7=2', '76/2=38']
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[7, 76, 9, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [7, 9, 6]
Generated Node #0,0: 32:[7, 9, 6] Operation: 76-70=6
Exploring Operation: 70/7=10, Resulting Numbers: [76, 9, 10]
Generated Node #0,1: 32:[76, 9, 10] Operation: 70/7=10
Exploring Operation: 76-9=67, Resulting Numbers: [7, 70, 67]
Generated Node #0,2: 32:[7, 70, 67] Operation: 76-9=67
Moving to Node #0,0
Current State: 32:[7, 9, 6], Operations: ['76-70=6']
Exploring Operation: 7+9=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 32:[6, 16] Operation: 7+9=16
Exploring Operation: 7-6=1, Resulting Numbers: [9, 1]
Generated Node #0,0,1: 32:[9, 1] Operation: 7-6=1
Exploring Operation: 9-7=2, Resulting Numbers: [6, 2]
Generated Node #0,0,2: 32:[6, 2] Operation: 9-7=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[6, 16], Operations: ['76-70=6', '7+9=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,32 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: 32:[9, 1], Operations: ['76-70=6', '7-6=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,32 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: 32:[6, 2], Operations: ['76-70=6', '9-7=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,32 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: 32:[76, 9, 10], Operations: ['70/7=10']
Exploring Operation: 76-9=67, Resulting Numbers: [10, 67]
Generated Node #0,1,0: 32:[10, 67] Operation: 76-9=67
Exploring Operation: 76-10=66, Resulting Numbers: [9, 66]
Generated Node #0,1,1: 32:[9, 66] Operation: 76-10=66
Exploring Operation: 10-9=1, Resulting Numbers: [76, 1]
Generated Node #0,1,2: 32:[76, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[9, 66], Operations: ['70/7=10', '76-10=66']
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,32 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,32 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: 32:[10, 67], Operations: ['70/7=10', '76-9=67']
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,32 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,32 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: 32:[76, 1], Operations: ['70/7=10', '10-9=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,32 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: 32:[7, 70, 67], Operations: ['76-9=67']
Exploring Operation: 70/7=10, Resulting Numbers: [67, 10]
Generated Node #0,2,0: 32:[67, 10] Operation: 70/7=10
Exploring Operation: 70-7=63, Resulting Numbers: [67, 63]
Generated Node #0,2,1: 32:[67, 63] Operation: 70-7=63
Exploring Operation: 70-67=3, Resulting Numbers: [7, 3]
Generated Node #0,2,2: 32:[7, 3] Operation: 70-67=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[7, 3], Operations: ['76-9=67', '70-67=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,32 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: 32:[67, 10], Operations: ['76-9=67', '70/7=10']
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,32 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,32 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: 32:[67, 63], Operations: ['76-9=67', '70-7=63']
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,32 unequal: No Solution
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,32 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,32 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.