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 |
|---|---|---|---|---|---|---|---|---|
[
78,
86,
26,
40
] | 49 | [
"78/26=3",
"86-40=46",
"3+46=49"
] | Current State: 49:[78, 86, 26, 40], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [86, 40, 3]
Generated Node #2: [86, 40, 3] from Operation: 78/26=3
Current State: 49:[86, 40, 3], Operations: ['78/26=3']
Exploring Operation: 86-40=46, Resulting Numbers: [3, 46]
Generated Node #3: [3, 46] from Operation: 86-40=46
Current State: 49:[3, 46], Operations: ['78/26=3', '86-40=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[78, 86, 26, 40], Operations: []
Exploring Operation: 78-26=52, Resulting Numbers: [86, 40, 52]
Generated Node #0,0: 49:[86, 40, 52] Operation: 78-26=52
Exploring Operation: 86-78=8, Resulting Numbers: [26, 40, 8]
Generated Node #0,1: 49:[26, 40, 8] Operation: 86-78=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[26, 40, 8], Operations: ['86-78=8']
Exploring Operation: 40-26=14, Resulting Numbers: [8, 14]
Generated Node #0,1,0: 49:[8, 14] Operation: 40-26=14
Exploring Operation: 26+40=66, Resulting Numbers: [8, 66]
Generated Node #0,1,1: 49:[8, 66] Operation: 26+40=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[8, 14], Operations: ['86-78=8', '40-26=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No 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: 49:[8, 66], Operations: ['86-78=8', '26+40=66']
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,49 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,49 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: 49:[86, 40, 52], Operations: ['78-26=52']
Exploring Operation: 86-52=34, Resulting Numbers: [40, 34]
Generated Node #0,0,0: 49:[40, 34] Operation: 86-52=34
Exploring Operation: 86-40=46, Resulting Numbers: [52, 46]
Generated Node #0,0,1: 49:[52, 46] Operation: 86-40=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[52, 46], Operations: ['78-26=52', '86-40=46']
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,49 unequal: No Solution
No 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: 49:[40, 34], Operations: ['78-26=52', '86-52=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,49 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,49 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 |
[
8,
79,
81,
46
] | 42 | [
"81-79=2",
"8/2=4",
"46-4=42"
] | Current State: 42:[8, 79, 81, 46], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [8, 46, 2]
Generated Node #2: [8, 46, 2] from Operation: 81-79=2
Current State: 42:[8, 46, 2], Operations: ['81-79=2']
Exploring Operation: 8/2=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 8/2=4
Current State: 42:[46, 4], Operations: ['81-79=2', '8/2=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[8, 79, 81, 46], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [8, 46, 2]
Generated Node #0,0: 42:[8, 46, 2] Operation: 81-79=2
Exploring Operation: 81-46=35, Resulting Numbers: [8, 79, 35]
Generated Node #0,1: 42:[8, 79, 35] Operation: 81-46=35
Moving to Node #0,0
Current State: 42:[8, 46, 2], Operations: ['81-79=2']
Exploring Operation: 46-2=44, Resulting Numbers: [8, 44]
Generated Node #0,0,0: 42:[8, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [8, 23]
Generated Node #0,0,1: 42:[8, 23] Operation: 46/2=23
Moving to Node #0,1
Current State: 42:[8, 79, 35], Operations: ['81-46=35']
Exploring Operation: 79-8=71, Resulting Numbers: [35, 71]
Generated Node #0,1,0: 42:[35, 71] Operation: 79-8=71
Exploring Operation: 79-35=44, Resulting Numbers: [8, 44]
Generated Node #0,1,1: 42:[8, 44] Operation: 79-35=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[8, 44], Operations: ['81-46=35', '79-35=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,42 unequal: No Solution
No 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: 42:[35, 71], Operations: ['81-46=35', '79-8=71']
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,42 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: 42:[8, 44], Operations: ['81-79=2', '46-2=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,42 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[8, 23], Operations: ['81-79=2', '46/2=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,42 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
30,
53,
83
] | 91 | [
"31+30=61",
"83-53=30",
"61+30=91"
] | Current State: 91:[31, 30, 53, 83], Operations: []
Exploring Operation: 31+30=61, Resulting Numbers: [53, 83, 61]
Generated Node #2: [53, 83, 61] from Operation: 31+30=61
Current State: 91:[53, 83, 61], Operations: ['31+30=61']
Exploring Operation: 83-53=30, Resulting Numbers: [61, 30]
Generated Node #3: [61, 30] from Operation: 83-53=30
Current State: 91:[61, 30], Operations: ['31+30=61', '83-53=30']
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[31, 30, 53, 83], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [30, 83, 22]
Generated Node #0,0: 91:[30, 83, 22] Operation: 53-31=22
Exploring Operation: 31+53=84, Resulting Numbers: [30, 83, 84]
Generated Node #0,1: 91:[30, 83, 84] Operation: 31+53=84
Exploring Operation: 30+53=83, Resulting Numbers: [31, 83, 83]
Generated Node #0,2: 91:[31, 83, 83] Operation: 30+53=83
Exploring Operation: 53-30=23, Resulting Numbers: [31, 83, 23]
Generated Node #0,3: 91:[31, 83, 23] Operation: 53-30=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[30, 83, 84], Operations: ['31+53=84']
Exploring Operation: 30+84=114, Resulting Numbers: [83, 114]
Generated Node #0,1,0: 91:[83, 114] Operation: 30+84=114
Exploring Operation: 84-83=1, Resulting Numbers: [30, 1]
Generated Node #0,1,1: 91:[30, 1] Operation: 84-83=1
Exploring Operation: 30+83=113, Resulting Numbers: [84, 113]
Generated Node #0,1,2: 91:[84, 113] Operation: 30+83=113
Exploring Operation: 83-30=53, Resulting Numbers: [84, 53]
Generated Node #0,1,3: 91:[84, 53] Operation: 83-30=53
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[30, 1], Operations: ['31+53=84', '84-83=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[84, 113], Operations: ['31+53=84', '30+83=113']
Exploring Operation: 113-84=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 84*113=9492, Resulting Numbers: [9492]
9492,91 unequal: No Solution
Exploring Operation: 84+113=197, Resulting Numbers: [197]
197,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[83, 114], Operations: ['31+53=84', '30+84=114']
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 83+114=197, Resulting Numbers: [197]
197,91 unequal: No Solution
Exploring Operation: 83*114=9462, Resulting Numbers: [9462]
9462,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[84, 53], Operations: ['31+53=84', '83-30=53']
Exploring Operation: 84+53=137, Resulting Numbers: [137]
137,91 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 84*53=4452, Resulting Numbers: [4452]
4452,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[30, 83, 22], Operations: ['53-31=22']
Exploring Operation: 30+83=113, Resulting Numbers: [22, 113]
Generated Node #0,0,0: 91:[22, 113] Operation: 30+83=113
Exploring Operation: 83+22=105, Resulting Numbers: [30, 105]
Generated Node #0,0,1: 91:[30, 105] Operation: 83+22=105
Exploring Operation: 83-30=53, Resulting Numbers: [22, 53]
Generated Node #0,0,2: 91:[22, 53] Operation: 83-30=53
Exploring Operation: 30-22=8, Resulting Numbers: [83, 8]
Generated Node #0,0,3: 91:[83, 8] Operation: 30-22=8
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[83, 8], Operations: ['53-31=22', '30-22=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[31, 30, 53, 83], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [30, 83, 22]
Generated Node #0,0: 91:[30, 83, 22] Operation: 53-31=22
Moving to Node #0,0
Current State: 91:[30, 83, 22], Operations: ['53-31=22']
Exploring Operation: 30-22=8, Resulting Numbers: [83, 8]
Generated Node #0,0,3: 91:[83, 8] Operation: 30-22=8
Moving to Node #0,0,3
Current State: 91:[83, 8], Operations: ['53-31=22', '30-22=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
84,
8,
51,
82
] | 45 | [
"84-8=76",
"82-51=31",
"76-31=45"
] | Current State: 45:[84, 8, 51, 82], Operations: []
Exploring Operation: 84-8=76, Resulting Numbers: [51, 82, 76]
Generated Node #2: [51, 82, 76] from Operation: 84-8=76
Current State: 45:[51, 82, 76], Operations: ['84-8=76']
Exploring Operation: 82-51=31, Resulting Numbers: [76, 31]
Generated Node #3: [76, 31] from Operation: 82-51=31
Current State: 45:[76, 31], Operations: ['84-8=76', '82-51=31']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[84, 8, 51, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [8, 51, 2]
Generated Node #0,0: 45:[8, 51, 2] Operation: 84-82=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[8, 51, 2], Operations: ['84-82=2']
Exploring Operation: 51-8=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 45:[2, 43] Operation: 51-8=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[2, 43], Operations: ['84-82=2', '51-8=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[84, 8, 51, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [8, 51, 2]
Generated Node #0,0: 45:[8, 51, 2] Operation: 84-82=2
Moving to Node #0,0
Current State: 45:[8, 51, 2], Operations: ['84-82=2']
Exploring Operation: 51-8=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 45:[2, 43] Operation: 51-8=43
Moving to Node #0,0,0
Current State: 45:[2, 43], Operations: ['84-82=2', '51-8=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
88,
29,
60,
56
] | 22 | [
"88*29=2552",
"60+56=116",
"2552/116=22"
] | Current State: 22:[88, 29, 60, 56], Operations: []
Exploring Operation: 88*29=2552, Resulting Numbers: [60, 56, 2552]
Generated Node #2: [60, 56, 2552] from Operation: 88*29=2552
Current State: 22:[60, 56, 2552], Operations: ['88*29=2552']
Exploring Operation: 60+56=116, Resulting Numbers: [2552, 116]
Generated Node #3: [2552, 116] from Operation: 60+56=116
Current State: 22:[2552, 116], Operations: ['88*29=2552', '60+56=116']
Exploring Operation: 2552/116=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[88, 29, 60, 56], Operations: []
Exploring Operation: 88-56=32, Resulting Numbers: [29, 60, 32]
Generated Node #0,0: 22:[29, 60, 32] Operation: 88-56=32
Exploring Operation: 88-60=28, Resulting Numbers: [29, 56, 28]
Generated Node #0,1: 22:[29, 56, 28] Operation: 88-60=28
Exploring Operation: 88-29=59, Resulting Numbers: [60, 56, 59]
Generated Node #0,2: 22:[60, 56, 59] Operation: 88-29=59
Exploring Operation: 60-56=4, Resulting Numbers: [88, 29, 4]
Generated Node #0,3: 22:[88, 29, 4] Operation: 60-56=4
Exploring Operation: 60-29=31, Resulting Numbers: [88, 56, 31]
Generated Node #0,4: 22:[88, 56, 31] Operation: 60-29=31
Moving to Node #0,1
Current State: 22:[29, 56, 28], Operations: ['88-60=28']
Exploring Operation: 29-28=1, Resulting Numbers: [56, 1]
Generated Node #0,1,0: 22:[56, 1] Operation: 29-28=1
Exploring Operation: 56-29=27, Resulting Numbers: [28, 27]
Generated Node #0,1,1: 22:[28, 27] Operation: 56-29=27
Exploring Operation: 29+56=85, Resulting Numbers: [28, 85]
Generated Node #0,1,2: 22:[28, 85] Operation: 29+56=85
Exploring Operation: 56/28=2, Resulting Numbers: [29, 2]
Generated Node #0,1,3: 22:[29, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [29, 28]
Generated Node #0,1,4: 22:[29, 28] Operation: 56-28=28
Moving to Node #0,0
Current State: 22:[29, 60, 32], Operations: ['88-56=32']
Exploring Operation: 29+60=89, Resulting Numbers: [32, 89]
Generated Node #0,0,0: 22:[32, 89] Operation: 29+60=89
Exploring Operation: 32-29=3, Resulting Numbers: [60, 3]
Generated Node #0,0,1: 22:[60, 3] Operation: 32-29=3
Exploring Operation: 29+32=61, Resulting Numbers: [60, 61]
Generated Node #0,0,2: 22:[60, 61] Operation: 29+32=61
Exploring Operation: 60-32=28, Resulting Numbers: [29, 28]
Generated Node #0,0,3: 22:[29, 28] Operation: 60-32=28
Exploring Operation: 60-29=31, Resulting Numbers: [32, 31]
Generated Node #0,0,4: 22:[32, 31] Operation: 60-29=31
Moving to Node #0,3
Current State: 22:[88, 29, 4], Operations: ['60-56=4']
Exploring Operation: 88+4=92, Resulting Numbers: [29, 92]
Generated Node #0,3,0: 22:[29, 92] Operation: 88+4=92
Exploring Operation: 88/4=22, Resulting Numbers: [29, 22]
Generated Node #0,3,1: 22:[29, 22] Operation: 88/4=22
Exploring Operation: 29-4=25, Resulting Numbers: [88, 25]
Generated Node #0,3,2: 22:[88, 25] Operation: 29-4=25
Exploring Operation: 88-29=59, Resulting Numbers: [4, 59]
Generated Node #0,3,3: 22:[4, 59] Operation: 88-29=59
Exploring Operation: 88-4=84, Resulting Numbers: [29, 84]
Generated Node #0,3,4: 22:[29, 84] Operation: 88-4=84
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[29, 22], Operations: ['60-56=4', '88/4=22']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,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,3,3
Current State: 22:[4, 59], Operations: ['60-56=4', '88-29=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,22 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,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,3,2
Current State: 22:[88, 25], Operations: ['60-56=4', '29-4=25']
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,22 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,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,3,4
Current State: 22:[29, 84], Operations: ['60-56=4', '88-4=84']
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,22 unequal: No Solution
Exploring Operation: 84-29=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,3,0
Current State: 22:[29, 92], Operations: ['60-56=4', '88+4=92']
Exploring Operation: 29+92=121, Resulting Numbers: [121]
121,22 unequal: No Solution
Exploring Operation: 29*92=2668, Resulting Numbers: [2668]
2668,22 unequal: No Solution
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,22 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: 22:[60, 56, 59], Operations: ['88-29=59']
Exploring Operation: 59-56=3, Resulting Numbers: [60, 3]
Generated Node #0,2,0: 22:[60, 3] Operation: 59-56=3
Exploring Operation: 60-59=1, Resulting Numbers: [56, 1]
Generated Node #0,2,1: 22:[56, 1] Operation: 60-59=1
Exploring Operation: 60+59=119, Resulting Numbers: [56, 119]
Generated Node #0,2,2: 22:[56, 119] Operation: 60+59=119
Exploring Operation: 60-56=4, Resulting Numbers: [59, 4]
Generated Node #0,2,3: 22:[59, 4] Operation: 60-56=4
Exploring Operation: 60+56=116, Resulting Numbers: [59, 116]
Generated Node #0,2,4: 22:[59, 116] Operation: 60+56=116
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[56, 1], Operations: ['88-29=59', '60-59=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,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,0
Current State: 22:[60, 3], Operations: ['88-29=59', '59-56=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,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,3
Current State: 22:[59, 4], Operations: ['88-29=59', '60-56=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,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:[56, 119], Operations: ['88-29=59', '60+59=119']
Exploring Operation: 56+119=175, Resulting Numbers: [175]
175,22 unequal: No Solution
Exploring Operation: 56*119=6664, Resulting Numbers: [6664]
6664,22 unequal: No Solution
Exploring Operation: 119-56=63, Resulting Numbers: [63]
63,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,4
Current State: 22:[59, 116], Operations: ['88-29=59', '60+56=116']
Exploring Operation: 59*116=6844, Resulting Numbers: [6844]
6844,22 unequal: No Solution
Exploring Operation: 59+116=175, Resulting Numbers: [175]
175,22 unequal: No Solution
Exploring Operation: 116-59=57, Resulting Numbers: [57]
57,22 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: 22:[88, 56, 31], Operations: ['60-29=31']
Exploring Operation: 88+56=144, Resulting Numbers: [31, 144]
Generated Node #0,4,0: 22:[31, 144] Operation: 88+56=144
Exploring Operation: 56-31=25, Resulting Numbers: [88, 25]
Generated Node #0,4,1: 22:[88, 25] Operation: 56-31=25
Exploring Operation: 88-31=57, Resulting Numbers: [56, 57]
Generated Node #0,4,2: 22:[56, 57] Operation: 88-31=57
Exploring Operation: 88-56=32, Resulting Numbers: [31, 32]
Generated Node #0,4,3: 22:[31, 32] Operation: 88-56=32
Exploring Operation: 88+31=119, Resulting Numbers: [56, 119]
Generated Node #0,4,4: 22:[56, 119] Operation: 88+31=119
Moving to Node #0,1,3
Current State: 22:[29, 2], Operations: ['88-60=28', '56/28=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[28, 27], Operations: ['88-60=28', '56-29=27']
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,22 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[29, 28], Operations: ['88-60=28', '56-28=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,22 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[29, 28], Operations: ['88-56=32', '60-32=28']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,22 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,0,4
Current State: 22:[32, 31], Operations: ['88-56=32', '60-29=31']
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,22 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[31, 32], Operations: ['60-29=31', '88-56=32']
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,22 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[56, 1], Operations: ['88-60=28', '29-28=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[60, 3], Operations: ['88-56=32', '32-29=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[56, 57], Operations: ['60-29=31', '88-31=57']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[88, 25], Operations: ['60-29=31', '56-31=25']
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[28, 85], Operations: ['88-60=28', '29+56=85']
Exploring Operation: 28*85=2380, Resulting Numbers: [2380]
2380,22 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 28+85=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[60, 61], Operations: ['88-56=32', '29+32=61']
Exploring Operation: 60+61=121, Resulting Numbers: [121]
121,22 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 60*61=3660, Resulting Numbers: [3660]
3660,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[32, 89], Operations: ['88-56=32', '29+60=89']
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,22 unequal: No Solution
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,22 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[31, 144], Operations: ['60-29=31', '88+56=144']
Exploring Operation: 31+144=175, Resulting Numbers: [175]
175,22 unequal: No Solution
Exploring Operation: 144-31=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 31*144=4464, Resulting Numbers: [4464]
4464,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[56, 119], Operations: ['60-29=31', '88+31=119']
Exploring Operation: 119-56=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 56+119=175, Resulting Numbers: [175]
175,22 unequal: No Solution
Exploring Operation: 56*119=6664, Resulting Numbers: [6664]
6664,22 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
89,
60,
80,
14
] | 66 | [
"89-80=9",
"14*9=126",
"126-60=66"
] | Current State: 66:[89, 60, 80, 14], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [60, 14, 9]
Generated Node #2: [60, 14, 9] from Operation: 89-80=9
Current State: 66:[60, 14, 9], Operations: ['89-80=9']
Exploring Operation: 14*9=126, Resulting Numbers: [60, 126]
Generated Node #3: [60, 126] from Operation: 14*9=126
Current State: 66:[60, 126], Operations: ['89-80=9', '14*9=126']
Exploring Operation: 126-60=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[89, 60, 80, 14], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [60, 14, 9]
Generated Node #0,0: 66:[60, 14, 9] Operation: 89-80=9
Exploring Operation: 80-60=20, Resulting Numbers: [89, 14, 20]
Generated Node #0,1: 66:[89, 14, 20] Operation: 80-60=20
Exploring Operation: 89-60=29, Resulting Numbers: [80, 14, 29]
Generated Node #0,2: 66:[80, 14, 29] Operation: 89-60=29
Exploring Operation: 80-14=66, Resulting Numbers: [89, 60, 66]
Generated Node #0,3: 66:[89, 60, 66] Operation: 80-14=66
Exploring Operation: 89-14=75, Resulting Numbers: [60, 80, 75]
Generated Node #0,4: 66:[60, 80, 75] Operation: 89-14=75
Moving to Node #0,0
Current State: 66:[60, 14, 9], Operations: ['89-80=9']
Exploring Operation: 60-14=46, Resulting Numbers: [9, 46]
Generated Node #0,0,0: 66:[9, 46] Operation: 60-14=46
Exploring Operation: 60+9=69, Resulting Numbers: [14, 69]
Generated Node #0,0,1: 66:[14, 69] Operation: 60+9=69
Exploring Operation: 60+14=74, Resulting Numbers: [9, 74]
Generated Node #0,0,2: 66:[9, 74] Operation: 60+14=74
Exploring Operation: 14+9=23, Resulting Numbers: [60, 23]
Generated Node #0,0,3: 66:[60, 23] Operation: 14+9=23
Exploring Operation: 14-9=5, Resulting Numbers: [60, 5]
Generated Node #0,0,4: 66:[60, 5] Operation: 14-9=5
Moving to Node #0,2
Current State: 66:[80, 14, 29], Operations: ['89-60=29']
Exploring Operation: 80-29=51, Resulting Numbers: [14, 51]
Generated Node #0,2,0: 66:[14, 51] Operation: 80-29=51
Exploring Operation: 14+29=43, Resulting Numbers: [80, 43]
Generated Node #0,2,1: 66:[80, 43] Operation: 14+29=43
Exploring Operation: 29-14=15, Resulting Numbers: [80, 15]
Generated Node #0,2,2: 66:[80, 15] Operation: 29-14=15
Exploring Operation: 80-14=66, Resulting Numbers: [29, 66]
Generated Node #0,2,3: 66:[29, 66] Operation: 80-14=66
Exploring Operation: 80+14=94, Resulting Numbers: [29, 94]
Generated Node #0,2,4: 66:[29, 94] Operation: 80+14=94
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[29, 66], Operations: ['89-60=29', '80-14=66']
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,66 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,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:[14, 51], Operations: ['89-60=29', '80-29=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,66 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,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:[80, 15], Operations: ['89-60=29', '29-14=15']
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 80*15=1200, Resulting Numbers: [1200]
1200,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,1
Current State: 66:[80, 43], Operations: ['89-60=29', '14+29=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,66 unequal: No Solution
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,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:[29, 94], Operations: ['89-60=29', '80+14=94']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,66 unequal: No Solution
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,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:[89, 14, 20], Operations: ['80-60=20']
Exploring Operation: 14+20=34, Resulting Numbers: [89, 34]
Generated Node #0,1,0: 66:[89, 34] Operation: 14+20=34
Exploring Operation: 20-14=6, Resulting Numbers: [89, 6]
Generated Node #0,1,1: 66:[89, 6] Operation: 20-14=6
Exploring Operation: 89-20=69, Resulting Numbers: [14, 69]
Generated Node #0,1,2: 66:[14, 69] Operation: 89-20=69
Exploring Operation: 89+14=103, Resulting Numbers: [20, 103]
Generated Node #0,1,3: 66:[20, 103] Operation: 89+14=103
Exploring Operation: 89-14=75, Resulting Numbers: [20, 75]
Generated Node #0,1,4: 66:[20, 75] Operation: 89-14=75
Moving to Node #0,3
Current State: 66:[89, 60, 66], Operations: ['80-14=66']
Exploring Operation: 89+60=149, Resulting Numbers: [66, 149]
Generated Node #0,3,0: 66:[66, 149] Operation: 89+60=149
Exploring Operation: 60+66=126, Resulting Numbers: [89, 126]
Generated Node #0,3,1: 66:[89, 126] Operation: 60+66=126
Exploring Operation: 89-66=23, Resulting Numbers: [60, 23]
Generated Node #0,3,2: 66:[60, 23] Operation: 89-66=23
Exploring Operation: 89-60=29, Resulting Numbers: [66, 29]
Generated Node #0,3,3: 66:[66, 29] Operation: 89-60=29
Exploring Operation: 66-60=6, Resulting Numbers: [89, 6]
Generated Node #0,3,4: 66:[89, 6] Operation: 66-60=6
Moving to Node #0,4
Current State: 66:[60, 80, 75], Operations: ['89-14=75']
Exploring Operation: 60+80=140, Resulting Numbers: [75, 140]
Generated Node #0,4,0: 66:[75, 140] Operation: 60+80=140
Exploring Operation: 60+75=135, Resulting Numbers: [80, 135]
Generated Node #0,4,1: 66:[80, 135] Operation: 60+75=135
Exploring Operation: 80-75=5, Resulting Numbers: [60, 5]
Generated Node #0,4,2: 66:[60, 5] Operation: 80-75=5
Exploring Operation: 75-60=15, Resulting Numbers: [80, 15]
Generated Node #0,4,3: 66:[80, 15] Operation: 75-60=15
Exploring Operation: 80-60=20, Resulting Numbers: [75, 20]
Generated Node #0,4,4: 66:[75, 20] Operation: 80-60=20
Moving to Node #0,3,3
Current State: 66:[66, 29], Operations: ['80-14=66', '89-60=29']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,66 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[14, 69], Operations: ['80-60=20', '89-20=69']
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,66 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[14, 69], Operations: ['89-80=9', '60+9=69']
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,66 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[60, 5], Operations: ['89-80=9', '14-9=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,66 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[60, 23], Operations: ['80-14=66', '89-66=23']
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,66 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[60, 23], Operations: ['89-80=9', '14+9=23']
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,66 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Moving to Node #0,4,2
Current State: 66:[60, 5], Operations: ['89-14=75', '80-75=5']
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,66 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[9, 74], Operations: ['89-80=9', '60+14=74']
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[20, 75], Operations: ['80-60=20', '89-14=75']
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 20+75=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 20*75=1500, Resulting Numbers: [1500]
1500,66 unequal: No Solution
Moving to Node #0,4,4
Current State: 66:[75, 20], Operations: ['89-14=75', '80-60=20']
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,66 unequal: No Solution
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[9, 46], Operations: ['89-80=9', '60-14=46']
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,66 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[80, 15], Operations: ['89-14=75', '75-60=15']
Exploring Operation: 80*15=1200, Resulting Numbers: [1200]
1200,66 unequal: No Solution
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[89, 6], Operations: ['80-14=66', '66-60=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,66 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[89, 6], Operations: ['80-60=20', '20-14=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[89, 34], Operations: ['80-60=20', '14+20=34']
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,66 unequal: No Solution
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,66 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[20, 103], Operations: ['80-60=20', '89+14=103']
Exploring Operation: 20*103=2060, Resulting Numbers: [2060]
2060,66 unequal: No Solution
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 20+103=123, Resulting Numbers: [123]
123,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[80, 135], Operations: ['89-14=75', '60+75=135']
Exploring Operation: 80+135=215, Resulting Numbers: [215]
215,66 unequal: No Solution
Exploring Operation: 135-80=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 80*135=10800, Resulting Numbers: [10800]
10800,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[66, 149], Operations: ['80-14=66', '89+60=149']
Exploring Operation: 66*149=9834, Resulting Numbers: [9834]
9834,66 unequal: No Solution
Exploring Operation: 149-66=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 66+149=215, Resulting Numbers: [215]
215,66 unequal: No Solution
Moving to Node #0,4,0
Current State: 66:[75, 140], Operations: ['89-14=75', '60+80=140']
Exploring Operation: 75+140=215, Resulting Numbers: [215]
215,66 unequal: No Solution
Exploring Operation: 140-75=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 75*140=10500, Resulting Numbers: [10500]
10500,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[89, 126], Operations: ['80-14=66', '60+66=126']
Exploring Operation: 89*126=11214, Resulting Numbers: [11214]
11214,66 unequal: No Solution
Exploring Operation: 89+126=215, Resulting Numbers: [215]
215,66 unequal: No Solution
Exploring Operation: 126-89=37, Resulting Numbers: [37]
37,66 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
23,
74,
4,
69
] | 74 | [
"69/23=3",
"4-3=1",
"74*1=74"
] | Current State: 74:[23, 74, 4, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [74, 4, 3]
Generated Node #2: [74, 4, 3] from Operation: 69/23=3
Current State: 74:[74, 4, 3], Operations: ['69/23=3']
Exploring Operation: 4-3=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 4-3=1
Current State: 74:[74, 1], Operations: ['69/23=3', '4-3=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[23, 74, 4, 69], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [74, 4, 46]
Generated Node #0,0: 74:[74, 4, 46] Operation: 69-23=46
Exploring Operation: 23+4=27, Resulting Numbers: [74, 69, 27]
Generated Node #0,1: 74:[74, 69, 27] Operation: 23+4=27
Exploring Operation: 69/23=3, Resulting Numbers: [74, 4, 3]
Generated Node #0,2: 74:[74, 4, 3] Operation: 69/23=3
Moving to Node #0,2
Current State: 74:[74, 4, 3], Operations: ['69/23=3']
Exploring Operation: 4-3=1, Resulting Numbers: [74, 1]
Generated Node #0,2,0: 74:[74, 1] Operation: 4-3=1
Exploring Operation: 74-4=70, Resulting Numbers: [3, 70]
Generated Node #0,2,1: 74:[3, 70] Operation: 74-4=70
Exploring Operation: 74+4=78, Resulting Numbers: [3, 78]
Generated Node #0,2,2: 74:[3, 78] Operation: 74+4=78
Moving to Node #0,0
Current State: 74:[74, 4, 46], Operations: ['69-23=46']
Exploring Operation: 74+4=78, Resulting Numbers: [46, 78]
Generated Node #0,0,0: 74:[46, 78] Operation: 74+4=78
Exploring Operation: 46-4=42, Resulting Numbers: [74, 42]
Generated Node #0,0,1: 74:[74, 42] Operation: 46-4=42
Exploring Operation: 74-46=28, Resulting Numbers: [4, 28]
Generated Node #0,0,2: 74:[4, 28] Operation: 74-46=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[74, 42], Operations: ['69-23=46', '46-4=42']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,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,2
Current State: 74:[4, 28], Operations: ['69-23=46', '74-46=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,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,0
Current State: 74:[46, 78], Operations: ['69-23=46', '74+4=78']
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 46+78=124, Resulting Numbers: [124]
124,74 unequal: No Solution
Exploring Operation: 46*78=3588, Resulting Numbers: [3588]
3588,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:[74, 69, 27], Operations: ['23+4=27']
Exploring Operation: 74-69=5, Resulting Numbers: [27, 5]
Generated Node #0,1,0: 74:[27, 5] Operation: 74-69=5
Exploring Operation: 69-27=42, Resulting Numbers: [74, 42]
Generated Node #0,1,1: 74:[74, 42] Operation: 69-27=42
Exploring Operation: 74-27=47, Resulting Numbers: [69, 47]
Generated Node #0,1,2: 74:[69, 47] Operation: 74-27=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[74, 42], Operations: ['23+4=27', '69-27=42']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[27, 5], Operations: ['23+4=27', '74-69=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[69, 47], Operations: ['23+4=27', '74-27=47']
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 69+47=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 69*47=3243, Resulting Numbers: [3243]
3243,74 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: 74:[74, 1], Operations: ['69/23=3', '4-3=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[23, 74, 4, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [74, 4, 3]
Generated Node #0,2: 74:[74, 4, 3] Operation: 69/23=3
Moving to Node #0,2
Current State: 74:[74, 4, 3], Operations: ['69/23=3']
Exploring Operation: 4-3=1, Resulting Numbers: [74, 1]
Generated Node #0,2,0: 74:[74, 1] Operation: 4-3=1
Moving to Node #0,2,0
Current State: 74:[74, 1], Operations: ['69/23=3', '4-3=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
13,
6,
66,
5
] | 17 | [
"13+6=19",
"66+19=85",
"85/5=17"
] | Current State: 17:[13, 6, 66, 5], Operations: []
Exploring Operation: 13+6=19, Resulting Numbers: [66, 5, 19]
Generated Node #2: [66, 5, 19] from Operation: 13+6=19
Current State: 17:[66, 5, 19], Operations: ['13+6=19']
Exploring Operation: 66+19=85, Resulting Numbers: [5, 85]
Generated Node #3: [5, 85] from Operation: 66+19=85
Current State: 17:[5, 85], Operations: ['13+6=19', '66+19=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[13, 6, 66, 5], Operations: []
Exploring Operation: 66-13=53, Resulting Numbers: [6, 5, 53]
Generated Node #0,0: 17:[6, 5, 53] Operation: 66-13=53
Exploring Operation: 66/6=11, Resulting Numbers: [13, 5, 11]
Generated Node #0,1: 17:[13, 5, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[13, 5, 11], Operations: ['66/6=11']
Exploring Operation: 5+11=16, Resulting Numbers: [13, 16]
Generated Node #0,1,0: 17:[13, 16] Operation: 5+11=16
Exploring Operation: 13+5=18, Resulting Numbers: [11, 18]
Generated Node #0,1,1: 17:[11, 18] Operation: 13+5=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[13, 16], Operations: ['66/6=11', '5+11=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,17 unequal: No Solution
No 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: 17:[11, 18], Operations: ['66/6=11', '13+5=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,17 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: 17:[6, 5, 53], Operations: ['66-13=53']
Exploring Operation: 6+5=11, Resulting Numbers: [53, 11]
Generated Node #0,0,0: 17:[53, 11] Operation: 6+5=11
Exploring Operation: 53-6=47, Resulting Numbers: [5, 47]
Generated Node #0,0,1: 17:[5, 47] Operation: 53-6=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[53, 11], Operations: ['66-13=53', '6+5=11']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No 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: 17:[5, 47], Operations: ['66-13=53', '53-6=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,17 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 |
[
3,
4,
7,
24
] | 45 | [
"24/4=6",
"7*6=42",
"3+42=45"
] | Current State: 45:[3, 4, 7, 24], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [3, 7, 6]
Generated Node #2: [3, 7, 6] from Operation: 24/4=6
Current State: 45:[3, 7, 6], Operations: ['24/4=6']
Exploring Operation: 7*6=42, Resulting Numbers: [3, 42]
Generated Node #3: [3, 42] from Operation: 7*6=42
Current State: 45:[3, 42], Operations: ['24/4=6', '7*6=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[3, 4, 7, 24], Operations: []
Exploring Operation: 24-7=17, Resulting Numbers: [3, 4, 17]
Generated Node #0,0: 45:[3, 4, 17] Operation: 24-7=17
Exploring Operation: 24/3=8, Resulting Numbers: [4, 7, 8]
Generated Node #0,1: 45:[4, 7, 8] Operation: 24/3=8
Exploring Operation: 24/4=6, Resulting Numbers: [3, 7, 6]
Generated Node #0,2: 45:[3, 7, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [3, 7, 20]
Generated Node #0,3: 45:[3, 7, 20] Operation: 24-4=20
Exploring Operation: 24-3=21, Resulting Numbers: [4, 7, 21]
Generated Node #0,4: 45:[4, 7, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[3, 4, 17], Operations: ['24-7=17']
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 45:[4, 14] Operation: 17-3=14
Exploring Operation: 17-4=13, Resulting Numbers: [3, 13]
Generated Node #0,0,1: 45:[3, 13] Operation: 17-4=13
Exploring Operation: 3+4=7, Resulting Numbers: [17, 7]
Generated Node #0,0,2: 45:[17, 7] Operation: 3+4=7
Exploring Operation: 3*4=12, Resulting Numbers: [17, 12]
Generated Node #0,0,3: 45:[17, 12] Operation: 3*4=12
Exploring Operation: 4-3=1, Resulting Numbers: [17, 1]
Generated Node #0,0,4: 45:[17, 1] Operation: 4-3=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[4, 14], Operations: ['24-7=17', '17-3=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,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,0,1
Current State: 45:[3, 13], Operations: ['24-7=17', '17-4=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,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,0,2
Current State: 45:[17, 7], Operations: ['24-7=17', '3+4=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,45 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,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,0,4
Current State: 45:[17, 1], Operations: ['24-7=17', '4-3=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,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,0,3
Current State: 45:[17, 12], Operations: ['24-7=17', '3*4=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,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:[3, 7, 6], Operations: ['24/4=6']
Exploring Operation: 6-3=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 45:[7, 3] Operation: 6-3=3
Exploring Operation: 7+6=13, Resulting Numbers: [3, 13]
Generated Node #0,2,1: 45:[3, 13] Operation: 7+6=13
Exploring Operation: 3+7=10, Resulting Numbers: [6, 10]
Generated Node #0,2,2: 45:[6, 10] Operation: 3+7=10
Exploring Operation: 3+6=9, Resulting Numbers: [7, 9]
Generated Node #0,2,3: 45:[7, 9] Operation: 3+6=9
Exploring Operation: 7-3=4, Resulting Numbers: [6, 4]
Generated Node #0,2,4: 45:[6, 4] Operation: 7-3=4
Moving to Node #0,2,0
Current State: 45:[7, 3], Operations: ['24/4=6', '6-3=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[6, 10], Operations: ['24/4=6', '3+7=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[6, 4], Operations: ['24/4=6', '7-3=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[3, 13], Operations: ['24/4=6', '7+6=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[7, 9], Operations: ['24/4=6', '3+6=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,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:[4, 7, 8], Operations: ['24/3=8']
Exploring Operation: 8-4=4, Resulting Numbers: [7, 4]
Generated Node #0,1,0: 45:[7, 4] Operation: 8-4=4
Exploring Operation: 7+8=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 45:[4, 15] Operation: 7+8=15
Exploring Operation: 8/4=2, Resulting Numbers: [7, 2]
Generated Node #0,1,2: 45:[7, 2] Operation: 8/4=2
Exploring Operation: 7-4=3, Resulting Numbers: [8, 3]
Generated Node #0,1,3: 45:[8, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [8, 11]
Generated Node #0,1,4: 45:[8, 11] Operation: 4+7=11
Moving to Node #0,1,1
Current State: 45:[4, 15], Operations: ['24/3=8', '7+8=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[8, 3], Operations: ['24/3=8', '7-4=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[7, 4], Operations: ['24/3=8', '8-4=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[7, 2], Operations: ['24/3=8', '8/4=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[8, 11], Operations: ['24/3=8', '4+7=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,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
Current State: 45:[3, 7, 20], Operations: ['24-4=20']
Exploring Operation: 20-7=13, Resulting Numbers: [3, 13]
Generated Node #0,3,0: 45:[3, 13] Operation: 20-7=13
Exploring Operation: 3+20=23, Resulting Numbers: [7, 23]
Generated Node #0,3,1: 45:[7, 23] Operation: 3+20=23
Exploring Operation: 7-3=4, Resulting Numbers: [20, 4]
Generated Node #0,3,2: 45:[20, 4] Operation: 7-3=4
Exploring Operation: 20-3=17, Resulting Numbers: [7, 17]
Generated Node #0,3,3: 45:[7, 17] Operation: 20-3=17
Exploring Operation: 3+7=10, Resulting Numbers: [20, 10]
Generated Node #0,3,4: 45:[20, 10] Operation: 3+7=10
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[3, 13], Operations: ['24-4=20', '20-7=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,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:[7, 17], Operations: ['24-4=20', '20-3=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,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,2
Current State: 45:[20, 4], Operations: ['24-4=20', '7-3=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,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:[20, 10], Operations: ['24-4=20', '3+7=10']
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,45 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,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:[7, 23], Operations: ['24-4=20', '3+20=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,45 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,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,4
Current State: 45:[4, 7, 21], Operations: ['24-3=21']
Exploring Operation: 21-7=14, Resulting Numbers: [4, 14]
Generated Node #0,4,0: 45:[4, 14] Operation: 21-7=14
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,4,1: 45:[21, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [21, 11]
Generated Node #0,4,2: 45:[21, 11] Operation: 4+7=11
Exploring Operation: 21-4=17, Resulting Numbers: [7, 17]
Generated Node #0,4,3: 45:[7, 17] Operation: 21-4=17
Exploring Operation: 21/7=3, Resulting Numbers: [4, 3]
Generated Node #0,4,4: 45:[4, 3] Operation: 21/7=3
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 45:[4, 3], Operations: ['24-3=21', '21/7=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,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,4,0
Current State: 45:[4, 14], Operations: ['24-3=21', '21-7=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,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,4,3
Current State: 45:[7, 17], Operations: ['24-3=21', '21-4=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,45 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,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,4,1
Current State: 45:[21, 3], Operations: ['24-3=21', '7-4=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,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,4,2
Current State: 45:[21, 11], Operations: ['24-3=21', '4+7=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,45 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
76,
35,
16
] | 39 | [
"76-18=58",
"35-16=19",
"58-19=39"
] | Current State: 39:[18, 76, 35, 16], Operations: []
Exploring Operation: 76-18=58, Resulting Numbers: [35, 16, 58]
Generated Node #2: [35, 16, 58] from Operation: 76-18=58
Current State: 39:[35, 16, 58], Operations: ['76-18=58']
Exploring Operation: 35-16=19, Resulting Numbers: [58, 19]
Generated Node #3: [58, 19] from Operation: 35-16=19
Current State: 39:[58, 19], Operations: ['76-18=58', '35-16=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[18, 76, 35, 16], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [18, 16, 41]
Generated Node #0,0: 39:[18, 16, 41] Operation: 76-35=41
Exploring Operation: 76-18=58, Resulting Numbers: [35, 16, 58]
Generated Node #0,1: 39:[35, 16, 58] Operation: 76-18=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[18, 16, 41], Operations: ['76-35=41']
Exploring Operation: 18+16=34, Resulting Numbers: [41, 34]
Generated Node #0,0,0: 39:[41, 34] Operation: 18+16=34
Exploring Operation: 18-16=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 39:[41, 2] Operation: 18-16=2
Moving to Node #0,0,1
Current State: 39:[41, 2], Operations: ['76-35=41', '18-16=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[18, 76, 35, 16], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [18, 16, 41]
Generated Node #0,0: 39:[18, 16, 41] Operation: 76-35=41
Moving to Node #0,0
Current State: 39:[18, 16, 41], Operations: ['76-35=41']
Exploring Operation: 18-16=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 39:[41, 2] Operation: 18-16=2
Moving to Node #0,0,1
Current State: 39:[41, 2], Operations: ['76-35=41', '18-16=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
56,
8,
99,
53
] | 12 | [
"99-56=43",
"53+43=96",
"96/8=12"
] | Current State: 12:[56, 8, 99, 53], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [8, 53, 43]
Generated Node #2: [8, 53, 43] from Operation: 99-56=43
Current State: 12:[8, 53, 43], Operations: ['99-56=43']
Exploring Operation: 53+43=96, Resulting Numbers: [8, 96]
Generated Node #3: [8, 96] from Operation: 53+43=96
Current State: 12:[8, 96], Operations: ['99-56=43', '53+43=96']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[56, 8, 99, 53], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [8, 53, 43]
Generated Node #0,0: 12:[8, 53, 43] Operation: 99-56=43
Exploring Operation: 99-53=46, Resulting Numbers: [56, 8, 46]
Generated Node #0,1: 12:[56, 8, 46] Operation: 99-53=46
Moving to Node #0,0
Current State: 12:[8, 53, 43], Operations: ['99-56=43']
Exploring Operation: 53-43=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 12:[8, 10] Operation: 53-43=10
Exploring Operation: 53-8=45, Resulting Numbers: [43, 45]
Generated Node #0,0,1: 12:[43, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[8, 10], Operations: ['99-56=43', '53-43=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No 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: 12:[43, 45], Operations: ['99-56=43', '53-8=45']
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,12 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: 12:[56, 8, 46], Operations: ['99-53=46']
Exploring Operation: 56-46=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 12:[8, 10] Operation: 56-46=10
Exploring Operation: 56/8=7, Resulting Numbers: [46, 7]
Generated Node #0,1,1: 12:[46, 7] Operation: 56/8=7
Moving to Node #0,1,0
Current State: 12:[8, 10], Operations: ['99-53=46', '56-46=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[46, 7], Operations: ['99-53=46', '56/8=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,12 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
64,
26,
72,
98
] | 80 | [
"64+26=90",
"72+98=170",
"170-90=80"
] | Current State: 80:[64, 26, 72, 98], Operations: []
Exploring Operation: 64+26=90, Resulting Numbers: [72, 98, 90]
Generated Node #2: [72, 98, 90] from Operation: 64+26=90
Current State: 80:[72, 98, 90], Operations: ['64+26=90']
Exploring Operation: 72+98=170, Resulting Numbers: [90, 170]
Generated Node #3: [90, 170] from Operation: 72+98=170
Current State: 80:[90, 170], Operations: ['64+26=90', '72+98=170']
Exploring Operation: 170-90=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[64, 26, 72, 98], Operations: []
Exploring Operation: 64-26=38, Resulting Numbers: [72, 98, 38]
Generated Node #0,0: 80:[72, 98, 38] Operation: 64-26=38
Exploring Operation: 72-64=8, Resulting Numbers: [26, 98, 8]
Generated Node #0,1: 80:[26, 98, 8] Operation: 72-64=8
Exploring Operation: 98-64=34, Resulting Numbers: [26, 72, 34]
Generated Node #0,2: 80:[26, 72, 34] Operation: 98-64=34
Exploring Operation: 98-72=26, Resulting Numbers: [64, 26, 26]
Generated Node #0,3: 80:[64, 26, 26] Operation: 98-72=26
Moving to Node #0,2
Current State: 80:[26, 72, 34], Operations: ['98-64=34']
Exploring Operation: 34-26=8, Resulting Numbers: [72, 8]
Generated Node #0,2,0: 80:[72, 8] Operation: 34-26=8
Exploring Operation: 72-26=46, Resulting Numbers: [34, 46]
Generated Node #0,2,1: 80:[34, 46] Operation: 72-26=46
Exploring Operation: 26+72=98, Resulting Numbers: [34, 98]
Generated Node #0,2,2: 80:[34, 98] Operation: 26+72=98
Exploring Operation: 72-34=38, Resulting Numbers: [26, 38]
Generated Node #0,2,3: 80:[26, 38] Operation: 72-34=38
Moving to Node #0,1
Current State: 80:[26, 98, 8], Operations: ['72-64=8']
Exploring Operation: 26-8=18, Resulting Numbers: [98, 18]
Generated Node #0,1,0: 80:[98, 18] Operation: 26-8=18
Exploring Operation: 98-8=90, Resulting Numbers: [26, 90]
Generated Node #0,1,1: 80:[26, 90] Operation: 98-8=90
Exploring Operation: 26+8=34, Resulting Numbers: [98, 34]
Generated Node #0,1,2: 80:[98, 34] Operation: 26+8=34
Exploring Operation: 98-26=72, Resulting Numbers: [8, 72]
Generated Node #0,1,3: 80:[8, 72] Operation: 98-26=72
Moving to Node #0,3
Current State: 80:[64, 26, 26], Operations: ['98-72=26']
Exploring Operation: 64-26=38, Resulting Numbers: [26, 38]
Generated Node #0,3,0: 80:[26, 38] Operation: 64-26=38
Exploring Operation: 64-26=38, Resulting Numbers: [26, 38]
Generated Node #0,3,1: 80:[26, 38] Operation: 64-26=38
Exploring Operation: 64+26=90, Resulting Numbers: [26, 90]
Generated Node #0,3,2: 80:[26, 90] Operation: 64+26=90
Exploring Operation: 64+26=90, Resulting Numbers: [26, 90]
Generated Node #0,3,3: 80:[26, 90] Operation: 64+26=90
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[26, 38], Operations: ['98-72=26', '64-26=38']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[26, 38], Operations: ['98-72=26', '64-26=38']
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,80 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[26, 90], Operations: ['98-72=26', '64+26=90']
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,80 unequal: No Solution
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,80 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[26, 90], Operations: ['98-72=26', '64+26=90']
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,80 unequal: No Solution
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,80 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,80 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: 80:[72, 98, 38], Operations: ['64-26=38']
Exploring Operation: 72-38=34, Resulting Numbers: [98, 34]
Generated Node #0,0,0: 80:[98, 34] Operation: 72-38=34
Exploring Operation: 98-72=26, Resulting Numbers: [38, 26]
Generated Node #0,0,1: 80:[38, 26] Operation: 98-72=26
Exploring Operation: 72+38=110, Resulting Numbers: [98, 110]
Generated Node #0,0,2: 80:[98, 110] Operation: 72+38=110
Exploring Operation: 98-38=60, Resulting Numbers: [72, 60]
Generated Node #0,0,3: 80:[72, 60] Operation: 98-38=60
Moving to Node #0,2,0
Current State: 80:[72, 8], Operations: ['98-64=34', '34-26=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,80 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[64, 26, 72, 98], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [26, 72, 34]
Generated Node #0,2: 80:[26, 72, 34] Operation: 98-64=34
Moving to Node #0,2
Current State: 80:[26, 72, 34], Operations: ['98-64=34']
Exploring Operation: 34-26=8, Resulting Numbers: [72, 8]
Generated Node #0,2,0: 80:[72, 8] Operation: 34-26=8
Moving to Node #0,2,0
Current State: 80:[72, 8], Operations: ['98-64=34', '34-26=8']
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
79,
88,
69,
71
] | 97 | [
"71-69=2",
"88*2=176",
"176-79=97"
] | Current State: 97:[79, 88, 69, 71], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [79, 88, 2]
Generated Node #2: [79, 88, 2] from Operation: 71-69=2
Current State: 97:[79, 88, 2], Operations: ['71-69=2']
Exploring Operation: 88*2=176, Resulting Numbers: [79, 176]
Generated Node #3: [79, 176] from Operation: 88*2=176
Current State: 97:[79, 176], Operations: ['71-69=2', '88*2=176']
Exploring Operation: 176-79=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[79, 88, 69, 71], Operations: []
Exploring Operation: 69+71=140, Resulting Numbers: [79, 88, 140]
Generated Node #0,0: 97:[79, 88, 140] Operation: 69+71=140
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[79, 88, 140], Operations: ['69+71=140']
Exploring Operation: 140-79=61, Resulting Numbers: [88, 61]
Generated Node #0,0,0: 97:[88, 61] Operation: 140-79=61
Moving to Node #0,0,0
Current State: 97:[88, 61], Operations: ['69+71=140', '140-79=61']
Exploring Operation: 88+61=149, Resulting Numbers: [149]
149,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 | mult_heuristic |
[
3,
66,
34,
10
] | 25 | [
"3+66=69",
"34+10=44",
"69-44=25"
] | Current State: 25:[3, 66, 34, 10], Operations: []
Exploring Operation: 3+66=69, Resulting Numbers: [34, 10, 69]
Generated Node #2: [34, 10, 69] from Operation: 3+66=69
Current State: 25:[34, 10, 69], Operations: ['3+66=69']
Exploring Operation: 34+10=44, Resulting Numbers: [69, 44]
Generated Node #3: [69, 44] from Operation: 34+10=44
Current State: 25:[69, 44], Operations: ['3+66=69', '34+10=44']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[3, 66, 34, 10], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [34, 10, 22]
Generated Node #0,0: 25:[34, 10, 22] Operation: 66/3=22
Exploring Operation: 66-34=32, Resulting Numbers: [3, 10, 32]
Generated Node #0,1: 25:[3, 10, 32] Operation: 66-34=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[3, 10, 32], Operations: ['66-34=32']
Exploring Operation: 10-3=7, Resulting Numbers: [32, 7]
Generated Node #0,1,0: 25:[32, 7] Operation: 10-3=7
Exploring Operation: 32-10=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 25:[3, 22] Operation: 32-10=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[3, 22], Operations: ['66-34=32', '32-10=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[3, 66, 34, 10], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [3, 10, 32]
Generated Node #0,1: 25:[3, 10, 32] Operation: 66-34=32
Moving to Node #0,1
Current State: 25:[3, 10, 32], Operations: ['66-34=32']
Exploring Operation: 32-10=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 25:[3, 22] Operation: 32-10=22
Moving to Node #0,1,1
Current State: 25:[3, 22], Operations: ['66-34=32', '32-10=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
88,
52,
6,
53
] | 47 | [
"88-52=36",
"36/6=6",
"53-6=47"
] | Current State: 47:[88, 52, 6, 53], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [6, 53, 36]
Generated Node #2: [6, 53, 36] from Operation: 88-52=36
Current State: 47:[6, 53, 36], Operations: ['88-52=36']
Exploring Operation: 36/6=6, Resulting Numbers: [53, 6]
Generated Node #3: [53, 6] from Operation: 36/6=6
Current State: 47:[53, 6], Operations: ['88-52=36', '36/6=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[88, 52, 6, 53], Operations: []
Exploring Operation: 88-6=82, Resulting Numbers: [52, 53, 82]
Generated Node #0,0: 47:[52, 53, 82] Operation: 88-6=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[52, 53, 82], Operations: ['88-6=82']
Exploring Operation: 82-52=30, Resulting Numbers: [53, 30]
Generated Node #0,0,0: 47:[53, 30] Operation: 82-52=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[53, 30], Operations: ['88-6=82', '82-52=30']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,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_1 | sum_heuristic |
[
87,
18,
50,
2
] | 44 | [
"87-18=69",
"50/2=25",
"69-25=44"
] | Current State: 44:[87, 18, 50, 2], Operations: []
Exploring Operation: 87-18=69, Resulting Numbers: [50, 2, 69]
Generated Node #2: [50, 2, 69] from Operation: 87-18=69
Current State: 44:[50, 2, 69], Operations: ['87-18=69']
Exploring Operation: 50/2=25, Resulting Numbers: [69, 25]
Generated Node #3: [69, 25] from Operation: 50/2=25
Current State: 44:[69, 25], Operations: ['87-18=69', '50/2=25']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[87, 18, 50, 2], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [87, 18, 25]
Generated Node #0,0: 44:[87, 18, 25] Operation: 50/2=25
Exploring Operation: 87-18=69, Resulting Numbers: [50, 2, 69]
Generated Node #0,1: 44:[50, 2, 69] Operation: 87-18=69
Exploring Operation: 87-2=85, Resulting Numbers: [18, 50, 85]
Generated Node #0,2: 44:[18, 50, 85] Operation: 87-2=85
Exploring Operation: 87-50=37, Resulting Numbers: [18, 2, 37]
Generated Node #0,3: 44:[18, 2, 37] Operation: 87-50=37
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[18, 2, 37], Operations: ['87-50=37']
Exploring Operation: 2+37=39, Resulting Numbers: [18, 39]
Generated Node #0,3,0: 44:[18, 39] Operation: 2+37=39
Exploring Operation: 18+2=20, Resulting Numbers: [37, 20]
Generated Node #0,3,1: 44:[37, 20] Operation: 18+2=20
Exploring Operation: 18/2=9, Resulting Numbers: [37, 9]
Generated Node #0,3,2: 44:[37, 9] Operation: 18/2=9
Exploring Operation: 37-18=19, Resulting Numbers: [2, 19]
Generated Node #0,3,3: 44:[2, 19] Operation: 37-18=19
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[2, 19], Operations: ['87-50=37', '37-18=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,44 unequal: No Solution
No 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: 44:[18, 39], Operations: ['87-50=37', '2+37=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,44 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No 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: 44:[37, 20], Operations: ['87-50=37', '18+2=20']
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,44 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,44 unequal: No Solution
No 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: 44:[37, 9], Operations: ['87-50=37', '18/2=9']
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,44 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: 44:[50, 2, 69], Operations: ['87-18=69']
Exploring Operation: 69-50=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 44:[2, 19] Operation: 69-50=19
Exploring Operation: 69-2=67, Resulting Numbers: [50, 67]
Generated Node #0,1,1: 44:[50, 67] Operation: 69-2=67
Exploring Operation: 50-2=48, Resulting Numbers: [69, 48]
Generated Node #0,1,2: 44:[69, 48] Operation: 50-2=48
Exploring Operation: 50/2=25, Resulting Numbers: [69, 25]
Generated Node #0,1,3: 44:[69, 25] Operation: 50/2=25
Moving to Node #0,1,0
Current State: 44:[2, 19], Operations: ['87-18=69', '69-50=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[69, 25], Operations: ['87-18=69', '50/2=25']
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,44 unequal: No Solution
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,44 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[87, 18, 50, 2], Operations: []
Exploring Operation: 87-18=69, Resulting Numbers: [50, 2, 69]
Generated Node #0,1: 44:[50, 2, 69] Operation: 87-18=69
Moving to Node #0,1
Current State: 44:[50, 2, 69], Operations: ['87-18=69']
Exploring Operation: 50/2=25, Resulting Numbers: [69, 25]
Generated Node #0,1,3: 44:[69, 25] Operation: 50/2=25
Moving to Node #0,1,3
Current State: 44:[69, 25], Operations: ['87-18=69', '50/2=25']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
48,
43,
64,
72
] | 37 | [
"72-64=8",
"48/8=6",
"43-6=37"
] | Current State: 37:[48, 43, 64, 72], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [48, 43, 8]
Generated Node #2: [48, 43, 8] from Operation: 72-64=8
Current State: 37:[48, 43, 8], Operations: ['72-64=8']
Exploring Operation: 48/8=6, Resulting Numbers: [43, 6]
Generated Node #3: [43, 6] from Operation: 48/8=6
Current State: 37:[43, 6], Operations: ['72-64=8', '48/8=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[48, 43, 64, 72], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [43, 64, 24]
Generated Node #0,0: 37:[43, 64, 24] Operation: 72-48=24
Exploring Operation: 64-43=21, Resulting Numbers: [48, 72, 21]
Generated Node #0,1: 37:[48, 72, 21] Operation: 64-43=21
Exploring Operation: 72-64=8, Resulting Numbers: [48, 43, 8]
Generated Node #0,2: 37:[48, 43, 8] Operation: 72-64=8
Exploring Operation: 64-48=16, Resulting Numbers: [43, 72, 16]
Generated Node #0,3: 37:[43, 72, 16] Operation: 64-48=16
Exploring Operation: 72-43=29, Resulting Numbers: [48, 64, 29]
Generated Node #0,4: 37:[48, 64, 29] Operation: 72-43=29
Moving to Node #0,0
Current State: 37:[43, 64, 24], Operations: ['72-48=24']
Exploring Operation: 43-24=19, Resulting Numbers: [64, 19]
Generated Node #0,0,0: 37:[64, 19] Operation: 43-24=19
Exploring Operation: 43+24=67, Resulting Numbers: [64, 67]
Generated Node #0,0,1: 37:[64, 67] Operation: 43+24=67
Exploring Operation: 64-43=21, Resulting Numbers: [24, 21]
Generated Node #0,0,2: 37:[24, 21] Operation: 64-43=21
Exploring Operation: 64+24=88, Resulting Numbers: [43, 88]
Generated Node #0,0,3: 37:[43, 88] Operation: 64+24=88
Exploring Operation: 64-24=40, Resulting Numbers: [43, 40]
Generated Node #0,0,4: 37:[43, 40] Operation: 64-24=40
Moving to Node #0,4
Current State: 37:[48, 64, 29], Operations: ['72-43=29']
Exploring Operation: 48+29=77, Resulting Numbers: [64, 77]
Generated Node #0,4,0: 37:[64, 77] Operation: 48+29=77
Exploring Operation: 64-48=16, Resulting Numbers: [29, 16]
Generated Node #0,4,1: 37:[29, 16] Operation: 64-48=16
Exploring Operation: 64+29=93, Resulting Numbers: [48, 93]
Generated Node #0,4,2: 37:[48, 93] Operation: 64+29=93
Exploring Operation: 64-29=35, Resulting Numbers: [48, 35]
Generated Node #0,4,3: 37:[48, 35] Operation: 64-29=35
Exploring Operation: 48-29=19, Resulting Numbers: [64, 19]
Generated Node #0,4,4: 37:[64, 19] Operation: 48-29=19
Moving to Node #0,2
Current State: 37:[48, 43, 8], Operations: ['72-64=8']
Exploring Operation: 43-8=35, Resulting Numbers: [48, 35]
Generated Node #0,2,0: 37:[48, 35] Operation: 43-8=35
Exploring Operation: 48+8=56, Resulting Numbers: [43, 56]
Generated Node #0,2,1: 37:[43, 56] Operation: 48+8=56
Exploring Operation: 48-8=40, Resulting Numbers: [43, 40]
Generated Node #0,2,2: 37:[43, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [43, 6]
Generated Node #0,2,3: 37:[43, 6] Operation: 48/8=6
Exploring Operation: 43+8=51, Resulting Numbers: [48, 51]
Generated Node #0,2,4: 37:[48, 51] Operation: 43+8=51
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[43, 40], Operations: ['72-64=8', '48-8=40']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 43*40=1720, Resulting Numbers: [1720]
1720,37 unequal: No Solution
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,37 unequal: No Solution
No 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: 37:[48, 35], Operations: ['72-64=8', '43-8=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,37 unequal: No Solution
No 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: 37:[43, 56], Operations: ['72-64=8', '48+8=56']
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,37 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,37 unequal: No Solution
No 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: 37:[48, 51], Operations: ['72-64=8', '43+8=51']
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,37 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,37 unequal: No Solution
No 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: 37:[43, 6], Operations: ['72-64=8', '48/8=6']
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,37 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[48, 43, 64, 72], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [48, 43, 8]
Generated Node #0,2: 37:[48, 43, 8] Operation: 72-64=8
Moving to Node #0,2
Current State: 37:[48, 43, 8], Operations: ['72-64=8']
Exploring Operation: 48/8=6, Resulting Numbers: [43, 6]
Generated Node #0,2,3: 37:[43, 6] Operation: 48/8=6
Moving to Node #0,2,3
Current State: 37:[43, 6], Operations: ['72-64=8', '48/8=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
3,
1,
46,
10
] | 13 | [
"3-1=2",
"46/2=23",
"23-10=13"
] | Current State: 13:[3, 1, 46, 10], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [46, 10, 2]
Generated Node #2: [46, 10, 2] from Operation: 3-1=2
Current State: 13:[46, 10, 2], Operations: ['3-1=2']
Exploring Operation: 46/2=23, Resulting Numbers: [10, 23]
Generated Node #3: [10, 23] from Operation: 46/2=23
Current State: 13:[10, 23], Operations: ['3-1=2', '46/2=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[3, 1, 46, 10], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [46, 10, 4]
Generated Node #0,0: 13:[46, 10, 4] Operation: 3+1=4
Exploring Operation: 46-3=43, Resulting Numbers: [1, 10, 43]
Generated Node #0,1: 13:[1, 10, 43] Operation: 46-3=43
Moving to Node #0,0
Current State: 13:[46, 10, 4], Operations: ['3+1=4']
Exploring Operation: 46-10=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 13:[4, 36] Operation: 46-10=36
Exploring Operation: 46-4=42, Resulting Numbers: [10, 42]
Generated Node #0,0,1: 13:[10, 42] Operation: 46-4=42
Moving to Node #0,1
Current State: 13:[1, 10, 43], Operations: ['46-3=43']
Exploring Operation: 1+10=11, Resulting Numbers: [43, 11]
Generated Node #0,1,0: 13:[43, 11] Operation: 1+10=11
Exploring Operation: 43-1=42, Resulting Numbers: [10, 42]
Generated Node #0,1,1: 13:[10, 42] Operation: 43-1=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[43, 11], Operations: ['46-3=43', '1+10=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[10, 42], Operations: ['46-3=43', '43-1=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,13 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: 13:[4, 36], Operations: ['3+1=4', '46-10=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[10, 42], Operations: ['3+1=4', '46-4=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,13 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
15,
4,
68
] | 77 | [
"4*15=60",
"68/4=17",
"60+17=77"
] | Current State: 77:[4, 15, 4, 68], Operations: []
Exploring Operation: 4*15=60, Resulting Numbers: [68, 60]
Generated Node #2: [68, 60] from Operation: 4*15=60
Current State: 77:[68, 60], Operations: ['4*15=60']
Exploring Operation: 68/4=17, Resulting Numbers: [60, 17]
Generated Node #3: [60, 17] from Operation: 68/4=17
Current State: 77:[60, 17], Operations: ['4*15=60', '68/4=17']
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[4, 15, 4, 68], Operations: []
Exploring Operation: 15-4=11, Resulting Numbers: [4, 68, 11]
Generated Node #0,0: 77:[4, 68, 11] Operation: 15-4=11
Exploring Operation: 4+68=72, Resulting Numbers: [15, 4, 72]
Generated Node #0,1: 77:[15, 4, 72] Operation: 4+68=72
Exploring Operation: 15-4=11, Resulting Numbers: [4, 68, 11]
Generated Node #0,2: 77:[4, 68, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[4, 68, 11], Operations: ['15-4=11']
Exploring Operation: 4+68=72, Resulting Numbers: [11, 72]
Generated Node #0,0,0: 77:[11, 72] Operation: 4+68=72
Exploring Operation: 68+11=79, Resulting Numbers: [4, 79]
Generated Node #0,0,1: 77:[4, 79] Operation: 68+11=79
Exploring Operation: 68/4=17, Resulting Numbers: [11, 17]
Generated Node #0,0,2: 77:[11, 17] Operation: 68/4=17
Moving to Node #0,0,0
Current State: 77:[11, 72], Operations: ['15-4=11', '4+68=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,77 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[4, 79], Operations: ['15-4=11', '68+11=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,77 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[11, 17], Operations: ['15-4=11', '68/4=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,77 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No 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: 77:[15, 4, 72], Operations: ['4+68=72']
Exploring Operation: 4+72=76, Resulting Numbers: [15, 76]
Generated Node #0,1,0: 77:[15, 76] Operation: 4+72=76
Exploring Operation: 72/4=18, Resulting Numbers: [15, 18]
Generated Node #0,1,1: 77:[15, 18] Operation: 72/4=18
Exploring Operation: 15-4=11, Resulting Numbers: [72, 11]
Generated Node #0,1,2: 77:[72, 11] Operation: 15-4=11
Moving to Node #0,1,0
Current State: 77:[15, 76], Operations: ['4+68=72', '4+72=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,77 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[72, 11], Operations: ['4+68=72', '15-4=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,77 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[15, 18], Operations: ['4+68=72', '72/4=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,77 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,77 unequal: No Solution
No 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: 77:[4, 68, 11], Operations: ['15-4=11']
Exploring Operation: 4+68=72, Resulting Numbers: [11, 72]
Generated Node #0,2,0: 77:[11, 72] Operation: 4+68=72
Exploring Operation: 68/4=17, Resulting Numbers: [11, 17]
Generated Node #0,2,1: 77:[11, 17] Operation: 68/4=17
Exploring Operation: 68+11=79, Resulting Numbers: [4, 79]
Generated Node #0,2,2: 77:[4, 79] Operation: 68+11=79
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[11, 72], Operations: ['15-4=11', '4+68=72']
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,77 unequal: No Solution
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,77 unequal: No Solution
No 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: 77:[4, 79], Operations: ['15-4=11', '68+11=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,77 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,77 unequal: No Solution
No 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: 77:[11, 17], Operations: ['15-4=11', '68/4=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,77 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 |
[
90,
61,
63,
7
] | 41 | [
"90-61=29",
"63+7=70",
"70-29=41"
] | Current State: 41:[90, 61, 63, 7], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [63, 7, 29]
Generated Node #2: [63, 7, 29] from Operation: 90-61=29
Current State: 41:[63, 7, 29], Operations: ['90-61=29']
Exploring Operation: 63+7=70, Resulting Numbers: [29, 70]
Generated Node #3: [29, 70] from Operation: 63+7=70
Current State: 41:[29, 70], Operations: ['90-61=29', '63+7=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[90, 61, 63, 7], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [63, 7, 29]
Generated Node #0,0: 41:[63, 7, 29] Operation: 90-61=29
Exploring Operation: 90-7=83, Resulting Numbers: [61, 63, 83]
Generated Node #0,1: 41:[61, 63, 83] Operation: 90-7=83
Exploring Operation: 63-7=56, Resulting Numbers: [90, 61, 56]
Generated Node #0,2: 41:[90, 61, 56] Operation: 63-7=56
Exploring Operation: 61-7=54, Resulting Numbers: [90, 63, 54]
Generated Node #0,3: 41:[90, 63, 54] Operation: 61-7=54
Exploring Operation: 90-63=27, Resulting Numbers: [61, 7, 27]
Generated Node #0,4: 41:[61, 7, 27] Operation: 90-63=27
Moving to Node #0,0
Current State: 41:[63, 7, 29], Operations: ['90-61=29']
Exploring Operation: 63-7=56, Resulting Numbers: [29, 56]
Generated Node #0,0,0: 41:[29, 56] Operation: 63-7=56
Exploring Operation: 63-29=34, Resulting Numbers: [7, 34]
Generated Node #0,0,1: 41:[7, 34] Operation: 63-29=34
Exploring Operation: 7+29=36, Resulting Numbers: [63, 36]
Generated Node #0,0,2: 41:[63, 36] Operation: 7+29=36
Exploring Operation: 29-7=22, Resulting Numbers: [63, 22]
Generated Node #0,0,3: 41:[63, 22] Operation: 29-7=22
Exploring Operation: 63+7=70, Resulting Numbers: [29, 70]
Generated Node #0,0,4: 41:[29, 70] Operation: 63+7=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[29, 56], Operations: ['90-61=29', '63-7=56']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,41 unequal: No Solution
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[63, 36], Operations: ['90-61=29', '7+29=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[7, 34], Operations: ['90-61=29', '63-29=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[90, 61, 63, 7], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [63, 7, 29]
Generated Node #0,0: 41:[63, 7, 29] Operation: 90-61=29
Moving to Node #0,0
Current State: 41:[63, 7, 29], Operations: ['90-61=29']
Exploring Operation: 63-29=34, Resulting Numbers: [7, 34]
Generated Node #0,0,1: 41:[7, 34] Operation: 63-29=34
Moving to Node #0,0,1
Current State: 41:[7, 34], Operations: ['90-61=29', '63-29=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
39,
25,
51,
35
] | 30 | [
"39-25=14",
"51-35=16",
"14+16=30"
] | Current State: 30:[39, 25, 51, 35], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [51, 35, 14]
Generated Node #2: [51, 35, 14] from Operation: 39-25=14
Current State: 30:[51, 35, 14], Operations: ['39-25=14']
Exploring Operation: 51-35=16, Resulting Numbers: [14, 16]
Generated Node #3: [14, 16] from Operation: 51-35=16
Current State: 30:[14, 16], Operations: ['39-25=14', '51-35=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[39, 25, 51, 35], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [51, 35, 14]
Generated Node #0,0: 30:[51, 35, 14] Operation: 39-25=14
Exploring Operation: 51-39=12, Resulting Numbers: [25, 35, 12]
Generated Node #0,1: 30:[25, 35, 12] Operation: 51-39=12
Exploring Operation: 51-35=16, Resulting Numbers: [39, 25, 16]
Generated Node #0,2: 30:[39, 25, 16] Operation: 51-35=16
Exploring Operation: 51-25=26, Resulting Numbers: [39, 35, 26]
Generated Node #0,3: 30:[39, 35, 26] Operation: 51-25=26
Moving to Node #0,1
Current State: 30:[25, 35, 12], Operations: ['51-39=12']
Exploring Operation: 35-25=10, Resulting Numbers: [12, 10]
Generated Node #0,1,0: 30:[12, 10] Operation: 35-25=10
Exploring Operation: 25+12=37, Resulting Numbers: [35, 37]
Generated Node #0,1,1: 30:[35, 37] Operation: 25+12=37
Exploring Operation: 25-12=13, Resulting Numbers: [35, 13]
Generated Node #0,1,2: 30:[35, 13] Operation: 25-12=13
Exploring Operation: 35-12=23, Resulting Numbers: [25, 23]
Generated Node #0,1,3: 30:[25, 23] Operation: 35-12=23
Moving to Node #0,2
Current State: 30:[39, 25, 16], Operations: ['51-35=16']
Exploring Operation: 25-16=9, Resulting Numbers: [39, 9]
Generated Node #0,2,0: 30:[39, 9] Operation: 25-16=9
Exploring Operation: 25+16=41, Resulting Numbers: [39, 41]
Generated Node #0,2,1: 30:[39, 41] Operation: 25+16=41
Exploring Operation: 39-16=23, Resulting Numbers: [25, 23]
Generated Node #0,2,2: 30:[25, 23] Operation: 39-16=23
Exploring Operation: 39-25=14, Resulting Numbers: [16, 14]
Generated Node #0,2,3: 30:[16, 14] Operation: 39-25=14
Moving to Node #0,3
Current State: 30:[39, 35, 26], Operations: ['51-25=26']
Exploring Operation: 39+26=65, Resulting Numbers: [35, 65]
Generated Node #0,3,0: 30:[35, 65] Operation: 39+26=65
Exploring Operation: 39-35=4, Resulting Numbers: [26, 4]
Generated Node #0,3,1: 30:[26, 4] Operation: 39-35=4
Exploring Operation: 39-26=13, Resulting Numbers: [35, 13]
Generated Node #0,3,2: 30:[35, 13] Operation: 39-26=13
Exploring Operation: 35-26=9, Resulting Numbers: [39, 9]
Generated Node #0,3,3: 30:[39, 9] Operation: 35-26=9
Moving to Node #0,0
Current State: 30:[51, 35, 14], Operations: ['39-25=14']
Exploring Operation: 51-14=37, Resulting Numbers: [35, 37]
Generated Node #0,0,0: 30:[35, 37] Operation: 51-14=37
Exploring Operation: 51+14=65, Resulting Numbers: [35, 65]
Generated Node #0,0,1: 30:[35, 65] Operation: 51+14=65
Exploring Operation: 35-14=21, Resulting Numbers: [51, 21]
Generated Node #0,0,2: 30:[51, 21] Operation: 35-14=21
Exploring Operation: 51-35=16, Resulting Numbers: [14, 16]
Generated Node #0,0,3: 30:[14, 16] Operation: 51-35=16
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[14, 16], Operations: ['39-25=14', '51-35=16']
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,30 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[39, 25, 51, 35], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [51, 35, 14]
Generated Node #0,0: 30:[51, 35, 14] Operation: 39-25=14
Moving to Node #0,0
Current State: 30:[51, 35, 14], Operations: ['39-25=14']
Exploring Operation: 51-35=16, Resulting Numbers: [14, 16]
Generated Node #0,0,3: 30:[14, 16] Operation: 51-35=16
Moving to Node #0,0,3
Current State: 30:[14, 16], Operations: ['39-25=14', '51-35=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | sum_heuristic |
[
26,
73,
87,
6
] | 34 | [
"73-26=47",
"87-6=81",
"81-47=34"
] | Current State: 34:[26, 73, 87, 6], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [87, 6, 47]
Generated Node #2: [87, 6, 47] from Operation: 73-26=47
Current State: 34:[87, 6, 47], Operations: ['73-26=47']
Exploring Operation: 87-6=81, Resulting Numbers: [47, 81]
Generated Node #3: [47, 81] from Operation: 87-6=81
Current State: 34:[47, 81], Operations: ['73-26=47', '87-6=81']
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[26, 73, 87, 6], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [87, 6, 47]
Generated Node #0,0: 34:[87, 6, 47] Operation: 73-26=47
Exploring Operation: 87-73=14, Resulting Numbers: [26, 6, 14]
Generated Node #0,1: 34:[26, 6, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[26, 6, 14], Operations: ['87-73=14']
Exploring Operation: 26+6=32, Resulting Numbers: [14, 32]
Generated Node #0,1,0: 34:[14, 32] Operation: 26+6=32
Exploring Operation: 26-6=20, Resulting Numbers: [14, 20]
Generated Node #0,1,1: 34:[14, 20] Operation: 26-6=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[14, 32], Operations: ['87-73=14', '26+6=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[14, 20], Operations: ['87-73=14', '26-6=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[26, 73, 87, 6], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [26, 6, 14]
Generated Node #0,1: 34:[26, 6, 14] Operation: 87-73=14
Moving to Node #0,1
Current State: 34:[26, 6, 14], Operations: ['87-73=14']
Exploring Operation: 26-6=20, Resulting Numbers: [14, 20]
Generated Node #0,1,1: 34:[14, 20] Operation: 26-6=20
Moving to Node #0,1,1
Current State: 34:[14, 20], Operations: ['87-73=14', '26-6=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
43,
37,
13,
68
] | 25 | [
"43+37=80",
"68-13=55",
"80-55=25"
] | Current State: 25:[43, 37, 13, 68], Operations: []
Exploring Operation: 43+37=80, Resulting Numbers: [13, 68, 80]
Generated Node #2: [13, 68, 80] from Operation: 43+37=80
Current State: 25:[13, 68, 80], Operations: ['43+37=80']
Exploring Operation: 68-13=55, Resulting Numbers: [80, 55]
Generated Node #3: [80, 55] from Operation: 68-13=55
Current State: 25:[80, 55], Operations: ['43+37=80', '68-13=55']
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[43, 37, 13, 68], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [37, 13, 25]
Generated Node #0,0: 25:[37, 13, 25] Operation: 68-43=25
Moving to Node #0,0
Current State: 25:[37, 13, 25], Operations: ['68-43=25']
Exploring Operation: 37-13=24, Resulting Numbers: [25, 24]
Generated Node #0,0,0: 25:[25, 24] Operation: 37-13=24
Moving to Node #0,0,0
Current State: 25:[25, 24], Operations: ['68-43=25', '37-13=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
35,
43,
39
] | 12 | [
"35+43=78",
"78/39=2",
"14-2=12"
] | Current State: 12:[14, 35, 43, 39], Operations: []
Exploring Operation: 35+43=78, Resulting Numbers: [14, 39, 78]
Generated Node #2: [14, 39, 78] from Operation: 35+43=78
Current State: 12:[14, 39, 78], Operations: ['35+43=78']
Exploring Operation: 78/39=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 78/39=2
Current State: 12:[14, 2], Operations: ['35+43=78', '78/39=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[14, 35, 43, 39], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [14, 35, 4]
Generated Node #0,0: 12:[14, 35, 4] Operation: 43-39=4
Exploring Operation: 43-35=8, Resulting Numbers: [14, 39, 8]
Generated Node #0,1: 12:[14, 39, 8] Operation: 43-35=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[14, 35, 4], Operations: ['43-39=4']
Exploring Operation: 35-4=31, Resulting Numbers: [14, 31]
Generated Node #0,0,0: 12:[14, 31] Operation: 35-4=31
Exploring Operation: 35-14=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 12:[4, 21] Operation: 35-14=21
Moving to Node #0,0,1
Current State: 12:[4, 21], Operations: ['43-39=4', '35-14=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[14, 31], Operations: ['43-39=4', '35-4=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,12 unequal: No Solution
No 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: 12:[14, 39, 8], Operations: ['43-35=8']
Exploring Operation: 39-8=31, Resulting Numbers: [14, 31]
Generated Node #0,1,0: 12:[14, 31] Operation: 39-8=31
Exploring Operation: 39-14=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 12:[8, 25] Operation: 39-14=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[8, 25], Operations: ['43-35=8', '39-14=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,12 unequal: No Solution
No 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: 12:[14, 31], Operations: ['43-35=8', '39-8=31']
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,12 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 |
[
98,
43,
75,
40
] | 90 | [
"98-43=55",
"75-40=35",
"55+35=90"
] | Current State: 90:[98, 43, 75, 40], Operations: []
Exploring Operation: 98-43=55, Resulting Numbers: [75, 40, 55]
Generated Node #2: [75, 40, 55] from Operation: 98-43=55
Current State: 90:[75, 40, 55], Operations: ['98-43=55']
Exploring Operation: 75-40=35, Resulting Numbers: [55, 35]
Generated Node #3: [55, 35] from Operation: 75-40=35
Current State: 90:[55, 35], Operations: ['98-43=55', '75-40=35']
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[98, 43, 75, 40], Operations: []
Exploring Operation: 75-43=32, Resulting Numbers: [98, 40, 32]
Generated Node #0,0: 90:[98, 40, 32] Operation: 75-43=32
Exploring Operation: 98-75=23, Resulting Numbers: [43, 40, 23]
Generated Node #0,1: 90:[43, 40, 23] Operation: 98-75=23
Moving to Node #0,1
Current State: 90:[43, 40, 23], Operations: ['98-75=23']
Exploring Operation: 43-40=3, Resulting Numbers: [23, 3]
Generated Node #0,1,0: 90:[23, 3] Operation: 43-40=3
Exploring Operation: 40-23=17, Resulting Numbers: [43, 17]
Generated Node #0,1,1: 90:[43, 17] Operation: 40-23=17
Moving to Node #0,0
Current State: 90:[98, 40, 32], Operations: ['75-43=32']
Exploring Operation: 40-32=8, Resulting Numbers: [98, 8]
Generated Node #0,0,0: 90:[98, 8] Operation: 40-32=8
Exploring Operation: 98-40=58, Resulting Numbers: [32, 58]
Generated Node #0,0,1: 90:[32, 58] Operation: 98-40=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[98, 8], Operations: ['75-43=32', '40-32=8']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[98, 43, 75, 40], Operations: []
Exploring Operation: 75-43=32, Resulting Numbers: [98, 40, 32]
Generated Node #0,0: 90:[98, 40, 32] Operation: 75-43=32
Moving to Node #0,0
Current State: 90:[98, 40, 32], Operations: ['75-43=32']
Exploring Operation: 40-32=8, Resulting Numbers: [98, 8]
Generated Node #0,0,0: 90:[98, 8] Operation: 40-32=8
Moving to Node #0,0,0
Current State: 90:[98, 8], Operations: ['75-43=32', '40-32=8']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
55,
59,
14,
72
] | 62 | [
"59-55=4",
"72-14=58",
"4+58=62"
] | Current State: 62:[55, 59, 14, 72], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [14, 72, 4]
Generated Node #2: [14, 72, 4] from Operation: 59-55=4
Current State: 62:[14, 72, 4], Operations: ['59-55=4']
Exploring Operation: 72-14=58, Resulting Numbers: [4, 58]
Generated Node #3: [4, 58] from Operation: 72-14=58
Current State: 62:[4, 58], Operations: ['59-55=4', '72-14=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[55, 59, 14, 72], Operations: []
Exploring Operation: 55+14=69, Resulting Numbers: [59, 72, 69]
Generated Node #0,0: 62:[59, 72, 69] Operation: 55+14=69
Exploring Operation: 55-14=41, Resulting Numbers: [59, 72, 41]
Generated Node #0,1: 62:[59, 72, 41] Operation: 55-14=41
Exploring Operation: 72-14=58, Resulting Numbers: [55, 59, 58]
Generated Node #0,2: 62:[55, 59, 58] Operation: 72-14=58
Exploring Operation: 59-55=4, Resulting Numbers: [14, 72, 4]
Generated Node #0,3: 62:[14, 72, 4] Operation: 59-55=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[55, 59, 58], Operations: ['72-14=58']
Exploring Operation: 55+58=113, Resulting Numbers: [59, 113]
Generated Node #0,2,0: 62:[59, 113] Operation: 55+58=113
Exploring Operation: 59-55=4, Resulting Numbers: [58, 4]
Generated Node #0,2,1: 62:[58, 4] Operation: 59-55=4
Exploring Operation: 59-58=1, Resulting Numbers: [55, 1]
Generated Node #0,2,2: 62:[55, 1] Operation: 59-58=1
Exploring Operation: 58-55=3, Resulting Numbers: [59, 3]
Generated Node #0,2,3: 62:[59, 3] Operation: 58-55=3
Moving to Node #0,2,3
Current State: 62:[59, 3], Operations: ['72-14=58', '58-55=3']
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,62 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[55, 59, 14, 72], Operations: []
Exploring Operation: 72-14=58, Resulting Numbers: [55, 59, 58]
Generated Node #0,2: 62:[55, 59, 58] Operation: 72-14=58
Moving to Node #0,2
Current State: 62:[55, 59, 58], Operations: ['72-14=58']
Exploring Operation: 58-55=3, Resulting Numbers: [59, 3]
Generated Node #0,2,3: 62:[59, 3] Operation: 58-55=3
Moving to Node #0,2,3
Current State: 62:[59, 3], Operations: ['72-14=58', '58-55=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
19,
47,
86,
62
] | 45 | [
"62-19=43",
"86/43=2",
"47-2=45"
] | Current State: 45:[19, 47, 86, 62], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [47, 86, 43]
Generated Node #2: [47, 86, 43] from Operation: 62-19=43
Current State: 45:[47, 86, 43], Operations: ['62-19=43']
Exploring Operation: 86/43=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 86/43=2
Current State: 45:[47, 2], Operations: ['62-19=43', '86/43=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[19, 47, 86, 62], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [19, 47, 24]
Generated Node #0,0: 45:[19, 47, 24] Operation: 86-62=24
Exploring Operation: 86-47=39, Resulting Numbers: [19, 62, 39]
Generated Node #0,1: 45:[19, 62, 39] Operation: 86-47=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[19, 47, 24], Operations: ['86-62=24']
Exploring Operation: 24-19=5, Resulting Numbers: [47, 5]
Generated Node #0,0,0: 45:[47, 5] Operation: 24-19=5
Exploring Operation: 19+24=43, Resulting Numbers: [47, 43]
Generated Node #0,0,1: 45:[47, 43] Operation: 19+24=43
Moving to Node #0,0,0
Current State: 45:[47, 5], Operations: ['86-62=24', '24-19=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[47, 43], Operations: ['86-62=24', '19+24=43']
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,45 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,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:[19, 62, 39], Operations: ['86-47=39']
Exploring Operation: 62-19=43, Resulting Numbers: [39, 43]
Generated Node #0,1,0: 45:[39, 43] Operation: 62-19=43
Exploring Operation: 62-39=23, Resulting Numbers: [19, 23]
Generated Node #0,1,1: 45:[19, 23] Operation: 62-39=23
Moving to Node #0,1,0
Current State: 45:[39, 43], Operations: ['86-47=39', '62-19=43']
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[19, 23], Operations: ['86-47=39', '62-39=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,45 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 |
[
65,
25,
23,
34
] | 82 | [
"25-23=2",
"34/2=17",
"65+17=82"
] | Current State: 82:[65, 25, 23, 34], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [65, 34, 2]
Generated Node #2: [65, 34, 2] from Operation: 25-23=2
Current State: 82:[65, 34, 2], Operations: ['25-23=2']
Exploring Operation: 34/2=17, Resulting Numbers: [65, 17]
Generated Node #3: [65, 17] from Operation: 34/2=17
Current State: 82:[65, 17], Operations: ['25-23=2', '34/2=17']
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[65, 25, 23, 34], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [65, 34, 2]
Generated Node #0,0: 82:[65, 34, 2] Operation: 25-23=2
Exploring Operation: 65-23=42, Resulting Numbers: [25, 34, 42]
Generated Node #0,1: 82:[25, 34, 42] Operation: 65-23=42
Exploring Operation: 65-25=40, Resulting Numbers: [23, 34, 40]
Generated Node #0,2: 82:[23, 34, 40] Operation: 65-25=40
Moving to Node #0,0
Current State: 82:[65, 34, 2], Operations: ['25-23=2']
Exploring Operation: 65-34=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 82:[2, 31] Operation: 65-34=31
Exploring Operation: 65+2=67, Resulting Numbers: [34, 67]
Generated Node #0,0,1: 82:[34, 67] Operation: 65+2=67
Exploring Operation: 65+34=99, Resulting Numbers: [2, 99]
Generated Node #0,0,2: 82:[2, 99] Operation: 65+34=99
Moving to Node #0,1
Current State: 82:[25, 34, 42], Operations: ['65-23=42']
Exploring Operation: 25+34=59, Resulting Numbers: [42, 59]
Generated Node #0,1,0: 82:[42, 59] Operation: 25+34=59
Exploring Operation: 25+42=67, Resulting Numbers: [34, 67]
Generated Node #0,1,1: 82:[34, 67] Operation: 25+42=67
Exploring Operation: 34-25=9, Resulting Numbers: [42, 9]
Generated Node #0,1,2: 82:[42, 9] Operation: 34-25=9
Moving to Node #0,2
Current State: 82:[23, 34, 40], Operations: ['65-25=40']
Exploring Operation: 23+34=57, Resulting Numbers: [40, 57]
Generated Node #0,2,0: 82:[40, 57] Operation: 23+34=57
Exploring Operation: 40-23=17, Resulting Numbers: [34, 17]
Generated Node #0,2,1: 82:[34, 17] Operation: 40-23=17
Exploring Operation: 34-23=11, Resulting Numbers: [40, 11]
Generated Node #0,2,2: 82:[40, 11] Operation: 34-23=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[40, 11], Operations: ['65-25=40', '34-23=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,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,2,0
Current State: 82:[40, 57], Operations: ['65-25=40', '23+34=57']
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,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,2,1
Current State: 82:[34, 17], Operations: ['65-25=40', '40-23=17']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,82 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: 82:[42, 9], Operations: ['65-23=42', '34-25=9']
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[2, 31], Operations: ['25-23=2', '65-34=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,82 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[2, 99], Operations: ['25-23=2', '65+34=99']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,82 unequal: No Solution
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[42, 59], Operations: ['65-23=42', '25+34=59']
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,82 unequal: No Solution
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,82 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[34, 67], Operations: ['65-23=42', '25+42=67']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,82 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[34, 67], Operations: ['25-23=2', '65+2=67']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,82 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,82 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
11,
57,
16,
33
] | 99 | [
"11*57=627",
"16*33=528",
"627-528=99"
] | Current State: 99:[11, 57, 16, 33], Operations: []
Exploring Operation: 11*57=627, Resulting Numbers: [16, 33, 627]
Generated Node #2: [16, 33, 627] from Operation: 11*57=627
Current State: 99:[16, 33, 627], Operations: ['11*57=627']
Exploring Operation: 16*33=528, Resulting Numbers: [627, 528]
Generated Node #3: [627, 528] from Operation: 16*33=528
Current State: 99:[627, 528], Operations: ['11*57=627', '16*33=528']
Exploring Operation: 627-528=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[11, 57, 16, 33], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [57, 33, 5]
Generated Node #0,0: 99:[57, 33, 5] Operation: 16-11=5
Exploring Operation: 57-16=41, Resulting Numbers: [11, 33, 41]
Generated Node #0,1: 99:[11, 33, 41] Operation: 57-16=41
Exploring Operation: 57-33=24, Resulting Numbers: [11, 16, 24]
Generated Node #0,2: 99:[11, 16, 24] Operation: 57-33=24
Exploring Operation: 57-11=46, Resulting Numbers: [16, 33, 46]
Generated Node #0,3: 99:[16, 33, 46] Operation: 57-11=46
Exploring Operation: 57+33=90, Resulting Numbers: [11, 16, 90]
Generated Node #0,4: 99:[11, 16, 90] Operation: 57+33=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[11, 33, 41], Operations: ['57-16=41']
Exploring Operation: 33/11=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 99:[41, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [41, 22]
Generated Node #0,1,1: 99:[41, 22] Operation: 33-11=22
Exploring Operation: 11+33=44, Resulting Numbers: [41, 44]
Generated Node #0,1,2: 99:[41, 44] Operation: 11+33=44
Exploring Operation: 41-33=8, Resulting Numbers: [11, 8]
Generated Node #0,1,3: 99:[11, 8] Operation: 41-33=8
Exploring Operation: 41-11=30, Resulting Numbers: [33, 30]
Generated Node #0,1,4: 99:[33, 30] Operation: 41-11=30
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[11, 8], Operations: ['57-16=41', '41-33=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 99:[33, 30], Operations: ['57-16=41', '41-11=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[41, 3], Operations: ['57-16=41', '33/11=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[41, 22], Operations: ['57-16=41', '33-11=22']
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,99 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[41, 44], Operations: ['57-16=41', '11+33=44']
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,99 unequal: No Solution
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[11, 16, 24], Operations: ['57-33=24']
Exploring Operation: 24-11=13, Resulting Numbers: [16, 13]
Generated Node #0,2,0: 99:[16, 13] Operation: 24-11=13
Exploring Operation: 24-16=8, Resulting Numbers: [11, 8]
Generated Node #0,2,1: 99:[11, 8] Operation: 24-16=8
Exploring Operation: 16+24=40, Resulting Numbers: [11, 40]
Generated Node #0,2,2: 99:[11, 40] Operation: 16+24=40
Exploring Operation: 11+24=35, Resulting Numbers: [16, 35]
Generated Node #0,2,3: 99:[16, 35] Operation: 11+24=35
Exploring Operation: 16-11=5, Resulting Numbers: [24, 5]
Generated Node #0,2,4: 99:[24, 5] Operation: 16-11=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[11, 8], Operations: ['57-33=24', '24-16=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[16, 13], Operations: ['57-33=24', '24-11=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,99 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[11, 40], Operations: ['57-33=24', '16+24=40']
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,99 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[16, 35], Operations: ['57-33=24', '11+24=35']
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,99 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 99:[24, 5], Operations: ['57-33=24', '16-11=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,99 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No 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: 99:[11, 16, 90], Operations: ['57+33=90']
Exploring Operation: 90-11=79, Resulting Numbers: [16, 79]
Generated Node #0,4,0: 99:[16, 79] Operation: 90-11=79
Exploring Operation: 11+16=27, Resulting Numbers: [90, 27]
Generated Node #0,4,1: 99:[90, 27] Operation: 11+16=27
Exploring Operation: 16+90=106, Resulting Numbers: [11, 106]
Generated Node #0,4,2: 99:[11, 106] Operation: 16+90=106
Exploring Operation: 16-11=5, Resulting Numbers: [90, 5]
Generated Node #0,4,3: 99:[90, 5] Operation: 16-11=5
Exploring Operation: 11+90=101, Resulting Numbers: [16, 101]
Generated Node #0,4,4: 99:[16, 101] Operation: 11+90=101
Moving to Node #0,4,2
Current State: 99:[11, 106], Operations: ['57+33=90', '16+90=106']
Exploring Operation: 11+106=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 11*106=1166, Resulting Numbers: [1166]
1166,99 unequal: No Solution
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Moving to Node #0,4,4
Current State: 99:[16, 101], Operations: ['57+33=90', '11+90=101']
Exploring Operation: 16+101=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 101-16=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 16*101=1616, Resulting Numbers: [1616]
1616,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[90, 5], Operations: ['57+33=90', '16-11=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,99 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[90, 27], Operations: ['57+33=90', '11+16=27']
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,99 unequal: No Solution
Moving to Node #0,4,0
Current State: 99:[16, 79], Operations: ['57+33=90', '90-11=79']
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 16*79=1264, Resulting Numbers: [1264]
1264,99 unequal: No Solution
No 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: 99:[16, 33, 46], Operations: ['57-11=46']
Exploring Operation: 33-16=17, Resulting Numbers: [46, 17]
Generated Node #0,3,0: 99:[46, 17] Operation: 33-16=17
Exploring Operation: 33+46=79, Resulting Numbers: [16, 79]
Generated Node #0,3,1: 99:[16, 79] Operation: 33+46=79
Exploring Operation: 46-33=13, Resulting Numbers: [16, 13]
Generated Node #0,3,2: 99:[16, 13] Operation: 46-33=13
Exploring Operation: 46-16=30, Resulting Numbers: [33, 30]
Generated Node #0,3,3: 99:[33, 30] Operation: 46-16=30
Exploring Operation: 16+33=49, Resulting Numbers: [46, 49]
Generated Node #0,3,4: 99:[46, 49] Operation: 16+33=49
Moving to Node #0,3,3
Current State: 99:[33, 30], Operations: ['57-11=46', '46-16=30']
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,99 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[16, 13], Operations: ['57-11=46', '46-33=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,99 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[46, 17], Operations: ['57-11=46', '33-16=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,99 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[16, 79], Operations: ['57-11=46', '33+46=79']
Exploring Operation: 16*79=1264, Resulting Numbers: [1264]
1264,99 unequal: No Solution
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[46, 49], Operations: ['57-11=46', '16+33=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,99 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[57, 33, 5], Operations: ['16-11=5']
Exploring Operation: 57-33=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 99:[5, 24] Operation: 57-33=24
Exploring Operation: 57+5=62, Resulting Numbers: [33, 62]
Generated Node #0,0,1: 99:[33, 62] Operation: 57+5=62
Exploring Operation: 57-5=52, Resulting Numbers: [33, 52]
Generated Node #0,0,2: 99:[33, 52] Operation: 57-5=52
Exploring Operation: 57+33=90, Resulting Numbers: [5, 90]
Generated Node #0,0,3: 99:[5, 90] Operation: 57+33=90
Exploring Operation: 33+5=38, Resulting Numbers: [57, 38]
Generated Node #0,0,4: 99:[57, 38] Operation: 33+5=38
Moving to Node #0,0,0
Current State: 99:[5, 24], Operations: ['16-11=5', '57-33=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,99 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[5, 90], Operations: ['16-11=5', '57+33=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,99 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[33, 52], Operations: ['16-11=5', '57-5=52']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 33*52=1716, Resulting Numbers: [1716]
1716,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[33, 62], Operations: ['16-11=5', '57+5=62']
Exploring Operation: 33*62=2046, Resulting Numbers: [2046]
2046,99 unequal: No Solution
Exploring Operation: 33+62=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,0,4
Current State: 99:[57, 38], Operations: ['16-11=5', '33+5=38']
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,99 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
51,
62,
72
] | 34 | [
"68*72=4896",
"4896/51=96",
"96-62=34"
] | Current State: 34:[68, 51, 62, 72], Operations: []
Exploring Operation: 68*72=4896, Resulting Numbers: [51, 62, 4896]
Generated Node #2: [51, 62, 4896] from Operation: 68*72=4896
Current State: 34:[51, 62, 4896], Operations: ['68*72=4896']
Exploring Operation: 4896/51=96, Resulting Numbers: [62, 96]
Generated Node #3: [62, 96] from Operation: 4896/51=96
Current State: 34:[62, 96], Operations: ['68*72=4896', '4896/51=96']
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[68, 51, 62, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [51, 62, 4]
Generated Node #0,0: 34:[51, 62, 4] Operation: 72-68=4
Exploring Operation: 68-62=6, Resulting Numbers: [51, 72, 6]
Generated Node #0,1: 34:[51, 72, 6] Operation: 68-62=6
Exploring Operation: 72-62=10, Resulting Numbers: [68, 51, 10]
Generated Node #0,2: 34:[68, 51, 10] Operation: 72-62=10
Moving to Node #0,0
Current State: 34:[51, 62, 4], Operations: ['72-68=4']
Exploring Operation: 51-4=47, Resulting Numbers: [62, 47]
Generated Node #0,0,0: 34:[62, 47] Operation: 51-4=47
Exploring Operation: 62-4=58, Resulting Numbers: [51, 58]
Generated Node #0,0,1: 34:[51, 58] Operation: 62-4=58
Exploring Operation: 62-51=11, Resulting Numbers: [4, 11]
Generated Node #0,0,2: 34:[4, 11] Operation: 62-51=11
Moving to Node #0,2
Current State: 34:[68, 51, 10], Operations: ['72-62=10']
Exploring Operation: 68-51=17, Resulting Numbers: [10, 17]
Generated Node #0,2,0: 34:[10, 17] Operation: 68-51=17
Exploring Operation: 68-10=58, Resulting Numbers: [51, 58]
Generated Node #0,2,1: 34:[51, 58] Operation: 68-10=58
Exploring Operation: 51-10=41, Resulting Numbers: [68, 41]
Generated Node #0,2,2: 34:[68, 41] Operation: 51-10=41
Moving to Node #0,1
Current State: 34:[51, 72, 6], Operations: ['68-62=6']
Exploring Operation: 72-51=21, Resulting Numbers: [6, 21]
Generated Node #0,1,0: 34:[6, 21] Operation: 72-51=21
Exploring Operation: 72/6=12, Resulting Numbers: [51, 12]
Generated Node #0,1,1: 34:[51, 12] Operation: 72/6=12
Exploring Operation: 51-6=45, Resulting Numbers: [72, 45]
Generated Node #0,1,2: 34:[72, 45] Operation: 51-6=45
Moving to Node #0,2,0
Current State: 34:[10, 17], Operations: ['72-62=10', '68-51=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,34 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[6, 21], Operations: ['68-62=6', '72-51=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[4, 11], Operations: ['72-68=4', '62-51=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[51, 12], Operations: ['68-62=6', '72/6=12']
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,34 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[51, 58], Operations: ['72-68=4', '62-4=58']
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[68, 41], Operations: ['72-62=10', '51-10=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,34 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[51, 58], Operations: ['72-62=10', '68-10=58']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,34 unequal: No Solution
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[62, 47], Operations: ['72-68=4', '51-4=47']
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 62*47=2914, Resulting Numbers: [2914]
2914,34 unequal: No Solution
Exploring Operation: 62+47=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[72, 45], Operations: ['68-62=6', '51-6=45']
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,34 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,34 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
16,
24,
32,
64
] | 40 | [
"24-16=8",
"64-32=32",
"8+32=40"
] | Current State: 40:[16, 24, 32, 64], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [32, 64, 8]
Generated Node #2: [32, 64, 8] from Operation: 24-16=8
Current State: 40:[32, 64, 8], Operations: ['24-16=8']
Exploring Operation: 64-32=32, Resulting Numbers: [8, 32]
Generated Node #3: [8, 32] from Operation: 64-32=32
Current State: 40:[8, 32], Operations: ['24-16=8', '64-32=32']
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[16, 24, 32, 64], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [16, 24, 2]
Generated Node #0,0: 40:[16, 24, 2] Operation: 64/32=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[16, 24, 2], Operations: ['64/32=2']
Exploring Operation: 16+24=40, Resulting Numbers: [2, 40]
Generated Node #0,0,0: 40:[2, 40] Operation: 16+24=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[2, 40], Operations: ['64/32=2', '16+24=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,40 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 | sum_heuristic |
[
27,
67,
20,
49
] | 65 | [
"27+67=94",
"49-20=29",
"94-29=65"
] | Current State: 65:[27, 67, 20, 49], Operations: []
Exploring Operation: 27+67=94, Resulting Numbers: [20, 49, 94]
Generated Node #2: [20, 49, 94] from Operation: 27+67=94
Current State: 65:[20, 49, 94], Operations: ['27+67=94']
Exploring Operation: 49-20=29, Resulting Numbers: [94, 29]
Generated Node #3: [94, 29] from Operation: 49-20=29
Current State: 65:[94, 29], Operations: ['27+67=94', '49-20=29']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[27, 67, 20, 49], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [27, 20, 18]
Generated Node #0,0: 65:[27, 20, 18] Operation: 67-49=18
Exploring Operation: 27+49=76, Resulting Numbers: [67, 20, 76]
Generated Node #0,1: 65:[67, 20, 76] Operation: 27+49=76
Exploring Operation: 20+49=69, Resulting Numbers: [27, 67, 69]
Generated Node #0,2: 65:[27, 67, 69] Operation: 20+49=69
Exploring Operation: 27-20=7, Resulting Numbers: [67, 49, 7]
Generated Node #0,3: 65:[67, 49, 7] Operation: 27-20=7
Exploring Operation: 49-27=22, Resulting Numbers: [67, 20, 22]
Generated Node #0,4: 65:[67, 20, 22] Operation: 49-27=22
Moving to Node #0,4
Current State: 65:[67, 20, 22], Operations: ['49-27=22']
Exploring Operation: 67-22=45, Resulting Numbers: [20, 45]
Generated Node #0,4,0: 65:[20, 45] Operation: 67-22=45
Exploring Operation: 67+20=87, Resulting Numbers: [22, 87]
Generated Node #0,4,1: 65:[22, 87] Operation: 67+20=87
Exploring Operation: 22-20=2, Resulting Numbers: [67, 2]
Generated Node #0,4,2: 65:[67, 2] Operation: 22-20=2
Exploring Operation: 67-20=47, Resulting Numbers: [22, 47]
Generated Node #0,4,3: 65:[22, 47] Operation: 67-20=47
Exploring Operation: 20+22=42, Resulting Numbers: [67, 42]
Generated Node #0,4,4: 65:[67, 42] Operation: 20+22=42
Moving to Node #0,2
Current State: 65:[27, 67, 69], Operations: ['20+49=69']
Exploring Operation: 27+67=94, Resulting Numbers: [69, 94]
Generated Node #0,2,0: 65:[69, 94] Operation: 27+67=94
Exploring Operation: 67-27=40, Resulting Numbers: [69, 40]
Generated Node #0,2,1: 65:[69, 40] Operation: 67-27=40
Exploring Operation: 69-67=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 65:[27, 2] Operation: 69-67=2
Exploring Operation: 27+69=96, Resulting Numbers: [67, 96]
Generated Node #0,2,3: 65:[67, 96] Operation: 27+69=96
Exploring Operation: 69-27=42, Resulting Numbers: [67, 42]
Generated Node #0,2,4: 65:[67, 42] Operation: 69-27=42
Moving to Node #0,1
Current State: 65:[67, 20, 76], Operations: ['27+49=76']
Exploring Operation: 76-20=56, Resulting Numbers: [67, 56]
Generated Node #0,1,0: 65:[67, 56] Operation: 76-20=56
Exploring Operation: 67-20=47, Resulting Numbers: [76, 47]
Generated Node #0,1,1: 65:[76, 47] Operation: 67-20=47
Exploring Operation: 76-67=9, Resulting Numbers: [20, 9]
Generated Node #0,1,2: 65:[20, 9] Operation: 76-67=9
Exploring Operation: 67+20=87, Resulting Numbers: [76, 87]
Generated Node #0,1,3: 65:[76, 87] Operation: 67+20=87
Exploring Operation: 20+76=96, Resulting Numbers: [67, 96]
Generated Node #0,1,4: 65:[67, 96] Operation: 20+76=96
Moving to Node #0,3
Current State: 65:[67, 49, 7], Operations: ['27-20=7']
Exploring Operation: 67+7=74, Resulting Numbers: [49, 74]
Generated Node #0,3,0: 65:[49, 74] Operation: 67+7=74
Exploring Operation: 67-49=18, Resulting Numbers: [7, 18]
Generated Node #0,3,1: 65:[7, 18] Operation: 67-49=18
Exploring Operation: 67-7=60, Resulting Numbers: [49, 60]
Generated Node #0,3,2: 65:[49, 60] Operation: 67-7=60
Exploring Operation: 49/7=7, Resulting Numbers: [67, 7]
Generated Node #0,3,3: 65:[67, 7] Operation: 49/7=7
Exploring Operation: 49+7=56, Resulting Numbers: [67, 56]
Generated Node #0,3,4: 65:[67, 56] Operation: 49+7=56
Moving to Node #0,0
Current State: 65:[27, 20, 18], Operations: ['67-49=18']
Exploring Operation: 27+20=47, Resulting Numbers: [18, 47]
Generated Node #0,0,0: 65:[18, 47] Operation: 27+20=47
Exploring Operation: 27+18=45, Resulting Numbers: [20, 45]
Generated Node #0,0,1: 65:[20, 45] Operation: 27+18=45
Exploring Operation: 27-18=9, Resulting Numbers: [20, 9]
Generated Node #0,0,2: 65:[20, 9] Operation: 27-18=9
Exploring Operation: 20-18=2, Resulting Numbers: [27, 2]
Generated Node #0,0,3: 65:[27, 2] Operation: 20-18=2
Exploring Operation: 27-20=7, Resulting Numbers: [18, 7]
Generated Node #0,0,4: 65:[18, 7] Operation: 27-20=7
Moving to Node #0,3,3
Current State: 65:[67, 7], Operations: ['27-20=7', '49/7=7']
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,65 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[67, 2], Operations: ['49-27=22', '22-20=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[27, 67, 20, 49], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [67, 20, 22]
Generated Node #0,4: 65:[67, 20, 22] Operation: 49-27=22
Moving to Node #0,4
Current State: 65:[67, 20, 22], Operations: ['49-27=22']
Exploring Operation: 22-20=2, Resulting Numbers: [67, 2]
Generated Node #0,4,2: 65:[67, 2] Operation: 22-20=2
Moving to Node #0,4,2
Current State: 65:[67, 2], Operations: ['49-27=22', '22-20=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.967014 | hs_5 | mult_heuristic |
[
2,
70,
19,
93
] | 28 | [
"2*70=140",
"19+93=112",
"140-112=28"
] | Current State: 28:[2, 70, 19, 93], Operations: []
Exploring Operation: 2*70=140, Resulting Numbers: [19, 93, 140]
Generated Node #2: [19, 93, 140] from Operation: 2*70=140
Current State: 28:[19, 93, 140], Operations: ['2*70=140']
Exploring Operation: 19+93=112, Resulting Numbers: [140, 112]
Generated Node #3: [140, 112] from Operation: 19+93=112
Current State: 28:[140, 112], Operations: ['2*70=140', '19+93=112']
Exploring Operation: 140-112=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 70, 19, 93], Operations: []
Exploring Operation: 70-19=51, Resulting Numbers: [2, 93, 51]
Generated Node #0,0: 28:[2, 93, 51] Operation: 70-19=51
Exploring Operation: 93-70=23, Resulting Numbers: [2, 19, 23]
Generated Node #0,1: 28:[2, 19, 23] Operation: 93-70=23
Exploring Operation: 70/2=35, Resulting Numbers: [19, 93, 35]
Generated Node #0,2: 28:[19, 93, 35] Operation: 70/2=35
Exploring Operation: 93-19=74, Resulting Numbers: [2, 70, 74]
Generated Node #0,3: 28:[2, 70, 74] Operation: 93-19=74
Moving to Node #0,1
Current State: 28:[2, 19, 23], Operations: ['93-70=23']
Exploring Operation: 2+19=21, Resulting Numbers: [23, 21]
Generated Node #0,1,0: 28:[23, 21] Operation: 2+19=21
Exploring Operation: 19-2=17, Resulting Numbers: [23, 17]
Generated Node #0,1,1: 28:[23, 17] Operation: 19-2=17
Exploring Operation: 2+23=25, Resulting Numbers: [19, 25]
Generated Node #0,1,2: 28:[19, 25] Operation: 2+23=25
Exploring Operation: 23-19=4, Resulting Numbers: [2, 4]
Generated Node #0,1,3: 28:[2, 4] Operation: 23-19=4
Moving to Node #0,2
Current State: 28:[19, 93, 35], Operations: ['70/2=35']
Exploring Operation: 93-19=74, Resulting Numbers: [35, 74]
Generated Node #0,2,0: 28:[35, 74] Operation: 93-19=74
Exploring Operation: 35-19=16, Resulting Numbers: [93, 16]
Generated Node #0,2,1: 28:[93, 16] Operation: 35-19=16
Exploring Operation: 19+93=112, Resulting Numbers: [35, 112]
Generated Node #0,2,2: 28:[35, 112] Operation: 19+93=112
Exploring Operation: 93-35=58, Resulting Numbers: [19, 58]
Generated Node #0,2,3: 28:[19, 58] Operation: 93-35=58
Moving to Node #0,3
Current State: 28:[2, 70, 74], Operations: ['93-19=74']
Exploring Operation: 70-2=68, Resulting Numbers: [74, 68]
Generated Node #0,3,0: 28:[74, 68] Operation: 70-2=68
Exploring Operation: 74-70=4, Resulting Numbers: [2, 4]
Generated Node #0,3,1: 28:[2, 4] Operation: 74-70=4
Exploring Operation: 74/2=37, Resulting Numbers: [70, 37]
Generated Node #0,3,2: 28:[70, 37] Operation: 74/2=37
Exploring Operation: 70/2=35, Resulting Numbers: [74, 35]
Generated Node #0,3,3: 28:[74, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[2, 4], Operations: ['93-19=74', '74-70=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,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,3,2
Current State: 28:[70, 37], Operations: ['93-19=74', '74/2=37']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,28 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,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,3,3
Current State: 28:[74, 35], Operations: ['93-19=74', '70/2=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,28 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,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,3,0
Current State: 28:[74, 68], Operations: ['93-19=74', '70-2=68']
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,28 unequal: No Solution
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,28 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,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:[2, 93, 51], Operations: ['70-19=51']
Exploring Operation: 51-2=49, Resulting Numbers: [93, 49]
Generated Node #0,0,0: 28:[93, 49] Operation: 51-2=49
Exploring Operation: 2+93=95, Resulting Numbers: [51, 95]
Generated Node #0,0,1: 28:[51, 95] Operation: 2+93=95
Exploring Operation: 93-2=91, Resulting Numbers: [51, 91]
Generated Node #0,0,2: 28:[51, 91] Operation: 93-2=91
Exploring Operation: 93-51=42, Resulting Numbers: [2, 42]
Generated Node #0,0,3: 28:[2, 42] Operation: 93-51=42
Moving to Node #0,1,3
Current State: 28:[2, 4], Operations: ['93-70=23', '23-19=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[19, 25], Operations: ['93-70=23', '2+23=25']
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,28 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[23, 17], Operations: ['93-70=23', '19-2=17']
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,28 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[23, 21], Operations: ['93-70=23', '2+19=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[2, 42], Operations: ['70-19=51', '93-51=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,28 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[19, 58], Operations: ['70/2=35', '93-35=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[35, 74], Operations: ['70/2=35', '93-19=74']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,28 unequal: No Solution
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[93, 16], Operations: ['70/2=35', '35-19=16']
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[93, 49], Operations: ['70-19=51', '51-2=49']
Exploring Operation: 93+49=142, Resulting Numbers: [142]
142,28 unequal: No Solution
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 93*49=4557, Resulting Numbers: [4557]
4557,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[51, 91], Operations: ['70-19=51', '93-2=91']
Exploring Operation: 51+91=142, Resulting Numbers: [142]
142,28 unequal: No Solution
Exploring Operation: 51*91=4641, Resulting Numbers: [4641]
4641,28 unequal: No Solution
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[51, 95], Operations: ['70-19=51', '2+93=95']
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 51*95=4845, Resulting Numbers: [4845]
4845,28 unequal: No Solution
Exploring Operation: 51+95=146, Resulting Numbers: [146]
146,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[35, 112], Operations: ['70/2=35', '19+93=112']
Exploring Operation: 112-35=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 35*112=3920, Resulting Numbers: [3920]
3920,28 unequal: No Solution
Exploring Operation: 35+112=147, Resulting Numbers: [147]
147,28 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
68,
85,
15,
85
] | 52 | [
"68-15=53",
"85/85=1",
"53-1=52"
] | Current State: 52:[68, 85, 15, 85], Operations: []
Exploring Operation: 68-15=53, Resulting Numbers: [85, 85, 53]
Generated Node #2: [85, 85, 53] from Operation: 68-15=53
Current State: 52:[85, 85, 53], Operations: ['68-15=53']
Exploring Operation: 85/85=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 85/85=1
Current State: 52:[53, 1], Operations: ['68-15=53', '85/85=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[68, 85, 15, 85], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [68, 15, 1]
Generated Node #0,0: 52:[68, 15, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[68, 15, 1], Operations: ['85/85=1']
Exploring Operation: 68-15=53, Resulting Numbers: [1, 53]
Generated Node #0,0,0: 52:[1, 53] Operation: 68-15=53
Moving to Node #0,0,0
Current State: 52:[1, 53], Operations: ['85/85=1', '68-15=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[68, 85, 15, 85], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [68, 15, 1]
Generated Node #0,0: 52:[68, 15, 1] Operation: 85/85=1
Moving to Node #0,0
Current State: 52:[68, 15, 1], Operations: ['85/85=1']
Exploring Operation: 68-15=53, Resulting Numbers: [1, 53]
Generated Node #0,0,0: 52:[1, 53] Operation: 68-15=53
Moving to Node #0,0,0
Current State: 52:[1, 53], Operations: ['85/85=1', '68-15=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
19,
51,
13,
64
] | 62 | [
"51-13=38",
"38/19=2",
"64-2=62"
] | Current State: 62:[19, 51, 13, 64], Operations: []
Exploring Operation: 51-13=38, Resulting Numbers: [19, 64, 38]
Generated Node #2: [19, 64, 38] from Operation: 51-13=38
Current State: 62:[19, 64, 38], Operations: ['51-13=38']
Exploring Operation: 38/19=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 38/19=2
Current State: 62:[64, 2], Operations: ['51-13=38', '38/19=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[19, 51, 13, 64], Operations: []
Exploring Operation: 51+13=64, Resulting Numbers: [19, 64, 64]
Generated Node #0,0: 62:[19, 64, 64] Operation: 51+13=64
Exploring Operation: 19+13=32, Resulting Numbers: [51, 64, 32]
Generated Node #0,1: 62:[51, 64, 32] Operation: 19+13=32
Exploring Operation: 51-19=32, Resulting Numbers: [13, 64, 32]
Generated Node #0,2: 62:[13, 64, 32] Operation: 51-19=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[51, 64, 32], Operations: ['19+13=32']
Exploring Operation: 64/32=2, Resulting Numbers: [51, 2]
Generated Node #0,1,0: 62:[51, 2] Operation: 64/32=2
Exploring Operation: 64-51=13, Resulting Numbers: [32, 13]
Generated Node #0,1,1: 62:[32, 13] Operation: 64-51=13
Exploring Operation: 64-32=32, Resulting Numbers: [51, 32]
Generated Node #0,1,2: 62:[51, 32] Operation: 64-32=32
Moving to Node #0,1,0
Current State: 62:[51, 2], Operations: ['19+13=32', '64/32=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[32, 13], Operations: ['19+13=32', '64-51=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,62 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[51, 32], Operations: ['19+13=32', '64-32=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[13, 64, 32], Operations: ['51-19=32']
Exploring Operation: 64/32=2, Resulting Numbers: [13, 2]
Generated Node #0,2,0: 62:[13, 2] Operation: 64/32=2
Exploring Operation: 64-13=51, Resulting Numbers: [32, 51]
Generated Node #0,2,1: 62:[32, 51] Operation: 64-13=51
Exploring Operation: 64-32=32, Resulting Numbers: [13, 32]
Generated Node #0,2,2: 62:[13, 32] Operation: 64-32=32
Moving to Node #0,2,0
Current State: 62:[13, 2], Operations: ['51-19=32', '64/32=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[32, 51], Operations: ['51-19=32', '64-13=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,62 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[13, 32], Operations: ['51-19=32', '64-32=32']
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,62 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[19, 64, 64], Operations: ['51+13=64']
Exploring Operation: 64-64=0, Resulting Numbers: [19, 0]
Generated Node #0,0,0: 62:[19, 0] Operation: 64-64=0
Exploring Operation: 64-19=45, Resulting Numbers: [64, 45]
Generated Node #0,0,1: 62:[64, 45] Operation: 64-19=45
Exploring Operation: 64/64=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 62:[19, 1] Operation: 64/64=1
Moving to Node #0,0,2
Current State: 62:[19, 1], Operations: ['51+13=64', '64/64=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[19, 0], Operations: ['51+13=64', '64-64=0']
Exploring Operation: 19-0=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 19*0=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[64, 45], Operations: ['51+13=64', '64-19=45']
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 64*45=2880, Resulting Numbers: [2880]
2880,62 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,62 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 |
[
68,
66,
78,
9
] | 85 | [
"68-66=2",
"78+9=87",
"87-2=85"
] | Current State: 85:[68, 66, 78, 9], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [78, 9, 2]
Generated Node #2: [78, 9, 2] from Operation: 68-66=2
Current State: 85:[78, 9, 2], Operations: ['68-66=2']
Exploring Operation: 78+9=87, Resulting Numbers: [2, 87]
Generated Node #3: [2, 87] from Operation: 78+9=87
Current State: 85:[2, 87], Operations: ['68-66=2', '78+9=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[68, 66, 78, 9], Operations: []
Exploring Operation: 68+9=77, Resulting Numbers: [66, 78, 77]
Generated Node #0,0: 85:[66, 78, 77] Operation: 68+9=77
Exploring Operation: 78-66=12, Resulting Numbers: [68, 9, 12]
Generated Node #0,1: 85:[68, 9, 12] Operation: 78-66=12
Exploring Operation: 68-66=2, Resulting Numbers: [78, 9, 2]
Generated Node #0,2: 85:[78, 9, 2] Operation: 68-66=2
Exploring Operation: 78-68=10, Resulting Numbers: [66, 9, 10]
Generated Node #0,3: 85:[66, 9, 10] Operation: 78-68=10
Exploring Operation: 66+9=75, Resulting Numbers: [68, 78, 75]
Generated Node #0,4: 85:[68, 78, 75] Operation: 66+9=75
Moving to Node #0,2
Current State: 85:[78, 9, 2], Operations: ['68-66=2']
Exploring Operation: 78+9=87, Resulting Numbers: [2, 87]
Generated Node #0,2,0: 85:[2, 87] Operation: 78+9=87
Exploring Operation: 78+2=80, Resulting Numbers: [9, 80]
Generated Node #0,2,1: 85:[9, 80] Operation: 78+2=80
Exploring Operation: 9*2=18, Resulting Numbers: [78, 18]
Generated Node #0,2,2: 85:[78, 18] Operation: 9*2=18
Exploring Operation: 9-2=7, Resulting Numbers: [78, 7]
Generated Node #0,2,3: 85:[78, 7] Operation: 9-2=7
Exploring Operation: 78-2=76, Resulting Numbers: [9, 76]
Generated Node #0,2,4: 85:[9, 76] Operation: 78-2=76
Moving to Node #0,1
Current State: 85:[68, 9, 12], Operations: ['78-66=12']
Exploring Operation: 12-9=3, Resulting Numbers: [68, 3]
Generated Node #0,1,0: 85:[68, 3] Operation: 12-9=3
Exploring Operation: 68+12=80, Resulting Numbers: [9, 80]
Generated Node #0,1,1: 85:[9, 80] Operation: 68+12=80
Exploring Operation: 68+9=77, Resulting Numbers: [12, 77]
Generated Node #0,1,2: 85:[12, 77] Operation: 68+9=77
Exploring Operation: 9+12=21, Resulting Numbers: [68, 21]
Generated Node #0,1,3: 85:[68, 21] Operation: 9+12=21
Exploring Operation: 68-9=59, Resulting Numbers: [12, 59]
Generated Node #0,1,4: 85:[12, 59] Operation: 68-9=59
Moving to Node #0,3
Current State: 85:[66, 9, 10], Operations: ['78-68=10']
Exploring Operation: 66+9=75, Resulting Numbers: [10, 75]
Generated Node #0,3,0: 85:[10, 75] Operation: 66+9=75
Exploring Operation: 9*10=90, Resulting Numbers: [66, 90]
Generated Node #0,3,1: 85:[66, 90] Operation: 9*10=90
Exploring Operation: 9+10=19, Resulting Numbers: [66, 19]
Generated Node #0,3,2: 85:[66, 19] Operation: 9+10=19
Exploring Operation: 66+10=76, Resulting Numbers: [9, 76]
Generated Node #0,3,3: 85:[9, 76] Operation: 66+10=76
Exploring Operation: 10-9=1, Resulting Numbers: [66, 1]
Generated Node #0,3,4: 85:[66, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[9, 76], Operations: ['78-68=10', '66+10=76']
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[68, 66, 78, 9], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [66, 9, 10]
Generated Node #0,3: 85:[66, 9, 10] Operation: 78-68=10
Moving to Node #0,3
Current State: 85:[66, 9, 10], Operations: ['78-68=10']
Exploring Operation: 66+10=76, Resulting Numbers: [9, 76]
Generated Node #0,3,3: 85:[9, 76] Operation: 66+10=76
Moving to Node #0,3,3
Current State: 85:[9, 76], Operations: ['78-68=10', '66+10=76']
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
56,
83,
46,
85
] | 43 | [
"83+85=168",
"168/56=3",
"46-3=43"
] | Current State: 43:[56, 83, 46, 85], Operations: []
Exploring Operation: 83+85=168, Resulting Numbers: [56, 46, 168]
Generated Node #2: [56, 46, 168] from Operation: 83+85=168
Current State: 43:[56, 46, 168], Operations: ['83+85=168']
Exploring Operation: 168/56=3, Resulting Numbers: [46, 3]
Generated Node #3: [46, 3] from Operation: 168/56=3
Current State: 43:[46, 3], Operations: ['83+85=168', '168/56=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[56, 83, 46, 85], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [46, 85, 27]
Generated Node #0,0: 43:[46, 85, 27] Operation: 83-56=27
Exploring Operation: 85-46=39, Resulting Numbers: [56, 83, 39]
Generated Node #0,1: 43:[56, 83, 39] Operation: 85-46=39
Exploring Operation: 85-56=29, Resulting Numbers: [83, 46, 29]
Generated Node #0,2: 43:[83, 46, 29] Operation: 85-56=29
Exploring Operation: 85-83=2, Resulting Numbers: [56, 46, 2]
Generated Node #0,3: 43:[56, 46, 2] Operation: 85-83=2
Moving to Node #0,1
Current State: 43:[56, 83, 39], Operations: ['85-46=39']
Exploring Operation: 56-39=17, Resulting Numbers: [83, 17]
Generated Node #0,1,0: 43:[83, 17] Operation: 56-39=17
Exploring Operation: 83-39=44, Resulting Numbers: [56, 44]
Generated Node #0,1,1: 43:[56, 44] Operation: 83-39=44
Exploring Operation: 83-56=27, Resulting Numbers: [39, 27]
Generated Node #0,1,2: 43:[39, 27] Operation: 83-56=27
Exploring Operation: 56+39=95, Resulting Numbers: [83, 95]
Generated Node #0,1,3: 43:[83, 95] Operation: 56+39=95
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[56, 44], Operations: ['85-46=39', '83-39=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,43 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,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:[39, 27], Operations: ['85-46=39', '83-56=27']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,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,0
Current State: 43:[83, 17], Operations: ['85-46=39', '56-39=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,43 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[83, 95], Operations: ['85-46=39', '56+39=95']
Exploring Operation: 95-83=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 83*95=7885, Resulting Numbers: [7885]
7885,43 unequal: No Solution
Exploring Operation: 83+95=178, Resulting Numbers: [178]
178,43 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: 43:[56, 46, 2], Operations: ['85-83=2']
Exploring Operation: 46-2=44, Resulting Numbers: [56, 44]
Generated Node #0,3,0: 43:[56, 44] Operation: 46-2=44
Exploring Operation: 56+2=58, Resulting Numbers: [46, 58]
Generated Node #0,3,1: 43:[46, 58] Operation: 56+2=58
Exploring Operation: 56/2=28, Resulting Numbers: [46, 28]
Generated Node #0,3,2: 43:[46, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [46, 54]
Generated Node #0,3,3: 43:[46, 54] Operation: 56-2=54
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[56, 44], Operations: ['85-83=2', '46-2=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[46, 54], Operations: ['85-83=2', '56-2=54']
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,43 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[46, 58], Operations: ['85-83=2', '56+2=58']
Exploring Operation: 46*58=2668, Resulting Numbers: [2668]
2668,43 unequal: No Solution
Exploring Operation: 46+58=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[46, 28], Operations: ['85-83=2', '56/2=28']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 46*28=1288, Resulting Numbers: [1288]
1288,43 unequal: No Solution
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 43:[83, 46, 29], Operations: ['85-56=29']
Exploring Operation: 46-29=17, Resulting Numbers: [83, 17]
Generated Node #0,2,0: 43:[83, 17] Operation: 46-29=17
Exploring Operation: 83+29=112, Resulting Numbers: [46, 112]
Generated Node #0,2,1: 43:[46, 112] Operation: 83+29=112
Exploring Operation: 83-46=37, Resulting Numbers: [29, 37]
Generated Node #0,2,2: 43:[29, 37] Operation: 83-46=37
Exploring Operation: 83-29=54, Resulting Numbers: [46, 54]
Generated Node #0,2,3: 43:[46, 54] Operation: 83-29=54
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 43:[46, 54], Operations: ['85-56=29', '83-29=54']
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,43 unequal: No Solution
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,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,2,2
Current State: 43:[29, 37], Operations: ['85-56=29', '83-46=37']
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,43 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,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,2,0
Current State: 43:[83, 17], Operations: ['85-56=29', '46-29=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,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,2,1
Current State: 43:[46, 112], Operations: ['85-56=29', '83+29=112']
Exploring Operation: 46+112=158, Resulting Numbers: [158]
158,43 unequal: No Solution
Exploring Operation: 46*112=5152, Resulting Numbers: [5152]
5152,43 unequal: No Solution
Exploring Operation: 112-46=66, Resulting Numbers: [66]
66,43 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: 43:[46, 85, 27], Operations: ['83-56=27']
Exploring Operation: 46+27=73, Resulting Numbers: [85, 73]
Generated Node #0,0,0: 43:[85, 73] Operation: 46+27=73
Exploring Operation: 46-27=19, Resulting Numbers: [85, 19]
Generated Node #0,0,1: 43:[85, 19] Operation: 46-27=19
Exploring Operation: 85-27=58, Resulting Numbers: [46, 58]
Generated Node #0,0,2: 43:[46, 58] Operation: 85-27=58
Exploring Operation: 85-46=39, Resulting Numbers: [27, 39]
Generated Node #0,0,3: 43:[27, 39] Operation: 85-46=39
Moving to Node #0,0,2
Current State: 43:[46, 58], Operations: ['83-56=27', '85-27=58']
Exploring Operation: 46+58=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 46*58=2668, Resulting Numbers: [2668]
2668,43 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[27, 39], Operations: ['83-56=27', '85-46=39']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,43 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[85, 19], Operations: ['83-56=27', '46-27=19']
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[85, 73], Operations: ['83-56=27', '46+27=73']
Exploring Operation: 85*73=6205, Resulting Numbers: [6205]
6205,43 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,43 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
7,
46,
25
] | 91 | [
"46-25=21",
"7*21=147",
"147-56=91"
] | Current State: 91:[56, 7, 46, 25], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [56, 7, 21]
Generated Node #2: [56, 7, 21] from Operation: 46-25=21
Current State: 91:[56, 7, 21], Operations: ['46-25=21']
Exploring Operation: 7*21=147, Resulting Numbers: [56, 147]
Generated Node #3: [56, 147] from Operation: 7*21=147
Current State: 91:[56, 147], Operations: ['46-25=21', '7*21=147']
Exploring Operation: 147-56=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[56, 7, 46, 25], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [7, 25, 10]
Generated Node #0,0: 91:[7, 25, 10] Operation: 56-46=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[7, 25, 10], Operations: ['56-46=10']
Exploring Operation: 25-10=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 91:[7, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[7, 15], Operations: ['56-46=10', '25-10=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
36,
55,
65
] | 30 | [
"55+65=120",
"120/20=6",
"36-6=30"
] | Current State: 30:[20, 36, 55, 65], Operations: []
Exploring Operation: 55+65=120, Resulting Numbers: [20, 36, 120]
Generated Node #2: [20, 36, 120] from Operation: 55+65=120
Current State: 30:[20, 36, 120], Operations: ['55+65=120']
Exploring Operation: 120/20=6, Resulting Numbers: [36, 6]
Generated Node #3: [36, 6] from Operation: 120/20=6
Current State: 30:[36, 6], Operations: ['55+65=120', '120/20=6']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[20, 36, 55, 65], Operations: []
Exploring Operation: 65-55=10, Resulting Numbers: [20, 36, 10]
Generated Node #0,0: 30:[20, 36, 10] Operation: 65-55=10
Exploring Operation: 55-36=19, Resulting Numbers: [20, 65, 19]
Generated Node #0,1: 30:[20, 65, 19] Operation: 55-36=19
Exploring Operation: 65-36=29, Resulting Numbers: [20, 55, 29]
Generated Node #0,2: 30:[20, 55, 29] Operation: 65-36=29
Moving to Node #0,0
Current State: 30:[20, 36, 10], Operations: ['65-55=10']
Exploring Operation: 20+10=30, Resulting Numbers: [36, 30]
Generated Node #0,0,0: 30:[36, 30] Operation: 20+10=30
Exploring Operation: 36-20=16, Resulting Numbers: [10, 16]
Generated Node #0,0,1: 30:[10, 16] Operation: 36-20=16
Exploring Operation: 20-10=10, Resulting Numbers: [36, 10]
Generated Node #0,0,2: 30:[36, 10] Operation: 20-10=10
Moving to Node #0,2
Current State: 30:[20, 55, 29], Operations: ['65-36=29']
Exploring Operation: 29-20=9, Resulting Numbers: [55, 9]
Generated Node #0,2,0: 30:[55, 9] Operation: 29-20=9
Exploring Operation: 55-20=35, Resulting Numbers: [29, 35]
Generated Node #0,2,1: 30:[29, 35] Operation: 55-20=35
Exploring Operation: 55-29=26, Resulting Numbers: [20, 26]
Generated Node #0,2,2: 30:[20, 26] Operation: 55-29=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[29, 35], Operations: ['65-36=29', '55-20=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,30 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,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:[20, 26], Operations: ['65-36=29', '55-29=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,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:[55, 9], Operations: ['65-36=29', '29-20=9']
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,30 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,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:[20, 65, 19], Operations: ['55-36=19']
Exploring Operation: 20-19=1, Resulting Numbers: [65, 1]
Generated Node #0,1,0: 30:[65, 1] Operation: 20-19=1
Exploring Operation: 65-20=45, Resulting Numbers: [19, 45]
Generated Node #0,1,1: 30:[19, 45] Operation: 65-20=45
Exploring Operation: 65-19=46, Resulting Numbers: [20, 46]
Generated Node #0,1,2: 30:[20, 46] Operation: 65-19=46
Moving to Node #0,0,1
Current State: 30:[10, 16], Operations: ['65-55=10', '36-20=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[36, 10], Operations: ['65-55=10', '20-10=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,30 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[36, 30], Operations: ['65-55=10', '20+10=30']
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[19, 45], Operations: ['55-36=19', '65-20=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,30 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[20, 46], Operations: ['55-36=19', '65-19=46']
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[65, 1], Operations: ['55-36=19', '20-19=1']
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,30 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
18,
70,
68
] | 70 | [
"68-68=0",
"18*0=0",
"70+0=70"
] | Current State: 70:[68, 18, 70, 68], Operations: []
Exploring Operation: 68-68=0, Resulting Numbers: [18, 70, 0]
Generated Node #2: [18, 70, 0] from Operation: 68-68=0
Current State: 70:[18, 70, 0], Operations: ['68-68=0']
Exploring Operation: 18*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 18*0=0
Current State: 70:[70, 0], Operations: ['68-68=0', '18*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 18, 70, 68], Operations: []
Exploring Operation: 68-68=0, Resulting Numbers: [18, 70, 0]
Generated Node #0,0: 70:[18, 70, 0] Operation: 68-68=0
Exploring Operation: 68/68=1, Resulting Numbers: [18, 70, 1]
Generated Node #0,1: 70:[18, 70, 1] Operation: 68/68=1
Exploring Operation: 70-68=2, Resulting Numbers: [68, 18, 2]
Generated Node #0,2: 70:[68, 18, 2] Operation: 70-68=2
Exploring Operation: 70-68=2, Resulting Numbers: [18, 68, 2]
Generated Node #0,3: 70:[18, 68, 2] Operation: 70-68=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[18, 70, 1], Operations: ['68/68=1']
Exploring Operation: 18-1=17, Resulting Numbers: [70, 17]
Generated Node #0,1,0: 70:[70, 17] Operation: 18-1=17
Exploring Operation: 18/1=18, Resulting Numbers: [70, 18]
Generated Node #0,1,1: 70:[70, 18] Operation: 18/1=18
Exploring Operation: 18*1=18, Resulting Numbers: [70, 18]
Generated Node #0,1,2: 70:[70, 18] Operation: 18*1=18
Exploring Operation: 70*1=70, Resulting Numbers: [18, 70]
Generated Node #0,1,3: 70:[18, 70] Operation: 70*1=70
Moving to Node #0,1,0
Current State: 70:[70, 17], Operations: ['68/68=1', '18-1=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,70 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[70, 18], Operations: ['68/68=1', '18*1=18']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[70, 18], Operations: ['68/68=1', '18/1=18']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[18, 70], Operations: ['68/68=1', '70*1=70']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 18*70=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,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
Current State: 70:[18, 70, 0], Operations: ['68-68=0']
Exploring Operation: 70+0=70, Resulting Numbers: [18, 70]
Generated Node #0,0,0: 70:[18, 70] Operation: 70+0=70
Exploring Operation: 18*0=0, Resulting Numbers: [70, 0]
Generated Node #0,0,1: 70:[70, 0] Operation: 18*0=0
Exploring Operation: 18+0=18, Resulting Numbers: [70, 18]
Generated Node #0,0,2: 70:[70, 18] Operation: 18+0=18
Exploring Operation: 18-0=18, Resulting Numbers: [70, 18]
Generated Node #0,0,3: 70:[70, 18] Operation: 18-0=18
Moving to Node #0,0,1
Current State: 70:[70, 0], Operations: ['68-68=0', '18*0=0']
Exploring Operation: 70-0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[68, 18, 70, 68], Operations: []
Exploring Operation: 68-68=0, Resulting Numbers: [18, 70, 0]
Generated Node #0,0: 70:[18, 70, 0] Operation: 68-68=0
Moving to Node #0,0
Current State: 70:[18, 70, 0], Operations: ['68-68=0']
Exploring Operation: 18*0=0, Resulting Numbers: [70, 0]
Generated Node #0,0,1: 70:[70, 0] Operation: 18*0=0
Moving to Node #0,0,1
Current State: 70:[70, 0], Operations: ['68-68=0', '18*0=0']
Exploring Operation: 70-0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
8,
22,
86,
83
] | 91 | [
"86-22=64",
"64/8=8",
"83+8=91"
] | Current State: 91:[8, 22, 86, 83], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [8, 83, 64]
Generated Node #2: [8, 83, 64] from Operation: 86-22=64
Current State: 91:[8, 83, 64], Operations: ['86-22=64']
Exploring Operation: 64/8=8, Resulting Numbers: [83, 8]
Generated Node #3: [83, 8] from Operation: 64/8=8
Current State: 91:[83, 8], Operations: ['86-22=64', '64/8=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[8, 22, 86, 83], Operations: []
Exploring Operation: 8+83=91, Resulting Numbers: [22, 86, 91]
Generated Node #0,0: 91:[22, 86, 91] Operation: 8+83=91
Exploring Operation: 86-83=3, Resulting Numbers: [8, 22, 3]
Generated Node #0,1: 91:[8, 22, 3] Operation: 86-83=3
Exploring Operation: 22-8=14, Resulting Numbers: [86, 83, 14]
Generated Node #0,2: 91:[86, 83, 14] Operation: 22-8=14
Moving to Node #0,0
Current State: 91:[22, 86, 91], Operations: ['8+83=91']
Exploring Operation: 86-22=64, Resulting Numbers: [91, 64]
Generated Node #0,0,0: 91:[91, 64] Operation: 86-22=64
Exploring Operation: 91-86=5, Resulting Numbers: [22, 5]
Generated Node #0,0,1: 91:[22, 5] Operation: 91-86=5
Exploring Operation: 22+86=108, Resulting Numbers: [91, 108]
Generated Node #0,0,2: 91:[91, 108] Operation: 22+86=108
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[22, 5], Operations: ['8+83=91', '91-86=5']
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[91, 108], Operations: ['8+83=91', '22+86=108']
Exploring Operation: 108-91=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 91*108=9828, Resulting Numbers: [9828]
9828,91 unequal: No Solution
Exploring Operation: 91+108=199, Resulting Numbers: [199]
199,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[91, 64], Operations: ['8+83=91', '86-22=64']
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,91 unequal: No Solution
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,91 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: 91:[8, 22, 3], Operations: ['86-83=3']
Exploring Operation: 8+3=11, Resulting Numbers: [22, 11]
Generated Node #0,1,0: 91:[22, 11] Operation: 8+3=11
Exploring Operation: 22-8=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 91:[3, 14] Operation: 22-8=14
Exploring Operation: 22-3=19, Resulting Numbers: [8, 19]
Generated Node #0,1,2: 91:[8, 19] Operation: 22-3=19
Moving to Node #0,2
Current State: 91:[86, 83, 14], Operations: ['22-8=14']
Exploring Operation: 86+14=100, Resulting Numbers: [83, 100]
Generated Node #0,2,0: 91:[83, 100] Operation: 86+14=100
Exploring Operation: 83+14=97, Resulting Numbers: [86, 97]
Generated Node #0,2,1: 91:[86, 97] Operation: 83+14=97
Exploring Operation: 86-83=3, Resulting Numbers: [14, 3]
Generated Node #0,2,2: 91:[14, 3] Operation: 86-83=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[14, 3], Operations: ['22-8=14', '86-83=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[86, 97], Operations: ['22-8=14', '83+14=97']
Exploring Operation: 97-86=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 86*97=8342, Resulting Numbers: [8342]
8342,91 unequal: No Solution
Exploring Operation: 86+97=183, Resulting Numbers: [183]
183,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[83, 100], Operations: ['22-8=14', '86+14=100']
Exploring Operation: 83+100=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 83*100=8300, Resulting Numbers: [8300]
8300,91 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 91:[3, 14], Operations: ['86-83=3', '22-8=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[8, 19], Operations: ['86-83=3', '22-3=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[22, 11], Operations: ['86-83=3', '8+3=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,91 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
79,
52,
15,
64
] | 22 | [
"79-52=27",
"64-15=49",
"49-27=22"
] | Current State: 22:[79, 52, 15, 64], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [15, 64, 27]
Generated Node #2: [15, 64, 27] from Operation: 79-52=27
Current State: 22:[15, 64, 27], Operations: ['79-52=27']
Exploring Operation: 64-15=49, Resulting Numbers: [27, 49]
Generated Node #3: [27, 49] from Operation: 64-15=49
Current State: 22:[27, 49], Operations: ['79-52=27', '64-15=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[79, 52, 15, 64], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [52, 64, 64]
Generated Node #0,0: 22:[52, 64, 64] Operation: 79-15=64
Exploring Operation: 79-52=27, Resulting Numbers: [15, 64, 27]
Generated Node #0,1: 22:[15, 64, 27] Operation: 79-52=27
Exploring Operation: 64-52=12, Resulting Numbers: [79, 15, 12]
Generated Node #0,2: 22:[79, 15, 12] Operation: 64-52=12
Exploring Operation: 79-64=15, Resulting Numbers: [52, 15, 15]
Generated Node #0,3: 22:[52, 15, 15] Operation: 79-64=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[52, 15, 15], Operations: ['79-64=15']
Exploring Operation: 15-15=0, Resulting Numbers: [52, 0]
Generated Node #0,3,0: 22:[52, 0] Operation: 15-15=0
Exploring Operation: 15/15=1, Resulting Numbers: [52, 1]
Generated Node #0,3,1: 22:[52, 1] Operation: 15/15=1
Exploring Operation: 52-15=37, Resulting Numbers: [15, 37]
Generated Node #0,3,2: 22:[15, 37] Operation: 52-15=37
Exploring Operation: 52-15=37, Resulting Numbers: [15, 37]
Generated Node #0,3,3: 22:[15, 37] Operation: 52-15=37
Moving to Node #0,3,2
Current State: 22:[15, 37], Operations: ['79-64=15', '52-15=37']
Exploring Operation: 15*37=555, Resulting Numbers: [555]
555,22 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[79, 52, 15, 64], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [52, 15, 15]
Generated Node #0,3: 22:[52, 15, 15] Operation: 79-64=15
Moving to Node #0,3
Current State: 22:[52, 15, 15], Operations: ['79-64=15']
Exploring Operation: 52-15=37, Resulting Numbers: [15, 37]
Generated Node #0,3,2: 22:[15, 37] Operation: 52-15=37
Moving to Node #0,3,2
Current State: 22:[15, 37], Operations: ['79-64=15', '52-15=37']
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
14,
58,
16,
88
] | 15 | [
"16-14=2",
"88-58=30",
"30/2=15"
] | Current State: 15:[14, 58, 16, 88], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [58, 88, 2]
Generated Node #2: [58, 88, 2] from Operation: 16-14=2
Current State: 15:[58, 88, 2], Operations: ['16-14=2']
Exploring Operation: 88-58=30, Resulting Numbers: [2, 30]
Generated Node #3: [2, 30] from Operation: 88-58=30
Current State: 15:[2, 30], Operations: ['16-14=2', '88-58=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[14, 58, 16, 88], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [14, 16, 30]
Generated Node #0,0: 15:[14, 16, 30] Operation: 88-58=30
Moving to Node #0,0
Current State: 15:[14, 16, 30], Operations: ['88-58=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16, 16]
Generated Node #0,0,0: 15:[16, 16] Operation: 30-14=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[16, 16], Operations: ['88-58=30', '30-14=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,15 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 |
[
38,
99,
27,
31
] | 65 | [
"99-38=61",
"31-27=4",
"61+4=65"
] | Current State: 65:[38, 99, 27, 31], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [27, 31, 61]
Generated Node #2: [27, 31, 61] from Operation: 99-38=61
Current State: 65:[27, 31, 61], Operations: ['99-38=61']
Exploring Operation: 31-27=4, Resulting Numbers: [61, 4]
Generated Node #3: [61, 4] from Operation: 31-27=4
Current State: 65:[61, 4], Operations: ['99-38=61', '31-27=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[38, 99, 27, 31], Operations: []
Exploring Operation: 99-31=68, Resulting Numbers: [38, 27, 68]
Generated Node #0,0: 65:[38, 27, 68] Operation: 99-31=68
Exploring Operation: 99-38=61, Resulting Numbers: [27, 31, 61]
Generated Node #0,1: 65:[27, 31, 61] Operation: 99-38=61
Exploring Operation: 38-31=7, Resulting Numbers: [99, 27, 7]
Generated Node #0,2: 65:[99, 27, 7] Operation: 38-31=7
Moving to Node #0,1
Current State: 65:[27, 31, 61], Operations: ['99-38=61']
Exploring Operation: 27+31=58, Resulting Numbers: [61, 58]
Generated Node #0,1,0: 65:[61, 58] Operation: 27+31=58
Exploring Operation: 61-31=30, Resulting Numbers: [27, 30]
Generated Node #0,1,1: 65:[27, 30] Operation: 61-31=30
Exploring Operation: 31-27=4, Resulting Numbers: [61, 4]
Generated Node #0,1,2: 65:[61, 4] Operation: 31-27=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[61, 4], Operations: ['99-38=61', '31-27=4']
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,65 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[38, 99, 27, 31], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [27, 31, 61]
Generated Node #0,1: 65:[27, 31, 61] Operation: 99-38=61
Moving to Node #0,1
Current State: 65:[27, 31, 61], Operations: ['99-38=61']
Exploring Operation: 31-27=4, Resulting Numbers: [61, 4]
Generated Node #0,1,2: 65:[61, 4] Operation: 31-27=4
Moving to Node #0,1,2
Current State: 65:[61, 4], Operations: ['99-38=61', '31-27=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
47,
9,
58,
87
] | 67 | [
"47-9=38",
"87-58=29",
"38+29=67"
] | Current State: 67:[47, 9, 58, 87], Operations: []
Exploring Operation: 47-9=38, Resulting Numbers: [58, 87, 38]
Generated Node #2: [58, 87, 38] from Operation: 47-9=38
Current State: 67:[58, 87, 38], Operations: ['47-9=38']
Exploring Operation: 87-58=29, Resulting Numbers: [38, 29]
Generated Node #3: [38, 29] from Operation: 87-58=29
Current State: 67:[38, 29], Operations: ['47-9=38', '87-58=29']
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[47, 9, 58, 87], Operations: []
Exploring Operation: 58-9=49, Resulting Numbers: [47, 87, 49]
Generated Node #0,0: 67:[47, 87, 49] Operation: 58-9=49
Exploring Operation: 87-9=78, Resulting Numbers: [47, 58, 78]
Generated Node #0,1: 67:[47, 58, 78] Operation: 87-9=78
Exploring Operation: 47+9=56, Resulting Numbers: [58, 87, 56]
Generated Node #0,2: 67:[58, 87, 56] Operation: 47+9=56
Exploring Operation: 9+58=67, Resulting Numbers: [47, 87, 67]
Generated Node #0,3: 67:[47, 87, 67] Operation: 9+58=67
Exploring Operation: 47-9=38, Resulting Numbers: [58, 87, 38]
Generated Node #0,4: 67:[58, 87, 38] Operation: 47-9=38
Moving to Node #0,1
Current State: 67:[47, 58, 78], Operations: ['87-9=78']
Exploring Operation: 58-47=11, Resulting Numbers: [78, 11]
Generated Node #0,1,0: 67:[78, 11] Operation: 58-47=11
Exploring Operation: 47+78=125, Resulting Numbers: [58, 125]
Generated Node #0,1,1: 67:[58, 125] Operation: 47+78=125
Exploring Operation: 47+58=105, Resulting Numbers: [78, 105]
Generated Node #0,1,2: 67:[78, 105] Operation: 47+58=105
Exploring Operation: 78-58=20, Resulting Numbers: [47, 20]
Generated Node #0,1,3: 67:[47, 20] Operation: 78-58=20
Exploring Operation: 78-47=31, Resulting Numbers: [58, 31]
Generated Node #0,1,4: 67:[58, 31] Operation: 78-47=31
Moving to Node #0,3
Current State: 67:[47, 87, 67], Operations: ['9+58=67']
Exploring Operation: 47+87=134, Resulting Numbers: [67, 134]
Generated Node #0,3,0: 67:[67, 134] Operation: 47+87=134
Exploring Operation: 67-47=20, Resulting Numbers: [87, 20]
Generated Node #0,3,1: 67:[87, 20] Operation: 67-47=20
Exploring Operation: 87-47=40, Resulting Numbers: [67, 40]
Generated Node #0,3,2: 67:[67, 40] Operation: 87-47=40
Exploring Operation: 47+67=114, Resulting Numbers: [87, 114]
Generated Node #0,3,3: 67:[87, 114] Operation: 47+67=114
Exploring Operation: 87-67=20, Resulting Numbers: [47, 20]
Generated Node #0,3,4: 67:[47, 20] Operation: 87-67=20
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[67, 40], Operations: ['9+58=67', '87-47=40']
Exploring Operation: 67+40=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 67*40=2680, Resulting Numbers: [2680]
2680,67 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,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,3,0
Current State: 67:[67, 134], Operations: ['9+58=67', '47+87=134']
Exploring Operation: 134/67=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 67*134=8978, Resulting Numbers: [8978]
8978,67 unequal: No Solution
Exploring Operation: 134-67=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[47, 9, 58, 87], Operations: []
Exploring Operation: 9+58=67, Resulting Numbers: [47, 87, 67]
Generated Node #0,3: 67:[47, 87, 67] Operation: 9+58=67
Moving to Node #0,3
Current State: 67:[47, 87, 67], Operations: ['9+58=67']
Exploring Operation: 47+87=134, Resulting Numbers: [67, 134]
Generated Node #0,3,0: 67:[67, 134] Operation: 47+87=134
Moving to Node #0,3,0
Current State: 67:[67, 134], Operations: ['9+58=67', '47+87=134']
Exploring Operation: 134-67=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
54,
60,
11,
20
] | 86 | [
"60-54=6",
"11*6=66",
"20+66=86"
] | Current State: 86:[54, 60, 11, 20], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [11, 20, 6]
Generated Node #2: [11, 20, 6] from Operation: 60-54=6
Current State: 86:[11, 20, 6], Operations: ['60-54=6']
Exploring Operation: 11*6=66, Resulting Numbers: [20, 66]
Generated Node #3: [20, 66] from Operation: 11*6=66
Current State: 86:[20, 66], Operations: ['60-54=6', '11*6=66']
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[54, 60, 11, 20], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [54, 11, 3]
Generated Node #0,0: 86:[54, 11, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[54, 11, 3], Operations: ['60/20=3']
Exploring Operation: 54-11=43, Resulting Numbers: [3, 43]
Generated Node #0,0,0: 86:[3, 43] Operation: 54-11=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[3, 43], Operations: ['60/20=3', '54-11=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,86 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 | sum_heuristic |
[
13,
15,
18,
10
] | 19 | [
"15-13=2",
"18/2=9",
"10+9=19"
] | Current State: 19:[13, 15, 18, 10], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [18, 10, 2]
Generated Node #2: [18, 10, 2] from Operation: 15-13=2
Current State: 19:[18, 10, 2], Operations: ['15-13=2']
Exploring Operation: 18/2=9, Resulting Numbers: [10, 9]
Generated Node #3: [10, 9] from Operation: 18/2=9
Current State: 19:[10, 9], Operations: ['15-13=2', '18/2=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[13, 15, 18, 10], Operations: []
Exploring Operation: 15+10=25, Resulting Numbers: [13, 18, 25]
Generated Node #0,0: 19:[13, 18, 25] Operation: 15+10=25
Exploring Operation: 13+10=23, Resulting Numbers: [15, 18, 23]
Generated Node #0,1: 19:[15, 18, 23] Operation: 13+10=23
Exploring Operation: 13+15=28, Resulting Numbers: [18, 10, 28]
Generated Node #0,2: 19:[18, 10, 28] Operation: 13+15=28
Moving to Node #0,1
Current State: 19:[15, 18, 23], Operations: ['13+10=23']
Exploring Operation: 23-18=5, Resulting Numbers: [15, 5]
Generated Node #0,1,0: 19:[15, 5] Operation: 23-18=5
Exploring Operation: 15+18=33, Resulting Numbers: [23, 33]
Generated Node #0,1,1: 19:[23, 33] Operation: 15+18=33
Exploring Operation: 23-15=8, Resulting Numbers: [18, 8]
Generated Node #0,1,2: 19:[18, 8] Operation: 23-15=8
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[18, 8], Operations: ['13+10=23', '23-15=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,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,0
Current State: 19:[15, 5], Operations: ['13+10=23', '23-18=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,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,1
Current State: 19:[23, 33], Operations: ['13+10=23', '15+18=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,19 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: 19:[13, 18, 25], Operations: ['15+10=25']
Exploring Operation: 13+18=31, Resulting Numbers: [25, 31]
Generated Node #0,0,0: 19:[25, 31] Operation: 13+18=31
Exploring Operation: 25-18=7, Resulting Numbers: [13, 7]
Generated Node #0,0,1: 19:[13, 7] Operation: 25-18=7
Exploring Operation: 25-13=12, Resulting Numbers: [18, 12]
Generated Node #0,0,2: 19:[18, 12] Operation: 25-13=12
Moving to Node #0,2
Current State: 19:[18, 10, 28], Operations: ['13+15=28']
Exploring Operation: 18+10=28, Resulting Numbers: [28, 28]
Generated Node #0,2,0: 19:[28, 28] Operation: 18+10=28
Exploring Operation: 28-10=18, Resulting Numbers: [18, 18]
Generated Node #0,2,1: 19:[18, 18] Operation: 28-10=18
Exploring Operation: 28-18=10, Resulting Numbers: [10, 10]
Generated Node #0,2,2: 19:[10, 10] Operation: 28-18=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[18, 18], Operations: ['13+15=28', '28-10=18']
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,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,2,0
Current State: 19:[28, 28], Operations: ['13+15=28', '18+10=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,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,2,2
Current State: 19:[10, 10], Operations: ['13+15=28', '28-18=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,19 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: 19:[18, 12], Operations: ['15+10=25', '25-13=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[25, 31], Operations: ['15+10=25', '13+18=31']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,19 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[13, 7], Operations: ['15+10=25', '25-18=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,19 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
50,
16,
92,
2
] | 51 | [
"50/2=25",
"92-16=76",
"76-25=51"
] | Current State: 51:[50, 16, 92, 2], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [16, 92, 25]
Generated Node #2: [16, 92, 25] from Operation: 50/2=25
Current State: 51:[16, 92, 25], Operations: ['50/2=25']
Exploring Operation: 92-16=76, Resulting Numbers: [25, 76]
Generated Node #3: [25, 76] from Operation: 92-16=76
Current State: 51:[25, 76], Operations: ['50/2=25', '92-16=76']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[50, 16, 92, 2], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [50, 16, 46]
Generated Node #0,0: 51:[50, 16, 46] Operation: 92/2=46
Exploring Operation: 92-50=42, Resulting Numbers: [16, 2, 42]
Generated Node #0,1: 51:[16, 2, 42] Operation: 92-50=42
Moving to Node #0,0
Current State: 51:[50, 16, 46], Operations: ['92/2=46']
Exploring Operation: 16+46=62, Resulting Numbers: [50, 62]
Generated Node #0,0,0: 51:[50, 62] Operation: 16+46=62
Exploring Operation: 50-46=4, Resulting Numbers: [16, 4]
Generated Node #0,0,1: 51:[16, 4] Operation: 50-46=4
Moving to Node #0,1
Current State: 51:[16, 2, 42], Operations: ['92-50=42']
Exploring Operation: 16+42=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 51:[2, 58] Operation: 16+42=58
Exploring Operation: 42/2=21, Resulting Numbers: [16, 21]
Generated Node #0,1,1: 51:[16, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[16, 21], Operations: ['92-50=42', '42/2=21']
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,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,0
Current State: 51:[2, 58], Operations: ['92-50=42', '16+42=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,51 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: 51:[16, 4], Operations: ['92/2=46', '50-46=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[50, 62], Operations: ['92/2=46', '16+46=62']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,51 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
26,
97,
33
] | 24 | [
"97-33=64",
"64/32=2",
"26-2=24"
] | Current State: 24:[32, 26, 97, 33], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [32, 26, 64]
Generated Node #2: [32, 26, 64] from Operation: 97-33=64
Current State: 24:[32, 26, 64], Operations: ['97-33=64']
Exploring Operation: 64/32=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 64/32=2
Current State: 24:[26, 2], Operations: ['97-33=64', '64/32=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[32, 26, 97, 33], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [32, 26, 64]
Generated Node #0,0: 24:[32, 26, 64] Operation: 97-33=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[32, 26, 64], Operations: ['97-33=64']
Exploring Operation: 64/32=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 24:[26, 2] Operation: 64/32=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[26, 2], Operations: ['97-33=64', '64/32=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[32, 26, 97, 33], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [32, 26, 64]
Generated Node #0,0: 24:[32, 26, 64] Operation: 97-33=64
Moving to Node #0,0
Current State: 24:[32, 26, 64], Operations: ['97-33=64']
Exploring Operation: 64/32=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 24:[26, 2] Operation: 64/32=2
Moving to Node #0,0,0
Current State: 24:[26, 2], Operations: ['97-33=64', '64/32=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
36,
19,
29,
96
] | 11 | [
"36-29=7",
"96-19=77",
"77/7=11"
] | Current State: 11:[36, 19, 29, 96], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [19, 96, 7]
Generated Node #2: [19, 96, 7] from Operation: 36-29=7
Current State: 11:[19, 96, 7], Operations: ['36-29=7']
Exploring Operation: 96-19=77, Resulting Numbers: [7, 77]
Generated Node #3: [7, 77] from Operation: 96-19=77
Current State: 11:[7, 77], Operations: ['36-29=7', '96-19=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[36, 19, 29, 96], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [19, 29, 60]
Generated Node #0,0: 11:[19, 29, 60] Operation: 96-36=60
Exploring Operation: 96-29=67, Resulting Numbers: [36, 19, 67]
Generated Node #0,1: 11:[36, 19, 67] Operation: 96-29=67
Exploring Operation: 36-29=7, Resulting Numbers: [19, 96, 7]
Generated Node #0,2: 11:[19, 96, 7] Operation: 36-29=7
Moving to Node #0,0
Current State: 11:[19, 29, 60], Operations: ['96-36=60']
Exploring Operation: 60-29=31, Resulting Numbers: [19, 31]
Generated Node #0,0,0: 11:[19, 31] Operation: 60-29=31
Exploring Operation: 60-19=41, Resulting Numbers: [29, 41]
Generated Node #0,0,1: 11:[29, 41] Operation: 60-19=41
Exploring Operation: 29-19=10, Resulting Numbers: [60, 10]
Generated Node #0,0,2: 11:[60, 10] Operation: 29-19=10
Moving to Node #0,1
Current State: 11:[36, 19, 67], Operations: ['96-29=67']
Exploring Operation: 36-19=17, Resulting Numbers: [67, 17]
Generated Node #0,1,0: 11:[67, 17] Operation: 36-19=17
Exploring Operation: 67-36=31, Resulting Numbers: [19, 31]
Generated Node #0,1,1: 11:[19, 31] Operation: 67-36=31
Exploring Operation: 67-19=48, Resulting Numbers: [36, 48]
Generated Node #0,1,2: 11:[36, 48] Operation: 67-19=48
Moving to Node #0,2
Current State: 11:[19, 96, 7], Operations: ['36-29=7']
Exploring Operation: 19-7=12, Resulting Numbers: [96, 12]
Generated Node #0,2,0: 11:[96, 12] Operation: 19-7=12
Exploring Operation: 96-19=77, Resulting Numbers: [7, 77]
Generated Node #0,2,1: 11:[7, 77] Operation: 96-19=77
Exploring Operation: 96-7=89, Resulting Numbers: [19, 89]
Generated Node #0,2,2: 11:[19, 89] Operation: 96-7=89
Moving to Node #0,0,0
Current State: 11:[19, 31], Operations: ['96-36=60', '60-29=31']
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[19, 31], Operations: ['96-29=67', '67-36=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,11 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[29, 41], Operations: ['96-36=60', '60-19=41']
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[60, 10], Operations: ['96-36=60', '29-19=10']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[36, 48], Operations: ['96-29=67', '67-19=48']
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,11 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[67, 17], Operations: ['96-29=67', '36-19=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[7, 77], Operations: ['36-29=7', '96-19=77']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[36, 19, 29, 96], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [19, 96, 7]
Generated Node #0,2: 11:[19, 96, 7] Operation: 36-29=7
Moving to Node #0,2
Current State: 11:[19, 96, 7], Operations: ['36-29=7']
Exploring Operation: 96-19=77, Resulting Numbers: [7, 77]
Generated Node #0,2,1: 11:[7, 77] Operation: 96-19=77
Moving to Node #0,2,1
Current State: 11:[7, 77], Operations: ['36-29=7', '96-19=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.96875 | hs_3 | sum_heuristic |
[
47,
6,
54,
99
] | 58 | [
"54/6=9",
"99/9=11",
"47+11=58"
] | Current State: 58:[47, 6, 54, 99], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [47, 99, 9]
Generated Node #2: [47, 99, 9] from Operation: 54/6=9
Current State: 58:[47, 99, 9], Operations: ['54/6=9']
Exploring Operation: 99/9=11, Resulting Numbers: [47, 11]
Generated Node #3: [47, 11] from Operation: 99/9=11
Current State: 58:[47, 11], Operations: ['54/6=9', '99/9=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[47, 6, 54, 99], Operations: []
Exploring Operation: 99-47=52, Resulting Numbers: [6, 54, 52]
Generated Node #0,0: 58:[6, 54, 52] Operation: 99-47=52
Exploring Operation: 99-54=45, Resulting Numbers: [47, 6, 45]
Generated Node #0,1: 58:[47, 6, 45] Operation: 99-54=45
Moving to Node #0,0
Current State: 58:[6, 54, 52], Operations: ['99-47=52']
Exploring Operation: 6+52=58, Resulting Numbers: [54, 58]
Generated Node #0,0,0: 58:[54, 58] Operation: 6+52=58
Exploring Operation: 54-52=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 58:[6, 2] Operation: 54-52=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[54, 58], Operations: ['99-47=52', '6+52=58']
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,58 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No 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: 58:[6, 2], Operations: ['99-47=52', '54-52=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,58 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: 58:[47, 6, 45], Operations: ['99-54=45']
Exploring Operation: 47-45=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 58:[6, 2] Operation: 47-45=2
Exploring Operation: 47+6=53, Resulting Numbers: [45, 53]
Generated Node #0,1,1: 58:[45, 53] Operation: 47+6=53
Moving to Node #0,1,0
Current State: 58:[6, 2], Operations: ['99-54=45', '47-45=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[45, 53], Operations: ['99-54=45', '47+6=53']
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
33,
8,
99
] | 15 | [
"8*99=792",
"792/44=18",
"33-18=15"
] | Current State: 15:[44, 33, 8, 99], Operations: []
Exploring Operation: 8*99=792, Resulting Numbers: [44, 33, 792]
Generated Node #2: [44, 33, 792] from Operation: 8*99=792
Current State: 15:[44, 33, 792], Operations: ['8*99=792']
Exploring Operation: 792/44=18, Resulting Numbers: [33, 18]
Generated Node #3: [33, 18] from Operation: 792/44=18
Current State: 15:[33, 18], Operations: ['8*99=792', '792/44=18']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[44, 33, 8, 99], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [44, 8, 3]
Generated Node #0,0: 15:[44, 8, 3] Operation: 99/33=3
Moving to Node #0,0
Current State: 15:[44, 8, 3], Operations: ['99/33=3']
Exploring Operation: 44-8=36, Resulting Numbers: [3, 36]
Generated Node #0,0,0: 15:[3, 36] Operation: 44-8=36
Moving to Node #0,0,0
Current State: 15:[3, 36], Operations: ['99/33=3', '44-8=36']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,15 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
39,
4,
40
] | 20 | [
"44-39=5",
"4*5=20",
"40-20=20"
] | Current State: 20:[44, 39, 4, 40], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [4, 40, 5]
Generated Node #2: [4, 40, 5] from Operation: 44-39=5
Current State: 20:[4, 40, 5], Operations: ['44-39=5']
Exploring Operation: 4*5=20, Resulting Numbers: [40, 20]
Generated Node #3: [40, 20] from Operation: 4*5=20
Current State: 20:[40, 20], Operations: ['44-39=5', '4*5=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[44, 39, 4, 40], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [39, 4, 4]
Generated Node #0,0: 20:[39, 4, 4] Operation: 44-40=4
Exploring Operation: 44-39=5, Resulting Numbers: [4, 40, 5]
Generated Node #0,1: 20:[4, 40, 5] Operation: 44-39=5
Exploring Operation: 44/4=11, Resulting Numbers: [39, 40, 11]
Generated Node #0,2: 20:[39, 40, 11] Operation: 44/4=11
Exploring Operation: 40/4=10, Resulting Numbers: [44, 39, 10]
Generated Node #0,3: 20:[44, 39, 10] Operation: 40/4=10
Exploring Operation: 40-39=1, Resulting Numbers: [44, 4, 1]
Generated Node #0,4: 20:[44, 4, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[39, 4, 4], Operations: ['44-40=4']
Exploring Operation: 4-4=0, Resulting Numbers: [39, 0]
Generated Node #0,0,0: 20:[39, 0] Operation: 4-4=0
Exploring Operation: 39-4=35, Resulting Numbers: [4, 35]
Generated Node #0,0,1: 20:[4, 35] Operation: 39-4=35
Exploring Operation: 4+4=8, Resulting Numbers: [39, 8]
Generated Node #0,0,2: 20:[39, 8] Operation: 4+4=8
Exploring Operation: 4/4=1, Resulting Numbers: [39, 1]
Generated Node #0,0,3: 20:[39, 1] Operation: 4/4=1
Exploring Operation: 39-4=35, Resulting Numbers: [4, 35]
Generated Node #0,0,4: 20:[4, 35] Operation: 39-4=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[4, 35], Operations: ['44-40=4', '39-4=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 20:[4, 35], Operations: ['44-40=4', '39-4=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[39, 1], Operations: ['44-40=4', '4/4=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[39, 0], Operations: ['44-40=4', '4-4=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[39, 8], Operations: ['44-40=4', '4+4=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,20 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,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,1
Current State: 20:[4, 40, 5], Operations: ['44-39=5']
Exploring Operation: 40-4=36, Resulting Numbers: [5, 36]
Generated Node #0,1,0: 20:[5, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 20:[5, 10] Operation: 40/4=10
Exploring Operation: 40/5=8, Resulting Numbers: [4, 8]
Generated Node #0,1,2: 20:[4, 8] Operation: 40/5=8
Exploring Operation: 4*5=20, Resulting Numbers: [40, 20]
Generated Node #0,1,3: 20:[40, 20] Operation: 4*5=20
Exploring Operation: 40-5=35, Resulting Numbers: [4, 35]
Generated Node #0,1,4: 20:[4, 35] Operation: 40-5=35
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[5, 10], Operations: ['44-39=5', '40/4=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,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:[4, 8], Operations: ['44-39=5', '40/5=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,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,4
Current State: 20:[4, 35], Operations: ['44-39=5', '40-5=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,20 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,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:[5, 36], Operations: ['44-39=5', '40-4=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,20 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 36-5=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,3
Current State: 20:[40, 20], Operations: ['44-39=5', '4*5=20']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,20 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[44, 39, 4, 40], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [4, 40, 5]
Generated Node #0,1: 20:[4, 40, 5] Operation: 44-39=5
Moving to Node #0,1
Current State: 20:[4, 40, 5], Operations: ['44-39=5']
Exploring Operation: 4*5=20, Resulting Numbers: [40, 20]
Generated Node #0,1,3: 20:[40, 20] Operation: 4*5=20
Moving to Node #0,1,3
Current State: 20:[40, 20], Operations: ['44-39=5', '4*5=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.954861 | hs_5 | mult_heuristic |
[
20,
46,
75,
86
] | 55 | [
"20+46=66",
"86-75=11",
"66-11=55"
] | Current State: 55:[20, 46, 75, 86], Operations: []
Exploring Operation: 20+46=66, Resulting Numbers: [75, 86, 66]
Generated Node #2: [75, 86, 66] from Operation: 20+46=66
Current State: 55:[75, 86, 66], Operations: ['20+46=66']
Exploring Operation: 86-75=11, Resulting Numbers: [66, 11]
Generated Node #3: [66, 11] from Operation: 86-75=11
Current State: 55:[66, 11], Operations: ['20+46=66', '86-75=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[20, 46, 75, 86], Operations: []
Exploring Operation: 75-20=55, Resulting Numbers: [46, 86, 55]
Generated Node #0,0: 55:[46, 86, 55] Operation: 75-20=55
Exploring Operation: 86-46=40, Resulting Numbers: [20, 75, 40]
Generated Node #0,1: 55:[20, 75, 40] Operation: 86-46=40
Exploring Operation: 86-75=11, Resulting Numbers: [20, 46, 11]
Generated Node #0,2: 55:[20, 46, 11] Operation: 86-75=11
Exploring Operation: 75-46=29, Resulting Numbers: [20, 86, 29]
Generated Node #0,3: 55:[20, 86, 29] Operation: 75-46=29
Exploring Operation: 86-20=66, Resulting Numbers: [46, 75, 66]
Generated Node #0,4: 55:[46, 75, 66] Operation: 86-20=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[20, 46, 11], Operations: ['86-75=11']
Exploring Operation: 46+11=57, Resulting Numbers: [20, 57]
Generated Node #0,2,0: 55:[20, 57] Operation: 46+11=57
Exploring Operation: 20+11=31, Resulting Numbers: [46, 31]
Generated Node #0,2,1: 55:[46, 31] Operation: 20+11=31
Exploring Operation: 20-11=9, Resulting Numbers: [46, 9]
Generated Node #0,2,2: 55:[46, 9] Operation: 20-11=9
Exploring Operation: 20+46=66, Resulting Numbers: [11, 66]
Generated Node #0,2,3: 55:[11, 66] Operation: 20+46=66
Exploring Operation: 46-20=26, Resulting Numbers: [11, 26]
Generated Node #0,2,4: 55:[11, 26] Operation: 46-20=26
Moving to Node #0,2,0
Current State: 55:[20, 57], Operations: ['86-75=11', '46+11=57']
Exploring Operation: 20+57=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 20*57=1140, Resulting Numbers: [1140]
1140,55 unequal: No Solution
Moving to Node #0,2,3
Current State: 55:[11, 66], Operations: ['86-75=11', '20+46=66']
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[20, 46, 75, 86], Operations: []
Exploring Operation: 86-75=11, Resulting Numbers: [20, 46, 11]
Generated Node #0,2: 55:[20, 46, 11] Operation: 86-75=11
Moving to Node #0,2
Current State: 55:[20, 46, 11], Operations: ['86-75=11']
Exploring Operation: 20+46=66, Resulting Numbers: [11, 66]
Generated Node #0,2,3: 55:[11, 66] Operation: 20+46=66
Moving to Node #0,2,3
Current State: 55:[11, 66], Operations: ['86-75=11', '20+46=66']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
62,
99,
42,
93
] | 14 | [
"99-62=37",
"93-42=51",
"51-37=14"
] | Current State: 14:[62, 99, 42, 93], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [42, 93, 37]
Generated Node #2: [42, 93, 37] from Operation: 99-62=37
Current State: 14:[42, 93, 37], Operations: ['99-62=37']
Exploring Operation: 93-42=51, Resulting Numbers: [37, 51]
Generated Node #3: [37, 51] from Operation: 93-42=51
Current State: 14:[37, 51], Operations: ['99-62=37', '93-42=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[62, 99, 42, 93], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [42, 93, 37]
Generated Node #0,0: 14:[42, 93, 37] Operation: 99-62=37
Exploring Operation: 99-93=6, Resulting Numbers: [62, 42, 6]
Generated Node #0,1: 14:[62, 42, 6] Operation: 99-93=6
Moving to Node #0,1
Current State: 14:[62, 42, 6], Operations: ['99-93=6']
Exploring Operation: 42/6=7, Resulting Numbers: [62, 7]
Generated Node #0,1,0: 14:[62, 7] Operation: 42/6=7
Exploring Operation: 62-42=20, Resulting Numbers: [6, 20]
Generated Node #0,1,1: 14:[6, 20] Operation: 62-42=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[6, 20], Operations: ['99-93=6', '62-42=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[62, 99, 42, 93], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [62, 42, 6]
Generated Node #0,1: 14:[62, 42, 6] Operation: 99-93=6
Moving to Node #0,1
Current State: 14:[62, 42, 6], Operations: ['99-93=6']
Exploring Operation: 62-42=20, Resulting Numbers: [6, 20]
Generated Node #0,1,1: 14:[6, 20] Operation: 62-42=20
Moving to Node #0,1,1
Current State: 14:[6, 20], Operations: ['99-93=6', '62-42=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
83,
21,
99,
19
] | 56 | [
"83-21=62",
"99+19=118",
"118-62=56"
] | Current State: 56:[83, 21, 99, 19], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [99, 19, 62]
Generated Node #2: [99, 19, 62] from Operation: 83-21=62
Current State: 56:[99, 19, 62], Operations: ['83-21=62']
Exploring Operation: 99+19=118, Resulting Numbers: [62, 118]
Generated Node #3: [62, 118] from Operation: 99+19=118
Current State: 56:[62, 118], Operations: ['83-21=62', '99+19=118']
Exploring Operation: 118-62=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[83, 21, 99, 19], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [99, 19, 62]
Generated Node #0,0: 56:[99, 19, 62] Operation: 83-21=62
Exploring Operation: 99-83=16, Resulting Numbers: [21, 19, 16]
Generated Node #0,1: 56:[21, 19, 16] Operation: 99-83=16
Exploring Operation: 99-21=78, Resulting Numbers: [83, 19, 78]
Generated Node #0,2: 56:[83, 19, 78] Operation: 99-21=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[21, 19, 16], Operations: ['99-83=16']
Exploring Operation: 21-16=5, Resulting Numbers: [19, 5]
Generated Node #0,1,0: 56:[19, 5] Operation: 21-16=5
Exploring Operation: 19-16=3, Resulting Numbers: [21, 3]
Generated Node #0,1,1: 56:[21, 3] Operation: 19-16=3
Exploring Operation: 21-19=2, Resulting Numbers: [16, 2]
Generated Node #0,1,2: 56:[16, 2] Operation: 21-19=2
Moving to Node #0,1,2
Current State: 56:[16, 2], Operations: ['99-83=16', '21-19=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[19, 5], Operations: ['99-83=16', '21-16=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,56 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[21, 3], Operations: ['99-83=16', '19-16=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[99, 19, 62], Operations: ['83-21=62']
Exploring Operation: 99-19=80, Resulting Numbers: [62, 80]
Generated Node #0,0,0: 56:[62, 80] Operation: 99-19=80
Exploring Operation: 62-19=43, Resulting Numbers: [99, 43]
Generated Node #0,0,1: 56:[99, 43] Operation: 62-19=43
Exploring Operation: 99-62=37, Resulting Numbers: [19, 37]
Generated Node #0,0,2: 56:[19, 37] Operation: 99-62=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[19, 37], Operations: ['83-21=62', '99-62=37']
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,56 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[83, 21, 99, 19], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [99, 19, 62]
Generated Node #0,0: 56:[99, 19, 62] Operation: 83-21=62
Moving to Node #0,0
Current State: 56:[99, 19, 62], Operations: ['83-21=62']
Exploring Operation: 99-62=37, Resulting Numbers: [19, 37]
Generated Node #0,0,2: 56:[19, 37] Operation: 99-62=37
Moving to Node #0,0,2
Current State: 56:[19, 37], Operations: ['83-21=62', '99-62=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
36,
74,
83,
18
] | 22 | [
"83-74=9",
"36/9=4",
"18+4=22"
] | Current State: 22:[36, 74, 83, 18], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [36, 18, 9]
Generated Node #2: [36, 18, 9] from Operation: 83-74=9
Current State: 22:[36, 18, 9], Operations: ['83-74=9']
Exploring Operation: 36/9=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 36/9=4
Current State: 22:[18, 4], Operations: ['83-74=9', '36/9=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[36, 74, 83, 18], Operations: []
Exploring Operation: 74-36=38, Resulting Numbers: [83, 18, 38]
Generated Node #0,0: 22:[83, 18, 38] Operation: 74-36=38
Exploring Operation: 83-74=9, Resulting Numbers: [36, 18, 9]
Generated Node #0,1: 22:[36, 18, 9] Operation: 83-74=9
Exploring Operation: 83-36=47, Resulting Numbers: [74, 18, 47]
Generated Node #0,2: 22:[74, 18, 47] Operation: 83-36=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[36, 18, 9], Operations: ['83-74=9']
Exploring Operation: 36/18=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 22:[9, 2] Operation: 36/18=2
Exploring Operation: 36/9=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 22:[18, 4] Operation: 36/9=4
Exploring Operation: 36-18=18, Resulting Numbers: [9, 18]
Generated Node #0,1,2: 22:[9, 18] Operation: 36-18=18
Moving to Node #0,1,0
Current State: 22:[9, 2], Operations: ['83-74=9', '36/18=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[18, 4], Operations: ['83-74=9', '36/9=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[36, 74, 83, 18], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [36, 18, 9]
Generated Node #0,1: 22:[36, 18, 9] Operation: 83-74=9
Moving to Node #0,1
Current State: 22:[36, 18, 9], Operations: ['83-74=9']
Exploring Operation: 36/9=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 22:[18, 4] Operation: 36/9=4
Moving to Node #0,1,1
Current State: 22:[18, 4], Operations: ['83-74=9', '36/9=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
61,
56,
15,
68
] | 65 | [
"61-56=5",
"15/5=3",
"68-3=65"
] | Current State: 65:[61, 56, 15, 68], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [15, 68, 5]
Generated Node #2: [15, 68, 5] from Operation: 61-56=5
Current State: 65:[15, 68, 5], Operations: ['61-56=5']
Exploring Operation: 15/5=3, Resulting Numbers: [68, 3]
Generated Node #3: [68, 3] from Operation: 15/5=3
Current State: 65:[68, 3], Operations: ['61-56=5', '15/5=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[61, 56, 15, 68], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [61, 15, 12]
Generated Node #0,0: 65:[61, 15, 12] Operation: 68-56=12
Exploring Operation: 61-56=5, Resulting Numbers: [15, 68, 5]
Generated Node #0,1: 65:[15, 68, 5] Operation: 61-56=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[15, 68, 5], Operations: ['61-56=5']
Exploring Operation: 15/5=3, Resulting Numbers: [68, 3]
Generated Node #0,1,0: 65:[68, 3] Operation: 15/5=3
Exploring Operation: 68-5=63, Resulting Numbers: [15, 63]
Generated Node #0,1,1: 65:[15, 63] Operation: 68-5=63
Moving to Node #0,1,1
Current State: 65:[15, 63], Operations: ['61-56=5', '68-5=63']
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,0
Current State: 65:[68, 3], Operations: ['61-56=5', '15/5=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[61, 56, 15, 68], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [15, 68, 5]
Generated Node #0,1: 65:[15, 68, 5] Operation: 61-56=5
Moving to Node #0,1
Current State: 65:[15, 68, 5], Operations: ['61-56=5']
Exploring Operation: 15/5=3, Resulting Numbers: [68, 3]
Generated Node #0,1,0: 65:[68, 3] Operation: 15/5=3
Moving to Node #0,1,0
Current State: 65:[68, 3], Operations: ['61-56=5', '15/5=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
69,
67,
16,
52
] | 100 | [
"69+67=136",
"52-16=36",
"136-36=100"
] | Current State: 100:[69, 67, 16, 52], Operations: []
Exploring Operation: 69+67=136, Resulting Numbers: [16, 52, 136]
Generated Node #2: [16, 52, 136] from Operation: 69+67=136
Current State: 100:[16, 52, 136], Operations: ['69+67=136']
Exploring Operation: 52-16=36, Resulting Numbers: [136, 36]
Generated Node #3: [136, 36] from Operation: 52-16=36
Current State: 100:[136, 36], Operations: ['69+67=136', '52-16=36']
Exploring Operation: 136-36=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[69, 67, 16, 52], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [16, 52, 2]
Generated Node #0,0: 100:[16, 52, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 100:[16, 52, 2], Operations: ['69-67=2']
Exploring Operation: 16+2=18, Resulting Numbers: [52, 18]
Generated Node #0,0,0: 100:[52, 18] Operation: 16+2=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[52, 18], Operations: ['69-67=2', '16+2=18']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,100 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 |
[
26,
3,
78,
50
] | 59 | [
"78/26=3",
"3*3=9",
"50+9=59"
] | Current State: 59:[26, 3, 78, 50], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [3, 50, 3]
Generated Node #2: [3, 50, 3] from Operation: 78/26=3
Current State: 59:[3, 50, 3], Operations: ['78/26=3']
Exploring Operation: 3*3=9, Resulting Numbers: [50, 9]
Generated Node #3: [50, 9] from Operation: 3*3=9
Current State: 59:[50, 9], Operations: ['78/26=3', '3*3=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[26, 3, 78, 50], Operations: []
Exploring Operation: 26*3=78, Resulting Numbers: [78, 50, 78]
Generated Node #0,0: 59:[78, 50, 78] Operation: 26*3=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[78, 50, 78], Operations: ['26*3=78']
Exploring Operation: 78-50=28, Resulting Numbers: [78, 28]
Generated Node #0,0,0: 59:[78, 28] Operation: 78-50=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[78, 28], Operations: ['26*3=78', '78-50=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
2,
80,
74
] | 80 | [
"71+2=73",
"74-73=1",
"80*1=80"
] | Current State: 80:[71, 2, 80, 74], Operations: []
Exploring Operation: 71+2=73, Resulting Numbers: [80, 74, 73]
Generated Node #2: [80, 74, 73] from Operation: 71+2=73
Current State: 80:[80, 74, 73], Operations: ['71+2=73']
Exploring Operation: 74-73=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 74-73=1
Current State: 80:[80, 1], Operations: ['71+2=73', '74-73=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[71, 2, 80, 74], Operations: []
Exploring Operation: 71+2=73, Resulting Numbers: [80, 74, 73]
Generated Node #0,0: 80:[80, 74, 73] Operation: 71+2=73
Exploring Operation: 74/2=37, Resulting Numbers: [71, 80, 37]
Generated Node #0,1: 80:[71, 80, 37] Operation: 74/2=37
Exploring Operation: 74-71=3, Resulting Numbers: [2, 80, 3]
Generated Node #0,2: 80:[2, 80, 3] Operation: 74-71=3
Exploring Operation: 80-74=6, Resulting Numbers: [71, 2, 6]
Generated Node #0,3: 80:[71, 2, 6] Operation: 80-74=6
Exploring Operation: 80-71=9, Resulting Numbers: [2, 74, 9]
Generated Node #0,4: 80:[2, 74, 9] Operation: 80-71=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[2, 80, 3], Operations: ['74-71=3']
Exploring Operation: 80/2=40, Resulting Numbers: [3, 40]
Generated Node #0,2,0: 80:[3, 40] Operation: 80/2=40
Exploring Operation: 2+3=5, Resulting Numbers: [80, 5]
Generated Node #0,2,1: 80:[80, 5] Operation: 2+3=5
Exploring Operation: 2+80=82, Resulting Numbers: [3, 82]
Generated Node #0,2,2: 80:[3, 82] Operation: 2+80=82
Exploring Operation: 2*3=6, Resulting Numbers: [80, 6]
Generated Node #0,2,3: 80:[80, 6] Operation: 2*3=6
Exploring Operation: 3-2=1, Resulting Numbers: [80, 1]
Generated Node #0,2,4: 80:[80, 1] Operation: 3-2=1
Moving to Node #0,2,1
Current State: 80:[80, 5], Operations: ['74-71=3', '2+3=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,80 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[80, 6], Operations: ['74-71=3', '2*3=6']
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,80 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[3, 40], Operations: ['74-71=3', '80/2=40']
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,80 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Moving to Node #0,2,4
Current State: 80:[80, 1], Operations: ['74-71=3', '3-2=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[71, 2, 80, 74], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [2, 80, 3]
Generated Node #0,2: 80:[2, 80, 3] Operation: 74-71=3
Moving to Node #0,2
Current State: 80:[2, 80, 3], Operations: ['74-71=3']
Exploring Operation: 3-2=1, Resulting Numbers: [80, 1]
Generated Node #0,2,4: 80:[80, 1] Operation: 3-2=1
Moving to Node #0,2,4
Current State: 80:[80, 1], Operations: ['74-71=3', '3-2=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
8,
83,
66,
67
] | 75 | [
"83-8=75",
"67-66=1",
"75*1=75"
] | Current State: 75:[8, 83, 66, 67], Operations: []
Exploring Operation: 83-8=75, Resulting Numbers: [66, 67, 75]
Generated Node #2: [66, 67, 75] from Operation: 83-8=75
Current State: 75:[66, 67, 75], Operations: ['83-8=75']
Exploring Operation: 67-66=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 67-66=1
Current State: 75:[75, 1], Operations: ['83-8=75', '67-66=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[8, 83, 66, 67], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [8, 67, 17]
Generated Node #0,0: 75:[8, 67, 17] Operation: 83-66=17
Exploring Operation: 83-67=16, Resulting Numbers: [8, 66, 16]
Generated Node #0,1: 75:[8, 66, 16] Operation: 83-67=16
Exploring Operation: 83-8=75, Resulting Numbers: [66, 67, 75]
Generated Node #0,2: 75:[66, 67, 75] Operation: 83-8=75
Exploring Operation: 67-66=1, Resulting Numbers: [8, 83, 1]
Generated Node #0,3: 75:[8, 83, 1] Operation: 67-66=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[8, 67, 17], Operations: ['83-66=17']
Exploring Operation: 8+67=75, Resulting Numbers: [17, 75]
Generated Node #0,0,0: 75:[17, 75] Operation: 8+67=75
Exploring Operation: 17-8=9, Resulting Numbers: [67, 9]
Generated Node #0,0,1: 75:[67, 9] Operation: 17-8=9
Exploring Operation: 67+17=84, Resulting Numbers: [8, 84]
Generated Node #0,0,2: 75:[8, 84] Operation: 67+17=84
Exploring Operation: 8+17=25, Resulting Numbers: [67, 25]
Generated Node #0,0,3: 75:[67, 25] Operation: 8+17=25
Moving to Node #0,0,0
Current State: 75:[17, 75], Operations: ['83-66=17', '8+67=75']
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,75 unequal: No Solution
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[67, 25], Operations: ['83-66=17', '8+17=25']
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,75 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[8, 84], Operations: ['83-66=17', '67+17=84']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,75 unequal: No Solution
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[67, 9], Operations: ['83-66=17', '17-8=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,75 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[8, 66, 16], Operations: ['83-67=16']
Exploring Operation: 8+66=74, Resulting Numbers: [16, 74]
Generated Node #0,1,0: 75:[16, 74] Operation: 8+66=74
Exploring Operation: 8+16=24, Resulting Numbers: [66, 24]
Generated Node #0,1,1: 75:[66, 24] Operation: 8+16=24
Exploring Operation: 66+16=82, Resulting Numbers: [8, 82]
Generated Node #0,1,2: 75:[8, 82] Operation: 66+16=82
Exploring Operation: 16/8=2, Resulting Numbers: [66, 2]
Generated Node #0,1,3: 75:[66, 2] Operation: 16/8=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[16, 74], Operations: ['83-67=16', '8+66=74']
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,75 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[66, 24], Operations: ['83-67=16', '8+16=24']
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,75 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[8, 82], Operations: ['83-67=16', '66+16=82']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,75 unequal: No Solution
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[66, 2], Operations: ['83-67=16', '16/8=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,75 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[8, 83, 1], Operations: ['67-66=1']
Exploring Operation: 8-1=7, Resulting Numbers: [83, 7]
Generated Node #0,3,0: 75:[83, 7] Operation: 8-1=7
Exploring Operation: 8*1=8, Resulting Numbers: [83, 8]
Generated Node #0,3,1: 75:[83, 8] Operation: 8*1=8
Exploring Operation: 83-1=82, Resulting Numbers: [8, 82]
Generated Node #0,3,2: 75:[8, 82] Operation: 83-1=82
Exploring Operation: 83-8=75, Resulting Numbers: [1, 75]
Generated Node #0,3,3: 75:[1, 75] Operation: 83-8=75
Moving to Node #0,3,3
Current State: 75:[1, 75], Operations: ['67-66=1', '83-8=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[8, 83, 66, 67], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [8, 83, 1]
Generated Node #0,3: 75:[8, 83, 1] Operation: 67-66=1
Moving to Node #0,3
Current State: 75:[8, 83, 1], Operations: ['67-66=1']
Exploring Operation: 83-8=75, Resulting Numbers: [1, 75]
Generated Node #0,3,3: 75:[1, 75] Operation: 83-8=75
Moving to Node #0,3,3
Current State: 75:[1, 75], Operations: ['67-66=1', '83-8=75']
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
36,
27,
24,
68
] | 33 | [
"68-24=44",
"27*44=1188",
"1188/36=33"
] | Current State: 33:[36, 27, 24, 68], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [36, 27, 44]
Generated Node #2: [36, 27, 44] from Operation: 68-24=44
Current State: 33:[36, 27, 44], Operations: ['68-24=44']
Exploring Operation: 27*44=1188, Resulting Numbers: [36, 1188]
Generated Node #3: [36, 1188] from Operation: 27*44=1188
Current State: 33:[36, 1188], Operations: ['68-24=44', '27*44=1188']
Exploring Operation: 1188/36=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[36, 27, 24, 68], Operations: []
Exploring Operation: 68-27=41, Resulting Numbers: [36, 24, 41]
Generated Node #0,0: 33:[36, 24, 41] Operation: 68-27=41
Exploring Operation: 68-36=32, Resulting Numbers: [27, 24, 32]
Generated Node #0,1: 33:[27, 24, 32] Operation: 68-36=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[27, 24, 32], Operations: ['68-36=32']
Exploring Operation: 27-24=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 33:[32, 3] Operation: 27-24=3
Exploring Operation: 32-24=8, Resulting Numbers: [27, 8]
Generated Node #0,1,1: 33:[27, 8] Operation: 32-24=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[32, 3], Operations: ['68-36=32', '27-24=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[27, 8], Operations: ['68-36=32', '32-24=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[36, 24, 41], Operations: ['68-27=41']
Exploring Operation: 36-24=12, Resulting Numbers: [41, 12]
Generated Node #0,0,0: 33:[41, 12] Operation: 36-24=12
Exploring Operation: 41-24=17, Resulting Numbers: [36, 17]
Generated Node #0,0,1: 33:[36, 17] Operation: 41-24=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[41, 12], Operations: ['68-27=41', '36-24=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[36, 17], Operations: ['68-27=41', '41-24=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
75,
30,
70
] | 42 | [
"70*30=2100",
"2100/75=28",
"70-28=42"
] | Current State: 42:[70, 75, 30, 70], Operations: []
Exploring Operation: 70*30=2100, Resulting Numbers: [75, 2100]
Generated Node #2: [75, 2100] from Operation: 70*30=2100
Current State: 42:[75, 2100], Operations: ['70*30=2100']
Exploring Operation: 2100/75=28, Resulting Numbers: [28]
28,42 equal: Goal Reached
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[70, 75, 30, 70], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [75, 30, 1]
Generated Node #0,0: 42:[75, 30, 1] Operation: 70/70=1
Exploring Operation: 75-70=5, Resulting Numbers: [70, 30, 5]
Generated Node #0,1: 42:[70, 30, 5] Operation: 75-70=5
Exploring Operation: 75-70=5, Resulting Numbers: [30, 70, 5]
Generated Node #0,2: 42:[30, 70, 5] Operation: 75-70=5
Exploring Operation: 70-70=0, Resulting Numbers: [75, 30, 0]
Generated Node #0,3: 42:[75, 30, 0] Operation: 70-70=0
Moving to Node #0,1
Current State: 42:[70, 30, 5], Operations: ['75-70=5']
Exploring Operation: 70-5=65, Resulting Numbers: [30, 65]
Generated Node #0,1,0: 42:[30, 65] Operation: 70-5=65
Exploring Operation: 70-30=40, Resulting Numbers: [5, 40]
Generated Node #0,1,1: 42:[5, 40] Operation: 70-30=40
Exploring Operation: 70/5=14, Resulting Numbers: [30, 14]
Generated Node #0,1,2: 42:[30, 14] Operation: 70/5=14
Exploring Operation: 30/5=6, Resulting Numbers: [70, 6]
Generated Node #0,1,3: 42:[70, 6] Operation: 30/5=6
Moving to Node #0,2
Current State: 42:[30, 70, 5], Operations: ['75-70=5']
Exploring Operation: 30-5=25, Resulting Numbers: [70, 25]
Generated Node #0,2,0: 42:[70, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [70, 6]
Generated Node #0,2,1: 42:[70, 6] Operation: 30/5=6
Exploring Operation: 70/5=14, Resulting Numbers: [30, 14]
Generated Node #0,2,2: 42:[30, 14] Operation: 70/5=14
Exploring Operation: 70-30=40, Resulting Numbers: [5, 40]
Generated Node #0,2,3: 42:[5, 40] Operation: 70-30=40
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[5, 40], Operations: ['75-70=5', '70-30=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,42 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,42 unequal: No Solution
No 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: 42:[30, 14], Operations: ['75-70=5', '70/5=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,42 unequal: No Solution
No 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: 42:[70, 6], Operations: ['75-70=5', '30/5=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,42 unequal: No Solution
No 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: 42:[70, 25], Operations: ['75-70=5', '30-5=25']
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,42 unequal: No Solution
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,42 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: 42:[75, 30, 1], Operations: ['70/70=1']
Exploring Operation: 30-1=29, Resulting Numbers: [75, 29]
Generated Node #0,0,0: 42:[75, 29] Operation: 30-1=29
Exploring Operation: 75-30=45, Resulting Numbers: [1, 45]
Generated Node #0,0,1: 42:[1, 45] Operation: 75-30=45
Exploring Operation: 75-1=74, Resulting Numbers: [30, 74]
Generated Node #0,0,2: 42:[30, 74] Operation: 75-1=74
Exploring Operation: 75*1=75, Resulting Numbers: [30, 75]
Generated Node #0,0,3: 42:[30, 75] Operation: 75*1=75
Moving to Node #0,3
Current State: 42:[75, 30, 0], Operations: ['70-70=0']
Exploring Operation: 30*0=0, Resulting Numbers: [75, 0]
Generated Node #0,3,0: 42:[75, 0] Operation: 30*0=0
Exploring Operation: 75-30=45, Resulting Numbers: [0, 45]
Generated Node #0,3,1: 42:[0, 45] Operation: 75-30=45
Exploring Operation: 75*0=0, Resulting Numbers: [30, 0]
Generated Node #0,3,2: 42:[30, 0] Operation: 75*0=0
Exploring Operation: 75+0=75, Resulting Numbers: [30, 75]
Generated Node #0,3,3: 42:[30, 75] Operation: 75+0=75
Moving to Node #0,1,1
Current State: 42:[5, 40], Operations: ['75-70=5', '70-30=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,42 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[1, 45], Operations: ['70/70=1', '75-30=45']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[0, 45], Operations: ['70-70=0', '75-30=45']
Exploring Operation: 45-0=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 0+45=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 0*45=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[30, 14], Operations: ['75-70=5', '70/5=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[30, 0], Operations: ['70-70=0', '75*0=0']
Exploring Operation: 30*0=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 30-0=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 30+0=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[70, 6], Operations: ['75-70=5', '30/5=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[30, 65], Operations: ['75-70=5', '70-5=65']
Exploring Operation: 30*65=1950, Resulting Numbers: [1950]
1950,42 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 30+65=95, Resulting Numbers: [95]
95,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[75, 0], Operations: ['70-70=0', '30*0=0']
Exploring Operation: 75-0=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 75*0=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[30, 74], Operations: ['70/70=1', '75-1=74']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[75, 29], Operations: ['70/70=1', '30-1=29']
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,42 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[30, 75], Operations: ['70/70=1', '75*1=75']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,42 unequal: No Solution
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[30, 75], Operations: ['70-70=0', '75+0=75']
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,42 unequal: No Solution
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,42 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
54,
6,
93,
9
] | 94 | [
"54/6=9",
"9/9=1",
"93+1=94"
] | Current State: 94:[54, 6, 93, 9], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [93, 9, 9]
Generated Node #2: [93, 9, 9] from Operation: 54/6=9
Current State: 94:[93, 9, 9], Operations: ['54/6=9']
Exploring Operation: 9/9=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 9/9=1
Current State: 94:[93, 1], Operations: ['54/6=9', '9/9=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[54, 6, 93, 9], Operations: []
Exploring Operation: 54-6=48, Resulting Numbers: [93, 9, 48]
Generated Node #0,0: 94:[93, 9, 48] Operation: 54-6=48
Exploring Operation: 54/9=6, Resulting Numbers: [6, 93, 6]
Generated Node #0,1: 94:[6, 93, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [6, 93, 45]
Generated Node #0,2: 94:[6, 93, 45] Operation: 54-9=45
Moving to Node #0,2
Current State: 94:[6, 93, 45], Operations: ['54-9=45']
Exploring Operation: 93-45=48, Resulting Numbers: [6, 48]
Generated Node #0,2,0: 94:[6, 48] Operation: 93-45=48
Exploring Operation: 6+93=99, Resulting Numbers: [45, 99]
Generated Node #0,2,1: 94:[45, 99] Operation: 6+93=99
Exploring Operation: 6+45=51, Resulting Numbers: [93, 51]
Generated Node #0,2,2: 94:[93, 51] Operation: 6+45=51
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[6, 48], Operations: ['54-9=45', '93-45=48']
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,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,2
Current State: 94:[93, 51], Operations: ['54-9=45', '6+45=51']
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,94 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,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:[45, 99], Operations: ['54-9=45', '6+93=99']
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,94 unequal: No Solution
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,94 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,94 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: 94:[93, 9, 48], Operations: ['54-6=48']
Exploring Operation: 93-48=45, Resulting Numbers: [9, 45]
Generated Node #0,0,0: 94:[9, 45] Operation: 93-48=45
Exploring Operation: 48-9=39, Resulting Numbers: [93, 39]
Generated Node #0,0,1: 94:[93, 39] Operation: 48-9=39
Exploring Operation: 93+9=102, Resulting Numbers: [48, 102]
Generated Node #0,0,2: 94:[48, 102] Operation: 93+9=102
Moving to Node #0,1
Current State: 94:[6, 93, 6], Operations: ['54/9=6']
Exploring Operation: 6-6=0, Resulting Numbers: [93, 0]
Generated Node #0,1,0: 94:[93, 0] Operation: 6-6=0
Exploring Operation: 6/6=1, Resulting Numbers: [93, 1]
Generated Node #0,1,1: 94:[93, 1] Operation: 6/6=1
Exploring Operation: 6+93=99, Resulting Numbers: [6, 99]
Generated Node #0,1,2: 94:[6, 99] Operation: 6+93=99
Moving to Node #0,1,1
Current State: 94:[93, 1], Operations: ['54/9=6', '6/6=1']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[54, 6, 93, 9], Operations: []
Exploring Operation: 54/9=6, Resulting Numbers: [6, 93, 6]
Generated Node #0,1: 94:[6, 93, 6] Operation: 54/9=6
Moving to Node #0,1
Current State: 94:[6, 93, 6], Operations: ['54/9=6']
Exploring Operation: 6/6=1, Resulting Numbers: [93, 1]
Generated Node #0,1,1: 94:[93, 1] Operation: 6/6=1
Moving to Node #0,1,1
Current State: 94:[93, 1], Operations: ['54/9=6', '6/6=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
6,
27,
3,
13
] | 72 | [
"6+27=33",
"3*13=39",
"33+39=72"
] | Current State: 72:[6, 27, 3, 13], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [3, 13, 33]
Generated Node #2: [3, 13, 33] from Operation: 6+27=33
Current State: 72:[3, 13, 33], Operations: ['6+27=33']
Exploring Operation: 3*13=39, Resulting Numbers: [33, 39]
Generated Node #3: [33, 39] from Operation: 3*13=39
Current State: 72:[33, 39], Operations: ['6+27=33', '3*13=39']
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[6, 27, 3, 13], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [3, 13, 33]
Generated Node #0,0: 72:[3, 13, 33] Operation: 6+27=33
Exploring Operation: 27-13=14, Resulting Numbers: [6, 3, 14]
Generated Node #0,1: 72:[6, 3, 14] Operation: 27-13=14
Exploring Operation: 27-3=24, Resulting Numbers: [6, 13, 24]
Generated Node #0,2: 72:[6, 13, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [6, 13, 9]
Generated Node #0,3: 72:[6, 13, 9] Operation: 27/3=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[6, 13, 24], Operations: ['27-3=24']
Exploring Operation: 6+13=19, Resulting Numbers: [24, 19]
Generated Node #0,2,0: 72:[24, 19] Operation: 6+13=19
Exploring Operation: 13-6=7, Resulting Numbers: [24, 7]
Generated Node #0,2,1: 72:[24, 7] Operation: 13-6=7
Exploring Operation: 24/6=4, Resulting Numbers: [13, 4]
Generated Node #0,2,2: 72:[13, 4] Operation: 24/6=4
Exploring Operation: 24-6=18, Resulting Numbers: [13, 18]
Generated Node #0,2,3: 72:[13, 18] Operation: 24-6=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[24, 19], Operations: ['27-3=24', '6+13=19']
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,72 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,72 unequal: No Solution
No 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: 72:[24, 7], Operations: ['27-3=24', '13-6=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,72 unequal: No Solution
No 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: 72:[13, 4], Operations: ['27-3=24', '24/6=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,72 unequal: No Solution
No 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: 72:[13, 18], Operations: ['27-3=24', '24-6=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,72 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,72 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: 72:[6, 13, 9], Operations: ['27/3=9']
Exploring Operation: 13-9=4, Resulting Numbers: [6, 4]
Generated Node #0,3,0: 72:[6, 4] Operation: 13-9=4
Exploring Operation: 6+13=19, Resulting Numbers: [9, 19]
Generated Node #0,3,1: 72:[9, 19] Operation: 6+13=19
Exploring Operation: 9-6=3, Resulting Numbers: [13, 3]
Generated Node #0,3,2: 72:[13, 3] Operation: 9-6=3
Exploring Operation: 13-6=7, Resulting Numbers: [9, 7]
Generated Node #0,3,3: 72:[9, 7] Operation: 13-6=7
Moving to Node #0,3,0
Current State: 72:[6, 4], Operations: ['27/3=9', '13-9=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[13, 3], Operations: ['27/3=9', '9-6=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,72 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[9, 19], Operations: ['27/3=9', '6+13=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,72 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[9, 7], Operations: ['27/3=9', '13-6=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,72 unequal: No Solution
No 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: 72:[6, 3, 14], Operations: ['27-13=14']
Exploring Operation: 6+3=9, Resulting Numbers: [14, 9]
Generated Node #0,1,0: 72:[14, 9] Operation: 6+3=9
Exploring Operation: 14-3=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 72:[6, 11] Operation: 14-3=11
Exploring Operation: 3+14=17, Resulting Numbers: [6, 17]
Generated Node #0,1,2: 72:[6, 17] Operation: 3+14=17
Exploring Operation: 14-6=8, Resulting Numbers: [3, 8]
Generated Node #0,1,3: 72:[3, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[3, 8], Operations: ['27-13=14', '14-6=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No 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: 72:[6, 11], Operations: ['27-13=14', '14-3=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,72 unequal: No Solution
No 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: 72:[6, 17], Operations: ['27-13=14', '3+14=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,72 unequal: No Solution
No 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: 72:[14, 9], Operations: ['27-13=14', '6+3=9']
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,72 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,72 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: 72:[3, 13, 33], Operations: ['6+27=33']
Exploring Operation: 33-13=20, Resulting Numbers: [3, 20]
Generated Node #0,0,0: 72:[3, 20] Operation: 33-13=20
Exploring Operation: 3+33=36, Resulting Numbers: [13, 36]
Generated Node #0,0,1: 72:[13, 36] Operation: 3+33=36
Exploring Operation: 13-3=10, Resulting Numbers: [33, 10]
Generated Node #0,0,2: 72:[33, 10] Operation: 13-3=10
Exploring Operation: 33/3=11, Resulting Numbers: [13, 11]
Generated Node #0,0,3: 72:[13, 11] Operation: 33/3=11
Moving to Node #0,0,1
Current State: 72:[13, 36], Operations: ['6+27=33', '3+33=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[13, 11], Operations: ['6+27=33', '33/3=11']
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,72 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[3, 20], Operations: ['6+27=33', '33-13=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[33, 10], Operations: ['6+27=33', '13-3=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
96,
70,
94
] | 95 | [
"72-70=2",
"96+94=190",
"190/2=95"
] | Current State: 95:[72, 96, 70, 94], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [96, 94, 2]
Generated Node #2: [96, 94, 2] from Operation: 72-70=2
Current State: 95:[96, 94, 2], Operations: ['72-70=2']
Exploring Operation: 96+94=190, Resulting Numbers: [2, 190]
Generated Node #3: [2, 190] from Operation: 96+94=190
Current State: 95:[2, 190], Operations: ['72-70=2', '96+94=190']
Exploring Operation: 190/2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[72, 96, 70, 94], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [96, 70, 22]
Generated Node #0,0: 95:[96, 70, 22] Operation: 94-72=22
Exploring Operation: 72-70=2, Resulting Numbers: [96, 94, 2]
Generated Node #0,1: 95:[96, 94, 2] Operation: 72-70=2
Exploring Operation: 94-70=24, Resulting Numbers: [72, 96, 24]
Generated Node #0,2: 95:[72, 96, 24] Operation: 94-70=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[96, 94, 2], Operations: ['72-70=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96, 96]
Generated Node #0,1,0: 95:[96, 96] Operation: 94+2=96
Exploring Operation: 96-2=94, Resulting Numbers: [94, 94]
Generated Node #0,1,1: 95:[94, 94] Operation: 96-2=94
Exploring Operation: 96+2=98, Resulting Numbers: [94, 98]
Generated Node #0,1,2: 95:[94, 98] Operation: 96+2=98
Moving to Node #0,1,0
Current State: 95:[96, 96], Operations: ['72-70=2', '94+2=96']
Exploring Operation: 96+96=192, Resulting Numbers: [192]
192,95 unequal: No Solution
Exploring Operation: 96-96=0, Resulting Numbers: [0]
0,95 unequal: No Solution
Exploring Operation: 96/96=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[94, 94], Operations: ['72-70=2', '96-2=94']
Exploring Operation: 94/94=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 94+94=188, Resulting Numbers: [188]
188,95 unequal: No Solution
Exploring Operation: 94-94=0, Resulting Numbers: [0]
0,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[94, 98], Operations: ['72-70=2', '96+2=98']
Exploring Operation: 98-94=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 94+98=192, Resulting Numbers: [192]
192,95 unequal: No Solution
Exploring Operation: 94*98=9212, Resulting Numbers: [9212]
9212,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[96, 70, 22], Operations: ['94-72=22']
Exploring Operation: 70-22=48, Resulting Numbers: [96, 48]
Generated Node #0,0,0: 95:[96, 48] Operation: 70-22=48
Exploring Operation: 96-70=26, Resulting Numbers: [22, 26]
Generated Node #0,0,1: 95:[22, 26] Operation: 96-70=26
Exploring Operation: 70+22=92, Resulting Numbers: [96, 92]
Generated Node #0,0,2: 95:[96, 92] Operation: 70+22=92
Moving to Node #0,0,2
Current State: 95:[96, 92], Operations: ['94-72=22', '70+22=92']
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 96+92=188, Resulting Numbers: [188]
188,95 unequal: No Solution
Exploring Operation: 96*92=8832, Resulting Numbers: [8832]
8832,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[22, 26], Operations: ['94-72=22', '96-70=26']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[96, 48], Operations: ['94-72=22', '70-22=48']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[72, 96, 24], Operations: ['94-70=24']
Exploring Operation: 96-72=24, Resulting Numbers: [24, 24]
Generated Node #0,2,0: 95:[24, 24] Operation: 96-72=24
Exploring Operation: 72+24=96, Resulting Numbers: [96, 96]
Generated Node #0,2,1: 95:[96, 96] Operation: 72+24=96
Exploring Operation: 72/24=3, Resulting Numbers: [96, 3]
Generated Node #0,2,2: 95:[96, 3] Operation: 72/24=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[96, 96], Operations: ['94-70=24', '72+24=96']
Exploring Operation: 96/96=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 96+96=192, Resulting Numbers: [192]
192,95 unequal: No Solution
Exploring Operation: 96-96=0, Resulting Numbers: [0]
0,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[96, 3], Operations: ['94-70=24', '72/24=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[24, 24], Operations: ['94-70=24', '96-72=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
13,
4,
49,
17
] | 71 | [
"13+17=30",
"4*30=120",
"120-49=71"
] | Current State: 71:[13, 4, 49, 17], Operations: []
Exploring Operation: 13+17=30, Resulting Numbers: [4, 49, 30]
Generated Node #2: [4, 49, 30] from Operation: 13+17=30
Current State: 71:[4, 49, 30], Operations: ['13+17=30']
Exploring Operation: 4*30=120, Resulting Numbers: [49, 120]
Generated Node #3: [49, 120] from Operation: 4*30=120
Current State: 71:[49, 120], Operations: ['13+17=30', '4*30=120']
Exploring Operation: 120-49=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[13, 4, 49, 17], Operations: []
Exploring Operation: 13+4=17, Resulting Numbers: [49, 17, 17]
Generated Node #0,0: 71:[49, 17, 17] Operation: 13+4=17
Exploring Operation: 13*4=52, Resulting Numbers: [49, 17, 52]
Generated Node #0,1: 71:[49, 17, 52] Operation: 13*4=52
Exploring Operation: 4*17=68, Resulting Numbers: [13, 49, 68]
Generated Node #0,2: 71:[13, 49, 68] Operation: 4*17=68
Moving to Node #0,2
Current State: 71:[13, 49, 68], Operations: ['4*17=68']
Exploring Operation: 13+68=81, Resulting Numbers: [49, 81]
Generated Node #0,2,0: 71:[49, 81] Operation: 13+68=81
Exploring Operation: 13+49=62, Resulting Numbers: [68, 62]
Generated Node #0,2,1: 71:[68, 62] Operation: 13+49=62
Exploring Operation: 49-13=36, Resulting Numbers: [68, 36]
Generated Node #0,2,2: 71:[68, 36] Operation: 49-13=36
Moving to Node #0,1
Current State: 71:[49, 17, 52], Operations: ['13*4=52']
Exploring Operation: 49+17=66, Resulting Numbers: [52, 66]
Generated Node #0,1,0: 71:[52, 66] Operation: 49+17=66
Exploring Operation: 49-17=32, Resulting Numbers: [52, 32]
Generated Node #0,1,1: 71:[52, 32] Operation: 49-17=32
Exploring Operation: 17+52=69, Resulting Numbers: [49, 69]
Generated Node #0,1,2: 71:[49, 69] Operation: 17+52=69
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[52, 66], Operations: ['13*4=52', '49+17=66']
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,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,1,2
Current State: 71:[49, 69], Operations: ['13*4=52', '17+52=69']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,71 unequal: No Solution
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,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,1,1
Current State: 71:[52, 32], Operations: ['13*4=52', '49-17=32']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,71 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: 71:[49, 17, 17], Operations: ['13+4=17']
Exploring Operation: 49+17=66, Resulting Numbers: [17, 66]
Generated Node #0,0,0: 71:[17, 66] Operation: 49+17=66
Exploring Operation: 17+17=34, Resulting Numbers: [49, 34]
Generated Node #0,0,1: 71:[49, 34] Operation: 17+17=34
Exploring Operation: 49+17=66, Resulting Numbers: [17, 66]
Generated Node #0,0,2: 71:[17, 66] Operation: 49+17=66
Moving to Node #0,2,1
Current State: 71:[68, 62], Operations: ['4*17=68', '13+49=62']
Exploring Operation: 68+62=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 68*62=4216, Resulting Numbers: [4216]
4216,71 unequal: No Solution
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[49, 81], Operations: ['4*17=68', '13+68=81']
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,71 unequal: No Solution
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[68, 36], Operations: ['4*17=68', '49-13=36']
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,71 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[17, 66], Operations: ['13+4=17', '49+17=66']
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 17*66=1122, Resulting Numbers: [1122]
1122,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[49, 34], Operations: ['13+4=17', '17+17=34']
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,71 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[17, 66], Operations: ['13+4=17', '49+17=66']
Exploring Operation: 17*66=1122, Resulting Numbers: [1122]
1122,71 unequal: No Solution
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,71 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
42,
57,
45,
16
] | 70 | [
"42+57=99",
"45-16=29",
"99-29=70"
] | Current State: 70:[42, 57, 45, 16], Operations: []
Exploring Operation: 42+57=99, Resulting Numbers: [45, 16, 99]
Generated Node #2: [45, 16, 99] from Operation: 42+57=99
Current State: 70:[45, 16, 99], Operations: ['42+57=99']
Exploring Operation: 45-16=29, Resulting Numbers: [99, 29]
Generated Node #3: [99, 29] from Operation: 45-16=29
Current State: 70:[99, 29], Operations: ['42+57=99', '45-16=29']
Exploring Operation: 99-29=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[42, 57, 45, 16], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [45, 16, 15]
Generated Node #0,0: 70:[45, 16, 15] Operation: 57-42=15
Exploring Operation: 45-42=3, Resulting Numbers: [57, 16, 3]
Generated Node #0,1: 70:[57, 16, 3] Operation: 45-42=3
Exploring Operation: 57-45=12, Resulting Numbers: [42, 16, 12]
Generated Node #0,2: 70:[42, 16, 12] Operation: 57-45=12
Exploring Operation: 57+16=73, Resulting Numbers: [42, 45, 73]
Generated Node #0,3: 70:[42, 45, 73] Operation: 57+16=73
Moving to Node #0,2
Current State: 70:[42, 16, 12], Operations: ['57-45=12']
Exploring Operation: 42-16=26, Resulting Numbers: [12, 26]
Generated Node #0,2,0: 70:[12, 26] Operation: 42-16=26
Exploring Operation: 42-12=30, Resulting Numbers: [16, 30]
Generated Node #0,2,1: 70:[16, 30] Operation: 42-12=30
Exploring Operation: 16-12=4, Resulting Numbers: [42, 4]
Generated Node #0,2,2: 70:[42, 4] Operation: 16-12=4
Exploring Operation: 42+16=58, Resulting Numbers: [12, 58]
Generated Node #0,2,3: 70:[12, 58] Operation: 42+16=58
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[16, 30], Operations: ['57-45=12', '42-12=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,70 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[42, 4], Operations: ['57-45=12', '16-12=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[12, 26], Operations: ['57-45=12', '42-16=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[12, 58], Operations: ['57-45=12', '42+16=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[42, 57, 45, 16], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [42, 16, 12]
Generated Node #0,2: 70:[42, 16, 12] Operation: 57-45=12
Moving to Node #0,2
Current State: 70:[42, 16, 12], Operations: ['57-45=12']
Exploring Operation: 42+16=58, Resulting Numbers: [12, 58]
Generated Node #0,2,3: 70:[12, 58] Operation: 42+16=58
Moving to Node #0,2,3
Current State: 70:[12, 58], Operations: ['57-45=12', '42+16=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
40,
71,
52,
56
] | 89 | [
"56-52=4",
"40*4=160",
"160-71=89"
] | Current State: 89:[40, 71, 52, 56], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [40, 71, 4]
Generated Node #2: [40, 71, 4] from Operation: 56-52=4
Current State: 89:[40, 71, 4], Operations: ['56-52=4']
Exploring Operation: 40*4=160, Resulting Numbers: [71, 160]
Generated Node #3: [71, 160] from Operation: 40*4=160
Current State: 89:[71, 160], Operations: ['56-52=4', '40*4=160']
Exploring Operation: 160-71=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[40, 71, 52, 56], Operations: []
Exploring Operation: 40+52=92, Resulting Numbers: [71, 56, 92]
Generated Node #0,0: 89:[71, 56, 92] Operation: 40+52=92
Exploring Operation: 40+71=111, Resulting Numbers: [52, 56, 111]
Generated Node #0,1: 89:[52, 56, 111] Operation: 40+71=111
Exploring Operation: 40+56=96, Resulting Numbers: [71, 52, 96]
Generated Node #0,2: 89:[71, 52, 96] Operation: 40+56=96
Exploring Operation: 52+56=108, Resulting Numbers: [40, 71, 108]
Generated Node #0,3: 89:[40, 71, 108] Operation: 52+56=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[71, 56, 92], Operations: ['40+52=92']
Exploring Operation: 71-56=15, Resulting Numbers: [92, 15]
Generated Node #0,0,0: 89:[92, 15] Operation: 71-56=15
Exploring Operation: 92-56=36, Resulting Numbers: [71, 36]
Generated Node #0,0,1: 89:[71, 36] Operation: 92-56=36
Exploring Operation: 71+56=127, Resulting Numbers: [92, 127]
Generated Node #0,0,2: 89:[92, 127] Operation: 71+56=127
Exploring Operation: 56+92=148, Resulting Numbers: [71, 148]
Generated Node #0,0,3: 89:[71, 148] Operation: 56+92=148
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[92, 127], Operations: ['40+52=92', '71+56=127']
Exploring Operation: 92*127=11684, Resulting Numbers: [11684]
11684,89 unequal: No Solution
Exploring Operation: 127-92=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 92+127=219, Resulting Numbers: [219]
219,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[71, 36], Operations: ['40+52=92', '92-56=36']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,89 unequal: No Solution
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[92, 15], Operations: ['40+52=92', '71-56=15']
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,89 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[71, 148], Operations: ['40+52=92', '56+92=148']
Exploring Operation: 71+148=219, Resulting Numbers: [219]
219,89 unequal: No Solution
Exploring Operation: 71*148=10508, Resulting Numbers: [10508]
10508,89 unequal: No Solution
Exploring Operation: 148-71=77, Resulting Numbers: [77]
77,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[71, 52, 96], Operations: ['40+56=96']
Exploring Operation: 52+96=148, Resulting Numbers: [71, 148]
Generated Node #0,2,0: 89:[71, 148] Operation: 52+96=148
Exploring Operation: 96-52=44, Resulting Numbers: [71, 44]
Generated Node #0,2,1: 89:[71, 44] Operation: 96-52=44
Exploring Operation: 71+52=123, Resulting Numbers: [96, 123]
Generated Node #0,2,2: 89:[96, 123] Operation: 71+52=123
Exploring Operation: 71-52=19, Resulting Numbers: [96, 19]
Generated Node #0,2,3: 89:[96, 19] Operation: 71-52=19
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[96, 123], Operations: ['40+56=96', '71+52=123']
Exploring Operation: 96+123=219, Resulting Numbers: [219]
219,89 unequal: No Solution
Exploring Operation: 96*123=11808, Resulting Numbers: [11808]
11808,89 unequal: No Solution
Exploring Operation: 123-96=27, Resulting Numbers: [27]
27,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[71, 44], Operations: ['40+56=96', '96-52=44']
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,89 unequal: No Solution
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,89 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[71, 148], Operations: ['40+56=96', '52+96=148']
Exploring Operation: 71+148=219, Resulting Numbers: [219]
219,89 unequal: No Solution
Exploring Operation: 71*148=10508, Resulting Numbers: [10508]
10508,89 unequal: No Solution
Exploring Operation: 148-71=77, Resulting Numbers: [77]
77,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[96, 19], Operations: ['40+56=96', '71-52=19']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,89 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[40, 71, 108], Operations: ['52+56=108']
Exploring Operation: 108-40=68, Resulting Numbers: [71, 68]
Generated Node #0,3,0: 89:[71, 68] Operation: 108-40=68
Exploring Operation: 40+108=148, Resulting Numbers: [71, 148]
Generated Node #0,3,1: 89:[71, 148] Operation: 40+108=148
Exploring Operation: 71-40=31, Resulting Numbers: [108, 31]
Generated Node #0,3,2: 89:[108, 31] Operation: 71-40=31
Exploring Operation: 40+71=111, Resulting Numbers: [108, 111]
Generated Node #0,3,3: 89:[108, 111] Operation: 40+71=111
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[71, 68], Operations: ['52+56=108', '108-40=68']
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,89 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[108, 111], Operations: ['52+56=108', '40+71=111']
Exploring Operation: 111-108=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 108+111=219, Resulting Numbers: [219]
219,89 unequal: No Solution
Exploring Operation: 108*111=11988, Resulting Numbers: [11988]
11988,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[71, 148], Operations: ['52+56=108', '40+108=148']
Exploring Operation: 71*148=10508, Resulting Numbers: [10508]
10508,89 unequal: No Solution
Exploring Operation: 71+148=219, Resulting Numbers: [219]
219,89 unequal: No Solution
Exploring Operation: 148-71=77, Resulting Numbers: [77]
77,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[108, 31], Operations: ['52+56=108', '71-40=31']
Exploring Operation: 108*31=3348, Resulting Numbers: [3348]
3348,89 unequal: No Solution
Exploring Operation: 108+31=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 108-31=77, Resulting Numbers: [77]
77,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[52, 56, 111], Operations: ['40+71=111']
Exploring Operation: 56-52=4, Resulting Numbers: [111, 4]
Generated Node #0,1,0: 89:[111, 4] Operation: 56-52=4
Exploring Operation: 52+56=108, Resulting Numbers: [111, 108]
Generated Node #0,1,1: 89:[111, 108] Operation: 52+56=108
Exploring Operation: 111-52=59, Resulting Numbers: [56, 59]
Generated Node #0,1,2: 89:[56, 59] Operation: 111-52=59
Exploring Operation: 111-56=55, Resulting Numbers: [52, 55]
Generated Node #0,1,3: 89:[52, 55] Operation: 111-56=55
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[111, 108], Operations: ['40+71=111', '52+56=108']
Exploring Operation: 111+108=219, Resulting Numbers: [219]
219,89 unequal: No Solution
Exploring Operation: 111-108=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 111*108=11988, Resulting Numbers: [11988]
11988,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[56, 59], Operations: ['40+71=111', '111-52=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,89 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[52, 55], Operations: ['40+71=111', '111-56=55']
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,89 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[111, 4], Operations: ['40+71=111', '56-52=4']
Exploring Operation: 111+4=115, Resulting Numbers: [115]
115,89 unequal: No Solution
Exploring Operation: 111*4=444, Resulting Numbers: [444]
444,89 unequal: No Solution
Exploring Operation: 111-4=107, Resulting Numbers: [107]
107,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
32,
91,
15,
69
] | 75 | [
"91+69=160",
"160/32=5",
"15*5=75"
] | Current State: 75:[32, 91, 15, 69], Operations: []
Exploring Operation: 91+69=160, Resulting Numbers: [32, 15, 160]
Generated Node #2: [32, 15, 160] from Operation: 91+69=160
Current State: 75:[32, 15, 160], Operations: ['91+69=160']
Exploring Operation: 160/32=5, Resulting Numbers: [15, 5]
Generated Node #3: [15, 5] from Operation: 160/32=5
Current State: 75:[15, 5], Operations: ['91+69=160', '160/32=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[32, 91, 15, 69], Operations: []
Exploring Operation: 91-32=59, Resulting Numbers: [15, 69, 59]
Generated Node #0,0: 75:[15, 69, 59] Operation: 91-32=59
Exploring Operation: 91-69=22, Resulting Numbers: [32, 15, 22]
Generated Node #0,1: 75:[32, 15, 22] Operation: 91-69=22
Exploring Operation: 32-15=17, Resulting Numbers: [91, 69, 17]
Generated Node #0,2: 75:[91, 69, 17] Operation: 32-15=17
Exploring Operation: 91-15=76, Resulting Numbers: [32, 69, 76]
Generated Node #0,3: 75:[32, 69, 76] Operation: 91-15=76
Moving to Node #0,1
Current State: 75:[32, 15, 22], Operations: ['91-69=22']
Exploring Operation: 32-15=17, Resulting Numbers: [22, 17]
Generated Node #0,1,0: 75:[22, 17] Operation: 32-15=17
Exploring Operation: 15+22=37, Resulting Numbers: [32, 37]
Generated Node #0,1,1: 75:[32, 37] Operation: 15+22=37
Exploring Operation: 32-22=10, Resulting Numbers: [15, 10]
Generated Node #0,1,2: 75:[15, 10] Operation: 32-22=10
Exploring Operation: 22-15=7, Resulting Numbers: [32, 7]
Generated Node #0,1,3: 75:[32, 7] Operation: 22-15=7
Moving to Node #0,3
Current State: 75:[32, 69, 76], Operations: ['91-15=76']
Exploring Operation: 69-32=37, Resulting Numbers: [76, 37]
Generated Node #0,3,0: 75:[76, 37] Operation: 69-32=37
Exploring Operation: 76-69=7, Resulting Numbers: [32, 7]
Generated Node #0,3,1: 75:[32, 7] Operation: 76-69=7
Exploring Operation: 32+69=101, Resulting Numbers: [76, 101]
Generated Node #0,3,2: 75:[76, 101] Operation: 32+69=101
Exploring Operation: 76-32=44, Resulting Numbers: [69, 44]
Generated Node #0,3,3: 75:[69, 44] Operation: 76-32=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[32, 7], Operations: ['91-15=76', '76-69=7']
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,75 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,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,3,0
Current State: 75:[76, 37], Operations: ['91-15=76', '69-32=37']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,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,3,3
Current State: 75:[69, 44], Operations: ['91-15=76', '76-32=44']
Exploring Operation: 69+44=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 69*44=3036, Resulting Numbers: [3036]
3036,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,3,2
Current State: 75:[76, 101], Operations: ['91-15=76', '32+69=101']
Exploring Operation: 101-76=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 76*101=7676, Resulting Numbers: [7676]
7676,75 unequal: No Solution
Exploring Operation: 76+101=177, Resulting Numbers: [177]
177,75 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: 75:[15, 69, 59], Operations: ['91-32=59']
Exploring Operation: 69-59=10, Resulting Numbers: [15, 10]
Generated Node #0,0,0: 75:[15, 10] Operation: 69-59=10
Exploring Operation: 15+59=74, Resulting Numbers: [69, 74]
Generated Node #0,0,1: 75:[69, 74] Operation: 15+59=74
Exploring Operation: 15+69=84, Resulting Numbers: [59, 84]
Generated Node #0,0,2: 75:[59, 84] Operation: 15+69=84
Exploring Operation: 59-15=44, Resulting Numbers: [69, 44]
Generated Node #0,0,3: 75:[69, 44] Operation: 59-15=44
Moving to Node #0,2
Current State: 75:[91, 69, 17], Operations: ['32-15=17']
Exploring Operation: 91+17=108, Resulting Numbers: [69, 108]
Generated Node #0,2,0: 75:[69, 108] Operation: 91+17=108
Exploring Operation: 91-69=22, Resulting Numbers: [17, 22]
Generated Node #0,2,1: 75:[17, 22] Operation: 91-69=22
Exploring Operation: 69+17=86, Resulting Numbers: [91, 86]
Generated Node #0,2,2: 75:[91, 86] Operation: 69+17=86
Exploring Operation: 91-17=74, Resulting Numbers: [69, 74]
Generated Node #0,2,3: 75:[69, 74] Operation: 91-17=74
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[17, 22], Operations: ['32-15=17', '91-69=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,75 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,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,2,3
Current State: 75:[69, 74], Operations: ['32-15=17', '91-17=74']
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,75 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,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,2,2
Current State: 75:[91, 86], Operations: ['32-15=17', '69+17=86']
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,75 unequal: No Solution
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,75 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,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,2,0
Current State: 75:[69, 108], Operations: ['32-15=17', '91+17=108']
Exploring Operation: 108-69=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 69*108=7452, Resulting Numbers: [7452]
7452,75 unequal: No Solution
Exploring Operation: 69+108=177, Resulting Numbers: [177]
177,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:[22, 17], Operations: ['91-69=22', '32-15=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,75 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[15, 10], Operations: ['91-69=22', '32-22=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[15, 10], Operations: ['91-32=59', '69-59=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[69, 74], Operations: ['91-32=59', '15+59=74']
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,75 unequal: No Solution
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[32, 7], Operations: ['91-69=22', '22-15=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,75 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[32, 37], Operations: ['91-69=22', '15+22=37']
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,75 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[59, 84], Operations: ['91-32=59', '15+69=84']
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,75 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[69, 44], Operations: ['91-32=59', '59-15=44']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 69*44=3036, Resulting Numbers: [3036]
3036,75 unequal: No Solution
Exploring Operation: 69+44=113, Resulting Numbers: [113]
113,75 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
78,
74,
47,
24
] | 67 | [
"78-74=4",
"47+24=71",
"71-4=67"
] | Current State: 67:[78, 74, 47, 24], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [47, 24, 4]
Generated Node #2: [47, 24, 4] from Operation: 78-74=4
Current State: 67:[47, 24, 4], Operations: ['78-74=4']
Exploring Operation: 47+24=71, Resulting Numbers: [4, 71]
Generated Node #3: [4, 71] from Operation: 47+24=71
Current State: 67:[4, 71], Operations: ['78-74=4', '47+24=71']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[78, 74, 47, 24], Operations: []
Exploring Operation: 47+24=71, Resulting Numbers: [78, 74, 71]
Generated Node #0,0: 67:[78, 74, 71] Operation: 47+24=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[78, 74, 71], Operations: ['47+24=71']
Exploring Operation: 78-74=4, Resulting Numbers: [71, 4]
Generated Node #0,0,0: 67:[71, 4] Operation: 78-74=4
Moving to Node #0,0,0
Current State: 67:[71, 4], Operations: ['47+24=71', '78-74=4']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[78, 74, 47, 24], Operations: []
Exploring Operation: 47+24=71, Resulting Numbers: [78, 74, 71]
Generated Node #0,0: 67:[78, 74, 71] Operation: 47+24=71
Moving to Node #0,0
Current State: 67:[78, 74, 71], Operations: ['47+24=71']
Exploring Operation: 78-74=4, Resulting Numbers: [71, 4]
Generated Node #0,0,0: 67:[71, 4] Operation: 78-74=4
Moving to Node #0,0,0
Current State: 67:[71, 4], Operations: ['47+24=71', '78-74=4']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
26,
45,
35,
40
] | 35 | [
"35-26=9",
"45/9=5",
"40-5=35"
] | Current State: 35:[26, 45, 35, 40], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [45, 40, 9]
Generated Node #2: [45, 40, 9] from Operation: 35-26=9
Current State: 35:[45, 40, 9], Operations: ['35-26=9']
Exploring Operation: 45/9=5, Resulting Numbers: [40, 5]
Generated Node #3: [40, 5] from Operation: 45/9=5
Current State: 35:[40, 5], Operations: ['35-26=9', '45/9=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[26, 45, 35, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [26, 35, 5]
Generated Node #0,0: 35:[26, 35, 5] Operation: 45-40=5
Exploring Operation: 40-26=14, Resulting Numbers: [45, 35, 14]
Generated Node #0,1: 35:[45, 35, 14] Operation: 40-26=14
Exploring Operation: 45-26=19, Resulting Numbers: [35, 40, 19]
Generated Node #0,2: 35:[35, 40, 19] Operation: 45-26=19
Exploring Operation: 35-26=9, Resulting Numbers: [45, 40, 9]
Generated Node #0,3: 35:[45, 40, 9] Operation: 35-26=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[26, 35, 5], Operations: ['45-40=5']
Exploring Operation: 26-5=21, Resulting Numbers: [35, 21]
Generated Node #0,0,0: 35:[35, 21] Operation: 26-5=21
Exploring Operation: 35-26=9, Resulting Numbers: [5, 9]
Generated Node #0,0,1: 35:[5, 9] Operation: 35-26=9
Exploring Operation: 35/5=7, Resulting Numbers: [26, 7]
Generated Node #0,0,2: 35:[26, 7] Operation: 35/5=7
Exploring Operation: 26+5=31, Resulting Numbers: [35, 31]
Generated Node #0,0,3: 35:[35, 31] Operation: 26+5=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[5, 9], Operations: ['45-40=5', '35-26=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,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,0,3
Current State: 35:[35, 31], Operations: ['45-40=5', '26+5=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,35 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,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,0,2
Current State: 35:[26, 7], Operations: ['45-40=5', '35/5=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,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,0,0
Current State: 35:[35, 21], Operations: ['45-40=5', '26-5=21']
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,35 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,35 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: 35:[45, 35, 14], Operations: ['40-26=14']
Exploring Operation: 45-14=31, Resulting Numbers: [35, 31]
Generated Node #0,1,0: 35:[35, 31] Operation: 45-14=31
Exploring Operation: 45-35=10, Resulting Numbers: [14, 10]
Generated Node #0,1,1: 35:[14, 10] Operation: 45-35=10
Exploring Operation: 35+14=49, Resulting Numbers: [45, 49]
Generated Node #0,1,2: 35:[45, 49] Operation: 35+14=49
Exploring Operation: 45+14=59, Resulting Numbers: [35, 59]
Generated Node #0,1,3: 35:[35, 59] Operation: 45+14=59
Moving to Node #0,1,0
Current State: 35:[35, 31], Operations: ['40-26=14', '45-14=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,35 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[14, 10], Operations: ['40-26=14', '45-35=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[35, 59], Operations: ['40-26=14', '45+14=59']
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,35 unequal: No Solution
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[45, 49], Operations: ['40-26=14', '35+14=49']
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,35 unequal: No Solution
No 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: 35:[35, 40, 19], Operations: ['45-26=19']
Exploring Operation: 40-19=21, Resulting Numbers: [35, 21]
Generated Node #0,2,0: 35:[35, 21] Operation: 40-19=21
Exploring Operation: 40-35=5, Resulting Numbers: [19, 5]
Generated Node #0,2,1: 35:[19, 5] Operation: 40-35=5
Exploring Operation: 35-19=16, Resulting Numbers: [40, 16]
Generated Node #0,2,2: 35:[40, 16] Operation: 35-19=16
Exploring Operation: 35+19=54, Resulting Numbers: [40, 54]
Generated Node #0,2,3: 35:[40, 54] Operation: 35+19=54
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[19, 5], Operations: ['45-26=19', '40-35=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,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,0
Current State: 35:[35, 21], Operations: ['45-26=19', '40-19=21']
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,35 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,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:[40, 16], Operations: ['45-26=19', '35-19=16']
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,35 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,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,3
Current State: 35:[40, 54], Operations: ['45-26=19', '35+19=54']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,35 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: 35:[45, 40, 9], Operations: ['35-26=9']
Exploring Operation: 40-9=31, Resulting Numbers: [45, 31]
Generated Node #0,3,0: 35:[45, 31] Operation: 40-9=31
Exploring Operation: 45/9=5, Resulting Numbers: [40, 5]
Generated Node #0,3,1: 35:[40, 5] Operation: 45/9=5
Exploring Operation: 45-40=5, Resulting Numbers: [9, 5]
Generated Node #0,3,2: 35:[9, 5] Operation: 45-40=5
Exploring Operation: 45-9=36, Resulting Numbers: [40, 36]
Generated Node #0,3,3: 35:[40, 36] Operation: 45-9=36
Moving to Node #0,3,2
Current State: 35:[9, 5], Operations: ['35-26=9', '45-40=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[40, 5], Operations: ['35-26=9', '45/9=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,35 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[26, 45, 35, 40], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [45, 40, 9]
Generated Node #0,3: 35:[45, 40, 9] Operation: 35-26=9
Moving to Node #0,3
Current State: 35:[45, 40, 9], Operations: ['35-26=9']
Exploring Operation: 45/9=5, Resulting Numbers: [40, 5]
Generated Node #0,3,1: 35:[40, 5] Operation: 45/9=5
Moving to Node #0,3,1
Current State: 35:[40, 5], Operations: ['35-26=9', '45/9=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_4 | sum_heuristic |
[
53,
4,
1,
88
] | 31 | [
"53+4=57",
"1*88=88",
"88-57=31"
] | Current State: 31:[53, 4, 1, 88], Operations: []
Exploring Operation: 53+4=57, Resulting Numbers: [1, 88, 57]
Generated Node #2: [1, 88, 57] from Operation: 53+4=57
Current State: 31:[1, 88, 57], Operations: ['53+4=57']
Exploring Operation: 1*88=88, Resulting Numbers: [57, 88]
Generated Node #3: [57, 88] from Operation: 1*88=88
Current State: 31:[57, 88], Operations: ['53+4=57', '1*88=88']
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[53, 4, 1, 88], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [53, 1, 22]
Generated Node #0,0: 31:[53, 1, 22] Operation: 88/4=22
Exploring Operation: 88-53=35, Resulting Numbers: [4, 1, 35]
Generated Node #0,1: 31:[4, 1, 35] Operation: 88-53=35
Moving to Node #0,0
Current State: 31:[53, 1, 22], Operations: ['88/4=22']
Exploring Operation: 53-1=52, Resulting Numbers: [22, 52]
Generated Node #0,0,0: 31:[22, 52] Operation: 53-1=52
Exploring Operation: 53-22=31, Resulting Numbers: [1, 31]
Generated Node #0,0,1: 31:[1, 31] Operation: 53-22=31
Moving to Node #0,1
Current State: 31:[4, 1, 35], Operations: ['88-53=35']
Exploring Operation: 4+1=5, Resulting Numbers: [35, 5]
Generated Node #0,1,0: 31:[35, 5] Operation: 4+1=5
Exploring Operation: 35-4=31, Resulting Numbers: [1, 31]
Generated Node #0,1,1: 31:[1, 31] Operation: 35-4=31
Moving to Node #0,0,0
Current State: 31:[22, 52], Operations: ['88/4=22', '53-1=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[35, 5], Operations: ['88-53=35', '4+1=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[1, 31], Operations: ['88/4=22', '53-22=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[53, 4, 1, 88], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [53, 1, 22]
Generated Node #0,0: 31:[53, 1, 22] Operation: 88/4=22
Moving to Node #0,0
Current State: 31:[53, 1, 22], Operations: ['88/4=22']
Exploring Operation: 53-22=31, Resulting Numbers: [1, 31]
Generated Node #0,0,1: 31:[1, 31] Operation: 53-22=31
Moving to Node #0,0,1
Current State: 31:[1, 31], Operations: ['88/4=22', '53-22=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
95,
8,
97,
5
] | 18 | [
"97-95=2",
"5*2=10",
"8+10=18"
] | Current State: 18:[95, 8, 97, 5], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [8, 5, 2]
Generated Node #2: [8, 5, 2] from Operation: 97-95=2
Current State: 18:[8, 5, 2], Operations: ['97-95=2']
Exploring Operation: 5*2=10, Resulting Numbers: [8, 10]
Generated Node #3: [8, 10] from Operation: 5*2=10
Current State: 18:[8, 10], Operations: ['97-95=2', '5*2=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[95, 8, 97, 5], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [8, 5, 2]
Generated Node #0,0: 18:[8, 5, 2] Operation: 97-95=2
Exploring Operation: 95/5=19, Resulting Numbers: [8, 97, 19]
Generated Node #0,1: 18:[8, 97, 19] Operation: 95/5=19
Exploring Operation: 95-8=87, Resulting Numbers: [97, 5, 87]
Generated Node #0,2: 18:[97, 5, 87] Operation: 95-8=87
Moving to Node #0,0
Current State: 18:[8, 5, 2], Operations: ['97-95=2']
Exploring Operation: 5-2=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 18:[8, 3] Operation: 5-2=3
Exploring Operation: 8-2=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 18:[5, 6] Operation: 8-2=6
Exploring Operation: 8-5=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 18:[2, 3] Operation: 8-5=3
Moving to Node #0,1
Current State: 18:[8, 97, 19], Operations: ['95/5=19']
Exploring Operation: 19-8=11, Resulting Numbers: [97, 11]
Generated Node #0,1,0: 18:[97, 11] Operation: 19-8=11
Exploring Operation: 97-8=89, Resulting Numbers: [19, 89]
Generated Node #0,1,1: 18:[19, 89] Operation: 97-8=89
Exploring Operation: 97-19=78, Resulting Numbers: [8, 78]
Generated Node #0,1,2: 18:[8, 78] Operation: 97-19=78
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[8, 78], Operations: ['95/5=19', '97-19=78']
Exploring Operation: 8*78=624, Resulting Numbers: [624]
624,18 unequal: No Solution
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[19, 89], Operations: ['95/5=19', '97-8=89']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,18 unequal: No Solution
Exploring Operation: 19*89=1691, Resulting Numbers: [1691]
1691,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[97, 11], Operations: ['95/5=19', '19-8=11']
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 97*11=1067, Resulting Numbers: [1067]
1067,18 unequal: No Solution
Exploring Operation: 97+11=108, Resulting Numbers: [108]
108,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 18:[97, 5, 87], Operations: ['95-8=87']
Exploring Operation: 87-5=82, Resulting Numbers: [97, 82]
Generated Node #0,2,0: 18:[97, 82] Operation: 87-5=82
Exploring Operation: 97-87=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 18:[5, 10] Operation: 97-87=10
Exploring Operation: 97-5=92, Resulting Numbers: [87, 92]
Generated Node #0,2,2: 18:[87, 92] Operation: 97-5=92
Moving to Node #0,0,2
Current State: 18:[2, 3], Operations: ['97-95=2', '8-5=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[5, 6], Operations: ['97-95=2', '8-2=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[8, 3], Operations: ['97-95=2', '5-2=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[5, 10], Operations: ['95-8=87', '97-87=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[97, 82], Operations: ['95-8=87', '87-5=82']
Exploring Operation: 97*82=7954, Resulting Numbers: [7954]
7954,18 unequal: No Solution
Exploring Operation: 97+82=179, Resulting Numbers: [179]
179,18 unequal: No Solution
Exploring Operation: 97-82=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[87, 92], Operations: ['95-8=87', '97-5=92']
Exploring Operation: 87*92=8004, Resulting Numbers: [8004]
8004,18 unequal: No Solution
Exploring Operation: 92-87=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 87+92=179, Resulting Numbers: [179]
179,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
74,
23,
71
] | 92 | [
"66+74=140",
"71-23=48",
"140-48=92"
] | Current State: 92:[66, 74, 23, 71], Operations: []
Exploring Operation: 66+74=140, Resulting Numbers: [23, 71, 140]
Generated Node #2: [23, 71, 140] from Operation: 66+74=140
Current State: 92:[23, 71, 140], Operations: ['66+74=140']
Exploring Operation: 71-23=48, Resulting Numbers: [140, 48]
Generated Node #3: [140, 48] from Operation: 71-23=48
Current State: 92:[140, 48], Operations: ['66+74=140', '71-23=48']
Exploring Operation: 140-48=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[66, 74, 23, 71], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [23, 71, 8]
Generated Node #0,0: 92:[23, 71, 8] Operation: 74-66=8
Exploring Operation: 71-66=5, Resulting Numbers: [74, 23, 5]
Generated Node #0,1: 92:[74, 23, 5] Operation: 71-66=5
Exploring Operation: 74-71=3, Resulting Numbers: [66, 23, 3]
Generated Node #0,2: 92:[66, 23, 3] Operation: 74-71=3
Exploring Operation: 23+71=94, Resulting Numbers: [66, 74, 94]
Generated Node #0,3: 92:[66, 74, 94] Operation: 23+71=94
Moving to Node #0,1
Current State: 92:[74, 23, 5], Operations: ['71-66=5']
Exploring Operation: 74+5=79, Resulting Numbers: [23, 79]
Generated Node #0,1,0: 92:[23, 79] Operation: 74+5=79
Exploring Operation: 74+23=97, Resulting Numbers: [5, 97]
Generated Node #0,1,1: 92:[5, 97] Operation: 74+23=97
Exploring Operation: 74-23=51, Resulting Numbers: [5, 51]
Generated Node #0,1,2: 92:[5, 51] Operation: 74-23=51
Exploring Operation: 74-5=69, Resulting Numbers: [23, 69]
Generated Node #0,1,3: 92:[23, 69] Operation: 74-5=69
Moving to Node #0,2
Current State: 92:[66, 23, 3], Operations: ['74-71=3']
Exploring Operation: 66/3=22, Resulting Numbers: [23, 22]
Generated Node #0,2,0: 92:[23, 22] Operation: 66/3=22
Exploring Operation: 66+23=89, Resulting Numbers: [3, 89]
Generated Node #0,2,1: 92:[3, 89] Operation: 66+23=89
Exploring Operation: 66-23=43, Resulting Numbers: [3, 43]
Generated Node #0,2,2: 92:[3, 43] Operation: 66-23=43
Exploring Operation: 66-3=63, Resulting Numbers: [23, 63]
Generated Node #0,2,3: 92:[23, 63] Operation: 66-3=63
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[23, 22], Operations: ['74-71=3', '66/3=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,92 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[3, 89], Operations: ['74-71=3', '66+23=89']
Exploring Operation: 3+89=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[66, 74, 23, 71], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [66, 23, 3]
Generated Node #0,2: 92:[66, 23, 3] Operation: 74-71=3
Moving to Node #0,2
Current State: 92:[66, 23, 3], Operations: ['74-71=3']
Exploring Operation: 66+23=89, Resulting Numbers: [3, 89]
Generated Node #0,2,1: 92:[3, 89] Operation: 66+23=89
Moving to Node #0,2,1
Current State: 92:[3, 89], Operations: ['74-71=3', '66+23=89']
Exploring Operation: 3+89=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
49,
91,
88,
2
] | 65 | [
"91-49=42",
"88+42=130",
"130/2=65"
] | Current State: 65:[49, 91, 88, 2], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [88, 2, 42]
Generated Node #2: [88, 2, 42] from Operation: 91-49=42
Current State: 65:[88, 2, 42], Operations: ['91-49=42']
Exploring Operation: 88+42=130, Resulting Numbers: [2, 130]
Generated Node #3: [2, 130] from Operation: 88+42=130
Current State: 65:[2, 130], Operations: ['91-49=42', '88+42=130']
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[49, 91, 88, 2], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [88, 2, 42]
Generated Node #0,0: 65:[88, 2, 42] Operation: 91-49=42
Exploring Operation: 91-88=3, Resulting Numbers: [49, 2, 3]
Generated Node #0,1: 65:[49, 2, 3] Operation: 91-88=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[49, 2, 3], Operations: ['91-88=3']
Exploring Operation: 49+2=51, Resulting Numbers: [3, 51]
Generated Node #0,1,0: 65:[3, 51] Operation: 49+2=51
Exploring Operation: 49+3=52, Resulting Numbers: [2, 52]
Generated Node #0,1,1: 65:[2, 52] Operation: 49+3=52
Moving to Node #0,1,0
Current State: 65:[3, 51], Operations: ['91-88=3', '49+2=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[2, 52], Operations: ['91-88=3', '49+3=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,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:[88, 2, 42], Operations: ['91-49=42']
Exploring Operation: 88-42=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 65:[2, 46] Operation: 88-42=46
Exploring Operation: 42/2=21, Resulting Numbers: [88, 21]
Generated Node #0,0,1: 65:[88, 21] Operation: 42/2=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[2, 46], Operations: ['91-49=42', '88-42=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,65 unequal: No Solution
No 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: 65:[88, 21], Operations: ['91-49=42', '42/2=21']
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
77,
51,
65
] | 77 | [
"65-65=0",
"51*0=0",
"77+0=77"
] | Current State: 77:[65, 77, 51, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [77, 51, 0]
Generated Node #2: [77, 51, 0] from Operation: 65-65=0
Current State: 77:[77, 51, 0], Operations: ['65-65=0']
Exploring Operation: 51*0=0, Resulting Numbers: [77, 0]
Generated Node #3: [77, 0] from Operation: 51*0=0
Current State: 77:[77, 0], Operations: ['65-65=0', '51*0=0']
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[65, 77, 51, 65], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [65, 77, 14]
Generated Node #0,0: 77:[65, 77, 14] Operation: 65-51=14
Exploring Operation: 77-65=12, Resulting Numbers: [51, 65, 12]
Generated Node #0,1: 77:[51, 65, 12] Operation: 77-65=12
Exploring Operation: 65/65=1, Resulting Numbers: [77, 51, 1]
Generated Node #0,2: 77:[77, 51, 1] Operation: 65/65=1
Exploring Operation: 65-65=0, Resulting Numbers: [77, 51, 0]
Generated Node #0,3: 77:[77, 51, 0] Operation: 65-65=0
Exploring Operation: 65-51=14, Resulting Numbers: [77, 65, 14]
Generated Node #0,4: 77:[77, 65, 14] Operation: 65-51=14
Moving to Node #0,0
Current State: 77:[65, 77, 14], Operations: ['65-51=14']
Exploring Operation: 77+14=91, Resulting Numbers: [65, 91]
Generated Node #0,0,0: 77:[65, 91] Operation: 77+14=91
Exploring Operation: 65-14=51, Resulting Numbers: [77, 51]
Generated Node #0,0,1: 77:[77, 51] Operation: 65-14=51
Exploring Operation: 65+14=79, Resulting Numbers: [77, 79]
Generated Node #0,0,2: 77:[77, 79] Operation: 65+14=79
Exploring Operation: 77-65=12, Resulting Numbers: [14, 12]
Generated Node #0,0,3: 77:[14, 12] Operation: 77-65=12
Exploring Operation: 77-14=63, Resulting Numbers: [65, 63]
Generated Node #0,0,4: 77:[65, 63] Operation: 77-14=63
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[77, 79], Operations: ['65-51=14', '65+14=79']
Exploring Operation: 77*79=6083, Resulting Numbers: [6083]
6083,77 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,77 unequal: No Solution
No 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: 77:[14, 12], Operations: ['65-51=14', '77-65=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,77 unequal: No Solution
No 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: 77:[65, 91], Operations: ['65-51=14', '77+14=91']
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,77 unequal: No Solution
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,77 unequal: No Solution
No 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: 77:[77, 51], Operations: ['65-51=14', '65-14=51']
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,77 unequal: No Solution
No 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: 77:[65, 63], Operations: ['65-51=14', '77-14=63']
Exploring Operation: 65+63=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 65*63=4095, Resulting Numbers: [4095]
4095,77 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: 77:[77, 65, 14], Operations: ['65-51=14']
Exploring Operation: 77-14=63, Resulting Numbers: [65, 63]
Generated Node #0,4,0: 77:[65, 63] Operation: 77-14=63
Exploring Operation: 77-65=12, Resulting Numbers: [14, 12]
Generated Node #0,4,1: 77:[14, 12] Operation: 77-65=12
Exploring Operation: 65+14=79, Resulting Numbers: [77, 79]
Generated Node #0,4,2: 77:[77, 79] Operation: 65+14=79
Exploring Operation: 77+14=91, Resulting Numbers: [65, 91]
Generated Node #0,4,3: 77:[65, 91] Operation: 77+14=91
Exploring Operation: 65-14=51, Resulting Numbers: [77, 51]
Generated Node #0,4,4: 77:[77, 51] Operation: 65-14=51
Moving to Node #0,2
Current State: 77:[77, 51, 1], Operations: ['65/65=1']
Exploring Operation: 51*1=51, Resulting Numbers: [77, 51]
Generated Node #0,2,0: 77:[77, 51] Operation: 51*1=51
Exploring Operation: 77-51=26, Resulting Numbers: [1, 26]
Generated Node #0,2,1: 77:[1, 26] Operation: 77-51=26
Exploring Operation: 77/1=77, Resulting Numbers: [51, 77]
Generated Node #0,2,2: 77:[51, 77] Operation: 77/1=77
Exploring Operation: 51+1=52, Resulting Numbers: [77, 52]
Generated Node #0,2,3: 77:[77, 52] Operation: 51+1=52
Exploring Operation: 77*1=77, Resulting Numbers: [51, 77]
Generated Node #0,2,4: 77:[51, 77] Operation: 77*1=77
Moving to Node #0,3
Current State: 77:[77, 51, 0], Operations: ['65-65=0']
Exploring Operation: 51+0=51, Resulting Numbers: [77, 51]
Generated Node #0,3,0: 77:[77, 51] Operation: 51+0=51
Exploring Operation: 51*0=0, Resulting Numbers: [77, 0]
Generated Node #0,3,1: 77:[77, 0] Operation: 51*0=0
Exploring Operation: 77-0=77, Resulting Numbers: [51, 77]
Generated Node #0,3,2: 77:[51, 77] Operation: 77-0=77
Exploring Operation: 77+0=77, Resulting Numbers: [51, 77]
Generated Node #0,3,3: 77:[51, 77] Operation: 77+0=77
Exploring Operation: 77-51=26, Resulting Numbers: [0, 26]
Generated Node #0,3,4: 77:[0, 26] Operation: 77-51=26
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[77, 0], Operations: ['65-65=0', '51*0=0']
Exploring Operation: 77*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 77-0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[65, 77, 51, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [77, 51, 0]
Generated Node #0,3: 77:[77, 51, 0] Operation: 65-65=0
Moving to Node #0,3
Current State: 77:[77, 51, 0], Operations: ['65-65=0']
Exploring Operation: 51*0=0, Resulting Numbers: [77, 0]
Generated Node #0,3,1: 77:[77, 0] Operation: 51*0=0
Moving to Node #0,3,1
Current State: 77:[77, 0], Operations: ['65-65=0', '51*0=0']
Exploring Operation: 77-0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
68,
25,
28,
94
] | 50 | [
"68+28=96",
"96-94=2",
"25*2=50"
] | Current State: 50:[68, 25, 28, 94], Operations: []
Exploring Operation: 68+28=96, Resulting Numbers: [25, 94, 96]
Generated Node #2: [25, 94, 96] from Operation: 68+28=96
Current State: 50:[25, 94, 96], Operations: ['68+28=96']
Exploring Operation: 96-94=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 96-94=2
Current State: 50:[25, 2], Operations: ['68+28=96', '96-94=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[68, 25, 28, 94], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [68, 25, 66]
Generated Node #0,0: 50:[68, 25, 66] Operation: 94-28=66
Exploring Operation: 94-68=26, Resulting Numbers: [25, 28, 26]
Generated Node #0,1: 50:[25, 28, 26] Operation: 94-68=26
Moving to Node #0,1
Current State: 50:[25, 28, 26], Operations: ['94-68=26']
Exploring Operation: 28-25=3, Resulting Numbers: [26, 3]
Generated Node #0,1,0: 50:[26, 3] Operation: 28-25=3
Exploring Operation: 28-26=2, Resulting Numbers: [25, 2]
Generated Node #0,1,1: 50:[25, 2] Operation: 28-26=2
Moving to Node #0,0
Current State: 50:[68, 25, 66], Operations: ['94-28=66']
Exploring Operation: 68-25=43, Resulting Numbers: [66, 43]
Generated Node #0,0,0: 50:[66, 43] Operation: 68-25=43
Exploring Operation: 68-66=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 68-66=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['94-28=66', '68-66=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[68, 25, 28, 94], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [68, 25, 66]
Generated Node #0,0: 50:[68, 25, 66] Operation: 94-28=66
Moving to Node #0,0
Current State: 50:[68, 25, 66], Operations: ['94-28=66']
Exploring Operation: 68-66=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 68-66=2
Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['94-28=66', '68-66=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
83,
1,
37,
3
] | 49 | [
"83*1=83",
"37-3=34",
"83-34=49"
] | Current State: 49:[83, 1, 37, 3], Operations: []
Exploring Operation: 83*1=83, Resulting Numbers: [37, 3, 83]
Generated Node #2: [37, 3, 83] from Operation: 83*1=83
Current State: 49:[37, 3, 83], Operations: ['83*1=83']
Exploring Operation: 37-3=34, Resulting Numbers: [83, 34]
Generated Node #3: [83, 34] from Operation: 37-3=34
Current State: 49:[83, 34], Operations: ['83*1=83', '37-3=34']
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[83, 1, 37, 3], Operations: []
Exploring Operation: 83-3=80, Resulting Numbers: [1, 37, 80]
Generated Node #0,0: 49:[1, 37, 80] Operation: 83-3=80
Exploring Operation: 83-37=46, Resulting Numbers: [1, 3, 46]
Generated Node #0,1: 49:[1, 3, 46] Operation: 83-37=46
Exploring Operation: 83-1=82, Resulting Numbers: [37, 3, 82]
Generated Node #0,2: 49:[37, 3, 82] Operation: 83-1=82
Moving to Node #0,1
Current State: 49:[1, 3, 46], Operations: ['83-37=46']
Exploring Operation: 1+3=4, Resulting Numbers: [46, 4]
Generated Node #0,1,0: 49:[46, 4] Operation: 1+3=4
Exploring Operation: 3+46=49, Resulting Numbers: [1, 49]
Generated Node #0,1,1: 49:[1, 49] Operation: 3+46=49
Exploring Operation: 1+46=47, Resulting Numbers: [3, 47]
Generated Node #0,1,2: 49:[3, 47] Operation: 1+46=47
Moving to Node #0,0
Current State: 49:[1, 37, 80], Operations: ['83-3=80']
Exploring Operation: 80-37=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 49:[1, 43] Operation: 80-37=43
Exploring Operation: 1+37=38, Resulting Numbers: [80, 38]
Generated Node #0,0,1: 49:[80, 38] Operation: 1+37=38
Exploring Operation: 80-1=79, Resulting Numbers: [37, 79]
Generated Node #0,0,2: 49:[37, 79] Operation: 80-1=79
Moving to Node #0,2
Current State: 49:[37, 3, 82], Operations: ['83-1=82']
Exploring Operation: 82-37=45, Resulting Numbers: [3, 45]
Generated Node #0,2,0: 49:[3, 45] Operation: 82-37=45
Exploring Operation: 37+3=40, Resulting Numbers: [82, 40]
Generated Node #0,2,1: 49:[82, 40] Operation: 37+3=40
Exploring Operation: 82-3=79, Resulting Numbers: [37, 79]
Generated Node #0,2,2: 49:[37, 79] Operation: 82-3=79
Moving to Node #0,1,0
Current State: 49:[46, 4], Operations: ['83-37=46', '1+3=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[3, 47], Operations: ['83-37=46', '1+46=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[1, 49], Operations: ['83-37=46', '3+46=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[83, 1, 37, 3], Operations: []
Exploring Operation: 83-37=46, Resulting Numbers: [1, 3, 46]
Generated Node #0,1: 49:[1, 3, 46] Operation: 83-37=46
Moving to Node #0,1
Current State: 49:[1, 3, 46], Operations: ['83-37=46']
Exploring Operation: 3+46=49, Resulting Numbers: [1, 49]
Generated Node #0,1,1: 49:[1, 49] Operation: 3+46=49
Moving to Node #0,1,1
Current State: 49:[1, 49], Operations: ['83-37=46', '3+46=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.980035 | hs_3 | mult_heuristic |
[
6,
11,
1,
74
] | 80 | [
"11-6=5",
"1+74=75",
"5+75=80"
] | Current State: 80:[6, 11, 1, 74], Operations: []
Exploring Operation: 11-6=5, Resulting Numbers: [1, 74, 5]
Generated Node #2: [1, 74, 5] from Operation: 11-6=5
Current State: 80:[1, 74, 5], Operations: ['11-6=5']
Exploring Operation: 1+74=75, Resulting Numbers: [5, 75]
Generated Node #3: [5, 75] from Operation: 1+74=75
Current State: 80:[5, 75], Operations: ['11-6=5', '1+74=75']
Exploring Operation: 5+75=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[6, 11, 1, 74], Operations: []
Exploring Operation: 11-6=5, Resulting Numbers: [1, 74, 5]
Generated Node #0,0: 80:[1, 74, 5] Operation: 11-6=5
Exploring Operation: 6-1=5, Resulting Numbers: [11, 74, 5]
Generated Node #0,1: 80:[11, 74, 5] Operation: 6-1=5
Exploring Operation: 6+74=80, Resulting Numbers: [11, 1, 80]
Generated Node #0,2: 80:[11, 1, 80] Operation: 6+74=80
Exploring Operation: 11-1=10, Resulting Numbers: [6, 74, 10]
Generated Node #0,3: 80:[6, 74, 10] Operation: 11-1=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[11, 1, 80], Operations: ['6+74=80']
Exploring Operation: 1*80=80, Resulting Numbers: [11, 80]
Generated Node #0,2,0: 80:[11, 80] Operation: 1*80=80
Exploring Operation: 11*1=11, Resulting Numbers: [80, 11]
Generated Node #0,2,1: 80:[80, 11] Operation: 11*1=11
Exploring Operation: 11-1=10, Resulting Numbers: [80, 10]
Generated Node #0,2,2: 80:[80, 10] Operation: 11-1=10
Exploring Operation: 11/1=11, Resulting Numbers: [80, 11]
Generated Node #0,2,3: 80:[80, 11] Operation: 11/1=11
Moving to Node #0,2,2
Current State: 80:[80, 10], Operations: ['6+74=80', '11-1=10']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,80 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[80, 11], Operations: ['6+74=80', '11*1=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,80 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[11, 80], Operations: ['6+74=80', '1*80=80']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[80, 11], Operations: ['6+74=80', '11/1=11']
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[1, 74, 5], Operations: ['11-6=5']
Exploring Operation: 1*74=74, Resulting Numbers: [5, 74]
Generated Node #0,0,0: 80:[5, 74] Operation: 1*74=74
Exploring Operation: 74+5=79, Resulting Numbers: [1, 79]
Generated Node #0,0,1: 80:[1, 79] Operation: 74+5=79
Exploring Operation: 1+74=75, Resulting Numbers: [5, 75]
Generated Node #0,0,2: 80:[5, 75] Operation: 1+74=75
Exploring Operation: 74/1=74, Resulting Numbers: [5, 74]
Generated Node #0,0,3: 80:[5, 74] Operation: 74/1=74
Moving to Node #0,0,1
Current State: 80:[1, 79], Operations: ['11-6=5', '74+5=79']
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[6, 11, 1, 74], Operations: []
Exploring Operation: 11-6=5, Resulting Numbers: [1, 74, 5]
Generated Node #0,0: 80:[1, 74, 5] Operation: 11-6=5
Moving to Node #0,0
Current State: 80:[1, 74, 5], Operations: ['11-6=5']
Exploring Operation: 74+5=79, Resulting Numbers: [1, 79]
Generated Node #0,0,1: 80:[1, 79] Operation: 74+5=79
Moving to Node #0,0,1
Current State: 80:[1, 79], Operations: ['11-6=5', '74+5=79']
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
43,
32,
9,
79
] | 59 | [
"43-32=11",
"79-9=70",
"70-11=59"
] | Current State: 59:[43, 32, 9, 79], Operations: []
Exploring Operation: 43-32=11, Resulting Numbers: [9, 79, 11]
Generated Node #2: [9, 79, 11] from Operation: 43-32=11
Current State: 59:[9, 79, 11], Operations: ['43-32=11']
Exploring Operation: 79-9=70, Resulting Numbers: [11, 70]
Generated Node #3: [11, 70] from Operation: 79-9=70
Current State: 59:[11, 70], Operations: ['43-32=11', '79-9=70']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[43, 32, 9, 79], Operations: []
Exploring Operation: 43+9=52, Resulting Numbers: [32, 79, 52]
Generated Node #0,0: 59:[32, 79, 52] Operation: 43+9=52
Exploring Operation: 32-9=23, Resulting Numbers: [43, 79, 23]
Generated Node #0,1: 59:[43, 79, 23] Operation: 32-9=23
Exploring Operation: 43-9=34, Resulting Numbers: [32, 79, 34]
Generated Node #0,2: 59:[32, 79, 34] Operation: 43-9=34
Exploring Operation: 32+9=41, Resulting Numbers: [43, 79, 41]
Generated Node #0,3: 59:[43, 79, 41] Operation: 32+9=41
Exploring Operation: 79-9=70, Resulting Numbers: [43, 32, 70]
Generated Node #0,4: 59:[43, 32, 70] Operation: 79-9=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[32, 79, 52], Operations: ['43+9=52']
Exploring Operation: 32+79=111, Resulting Numbers: [52, 111]
Generated Node #0,0,0: 59:[52, 111] Operation: 32+79=111
Exploring Operation: 79-52=27, Resulting Numbers: [32, 27]
Generated Node #0,0,1: 59:[32, 27] Operation: 79-52=27
Exploring Operation: 52-32=20, Resulting Numbers: [79, 20]
Generated Node #0,0,2: 59:[79, 20] Operation: 52-32=20
Exploring Operation: 32+52=84, Resulting Numbers: [79, 84]
Generated Node #0,0,3: 59:[79, 84] Operation: 32+52=84
Exploring Operation: 79-32=47, Resulting Numbers: [52, 47]
Generated Node #0,0,4: 59:[52, 47] Operation: 79-32=47
Moving to Node #0,0,4
Current State: 59:[52, 47], Operations: ['43+9=52', '79-32=47']
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,59 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[79, 84], Operations: ['43+9=52', '32+52=84']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[52, 111], Operations: ['43+9=52', '32+79=111']
Exploring Operation: 111-52=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[43, 32, 9, 79], Operations: []
Exploring Operation: 43+9=52, Resulting Numbers: [32, 79, 52]
Generated Node #0,0: 59:[32, 79, 52] Operation: 43+9=52
Moving to Node #0,0
Current State: 59:[32, 79, 52], Operations: ['43+9=52']
Exploring Operation: 32+79=111, Resulting Numbers: [52, 111]
Generated Node #0,0,0: 59:[52, 111] Operation: 32+79=111
Moving to Node #0,0,0
Current State: 59:[52, 111], Operations: ['43+9=52', '32+79=111']
Exploring Operation: 111-52=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
32,
49,
86,
12
] | 17 | [
"32+49=81",
"86+12=98",
"98-81=17"
] | Current State: 17:[32, 49, 86, 12], Operations: []
Exploring Operation: 32+49=81, Resulting Numbers: [86, 12, 81]
Generated Node #2: [86, 12, 81] from Operation: 32+49=81
Current State: 17:[86, 12, 81], Operations: ['32+49=81']
Exploring Operation: 86+12=98, Resulting Numbers: [81, 98]
Generated Node #3: [81, 98] from Operation: 86+12=98
Current State: 17:[81, 98], Operations: ['32+49=81', '86+12=98']
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[32, 49, 86, 12], Operations: []
Exploring Operation: 49-32=17, Resulting Numbers: [86, 12, 17]
Generated Node #0,0: 17:[86, 12, 17] Operation: 49-32=17
Exploring Operation: 86-49=37, Resulting Numbers: [32, 12, 37]
Generated Node #0,1: 17:[32, 12, 37] Operation: 86-49=37
Moving to Node #0,1
Current State: 17:[32, 12, 37], Operations: ['86-49=37']
Exploring Operation: 37-32=5, Resulting Numbers: [12, 5]
Generated Node #0,1,0: 17:[12, 5] Operation: 37-32=5
Exploring Operation: 32-12=20, Resulting Numbers: [37, 20]
Generated Node #0,1,1: 17:[37, 20] Operation: 32-12=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[12, 5], Operations: ['86-49=37', '37-32=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[32, 49, 86, 12], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [32, 12, 37]
Generated Node #0,1: 17:[32, 12, 37] Operation: 86-49=37
Moving to Node #0,1
Current State: 17:[32, 12, 37], Operations: ['86-49=37']
Exploring Operation: 37-32=5, Resulting Numbers: [12, 5]
Generated Node #0,1,0: 17:[12, 5] Operation: 37-32=5
Moving to Node #0,1,0
Current State: 17:[12, 5], Operations: ['86-49=37', '37-32=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
67,
5,
24,
2
] | 100 | [
"67-5=62",
"2*62=124",
"124-24=100"
] | Current State: 100:[67, 5, 24, 2], Operations: []
Exploring Operation: 67-5=62, Resulting Numbers: [24, 2, 62]
Generated Node #2: [24, 2, 62] from Operation: 67-5=62
Current State: 100:[24, 2, 62], Operations: ['67-5=62']
Exploring Operation: 2*62=124, Resulting Numbers: [24, 124]
Generated Node #3: [24, 124] from Operation: 2*62=124
Current State: 100:[24, 124], Operations: ['67-5=62', '2*62=124']
Exploring Operation: 124-24=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[67, 5, 24, 2], Operations: []
Exploring Operation: 67-24=43, Resulting Numbers: [5, 2, 43]
Generated Node #0,0: 100:[5, 2, 43] Operation: 67-24=43
Moving to Node #0,0
Current State: 100:[5, 2, 43], Operations: ['67-24=43']
Exploring Operation: 5+43=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 100:[2, 48] Operation: 5+43=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[2, 48], Operations: ['67-24=43', '5+43=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,100 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 |
[
10,
69,
92,
13
] | 26 | [
"10+69=79",
"92+13=105",
"105-79=26"
] | Current State: 26:[10, 69, 92, 13], Operations: []
Exploring Operation: 10+69=79, Resulting Numbers: [92, 13, 79]
Generated Node #2: [92, 13, 79] from Operation: 10+69=79
Current State: 26:[92, 13, 79], Operations: ['10+69=79']
Exploring Operation: 92+13=105, Resulting Numbers: [79, 105]
Generated Node #3: [79, 105] from Operation: 92+13=105
Current State: 26:[79, 105], Operations: ['10+69=79', '92+13=105']
Exploring Operation: 105-79=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[10, 69, 92, 13], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [10, 13, 23]
Generated Node #0,0: 26:[10, 13, 23] Operation: 92-69=23
Moving to Node #0,0
Current State: 26:[10, 13, 23], Operations: ['92-69=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13, 13]
Generated Node #0,0,0: 26:[13, 13] Operation: 23-10=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[13, 13], Operations: ['92-69=23', '23-10=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[10, 69, 92, 13], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [10, 13, 23]
Generated Node #0,0: 26:[10, 13, 23] Operation: 92-69=23
Moving to Node #0,0
Current State: 26:[10, 13, 23], Operations: ['92-69=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13, 13]
Generated Node #0,0,0: 26:[13, 13] Operation: 23-10=13
Moving to Node #0,0,0
Current State: 26:[13, 13], Operations: ['92-69=23', '23-10=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
56,
80,
5
] | 81 | [
"56-52=4",
"80+5=85",
"85-4=81"
] | Current State: 81:[52, 56, 80, 5], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [80, 5, 4]
Generated Node #2: [80, 5, 4] from Operation: 56-52=4
Current State: 81:[80, 5, 4], Operations: ['56-52=4']
Exploring Operation: 80+5=85, Resulting Numbers: [4, 85]
Generated Node #3: [4, 85] from Operation: 80+5=85
Current State: 81:[4, 85], Operations: ['56-52=4', '80+5=85']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[52, 56, 80, 5], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [52, 5, 24]
Generated Node #0,0: 81:[52, 5, 24] Operation: 80-56=24
Exploring Operation: 56-52=4, Resulting Numbers: [80, 5, 4]
Generated Node #0,1: 81:[80, 5, 4] Operation: 56-52=4
Exploring Operation: 52+56=108, Resulting Numbers: [80, 5, 108]
Generated Node #0,2: 81:[80, 5, 108] Operation: 52+56=108
Exploring Operation: 80-52=28, Resulting Numbers: [56, 5, 28]
Generated Node #0,3: 81:[56, 5, 28] Operation: 80-52=28
Moving to Node #0,1
Current State: 81:[80, 5, 4], Operations: ['56-52=4']
Exploring Operation: 5+4=9, Resulting Numbers: [80, 9]
Generated Node #0,1,0: 81:[80, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [80, 1]
Generated Node #0,1,1: 81:[80, 1] Operation: 5-4=1
Exploring Operation: 80+5=85, Resulting Numbers: [4, 85]
Generated Node #0,1,2: 81:[4, 85] Operation: 80+5=85
Exploring Operation: 80+4=84, Resulting Numbers: [5, 84]
Generated Node #0,1,3: 81:[5, 84] Operation: 80+4=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[80, 9], Operations: ['56-52=4', '5+4=9']
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,81 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[80, 1], Operations: ['56-52=4', '5-4=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[52, 56, 80, 5], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [80, 5, 4]
Generated Node #0,1: 81:[80, 5, 4] Operation: 56-52=4
Moving to Node #0,1
Current State: 81:[80, 5, 4], Operations: ['56-52=4']
Exploring Operation: 5-4=1, Resulting Numbers: [80, 1]
Generated Node #0,1,1: 81:[80, 1] Operation: 5-4=1
Moving to Node #0,1,1
Current State: 81:[80, 1], Operations: ['56-52=4', '5-4=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
10,
70,
11,
40
] | 10 | [
"70/10=7",
"11-7=4",
"40/4=10"
] | Current State: 10:[10, 70, 11, 40], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [11, 40, 7]
Generated Node #2: [11, 40, 7] from Operation: 70/10=7
Current State: 10:[11, 40, 7], Operations: ['70/10=7']
Exploring Operation: 11-7=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 11-7=4
Current State: 10:[40, 4], Operations: ['70/10=7', '11-7=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[10, 70, 11, 40], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [70, 11, 4]
Generated Node #0,0: 10:[70, 11, 4] Operation: 40/10=4
Exploring Operation: 70-40=30, Resulting Numbers: [10, 11, 30]
Generated Node #0,1: 10:[10, 11, 30] Operation: 70-40=30
Exploring Operation: 70/10=7, Resulting Numbers: [11, 40, 7]
Generated Node #0,2: 10:[11, 40, 7] Operation: 70/10=7
Moving to Node #0,1
Current State: 10:[10, 11, 30], Operations: ['70-40=30']
Exploring Operation: 30-10=20, Resulting Numbers: [11, 20]
Generated Node #0,1,0: 10:[11, 20] Operation: 30-10=20
Exploring Operation: 30-11=19, Resulting Numbers: [10, 19]
Generated Node #0,1,1: 10:[10, 19] Operation: 30-11=19
Exploring Operation: 30/10=3, Resulting Numbers: [11, 3]
Generated Node #0,1,2: 10:[11, 3] Operation: 30/10=3
Moving to Node #0,2
Current State: 10:[11, 40, 7], Operations: ['70/10=7']
Exploring Operation: 40-7=33, Resulting Numbers: [11, 33]
Generated Node #0,2,0: 10:[11, 33] Operation: 40-7=33
Exploring Operation: 11-7=4, Resulting Numbers: [40, 4]
Generated Node #0,2,1: 10:[40, 4] Operation: 11-7=4
Exploring Operation: 40-11=29, Resulting Numbers: [7, 29]
Generated Node #0,2,2: 10:[7, 29] Operation: 40-11=29
Moving to Node #0,0
Current State: 10:[70, 11, 4], Operations: ['40/10=4']
Exploring Operation: 70-11=59, Resulting Numbers: [4, 59]
Generated Node #0,0,0: 10:[4, 59] Operation: 70-11=59
Exploring Operation: 11-4=7, Resulting Numbers: [70, 7]
Generated Node #0,0,1: 10:[70, 7] Operation: 11-4=7
Exploring Operation: 70-4=66, Resulting Numbers: [11, 66]
Generated Node #0,0,2: 10:[11, 66] Operation: 70-4=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[4, 59], Operations: ['40/10=4', '70-11=59']
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,10 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,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,2
Current State: 10:[11, 66], Operations: ['40/10=4', '70-4=66']
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,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,1
Current State: 10:[70, 7], Operations: ['40/10=4', '11-4=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[10, 70, 11, 40], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [70, 11, 4]
Generated Node #0,0: 10:[70, 11, 4] Operation: 40/10=4
Moving to Node #0,0
Current State: 10:[70, 11, 4], Operations: ['40/10=4']
Exploring Operation: 11-4=7, Resulting Numbers: [70, 7]
Generated Node #0,0,1: 10:[70, 7] Operation: 11-4=7
Moving to Node #0,0,1
Current State: 10:[70, 7], Operations: ['40/10=4', '11-4=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
27,
45,
56,
99
] | 28 | [
"27*56=1512",
"99-45=54",
"1512/54=28"
] | Current State: 28:[27, 45, 56, 99], Operations: []
Exploring Operation: 27*56=1512, Resulting Numbers: [45, 99, 1512]
Generated Node #2: [45, 99, 1512] from Operation: 27*56=1512
Current State: 28:[45, 99, 1512], Operations: ['27*56=1512']
Exploring Operation: 99-45=54, Resulting Numbers: [1512, 54]
Generated Node #3: [1512, 54] from Operation: 99-45=54
Current State: 28:[1512, 54], Operations: ['27*56=1512', '99-45=54']
Exploring Operation: 1512/54=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[27, 45, 56, 99], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [27, 45, 43]
Generated Node #0,0: 28:[27, 45, 43] Operation: 99-56=43
Exploring Operation: 99-45=54, Resulting Numbers: [27, 56, 54]
Generated Node #0,1: 28:[27, 56, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[27, 45, 43], Operations: ['99-56=43']
Exploring Operation: 45-27=18, Resulting Numbers: [43, 18]
Generated Node #0,0,0: 28:[43, 18] Operation: 45-27=18
Exploring Operation: 45-43=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 28:[27, 2] Operation: 45-43=2
Moving to Node #0,0,1
Current State: 28:[27, 2], Operations: ['99-56=43', '45-43=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[43, 18], Operations: ['99-56=43', '45-27=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,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
Current State: 28:[27, 56, 54], Operations: ['99-45=54']
Exploring Operation: 56-27=29, Resulting Numbers: [54, 29]
Generated Node #0,1,0: 28:[54, 29] Operation: 56-27=29
Exploring Operation: 56-54=2, Resulting Numbers: [27, 2]
Generated Node #0,1,1: 28:[27, 2] Operation: 56-54=2
Moving to Node #0,1,1
Current State: 28:[27, 2], Operations: ['99-45=54', '56-54=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[54, 29], Operations: ['99-45=54', '56-27=29']
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
4,
61,
78
] | 85 | [
"72-4=68",
"78-61=17",
"68+17=85"
] | Current State: 85:[72, 4, 61, 78], Operations: []
Exploring Operation: 72-4=68, Resulting Numbers: [61, 78, 68]
Generated Node #2: [61, 78, 68] from Operation: 72-4=68
Current State: 85:[61, 78, 68], Operations: ['72-4=68']
Exploring Operation: 78-61=17, Resulting Numbers: [68, 17]
Generated Node #3: [68, 17] from Operation: 78-61=17
Current State: 85:[68, 17], Operations: ['72-4=68', '78-61=17']
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[72, 4, 61, 78], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [4, 78, 11]
Generated Node #0,0: 85:[4, 78, 11] Operation: 72-61=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[4, 78, 11], Operations: ['72-61=11']
Exploring Operation: 78+11=89, Resulting Numbers: [4, 89]
Generated Node #0,0,0: 85:[4, 89] Operation: 78+11=89
Moving to Node #0,0,0
Current State: 85:[4, 89], Operations: ['72-61=11', '78+11=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[72, 4, 61, 78], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [4, 78, 11]
Generated Node #0,0: 85:[4, 78, 11] Operation: 72-61=11
Moving to Node #0,0
Current State: 85:[4, 78, 11], Operations: ['72-61=11']
Exploring Operation: 78+11=89, Resulting Numbers: [4, 89]
Generated Node #0,0,0: 85:[4, 89] Operation: 78+11=89
Moving to Node #0,0,0
Current State: 85:[4, 89], Operations: ['72-61=11', '78+11=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
23,
87,
49,
92
] | 31 | [
"23+87=110",
"49+92=141",
"141-110=31"
] | Current State: 31:[23, 87, 49, 92], Operations: []
Exploring Operation: 23+87=110, Resulting Numbers: [49, 92, 110]
Generated Node #2: [49, 92, 110] from Operation: 23+87=110
Current State: 31:[49, 92, 110], Operations: ['23+87=110']
Exploring Operation: 49+92=141, Resulting Numbers: [110, 141]
Generated Node #3: [110, 141] from Operation: 49+92=141
Current State: 31:[110, 141], Operations: ['23+87=110', '49+92=141']
Exploring Operation: 141-110=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[23, 87, 49, 92], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [23, 49, 5]
Generated Node #0,0: 31:[23, 49, 5] Operation: 92-87=5
Exploring Operation: 87-49=38, Resulting Numbers: [23, 92, 38]
Generated Node #0,1: 31:[23, 92, 38] Operation: 87-49=38
Moving to Node #0,0
Current State: 31:[23, 49, 5], Operations: ['92-87=5']
Exploring Operation: 49-5=44, Resulting Numbers: [23, 44]
Generated Node #0,0,0: 31:[23, 44] Operation: 49-5=44
Exploring Operation: 23+5=28, Resulting Numbers: [49, 28]
Generated Node #0,0,1: 31:[49, 28] Operation: 23+5=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[23, 44], Operations: ['92-87=5', '49-5=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,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:[49, 28], Operations: ['92-87=5', '23+5=28']
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,31 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: 31:[23, 92, 38], Operations: ['87-49=38']
Exploring Operation: 92/23=4, Resulting Numbers: [38, 4]
Generated Node #0,1,0: 31:[38, 4] Operation: 92/23=4
Exploring Operation: 92-38=54, Resulting Numbers: [23, 54]
Generated Node #0,1,1: 31:[23, 54] Operation: 92-38=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[23, 54], Operations: ['87-49=38', '92-38=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[23, 87, 49, 92], Operations: []
Exploring Operation: 87-49=38, Resulting Numbers: [23, 92, 38]
Generated Node #0,1: 31:[23, 92, 38] Operation: 87-49=38
Moving to Node #0,1
Current State: 31:[23, 92, 38], Operations: ['87-49=38']
Exploring Operation: 92-38=54, Resulting Numbers: [23, 54]
Generated Node #0,1,1: 31:[23, 54] Operation: 92-38=54
Moving to Node #0,1,1
Current State: 31:[23, 54], Operations: ['87-49=38', '92-38=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
22,
31,
2,
83
] | 48 | [
"83-31=52",
"52/2=26",
"22+26=48"
] | Current State: 48:[22, 31, 2, 83], Operations: []
Exploring Operation: 83-31=52, Resulting Numbers: [22, 2, 52]
Generated Node #2: [22, 2, 52] from Operation: 83-31=52
Current State: 48:[22, 2, 52], Operations: ['83-31=52']
Exploring Operation: 52/2=26, Resulting Numbers: [22, 26]
Generated Node #3: [22, 26] from Operation: 52/2=26
Current State: 48:[22, 26], Operations: ['83-31=52', '52/2=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[22, 31, 2, 83], Operations: []
Exploring Operation: 31-22=9, Resulting Numbers: [2, 83, 9]
Generated Node #0,0: 48:[2, 83, 9] Operation: 31-22=9
Exploring Operation: 83-22=61, Resulting Numbers: [31, 2, 61]
Generated Node #0,1: 48:[31, 2, 61] Operation: 83-22=61
Exploring Operation: 83-31=52, Resulting Numbers: [22, 2, 52]
Generated Node #0,2: 48:[22, 2, 52] Operation: 83-31=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[22, 2, 52], Operations: ['83-31=52']
Exploring Operation: 22+2=24, Resulting Numbers: [52, 24]
Generated Node #0,2,0: 48:[52, 24] Operation: 22+2=24
Exploring Operation: 52-2=50, Resulting Numbers: [22, 50]
Generated Node #0,2,1: 48:[22, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [22, 26]
Generated Node #0,2,2: 48:[22, 26] Operation: 52/2=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[52, 24], Operations: ['83-31=52', '22+2=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,48 unequal: No Solution
No 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: 48:[22, 50], Operations: ['83-31=52', '52-2=50']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 22*50=1100, Resulting Numbers: [1100]
1100,48 unequal: No Solution
No 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: 48:[22, 26], Operations: ['83-31=52', '52/2=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,48 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[22, 31, 2, 83], Operations: []
Exploring Operation: 83-31=52, Resulting Numbers: [22, 2, 52]
Generated Node #0,2: 48:[22, 2, 52] Operation: 83-31=52
Moving to Node #0,2
Current State: 48:[22, 2, 52], Operations: ['83-31=52']
Exploring Operation: 52/2=26, Resulting Numbers: [22, 26]
Generated Node #0,2,2: 48:[22, 26] Operation: 52/2=26
Moving to Node #0,2,2
Current State: 48:[22, 26], Operations: ['83-31=52', '52/2=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
52,
50,
12,
86
] | 92 | [
"52-50=2",
"12/2=6",
"86+6=92"
] | Current State: 92:[52, 50, 12, 86], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [12, 86, 2]
Generated Node #2: [12, 86, 2] from Operation: 52-50=2
Current State: 92:[12, 86, 2], Operations: ['52-50=2']
Exploring Operation: 12/2=6, Resulting Numbers: [86, 6]
Generated Node #3: [86, 6] from Operation: 12/2=6
Current State: 92:[86, 6], Operations: ['52-50=2', '12/2=6']
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[52, 50, 12, 86], Operations: []
Exploring Operation: 12+86=98, Resulting Numbers: [52, 50, 98]
Generated Node #0,0: 92:[52, 50, 98] Operation: 12+86=98
Exploring Operation: 52-50=2, Resulting Numbers: [12, 86, 2]
Generated Node #0,1: 92:[12, 86, 2] Operation: 52-50=2
Exploring Operation: 52-12=40, Resulting Numbers: [50, 86, 40]
Generated Node #0,2: 92:[50, 86, 40] Operation: 52-12=40
Moving to Node #0,1
Current State: 92:[12, 86, 2], Operations: ['52-50=2']
Exploring Operation: 12+86=98, Resulting Numbers: [2, 98]
Generated Node #0,1,0: 92:[2, 98] Operation: 12+86=98
Exploring Operation: 12/2=6, Resulting Numbers: [86, 6]
Generated Node #0,1,1: 92:[86, 6] Operation: 12/2=6
Exploring Operation: 12*2=24, Resulting Numbers: [86, 24]
Generated Node #0,1,2: 92:[86, 24] Operation: 12*2=24
Moving to Node #0,0
Current State: 92:[52, 50, 98], Operations: ['12+86=98']
Exploring Operation: 98-50=48, Resulting Numbers: [52, 48]
Generated Node #0,0,0: 92:[52, 48] Operation: 98-50=48
Exploring Operation: 98-52=46, Resulting Numbers: [50, 46]
Generated Node #0,0,1: 92:[50, 46] Operation: 98-52=46
Exploring Operation: 52-50=2, Resulting Numbers: [98, 2]
Generated Node #0,0,2: 92:[98, 2] Operation: 52-50=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[50, 46], Operations: ['12+86=98', '98-52=46']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,92 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[98, 2], Operations: ['12+86=98', '52-50=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[52, 48], Operations: ['12+86=98', '98-50=48']
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,92 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,92 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: 92:[50, 86, 40], Operations: ['52-12=40']
Exploring Operation: 50+40=90, Resulting Numbers: [86, 90]
Generated Node #0,2,0: 92:[86, 90] Operation: 50+40=90
Exploring Operation: 50-40=10, Resulting Numbers: [86, 10]
Generated Node #0,2,1: 92:[86, 10] Operation: 50-40=10
Exploring Operation: 86-40=46, Resulting Numbers: [50, 46]
Generated Node #0,2,2: 92:[50, 46] Operation: 86-40=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[50, 46], Operations: ['52-12=40', '86-40=46']
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,92 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[86, 90], Operations: ['52-12=40', '50+40=90']
Exploring Operation: 86*90=7740, Resulting Numbers: [7740]
7740,92 unequal: No Solution
Exploring Operation: 86+90=176, Resulting Numbers: [176]
176,92 unequal: No Solution
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[86, 10], Operations: ['52-12=40', '50-40=10']
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,92 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,92 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: 92:[2, 98], Operations: ['52-50=2', '12+86=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[86, 24], Operations: ['52-50=2', '12*2=24']
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,92 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[86, 6], Operations: ['52-50=2', '12/2=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,92 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[52, 50, 12, 86], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [12, 86, 2]
Generated Node #0,1: 92:[12, 86, 2] Operation: 52-50=2
Moving to Node #0,1
Current State: 92:[12, 86, 2], Operations: ['52-50=2']
Exploring Operation: 12/2=6, Resulting Numbers: [86, 6]
Generated Node #0,1,1: 92:[86, 6] Operation: 12/2=6
Moving to Node #0,1,1
Current State: 92:[86, 6], Operations: ['52-50=2', '12/2=6']
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.962674 | hs_3 | sum_heuristic |
[
64,
48,
25,
69
] | 77 | [
"69-64=5",
"25*5=125",
"125-48=77"
] | Current State: 77:[64, 48, 25, 69], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [48, 25, 5]
Generated Node #2: [48, 25, 5] from Operation: 69-64=5
Current State: 77:[48, 25, 5], Operations: ['69-64=5']
Exploring Operation: 25*5=125, Resulting Numbers: [48, 125]
Generated Node #3: [48, 125] from Operation: 25*5=125
Current State: 77:[48, 125], Operations: ['69-64=5', '25*5=125']
Exploring Operation: 125-48=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[64, 48, 25, 69], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [48, 25, 5]
Generated Node #0,0: 77:[48, 25, 5] Operation: 69-64=5
Exploring Operation: 48+25=73, Resulting Numbers: [64, 69, 73]
Generated Node #0,1: 77:[64, 69, 73] Operation: 48+25=73
Exploring Operation: 69-48=21, Resulting Numbers: [64, 25, 21]
Generated Node #0,2: 77:[64, 25, 21] Operation: 69-48=21
Exploring Operation: 48-25=23, Resulting Numbers: [64, 69, 23]
Generated Node #0,3: 77:[64, 69, 23] Operation: 48-25=23
Exploring Operation: 64-48=16, Resulting Numbers: [25, 69, 16]
Generated Node #0,4: 77:[25, 69, 16] Operation: 64-48=16
Moving to Node #0,1
Current State: 77:[64, 69, 73], Operations: ['48+25=73']
Exploring Operation: 64+69=133, Resulting Numbers: [73, 133]
Generated Node #0,1,0: 77:[73, 133] Operation: 64+69=133
Exploring Operation: 73-64=9, Resulting Numbers: [69, 9]
Generated Node #0,1,1: 77:[69, 9] Operation: 73-64=9
Exploring Operation: 64+73=137, Resulting Numbers: [69, 137]
Generated Node #0,1,2: 77:[69, 137] Operation: 64+73=137
Exploring Operation: 69-64=5, Resulting Numbers: [73, 5]
Generated Node #0,1,3: 77:[73, 5] Operation: 69-64=5
Exploring Operation: 73-69=4, Resulting Numbers: [64, 4]
Generated Node #0,1,4: 77:[64, 4] Operation: 73-69=4
Moving to Node #0,4
Current State: 77:[25, 69, 16], Operations: ['64-48=16']
Exploring Operation: 69+16=85, Resulting Numbers: [25, 85]
Generated Node #0,4,0: 77:[25, 85] Operation: 69+16=85
Exploring Operation: 25+16=41, Resulting Numbers: [69, 41]
Generated Node #0,4,1: 77:[69, 41] Operation: 25+16=41
Exploring Operation: 69-25=44, Resulting Numbers: [16, 44]
Generated Node #0,4,2: 77:[16, 44] Operation: 69-25=44
Exploring Operation: 25-16=9, Resulting Numbers: [69, 9]
Generated Node #0,4,3: 77:[69, 9] Operation: 25-16=9
Exploring Operation: 25+69=94, Resulting Numbers: [16, 94]
Generated Node #0,4,4: 77:[16, 94] Operation: 25+69=94
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 77:[69, 9], Operations: ['64-48=16', '25-16=9']
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,77 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,77 unequal: No Solution
No 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: 77:[25, 85], Operations: ['64-48=16', '69+16=85']
Exploring Operation: 25+85=110, Resulting Numbers: [110]
110,77 unequal: No Solution
Exploring Operation: 25*85=2125, Resulting Numbers: [2125]
2125,77 unequal: No Solution
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,77 unequal: No Solution
No 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: 77:[16, 94], Operations: ['64-48=16', '25+69=94']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 16+94=110, Resulting Numbers: [110]
110,77 unequal: No Solution
Exploring Operation: 16*94=1504, Resulting Numbers: [1504]
1504,77 unequal: No Solution
No 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: 77:[69, 41], Operations: ['64-48=16', '25+16=41']
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,77 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,77 unequal: No Solution
No 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: 77:[16, 44], Operations: ['64-48=16', '69-25=44']
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,77 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,77 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: 77:[64, 69, 23], Operations: ['48-25=23']
Exploring Operation: 69-64=5, Resulting Numbers: [23, 5]
Generated Node #0,3,0: 77:[23, 5] Operation: 69-64=5
Exploring Operation: 64-23=41, Resulting Numbers: [69, 41]
Generated Node #0,3,1: 77:[69, 41] Operation: 64-23=41
Exploring Operation: 69/23=3, Resulting Numbers: [64, 3]
Generated Node #0,3,2: 77:[64, 3] Operation: 69/23=3
Exploring Operation: 64+23=87, Resulting Numbers: [69, 87]
Generated Node #0,3,3: 77:[69, 87] Operation: 64+23=87
Exploring Operation: 69+23=92, Resulting Numbers: [64, 92]
Generated Node #0,3,4: 77:[64, 92] Operation: 69+23=92
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[23, 5], Operations: ['48-25=23', '69-64=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No 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: 77:[64, 3], Operations: ['48-25=23', '69/23=3']
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,77 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,77 unequal: No Solution
No 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: 77:[69, 87], Operations: ['48-25=23', '64+23=87']
Exploring Operation: 69*87=6003, Resulting Numbers: [6003]
6003,77 unequal: No Solution
Exploring Operation: 69+87=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,77 unequal: No Solution
No 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: 77:[64, 92], Operations: ['48-25=23', '69+23=92']
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,77 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No 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: 77:[69, 41], Operations: ['48-25=23', '64-23=41']
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,77 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,77 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: 77:[64, 25, 21], Operations: ['69-48=21']
Exploring Operation: 25+21=46, Resulting Numbers: [64, 46]
Generated Node #0,2,0: 77:[64, 46] Operation: 25+21=46
Exploring Operation: 64+25=89, Resulting Numbers: [21, 89]
Generated Node #0,2,1: 77:[21, 89] Operation: 64+25=89
Exploring Operation: 64-25=39, Resulting Numbers: [21, 39]
Generated Node #0,2,2: 77:[21, 39] Operation: 64-25=39
Exploring Operation: 64+21=85, Resulting Numbers: [25, 85]
Generated Node #0,2,3: 77:[25, 85] Operation: 64+21=85
Exploring Operation: 25-21=4, Resulting Numbers: [64, 4]
Generated Node #0,2,4: 77:[64, 4] Operation: 25-21=4
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 77:[64, 4], Operations: ['69-48=21', '25-21=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,77 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,77 unequal: No Solution
No 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: 77:[21, 89], Operations: ['69-48=21', '64+25=89']
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,77 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 21*89=1869, Resulting Numbers: [1869]
1869,77 unequal: No Solution
No 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: 77:[25, 85], Operations: ['69-48=21', '64+21=85']
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 25*85=2125, Resulting Numbers: [2125]
2125,77 unequal: No Solution
Exploring Operation: 25+85=110, Resulting Numbers: [110]
110,77 unequal: No Solution
No 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: 77:[21, 39], Operations: ['69-48=21', '64-25=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,77 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,77 unequal: No Solution
No 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: 77:[64, 46], Operations: ['69-48=21', '25+21=46']
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,77 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,77 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: 77:[48, 25, 5], Operations: ['69-64=5']
Exploring Operation: 25-5=20, Resulting Numbers: [48, 20]
Generated Node #0,0,0: 77:[48, 20] Operation: 25-5=20
Exploring Operation: 48-25=23, Resulting Numbers: [5, 23]
Generated Node #0,0,1: 77:[5, 23] Operation: 48-25=23
Exploring Operation: 48+25=73, Resulting Numbers: [5, 73]
Generated Node #0,0,2: 77:[5, 73] Operation: 48+25=73
Exploring Operation: 25/5=5, Resulting Numbers: [48, 5]
Generated Node #0,0,3: 77:[48, 5] Operation: 25/5=5
Exploring Operation: 48+5=53, Resulting Numbers: [25, 53]
Generated Node #0,0,4: 77:[25, 53] Operation: 48+5=53
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[5, 73], Operations: ['69-64=5', '48+25=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,77 unequal: No Solution
No 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: 77:[5, 23], Operations: ['69-64=5', '48-25=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No 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: 77:[48, 5], Operations: ['69-64=5', '25/5=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,77 unequal: No Solution
No 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: 77:[48, 20], Operations: ['69-64=5', '25-5=20']
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,77 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,77 unequal: No Solution
No 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: 77:[25, 53], Operations: ['69-64=5', '48+5=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 77:[73, 5], Operations: ['48+25=73', '69-64=5']
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[69, 9], Operations: ['48+25=73', '73-64=9']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,77 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[64, 4], Operations: ['48+25=73', '73-69=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,77 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[73, 133], Operations: ['48+25=73', '64+69=133']
Exploring Operation: 73+133=206, Resulting Numbers: [206]
206,77 unequal: No Solution
Exploring Operation: 73*133=9709, Resulting Numbers: [9709]
9709,77 unequal: No Solution
Exploring Operation: 133-73=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[69, 137], Operations: ['48+25=73', '64+73=137']
Exploring Operation: 69+137=206, Resulting Numbers: [206]
206,77 unequal: No Solution
Exploring Operation: 69*137=9453, Resulting Numbers: [9453]
9453,77 unequal: No Solution
Exploring Operation: 137-69=68, Resulting Numbers: [68]
68,77 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
47,
38,
31,
23
] | 93 | [
"47+38=85",
"31-23=8",
"85+8=93"
] | Current State: 93:[47, 38, 31, 23], Operations: []
Exploring Operation: 47+38=85, Resulting Numbers: [31, 23, 85]
Generated Node #2: [31, 23, 85] from Operation: 47+38=85
Current State: 93:[31, 23, 85], Operations: ['47+38=85']
Exploring Operation: 31-23=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 31-23=8
Current State: 93:[85, 8], Operations: ['47+38=85', '31-23=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[47, 38, 31, 23], Operations: []
Exploring Operation: 47+38=85, Resulting Numbers: [31, 23, 85]
Generated Node #0,0: 93:[31, 23, 85] Operation: 47+38=85
Exploring Operation: 47-38=9, Resulting Numbers: [31, 23, 9]
Generated Node #0,1: 93:[31, 23, 9] Operation: 47-38=9
Exploring Operation: 47-31=16, Resulting Numbers: [38, 23, 16]
Generated Node #0,2: 93:[38, 23, 16] Operation: 47-31=16
Exploring Operation: 47-23=24, Resulting Numbers: [38, 31, 24]
Generated Node #0,3: 93:[38, 31, 24] Operation: 47-23=24
Moving to Node #0,1
Current State: 93:[31, 23, 9], Operations: ['47-38=9']
Exploring Operation: 31+9=40, Resulting Numbers: [23, 40]
Generated Node #0,1,0: 93:[23, 40] Operation: 31+9=40
Exploring Operation: 31-23=8, Resulting Numbers: [9, 8]
Generated Node #0,1,1: 93:[9, 8] Operation: 31-23=8
Exploring Operation: 23-9=14, Resulting Numbers: [31, 14]
Generated Node #0,1,2: 93:[31, 14] Operation: 23-9=14
Exploring Operation: 23+9=32, Resulting Numbers: [31, 32]
Generated Node #0,1,3: 93:[31, 32] Operation: 23+9=32
Moving to Node #0,3
Current State: 93:[38, 31, 24], Operations: ['47-23=24']
Exploring Operation: 38-31=7, Resulting Numbers: [24, 7]
Generated Node #0,3,0: 93:[24, 7] Operation: 38-31=7
Exploring Operation: 38-24=14, Resulting Numbers: [31, 14]
Generated Node #0,3,1: 93:[31, 14] Operation: 38-24=14
Exploring Operation: 38+31=69, Resulting Numbers: [24, 69]
Generated Node #0,3,2: 93:[24, 69] Operation: 38+31=69
Exploring Operation: 31-24=7, Resulting Numbers: [38, 7]
Generated Node #0,3,3: 93:[38, 7] Operation: 31-24=7
Moving to Node #0,0
Current State: 93:[31, 23, 85], Operations: ['47+38=85']
Exploring Operation: 31+23=54, Resulting Numbers: [85, 54]
Generated Node #0,0,0: 93:[85, 54] Operation: 31+23=54
Exploring Operation: 31-23=8, Resulting Numbers: [85, 8]
Generated Node #0,0,1: 93:[85, 8] Operation: 31-23=8
Exploring Operation: 23+85=108, Resulting Numbers: [31, 108]
Generated Node #0,0,2: 93:[31, 108] Operation: 23+85=108
Exploring Operation: 31+85=116, Resulting Numbers: [23, 116]
Generated Node #0,0,3: 93:[23, 116] Operation: 31+85=116
Moving to Node #0,2
Current State: 93:[38, 23, 16], Operations: ['47-31=16']
Exploring Operation: 23-16=7, Resulting Numbers: [38, 7]
Generated Node #0,2,0: 93:[38, 7] Operation: 23-16=7
Exploring Operation: 38-16=22, Resulting Numbers: [23, 22]
Generated Node #0,2,1: 93:[23, 22] Operation: 38-16=22
Exploring Operation: 23+16=39, Resulting Numbers: [38, 39]
Generated Node #0,2,2: 93:[38, 39] Operation: 23+16=39
Exploring Operation: 38-23=15, Resulting Numbers: [16, 15]
Generated Node #0,2,3: 93:[16, 15] Operation: 38-23=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[38, 7], Operations: ['47-31=16', '23-16=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,93 unequal: No Solution
No 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: 93:[38, 39], Operations: ['47-31=16', '23+16=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,93 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,93 unequal: No Solution
No 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: 93:[23, 22], Operations: ['47-31=16', '38-16=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,93 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No 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: 93:[16, 15], Operations: ['47-31=16', '38-23=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 93:[31, 32], Operations: ['47-38=9', '23+9=32']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[31, 14], Operations: ['47-38=9', '23-9=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,93 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[38, 7], Operations: ['47-23=24', '31-24=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,93 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[31, 14], Operations: ['47-23=24', '38-24=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[9, 8], Operations: ['47-38=9', '31-23=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[24, 7], Operations: ['47-23=24', '38-31=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,93 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[85, 8], Operations: ['47+38=85', '31-23=8']
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,93 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[47, 38, 31, 23], Operations: []
Exploring Operation: 47+38=85, Resulting Numbers: [31, 23, 85]
Generated Node #0,0: 93:[31, 23, 85] Operation: 47+38=85
Moving to Node #0,0
Current State: 93:[31, 23, 85], Operations: ['47+38=85']
Exploring Operation: 31-23=8, Resulting Numbers: [85, 8]
Generated Node #0,0,1: 93:[85, 8] Operation: 31-23=8
Moving to Node #0,0,1
Current State: 93:[85, 8], Operations: ['47+38=85', '31-23=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.951389 | hs_4 | sum_heuristic |
[
42,
70,
79,
2
] | 72 | [
"79-42=37",
"70/2=35",
"37+35=72"
] | Current State: 72:[42, 70, 79, 2], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [70, 2, 37]
Generated Node #2: [70, 2, 37] from Operation: 79-42=37
Current State: 72:[70, 2, 37], Operations: ['79-42=37']
Exploring Operation: 70/2=35, Resulting Numbers: [37, 35]
Generated Node #3: [37, 35] from Operation: 70/2=35
Current State: 72:[37, 35], Operations: ['79-42=37', '70/2=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[42, 70, 79, 2], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [70, 2, 37]
Generated Node #0,0: 72:[70, 2, 37] Operation: 79-42=37
Moving to Node #0,0
Current State: 72:[70, 2, 37], Operations: ['79-42=37']
Exploring Operation: 70+2=72, Resulting Numbers: [37, 72]
Generated Node #0,0,0: 72:[37, 72] Operation: 70+2=72
Moving to Node #0,0,0
Current State: 72:[37, 72], Operations: ['79-42=37', '70+2=72']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,72 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
99,
22,
21
] | 81 | [
"99-18=81",
"22-21=1",
"81*1=81"
] | Current State: 81:[18, 99, 22, 21], Operations: []
Exploring Operation: 99-18=81, Resulting Numbers: [22, 21, 81]
Generated Node #2: [22, 21, 81] from Operation: 99-18=81
Current State: 81:[22, 21, 81], Operations: ['99-18=81']
Exploring Operation: 22-21=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 22-21=1
Current State: 81:[81, 1], Operations: ['99-18=81', '22-21=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[18, 99, 22, 21], Operations: []
Exploring Operation: 99-22=77, Resulting Numbers: [18, 21, 77]
Generated Node #0,0: 81:[18, 21, 77] Operation: 99-22=77
Exploring Operation: 99-21=78, Resulting Numbers: [18, 22, 78]
Generated Node #0,1: 81:[18, 22, 78] Operation: 99-21=78
Exploring Operation: 99-18=81, Resulting Numbers: [22, 21, 81]
Generated Node #0,2: 81:[22, 21, 81] Operation: 99-18=81
Moving to Node #0,2
Current State: 81:[22, 21, 81], Operations: ['99-18=81']
Exploring Operation: 22-21=1, Resulting Numbers: [81, 1]
Generated Node #0,2,0: 81:[81, 1] Operation: 22-21=1
Exploring Operation: 22+21=43, Resulting Numbers: [81, 43]
Generated Node #0,2,1: 81:[81, 43] Operation: 22+21=43
Exploring Operation: 21+81=102, Resulting Numbers: [22, 102]
Generated Node #0,2,2: 81:[22, 102] Operation: 21+81=102
Moving to Node #0,1
Current State: 81:[18, 22, 78], Operations: ['99-21=78']
Exploring Operation: 18+78=96, Resulting Numbers: [22, 96]
Generated Node #0,1,0: 81:[22, 96] Operation: 18+78=96
Exploring Operation: 18+22=40, Resulting Numbers: [78, 40]
Generated Node #0,1,1: 81:[78, 40] Operation: 18+22=40
Exploring Operation: 22-18=4, Resulting Numbers: [78, 4]
Generated Node #0,1,2: 81:[78, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[78, 4], Operations: ['99-21=78', '22-18=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[78, 40], Operations: ['99-21=78', '18+22=40']
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,81 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[22, 96], Operations: ['99-21=78', '18+78=96']
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 81:[18, 21, 77], Operations: ['99-22=77']
Exploring Operation: 18+21=39, Resulting Numbers: [77, 39]
Generated Node #0,0,0: 81:[77, 39] Operation: 18+21=39
Exploring Operation: 18+77=95, Resulting Numbers: [21, 95]
Generated Node #0,0,1: 81:[21, 95] Operation: 18+77=95
Exploring Operation: 21-18=3, Resulting Numbers: [77, 3]
Generated Node #0,0,2: 81:[77, 3] Operation: 21-18=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[77, 3], Operations: ['99-22=77', '21-18=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[77, 39], Operations: ['99-22=77', '18+21=39']
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,81 unequal: No Solution
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[21, 95], Operations: ['99-22=77', '18+77=95']
Exploring Operation: 21*95=1995, Resulting Numbers: [1995]
1995,81 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 21+95=116, Resulting Numbers: [116]
116,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 81:[81, 1], Operations: ['99-18=81', '22-21=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[18, 99, 22, 21], Operations: []
Exploring Operation: 99-18=81, Resulting Numbers: [22, 21, 81]
Generated Node #0,2: 81:[22, 21, 81] Operation: 99-18=81
Moving to Node #0,2
Current State: 81:[22, 21, 81], Operations: ['99-18=81']
Exploring Operation: 22-21=1, Resulting Numbers: [81, 1]
Generated Node #0,2,0: 81:[81, 1] Operation: 22-21=1
Moving to Node #0,2,0
Current State: 81:[81, 1], Operations: ['99-18=81', '22-21=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
31,
93,
14,
78
] | 60 | [
"31+93=124",
"78-14=64",
"124-64=60"
] | Current State: 60:[31, 93, 14, 78], Operations: []
Exploring Operation: 31+93=124, Resulting Numbers: [14, 78, 124]
Generated Node #2: [14, 78, 124] from Operation: 31+93=124
Current State: 60:[14, 78, 124], Operations: ['31+93=124']
Exploring Operation: 78-14=64, Resulting Numbers: [124, 64]
Generated Node #3: [124, 64] from Operation: 78-14=64
Current State: 60:[124, 64], Operations: ['31+93=124', '78-14=64']
Exploring Operation: 124-64=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[31, 93, 14, 78], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [14, 78, 62]
Generated Node #0,0: 60:[14, 78, 62] Operation: 93-31=62
Exploring Operation: 93-78=15, Resulting Numbers: [31, 14, 15]
Generated Node #0,1: 60:[31, 14, 15] Operation: 93-78=15
Exploring Operation: 93/31=3, Resulting Numbers: [14, 78, 3]
Generated Node #0,2: 60:[14, 78, 3] Operation: 93/31=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[31, 14, 15], Operations: ['93-78=15']
Exploring Operation: 14+15=29, Resulting Numbers: [31, 29]
Generated Node #0,1,0: 60:[31, 29] Operation: 14+15=29
Exploring Operation: 31-15=16, Resulting Numbers: [14, 16]
Generated Node #0,1,1: 60:[14, 16] Operation: 31-15=16
Exploring Operation: 31-14=17, Resulting Numbers: [15, 17]
Generated Node #0,1,2: 60:[15, 17] Operation: 31-14=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[31, 29], Operations: ['93-78=15', '14+15=29']
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,60 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[31, 93, 14, 78], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [31, 14, 15]
Generated Node #0,1: 60:[31, 14, 15] Operation: 93-78=15
Moving to Node #0,1
Current State: 60:[31, 14, 15], Operations: ['93-78=15']
Exploring Operation: 14+15=29, Resulting Numbers: [31, 29]
Generated Node #0,1,0: 60:[31, 29] Operation: 14+15=29
Moving to Node #0,1,0
Current State: 60:[31, 29], Operations: ['93-78=15', '14+15=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
66,
11,
13,
74
] | 82 | [
"13-11=2",
"74*2=148",
"148-66=82"
] | Current State: 82:[66, 11, 13, 74], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [66, 74, 2]
Generated Node #2: [66, 74, 2] from Operation: 13-11=2
Current State: 82:[66, 74, 2], Operations: ['13-11=2']
Exploring Operation: 74*2=148, Resulting Numbers: [66, 148]
Generated Node #3: [66, 148] from Operation: 74*2=148
Current State: 82:[66, 148], Operations: ['13-11=2', '74*2=148']
Exploring Operation: 148-66=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[66, 11, 13, 74], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [13, 74, 6]
Generated Node #0,0: 82:[13, 74, 6] Operation: 66/11=6
Exploring Operation: 66+13=79, Resulting Numbers: [11, 74, 79]
Generated Node #0,1: 82:[11, 74, 79] Operation: 66+13=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[11, 74, 79], Operations: ['66+13=79']
Exploring Operation: 79-74=5, Resulting Numbers: [11, 5]
Generated Node #0,1,0: 82:[11, 5] Operation: 79-74=5
Exploring Operation: 11+74=85, Resulting Numbers: [79, 85]
Generated Node #0,1,1: 82:[79, 85] Operation: 11+74=85
Moving to Node #0,1,1
Current State: 82:[79, 85], Operations: ['66+13=79', '11+74=85']
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 79+85=164, Resulting Numbers: [164]
164,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[11, 5], Operations: ['66+13=79', '79-74=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,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:[13, 74, 6], Operations: ['66/11=6']
Exploring Operation: 13+74=87, Resulting Numbers: [6, 87]
Generated Node #0,0,0: 82:[6, 87] Operation: 13+74=87
Exploring Operation: 13*6=78, Resulting Numbers: [74, 78]
Generated Node #0,0,1: 82:[74, 78] Operation: 13*6=78
Moving to Node #0,0,0
Current State: 82:[6, 87], Operations: ['66/11=6', '13+74=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[74, 78], Operations: ['66/11=6', '13*6=78']
Exploring Operation: 74+78=152, Resulting Numbers: [152]
152,82 unequal: No Solution
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,82 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 |
[
54,
5,
58,
27
] | 71 | [
"58+27=85",
"85/5=17",
"54+17=71"
] | Current State: 71:[54, 5, 58, 27], Operations: []
Exploring Operation: 58+27=85, Resulting Numbers: [54, 5, 85]
Generated Node #2: [54, 5, 85] from Operation: 58+27=85
Current State: 71:[54, 5, 85], Operations: ['58+27=85']
Exploring Operation: 85/5=17, Resulting Numbers: [54, 17]
Generated Node #3: [54, 17] from Operation: 85/5=17
Current State: 71:[54, 17], Operations: ['58+27=85', '85/5=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[54, 5, 58, 27], Operations: []
Exploring Operation: 5+58=63, Resulting Numbers: [54, 27, 63]
Generated Node #0,0: 71:[54, 27, 63] Operation: 5+58=63
Exploring Operation: 54+5=59, Resulting Numbers: [58, 27, 59]
Generated Node #0,1: 71:[58, 27, 59] Operation: 54+5=59
Moving to Node #0,0
Current State: 71:[54, 27, 63], Operations: ['5+58=63']
Exploring Operation: 54+27=81, Resulting Numbers: [63, 81]
Generated Node #0,0,0: 71:[63, 81] Operation: 54+27=81
Exploring Operation: 27+63=90, Resulting Numbers: [54, 90]
Generated Node #0,0,1: 71:[54, 90] Operation: 27+63=90
Moving to Node #0,1
Current State: 71:[58, 27, 59], Operations: ['54+5=59']
Exploring Operation: 58+27=85, Resulting Numbers: [59, 85]
Generated Node #0,1,0: 71:[59, 85] Operation: 58+27=85
Exploring Operation: 27+59=86, Resulting Numbers: [58, 86]
Generated Node #0,1,1: 71:[58, 86] Operation: 27+59=86
Moving to Node #0,0,0
Current State: 71:[63, 81], Operations: ['5+58=63', '54+27=81']
Exploring Operation: 63+81=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[59, 85], Operations: ['54+5=59', '58+27=85']
Exploring Operation: 59+85=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[58, 86], Operations: ['54+5=59', '27+59=86']
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[54, 90], Operations: ['5+58=63', '27+63=90']
Exploring Operation: 54+90=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
62,
94,
64
] | 63 | [
"33+62=95",
"94+64=158",
"158-95=63"
] | Current State: 63:[33, 62, 94, 64], Operations: []
Exploring Operation: 33+62=95, Resulting Numbers: [94, 64, 95]
Generated Node #2: [94, 64, 95] from Operation: 33+62=95
Current State: 63:[94, 64, 95], Operations: ['33+62=95']
Exploring Operation: 94+64=158, Resulting Numbers: [95, 158]
Generated Node #3: [95, 158] from Operation: 94+64=158
Current State: 63:[95, 158], Operations: ['33+62=95', '94+64=158']
Exploring Operation: 158-95=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[33, 62, 94, 64], Operations: []
Exploring Operation: 94-33=61, Resulting Numbers: [62, 64, 61]
Generated Node #0,0: 63:[62, 64, 61] Operation: 94-33=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[62, 64, 61], Operations: ['94-33=61']
Exploring Operation: 64-61=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 63:[62, 3] Operation: 64-61=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[62, 3], Operations: ['94-33=61', '64-61=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,63 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 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.