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 |
|---|---|---|---|---|---|---|---|---|
[
11,
40,
20,
28
] | 25 | [
"40/20=2",
"28/2=14",
"11+14=25"
] | Current State: 25:[11, 40, 20, 28], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [11, 28, 2]
Generated Node #2: [11, 28, 2] from Operation: 40/20=2
Current State: 25:[11, 28, 2], Operations: ['40/20=2']
Exploring Operation: 28/2=14, Resulting Numbers: [11, 14]
Generated Node #3: [11, 14] from Operation: 28/2=14
Current State: 25:[11, 14], Operations: ['40/20=2', '28/2=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[11, 40, 20, 28], Operations: []
Exploring Operation: 40-11=29, Resulting Numbers: [20, 28, 29]
Generated Node #0,0: 25:[20, 28, 29] Operation: 40-11=29
Moving to Node #0,0
Current State: 25:[20, 28, 29], Operations: ['40-11=29']
Exploring Operation: 28-20=8, Resulting Numbers: [29, 8]
Generated Node #0,0,0: 25:[29, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[29, 8], Operations: ['40-11=29', '28-20=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,25 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 |
[
62,
51,
51,
55
] | 95 | [
"62-51=11",
"51+55=106",
"106-11=95"
] | Current State: 95:[62, 51, 51, 55], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [55, 11]
Generated Node #2: [55, 11] from Operation: 62-51=11
Current State: 95:[55, 11], Operations: ['62-51=11']
Exploring Operation: 51+55=106, Resulting Numbers: [11, 106]
Generated Node #3: [11, 106] from Operation: 51+55=106
Current State: 95:[11, 106], Operations: ['62-51=11', '51+55=106']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[62, 51, 51, 55], Operations: []
Exploring Operation: 62-55=7, Resulting Numbers: [51, 51, 7]
Generated Node #0,0: 95:[51, 51, 7] Operation: 62-55=7
Exploring Operation: 55-51=4, Resulting Numbers: [62, 51, 4]
Generated Node #0,1: 95:[62, 51, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 95:[51, 51, 7], Operations: ['62-55=7']
Exploring Operation: 51-51=0, Resulting Numbers: [7, 0]
Generated Node #0,0,0: 95:[7, 0] Operation: 51-51=0
Exploring Operation: 51/51=1, Resulting Numbers: [7, 1]
Generated Node #0,0,1: 95:[7, 1] Operation: 51/51=1
Moving to Node #0,1
Current State: 95:[62, 51, 4], Operations: ['55-51=4']
Exploring Operation: 62-51=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 95:[4, 11] Operation: 62-51=11
Exploring Operation: 62+51=113, Resulting Numbers: [4, 113]
Generated Node #0,1,1: 95:[4, 113] Operation: 62+51=113
Moving to Node #0,0,1
Current State: 95:[7, 1], Operations: ['62-55=7', '51/51=1']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[4, 11], Operations: ['55-51=4', '62-51=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[7, 0], Operations: ['62-55=7', '51-51=0']
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[4, 113], Operations: ['55-51=4', '62+51=113']
Exploring Operation: 113-4=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 4+113=117, Resulting Numbers: [117]
117,95 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
72,
59,
80,
61
] | 76 | [
"72+80=152",
"61-59=2",
"152/2=76"
] | Current State: 76:[72, 59, 80, 61], Operations: []
Exploring Operation: 72+80=152, Resulting Numbers: [59, 61, 152]
Generated Node #2: [59, 61, 152] from Operation: 72+80=152
Current State: 76:[59, 61, 152], Operations: ['72+80=152']
Exploring Operation: 61-59=2, Resulting Numbers: [152, 2]
Generated Node #3: [152, 2] from Operation: 61-59=2
Current State: 76:[152, 2], Operations: ['72+80=152', '61-59=2']
Exploring Operation: 152/2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[72, 59, 80, 61], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [72, 59, 19]
Generated Node #0,0: 76:[72, 59, 19] Operation: 80-61=19
Exploring Operation: 80-59=21, Resulting Numbers: [72, 61, 21]
Generated Node #0,1: 76:[72, 61, 21] Operation: 80-59=21
Exploring Operation: 61-59=2, Resulting Numbers: [72, 80, 2]
Generated Node #0,2: 76:[72, 80, 2] Operation: 61-59=2
Moving to Node #0,2
Current State: 76:[72, 80, 2], Operations: ['61-59=2']
Exploring Operation: 72/2=36, Resulting Numbers: [80, 36]
Generated Node #0,2,0: 76:[80, 36] Operation: 72/2=36
Exploring Operation: 72+2=74, Resulting Numbers: [80, 74]
Generated Node #0,2,1: 76:[80, 74] Operation: 72+2=74
Exploring Operation: 80-72=8, Resulting Numbers: [2, 8]
Generated Node #0,2,2: 76:[2, 8] Operation: 80-72=8
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[2, 8], Operations: ['61-59=2', '80-72=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[80, 36], Operations: ['61-59=2', '72/2=36']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[80, 74], Operations: ['61-59=2', '72+2=74']
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,76 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: 76:[72, 59, 19], Operations: ['80-61=19']
Exploring Operation: 59+19=78, Resulting Numbers: [72, 78]
Generated Node #0,0,0: 76:[72, 78] Operation: 59+19=78
Exploring Operation: 59-19=40, Resulting Numbers: [72, 40]
Generated Node #0,0,1: 76:[72, 40] Operation: 59-19=40
Exploring Operation: 72-59=13, Resulting Numbers: [19, 13]
Generated Node #0,0,2: 76:[19, 13] Operation: 72-59=13
Moving to Node #0,1
Current State: 76:[72, 61, 21], Operations: ['80-59=21']
Exploring Operation: 61-21=40, Resulting Numbers: [72, 40]
Generated Node #0,1,0: 76:[72, 40] Operation: 61-21=40
Exploring Operation: 61+21=82, Resulting Numbers: [72, 82]
Generated Node #0,1,1: 76:[72, 82] Operation: 61+21=82
Exploring Operation: 72-61=11, Resulting Numbers: [21, 11]
Generated Node #0,1,2: 76:[21, 11] Operation: 72-61=11
Moving to Node #0,0,0
Current State: 76:[72, 78], Operations: ['80-61=19', '59+19=78']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,76 unequal: No Solution
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[19, 13], Operations: ['80-61=19', '72-59=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,76 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[72, 40], Operations: ['80-61=19', '59-19=40']
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 72+40=112, Resulting Numbers: [112]
112,76 unequal: No Solution
Exploring Operation: 72*40=2880, Resulting Numbers: [2880]
2880,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[72, 40], Operations: ['80-59=21', '61-21=40']
Exploring Operation: 72+40=112, Resulting Numbers: [112]
112,76 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 72*40=2880, Resulting Numbers: [2880]
2880,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[21, 11], Operations: ['80-59=21', '72-61=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[72, 82], Operations: ['80-59=21', '61+21=82']
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,76 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,76 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
58,
43,
64
] | 41 | [
"58-38=20",
"64-43=21",
"20+21=41"
] | Current State: 41:[38, 58, 43, 64], Operations: []
Exploring Operation: 58-38=20, Resulting Numbers: [43, 64, 20]
Generated Node #2: [43, 64, 20] from Operation: 58-38=20
Current State: 41:[43, 64, 20], Operations: ['58-38=20']
Exploring Operation: 64-43=21, Resulting Numbers: [20, 21]
Generated Node #3: [20, 21] from Operation: 64-43=21
Current State: 41:[20, 21], Operations: ['58-38=20', '64-43=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[38, 58, 43, 64], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [38, 58, 21]
Generated Node #0,0: 41:[38, 58, 21] Operation: 64-43=21
Exploring Operation: 64-38=26, Resulting Numbers: [58, 43, 26]
Generated Node #0,1: 41:[58, 43, 26] Operation: 64-38=26
Exploring Operation: 58-38=20, Resulting Numbers: [43, 64, 20]
Generated Node #0,2: 41:[43, 64, 20] Operation: 58-38=20
Exploring Operation: 64-58=6, Resulting Numbers: [38, 43, 6]
Generated Node #0,3: 41:[38, 43, 6] Operation: 64-58=6
Exploring Operation: 58-43=15, Resulting Numbers: [38, 64, 15]
Generated Node #0,4: 41:[38, 64, 15] Operation: 58-43=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[58, 43, 26], Operations: ['64-38=26']
Exploring Operation: 58-43=15, Resulting Numbers: [26, 15]
Generated Node #0,1,0: 41:[26, 15] Operation: 58-43=15
Exploring Operation: 58-26=32, Resulting Numbers: [43, 32]
Generated Node #0,1,1: 41:[43, 32] Operation: 58-26=32
Exploring Operation: 43+26=69, Resulting Numbers: [58, 69]
Generated Node #0,1,2: 41:[58, 69] Operation: 43+26=69
Exploring Operation: 58+26=84, Resulting Numbers: [43, 84]
Generated Node #0,1,3: 41:[43, 84] Operation: 58+26=84
Exploring Operation: 43-26=17, Resulting Numbers: [58, 17]
Generated Node #0,1,4: 41:[58, 17] Operation: 43-26=17
Moving to Node #0,1,1
Current State: 41:[43, 32], Operations: ['64-38=26', '58-26=32']
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,41 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[58, 17], Operations: ['64-38=26', '43-26=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,41 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[38, 58, 43, 64], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [58, 43, 26]
Generated Node #0,1: 41:[58, 43, 26] Operation: 64-38=26
Moving to Node #0,1
Current State: 41:[58, 43, 26], Operations: ['64-38=26']
Exploring Operation: 43-26=17, Resulting Numbers: [58, 17]
Generated Node #0,1,4: 41:[58, 17] Operation: 43-26=17
Moving to Node #0,1,4
Current State: 41:[58, 17], Operations: ['64-38=26', '43-26=17']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
60,
24,
17,
11
] | 78 | [
"60+24=84",
"17-11=6",
"84-6=78"
] | Current State: 78:[60, 24, 17, 11], Operations: []
Exploring Operation: 60+24=84, Resulting Numbers: [17, 11, 84]
Generated Node #2: [17, 11, 84] from Operation: 60+24=84
Current State: 78:[17, 11, 84], Operations: ['60+24=84']
Exploring Operation: 17-11=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 17-11=6
Current State: 78:[84, 6], Operations: ['60+24=84', '17-11=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[60, 24, 17, 11], Operations: []
Exploring Operation: 60-17=43, Resulting Numbers: [24, 11, 43]
Generated Node #0,0: 78:[24, 11, 43] Operation: 60-17=43
Exploring Operation: 60-24=36, Resulting Numbers: [17, 11, 36]
Generated Node #0,1: 78:[17, 11, 36] Operation: 60-24=36
Exploring Operation: 60+17=77, Resulting Numbers: [24, 11, 77]
Generated Node #0,2: 78:[24, 11, 77] Operation: 60+17=77
Exploring Operation: 60+24=84, Resulting Numbers: [17, 11, 84]
Generated Node #0,3: 78:[17, 11, 84] Operation: 60+24=84
Moving to Node #0,2
Current State: 78:[24, 11, 77], Operations: ['60+17=77']
Exploring Operation: 24-11=13, Resulting Numbers: [77, 13]
Generated Node #0,2,0: 78:[77, 13] Operation: 24-11=13
Exploring Operation: 11+77=88, Resulting Numbers: [24, 88]
Generated Node #0,2,1: 78:[24, 88] Operation: 11+77=88
Exploring Operation: 24+11=35, Resulting Numbers: [77, 35]
Generated Node #0,2,2: 78:[77, 35] Operation: 24+11=35
Exploring Operation: 77/11=7, Resulting Numbers: [24, 7]
Generated Node #0,2,3: 78:[24, 7] Operation: 77/11=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[77, 13], Operations: ['60+17=77', '24-11=13']
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,78 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,78 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,78 unequal: No Solution
No 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: 78:[24, 7], Operations: ['60+17=77', '77/11=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,78 unequal: No Solution
No 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: 78:[77, 35], Operations: ['60+17=77', '24+11=35']
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,78 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,78 unequal: No Solution
No 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: 78:[24, 88], Operations: ['60+17=77', '11+77=88']
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,78 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,78 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: 78:[24, 11, 43], Operations: ['60-17=43']
Exploring Operation: 24+11=35, Resulting Numbers: [43, 35]
Generated Node #0,0,0: 78:[43, 35] Operation: 24+11=35
Exploring Operation: 43-24=19, Resulting Numbers: [11, 19]
Generated Node #0,0,1: 78:[11, 19] Operation: 43-24=19
Exploring Operation: 43-11=32, Resulting Numbers: [24, 32]
Generated Node #0,0,2: 78:[24, 32] Operation: 43-11=32
Exploring Operation: 24-11=13, Resulting Numbers: [43, 13]
Generated Node #0,0,3: 78:[43, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 78:[43, 13], Operations: ['60-17=43', '24-11=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,78 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,78 unequal: No Solution
No 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: 78:[43, 35], Operations: ['60-17=43', '24+11=35']
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[60, 24, 17, 11], Operations: []
Exploring Operation: 60-17=43, Resulting Numbers: [24, 11, 43]
Generated Node #0,0: 78:[24, 11, 43] Operation: 60-17=43
Moving to Node #0,0
Current State: 78:[24, 11, 43], Operations: ['60-17=43']
Exploring Operation: 24+11=35, Resulting Numbers: [43, 35]
Generated Node #0,0,0: 78:[43, 35] Operation: 24+11=35
Moving to Node #0,0,0
Current State: 78:[43, 35], Operations: ['60-17=43', '24+11=35']
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
88,
17,
1,
24
] | 81 | [
"88+17=105",
"1*24=24",
"105-24=81"
] | Current State: 81:[88, 17, 1, 24], Operations: []
Exploring Operation: 88+17=105, Resulting Numbers: [1, 24, 105]
Generated Node #2: [1, 24, 105] from Operation: 88+17=105
Current State: 81:[1, 24, 105], Operations: ['88+17=105']
Exploring Operation: 1*24=24, Resulting Numbers: [105, 24]
Generated Node #3: [105, 24] from Operation: 1*24=24
Current State: 81:[105, 24], Operations: ['88+17=105', '1*24=24']
Exploring Operation: 105-24=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[88, 17, 1, 24], Operations: []
Exploring Operation: 88-17=71, Resulting Numbers: [1, 24, 71]
Generated Node #0,0: 81:[1, 24, 71] Operation: 88-17=71
Exploring Operation: 88-1=87, Resulting Numbers: [17, 24, 87]
Generated Node #0,1: 81:[17, 24, 87] Operation: 88-1=87
Exploring Operation: 24-17=7, Resulting Numbers: [88, 1, 7]
Generated Node #0,2: 81:[88, 1, 7] Operation: 24-17=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[88, 1, 7], Operations: ['24-17=7']
Exploring Operation: 88-7=81, Resulting Numbers: [1, 81]
Generated Node #0,2,0: 81:[1, 81] Operation: 88-7=81
Exploring Operation: 1+7=8, Resulting Numbers: [88, 8]
Generated Node #0,2,1: 81:[88, 8] Operation: 1+7=8
Exploring Operation: 88-1=87, Resulting Numbers: [7, 87]
Generated Node #0,2,2: 81:[7, 87] Operation: 88-1=87
Moving to Node #0,2,0
Current State: 81:[1, 81], Operations: ['24-17=7', '88-7=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[88, 17, 1, 24], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [88, 1, 7]
Generated Node #0,2: 81:[88, 1, 7] Operation: 24-17=7
Moving to Node #0,2
Current State: 81:[88, 1, 7], Operations: ['24-17=7']
Exploring Operation: 88-7=81, Resulting Numbers: [1, 81]
Generated Node #0,2,0: 81:[1, 81] Operation: 88-7=81
Moving to Node #0,2,0
Current State: 81:[1, 81], Operations: ['24-17=7', '88-7=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
79,
80,
14,
8
] | 22 | [
"80-79=1",
"14+8=22",
"1*22=22"
] | Current State: 22:[79, 80, 14, 8], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [14, 8, 1]
Generated Node #2: [14, 8, 1] from Operation: 80-79=1
Current State: 22:[14, 8, 1], Operations: ['80-79=1']
Exploring Operation: 14+8=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 14+8=22
Current State: 22:[1, 22], Operations: ['80-79=1', '14+8=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[79, 80, 14, 8], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [79, 14, 10]
Generated Node #0,0: 22:[79, 14, 10] Operation: 80/8=10
Exploring Operation: 80-79=1, Resulting Numbers: [14, 8, 1]
Generated Node #0,1: 22:[14, 8, 1] Operation: 80-79=1
Exploring Operation: 79-14=65, Resulting Numbers: [80, 8, 65]
Generated Node #0,2: 22:[80, 8, 65] Operation: 79-14=65
Moving to Node #0,1
Current State: 22:[14, 8, 1], Operations: ['80-79=1']
Exploring Operation: 14-8=6, Resulting Numbers: [1, 6]
Generated Node #0,1,0: 22:[1, 6] Operation: 14-8=6
Exploring Operation: 14-1=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 22:[8, 13] Operation: 14-1=13
Exploring Operation: 14+8=22, Resulting Numbers: [1, 22]
Generated Node #0,1,2: 22:[1, 22] Operation: 14+8=22
Moving to Node #0,0
Current State: 22:[79, 14, 10], Operations: ['80/8=10']
Exploring Operation: 14+10=24, Resulting Numbers: [79, 24]
Generated Node #0,0,0: 22:[79, 24] Operation: 14+10=24
Exploring Operation: 79-10=69, Resulting Numbers: [14, 69]
Generated Node #0,0,1: 22:[14, 69] Operation: 79-10=69
Exploring Operation: 79-14=65, Resulting Numbers: [10, 65]
Generated Node #0,0,2: 22:[10, 65] Operation: 79-14=65
Moving to Node #0,2
Current State: 22:[80, 8, 65], Operations: ['79-14=65']
Exploring Operation: 80-65=15, Resulting Numbers: [8, 15]
Generated Node #0,2,0: 22:[8, 15] Operation: 80-65=15
Exploring Operation: 80/8=10, Resulting Numbers: [65, 10]
Generated Node #0,2,1: 22:[65, 10] Operation: 80/8=10
Exploring Operation: 80-8=72, Resulting Numbers: [65, 72]
Generated Node #0,2,2: 22:[65, 72] Operation: 80-8=72
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[8, 15], Operations: ['79-14=65', '80-65=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,22 unequal: No Solution
No 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: 22:[65, 10], Operations: ['79-14=65', '80/8=10']
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,22 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,22 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,22 unequal: No Solution
No 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: 22:[65, 72], Operations: ['79-14=65', '80-8=72']
Exploring Operation: 65*72=4680, Resulting Numbers: [4680]
4680,22 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 65+72=137, Resulting Numbers: [137]
137,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 22:[1, 22], Operations: ['80-79=1', '14+8=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[79, 80, 14, 8], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [14, 8, 1]
Generated Node #0,1: 22:[14, 8, 1] Operation: 80-79=1
Moving to Node #0,1
Current State: 22:[14, 8, 1], Operations: ['80-79=1']
Exploring Operation: 14+8=22, Resulting Numbers: [1, 22]
Generated Node #0,1,2: 22:[1, 22] Operation: 14+8=22
Moving to Node #0,1,2
Current State: 22:[1, 22], Operations: ['80-79=1', '14+8=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
8,
7,
42,
52
] | 66 | [
"8*7=56",
"52-42=10",
"56+10=66"
] | Current State: 66:[8, 7, 42, 52], Operations: []
Exploring Operation: 8*7=56, Resulting Numbers: [42, 52, 56]
Generated Node #2: [42, 52, 56] from Operation: 8*7=56
Current State: 66:[42, 52, 56], Operations: ['8*7=56']
Exploring Operation: 52-42=10, Resulting Numbers: [56, 10]
Generated Node #3: [56, 10] from Operation: 52-42=10
Current State: 66:[56, 10], Operations: ['8*7=56', '52-42=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[8, 7, 42, 52], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [8, 7, 10]
Generated Node #0,0: 66:[8, 7, 10] Operation: 52-42=10
Exploring Operation: 42-8=34, Resulting Numbers: [7, 52, 34]
Generated Node #0,1: 66:[7, 52, 34] Operation: 42-8=34
Moving to Node #0,0
Current State: 66:[8, 7, 10], Operations: ['52-42=10']
Exploring Operation: 8-7=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 66:[10, 1] Operation: 8-7=1
Exploring Operation: 10-8=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 66:[7, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[7, 2], Operations: ['52-42=10', '10-8=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[10, 1], Operations: ['52-42=10', '8-7=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,66 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: 66:[7, 52, 34], Operations: ['42-8=34']
Exploring Operation: 52-34=18, Resulting Numbers: [7, 18]
Generated Node #0,1,0: 66:[7, 18] Operation: 52-34=18
Exploring Operation: 7+52=59, Resulting Numbers: [34, 59]
Generated Node #0,1,1: 66:[34, 59] Operation: 7+52=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[7, 18], Operations: ['42-8=34', '52-34=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[34, 59], Operations: ['42-8=34', '7+52=59']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
6,
75,
50,
69
] | 100 | [
"6+75=81",
"69-50=19",
"81+19=100"
] | Current State: 100:[6, 75, 50, 69], Operations: []
Exploring Operation: 6+75=81, Resulting Numbers: [50, 69, 81]
Generated Node #2: [50, 69, 81] from Operation: 6+75=81
Current State: 100:[50, 69, 81], Operations: ['6+75=81']
Exploring Operation: 69-50=19, Resulting Numbers: [81, 19]
Generated Node #3: [81, 19] from Operation: 69-50=19
Current State: 100:[81, 19], Operations: ['6+75=81', '69-50=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[6, 75, 50, 69], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [6, 75, 19]
Generated Node #0,0: 100:[6, 75, 19] Operation: 69-50=19
Exploring Operation: 6+75=81, Resulting Numbers: [50, 69, 81]
Generated Node #0,1: 100:[50, 69, 81] Operation: 6+75=81
Exploring Operation: 75-69=6, Resulting Numbers: [6, 50, 6]
Generated Node #0,2: 100:[6, 50, 6] Operation: 75-69=6
Exploring Operation: 75-6=69, Resulting Numbers: [50, 69, 69]
Generated Node #0,3: 100:[50, 69, 69] Operation: 75-6=69
Exploring Operation: 75-50=25, Resulting Numbers: [6, 69, 25]
Generated Node #0,4: 100:[6, 69, 25] Operation: 75-50=25
Moving to Node #0,2
Current State: 100:[6, 50, 6], Operations: ['75-69=6']
Exploring Operation: 6+6=12, Resulting Numbers: [50, 12]
Generated Node #0,2,0: 100:[50, 12] Operation: 6+6=12
Exploring Operation: 50-6=44, Resulting Numbers: [6, 44]
Generated Node #0,2,1: 100:[6, 44] Operation: 50-6=44
Exploring Operation: 6+50=56, Resulting Numbers: [6, 56]
Generated Node #0,2,2: 100:[6, 56] Operation: 6+50=56
Exploring Operation: 6/6=1, Resulting Numbers: [50, 1]
Generated Node #0,2,3: 100:[50, 1] Operation: 6/6=1
Exploring Operation: 6-6=0, Resulting Numbers: [50, 0]
Generated Node #0,2,4: 100:[50, 0] Operation: 6-6=0
Moving to Node #0,4
Current State: 100:[6, 69, 25], Operations: ['75-50=25']
Exploring Operation: 69-6=63, Resulting Numbers: [25, 63]
Generated Node #0,4,0: 100:[25, 63] Operation: 69-6=63
Exploring Operation: 69+25=94, Resulting Numbers: [6, 94]
Generated Node #0,4,1: 100:[6, 94] Operation: 69+25=94
Exploring Operation: 6+69=75, Resulting Numbers: [25, 75]
Generated Node #0,4,2: 100:[25, 75] Operation: 6+69=75
Exploring Operation: 25-6=19, Resulting Numbers: [69, 19]
Generated Node #0,4,3: 100:[69, 19] Operation: 25-6=19
Exploring Operation: 69-25=44, Resulting Numbers: [6, 44]
Generated Node #0,4,4: 100:[6, 44] Operation: 69-25=44
Moving to Node #0,0
Current State: 100:[6, 75, 19], Operations: ['69-50=19']
Exploring Operation: 6+19=25, Resulting Numbers: [75, 25]
Generated Node #0,0,0: 100:[75, 25] Operation: 6+19=25
Exploring Operation: 75-19=56, Resulting Numbers: [6, 56]
Generated Node #0,0,1: 100:[6, 56] Operation: 75-19=56
Exploring Operation: 6+75=81, Resulting Numbers: [19, 81]
Generated Node #0,0,2: 100:[19, 81] Operation: 6+75=81
Exploring Operation: 75+19=94, Resulting Numbers: [6, 94]
Generated Node #0,0,3: 100:[6, 94] Operation: 75+19=94
Exploring Operation: 75-6=69, Resulting Numbers: [19, 69]
Generated Node #0,0,4: 100:[19, 69] Operation: 75-6=69
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[6, 56], Operations: ['69-50=19', '75-19=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,100 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,100 unequal: No Solution
No 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: 100:[6, 94], Operations: ['69-50=19', '75+19=94']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 6+94=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[6, 75, 50, 69], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [6, 75, 19]
Generated Node #0,0: 100:[6, 75, 19] Operation: 69-50=19
Moving to Node #0,0
Current State: 100:[6, 75, 19], Operations: ['69-50=19']
Exploring Operation: 75+19=94, Resulting Numbers: [6, 94]
Generated Node #0,0,3: 100:[6, 94] Operation: 75+19=94
Moving to Node #0,0,3
Current State: 100:[6, 94], Operations: ['69-50=19', '75+19=94']
Exploring Operation: 6+94=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | sum_heuristic |
[
35,
82,
19,
68
] | 96 | [
"82-35=47",
"68-19=49",
"47+49=96"
] | Current State: 96:[35, 82, 19, 68], Operations: []
Exploring Operation: 82-35=47, Resulting Numbers: [19, 68, 47]
Generated Node #2: [19, 68, 47] from Operation: 82-35=47
Current State: 96:[19, 68, 47], Operations: ['82-35=47']
Exploring Operation: 68-19=49, Resulting Numbers: [47, 49]
Generated Node #3: [47, 49] from Operation: 68-19=49
Current State: 96:[47, 49], Operations: ['82-35=47', '68-19=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[35, 82, 19, 68], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [35, 19, 14]
Generated Node #0,0: 96:[35, 19, 14] Operation: 82-68=14
Exploring Operation: 68-35=33, Resulting Numbers: [82, 19, 33]
Generated Node #0,1: 96:[82, 19, 33] Operation: 68-35=33
Moving to Node #0,0
Current State: 96:[35, 19, 14], Operations: ['82-68=14']
Exploring Operation: 35+14=49, Resulting Numbers: [19, 49]
Generated Node #0,0,0: 96:[19, 49] Operation: 35+14=49
Exploring Operation: 35-19=16, Resulting Numbers: [14, 16]
Generated Node #0,0,1: 96:[14, 16] Operation: 35-19=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[14, 16], Operations: ['82-68=14', '35-19=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[19, 49], Operations: ['82-68=14', '35+14=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,96 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: 96:[82, 19, 33], Operations: ['68-35=33']
Exploring Operation: 82+19=101, Resulting Numbers: [33, 101]
Generated Node #0,1,0: 96:[33, 101] Operation: 82+19=101
Exploring Operation: 82-33=49, Resulting Numbers: [19, 49]
Generated Node #0,1,1: 96:[19, 49] Operation: 82-33=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[19, 49], Operations: ['68-35=33', '82-33=49']
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[33, 101], Operations: ['68-35=33', '82+19=101']
Exploring Operation: 33+101=134, Resulting Numbers: [134]
134,96 unequal: No Solution
Exploring Operation: 101-33=68, Resulting Numbers: [68]
68,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
88,
15,
74
] | 79 | [
"88-85=3",
"15/3=5",
"74+5=79"
] | Current State: 79:[85, 88, 15, 74], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [15, 74, 3]
Generated Node #2: [15, 74, 3] from Operation: 88-85=3
Current State: 79:[15, 74, 3], Operations: ['88-85=3']
Exploring Operation: 15/3=5, Resulting Numbers: [74, 5]
Generated Node #3: [74, 5] from Operation: 15/3=5
Current State: 79:[74, 5], Operations: ['88-85=3', '15/3=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[85, 88, 15, 74], Operations: []
Exploring Operation: 88-15=73, Resulting Numbers: [85, 74, 73]
Generated Node #0,0: 79:[85, 74, 73] Operation: 88-15=73
Exploring Operation: 88+15=103, Resulting Numbers: [85, 74, 103]
Generated Node #0,1: 79:[85, 74, 103] Operation: 88+15=103
Exploring Operation: 85-15=70, Resulting Numbers: [88, 74, 70]
Generated Node #0,2: 79:[88, 74, 70] Operation: 85-15=70
Exploring Operation: 15+74=89, Resulting Numbers: [85, 88, 89]
Generated Node #0,3: 79:[85, 88, 89] Operation: 15+74=89
Exploring Operation: 85+15=100, Resulting Numbers: [88, 74, 100]
Generated Node #0,4: 79:[88, 74, 100] Operation: 85+15=100
Moving to Node #0,0
Current State: 79:[85, 74, 73], Operations: ['88-15=73']
Exploring Operation: 74+73=147, Resulting Numbers: [85, 147]
Generated Node #0,0,0: 79:[85, 147] Operation: 74+73=147
Exploring Operation: 85-74=11, Resulting Numbers: [73, 11]
Generated Node #0,0,1: 79:[73, 11] Operation: 85-74=11
Exploring Operation: 74-73=1, Resulting Numbers: [85, 1]
Generated Node #0,0,2: 79:[85, 1] Operation: 74-73=1
Exploring Operation: 85-73=12, Resulting Numbers: [74, 12]
Generated Node #0,0,3: 79:[74, 12] Operation: 85-73=12
Exploring Operation: 85+73=158, Resulting Numbers: [74, 158]
Generated Node #0,0,4: 79:[74, 158] Operation: 85+73=158
Moving to Node #0,2
Current State: 79:[88, 74, 70], Operations: ['85-15=70']
Exploring Operation: 88-74=14, Resulting Numbers: [70, 14]
Generated Node #0,2,0: 79:[70, 14] Operation: 88-74=14
Exploring Operation: 74+70=144, Resulting Numbers: [88, 144]
Generated Node #0,2,1: 79:[88, 144] Operation: 74+70=144
Exploring Operation: 88-70=18, Resulting Numbers: [74, 18]
Generated Node #0,2,2: 79:[74, 18] Operation: 88-70=18
Exploring Operation: 74-70=4, Resulting Numbers: [88, 4]
Generated Node #0,2,3: 79:[88, 4] Operation: 74-70=4
Exploring Operation: 88+70=158, Resulting Numbers: [74, 158]
Generated Node #0,2,4: 79:[74, 158] Operation: 88+70=158
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[74, 18], Operations: ['85-15=70', '88-70=18']
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,79 unequal: No Solution
No 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: 79:[70, 14], Operations: ['85-15=70', '88-74=14']
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,79 unequal: No Solution
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No 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: 79:[88, 144], Operations: ['85-15=70', '74+70=144']
Exploring Operation: 88*144=12672, Resulting Numbers: [12672]
12672,79 unequal: No Solution
Exploring Operation: 144-88=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 88+144=232, Resulting Numbers: [232]
232,79 unequal: No Solution
No 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: 79:[88, 4], Operations: ['85-15=70', '74-70=4']
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,79 unequal: No Solution
No 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: 79:[74, 158], Operations: ['85-15=70', '88+70=158']
Exploring Operation: 74*158=11692, Resulting Numbers: [11692]
11692,79 unequal: No Solution
Exploring Operation: 74+158=232, Resulting Numbers: [232]
232,79 unequal: No Solution
Exploring Operation: 158-74=84, Resulting Numbers: [84]
84,79 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: 79:[85, 88, 89], Operations: ['15+74=89']
Exploring Operation: 85+88=173, Resulting Numbers: [89, 173]
Generated Node #0,3,0: 79:[89, 173] Operation: 85+88=173
Exploring Operation: 89-88=1, Resulting Numbers: [85, 1]
Generated Node #0,3,1: 79:[85, 1] Operation: 89-88=1
Exploring Operation: 88-85=3, Resulting Numbers: [89, 3]
Generated Node #0,3,2: 79:[89, 3] Operation: 88-85=3
Exploring Operation: 85+89=174, Resulting Numbers: [88, 174]
Generated Node #0,3,3: 79:[88, 174] Operation: 85+89=174
Exploring Operation: 89-85=4, Resulting Numbers: [88, 4]
Generated Node #0,3,4: 79:[88, 4] Operation: 89-85=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[85, 1], Operations: ['15+74=89', '89-88=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,79 unequal: No Solution
No 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: 79:[88, 4], Operations: ['15+74=89', '89-85=4']
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,79 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No 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: 79:[89, 3], Operations: ['15+74=89', '88-85=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,79 unequal: No Solution
No 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: 79:[89, 173], Operations: ['15+74=89', '85+88=173']
Exploring Operation: 89+173=262, Resulting Numbers: [262]
262,79 unequal: No Solution
Exploring Operation: 173-89=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 89*173=15397, Resulting Numbers: [15397]
15397,79 unequal: No Solution
No 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: 79:[88, 174], Operations: ['15+74=89', '85+89=174']
Exploring Operation: 88*174=15312, Resulting Numbers: [15312]
15312,79 unequal: No Solution
Exploring Operation: 88+174=262, Resulting Numbers: [262]
262,79 unequal: No Solution
Exploring Operation: 174-88=86, Resulting Numbers: [86]
86,79 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: 79:[85, 74, 103], Operations: ['88+15=103']
Exploring Operation: 85-74=11, Resulting Numbers: [103, 11]
Generated Node #0,1,0: 79:[103, 11] Operation: 85-74=11
Exploring Operation: 103-85=18, Resulting Numbers: [74, 18]
Generated Node #0,1,1: 79:[74, 18] Operation: 103-85=18
Exploring Operation: 74+103=177, Resulting Numbers: [85, 177]
Generated Node #0,1,2: 79:[85, 177] Operation: 74+103=177
Exploring Operation: 85+74=159, Resulting Numbers: [103, 159]
Generated Node #0,1,3: 79:[103, 159] Operation: 85+74=159
Exploring Operation: 103-74=29, Resulting Numbers: [85, 29]
Generated Node #0,1,4: 79:[85, 29] Operation: 103-74=29
Moving to Node #0,4
Current State: 79:[88, 74, 100], Operations: ['85+15=100']
Exploring Operation: 100-74=26, Resulting Numbers: [88, 26]
Generated Node #0,4,0: 79:[88, 26] Operation: 100-74=26
Exploring Operation: 100-88=12, Resulting Numbers: [74, 12]
Generated Node #0,4,1: 79:[74, 12] Operation: 100-88=12
Exploring Operation: 88+74=162, Resulting Numbers: [100, 162]
Generated Node #0,4,2: 79:[100, 162] Operation: 88+74=162
Exploring Operation: 74+100=174, Resulting Numbers: [88, 174]
Generated Node #0,4,3: 79:[88, 174] Operation: 74+100=174
Exploring Operation: 88-74=14, Resulting Numbers: [100, 14]
Generated Node #0,4,4: 79:[100, 14] Operation: 88-74=14
Moving to Node #0,1,4
Current State: 79:[85, 29], Operations: ['88+15=103', '103-74=29']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[88, 26], Operations: ['85+15=100', '100-74=26']
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,79 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[74, 18], Operations: ['88+15=103', '103-85=18']
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,79 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[74, 12], Operations: ['88-15=73', '85-73=12']
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,79 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[74, 12], Operations: ['85+15=100', '100-88=12']
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,79 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[73, 11], Operations: ['88-15=73', '85-74=11']
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,79 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[85, 147], Operations: ['88-15=73', '74+73=147']
Exploring Operation: 85+147=232, Resulting Numbers: [232]
232,79 unequal: No Solution
Exploring Operation: 85*147=12495, Resulting Numbers: [12495]
12495,79 unequal: No Solution
Exploring Operation: 147-85=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[74, 158], Operations: ['88-15=73', '85+73=158']
Exploring Operation: 74*158=11692, Resulting Numbers: [11692]
11692,79 unequal: No Solution
Exploring Operation: 74+158=232, Resulting Numbers: [232]
232,79 unequal: No Solution
Exploring Operation: 158-74=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[85, 1], Operations: ['88-15=73', '74-73=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[100, 14], Operations: ['85+15=100', '88-74=14']
Exploring Operation: 100*14=1400, Resulting Numbers: [1400]
1400,79 unequal: No Solution
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 100+14=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[103, 11], Operations: ['88+15=103', '85-74=11']
Exploring Operation: 103+11=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Exploring Operation: 103-11=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 103*11=1133, Resulting Numbers: [1133]
1133,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[88, 174], Operations: ['85+15=100', '74+100=174']
Exploring Operation: 174-88=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 88*174=15312, Resulting Numbers: [15312]
15312,79 unequal: No Solution
Exploring Operation: 88+174=262, Resulting Numbers: [262]
262,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[100, 162], Operations: ['85+15=100', '88+74=162']
Exploring Operation: 100+162=262, Resulting Numbers: [262]
262,79 unequal: No Solution
Exploring Operation: 162-100=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 100*162=16200, Resulting Numbers: [16200]
16200,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[103, 159], Operations: ['88+15=103', '85+74=159']
Exploring Operation: 103+159=262, Resulting Numbers: [262]
262,79 unequal: No Solution
Exploring Operation: 103*159=16377, Resulting Numbers: [16377]
16377,79 unequal: No Solution
Exploring Operation: 159-103=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[85, 177], Operations: ['88+15=103', '74+103=177']
Exploring Operation: 85+177=262, Resulting Numbers: [262]
262,79 unequal: No Solution
Exploring Operation: 177-85=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 85*177=15045, Resulting Numbers: [15045]
15045,79 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
91,
65,
59,
17
] | 18 | [
"91+17=108",
"65-59=6",
"108/6=18"
] | Current State: 18:[91, 65, 59, 17], Operations: []
Exploring Operation: 91+17=108, Resulting Numbers: [65, 59, 108]
Generated Node #2: [65, 59, 108] from Operation: 91+17=108
Current State: 18:[65, 59, 108], Operations: ['91+17=108']
Exploring Operation: 65-59=6, Resulting Numbers: [108, 6]
Generated Node #3: [108, 6] from Operation: 65-59=6
Current State: 18:[108, 6], Operations: ['91+17=108', '65-59=6']
Exploring Operation: 108/6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[91, 65, 59, 17], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [65, 17, 32]
Generated Node #0,0: 18:[65, 17, 32] Operation: 91-59=32
Exploring Operation: 91-65=26, Resulting Numbers: [59, 17, 26]
Generated Node #0,1: 18:[59, 17, 26] Operation: 91-65=26
Moving to Node #0,1
Current State: 18:[59, 17, 26], Operations: ['91-65=26']
Exploring Operation: 59-26=33, Resulting Numbers: [17, 33]
Generated Node #0,1,0: 18:[17, 33] Operation: 59-26=33
Exploring Operation: 59-17=42, Resulting Numbers: [26, 42]
Generated Node #0,1,1: 18:[26, 42] Operation: 59-17=42
Moving to Node #0,0
Current State: 18:[65, 17, 32], Operations: ['91-59=32']
Exploring Operation: 65-32=33, Resulting Numbers: [17, 33]
Generated Node #0,0,0: 18:[17, 33] Operation: 65-32=33
Exploring Operation: 65-17=48, Resulting Numbers: [32, 48]
Generated Node #0,0,1: 18:[32, 48] Operation: 65-17=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[17, 33], Operations: ['91-59=32', '65-32=33']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[32, 48], Operations: ['91-59=32', '65-17=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,18 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: 18:[17, 33], Operations: ['91-65=26', '59-26=33']
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[26, 42], Operations: ['91-65=26', '59-17=42']
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
34,
25,
50
] | 50 | [
"50-33=17",
"34*25=850",
"850/17=50"
] | Current State: 50:[33, 34, 25, 50], Operations: []
Exploring Operation: 50-33=17, Resulting Numbers: [34, 25, 17]
Generated Node #2: [34, 25, 17] from Operation: 50-33=17
Current State: 50:[34, 25, 17], Operations: ['50-33=17']
Exploring Operation: 34*25=850, Resulting Numbers: [17, 850]
Generated Node #3: [17, 850] from Operation: 34*25=850
Current State: 50:[17, 850], Operations: ['50-33=17', '34*25=850']
Exploring Operation: 850/17=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[33, 34, 25, 50], Operations: []
Exploring Operation: 50-34=16, Resulting Numbers: [33, 25, 16]
Generated Node #0,0: 50:[33, 25, 16] Operation: 50-34=16
Exploring Operation: 34-33=1, Resulting Numbers: [25, 50, 1]
Generated Node #0,1: 50:[25, 50, 1] Operation: 34-33=1
Exploring Operation: 34-25=9, Resulting Numbers: [33, 50, 9]
Generated Node #0,2: 50:[33, 50, 9] Operation: 34-25=9
Exploring Operation: 33-25=8, Resulting Numbers: [34, 50, 8]
Generated Node #0,3: 50:[34, 50, 8] Operation: 33-25=8
Moving to Node #0,1
Current State: 50:[25, 50, 1], Operations: ['34-33=1']
Exploring Operation: 25/1=25, Resulting Numbers: [50, 25]
Generated Node #0,1,0: 50:[50, 25] Operation: 25/1=25
Exploring Operation: 25*1=25, Resulting Numbers: [50, 25]
Generated Node #0,1,1: 50:[50, 25] Operation: 25*1=25
Exploring Operation: 50*1=50, Resulting Numbers: [25, 50]
Generated Node #0,1,2: 50:[25, 50] Operation: 50*1=50
Exploring Operation: 50/1=50, Resulting Numbers: [25, 50]
Generated Node #0,1,3: 50:[25, 50] Operation: 50/1=50
Moving to Node #0,2
Current State: 50:[33, 50, 9], Operations: ['34-25=9']
Exploring Operation: 50+9=59, Resulting Numbers: [33, 59]
Generated Node #0,2,0: 50:[33, 59] Operation: 50+9=59
Exploring Operation: 50-33=17, Resulting Numbers: [9, 17]
Generated Node #0,2,1: 50:[9, 17] Operation: 50-33=17
Exploring Operation: 33-9=24, Resulting Numbers: [50, 24]
Generated Node #0,2,2: 50:[50, 24] Operation: 33-9=24
Exploring Operation: 33+9=42, Resulting Numbers: [50, 42]
Generated Node #0,2,3: 50:[50, 42] Operation: 33+9=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[50, 24], Operations: ['34-25=9', '33-9=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,50 unequal: No Solution
No 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: 50:[9, 17], Operations: ['34-25=9', '50-33=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,50 unequal: No Solution
No 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: 50:[50, 42], Operations: ['34-25=9', '33+9=42']
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,50 unequal: No Solution
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,50 unequal: No Solution
No 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: 50:[33, 59], Operations: ['34-25=9', '50+9=59']
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 33*59=1947, Resulting Numbers: [1947]
1947,50 unequal: No Solution
Exploring Operation: 33+59=92, Resulting Numbers: [92]
92,50 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: 50:[34, 50, 8], Operations: ['33-25=8']
Exploring Operation: 34-8=26, Resulting Numbers: [50, 26]
Generated Node #0,3,0: 50:[50, 26] Operation: 34-8=26
Exploring Operation: 34+8=42, Resulting Numbers: [50, 42]
Generated Node #0,3,1: 50:[50, 42] Operation: 34+8=42
Exploring Operation: 50+8=58, Resulting Numbers: [34, 58]
Generated Node #0,3,2: 50:[34, 58] Operation: 50+8=58
Exploring Operation: 50-34=16, Resulting Numbers: [8, 16]
Generated Node #0,3,3: 50:[8, 16] Operation: 50-34=16
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[50, 26], Operations: ['33-25=8', '34-8=26']
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,50 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,50 unequal: No Solution
No 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: 50:[50, 42], Operations: ['33-25=8', '34+8=42']
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,50 unequal: No Solution
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,50 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,50 unequal: No Solution
No 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: 50:[8, 16], Operations: ['33-25=8', '50-34=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,50 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No 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: 50:[34, 58], Operations: ['33-25=8', '50+8=58']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,50 unequal: No Solution
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,50 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: 50:[33, 25, 16], Operations: ['50-34=16']
Exploring Operation: 33+16=49, Resulting Numbers: [25, 49]
Generated Node #0,0,0: 50:[25, 49] Operation: 33+16=49
Exploring Operation: 33-25=8, Resulting Numbers: [16, 8]
Generated Node #0,0,1: 50:[16, 8] Operation: 33-25=8
Exploring Operation: 25-16=9, Resulting Numbers: [33, 9]
Generated Node #0,0,2: 50:[33, 9] Operation: 25-16=9
Exploring Operation: 33-16=17, Resulting Numbers: [25, 17]
Generated Node #0,0,3: 50:[25, 17] Operation: 33-16=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[25, 49], Operations: ['50-34=16', '33+16=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 25*49=1225, Resulting Numbers: [1225]
1225,50 unequal: No Solution
No 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: 50:[25, 17], Operations: ['50-34=16', '33-16=17']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,50 unequal: No Solution
No 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: 50:[16, 8], Operations: ['50-34=16', '33-25=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,50 unequal: No Solution
No 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: 50:[33, 9], Operations: ['50-34=16', '25-16=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,50 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,50 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: 50:[50, 25], Operations: ['34-33=1', '25/1=25']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,50 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[25, 50], Operations: ['34-33=1', '50*1=50']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,50 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[50, 25], Operations: ['34-33=1', '25*1=25']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[25, 50], Operations: ['34-33=1', '50/1=50']
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,50 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,50 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
43,
86,
3,
8
] | 54 | [
"86-43=43",
"3+8=11",
"43+11=54"
] | Current State: 54:[43, 86, 3, 8], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [3, 8, 43]
Generated Node #2: [3, 8, 43] from Operation: 86-43=43
Current State: 54:[3, 8, 43], Operations: ['86-43=43']
Exploring Operation: 3+8=11, Resulting Numbers: [43, 11]
Generated Node #3: [43, 11] from Operation: 3+8=11
Current State: 54:[43, 11], Operations: ['86-43=43', '3+8=11']
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[43, 86, 3, 8], Operations: []
Exploring Operation: 43+8=51, Resulting Numbers: [86, 3, 51]
Generated Node #0,0: 54:[86, 3, 51] Operation: 43+8=51
Exploring Operation: 86-8=78, Resulting Numbers: [43, 3, 78]
Generated Node #0,1: 54:[43, 3, 78] Operation: 86-8=78
Exploring Operation: 86/43=2, Resulting Numbers: [3, 8, 2]
Generated Node #0,2: 54:[3, 8, 2] Operation: 86/43=2
Exploring Operation: 86-43=43, Resulting Numbers: [3, 8, 43]
Generated Node #0,3: 54:[3, 8, 43] Operation: 86-43=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[3, 8, 2], Operations: ['86/43=2']
Exploring Operation: 8-3=5, Resulting Numbers: [2, 5]
Generated Node #0,2,0: 54:[2, 5] Operation: 8-3=5
Exploring Operation: 3*2=6, Resulting Numbers: [8, 6]
Generated Node #0,2,1: 54:[8, 6] Operation: 3*2=6
Exploring Operation: 8+2=10, Resulting Numbers: [3, 10]
Generated Node #0,2,2: 54:[3, 10] Operation: 8+2=10
Exploring Operation: 8-2=6, Resulting Numbers: [3, 6]
Generated Node #0,2,3: 54:[3, 6] Operation: 8-2=6
Moving to Node #0,2,3
Current State: 54:[3, 6], Operations: ['86/43=2', '8-2=6']
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
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
Moving to Node #0,2,1
Current State: 54:[8, 6], Operations: ['86/43=2', '3*2=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[2, 5], Operations: ['86/43=2', '8-3=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[3, 10], Operations: ['86/43=2', '8+2=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,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:[3, 8, 43], Operations: ['86-43=43']
Exploring Operation: 3+43=46, Resulting Numbers: [8, 46]
Generated Node #0,3,0: 54:[8, 46] Operation: 3+43=46
Exploring Operation: 43-8=35, Resulting Numbers: [3, 35]
Generated Node #0,3,1: 54:[3, 35] Operation: 43-8=35
Exploring Operation: 8-3=5, Resulting Numbers: [43, 5]
Generated Node #0,3,2: 54:[43, 5] Operation: 8-3=5
Exploring Operation: 8+43=51, Resulting Numbers: [3, 51]
Generated Node #0,3,3: 54:[3, 51] Operation: 8+43=51
Moving to Node #0,3,3
Current State: 54:[3, 51], Operations: ['86-43=43', '8+43=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[43, 86, 3, 8], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [3, 8, 43]
Generated Node #0,3: 54:[3, 8, 43] Operation: 86-43=43
Moving to Node #0,3
Current State: 54:[3, 8, 43], Operations: ['86-43=43']
Exploring Operation: 8+43=51, Resulting Numbers: [3, 51]
Generated Node #0,3,3: 54:[3, 51] Operation: 8+43=51
Moving to Node #0,3,3
Current State: 54:[3, 51], Operations: ['86-43=43', '8+43=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
45,
20,
89,
50
] | 85 | [
"50-45=5",
"20/5=4",
"89-4=85"
] | Current State: 85:[45, 20, 89, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [20, 89, 5]
Generated Node #2: [20, 89, 5] from Operation: 50-45=5
Current State: 85:[20, 89, 5], Operations: ['50-45=5']
Exploring Operation: 20/5=4, Resulting Numbers: [89, 4]
Generated Node #3: [89, 4] from Operation: 20/5=4
Current State: 85:[89, 4], Operations: ['50-45=5', '20/5=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[45, 20, 89, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [20, 89, 5]
Generated Node #0,0: 85:[20, 89, 5] Operation: 50-45=5
Exploring Operation: 45-20=25, Resulting Numbers: [89, 50, 25]
Generated Node #0,1: 85:[89, 50, 25] Operation: 45-20=25
Exploring Operation: 45+50=95, Resulting Numbers: [20, 89, 95]
Generated Node #0,2: 85:[20, 89, 95] Operation: 45+50=95
Moving to Node #0,0
Current State: 85:[20, 89, 5], Operations: ['50-45=5']
Exploring Operation: 89-5=84, Resulting Numbers: [20, 84]
Generated Node #0,0,0: 85:[20, 84] Operation: 89-5=84
Exploring Operation: 20/5=4, Resulting Numbers: [89, 4]
Generated Node #0,0,1: 85:[89, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [89, 15]
Generated Node #0,0,2: 85:[89, 15] Operation: 20-5=15
Moving to Node #0,2
Current State: 85:[20, 89, 95], Operations: ['45+50=95']
Exploring Operation: 95-89=6, Resulting Numbers: [20, 6]
Generated Node #0,2,0: 85:[20, 6] Operation: 95-89=6
Exploring Operation: 89-20=69, Resulting Numbers: [95, 69]
Generated Node #0,2,1: 85:[95, 69] Operation: 89-20=69
Exploring Operation: 95-20=75, Resulting Numbers: [89, 75]
Generated Node #0,2,2: 85:[89, 75] Operation: 95-20=75
Moving to Node #0,1
Current State: 85:[89, 50, 25], Operations: ['45-20=25']
Exploring Operation: 50-25=25, Resulting Numbers: [89, 25]
Generated Node #0,1,0: 85:[89, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [89, 2]
Generated Node #0,1,1: 85:[89, 2] Operation: 50/25=2
Exploring Operation: 50+25=75, Resulting Numbers: [89, 75]
Generated Node #0,1,2: 85:[89, 75] Operation: 50+25=75
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[89, 2], Operations: ['45-20=25', '50/25=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,85 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,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,0
Current State: 85:[89, 25], Operations: ['45-20=25', '50-25=25']
Exploring Operation: 89+25=114, Resulting Numbers: [114]
114,85 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 89*25=2225, Resulting Numbers: [2225]
2225,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:[89, 75], Operations: ['45-20=25', '50+25=75']
Exploring Operation: 89+75=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 89*75=6675, Resulting Numbers: [6675]
6675,85 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: 85:[20, 84], Operations: ['50-45=5', '89-5=84']
Exploring Operation: 20+84=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 20*84=1680, Resulting Numbers: [1680]
1680,85 unequal: No Solution
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[20, 6], Operations: ['45+50=95', '95-89=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[89, 4], Operations: ['50-45=5', '20/5=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[45, 20, 89, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [20, 89, 5]
Generated Node #0,0: 85:[20, 89, 5] Operation: 50-45=5
Moving to Node #0,0
Current State: 85:[20, 89, 5], Operations: ['50-45=5']
Exploring Operation: 20/5=4, Resulting Numbers: [89, 4]
Generated Node #0,0,1: 85:[89, 4] Operation: 20/5=4
Moving to Node #0,0,1
Current State: 85:[89, 4], Operations: ['50-45=5', '20/5=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.971354 | hs_3 | sum_heuristic |
[
76,
61,
5,
7
] | 82 | [
"76-61=15",
"5*15=75",
"7+75=82"
] | Current State: 82:[76, 61, 5, 7], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [5, 7, 15]
Generated Node #2: [5, 7, 15] from Operation: 76-61=15
Current State: 82:[5, 7, 15], Operations: ['76-61=15']
Exploring Operation: 5*15=75, Resulting Numbers: [7, 75]
Generated Node #3: [7, 75] from Operation: 5*15=75
Current State: 82:[7, 75], Operations: ['76-61=15', '5*15=75']
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[76, 61, 5, 7], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [5, 7, 15]
Generated Node #0,0: 82:[5, 7, 15] Operation: 76-61=15
Moving to Node #0,0
Current State: 82:[5, 7, 15], Operations: ['76-61=15']
Exploring Operation: 15/5=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 82:[7, 3] Operation: 15/5=3
Moving to Node #0,0,0
Current State: 82:[7, 3], Operations: ['76-61=15', '15/5=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,82 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
54,
82,
4
] | 47 | [
"52+54=106",
"82+106=188",
"188/4=47"
] | Current State: 47:[52, 54, 82, 4], Operations: []
Exploring Operation: 52+54=106, Resulting Numbers: [82, 4, 106]
Generated Node #2: [82, 4, 106] from Operation: 52+54=106
Current State: 47:[82, 4, 106], Operations: ['52+54=106']
Exploring Operation: 82+106=188, Resulting Numbers: [4, 188]
Generated Node #3: [4, 188] from Operation: 82+106=188
Current State: 47:[4, 188], Operations: ['52+54=106', '82+106=188']
Exploring Operation: 188/4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[52, 54, 82, 4], Operations: []
Exploring Operation: 52+4=56, Resulting Numbers: [54, 82, 56]
Generated Node #0,0: 47:[54, 82, 56] Operation: 52+4=56
Exploring Operation: 54+4=58, Resulting Numbers: [52, 82, 58]
Generated Node #0,1: 47:[52, 82, 58] Operation: 54+4=58
Exploring Operation: 52-4=48, Resulting Numbers: [54, 82, 48]
Generated Node #0,2: 47:[54, 82, 48] Operation: 52-4=48
Exploring Operation: 54-4=50, Resulting Numbers: [52, 82, 50]
Generated Node #0,3: 47:[52, 82, 50] Operation: 54-4=50
Exploring Operation: 82-4=78, Resulting Numbers: [52, 54, 78]
Generated Node #0,4: 47:[52, 54, 78] Operation: 82-4=78
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[54, 82, 48], Operations: ['52-4=48']
Exploring Operation: 54+48=102, Resulting Numbers: [82, 102]
Generated Node #0,2,0: 47:[82, 102] Operation: 54+48=102
Exploring Operation: 82-48=34, Resulting Numbers: [54, 34]
Generated Node #0,2,1: 47:[54, 34] Operation: 82-48=34
Exploring Operation: 54-48=6, Resulting Numbers: [82, 6]
Generated Node #0,2,2: 47:[82, 6] Operation: 54-48=6
Exploring Operation: 82-54=28, Resulting Numbers: [48, 28]
Generated Node #0,2,3: 47:[48, 28] Operation: 82-54=28
Exploring Operation: 54+82=136, Resulting Numbers: [48, 136]
Generated Node #0,2,4: 47:[48, 136] Operation: 54+82=136
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[54, 34], Operations: ['52-4=48', '82-48=34']
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,47 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,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,2,3
Current State: 47:[48, 28], Operations: ['52-4=48', '82-54=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,47 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,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,2,2
Current State: 47:[82, 6], Operations: ['52-4=48', '54-48=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,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,2,0
Current State: 47:[82, 102], Operations: ['52-4=48', '54+48=102']
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,47 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,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,2,4
Current State: 47:[48, 136], Operations: ['52-4=48', '54+82=136']
Exploring Operation: 48*136=6528, Resulting Numbers: [6528]
6528,47 unequal: No Solution
Exploring Operation: 136-48=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 48+136=184, Resulting Numbers: [184]
184,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[52, 82, 50], Operations: ['54-4=50']
Exploring Operation: 52-50=2, Resulting Numbers: [82, 2]
Generated Node #0,3,0: 47:[82, 2] Operation: 52-50=2
Exploring Operation: 52+82=134, Resulting Numbers: [50, 134]
Generated Node #0,3,1: 47:[50, 134] Operation: 52+82=134
Exploring Operation: 82-52=30, Resulting Numbers: [50, 30]
Generated Node #0,3,2: 47:[50, 30] Operation: 82-52=30
Exploring Operation: 52+50=102, Resulting Numbers: [82, 102]
Generated Node #0,3,3: 47:[82, 102] Operation: 52+50=102
Exploring Operation: 82-50=32, Resulting Numbers: [52, 32]
Generated Node #0,3,4: 47:[52, 32] Operation: 82-50=32
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[50, 30], Operations: ['54-4=50', '82-52=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,47 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,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,3,4
Current State: 47:[52, 32], Operations: ['54-4=50', '82-50=32']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,47 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,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,3,0
Current State: 47:[82, 2], Operations: ['54-4=50', '52-50=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,47 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,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,3,1
Current State: 47:[50, 134], Operations: ['54-4=50', '52+82=134']
Exploring Operation: 50+134=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 50*134=6700, Resulting Numbers: [6700]
6700,47 unequal: No Solution
Exploring Operation: 134-50=84, Resulting Numbers: [84]
84,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,3,3
Current State: 47:[82, 102], Operations: ['54-4=50', '52+50=102']
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[52, 54, 78], Operations: ['82-4=78']
Exploring Operation: 54-52=2, Resulting Numbers: [78, 2]
Generated Node #0,4,0: 47:[78, 2] Operation: 54-52=2
Exploring Operation: 78-52=26, Resulting Numbers: [54, 26]
Generated Node #0,4,1: 47:[54, 26] Operation: 78-52=26
Exploring Operation: 52+54=106, Resulting Numbers: [78, 106]
Generated Node #0,4,2: 47:[78, 106] Operation: 52+54=106
Exploring Operation: 52+78=130, Resulting Numbers: [54, 130]
Generated Node #0,4,3: 47:[54, 130] Operation: 52+78=130
Exploring Operation: 78-54=24, Resulting Numbers: [52, 24]
Generated Node #0,4,4: 47:[52, 24] Operation: 78-54=24
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 47:[54, 26], Operations: ['82-4=78', '78-52=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,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,4,4
Current State: 47:[52, 24], Operations: ['82-4=78', '78-54=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,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,4,0
Current State: 47:[78, 2], Operations: ['82-4=78', '54-52=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,47 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,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,4,2
Current State: 47:[78, 106], Operations: ['82-4=78', '52+54=106']
Exploring Operation: 78+106=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 106-78=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 78*106=8268, Resulting Numbers: [8268]
8268,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,4,3
Current State: 47:[54, 130], Operations: ['82-4=78', '52+78=130']
Exploring Operation: 130-54=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 54*130=7020, Resulting Numbers: [7020]
7020,47 unequal: No Solution
Exploring Operation: 54+130=184, Resulting Numbers: [184]
184,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[54, 82, 56], Operations: ['52+4=56']
Exploring Operation: 82-54=28, Resulting Numbers: [56, 28]
Generated Node #0,0,0: 47:[56, 28] Operation: 82-54=28
Exploring Operation: 54+56=110, Resulting Numbers: [82, 110]
Generated Node #0,0,1: 47:[82, 110] Operation: 54+56=110
Exploring Operation: 54+82=136, Resulting Numbers: [56, 136]
Generated Node #0,0,2: 47:[56, 136] Operation: 54+82=136
Exploring Operation: 56-54=2, Resulting Numbers: [82, 2]
Generated Node #0,0,3: 47:[82, 2] Operation: 56-54=2
Exploring Operation: 82-56=26, Resulting Numbers: [54, 26]
Generated Node #0,0,4: 47:[54, 26] Operation: 82-56=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[56, 28], Operations: ['52+4=56', '82-54=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,47 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,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,4
Current State: 47:[54, 26], Operations: ['52+4=56', '82-56=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,47 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,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,3
Current State: 47:[82, 2], Operations: ['52+4=56', '56-54=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,47 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,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:[82, 110], Operations: ['52+4=56', '54+56=110']
Exploring Operation: 82*110=9020, Resulting Numbers: [9020]
9020,47 unequal: No Solution
Exploring Operation: 110-82=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 82+110=192, Resulting Numbers: [192]
192,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,2
Current State: 47:[56, 136], Operations: ['52+4=56', '54+82=136']
Exploring Operation: 136-56=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 56+136=192, Resulting Numbers: [192]
192,47 unequal: No Solution
Exploring Operation: 56*136=7616, Resulting Numbers: [7616]
7616,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[52, 82, 58], Operations: ['54+4=58']
Exploring Operation: 52+82=134, Resulting Numbers: [58, 134]
Generated Node #0,1,0: 47:[58, 134] Operation: 52+82=134
Exploring Operation: 82-52=30, Resulting Numbers: [58, 30]
Generated Node #0,1,1: 47:[58, 30] Operation: 82-52=30
Exploring Operation: 82-58=24, Resulting Numbers: [52, 24]
Generated Node #0,1,2: 47:[52, 24] Operation: 82-58=24
Exploring Operation: 58-52=6, Resulting Numbers: [82, 6]
Generated Node #0,1,3: 47:[82, 6] Operation: 58-52=6
Exploring Operation: 52+58=110, Resulting Numbers: [82, 110]
Generated Node #0,1,4: 47:[82, 110] Operation: 52+58=110
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[58, 30], Operations: ['54+4=58', '82-52=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,47 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,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,1,2
Current State: 47:[52, 24], Operations: ['54+4=58', '82-58=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,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,1,3
Current State: 47:[82, 6], Operations: ['54+4=58', '58-52=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,47 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,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,1,0
Current State: 47:[58, 134], Operations: ['54+4=58', '52+82=134']
Exploring Operation: 134-58=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 58*134=7772, Resulting Numbers: [7772]
7772,47 unequal: No Solution
Exploring Operation: 58+134=192, Resulting Numbers: [192]
192,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,1,4
Current State: 47:[82, 110], Operations: ['54+4=58', '52+58=110']
Exploring Operation: 110-82=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 82+110=192, Resulting Numbers: [192]
192,47 unequal: No Solution
Exploring Operation: 82*110=9020, Resulting Numbers: [9020]
9020,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_5 | sum_heuristic |
[
13,
69,
63,
71
] | 38 | [
"13+63=76",
"71-69=2",
"76/2=38"
] | Current State: 38:[13, 69, 63, 71], Operations: []
Exploring Operation: 13+63=76, Resulting Numbers: [69, 71, 76]
Generated Node #2: [69, 71, 76] from Operation: 13+63=76
Current State: 38:[69, 71, 76], Operations: ['13+63=76']
Exploring Operation: 71-69=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 71-69=2
Current State: 38:[76, 2], Operations: ['13+63=76', '71-69=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[13, 69, 63, 71], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [13, 69, 8]
Generated Node #0,0: 38:[13, 69, 8] Operation: 71-63=8
Exploring Operation: 69-13=56, Resulting Numbers: [63, 71, 56]
Generated Node #0,1: 38:[63, 71, 56] Operation: 69-13=56
Exploring Operation: 71-69=2, Resulting Numbers: [13, 63, 2]
Generated Node #0,2: 38:[13, 63, 2] Operation: 71-69=2
Exploring Operation: 69-63=6, Resulting Numbers: [13, 71, 6]
Generated Node #0,3: 38:[13, 71, 6] Operation: 69-63=6
Moving to Node #0,2
Current State: 38:[13, 63, 2], Operations: ['71-69=2']
Exploring Operation: 13+2=15, Resulting Numbers: [63, 15]
Generated Node #0,2,0: 38:[63, 15] Operation: 13+2=15
Exploring Operation: 63-2=61, Resulting Numbers: [13, 61]
Generated Node #0,2,1: 38:[13, 61] Operation: 63-2=61
Exploring Operation: 13*2=26, Resulting Numbers: [63, 26]
Generated Node #0,2,2: 38:[63, 26] Operation: 13*2=26
Exploring Operation: 63-13=50, Resulting Numbers: [2, 50]
Generated Node #0,2,3: 38:[2, 50] Operation: 63-13=50
Moving to Node #0,3
Current State: 38:[13, 71, 6], Operations: ['69-63=6']
Exploring Operation: 71-13=58, Resulting Numbers: [6, 58]
Generated Node #0,3,0: 38:[6, 58] Operation: 71-13=58
Exploring Operation: 71-6=65, Resulting Numbers: [13, 65]
Generated Node #0,3,1: 38:[13, 65] Operation: 71-6=65
Exploring Operation: 13+6=19, Resulting Numbers: [71, 19]
Generated Node #0,3,2: 38:[71, 19] Operation: 13+6=19
Exploring Operation: 13-6=7, Resulting Numbers: [71, 7]
Generated Node #0,3,3: 38:[71, 7] Operation: 13-6=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[6, 58], Operations: ['69-63=6', '71-13=58']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,38 unequal: No Solution
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,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,3,1
Current State: 38:[13, 65], Operations: ['69-63=6', '71-6=65']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,38 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,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,3,2
Current State: 38:[71, 19], Operations: ['69-63=6', '13+6=19']
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,38 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,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,3,3
Current State: 38:[71, 7], Operations: ['69-63=6', '13-6=7']
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,38 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,38 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: 38:[13, 69, 8], Operations: ['71-63=8']
Exploring Operation: 13-8=5, Resulting Numbers: [69, 5]
Generated Node #0,0,0: 38:[69, 5] Operation: 13-8=5
Exploring Operation: 69-8=61, Resulting Numbers: [13, 61]
Generated Node #0,0,1: 38:[13, 61] Operation: 69-8=61
Exploring Operation: 69-13=56, Resulting Numbers: [8, 56]
Generated Node #0,0,2: 38:[8, 56] Operation: 69-13=56
Exploring Operation: 13+8=21, Resulting Numbers: [69, 21]
Generated Node #0,0,3: 38:[69, 21] Operation: 13+8=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[8, 56], Operations: ['71-63=8', '69-13=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,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,0,1
Current State: 38:[13, 61], Operations: ['71-63=8', '69-8=61']
Exploring Operation: 13+61=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 13*61=793, Resulting Numbers: [793]
793,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,0,3
Current State: 38:[69, 21], Operations: ['71-63=8', '13+8=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,38 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,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,0,0
Current State: 38:[69, 5], Operations: ['71-63=8', '13-8=5']
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,38 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,38 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: 38:[63, 71, 56], Operations: ['69-13=56']
Exploring Operation: 71-56=15, Resulting Numbers: [63, 15]
Generated Node #0,1,0: 38:[63, 15] Operation: 71-56=15
Exploring Operation: 63-56=7, Resulting Numbers: [71, 7]
Generated Node #0,1,1: 38:[71, 7] Operation: 63-56=7
Exploring Operation: 71-63=8, Resulting Numbers: [56, 8]
Generated Node #0,1,2: 38:[56, 8] Operation: 71-63=8
Exploring Operation: 63+71=134, Resulting Numbers: [56, 134]
Generated Node #0,1,3: 38:[56, 134] Operation: 63+71=134
Moving to Node #0,2,3
Current State: 38:[2, 50], Operations: ['71-69=2', '63-13=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[56, 8], Operations: ['69-13=56', '71-63=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,38 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[13, 61], Operations: ['71-69=2', '63-2=61']
Exploring Operation: 13*61=793, Resulting Numbers: [793]
793,38 unequal: No Solution
Exploring Operation: 13+61=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[63, 15], Operations: ['69-13=56', '71-56=15']
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,38 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[63, 15], Operations: ['71-69=2', '13+2=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,38 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[63, 26], Operations: ['71-69=2', '13*2=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,38 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[71, 7], Operations: ['69-13=56', '63-56=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[56, 134], Operations: ['69-13=56', '63+71=134']
Exploring Operation: 56+134=190, Resulting Numbers: [190]
190,38 unequal: No Solution
Exploring Operation: 56*134=7504, Resulting Numbers: [7504]
7504,38 unequal: No Solution
Exploring Operation: 134-56=78, Resulting Numbers: [78]
78,38 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
37,
40,
75
] | 75 | [
"3+37=40",
"40+75=115",
"115-40=75"
] | Current State: 75:[3, 37, 40, 75], Operations: []
Exploring Operation: 3+37=40, Resulting Numbers: [40, 75, 40]
Generated Node #2: [40, 75, 40] from Operation: 3+37=40
Current State: 75:[40, 75, 40], Operations: ['3+37=40']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,75 equal: Goal Reached
Exploring Operation: 115-40=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 37, 40, 75], Operations: []
Exploring Operation: 37-3=34, Resulting Numbers: [40, 75, 34]
Generated Node #0,0: 75:[40, 75, 34] Operation: 37-3=34
Exploring Operation: 40-37=3, Resulting Numbers: [3, 75, 3]
Generated Node #0,1: 75:[3, 75, 3] Operation: 40-37=3
Exploring Operation: 37+40=77, Resulting Numbers: [3, 75, 77]
Generated Node #0,2: 75:[3, 75, 77] Operation: 37+40=77
Exploring Operation: 75-40=35, Resulting Numbers: [3, 37, 35]
Generated Node #0,3: 75:[3, 37, 35] Operation: 75-40=35
Moving to Node #0,1
Current State: 75:[3, 75, 3], Operations: ['40-37=3']
Exploring Operation: 75/3=25, Resulting Numbers: [3, 25]
Generated Node #0,1,0: 75:[3, 25] Operation: 75/3=25
Exploring Operation: 3+3=6, Resulting Numbers: [75, 6]
Generated Node #0,1,1: 75:[75, 6] Operation: 3+3=6
Exploring Operation: 75/3=25, Resulting Numbers: [3, 25]
Generated Node #0,1,2: 75:[3, 25] Operation: 75/3=25
Exploring Operation: 3/3=1, Resulting Numbers: [75, 1]
Generated Node #0,1,3: 75:[75, 1] Operation: 3/3=1
Moving to Node #0,2
Current State: 75:[3, 75, 77], Operations: ['37+40=77']
Exploring Operation: 77-3=74, Resulting Numbers: [75, 74]
Generated Node #0,2,0: 75:[75, 74] Operation: 77-3=74
Exploring Operation: 75/3=25, Resulting Numbers: [77, 25]
Generated Node #0,2,1: 75:[77, 25] Operation: 75/3=25
Exploring Operation: 3+75=78, Resulting Numbers: [77, 78]
Generated Node #0,2,2: 75:[77, 78] Operation: 3+75=78
Exploring Operation: 77-75=2, Resulting Numbers: [3, 2]
Generated Node #0,2,3: 75:[3, 2] Operation: 77-75=2
Moving to Node #0,3
Current State: 75:[3, 37, 35], Operations: ['75-40=35']
Exploring Operation: 37-3=34, Resulting Numbers: [35, 34]
Generated Node #0,3,0: 75:[35, 34] Operation: 37-3=34
Exploring Operation: 37+35=72, Resulting Numbers: [3, 72]
Generated Node #0,3,1: 75:[3, 72] Operation: 37+35=72
Exploring Operation: 37-35=2, Resulting Numbers: [3, 2]
Generated Node #0,3,2: 75:[3, 2] Operation: 37-35=2
Exploring Operation: 35-3=32, Resulting Numbers: [37, 32]
Generated Node #0,3,3: 75:[37, 32] Operation: 35-3=32
Moving to Node #0,0
Current State: 75:[40, 75, 34], Operations: ['37-3=34']
Exploring Operation: 75-40=35, Resulting Numbers: [34, 35]
Generated Node #0,0,0: 75:[34, 35] Operation: 75-40=35
Exploring Operation: 75-34=41, Resulting Numbers: [40, 41]
Generated Node #0,0,1: 75:[40, 41] Operation: 75-34=41
Exploring Operation: 40-34=6, Resulting Numbers: [75, 6]
Generated Node #0,0,2: 75:[75, 6] Operation: 40-34=6
Exploring Operation: 40+34=74, Resulting Numbers: [75, 74]
Generated Node #0,0,3: 75:[75, 74] Operation: 40+34=74
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[75, 6], Operations: ['37-3=34', '40-34=6']
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,75 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[75, 74], Operations: ['37-3=34', '40+34=74']
Exploring Operation: 75+74=149, Resulting Numbers: [149]
149,75 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 75*74=5550, Resulting Numbers: [5550]
5550,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[34, 35], Operations: ['37-3=34', '75-40=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,75 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[40, 41], Operations: ['37-3=34', '75-34=41']
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,75 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,75 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: 75:[3, 25], Operations: ['40-37=3', '75/3=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[3, 37, 40, 75], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [3, 75, 3]
Generated Node #0,1: 75:[3, 75, 3] Operation: 40-37=3
Moving to Node #0,1
Current State: 75:[3, 75, 3], Operations: ['40-37=3']
Exploring Operation: 75/3=25, Resulting Numbers: [3, 25]
Generated Node #0,1,0: 75:[3, 25] Operation: 75/3=25
Moving to Node #0,1,0
Current State: 75:[3, 25], Operations: ['40-37=3', '75/3=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
8,
44,
66,
11
] | 64 | [
"8*11=88",
"88/44=2",
"66-2=64"
] | Current State: 64:[8, 44, 66, 11], Operations: []
Exploring Operation: 8*11=88, Resulting Numbers: [44, 66, 88]
Generated Node #2: [44, 66, 88] from Operation: 8*11=88
Current State: 64:[44, 66, 88], Operations: ['8*11=88']
Exploring Operation: 88/44=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 88/44=2
Current State: 64:[66, 2], Operations: ['8*11=88', '88/44=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 44, 66, 11], Operations: []
Exploring Operation: 44-8=36, Resulting Numbers: [66, 11, 36]
Generated Node #0,0: 64:[66, 11, 36] Operation: 44-8=36
Exploring Operation: 44-11=33, Resulting Numbers: [8, 66, 33]
Generated Node #0,1: 64:[8, 66, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [8, 66, 4]
Generated Node #0,2: 64:[8, 66, 4] Operation: 44/11=4
Exploring Operation: 66-44=22, Resulting Numbers: [8, 11, 22]
Generated Node #0,3: 64:[8, 11, 22] Operation: 66-44=22
Moving to Node #0,2
Current State: 64:[8, 66, 4], Operations: ['44/11=4']
Exploring Operation: 8-4=4, Resulting Numbers: [66, 4]
Generated Node #0,2,0: 64:[66, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [66, 2]
Generated Node #0,2,1: 64:[66, 2] Operation: 8/4=2
Exploring Operation: 66-4=62, Resulting Numbers: [8, 62]
Generated Node #0,2,2: 64:[8, 62] Operation: 66-4=62
Exploring Operation: 8*4=32, Resulting Numbers: [66, 32]
Generated Node #0,2,3: 64:[66, 32] Operation: 8*4=32
Moving to Node #0,1
Current State: 64:[8, 66, 33], Operations: ['44-11=33']
Exploring Operation: 33-8=25, Resulting Numbers: [66, 25]
Generated Node #0,1,0: 64:[66, 25] Operation: 33-8=25
Exploring Operation: 66-8=58, Resulting Numbers: [33, 58]
Generated Node #0,1,1: 64:[33, 58] Operation: 66-8=58
Exploring Operation: 66/33=2, Resulting Numbers: [8, 2]
Generated Node #0,1,2: 64:[8, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [8, 33]
Generated Node #0,1,3: 64:[8, 33] Operation: 66-33=33
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[8, 2], Operations: ['44-11=33', '66/33=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,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:[8, 33], Operations: ['44-11=33', '66-33=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,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,1
Current State: 64:[33, 58], Operations: ['44-11=33', '66-8=58']
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,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:[66, 25], Operations: ['44-11=33', '33-8=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,64 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,64 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: 64:[8, 11, 22], Operations: ['66-44=22']
Exploring Operation: 11+22=33, Resulting Numbers: [8, 33]
Generated Node #0,3,0: 64:[8, 33] Operation: 11+22=33
Exploring Operation: 8+22=30, Resulting Numbers: [11, 30]
Generated Node #0,3,1: 64:[11, 30] Operation: 8+22=30
Exploring Operation: 22-11=11, Resulting Numbers: [8, 11]
Generated Node #0,3,2: 64:[8, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [8, 2]
Generated Node #0,3,3: 64:[8, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[8, 2], Operations: ['66-44=22', '22/11=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,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,3,0
Current State: 64:[8, 33], Operations: ['66-44=22', '11+22=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,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,3,2
Current State: 64:[8, 11], Operations: ['66-44=22', '22-11=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,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,3,1
Current State: 64:[11, 30], Operations: ['66-44=22', '8+22=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,64 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,64 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: 64:[66, 11, 36], Operations: ['44-8=36']
Exploring Operation: 66/11=6, Resulting Numbers: [36, 6]
Generated Node #0,0,0: 64:[36, 6] Operation: 66/11=6
Exploring Operation: 66-11=55, Resulting Numbers: [36, 55]
Generated Node #0,0,1: 64:[36, 55] Operation: 66-11=55
Exploring Operation: 36-11=25, Resulting Numbers: [66, 25]
Generated Node #0,0,2: 64:[66, 25] Operation: 36-11=25
Exploring Operation: 66-36=30, Resulting Numbers: [11, 30]
Generated Node #0,0,3: 64:[11, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[11, 30], Operations: ['44-8=36', '66-36=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,64 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,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,0,0
Current State: 64:[36, 6], Operations: ['44-8=36', '66/11=6']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,64 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,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,0,2
Current State: 64:[66, 25], Operations: ['44-8=36', '36-11=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,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,0,1
Current State: 64:[36, 55], Operations: ['44-8=36', '66-11=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 64:[66, 4], Operations: ['44/11=4', '8-4=4']
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,64 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[8, 62], Operations: ['44/11=4', '66-4=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[66, 2], Operations: ['44/11=4', '8/4=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[8, 44, 66, 11], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [8, 66, 4]
Generated Node #0,2: 64:[8, 66, 4] Operation: 44/11=4
Moving to Node #0,2
Current State: 64:[8, 66, 4], Operations: ['44/11=4']
Exploring Operation: 8/4=2, Resulting Numbers: [66, 2]
Generated Node #0,2,1: 64:[66, 2] Operation: 8/4=2
Moving to Node #0,2,1
Current State: 64:[66, 2], Operations: ['44/11=4', '8/4=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.938368 | hs_4 | mult_heuristic |
[
66,
77,
81,
24
] | 38 | [
"66+77=143",
"81+24=105",
"143-105=38"
] | Current State: 38:[66, 77, 81, 24], Operations: []
Exploring Operation: 66+77=143, Resulting Numbers: [81, 24, 143]
Generated Node #2: [81, 24, 143] from Operation: 66+77=143
Current State: 38:[81, 24, 143], Operations: ['66+77=143']
Exploring Operation: 81+24=105, Resulting Numbers: [143, 105]
Generated Node #3: [143, 105] from Operation: 81+24=105
Current State: 38:[143, 105], Operations: ['66+77=143', '81+24=105']
Exploring Operation: 143-105=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[66, 77, 81, 24], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [77, 24, 15]
Generated Node #0,0: 38:[77, 24, 15] Operation: 81-66=15
Exploring Operation: 66-24=42, Resulting Numbers: [77, 81, 42]
Generated Node #0,1: 38:[77, 81, 42] Operation: 66-24=42
Exploring Operation: 81-77=4, Resulting Numbers: [66, 24, 4]
Generated Node #0,2: 38:[66, 24, 4] Operation: 81-77=4
Exploring Operation: 77-66=11, Resulting Numbers: [81, 24, 11]
Generated Node #0,3: 38:[81, 24, 11] Operation: 77-66=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[66, 24, 4], Operations: ['81-77=4']
Exploring Operation: 24/4=6, Resulting Numbers: [66, 6]
Generated Node #0,2,0: 38:[66, 6] Operation: 24/4=6
Exploring Operation: 66-24=42, Resulting Numbers: [4, 42]
Generated Node #0,2,1: 38:[4, 42] Operation: 66-24=42
Exploring Operation: 66-4=62, Resulting Numbers: [24, 62]
Generated Node #0,2,2: 38:[24, 62] Operation: 66-4=62
Exploring Operation: 24-4=20, Resulting Numbers: [66, 20]
Generated Node #0,2,3: 38:[66, 20] Operation: 24-4=20
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[4, 42], Operations: ['81-77=4', '66-24=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[66, 77, 81, 24], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [66, 24, 4]
Generated Node #0,2: 38:[66, 24, 4] Operation: 81-77=4
Moving to Node #0,2
Current State: 38:[66, 24, 4], Operations: ['81-77=4']
Exploring Operation: 66-24=42, Resulting Numbers: [4, 42]
Generated Node #0,2,1: 38:[4, 42] Operation: 66-24=42
Moving to Node #0,2,1
Current State: 38:[4, 42], Operations: ['81-77=4', '66-24=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
87,
97,
82,
10
] | 81 | [
"97-87=10",
"10/10=1",
"82-1=81"
] | Current State: 81:[87, 97, 82, 10], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [82, 10, 10]
Generated Node #2: [82, 10, 10] from Operation: 97-87=10
Current State: 81:[82, 10, 10], Operations: ['97-87=10']
Exploring Operation: 10/10=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 10/10=1
Current State: 81:[82, 1], Operations: ['97-87=10', '10/10=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[87, 97, 82, 10], Operations: []
Exploring Operation: 97-10=87, Resulting Numbers: [87, 82, 87]
Generated Node #0,0: 81:[87, 82, 87] Operation: 97-10=87
Exploring Operation: 97-87=10, Resulting Numbers: [82, 10, 10]
Generated Node #0,1: 81:[82, 10, 10] Operation: 97-87=10
Exploring Operation: 97-82=15, Resulting Numbers: [87, 10, 15]
Generated Node #0,2: 81:[87, 10, 15] Operation: 97-82=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[82, 10, 10], Operations: ['97-87=10']
Exploring Operation: 10+10=20, Resulting Numbers: [82, 20]
Generated Node #0,1,0: 81:[82, 20] Operation: 10+10=20
Exploring Operation: 10-10=0, Resulting Numbers: [82, 0]
Generated Node #0,1,1: 81:[82, 0] Operation: 10-10=0
Exploring Operation: 10/10=1, Resulting Numbers: [82, 1]
Generated Node #0,1,2: 81:[82, 1] Operation: 10/10=1
Moving to Node #0,1,2
Current State: 81:[82, 1], Operations: ['97-87=10', '10/10=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[87, 97, 82, 10], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [82, 10, 10]
Generated Node #0,1: 81:[82, 10, 10] Operation: 97-87=10
Moving to Node #0,1
Current State: 81:[82, 10, 10], Operations: ['97-87=10']
Exploring Operation: 10/10=1, Resulting Numbers: [82, 1]
Generated Node #0,1,2: 81:[82, 1] Operation: 10/10=1
Moving to Node #0,1,2
Current State: 81:[82, 1], Operations: ['97-87=10', '10/10=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
73,
5,
26,
25
] | 70 | [
"73*25=1825",
"1825-5=1820",
"1820/26=70"
] | Current State: 70:[73, 5, 26, 25], Operations: []
Exploring Operation: 73*25=1825, Resulting Numbers: [5, 26, 1825]
Generated Node #2: [5, 26, 1825] from Operation: 73*25=1825
Current State: 70:[5, 26, 1825], Operations: ['73*25=1825']
Exploring Operation: 1825-5=1820, Resulting Numbers: [26, 1820]
Generated Node #3: [26, 1820] from Operation: 1825-5=1820
Current State: 70:[26, 1820], Operations: ['73*25=1825', '1825-5=1820']
Exploring Operation: 1820/26=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[73, 5, 26, 25], Operations: []
Exploring Operation: 5+25=30, Resulting Numbers: [73, 26, 30]
Generated Node #0,0: 70:[73, 26, 30] Operation: 5+25=30
Exploring Operation: 5+26=31, Resulting Numbers: [73, 25, 31]
Generated Node #0,1: 70:[73, 25, 31] Operation: 5+26=31
Exploring Operation: 25/5=5, Resulting Numbers: [73, 26, 5]
Generated Node #0,2: 70:[73, 26, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [73, 26, 20]
Generated Node #0,3: 70:[73, 26, 20] Operation: 25-5=20
Exploring Operation: 26-25=1, Resulting Numbers: [73, 5, 1]
Generated Node #0,4: 70:[73, 5, 1] Operation: 26-25=1
Moving to Node #0,4
Current State: 70:[73, 5, 1], Operations: ['26-25=1']
Exploring Operation: 73-5=68, Resulting Numbers: [1, 68]
Generated Node #0,4,0: 70:[1, 68] Operation: 73-5=68
Exploring Operation: 73*1=73, Resulting Numbers: [5, 73]
Generated Node #0,4,1: 70:[5, 73] Operation: 73*1=73
Exploring Operation: 73/1=73, Resulting Numbers: [5, 73]
Generated Node #0,4,2: 70:[5, 73] Operation: 73/1=73
Exploring Operation: 73-1=72, Resulting Numbers: [5, 72]
Generated Node #0,4,3: 70:[5, 72] Operation: 73-1=72
Exploring Operation: 5*1=5, Resulting Numbers: [73, 5]
Generated Node #0,4,4: 70:[73, 5] Operation: 5*1=5
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 70:[5, 72], Operations: ['26-25=1', '73-1=72']
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,70 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,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,4,0
Current State: 70:[1, 68], Operations: ['26-25=1', '73-5=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,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,4,1
Current State: 70:[5, 73], Operations: ['26-25=1', '73*1=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,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,4,2
Current State: 70:[5, 73], Operations: ['26-25=1', '73/1=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,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,4,4
Current State: 70:[73, 5], Operations: ['26-25=1', '5*1=5']
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,70 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 70:[73, 26, 5], Operations: ['25/5=5']
Exploring Operation: 73+5=78, Resulting Numbers: [26, 78]
Generated Node #0,2,0: 70:[26, 78] Operation: 73+5=78
Exploring Operation: 73-5=68, Resulting Numbers: [26, 68]
Generated Node #0,2,1: 70:[26, 68] Operation: 73-5=68
Exploring Operation: 26+5=31, Resulting Numbers: [73, 31]
Generated Node #0,2,2: 70:[73, 31] Operation: 26+5=31
Exploring Operation: 26-5=21, Resulting Numbers: [73, 21]
Generated Node #0,2,3: 70:[73, 21] Operation: 26-5=21
Exploring Operation: 73-26=47, Resulting Numbers: [5, 47]
Generated Node #0,2,4: 70:[5, 47] Operation: 73-26=47
Moving to Node #0,0
Current State: 70:[73, 26, 30], Operations: ['5+25=30']
Exploring Operation: 30-26=4, Resulting Numbers: [73, 4]
Generated Node #0,0,0: 70:[73, 4] Operation: 30-26=4
Exploring Operation: 26+30=56, Resulting Numbers: [73, 56]
Generated Node #0,0,1: 70:[73, 56] Operation: 26+30=56
Exploring Operation: 73-26=47, Resulting Numbers: [30, 47]
Generated Node #0,0,2: 70:[30, 47] Operation: 73-26=47
Exploring Operation: 73-30=43, Resulting Numbers: [26, 43]
Generated Node #0,0,3: 70:[26, 43] Operation: 73-30=43
Exploring Operation: 73+26=99, Resulting Numbers: [30, 99]
Generated Node #0,0,4: 70:[30, 99] Operation: 73+26=99
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[73, 4], Operations: ['5+25=30', '30-26=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,70 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,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,0,1
Current State: 70:[73, 56], Operations: ['5+25=30', '26+30=56']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 73*56=4088, Resulting Numbers: [4088]
4088,70 unequal: No Solution
Exploring Operation: 73+56=129, Resulting Numbers: [129]
129,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,0,2
Current State: 70:[30, 47], Operations: ['5+25=30', '73-26=47']
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,70 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,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,0,3
Current State: 70:[26, 43], Operations: ['5+25=30', '73-30=43']
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,70 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,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,0,4
Current State: 70:[30, 99], Operations: ['5+25=30', '73+26=99']
Exploring Operation: 30+99=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 30*99=2970, Resulting Numbers: [2970]
2970,70 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: 70:[73, 25, 31], Operations: ['5+26=31']
Exploring Operation: 73+25=98, Resulting Numbers: [31, 98]
Generated Node #0,1,0: 70:[31, 98] Operation: 73+25=98
Exploring Operation: 73-31=42, Resulting Numbers: [25, 42]
Generated Node #0,1,1: 70:[25, 42] Operation: 73-31=42
Exploring Operation: 31-25=6, Resulting Numbers: [73, 6]
Generated Node #0,1,2: 70:[73, 6] Operation: 31-25=6
Exploring Operation: 25+31=56, Resulting Numbers: [73, 56]
Generated Node #0,1,3: 70:[73, 56] Operation: 25+31=56
Exploring Operation: 73-25=48, Resulting Numbers: [31, 48]
Generated Node #0,1,4: 70:[31, 48] Operation: 73-25=48
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[73, 6], Operations: ['5+26=31', '31-25=6']
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,70 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[25, 42], Operations: ['5+26=31', '73-31=42']
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,70 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[73, 56], Operations: ['5+26=31', '25+31=56']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 73+56=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Exploring Operation: 73*56=4088, Resulting Numbers: [4088]
4088,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 70:[31, 48], Operations: ['5+26=31', '73-25=48']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,70 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[31, 98], Operations: ['5+26=31', '73+25=98']
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,70 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: 70:[73, 26, 20], Operations: ['25-5=20']
Exploring Operation: 26-20=6, Resulting Numbers: [73, 6]
Generated Node #0,3,0: 70:[73, 6] Operation: 26-20=6
Exploring Operation: 26+20=46, Resulting Numbers: [73, 46]
Generated Node #0,3,1: 70:[73, 46] Operation: 26+20=46
Exploring Operation: 73+20=93, Resulting Numbers: [26, 93]
Generated Node #0,3,2: 70:[26, 93] Operation: 73+20=93
Exploring Operation: 73-26=47, Resulting Numbers: [20, 47]
Generated Node #0,3,3: 70:[20, 47] Operation: 73-26=47
Exploring Operation: 73-20=53, Resulting Numbers: [26, 53]
Generated Node #0,3,4: 70:[26, 53] Operation: 73-20=53
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[73, 6], Operations: ['25-5=20', '26-20=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,70 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,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:[73, 46], Operations: ['25-5=20', '26+20=46']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,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:[20, 47], Operations: ['25-5=20', '73-26=47']
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,70 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No 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:[26, 53], Operations: ['25-5=20', '73-20=53']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,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,2
Current State: 70:[26, 93], Operations: ['25-5=20', '73+20=93']
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,70 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 70:[73, 31], Operations: ['25/5=5', '26+5=31']
Exploring Operation: 73+31=104, Resulting Numbers: [104]
104,70 unequal: No Solution
Exploring Operation: 73*31=2263, Resulting Numbers: [2263]
2263,70 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[73, 21], Operations: ['25/5=5', '26-5=21']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[26, 68], Operations: ['25/5=5', '73-5=68']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 26+68=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 26*68=1768, Resulting Numbers: [1768]
1768,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[5, 47], Operations: ['25/5=5', '73-26=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,70 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[26, 78], Operations: ['25/5=5', '73+5=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,70 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,70 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
86,
87,
89,
66
] | 51 | [
"89-86=3",
"87+66=153",
"153/3=51"
] | Current State: 51:[86, 87, 89, 66], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [87, 66, 3]
Generated Node #2: [87, 66, 3] from Operation: 89-86=3
Current State: 51:[87, 66, 3], Operations: ['89-86=3']
Exploring Operation: 87+66=153, Resulting Numbers: [3, 153]
Generated Node #3: [3, 153] from Operation: 87+66=153
Current State: 51:[3, 153], Operations: ['89-86=3', '87+66=153']
Exploring Operation: 153/3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[86, 87, 89, 66], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [86, 66, 2]
Generated Node #0,0: 51:[86, 66, 2] Operation: 89-87=2
Exploring Operation: 86-66=20, Resulting Numbers: [87, 89, 20]
Generated Node #0,1: 51:[87, 89, 20] Operation: 86-66=20
Exploring Operation: 87-86=1, Resulting Numbers: [89, 66, 1]
Generated Node #0,2: 51:[89, 66, 1] Operation: 87-86=1
Exploring Operation: 89-86=3, Resulting Numbers: [87, 66, 3]
Generated Node #0,3: 51:[87, 66, 3] Operation: 89-86=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[86, 66, 2], Operations: ['89-87=2']
Exploring Operation: 86-2=84, Resulting Numbers: [66, 84]
Generated Node #0,0,0: 51:[66, 84] Operation: 86-2=84
Exploring Operation: 86-66=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 51:[2, 20] Operation: 86-66=20
Exploring Operation: 86/2=43, Resulting Numbers: [66, 43]
Generated Node #0,0,2: 51:[66, 43] Operation: 86/2=43
Exploring Operation: 66-2=64, Resulting Numbers: [86, 64]
Generated Node #0,0,3: 51:[86, 64] Operation: 66-2=64
Moving to Node #0,0,1
Current State: 51:[2, 20], Operations: ['89-87=2', '86-66=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[66, 43], Operations: ['89-87=2', '86/2=43']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[86, 64], Operations: ['89-87=2', '66-2=64']
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[66, 84], Operations: ['89-87=2', '86-2=84']
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,51 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,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,3
Current State: 51:[87, 66, 3], Operations: ['89-86=3']
Exploring Operation: 66/3=22, Resulting Numbers: [87, 22]
Generated Node #0,3,0: 51:[87, 22] Operation: 66/3=22
Exploring Operation: 87-3=84, Resulting Numbers: [66, 84]
Generated Node #0,3,1: 51:[66, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [66, 29]
Generated Node #0,3,2: 51:[66, 29] Operation: 87/3=29
Exploring Operation: 87-66=21, Resulting Numbers: [3, 21]
Generated Node #0,3,3: 51:[3, 21] Operation: 87-66=21
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[3, 21], Operations: ['89-86=3', '87-66=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,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,3,2
Current State: 51:[66, 29], Operations: ['89-86=3', '87/3=29']
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,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,3,0
Current State: 51:[87, 22], Operations: ['89-86=3', '66/3=22']
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,51 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,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,3,1
Current State: 51:[66, 84], Operations: ['89-86=3', '87-3=84']
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,51 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,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,2
Current State: 51:[89, 66, 1], Operations: ['87-86=1']
Exploring Operation: 66-1=65, Resulting Numbers: [89, 65]
Generated Node #0,2,0: 51:[89, 65] Operation: 66-1=65
Exploring Operation: 89-66=23, Resulting Numbers: [1, 23]
Generated Node #0,2,1: 51:[1, 23] Operation: 89-66=23
Exploring Operation: 89-1=88, Resulting Numbers: [66, 88]
Generated Node #0,2,2: 51:[66, 88] Operation: 89-1=88
Exploring Operation: 89*1=89, Resulting Numbers: [66, 89]
Generated Node #0,2,3: 51:[66, 89] Operation: 89*1=89
Moving to Node #0,2,1
Current State: 51:[1, 23], Operations: ['87-86=1', '89-66=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[66, 88], Operations: ['87-86=1', '89-1=88']
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 66+88=154, Resulting Numbers: [154]
154,51 unequal: No Solution
Exploring Operation: 66*88=5808, Resulting Numbers: [5808]
5808,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[89, 65], Operations: ['87-86=1', '66-1=65']
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,51 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[66, 89], Operations: ['87-86=1', '89*1=89']
Exploring Operation: 66*89=5874, Resulting Numbers: [5874]
5874,51 unequal: No Solution
Exploring Operation: 66+89=155, Resulting Numbers: [155]
155,51 unequal: No Solution
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[87, 89, 20], Operations: ['86-66=20']
Exploring Operation: 87-20=67, Resulting Numbers: [89, 67]
Generated Node #0,1,0: 51:[89, 67] Operation: 87-20=67
Exploring Operation: 89-87=2, Resulting Numbers: [20, 2]
Generated Node #0,1,1: 51:[20, 2] Operation: 89-87=2
Exploring Operation: 89-20=69, Resulting Numbers: [87, 69]
Generated Node #0,1,2: 51:[87, 69] Operation: 89-20=69
Exploring Operation: 87+20=107, Resulting Numbers: [89, 107]
Generated Node #0,1,3: 51:[89, 107] Operation: 87+20=107
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[20, 2], Operations: ['86-66=20', '89-87=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,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,1,0
Current State: 51:[89, 67], Operations: ['86-66=20', '87-20=67']
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,51 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,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,1,2
Current State: 51:[87, 69], Operations: ['86-66=20', '89-20=69']
Exploring Operation: 87*69=6003, Resulting Numbers: [6003]
6003,51 unequal: No Solution
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 87+69=156, Resulting Numbers: [156]
156,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,1,3
Current State: 51:[89, 107], Operations: ['86-66=20', '87+20=107']
Exploring Operation: 89+107=196, Resulting Numbers: [196]
196,51 unequal: No Solution
Exploring Operation: 107-89=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 89*107=9523, Resulting Numbers: [9523]
9523,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
18,
35,
12
] | 83 | [
"18-12=6",
"8*6=48",
"35+48=83"
] | Current State: 83:[8, 18, 35, 12], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [8, 35, 6]
Generated Node #2: [8, 35, 6] from Operation: 18-12=6
Current State: 83:[8, 35, 6], Operations: ['18-12=6']
Exploring Operation: 8*6=48, Resulting Numbers: [35, 48]
Generated Node #3: [35, 48] from Operation: 8*6=48
Current State: 83:[35, 48], Operations: ['18-12=6', '8*6=48']
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[8, 18, 35, 12], Operations: []
Exploring Operation: 8*12=96, Resulting Numbers: [18, 35, 96]
Generated Node #0,0: 83:[18, 35, 96] Operation: 8*12=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[18, 35, 96], Operations: ['8*12=96']
Exploring Operation: 18+35=53, Resulting Numbers: [96, 53]
Generated Node #0,0,0: 83:[96, 53] Operation: 18+35=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[96, 53], Operations: ['8*12=96', '18+35=53']
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
61,
53,
4
] | 28 | [
"80/4=20",
"61-53=8",
"20+8=28"
] | Current State: 28:[80, 61, 53, 4], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [61, 53, 20]
Generated Node #2: [61, 53, 20] from Operation: 80/4=20
Current State: 28:[61, 53, 20], Operations: ['80/4=20']
Exploring Operation: 61-53=8, Resulting Numbers: [20, 8]
Generated Node #3: [20, 8] from Operation: 61-53=8
Current State: 28:[20, 8], Operations: ['80/4=20', '61-53=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[80, 61, 53, 4], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [61, 4, 27]
Generated Node #0,0: 28:[61, 4, 27] Operation: 80-53=27
Exploring Operation: 80-61=19, Resulting Numbers: [53, 4, 19]
Generated Node #0,1: 28:[53, 4, 19] Operation: 80-61=19
Moving to Node #0,1
Current State: 28:[53, 4, 19], Operations: ['80-61=19']
Exploring Operation: 53-19=34, Resulting Numbers: [4, 34]
Generated Node #0,1,0: 28:[4, 34] Operation: 53-19=34
Exploring Operation: 53-4=49, Resulting Numbers: [19, 49]
Generated Node #0,1,1: 28:[19, 49] Operation: 53-4=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[4, 34], Operations: ['80-61=19', '53-19=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,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,1,1
Current State: 28:[19, 49], Operations: ['80-61=19', '53-4=49']
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,28 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,28 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: 28:[61, 4, 27], Operations: ['80-53=27']
Exploring Operation: 61-4=57, Resulting Numbers: [27, 57]
Generated Node #0,0,0: 28:[27, 57] Operation: 61-4=57
Exploring Operation: 61-27=34, Resulting Numbers: [4, 34]
Generated Node #0,0,1: 28:[4, 34] Operation: 61-27=34
Moving to Node #0,0,1
Current State: 28:[4, 34], Operations: ['80-53=27', '61-27=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[27, 57], Operations: ['80-53=27', '61-4=57']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,28 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
75,
90,
27
] | 53 | [
"85-75=10",
"90-27=63",
"63-10=53"
] | Current State: 53:[85, 75, 90, 27], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [90, 27, 10]
Generated Node #2: [90, 27, 10] from Operation: 85-75=10
Current State: 53:[90, 27, 10], Operations: ['85-75=10']
Exploring Operation: 90-27=63, Resulting Numbers: [10, 63]
Generated Node #3: [10, 63] from Operation: 90-27=63
Current State: 53:[10, 63], Operations: ['85-75=10', '90-27=63']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[85, 75, 90, 27], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [75, 27, 5]
Generated Node #0,0: 53:[75, 27, 5] Operation: 90-85=5
Exploring Operation: 85-27=58, Resulting Numbers: [75, 90, 58]
Generated Node #0,1: 53:[75, 90, 58] Operation: 85-27=58
Exploring Operation: 90-27=63, Resulting Numbers: [85, 75, 63]
Generated Node #0,2: 53:[85, 75, 63] Operation: 90-27=63
Exploring Operation: 75-27=48, Resulting Numbers: [85, 90, 48]
Generated Node #0,3: 53:[85, 90, 48] Operation: 75-27=48
Moving to Node #0,1
Current State: 53:[75, 90, 58], Operations: ['85-27=58']
Exploring Operation: 90-58=32, Resulting Numbers: [75, 32]
Generated Node #0,1,0: 53:[75, 32] Operation: 90-58=32
Exploring Operation: 75+90=165, Resulting Numbers: [58, 165]
Generated Node #0,1,1: 53:[58, 165] Operation: 75+90=165
Exploring Operation: 75-58=17, Resulting Numbers: [90, 17]
Generated Node #0,1,2: 53:[90, 17] Operation: 75-58=17
Exploring Operation: 90-75=15, Resulting Numbers: [58, 15]
Generated Node #0,1,3: 53:[58, 15] Operation: 90-75=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[75, 32], Operations: ['85-27=58', '90-58=32']
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,53 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,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,1,3
Current State: 53:[58, 15], Operations: ['85-27=58', '90-75=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,53 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,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,1,2
Current State: 53:[90, 17], Operations: ['85-27=58', '75-58=17']
Exploring Operation: 90+17=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 90*17=1530, Resulting Numbers: [1530]
1530,53 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,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,1,1
Current State: 53:[58, 165], Operations: ['85-27=58', '75+90=165']
Exploring Operation: 165-58=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 58*165=9570, Resulting Numbers: [9570]
9570,53 unequal: No Solution
Exploring Operation: 58+165=223, Resulting Numbers: [223]
223,53 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: 53:[85, 75, 63], Operations: ['90-27=63']
Exploring Operation: 85+75=160, Resulting Numbers: [63, 160]
Generated Node #0,2,0: 53:[63, 160] Operation: 85+75=160
Exploring Operation: 85-75=10, Resulting Numbers: [63, 10]
Generated Node #0,2,1: 53:[63, 10] Operation: 85-75=10
Exploring Operation: 75-63=12, Resulting Numbers: [85, 12]
Generated Node #0,2,2: 53:[85, 12] Operation: 75-63=12
Exploring Operation: 85-63=22, Resulting Numbers: [75, 22]
Generated Node #0,2,3: 53:[75, 22] Operation: 85-63=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[63, 10], Operations: ['90-27=63', '85-75=10']
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,53 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,53 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[85, 75, 90, 27], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [85, 75, 63]
Generated Node #0,2: 53:[85, 75, 63] Operation: 90-27=63
Moving to Node #0,2
Current State: 53:[85, 75, 63], Operations: ['90-27=63']
Exploring Operation: 85-75=10, Resulting Numbers: [63, 10]
Generated Node #0,2,1: 53:[63, 10] Operation: 85-75=10
Moving to Node #0,2,1
Current State: 53:[63, 10], Operations: ['90-27=63', '85-75=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
57,
44,
51,
19
] | 45 | [
"57-44=13",
"51-19=32",
"13+32=45"
] | Current State: 45:[57, 44, 51, 19], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [51, 19, 13]
Generated Node #2: [51, 19, 13] from Operation: 57-44=13
Current State: 45:[51, 19, 13], Operations: ['57-44=13']
Exploring Operation: 51-19=32, Resulting Numbers: [13, 32]
Generated Node #3: [13, 32] from Operation: 51-19=32
Current State: 45:[13, 32], Operations: ['57-44=13', '51-19=32']
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[57, 44, 51, 19], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [57, 19, 7]
Generated Node #0,0: 45:[57, 19, 7] Operation: 51-44=7
Exploring Operation: 57-44=13, Resulting Numbers: [51, 19, 13]
Generated Node #0,1: 45:[51, 19, 13] Operation: 57-44=13
Exploring Operation: 57/19=3, Resulting Numbers: [44, 51, 3]
Generated Node #0,2: 45:[44, 51, 3] Operation: 57/19=3
Exploring Operation: 57-51=6, Resulting Numbers: [44, 19, 6]
Generated Node #0,3: 45:[44, 19, 6] Operation: 57-51=6
Exploring Operation: 57-19=38, Resulting Numbers: [44, 51, 38]
Generated Node #0,4: 45:[44, 51, 38] Operation: 57-19=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[44, 19, 6], Operations: ['57-51=6']
Exploring Operation: 44+6=50, Resulting Numbers: [19, 50]
Generated Node #0,3,0: 45:[19, 50] Operation: 44+6=50
Exploring Operation: 44-19=25, Resulting Numbers: [6, 25]
Generated Node #0,3,1: 45:[6, 25] Operation: 44-19=25
Exploring Operation: 19-6=13, Resulting Numbers: [44, 13]
Generated Node #0,3,2: 45:[44, 13] Operation: 19-6=13
Exploring Operation: 19+6=25, Resulting Numbers: [44, 25]
Generated Node #0,3,3: 45:[44, 25] Operation: 19+6=25
Exploring Operation: 44-6=38, Resulting Numbers: [19, 38]
Generated Node #0,3,4: 45:[19, 38] Operation: 44-6=38
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 45:[44, 13], Operations: ['57-51=6', '19-6=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,45 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,45 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: 45:[19, 50], Operations: ['57-51=6', '44+6=50']
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,45 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,45 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,45 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: 45:[6, 25], Operations: ['57-51=6', '44-19=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,45 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: 45:[44, 25], Operations: ['57-51=6', '19+6=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,45 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,45 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 45:[19, 38], Operations: ['57-51=6', '44-6=38']
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,45 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,45 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: 45:[44, 51, 3], Operations: ['57/19=3']
Exploring Operation: 51-3=48, Resulting Numbers: [44, 48]
Generated Node #0,2,0: 45:[44, 48] Operation: 51-3=48
Exploring Operation: 44-3=41, Resulting Numbers: [51, 41]
Generated Node #0,2,1: 45:[51, 41] Operation: 44-3=41
Exploring Operation: 44+3=47, Resulting Numbers: [51, 47]
Generated Node #0,2,2: 45:[51, 47] Operation: 44+3=47
Exploring Operation: 51/3=17, Resulting Numbers: [44, 17]
Generated Node #0,2,3: 45:[44, 17] Operation: 51/3=17
Exploring Operation: 51-44=7, Resulting Numbers: [3, 7]
Generated Node #0,2,4: 45:[3, 7] Operation: 51-44=7
Moving to Node #0,2,4
Current State: 45:[3, 7], Operations: ['57/19=3', '51-44=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[44, 17], Operations: ['57/19=3', '51/3=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,45 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[44, 48], Operations: ['57/19=3', '51-3=48']
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[51, 47], Operations: ['57/19=3', '44+3=47']
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[51, 41], Operations: ['57/19=3', '44-3=41']
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,45 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,45 unequal: No Solution
No 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: 45:[51, 19, 13], Operations: ['57-44=13']
Exploring Operation: 51+13=64, Resulting Numbers: [19, 64]
Generated Node #0,1,0: 45:[19, 64] Operation: 51+13=64
Exploring Operation: 51-13=38, Resulting Numbers: [19, 38]
Generated Node #0,1,1: 45:[19, 38] Operation: 51-13=38
Exploring Operation: 51-19=32, Resulting Numbers: [13, 32]
Generated Node #0,1,2: 45:[13, 32] Operation: 51-19=32
Exploring Operation: 19+13=32, Resulting Numbers: [51, 32]
Generated Node #0,1,3: 45:[51, 32] Operation: 19+13=32
Exploring Operation: 19-13=6, Resulting Numbers: [51, 6]
Generated Node #0,1,4: 45:[51, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 45:[51, 6], Operations: ['57-44=13', '19-13=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[57, 44, 51, 19], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [51, 19, 13]
Generated Node #0,1: 45:[51, 19, 13] Operation: 57-44=13
Moving to Node #0,1
Current State: 45:[51, 19, 13], Operations: ['57-44=13']
Exploring Operation: 19-13=6, Resulting Numbers: [51, 6]
Generated Node #0,1,4: 45:[51, 6] Operation: 19-13=6
Moving to Node #0,1,4
Current State: 45:[51, 6], Operations: ['57-44=13', '19-13=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
69,
53,
5,
96
] | 20 | [
"69+96=165",
"165/5=33",
"53-33=20"
] | Current State: 20:[69, 53, 5, 96], Operations: []
Exploring Operation: 69+96=165, Resulting Numbers: [53, 5, 165]
Generated Node #2: [53, 5, 165] from Operation: 69+96=165
Current State: 20:[53, 5, 165], Operations: ['69+96=165']
Exploring Operation: 165/5=33, Resulting Numbers: [53, 33]
Generated Node #3: [53, 33] from Operation: 165/5=33
Current State: 20:[53, 33], Operations: ['69+96=165', '165/5=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[69, 53, 5, 96], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [5, 96, 16]
Generated Node #0,0: 20:[5, 96, 16] Operation: 69-53=16
Exploring Operation: 96-53=43, Resulting Numbers: [69, 5, 43]
Generated Node #0,1: 20:[69, 5, 43] Operation: 96-53=43
Exploring Operation: 96-69=27, Resulting Numbers: [53, 5, 27]
Generated Node #0,2: 20:[53, 5, 27] Operation: 96-69=27
Exploring Operation: 69-5=64, Resulting Numbers: [53, 96, 64]
Generated Node #0,3: 20:[53, 96, 64] Operation: 69-5=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[53, 5, 27], Operations: ['96-69=27']
Exploring Operation: 53+5=58, Resulting Numbers: [27, 58]
Generated Node #0,2,0: 20:[27, 58] Operation: 53+5=58
Exploring Operation: 53-5=48, Resulting Numbers: [27, 48]
Generated Node #0,2,1: 20:[27, 48] Operation: 53-5=48
Exploring Operation: 53-27=26, Resulting Numbers: [5, 26]
Generated Node #0,2,2: 20:[5, 26] Operation: 53-27=26
Exploring Operation: 27-5=22, Resulting Numbers: [53, 22]
Generated Node #0,2,3: 20:[53, 22] Operation: 27-5=22
Moving to Node #0,2,2
Current State: 20:[5, 26], Operations: ['96-69=27', '53-27=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[53, 22], Operations: ['96-69=27', '27-5=22']
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,20 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[27, 48], Operations: ['96-69=27', '53-5=48']
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,20 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[27, 58], Operations: ['96-69=27', '53+5=58']
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,20 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[69, 5, 43], Operations: ['96-53=43']
Exploring Operation: 69-5=64, Resulting Numbers: [43, 64]
Generated Node #0,1,0: 20:[43, 64] Operation: 69-5=64
Exploring Operation: 43-5=38, Resulting Numbers: [69, 38]
Generated Node #0,1,1: 20:[69, 38] Operation: 43-5=38
Exploring Operation: 69-43=26, Resulting Numbers: [5, 26]
Generated Node #0,1,2: 20:[5, 26] Operation: 69-43=26
Exploring Operation: 69+5=74, Resulting Numbers: [43, 74]
Generated Node #0,1,3: 20:[43, 74] Operation: 69+5=74
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[5, 26], Operations: ['96-53=43', '69-43=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,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,1,0
Current State: 20:[43, 64], Operations: ['96-53=43', '69-5=64']
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,20 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,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,1,1
Current State: 20:[69, 38], Operations: ['96-53=43', '43-5=38']
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,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,1,3
Current State: 20:[43, 74], Operations: ['96-53=43', '69+5=74']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 43+74=117, Resulting Numbers: [117]
117,20 unequal: No Solution
Exploring Operation: 43*74=3182, Resulting Numbers: [3182]
3182,20 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: 20:[5, 96, 16], Operations: ['69-53=16']
Exploring Operation: 96/16=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 20:[5, 6] Operation: 96/16=6
Exploring Operation: 96-5=91, Resulting Numbers: [16, 91]
Generated Node #0,0,1: 20:[16, 91] Operation: 96-5=91
Exploring Operation: 5+16=21, Resulting Numbers: [96, 21]
Generated Node #0,0,2: 20:[96, 21] Operation: 5+16=21
Exploring Operation: 96-16=80, Resulting Numbers: [5, 80]
Generated Node #0,0,3: 20:[5, 80] Operation: 96-16=80
Moving to Node #0,0,0
Current State: 20:[5, 6], Operations: ['69-53=16', '96/16=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[5, 80], Operations: ['69-53=16', '96-16=80']
Exploring Operation: 5*80=400, Resulting Numbers: [400]
400,20 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[16, 91], Operations: ['69-53=16', '96-5=91']
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,20 unequal: No Solution
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[96, 21], Operations: ['69-53=16', '5+16=21']
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,20 unequal: No Solution
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[53, 96, 64], Operations: ['69-5=64']
Exploring Operation: 64-53=11, Resulting Numbers: [96, 11]
Generated Node #0,3,0: 20:[96, 11] Operation: 64-53=11
Exploring Operation: 96-64=32, Resulting Numbers: [53, 32]
Generated Node #0,3,1: 20:[53, 32] Operation: 96-64=32
Exploring Operation: 53+96=149, Resulting Numbers: [64, 149]
Generated Node #0,3,2: 20:[64, 149] Operation: 53+96=149
Exploring Operation: 96-53=43, Resulting Numbers: [64, 43]
Generated Node #0,3,3: 20:[64, 43] Operation: 96-53=43
Moving to Node #0,3,1
Current State: 20:[53, 32], Operations: ['69-5=64', '96-64=32']
Exploring Operation: 53*32=1696, Resulting Numbers: [1696]
1696,20 unequal: No Solution
Exploring Operation: 53+32=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[64, 43], Operations: ['69-5=64', '96-53=43']
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,20 unequal: No Solution
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[96, 11], Operations: ['69-5=64', '64-53=11']
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[64, 149], Operations: ['69-5=64', '53+96=149']
Exploring Operation: 64+149=213, Resulting Numbers: [213]
213,20 unequal: No Solution
Exploring Operation: 149-64=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 64*149=9536, Resulting Numbers: [9536]
9536,20 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 |
[
51,
31,
49,
65
] | 36 | [
"51-31=20",
"65-49=16",
"20+16=36"
] | Current State: 36:[51, 31, 49, 65], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [49, 65, 20]
Generated Node #2: [49, 65, 20] from Operation: 51-31=20
Current State: 36:[49, 65, 20], Operations: ['51-31=20']
Exploring Operation: 65-49=16, Resulting Numbers: [20, 16]
Generated Node #3: [20, 16] from Operation: 65-49=16
Current State: 36:[20, 16], Operations: ['51-31=20', '65-49=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[51, 31, 49, 65], Operations: []
Exploring Operation: 65-49=16, Resulting Numbers: [51, 31, 16]
Generated Node #0,0: 36:[51, 31, 16] Operation: 65-49=16
Exploring Operation: 65-51=14, Resulting Numbers: [31, 49, 14]
Generated Node #0,1: 36:[31, 49, 14] Operation: 65-51=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[31, 49, 14], Operations: ['65-51=14']
Exploring Operation: 49-14=35, Resulting Numbers: [31, 35]
Generated Node #0,1,0: 36:[31, 35] Operation: 49-14=35
Exploring Operation: 49-31=18, Resulting Numbers: [14, 18]
Generated Node #0,1,1: 36:[14, 18] Operation: 49-31=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[14, 18], Operations: ['65-51=14', '49-31=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,36 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: 36:[31, 35], Operations: ['65-51=14', '49-14=35']
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,36 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: 36:[51, 31, 16], Operations: ['65-49=16']
Exploring Operation: 51-16=35, Resulting Numbers: [31, 35]
Generated Node #0,0,0: 36:[31, 35] Operation: 51-16=35
Exploring Operation: 51-31=20, Resulting Numbers: [16, 20]
Generated Node #0,0,1: 36:[16, 20] Operation: 51-31=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[16, 20], Operations: ['65-49=16', '51-31=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[51, 31, 49, 65], Operations: []
Exploring Operation: 65-49=16, Resulting Numbers: [51, 31, 16]
Generated Node #0,0: 36:[51, 31, 16] Operation: 65-49=16
Moving to Node #0,0
Current State: 36:[51, 31, 16], Operations: ['65-49=16']
Exploring Operation: 51-31=20, Resulting Numbers: [16, 20]
Generated Node #0,0,1: 36:[16, 20] Operation: 51-31=20
Moving to Node #0,0,1
Current State: 36:[16, 20], Operations: ['65-49=16', '51-31=20']
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
99,
8,
7,
10
] | 74 | [
"99-8=91",
"7+10=17",
"91-17=74"
] | Current State: 74:[99, 8, 7, 10], Operations: []
Exploring Operation: 99-8=91, Resulting Numbers: [7, 10, 91]
Generated Node #2: [7, 10, 91] from Operation: 99-8=91
Current State: 74:[7, 10, 91], Operations: ['99-8=91']
Exploring Operation: 7+10=17, Resulting Numbers: [91, 17]
Generated Node #3: [91, 17] from Operation: 7+10=17
Current State: 74:[91, 17], Operations: ['99-8=91', '7+10=17']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[99, 8, 7, 10], Operations: []
Exploring Operation: 99-8=91, Resulting Numbers: [7, 10, 91]
Generated Node #0,0: 74:[7, 10, 91] Operation: 99-8=91
Exploring Operation: 99-10=89, Resulting Numbers: [8, 7, 89]
Generated Node #0,1: 74:[8, 7, 89] Operation: 99-10=89
Moving to Node #0,1
Current State: 74:[8, 7, 89], Operations: ['99-10=89']
Exploring Operation: 89-7=82, Resulting Numbers: [8, 82]
Generated Node #0,1,0: 74:[8, 82] Operation: 89-7=82
Exploring Operation: 89-8=81, Resulting Numbers: [7, 81]
Generated Node #0,1,1: 74:[7, 81] Operation: 89-8=81
Moving to Node #0,0
Current State: 74:[7, 10, 91], Operations: ['99-8=91']
Exploring Operation: 10-7=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 74:[91, 3] Operation: 10-7=3
Exploring Operation: 91-10=81, Resulting Numbers: [7, 81]
Generated Node #0,0,1: 74:[7, 81] Operation: 91-10=81
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[7, 81], Operations: ['99-8=91', '91-10=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[99, 8, 7, 10], Operations: []
Exploring Operation: 99-8=91, Resulting Numbers: [7, 10, 91]
Generated Node #0,0: 74:[7, 10, 91] Operation: 99-8=91
Moving to Node #0,0
Current State: 74:[7, 10, 91], Operations: ['99-8=91']
Exploring Operation: 91-10=81, Resulting Numbers: [7, 81]
Generated Node #0,0,1: 74:[7, 81] Operation: 91-10=81
Moving to Node #0,0,1
Current State: 74:[7, 81], Operations: ['99-8=91', '91-10=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
74,
79,
48,
22
] | 83 | [
"74+79=153",
"48+22=70",
"153-70=83"
] | Current State: 83:[74, 79, 48, 22], Operations: []
Exploring Operation: 74+79=153, Resulting Numbers: [48, 22, 153]
Generated Node #2: [48, 22, 153] from Operation: 74+79=153
Current State: 83:[48, 22, 153], Operations: ['74+79=153']
Exploring Operation: 48+22=70, Resulting Numbers: [153, 70]
Generated Node #3: [153, 70] from Operation: 48+22=70
Current State: 83:[153, 70], Operations: ['74+79=153', '48+22=70']
Exploring Operation: 153-70=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[74, 79, 48, 22], Operations: []
Exploring Operation: 74+22=96, Resulting Numbers: [79, 48, 96]
Generated Node #0,0: 83:[79, 48, 96] Operation: 74+22=96
Exploring Operation: 79+22=101, Resulting Numbers: [74, 48, 101]
Generated Node #0,1: 83:[74, 48, 101] Operation: 79+22=101
Exploring Operation: 48+22=70, Resulting Numbers: [74, 79, 70]
Generated Node #0,2: 83:[74, 79, 70] Operation: 48+22=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[74, 79, 70], Operations: ['48+22=70']
Exploring Operation: 79+70=149, Resulting Numbers: [74, 149]
Generated Node #0,2,0: 83:[74, 149] Operation: 79+70=149
Exploring Operation: 74+79=153, Resulting Numbers: [70, 153]
Generated Node #0,2,1: 83:[70, 153] Operation: 74+79=153
Exploring Operation: 74+70=144, Resulting Numbers: [79, 144]
Generated Node #0,2,2: 83:[79, 144] Operation: 74+70=144
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[79, 144], Operations: ['48+22=70', '74+70=144']
Exploring Operation: 79+144=223, Resulting Numbers: [223]
223,83 unequal: No Solution
Exploring Operation: 144-79=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 79*144=11376, Resulting Numbers: [11376]
11376,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[74, 149], Operations: ['48+22=70', '79+70=149']
Exploring Operation: 74*149=11026, Resulting Numbers: [11026]
11026,83 unequal: No Solution
Exploring Operation: 149-74=75, Resulting Numbers: [75]
75,83 unequal: No Solution
Exploring Operation: 74+149=223, Resulting Numbers: [223]
223,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[70, 153], Operations: ['48+22=70', '74+79=153']
Exploring Operation: 70+153=223, Resulting Numbers: [223]
223,83 unequal: No Solution
Exploring Operation: 153-70=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[74, 79, 48, 22], Operations: []
Exploring Operation: 48+22=70, Resulting Numbers: [74, 79, 70]
Generated Node #0,2: 83:[74, 79, 70] Operation: 48+22=70
Moving to Node #0,2
Current State: 83:[74, 79, 70], Operations: ['48+22=70']
Exploring Operation: 74+79=153, Resulting Numbers: [70, 153]
Generated Node #0,2,1: 83:[70, 153] Operation: 74+79=153
Moving to Node #0,2,1
Current State: 83:[70, 153], Operations: ['48+22=70', '74+79=153']
Exploring Operation: 153-70=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
29,
98,
16,
69
] | 74 | [
"29+98=127",
"69-16=53",
"127-53=74"
] | Current State: 74:[29, 98, 16, 69], Operations: []
Exploring Operation: 29+98=127, Resulting Numbers: [16, 69, 127]
Generated Node #2: [16, 69, 127] from Operation: 29+98=127
Current State: 74:[16, 69, 127], Operations: ['29+98=127']
Exploring Operation: 69-16=53, Resulting Numbers: [127, 53]
Generated Node #3: [127, 53] from Operation: 69-16=53
Current State: 74:[127, 53], Operations: ['29+98=127', '69-16=53']
Exploring Operation: 127-53=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[29, 98, 16, 69], Operations: []
Exploring Operation: 98-16=82, Resulting Numbers: [29, 69, 82]
Generated Node #0,0: 74:[29, 69, 82] Operation: 98-16=82
Exploring Operation: 98-29=69, Resulting Numbers: [16, 69, 69]
Generated Node #0,1: 74:[16, 69, 69] Operation: 98-29=69
Moving to Node #0,0
Current State: 74:[29, 69, 82], Operations: ['98-16=82']
Exploring Operation: 69-29=40, Resulting Numbers: [82, 40]
Generated Node #0,0,0: 74:[82, 40] Operation: 69-29=40
Exploring Operation: 82-69=13, Resulting Numbers: [29, 13]
Generated Node #0,0,1: 74:[29, 13] Operation: 82-69=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[82, 40], Operations: ['98-16=82', '69-29=40']
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,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,0,1
Current State: 74:[29, 13], Operations: ['98-16=82', '82-69=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,74 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: 74:[16, 69, 69], Operations: ['98-29=69']
Exploring Operation: 69/69=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 74:[16, 1] Operation: 69/69=1
Exploring Operation: 16+69=85, Resulting Numbers: [69, 85]
Generated Node #0,1,1: 74:[69, 85] Operation: 16+69=85
Moving to Node #0,1,0
Current State: 74:[16, 1], Operations: ['98-29=69', '69/69=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[69, 85], Operations: ['98-29=69', '16+69=85']
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 69+85=154, Resulting Numbers: [154]
154,74 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
46,
9,
68
] | 78 | [
"44+46=90",
"90/9=10",
"68+10=78"
] | Current State: 78:[44, 46, 9, 68], Operations: []
Exploring Operation: 44+46=90, Resulting Numbers: [9, 68, 90]
Generated Node #2: [9, 68, 90] from Operation: 44+46=90
Current State: 78:[9, 68, 90], Operations: ['44+46=90']
Exploring Operation: 90/9=10, Resulting Numbers: [68, 10]
Generated Node #3: [68, 10] from Operation: 90/9=10
Current State: 78:[68, 10], Operations: ['44+46=90', '90/9=10']
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[44, 46, 9, 68], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [44, 9, 22]
Generated Node #0,0: 78:[44, 9, 22] Operation: 68-46=22
Exploring Operation: 46-9=37, Resulting Numbers: [44, 68, 37]
Generated Node #0,1: 78:[44, 68, 37] Operation: 46-9=37
Exploring Operation: 46-44=2, Resulting Numbers: [9, 68, 2]
Generated Node #0,2: 78:[9, 68, 2] Operation: 46-44=2
Exploring Operation: 68-44=24, Resulting Numbers: [46, 9, 24]
Generated Node #0,3: 78:[46, 9, 24] Operation: 68-44=24
Exploring Operation: 9+68=77, Resulting Numbers: [44, 46, 77]
Generated Node #0,4: 78:[44, 46, 77] Operation: 9+68=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[44, 9, 22], Operations: ['68-46=22']
Exploring Operation: 9+22=31, Resulting Numbers: [44, 31]
Generated Node #0,0,0: 78:[44, 31] Operation: 9+22=31
Exploring Operation: 44/22=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 78:[9, 2] Operation: 44/22=2
Exploring Operation: 22-9=13, Resulting Numbers: [44, 13]
Generated Node #0,0,2: 78:[44, 13] Operation: 22-9=13
Exploring Operation: 44-22=22, Resulting Numbers: [9, 22]
Generated Node #0,0,3: 78:[9, 22] Operation: 44-22=22
Exploring Operation: 44-9=35, Resulting Numbers: [22, 35]
Generated Node #0,0,4: 78:[22, 35] Operation: 44-9=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[9, 2], Operations: ['68-46=22', '44/22=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[44, 13], Operations: ['68-46=22', '22-9=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,78 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 78:[9, 22], Operations: ['68-46=22', '44-22=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,78 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 78:[22, 35], Operations: ['68-46=22', '44-9=35']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,78 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[44, 31], Operations: ['68-46=22', '9+22=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[46, 9, 24], Operations: ['68-44=24']
Exploring Operation: 46-24=22, Resulting Numbers: [9, 22]
Generated Node #0,3,0: 78:[9, 22] Operation: 46-24=22
Exploring Operation: 46+24=70, Resulting Numbers: [9, 70]
Generated Node #0,3,1: 78:[9, 70] Operation: 46+24=70
Exploring Operation: 24-9=15, Resulting Numbers: [46, 15]
Generated Node #0,3,2: 78:[46, 15] Operation: 24-9=15
Exploring Operation: 9+24=33, Resulting Numbers: [46, 33]
Generated Node #0,3,3: 78:[46, 33] Operation: 9+24=33
Exploring Operation: 46-9=37, Resulting Numbers: [24, 37]
Generated Node #0,3,4: 78:[24, 37] Operation: 46-9=37
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 78:[24, 37], Operations: ['68-44=24', '46-9=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 78:[9, 22], Operations: ['68-44=24', '46-24=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,78 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 78:[46, 15], Operations: ['68-44=24', '24-9=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,78 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 78:[9, 70], Operations: ['68-44=24', '46+24=70']
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 78:[46, 33], Operations: ['68-44=24', '9+24=33']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,78 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[9, 68, 2], Operations: ['46-44=2']
Exploring Operation: 9+2=11, Resulting Numbers: [68, 11]
Generated Node #0,2,0: 78:[68, 11] Operation: 9+2=11
Exploring Operation: 68/2=34, Resulting Numbers: [9, 34]
Generated Node #0,2,1: 78:[9, 34] Operation: 68/2=34
Exploring Operation: 9-2=7, Resulting Numbers: [68, 7]
Generated Node #0,2,2: 78:[68, 7] Operation: 9-2=7
Exploring Operation: 9+68=77, Resulting Numbers: [2, 77]
Generated Node #0,2,3: 78:[2, 77] Operation: 9+68=77
Exploring Operation: 68+2=70, Resulting Numbers: [9, 70]
Generated Node #0,2,4: 78:[9, 70] Operation: 68+2=70
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 78:[2, 77], Operations: ['46-44=2', '9+68=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[9, 34], Operations: ['46-44=2', '68/2=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,78 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 78:[68, 7], Operations: ['46-44=2', '9-2=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 78:[9, 70], Operations: ['46-44=2', '68+2=70']
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,78 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[68, 11], Operations: ['46-44=2', '9+2=11']
Exploring Operation: 68*11=748, Resulting Numbers: [748]
748,78 unequal: No Solution
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 68+11=79, Resulting Numbers: [79]
79,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[44, 46, 77], Operations: ['9+68=77']
Exploring Operation: 44+77=121, Resulting Numbers: [46, 121]
Generated Node #0,4,0: 78:[46, 121] Operation: 44+77=121
Exploring Operation: 44+46=90, Resulting Numbers: [77, 90]
Generated Node #0,4,1: 78:[77, 90] Operation: 44+46=90
Exploring Operation: 77-46=31, Resulting Numbers: [44, 31]
Generated Node #0,4,2: 78:[44, 31] Operation: 77-46=31
Exploring Operation: 77-44=33, Resulting Numbers: [46, 33]
Generated Node #0,4,3: 78:[46, 33] Operation: 77-44=33
Exploring Operation: 46-44=2, Resulting Numbers: [77, 2]
Generated Node #0,4,4: 78:[77, 2] Operation: 46-44=2
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 78:[77, 2], Operations: ['9+68=77', '46-44=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,78 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 78:[44, 31], Operations: ['9+68=77', '77-46=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,78 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 78:[77, 90], Operations: ['9+68=77', '44+46=90']
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,78 unequal: No Solution
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,78 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 78:[46, 33], Operations: ['9+68=77', '77-44=33']
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,78 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 78:[46, 121], Operations: ['9+68=77', '44+77=121']
Exploring Operation: 46*121=5566, Resulting Numbers: [5566]
5566,78 unequal: No Solution
Exploring Operation: 46+121=167, Resulting Numbers: [167]
167,78 unequal: No Solution
Exploring Operation: 121-46=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[44, 68, 37], Operations: ['46-9=37']
Exploring Operation: 68-44=24, Resulting Numbers: [37, 24]
Generated Node #0,1,0: 78:[37, 24] Operation: 68-44=24
Exploring Operation: 68+37=105, Resulting Numbers: [44, 105]
Generated Node #0,1,1: 78:[44, 105] Operation: 68+37=105
Exploring Operation: 68-37=31, Resulting Numbers: [44, 31]
Generated Node #0,1,2: 78:[44, 31] Operation: 68-37=31
Exploring Operation: 44+37=81, Resulting Numbers: [68, 81]
Generated Node #0,1,3: 78:[68, 81] Operation: 44+37=81
Exploring Operation: 44-37=7, Resulting Numbers: [68, 7]
Generated Node #0,1,4: 78:[68, 7] Operation: 44-37=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[37, 24], Operations: ['46-9=37', '68-44=24']
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[44, 31], Operations: ['46-9=37', '68-37=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,78 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 78:[68, 7], Operations: ['46-9=37', '44-37=7']
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 78:[68, 81], Operations: ['46-9=37', '44+37=81']
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 68+81=149, Resulting Numbers: [149]
149,78 unequal: No Solution
Exploring Operation: 68*81=5508, Resulting Numbers: [5508]
5508,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[44, 105], Operations: ['46-9=37', '68+37=105']
Exploring Operation: 44+105=149, Resulting Numbers: [149]
149,78 unequal: No Solution
Exploring Operation: 44*105=4620, Resulting Numbers: [4620]
4620,78 unequal: No Solution
Exploring Operation: 105-44=61, Resulting Numbers: [61]
61,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
76,
5,
98,
89
] | 21 | [
"98-76=22",
"5*22=110",
"110-89=21"
] | Current State: 21:[76, 5, 98, 89], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [5, 89, 22]
Generated Node #2: [5, 89, 22] from Operation: 98-76=22
Current State: 21:[5, 89, 22], Operations: ['98-76=22']
Exploring Operation: 5*22=110, Resulting Numbers: [89, 110]
Generated Node #3: [89, 110] from Operation: 5*22=110
Current State: 21:[89, 110], Operations: ['98-76=22', '5*22=110']
Exploring Operation: 110-89=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[76, 5, 98, 89], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [5, 89, 22]
Generated Node #0,0: 21:[5, 89, 22] Operation: 98-76=22
Exploring Operation: 98-89=9, Resulting Numbers: [76, 5, 9]
Generated Node #0,1: 21:[76, 5, 9] Operation: 98-89=9
Exploring Operation: 76-5=71, Resulting Numbers: [98, 89, 71]
Generated Node #0,2: 21:[98, 89, 71] Operation: 76-5=71
Exploring Operation: 89-76=13, Resulting Numbers: [5, 98, 13]
Generated Node #0,3: 21:[5, 98, 13] Operation: 89-76=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[76, 5, 9], Operations: ['98-89=9']
Exploring Operation: 9-5=4, Resulting Numbers: [76, 4]
Generated Node #0,1,0: 21:[76, 4] Operation: 9-5=4
Exploring Operation: 76-9=67, Resulting Numbers: [5, 67]
Generated Node #0,1,1: 21:[5, 67] Operation: 76-9=67
Exploring Operation: 76-5=71, Resulting Numbers: [9, 71]
Generated Node #0,1,2: 21:[9, 71] Operation: 76-5=71
Exploring Operation: 76+5=81, Resulting Numbers: [9, 81]
Generated Node #0,1,3: 21:[9, 81] Operation: 76+5=81
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[5, 67], Operations: ['98-89=9', '76-9=67']
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 5*67=335, Resulting Numbers: [335]
335,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[9, 71], Operations: ['98-89=9', '76-5=71']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 9+71=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 9*71=639, Resulting Numbers: [639]
639,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[76, 4], Operations: ['98-89=9', '9-5=4']
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,21 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[9, 81], Operations: ['98-89=9', '76+5=81']
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,21 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[5, 89, 22], Operations: ['98-76=22']
Exploring Operation: 22-5=17, Resulting Numbers: [89, 17]
Generated Node #0,0,0: 21:[89, 17] Operation: 22-5=17
Exploring Operation: 89-5=84, Resulting Numbers: [22, 84]
Generated Node #0,0,1: 21:[22, 84] Operation: 89-5=84
Exploring Operation: 89-22=67, Resulting Numbers: [5, 67]
Generated Node #0,0,2: 21:[5, 67] Operation: 89-22=67
Exploring Operation: 5+89=94, Resulting Numbers: [22, 94]
Generated Node #0,0,3: 21:[22, 94] Operation: 5+89=94
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[5, 67], Operations: ['98-76=22', '89-22=67']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 5*67=335, Resulting Numbers: [335]
335,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[22, 84], Operations: ['98-76=22', '89-5=84']
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,21 unequal: No Solution
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[89, 17], Operations: ['98-76=22', '22-5=17']
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 89*17=1513, Resulting Numbers: [1513]
1513,21 unequal: No Solution
Exploring Operation: 89+17=106, Resulting Numbers: [106]
106,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[22, 94], Operations: ['98-76=22', '5+89=94']
Exploring Operation: 22*94=2068, Resulting Numbers: [2068]
2068,21 unequal: No Solution
Exploring Operation: 22+94=116, Resulting Numbers: [116]
116,21 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[5, 98, 13], Operations: ['89-76=13']
Exploring Operation: 5+13=18, Resulting Numbers: [98, 18]
Generated Node #0,3,0: 21:[98, 18] Operation: 5+13=18
Exploring Operation: 98-13=85, Resulting Numbers: [5, 85]
Generated Node #0,3,1: 21:[5, 85] Operation: 98-13=85
Exploring Operation: 13-5=8, Resulting Numbers: [98, 8]
Generated Node #0,3,2: 21:[98, 8] Operation: 13-5=8
Exploring Operation: 98-5=93, Resulting Numbers: [13, 93]
Generated Node #0,3,3: 21:[13, 93] Operation: 98-5=93
Moving to Node #0,3,1
Current State: 21:[5, 85], Operations: ['89-76=13', '98-13=85']
Exploring Operation: 5+85=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Exploring Operation: 5*85=425, Resulting Numbers: [425]
425,21 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[13, 93], Operations: ['89-76=13', '98-5=93']
Exploring Operation: 13*93=1209, Resulting Numbers: [1209]
1209,21 unequal: No Solution
Exploring Operation: 13+93=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[98, 8], Operations: ['89-76=13', '13-5=8']
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,21 unequal: No Solution
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[98, 18], Operations: ['89-76=13', '5+13=18']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,21 unequal: No Solution
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[98, 89, 71], Operations: ['76-5=71']
Exploring Operation: 89-71=18, Resulting Numbers: [98, 18]
Generated Node #0,2,0: 21:[98, 18] Operation: 89-71=18
Exploring Operation: 98-71=27, Resulting Numbers: [89, 27]
Generated Node #0,2,1: 21:[89, 27] Operation: 98-71=27
Exploring Operation: 98-89=9, Resulting Numbers: [71, 9]
Generated Node #0,2,2: 21:[71, 9] Operation: 98-89=9
Exploring Operation: 98+89=187, Resulting Numbers: [71, 187]
Generated Node #0,2,3: 21:[71, 187] Operation: 98+89=187
Moving to Node #0,2,2
Current State: 21:[71, 9], Operations: ['76-5=71', '98-89=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[89, 27], Operations: ['76-5=71', '98-71=27']
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,21 unequal: No Solution
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[98, 18], Operations: ['76-5=71', '89-71=18']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,21 unequal: No Solution
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[71, 187], Operations: ['76-5=71', '98+89=187']
Exploring Operation: 187-71=116, Resulting Numbers: [116]
116,21 unequal: No Solution
Exploring Operation: 71+187=258, Resulting Numbers: [258]
258,21 unequal: No Solution
Exploring Operation: 71*187=13277, Resulting Numbers: [13277]
13277,21 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 |
[
25,
30,
28,
14
] | 64 | [
"30-28=2",
"25*2=50",
"14+50=64"
] | Current State: 64:[25, 30, 28, 14], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [25, 14, 2]
Generated Node #2: [25, 14, 2] from Operation: 30-28=2
Current State: 64:[25, 14, 2], Operations: ['30-28=2']
Exploring Operation: 25*2=50, Resulting Numbers: [14, 50]
Generated Node #3: [14, 50] from Operation: 25*2=50
Current State: 64:[14, 50], Operations: ['30-28=2', '25*2=50']
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[25, 30, 28, 14], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [30, 14, 3]
Generated Node #0,0: 64:[30, 14, 3] Operation: 28-25=3
Exploring Operation: 30-25=5, Resulting Numbers: [28, 14, 5]
Generated Node #0,1: 64:[28, 14, 5] Operation: 30-25=5
Exploring Operation: 25-14=11, Resulting Numbers: [30, 28, 11]
Generated Node #0,2: 64:[30, 28, 11] Operation: 25-14=11
Exploring Operation: 30-28=2, Resulting Numbers: [25, 14, 2]
Generated Node #0,3: 64:[25, 14, 2] Operation: 30-28=2
Exploring Operation: 28/14=2, Resulting Numbers: [25, 30, 2]
Generated Node #0,4: 64:[25, 30, 2] Operation: 28/14=2
Moving to Node #0,0
Current State: 64:[30, 14, 3], Operations: ['28-25=3']
Exploring Operation: 30/3=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 64:[14, 10] Operation: 30/3=10
Exploring Operation: 30-14=16, Resulting Numbers: [3, 16]
Generated Node #0,0,1: 64:[3, 16] Operation: 30-14=16
Exploring Operation: 14+3=17, Resulting Numbers: [30, 17]
Generated Node #0,0,2: 64:[30, 17] Operation: 14+3=17
Exploring Operation: 14-3=11, Resulting Numbers: [30, 11]
Generated Node #0,0,3: 64:[30, 11] Operation: 14-3=11
Exploring Operation: 30+3=33, Resulting Numbers: [14, 33]
Generated Node #0,0,4: 64:[14, 33] Operation: 30+3=33
Moving to Node #0,1
Current State: 64:[28, 14, 5], Operations: ['30-25=5']
Exploring Operation: 28/14=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 64:[5, 2] Operation: 28/14=2
Exploring Operation: 14+5=19, Resulting Numbers: [28, 19]
Generated Node #0,1,1: 64:[28, 19] Operation: 14+5=19
Exploring Operation: 28-14=14, Resulting Numbers: [5, 14]
Generated Node #0,1,2: 64:[5, 14] Operation: 28-14=14
Exploring Operation: 28+5=33, Resulting Numbers: [14, 33]
Generated Node #0,1,3: 64:[14, 33] Operation: 28+5=33
Exploring Operation: 14-5=9, Resulting Numbers: [28, 9]
Generated Node #0,1,4: 64:[28, 9] Operation: 14-5=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[5, 2], Operations: ['30-25=5', '28/14=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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:[5, 14], Operations: ['30-25=5', '28-14=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,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:[14, 33], Operations: ['30-25=5', '28+5=33']
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,64 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,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,4
Current State: 64:[28, 9], Operations: ['30-25=5', '14-5=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,64 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,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,1
Current State: 64:[28, 19], Operations: ['30-25=5', '14+5=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,64 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,64 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: 64:[30, 28, 11], Operations: ['25-14=11']
Exploring Operation: 30+28=58, Resulting Numbers: [11, 58]
Generated Node #0,2,0: 64:[11, 58] Operation: 30+28=58
Exploring Operation: 28-11=17, Resulting Numbers: [30, 17]
Generated Node #0,2,1: 64:[30, 17] Operation: 28-11=17
Exploring Operation: 30-11=19, Resulting Numbers: [28, 19]
Generated Node #0,2,2: 64:[28, 19] Operation: 30-11=19
Exploring Operation: 30-28=2, Resulting Numbers: [11, 2]
Generated Node #0,2,3: 64:[11, 2] Operation: 30-28=2
Exploring Operation: 28+11=39, Resulting Numbers: [30, 39]
Generated Node #0,2,4: 64:[30, 39] Operation: 28+11=39
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[30, 17], Operations: ['25-14=11', '28-11=17']
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,64 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,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:[11, 2], Operations: ['25-14=11', '30-28=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,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,2
Current State: 64:[28, 19], Operations: ['25-14=11', '30-11=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,64 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,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,0
Current State: 64:[11, 58], Operations: ['25-14=11', '30+28=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,64 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,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,4
Current State: 64:[30, 39], Operations: ['25-14=11', '28+11=39']
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,64 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,64 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: 64:[25, 14, 2], Operations: ['30-28=2']
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #0,3,0: 64:[2, 11] Operation: 25-14=11
Exploring Operation: 14+2=16, Resulting Numbers: [25, 16]
Generated Node #0,3,1: 64:[25, 16] Operation: 14+2=16
Exploring Operation: 25+14=39, Resulting Numbers: [2, 39]
Generated Node #0,3,2: 64:[2, 39] Operation: 25+14=39
Exploring Operation: 25+2=27, Resulting Numbers: [14, 27]
Generated Node #0,3,3: 64:[14, 27] Operation: 25+2=27
Exploring Operation: 14/2=7, Resulting Numbers: [25, 7]
Generated Node #0,3,4: 64:[25, 7] Operation: 14/2=7
Moving to Node #0,4
Current State: 64:[25, 30, 2], Operations: ['28/14=2']
Exploring Operation: 30/2=15, Resulting Numbers: [25, 15]
Generated Node #0,4,0: 64:[25, 15] Operation: 30/2=15
Exploring Operation: 30-25=5, Resulting Numbers: [2, 5]
Generated Node #0,4,1: 64:[2, 5] Operation: 30-25=5
Exploring Operation: 25+30=55, Resulting Numbers: [2, 55]
Generated Node #0,4,2: 64:[2, 55] Operation: 25+30=55
Exploring Operation: 25+2=27, Resulting Numbers: [30, 27]
Generated Node #0,4,3: 64:[30, 27] Operation: 25+2=27
Exploring Operation: 30+2=32, Resulting Numbers: [25, 32]
Generated Node #0,4,4: 64:[25, 32] Operation: 30+2=32
Moving to Node #0,0,1
Current State: 64:[3, 16], Operations: ['28-25=3', '30-14=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[2, 5], Operations: ['28/14=2', '30-25=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[14, 33], Operations: ['28-25=3', '30+3=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,64 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[2, 11], Operations: ['30-28=2', '25-14=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[30, 17], Operations: ['28-25=3', '14+3=17']
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,64 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[14, 10], Operations: ['28-25=3', '30/3=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,64 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[30, 11], Operations: ['28-25=3', '14-3=11']
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,64 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[25, 16], Operations: ['30-28=2', '14+2=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[25, 32], Operations: ['28/14=2', '30+2=32']
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,64 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[2, 39], Operations: ['30-28=2', '25+14=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[14, 27], Operations: ['30-28=2', '25+2=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,64 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[30, 27], Operations: ['28/14=2', '25+2=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,64 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[25, 15], Operations: ['28/14=2', '30/2=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,64 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[25, 7], Operations: ['30-28=2', '14/2=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,64 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[2, 55], Operations: ['28/14=2', '25+30=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
99,
3,
82,
2
] | 85 | [
"99-82=17",
"3+2=5",
"17*5=85"
] | Current State: 85:[99, 3, 82, 2], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [3, 2, 17]
Generated Node #2: [3, 2, 17] from Operation: 99-82=17
Current State: 85:[3, 2, 17], Operations: ['99-82=17']
Exploring Operation: 3+2=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 3+2=5
Current State: 85:[17, 5], Operations: ['99-82=17', '3+2=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[99, 3, 82, 2], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [3, 2, 17]
Generated Node #0,0: 85:[3, 2, 17] Operation: 99-82=17
Exploring Operation: 3+82=85, Resulting Numbers: [99, 2, 85]
Generated Node #0,1: 85:[99, 2, 85] Operation: 3+82=85
Exploring Operation: 99-2=97, Resulting Numbers: [3, 82, 97]
Generated Node #0,2: 85:[3, 82, 97] Operation: 99-2=97
Exploring Operation: 99-3=96, Resulting Numbers: [82, 2, 96]
Generated Node #0,3: 85:[82, 2, 96] Operation: 99-3=96
Moving to Node #0,0
Current State: 85:[3, 2, 17], Operations: ['99-82=17']
Exploring Operation: 3-2=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 85:[17, 1] Operation: 3-2=1
Exploring Operation: 2+17=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 85:[3, 19] Operation: 2+17=19
Exploring Operation: 3*2=6, Resulting Numbers: [17, 6]
Generated Node #0,0,2: 85:[17, 6] Operation: 3*2=6
Exploring Operation: 3+2=5, Resulting Numbers: [17, 5]
Generated Node #0,0,3: 85:[17, 5] Operation: 3+2=5
Moving to Node #0,2
Current State: 85:[3, 82, 97], Operations: ['99-2=97']
Exploring Operation: 97-3=94, Resulting Numbers: [82, 94]
Generated Node #0,2,0: 85:[82, 94] Operation: 97-3=94
Exploring Operation: 97-82=15, Resulting Numbers: [3, 15]
Generated Node #0,2,1: 85:[3, 15] Operation: 97-82=15
Exploring Operation: 82-3=79, Resulting Numbers: [97, 79]
Generated Node #0,2,2: 85:[97, 79] Operation: 82-3=79
Exploring Operation: 3+82=85, Resulting Numbers: [97, 85]
Generated Node #0,2,3: 85:[97, 85] Operation: 3+82=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[3, 15], Operations: ['99-2=97', '97-82=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,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:[82, 94], Operations: ['99-2=97', '97-3=94']
Exploring Operation: 82+94=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Exploring Operation: 82*94=7708, Resulting Numbers: [7708]
7708,85 unequal: No Solution
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,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,3
Current State: 85:[97, 85], Operations: ['99-2=97', '3+82=85']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 97+85=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 97*85=8245, Resulting Numbers: [8245]
8245,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:[97, 79], Operations: ['99-2=97', '82-3=79']
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,85 unequal: No Solution
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,85 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: 85:[99, 2, 85], Operations: ['3+82=85']
Exploring Operation: 99+2=101, Resulting Numbers: [85, 101]
Generated Node #0,1,0: 85:[85, 101] Operation: 99+2=101
Exploring Operation: 2+85=87, Resulting Numbers: [99, 87]
Generated Node #0,1,1: 85:[99, 87] Operation: 2+85=87
Exploring Operation: 99-85=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 85:[2, 14] Operation: 99-85=14
Exploring Operation: 99-2=97, Resulting Numbers: [85, 97]
Generated Node #0,1,3: 85:[85, 97] Operation: 99-2=97
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[2, 14], Operations: ['3+82=85', '99-85=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,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,3
Current State: 85:[85, 97], Operations: ['3+82=85', '99-2=97']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 85+97=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 85*97=8245, Resulting Numbers: [8245]
8245,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,0
Current State: 85:[85, 101], Operations: ['3+82=85', '99+2=101']
Exploring Operation: 101-85=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 85*101=8585, Resulting Numbers: [8585]
8585,85 unequal: No Solution
Exploring Operation: 85+101=186, Resulting Numbers: [186]
186,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,1
Current State: 85:[99, 87], Operations: ['3+82=85', '2+85=87']
Exploring Operation: 99*87=8613, Resulting Numbers: [8613]
8613,85 unequal: No Solution
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 99+87=186, Resulting Numbers: [186]
186,85 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: 85:[82, 2, 96], Operations: ['99-3=96']
Exploring Operation: 82-2=80, Resulting Numbers: [96, 80]
Generated Node #0,3,0: 85:[96, 80] Operation: 82-2=80
Exploring Operation: 82+2=84, Resulting Numbers: [96, 84]
Generated Node #0,3,1: 85:[96, 84] Operation: 82+2=84
Exploring Operation: 96-82=14, Resulting Numbers: [2, 14]
Generated Node #0,3,2: 85:[2, 14] Operation: 96-82=14
Exploring Operation: 96-2=94, Resulting Numbers: [82, 94]
Generated Node #0,3,3: 85:[82, 94] Operation: 96-2=94
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[2, 14], Operations: ['99-3=96', '96-82=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,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,3,1
Current State: 85:[96, 84], Operations: ['99-3=96', '82+2=84']
Exploring Operation: 96*84=8064, Resulting Numbers: [8064]
8064,85 unequal: No Solution
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 96+84=180, Resulting Numbers: [180]
180,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,3,3
Current State: 85:[82, 94], Operations: ['99-3=96', '96-2=94']
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 82*94=7708, Resulting Numbers: [7708]
7708,85 unequal: No Solution
Exploring Operation: 82+94=176, Resulting Numbers: [176]
176,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,3,0
Current State: 85:[96, 80], Operations: ['99-3=96', '82-2=80']
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 96+80=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Exploring Operation: 96*80=7680, Resulting Numbers: [7680]
7680,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 85:[17, 5], Operations: ['99-82=17', '3+2=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[99, 3, 82, 2], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [3, 2, 17]
Generated Node #0,0: 85:[3, 2, 17] Operation: 99-82=17
Moving to Node #0,0
Current State: 85:[3, 2, 17], Operations: ['99-82=17']
Exploring Operation: 3+2=5, Resulting Numbers: [17, 5]
Generated Node #0,0,3: 85:[17, 5] Operation: 3+2=5
Moving to Node #0,0,3
Current State: 85:[17, 5], Operations: ['99-82=17', '3+2=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.943576 | hs_4 | sum_heuristic |
[
27,
28,
11,
2
] | 36 | [
"27-11=16",
"16/2=8",
"28+8=36"
] | Current State: 36:[27, 28, 11, 2], Operations: []
Exploring Operation: 27-11=16, Resulting Numbers: [28, 2, 16]
Generated Node #2: [28, 2, 16] from Operation: 27-11=16
Current State: 36:[28, 2, 16], Operations: ['27-11=16']
Exploring Operation: 16/2=8, Resulting Numbers: [28, 8]
Generated Node #3: [28, 8] from Operation: 16/2=8
Current State: 36:[28, 8], Operations: ['27-11=16', '16/2=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[27, 28, 11, 2], Operations: []
Exploring Operation: 28-27=1, Resulting Numbers: [11, 2, 1]
Generated Node #0,0: 36:[11, 2, 1] Operation: 28-27=1
Exploring Operation: 27+11=38, Resulting Numbers: [28, 2, 38]
Generated Node #0,1: 36:[28, 2, 38] Operation: 27+11=38
Exploring Operation: 27-11=16, Resulting Numbers: [28, 2, 16]
Generated Node #0,2: 36:[28, 2, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[11, 2, 1], Operations: ['28-27=1']
Exploring Operation: 11+1=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 36:[2, 12] Operation: 11+1=12
Exploring Operation: 11-2=9, Resulting Numbers: [1, 9]
Generated Node #0,0,1: 36:[1, 9] Operation: 11-2=9
Exploring Operation: 11*1=11, Resulting Numbers: [2, 11]
Generated Node #0,0,2: 36:[2, 11] Operation: 11*1=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[2, 12], Operations: ['28-27=1', '11+1=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,36 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: 36:[1, 9], Operations: ['28-27=1', '11-2=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,36 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: 36:[2, 11], Operations: ['28-27=1', '11*1=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,36 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: 36:[28, 2, 38], Operations: ['27+11=38']
Exploring Operation: 28+2=30, Resulting Numbers: [38, 30]
Generated Node #0,1,0: 36:[38, 30] Operation: 28+2=30
Exploring Operation: 38-28=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 36:[2, 10] Operation: 38-28=10
Exploring Operation: 28/2=14, Resulting Numbers: [38, 14]
Generated Node #0,1,2: 36:[38, 14] Operation: 28/2=14
Moving to Node #0,1,1
Current State: 36:[2, 10], Operations: ['27+11=38', '38-28=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[38, 14], Operations: ['27+11=38', '28/2=14']
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,36 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[38, 30], Operations: ['27+11=38', '28+2=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,36 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,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,2
Current State: 36:[28, 2, 16], Operations: ['27-11=16']
Exploring Operation: 28-16=12, Resulting Numbers: [2, 12]
Generated Node #0,2,0: 36:[2, 12] Operation: 28-16=12
Exploring Operation: 28+2=30, Resulting Numbers: [16, 30]
Generated Node #0,2,1: 36:[16, 30] Operation: 28+2=30
Exploring Operation: 28/2=14, Resulting Numbers: [16, 14]
Generated Node #0,2,2: 36:[16, 14] Operation: 28/2=14
Moving to Node #0,2,0
Current State: 36:[2, 12], Operations: ['27-11=16', '28-16=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[16, 14], Operations: ['27-11=16', '28/2=14']
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,36 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[16, 30], Operations: ['27-11=16', '28+2=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,36 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
8,
5,
19,
2
] | 96 | [
"8/2=4",
"5+19=24",
"4*24=96"
] | Current State: 96:[8, 5, 19, 2], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [5, 19, 4]
Generated Node #2: [5, 19, 4] from Operation: 8/2=4
Current State: 96:[5, 19, 4], Operations: ['8/2=4']
Exploring Operation: 5+19=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 5+19=24
Current State: 96:[4, 24], Operations: ['8/2=4', '5+19=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[8, 5, 19, 2], Operations: []
Exploring Operation: 19-5=14, Resulting Numbers: [8, 2, 14]
Generated Node #0,0: 96:[8, 2, 14] Operation: 19-5=14
Exploring Operation: 19-8=11, Resulting Numbers: [5, 2, 11]
Generated Node #0,1: 96:[5, 2, 11] Operation: 19-8=11
Exploring Operation: 5*19=95, Resulting Numbers: [8, 2, 95]
Generated Node #0,2: 96:[8, 2, 95] Operation: 5*19=95
Exploring Operation: 5+19=24, Resulting Numbers: [8, 2, 24]
Generated Node #0,3: 96:[8, 2, 24] Operation: 5+19=24
Moving to Node #0,3
Current State: 96:[8, 2, 24], Operations: ['5+19=24']
Exploring Operation: 8+24=32, Resulting Numbers: [2, 32]
Generated Node #0,3,0: 96:[2, 32] Operation: 8+24=32
Exploring Operation: 8-2=6, Resulting Numbers: [24, 6]
Generated Node #0,3,1: 96:[24, 6] Operation: 8-2=6
Exploring Operation: 8*2=16, Resulting Numbers: [24, 16]
Generated Node #0,3,2: 96:[24, 16] Operation: 8*2=16
Exploring Operation: 8/2=4, Resulting Numbers: [24, 4]
Generated Node #0,3,3: 96:[24, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[2, 32], Operations: ['5+19=24', '8+24=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[24, 6], Operations: ['5+19=24', '8-2=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[24, 16], Operations: ['5+19=24', '8*2=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,96 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[24, 4], Operations: ['5+19=24', '8/2=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[8, 5, 19, 2], Operations: []
Exploring Operation: 5+19=24, Resulting Numbers: [8, 2, 24]
Generated Node #0,3: 96:[8, 2, 24] Operation: 5+19=24
Moving to Node #0,3
Current State: 96:[8, 2, 24], Operations: ['5+19=24']
Exploring Operation: 8/2=4, Resulting Numbers: [24, 4]
Generated Node #0,3,3: 96:[24, 4] Operation: 8/2=4
Moving to Node #0,3,3
Current State: 96:[24, 4], Operations: ['5+19=24', '8/2=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
77,
59,
83,
3
] | 85 | [
"83-59=24",
"24/3=8",
"77+8=85"
] | Current State: 85:[77, 59, 83, 3], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [77, 3, 24]
Generated Node #2: [77, 3, 24] from Operation: 83-59=24
Current State: 85:[77, 3, 24], Operations: ['83-59=24']
Exploring Operation: 24/3=8, Resulting Numbers: [77, 8]
Generated Node #3: [77, 8] from Operation: 24/3=8
Current State: 85:[77, 8], Operations: ['83-59=24', '24/3=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[77, 59, 83, 3], Operations: []
Exploring Operation: 77-59=18, Resulting Numbers: [83, 3, 18]
Generated Node #0,0: 85:[83, 3, 18] Operation: 77-59=18
Exploring Operation: 83-77=6, Resulting Numbers: [59, 3, 6]
Generated Node #0,1: 85:[59, 3, 6] Operation: 83-77=6
Exploring Operation: 83-59=24, Resulting Numbers: [77, 3, 24]
Generated Node #0,2: 85:[77, 3, 24] Operation: 83-59=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[83, 3, 18], Operations: ['77-59=18']
Exploring Operation: 83+3=86, Resulting Numbers: [18, 86]
Generated Node #0,0,0: 85:[18, 86] Operation: 83+3=86
Exploring Operation: 18-3=15, Resulting Numbers: [83, 15]
Generated Node #0,0,1: 85:[83, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [83, 6]
Generated Node #0,0,2: 85:[83, 6] Operation: 18/3=6
Moving to Node #0,0,0
Current State: 85:[18, 86], Operations: ['77-59=18', '83+3=86']
Exploring Operation: 18*86=1548, Resulting Numbers: [1548]
1548,85 unequal: No Solution
Exploring Operation: 18+86=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[83, 6], Operations: ['77-59=18', '18/3=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[83, 15], Operations: ['77-59=18', '18-3=15']
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,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
Current State: 85:[77, 3, 24], Operations: ['83-59=24']
Exploring Operation: 24-3=21, Resulting Numbers: [77, 21]
Generated Node #0,2,0: 85:[77, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [77, 8]
Generated Node #0,2,1: 85:[77, 8] Operation: 24/3=8
Exploring Operation: 77+3=80, Resulting Numbers: [24, 80]
Generated Node #0,2,2: 85:[24, 80] Operation: 77+3=80
Moving to Node #0,2,1
Current State: 85:[77, 8], Operations: ['83-59=24', '24/3=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,85 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[77, 59, 83, 3], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [77, 3, 24]
Generated Node #0,2: 85:[77, 3, 24] Operation: 83-59=24
Moving to Node #0,2
Current State: 85:[77, 3, 24], Operations: ['83-59=24']
Exploring Operation: 24/3=8, Resulting Numbers: [77, 8]
Generated Node #0,2,1: 85:[77, 8] Operation: 24/3=8
Moving to Node #0,2,1
Current State: 85:[77, 8], Operations: ['83-59=24', '24/3=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
9,
13,
63,
3
] | 44 | [
"9+13=22",
"63+3=66",
"66-22=44"
] | Current State: 44:[9, 13, 63, 3], Operations: []
Exploring Operation: 9+13=22, Resulting Numbers: [63, 3, 22]
Generated Node #2: [63, 3, 22] from Operation: 9+13=22
Current State: 44:[63, 3, 22], Operations: ['9+13=22']
Exploring Operation: 63+3=66, Resulting Numbers: [22, 66]
Generated Node #3: [22, 66] from Operation: 63+3=66
Current State: 44:[22, 66], Operations: ['9+13=22', '63+3=66']
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[9, 13, 63, 3], Operations: []
Exploring Operation: 63-13=50, Resulting Numbers: [9, 3, 50]
Generated Node #0,0: 44:[9, 3, 50] Operation: 63-13=50
Exploring Operation: 63/3=21, Resulting Numbers: [9, 13, 21]
Generated Node #0,1: 44:[9, 13, 21] Operation: 63/3=21
Exploring Operation: 63/9=7, Resulting Numbers: [13, 3, 7]
Generated Node #0,2: 44:[13, 3, 7] Operation: 63/9=7
Moving to Node #0,1
Current State: 44:[9, 13, 21], Operations: ['63/3=21']
Exploring Operation: 13-9=4, Resulting Numbers: [21, 4]
Generated Node #0,1,0: 44:[21, 4] Operation: 13-9=4
Exploring Operation: 9+13=22, Resulting Numbers: [21, 22]
Generated Node #0,1,1: 44:[21, 22] Operation: 9+13=22
Exploring Operation: 21-9=12, Resulting Numbers: [13, 12]
Generated Node #0,1,2: 44:[13, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[21, 4], Operations: ['63/3=21', '13-9=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,44 unequal: No Solution
No 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: 44:[21, 22], Operations: ['63/3=21', '9+13=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,44 unequal: No Solution
No 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: 44:[13, 12], Operations: ['63/3=21', '21-9=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,44 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,44 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: 44:[13, 3, 7], Operations: ['63/9=7']
Exploring Operation: 13-7=6, Resulting Numbers: [3, 6]
Generated Node #0,2,0: 44:[3, 6] Operation: 13-7=6
Exploring Operation: 7-3=4, Resulting Numbers: [13, 4]
Generated Node #0,2,1: 44:[13, 4] Operation: 7-3=4
Exploring Operation: 13+7=20, Resulting Numbers: [3, 20]
Generated Node #0,2,2: 44:[3, 20] Operation: 13+7=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[13, 4], Operations: ['63/9=7', '7-3=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,44 unequal: No Solution
No 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: 44:[3, 6], Operations: ['63/9=7', '13-7=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No 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: 44:[3, 20], Operations: ['63/9=7', '13+7=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,44 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: 44:[9, 3, 50], Operations: ['63-13=50']
Exploring Operation: 50-9=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 44:[3, 41] Operation: 50-9=41
Exploring Operation: 9+3=12, Resulting Numbers: [50, 12]
Generated Node #0,0,1: 44:[50, 12] Operation: 9+3=12
Exploring Operation: 50-3=47, Resulting Numbers: [9, 47]
Generated Node #0,0,2: 44:[9, 47] Operation: 50-3=47
Moving to Node #0,0,0
Current State: 44:[3, 41], Operations: ['63-13=50', '50-9=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[9, 13, 63, 3], Operations: []
Exploring Operation: 63-13=50, Resulting Numbers: [9, 3, 50]
Generated Node #0,0: 44:[9, 3, 50] Operation: 63-13=50
Moving to Node #0,0
Current State: 44:[9, 3, 50], Operations: ['63-13=50']
Exploring Operation: 50-9=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 44:[3, 41] Operation: 50-9=41
Moving to Node #0,0,0
Current State: 44:[3, 41], Operations: ['63-13=50', '50-9=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
1,
8,
73,
85
] | 94 | [
"73-1=72",
"72/8=9",
"85+9=94"
] | Current State: 94:[1, 8, 73, 85], Operations: []
Exploring Operation: 73-1=72, Resulting Numbers: [8, 85, 72]
Generated Node #2: [8, 85, 72] from Operation: 73-1=72
Current State: 94:[8, 85, 72], Operations: ['73-1=72']
Exploring Operation: 72/8=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 72/8=9
Current State: 94:[85, 9], Operations: ['73-1=72', '72/8=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[1, 8, 73, 85], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [1, 8, 12]
Generated Node #0,0: 94:[1, 8, 12] Operation: 85-73=12
Exploring Operation: 8+73=81, Resulting Numbers: [1, 85, 81]
Generated Node #0,1: 94:[1, 85, 81] Operation: 8+73=81
Exploring Operation: 8+85=93, Resulting Numbers: [1, 73, 93]
Generated Node #0,2: 94:[1, 73, 93] Operation: 8+85=93
Moving to Node #0,0
Current State: 94:[1, 8, 12], Operations: ['85-73=12']
Exploring Operation: 8-1=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 94:[12, 7] Operation: 8-1=7
Exploring Operation: 8*12=96, Resulting Numbers: [1, 96]
Generated Node #0,0,1: 94:[1, 96] Operation: 8*12=96
Exploring Operation: 12-8=4, Resulting Numbers: [1, 4]
Generated Node #0,0,2: 94:[1, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[1, 96], Operations: ['85-73=12', '8*12=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 1*96=96, Resulting Numbers: [96]
96,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,0,2
Current State: 94:[1, 4], Operations: ['85-73=12', '12-8=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,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,0,0
Current State: 94:[12, 7], Operations: ['85-73=12', '8-1=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,94 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: 94:[1, 85, 81], Operations: ['8+73=81']
Exploring Operation: 1+81=82, Resulting Numbers: [85, 82]
Generated Node #0,1,0: 94:[85, 82] Operation: 1+81=82
Exploring Operation: 85-81=4, Resulting Numbers: [1, 4]
Generated Node #0,1,1: 94:[1, 4] Operation: 85-81=4
Exploring Operation: 1+85=86, Resulting Numbers: [81, 86]
Generated Node #0,1,2: 94:[81, 86] Operation: 1+85=86
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[1, 4], Operations: ['8+73=81', '85-81=4']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,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,1,0
Current State: 94:[85, 82], Operations: ['8+73=81', '1+81=82']
Exploring Operation: 85*82=6970, Resulting Numbers: [6970]
6970,94 unequal: No Solution
Exploring Operation: 85+82=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,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,1,2
Current State: 94:[81, 86], Operations: ['8+73=81', '1+85=86']
Exploring Operation: 81*86=6966, Resulting Numbers: [6966]
6966,94 unequal: No Solution
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,94 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: 94:[1, 73, 93], Operations: ['8+85=93']
Exploring Operation: 1+93=94, Resulting Numbers: [73, 94]
Generated Node #0,2,0: 94:[73, 94] Operation: 1+93=94
Exploring Operation: 1+73=74, Resulting Numbers: [93, 74]
Generated Node #0,2,1: 94:[93, 74] Operation: 1+73=74
Exploring Operation: 93-73=20, Resulting Numbers: [1, 20]
Generated Node #0,2,2: 94:[1, 20] Operation: 93-73=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[1, 20], Operations: ['8+85=93', '93-73=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,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,2,0
Current State: 94:[73, 94], Operations: ['8+85=93', '1+93=94']
Exploring Operation: 73+94=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 73*94=6862, Resulting Numbers: [6862]
6862,94 unequal: No Solution
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,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,2,1
Current State: 94:[93, 74], Operations: ['8+85=93', '1+73=74']
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,94 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,94 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 |
[
98,
92,
56,
97
] | 35 | [
"98-92=6",
"97-56=41",
"41-6=35"
] | Current State: 35:[98, 92, 56, 97], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [56, 97, 6]
Generated Node #2: [56, 97, 6] from Operation: 98-92=6
Current State: 35:[56, 97, 6], Operations: ['98-92=6']
Exploring Operation: 97-56=41, Resulting Numbers: [6, 41]
Generated Node #3: [6, 41] from Operation: 97-56=41
Current State: 35:[6, 41], Operations: ['98-92=6', '97-56=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[98, 92, 56, 97], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [56, 97, 6]
Generated Node #0,0: 35:[56, 97, 6] Operation: 98-92=6
Exploring Operation: 98-97=1, Resulting Numbers: [92, 56, 1]
Generated Node #0,1: 35:[92, 56, 1] Operation: 98-97=1
Exploring Operation: 97-92=5, Resulting Numbers: [98, 56, 5]
Generated Node #0,2: 35:[98, 56, 5] Operation: 97-92=5
Moving to Node #0,1
Current State: 35:[92, 56, 1], Operations: ['98-97=1']
Exploring Operation: 92-56=36, Resulting Numbers: [1, 36]
Generated Node #0,1,0: 35:[1, 36] Operation: 92-56=36
Exploring Operation: 92-1=91, Resulting Numbers: [56, 91]
Generated Node #0,1,1: 35:[56, 91] Operation: 92-1=91
Exploring Operation: 56-1=55, Resulting Numbers: [92, 55]
Generated Node #0,1,2: 35:[92, 55] Operation: 56-1=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[1, 36], Operations: ['98-97=1', '92-56=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[98, 92, 56, 97], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [92, 56, 1]
Generated Node #0,1: 35:[92, 56, 1] Operation: 98-97=1
Moving to Node #0,1
Current State: 35:[92, 56, 1], Operations: ['98-97=1']
Exploring Operation: 92-56=36, Resulting Numbers: [1, 36]
Generated Node #0,1,0: 35:[1, 36] Operation: 92-56=36
Moving to Node #0,1,0
Current State: 35:[1, 36], Operations: ['98-97=1', '92-56=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
34,
20,
22,
70
] | 17 | [
"34-20=14",
"70/14=5",
"22-5=17"
] | Current State: 17:[34, 20, 22, 70], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [22, 70, 14]
Generated Node #2: [22, 70, 14] from Operation: 34-20=14
Current State: 17:[22, 70, 14], Operations: ['34-20=14']
Exploring Operation: 70/14=5, Resulting Numbers: [22, 5]
Generated Node #3: [22, 5] from Operation: 70/14=5
Current State: 17:[22, 5], Operations: ['34-20=14', '70/14=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[34, 20, 22, 70], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [34, 20, 48]
Generated Node #0,0: 17:[34, 20, 48] Operation: 70-22=48
Exploring Operation: 70-20=50, Resulting Numbers: [34, 22, 50]
Generated Node #0,1: 17:[34, 22, 50] Operation: 70-20=50
Exploring Operation: 70-34=36, Resulting Numbers: [20, 22, 36]
Generated Node #0,2: 17:[20, 22, 36] Operation: 70-34=36
Moving to Node #0,2
Current State: 17:[20, 22, 36], Operations: ['70-34=36']
Exploring Operation: 22-20=2, Resulting Numbers: [36, 2]
Generated Node #0,2,0: 17:[36, 2] Operation: 22-20=2
Exploring Operation: 36-20=16, Resulting Numbers: [22, 16]
Generated Node #0,2,1: 17:[22, 16] Operation: 36-20=16
Exploring Operation: 36-22=14, Resulting Numbers: [20, 14]
Generated Node #0,2,2: 17:[20, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[22, 16], Operations: ['70-34=36', '36-20=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,17 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,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:[20, 14], Operations: ['70-34=36', '36-22=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,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:[36, 2], Operations: ['70-34=36', '22-20=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,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:[34, 20, 48], Operations: ['70-22=48']
Exploring Operation: 34-20=14, Resulting Numbers: [48, 14]
Generated Node #0,0,0: 17:[48, 14] Operation: 34-20=14
Exploring Operation: 48-34=14, Resulting Numbers: [20, 14]
Generated Node #0,0,1: 17:[20, 14] Operation: 48-34=14
Exploring Operation: 48-20=28, Resulting Numbers: [34, 28]
Generated Node #0,0,2: 17:[34, 28] Operation: 48-20=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[20, 14], Operations: ['70-22=48', '48-34=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,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:[34, 28], Operations: ['70-22=48', '48-20=28']
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,17 unequal: No Solution
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 34-28=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,0,0
Current State: 17:[48, 14], Operations: ['70-22=48', '34-20=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,17 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,17 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: 17:[34, 22, 50], Operations: ['70-20=50']
Exploring Operation: 50-34=16, Resulting Numbers: [22, 16]
Generated Node #0,1,0: 17:[22, 16] Operation: 50-34=16
Exploring Operation: 34-22=12, Resulting Numbers: [50, 12]
Generated Node #0,1,1: 17:[50, 12] Operation: 34-22=12
Exploring Operation: 50-22=28, Resulting Numbers: [34, 28]
Generated Node #0,1,2: 17:[34, 28] Operation: 50-22=28
Moving to Node #0,1,0
Current State: 17:[22, 16], Operations: ['70-20=50', '50-34=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,17 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[34, 28], Operations: ['70-20=50', '50-22=28']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,17 unequal: No Solution
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[50, 12], Operations: ['70-20=50', '34-22=12']
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,17 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,17 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
52,
70,
17
] | 21 | [
"51/17=3",
"70-52=18",
"3+18=21"
] | Current State: 21:[51, 52, 70, 17], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [52, 70, 3]
Generated Node #2: [52, 70, 3] from Operation: 51/17=3
Current State: 21:[52, 70, 3], Operations: ['51/17=3']
Exploring Operation: 70-52=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 70-52=18
Current State: 21:[3, 18], Operations: ['51/17=3', '70-52=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[51, 52, 70, 17], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [51, 17, 18]
Generated Node #0,0: 21:[51, 17, 18] Operation: 70-52=18
Exploring Operation: 70-51=19, Resulting Numbers: [52, 17, 19]
Generated Node #0,1: 21:[52, 17, 19] Operation: 70-51=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[51, 17, 18], Operations: ['70-52=18']
Exploring Operation: 51-17=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 21:[18, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 21:[18, 3] Operation: 51/17=3
Moving to Node #0,0,1
Current State: 21:[18, 3], Operations: ['70-52=18', '51/17=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[51, 52, 70, 17], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [51, 17, 18]
Generated Node #0,0: 21:[51, 17, 18] Operation: 70-52=18
Moving to Node #0,0
Current State: 21:[51, 17, 18], Operations: ['70-52=18']
Exploring Operation: 51/17=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 21:[18, 3] Operation: 51/17=3
Moving to Node #0,0,1
Current State: 21:[18, 3], Operations: ['70-52=18', '51/17=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
42,
25,
19,
32
] | 39 | [
"25-19=6",
"42/6=7",
"32+7=39"
] | Current State: 39:[42, 25, 19, 32], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [42, 32, 6]
Generated Node #2: [42, 32, 6] from Operation: 25-19=6
Current State: 39:[42, 32, 6], Operations: ['25-19=6']
Exploring Operation: 42/6=7, Resulting Numbers: [32, 7]
Generated Node #3: [32, 7] from Operation: 42/6=7
Current State: 39:[32, 7], Operations: ['25-19=6', '42/6=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[42, 25, 19, 32], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [42, 32, 6]
Generated Node #0,0: 39:[42, 32, 6] Operation: 25-19=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[42, 32, 6], Operations: ['25-19=6']
Exploring Operation: 32+6=38, Resulting Numbers: [42, 38]
Generated Node #0,0,0: 39:[42, 38] Operation: 32+6=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[42, 38], Operations: ['25-19=6', '32+6=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,39 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 |
[
18,
77,
10,
43
] | 30 | [
"77+43=120",
"120/10=12",
"18+12=30"
] | Current State: 30:[18, 77, 10, 43], Operations: []
Exploring Operation: 77+43=120, Resulting Numbers: [18, 10, 120]
Generated Node #2: [18, 10, 120] from Operation: 77+43=120
Current State: 30:[18, 10, 120], Operations: ['77+43=120']
Exploring Operation: 120/10=12, Resulting Numbers: [18, 12]
Generated Node #3: [18, 12] from Operation: 120/10=12
Current State: 30:[18, 12], Operations: ['77+43=120', '120/10=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[18, 77, 10, 43], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [18, 10, 34]
Generated Node #0,0: 30:[18, 10, 34] Operation: 77-43=34
Exploring Operation: 77-10=67, Resulting Numbers: [18, 43, 67]
Generated Node #0,1: 30:[18, 43, 67] Operation: 77-10=67
Exploring Operation: 77-18=59, Resulting Numbers: [10, 43, 59]
Generated Node #0,2: 30:[10, 43, 59] Operation: 77-18=59
Exploring Operation: 43-18=25, Resulting Numbers: [77, 10, 25]
Generated Node #0,3: 30:[77, 10, 25] Operation: 43-18=25
Moving to Node #0,0
Current State: 30:[18, 10, 34], Operations: ['77-43=34']
Exploring Operation: 18+10=28, Resulting Numbers: [34, 28]
Generated Node #0,0,0: 30:[34, 28] Operation: 18+10=28
Exploring Operation: 34-10=24, Resulting Numbers: [18, 24]
Generated Node #0,0,1: 30:[18, 24] Operation: 34-10=24
Exploring Operation: 34-18=16, Resulting Numbers: [10, 16]
Generated Node #0,0,2: 30:[10, 16] Operation: 34-18=16
Exploring Operation: 18-10=8, Resulting Numbers: [34, 8]
Generated Node #0,0,3: 30:[34, 8] Operation: 18-10=8
Moving to Node #0,2
Current State: 30:[10, 43, 59], Operations: ['77-18=59']
Exploring Operation: 10+43=53, Resulting Numbers: [59, 53]
Generated Node #0,2,0: 30:[59, 53] Operation: 10+43=53
Exploring Operation: 59-43=16, Resulting Numbers: [10, 16]
Generated Node #0,2,1: 30:[10, 16] Operation: 59-43=16
Exploring Operation: 59-10=49, Resulting Numbers: [43, 49]
Generated Node #0,2,2: 30:[43, 49] Operation: 59-10=49
Exploring Operation: 43-10=33, Resulting Numbers: [59, 33]
Generated Node #0,2,3: 30:[59, 33] Operation: 43-10=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[10, 16], Operations: ['77-18=59', '59-43=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,30 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,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,2,2
Current State: 30:[43, 49], Operations: ['77-18=59', '59-10=49']
Exploring Operation: 43*49=2107, Resulting Numbers: [2107]
2107,30 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,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,2,3
Current State: 30:[59, 33], Operations: ['77-18=59', '43-10=33']
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,30 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,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,2,0
Current State: 30:[59, 53], Operations: ['77-18=59', '10+43=53']
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,30 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,30 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,30 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: 30:[77, 10, 25], Operations: ['43-18=25']
Exploring Operation: 77-10=67, Resulting Numbers: [25, 67]
Generated Node #0,3,0: 30:[25, 67] Operation: 77-10=67
Exploring Operation: 77-25=52, Resulting Numbers: [10, 52]
Generated Node #0,3,1: 30:[10, 52] Operation: 77-25=52
Exploring Operation: 10+25=35, Resulting Numbers: [77, 35]
Generated Node #0,3,2: 30:[77, 35] Operation: 10+25=35
Exploring Operation: 25-10=15, Resulting Numbers: [77, 15]
Generated Node #0,3,3: 30:[77, 15] Operation: 25-10=15
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[10, 52], Operations: ['43-18=25', '77-25=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,30 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,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,3,0
Current State: 30:[25, 67], Operations: ['43-18=25', '77-10=67']
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 25*67=1675, Resulting Numbers: [1675]
1675,30 unequal: No Solution
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,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,3,3
Current State: 30:[77, 15], Operations: ['43-18=25', '25-10=15']
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,30 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,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,3,2
Current State: 30:[77, 35], Operations: ['43-18=25', '10+25=35']
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,30 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,30 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: 30:[18, 43, 67], Operations: ['77-10=67']
Exploring Operation: 67-18=49, Resulting Numbers: [43, 49]
Generated Node #0,1,0: 30:[43, 49] Operation: 67-18=49
Exploring Operation: 18+43=61, Resulting Numbers: [67, 61]
Generated Node #0,1,1: 30:[67, 61] Operation: 18+43=61
Exploring Operation: 67-43=24, Resulting Numbers: [18, 24]
Generated Node #0,1,2: 30:[18, 24] Operation: 67-43=24
Exploring Operation: 43-18=25, Resulting Numbers: [67, 25]
Generated Node #0,1,3: 30:[67, 25] Operation: 43-18=25
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[18, 24], Operations: ['77-10=67', '67-43=24']
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,30 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,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,1,0
Current State: 30:[43, 49], Operations: ['77-10=67', '67-18=49']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 43*49=2107, Resulting Numbers: [2107]
2107,30 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,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,1,3
Current State: 30:[67, 25], Operations: ['77-10=67', '43-18=25']
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,30 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,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,1,1
Current State: 30:[67, 61], Operations: ['77-10=67', '18+43=61']
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,30 unequal: No Solution
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,30 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: 30:[10, 16], Operations: ['77-43=34', '34-18=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[34, 8], Operations: ['77-43=34', '18-10=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,30 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[34, 28], Operations: ['77-43=34', '18+10=28']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,30 unequal: No Solution
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[18, 24], Operations: ['77-43=34', '34-10=24']
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,30 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,30 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
43,
45,
72
] | 79 | [
"86+72=158",
"45-43=2",
"158/2=79"
] | Current State: 79:[86, 43, 45, 72], Operations: []
Exploring Operation: 86+72=158, Resulting Numbers: [43, 45, 158]
Generated Node #2: [43, 45, 158] from Operation: 86+72=158
Current State: 79:[43, 45, 158], Operations: ['86+72=158']
Exploring Operation: 45-43=2, Resulting Numbers: [158, 2]
Generated Node #3: [158, 2] from Operation: 45-43=2
Current State: 79:[158, 2], Operations: ['86+72=158', '45-43=2']
Exploring Operation: 158/2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[86, 43, 45, 72], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [45, 72, 43]
Generated Node #0,0: 79:[45, 72, 43] Operation: 86-43=43
Exploring Operation: 43+72=115, Resulting Numbers: [86, 45, 115]
Generated Node #0,1: 79:[86, 45, 115] Operation: 43+72=115
Exploring Operation: 43+45=88, Resulting Numbers: [86, 72, 88]
Generated Node #0,2: 79:[86, 72, 88] Operation: 43+45=88
Moving to Node #0,2
Current State: 79:[86, 72, 88], Operations: ['43+45=88']
Exploring Operation: 86-72=14, Resulting Numbers: [88, 14]
Generated Node #0,2,0: 79:[88, 14] Operation: 86-72=14
Exploring Operation: 88-72=16, Resulting Numbers: [86, 16]
Generated Node #0,2,1: 79:[86, 16] Operation: 88-72=16
Exploring Operation: 88-86=2, Resulting Numbers: [72, 2]
Generated Node #0,2,2: 79:[72, 2] Operation: 88-86=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[86, 16], Operations: ['43+45=88', '88-72=16']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 86*16=1376, Resulting Numbers: [1376]
1376,79 unequal: No Solution
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,79 unequal: No Solution
No 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: 79:[88, 14], Operations: ['43+45=88', '86-72=14']
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,79 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No 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: 79:[72, 2], Operations: ['43+45=88', '88-86=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,79 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: 79:[45, 72, 43], Operations: ['86-43=43']
Exploring Operation: 45+72=117, Resulting Numbers: [43, 117]
Generated Node #0,0,0: 79:[43, 117] Operation: 45+72=117
Exploring Operation: 72+43=115, Resulting Numbers: [45, 115]
Generated Node #0,0,1: 79:[45, 115] Operation: 72+43=115
Exploring Operation: 45+43=88, Resulting Numbers: [72, 88]
Generated Node #0,0,2: 79:[72, 88] Operation: 45+43=88
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[72, 88], Operations: ['86-43=43', '45+43=88']
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,79 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,79 unequal: No Solution
No 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: 79:[45, 115], Operations: ['86-43=43', '72+43=115']
Exploring Operation: 115-45=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 45*115=5175, Resulting Numbers: [5175]
5175,79 unequal: No Solution
Exploring Operation: 45+115=160, Resulting Numbers: [160]
160,79 unequal: No Solution
No 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: 79:[43, 117], Operations: ['86-43=43', '45+72=117']
Exploring Operation: 43*117=5031, Resulting Numbers: [5031]
5031,79 unequal: No Solution
Exploring Operation: 117-43=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 43+117=160, Resulting Numbers: [160]
160,79 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: 79:[86, 45, 115], Operations: ['43+72=115']
Exploring Operation: 86-45=41, Resulting Numbers: [115, 41]
Generated Node #0,1,0: 79:[115, 41] Operation: 86-45=41
Exploring Operation: 115-86=29, Resulting Numbers: [45, 29]
Generated Node #0,1,1: 79:[45, 29] Operation: 115-86=29
Exploring Operation: 115-45=70, Resulting Numbers: [86, 70]
Generated Node #0,1,2: 79:[86, 70] Operation: 115-45=70
Moving to Node #0,1,2
Current State: 79:[86, 70], Operations: ['43+72=115', '115-45=70']
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,79 unequal: No Solution
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[115, 41], Operations: ['43+72=115', '86-45=41']
Exploring Operation: 115+41=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 115-41=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 115*41=4715, Resulting Numbers: [4715]
4715,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[45, 29], Operations: ['43+72=115', '115-86=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,79 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
67,
75,
59,
48
] | 96 | [
"75+59=134",
"134/67=2",
"48*2=96"
] | Current State: 96:[67, 75, 59, 48], Operations: []
Exploring Operation: 75+59=134, Resulting Numbers: [67, 48, 134]
Generated Node #2: [67, 48, 134] from Operation: 75+59=134
Current State: 96:[67, 48, 134], Operations: ['75+59=134']
Exploring Operation: 134/67=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 134/67=2
Current State: 96:[48, 2], Operations: ['75+59=134', '134/67=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[67, 75, 59, 48], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [59, 48, 8]
Generated Node #0,0: 96:[59, 48, 8] Operation: 75-67=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[59, 48, 8], Operations: ['75-67=8']
Exploring Operation: 59-48=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 96:[8, 11] Operation: 59-48=11
Moving to Node #0,0,0
Current State: 96:[8, 11], Operations: ['75-67=8', '59-48=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,96 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 |
[
27,
16,
81,
4
] | 67 | [
"81/27=3",
"16*4=64",
"3+64=67"
] | Current State: 67:[27, 16, 81, 4], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [16, 4, 3]
Generated Node #2: [16, 4, 3] from Operation: 81/27=3
Current State: 67:[16, 4, 3], Operations: ['81/27=3']
Exploring Operation: 16*4=64, Resulting Numbers: [3, 64]
Generated Node #3: [3, 64] from Operation: 16*4=64
Current State: 67:[3, 64], Operations: ['81/27=3', '16*4=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[27, 16, 81, 4], Operations: []
Exploring Operation: 27+16=43, Resulting Numbers: [81, 4, 43]
Generated Node #0,0: 67:[81, 4, 43] Operation: 27+16=43
Exploring Operation: 16*4=64, Resulting Numbers: [27, 81, 64]
Generated Node #0,1: 67:[27, 81, 64] Operation: 16*4=64
Exploring Operation: 27+4=31, Resulting Numbers: [16, 81, 31]
Generated Node #0,2: 67:[16, 81, 31] Operation: 27+4=31
Moving to Node #0,1
Current State: 67:[27, 81, 64], Operations: ['16*4=64']
Exploring Operation: 27+81=108, Resulting Numbers: [64, 108]
Generated Node #0,1,0: 67:[64, 108] Operation: 27+81=108
Exploring Operation: 27+64=91, Resulting Numbers: [81, 91]
Generated Node #0,1,1: 67:[81, 91] Operation: 27+64=91
Exploring Operation: 81-27=54, Resulting Numbers: [64, 54]
Generated Node #0,1,2: 67:[64, 54] Operation: 81-27=54
Moving to Node #0,0
Current State: 67:[81, 4, 43], Operations: ['27+16=43']
Exploring Operation: 81+4=85, Resulting Numbers: [43, 85]
Generated Node #0,0,0: 67:[43, 85] Operation: 81+4=85
Exploring Operation: 4+43=47, Resulting Numbers: [81, 47]
Generated Node #0,0,1: 67:[81, 47] Operation: 4+43=47
Exploring Operation: 81-4=77, Resulting Numbers: [43, 77]
Generated Node #0,0,2: 67:[43, 77] Operation: 81-4=77
Moving to Node #0,2
Current State: 67:[16, 81, 31], Operations: ['27+4=31']
Exploring Operation: 16+31=47, Resulting Numbers: [81, 47]
Generated Node #0,2,0: 67:[81, 47] Operation: 16+31=47
Exploring Operation: 16+81=97, Resulting Numbers: [31, 97]
Generated Node #0,2,1: 67:[31, 97] Operation: 16+81=97
Exploring Operation: 81-16=65, Resulting Numbers: [31, 65]
Generated Node #0,2,2: 67:[31, 65] Operation: 81-16=65
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[81, 47], Operations: ['27+4=31', '16+31=47']
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,67 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,67 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,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,2
Current State: 67:[31, 65], Operations: ['27+4=31', '81-16=65']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,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,1
Current State: 67:[31, 97], Operations: ['27+4=31', '16+81=97']
Exploring Operation: 31*97=3007, Resulting Numbers: [3007]
3007,67 unequal: No Solution
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 31+97=128, Resulting Numbers: [128]
128,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 67:[64, 54], Operations: ['16*4=64', '81-27=54']
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,67 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[81, 47], Operations: ['27+16=43', '4+43=47']
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,67 unequal: No Solution
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[43, 77], Operations: ['27+16=43', '81-4=77']
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[81, 91], Operations: ['16*4=64', '27+64=91']
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,67 unequal: No Solution
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[43, 85], Operations: ['27+16=43', '81+4=85']
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,67 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[64, 108], Operations: ['16*4=64', '27+81=108']
Exploring Operation: 108-64=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 64*108=6912, Resulting Numbers: [6912]
6912,67 unequal: No Solution
Exploring Operation: 64+108=172, Resulting Numbers: [172]
172,67 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
93,
28,
48,
2
] | 82 | [
"93-28=65",
"2*65=130",
"130-48=82"
] | Current State: 82:[93, 28, 48, 2], Operations: []
Exploring Operation: 93-28=65, Resulting Numbers: [48, 2, 65]
Generated Node #2: [48, 2, 65] from Operation: 93-28=65
Current State: 82:[48, 2, 65], Operations: ['93-28=65']
Exploring Operation: 2*65=130, Resulting Numbers: [48, 130]
Generated Node #3: [48, 130] from Operation: 2*65=130
Current State: 82:[48, 130], Operations: ['93-28=65', '2*65=130']
Exploring Operation: 130-48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[93, 28, 48, 2], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [28, 2, 45]
Generated Node #0,0: 82:[28, 2, 45] Operation: 93-48=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[28, 2, 45], Operations: ['93-48=45']
Exploring Operation: 28+45=73, Resulting Numbers: [2, 73]
Generated Node #0,0,0: 82:[2, 73] Operation: 28+45=73
Moving to Node #0,0,0
Current State: 82:[2, 73], Operations: ['93-48=45', '28+45=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,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 |
[
58,
1,
63,
38
] | 84 | [
"58+1=59",
"63-38=25",
"59+25=84"
] | Current State: 84:[58, 1, 63, 38], Operations: []
Exploring Operation: 58+1=59, Resulting Numbers: [63, 38, 59]
Generated Node #2: [63, 38, 59] from Operation: 58+1=59
Current State: 84:[63, 38, 59], Operations: ['58+1=59']
Exploring Operation: 63-38=25, Resulting Numbers: [59, 25]
Generated Node #3: [59, 25] from Operation: 63-38=25
Current State: 84:[59, 25], Operations: ['58+1=59', '63-38=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[58, 1, 63, 38], Operations: []
Exploring Operation: 58+38=96, Resulting Numbers: [1, 63, 96]
Generated Node #0,0: 84:[1, 63, 96] Operation: 58+38=96
Exploring Operation: 63-38=25, Resulting Numbers: [58, 1, 25]
Generated Node #0,1: 84:[58, 1, 25] Operation: 63-38=25
Exploring Operation: 58-38=20, Resulting Numbers: [1, 63, 20]
Generated Node #0,2: 84:[1, 63, 20] Operation: 58-38=20
Exploring Operation: 63-58=5, Resulting Numbers: [1, 38, 5]
Generated Node #0,3: 84:[1, 38, 5] Operation: 63-58=5
Exploring Operation: 63+38=101, Resulting Numbers: [58, 1, 101]
Generated Node #0,4: 84:[58, 1, 101] Operation: 63+38=101
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[1, 38, 5], Operations: ['63-58=5']
Exploring Operation: 5-1=4, Resulting Numbers: [38, 4]
Generated Node #0,3,0: 84:[38, 4] Operation: 5-1=4
Exploring Operation: 1+38=39, Resulting Numbers: [5, 39]
Generated Node #0,3,1: 84:[5, 39] Operation: 1+38=39
Exploring Operation: 38+5=43, Resulting Numbers: [1, 43]
Generated Node #0,3,2: 84:[1, 43] Operation: 38+5=43
Exploring Operation: 1+5=6, Resulting Numbers: [38, 6]
Generated Node #0,3,3: 84:[38, 6] Operation: 1+5=6
Exploring Operation: 1*38=38, Resulting Numbers: [5, 38]
Generated Node #0,3,4: 84:[5, 38] Operation: 1*38=38
Moving to Node #0,3,2
Current State: 84:[1, 43], Operations: ['63-58=5', '38+5=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[5, 39], Operations: ['63-58=5', '1+38=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,84 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[38, 4], Operations: ['63-58=5', '5-1=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,84 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[38, 6], Operations: ['63-58=5', '1+5=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,84 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[5, 38], Operations: ['63-58=5', '1*38=38']
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,84 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,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:[58, 1, 25], Operations: ['63-38=25']
Exploring Operation: 58-1=57, Resulting Numbers: [25, 57]
Generated Node #0,1,0: 84:[25, 57] Operation: 58-1=57
Exploring Operation: 58*1=58, Resulting Numbers: [25, 58]
Generated Node #0,1,1: 84:[25, 58] Operation: 58*1=58
Exploring Operation: 1+25=26, Resulting Numbers: [58, 26]
Generated Node #0,1,2: 84:[58, 26] Operation: 1+25=26
Exploring Operation: 58-25=33, Resulting Numbers: [1, 33]
Generated Node #0,1,3: 84:[1, 33] Operation: 58-25=33
Exploring Operation: 58+25=83, Resulting Numbers: [1, 83]
Generated Node #0,1,4: 84:[1, 83] Operation: 58+25=83
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 84:[1, 83], Operations: ['63-38=25', '58+25=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,84 unequal: No Solution
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[58, 1, 63, 38], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [58, 1, 25]
Generated Node #0,1: 84:[58, 1, 25] Operation: 63-38=25
Moving to Node #0,1
Current State: 84:[58, 1, 25], Operations: ['63-38=25']
Exploring Operation: 58+25=83, Resulting Numbers: [1, 83]
Generated Node #0,1,4: 84:[1, 83] Operation: 58+25=83
Moving to Node #0,1,4
Current State: 84:[1, 83], Operations: ['63-38=25', '58+25=83']
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
22,
24,
97,
55
] | 21 | [
"24-22=2",
"97-55=42",
"42/2=21"
] | Current State: 21:[22, 24, 97, 55], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [97, 55, 2]
Generated Node #2: [97, 55, 2] from Operation: 24-22=2
Current State: 21:[97, 55, 2], Operations: ['24-22=2']
Exploring Operation: 97-55=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 97-55=42
Current State: 21:[2, 42], Operations: ['24-22=2', '97-55=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[22, 24, 97, 55], Operations: []
Exploring Operation: 55-22=33, Resulting Numbers: [24, 97, 33]
Generated Node #0,0: 21:[24, 97, 33] Operation: 55-22=33
Exploring Operation: 97-22=75, Resulting Numbers: [24, 55, 75]
Generated Node #0,1: 21:[24, 55, 75] Operation: 97-22=75
Exploring Operation: 97-24=73, Resulting Numbers: [22, 55, 73]
Generated Node #0,2: 21:[22, 55, 73] Operation: 97-24=73
Exploring Operation: 55-24=31, Resulting Numbers: [22, 97, 31]
Generated Node #0,3: 21:[22, 97, 31] Operation: 55-24=31
Exploring Operation: 97-55=42, Resulting Numbers: [22, 24, 42]
Generated Node #0,4: 21:[22, 24, 42] Operation: 97-55=42
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[22, 24, 42], Operations: ['97-55=42']
Exploring Operation: 42-22=20, Resulting Numbers: [24, 20]
Generated Node #0,4,0: 21:[24, 20] Operation: 42-22=20
Exploring Operation: 42-24=18, Resulting Numbers: [22, 18]
Generated Node #0,4,1: 21:[22, 18] Operation: 42-24=18
Exploring Operation: 22+42=64, Resulting Numbers: [24, 64]
Generated Node #0,4,2: 21:[24, 64] Operation: 22+42=64
Exploring Operation: 24-22=2, Resulting Numbers: [42, 2]
Generated Node #0,4,3: 21:[42, 2] Operation: 24-22=2
Exploring Operation: 22+24=46, Resulting Numbers: [42, 46]
Generated Node #0,4,4: 21:[42, 46] Operation: 22+24=46
Moving to Node #0,4,0
Current State: 21:[24, 20], Operations: ['97-55=42', '42-22=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,21 unequal: No Solution
Moving to Node #0,4,1
Current State: 21:[22, 18], Operations: ['97-55=42', '42-24=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,21 unequal: No Solution
Moving to Node #0,4,3
Current State: 21:[42, 2], Operations: ['97-55=42', '24-22=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[22, 24, 97, 55], Operations: []
Exploring Operation: 97-55=42, Resulting Numbers: [22, 24, 42]
Generated Node #0,4: 21:[22, 24, 42] Operation: 97-55=42
Moving to Node #0,4
Current State: 21:[22, 24, 42], Operations: ['97-55=42']
Exploring Operation: 24-22=2, Resulting Numbers: [42, 2]
Generated Node #0,4,3: 21:[42, 2] Operation: 24-22=2
Moving to Node #0,4,3
Current State: 21:[42, 2], Operations: ['97-55=42', '24-22=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
4,
8,
65,
68
] | 99 | [
"8/4=2",
"68/2=34",
"65+34=99"
] | Current State: 99:[4, 8, 65, 68], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [65, 68, 2]
Generated Node #2: [65, 68, 2] from Operation: 8/4=2
Current State: 99:[65, 68, 2], Operations: ['8/4=2']
Exploring Operation: 68/2=34, Resulting Numbers: [65, 34]
Generated Node #3: [65, 34] from Operation: 68/2=34
Current State: 99:[65, 34], Operations: ['8/4=2', '68/2=34']
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[4, 8, 65, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [4, 8, 3]
Generated Node #0,0: 99:[4, 8, 3] Operation: 68-65=3
Moving to Node #0,0
Current State: 99:[4, 8, 3], Operations: ['68-65=3']
Exploring Operation: 4+8=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 99:[3, 12] Operation: 4+8=12
Moving to Node #0,0,0
Current State: 99:[3, 12], Operations: ['68-65=3', '4+8=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,99 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
45,
94,
39
] | 34 | [
"45-24=21",
"94-39=55",
"55-21=34"
] | Current State: 34:[24, 45, 94, 39], Operations: []
Exploring Operation: 45-24=21, Resulting Numbers: [94, 39, 21]
Generated Node #2: [94, 39, 21] from Operation: 45-24=21
Current State: 34:[94, 39, 21], Operations: ['45-24=21']
Exploring Operation: 94-39=55, Resulting Numbers: [21, 55]
Generated Node #3: [21, 55] from Operation: 94-39=55
Current State: 34:[21, 55], Operations: ['45-24=21', '94-39=55']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[24, 45, 94, 39], Operations: []
Exploring Operation: 45-24=21, Resulting Numbers: [94, 39, 21]
Generated Node #0,0: 34:[94, 39, 21] Operation: 45-24=21
Exploring Operation: 94-24=70, Resulting Numbers: [45, 39, 70]
Generated Node #0,1: 34:[45, 39, 70] Operation: 94-24=70
Exploring Operation: 94-39=55, Resulting Numbers: [24, 45, 55]
Generated Node #0,2: 34:[24, 45, 55] Operation: 94-39=55
Exploring Operation: 45-39=6, Resulting Numbers: [24, 94, 6]
Generated Node #0,3: 34:[24, 94, 6] Operation: 45-39=6
Exploring Operation: 94-45=49, Resulting Numbers: [24, 39, 49]
Generated Node #0,4: 34:[24, 39, 49] Operation: 94-45=49
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[24, 39, 49], Operations: ['94-45=49']
Exploring Operation: 39-24=15, Resulting Numbers: [49, 15]
Generated Node #0,4,0: 34:[49, 15] Operation: 39-24=15
Exploring Operation: 49-39=10, Resulting Numbers: [24, 10]
Generated Node #0,4,1: 34:[24, 10] Operation: 49-39=10
Exploring Operation: 49-24=25, Resulting Numbers: [39, 25]
Generated Node #0,4,2: 34:[39, 25] Operation: 49-24=25
Exploring Operation: 24+39=63, Resulting Numbers: [49, 63]
Generated Node #0,4,3: 34:[49, 63] Operation: 24+39=63
Exploring Operation: 24+49=73, Resulting Numbers: [39, 73]
Generated Node #0,4,4: 34:[39, 73] Operation: 24+49=73
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 34:[39, 25], Operations: ['94-45=49', '49-24=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,34 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,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,4,1
Current State: 34:[24, 10], Operations: ['94-45=49', '49-39=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[24, 45, 94, 39], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [24, 39, 49]
Generated Node #0,4: 34:[24, 39, 49] Operation: 94-45=49
Moving to Node #0,4
Current State: 34:[24, 39, 49], Operations: ['94-45=49']
Exploring Operation: 49-39=10, Resulting Numbers: [24, 10]
Generated Node #0,4,1: 34:[24, 10] Operation: 49-39=10
Moving to Node #0,4,1
Current State: 34:[24, 10], Operations: ['94-45=49', '49-39=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
70,
31,
47,
52
] | 85 | [
"52-47=5",
"31*5=155",
"155-70=85"
] | Current State: 85:[70, 31, 47, 52], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [70, 31, 5]
Generated Node #2: [70, 31, 5] from Operation: 52-47=5
Current State: 85:[70, 31, 5], Operations: ['52-47=5']
Exploring Operation: 31*5=155, Resulting Numbers: [70, 155]
Generated Node #3: [70, 155] from Operation: 31*5=155
Current State: 85:[70, 155], Operations: ['52-47=5', '31*5=155']
Exploring Operation: 155-70=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[70, 31, 47, 52], Operations: []
Exploring Operation: 47+52=99, Resulting Numbers: [70, 31, 99]
Generated Node #0,0: 85:[70, 31, 99] Operation: 47+52=99
Exploring Operation: 52-47=5, Resulting Numbers: [70, 31, 5]
Generated Node #0,1: 85:[70, 31, 5] Operation: 52-47=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[70, 31, 5], Operations: ['52-47=5']
Exploring Operation: 70/5=14, Resulting Numbers: [31, 14]
Generated Node #0,1,0: 85:[31, 14] Operation: 70/5=14
Exploring Operation: 70+31=101, Resulting Numbers: [5, 101]
Generated Node #0,1,1: 85:[5, 101] Operation: 70+31=101
Moving to Node #0,1,1
Current State: 85:[5, 101], Operations: ['52-47=5', '70+31=101']
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 5+101=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[31, 14], Operations: ['52-47=5', '70/5=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[70, 31, 99], Operations: ['47+52=99']
Exploring Operation: 99-70=29, Resulting Numbers: [31, 29]
Generated Node #0,0,0: 85:[31, 29] Operation: 99-70=29
Exploring Operation: 70+31=101, Resulting Numbers: [99, 101]
Generated Node #0,0,1: 85:[99, 101] Operation: 70+31=101
Moving to Node #0,0,0
Current State: 85:[31, 29], Operations: ['47+52=99', '99-70=29']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[99, 101], Operations: ['47+52=99', '70+31=101']
Exploring Operation: 101-99=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 99+101=200, Resulting Numbers: [200]
200,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
91,
4,
57,
37
] | 99 | [
"91-57=34",
"4*34=136",
"136-37=99"
] | Current State: 99:[91, 4, 57, 37], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [4, 37, 34]
Generated Node #2: [4, 37, 34] from Operation: 91-57=34
Current State: 99:[4, 37, 34], Operations: ['91-57=34']
Exploring Operation: 4*34=136, Resulting Numbers: [37, 136]
Generated Node #3: [37, 136] from Operation: 4*34=136
Current State: 99:[37, 136], Operations: ['91-57=34', '4*34=136']
Exploring Operation: 136-37=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[91, 4, 57, 37], Operations: []
Exploring Operation: 57+37=94, Resulting Numbers: [91, 4, 94]
Generated Node #0,0: 99:[91, 4, 94] Operation: 57+37=94
Exploring Operation: 91-57=34, Resulting Numbers: [4, 37, 34]
Generated Node #0,1: 99:[4, 37, 34] Operation: 91-57=34
Moving to Node #0,1
Current State: 99:[4, 37, 34], Operations: ['91-57=34']
Exploring Operation: 37-4=33, Resulting Numbers: [34, 33]
Generated Node #0,1,0: 99:[34, 33] Operation: 37-4=33
Exploring Operation: 37-34=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 99:[4, 3] Operation: 37-34=3
Moving to Node #0,0
Current State: 99:[91, 4, 94], Operations: ['57+37=94']
Exploring Operation: 91+4=95, Resulting Numbers: [94, 95]
Generated Node #0,0,0: 99:[94, 95] Operation: 91+4=95
Exploring Operation: 94-91=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 99:[4, 3] Operation: 94-91=3
Moving to Node #0,1,0
Current State: 99:[34, 33], Operations: ['91-57=34', '37-4=33']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[4, 3], Operations: ['57+37=94', '94-91=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[4, 3], Operations: ['91-57=34', '37-34=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[94, 95], Operations: ['57+37=94', '91+4=95']
Exploring Operation: 95-94=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 94+95=189, Resulting Numbers: [189]
189,99 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
5,
3,
95
] | 59 | [
"7+5=12",
"3*12=36",
"95-36=59"
] | Current State: 59:[7, 5, 3, 95], Operations: []
Exploring Operation: 7+5=12, Resulting Numbers: [3, 95, 12]
Generated Node #2: [3, 95, 12] from Operation: 7+5=12
Current State: 59:[3, 95, 12], Operations: ['7+5=12']
Exploring Operation: 3*12=36, Resulting Numbers: [95, 36]
Generated Node #3: [95, 36] from Operation: 3*12=36
Current State: 59:[95, 36], Operations: ['7+5=12', '3*12=36']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[7, 5, 3, 95], Operations: []
Exploring Operation: 7+5=12, Resulting Numbers: [3, 95, 12]
Generated Node #0,0: 59:[3, 95, 12] Operation: 7+5=12
Exploring Operation: 5*3=15, Resulting Numbers: [7, 95, 15]
Generated Node #0,1: 59:[7, 95, 15] Operation: 5*3=15
Exploring Operation: 7*5=35, Resulting Numbers: [3, 95, 35]
Generated Node #0,2: 59:[3, 95, 35] Operation: 7*5=35
Exploring Operation: 7*3=21, Resulting Numbers: [5, 95, 21]
Generated Node #0,3: 59:[5, 95, 21] Operation: 7*3=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[3, 95, 35], Operations: ['7*5=35']
Exploring Operation: 95-35=60, Resulting Numbers: [3, 60]
Generated Node #0,2,0: 59:[3, 60] Operation: 95-35=60
Exploring Operation: 95-3=92, Resulting Numbers: [35, 92]
Generated Node #0,2,1: 59:[35, 92] Operation: 95-3=92
Exploring Operation: 3+95=98, Resulting Numbers: [35, 98]
Generated Node #0,2,2: 59:[35, 98] Operation: 3+95=98
Exploring Operation: 3+35=38, Resulting Numbers: [95, 38]
Generated Node #0,2,3: 59:[95, 38] Operation: 3+35=38
Moving to Node #0,2,0
Current State: 59:[3, 60], Operations: ['7*5=35', '95-35=60']
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,59 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[95, 38], Operations: ['7*5=35', '3+35=38']
Exploring Operation: 95*38=3610, Resulting Numbers: [3610]
3610,59 unequal: No Solution
Exploring Operation: 95+38=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[35, 92], Operations: ['7*5=35', '95-3=92']
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 35*92=3220, Resulting Numbers: [3220]
3220,59 unequal: No Solution
Exploring Operation: 35+92=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[35, 98], Operations: ['7*5=35', '3+95=98']
Exploring Operation: 35*98=3430, Resulting Numbers: [3430]
3430,59 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 35+98=133, Resulting Numbers: [133]
133,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,3
Current State: 59:[5, 95, 21], Operations: ['7*3=21']
Exploring Operation: 95/5=19, Resulting Numbers: [21, 19]
Generated Node #0,3,0: 59:[21, 19] Operation: 95/5=19
Exploring Operation: 95-5=90, Resulting Numbers: [21, 90]
Generated Node #0,3,1: 59:[21, 90] Operation: 95-5=90
Exploring Operation: 95-21=74, Resulting Numbers: [5, 74]
Generated Node #0,3,2: 59:[5, 74] Operation: 95-21=74
Exploring Operation: 5+21=26, Resulting Numbers: [95, 26]
Generated Node #0,3,3: 59:[95, 26] Operation: 5+21=26
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[21, 90], Operations: ['7*3=21', '95-5=90']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,59 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: 59:[5, 74], Operations: ['7*3=21', '95-21=74']
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,59 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: 59:[95, 26], Operations: ['7*3=21', '5+21=26']
Exploring Operation: 95+26=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 95*26=2470, Resulting Numbers: [2470]
2470,59 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: 59:[21, 19], Operations: ['7*3=21', '95/5=19']
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,59 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,59 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: 59:[7, 95, 15], Operations: ['5*3=15']
Exploring Operation: 95-15=80, Resulting Numbers: [7, 80]
Generated Node #0,1,0: 59:[7, 80] Operation: 95-15=80
Exploring Operation: 7+15=22, Resulting Numbers: [95, 22]
Generated Node #0,1,1: 59:[95, 22] Operation: 7+15=22
Exploring Operation: 7*15=105, Resulting Numbers: [95, 105]
Generated Node #0,1,2: 59:[95, 105] Operation: 7*15=105
Exploring Operation: 95-7=88, Resulting Numbers: [15, 88]
Generated Node #0,1,3: 59:[15, 88] Operation: 95-7=88
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[7, 80], Operations: ['5*3=15', '95-15=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,59 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: 59:[95, 22], Operations: ['5*3=15', '7+15=22']
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 95*22=2090, Resulting Numbers: [2090]
2090,59 unequal: No Solution
Exploring Operation: 95+22=117, Resulting Numbers: [117]
117,59 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: 59:[15, 88], Operations: ['5*3=15', '95-7=88']
Exploring Operation: 15+88=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 15*88=1320, Resulting Numbers: [1320]
1320,59 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: 59:[95, 105], Operations: ['5*3=15', '7*15=105']
Exploring Operation: 95*105=9975, Resulting Numbers: [9975]
9975,59 unequal: No Solution
Exploring Operation: 105-95=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 95+105=200, Resulting Numbers: [200]
200,59 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: 59:[3, 95, 12], Operations: ['7+5=12']
Exploring Operation: 3+12=15, Resulting Numbers: [95, 15]
Generated Node #0,0,0: 59:[95, 15] Operation: 3+12=15
Exploring Operation: 3*12=36, Resulting Numbers: [95, 36]
Generated Node #0,0,1: 59:[95, 36] Operation: 3*12=36
Exploring Operation: 95-3=92, Resulting Numbers: [12, 92]
Generated Node #0,0,2: 59:[12, 92] Operation: 95-3=92
Exploring Operation: 95-12=83, Resulting Numbers: [3, 83]
Generated Node #0,0,3: 59:[3, 83] Operation: 95-12=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[95, 36], Operations: ['7+5=12', '3*12=36']
Exploring Operation: 95+36=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Exploring Operation: 95*36=3420, Resulting Numbers: [3420]
3420,59 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[7, 5, 3, 95], Operations: []
Exploring Operation: 7+5=12, Resulting Numbers: [3, 95, 12]
Generated Node #0,0: 59:[3, 95, 12] Operation: 7+5=12
Moving to Node #0,0
Current State: 59:[3, 95, 12], Operations: ['7+5=12']
Exploring Operation: 3*12=36, Resulting Numbers: [95, 36]
Generated Node #0,0,1: 59:[95, 36] Operation: 3*12=36
Moving to Node #0,0,1
Current State: 59:[95, 36], Operations: ['7+5=12', '3*12=36']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.944444 | hs_4 | mult_heuristic |
[
63,
66,
4,
48
] | 64 | [
"66-63=3",
"4*48=192",
"192/3=64"
] | Current State: 64:[63, 66, 4, 48], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [4, 48, 3]
Generated Node #2: [4, 48, 3] from Operation: 66-63=3
Current State: 64:[4, 48, 3], Operations: ['66-63=3']
Exploring Operation: 4*48=192, Resulting Numbers: [3, 192]
Generated Node #3: [3, 192] from Operation: 4*48=192
Current State: 64:[3, 192], Operations: ['66-63=3', '4*48=192']
Exploring Operation: 192/3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[63, 66, 4, 48], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [63, 66, 12]
Generated Node #0,0: 64:[63, 66, 12] Operation: 48/4=12
Exploring Operation: 63-48=15, Resulting Numbers: [66, 4, 15]
Generated Node #0,1: 64:[66, 4, 15] Operation: 63-48=15
Exploring Operation: 66-48=18, Resulting Numbers: [63, 4, 18]
Generated Node #0,2: 64:[63, 4, 18] Operation: 66-48=18
Moving to Node #0,1
Current State: 64:[66, 4, 15], Operations: ['63-48=15']
Exploring Operation: 15-4=11, Resulting Numbers: [66, 11]
Generated Node #0,1,0: 64:[66, 11] Operation: 15-4=11
Exploring Operation: 4+15=19, Resulting Numbers: [66, 19]
Generated Node #0,1,1: 64:[66, 19] Operation: 4+15=19
Exploring Operation: 66-4=62, Resulting Numbers: [15, 62]
Generated Node #0,1,2: 64:[15, 62] Operation: 66-4=62
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[15, 62], Operations: ['63-48=15', '66-4=62']
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,64 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,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:[66, 11], Operations: ['63-48=15', '15-4=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,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,1
Current State: 64:[66, 19], Operations: ['63-48=15', '4+15=19']
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Exploring Operation: 66*19=1254, Resulting Numbers: [1254]
1254,64 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,64 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: 64:[63, 4, 18], Operations: ['66-48=18']
Exploring Operation: 63-4=59, Resulting Numbers: [18, 59]
Generated Node #0,2,0: 64:[18, 59] Operation: 63-4=59
Exploring Operation: 63+4=67, Resulting Numbers: [18, 67]
Generated Node #0,2,1: 64:[18, 67] Operation: 63+4=67
Exploring Operation: 18-4=14, Resulting Numbers: [63, 14]
Generated Node #0,2,2: 64:[63, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[63, 14], Operations: ['66-48=18', '18-4=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,64 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,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,1
Current State: 64:[18, 67], Operations: ['66-48=18', '63+4=67']
Exploring Operation: 18*67=1206, Resulting Numbers: [1206]
1206,64 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 18+67=85, Resulting Numbers: [85]
85,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,0
Current State: 64:[18, 59], Operations: ['66-48=18', '63-4=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,64 unequal: No Solution
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,64 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: 64:[63, 66, 12], Operations: ['48/4=12']
Exploring Operation: 63+12=75, Resulting Numbers: [66, 75]
Generated Node #0,0,0: 64:[66, 75] Operation: 63+12=75
Exploring Operation: 66-12=54, Resulting Numbers: [63, 54]
Generated Node #0,0,1: 64:[63, 54] Operation: 66-12=54
Exploring Operation: 66-63=3, Resulting Numbers: [12, 3]
Generated Node #0,0,2: 64:[12, 3] Operation: 66-63=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[12, 3], Operations: ['48/4=12', '66-63=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,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,0,1
Current State: 64:[63, 54], Operations: ['48/4=12', '66-12=54']
Exploring Operation: 63+54=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 63*54=3402, Resulting Numbers: [3402]
3402,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,0,0
Current State: 64:[66, 75], Operations: ['48/4=12', '63+12=75']
Exploring Operation: 66*75=4950, Resulting Numbers: [4950]
4950,64 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 66+75=141, Resulting Numbers: [141]
141,64 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 |
[
95,
88,
54,
39
] | 100 | [
"95-88=7",
"54+39=93",
"7+93=100"
] | Current State: 100:[95, 88, 54, 39], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [54, 39, 7]
Generated Node #2: [54, 39, 7] from Operation: 95-88=7
Current State: 100:[54, 39, 7], Operations: ['95-88=7']
Exploring Operation: 54+39=93, Resulting Numbers: [7, 93]
Generated Node #3: [7, 93] from Operation: 54+39=93
Current State: 100:[7, 93], Operations: ['95-88=7', '54+39=93']
Exploring Operation: 7+93=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[95, 88, 54, 39], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [95, 54, 49]
Generated Node #0,0: 100:[95, 54, 49] Operation: 88-39=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[95, 54, 49], Operations: ['88-39=49']
Exploring Operation: 54-49=5, Resulting Numbers: [95, 5]
Generated Node #0,0,0: 100:[95, 5] Operation: 54-49=5
Moving to Node #0,0,0
Current State: 100:[95, 5], Operations: ['88-39=49', '54-49=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[95, 88, 54, 39], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [95, 54, 49]
Generated Node #0,0: 100:[95, 54, 49] Operation: 88-39=49
Moving to Node #0,0
Current State: 100:[95, 54, 49], Operations: ['88-39=49']
Exploring Operation: 54-49=5, Resulting Numbers: [95, 5]
Generated Node #0,0,0: 100:[95, 5] Operation: 54-49=5
Moving to Node #0,0,0
Current State: 100:[95, 5], Operations: ['88-39=49', '54-49=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
50,
30,
97,
49
] | 10 | [
"50+97=147",
"30*49=1470",
"1470/147=10"
] | Current State: 10:[50, 30, 97, 49], Operations: []
Exploring Operation: 50+97=147, Resulting Numbers: [30, 49, 147]
Generated Node #2: [30, 49, 147] from Operation: 50+97=147
Current State: 10:[30, 49, 147], Operations: ['50+97=147']
Exploring Operation: 30*49=1470, Resulting Numbers: [147, 1470]
Generated Node #3: [147, 1470] from Operation: 30*49=1470
Current State: 10:[147, 1470], Operations: ['50+97=147', '30*49=1470']
Exploring Operation: 1470/147=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[50, 30, 97, 49], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [50, 30, 48]
Generated Node #0,0: 10:[50, 30, 48] Operation: 97-49=48
Exploring Operation: 97-50=47, Resulting Numbers: [30, 49, 47]
Generated Node #0,1: 10:[30, 49, 47] Operation: 97-50=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[30, 49, 47], Operations: ['97-50=47']
Exploring Operation: 49-30=19, Resulting Numbers: [47, 19]
Generated Node #0,1,0: 10:[47, 19] Operation: 49-30=19
Exploring Operation: 49-47=2, Resulting Numbers: [30, 2]
Generated Node #0,1,1: 10:[30, 2] Operation: 49-47=2
Moving to Node #0,1,1
Current State: 10:[30, 2], Operations: ['97-50=47', '49-47=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[47, 19], Operations: ['97-50=47', '49-30=19']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,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,0
Current State: 10:[50, 30, 48], Operations: ['97-49=48']
Exploring Operation: 50-48=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 10:[30, 2] Operation: 50-48=2
Exploring Operation: 50-30=20, Resulting Numbers: [48, 20]
Generated Node #0,0,1: 10:[48, 20] Operation: 50-30=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[30, 2], Operations: ['97-49=48', '50-48=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,10 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: 10:[48, 20], Operations: ['97-49=48', '50-30=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,10 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 |
[
75,
5,
2,
25
] | 11 | [
"75*2=150",
"150/25=6",
"5+6=11"
] | Current State: 11:[75, 5, 2, 25], Operations: []
Exploring Operation: 75*2=150, Resulting Numbers: [5, 25, 150]
Generated Node #2: [5, 25, 150] from Operation: 75*2=150
Current State: 11:[5, 25, 150], Operations: ['75*2=150']
Exploring Operation: 150/25=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 150/25=6
Current State: 11:[5, 6], Operations: ['75*2=150', '150/25=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[75, 5, 2, 25], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [5, 2, 3]
Generated Node #0,0: 11:[5, 2, 3] Operation: 75/25=3
Exploring Operation: 75/5=15, Resulting Numbers: [2, 25, 15]
Generated Node #0,1: 11:[2, 25, 15] Operation: 75/5=15
Moving to Node #0,0
Current State: 11:[5, 2, 3], Operations: ['75/25=3']
Exploring Operation: 2*3=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 11:[5, 6] Operation: 2*3=6
Exploring Operation: 5*2=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 11:[3, 10] Operation: 5*2=10
Moving to Node #0,1
Current State: 11:[2, 25, 15], Operations: ['75/5=15']
Exploring Operation: 25-15=10, Resulting Numbers: [2, 10]
Generated Node #0,1,0: 11:[2, 10] Operation: 25-15=10
Exploring Operation: 25-2=23, Resulting Numbers: [15, 23]
Generated Node #0,1,1: 11:[15, 23] Operation: 25-2=23
Moving to Node #0,0,1
Current State: 11:[3, 10], Operations: ['75/25=3', '5*2=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[2, 10], Operations: ['75/5=15', '25-15=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[5, 6], Operations: ['75/25=3', '2*3=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[75, 5, 2, 25], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [5, 2, 3]
Generated Node #0,0: 11:[5, 2, 3] Operation: 75/25=3
Moving to Node #0,0
Current State: 11:[5, 2, 3], Operations: ['75/25=3']
Exploring Operation: 2*3=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 11:[5, 6] Operation: 2*3=6
Moving to Node #0,0,0
Current State: 11:[5, 6], Operations: ['75/25=3', '2*3=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
99,
21,
79,
10
] | 19 | [
"99-79=20",
"20/10=2",
"21-2=19"
] | Current State: 19:[99, 21, 79, 10], Operations: []
Exploring Operation: 99-79=20, Resulting Numbers: [21, 10, 20]
Generated Node #2: [21, 10, 20] from Operation: 99-79=20
Current State: 19:[21, 10, 20], Operations: ['99-79=20']
Exploring Operation: 20/10=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 20/10=2
Current State: 19:[21, 2], Operations: ['99-79=20', '20/10=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[99, 21, 79, 10], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [99, 10, 58]
Generated Node #0,0: 19:[99, 10, 58] Operation: 79-21=58
Exploring Operation: 99-21=78, Resulting Numbers: [79, 10, 78]
Generated Node #0,1: 19:[79, 10, 78] Operation: 99-21=78
Exploring Operation: 99-79=20, Resulting Numbers: [21, 10, 20]
Generated Node #0,2: 19:[21, 10, 20] Operation: 99-79=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[21, 10, 20], Operations: ['99-79=20']
Exploring Operation: 20-10=10, Resulting Numbers: [21, 10]
Generated Node #0,2,0: 19:[21, 10] Operation: 20-10=10
Exploring Operation: 21+10=31, Resulting Numbers: [20, 31]
Generated Node #0,2,1: 19:[20, 31] Operation: 21+10=31
Exploring Operation: 21-10=11, Resulting Numbers: [20, 11]
Generated Node #0,2,2: 19:[20, 11] Operation: 21-10=11
Moving to Node #0,2,2
Current State: 19:[20, 11], Operations: ['99-79=20', '21-10=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,19 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[21, 10], Operations: ['99-79=20', '20-10=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,19 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[20, 31], Operations: ['99-79=20', '21+10=31']
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,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
Current State: 19:[99, 10, 58], Operations: ['79-21=58']
Exploring Operation: 99-10=89, Resulting Numbers: [58, 89]
Generated Node #0,0,0: 19:[58, 89] Operation: 99-10=89
Exploring Operation: 99-58=41, Resulting Numbers: [10, 41]
Generated Node #0,0,1: 19:[10, 41] Operation: 99-58=41
Exploring Operation: 58-10=48, Resulting Numbers: [99, 48]
Generated Node #0,0,2: 19:[99, 48] Operation: 58-10=48
Moving to Node #0,0,1
Current State: 19:[10, 41], Operations: ['79-21=58', '99-58=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[58, 89], Operations: ['79-21=58', '99-10=89']
Exploring Operation: 58*89=5162, Resulting Numbers: [5162]
5162,19 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 58+89=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[99, 48], Operations: ['79-21=58', '58-10=48']
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,19 unequal: No Solution
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,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,1
Current State: 19:[79, 10, 78], Operations: ['99-21=78']
Exploring Operation: 78-10=68, Resulting Numbers: [79, 68]
Generated Node #0,1,0: 19:[79, 68] Operation: 78-10=68
Exploring Operation: 79-10=69, Resulting Numbers: [78, 69]
Generated Node #0,1,1: 19:[78, 69] Operation: 79-10=69
Exploring Operation: 79-78=1, Resulting Numbers: [10, 1]
Generated Node #0,1,2: 19:[10, 1] Operation: 79-78=1
Moving to Node #0,1,2
Current State: 19:[10, 1], Operations: ['99-21=78', '79-78=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[79, 68], Operations: ['99-21=78', '78-10=68']
Exploring Operation: 79*68=5372, Resulting Numbers: [5372]
5372,19 unequal: No Solution
Exploring Operation: 79+68=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[78, 69], Operations: ['99-21=78', '79-10=69']
Exploring Operation: 78+69=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Exploring Operation: 78*69=5382, Resulting Numbers: [5382]
5382,19 unequal: No Solution
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,19 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 |
[
61,
25,
70,
66
] | 65 | [
"66-61=5",
"25/5=5",
"70-5=65"
] | Current State: 65:[61, 25, 70, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [25, 70, 5]
Generated Node #2: [25, 70, 5] from Operation: 66-61=5
Current State: 65:[25, 70, 5], Operations: ['66-61=5']
Exploring Operation: 25/5=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 25/5=5
Current State: 65:[70, 5], Operations: ['66-61=5', '25/5=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[61, 25, 70, 66], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [61, 25, 4]
Generated Node #0,0: 65:[61, 25, 4] Operation: 70-66=4
Exploring Operation: 66-61=5, Resulting Numbers: [25, 70, 5]
Generated Node #0,1: 65:[25, 70, 5] Operation: 66-61=5
Exploring Operation: 70-61=9, Resulting Numbers: [25, 66, 9]
Generated Node #0,2: 65:[25, 66, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 65:[61, 25, 4], Operations: ['70-66=4']
Exploring Operation: 61-4=57, Resulting Numbers: [25, 57]
Generated Node #0,0,0: 65:[25, 57] Operation: 61-4=57
Exploring Operation: 25-4=21, Resulting Numbers: [61, 21]
Generated Node #0,0,1: 65:[61, 21] Operation: 25-4=21
Exploring Operation: 61+4=65, Resulting Numbers: [25, 65]
Generated Node #0,0,2: 65:[25, 65] Operation: 61+4=65
Moving to Node #0,1
Current State: 65:[25, 70, 5], Operations: ['66-61=5']
Exploring Operation: 25/5=5, Resulting Numbers: [70, 5]
Generated Node #0,1,0: 65:[70, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [70, 20]
Generated Node #0,1,1: 65:[70, 20] Operation: 25-5=20
Exploring Operation: 70-5=65, Resulting Numbers: [25, 65]
Generated Node #0,1,2: 65:[25, 65] Operation: 70-5=65
Moving to Node #0,2
Current State: 65:[25, 66, 9], Operations: ['70-61=9']
Exploring Operation: 25+9=34, Resulting Numbers: [66, 34]
Generated Node #0,2,0: 65:[66, 34] Operation: 25+9=34
Exploring Operation: 66-9=57, Resulting Numbers: [25, 57]
Generated Node #0,2,1: 65:[25, 57] Operation: 66-9=57
Exploring Operation: 25-9=16, Resulting Numbers: [66, 16]
Generated Node #0,2,2: 65:[66, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[66, 16], Operations: ['70-61=9', '25-9=16']
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,65 unequal: No Solution
No 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: 65:[25, 57], Operations: ['70-61=9', '66-9=57']
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,65 unequal: No Solution
No 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: 65:[66, 34], Operations: ['70-61=9', '25+9=34']
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,65 unequal: No Solution
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,65 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,65 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: 65:[70, 5], Operations: ['66-61=5', '25/5=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[61, 25, 70, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [25, 70, 5]
Generated Node #0,1: 65:[25, 70, 5] Operation: 66-61=5
Moving to Node #0,1
Current State: 65:[25, 70, 5], Operations: ['66-61=5']
Exploring Operation: 25/5=5, Resulting Numbers: [70, 5]
Generated Node #0,1,0: 65:[70, 5] Operation: 25/5=5
Moving to Node #0,1,0
Current State: 65:[70, 5], Operations: ['66-61=5', '25/5=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
29,
62,
18,
28
] | 43 | [
"62-29=33",
"28-18=10",
"33+10=43"
] | Current State: 43:[29, 62, 18, 28], Operations: []
Exploring Operation: 62-29=33, Resulting Numbers: [18, 28, 33]
Generated Node #2: [18, 28, 33] from Operation: 62-29=33
Current State: 43:[18, 28, 33], Operations: ['62-29=33']
Exploring Operation: 28-18=10, Resulting Numbers: [33, 10]
Generated Node #3: [33, 10] from Operation: 28-18=10
Current State: 43:[33, 10], Operations: ['62-29=33', '28-18=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[29, 62, 18, 28], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [29, 28, 44]
Generated Node #0,0: 43:[29, 28, 44] Operation: 62-18=44
Moving to Node #0,0
Current State: 43:[29, 28, 44], Operations: ['62-18=44']
Exploring Operation: 29+28=57, Resulting Numbers: [44, 57]
Generated Node #0,0,0: 43:[44, 57] Operation: 29+28=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[44, 57], Operations: ['62-18=44', '29+28=57']
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
33,
6,
69
] | 65 | [
"33+69=102",
"102/6=17",
"48+17=65"
] | Current State: 65:[48, 33, 6, 69], Operations: []
Exploring Operation: 33+69=102, Resulting Numbers: [48, 6, 102]
Generated Node #2: [48, 6, 102] from Operation: 33+69=102
Current State: 65:[48, 6, 102], Operations: ['33+69=102']
Exploring Operation: 102/6=17, Resulting Numbers: [48, 17]
Generated Node #3: [48, 17] from Operation: 102/6=17
Current State: 65:[48, 17], Operations: ['33+69=102', '102/6=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[48, 33, 6, 69], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [33, 6, 21]
Generated Node #0,0: 65:[33, 6, 21] Operation: 69-48=21
Exploring Operation: 48-33=15, Resulting Numbers: [6, 69, 15]
Generated Node #0,1: 65:[6, 69, 15] Operation: 48-33=15
Exploring Operation: 48/6=8, Resulting Numbers: [33, 69, 8]
Generated Node #0,2: 65:[33, 69, 8] Operation: 48/6=8
Exploring Operation: 48+33=81, Resulting Numbers: [6, 69, 81]
Generated Node #0,3: 65:[6, 69, 81] Operation: 48+33=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[6, 69, 15], Operations: ['48-33=15']
Exploring Operation: 6+69=75, Resulting Numbers: [15, 75]
Generated Node #0,1,0: 65:[15, 75] Operation: 6+69=75
Exploring Operation: 6+15=21, Resulting Numbers: [69, 21]
Generated Node #0,1,1: 65:[69, 21] Operation: 6+15=21
Exploring Operation: 69-6=63, Resulting Numbers: [15, 63]
Generated Node #0,1,2: 65:[15, 63] Operation: 69-6=63
Exploring Operation: 15-6=9, Resulting Numbers: [69, 9]
Generated Node #0,1,3: 65:[69, 9] Operation: 15-6=9
Moving to Node #0,1,2
Current State: 65:[15, 63], Operations: ['48-33=15', '69-6=63']
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,65 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[69, 9], Operations: ['48-33=15', '15-6=9']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,65 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[69, 21], Operations: ['48-33=15', '6+15=21']
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,65 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[15, 75], Operations: ['48-33=15', '6+69=75']
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 15*75=1125, Resulting Numbers: [1125]
1125,65 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No 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: 65:[6, 69, 81], Operations: ['48+33=81']
Exploring Operation: 81-69=12, Resulting Numbers: [6, 12]
Generated Node #0,3,0: 65:[6, 12] Operation: 81-69=12
Exploring Operation: 6+69=75, Resulting Numbers: [81, 75]
Generated Node #0,3,1: 65:[81, 75] Operation: 6+69=75
Exploring Operation: 81-6=75, Resulting Numbers: [69, 75]
Generated Node #0,3,2: 65:[69, 75] Operation: 81-6=75
Exploring Operation: 69-6=63, Resulting Numbers: [81, 63]
Generated Node #0,3,3: 65:[81, 63] Operation: 69-6=63
Moving to Node #0,3,0
Current State: 65:[6, 12], Operations: ['48+33=81', '81-69=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[69, 75], Operations: ['48+33=81', '81-6=75']
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 69+75=144, Resulting Numbers: [144]
144,65 unequal: No Solution
Exploring Operation: 69*75=5175, Resulting Numbers: [5175]
5175,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[81, 63], Operations: ['48+33=81', '69-6=63']
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 81+63=144, Resulting Numbers: [144]
144,65 unequal: No Solution
Exploring Operation: 81*63=5103, Resulting Numbers: [5103]
5103,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[81, 75], Operations: ['48+33=81', '6+69=75']
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,65 unequal: No Solution
No 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: 65:[33, 69, 8], Operations: ['48/6=8']
Exploring Operation: 69-8=61, Resulting Numbers: [33, 61]
Generated Node #0,2,0: 65:[33, 61] Operation: 69-8=61
Exploring Operation: 69-33=36, Resulting Numbers: [8, 36]
Generated Node #0,2,1: 65:[8, 36] Operation: 69-33=36
Exploring Operation: 33-8=25, Resulting Numbers: [69, 25]
Generated Node #0,2,2: 65:[69, 25] Operation: 33-8=25
Exploring Operation: 33+8=41, Resulting Numbers: [69, 41]
Generated Node #0,2,3: 65:[69, 41] Operation: 33+8=41
Moving to Node #0,2,2
Current State: 65:[69, 25], Operations: ['48/6=8', '33-8=25']
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,65 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[33, 61], Operations: ['48/6=8', '69-8=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,65 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[8, 36], Operations: ['48/6=8', '69-33=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,65 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[69, 41], Operations: ['48/6=8', '33+8=41']
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,65 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,65 unequal: No Solution
No 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: 65:[33, 6, 21], Operations: ['69-48=21']
Exploring Operation: 33-21=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 65:[6, 12] Operation: 33-21=12
Exploring Operation: 21-6=15, Resulting Numbers: [33, 15]
Generated Node #0,0,1: 65:[33, 15] Operation: 21-6=15
Exploring Operation: 33+21=54, Resulting Numbers: [6, 54]
Generated Node #0,0,2: 65:[6, 54] Operation: 33+21=54
Exploring Operation: 33-6=27, Resulting Numbers: [21, 27]
Generated Node #0,0,3: 65:[21, 27] Operation: 33-6=27
Moving to Node #0,0,0
Current State: 65:[6, 12], Operations: ['69-48=21', '33-21=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[6, 54], Operations: ['69-48=21', '33+21=54']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[21, 27], Operations: ['69-48=21', '33-6=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[33, 15], Operations: ['69-48=21', '21-6=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,65 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 |
[
38,
95,
19,
40
] | 20 | [
"38*40=1520",
"95-19=76",
"1520/76=20"
] | Current State: 20:[38, 95, 19, 40], Operations: []
Exploring Operation: 38*40=1520, Resulting Numbers: [95, 19, 1520]
Generated Node #2: [95, 19, 1520] from Operation: 38*40=1520
Current State: 20:[95, 19, 1520], Operations: ['38*40=1520']
Exploring Operation: 95-19=76, Resulting Numbers: [1520, 76]
Generated Node #3: [1520, 76] from Operation: 95-19=76
Current State: 20:[1520, 76], Operations: ['38*40=1520', '95-19=76']
Exploring Operation: 1520/76=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[38, 95, 19, 40], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [38, 19, 55]
Generated Node #0,0: 20:[38, 19, 55] Operation: 95-40=55
Exploring Operation: 95-38=57, Resulting Numbers: [19, 40, 57]
Generated Node #0,1: 20:[19, 40, 57] Operation: 95-38=57
Exploring Operation: 95/19=5, Resulting Numbers: [38, 40, 5]
Generated Node #0,2: 20:[38, 40, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[38, 40, 5], Operations: ['95/19=5']
Exploring Operation: 40/5=8, Resulting Numbers: [38, 8]
Generated Node #0,2,0: 20:[38, 8] Operation: 40/5=8
Exploring Operation: 38-5=33, Resulting Numbers: [40, 33]
Generated Node #0,2,1: 20:[40, 33] Operation: 38-5=33
Exploring Operation: 40-38=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 20:[5, 2] Operation: 40-38=2
Moving to Node #0,2,2
Current State: 20:[5, 2], Operations: ['95/19=5', '40-38=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[38, 8], Operations: ['95/19=5', '40/5=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[40, 33], Operations: ['95/19=5', '38-5=33']
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,20 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[38, 19, 55], Operations: ['95-40=55']
Exploring Operation: 55-19=36, Resulting Numbers: [38, 36]
Generated Node #0,0,0: 20:[38, 36] Operation: 55-19=36
Exploring Operation: 38/19=2, Resulting Numbers: [55, 2]
Generated Node #0,0,1: 20:[55, 2] Operation: 38/19=2
Exploring Operation: 55-38=17, Resulting Numbers: [19, 17]
Generated Node #0,0,2: 20:[19, 17] Operation: 55-38=17
Moving to Node #0,0,2
Current State: 20:[19, 17], Operations: ['95-40=55', '55-38=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,20 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[38, 36], Operations: ['95-40=55', '55-19=36']
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,20 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[55, 2], Operations: ['95-40=55', '38/19=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[19, 40, 57], Operations: ['95-38=57']
Exploring Operation: 57-40=17, Resulting Numbers: [19, 17]
Generated Node #0,1,0: 20:[19, 17] Operation: 57-40=17
Exploring Operation: 40-19=21, Resulting Numbers: [57, 21]
Generated Node #0,1,1: 20:[57, 21] Operation: 40-19=21
Exploring Operation: 57/19=3, Resulting Numbers: [40, 3]
Generated Node #0,1,2: 20:[40, 3] Operation: 57/19=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[19, 17], Operations: ['95-38=57', '57-40=17']
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,20 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,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,1,2
Current State: 20:[40, 3], Operations: ['95-38=57', '57/19=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,20 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,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,1,1
Current State: 20:[57, 21], Operations: ['95-38=57', '40-19=21']
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,20 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,20 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 |
[
81,
21,
22,
6
] | 66 | [
"81*22=1782",
"21+6=27",
"1782/27=66"
] | Current State: 66:[81, 21, 22, 6], Operations: []
Exploring Operation: 81*22=1782, Resulting Numbers: [21, 6, 1782]
Generated Node #2: [21, 6, 1782] from Operation: 81*22=1782
Current State: 66:[21, 6, 1782], Operations: ['81*22=1782']
Exploring Operation: 21+6=27, Resulting Numbers: [1782, 27]
Generated Node #3: [1782, 27] from Operation: 21+6=27
Current State: 66:[1782, 27], Operations: ['81*22=1782', '21+6=27']
Exploring Operation: 1782/27=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[81, 21, 22, 6], Operations: []
Exploring Operation: 81-21=60, Resulting Numbers: [22, 6, 60]
Generated Node #0,0: 66:[22, 6, 60] Operation: 81-21=60
Exploring Operation: 81-6=75, Resulting Numbers: [21, 22, 75]
Generated Node #0,1: 66:[21, 22, 75] Operation: 81-6=75
Exploring Operation: 22-21=1, Resulting Numbers: [81, 6, 1]
Generated Node #0,2: 66:[81, 6, 1] Operation: 22-21=1
Exploring Operation: 81-22=59, Resulting Numbers: [21, 6, 59]
Generated Node #0,3: 66:[21, 6, 59] Operation: 81-22=59
Exploring Operation: 21-6=15, Resulting Numbers: [81, 22, 15]
Generated Node #0,4: 66:[81, 22, 15] Operation: 21-6=15
Moving to Node #0,0
Current State: 66:[22, 6, 60], Operations: ['81-21=60']
Exploring Operation: 60-22=38, Resulting Numbers: [6, 38]
Generated Node #0,0,0: 66:[6, 38] Operation: 60-22=38
Exploring Operation: 60/6=10, Resulting Numbers: [22, 10]
Generated Node #0,0,1: 66:[22, 10] Operation: 60/6=10
Exploring Operation: 22-6=16, Resulting Numbers: [60, 16]
Generated Node #0,0,2: 66:[60, 16] Operation: 22-6=16
Exploring Operation: 6+60=66, Resulting Numbers: [22, 66]
Generated Node #0,0,3: 66:[22, 66] Operation: 6+60=66
Exploring Operation: 22+6=28, Resulting Numbers: [60, 28]
Generated Node #0,0,4: 66:[60, 28] Operation: 22+6=28
Moving to Node #0,3
Current State: 66:[21, 6, 59], Operations: ['81-22=59']
Exploring Operation: 21-6=15, Resulting Numbers: [59, 15]
Generated Node #0,3,0: 66:[59, 15] Operation: 21-6=15
Exploring Operation: 6+59=65, Resulting Numbers: [21, 65]
Generated Node #0,3,1: 66:[21, 65] Operation: 6+59=65
Exploring Operation: 59-21=38, Resulting Numbers: [6, 38]
Generated Node #0,3,2: 66:[6, 38] Operation: 59-21=38
Exploring Operation: 21+6=27, Resulting Numbers: [59, 27]
Generated Node #0,3,3: 66:[59, 27] Operation: 21+6=27
Exploring Operation: 21+59=80, Resulting Numbers: [6, 80]
Generated Node #0,3,4: 66:[6, 80] Operation: 21+59=80
Moving to Node #0,1
Current State: 66:[21, 22, 75], Operations: ['81-6=75']
Exploring Operation: 75-22=53, Resulting Numbers: [21, 53]
Generated Node #0,1,0: 66:[21, 53] Operation: 75-22=53
Exploring Operation: 21+22=43, Resulting Numbers: [75, 43]
Generated Node #0,1,1: 66:[75, 43] Operation: 21+22=43
Exploring Operation: 75-21=54, Resulting Numbers: [22, 54]
Generated Node #0,1,2: 66:[22, 54] Operation: 75-21=54
Exploring Operation: 22-21=1, Resulting Numbers: [75, 1]
Generated Node #0,1,3: 66:[75, 1] Operation: 22-21=1
Exploring Operation: 21+75=96, Resulting Numbers: [22, 96]
Generated Node #0,1,4: 66:[22, 96] Operation: 21+75=96
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[75, 1], Operations: ['81-6=75', '22-21=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[22, 54], Operations: ['81-6=75', '75-21=54']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,66 unequal: No Solution
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[21, 53], Operations: ['81-6=75', '75-22=53']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,66 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[75, 43], Operations: ['81-6=75', '21+22=43']
Exploring Operation: 75*43=3225, Resulting Numbers: [3225]
3225,66 unequal: No Solution
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 75+43=118, Resulting Numbers: [118]
118,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 66:[22, 96], Operations: ['81-6=75', '21+75=96']
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,66 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,66 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: 66:[81, 6, 1], Operations: ['22-21=1']
Exploring Operation: 81*1=81, Resulting Numbers: [6, 81]
Generated Node #0,2,0: 66:[6, 81] Operation: 81*1=81
Exploring Operation: 81-6=75, Resulting Numbers: [1, 75]
Generated Node #0,2,1: 66:[1, 75] Operation: 81-6=75
Exploring Operation: 81-1=80, Resulting Numbers: [6, 80]
Generated Node #0,2,2: 66:[6, 80] Operation: 81-1=80
Exploring Operation: 81/1=81, Resulting Numbers: [6, 81]
Generated Node #0,2,3: 66:[6, 81] Operation: 81/1=81
Exploring Operation: 6*1=6, Resulting Numbers: [81, 6]
Generated Node #0,2,4: 66:[81, 6] Operation: 6*1=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[1, 75], Operations: ['22-21=1', '81-6=75']
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[6, 80], Operations: ['22-21=1', '81-1=80']
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,66 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[6, 81], Operations: ['22-21=1', '81*1=81']
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 6*81=486, Resulting Numbers: [486]
486,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[6, 81], Operations: ['22-21=1', '81/1=81']
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 6*81=486, Resulting Numbers: [486]
486,66 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 66:[81, 6], Operations: ['22-21=1', '6*1=6']
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,66 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,66 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: 66:[81, 22, 15], Operations: ['21-6=15']
Exploring Operation: 22+15=37, Resulting Numbers: [81, 37]
Generated Node #0,4,0: 66:[81, 37] Operation: 22+15=37
Exploring Operation: 81-15=66, Resulting Numbers: [22, 66]
Generated Node #0,4,1: 66:[22, 66] Operation: 81-15=66
Exploring Operation: 81+15=96, Resulting Numbers: [22, 96]
Generated Node #0,4,2: 66:[22, 96] Operation: 81+15=96
Exploring Operation: 81-22=59, Resulting Numbers: [15, 59]
Generated Node #0,4,3: 66:[15, 59] Operation: 81-22=59
Exploring Operation: 22-15=7, Resulting Numbers: [81, 7]
Generated Node #0,4,4: 66:[81, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[22, 66], Operations: ['21-6=15', '81-15=66']
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,66 unequal: No Solution
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[15, 59], Operations: ['21-6=15', '81-22=59']
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,66 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 66:[81, 7], Operations: ['21-6=15', '22-15=7']
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[81, 37], Operations: ['21-6=15', '22+15=37']
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,66 unequal: No Solution
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[22, 96], Operations: ['21-6=15', '81+15=96']
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 66:[22, 66], Operations: ['81-21=60', '6+60=66']
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,66 unequal: No Solution
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[22, 10], Operations: ['81-21=60', '60/6=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[21, 65], Operations: ['81-22=59', '6+59=65']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,66 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[6, 38], Operations: ['81-22=59', '59-21=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,66 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[6, 38], Operations: ['81-21=60', '60-22=38']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[59, 15], Operations: ['81-22=59', '21-6=15']
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[60, 28], Operations: ['81-21=60', '22+6=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,66 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[60, 16], Operations: ['81-21=60', '22-6=16']
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,66 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[59, 27], Operations: ['81-22=59', '21+6=27']
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,66 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[6, 80], Operations: ['81-22=59', '21+59=80']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,66 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,66 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
64,
61,
33,
3
] | 98 | [
"64*3=192",
"61+33=94",
"192-94=98"
] | Current State: 98:[64, 61, 33, 3], Operations: []
Exploring Operation: 64*3=192, Resulting Numbers: [61, 33, 192]
Generated Node #2: [61, 33, 192] from Operation: 64*3=192
Current State: 98:[61, 33, 192], Operations: ['64*3=192']
Exploring Operation: 61+33=94, Resulting Numbers: [192, 94]
Generated Node #3: [192, 94] from Operation: 61+33=94
Current State: 98:[192, 94], Operations: ['64*3=192', '61+33=94']
Exploring Operation: 192-94=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[64, 61, 33, 3], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [33, 3, 3]
Generated Node #0,0: 98:[33, 3, 3] Operation: 64-61=3
Exploring Operation: 64+33=97, Resulting Numbers: [61, 3, 97]
Generated Node #0,1: 98:[61, 3, 97] Operation: 64+33=97
Moving to Node #0,1
Current State: 98:[61, 3, 97], Operations: ['64+33=97']
Exploring Operation: 61-3=58, Resulting Numbers: [97, 58]
Generated Node #0,1,0: 98:[97, 58] Operation: 61-3=58
Exploring Operation: 97-61=36, Resulting Numbers: [3, 36]
Generated Node #0,1,1: 98:[3, 36] Operation: 97-61=36
Moving to Node #0,0
Current State: 98:[33, 3, 3], Operations: ['64-61=3']
Exploring Operation: 33*3=99, Resulting Numbers: [3, 99]
Generated Node #0,0,0: 98:[3, 99] Operation: 33*3=99
Exploring Operation: 33*3=99, Resulting Numbers: [3, 99]
Generated Node #0,0,1: 98:[3, 99] Operation: 33*3=99
Moving to Node #0,0,0
Current State: 98:[3, 99], Operations: ['64-61=3', '33*3=99']
Exploring Operation: 3+99=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[3, 99], Operations: ['64-61=3', '33*3=99']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 3+99=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[97, 58], Operations: ['64+33=97', '61-3=58']
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,98 unequal: No Solution
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[3, 36], Operations: ['64+33=97', '97-61=36']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
20,
62,
90
] | 10 | [
"26+62=88",
"90-88=2",
"20/2=10"
] | Current State: 10:[26, 20, 62, 90], Operations: []
Exploring Operation: 26+62=88, Resulting Numbers: [20, 90, 88]
Generated Node #2: [20, 90, 88] from Operation: 26+62=88
Current State: 10:[20, 90, 88], Operations: ['26+62=88']
Exploring Operation: 90-88=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 90-88=2
Current State: 10:[20, 2], Operations: ['26+62=88', '90-88=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[26, 20, 62, 90], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [26, 20, 28]
Generated Node #0,0: 10:[26, 20, 28] Operation: 90-62=28
Exploring Operation: 62-26=36, Resulting Numbers: [20, 90, 36]
Generated Node #0,1: 10:[20, 90, 36] Operation: 62-26=36
Exploring Operation: 62-20=42, Resulting Numbers: [26, 90, 42]
Generated Node #0,2: 10:[26, 90, 42] Operation: 62-20=42
Exploring Operation: 90-26=64, Resulting Numbers: [20, 62, 64]
Generated Node #0,3: 10:[20, 62, 64] Operation: 90-26=64
Moving to Node #0,0
Current State: 10:[26, 20, 28], Operations: ['90-62=28']
Exploring Operation: 28-20=8, Resulting Numbers: [26, 8]
Generated Node #0,0,0: 10:[26, 8] Operation: 28-20=8
Exploring Operation: 26+20=46, Resulting Numbers: [28, 46]
Generated Node #0,0,1: 10:[28, 46] Operation: 26+20=46
Exploring Operation: 28-26=2, Resulting Numbers: [20, 2]
Generated Node #0,0,2: 10:[20, 2] Operation: 28-26=2
Exploring Operation: 26-20=6, Resulting Numbers: [28, 6]
Generated Node #0,0,3: 10:[28, 6] Operation: 26-20=6
Moving to Node #0,3
Current State: 10:[20, 62, 64], Operations: ['90-26=64']
Exploring Operation: 64-20=44, Resulting Numbers: [62, 44]
Generated Node #0,3,0: 10:[62, 44] Operation: 64-20=44
Exploring Operation: 64-62=2, Resulting Numbers: [20, 2]
Generated Node #0,3,1: 10:[20, 2] Operation: 64-62=2
Exploring Operation: 62-20=42, Resulting Numbers: [64, 42]
Generated Node #0,3,2: 10:[64, 42] Operation: 62-20=42
Exploring Operation: 20+62=82, Resulting Numbers: [64, 82]
Generated Node #0,3,3: 10:[64, 82] Operation: 20+62=82
Moving to Node #0,1
Current State: 10:[20, 90, 36], Operations: ['62-26=36']
Exploring Operation: 90-20=70, Resulting Numbers: [36, 70]
Generated Node #0,1,0: 10:[36, 70] Operation: 90-20=70
Exploring Operation: 90-36=54, Resulting Numbers: [20, 54]
Generated Node #0,1,1: 10:[20, 54] Operation: 90-36=54
Exploring Operation: 20+90=110, Resulting Numbers: [36, 110]
Generated Node #0,1,2: 10:[36, 110] Operation: 20+90=110
Exploring Operation: 36-20=16, Resulting Numbers: [90, 16]
Generated Node #0,1,3: 10:[90, 16] Operation: 36-20=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[20, 54], Operations: ['62-26=36', '90-36=54']
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,10 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,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,1,0
Current State: 10:[36, 70], Operations: ['62-26=36', '90-20=70']
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,10 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,10 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,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,1,3
Current State: 10:[90, 16], Operations: ['62-26=36', '36-20=16']
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,10 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,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,1,2
Current State: 10:[36, 110], Operations: ['62-26=36', '20+90=110']
Exploring Operation: 110-36=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Exploring Operation: 36*110=3960, Resulting Numbers: [3960]
3960,10 unequal: No Solution
Exploring Operation: 36+110=146, Resulting Numbers: [146]
146,10 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: 10:[26, 90, 42], Operations: ['62-20=42']
Exploring Operation: 90-42=48, Resulting Numbers: [26, 48]
Generated Node #0,2,0: 10:[26, 48] Operation: 90-42=48
Exploring Operation: 42-26=16, Resulting Numbers: [90, 16]
Generated Node #0,2,1: 10:[90, 16] Operation: 42-26=16
Exploring Operation: 90-26=64, Resulting Numbers: [42, 64]
Generated Node #0,2,2: 10:[42, 64] Operation: 90-26=64
Exploring Operation: 26+90=116, Resulting Numbers: [42, 116]
Generated Node #0,2,3: 10:[42, 116] Operation: 26+90=116
Moving to Node #0,0,2
Current State: 10:[20, 2], Operations: ['90-62=28', '28-26=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[26, 20, 62, 90], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [26, 20, 28]
Generated Node #0,0: 10:[26, 20, 28] Operation: 90-62=28
Moving to Node #0,0
Current State: 10:[26, 20, 28], Operations: ['90-62=28']
Exploring Operation: 28-26=2, Resulting Numbers: [20, 2]
Generated Node #0,0,2: 10:[20, 2] Operation: 28-26=2
Moving to Node #0,0,2
Current State: 10:[20, 2], Operations: ['90-62=28', '28-26=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
30,
52,
97,
81
] | 97 | [
"30+52=82",
"82-81=1",
"97*1=97"
] | Current State: 97:[30, 52, 97, 81], Operations: []
Exploring Operation: 30+52=82, Resulting Numbers: [97, 81, 82]
Generated Node #2: [97, 81, 82] from Operation: 30+52=82
Current State: 97:[97, 81, 82], Operations: ['30+52=82']
Exploring Operation: 82-81=1, Resulting Numbers: [97, 1]
Generated Node #3: [97, 1] from Operation: 82-81=1
Current State: 97:[97, 1], Operations: ['30+52=82', '82-81=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[30, 52, 97, 81], Operations: []
Exploring Operation: 30+52=82, Resulting Numbers: [97, 81, 82]
Generated Node #0,0: 97:[97, 81, 82] Operation: 30+52=82
Moving to Node #0,0
Current State: 97:[97, 81, 82], Operations: ['30+52=82']
Exploring Operation: 81+82=163, Resulting Numbers: [97, 163]
Generated Node #0,0,0: 97:[97, 163] Operation: 81+82=163
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[97, 163], Operations: ['30+52=82', '81+82=163']
Exploring Operation: 163-97=66, Resulting Numbers: [66]
66,97 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 |
[
3,
20,
52,
63
] | 92 | [
"3+20=23",
"52+63=115",
"115-23=92"
] | Current State: 92:[3, 20, 52, 63], Operations: []
Exploring Operation: 3+20=23, Resulting Numbers: [52, 63, 23]
Generated Node #2: [52, 63, 23] from Operation: 3+20=23
Current State: 92:[52, 63, 23], Operations: ['3+20=23']
Exploring Operation: 52+63=115, Resulting Numbers: [23, 115]
Generated Node #3: [23, 115] from Operation: 52+63=115
Current State: 92:[23, 115], Operations: ['3+20=23', '52+63=115']
Exploring Operation: 115-23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[3, 20, 52, 63], Operations: []
Exploring Operation: 63-20=43, Resulting Numbers: [3, 52, 43]
Generated Node #0,0: 92:[3, 52, 43] Operation: 63-20=43
Exploring Operation: 63-52=11, Resulting Numbers: [3, 20, 11]
Generated Node #0,1: 92:[3, 20, 11] Operation: 63-52=11
Exploring Operation: 63/3=21, Resulting Numbers: [20, 52, 21]
Generated Node #0,2: 92:[20, 52, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[3, 52, 43], Operations: ['63-20=43']
Exploring Operation: 3+43=46, Resulting Numbers: [52, 46]
Generated Node #0,0,0: 92:[52, 46] Operation: 3+43=46
Exploring Operation: 52+43=95, Resulting Numbers: [3, 95]
Generated Node #0,0,1: 92:[3, 95] Operation: 52+43=95
Exploring Operation: 52-3=49, Resulting Numbers: [43, 49]
Generated Node #0,0,2: 92:[43, 49] Operation: 52-3=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[3, 95], Operations: ['63-20=43', '52+43=95']
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,92 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[3, 20, 52, 63], Operations: []
Exploring Operation: 63-20=43, Resulting Numbers: [3, 52, 43]
Generated Node #0,0: 92:[3, 52, 43] Operation: 63-20=43
Moving to Node #0,0
Current State: 92:[3, 52, 43], Operations: ['63-20=43']
Exploring Operation: 52+43=95, Resulting Numbers: [3, 95]
Generated Node #0,0,1: 92:[3, 95] Operation: 52+43=95
Moving to Node #0,0,1
Current State: 92:[3, 95], Operations: ['63-20=43', '52+43=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
79,
9,
70,
75
] | 57 | [
"79+9=88",
"70+75=145",
"145-88=57"
] | Current State: 57:[79, 9, 70, 75], Operations: []
Exploring Operation: 79+9=88, Resulting Numbers: [70, 75, 88]
Generated Node #2: [70, 75, 88] from Operation: 79+9=88
Current State: 57:[70, 75, 88], Operations: ['79+9=88']
Exploring Operation: 70+75=145, Resulting Numbers: [88, 145]
Generated Node #3: [88, 145] from Operation: 70+75=145
Current State: 57:[88, 145], Operations: ['79+9=88', '70+75=145']
Exploring Operation: 145-88=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[79, 9, 70, 75], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [9, 70, 4]
Generated Node #0,0: 57:[9, 70, 4] Operation: 79-75=4
Exploring Operation: 79-70=9, Resulting Numbers: [9, 75, 9]
Generated Node #0,1: 57:[9, 75, 9] Operation: 79-70=9
Exploring Operation: 79-9=70, Resulting Numbers: [70, 75, 70]
Generated Node #0,2: 57:[70, 75, 70] Operation: 79-9=70
Exploring Operation: 75-70=5, Resulting Numbers: [79, 9, 5]
Generated Node #0,3: 57:[79, 9, 5] Operation: 75-70=5
Moving to Node #0,0
Current State: 57:[9, 70, 4], Operations: ['79-75=4']
Exploring Operation: 9-4=5, Resulting Numbers: [70, 5]
Generated Node #0,0,0: 57:[70, 5] Operation: 9-4=5
Exploring Operation: 70-9=61, Resulting Numbers: [4, 61]
Generated Node #0,0,1: 57:[4, 61] Operation: 70-9=61
Exploring Operation: 70-4=66, Resulting Numbers: [9, 66]
Generated Node #0,0,2: 57:[9, 66] Operation: 70-4=66
Exploring Operation: 9+4=13, Resulting Numbers: [70, 13]
Generated Node #0,0,3: 57:[70, 13] Operation: 9+4=13
Moving to Node #0,3
Current State: 57:[79, 9, 5], Operations: ['75-70=5']
Exploring Operation: 79-9=70, Resulting Numbers: [5, 70]
Generated Node #0,3,0: 57:[5, 70] Operation: 79-9=70
Exploring Operation: 9-5=4, Resulting Numbers: [79, 4]
Generated Node #0,3,1: 57:[79, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [79, 14]
Generated Node #0,3,2: 57:[79, 14] Operation: 9+5=14
Exploring Operation: 79-5=74, Resulting Numbers: [9, 74]
Generated Node #0,3,3: 57:[9, 74] Operation: 79-5=74
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[5, 70], Operations: ['75-70=5', '79-9=70']
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,57 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,57 unequal: No Solution
No 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: 57:[79, 4], Operations: ['75-70=5', '9-5=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,57 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,57 unequal: No Solution
No 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: 57:[9, 74], Operations: ['75-70=5', '79-5=74']
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,57 unequal: No Solution
No 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: 57:[79, 14], Operations: ['75-70=5', '9+5=14']
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,57 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,57 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: 57:[9, 75, 9], Operations: ['79-70=9']
Exploring Operation: 75-9=66, Resulting Numbers: [9, 66]
Generated Node #0,1,0: 57:[9, 66] Operation: 75-9=66
Exploring Operation: 9/9=1, Resulting Numbers: [75, 1]
Generated Node #0,1,1: 57:[75, 1] Operation: 9/9=1
Exploring Operation: 9+9=18, Resulting Numbers: [75, 18]
Generated Node #0,1,2: 57:[75, 18] Operation: 9+9=18
Exploring Operation: 75-9=66, Resulting Numbers: [9, 66]
Generated Node #0,1,3: 57:[9, 66] Operation: 75-9=66
Moving to Node #0,2
Current State: 57:[70, 75, 70], Operations: ['79-9=70']
Exploring Operation: 75-70=5, Resulting Numbers: [70, 5]
Generated Node #0,2,0: 57:[70, 5] Operation: 75-70=5
Exploring Operation: 75-70=5, Resulting Numbers: [70, 5]
Generated Node #0,2,1: 57:[70, 5] Operation: 75-70=5
Exploring Operation: 70-70=0, Resulting Numbers: [75, 0]
Generated Node #0,2,2: 57:[75, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [75, 1]
Generated Node #0,2,3: 57:[75, 1] Operation: 70/70=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[70, 5], Operations: ['79-9=70', '75-70=5']
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,57 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,57 unequal: No Solution
No 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: 57:[70, 5], Operations: ['79-9=70', '75-70=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,57 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,57 unequal: No Solution
No 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: 57:[75, 1], Operations: ['79-9=70', '70/70=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,57 unequal: No Solution
No 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: 57:[75, 0], Operations: ['79-9=70', '70-70=0']
Exploring Operation: 75-0=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 75*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 57:[4, 61], Operations: ['79-75=4', '70-9=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[79, 9, 70, 75], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [9, 70, 4]
Generated Node #0,0: 57:[9, 70, 4] Operation: 79-75=4
Moving to Node #0,0
Current State: 57:[9, 70, 4], Operations: ['79-75=4']
Exploring Operation: 70-9=61, Resulting Numbers: [4, 61]
Generated Node #0,0,1: 57:[4, 61] Operation: 70-9=61
Moving to Node #0,0,1
Current State: 57:[4, 61], Operations: ['79-75=4', '70-9=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
33,
11,
4,
27
] | 96 | [
"33/11=3",
"27-3=24",
"4*24=96"
] | Current State: 96:[33, 11, 4, 27], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [4, 27, 3]
Generated Node #2: [4, 27, 3] from Operation: 33/11=3
Current State: 96:[4, 27, 3], Operations: ['33/11=3']
Exploring Operation: 27-3=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 27-3=24
Current State: 96:[4, 24], Operations: ['33/11=3', '27-3=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[33, 11, 4, 27], Operations: []
Exploring Operation: 33-27=6, Resulting Numbers: [11, 4, 6]
Generated Node #0,0: 96:[11, 4, 6] Operation: 33-27=6
Exploring Operation: 27-11=16, Resulting Numbers: [33, 4, 16]
Generated Node #0,1: 96:[33, 4, 16] Operation: 27-11=16
Exploring Operation: 33/11=3, Resulting Numbers: [4, 27, 3]
Generated Node #0,2: 96:[4, 27, 3] Operation: 33/11=3
Moving to Node #0,0
Current State: 96:[11, 4, 6], Operations: ['33-27=6']
Exploring Operation: 11-4=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 96:[6, 7] Operation: 11-4=7
Exploring Operation: 11+4=15, Resulting Numbers: [6, 15]
Generated Node #0,0,1: 96:[6, 15] Operation: 11+4=15
Exploring Operation: 11+6=17, Resulting Numbers: [4, 17]
Generated Node #0,0,2: 96:[4, 17] Operation: 11+6=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[6, 7], Operations: ['33-27=6', '11-4=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[6, 15], Operations: ['33-27=6', '11+4=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[4, 17], Operations: ['33-27=6', '11+6=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,96 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: 96:[33, 4, 16], Operations: ['27-11=16']
Exploring Operation: 16-4=12, Resulting Numbers: [33, 12]
Generated Node #0,1,0: 96:[33, 12] Operation: 16-4=12
Exploring Operation: 33+16=49, Resulting Numbers: [4, 49]
Generated Node #0,1,1: 96:[4, 49] Operation: 33+16=49
Exploring Operation: 33-16=17, Resulting Numbers: [4, 17]
Generated Node #0,1,2: 96:[4, 17] Operation: 33-16=17
Moving to Node #0,2
Current State: 96:[4, 27, 3], Operations: ['33/11=3']
Exploring Operation: 27-4=23, Resulting Numbers: [3, 23]
Generated Node #0,2,0: 96:[3, 23] Operation: 27-4=23
Exploring Operation: 27-3=24, Resulting Numbers: [4, 24]
Generated Node #0,2,1: 96:[4, 24] Operation: 27-3=24
Exploring Operation: 4+27=31, Resulting Numbers: [3, 31]
Generated Node #0,2,2: 96:[3, 31] Operation: 4+27=31
Moving to Node #0,2,1
Current State: 96:[4, 24], Operations: ['33/11=3', '27-3=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[33, 11, 4, 27], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [4, 27, 3]
Generated Node #0,2: 96:[4, 27, 3] Operation: 33/11=3
Moving to Node #0,2
Current State: 96:[4, 27, 3], Operations: ['33/11=3']
Exploring Operation: 27-3=24, Resulting Numbers: [4, 24]
Generated Node #0,2,1: 96:[4, 24] Operation: 27-3=24
Moving to Node #0,2,1
Current State: 96:[4, 24], Operations: ['33/11=3', '27-3=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
13,
54,
72,
3
] | 57 | [
"13*3=39",
"72-54=18",
"39+18=57"
] | Current State: 57:[13, 54, 72, 3], Operations: []
Exploring Operation: 13*3=39, Resulting Numbers: [54, 72, 39]
Generated Node #2: [54, 72, 39] from Operation: 13*3=39
Current State: 57:[54, 72, 39], Operations: ['13*3=39']
Exploring Operation: 72-54=18, Resulting Numbers: [39, 18]
Generated Node #3: [39, 18] from Operation: 72-54=18
Current State: 57:[39, 18], Operations: ['13*3=39', '72-54=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[13, 54, 72, 3], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [13, 54, 24]
Generated Node #0,0: 57:[13, 54, 24] Operation: 72/3=24
Exploring Operation: 72-13=59, Resulting Numbers: [54, 3, 59]
Generated Node #0,1: 57:[54, 3, 59] Operation: 72-13=59
Exploring Operation: 13+3=16, Resulting Numbers: [54, 72, 16]
Generated Node #0,2: 57:[54, 72, 16] Operation: 13+3=16
Exploring Operation: 72-54=18, Resulting Numbers: [13, 3, 18]
Generated Node #0,3: 57:[13, 3, 18] Operation: 72-54=18
Exploring Operation: 54+3=57, Resulting Numbers: [13, 72, 57]
Generated Node #0,4: 57:[13, 72, 57] Operation: 54+3=57
Moving to Node #0,1
Current State: 57:[54, 3, 59], Operations: ['72-13=59']
Exploring Operation: 54-3=51, Resulting Numbers: [59, 51]
Generated Node #0,1,0: 57:[59, 51] Operation: 54-3=51
Exploring Operation: 59-54=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 57:[3, 5] Operation: 59-54=5
Exploring Operation: 54+3=57, Resulting Numbers: [59, 57]
Generated Node #0,1,2: 57:[59, 57] Operation: 54+3=57
Exploring Operation: 54/3=18, Resulting Numbers: [59, 18]
Generated Node #0,1,3: 57:[59, 18] Operation: 54/3=18
Exploring Operation: 59-3=56, Resulting Numbers: [54, 56]
Generated Node #0,1,4: 57:[54, 56] Operation: 59-3=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[3, 5], Operations: ['72-13=59', '59-54=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No 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: 57:[59, 57], Operations: ['72-13=59', '54+3=57']
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,57 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,57 unequal: No Solution
No 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: 57:[59, 18], Operations: ['72-13=59', '54/3=18']
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,57 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 57:[54, 56], Operations: ['72-13=59', '59-3=56']
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,57 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No 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: 57:[59, 51], Operations: ['72-13=59', '54-3=51']
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 59+51=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 59*51=3009, Resulting Numbers: [3009]
3009,57 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: 57:[13, 3, 18], Operations: ['72-54=18']
Exploring Operation: 3*18=54, Resulting Numbers: [13, 54]
Generated Node #0,3,0: 57:[13, 54] Operation: 3*18=54
Exploring Operation: 13+3=16, Resulting Numbers: [18, 16]
Generated Node #0,3,1: 57:[18, 16] Operation: 13+3=16
Exploring Operation: 3+18=21, Resulting Numbers: [13, 21]
Generated Node #0,3,2: 57:[13, 21] Operation: 3+18=21
Exploring Operation: 13-3=10, Resulting Numbers: [18, 10]
Generated Node #0,3,3: 57:[18, 10] Operation: 13-3=10
Exploring Operation: 18-13=5, Resulting Numbers: [3, 5]
Generated Node #0,3,4: 57:[3, 5] Operation: 18-13=5
Moving to Node #0,0
Current State: 57:[13, 54, 24], Operations: ['72/3=24']
Exploring Operation: 24-13=11, Resulting Numbers: [54, 11]
Generated Node #0,0,0: 57:[54, 11] Operation: 24-13=11
Exploring Operation: 13+24=37, Resulting Numbers: [54, 37]
Generated Node #0,0,1: 57:[54, 37] Operation: 13+24=37
Exploring Operation: 54-13=41, Resulting Numbers: [24, 41]
Generated Node #0,0,2: 57:[24, 41] Operation: 54-13=41
Exploring Operation: 13+54=67, Resulting Numbers: [24, 67]
Generated Node #0,0,3: 57:[24, 67] Operation: 13+54=67
Exploring Operation: 54-24=30, Resulting Numbers: [13, 30]
Generated Node #0,0,4: 57:[13, 30] Operation: 54-24=30
Moving to Node #0,2
Current State: 57:[54, 72, 16], Operations: ['13+3=16']
Exploring Operation: 54-16=38, Resulting Numbers: [72, 38]
Generated Node #0,2,0: 57:[72, 38] Operation: 54-16=38
Exploring Operation: 72-16=56, Resulting Numbers: [54, 56]
Generated Node #0,2,1: 57:[54, 56] Operation: 72-16=56
Exploring Operation: 72-54=18, Resulting Numbers: [16, 18]
Generated Node #0,2,2: 57:[16, 18] Operation: 72-54=18
Exploring Operation: 72+16=88, Resulting Numbers: [54, 88]
Generated Node #0,2,3: 57:[54, 88] Operation: 72+16=88
Exploring Operation: 54+16=70, Resulting Numbers: [72, 70]
Generated Node #0,2,4: 57:[72, 70] Operation: 54+16=70
Moving to Node #0,4
Current State: 57:[13, 72, 57], Operations: ['54+3=57']
Exploring Operation: 13+72=85, Resulting Numbers: [57, 85]
Generated Node #0,4,0: 57:[57, 85] Operation: 13+72=85
Exploring Operation: 72-57=15, Resulting Numbers: [13, 15]
Generated Node #0,4,1: 57:[13, 15] Operation: 72-57=15
Exploring Operation: 13+57=70, Resulting Numbers: [72, 70]
Generated Node #0,4,2: 57:[72, 70] Operation: 13+57=70
Exploring Operation: 57-13=44, Resulting Numbers: [72, 44]
Generated Node #0,4,3: 57:[72, 44] Operation: 57-13=44
Exploring Operation: 72-13=59, Resulting Numbers: [57, 59]
Generated Node #0,4,4: 57:[57, 59] Operation: 72-13=59
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 57:[57, 59], Operations: ['54+3=57', '72-13=59']
Exploring Operation: 57+59=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 57*59=3363, Resulting Numbers: [3363]
3363,57 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No 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: 57:[13, 15], Operations: ['54+3=57', '72-57=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,57 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No 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: 57:[57, 85], Operations: ['54+3=57', '13+72=85']
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 57+85=142, Resulting Numbers: [142]
142,57 unequal: No Solution
Exploring Operation: 57*85=4845, Resulting Numbers: [4845]
4845,57 unequal: No Solution
No 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: 57:[72, 70], Operations: ['54+3=57', '13+57=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,57 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,57 unequal: No Solution
No 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: 57:[72, 44], Operations: ['54+3=57', '57-13=44']
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 57:[3, 5], Operations: ['72-54=18', '18-13=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[16, 18], Operations: ['13+3=16', '72-54=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,57 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[18, 16], Operations: ['72-54=18', '13+3=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,57 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[54, 56], Operations: ['13+3=16', '72-16=56']
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,57 unequal: No Solution
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[13, 21], Operations: ['72-54=18', '3+18=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,57 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[18, 10], Operations: ['72-54=18', '13-3=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[13, 54], Operations: ['72-54=18', '3*18=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[54, 11], Operations: ['72/3=24', '24-13=11']
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,57 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[24, 67], Operations: ['72/3=24', '13+54=67']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[13, 30], Operations: ['72/3=24', '54-24=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,57 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[24, 41], Operations: ['72/3=24', '54-13=41']
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 24+41=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 24*41=984, Resulting Numbers: [984]
984,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[54, 37], Operations: ['72/3=24', '13+24=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,57 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[72, 70], Operations: ['13+3=16', '54+16=70']
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,57 unequal: No Solution
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[54, 88], Operations: ['13+3=16', '72+16=88']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,57 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[72, 38], Operations: ['13+3=16', '54-16=38']
Exploring Operation: 72*38=2736, Resulting Numbers: [2736]
2736,57 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,57 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
3,
4,
10
] | 88 | [
"18+10=28",
"3*28=84",
"4+84=88"
] | Current State: 88:[18, 3, 4, 10], Operations: []
Exploring Operation: 18+10=28, Resulting Numbers: [3, 4, 28]
Generated Node #2: [3, 4, 28] from Operation: 18+10=28
Current State: 88:[3, 4, 28], Operations: ['18+10=28']
Exploring Operation: 3*28=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 3*28=84
Current State: 88:[4, 84], Operations: ['18+10=28', '3*28=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[18, 3, 4, 10], Operations: []
Exploring Operation: 18-10=8, Resulting Numbers: [3, 4, 8]
Generated Node #0,0: 88:[3, 4, 8] Operation: 18-10=8
Moving to Node #0,0
Current State: 88:[3, 4, 8], Operations: ['18-10=8']
Exploring Operation: 3+8=11, Resulting Numbers: [4, 11]
Generated Node #0,0,0: 88:[4, 11] Operation: 3+8=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[4, 11], Operations: ['18-10=8', '3+8=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,88 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 |
[
50,
47,
8,
44
] | 26 | [
"47-44=3",
"8*3=24",
"50-24=26"
] | Current State: 26:[50, 47, 8, 44], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [50, 8, 3]
Generated Node #2: [50, 8, 3] from Operation: 47-44=3
Current State: 26:[50, 8, 3], Operations: ['47-44=3']
Exploring Operation: 8*3=24, Resulting Numbers: [50, 24]
Generated Node #3: [50, 24] from Operation: 8*3=24
Current State: 26:[50, 24], Operations: ['47-44=3', '8*3=24']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[50, 47, 8, 44], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [8, 44, 3]
Generated Node #0,0: 26:[8, 44, 3] Operation: 50-47=3
Exploring Operation: 50-8=42, Resulting Numbers: [47, 44, 42]
Generated Node #0,1: 26:[47, 44, 42] Operation: 50-8=42
Exploring Operation: 50-44=6, Resulting Numbers: [47, 8, 6]
Generated Node #0,2: 26:[47, 8, 6] Operation: 50-44=6
Exploring Operation: 47-44=3, Resulting Numbers: [50, 8, 3]
Generated Node #0,3: 26:[50, 8, 3] Operation: 47-44=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[8, 44, 3], Operations: ['50-47=3']
Exploring Operation: 8*3=24, Resulting Numbers: [44, 24]
Generated Node #0,0,0: 26:[44, 24] Operation: 8*3=24
Exploring Operation: 44-3=41, Resulting Numbers: [8, 41]
Generated Node #0,0,1: 26:[8, 41] Operation: 44-3=41
Exploring Operation: 8+3=11, Resulting Numbers: [44, 11]
Generated Node #0,0,2: 26:[44, 11] Operation: 8+3=11
Exploring Operation: 44-8=36, Resulting Numbers: [3, 36]
Generated Node #0,0,3: 26:[3, 36] Operation: 44-8=36
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[3, 36], Operations: ['50-47=3', '44-8=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,26 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,26 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: 26:[44, 24], Operations: ['50-47=3', '8*3=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,26 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,26 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,26 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: 26:[8, 41], Operations: ['50-47=3', '44-3=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,26 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: 26:[44, 11], Operations: ['50-47=3', '8+3=11']
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,26 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,26 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: 26:[47, 8, 6], Operations: ['50-44=6']
Exploring Operation: 8+6=14, Resulting Numbers: [47, 14]
Generated Node #0,2,0: 26:[47, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [47, 2]
Generated Node #0,2,1: 26:[47, 2] Operation: 8-6=2
Exploring Operation: 47-6=41, Resulting Numbers: [8, 41]
Generated Node #0,2,2: 26:[8, 41] Operation: 47-6=41
Exploring Operation: 47-8=39, Resulting Numbers: [6, 39]
Generated Node #0,2,3: 26:[6, 39] Operation: 47-8=39
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[6, 39], Operations: ['50-44=6', '47-8=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,26 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: 26:[8, 41], Operations: ['50-44=6', '47-6=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,26 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,26 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: 26:[47, 2], Operations: ['50-44=6', '8-6=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,26 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,26 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: 26:[47, 14], Operations: ['50-44=6', '8+6=14']
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,26 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,26 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: 26:[50, 8, 3], Operations: ['47-44=3']
Exploring Operation: 50-8=42, Resulting Numbers: [3, 42]
Generated Node #0,3,0: 26:[3, 42] Operation: 50-8=42
Exploring Operation: 8+3=11, Resulting Numbers: [50, 11]
Generated Node #0,3,1: 26:[50, 11] Operation: 8+3=11
Exploring Operation: 8*3=24, Resulting Numbers: [50, 24]
Generated Node #0,3,2: 26:[50, 24] Operation: 8*3=24
Exploring Operation: 50-3=47, Resulting Numbers: [8, 47]
Generated Node #0,3,3: 26:[8, 47] Operation: 50-3=47
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[3, 42], Operations: ['47-44=3', '50-8=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,26 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: 26:[50, 11], Operations: ['47-44=3', '8+3=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,26 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,26 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: 26:[50, 24], Operations: ['47-44=3', '8*3=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,26 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[50, 47, 8, 44], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [50, 8, 3]
Generated Node #0,3: 26:[50, 8, 3] Operation: 47-44=3
Moving to Node #0,3
Current State: 26:[50, 8, 3], Operations: ['47-44=3']
Exploring Operation: 8*3=24, Resulting Numbers: [50, 24]
Generated Node #0,3,2: 26:[50, 24] Operation: 8*3=24
Moving to Node #0,3,2
Current State: 26:[50, 24], Operations: ['47-44=3', '8*3=24']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_4 | mult_heuristic |
[
82,
52,
3,
47
] | 84 | [
"82+52=134",
"3+47=50",
"134-50=84"
] | Current State: 84:[82, 52, 3, 47], Operations: []
Exploring Operation: 82+52=134, Resulting Numbers: [3, 47, 134]
Generated Node #2: [3, 47, 134] from Operation: 82+52=134
Current State: 84:[3, 47, 134], Operations: ['82+52=134']
Exploring Operation: 3+47=50, Resulting Numbers: [134, 50]
Generated Node #3: [134, 50] from Operation: 3+47=50
Current State: 84:[134, 50], Operations: ['82+52=134', '3+47=50']
Exploring Operation: 134-50=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[82, 52, 3, 47], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [82, 3, 5]
Generated Node #0,0: 84:[82, 3, 5] Operation: 52-47=5
Moving to Node #0,0
Current State: 84:[82, 3, 5], Operations: ['52-47=5']
Exploring Operation: 82+3=85, Resulting Numbers: [5, 85]
Generated Node #0,0,0: 84:[5, 85] Operation: 82+3=85
Moving to Node #0,0,0
Current State: 84:[5, 85], Operations: ['52-47=5', '82+3=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,84 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
51,
89,
58
] | 82 | [
"58-51=7",
"49/7=7",
"89-7=82"
] | Current State: 82:[49, 51, 89, 58], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [49, 89, 7]
Generated Node #2: [49, 89, 7] from Operation: 58-51=7
Current State: 82:[49, 89, 7], Operations: ['58-51=7']
Exploring Operation: 49/7=7, Resulting Numbers: [89, 7]
Generated Node #3: [89, 7] from Operation: 49/7=7
Current State: 82:[89, 7], Operations: ['58-51=7', '49/7=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[49, 51, 89, 58], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [89, 58, 2]
Generated Node #0,0: 82:[89, 58, 2] Operation: 51-49=2
Exploring Operation: 58-51=7, Resulting Numbers: [49, 89, 7]
Generated Node #0,1: 82:[49, 89, 7] Operation: 58-51=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[49, 89, 7], Operations: ['58-51=7']
Exploring Operation: 89-49=40, Resulting Numbers: [7, 40]
Generated Node #0,1,0: 82:[7, 40] Operation: 89-49=40
Exploring Operation: 49-7=42, Resulting Numbers: [89, 42]
Generated Node #0,1,1: 82:[89, 42] Operation: 49-7=42
Moving to Node #0,1,0
Current State: 82:[7, 40], Operations: ['58-51=7', '89-49=40']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[89, 42], Operations: ['58-51=7', '49-7=42']
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,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
Current State: 82:[89, 58, 2], Operations: ['51-49=2']
Exploring Operation: 58/2=29, Resulting Numbers: [89, 29]
Generated Node #0,0,0: 82:[89, 29] Operation: 58/2=29
Exploring Operation: 89-58=31, Resulting Numbers: [2, 31]
Generated Node #0,0,1: 82:[2, 31] Operation: 89-58=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[2, 31], Operations: ['51-49=2', '89-58=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[89, 29], Operations: ['51-49=2', '58/2=29']
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,82 unequal: No Solution
Exploring Operation: 89+29=118, Resulting Numbers: [118]
118,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
16,
26,
20
] | 71 | [
"61+16=77",
"26-20=6",
"77-6=71"
] | Current State: 71:[61, 16, 26, 20], Operations: []
Exploring Operation: 61+16=77, Resulting Numbers: [26, 20, 77]
Generated Node #2: [26, 20, 77] from Operation: 61+16=77
Current State: 71:[26, 20, 77], Operations: ['61+16=77']
Exploring Operation: 26-20=6, Resulting Numbers: [77, 6]
Generated Node #3: [77, 6] from Operation: 26-20=6
Current State: 71:[77, 6], Operations: ['61+16=77', '26-20=6']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[61, 16, 26, 20], Operations: []
Exploring Operation: 61+16=77, Resulting Numbers: [26, 20, 77]
Generated Node #0,0: 71:[26, 20, 77] Operation: 61+16=77
Exploring Operation: 16+26=42, Resulting Numbers: [61, 20, 42]
Generated Node #0,1: 71:[61, 20, 42] Operation: 16+26=42
Exploring Operation: 16+20=36, Resulting Numbers: [61, 26, 36]
Generated Node #0,2: 71:[61, 26, 36] Operation: 16+20=36
Exploring Operation: 26+20=46, Resulting Numbers: [61, 16, 46]
Generated Node #0,3: 71:[61, 16, 46] Operation: 26+20=46
Moving to Node #0,1
Current State: 71:[61, 20, 42], Operations: ['16+26=42']
Exploring Operation: 61-20=41, Resulting Numbers: [42, 41]
Generated Node #0,1,0: 71:[42, 41] Operation: 61-20=41
Exploring Operation: 61+20=81, Resulting Numbers: [42, 81]
Generated Node #0,1,1: 71:[42, 81] Operation: 61+20=81
Exploring Operation: 20+42=62, Resulting Numbers: [61, 62]
Generated Node #0,1,2: 71:[61, 62] Operation: 20+42=62
Exploring Operation: 42-20=22, Resulting Numbers: [61, 22]
Generated Node #0,1,3: 71:[61, 22] Operation: 42-20=22
Moving to Node #0,3
Current State: 71:[61, 16, 46], Operations: ['26+20=46']
Exploring Operation: 61+16=77, Resulting Numbers: [46, 77]
Generated Node #0,3,0: 71:[46, 77] Operation: 61+16=77
Exploring Operation: 16+46=62, Resulting Numbers: [61, 62]
Generated Node #0,3,1: 71:[61, 62] Operation: 16+46=62
Exploring Operation: 46-16=30, Resulting Numbers: [61, 30]
Generated Node #0,3,2: 71:[61, 30] Operation: 46-16=30
Exploring Operation: 61-16=45, Resulting Numbers: [46, 45]
Generated Node #0,3,3: 71:[46, 45] Operation: 61-16=45
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[61, 62], Operations: ['26+20=46', '16+46=62']
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 61*62=3782, Resulting Numbers: [3782]
3782,71 unequal: No Solution
Exploring Operation: 61+62=123, Resulting Numbers: [123]
123,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,0
Current State: 71:[46, 77], Operations: ['26+20=46', '61+16=77']
Exploring Operation: 46+77=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 46*77=3542, Resulting Numbers: [3542]
3542,71 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,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,2
Current State: 71:[61, 30], Operations: ['26+20=46', '46-16=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,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,3
Current State: 71:[46, 45], Operations: ['26+20=46', '61-16=45']
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,71 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,71 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: 71:[61, 26, 36], Operations: ['16+20=36']
Exploring Operation: 26+36=62, Resulting Numbers: [61, 62]
Generated Node #0,2,0: 71:[61, 62] Operation: 26+36=62
Exploring Operation: 61-26=35, Resulting Numbers: [36, 35]
Generated Node #0,2,1: 71:[36, 35] Operation: 61-26=35
Exploring Operation: 61+36=97, Resulting Numbers: [26, 97]
Generated Node #0,2,2: 71:[26, 97] Operation: 61+36=97
Exploring Operation: 61+26=87, Resulting Numbers: [36, 87]
Generated Node #0,2,3: 71:[36, 87] Operation: 61+26=87
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[61, 62], Operations: ['16+20=36', '26+36=62']
Exploring Operation: 61+62=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 61*62=3782, Resulting Numbers: [3782]
3782,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,2,3
Current State: 71:[36, 87], Operations: ['16+20=36', '61+26=87']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,71 unequal: No Solution
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,71 unequal: No Solution
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,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,2,1
Current State: 71:[36, 35], Operations: ['16+20=36', '61-26=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,71 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[61, 16, 26, 20], Operations: []
Exploring Operation: 16+20=36, Resulting Numbers: [61, 26, 36]
Generated Node #0,2: 71:[61, 26, 36] Operation: 16+20=36
Moving to Node #0,2
Current State: 71:[61, 26, 36], Operations: ['16+20=36']
Exploring Operation: 61-26=35, Resulting Numbers: [36, 35]
Generated Node #0,2,1: 71:[36, 35] Operation: 61-26=35
Moving to Node #0,2,1
Current State: 71:[36, 35], Operations: ['16+20=36', '61-26=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_4 | sum_heuristic |
[
13,
76,
45,
46
] | 62 | [
"76-13=63",
"46-45=1",
"63-1=62"
] | Current State: 62:[13, 76, 45, 46], Operations: []
Exploring Operation: 76-13=63, Resulting Numbers: [45, 46, 63]
Generated Node #2: [45, 46, 63] from Operation: 76-13=63
Current State: 62:[45, 46, 63], Operations: ['76-13=63']
Exploring Operation: 46-45=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 46-45=1
Current State: 62:[63, 1], Operations: ['76-13=63', '46-45=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[13, 76, 45, 46], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [13, 46, 31]
Generated Node #0,0: 62:[13, 46, 31] Operation: 76-45=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[13, 46, 31], Operations: ['76-45=31']
Exploring Operation: 46-13=33, Resulting Numbers: [31, 33]
Generated Node #0,0,0: 62:[31, 33] Operation: 46-13=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[31, 33], Operations: ['76-45=31', '46-13=33']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,62 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 |
[
74,
54,
63,
60
] | 17 | [
"74-54=20",
"63-60=3",
"20-3=17"
] | Current State: 17:[74, 54, 63, 60], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [63, 60, 20]
Generated Node #2: [63, 60, 20] from Operation: 74-54=20
Current State: 17:[63, 60, 20], Operations: ['74-54=20']
Exploring Operation: 63-60=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 63-60=3
Current State: 17:[20, 3], Operations: ['74-54=20', '63-60=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[74, 54, 63, 60], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [54, 60, 11]
Generated Node #0,0: 17:[54, 60, 11] Operation: 74-63=11
Moving to Node #0,0
Current State: 17:[54, 60, 11], Operations: ['74-63=11']
Exploring Operation: 60-54=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 17:[11, 6] Operation: 60-54=6
Moving to Node #0,0,0
Current State: 17:[11, 6], Operations: ['74-63=11', '60-54=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[74, 54, 63, 60], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [54, 60, 11]
Generated Node #0,0: 17:[54, 60, 11] Operation: 74-63=11
Moving to Node #0,0
Current State: 17:[54, 60, 11], Operations: ['74-63=11']
Exploring Operation: 60-54=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 17:[11, 6] Operation: 60-54=6
Moving to Node #0,0,0
Current State: 17:[11, 6], Operations: ['74-63=11', '60-54=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
93,
72,
97,
36
] | 18 | [
"97-93=4",
"72/4=18",
"36-18=18"
] | Current State: 18:[93, 72, 97, 36], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [72, 36, 4]
Generated Node #2: [72, 36, 4] from Operation: 97-93=4
Current State: 18:[72, 36, 4], Operations: ['97-93=4']
Exploring Operation: 72/4=18, Resulting Numbers: [36, 18]
Generated Node #3: [36, 18] from Operation: 72/4=18
Current State: 18:[36, 18], Operations: ['97-93=4', '72/4=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[93, 72, 97, 36], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [93, 97, 2]
Generated Node #0,0: 18:[93, 97, 2] Operation: 72/36=2
Exploring Operation: 93-72=21, Resulting Numbers: [97, 36, 21]
Generated Node #0,1: 18:[97, 36, 21] Operation: 93-72=21
Exploring Operation: 97-72=25, Resulting Numbers: [93, 36, 25]
Generated Node #0,2: 18:[93, 36, 25] Operation: 97-72=25
Exploring Operation: 97-93=4, Resulting Numbers: [72, 36, 4]
Generated Node #0,3: 18:[72, 36, 4] Operation: 97-93=4
Moving to Node #0,3
Current State: 18:[72, 36, 4], Operations: ['97-93=4']
Exploring Operation: 72/36=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 18:[4, 2] Operation: 72/36=2
Exploring Operation: 36/4=9, Resulting Numbers: [72, 9]
Generated Node #0,3,1: 18:[72, 9] Operation: 36/4=9
Exploring Operation: 72-36=36, Resulting Numbers: [4, 36]
Generated Node #0,3,2: 18:[4, 36] Operation: 72-36=36
Exploring Operation: 72/4=18, Resulting Numbers: [36, 18]
Generated Node #0,3,3: 18:[36, 18] Operation: 72/4=18
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[4, 2], Operations: ['97-93=4', '72/36=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[36, 18], Operations: ['97-93=4', '72/4=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,18 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,18 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[93, 72, 97, 36], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [72, 36, 4]
Generated Node #0,3: 18:[72, 36, 4] Operation: 97-93=4
Moving to Node #0,3
Current State: 18:[72, 36, 4], Operations: ['97-93=4']
Exploring Operation: 72/4=18, Resulting Numbers: [36, 18]
Generated Node #0,3,3: 18:[36, 18] Operation: 72/4=18
Moving to Node #0,3,3
Current State: 18:[36, 18], Operations: ['97-93=4', '72/4=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
78,
57,
94,
8
] | 55 | [
"94-78=16",
"16/8=2",
"57-2=55"
] | Current State: 55:[78, 57, 94, 8], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [57, 8, 16]
Generated Node #2: [57, 8, 16] from Operation: 94-78=16
Current State: 55:[57, 8, 16], Operations: ['94-78=16']
Exploring Operation: 16/8=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 16/8=2
Current State: 55:[57, 2], Operations: ['94-78=16', '16/8=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[78, 57, 94, 8], Operations: []
Exploring Operation: 78-8=70, Resulting Numbers: [57, 94, 70]
Generated Node #0,0: 55:[57, 94, 70] Operation: 78-8=70
Exploring Operation: 94-57=37, Resulting Numbers: [78, 8, 37]
Generated Node #0,1: 55:[78, 8, 37] Operation: 94-57=37
Exploring Operation: 78-57=21, Resulting Numbers: [94, 8, 21]
Generated Node #0,2: 55:[94, 8, 21] Operation: 78-57=21
Exploring Operation: 94-78=16, Resulting Numbers: [57, 8, 16]
Generated Node #0,3: 55:[57, 8, 16] Operation: 94-78=16
Moving to Node #0,3
Current State: 55:[57, 8, 16], Operations: ['94-78=16']
Exploring Operation: 57+8=65, Resulting Numbers: [16, 65]
Generated Node #0,3,0: 55:[16, 65] Operation: 57+8=65
Exploring Operation: 16/8=2, Resulting Numbers: [57, 2]
Generated Node #0,3,1: 55:[57, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [57, 8]
Generated Node #0,3,2: 55:[57, 8] Operation: 16-8=8
Exploring Operation: 57-8=49, Resulting Numbers: [16, 49]
Generated Node #0,3,3: 55:[16, 49] Operation: 57-8=49
Moving to Node #0,1
Current State: 55:[78, 8, 37], Operations: ['94-57=37']
Exploring Operation: 78-8=70, Resulting Numbers: [37, 70]
Generated Node #0,1,0: 55:[37, 70] Operation: 78-8=70
Exploring Operation: 8+37=45, Resulting Numbers: [78, 45]
Generated Node #0,1,1: 55:[78, 45] Operation: 8+37=45
Exploring Operation: 37-8=29, Resulting Numbers: [78, 29]
Generated Node #0,1,2: 55:[78, 29] Operation: 37-8=29
Exploring Operation: 78-37=41, Resulting Numbers: [8, 41]
Generated Node #0,1,3: 55:[8, 41] Operation: 78-37=41
Moving to Node #0,2
Current State: 55:[94, 8, 21], Operations: ['78-57=21']
Exploring Operation: 21-8=13, Resulting Numbers: [94, 13]
Generated Node #0,2,0: 55:[94, 13] Operation: 21-8=13
Exploring Operation: 94+8=102, Resulting Numbers: [21, 102]
Generated Node #0,2,1: 55:[21, 102] Operation: 94+8=102
Exploring Operation: 94-8=86, Resulting Numbers: [21, 86]
Generated Node #0,2,2: 55:[21, 86] Operation: 94-8=86
Exploring Operation: 94-21=73, Resulting Numbers: [8, 73]
Generated Node #0,2,3: 55:[8, 73] Operation: 94-21=73
Moving to Node #0,0
Current State: 55:[57, 94, 70], Operations: ['78-8=70']
Exploring Operation: 70-57=13, Resulting Numbers: [94, 13]
Generated Node #0,0,0: 55:[94, 13] Operation: 70-57=13
Exploring Operation: 94-70=24, Resulting Numbers: [57, 24]
Generated Node #0,0,1: 55:[57, 24] Operation: 94-70=24
Exploring Operation: 57+94=151, Resulting Numbers: [70, 151]
Generated Node #0,0,2: 55:[70, 151] Operation: 57+94=151
Exploring Operation: 94-57=37, Resulting Numbers: [70, 37]
Generated Node #0,0,3: 55:[70, 37] Operation: 94-57=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[57, 24], Operations: ['78-8=70', '94-70=24']
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,55 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,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,3
Current State: 55:[70, 37], Operations: ['78-8=70', '94-57=37']
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,55 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,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:[94, 13], Operations: ['78-8=70', '70-57=13']
Exploring Operation: 94*13=1222, Resulting Numbers: [1222]
1222,55 unequal: No Solution
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,55 unequal: No Solution
Exploring Operation: 94+13=107, Resulting Numbers: [107]
107,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:[70, 151], Operations: ['78-8=70', '57+94=151']
Exploring Operation: 70+151=221, Resulting Numbers: [221]
221,55 unequal: No Solution
Exploring Operation: 70*151=10570, Resulting Numbers: [10570]
10570,55 unequal: No Solution
Exploring Operation: 151-70=81, Resulting Numbers: [81]
81,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 55:[57, 2], Operations: ['94-78=16', '16/8=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[78, 57, 94, 8], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [57, 8, 16]
Generated Node #0,3: 55:[57, 8, 16] Operation: 94-78=16
Moving to Node #0,3
Current State: 55:[57, 8, 16], Operations: ['94-78=16']
Exploring Operation: 16/8=2, Resulting Numbers: [57, 2]
Generated Node #0,3,1: 55:[57, 2] Operation: 16/8=2
Moving to Node #0,3,1
Current State: 55:[57, 2], Operations: ['94-78=16', '16/8=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
27,
65,
14,
59
] | 83 | [
"65-27=38",
"59-14=45",
"38+45=83"
] | Current State: 83:[27, 65, 14, 59], Operations: []
Exploring Operation: 65-27=38, Resulting Numbers: [14, 59, 38]
Generated Node #2: [14, 59, 38] from Operation: 65-27=38
Current State: 83:[14, 59, 38], Operations: ['65-27=38']
Exploring Operation: 59-14=45, Resulting Numbers: [38, 45]
Generated Node #3: [38, 45] from Operation: 59-14=45
Current State: 83:[38, 45], Operations: ['65-27=38', '59-14=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[27, 65, 14, 59], Operations: []
Exploring Operation: 27+14=41, Resulting Numbers: [65, 59, 41]
Generated Node #0,0: 83:[65, 59, 41] Operation: 27+14=41
Exploring Operation: 65+14=79, Resulting Numbers: [27, 59, 79]
Generated Node #0,1: 83:[27, 59, 79] Operation: 65+14=79
Moving to Node #0,0
Current State: 83:[65, 59, 41], Operations: ['27+14=41']
Exploring Operation: 59+41=100, Resulting Numbers: [65, 100]
Generated Node #0,0,0: 83:[65, 100] Operation: 59+41=100
Exploring Operation: 65+41=106, Resulting Numbers: [59, 106]
Generated Node #0,0,1: 83:[59, 106] Operation: 65+41=106
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[65, 100], Operations: ['27+14=41', '59+41=100']
Exploring Operation: 100-65=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 65+100=165, Resulting Numbers: [165]
165,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,0,1
Current State: 83:[59, 106], Operations: ['27+14=41', '65+41=106']
Exploring Operation: 106-59=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 59+106=165, Resulting Numbers: [165]
165,83 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: 83:[27, 59, 79], Operations: ['65+14=79']
Exploring Operation: 27+59=86, Resulting Numbers: [79, 86]
Generated Node #0,1,0: 83:[79, 86] Operation: 27+59=86
Exploring Operation: 27+79=106, Resulting Numbers: [59, 106]
Generated Node #0,1,1: 83:[59, 106] Operation: 27+79=106
Moving to Node #0,1,0
Current State: 83:[79, 86], Operations: ['65+14=79', '27+59=86']
Exploring Operation: 79+86=165, Resulting Numbers: [165]
165,83 unequal: No Solution
Exploring Operation: 86-79=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[59, 106], Operations: ['65+14=79', '27+79=106']
Exploring Operation: 106-59=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 59+106=165, Resulting Numbers: [165]
165,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
28,
30,
66
] | 29 | [
"66/33=2",
"28+30=58",
"58/2=29"
] | Current State: 29:[33, 28, 30, 66], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [28, 30, 2]
Generated Node #2: [28, 30, 2] from Operation: 66/33=2
Current State: 29:[28, 30, 2], Operations: ['66/33=2']
Exploring Operation: 28+30=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 28+30=58
Current State: 29:[2, 58], Operations: ['66/33=2', '28+30=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[33, 28, 30, 66], Operations: []
Exploring Operation: 66-28=38, Resulting Numbers: [33, 30, 38]
Generated Node #0,0: 29:[33, 30, 38] Operation: 66-28=38
Exploring Operation: 66/33=2, Resulting Numbers: [28, 30, 2]
Generated Node #0,1: 29:[28, 30, 2] Operation: 66/33=2
Exploring Operation: 66-30=36, Resulting Numbers: [33, 28, 36]
Generated Node #0,2: 29:[33, 28, 36] Operation: 66-30=36
Exploring Operation: 66-33=33, Resulting Numbers: [28, 30, 33]
Generated Node #0,3: 29:[28, 30, 33] Operation: 66-33=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[28, 30, 33], Operations: ['66-33=33']
Exploring Operation: 30-28=2, Resulting Numbers: [33, 2]
Generated Node #0,3,0: 29:[33, 2] Operation: 30-28=2
Exploring Operation: 33-28=5, Resulting Numbers: [30, 5]
Generated Node #0,3,1: 29:[30, 5] Operation: 33-28=5
Exploring Operation: 33-30=3, Resulting Numbers: [28, 3]
Generated Node #0,3,2: 29:[28, 3] Operation: 33-30=3
Exploring Operation: 28+30=58, Resulting Numbers: [33, 58]
Generated Node #0,3,3: 29:[33, 58] Operation: 28+30=58
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[30, 5], Operations: ['66-33=33', '33-28=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[28, 3], Operations: ['66-33=33', '33-30=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[33, 2], Operations: ['66-33=33', '30-28=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[33, 58], Operations: ['66-33=33', '28+30=58']
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,29 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[33, 28, 36], Operations: ['66-30=36']
Exploring Operation: 36-33=3, Resulting Numbers: [28, 3]
Generated Node #0,2,0: 29:[28, 3] Operation: 36-33=3
Exploring Operation: 36-28=8, Resulting Numbers: [33, 8]
Generated Node #0,2,1: 29:[33, 8] Operation: 36-28=8
Exploring Operation: 33-28=5, Resulting Numbers: [36, 5]
Generated Node #0,2,2: 29:[36, 5] Operation: 33-28=5
Exploring Operation: 33+28=61, Resulting Numbers: [36, 61]
Generated Node #0,2,3: 29:[36, 61] Operation: 33+28=61
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[33, 8], Operations: ['66-30=36', '36-28=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,29 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[28, 3], Operations: ['66-30=36', '36-33=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[36, 5], Operations: ['66-30=36', '33-28=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[36, 61], Operations: ['66-30=36', '33+28=61']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,29 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[33, 30, 38], Operations: ['66-28=38']
Exploring Operation: 33+30=63, Resulting Numbers: [38, 63]
Generated Node #0,0,0: 29:[38, 63] Operation: 33+30=63
Exploring Operation: 33-30=3, Resulting Numbers: [38, 3]
Generated Node #0,0,1: 29:[38, 3] Operation: 33-30=3
Exploring Operation: 38-30=8, Resulting Numbers: [33, 8]
Generated Node #0,0,2: 29:[33, 8] Operation: 38-30=8
Exploring Operation: 38-33=5, Resulting Numbers: [30, 5]
Generated Node #0,0,3: 29:[30, 5] Operation: 38-33=5
Moving to Node #0,0,2
Current State: 29:[33, 8], Operations: ['66-28=38', '38-30=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,29 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[30, 5], Operations: ['66-28=38', '38-33=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[38, 3], Operations: ['66-28=38', '33-30=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[38, 63], Operations: ['66-28=38', '33+30=63']
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,29 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[28, 30, 2], Operations: ['66/33=2']
Exploring Operation: 28-2=26, Resulting Numbers: [30, 26]
Generated Node #0,1,0: 29:[30, 26] Operation: 28-2=26
Exploring Operation: 30+2=32, Resulting Numbers: [28, 32]
Generated Node #0,1,1: 29:[28, 32] Operation: 30+2=32
Exploring Operation: 30-2=28, Resulting Numbers: [28, 28]
Generated Node #0,1,2: 29:[28, 28] Operation: 30-2=28
Exploring Operation: 28+2=30, Resulting Numbers: [30, 30]
Generated Node #0,1,3: 29:[30, 30] Operation: 28+2=30
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[28, 28], Operations: ['66/33=2', '30-2=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,29 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[30, 30], Operations: ['66/33=2', '28+2=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 30*30=900, Resulting Numbers: [900]
900,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[30, 26], Operations: ['66/33=2', '28-2=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,29 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[28, 32], Operations: ['66/33=2', '30+2=32']
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,29 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
22,
20,
90,
58
] | 26 | [
"22-20=2",
"58*2=116",
"116-90=26"
] | Current State: 26:[22, 20, 90, 58], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [90, 58, 2]
Generated Node #2: [90, 58, 2] from Operation: 22-20=2
Current State: 26:[90, 58, 2], Operations: ['22-20=2']
Exploring Operation: 58*2=116, Resulting Numbers: [90, 116]
Generated Node #3: [90, 116] from Operation: 58*2=116
Current State: 26:[90, 116], Operations: ['22-20=2', '58*2=116']
Exploring Operation: 116-90=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[22, 20, 90, 58], Operations: []
Exploring Operation: 90-58=32, Resulting Numbers: [22, 20, 32]
Generated Node #0,0: 26:[22, 20, 32] Operation: 90-58=32
Exploring Operation: 90-20=70, Resulting Numbers: [22, 58, 70]
Generated Node #0,1: 26:[22, 58, 70] Operation: 90-20=70
Exploring Operation: 58-22=36, Resulting Numbers: [20, 90, 36]
Generated Node #0,2: 26:[20, 90, 36] Operation: 58-22=36
Exploring Operation: 90-22=68, Resulting Numbers: [20, 58, 68]
Generated Node #0,3: 26:[20, 58, 68] Operation: 90-22=68
Moving to Node #0,0
Current State: 26:[22, 20, 32], Operations: ['90-58=32']
Exploring Operation: 32-20=12, Resulting Numbers: [22, 12]
Generated Node #0,0,0: 26:[22, 12] Operation: 32-20=12
Exploring Operation: 32-22=10, Resulting Numbers: [20, 10]
Generated Node #0,0,1: 26:[20, 10] Operation: 32-22=10
Exploring Operation: 22+20=42, Resulting Numbers: [32, 42]
Generated Node #0,0,2: 26:[32, 42] Operation: 22+20=42
Exploring Operation: 22-20=2, Resulting Numbers: [32, 2]
Generated Node #0,0,3: 26:[32, 2] Operation: 22-20=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[22, 12], Operations: ['90-58=32', '32-20=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,26 unequal: No Solution
No 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: 26:[32, 2], Operations: ['90-58=32', '22-20=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No 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: 26:[20, 10], Operations: ['90-58=32', '32-22=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,26 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No 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: 26:[32, 42], Operations: ['90-58=32', '22+20=42']
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,26 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,26 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: 26:[20, 90, 36], Operations: ['58-22=36']
Exploring Operation: 90-36=54, Resulting Numbers: [20, 54]
Generated Node #0,2,0: 26:[20, 54] Operation: 90-36=54
Exploring Operation: 36-20=16, Resulting Numbers: [90, 16]
Generated Node #0,2,1: 26:[90, 16] Operation: 36-20=16
Exploring Operation: 90-20=70, Resulting Numbers: [36, 70]
Generated Node #0,2,2: 26:[36, 70] Operation: 90-20=70
Exploring Operation: 20+90=110, Resulting Numbers: [36, 110]
Generated Node #0,2,3: 26:[36, 110] Operation: 20+90=110
Moving to Node #0,1
Current State: 26:[22, 58, 70], Operations: ['90-20=70']
Exploring Operation: 58-22=36, Resulting Numbers: [70, 36]
Generated Node #0,1,0: 26:[70, 36] Operation: 58-22=36
Exploring Operation: 22+58=80, Resulting Numbers: [70, 80]
Generated Node #0,1,1: 26:[70, 80] Operation: 22+58=80
Exploring Operation: 70-22=48, Resulting Numbers: [58, 48]
Generated Node #0,1,2: 26:[58, 48] Operation: 70-22=48
Exploring Operation: 70-58=12, Resulting Numbers: [22, 12]
Generated Node #0,1,3: 26:[22, 12] Operation: 70-58=12
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[22, 12], Operations: ['90-20=70', '70-58=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No 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: 26:[70, 36], Operations: ['90-20=70', '58-22=36']
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,26 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No 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: 26:[58, 48], Operations: ['90-20=70', '70-22=48']
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,26 unequal: No Solution
No 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: 26:[70, 80], Operations: ['90-20=70', '22+58=80']
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,26 unequal: No Solution
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,26 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: 26:[20, 58, 68], Operations: ['90-22=68']
Exploring Operation: 20+58=78, Resulting Numbers: [68, 78]
Generated Node #0,3,0: 26:[68, 78] Operation: 20+58=78
Exploring Operation: 58-20=38, Resulting Numbers: [68, 38]
Generated Node #0,3,1: 26:[68, 38] Operation: 58-20=38
Exploring Operation: 68-58=10, Resulting Numbers: [20, 10]
Generated Node #0,3,2: 26:[20, 10] Operation: 68-58=10
Exploring Operation: 68-20=48, Resulting Numbers: [58, 48]
Generated Node #0,3,3: 26:[58, 48] Operation: 68-20=48
Moving to Node #0,3,2
Current State: 26:[20, 10], Operations: ['90-22=68', '68-58=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[20, 54], Operations: ['58-22=36', '90-36=54']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[68, 38], Operations: ['90-22=68', '58-20=38']
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,26 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[58, 48], Operations: ['90-22=68', '68-20=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,26 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[36, 70], Operations: ['58-22=36', '90-20=70']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,26 unequal: No Solution
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[90, 16], Operations: ['58-22=36', '36-20=16']
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,26 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[36, 110], Operations: ['58-22=36', '20+90=110']
Exploring Operation: 36*110=3960, Resulting Numbers: [3960]
3960,26 unequal: No Solution
Exploring Operation: 36+110=146, Resulting Numbers: [146]
146,26 unequal: No Solution
Exploring Operation: 110-36=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[68, 78], Operations: ['90-22=68', '20+58=78']
Exploring Operation: 68*78=5304, Resulting Numbers: [5304]
5304,26 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,26 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
51,
62,
44,
9
] | 31 | [
"51-44=7",
"9-7=2",
"62/2=31"
] | Current State: 31:[51, 62, 44, 9], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [62, 9, 7]
Generated Node #2: [62, 9, 7] from Operation: 51-44=7
Current State: 31:[62, 9, 7], Operations: ['51-44=7']
Exploring Operation: 9-7=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 9-7=2
Current State: 31:[62, 2], Operations: ['51-44=7', '9-7=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[51, 62, 44, 9], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [62, 44, 42]
Generated Node #0,0: 31:[62, 44, 42] Operation: 51-9=42
Exploring Operation: 62-44=18, Resulting Numbers: [51, 9, 18]
Generated Node #0,1: 31:[51, 9, 18] Operation: 62-44=18
Exploring Operation: 62-51=11, Resulting Numbers: [44, 9, 11]
Generated Node #0,2: 31:[44, 9, 11] Operation: 62-51=11
Moving to Node #0,0
Current State: 31:[62, 44, 42], Operations: ['51-9=42']
Exploring Operation: 62-42=20, Resulting Numbers: [44, 20]
Generated Node #0,0,0: 31:[44, 20] Operation: 62-42=20
Exploring Operation: 44-42=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 31:[62, 2] Operation: 44-42=2
Exploring Operation: 62-44=18, Resulting Numbers: [42, 18]
Generated Node #0,0,2: 31:[42, 18] Operation: 62-44=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[44, 20], Operations: ['51-9=42', '62-42=20']
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,31 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,31 unequal: No Solution
No 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: 31:[42, 18], Operations: ['51-9=42', '62-44=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,31 unequal: No Solution
No 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: 31:[62, 2], Operations: ['51-9=42', '44-42=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[51, 62, 44, 9], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [62, 44, 42]
Generated Node #0,0: 31:[62, 44, 42] Operation: 51-9=42
Moving to Node #0,0
Current State: 31:[62, 44, 42], Operations: ['51-9=42']
Exploring Operation: 44-42=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 31:[62, 2] Operation: 44-42=2
Moving to Node #0,0,1
Current State: 31:[62, 2], Operations: ['51-9=42', '44-42=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
4,
56,
18,
38
] | 54 | [
"4*18=72",
"56-38=18",
"72-18=54"
] | Current State: 54:[4, 56, 18, 38], Operations: []
Exploring Operation: 4*18=72, Resulting Numbers: [56, 38, 72]
Generated Node #2: [56, 38, 72] from Operation: 4*18=72
Current State: 54:[56, 38, 72], Operations: ['4*18=72']
Exploring Operation: 56-38=18, Resulting Numbers: [72, 18]
Generated Node #3: [72, 18] from Operation: 56-38=18
Current State: 54:[72, 18], Operations: ['4*18=72', '56-38=18']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[4, 56, 18, 38], Operations: []
Exploring Operation: 38-4=34, Resulting Numbers: [56, 18, 34]
Generated Node #0,0: 54:[56, 18, 34] Operation: 38-4=34
Exploring Operation: 38-18=20, Resulting Numbers: [4, 56, 20]
Generated Node #0,1: 54:[4, 56, 20] Operation: 38-18=20
Exploring Operation: 56-38=18, Resulting Numbers: [4, 18, 18]
Generated Node #0,2: 54:[4, 18, 18] Operation: 56-38=18
Exploring Operation: 56-4=52, Resulting Numbers: [18, 38, 52]
Generated Node #0,3: 54:[18, 38, 52] Operation: 56-4=52
Exploring Operation: 18+38=56, Resulting Numbers: [4, 56, 56]
Generated Node #0,4: 54:[4, 56, 56] Operation: 18+38=56
Moving to Node #0,2
Current State: 54:[4, 18, 18], Operations: ['56-38=18']
Exploring Operation: 18/18=1, Resulting Numbers: [4, 1]
Generated Node #0,2,0: 54:[4, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [4, 0]
Generated Node #0,2,1: 54:[4, 0] Operation: 18-18=0
Exploring Operation: 4+18=22, Resulting Numbers: [18, 22]
Generated Node #0,2,2: 54:[18, 22] Operation: 4+18=22
Exploring Operation: 18-4=14, Resulting Numbers: [18, 14]
Generated Node #0,2,3: 54:[18, 14] Operation: 18-4=14
Exploring Operation: 4+18=22, Resulting Numbers: [18, 22]
Generated Node #0,2,4: 54:[18, 22] Operation: 4+18=22
Moving to Node #0,4
Current State: 54:[4, 56, 56], Operations: ['18+38=56']
Exploring Operation: 56-4=52, Resulting Numbers: [56, 52]
Generated Node #0,4,0: 54:[56, 52] Operation: 56-4=52
Exploring Operation: 56/4=14, Resulting Numbers: [56, 14]
Generated Node #0,4,1: 54:[56, 14] Operation: 56/4=14
Exploring Operation: 56-56=0, Resulting Numbers: [4, 0]
Generated Node #0,4,2: 54:[4, 0] Operation: 56-56=0
Exploring Operation: 56/56=1, Resulting Numbers: [4, 1]
Generated Node #0,4,3: 54:[4, 1] Operation: 56/56=1
Exploring Operation: 56-4=52, Resulting Numbers: [56, 52]
Generated Node #0,4,4: 54:[56, 52] Operation: 56-4=52
Moving to Node #0,1
Current State: 54:[4, 56, 20], Operations: ['38-18=20']
Exploring Operation: 20-4=16, Resulting Numbers: [56, 16]
Generated Node #0,1,0: 54:[56, 16] Operation: 20-4=16
Exploring Operation: 56/4=14, Resulting Numbers: [20, 14]
Generated Node #0,1,1: 54:[20, 14] Operation: 56/4=14
Exploring Operation: 20/4=5, Resulting Numbers: [56, 5]
Generated Node #0,1,2: 54:[56, 5] Operation: 20/4=5
Exploring Operation: 56-4=52, Resulting Numbers: [20, 52]
Generated Node #0,1,3: 54:[20, 52] Operation: 56-4=52
Exploring Operation: 4+20=24, Resulting Numbers: [56, 24]
Generated Node #0,1,4: 54:[56, 24] Operation: 4+20=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[56, 5], Operations: ['38-18=20', '20/4=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,54 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,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,1,0
Current State: 54:[56, 16], Operations: ['38-18=20', '20-4=16']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,54 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,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,1,3
Current State: 54:[20, 52], Operations: ['38-18=20', '56-4=52']
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,54 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,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,1,4
Current State: 54:[56, 24], Operations: ['38-18=20', '4+20=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,54 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,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,1,1
Current State: 54:[20, 14], Operations: ['38-18=20', '56/4=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,54 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,54 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: 54:[56, 18, 34], Operations: ['38-4=34']
Exploring Operation: 34-18=16, Resulting Numbers: [56, 16]
Generated Node #0,0,0: 54:[56, 16] Operation: 34-18=16
Exploring Operation: 56-18=38, Resulting Numbers: [34, 38]
Generated Node #0,0,1: 54:[34, 38] Operation: 56-18=38
Exploring Operation: 18+34=52, Resulting Numbers: [56, 52]
Generated Node #0,0,2: 54:[56, 52] Operation: 18+34=52
Exploring Operation: 56+18=74, Resulting Numbers: [34, 74]
Generated Node #0,0,3: 54:[34, 74] Operation: 56+18=74
Exploring Operation: 56-34=22, Resulting Numbers: [18, 22]
Generated Node #0,0,4: 54:[18, 22] Operation: 56-34=22
Moving to Node #0,3
Current State: 54:[18, 38, 52], Operations: ['56-4=52']
Exploring Operation: 38-18=20, Resulting Numbers: [52, 20]
Generated Node #0,3,0: 54:[52, 20] Operation: 38-18=20
Exploring Operation: 52-18=34, Resulting Numbers: [38, 34]
Generated Node #0,3,1: 54:[38, 34] Operation: 52-18=34
Exploring Operation: 18+52=70, Resulting Numbers: [38, 70]
Generated Node #0,3,2: 54:[38, 70] Operation: 18+52=70
Exploring Operation: 18+38=56, Resulting Numbers: [52, 56]
Generated Node #0,3,3: 54:[52, 56] Operation: 18+38=56
Exploring Operation: 52-38=14, Resulting Numbers: [18, 14]
Generated Node #0,3,4: 54:[18, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[52, 20], Operations: ['56-4=52', '38-18=20']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,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,3
Current State: 54:[52, 56], Operations: ['56-4=52', '18+38=56']
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,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,4
Current State: 54:[18, 14], Operations: ['56-4=52', '52-38=14']
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,54 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,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,1
Current State: 54:[38, 34], Operations: ['56-4=52', '52-18=34']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,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,2
Current State: 54:[38, 70], Operations: ['56-4=52', '18+52=70']
Exploring Operation: 38*70=2660, Resulting Numbers: [2660]
2660,54 unequal: No Solution
Exploring Operation: 38+70=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 54:[4, 1], Operations: ['56-38=18', '18/18=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[4, 1], Operations: ['18+38=56', '56/56=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[4, 0], Operations: ['18+38=56', '56-56=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[4, 0], Operations: ['56-38=18', '18-18=0']
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[18, 22], Operations: ['56-38=18', '4+18=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,54 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[18, 22], Operations: ['38-4=34', '56-34=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,54 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[56, 52], Operations: ['38-4=34', '18+34=52']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[18, 22], Operations: ['56-38=18', '4+18=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[56, 16], Operations: ['38-4=34', '34-18=16']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[56, 52], Operations: ['18+38=56', '56-4=52']
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[56, 52], Operations: ['18+38=56', '56-4=52']
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,54 unequal: No Solution
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[18, 14], Operations: ['56-38=18', '18-4=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[56, 14], Operations: ['18+38=56', '56/4=14']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[34, 38], Operations: ['38-4=34', '56-18=38']
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,54 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[34, 74], Operations: ['38-4=34', '56+18=74']
Exploring Operation: 34*74=2516, Resulting Numbers: [2516]
2516,54 unequal: No Solution
Exploring Operation: 34+74=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,54 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
77,
5,
35,
66
] | 78 | [
"66-35=31",
"5*31=155",
"155-77=78"
] | Current State: 78:[77, 5, 35, 66], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [77, 5, 31]
Generated Node #2: [77, 5, 31] from Operation: 66-35=31
Current State: 78:[77, 5, 31], Operations: ['66-35=31']
Exploring Operation: 5*31=155, Resulting Numbers: [77, 155]
Generated Node #3: [77, 155] from Operation: 5*31=155
Current State: 78:[77, 155], Operations: ['66-35=31', '5*31=155']
Exploring Operation: 155-77=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[77, 5, 35, 66], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [5, 35, 11]
Generated Node #0,0: 78:[5, 35, 11] Operation: 77-66=11
Moving to Node #0,0
Current State: 78:[5, 35, 11], Operations: ['77-66=11']
Exploring Operation: 5+35=40, Resulting Numbers: [11, 40]
Generated Node #0,0,0: 78:[11, 40] Operation: 5+35=40
Moving to Node #0,0,0
Current State: 78:[11, 40], Operations: ['77-66=11', '5+35=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,78 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
53,
9,
85,
6
] | 35 | [
"53-9=44",
"85-6=79",
"79-44=35"
] | Current State: 35:[53, 9, 85, 6], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [85, 6, 44]
Generated Node #2: [85, 6, 44] from Operation: 53-9=44
Current State: 35:[85, 6, 44], Operations: ['53-9=44']
Exploring Operation: 85-6=79, Resulting Numbers: [44, 79]
Generated Node #3: [44, 79] from Operation: 85-6=79
Current State: 35:[44, 79], Operations: ['53-9=44', '85-6=79']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[53, 9, 85, 6], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [53, 6, 76]
Generated Node #0,0: 35:[53, 6, 76] Operation: 85-9=76
Exploring Operation: 53-9=44, Resulting Numbers: [85, 6, 44]
Generated Node #0,1: 35:[85, 6, 44] Operation: 53-9=44
Exploring Operation: 85-53=32, Resulting Numbers: [9, 6, 32]
Generated Node #0,2: 35:[9, 6, 32] Operation: 85-53=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[9, 6, 32], Operations: ['85-53=32']
Exploring Operation: 9+32=41, Resulting Numbers: [6, 41]
Generated Node #0,2,0: 35:[6, 41] Operation: 9+32=41
Exploring Operation: 6+32=38, Resulting Numbers: [9, 38]
Generated Node #0,2,1: 35:[9, 38] Operation: 6+32=38
Exploring Operation: 9-6=3, Resulting Numbers: [32, 3]
Generated Node #0,2,2: 35:[32, 3] Operation: 9-6=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[9, 38], Operations: ['85-53=32', '6+32=38']
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,35 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,35 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: 35:[32, 3], Operations: ['85-53=32', '9-6=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[53, 9, 85, 6], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [9, 6, 32]
Generated Node #0,2: 35:[9, 6, 32] Operation: 85-53=32
Moving to Node #0,2
Current State: 35:[9, 6, 32], Operations: ['85-53=32']
Exploring Operation: 9-6=3, Resulting Numbers: [32, 3]
Generated Node #0,2,2: 35:[32, 3] Operation: 9-6=3
Moving to Node #0,2,2
Current State: 35:[32, 3], Operations: ['85-53=32', '9-6=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
28,
2,
23,
60
] | 27 | [
"28*2=56",
"23+60=83",
"83-56=27"
] | Current State: 27:[28, 2, 23, 60], Operations: []
Exploring Operation: 28*2=56, Resulting Numbers: [23, 60, 56]
Generated Node #2: [23, 60, 56] from Operation: 28*2=56
Current State: 27:[23, 60, 56], Operations: ['28*2=56']
Exploring Operation: 23+60=83, Resulting Numbers: [56, 83]
Generated Node #3: [56, 83] from Operation: 23+60=83
Current State: 27:[56, 83], Operations: ['28*2=56', '23+60=83']
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[28, 2, 23, 60], Operations: []
Exploring Operation: 60-23=37, Resulting Numbers: [28, 2, 37]
Generated Node #0,0: 27:[28, 2, 37] Operation: 60-23=37
Exploring Operation: 60-28=32, Resulting Numbers: [2, 23, 32]
Generated Node #0,1: 27:[2, 23, 32] Operation: 60-28=32
Exploring Operation: 60/2=30, Resulting Numbers: [28, 23, 30]
Generated Node #0,2: 27:[28, 23, 30] Operation: 60/2=30
Exploring Operation: 28-23=5, Resulting Numbers: [2, 60, 5]
Generated Node #0,3: 27:[2, 60, 5] Operation: 28-23=5
Exploring Operation: 2+23=25, Resulting Numbers: [28, 60, 25]
Generated Node #0,4: 27:[28, 60, 25] Operation: 2+23=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[28, 23, 30], Operations: ['60/2=30']
Exploring Operation: 28+23=51, Resulting Numbers: [30, 51]
Generated Node #0,2,0: 27:[30, 51] Operation: 28+23=51
Exploring Operation: 30-23=7, Resulting Numbers: [28, 7]
Generated Node #0,2,1: 27:[28, 7] Operation: 30-23=7
Exploring Operation: 28-23=5, Resulting Numbers: [30, 5]
Generated Node #0,2,2: 27:[30, 5] Operation: 28-23=5
Exploring Operation: 23+30=53, Resulting Numbers: [28, 53]
Generated Node #0,2,3: 27:[28, 53] Operation: 23+30=53
Exploring Operation: 30-28=2, Resulting Numbers: [23, 2]
Generated Node #0,2,4: 27:[23, 2] Operation: 30-28=2
Moving to Node #0,2,1
Current State: 27:[28, 7], Operations: ['60/2=30', '30-23=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[23, 2], Operations: ['60/2=30', '30-28=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[30, 5], Operations: ['60/2=30', '28-23=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[30, 51], Operations: ['60/2=30', '28+23=51']
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,27 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[28, 53], Operations: ['60/2=30', '23+30=53']
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,27 unequal: No Solution
No 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: 27:[2, 23, 32], Operations: ['60-28=32']
Exploring Operation: 2+23=25, Resulting Numbers: [32, 25]
Generated Node #0,1,0: 27:[32, 25] Operation: 2+23=25
Exploring Operation: 23-2=21, Resulting Numbers: [32, 21]
Generated Node #0,1,1: 27:[32, 21] Operation: 23-2=21
Exploring Operation: 2+32=34, Resulting Numbers: [23, 34]
Generated Node #0,1,2: 27:[23, 34] Operation: 2+32=34
Exploring Operation: 32-2=30, Resulting Numbers: [23, 30]
Generated Node #0,1,3: 27:[23, 30] Operation: 32-2=30
Exploring Operation: 32-23=9, Resulting Numbers: [2, 9]
Generated Node #0,1,4: 27:[2, 9] Operation: 32-23=9
Moving to Node #0,1,4
Current State: 27:[2, 9], Operations: ['60-28=32', '32-23=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[23, 30], Operations: ['60-28=32', '32-2=30']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[32, 25], Operations: ['60-28=32', '2+23=25']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[32, 21], Operations: ['60-28=32', '23-2=21']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,27 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[23, 34], Operations: ['60-28=32', '2+32=34']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,27 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[28, 2, 37], Operations: ['60-23=37']
Exploring Operation: 37-28=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 27:[2, 9] Operation: 37-28=9
Exploring Operation: 2+37=39, Resulting Numbers: [28, 39]
Generated Node #0,0,1: 27:[28, 39] Operation: 2+37=39
Exploring Operation: 28+2=30, Resulting Numbers: [37, 30]
Generated Node #0,0,2: 27:[37, 30] Operation: 28+2=30
Exploring Operation: 37-2=35, Resulting Numbers: [28, 35]
Generated Node #0,0,3: 27:[28, 35] Operation: 37-2=35
Exploring Operation: 28-2=26, Resulting Numbers: [37, 26]
Generated Node #0,0,4: 27:[37, 26] Operation: 28-2=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 9], Operations: ['60-23=37', '37-28=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[28, 35], Operations: ['60-23=37', '37-2=35']
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,27 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 27:[37, 26], Operations: ['60-23=37', '28-2=26']
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,27 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,27 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[28, 39], Operations: ['60-23=37', '2+37=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,27 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[37, 30], Operations: ['60-23=37', '28+2=30']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[2, 60, 5], Operations: ['28-23=5']
Exploring Operation: 60/2=30, Resulting Numbers: [5, 30]
Generated Node #0,3,0: 27:[5, 30] Operation: 60/2=30
Exploring Operation: 60-2=58, Resulting Numbers: [5, 58]
Generated Node #0,3,1: 27:[5, 58] Operation: 60-2=58
Exploring Operation: 60/5=12, Resulting Numbers: [2, 12]
Generated Node #0,3,2: 27:[2, 12] Operation: 60/5=12
Exploring Operation: 5-2=3, Resulting Numbers: [60, 3]
Generated Node #0,3,3: 27:[60, 3] Operation: 5-2=3
Exploring Operation: 60-5=55, Resulting Numbers: [2, 55]
Generated Node #0,3,4: 27:[2, 55] Operation: 60-5=55
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[2, 12], Operations: ['28-23=5', '60/5=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[5, 30], Operations: ['28-23=5', '60/2=30']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,27 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 27:[2, 55], Operations: ['28-23=5', '60-5=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 27:[5, 58], Operations: ['28-23=5', '60-2=58']
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,27 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 27:[60, 3], Operations: ['28-23=5', '5-2=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,27 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,27 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[28, 60, 25], Operations: ['2+23=25']
Exploring Operation: 60-25=35, Resulting Numbers: [28, 35]
Generated Node #0,4,0: 27:[28, 35] Operation: 60-25=35
Exploring Operation: 28+25=53, Resulting Numbers: [60, 53]
Generated Node #0,4,1: 27:[60, 53] Operation: 28+25=53
Exploring Operation: 60-28=32, Resulting Numbers: [25, 32]
Generated Node #0,4,2: 27:[25, 32] Operation: 60-28=32
Exploring Operation: 28-25=3, Resulting Numbers: [60, 3]
Generated Node #0,4,3: 27:[60, 3] Operation: 28-25=3
Exploring Operation: 60+25=85, Resulting Numbers: [28, 85]
Generated Node #0,4,4: 27:[28, 85] Operation: 60+25=85
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 27:[25, 32], Operations: ['2+23=25', '60-28=32']
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,27 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 27:[28, 35], Operations: ['2+23=25', '60-25=35']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,27 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 27:[60, 3], Operations: ['2+23=25', '28-25=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,27 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 27:[60, 53], Operations: ['2+23=25', '28+25=53']
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,27 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 27:[28, 85], Operations: ['2+23=25', '60+25=85']
Exploring Operation: 28+85=113, Resulting Numbers: [113]
113,27 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 28*85=2380, Resulting Numbers: [2380]
2380,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
35,
16,
5,
31
] | 20 | [
"35-31=4",
"16*5=80",
"80/4=20"
] | Current State: 20:[35, 16, 5, 31], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [16, 5, 4]
Generated Node #2: [16, 5, 4] from Operation: 35-31=4
Current State: 20:[16, 5, 4], Operations: ['35-31=4']
Exploring Operation: 16*5=80, Resulting Numbers: [4, 80]
Generated Node #3: [4, 80] from Operation: 16*5=80
Current State: 20:[4, 80], Operations: ['35-31=4', '16*5=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[35, 16, 5, 31], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [16, 5, 4]
Generated Node #0,0: 20:[16, 5, 4] Operation: 35-31=4
Exploring Operation: 35/5=7, Resulting Numbers: [16, 31, 7]
Generated Node #0,1: 20:[16, 31, 7] Operation: 35/5=7
Exploring Operation: 35-16=19, Resulting Numbers: [5, 31, 19]
Generated Node #0,2: 20:[5, 31, 19] Operation: 35-16=19
Exploring Operation: 31-16=15, Resulting Numbers: [35, 5, 15]
Generated Node #0,3: 20:[35, 5, 15] Operation: 31-16=15
Moving to Node #0,0
Current State: 20:[16, 5, 4], Operations: ['35-31=4']
Exploring Operation: 16+5=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 20:[4, 21] Operation: 16+5=21
Exploring Operation: 16/4=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 20:[5, 4] Operation: 16/4=4
Exploring Operation: 16-5=11, Resulting Numbers: [4, 11]
Generated Node #0,0,2: 20:[4, 11] Operation: 16-5=11
Exploring Operation: 16+4=20, Resulting Numbers: [5, 20]
Generated Node #0,0,3: 20:[5, 20] Operation: 16+4=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[5, 4], Operations: ['35-31=4', '16/4=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[35, 16, 5, 31], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [16, 5, 4]
Generated Node #0,0: 20:[16, 5, 4] Operation: 35-31=4
Moving to Node #0,0
Current State: 20:[16, 5, 4], Operations: ['35-31=4']
Exploring Operation: 16/4=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 20:[5, 4] Operation: 16/4=4
Moving to Node #0,0,1
Current State: 20:[5, 4], Operations: ['35-31=4', '16/4=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
37,
6,
96,
64
] | 43 | [
"64-37=27",
"96/6=16",
"27+16=43"
] | Current State: 43:[37, 6, 96, 64], Operations: []
Exploring Operation: 64-37=27, Resulting Numbers: [6, 96, 27]
Generated Node #2: [6, 96, 27] from Operation: 64-37=27
Current State: 43:[6, 96, 27], Operations: ['64-37=27']
Exploring Operation: 96/6=16, Resulting Numbers: [27, 16]
Generated Node #3: [27, 16] from Operation: 96/6=16
Current State: 43:[27, 16], Operations: ['64-37=27', '96/6=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[37, 6, 96, 64], Operations: []
Exploring Operation: 96-64=32, Resulting Numbers: [37, 6, 32]
Generated Node #0,0: 43:[37, 6, 32] Operation: 96-64=32
Exploring Operation: 96/6=16, Resulting Numbers: [37, 64, 16]
Generated Node #0,1: 43:[37, 64, 16] Operation: 96/6=16
Exploring Operation: 37+6=43, Resulting Numbers: [96, 64, 43]
Generated Node #0,2: 43:[96, 64, 43] Operation: 37+6=43
Exploring Operation: 96-37=59, Resulting Numbers: [6, 64, 59]
Generated Node #0,3: 43:[6, 64, 59] Operation: 96-37=59
Exploring Operation: 96-6=90, Resulting Numbers: [37, 64, 90]
Generated Node #0,4: 43:[37, 64, 90] Operation: 96-6=90
Moving to Node #0,0
Current State: 43:[37, 6, 32], Operations: ['96-64=32']
Exploring Operation: 6+32=38, Resulting Numbers: [37, 38]
Generated Node #0,0,0: 43:[37, 38] Operation: 6+32=38
Exploring Operation: 37-6=31, Resulting Numbers: [32, 31]
Generated Node #0,0,1: 43:[32, 31] Operation: 37-6=31
Exploring Operation: 37+6=43, Resulting Numbers: [32, 43]
Generated Node #0,0,2: 43:[32, 43] Operation: 37+6=43
Exploring Operation: 32-6=26, Resulting Numbers: [37, 26]
Generated Node #0,0,3: 43:[37, 26] Operation: 32-6=26
Exploring Operation: 37+32=69, Resulting Numbers: [6, 69]
Generated Node #0,0,4: 43:[6, 69] Operation: 37+32=69
Moving to Node #0,1
Current State: 43:[37, 64, 16], Operations: ['96/6=16']
Exploring Operation: 64-16=48, Resulting Numbers: [37, 48]
Generated Node #0,1,0: 43:[37, 48] Operation: 64-16=48
Exploring Operation: 64-37=27, Resulting Numbers: [16, 27]
Generated Node #0,1,1: 43:[16, 27] Operation: 64-37=27
Exploring Operation: 37+16=53, Resulting Numbers: [64, 53]
Generated Node #0,1,2: 43:[64, 53] Operation: 37+16=53
Exploring Operation: 37-16=21, Resulting Numbers: [64, 21]
Generated Node #0,1,3: 43:[64, 21] Operation: 37-16=21
Exploring Operation: 64+16=80, Resulting Numbers: [37, 80]
Generated Node #0,1,4: 43:[37, 80] Operation: 64+16=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[37, 48], Operations: ['96/6=16', '64-16=48']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[64, 53], Operations: ['96/6=16', '37+16=53']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[16, 27], Operations: ['96/6=16', '64-37=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,43 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[37, 6, 96, 64], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [37, 64, 16]
Generated Node #0,1: 43:[37, 64, 16] Operation: 96/6=16
Moving to Node #0,1
Current State: 43:[37, 64, 16], Operations: ['96/6=16']
Exploring Operation: 64-37=27, Resulting Numbers: [16, 27]
Generated Node #0,1,1: 43:[16, 27] Operation: 64-37=27
Moving to Node #0,1,1
Current State: 43:[16, 27], Operations: ['96/6=16', '64-37=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
7,
10,
8,
57
] | 69 | [
"10+8=18",
"7*18=126",
"126-57=69"
] | Current State: 69:[7, 10, 8, 57], Operations: []
Exploring Operation: 10+8=18, Resulting Numbers: [7, 57, 18]
Generated Node #2: [7, 57, 18] from Operation: 10+8=18
Current State: 69:[7, 57, 18], Operations: ['10+8=18']
Exploring Operation: 7*18=126, Resulting Numbers: [57, 126]
Generated Node #3: [57, 126] from Operation: 7*18=126
Current State: 69:[57, 126], Operations: ['10+8=18', '7*18=126']
Exploring Operation: 126-57=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[7, 10, 8, 57], Operations: []
Exploring Operation: 7+57=64, Resulting Numbers: [10, 8, 64]
Generated Node #0,0: 69:[10, 8, 64] Operation: 7+57=64
Exploring Operation: 10+57=67, Resulting Numbers: [7, 8, 67]
Generated Node #0,1: 69:[7, 8, 67] Operation: 10+57=67
Exploring Operation: 8+57=65, Resulting Numbers: [7, 10, 65]
Generated Node #0,2: 69:[7, 10, 65] Operation: 8+57=65
Exploring Operation: 10-7=3, Resulting Numbers: [8, 57, 3]
Generated Node #0,3: 69:[8, 57, 3] Operation: 10-7=3
Moving to Node #0,1
Current State: 69:[7, 8, 67], Operations: ['10+57=67']
Exploring Operation: 7+8=15, Resulting Numbers: [67, 15]
Generated Node #0,1,0: 69:[67, 15] Operation: 7+8=15
Exploring Operation: 7+67=74, Resulting Numbers: [8, 74]
Generated Node #0,1,1: 69:[8, 74] Operation: 7+67=74
Exploring Operation: 8+67=75, Resulting Numbers: [7, 75]
Generated Node #0,1,2: 69:[7, 75] Operation: 8+67=75
Exploring Operation: 8-7=1, Resulting Numbers: [67, 1]
Generated Node #0,1,3: 69:[67, 1] Operation: 8-7=1
Moving to Node #0,2
Current State: 69:[7, 10, 65], Operations: ['8+57=65']
Exploring Operation: 7*10=70, Resulting Numbers: [65, 70]
Generated Node #0,2,0: 69:[65, 70] Operation: 7*10=70
Exploring Operation: 7+65=72, Resulting Numbers: [10, 72]
Generated Node #0,2,1: 69:[10, 72] Operation: 7+65=72
Exploring Operation: 7+10=17, Resulting Numbers: [65, 17]
Generated Node #0,2,2: 69:[65, 17] Operation: 7+10=17
Exploring Operation: 10-7=3, Resulting Numbers: [65, 3]
Generated Node #0,2,3: 69:[65, 3] Operation: 10-7=3
Moving to Node #0,3
Current State: 69:[8, 57, 3], Operations: ['10-7=3']
Exploring Operation: 8-3=5, Resulting Numbers: [57, 5]
Generated Node #0,3,0: 69:[57, 5] Operation: 8-3=5
Exploring Operation: 57/3=19, Resulting Numbers: [8, 19]
Generated Node #0,3,1: 69:[8, 19] Operation: 57/3=19
Exploring Operation: 8*3=24, Resulting Numbers: [57, 24]
Generated Node #0,3,2: 69:[57, 24] Operation: 8*3=24
Exploring Operation: 8+57=65, Resulting Numbers: [3, 65]
Generated Node #0,3,3: 69:[3, 65] Operation: 8+57=65
Moving to Node #0,0
Current State: 69:[10, 8, 64], Operations: ['7+57=64']
Exploring Operation: 10-8=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 69:[64, 2] Operation: 10-8=2
Exploring Operation: 8+64=72, Resulting Numbers: [10, 72]
Generated Node #0,0,1: 69:[10, 72] Operation: 8+64=72
Exploring Operation: 10+8=18, Resulting Numbers: [64, 18]
Generated Node #0,0,2: 69:[64, 18] Operation: 10+8=18
Exploring Operation: 10+64=74, Resulting Numbers: [8, 74]
Generated Node #0,0,3: 69:[8, 74] Operation: 10+64=74
Moving to Node #0,1,3
Current State: 69:[67, 1], Operations: ['10+57=67', '8-7=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[65, 3], Operations: ['8+57=65', '10-7=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[3, 65], Operations: ['10-7=3', '8+57=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,69 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[65, 70], Operations: ['8+57=65', '7*10=70']
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[64, 2], Operations: ['7+57=64', '10-8=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[8, 19], Operations: ['10-7=3', '57/3=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[10, 72], Operations: ['8+57=65', '7+65=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[10, 72], Operations: ['7+57=64', '8+64=72']
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,69 unequal: No Solution
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[8, 74], Operations: ['10+57=67', '7+67=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,69 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[8, 74], Operations: ['7+57=64', '10+64=74']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,69 unequal: No Solution
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[65, 17], Operations: ['8+57=65', '7+10=17']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,69 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[67, 15], Operations: ['10+57=67', '7+8=15']
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,69 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[64, 18], Operations: ['7+57=64', '10+8=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,69 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[7, 75], Operations: ['10+57=67', '8+67=75']
Exploring Operation: 7*75=525, Resulting Numbers: [525]
525,69 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[57, 24], Operations: ['10-7=3', '8*3=24']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[57, 5], Operations: ['10-7=3', '8-3=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,69 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,69 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
97,
29,
52
] | 45 | [
"97+29=126",
"126/18=7",
"52-7=45"
] | Current State: 45:[18, 97, 29, 52], Operations: []
Exploring Operation: 97+29=126, Resulting Numbers: [18, 52, 126]
Generated Node #2: [18, 52, 126] from Operation: 97+29=126
Current State: 45:[18, 52, 126], Operations: ['97+29=126']
Exploring Operation: 126/18=7, Resulting Numbers: [52, 7]
Generated Node #3: [52, 7] from Operation: 126/18=7
Current State: 45:[52, 7], Operations: ['97+29=126', '126/18=7']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[18, 97, 29, 52], Operations: []
Exploring Operation: 97-52=45, Resulting Numbers: [18, 29, 45]
Generated Node #0,0: 45:[18, 29, 45] Operation: 97-52=45
Exploring Operation: 97-18=79, Resulting Numbers: [29, 52, 79]
Generated Node #0,1: 45:[29, 52, 79] Operation: 97-18=79
Exploring Operation: 18+29=47, Resulting Numbers: [97, 52, 47]
Generated Node #0,2: 45:[97, 52, 47] Operation: 18+29=47
Exploring Operation: 97-29=68, Resulting Numbers: [18, 52, 68]
Generated Node #0,3: 45:[18, 52, 68] Operation: 97-29=68
Moving to Node #0,0
Current State: 45:[18, 29, 45], Operations: ['97-52=45']
Exploring Operation: 18+29=47, Resulting Numbers: [45, 47]
Generated Node #0,0,0: 45:[45, 47] Operation: 18+29=47
Exploring Operation: 45-29=16, Resulting Numbers: [18, 16]
Generated Node #0,0,1: 45:[18, 16] Operation: 45-29=16
Exploring Operation: 45-18=27, Resulting Numbers: [29, 27]
Generated Node #0,0,2: 45:[29, 27] Operation: 45-18=27
Exploring Operation: 29-18=11, Resulting Numbers: [45, 11]
Generated Node #0,0,3: 45:[45, 11] Operation: 29-18=11
Moving to Node #0,3
Current State: 45:[18, 52, 68], Operations: ['97-29=68']
Exploring Operation: 68-18=50, Resulting Numbers: [52, 50]
Generated Node #0,3,0: 45:[52, 50] Operation: 68-18=50
Exploring Operation: 68-52=16, Resulting Numbers: [18, 16]
Generated Node #0,3,1: 45:[18, 16] Operation: 68-52=16
Exploring Operation: 52-18=34, Resulting Numbers: [68, 34]
Generated Node #0,3,2: 45:[68, 34] Operation: 52-18=34
Exploring Operation: 18+52=70, Resulting Numbers: [68, 70]
Generated Node #0,3,3: 45:[68, 70] Operation: 18+52=70
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[18, 16], Operations: ['97-29=68', '68-52=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,45 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No 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: 45:[52, 50], Operations: ['97-29=68', '68-18=50']
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,45 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,45 unequal: No Solution
No 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: 45:[68, 34], Operations: ['97-29=68', '52-18=34']
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,45 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No 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: 45:[68, 70], Operations: ['97-29=68', '18+52=70']
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 68*70=4760, Resulting Numbers: [4760]
4760,45 unequal: No Solution
Exploring Operation: 68+70=138, Resulting Numbers: [138]
138,45 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: 45:[29, 52, 79], Operations: ['97-18=79']
Exploring Operation: 79-52=27, Resulting Numbers: [29, 27]
Generated Node #0,1,0: 45:[29, 27] Operation: 79-52=27
Exploring Operation: 52-29=23, Resulting Numbers: [79, 23]
Generated Node #0,1,1: 45:[79, 23] Operation: 52-29=23
Exploring Operation: 29+52=81, Resulting Numbers: [79, 81]
Generated Node #0,1,2: 45:[79, 81] Operation: 29+52=81
Exploring Operation: 79-29=50, Resulting Numbers: [52, 50]
Generated Node #0,1,3: 45:[52, 50] Operation: 79-29=50
Moving to Node #0,2
Current State: 45:[97, 52, 47], Operations: ['18+29=47']
Exploring Operation: 52-47=5, Resulting Numbers: [97, 5]
Generated Node #0,2,0: 45:[97, 5] Operation: 52-47=5
Exploring Operation: 97+52=149, Resulting Numbers: [47, 149]
Generated Node #0,2,1: 45:[47, 149] Operation: 97+52=149
Exploring Operation: 97-47=50, Resulting Numbers: [52, 50]
Generated Node #0,2,2: 45:[52, 50] Operation: 97-47=50
Exploring Operation: 97-52=45, Resulting Numbers: [47, 45]
Generated Node #0,2,3: 45:[47, 45] Operation: 97-52=45
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 45:[47, 45], Operations: ['18+29=47', '97-52=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,45 unequal: No Solution
No 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: 45:[52, 50], Operations: ['18+29=47', '97-47=50']
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,45 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No 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: 45:[97, 5], Operations: ['18+29=47', '52-47=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,45 unequal: No Solution
No 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: 45:[47, 149], Operations: ['18+29=47', '97+52=149']
Exploring Operation: 149-47=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 47+149=196, Resulting Numbers: [196]
196,45 unequal: No Solution
Exploring Operation: 47*149=7003, Resulting Numbers: [7003]
7003,45 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: 45:[45, 47], Operations: ['97-52=45', '18+29=47']
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,45 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[45, 11], Operations: ['97-52=45', '29-18=11']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,45 unequal: No Solution
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[18, 16], Operations: ['97-52=45', '45-29=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[52, 50], Operations: ['97-18=79', '79-29=50']
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,45 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[29, 27], Operations: ['97-18=79', '79-52=27']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,45 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[29, 27], Operations: ['97-52=45', '45-18=27']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[79, 23], Operations: ['97-18=79', '52-29=23']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[79, 81], Operations: ['97-18=79', '29+52=81']
Exploring Operation: 79*81=6399, Resulting Numbers: [6399]
6399,45 unequal: No Solution
Exploring Operation: 79+81=160, Resulting Numbers: [160]
160,45 unequal: No Solution
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
29,
67,
31,
32
] | 96 | [
"29+67=96",
"32-31=1",
"96*1=96"
] | Current State: 96:[29, 67, 31, 32], Operations: []
Exploring Operation: 29+67=96, Resulting Numbers: [31, 32, 96]
Generated Node #2: [31, 32, 96] from Operation: 29+67=96
Current State: 96:[31, 32, 96], Operations: ['29+67=96']
Exploring Operation: 32-31=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 32-31=1
Current State: 96:[96, 1], Operations: ['29+67=96', '32-31=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[29, 67, 31, 32], Operations: []
Exploring Operation: 29+67=96, Resulting Numbers: [31, 32, 96]
Generated Node #0,0: 96:[31, 32, 96] Operation: 29+67=96
Exploring Operation: 67-29=38, Resulting Numbers: [31, 32, 38]
Generated Node #0,1: 96:[31, 32, 38] Operation: 67-29=38
Exploring Operation: 67-31=36, Resulting Numbers: [29, 32, 36]
Generated Node #0,2: 96:[29, 32, 36] Operation: 67-31=36
Exploring Operation: 67+31=98, Resulting Numbers: [29, 32, 98]
Generated Node #0,3: 96:[29, 32, 98] Operation: 67+31=98
Moving to Node #0,0
Current State: 96:[31, 32, 96], Operations: ['29+67=96']
Exploring Operation: 32-31=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 96:[96, 1] Operation: 32-31=1
Exploring Operation: 31+32=63, Resulting Numbers: [96, 63]
Generated Node #0,0,1: 96:[96, 63] Operation: 31+32=63
Exploring Operation: 96-31=65, Resulting Numbers: [32, 65]
Generated Node #0,0,2: 96:[32, 65] Operation: 96-31=65
Exploring Operation: 96/32=3, Resulting Numbers: [31, 3]
Generated Node #0,0,3: 96:[31, 3] Operation: 96/32=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[96, 1], Operations: ['29+67=96', '32-31=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[29, 67, 31, 32], Operations: []
Exploring Operation: 29+67=96, Resulting Numbers: [31, 32, 96]
Generated Node #0,0: 96:[31, 32, 96] Operation: 29+67=96
Moving to Node #0,0
Current State: 96:[31, 32, 96], Operations: ['29+67=96']
Exploring Operation: 32-31=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 96:[96, 1] Operation: 32-31=1
Moving to Node #0,0,0
Current State: 96:[96, 1], Operations: ['29+67=96', '32-31=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
51,
54,
47,
62
] | 32 | [
"51-47=4",
"62-54=8",
"4*8=32"
] | Current State: 32:[51, 54, 47, 62], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [54, 62, 4]
Generated Node #2: [54, 62, 4] from Operation: 51-47=4
Current State: 32:[54, 62, 4], Operations: ['51-47=4']
Exploring Operation: 62-54=8, Resulting Numbers: [4, 8]
Generated Node #3: [4, 8] from Operation: 62-54=8
Current State: 32:[4, 8], Operations: ['51-47=4', '62-54=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[51, 54, 47, 62], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [47, 62, 3]
Generated Node #0,0: 32:[47, 62, 3] Operation: 54-51=3
Exploring Operation: 62-54=8, Resulting Numbers: [51, 47, 8]
Generated Node #0,1: 32:[51, 47, 8] Operation: 62-54=8
Exploring Operation: 62-51=11, Resulting Numbers: [54, 47, 11]
Generated Node #0,2: 32:[54, 47, 11] Operation: 62-51=11
Exploring Operation: 62-47=15, Resulting Numbers: [51, 54, 15]
Generated Node #0,3: 32:[51, 54, 15] Operation: 62-47=15
Moving to Node #0,1
Current State: 32:[51, 47, 8], Operations: ['62-54=8']
Exploring Operation: 47-8=39, Resulting Numbers: [51, 39]
Generated Node #0,1,0: 32:[51, 39] Operation: 47-8=39
Exploring Operation: 51-8=43, Resulting Numbers: [47, 43]
Generated Node #0,1,1: 32:[47, 43] Operation: 51-8=43
Exploring Operation: 51+8=59, Resulting Numbers: [47, 59]
Generated Node #0,1,2: 32:[47, 59] Operation: 51+8=59
Exploring Operation: 51-47=4, Resulting Numbers: [8, 4]
Generated Node #0,1,3: 32:[8, 4] Operation: 51-47=4
Moving to Node #0,2
Current State: 32:[54, 47, 11], Operations: ['62-51=11']
Exploring Operation: 54-11=43, Resulting Numbers: [47, 43]
Generated Node #0,2,0: 32:[47, 43] Operation: 54-11=43
Exploring Operation: 54+11=65, Resulting Numbers: [47, 65]
Generated Node #0,2,1: 32:[47, 65] Operation: 54+11=65
Exploring Operation: 47-11=36, Resulting Numbers: [54, 36]
Generated Node #0,2,2: 32:[54, 36] Operation: 47-11=36
Exploring Operation: 54-47=7, Resulting Numbers: [11, 7]
Generated Node #0,2,3: 32:[11, 7] Operation: 54-47=7
Moving to Node #0,3
Current State: 32:[51, 54, 15], Operations: ['62-47=15']
Exploring Operation: 54-51=3, Resulting Numbers: [15, 3]
Generated Node #0,3,0: 32:[15, 3] Operation: 54-51=3
Exploring Operation: 54-15=39, Resulting Numbers: [51, 39]
Generated Node #0,3,1: 32:[51, 39] Operation: 54-15=39
Exploring Operation: 51-15=36, Resulting Numbers: [54, 36]
Generated Node #0,3,2: 32:[54, 36] Operation: 51-15=36
Exploring Operation: 51+15=66, Resulting Numbers: [54, 66]
Generated Node #0,3,3: 32:[54, 66] Operation: 51+15=66
Moving to Node #0,0
Current State: 32:[47, 62, 3], Operations: ['54-51=3']
Exploring Operation: 47+3=50, Resulting Numbers: [62, 50]
Generated Node #0,0,0: 32:[62, 50] Operation: 47+3=50
Exploring Operation: 47-3=44, Resulting Numbers: [62, 44]
Generated Node #0,0,1: 32:[62, 44] Operation: 47-3=44
Exploring Operation: 62-47=15, Resulting Numbers: [3, 15]
Generated Node #0,0,2: 32:[3, 15] Operation: 62-47=15
Exploring Operation: 62-3=59, Resulting Numbers: [47, 59]
Generated Node #0,0,3: 32:[47, 59] Operation: 62-3=59
Moving to Node #0,1,3
Current State: 32:[8, 4], Operations: ['62-54=8', '51-47=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[51, 54, 47, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [51, 47, 8]
Generated Node #0,1: 32:[51, 47, 8] Operation: 62-54=8
Moving to Node #0,1
Current State: 32:[51, 47, 8], Operations: ['62-54=8']
Exploring Operation: 51-47=4, Resulting Numbers: [8, 4]
Generated Node #0,1,3: 32:[8, 4] Operation: 51-47=4
Moving to Node #0,1,3
Current State: 32:[8, 4], Operations: ['62-54=8', '51-47=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.978299 | hs_4 | mult_heuristic |
[
21,
69,
66,
62
] | 55 | [
"69-66=3",
"21/3=7",
"62-7=55"
] | Current State: 55:[21, 69, 66, 62], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [21, 62, 3]
Generated Node #2: [21, 62, 3] from Operation: 69-66=3
Current State: 55:[21, 62, 3], Operations: ['69-66=3']
Exploring Operation: 21/3=7, Resulting Numbers: [62, 7]
Generated Node #3: [62, 7] from Operation: 21/3=7
Current State: 55:[62, 7], Operations: ['69-66=3', '21/3=7']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[21, 69, 66, 62], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [21, 66, 7]
Generated Node #0,0: 55:[21, 66, 7] Operation: 69-62=7
Exploring Operation: 69-66=3, Resulting Numbers: [21, 62, 3]
Generated Node #0,1: 55:[21, 62, 3] Operation: 69-66=3
Exploring Operation: 69-21=48, Resulting Numbers: [66, 62, 48]
Generated Node #0,2: 55:[66, 62, 48] Operation: 69-21=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[21, 62, 3], Operations: ['69-66=3']
Exploring Operation: 21-3=18, Resulting Numbers: [62, 18]
Generated Node #0,1,0: 55:[62, 18] Operation: 21-3=18
Exploring Operation: 21/3=7, Resulting Numbers: [62, 7]
Generated Node #0,1,1: 55:[62, 7] Operation: 21/3=7
Exploring Operation: 62-3=59, Resulting Numbers: [21, 59]
Generated Node #0,1,2: 55:[21, 59] Operation: 62-3=59
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[62, 7], Operations: ['69-66=3', '21/3=7']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[21, 69, 66, 62], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [21, 62, 3]
Generated Node #0,1: 55:[21, 62, 3] Operation: 69-66=3
Moving to Node #0,1
Current State: 55:[21, 62, 3], Operations: ['69-66=3']
Exploring Operation: 21/3=7, Resulting Numbers: [62, 7]
Generated Node #0,1,1: 55:[62, 7] Operation: 21/3=7
Moving to Node #0,1,1
Current State: 55:[62, 7], Operations: ['69-66=3', '21/3=7']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
86,
59,
66,
43
] | 14 | [
"86/43=2",
"66-59=7",
"2*7=14"
] | Current State: 14:[86, 59, 66, 43], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [59, 66, 2]
Generated Node #2: [59, 66, 2] from Operation: 86/43=2
Current State: 14:[59, 66, 2], Operations: ['86/43=2']
Exploring Operation: 66-59=7, Resulting Numbers: [2, 7]
Generated Node #3: [2, 7] from Operation: 66-59=7
Current State: 14:[2, 7], Operations: ['86/43=2', '66-59=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[86, 59, 66, 43], Operations: []
Exploring Operation: 86-59=27, Resulting Numbers: [66, 43, 27]
Generated Node #0,0: 14:[66, 43, 27] Operation: 86-59=27
Exploring Operation: 86/43=2, Resulting Numbers: [59, 66, 2]
Generated Node #0,1: 14:[59, 66, 2] Operation: 86/43=2
Exploring Operation: 66-59=7, Resulting Numbers: [86, 43, 7]
Generated Node #0,2: 14:[86, 43, 7] Operation: 66-59=7
Exploring Operation: 86-66=20, Resulting Numbers: [59, 43, 20]
Generated Node #0,3: 14:[59, 43, 20] Operation: 86-66=20
Exploring Operation: 86-43=43, Resulting Numbers: [59, 66, 43]
Generated Node #0,4: 14:[59, 66, 43] Operation: 86-43=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[59, 43, 20], Operations: ['86-66=20']
Exploring Operation: 59-20=39, Resulting Numbers: [43, 39]
Generated Node #0,3,0: 14:[43, 39] Operation: 59-20=39
Exploring Operation: 59-43=16, Resulting Numbers: [20, 16]
Generated Node #0,3,1: 14:[20, 16] Operation: 59-43=16
Exploring Operation: 43-20=23, Resulting Numbers: [59, 23]
Generated Node #0,3,2: 14:[59, 23] Operation: 43-20=23
Exploring Operation: 59+43=102, Resulting Numbers: [20, 102]
Generated Node #0,3,3: 14:[20, 102] Operation: 59+43=102
Exploring Operation: 59+20=79, Resulting Numbers: [43, 79]
Generated Node #0,3,4: 14:[43, 79] Operation: 59+20=79
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[20, 16], Operations: ['86-66=20', '59-43=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,14 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[43, 39], Operations: ['86-66=20', '59-20=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,14 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[59, 23], Operations: ['86-66=20', '43-20=23']
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,14 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[20, 102], Operations: ['86-66=20', '59+43=102']
Exploring Operation: 20+102=122, Resulting Numbers: [122]
122,14 unequal: No Solution
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 20*102=2040, Resulting Numbers: [2040]
2040,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 14:[43, 79], Operations: ['86-66=20', '59+20=79']
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 43*79=3397, Resulting Numbers: [3397]
3397,14 unequal: No Solution
Exploring Operation: 43+79=122, Resulting Numbers: [122]
122,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[66, 43, 27], Operations: ['86-59=27']
Exploring Operation: 66-27=39, Resulting Numbers: [43, 39]
Generated Node #0,0,0: 14:[43, 39] Operation: 66-27=39
Exploring Operation: 66-43=23, Resulting Numbers: [27, 23]
Generated Node #0,0,1: 14:[27, 23] Operation: 66-43=23
Exploring Operation: 43-27=16, Resulting Numbers: [66, 16]
Generated Node #0,0,2: 14:[66, 16] Operation: 43-27=16
Exploring Operation: 66+27=93, Resulting Numbers: [43, 93]
Generated Node #0,0,3: 14:[43, 93] Operation: 66+27=93
Exploring Operation: 66+43=109, Resulting Numbers: [27, 109]
Generated Node #0,0,4: 14:[27, 109] Operation: 66+43=109
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[27, 23], Operations: ['86-59=27', '66-43=23']
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,14 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[43, 39], Operations: ['86-59=27', '66-27=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[66, 16], Operations: ['86-59=27', '43-27=16']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[43, 93], Operations: ['86-59=27', '66+27=93']
Exploring Operation: 43*93=3999, Resulting Numbers: [3999]
3999,14 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 43+93=136, Resulting Numbers: [136]
136,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 14:[27, 109], Operations: ['86-59=27', '66+43=109']
Exploring Operation: 27*109=2943, Resulting Numbers: [2943]
2943,14 unequal: No Solution
Exploring Operation: 109-27=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 27+109=136, Resulting Numbers: [136]
136,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[59, 66, 2], Operations: ['86/43=2']
Exploring Operation: 66-2=64, Resulting Numbers: [59, 64]
Generated Node #0,1,0: 14:[59, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [59, 33]
Generated Node #0,1,1: 14:[59, 33] Operation: 66/2=33
Exploring Operation: 59-2=57, Resulting Numbers: [66, 57]
Generated Node #0,1,2: 14:[66, 57] Operation: 59-2=57
Exploring Operation: 59+2=61, Resulting Numbers: [66, 61]
Generated Node #0,1,3: 14:[66, 61] Operation: 59+2=61
Exploring Operation: 66-59=7, Resulting Numbers: [2, 7]
Generated Node #0,1,4: 14:[2, 7] Operation: 66-59=7
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 14:[2, 7], Operations: ['86/43=2', '66-59=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[86, 59, 66, 43], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [59, 66, 2]
Generated Node #0,1: 14:[59, 66, 2] Operation: 86/43=2
Moving to Node #0,1
Current State: 14:[59, 66, 2], Operations: ['86/43=2']
Exploring Operation: 66-59=7, Resulting Numbers: [2, 7]
Generated Node #0,1,4: 14:[2, 7] Operation: 66-59=7
Moving to Node #0,1,4
Current State: 14:[2, 7], Operations: ['86/43=2', '66-59=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.