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 |
|---|---|---|---|---|---|---|---|---|
[
31,
12,
10,
57
] | 24 | [
"31+12=43",
"10+57=67",
"67-43=24"
] | Current State: 24:[31, 12, 10, 57], Operations: []
Exploring Operation: 31+12=43, Resulting Numbers: [10, 57, 43]
Generated Node #2: [10, 57, 43] from Operation: 31+12=43
Current State: 24:[10, 57, 43], Operations: ['31+12=43']
Exploring Operation: 10+57=67, Resulting Numbers: [43, 67]
Generated Node #3: [43, 67] from Operation: 10+57=67
Current State: 24:[43, 67], Operations: ['31+12=43', '10+57=67']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[31, 12, 10, 57], Operations: []
Exploring Operation: 31-10=21, Resulting Numbers: [12, 57, 21]
Generated Node #0,0: 24:[12, 57, 21] Operation: 31-10=21
Exploring Operation: 57-12=45, Resulting Numbers: [31, 10, 45]
Generated Node #0,1: 24:[31, 10, 45] Operation: 57-12=45
Exploring Operation: 57-10=47, Resulting Numbers: [31, 12, 47]
Generated Node #0,2: 24:[31, 12, 47] Operation: 57-10=47
Exploring Operation: 31-12=19, Resulting Numbers: [10, 57, 19]
Generated Node #0,3: 24:[10, 57, 19] Operation: 31-12=19
Exploring Operation: 57-31=26, Resulting Numbers: [12, 10, 26]
Generated Node #0,4: 24:[12, 10, 26] Operation: 57-31=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[12, 10, 26], Operations: ['57-31=26']
Exploring Operation: 12+10=22, Resulting Numbers: [26, 22]
Generated Node #0,4,0: 24:[26, 22] Operation: 12+10=22
Exploring Operation: 12-10=2, Resulting Numbers: [26, 2]
Generated Node #0,4,1: 24:[26, 2] Operation: 12-10=2
Exploring Operation: 26-12=14, Resulting Numbers: [10, 14]
Generated Node #0,4,2: 24:[10, 14] Operation: 26-12=14
Exploring Operation: 10+26=36, Resulting Numbers: [12, 36]
Generated Node #0,4,3: 24:[12, 36] Operation: 10+26=36
Exploring Operation: 26-10=16, Resulting Numbers: [12, 16]
Generated Node #0,4,4: 24:[12, 16] Operation: 26-10=16
Moving to Node #0,4,1
Current State: 24:[26, 2], Operations: ['57-31=26', '12-10=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[31, 12, 10, 57], Operations: []
Exploring Operation: 57-31=26, Resulting Numbers: [12, 10, 26]
Generated Node #0,4: 24:[12, 10, 26] Operation: 57-31=26
Moving to Node #0,4
Current State: 24:[12, 10, 26], Operations: ['57-31=26']
Exploring Operation: 12-10=2, Resulting Numbers: [26, 2]
Generated Node #0,4,1: 24:[26, 2] Operation: 12-10=2
Moving to Node #0,4,1
Current State: 24:[26, 2], Operations: ['57-31=26', '12-10=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
52,
27,
69,
44
] | 54 | [
"52+27=79",
"69-44=25",
"79-25=54"
] | Current State: 54:[52, 27, 69, 44], Operations: []
Exploring Operation: 52+27=79, Resulting Numbers: [69, 44, 79]
Generated Node #2: [69, 44, 79] from Operation: 52+27=79
Current State: 54:[69, 44, 79], Operations: ['52+27=79']
Exploring Operation: 69-44=25, Resulting Numbers: [79, 25]
Generated Node #3: [79, 25] from Operation: 69-44=25
Current State: 54:[79, 25], Operations: ['52+27=79', '69-44=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[52, 27, 69, 44], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [27, 44, 17]
Generated Node #0,0: 54:[27, 44, 17] Operation: 69-52=17
Exploring Operation: 69-44=25, Resulting Numbers: [52, 27, 25]
Generated Node #0,1: 54:[52, 27, 25] Operation: 69-44=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[52, 27, 25], Operations: ['69-44=25']
Exploring Operation: 27-25=2, Resulting Numbers: [52, 2]
Generated Node #0,1,0: 54:[52, 2] Operation: 27-25=2
Exploring Operation: 52-25=27, Resulting Numbers: [27, 27]
Generated Node #0,1,1: 54:[27, 27] Operation: 52-25=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[27, 27], Operations: ['69-44=25', '52-25=27']
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[52, 27, 69, 44], Operations: []
Exploring Operation: 69-44=25, Resulting Numbers: [52, 27, 25]
Generated Node #0,1: 54:[52, 27, 25] Operation: 69-44=25
Moving to Node #0,1
Current State: 54:[52, 27, 25], Operations: ['69-44=25']
Exploring Operation: 52-25=27, Resulting Numbers: [27, 27]
Generated Node #0,1,1: 54:[27, 27] Operation: 52-25=27
Moving to Node #0,1,1
Current State: 54:[27, 27], Operations: ['69-44=25', '52-25=27']
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
23,
87,
39,
72
] | 97 | [
"87-23=64",
"72-39=33",
"64+33=97"
] | Current State: 97:[23, 87, 39, 72], Operations: []
Exploring Operation: 87-23=64, Resulting Numbers: [39, 72, 64]
Generated Node #2: [39, 72, 64] from Operation: 87-23=64
Current State: 97:[39, 72, 64], Operations: ['87-23=64']
Exploring Operation: 72-39=33, Resulting Numbers: [64, 33]
Generated Node #3: [64, 33] from Operation: 72-39=33
Current State: 97:[64, 33], Operations: ['87-23=64', '72-39=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[23, 87, 39, 72], Operations: []
Exploring Operation: 23+72=95, Resulting Numbers: [87, 39, 95]
Generated Node #0,0: 97:[87, 39, 95] Operation: 23+72=95
Exploring Operation: 23+39=62, Resulting Numbers: [87, 72, 62]
Generated Node #0,1: 97:[87, 72, 62] Operation: 23+39=62
Moving to Node #0,0
Current State: 97:[87, 39, 95], Operations: ['23+72=95']
Exploring Operation: 39+95=134, Resulting Numbers: [87, 134]
Generated Node #0,0,0: 97:[87, 134] Operation: 39+95=134
Exploring Operation: 87+39=126, Resulting Numbers: [95, 126]
Generated Node #0,0,1: 97:[95, 126] Operation: 87+39=126
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[95, 126], Operations: ['23+72=95', '87+39=126']
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,97 unequal: No Solution
No 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: 97:[87, 134], Operations: ['23+72=95', '39+95=134']
Exploring Operation: 134-87=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 87+134=221, Resulting Numbers: [221]
221,97 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: 97:[87, 72, 62], Operations: ['23+39=62']
Exploring Operation: 87+62=149, Resulting Numbers: [72, 149]
Generated Node #0,1,0: 97:[72, 149] Operation: 87+62=149
Exploring Operation: 72+62=134, Resulting Numbers: [87, 134]
Generated Node #0,1,1: 97:[87, 134] Operation: 72+62=134
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[87, 134], Operations: ['23+39=62', '72+62=134']
Exploring Operation: 134-87=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 87+134=221, Resulting Numbers: [221]
221,97 unequal: No Solution
No 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: 97:[72, 149], Operations: ['23+39=62', '87+62=149']
Exploring Operation: 149-72=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 72+149=221, Resulting Numbers: [221]
221,97 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 |
[
25,
27,
36,
15
] | 73 | [
"25+27=52",
"36-15=21",
"52+21=73"
] | Current State: 73:[25, 27, 36, 15], Operations: []
Exploring Operation: 25+27=52, Resulting Numbers: [36, 15, 52]
Generated Node #2: [36, 15, 52] from Operation: 25+27=52
Current State: 73:[36, 15, 52], Operations: ['25+27=52']
Exploring Operation: 36-15=21, Resulting Numbers: [52, 21]
Generated Node #3: [52, 21] from Operation: 36-15=21
Current State: 73:[52, 21], Operations: ['25+27=52', '36-15=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[25, 27, 36, 15], Operations: []
Exploring Operation: 25+27=52, Resulting Numbers: [36, 15, 52]
Generated Node #0,0: 73:[36, 15, 52] Operation: 25+27=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[36, 15, 52], Operations: ['25+27=52']
Exploring Operation: 36+15=51, Resulting Numbers: [52, 51]
Generated Node #0,0,0: 73:[52, 51] Operation: 36+15=51
Moving to Node #0,0,0
Current State: 73:[52, 51], Operations: ['25+27=52', '36+15=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
6,
26,
49
] | 25 | [
"6-3=3",
"26+49=75",
"75/3=25"
] | Current State: 25:[3, 6, 26, 49], Operations: []
Exploring Operation: 6-3=3, Resulting Numbers: [26, 49, 3]
Generated Node #2: [26, 49, 3] from Operation: 6-3=3
Current State: 25:[26, 49, 3], Operations: ['6-3=3']
Exploring Operation: 26+49=75, Resulting Numbers: [3, 75]
Generated Node #3: [3, 75] from Operation: 26+49=75
Current State: 25:[3, 75], Operations: ['6-3=3', '26+49=75']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[3, 6, 26, 49], Operations: []
Exploring Operation: 26-3=23, Resulting Numbers: [6, 49, 23]
Generated Node #0,0: 25:[6, 49, 23] Operation: 26-3=23
Exploring Operation: 6-3=3, Resulting Numbers: [26, 49, 3]
Generated Node #0,1: 25:[26, 49, 3] Operation: 6-3=3
Exploring Operation: 49-3=46, Resulting Numbers: [6, 26, 46]
Generated Node #0,2: 25:[6, 26, 46] Operation: 49-3=46
Exploring Operation: 49-26=23, Resulting Numbers: [3, 6, 23]
Generated Node #0,3: 25:[3, 6, 23] Operation: 49-26=23
Exploring Operation: 49-6=43, Resulting Numbers: [3, 26, 43]
Generated Node #0,4: 25:[3, 26, 43] Operation: 49-6=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[3, 6, 23], Operations: ['49-26=23']
Exploring Operation: 23-3=20, Resulting Numbers: [6, 20]
Generated Node #0,3,0: 25:[6, 20] Operation: 23-3=20
Exploring Operation: 3+6=9, Resulting Numbers: [23, 9]
Generated Node #0,3,1: 25:[23, 9] Operation: 3+6=9
Exploring Operation: 6/3=2, Resulting Numbers: [23, 2]
Generated Node #0,3,2: 25:[23, 2] Operation: 6/3=2
Exploring Operation: 3+23=26, Resulting Numbers: [6, 26]
Generated Node #0,3,3: 25:[6, 26] Operation: 3+23=26
Exploring Operation: 6-3=3, Resulting Numbers: [23, 3]
Generated Node #0,3,4: 25:[23, 3] Operation: 6-3=3
Moving to Node #0,3,3
Current State: 25:[6, 26], Operations: ['49-26=23', '3+23=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,25 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[23, 3], Operations: ['49-26=23', '6-3=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[23, 2], Operations: ['49-26=23', '6/3=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[3, 6, 26, 49], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [3, 6, 23]
Generated Node #0,3: 25:[3, 6, 23] Operation: 49-26=23
Moving to Node #0,3
Current State: 25:[3, 6, 23], Operations: ['49-26=23']
Exploring Operation: 6/3=2, Resulting Numbers: [23, 2]
Generated Node #0,3,2: 25:[23, 2] Operation: 6/3=2
Moving to Node #0,3,2
Current State: 25:[23, 2], Operations: ['49-26=23', '6/3=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
91,
32,
72,
77
] | 69 | [
"77-72=5",
"32*5=160",
"160-91=69"
] | Current State: 69:[91, 32, 72, 77], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [91, 32, 5]
Generated Node #2: [91, 32, 5] from Operation: 77-72=5
Current State: 69:[91, 32, 5], Operations: ['77-72=5']
Exploring Operation: 32*5=160, Resulting Numbers: [91, 160]
Generated Node #3: [91, 160] from Operation: 32*5=160
Current State: 69:[91, 160], Operations: ['77-72=5', '32*5=160']
Exploring Operation: 160-91=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[91, 32, 72, 77], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [32, 72, 14]
Generated Node #0,0: 69:[32, 72, 14] Operation: 91-77=14
Exploring Operation: 91-72=19, Resulting Numbers: [32, 77, 19]
Generated Node #0,1: 69:[32, 77, 19] Operation: 91-72=19
Exploring Operation: 91-32=59, Resulting Numbers: [72, 77, 59]
Generated Node #0,2: 69:[72, 77, 59] Operation: 91-32=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[32, 72, 14], Operations: ['91-77=14']
Exploring Operation: 72-14=58, Resulting Numbers: [32, 58]
Generated Node #0,0,0: 69:[32, 58] Operation: 72-14=58
Exploring Operation: 32-14=18, Resulting Numbers: [72, 18]
Generated Node #0,0,1: 69:[72, 18] Operation: 32-14=18
Exploring Operation: 72-32=40, Resulting Numbers: [14, 40]
Generated Node #0,0,2: 69:[14, 40] Operation: 72-32=40
Moving to Node #0,0,1
Current State: 69:[72, 18], Operations: ['91-77=14', '32-14=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[32, 58], Operations: ['91-77=14', '72-14=58']
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,69 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[14, 40], Operations: ['91-77=14', '72-32=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[32, 77, 19], Operations: ['91-72=19']
Exploring Operation: 77-32=45, Resulting Numbers: [19, 45]
Generated Node #0,1,0: 69:[19, 45] Operation: 77-32=45
Exploring Operation: 77-19=58, Resulting Numbers: [32, 58]
Generated Node #0,1,1: 69:[32, 58] Operation: 77-19=58
Exploring Operation: 32-19=13, Resulting Numbers: [77, 13]
Generated Node #0,1,2: 69:[77, 13] Operation: 32-19=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[77, 13], Operations: ['91-72=19', '32-19=13']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,69 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[32, 58], Operations: ['91-72=19', '77-19=58']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,69 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[19, 45], Operations: ['91-72=19', '77-32=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,69 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[72, 77, 59], Operations: ['91-32=59']
Exploring Operation: 77-72=5, Resulting Numbers: [59, 5]
Generated Node #0,2,0: 69:[59, 5] Operation: 77-72=5
Exploring Operation: 77-59=18, Resulting Numbers: [72, 18]
Generated Node #0,2,1: 69:[72, 18] Operation: 77-59=18
Exploring Operation: 72-59=13, Resulting Numbers: [77, 13]
Generated Node #0,2,2: 69:[77, 13] Operation: 72-59=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[72, 18], Operations: ['91-32=59', '77-59=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[59, 5], Operations: ['91-32=59', '77-72=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,69 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[77, 13], Operations: ['91-32=59', '72-59=13']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
84,
11,
8,
68
] | 22 | [
"84-68=16",
"11*16=176",
"176/8=22"
] | Current State: 22:[84, 11, 8, 68], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [11, 8, 16]
Generated Node #2: [11, 8, 16] from Operation: 84-68=16
Current State: 22:[11, 8, 16], Operations: ['84-68=16']
Exploring Operation: 11*16=176, Resulting Numbers: [8, 176]
Generated Node #3: [8, 176] from Operation: 11*16=176
Current State: 22:[8, 176], Operations: ['84-68=16', '11*16=176']
Exploring Operation: 176/8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[84, 11, 8, 68], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [11, 8, 16]
Generated Node #0,0: 22:[11, 8, 16] Operation: 84-68=16
Moving to Node #0,0
Current State: 22:[11, 8, 16], Operations: ['84-68=16']
Exploring Operation: 16/8=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 22:[11, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[11, 2], Operations: ['84-68=16', '16/8=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[84, 11, 8, 68], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [11, 8, 16]
Generated Node #0,0: 22:[11, 8, 16] Operation: 84-68=16
Moving to Node #0,0
Current State: 22:[11, 8, 16], Operations: ['84-68=16']
Exploring Operation: 16/8=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 22:[11, 2] Operation: 16/8=2
Moving to Node #0,0,0
Current State: 22:[11, 2], Operations: ['84-68=16', '16/8=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
62,
41,
30,
61
] | 27 | [
"62+61=123",
"123/41=3",
"30-3=27"
] | Current State: 27:[62, 41, 30, 61], Operations: []
Exploring Operation: 62+61=123, Resulting Numbers: [41, 30, 123]
Generated Node #2: [41, 30, 123] from Operation: 62+61=123
Current State: 27:[41, 30, 123], Operations: ['62+61=123']
Exploring Operation: 123/41=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 123/41=3
Current State: 27:[30, 3], Operations: ['62+61=123', '123/41=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[62, 41, 30, 61], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [41, 30, 1]
Generated Node #0,0: 27:[41, 30, 1] Operation: 62-61=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[41, 30, 1], Operations: ['62-61=1']
Exploring Operation: 41-30=11, Resulting Numbers: [1, 11]
Generated Node #0,0,0: 27:[1, 11] Operation: 41-30=11
Moving to Node #0,0,0
Current State: 27:[1, 11], Operations: ['62-61=1', '41-30=11']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,27 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 |
[
29,
41,
46,
22
] | 19 | [
"41+46=87",
"87/29=3",
"22-3=19"
] | Current State: 19:[29, 41, 46, 22], Operations: []
Exploring Operation: 41+46=87, Resulting Numbers: [29, 22, 87]
Generated Node #2: [29, 22, 87] from Operation: 41+46=87
Current State: 19:[29, 22, 87], Operations: ['41+46=87']
Exploring Operation: 87/29=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 87/29=3
Current State: 19:[22, 3], Operations: ['41+46=87', '87/29=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[29, 41, 46, 22], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [41, 22, 17]
Generated Node #0,0: 19:[41, 22, 17] Operation: 46-29=17
Exploring Operation: 46-41=5, Resulting Numbers: [29, 22, 5]
Generated Node #0,1: 19:[29, 22, 5] Operation: 46-41=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[41, 22, 17], Operations: ['46-29=17']
Exploring Operation: 41-17=24, Resulting Numbers: [22, 24]
Generated Node #0,0,0: 19:[22, 24] Operation: 41-17=24
Exploring Operation: 41-22=19, Resulting Numbers: [17, 19]
Generated Node #0,0,1: 19:[17, 19] Operation: 41-22=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[17, 19], Operations: ['46-29=17', '41-22=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,19 unequal: No Solution
No 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: 19:[22, 24], Operations: ['46-29=17', '41-17=24']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,19 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: 19:[29, 22, 5], Operations: ['46-41=5']
Exploring Operation: 22-5=17, Resulting Numbers: [29, 17]
Generated Node #0,1,0: 19:[29, 17] Operation: 22-5=17
Exploring Operation: 29-5=24, Resulting Numbers: [22, 24]
Generated Node #0,1,1: 19:[22, 24] Operation: 29-5=24
Moving to Node #0,1,1
Current State: 19:[22, 24], Operations: ['46-41=5', '29-5=24']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[29, 17], Operations: ['46-41=5', '22-5=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,19 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 |
[
47,
66,
90,
44
] | 65 | [
"66-47=19",
"90-44=46",
"19+46=65"
] | Current State: 65:[47, 66, 90, 44], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [90, 44, 19]
Generated Node #2: [90, 44, 19] from Operation: 66-47=19
Current State: 65:[90, 44, 19], Operations: ['66-47=19']
Exploring Operation: 90-44=46, Resulting Numbers: [19, 46]
Generated Node #3: [19, 46] from Operation: 90-44=46
Current State: 65:[19, 46], Operations: ['66-47=19', '90-44=46']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[47, 66, 90, 44], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [66, 90, 3]
Generated Node #0,0: 65:[66, 90, 3] Operation: 47-44=3
Exploring Operation: 90-44=46, Resulting Numbers: [47, 66, 46]
Generated Node #0,1: 65:[47, 66, 46] Operation: 90-44=46
Moving to Node #0,0
Current State: 65:[66, 90, 3], Operations: ['47-44=3']
Exploring Operation: 90/3=30, Resulting Numbers: [66, 30]
Generated Node #0,0,0: 65:[66, 30] Operation: 90/3=30
Exploring Operation: 90-66=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 65:[3, 24] Operation: 90-66=24
Moving to Node #0,1
Current State: 65:[47, 66, 46], Operations: ['90-44=46']
Exploring Operation: 47-46=1, Resulting Numbers: [66, 1]
Generated Node #0,1,0: 65:[66, 1] Operation: 47-46=1
Exploring Operation: 66-47=19, Resulting Numbers: [46, 19]
Generated Node #0,1,1: 65:[46, 19] Operation: 66-47=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[66, 1], Operations: ['90-44=46', '47-46=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[47, 66, 90, 44], Operations: []
Exploring Operation: 90-44=46, Resulting Numbers: [47, 66, 46]
Generated Node #0,1: 65:[47, 66, 46] Operation: 90-44=46
Moving to Node #0,1
Current State: 65:[47, 66, 46], Operations: ['90-44=46']
Exploring Operation: 47-46=1, Resulting Numbers: [66, 1]
Generated Node #0,1,0: 65:[66, 1] Operation: 47-46=1
Moving to Node #0,1,0
Current State: 65:[66, 1], Operations: ['90-44=46', '47-46=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
53,
67,
19,
52
] | 86 | [
"53-52=1",
"67+19=86",
"1*86=86"
] | Current State: 86:[53, 67, 19, 52], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [67, 19, 1]
Generated Node #2: [67, 19, 1] from Operation: 53-52=1
Current State: 86:[67, 19, 1], Operations: ['53-52=1']
Exploring Operation: 67+19=86, Resulting Numbers: [1, 86]
Generated Node #3: [1, 86] from Operation: 67+19=86
Current State: 86:[1, 86], Operations: ['53-52=1', '67+19=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[53, 67, 19, 52], Operations: []
Exploring Operation: 67-19=48, Resulting Numbers: [53, 52, 48]
Generated Node #0,0: 86:[53, 52, 48] Operation: 67-19=48
Exploring Operation: 67+19=86, Resulting Numbers: [53, 52, 86]
Generated Node #0,1: 86:[53, 52, 86] Operation: 67+19=86
Exploring Operation: 53-52=1, Resulting Numbers: [67, 19, 1]
Generated Node #0,2: 86:[67, 19, 1] Operation: 53-52=1
Exploring Operation: 53-19=34, Resulting Numbers: [67, 52, 34]
Generated Node #0,3: 86:[67, 52, 34] Operation: 53-19=34
Moving to Node #0,1
Current State: 86:[53, 52, 86], Operations: ['67+19=86']
Exploring Operation: 53+52=105, Resulting Numbers: [86, 105]
Generated Node #0,1,0: 86:[86, 105] Operation: 53+52=105
Exploring Operation: 53-52=1, Resulting Numbers: [86, 1]
Generated Node #0,1,1: 86:[86, 1] Operation: 53-52=1
Exploring Operation: 86-52=34, Resulting Numbers: [53, 34]
Generated Node #0,1,2: 86:[53, 34] Operation: 86-52=34
Exploring Operation: 86-53=33, Resulting Numbers: [52, 33]
Generated Node #0,1,3: 86:[52, 33] Operation: 86-53=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[86, 1], Operations: ['67+19=86', '53-52=1']
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[53, 67, 19, 52], Operations: []
Exploring Operation: 67+19=86, Resulting Numbers: [53, 52, 86]
Generated Node #0,1: 86:[53, 52, 86] Operation: 67+19=86
Moving to Node #0,1
Current State: 86:[53, 52, 86], Operations: ['67+19=86']
Exploring Operation: 53-52=1, Resulting Numbers: [86, 1]
Generated Node #0,1,1: 86:[86, 1] Operation: 53-52=1
Moving to Node #0,1,1
Current State: 86:[86, 1], Operations: ['67+19=86', '53-52=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
41,
15,
38,
18
] | 39 | [
"41-38=3",
"18*3=54",
"54-15=39"
] | Current State: 39:[41, 15, 38, 18], Operations: []
Exploring Operation: 41-38=3, Resulting Numbers: [15, 18, 3]
Generated Node #2: [15, 18, 3] from Operation: 41-38=3
Current State: 39:[15, 18, 3], Operations: ['41-38=3']
Exploring Operation: 18*3=54, Resulting Numbers: [15, 54]
Generated Node #3: [15, 54] from Operation: 18*3=54
Current State: 39:[15, 54], Operations: ['41-38=3', '18*3=54']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[41, 15, 38, 18], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [15, 38, 23]
Generated Node #0,0: 39:[15, 38, 23] Operation: 41-18=23
Exploring Operation: 18-15=3, Resulting Numbers: [41, 38, 3]
Generated Node #0,1: 39:[41, 38, 3] Operation: 18-15=3
Exploring Operation: 38-18=20, Resulting Numbers: [41, 15, 20]
Generated Node #0,2: 39:[41, 15, 20] Operation: 38-18=20
Exploring Operation: 15+18=33, Resulting Numbers: [41, 38, 33]
Generated Node #0,3: 39:[41, 38, 33] Operation: 15+18=33
Exploring Operation: 41-38=3, Resulting Numbers: [15, 18, 3]
Generated Node #0,4: 39:[15, 18, 3] Operation: 41-38=3
Moving to Node #0,1
Current State: 39:[41, 38, 3], Operations: ['18-15=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38, 38]
Generated Node #0,1,0: 39:[38, 38] Operation: 41-3=38
Exploring Operation: 41-38=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 39:[3, 3] Operation: 41-38=3
Exploring Operation: 38+3=41, Resulting Numbers: [41, 41]
Generated Node #0,1,2: 39:[41, 41] Operation: 38+3=41
Exploring Operation: 38-3=35, Resulting Numbers: [41, 35]
Generated Node #0,1,3: 39:[41, 35] Operation: 38-3=35
Exploring Operation: 41+3=44, Resulting Numbers: [38, 44]
Generated Node #0,1,4: 39:[38, 44] Operation: 41+3=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[3, 3], Operations: ['18-15=3', '41-38=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[38, 38], Operations: ['18-15=3', '41-3=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,39 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[41, 41], Operations: ['18-15=3', '38+3=41']
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,39 unequal: No Solution
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[41, 35], Operations: ['18-15=3', '38-3=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[38, 44], Operations: ['18-15=3', '41+3=44']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,39 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: 39:[15, 18, 3], Operations: ['41-38=3']
Exploring Operation: 15+18=33, Resulting Numbers: [3, 33]
Generated Node #0,4,0: 39:[3, 33] Operation: 15+18=33
Exploring Operation: 15-3=12, Resulting Numbers: [18, 12]
Generated Node #0,4,1: 39:[18, 12] Operation: 15-3=12
Exploring Operation: 18/3=6, Resulting Numbers: [15, 6]
Generated Node #0,4,2: 39:[15, 6] Operation: 18/3=6
Exploring Operation: 18-15=3, Resulting Numbers: [3, 3]
Generated Node #0,4,3: 39:[3, 3] Operation: 18-15=3
Exploring Operation: 18-3=15, Resulting Numbers: [15, 15]
Generated Node #0,4,4: 39:[15, 15] Operation: 18-3=15
Moving to Node #0,3
Current State: 39:[41, 38, 33], Operations: ['15+18=33']
Exploring Operation: 41-38=3, Resulting Numbers: [33, 3]
Generated Node #0,3,0: 39:[33, 3] Operation: 41-38=3
Exploring Operation: 41+33=74, Resulting Numbers: [38, 74]
Generated Node #0,3,1: 39:[38, 74] Operation: 41+33=74
Exploring Operation: 38-33=5, Resulting Numbers: [41, 5]
Generated Node #0,3,2: 39:[41, 5] Operation: 38-33=5
Exploring Operation: 41-33=8, Resulting Numbers: [38, 8]
Generated Node #0,3,3: 39:[38, 8] Operation: 41-33=8
Exploring Operation: 38+33=71, Resulting Numbers: [41, 71]
Generated Node #0,3,4: 39:[41, 71] Operation: 38+33=71
Moving to Node #0,2
Current State: 39:[41, 15, 20], Operations: ['38-18=20']
Exploring Operation: 41+15=56, Resulting Numbers: [20, 56]
Generated Node #0,2,0: 39:[20, 56] Operation: 41+15=56
Exploring Operation: 41-20=21, Resulting Numbers: [15, 21]
Generated Node #0,2,1: 39:[15, 21] Operation: 41-20=21
Exploring Operation: 15+20=35, Resulting Numbers: [41, 35]
Generated Node #0,2,2: 39:[41, 35] Operation: 15+20=35
Exploring Operation: 20-15=5, Resulting Numbers: [41, 5]
Generated Node #0,2,3: 39:[41, 5] Operation: 20-15=5
Exploring Operation: 41-15=26, Resulting Numbers: [20, 26]
Generated Node #0,2,4: 39:[20, 26] Operation: 41-15=26
Moving to Node #0,0
Current State: 39:[15, 38, 23], Operations: ['41-18=23']
Exploring Operation: 38-15=23, Resulting Numbers: [23, 23]
Generated Node #0,0,0: 39:[23, 23] Operation: 38-15=23
Exploring Operation: 23-15=8, Resulting Numbers: [38, 8]
Generated Node #0,0,1: 39:[38, 8] Operation: 23-15=8
Exploring Operation: 15+23=38, Resulting Numbers: [38, 38]
Generated Node #0,0,2: 39:[38, 38] Operation: 15+23=38
Exploring Operation: 15+38=53, Resulting Numbers: [23, 53]
Generated Node #0,0,3: 39:[23, 53] Operation: 15+38=53
Exploring Operation: 38-23=15, Resulting Numbers: [15, 15]
Generated Node #0,0,4: 39:[15, 15] Operation: 38-23=15
Moving to Node #0,4,3
Current State: 39:[3, 3], Operations: ['41-38=3', '18-15=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[38, 38], Operations: ['41-18=23', '15+23=38']
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,39 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[41, 5], Operations: ['15+18=33', '38-33=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[41, 5], Operations: ['38-18=20', '20-15=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,39 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Moving to Node #0,4,4
Current State: 39:[15, 15], Operations: ['41-38=3', '18-3=15']
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,39 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[15, 15], Operations: ['41-18=23', '38-23=15']
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,39 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[15, 6], Operations: ['41-38=3', '18/3=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[33, 3], Operations: ['15+18=33', '41-38=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,39 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[41, 35], Operations: ['38-18=20', '15+20=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,39 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[18, 12], Operations: ['41-38=3', '15-3=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,39 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[38, 8], Operations: ['15+18=33', '41-33=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,39 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[38, 8], Operations: ['41-18=23', '23-15=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,39 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[3, 33], Operations: ['41-38=3', '15+18=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,39 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[15, 21], Operations: ['38-18=20', '41-20=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,39 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[20, 26], Operations: ['38-18=20', '41-15=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,39 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[23, 23], Operations: ['41-18=23', '38-15=23']
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,39 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[23, 53], Operations: ['41-18=23', '15+38=53']
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,39 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[20, 56], Operations: ['38-18=20', '41+15=56']
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[41, 71], Operations: ['15+18=33', '38+33=71']
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[38, 74], Operations: ['15+18=33', '41+33=74']
Exploring Operation: 38*74=2812, Resulting Numbers: [2812]
2812,39 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 38+74=112, Resulting Numbers: [112]
112,39 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
92,
48,
68,
58
] | 29 | [
"92-68=24",
"48/24=2",
"58/2=29"
] | Current State: 29:[92, 48, 68, 58], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [48, 58, 24]
Generated Node #2: [48, 58, 24] from Operation: 92-68=24
Current State: 29:[48, 58, 24], Operations: ['92-68=24']
Exploring Operation: 48/24=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 48/24=2
Current State: 29:[58, 2], Operations: ['92-68=24', '48/24=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[92, 48, 68, 58], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [92, 58, 20]
Generated Node #0,0: 29:[92, 58, 20] Operation: 68-48=20
Exploring Operation: 92-48=44, Resulting Numbers: [68, 58, 44]
Generated Node #0,1: 29:[68, 58, 44] Operation: 92-48=44
Exploring Operation: 92-58=34, Resulting Numbers: [48, 68, 34]
Generated Node #0,2: 29:[48, 68, 34] Operation: 92-58=34
Exploring Operation: 92-68=24, Resulting Numbers: [48, 58, 24]
Generated Node #0,3: 29:[48, 58, 24] Operation: 92-68=24
Exploring Operation: 68-58=10, Resulting Numbers: [92, 48, 10]
Generated Node #0,4: 29:[92, 48, 10] Operation: 68-58=10
Moving to Node #0,3
Current State: 29:[48, 58, 24], Operations: ['92-68=24']
Exploring Operation: 48+24=72, Resulting Numbers: [58, 72]
Generated Node #0,3,0: 29:[58, 72] Operation: 48+24=72
Exploring Operation: 48-24=24, Resulting Numbers: [58, 24]
Generated Node #0,3,1: 29:[58, 24] Operation: 48-24=24
Exploring Operation: 58-24=34, Resulting Numbers: [48, 34]
Generated Node #0,3,2: 29:[48, 34] Operation: 58-24=34
Exploring Operation: 58-48=10, Resulting Numbers: [24, 10]
Generated Node #0,3,3: 29:[24, 10] Operation: 58-48=10
Exploring Operation: 48/24=2, Resulting Numbers: [58, 2]
Generated Node #0,3,4: 29:[58, 2] Operation: 48/24=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[48, 34], Operations: ['92-68=24', '58-24=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,29 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[24, 10], Operations: ['92-68=24', '58-48=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,29 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[58, 24], Operations: ['92-68=24', '48-24=24']
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,29 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[58, 2], Operations: ['92-68=24', '48/24=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[92, 48, 68, 58], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [48, 58, 24]
Generated Node #0,3: 29:[48, 58, 24] Operation: 92-68=24
Moving to Node #0,3
Current State: 29:[48, 58, 24], Operations: ['92-68=24']
Exploring Operation: 48/24=2, Resulting Numbers: [58, 2]
Generated Node #0,3,4: 29:[58, 2] Operation: 48/24=2
Moving to Node #0,3,4
Current State: 29:[58, 2], Operations: ['92-68=24', '48/24=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
55,
11,
6,
48
] | 31 | [
"55-48=7",
"6*7=42",
"42-11=31"
] | Current State: 31:[55, 11, 6, 48], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [11, 6, 7]
Generated Node #2: [11, 6, 7] from Operation: 55-48=7
Current State: 31:[11, 6, 7], Operations: ['55-48=7']
Exploring Operation: 6*7=42, Resulting Numbers: [11, 42]
Generated Node #3: [11, 42] from Operation: 6*7=42
Current State: 31:[11, 42], Operations: ['55-48=7', '6*7=42']
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[55, 11, 6, 48], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [6, 48, 44]
Generated Node #0,0: 31:[6, 48, 44] Operation: 55-11=44
Exploring Operation: 11+6=17, Resulting Numbers: [55, 48, 17]
Generated Node #0,1: 31:[55, 48, 17] Operation: 11+6=17
Exploring Operation: 48-11=37, Resulting Numbers: [55, 6, 37]
Generated Node #0,2: 31:[55, 6, 37] Operation: 48-11=37
Exploring Operation: 55-6=49, Resulting Numbers: [11, 48, 49]
Generated Node #0,3: 31:[11, 48, 49] Operation: 55-6=49
Moving to Node #0,0
Current State: 31:[6, 48, 44], Operations: ['55-11=44']
Exploring Operation: 48-6=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 31:[44, 42] Operation: 48-6=42
Exploring Operation: 44-6=38, Resulting Numbers: [48, 38]
Generated Node #0,0,1: 31:[48, 38] Operation: 44-6=38
Exploring Operation: 48/6=8, Resulting Numbers: [44, 8]
Generated Node #0,0,2: 31:[44, 8] Operation: 48/6=8
Exploring Operation: 6+48=54, Resulting Numbers: [44, 54]
Generated Node #0,0,3: 31:[44, 54] Operation: 6+48=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[44, 42], Operations: ['55-11=44', '48-6=42']
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,31 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,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:[48, 38], Operations: ['55-11=44', '44-6=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,31 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[44, 8], Operations: ['55-11=44', '48/6=8']
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,31 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,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,3
Current State: 31:[44, 54], Operations: ['55-11=44', '6+48=54']
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,31 unequal: No Solution
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,31 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: 31:[55, 6, 37], Operations: ['48-11=37']
Exploring Operation: 55-6=49, Resulting Numbers: [37, 49]
Generated Node #0,2,0: 31:[37, 49] Operation: 55-6=49
Exploring Operation: 55+6=61, Resulting Numbers: [37, 61]
Generated Node #0,2,1: 31:[37, 61] Operation: 55+6=61
Exploring Operation: 6+37=43, Resulting Numbers: [55, 43]
Generated Node #0,2,2: 31:[55, 43] Operation: 6+37=43
Exploring Operation: 37-6=31, Resulting Numbers: [55, 31]
Generated Node #0,2,3: 31:[55, 31] Operation: 37-6=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[37, 49], Operations: ['48-11=37', '55-6=49']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,31 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,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,2,3
Current State: 31:[55, 31], Operations: ['48-11=37', '37-6=31']
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,31 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[37, 61], Operations: ['48-11=37', '55+6=61']
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,31 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,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,2,2
Current State: 31:[55, 43], Operations: ['48-11=37', '6+37=43']
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,31 unequal: No Solution
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,31 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,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:[55, 48, 17], Operations: ['11+6=17']
Exploring Operation: 55+17=72, Resulting Numbers: [48, 72]
Generated Node #0,1,0: 31:[48, 72] Operation: 55+17=72
Exploring Operation: 55-17=38, Resulting Numbers: [48, 38]
Generated Node #0,1,1: 31:[48, 38] Operation: 55-17=38
Exploring Operation: 48-17=31, Resulting Numbers: [55, 31]
Generated Node #0,1,2: 31:[55, 31] Operation: 48-17=31
Exploring Operation: 55-48=7, Resulting Numbers: [17, 7]
Generated Node #0,1,3: 31:[17, 7] Operation: 55-48=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[48, 38], Operations: ['11+6=17', '55-17=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,31 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,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,1,2
Current State: 31:[55, 31], Operations: ['11+6=17', '48-17=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,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,1,3
Current State: 31:[17, 7], Operations: ['11+6=17', '55-48=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,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,1,0
Current State: 31:[48, 72], Operations: ['11+6=17', '55+17=72']
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,31 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,31 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: 31:[11, 48, 49], Operations: ['55-6=49']
Exploring Operation: 11+48=59, Resulting Numbers: [49, 59]
Generated Node #0,3,0: 31:[49, 59] Operation: 11+48=59
Exploring Operation: 11+49=60, Resulting Numbers: [48, 60]
Generated Node #0,3,1: 31:[48, 60] Operation: 11+49=60
Exploring Operation: 48-11=37, Resulting Numbers: [49, 37]
Generated Node #0,3,2: 31:[49, 37] Operation: 48-11=37
Exploring Operation: 49-11=38, Resulting Numbers: [48, 38]
Generated Node #0,3,3: 31:[48, 38] Operation: 49-11=38
Moving to Node #0,3,2
Current State: 31:[49, 37], Operations: ['55-6=49', '48-11=37']
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,31 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[48, 38], Operations: ['55-6=49', '49-11=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[48, 60], Operations: ['55-6=49', '11+49=60']
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,31 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,31 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[49, 59], Operations: ['55-6=49', '11+48=59']
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,31 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,31 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
75,
56,
49,
33
] | 63 | [
"75-56=19",
"49+33=82",
"82-19=63"
] | Current State: 63:[75, 56, 49, 33], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [49, 33, 19]
Generated Node #2: [49, 33, 19] from Operation: 75-56=19
Current State: 63:[49, 33, 19], Operations: ['75-56=19']
Exploring Operation: 49+33=82, Resulting Numbers: [19, 82]
Generated Node #3: [19, 82] from Operation: 49+33=82
Current State: 63:[19, 82], Operations: ['75-56=19', '49+33=82']
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[75, 56, 49, 33], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [75, 49, 23]
Generated Node #0,0: 63:[75, 49, 23] Operation: 56-33=23
Exploring Operation: 75-49=26, Resulting Numbers: [56, 33, 26]
Generated Node #0,1: 63:[56, 33, 26] Operation: 75-49=26
Exploring Operation: 56-49=7, Resulting Numbers: [75, 33, 7]
Generated Node #0,2: 63:[75, 33, 7] Operation: 56-49=7
Exploring Operation: 75-56=19, Resulting Numbers: [49, 33, 19]
Generated Node #0,3: 63:[49, 33, 19] Operation: 75-56=19
Exploring Operation: 49-33=16, Resulting Numbers: [75, 56, 16]
Generated Node #0,4: 63:[75, 56, 16] Operation: 49-33=16
Moving to Node #0,1
Current State: 63:[56, 33, 26], Operations: ['75-49=26']
Exploring Operation: 33+26=59, Resulting Numbers: [56, 59]
Generated Node #0,1,0: 63:[56, 59] Operation: 33+26=59
Exploring Operation: 56+33=89, Resulting Numbers: [26, 89]
Generated Node #0,1,1: 63:[26, 89] Operation: 56+33=89
Exploring Operation: 56-33=23, Resulting Numbers: [26, 23]
Generated Node #0,1,2: 63:[26, 23] Operation: 56-33=23
Exploring Operation: 33-26=7, Resulting Numbers: [56, 7]
Generated Node #0,1,3: 63:[56, 7] Operation: 33-26=7
Exploring Operation: 56-26=30, Resulting Numbers: [33, 30]
Generated Node #0,1,4: 63:[33, 30] Operation: 56-26=30
Moving to Node #0,4
Current State: 63:[75, 56, 16], Operations: ['49-33=16']
Exploring Operation: 56+16=72, Resulting Numbers: [75, 72]
Generated Node #0,4,0: 63:[75, 72] Operation: 56+16=72
Exploring Operation: 56-16=40, Resulting Numbers: [75, 40]
Generated Node #0,4,1: 63:[75, 40] Operation: 56-16=40
Exploring Operation: 75+16=91, Resulting Numbers: [56, 91]
Generated Node #0,4,2: 63:[56, 91] Operation: 75+16=91
Exploring Operation: 75-16=59, Resulting Numbers: [56, 59]
Generated Node #0,4,3: 63:[56, 59] Operation: 75-16=59
Exploring Operation: 75-56=19, Resulting Numbers: [16, 19]
Generated Node #0,4,4: 63:[16, 19] Operation: 75-56=19
Moving to Node #0,2
Current State: 63:[75, 33, 7], Operations: ['56-49=7']
Exploring Operation: 75-33=42, Resulting Numbers: [7, 42]
Generated Node #0,2,0: 63:[7, 42] Operation: 75-33=42
Exploring Operation: 75-7=68, Resulting Numbers: [33, 68]
Generated Node #0,2,1: 63:[33, 68] Operation: 75-7=68
Exploring Operation: 75+7=82, Resulting Numbers: [33, 82]
Generated Node #0,2,2: 63:[33, 82] Operation: 75+7=82
Exploring Operation: 33+7=40, Resulting Numbers: [75, 40]
Generated Node #0,2,3: 63:[75, 40] Operation: 33+7=40
Exploring Operation: 33-7=26, Resulting Numbers: [75, 26]
Generated Node #0,2,4: 63:[75, 26] Operation: 33-7=26
Moving to Node #0,0
Current State: 63:[75, 49, 23], Operations: ['56-33=23']
Exploring Operation: 75-49=26, Resulting Numbers: [23, 26]
Generated Node #0,0,0: 63:[23, 26] Operation: 75-49=26
Exploring Operation: 49-23=26, Resulting Numbers: [75, 26]
Generated Node #0,0,1: 63:[75, 26] Operation: 49-23=26
Exploring Operation: 75-23=52, Resulting Numbers: [49, 52]
Generated Node #0,0,2: 63:[49, 52] Operation: 75-23=52
Exploring Operation: 49+23=72, Resulting Numbers: [75, 72]
Generated Node #0,0,3: 63:[75, 72] Operation: 49+23=72
Exploring Operation: 75+23=98, Resulting Numbers: [49, 98]
Generated Node #0,0,4: 63:[49, 98] Operation: 75+23=98
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[23, 26], Operations: ['56-33=23', '75-49=26']
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[75, 26], Operations: ['56-33=23', '49-23=26']
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,63 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[75, 72], Operations: ['56-33=23', '49+23=72']
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,63 unequal: No Solution
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[49, 52], Operations: ['56-33=23', '75-23=52']
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,63 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[49, 98], Operations: ['56-33=23', '75+23=98']
Exploring Operation: 49*98=4802, Resulting Numbers: [4802]
4802,63 unequal: No Solution
Exploring Operation: 49+98=147, Resulting Numbers: [147]
147,63 unequal: No Solution
Exploring Operation: 98/49=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 98-49=49, Resulting Numbers: [49]
49,63 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: 63:[49, 33, 19], Operations: ['75-56=19']
Exploring Operation: 49-19=30, Resulting Numbers: [33, 30]
Generated Node #0,3,0: 63:[33, 30] Operation: 49-19=30
Exploring Operation: 49+19=68, Resulting Numbers: [33, 68]
Generated Node #0,3,1: 63:[33, 68] Operation: 49+19=68
Exploring Operation: 49+33=82, Resulting Numbers: [19, 82]
Generated Node #0,3,2: 63:[19, 82] Operation: 49+33=82
Exploring Operation: 33-19=14, Resulting Numbers: [49, 14]
Generated Node #0,3,3: 63:[49, 14] Operation: 33-19=14
Exploring Operation: 49-33=16, Resulting Numbers: [19, 16]
Generated Node #0,3,4: 63:[19, 16] Operation: 49-33=16
Moving to Node #0,1,2
Current State: 63:[26, 23], Operations: ['75-49=26', '56-33=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[16, 19], Operations: ['49-33=16', '75-56=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,63 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[56, 7], Operations: ['75-49=26', '33-26=7']
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,63 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[75, 56, 49, 33], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [56, 33, 26]
Generated Node #0,1: 63:[56, 33, 26] Operation: 75-49=26
Moving to Node #0,1
Current State: 63:[56, 33, 26], Operations: ['75-49=26']
Exploring Operation: 33-26=7, Resulting Numbers: [56, 7]
Generated Node #0,1,3: 63:[56, 7] Operation: 33-26=7
Moving to Node #0,1,3
Current State: 63:[56, 7], Operations: ['75-49=26', '33-26=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.948785 | hs_5 | mult_heuristic |
[
9,
69,
75,
72
] | 21 | [
"75-69=6",
"72/6=12",
"9+12=21"
] | Current State: 21:[9, 69, 75, 72], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [9, 72, 6]
Generated Node #2: [9, 72, 6] from Operation: 75-69=6
Current State: 21:[9, 72, 6], Operations: ['75-69=6']
Exploring Operation: 72/6=12, Resulting Numbers: [9, 12]
Generated Node #3: [9, 12] from Operation: 72/6=12
Current State: 21:[9, 12], Operations: ['75-69=6', '72/6=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[9, 69, 75, 72], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [9, 72, 6]
Generated Node #0,0: 21:[9, 72, 6] Operation: 75-69=6
Exploring Operation: 75-72=3, Resulting Numbers: [9, 69, 3]
Generated Node #0,1: 21:[9, 69, 3] Operation: 75-72=3
Moving to Node #0,1
Current State: 21:[9, 69, 3], Operations: ['75-72=3']
Exploring Operation: 69-9=60, Resulting Numbers: [3, 60]
Generated Node #0,1,0: 21:[3, 60] Operation: 69-9=60
Exploring Operation: 69/3=23, Resulting Numbers: [9, 23]
Generated Node #0,1,1: 21:[9, 23] Operation: 69/3=23
Moving to Node #0,0
Current State: 21:[9, 72, 6], Operations: ['75-69=6']
Exploring Operation: 72/6=12, Resulting Numbers: [9, 12]
Generated Node #0,0,0: 21:[9, 12] Operation: 72/6=12
Exploring Operation: 72/9=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 21:[6, 8] Operation: 72/9=8
Moving to Node #0,0,1
Current State: 21:[6, 8], Operations: ['75-69=6', '72/9=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[9, 23], Operations: ['75-72=3', '69/3=23']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[9, 12], Operations: ['75-69=6', '72/6=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[9, 69, 75, 72], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [9, 72, 6]
Generated Node #0,0: 21:[9, 72, 6] Operation: 75-69=6
Moving to Node #0,0
Current State: 21:[9, 72, 6], Operations: ['75-69=6']
Exploring Operation: 72/6=12, Resulting Numbers: [9, 12]
Generated Node #0,0,0: 21:[9, 12] Operation: 72/6=12
Moving to Node #0,0,0
Current State: 21:[9, 12], Operations: ['75-69=6', '72/6=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
21,
66,
62,
65
] | 93 | [
"65-21=44",
"66*62=4092",
"4092/44=93"
] | Current State: 93:[21, 66, 62, 65], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [66, 62, 44]
Generated Node #2: [66, 62, 44] from Operation: 65-21=44
Current State: 93:[66, 62, 44], Operations: ['65-21=44']
Exploring Operation: 66*62=4092, Resulting Numbers: [44, 4092]
Generated Node #3: [44, 4092] from Operation: 66*62=4092
Current State: 93:[44, 4092], Operations: ['65-21=44', '66*62=4092']
Exploring Operation: 4092/44=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[21, 66, 62, 65], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [21, 65, 4]
Generated Node #0,0: 93:[21, 65, 4] Operation: 66-62=4
Exploring Operation: 65-62=3, Resulting Numbers: [21, 66, 3]
Generated Node #0,1: 93:[21, 66, 3] Operation: 65-62=3
Moving to Node #0,1
Current State: 93:[21, 66, 3], Operations: ['65-62=3']
Exploring Operation: 66-21=45, Resulting Numbers: [3, 45]
Generated Node #0,1,0: 93:[3, 45] Operation: 66-21=45
Exploring Operation: 21+66=87, Resulting Numbers: [3, 87]
Generated Node #0,1,1: 93:[3, 87] Operation: 21+66=87
Moving to Node #0,0
Current State: 93:[21, 65, 4], Operations: ['66-62=4']
Exploring Operation: 65-21=44, Resulting Numbers: [4, 44]
Generated Node #0,0,0: 93:[4, 44] Operation: 65-21=44
Exploring Operation: 21+65=86, Resulting Numbers: [4, 86]
Generated Node #0,0,1: 93:[4, 86] Operation: 21+65=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[4, 86], Operations: ['66-62=4', '21+65=86']
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,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,0,0
Current State: 93:[4, 44], Operations: ['66-62=4', '65-21=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,93 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: 93:[3, 87], Operations: ['65-62=3', '21+66=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[3, 45], Operations: ['65-62=3', '66-21=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,93 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
77,
86,
70
] | 91 | [
"77-2=75",
"86-70=16",
"75+16=91"
] | Current State: 91:[2, 77, 86, 70], Operations: []
Exploring Operation: 77-2=75, Resulting Numbers: [86, 70, 75]
Generated Node #2: [86, 70, 75] from Operation: 77-2=75
Current State: 91:[86, 70, 75], Operations: ['77-2=75']
Exploring Operation: 86-70=16, Resulting Numbers: [75, 16]
Generated Node #3: [75, 16] from Operation: 86-70=16
Current State: 91:[75, 16], Operations: ['77-2=75', '86-70=16']
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[2, 77, 86, 70], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [2, 86, 7]
Generated Node #0,0: 91:[2, 86, 7] Operation: 77-70=7
Exploring Operation: 86-70=16, Resulting Numbers: [2, 77, 16]
Generated Node #0,1: 91:[2, 77, 16] Operation: 86-70=16
Exploring Operation: 2+77=79, Resulting Numbers: [86, 70, 79]
Generated Node #0,2: 91:[86, 70, 79] Operation: 2+77=79
Exploring Operation: 86-77=9, Resulting Numbers: [2, 70, 9]
Generated Node #0,3: 91:[2, 70, 9] Operation: 86-77=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[2, 86, 7], Operations: ['77-70=7']
Exploring Operation: 2+86=88, Resulting Numbers: [7, 88]
Generated Node #0,0,0: 91:[7, 88] Operation: 2+86=88
Exploring Operation: 2+7=9, Resulting Numbers: [86, 9]
Generated Node #0,0,1: 91:[86, 9] Operation: 2+7=9
Exploring Operation: 86-2=84, Resulting Numbers: [7, 84]
Generated Node #0,0,2: 91:[7, 84] Operation: 86-2=84
Exploring Operation: 2*7=14, Resulting Numbers: [86, 14]
Generated Node #0,0,3: 91:[86, 14] Operation: 2*7=14
Moving to Node #0,0,0
Current State: 91:[7, 88], Operations: ['77-70=7', '2+86=88']
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,91 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[86, 14], Operations: ['77-70=7', '2*7=14']
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,91 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[7, 84], Operations: ['77-70=7', '86-2=84']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 7*84=588, Resulting Numbers: [588]
588,91 unequal: No Solution
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[2, 77, 86, 70], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [2, 86, 7]
Generated Node #0,0: 91:[2, 86, 7] Operation: 77-70=7
Moving to Node #0,0
Current State: 91:[2, 86, 7], Operations: ['77-70=7']
Exploring Operation: 86-2=84, Resulting Numbers: [7, 84]
Generated Node #0,0,2: 91:[7, 84] Operation: 86-2=84
Moving to Node #0,0,2
Current State: 91:[7, 84], Operations: ['77-70=7', '86-2=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
44,
61,
79,
83
] | 77 | [
"83-61=22",
"44/22=2",
"79-2=77"
] | Current State: 77:[44, 61, 79, 83], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [44, 79, 22]
Generated Node #2: [44, 79, 22] from Operation: 83-61=22
Current State: 77:[44, 79, 22], Operations: ['83-61=22']
Exploring Operation: 44/22=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 44/22=2
Current State: 77:[79, 2], Operations: ['83-61=22', '44/22=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[44, 61, 79, 83], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [79, 83, 17]
Generated Node #0,0: 77:[79, 83, 17] Operation: 61-44=17
Exploring Operation: 44+61=105, Resulting Numbers: [79, 83, 105]
Generated Node #0,1: 77:[79, 83, 105] Operation: 44+61=105
Exploring Operation: 79-44=35, Resulting Numbers: [61, 83, 35]
Generated Node #0,2: 77:[61, 83, 35] Operation: 79-44=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[79, 83, 17], Operations: ['61-44=17']
Exploring Operation: 83-79=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 77:[17, 4] Operation: 83-79=4
Exploring Operation: 83-17=66, Resulting Numbers: [79, 66]
Generated Node #0,0,1: 77:[79, 66] Operation: 83-17=66
Exploring Operation: 79-17=62, Resulting Numbers: [83, 62]
Generated Node #0,0,2: 77:[83, 62] Operation: 79-17=62
Moving to Node #0,0,0
Current State: 77:[17, 4], Operations: ['61-44=17', '83-79=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[79, 66], Operations: ['61-44=17', '83-17=66']
Exploring Operation: 79*66=5214, Resulting Numbers: [5214]
5214,77 unequal: No Solution
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 79+66=145, Resulting Numbers: [145]
145,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[83, 62], Operations: ['61-44=17', '79-17=62']
Exploring Operation: 83*62=5146, Resulting Numbers: [5146]
5146,77 unequal: No Solution
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 83+62=145, Resulting Numbers: [145]
145,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:[79, 83, 105], Operations: ['44+61=105']
Exploring Operation: 83-79=4, Resulting Numbers: [105, 4]
Generated Node #0,1,0: 77:[105, 4] Operation: 83-79=4
Exploring Operation: 105-79=26, Resulting Numbers: [83, 26]
Generated Node #0,1,1: 77:[83, 26] Operation: 105-79=26
Exploring Operation: 105-83=22, Resulting Numbers: [79, 22]
Generated Node #0,1,2: 77:[79, 22] Operation: 105-83=22
Moving to Node #0,1,2
Current State: 77:[79, 22], Operations: ['44+61=105', '105-83=22']
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 79+22=101, Resulting Numbers: [101]
101,77 unequal: No Solution
Exploring Operation: 79*22=1738, Resulting Numbers: [1738]
1738,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[83, 26], Operations: ['44+61=105', '105-79=26']
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[105, 4], Operations: ['44+61=105', '83-79=4']
Exploring Operation: 105+4=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 105-4=101, Resulting Numbers: [101]
101,77 unequal: No Solution
Exploring Operation: 105*4=420, Resulting Numbers: [420]
420,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:[61, 83, 35], Operations: ['79-44=35']
Exploring Operation: 61-35=26, Resulting Numbers: [83, 26]
Generated Node #0,2,0: 77:[83, 26] Operation: 61-35=26
Exploring Operation: 61+35=96, Resulting Numbers: [83, 96]
Generated Node #0,2,1: 77:[83, 96] Operation: 61+35=96
Exploring Operation: 83-61=22, Resulting Numbers: [35, 22]
Generated Node #0,2,2: 77:[35, 22] Operation: 83-61=22
Moving to Node #0,2,0
Current State: 77:[83, 26], Operations: ['79-44=35', '61-35=26']
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,77 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[83, 96], Operations: ['79-44=35', '61+35=96']
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 83*96=7968, Resulting Numbers: [7968]
7968,77 unequal: No Solution
Exploring Operation: 83+96=179, Resulting Numbers: [179]
179,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[35, 22], Operations: ['79-44=35', '83-61=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,77 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
24,
68,
20,
38
] | 36 | [
"68-20=48",
"48/24=2",
"38-2=36"
] | Current State: 36:[24, 68, 20, 38], Operations: []
Exploring Operation: 68-20=48, Resulting Numbers: [24, 38, 48]
Generated Node #2: [24, 38, 48] from Operation: 68-20=48
Current State: 36:[24, 38, 48], Operations: ['68-20=48']
Exploring Operation: 48/24=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 48/24=2
Current State: 36:[38, 2], Operations: ['68-20=48', '48/24=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[24, 68, 20, 38], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [20, 38, 44]
Generated Node #0,0: 36:[20, 38, 44] Operation: 68-24=44
Exploring Operation: 68-20=48, Resulting Numbers: [24, 38, 48]
Generated Node #0,1: 36:[24, 38, 48] Operation: 68-20=48
Exploring Operation: 68-38=30, Resulting Numbers: [24, 20, 30]
Generated Node #0,2: 36:[24, 20, 30] Operation: 68-38=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[20, 38, 44], Operations: ['68-24=44']
Exploring Operation: 44-20=24, Resulting Numbers: [38, 24]
Generated Node #0,0,0: 36:[38, 24] Operation: 44-20=24
Exploring Operation: 44-38=6, Resulting Numbers: [20, 6]
Generated Node #0,0,1: 36:[20, 6] Operation: 44-38=6
Exploring Operation: 38-20=18, Resulting Numbers: [44, 18]
Generated Node #0,0,2: 36:[44, 18] Operation: 38-20=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[20, 6], Operations: ['68-24=44', '44-38=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[38, 24], Operations: ['68-24=44', '44-20=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[44, 18], Operations: ['68-24=44', '38-20=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[24, 20, 30], Operations: ['68-38=30']
Exploring Operation: 30-20=10, Resulting Numbers: [24, 10]
Generated Node #0,2,0: 36:[24, 10] Operation: 30-20=10
Exploring Operation: 24-20=4, Resulting Numbers: [30, 4]
Generated Node #0,2,1: 36:[30, 4] Operation: 24-20=4
Exploring Operation: 30-24=6, Resulting Numbers: [20, 6]
Generated Node #0,2,2: 36:[20, 6] Operation: 30-24=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[20, 6], Operations: ['68-38=30', '30-24=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[30, 4], Operations: ['68-38=30', '24-20=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[24, 10], Operations: ['68-38=30', '30-20=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,36 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[24, 38, 48], Operations: ['68-20=48']
Exploring Operation: 48-38=10, Resulting Numbers: [24, 10]
Generated Node #0,1,0: 36:[24, 10] Operation: 48-38=10
Exploring Operation: 48-24=24, Resulting Numbers: [38, 24]
Generated Node #0,1,1: 36:[38, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [38, 2]
Generated Node #0,1,2: 36:[38, 2] Operation: 48/24=2
Moving to Node #0,1,2
Current State: 36:[38, 2], Operations: ['68-20=48', '48/24=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[24, 68, 20, 38], Operations: []
Exploring Operation: 68-20=48, Resulting Numbers: [24, 38, 48]
Generated Node #0,1: 36:[24, 38, 48] Operation: 68-20=48
Moving to Node #0,1
Current State: 36:[24, 38, 48], Operations: ['68-20=48']
Exploring Operation: 48/24=2, Resulting Numbers: [38, 2]
Generated Node #0,1,2: 36:[38, 2] Operation: 48/24=2
Moving to Node #0,1,2
Current State: 36:[38, 2], Operations: ['68-20=48', '48/24=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
57,
77,
90,
71
] | 39 | [
"77-57=20",
"90-71=19",
"20+19=39"
] | Current State: 39:[57, 77, 90, 71], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [90, 71, 20]
Generated Node #2: [90, 71, 20] from Operation: 77-57=20
Current State: 39:[90, 71, 20], Operations: ['77-57=20']
Exploring Operation: 90-71=19, Resulting Numbers: [20, 19]
Generated Node #3: [20, 19] from Operation: 90-71=19
Current State: 39:[20, 19], Operations: ['77-57=20', '90-71=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[57, 77, 90, 71], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [57, 71, 13]
Generated Node #0,0: 39:[57, 71, 13] Operation: 90-77=13
Moving to Node #0,0
Current State: 39:[57, 71, 13], Operations: ['90-77=13']
Exploring Operation: 71-57=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 39:[13, 14] Operation: 71-57=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[13, 14], Operations: ['90-77=13', '71-57=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,39 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 |
[
69,
30,
10,
75
] | 90 | [
"75-69=6",
"10*6=60",
"30+60=90"
] | Current State: 90:[69, 30, 10, 75], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [30, 10, 6]
Generated Node #2: [30, 10, 6] from Operation: 75-69=6
Current State: 90:[30, 10, 6], Operations: ['75-69=6']
Exploring Operation: 10*6=60, Resulting Numbers: [30, 60]
Generated Node #3: [30, 60] from Operation: 10*6=60
Current State: 90:[30, 60], Operations: ['75-69=6', '10*6=60']
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[69, 30, 10, 75], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [30, 10, 6]
Generated Node #0,0: 90:[30, 10, 6] Operation: 75-69=6
Moving to Node #0,0
Current State: 90:[30, 10, 6], Operations: ['75-69=6']
Exploring Operation: 30/10=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 90:[6, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 90:[6, 3], Operations: ['75-69=6', '30/10=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,90 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
68,
1,
3
] | 72 | [
"3-1=2",
"68*2=136",
"136-64=72"
] | Current State: 72:[64, 68, 1, 3], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [64, 68, 2]
Generated Node #2: [64, 68, 2] from Operation: 3-1=2
Current State: 72:[64, 68, 2], Operations: ['3-1=2']
Exploring Operation: 68*2=136, Resulting Numbers: [64, 136]
Generated Node #3: [64, 136] from Operation: 68*2=136
Current State: 72:[64, 136], Operations: ['3-1=2', '68*2=136']
Exploring Operation: 136-64=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[64, 68, 1, 3], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [1, 3, 4]
Generated Node #0,0: 72:[1, 3, 4] Operation: 68-64=4
Exploring Operation: 68+1=69, Resulting Numbers: [64, 3, 69]
Generated Node #0,1: 72:[64, 3, 69] Operation: 68+1=69
Exploring Operation: 64+3=67, Resulting Numbers: [68, 1, 67]
Generated Node #0,2: 72:[68, 1, 67] Operation: 64+3=67
Exploring Operation: 64+1=65, Resulting Numbers: [68, 3, 65]
Generated Node #0,3: 72:[68, 3, 65] Operation: 64+1=65
Exploring Operation: 68+3=71, Resulting Numbers: [64, 1, 71]
Generated Node #0,4: 72:[64, 1, 71] Operation: 68+3=71
Moving to Node #0,0
Current State: 72:[1, 3, 4], Operations: ['68-64=4']
Exploring Operation: 1*3=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 72:[4, 3] Operation: 1*3=3
Exploring Operation: 1+3=4, Resulting Numbers: [4, 4]
Generated Node #0,0,1: 72:[4, 4] Operation: 1+3=4
Exploring Operation: 1*4=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 72:[3, 4] Operation: 1*4=4
Exploring Operation: 3/1=3, Resulting Numbers: [4, 3]
Generated Node #0,0,3: 72:[4, 3] Operation: 3/1=3
Exploring Operation: 3-1=2, Resulting Numbers: [4, 2]
Generated Node #0,0,4: 72:[4, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[4, 3], Operations: ['68-64=4', '1*3=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,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,0,1
Current State: 72:[4, 4], Operations: ['68-64=4', '1+3=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,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,0,2
Current State: 72:[3, 4], Operations: ['68-64=4', '1*4=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,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,0,3
Current State: 72:[4, 3], Operations: ['68-64=4', '3/1=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,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,0,4
Current State: 72:[4, 2], Operations: ['68-64=4', '3-1=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,72 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: 72:[64, 1, 71], Operations: ['68+3=71']
Exploring Operation: 1+71=72, Resulting Numbers: [64, 72]
Generated Node #0,4,0: 72:[64, 72] Operation: 1+71=72
Exploring Operation: 64+1=65, Resulting Numbers: [71, 65]
Generated Node #0,4,1: 72:[71, 65] Operation: 64+1=65
Exploring Operation: 64*1=64, Resulting Numbers: [71, 64]
Generated Node #0,4,2: 72:[71, 64] Operation: 64*1=64
Exploring Operation: 71-64=7, Resulting Numbers: [1, 7]
Generated Node #0,4,3: 72:[1, 7] Operation: 71-64=7
Exploring Operation: 64/1=64, Resulting Numbers: [71, 64]
Generated Node #0,4,4: 72:[71, 64] Operation: 64/1=64
Moving to Node #0,2
Current State: 72:[68, 1, 67], Operations: ['64+3=67']
Exploring Operation: 1+67=68, Resulting Numbers: [68, 68]
Generated Node #0,2,0: 72:[68, 68] Operation: 1+67=68
Exploring Operation: 68+1=69, Resulting Numbers: [67, 69]
Generated Node #0,2,1: 72:[67, 69] Operation: 68+1=69
Exploring Operation: 68-67=1, Resulting Numbers: [1, 1]
Generated Node #0,2,2: 72:[1, 1] Operation: 68-67=1
Exploring Operation: 68*1=68, Resulting Numbers: [67, 68]
Generated Node #0,2,3: 72:[67, 68] Operation: 68*1=68
Exploring Operation: 68/1=68, Resulting Numbers: [67, 68]
Generated Node #0,2,4: 72:[67, 68] Operation: 68/1=68
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[1, 1], Operations: ['64+3=67', '68-67=1']
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,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,2,0
Current State: 72:[68, 68], Operations: ['64+3=67', '1+67=68']
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,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,2,1
Current State: 72:[67, 69], Operations: ['64+3=67', '68+1=69']
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,72 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,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,2,3
Current State: 72:[67, 68], Operations: ['64+3=67', '68*1=68']
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,72 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,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,2,4
Current State: 72:[67, 68], Operations: ['64+3=67', '68/1=68']
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,72 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: 72:[64, 3, 69], Operations: ['68+1=69']
Exploring Operation: 3+69=72, Resulting Numbers: [64, 72]
Generated Node #0,1,0: 72:[64, 72] Operation: 3+69=72
Exploring Operation: 69-64=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 72:[3, 5] Operation: 69-64=5
Exploring Operation: 69/3=23, Resulting Numbers: [64, 23]
Generated Node #0,1,2: 72:[64, 23] Operation: 69/3=23
Exploring Operation: 64+3=67, Resulting Numbers: [69, 67]
Generated Node #0,1,3: 72:[69, 67] Operation: 64+3=67
Exploring Operation: 64-3=61, Resulting Numbers: [69, 61]
Generated Node #0,1,4: 72:[69, 61] Operation: 64-3=61
Moving to Node #0,3
Current State: 72:[68, 3, 65], Operations: ['64+1=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68, 68]
Generated Node #0,3,0: 72:[68, 68] Operation: 3+65=68
Exploring Operation: 68-3=65, Resulting Numbers: [65, 65]
Generated Node #0,3,1: 72:[65, 65] Operation: 68-3=65
Exploring Operation: 68+3=71, Resulting Numbers: [65, 71]
Generated Node #0,3,2: 72:[65, 71] Operation: 68+3=71
Exploring Operation: 65-3=62, Resulting Numbers: [68, 62]
Generated Node #0,3,3: 72:[68, 62] Operation: 65-3=62
Exploring Operation: 68-65=3, Resulting Numbers: [3, 3]
Generated Node #0,3,4: 72:[3, 3] Operation: 68-65=3
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 72:[3, 3], Operations: ['64+1=65', '68-65=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,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,3,0
Current State: 72:[68, 68], Operations: ['64+1=65', '3+65=68']
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,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,3,2
Current State: 72:[65, 71], Operations: ['64+1=65', '68+3=71']
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,72 unequal: No Solution
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,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,3,1
Current State: 72:[65, 65], Operations: ['64+1=65', '68-3=65']
Exploring Operation: 65+65=130, Resulting Numbers: [130]
130,72 unequal: No Solution
Exploring Operation: 65*65=4225, Resulting Numbers: [4225]
4225,72 unequal: No Solution
Exploring Operation: 65-65=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 65/65=1, Resulting Numbers: [1]
1,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,3,3
Current State: 72:[68, 62], Operations: ['64+1=65', '65-3=62']
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 68+62=130, Resulting Numbers: [130]
130,72 unequal: No Solution
Exploring Operation: 68*62=4216, Resulting Numbers: [4216]
4216,72 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: 72:[3, 5], Operations: ['68+1=69', '69-64=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Moving to Node #0,4,3
Current State: 72:[1, 7], Operations: ['68+3=71', '71-64=7']
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[64, 72], Operations: ['68+1=69', '3+69=72']
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,72 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,4,1
Current State: 72:[71, 65], Operations: ['68+3=71', '64+1=65']
Exploring Operation: 71*65=4615, Resulting Numbers: [4615]
4615,72 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 71+65=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Moving to Node #0,4,0
Current State: 72:[64, 72], Operations: ['68+3=71', '1+71=72']
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[69, 67], Operations: ['68+1=69', '64+3=67']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,72 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[64, 23], Operations: ['68+1=69', '69/3=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,72 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,72 unequal: No Solution
Moving to Node #0,4,2
Current State: 72:[71, 64], Operations: ['68+3=71', '64*1=64']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,72 unequal: No Solution
Moving to Node #0,4,4
Current State: 72:[71, 64], Operations: ['68+3=71', '64/1=64']
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,72 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[69, 61], Operations: ['68+1=69', '64-3=61']
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,72 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,72 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,72 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
16,
27,
6
] | 82 | [
"27-16=11",
"8*11=88",
"88-6=82"
] | Current State: 82:[8, 16, 27, 6], Operations: []
Exploring Operation: 27-16=11, Resulting Numbers: [8, 6, 11]
Generated Node #2: [8, 6, 11] from Operation: 27-16=11
Current State: 82:[8, 6, 11], Operations: ['27-16=11']
Exploring Operation: 8*11=88, Resulting Numbers: [6, 88]
Generated Node #3: [6, 88] from Operation: 8*11=88
Current State: 82:[6, 88], Operations: ['27-16=11', '8*11=88']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[8, 16, 27, 6], Operations: []
Exploring Operation: 16+27=43, Resulting Numbers: [8, 6, 43]
Generated Node #0,0: 82:[8, 6, 43] Operation: 16+27=43
Moving to Node #0,0
Current State: 82:[8, 6, 43], Operations: ['16+27=43']
Exploring Operation: 8-6=2, Resulting Numbers: [43, 2]
Generated Node #0,0,0: 82:[43, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 82:[43, 2], Operations: ['16+27=43', '8-6=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,82 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
5,
83,
60
] | 97 | [
"96-60=36",
"5*36=180",
"180-83=97"
] | Current State: 97:[96, 5, 83, 60], Operations: []
Exploring Operation: 96-60=36, Resulting Numbers: [5, 83, 36]
Generated Node #2: [5, 83, 36] from Operation: 96-60=36
Current State: 97:[5, 83, 36], Operations: ['96-60=36']
Exploring Operation: 5*36=180, Resulting Numbers: [83, 180]
Generated Node #3: [83, 180] from Operation: 5*36=180
Current State: 97:[83, 180], Operations: ['96-60=36', '5*36=180']
Exploring Operation: 180-83=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[96, 5, 83, 60], Operations: []
Exploring Operation: 83-5=78, Resulting Numbers: [96, 60, 78]
Generated Node #0,0: 97:[96, 60, 78] Operation: 83-5=78
Exploring Operation: 96+5=101, Resulting Numbers: [83, 60, 101]
Generated Node #0,1: 97:[83, 60, 101] Operation: 96+5=101
Exploring Operation: 5+83=88, Resulting Numbers: [96, 60, 88]
Generated Node #0,2: 97:[96, 60, 88] Operation: 5+83=88
Exploring Operation: 5+60=65, Resulting Numbers: [96, 83, 65]
Generated Node #0,3: 97:[96, 83, 65] Operation: 5+60=65
Exploring Operation: 96-5=91, Resulting Numbers: [83, 60, 91]
Generated Node #0,4: 97:[83, 60, 91] Operation: 96-5=91
Moving to Node #0,2
Current State: 97:[96, 60, 88], Operations: ['5+83=88']
Exploring Operation: 60+88=148, Resulting Numbers: [96, 148]
Generated Node #0,2,0: 97:[96, 148] Operation: 60+88=148
Exploring Operation: 88-60=28, Resulting Numbers: [96, 28]
Generated Node #0,2,1: 97:[96, 28] Operation: 88-60=28
Exploring Operation: 96-60=36, Resulting Numbers: [88, 36]
Generated Node #0,2,2: 97:[88, 36] Operation: 96-60=36
Exploring Operation: 96+60=156, Resulting Numbers: [88, 156]
Generated Node #0,2,3: 97:[88, 156] Operation: 96+60=156
Exploring Operation: 96+88=184, Resulting Numbers: [60, 184]
Generated Node #0,2,4: 97:[60, 184] Operation: 96+88=184
Moving to Node #0,3
Current State: 97:[96, 83, 65], Operations: ['5+60=65']
Exploring Operation: 96-65=31, Resulting Numbers: [83, 31]
Generated Node #0,3,0: 97:[83, 31] Operation: 96-65=31
Exploring Operation: 96+83=179, Resulting Numbers: [65, 179]
Generated Node #0,3,1: 97:[65, 179] Operation: 96+83=179
Exploring Operation: 96+65=161, Resulting Numbers: [83, 161]
Generated Node #0,3,2: 97:[83, 161] Operation: 96+65=161
Exploring Operation: 83-65=18, Resulting Numbers: [96, 18]
Generated Node #0,3,3: 97:[96, 18] Operation: 83-65=18
Exploring Operation: 83+65=148, Resulting Numbers: [96, 148]
Generated Node #0,3,4: 97:[96, 148] Operation: 83+65=148
Moving to Node #0,1
Current State: 97:[83, 60, 101], Operations: ['96+5=101']
Exploring Operation: 101-83=18, Resulting Numbers: [60, 18]
Generated Node #0,1,0: 97:[60, 18] Operation: 101-83=18
Exploring Operation: 101-60=41, Resulting Numbers: [83, 41]
Generated Node #0,1,1: 97:[83, 41] Operation: 101-60=41
Exploring Operation: 83-60=23, Resulting Numbers: [101, 23]
Generated Node #0,1,2: 97:[101, 23] Operation: 83-60=23
Exploring Operation: 83+60=143, Resulting Numbers: [101, 143]
Generated Node #0,1,3: 97:[101, 143] Operation: 83+60=143
Exploring Operation: 60+101=161, Resulting Numbers: [83, 161]
Generated Node #0,1,4: 97:[83, 161] Operation: 60+101=161
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[101, 143], Operations: ['96+5=101', '83+60=143']
Exploring Operation: 101*143=14443, Resulting Numbers: [14443]
14443,97 unequal: No Solution
Exploring Operation: 143-101=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 101+143=244, Resulting Numbers: [244]
244,97 unequal: No Solution
No 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: 97:[83, 41], Operations: ['96+5=101', '101-60=41']
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 83+41=124, Resulting Numbers: [124]
124,97 unequal: No Solution
Exploring Operation: 83*41=3403, Resulting Numbers: [3403]
3403,97 unequal: No Solution
No 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: 97:[101, 23], Operations: ['96+5=101', '83-60=23']
Exploring Operation: 101-23=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 101+23=124, Resulting Numbers: [124]
124,97 unequal: No Solution
Exploring Operation: 101*23=2323, Resulting Numbers: [2323]
2323,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[83, 161], Operations: ['96+5=101', '60+101=161']
Exploring Operation: 161-83=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 83*161=13363, Resulting Numbers: [13363]
13363,97 unequal: No Solution
Exploring Operation: 83+161=244, Resulting Numbers: [244]
244,97 unequal: No Solution
No 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: 97:[60, 18], Operations: ['96+5=101', '101-83=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,97 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: 97:[96, 60, 78], Operations: ['83-5=78']
Exploring Operation: 60+78=138, Resulting Numbers: [96, 138]
Generated Node #0,0,0: 97:[96, 138] Operation: 60+78=138
Exploring Operation: 96+78=174, Resulting Numbers: [60, 174]
Generated Node #0,0,1: 97:[60, 174] Operation: 96+78=174
Exploring Operation: 96+60=156, Resulting Numbers: [78, 156]
Generated Node #0,0,2: 97:[78, 156] Operation: 96+60=156
Exploring Operation: 78-60=18, Resulting Numbers: [96, 18]
Generated Node #0,0,3: 97:[96, 18] Operation: 78-60=18
Exploring Operation: 96-60=36, Resulting Numbers: [78, 36]
Generated Node #0,0,4: 97:[78, 36] Operation: 96-60=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[96, 138], Operations: ['83-5=78', '60+78=138']
Exploring Operation: 96+138=234, Resulting Numbers: [234]
234,97 unequal: No Solution
Exploring Operation: 138-96=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 96*138=13248, Resulting Numbers: [13248]
13248,97 unequal: No Solution
No 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: 97:[78, 156], Operations: ['83-5=78', '96+60=156']
Exploring Operation: 78*156=12168, Resulting Numbers: [12168]
12168,97 unequal: No Solution
Exploring Operation: 156/78=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 156-78=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 78+156=234, Resulting Numbers: [234]
234,97 unequal: No Solution
No 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: 97:[96, 18], Operations: ['83-5=78', '78-60=18']
Exploring Operation: 96*18=1728, Resulting Numbers: [1728]
1728,97 unequal: No Solution
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,97 unequal: No Solution
No 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: 97:[78, 36], Operations: ['83-5=78', '96-60=36']
Exploring Operation: 78+36=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 78*36=2808, Resulting Numbers: [2808]
2808,97 unequal: No Solution
No 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: 97:[60, 174], Operations: ['83-5=78', '96+78=174']
Exploring Operation: 174-60=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 60*174=10440, Resulting Numbers: [10440]
10440,97 unequal: No Solution
Exploring Operation: 60+174=234, Resulting Numbers: [234]
234,97 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: 97:[83, 60, 91], Operations: ['96-5=91']
Exploring Operation: 83-60=23, Resulting Numbers: [91, 23]
Generated Node #0,4,0: 97:[91, 23] Operation: 83-60=23
Exploring Operation: 60+91=151, Resulting Numbers: [83, 151]
Generated Node #0,4,1: 97:[83, 151] Operation: 60+91=151
Exploring Operation: 91-60=31, Resulting Numbers: [83, 31]
Generated Node #0,4,2: 97:[83, 31] Operation: 91-60=31
Exploring Operation: 83+60=143, Resulting Numbers: [91, 143]
Generated Node #0,4,3: 97:[91, 143] Operation: 83+60=143
Exploring Operation: 83+91=174, Resulting Numbers: [60, 174]
Generated Node #0,4,4: 97:[60, 174] Operation: 83+91=174
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[91, 143], Operations: ['96-5=91', '83+60=143']
Exploring Operation: 91+143=234, Resulting Numbers: [234]
234,97 unequal: No Solution
Exploring Operation: 91*143=13013, Resulting Numbers: [13013]
13013,97 unequal: No Solution
Exploring Operation: 143-91=52, Resulting Numbers: [52]
52,97 unequal: No Solution
No 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: 97:[83, 151], Operations: ['96-5=91', '60+91=151']
Exploring Operation: 83*151=12533, Resulting Numbers: [12533]
12533,97 unequal: No Solution
Exploring Operation: 83+151=234, Resulting Numbers: [234]
234,97 unequal: No Solution
Exploring Operation: 151-83=68, Resulting Numbers: [68]
68,97 unequal: No Solution
No 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: 97:[91, 23], Operations: ['96-5=91', '83-60=23']
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,97 unequal: No Solution
No 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: 97:[83, 31], Operations: ['96-5=91', '91-60=31']
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,97 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,97 unequal: No Solution
No 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: 97:[60, 174], Operations: ['96-5=91', '83+91=174']
Exploring Operation: 174-60=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 60+174=234, Resulting Numbers: [234]
234,97 unequal: No Solution
Exploring Operation: 60*174=10440, Resulting Numbers: [10440]
10440,97 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: 97:[96, 148], Operations: ['5+83=88', '60+88=148']
Exploring Operation: 96*148=14208, Resulting Numbers: [14208]
14208,97 unequal: No Solution
Exploring Operation: 96+148=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 148-96=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[96, 148], Operations: ['5+60=65', '83+65=148']
Exploring Operation: 96+148=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 148-96=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 96*148=14208, Resulting Numbers: [14208]
14208,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[88, 156], Operations: ['5+83=88', '96+60=156']
Exploring Operation: 156-88=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 88+156=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 88*156=13728, Resulting Numbers: [13728]
13728,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[96, 28], Operations: ['5+83=88', '88-60=28']
Exploring Operation: 96*28=2688, Resulting Numbers: [2688]
2688,97 unequal: No Solution
Exploring Operation: 96+28=124, Resulting Numbers: [124]
124,97 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[88, 36], Operations: ['5+83=88', '96-60=36']
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,97 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[83, 161], Operations: ['5+60=65', '96+65=161']
Exploring Operation: 83+161=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 161-83=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 83*161=13363, Resulting Numbers: [13363]
13363,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[83, 31], Operations: ['5+60=65', '96-65=31']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,97 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[96, 18], Operations: ['5+60=65', '83-65=18']
Exploring Operation: 96*18=1728, Resulting Numbers: [1728]
1728,97 unequal: No Solution
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[65, 179], Operations: ['5+60=65', '96+83=179']
Exploring Operation: 65*179=11635, Resulting Numbers: [11635]
11635,97 unequal: No Solution
Exploring Operation: 179-65=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 65+179=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[60, 184], Operations: ['5+83=88', '96+88=184']
Exploring Operation: 60*184=11040, Resulting Numbers: [11040]
11040,97 unequal: No Solution
Exploring Operation: 60+184=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 184-60=124, Resulting Numbers: [124]
124,97 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
68,
10,
12,
19
] | 30 | [
"12-10=2",
"19*2=38",
"68-38=30"
] | Current State: 30:[68, 10, 12, 19], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [68, 19, 2]
Generated Node #2: [68, 19, 2] from Operation: 12-10=2
Current State: 30:[68, 19, 2], Operations: ['12-10=2']
Exploring Operation: 19*2=38, Resulting Numbers: [68, 38]
Generated Node #3: [68, 38] from Operation: 19*2=38
Current State: 30:[68, 38], Operations: ['12-10=2', '19*2=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[68, 10, 12, 19], Operations: []
Exploring Operation: 68-19=49, Resulting Numbers: [10, 12, 49]
Generated Node #0,0: 30:[10, 12, 49] Operation: 68-19=49
Exploring Operation: 68-12=56, Resulting Numbers: [10, 19, 56]
Generated Node #0,1: 30:[10, 19, 56] Operation: 68-12=56
Exploring Operation: 68-10=58, Resulting Numbers: [12, 19, 58]
Generated Node #0,2: 30:[12, 19, 58] Operation: 68-10=58
Moving to Node #0,0
Current State: 30:[10, 12, 49], Operations: ['68-19=49']
Exploring Operation: 49-12=37, Resulting Numbers: [10, 37]
Generated Node #0,0,0: 30:[10, 37] Operation: 49-12=37
Exploring Operation: 12-10=2, Resulting Numbers: [49, 2]
Generated Node #0,0,1: 30:[49, 2] Operation: 12-10=2
Exploring Operation: 49-10=39, Resulting Numbers: [12, 39]
Generated Node #0,0,2: 30:[12, 39] Operation: 49-10=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[10, 37], Operations: ['68-19=49', '49-12=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,30 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[12, 39], Operations: ['68-19=49', '49-10=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[49, 2], Operations: ['68-19=49', '12-10=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,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:[10, 19, 56], Operations: ['68-12=56']
Exploring Operation: 56-10=46, Resulting Numbers: [19, 46]
Generated Node #0,1,0: 30:[19, 46] Operation: 56-10=46
Exploring Operation: 56-19=37, Resulting Numbers: [10, 37]
Generated Node #0,1,1: 30:[10, 37] Operation: 56-19=37
Exploring Operation: 10+19=29, Resulting Numbers: [56, 29]
Generated Node #0,1,2: 30:[56, 29] Operation: 10+19=29
Moving to Node #0,2
Current State: 30:[12, 19, 58], Operations: ['68-10=58']
Exploring Operation: 12+19=31, Resulting Numbers: [58, 31]
Generated Node #0,2,0: 30:[58, 31] Operation: 12+19=31
Exploring Operation: 58-12=46, Resulting Numbers: [19, 46]
Generated Node #0,2,1: 30:[19, 46] Operation: 58-12=46
Exploring Operation: 58-19=39, Resulting Numbers: [12, 39]
Generated Node #0,2,2: 30:[12, 39] Operation: 58-19=39
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[12, 39], Operations: ['68-10=58', '58-19=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,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,1
Current State: 30:[19, 46], Operations: ['68-10=58', '58-12=46']
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,30 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,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:[58, 31], Operations: ['68-10=58', '12+19=31']
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,30 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,30 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: 30:[10, 37], Operations: ['68-12=56', '56-19=37']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,30 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[19, 46], Operations: ['68-12=56', '56-10=46']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[56, 29], Operations: ['68-12=56', '10+19=29']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,30 unequal: No Solution
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,30 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
84,
28,
48
] | 44 | [
"84-28=56",
"56/14=4",
"48-4=44"
] | Current State: 44:[14, 84, 28, 48], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [14, 48, 56]
Generated Node #2: [14, 48, 56] from Operation: 84-28=56
Current State: 44:[14, 48, 56], Operations: ['84-28=56']
Exploring Operation: 56/14=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 56/14=4
Current State: 44:[48, 4], Operations: ['84-28=56', '56/14=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[14, 84, 28, 48], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [28, 48, 6]
Generated Node #0,0: 44:[28, 48, 6] Operation: 84/14=6
Exploring Operation: 84/28=3, Resulting Numbers: [14, 48, 3]
Generated Node #0,1: 44:[14, 48, 3] Operation: 84/28=3
Exploring Operation: 84-48=36, Resulting Numbers: [14, 28, 36]
Generated Node #0,2: 44:[14, 28, 36] Operation: 84-48=36
Moving to Node #0,1
Current State: 44:[14, 48, 3], Operations: ['84/28=3']
Exploring Operation: 14-3=11, Resulting Numbers: [48, 11]
Generated Node #0,1,0: 44:[48, 11] Operation: 14-3=11
Exploring Operation: 48-3=45, Resulting Numbers: [14, 45]
Generated Node #0,1,1: 44:[14, 45] Operation: 48-3=45
Exploring Operation: 14*3=42, Resulting Numbers: [48, 42]
Generated Node #0,1,2: 44:[48, 42] Operation: 14*3=42
Moving to Node #0,0
Current State: 44:[28, 48, 6], Operations: ['84/14=6']
Exploring Operation: 48-6=42, Resulting Numbers: [28, 42]
Generated Node #0,0,0: 44:[28, 42] Operation: 48-6=42
Exploring Operation: 48-28=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 44:[6, 20] Operation: 48-28=20
Exploring Operation: 28-6=22, Resulting Numbers: [48, 22]
Generated Node #0,0,2: 44:[48, 22] Operation: 28-6=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[6, 20], Operations: ['84/14=6', '48-28=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,44 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[48, 22], Operations: ['84/14=6', '28-6=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,44 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[28, 42], Operations: ['84/14=6', '48-6=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,44 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 44:[14, 28, 36], Operations: ['84-48=36']
Exploring Operation: 36-14=22, Resulting Numbers: [28, 22]
Generated Node #0,2,0: 44:[28, 22] Operation: 36-14=22
Exploring Operation: 36-28=8, Resulting Numbers: [14, 8]
Generated Node #0,2,1: 44:[14, 8] Operation: 36-28=8
Exploring Operation: 28/14=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 44:[36, 2] Operation: 28/14=2
Moving to Node #0,1,0
Current State: 44:[48, 11], Operations: ['84/28=3', '14-3=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[14, 45], Operations: ['84/28=3', '48-3=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[48, 42], Operations: ['84/28=3', '14*3=42']
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,44 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[14, 8], Operations: ['84-48=36', '36-28=8']
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,44 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[28, 22], Operations: ['84-48=36', '36-14=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[36, 2], Operations: ['84-48=36', '28/14=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,44 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
15,
91,
44
] | 94 | [
"44-15=29",
"87/29=3",
"91+3=94"
] | Current State: 94:[87, 15, 91, 44], Operations: []
Exploring Operation: 44-15=29, Resulting Numbers: [87, 91, 29]
Generated Node #2: [87, 91, 29] from Operation: 44-15=29
Current State: 94:[87, 91, 29], Operations: ['44-15=29']
Exploring Operation: 87/29=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 87/29=3
Current State: 94:[91, 3], Operations: ['44-15=29', '87/29=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[87, 15, 91, 44], Operations: []
Exploring Operation: 87+15=102, Resulting Numbers: [91, 44, 102]
Generated Node #0,0: 94:[91, 44, 102] Operation: 87+15=102
Exploring Operation: 87-44=43, Resulting Numbers: [15, 91, 43]
Generated Node #0,1: 94:[15, 91, 43] Operation: 87-44=43
Exploring Operation: 91-87=4, Resulting Numbers: [15, 44, 4]
Generated Node #0,2: 94:[15, 44, 4] Operation: 91-87=4
Moving to Node #0,0
Current State: 94:[91, 44, 102], Operations: ['87+15=102']
Exploring Operation: 102-44=58, Resulting Numbers: [91, 58]
Generated Node #0,0,0: 94:[91, 58] Operation: 102-44=58
Exploring Operation: 91-44=47, Resulting Numbers: [102, 47]
Generated Node #0,0,1: 94:[102, 47] Operation: 91-44=47
Exploring Operation: 102-91=11, Resulting Numbers: [44, 11]
Generated Node #0,0,2: 94:[44, 11] Operation: 102-91=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[102, 47], Operations: ['87+15=102', '91-44=47']
Exploring Operation: 102+47=149, Resulting Numbers: [149]
149,94 unequal: No Solution
Exploring Operation: 102*47=4794, Resulting Numbers: [4794]
4794,94 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[44, 11], Operations: ['87+15=102', '102-91=11']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[91, 58], Operations: ['87+15=102', '102-44=58']
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,94 unequal: No Solution
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 94:[15, 44, 4], Operations: ['91-87=4']
Exploring Operation: 15+44=59, Resulting Numbers: [4, 59]
Generated Node #0,2,0: 94:[4, 59] Operation: 15+44=59
Exploring Operation: 44+4=48, Resulting Numbers: [15, 48]
Generated Node #0,2,1: 94:[15, 48] Operation: 44+4=48
Exploring Operation: 15-4=11, Resulting Numbers: [44, 11]
Generated Node #0,2,2: 94:[44, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[44, 11], Operations: ['91-87=4', '15-4=11']
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[4, 59], Operations: ['91-87=4', '15+44=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,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:[15, 48], Operations: ['91-87=4', '44+4=48']
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,94 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 94:[15, 91, 43], Operations: ['87-44=43']
Exploring Operation: 15+91=106, Resulting Numbers: [43, 106]
Generated Node #0,1,0: 94:[43, 106] Operation: 15+91=106
Exploring Operation: 91-43=48, Resulting Numbers: [15, 48]
Generated Node #0,1,1: 94:[15, 48] Operation: 91-43=48
Exploring Operation: 15+43=58, Resulting Numbers: [91, 58]
Generated Node #0,1,2: 94:[91, 58] Operation: 15+43=58
Moving to Node #0,1,1
Current State: 94:[15, 48], Operations: ['87-44=43', '91-43=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,94 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[91, 58], Operations: ['87-44=43', '15+43=58']
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,94 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[43, 106], Operations: ['87-44=43', '15+91=106']
Exploring Operation: 106-43=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 43+106=149, Resulting Numbers: [149]
149,94 unequal: No Solution
Exploring Operation: 43*106=4558, Resulting Numbers: [4558]
4558,94 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
47,
59,
7,
99
] | 14 | [
"47+59=106",
"99-7=92",
"106-92=14"
] | Current State: 14:[47, 59, 7, 99], Operations: []
Exploring Operation: 47+59=106, Resulting Numbers: [7, 99, 106]
Generated Node #2: [7, 99, 106] from Operation: 47+59=106
Current State: 14:[7, 99, 106], Operations: ['47+59=106']
Exploring Operation: 99-7=92, Resulting Numbers: [106, 92]
Generated Node #3: [106, 92] from Operation: 99-7=92
Current State: 14:[106, 92], Operations: ['47+59=106', '99-7=92']
Exploring Operation: 106-92=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[47, 59, 7, 99], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [7, 99, 12]
Generated Node #0,0: 14:[7, 99, 12] Operation: 59-47=12
Exploring Operation: 99-59=40, Resulting Numbers: [47, 7, 40]
Generated Node #0,1: 14:[47, 7, 40] Operation: 99-59=40
Exploring Operation: 99-47=52, Resulting Numbers: [59, 7, 52]
Generated Node #0,2: 14:[59, 7, 52] Operation: 99-47=52
Moving to Node #0,1
Current State: 14:[47, 7, 40], Operations: ['99-59=40']
Exploring Operation: 40-7=33, Resulting Numbers: [47, 33]
Generated Node #0,1,0: 14:[47, 33] Operation: 40-7=33
Exploring Operation: 47-40=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 14:[7, 7] Operation: 47-40=7
Exploring Operation: 47-7=40, Resulting Numbers: [40, 40]
Generated Node #0,1,2: 14:[40, 40] Operation: 47-7=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[7, 7], Operations: ['99-59=40', '47-40=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[47, 59, 7, 99], Operations: []
Exploring Operation: 99-59=40, Resulting Numbers: [47, 7, 40]
Generated Node #0,1: 14:[47, 7, 40] Operation: 99-59=40
Moving to Node #0,1
Current State: 14:[47, 7, 40], Operations: ['99-59=40']
Exploring Operation: 47-40=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 14:[7, 7] Operation: 47-40=7
Moving to Node #0,1,1
Current State: 14:[7, 7], Operations: ['99-59=40', '47-40=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
27,
48,
5,
2
] | 53 | [
"27-2=25",
"25/5=5",
"48+5=53"
] | Current State: 53:[27, 48, 5, 2], Operations: []
Exploring Operation: 27-2=25, Resulting Numbers: [48, 5, 25]
Generated Node #2: [48, 5, 25] from Operation: 27-2=25
Current State: 53:[48, 5, 25], Operations: ['27-2=25']
Exploring Operation: 25/5=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 25/5=5
Current State: 53:[48, 5], Operations: ['27-2=25', '25/5=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[27, 48, 5, 2], Operations: []
Exploring Operation: 27*2=54, Resulting Numbers: [48, 5, 54]
Generated Node #0,0: 53:[48, 5, 54] Operation: 27*2=54
Moving to Node #0,0
Current State: 53:[48, 5, 54], Operations: ['27*2=54']
Exploring Operation: 48+5=53, Resulting Numbers: [54, 53]
Generated Node #0,0,0: 53:[54, 53] Operation: 48+5=53
Moving to Node #0,0,0
Current State: 53:[54, 53], Operations: ['27*2=54', '48+5=53']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
11,
11,
51
] | 21 | [
"51-11=40",
"40/4=10",
"11+10=21"
] | Current State: 21:[4, 11, 11, 51], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [4, 40]
Generated Node #2: [4, 40] from Operation: 51-11=40
Current State: 21:[4, 40], Operations: ['51-11=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,21 equal: Goal Reached
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[4, 11, 11, 51], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [4, 11, 40]
Generated Node #0,0: 21:[4, 11, 40] Operation: 51-11=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[4, 11, 40], Operations: ['51-11=40']
Exploring Operation: 40/4=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 21:[11, 10] Operation: 40/4=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[11, 10], Operations: ['51-11=40', '40/4=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[4, 11, 11, 51], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [4, 11, 40]
Generated Node #0,0: 21:[4, 11, 40] Operation: 51-11=40
Moving to Node #0,0
Current State: 21:[4, 11, 40], Operations: ['51-11=40']
Exploring Operation: 40/4=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 21:[11, 10] Operation: 40/4=10
Moving to Node #0,0,0
Current State: 21:[11, 10], Operations: ['51-11=40', '40/4=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
62,
19,
22
] | 28 | [
"62/2=31",
"22-19=3",
"31-3=28"
] | Current State: 28:[2, 62, 19, 22], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [19, 22, 31]
Generated Node #2: [19, 22, 31] from Operation: 62/2=31
Current State: 28:[19, 22, 31], Operations: ['62/2=31']
Exploring Operation: 22-19=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 22-19=3
Current State: 28:[31, 3], Operations: ['62/2=31', '22-19=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 62, 19, 22], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [19, 22, 31]
Generated Node #0,0: 28:[19, 22, 31] Operation: 62/2=31
Exploring Operation: 62-19=43, Resulting Numbers: [2, 22, 43]
Generated Node #0,1: 28:[2, 22, 43] Operation: 62-19=43
Exploring Operation: 62-22=40, Resulting Numbers: [2, 19, 40]
Generated Node #0,2: 28:[2, 19, 40] Operation: 62-22=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[19, 22, 31], Operations: ['62/2=31']
Exploring Operation: 31-19=12, Resulting Numbers: [22, 12]
Generated Node #0,0,0: 28:[22, 12] Operation: 31-19=12
Exploring Operation: 22-19=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 28:[31, 3] Operation: 22-19=3
Exploring Operation: 31-22=9, Resulting Numbers: [19, 9]
Generated Node #0,0,2: 28:[19, 9] Operation: 31-22=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[31, 3], Operations: ['62/2=31', '22-19=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[2, 62, 19, 22], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [19, 22, 31]
Generated Node #0,0: 28:[19, 22, 31] Operation: 62/2=31
Moving to Node #0,0
Current State: 28:[19, 22, 31], Operations: ['62/2=31']
Exploring Operation: 22-19=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 28:[31, 3] Operation: 22-19=3
Moving to Node #0,0,1
Current State: 28:[31, 3], Operations: ['62/2=31', '22-19=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
65,
23,
69,
81
] | 76 | [
"65+23=88",
"81-69=12",
"88-12=76"
] | Current State: 76:[65, 23, 69, 81], Operations: []
Exploring Operation: 65+23=88, Resulting Numbers: [69, 81, 88]
Generated Node #2: [69, 81, 88] from Operation: 65+23=88
Current State: 76:[69, 81, 88], Operations: ['65+23=88']
Exploring Operation: 81-69=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 81-69=12
Current State: 76:[88, 12], Operations: ['65+23=88', '81-69=12']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[65, 23, 69, 81], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [69, 81, 42]
Generated Node #0,0: 76:[69, 81, 42] Operation: 65-23=42
Exploring Operation: 69/23=3, Resulting Numbers: [65, 81, 3]
Generated Node #0,1: 76:[65, 81, 3] Operation: 69/23=3
Exploring Operation: 81-65=16, Resulting Numbers: [23, 69, 16]
Generated Node #0,2: 76:[23, 69, 16] Operation: 81-65=16
Exploring Operation: 69-65=4, Resulting Numbers: [23, 81, 4]
Generated Node #0,3: 76:[23, 81, 4] Operation: 69-65=4
Moving to Node #0,3
Current State: 76:[23, 81, 4], Operations: ['69-65=4']
Exploring Operation: 81-4=77, Resulting Numbers: [23, 77]
Generated Node #0,3,0: 76:[23, 77] Operation: 81-4=77
Exploring Operation: 23+4=27, Resulting Numbers: [81, 27]
Generated Node #0,3,1: 76:[81, 27] Operation: 23+4=27
Exploring Operation: 23-4=19, Resulting Numbers: [81, 19]
Generated Node #0,3,2: 76:[81, 19] Operation: 23-4=19
Exploring Operation: 81+4=85, Resulting Numbers: [23, 85]
Generated Node #0,3,3: 76:[23, 85] Operation: 81+4=85
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[23, 77], Operations: ['69-65=4', '81-4=77']
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,76 unequal: No Solution
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[81, 19], Operations: ['69-65=4', '23-4=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,76 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 76:[81, 27], Operations: ['69-65=4', '23+4=27']
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,76 unequal: No Solution
Exploring Operation: 81*27=2187, Resulting Numbers: [2187]
2187,76 unequal: No Solution
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 76:[23, 85], Operations: ['69-65=4', '81+4=85']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 23*85=1955, Resulting Numbers: [1955]
1955,76 unequal: No Solution
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,76 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: 76:[23, 69, 16], Operations: ['81-65=16']
Exploring Operation: 69/23=3, Resulting Numbers: [16, 3]
Generated Node #0,2,0: 76:[16, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [16, 46]
Generated Node #0,2,1: 76:[16, 46] Operation: 69-23=46
Exploring Operation: 23+16=39, Resulting Numbers: [69, 39]
Generated Node #0,2,2: 76:[69, 39] Operation: 23+16=39
Exploring Operation: 23-16=7, Resulting Numbers: [69, 7]
Generated Node #0,2,3: 76:[69, 7] Operation: 23-16=7
Moving to Node #0,0
Current State: 76:[69, 81, 42], Operations: ['65-23=42']
Exploring Operation: 69-42=27, Resulting Numbers: [81, 27]
Generated Node #0,0,0: 76:[81, 27] Operation: 69-42=27
Exploring Operation: 69+42=111, Resulting Numbers: [81, 111]
Generated Node #0,0,1: 76:[81, 111] Operation: 69+42=111
Exploring Operation: 81-69=12, Resulting Numbers: [42, 12]
Generated Node #0,0,2: 76:[42, 12] Operation: 81-69=12
Exploring Operation: 81-42=39, Resulting Numbers: [69, 39]
Generated Node #0,0,3: 76:[69, 39] Operation: 81-42=39
Moving to Node #0,1
Current State: 76:[65, 81, 3], Operations: ['69/23=3']
Exploring Operation: 65+3=68, Resulting Numbers: [81, 68]
Generated Node #0,1,0: 76:[81, 68] Operation: 65+3=68
Exploring Operation: 65-3=62, Resulting Numbers: [81, 62]
Generated Node #0,1,1: 76:[81, 62] Operation: 65-3=62
Exploring Operation: 81-65=16, Resulting Numbers: [3, 16]
Generated Node #0,1,2: 76:[3, 16] Operation: 81-65=16
Exploring Operation: 81-3=78, Resulting Numbers: [65, 78]
Generated Node #0,1,3: 76:[65, 78] Operation: 81-3=78
Moving to Node #0,2,0
Current State: 76:[16, 3], Operations: ['81-65=16', '69/23=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[3, 16], Operations: ['69/23=3', '81-65=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[69, 39], Operations: ['65-23=42', '81-42=39']
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,76 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[69, 39], Operations: ['81-65=16', '23+16=39']
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,76 unequal: No Solution
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[69, 7], Operations: ['81-65=16', '23-16=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[65, 23, 69, 81], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [23, 69, 16]
Generated Node #0,2: 76:[23, 69, 16] Operation: 81-65=16
Moving to Node #0,2
Current State: 76:[23, 69, 16], Operations: ['81-65=16']
Exploring Operation: 23-16=7, Resulting Numbers: [69, 7]
Generated Node #0,2,3: 76:[69, 7] Operation: 23-16=7
Moving to Node #0,2,3
Current State: 76:[69, 7], Operations: ['81-65=16', '23-16=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
45,
30,
42,
1
] | 87 | [
"45-42=3",
"30-1=29",
"3*29=87"
] | Current State: 87:[45, 30, 42, 1], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [30, 1, 3]
Generated Node #2: [30, 1, 3] from Operation: 45-42=3
Current State: 87:[30, 1, 3], Operations: ['45-42=3']
Exploring Operation: 30-1=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 30-1=29
Current State: 87:[3, 29], Operations: ['45-42=3', '30-1=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[45, 30, 42, 1], Operations: []
Exploring Operation: 45+42=87, Resulting Numbers: [30, 1, 87]
Generated Node #0,0: 87:[30, 1, 87] Operation: 45+42=87
Exploring Operation: 45-42=3, Resulting Numbers: [30, 1, 3]
Generated Node #0,1: 87:[30, 1, 3] Operation: 45-42=3
Moving to Node #0,0
Current State: 87:[30, 1, 87], Operations: ['45+42=87']
Exploring Operation: 30-1=29, Resulting Numbers: [87, 29]
Generated Node #0,0,0: 87:[87, 29] Operation: 30-1=29
Exploring Operation: 30*1=30, Resulting Numbers: [87, 30]
Generated Node #0,0,1: 87:[87, 30] Operation: 30*1=30
Moving to Node #0,1
Current State: 87:[30, 1, 3], Operations: ['45-42=3']
Exploring Operation: 30*1=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 87:[3, 30] Operation: 30*1=30
Exploring Operation: 30-1=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 87:[3, 29] Operation: 30-1=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[3, 29], Operations: ['45-42=3', '30-1=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[45, 30, 42, 1], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [30, 1, 3]
Generated Node #0,1: 87:[30, 1, 3] Operation: 45-42=3
Moving to Node #0,1
Current State: 87:[30, 1, 3], Operations: ['45-42=3']
Exploring Operation: 30-1=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 87:[3, 29] Operation: 30-1=29
Moving to Node #0,1,1
Current State: 87:[3, 29], Operations: ['45-42=3', '30-1=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
64,
24,
95,
64
] | 24 | [
"64-64=0",
"95*0=0",
"24+0=24"
] | Current State: 24:[64, 24, 95, 64], Operations: []
Exploring Operation: 64-64=0, Resulting Numbers: [24, 95, 0]
Generated Node #2: [24, 95, 0] from Operation: 64-64=0
Current State: 24:[24, 95, 0], Operations: ['64-64=0']
Exploring Operation: 95*0=0, Resulting Numbers: [24, 0]
Generated Node #3: [24, 0] from Operation: 95*0=0
Current State: 24:[24, 0], Operations: ['64-64=0', '95*0=0']
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[64, 24, 95, 64], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [64, 24, 31]
Generated Node #0,0: 24:[64, 24, 31] Operation: 95-64=31
Exploring Operation: 95-64=31, Resulting Numbers: [24, 64, 31]
Generated Node #0,1: 24:[24, 64, 31] Operation: 95-64=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[64, 24, 31], Operations: ['95-64=31']
Exploring Operation: 64-24=40, Resulting Numbers: [31, 40]
Generated Node #0,0,0: 24:[31, 40] Operation: 64-24=40
Exploring Operation: 64-31=33, Resulting Numbers: [24, 33]
Generated Node #0,0,1: 24:[24, 33] Operation: 64-31=33
Moving to Node #0,0,1
Current State: 24:[24, 33], Operations: ['95-64=31', '64-31=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[31, 40], Operations: ['95-64=31', '64-24=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[24, 64, 31], Operations: ['95-64=31']
Exploring Operation: 64-24=40, Resulting Numbers: [31, 40]
Generated Node #0,1,0: 24:[31, 40] Operation: 64-24=40
Exploring Operation: 64-31=33, Resulting Numbers: [24, 33]
Generated Node #0,1,1: 24:[24, 33] Operation: 64-31=33
Moving to Node #0,1,1
Current State: 24:[24, 33], Operations: ['95-64=31', '64-31=33']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[31, 40], Operations: ['95-64=31', '64-24=40']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,24 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 |
[
15,
60,
34,
28
] | 27 | [
"60/15=4",
"28/4=7",
"34-7=27"
] | Current State: 27:[15, 60, 34, 28], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [34, 28, 4]
Generated Node #2: [34, 28, 4] from Operation: 60/15=4
Current State: 27:[34, 28, 4], Operations: ['60/15=4']
Exploring Operation: 28/4=7, Resulting Numbers: [34, 7]
Generated Node #3: [34, 7] from Operation: 28/4=7
Current State: 27:[34, 7], Operations: ['60/15=4', '28/4=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[15, 60, 34, 28], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [34, 28, 4]
Generated Node #0,0: 27:[34, 28, 4] Operation: 60/15=4
Exploring Operation: 60-28=32, Resulting Numbers: [15, 34, 32]
Generated Node #0,1: 27:[15, 34, 32] Operation: 60-28=32
Exploring Operation: 60-34=26, Resulting Numbers: [15, 28, 26]
Generated Node #0,2: 27:[15, 28, 26] Operation: 60-34=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[15, 28, 26], Operations: ['60-34=26']
Exploring Operation: 26-15=11, Resulting Numbers: [28, 11]
Generated Node #0,2,0: 27:[28, 11] Operation: 26-15=11
Exploring Operation: 28-26=2, Resulting Numbers: [15, 2]
Generated Node #0,2,1: 27:[15, 2] Operation: 28-26=2
Exploring Operation: 28-15=13, Resulting Numbers: [26, 13]
Generated Node #0,2,2: 27:[26, 13] Operation: 28-15=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[28, 11], Operations: ['60-34=26', '26-15=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,27 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[26, 13], Operations: ['60-34=26', '28-15=13']
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[15, 2], Operations: ['60-34=26', '28-26=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[34, 28, 4], Operations: ['60/15=4']
Exploring Operation: 28/4=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 27:[34, 7] Operation: 28/4=7
Exploring Operation: 34-28=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 27:[4, 6] Operation: 34-28=6
Exploring Operation: 34-4=30, Resulting Numbers: [28, 30]
Generated Node #0,0,2: 27:[28, 30] Operation: 34-4=30
Moving to Node #0,0,1
Current State: 27:[4, 6], Operations: ['60/15=4', '34-28=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[28, 30], Operations: ['60/15=4', '34-4=30']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[34, 7], Operations: ['60/15=4', '28/4=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[15, 60, 34, 28], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [34, 28, 4]
Generated Node #0,0: 27:[34, 28, 4] Operation: 60/15=4
Moving to Node #0,0
Current State: 27:[34, 28, 4], Operations: ['60/15=4']
Exploring Operation: 28/4=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 27:[34, 7] Operation: 28/4=7
Moving to Node #0,0,0
Current State: 27:[34, 7], Operations: ['60/15=4', '28/4=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
50,
77,
2,
21
] | 46 | [
"77-50=27",
"21-2=19",
"27+19=46"
] | Current State: 46:[50, 77, 2, 21], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [2, 21, 27]
Generated Node #2: [2, 21, 27] from Operation: 77-50=27
Current State: 46:[2, 21, 27], Operations: ['77-50=27']
Exploring Operation: 21-2=19, Resulting Numbers: [27, 19]
Generated Node #3: [27, 19] from Operation: 21-2=19
Current State: 46:[27, 19], Operations: ['77-50=27', '21-2=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[50, 77, 2, 21], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [2, 21, 27]
Generated Node #0,0: 46:[2, 21, 27] Operation: 77-50=27
Moving to Node #0,0
Current State: 46:[2, 21, 27], Operations: ['77-50=27']
Exploring Operation: 21+27=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 46:[2, 48] Operation: 21+27=48
Moving to Node #0,0,0
Current State: 46:[2, 48], Operations: ['77-50=27', '21+27=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[50, 77, 2, 21], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [2, 21, 27]
Generated Node #0,0: 46:[2, 21, 27] Operation: 77-50=27
Moving to Node #0,0
Current State: 46:[2, 21, 27], Operations: ['77-50=27']
Exploring Operation: 21+27=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 46:[2, 48] Operation: 21+27=48
Moving to Node #0,0,0
Current State: 46:[2, 48], Operations: ['77-50=27', '21+27=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
99,
37,
51,
71
] | 66 | [
"71-37=34",
"99*34=3366",
"3366/51=66"
] | Current State: 66:[99, 37, 51, 71], Operations: []
Exploring Operation: 71-37=34, Resulting Numbers: [99, 51, 34]
Generated Node #2: [99, 51, 34] from Operation: 71-37=34
Current State: 66:[99, 51, 34], Operations: ['71-37=34']
Exploring Operation: 99*34=3366, Resulting Numbers: [51, 3366]
Generated Node #3: [51, 3366] from Operation: 99*34=3366
Current State: 66:[51, 3366], Operations: ['71-37=34', '99*34=3366']
Exploring Operation: 3366/51=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[99, 37, 51, 71], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [37, 71, 48]
Generated Node #0,0: 66:[37, 71, 48] Operation: 99-51=48
Exploring Operation: 99-71=28, Resulting Numbers: [37, 51, 28]
Generated Node #0,1: 66:[37, 51, 28] Operation: 99-71=28
Exploring Operation: 99-37=62, Resulting Numbers: [51, 71, 62]
Generated Node #0,2: 66:[51, 71, 62] Operation: 99-37=62
Moving to Node #0,0
Current State: 66:[37, 71, 48], Operations: ['99-51=48']
Exploring Operation: 71-37=34, Resulting Numbers: [48, 34]
Generated Node #0,0,0: 66:[48, 34] Operation: 71-37=34
Exploring Operation: 48-37=11, Resulting Numbers: [71, 11]
Generated Node #0,0,1: 66:[71, 11] Operation: 48-37=11
Exploring Operation: 71-48=23, Resulting Numbers: [37, 23]
Generated Node #0,0,2: 66:[37, 23] Operation: 71-48=23
Moving to Node #0,1
Current State: 66:[37, 51, 28], Operations: ['99-71=28']
Exploring Operation: 37+28=65, Resulting Numbers: [51, 65]
Generated Node #0,1,0: 66:[51, 65] Operation: 37+28=65
Exploring Operation: 51-28=23, Resulting Numbers: [37, 23]
Generated Node #0,1,1: 66:[37, 23] Operation: 51-28=23
Exploring Operation: 51-37=14, Resulting Numbers: [28, 14]
Generated Node #0,1,2: 66:[28, 14] Operation: 51-37=14
Moving to Node #0,2
Current State: 66:[51, 71, 62], Operations: ['99-37=62']
Exploring Operation: 71-62=9, Resulting Numbers: [51, 9]
Generated Node #0,2,0: 66:[51, 9] Operation: 71-62=9
Exploring Operation: 62-51=11, Resulting Numbers: [71, 11]
Generated Node #0,2,1: 66:[71, 11] Operation: 62-51=11
Exploring Operation: 71-51=20, Resulting Numbers: [62, 20]
Generated Node #0,2,2: 66:[62, 20] Operation: 71-51=20
Moving to Node #0,0,1
Current State: 66:[71, 11], Operations: ['99-51=48', '48-37=11']
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,66 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[71, 11], Operations: ['99-37=62', '62-51=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[37, 23], Operations: ['99-51=48', '71-48=23']
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[37, 23], Operations: ['99-71=28', '51-28=23']
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,66 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[62, 20], Operations: ['99-37=62', '71-51=20']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[28, 14], Operations: ['99-71=28', '51-37=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[48, 34], Operations: ['99-51=48', '71-37=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,66 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[51, 65], Operations: ['99-71=28', '37+28=65']
Exploring Operation: 51+65=116, Resulting Numbers: [116]
116,66 unequal: No Solution
Exploring Operation: 51*65=3315, Resulting Numbers: [3315]
3315,66 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[51, 9], Operations: ['99-37=62', '71-62=9']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,66 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,66 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
56,
60,
85
] | 79 | [
"56-2=54",
"85-60=25",
"54+25=79"
] | Current State: 79:[2, 56, 60, 85], Operations: []
Exploring Operation: 56-2=54, Resulting Numbers: [60, 85, 54]
Generated Node #2: [60, 85, 54] from Operation: 56-2=54
Current State: 79:[60, 85, 54], Operations: ['56-2=54']
Exploring Operation: 85-60=25, Resulting Numbers: [54, 25]
Generated Node #3: [54, 25] from Operation: 85-60=25
Current State: 79:[54, 25], Operations: ['56-2=54', '85-60=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[2, 56, 60, 85], Operations: []
Exploring Operation: 56-2=54, Resulting Numbers: [60, 85, 54]
Generated Node #0,0: 79:[60, 85, 54] Operation: 56-2=54
Exploring Operation: 85-2=83, Resulting Numbers: [56, 60, 83]
Generated Node #0,1: 79:[56, 60, 83] Operation: 85-2=83
Exploring Operation: 2+56=58, Resulting Numbers: [60, 85, 58]
Generated Node #0,2: 79:[60, 85, 58] Operation: 2+56=58
Exploring Operation: 2+60=62, Resulting Numbers: [56, 85, 62]
Generated Node #0,3: 79:[56, 85, 62] Operation: 2+60=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[56, 60, 83], Operations: ['85-2=83']
Exploring Operation: 56+60=116, Resulting Numbers: [83, 116]
Generated Node #0,1,0: 79:[83, 116] Operation: 56+60=116
Exploring Operation: 60-56=4, Resulting Numbers: [83, 4]
Generated Node #0,1,1: 79:[83, 4] Operation: 60-56=4
Exploring Operation: 83-56=27, Resulting Numbers: [60, 27]
Generated Node #0,1,2: 79:[60, 27] Operation: 83-56=27
Exploring Operation: 56+83=139, Resulting Numbers: [60, 139]
Generated Node #0,1,3: 79:[60, 139] Operation: 56+83=139
Moving to Node #0,1,0
Current State: 79:[83, 116], Operations: ['85-2=83', '56+60=116']
Exploring Operation: 116-83=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 83*116=9628, Resulting Numbers: [9628]
9628,79 unequal: No Solution
Exploring Operation: 83+116=199, Resulting Numbers: [199]
199,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[60, 27], Operations: ['85-2=83', '83-56=27']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[60, 139], Operations: ['85-2=83', '56+83=139']
Exploring Operation: 60+139=199, Resulting Numbers: [199]
199,79 unequal: No Solution
Exploring Operation: 60*139=8340, Resulting Numbers: [8340]
8340,79 unequal: No Solution
Exploring Operation: 139-60=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[2, 56, 60, 85], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [56, 60, 83]
Generated Node #0,1: 79:[56, 60, 83] Operation: 85-2=83
Moving to Node #0,1
Current State: 79:[56, 60, 83], Operations: ['85-2=83']
Exploring Operation: 56+83=139, Resulting Numbers: [60, 139]
Generated Node #0,1,3: 79:[60, 139] Operation: 56+83=139
Moving to Node #0,1,3
Current State: 79:[60, 139], Operations: ['85-2=83', '56+83=139']
Exploring Operation: 139-60=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
43,
69,
32,
53
] | 59 | [
"69-43=26",
"32+53=85",
"85-26=59"
] | Current State: 59:[43, 69, 32, 53], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [32, 53, 26]
Generated Node #2: [32, 53, 26] from Operation: 69-43=26
Current State: 59:[32, 53, 26], Operations: ['69-43=26']
Exploring Operation: 32+53=85, Resulting Numbers: [26, 85]
Generated Node #3: [26, 85] from Operation: 32+53=85
Current State: 59:[26, 85], Operations: ['69-43=26', '32+53=85']
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[43, 69, 32, 53], Operations: []
Exploring Operation: 32+53=85, Resulting Numbers: [43, 69, 85]
Generated Node #0,0: 59:[43, 69, 85] Operation: 32+53=85
Exploring Operation: 43+32=75, Resulting Numbers: [69, 53, 75]
Generated Node #0,1: 59:[69, 53, 75] Operation: 43+32=75
Exploring Operation: 69-32=37, Resulting Numbers: [43, 53, 37]
Generated Node #0,2: 59:[43, 53, 37] Operation: 69-32=37
Moving to Node #0,1
Current State: 59:[69, 53, 75], Operations: ['43+32=75']
Exploring Operation: 75-53=22, Resulting Numbers: [69, 22]
Generated Node #0,1,0: 59:[69, 22] Operation: 75-53=22
Exploring Operation: 75-69=6, Resulting Numbers: [53, 6]
Generated Node #0,1,1: 59:[53, 6] Operation: 75-69=6
Exploring Operation: 69-53=16, Resulting Numbers: [75, 16]
Generated Node #0,1,2: 59:[75, 16] Operation: 69-53=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[69, 22], Operations: ['43+32=75', '75-53=22']
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 69*22=1518, Resulting Numbers: [1518]
1518,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[53, 6], Operations: ['43+32=75', '75-69=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[43, 69, 32, 53], Operations: []
Exploring Operation: 43+32=75, Resulting Numbers: [69, 53, 75]
Generated Node #0,1: 59:[69, 53, 75] Operation: 43+32=75
Moving to Node #0,1
Current State: 59:[69, 53, 75], Operations: ['43+32=75']
Exploring Operation: 75-69=6, Resulting Numbers: [53, 6]
Generated Node #0,1,1: 59:[53, 6] Operation: 75-69=6
Moving to Node #0,1,1
Current State: 59:[53, 6], Operations: ['43+32=75', '75-69=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
9,
97,
41,
3
] | 53 | [
"9+41=50",
"3*50=150",
"150-97=53"
] | Current State: 53:[9, 97, 41, 3], Operations: []
Exploring Operation: 9+41=50, Resulting Numbers: [97, 3, 50]
Generated Node #2: [97, 3, 50] from Operation: 9+41=50
Current State: 53:[97, 3, 50], Operations: ['9+41=50']
Exploring Operation: 3*50=150, Resulting Numbers: [97, 150]
Generated Node #3: [97, 150] from Operation: 3*50=150
Current State: 53:[97, 150], Operations: ['9+41=50', '3*50=150']
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[9, 97, 41, 3], Operations: []
Exploring Operation: 9+3=12, Resulting Numbers: [97, 41, 12]
Generated Node #0,0: 53:[97, 41, 12] Operation: 9+3=12
Exploring Operation: 9+41=50, Resulting Numbers: [97, 3, 50]
Generated Node #0,1: 53:[97, 3, 50] Operation: 9+41=50
Exploring Operation: 97-9=88, Resulting Numbers: [41, 3, 88]
Generated Node #0,2: 53:[41, 3, 88] Operation: 97-9=88
Exploring Operation: 9*3=27, Resulting Numbers: [97, 41, 27]
Generated Node #0,3: 53:[97, 41, 27] Operation: 9*3=27
Exploring Operation: 97-41=56, Resulting Numbers: [9, 3, 56]
Generated Node #0,4: 53:[9, 3, 56] Operation: 97-41=56
Moving to Node #0,3
Current State: 53:[97, 41, 27], Operations: ['9*3=27']
Exploring Operation: 41+27=68, Resulting Numbers: [97, 68]
Generated Node #0,3,0: 53:[97, 68] Operation: 41+27=68
Exploring Operation: 41-27=14, Resulting Numbers: [97, 14]
Generated Node #0,3,1: 53:[97, 14] Operation: 41-27=14
Exploring Operation: 97+27=124, Resulting Numbers: [41, 124]
Generated Node #0,3,2: 53:[41, 124] Operation: 97+27=124
Exploring Operation: 97-41=56, Resulting Numbers: [27, 56]
Generated Node #0,3,3: 53:[27, 56] Operation: 97-41=56
Exploring Operation: 97-27=70, Resulting Numbers: [41, 70]
Generated Node #0,3,4: 53:[41, 70] Operation: 97-27=70
Moving to Node #0,1
Current State: 53:[97, 3, 50], Operations: ['9+41=50']
Exploring Operation: 3+50=53, Resulting Numbers: [97, 53]
Generated Node #0,1,0: 53:[97, 53] Operation: 3+50=53
Exploring Operation: 50-3=47, Resulting Numbers: [97, 47]
Generated Node #0,1,1: 53:[97, 47] Operation: 50-3=47
Exploring Operation: 97+3=100, Resulting Numbers: [50, 100]
Generated Node #0,1,2: 53:[50, 100] Operation: 97+3=100
Exploring Operation: 97-3=94, Resulting Numbers: [50, 94]
Generated Node #0,1,3: 53:[50, 94] Operation: 97-3=94
Exploring Operation: 97-50=47, Resulting Numbers: [3, 47]
Generated Node #0,1,4: 53:[3, 47] Operation: 97-50=47
Moving to Node #0,4
Current State: 53:[9, 3, 56], Operations: ['97-41=56']
Exploring Operation: 3+56=59, Resulting Numbers: [9, 59]
Generated Node #0,4,0: 53:[9, 59] Operation: 3+56=59
Exploring Operation: 9+3=12, Resulting Numbers: [56, 12]
Generated Node #0,4,1: 53:[56, 12] Operation: 9+3=12
Exploring Operation: 56-3=53, Resulting Numbers: [9, 53]
Generated Node #0,4,2: 53:[9, 53] Operation: 56-3=53
Exploring Operation: 9*3=27, Resulting Numbers: [56, 27]
Generated Node #0,4,3: 53:[56, 27] Operation: 9*3=27
Exploring Operation: 9-3=6, Resulting Numbers: [56, 6]
Generated Node #0,4,4: 53:[56, 6] Operation: 9-3=6
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[56, 27], Operations: ['97-41=56', '9*3=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,53 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[56, 12], Operations: ['97-41=56', '9+3=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,53 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[9, 53], Operations: ['97-41=56', '56-3=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[9, 59], Operations: ['97-41=56', '3+56=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,53 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[56, 6], Operations: ['97-41=56', '9-3=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,53 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,53 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: 53:[97, 41, 12], Operations: ['9+3=12']
Exploring Operation: 41-12=29, Resulting Numbers: [97, 29]
Generated Node #0,0,0: 53:[97, 29] Operation: 41-12=29
Exploring Operation: 97+12=109, Resulting Numbers: [41, 109]
Generated Node #0,0,1: 53:[41, 109] Operation: 97+12=109
Exploring Operation: 41+12=53, Resulting Numbers: [97, 53]
Generated Node #0,0,2: 53:[97, 53] Operation: 41+12=53
Exploring Operation: 97-41=56, Resulting Numbers: [12, 56]
Generated Node #0,0,3: 53:[12, 56] Operation: 97-41=56
Exploring Operation: 97-12=85, Resulting Numbers: [41, 85]
Generated Node #0,0,4: 53:[41, 85] Operation: 97-12=85
Moving to Node #0,2
Current State: 53:[41, 3, 88], Operations: ['97-9=88']
Exploring Operation: 41-3=38, Resulting Numbers: [88, 38]
Generated Node #0,2,0: 53:[88, 38] Operation: 41-3=38
Exploring Operation: 3+88=91, Resulting Numbers: [41, 91]
Generated Node #0,2,1: 53:[41, 91] Operation: 3+88=91
Exploring Operation: 88-3=85, Resulting Numbers: [41, 85]
Generated Node #0,2,2: 53:[41, 85] Operation: 88-3=85
Exploring Operation: 88-41=47, Resulting Numbers: [3, 47]
Generated Node #0,2,3: 53:[3, 47] Operation: 88-41=47
Exploring Operation: 41+3=44, Resulting Numbers: [88, 44]
Generated Node #0,2,4: 53:[88, 44] Operation: 41+3=44
Moving to Node #0,3,3
Current State: 53:[27, 56], Operations: ['9*3=27', '97-41=56']
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,53 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[41, 70], Operations: ['9*3=27', '97-27=70']
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,53 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,53 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[97, 53], Operations: ['9+41=50', '3+50=53']
Exploring Operation: 97*53=5141, Resulting Numbers: [5141]
5141,53 unequal: No Solution
Exploring Operation: 97-53=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 97+53=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[50, 94], Operations: ['9+41=50', '97-3=94']
Exploring Operation: 50+94=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 50*94=4700, Resulting Numbers: [4700]
4700,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[12, 56], Operations: ['9+3=12', '97-41=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[41, 85], Operations: ['9+3=12', '97-12=85']
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[97, 53], Operations: ['9+3=12', '41+12=53']
Exploring Operation: 97*53=5141, Resulting Numbers: [5141]
5141,53 unequal: No Solution
Exploring Operation: 97+53=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 97-53=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[41, 85], Operations: ['97-9=88', '88-3=85']
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,53 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[88, 44], Operations: ['97-9=88', '41+3=44']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 88+44=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 88*44=3872, Resulting Numbers: [3872]
3872,53 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[41, 91], Operations: ['97-9=88', '3+88=91']
Exploring Operation: 41+91=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 41*91=3731, Resulting Numbers: [3731]
3731,53 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[88, 38], Operations: ['97-9=88', '41-3=38']
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,53 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[50, 100], Operations: ['9+41=50', '97+3=100']
Exploring Operation: 50*100=5000, Resulting Numbers: [5000]
5000,53 unequal: No Solution
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 50+100=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[97, 47], Operations: ['9+41=50', '50-3=47']
Exploring Operation: 97+47=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 97*47=4559, Resulting Numbers: [4559]
4559,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[3, 47], Operations: ['9+41=50', '97-50=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,53 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[3, 47], Operations: ['97-9=88', '88-41=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,53 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[97, 68], Operations: ['9*3=27', '41+27=68']
Exploring Operation: 97-68=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 97*68=6596, Resulting Numbers: [6596]
6596,53 unequal: No Solution
Exploring Operation: 97+68=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[97, 29], Operations: ['9+3=12', '41-12=29']
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[41, 109], Operations: ['9+3=12', '97+12=109']
Exploring Operation: 41+109=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 41*109=4469, Resulting Numbers: [4469]
4469,53 unequal: No Solution
Exploring Operation: 109-41=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[97, 14], Operations: ['9*3=27', '41-27=14']
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,53 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[41, 124], Operations: ['9*3=27', '97+27=124']
Exploring Operation: 41*124=5084, Resulting Numbers: [5084]
5084,53 unequal: No Solution
Exploring Operation: 124-41=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 41+124=165, Resulting Numbers: [165]
165,53 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
36,
71,
12,
81
] | 84 | [
"81-71=10",
"12*10=120",
"120-36=84"
] | Current State: 84:[36, 71, 12, 81], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [36, 12, 10]
Generated Node #2: [36, 12, 10] from Operation: 81-71=10
Current State: 84:[36, 12, 10], Operations: ['81-71=10']
Exploring Operation: 12*10=120, Resulting Numbers: [36, 120]
Generated Node #3: [36, 120] from Operation: 12*10=120
Current State: 84:[36, 120], Operations: ['81-71=10', '12*10=120']
Exploring Operation: 120-36=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[36, 71, 12, 81], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [36, 12, 10]
Generated Node #0,0: 84:[36, 12, 10] Operation: 81-71=10
Exploring Operation: 71+12=83, Resulting Numbers: [36, 81, 83]
Generated Node #0,1: 84:[36, 81, 83] Operation: 71+12=83
Exploring Operation: 71-36=35, Resulting Numbers: [12, 81, 35]
Generated Node #0,2: 84:[12, 81, 35] Operation: 71-36=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[36, 12, 10], Operations: ['81-71=10']
Exploring Operation: 36/12=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 84:[10, 3] Operation: 36/12=3
Exploring Operation: 36-10=26, Resulting Numbers: [12, 26]
Generated Node #0,0,1: 84:[12, 26] Operation: 36-10=26
Exploring Operation: 36+10=46, Resulting Numbers: [12, 46]
Generated Node #0,0,2: 84:[12, 46] Operation: 36+10=46
Moving to Node #0,0,0
Current State: 84:[10, 3], Operations: ['81-71=10', '36/12=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[12, 26], Operations: ['81-71=10', '36-10=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,84 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[12, 46], Operations: ['81-71=10', '36+10=46']
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,84 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[36, 81, 83], Operations: ['71+12=83']
Exploring Operation: 81-36=45, Resulting Numbers: [83, 45]
Generated Node #0,1,0: 84:[83, 45] Operation: 81-36=45
Exploring Operation: 83-36=47, Resulting Numbers: [81, 47]
Generated Node #0,1,1: 84:[81, 47] Operation: 83-36=47
Exploring Operation: 83-81=2, Resulting Numbers: [36, 2]
Generated Node #0,1,2: 84:[36, 2] Operation: 83-81=2
Moving to Node #0,1,0
Current State: 84:[83, 45], Operations: ['71+12=83', '81-36=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,84 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[36, 2], Operations: ['71+12=83', '83-81=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[81, 47], Operations: ['71+12=83', '83-36=47']
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,84 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,84 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[12, 81, 35], Operations: ['71-36=35']
Exploring Operation: 35-12=23, Resulting Numbers: [81, 23]
Generated Node #0,2,0: 84:[81, 23] Operation: 35-12=23
Exploring Operation: 12+35=47, Resulting Numbers: [81, 47]
Generated Node #0,2,1: 84:[81, 47] Operation: 12+35=47
Exploring Operation: 81-35=46, Resulting Numbers: [12, 46]
Generated Node #0,2,2: 84:[12, 46] Operation: 81-35=46
Moving to Node #0,2,2
Current State: 84:[12, 46], Operations: ['71-36=35', '81-35=46']
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,84 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[81, 23], Operations: ['71-36=35', '35-12=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,84 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[81, 47], Operations: ['71-36=35', '12+35=47']
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,84 unequal: No Solution
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
58,
32,
35,
7
] | 63 | [
"58-32=26",
"35-26=9",
"7*9=63"
] | Current State: 63:[58, 32, 35, 7], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [35, 7, 26]
Generated Node #2: [35, 7, 26] from Operation: 58-32=26
Current State: 63:[35, 7, 26], Operations: ['58-32=26']
Exploring Operation: 35-26=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 35-26=9
Current State: 63:[7, 9], Operations: ['58-32=26', '35-26=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[58, 32, 35, 7], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [58, 7, 3]
Generated Node #0,0: 63:[58, 7, 3] Operation: 35-32=3
Exploring Operation: 35/7=5, Resulting Numbers: [58, 32, 5]
Generated Node #0,1: 63:[58, 32, 5] Operation: 35/7=5
Exploring Operation: 32+35=67, Resulting Numbers: [58, 7, 67]
Generated Node #0,2: 63:[58, 7, 67] Operation: 32+35=67
Exploring Operation: 58-35=23, Resulting Numbers: [32, 7, 23]
Generated Node #0,3: 63:[32, 7, 23] Operation: 58-35=23
Moving to Node #0,0
Current State: 63:[58, 7, 3], Operations: ['35-32=3']
Exploring Operation: 58+3=61, Resulting Numbers: [7, 61]
Generated Node #0,0,0: 63:[7, 61] Operation: 58+3=61
Exploring Operation: 7*3=21, Resulting Numbers: [58, 21]
Generated Node #0,0,1: 63:[58, 21] Operation: 7*3=21
Exploring Operation: 7+3=10, Resulting Numbers: [58, 10]
Generated Node #0,0,2: 63:[58, 10] Operation: 7+3=10
Exploring Operation: 58+7=65, Resulting Numbers: [3, 65]
Generated Node #0,0,3: 63:[3, 65] Operation: 58+7=65
Moving to Node #0,2
Current State: 63:[58, 7, 67], Operations: ['32+35=67']
Exploring Operation: 67-58=9, Resulting Numbers: [7, 9]
Generated Node #0,2,0: 63:[7, 9] Operation: 67-58=9
Exploring Operation: 58-7=51, Resulting Numbers: [67, 51]
Generated Node #0,2,1: 63:[67, 51] Operation: 58-7=51
Exploring Operation: 58+7=65, Resulting Numbers: [67, 65]
Generated Node #0,2,2: 63:[67, 65] Operation: 58+7=65
Exploring Operation: 67-7=60, Resulting Numbers: [58, 60]
Generated Node #0,2,3: 63:[58, 60] Operation: 67-7=60
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[7, 9], Operations: ['32+35=67', '67-58=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[58, 32, 35, 7], Operations: []
Exploring Operation: 32+35=67, Resulting Numbers: [58, 7, 67]
Generated Node #0,2: 63:[58, 7, 67] Operation: 32+35=67
Moving to Node #0,2
Current State: 63:[58, 7, 67], Operations: ['32+35=67']
Exploring Operation: 67-58=9, Resulting Numbers: [7, 9]
Generated Node #0,2,0: 63:[7, 9] Operation: 67-58=9
Moving to Node #0,2,0
Current State: 63:[7, 9], Operations: ['32+35=67', '67-58=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
61,
89,
24,
96
] | 92 | [
"89-61=28",
"24+96=120",
"120-28=92"
] | Current State: 92:[61, 89, 24, 96], Operations: []
Exploring Operation: 89-61=28, Resulting Numbers: [24, 96, 28]
Generated Node #2: [24, 96, 28] from Operation: 89-61=28
Current State: 92:[24, 96, 28], Operations: ['89-61=28']
Exploring Operation: 24+96=120, Resulting Numbers: [28, 120]
Generated Node #3: [28, 120] from Operation: 24+96=120
Current State: 92:[28, 120], Operations: ['89-61=28', '24+96=120']
Exploring Operation: 120-28=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[61, 89, 24, 96], Operations: []
Exploring Operation: 89-61=28, Resulting Numbers: [24, 96, 28]
Generated Node #0,0: 92:[24, 96, 28] Operation: 89-61=28
Exploring Operation: 61+24=85, Resulting Numbers: [89, 96, 85]
Generated Node #0,1: 92:[89, 96, 85] Operation: 61+24=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[24, 96, 28], Operations: ['89-61=28']
Exploring Operation: 28-24=4, Resulting Numbers: [96, 4]
Generated Node #0,0,0: 92:[96, 4] Operation: 28-24=4
Exploring Operation: 96/24=4, Resulting Numbers: [28, 4]
Generated Node #0,0,1: 92:[28, 4] Operation: 96/24=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[96, 4], Operations: ['89-61=28', '28-24=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[61, 89, 24, 96], Operations: []
Exploring Operation: 89-61=28, Resulting Numbers: [24, 96, 28]
Generated Node #0,0: 92:[24, 96, 28] Operation: 89-61=28
Moving to Node #0,0
Current State: 92:[24, 96, 28], Operations: ['89-61=28']
Exploring Operation: 28-24=4, Resulting Numbers: [96, 4]
Generated Node #0,0,0: 92:[96, 4] Operation: 28-24=4
Moving to Node #0,0,0
Current State: 92:[96, 4], Operations: ['89-61=28', '28-24=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
63,
62,
7,
73
] | 66 | [
"63-62=1",
"73-7=66",
"1*66=66"
] | Current State: 66:[63, 62, 7, 73], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [7, 73, 1]
Generated Node #2: [7, 73, 1] from Operation: 63-62=1
Current State: 66:[7, 73, 1], Operations: ['63-62=1']
Exploring Operation: 73-7=66, Resulting Numbers: [1, 66]
Generated Node #3: [1, 66] from Operation: 73-7=66
Current State: 66:[1, 66], Operations: ['63-62=1', '73-7=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[63, 62, 7, 73], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [63, 7, 11]
Generated Node #0,0: 66:[63, 7, 11] Operation: 73-62=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[63, 7, 11], Operations: ['73-62=11']
Exploring Operation: 63/7=9, Resulting Numbers: [11, 9]
Generated Node #0,0,0: 66:[11, 9] Operation: 63/7=9
Moving to Node #0,0,0
Current State: 66:[11, 9], Operations: ['73-62=11', '63/7=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,66 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 |
[
30,
20,
51,
82
] | 60 | [
"20+82=102",
"30*102=3060",
"3060/51=60"
] | Current State: 60:[30, 20, 51, 82], Operations: []
Exploring Operation: 20+82=102, Resulting Numbers: [30, 51, 102]
Generated Node #2: [30, 51, 102] from Operation: 20+82=102
Current State: 60:[30, 51, 102], Operations: ['20+82=102']
Exploring Operation: 30*102=3060, Resulting Numbers: [51, 3060]
Generated Node #3: [51, 3060] from Operation: 30*102=3060
Current State: 60:[51, 3060], Operations: ['20+82=102', '30*102=3060']
Exploring Operation: 3060/51=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[30, 20, 51, 82], Operations: []
Exploring Operation: 82-20=62, Resulting Numbers: [30, 51, 62]
Generated Node #0,0: 60:[30, 51, 62] Operation: 82-20=62
Exploring Operation: 82-51=31, Resulting Numbers: [30, 20, 31]
Generated Node #0,1: 60:[30, 20, 31] Operation: 82-51=31
Exploring Operation: 51-30=21, Resulting Numbers: [20, 82, 21]
Generated Node #0,2: 60:[20, 82, 21] Operation: 51-30=21
Exploring Operation: 82-30=52, Resulting Numbers: [20, 51, 52]
Generated Node #0,3: 60:[20, 51, 52] Operation: 82-30=52
Moving to Node #0,1
Current State: 60:[30, 20, 31], Operations: ['82-51=31']
Exploring Operation: 30+31=61, Resulting Numbers: [20, 61]
Generated Node #0,1,0: 60:[20, 61] Operation: 30+31=61
Exploring Operation: 31-20=11, Resulting Numbers: [30, 11]
Generated Node #0,1,1: 60:[30, 11] Operation: 31-20=11
Exploring Operation: 30-20=10, Resulting Numbers: [31, 10]
Generated Node #0,1,2: 60:[31, 10] Operation: 30-20=10
Exploring Operation: 31-30=1, Resulting Numbers: [20, 1]
Generated Node #0,1,3: 60:[20, 1] Operation: 31-30=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[20, 61], Operations: ['82-51=31', '30+31=61']
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,60 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[30, 11], Operations: ['82-51=31', '31-20=11']
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,60 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[31, 10], Operations: ['82-51=31', '30-20=10']
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,60 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[20, 1], Operations: ['82-51=31', '31-30=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 60:[30, 51, 62], Operations: ['82-20=62']
Exploring Operation: 62-51=11, Resulting Numbers: [30, 11]
Generated Node #0,0,0: 60:[30, 11] Operation: 62-51=11
Exploring Operation: 30+51=81, Resulting Numbers: [62, 81]
Generated Node #0,0,1: 60:[62, 81] Operation: 30+51=81
Exploring Operation: 51-30=21, Resulting Numbers: [62, 21]
Generated Node #0,0,2: 60:[62, 21] Operation: 51-30=21
Exploring Operation: 62-30=32, Resulting Numbers: [51, 32]
Generated Node #0,0,3: 60:[51, 32] Operation: 62-30=32
Moving to Node #0,3
Current State: 60:[20, 51, 52], Operations: ['82-30=52']
Exploring Operation: 51-20=31, Resulting Numbers: [52, 31]
Generated Node #0,3,0: 60:[52, 31] Operation: 51-20=31
Exploring Operation: 52-20=32, Resulting Numbers: [51, 32]
Generated Node #0,3,1: 60:[51, 32] Operation: 52-20=32
Exploring Operation: 52-51=1, Resulting Numbers: [20, 1]
Generated Node #0,3,2: 60:[20, 1] Operation: 52-51=1
Exploring Operation: 20+51=71, Resulting Numbers: [52, 71]
Generated Node #0,3,3: 60:[52, 71] Operation: 20+51=71
Moving to Node #0,2
Current State: 60:[20, 82, 21], Operations: ['51-30=21']
Exploring Operation: 82-20=62, Resulting Numbers: [21, 62]
Generated Node #0,2,0: 60:[21, 62] Operation: 82-20=62
Exploring Operation: 82-21=61, Resulting Numbers: [20, 61]
Generated Node #0,2,1: 60:[20, 61] Operation: 82-21=61
Exploring Operation: 21-20=1, Resulting Numbers: [82, 1]
Generated Node #0,2,2: 60:[82, 1] Operation: 21-20=1
Exploring Operation: 20+21=41, Resulting Numbers: [82, 41]
Generated Node #0,2,3: 60:[82, 41] Operation: 20+21=41
Moving to Node #0,0,0
Current State: 60:[30, 11], Operations: ['82-20=62', '62-51=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[20, 1], Operations: ['82-30=52', '52-51=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[20, 61], Operations: ['51-30=21', '82-21=61']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,60 unequal: No Solution
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[62, 21], Operations: ['82-20=62', '51-30=21']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[21, 62], Operations: ['51-30=21', '82-20=62']
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,60 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[52, 31], Operations: ['82-30=52', '51-20=31']
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,60 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[51, 32], Operations: ['82-30=52', '52-20=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,60 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[51, 32], Operations: ['82-20=62', '62-30=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,60 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[52, 71], Operations: ['82-30=52', '20+51=71']
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,60 unequal: No Solution
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,60 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[62, 81], Operations: ['82-20=62', '30+51=81']
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 62*81=5022, Resulting Numbers: [5022]
5022,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[82, 1], Operations: ['51-30=21', '21-20=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[82, 41], Operations: ['51-30=21', '20+21=41']
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,60 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,60 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
78,
54,
52,
2
] | 38 | [
"78-54=24",
"52+24=76",
"76/2=38"
] | Current State: 38:[78, 54, 52, 2], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [52, 2, 24]
Generated Node #2: [52, 2, 24] from Operation: 78-54=24
Current State: 38:[52, 2, 24], Operations: ['78-54=24']
Exploring Operation: 52+24=76, Resulting Numbers: [2, 76]
Generated Node #3: [2, 76] from Operation: 52+24=76
Current State: 38:[2, 76], Operations: ['78-54=24', '52+24=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[78, 54, 52, 2], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [52, 2, 24]
Generated Node #0,0: 38:[52, 2, 24] Operation: 78-54=24
Exploring Operation: 78-52=26, Resulting Numbers: [54, 2, 26]
Generated Node #0,1: 38:[54, 2, 26] Operation: 78-52=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[52, 2, 24], Operations: ['78-54=24']
Exploring Operation: 52/2=26, Resulting Numbers: [24, 26]
Generated Node #0,0,0: 38:[24, 26] Operation: 52/2=26
Exploring Operation: 52-24=28, Resulting Numbers: [2, 28]
Generated Node #0,0,1: 38:[2, 28] Operation: 52-24=28
Moving to Node #0,0,1
Current State: 38:[2, 28], Operations: ['78-54=24', '52-24=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[24, 26], Operations: ['78-54=24', '52/2=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[54, 2, 26], Operations: ['78-52=26']
Exploring Operation: 54-26=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 38:[2, 28] Operation: 54-26=28
Exploring Operation: 54/2=27, Resulting Numbers: [26, 27]
Generated Node #0,1,1: 38:[26, 27] Operation: 54/2=27
Moving to Node #0,1,0
Current State: 38:[2, 28], Operations: ['78-52=26', '54-26=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[26, 27], Operations: ['78-52=26', '54/2=27']
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,38 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 |
[
4,
61,
2,
33
] | 23 | [
"61-2=59",
"33+59=92",
"92/4=23"
] | Current State: 23:[4, 61, 2, 33], Operations: []
Exploring Operation: 61-2=59, Resulting Numbers: [4, 33, 59]
Generated Node #2: [4, 33, 59] from Operation: 61-2=59
Current State: 23:[4, 33, 59], Operations: ['61-2=59']
Exploring Operation: 33+59=92, Resulting Numbers: [4, 92]
Generated Node #3: [4, 92] from Operation: 33+59=92
Current State: 23:[4, 92], Operations: ['61-2=59', '33+59=92']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[4, 61, 2, 33], Operations: []
Exploring Operation: 61-33=28, Resulting Numbers: [4, 2, 28]
Generated Node #0,0: 23:[4, 2, 28] Operation: 61-33=28
Exploring Operation: 4*2=8, Resulting Numbers: [61, 33, 8]
Generated Node #0,1: 23:[61, 33, 8] Operation: 4*2=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[4, 2, 28], Operations: ['61-33=28']
Exploring Operation: 4+2=6, Resulting Numbers: [28, 6]
Generated Node #0,0,0: 23:[28, 6] Operation: 4+2=6
Exploring Operation: 4*2=8, Resulting Numbers: [28, 8]
Generated Node #0,0,1: 23:[28, 8] Operation: 4*2=8
Moving to Node #0,0,1
Current State: 23:[28, 8], Operations: ['61-33=28', '4*2=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[28, 6], Operations: ['61-33=28', '4+2=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[61, 33, 8], Operations: ['4*2=8']
Exploring Operation: 61-33=28, Resulting Numbers: [8, 28]
Generated Node #0,1,0: 23:[8, 28] Operation: 61-33=28
Exploring Operation: 61-8=53, Resulting Numbers: [33, 53]
Generated Node #0,1,1: 23:[33, 53] Operation: 61-8=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[8, 28], Operations: ['4*2=8', '61-33=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[33, 53], Operations: ['4*2=8', '61-8=53']
Exploring Operation: 33+53=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
23,
69,
98,
50
] | 44 | [
"23+69=92",
"98-50=48",
"92-48=44"
] | Current State: 44:[23, 69, 98, 50], Operations: []
Exploring Operation: 23+69=92, Resulting Numbers: [98, 50, 92]
Generated Node #2: [98, 50, 92] from Operation: 23+69=92
Current State: 44:[98, 50, 92], Operations: ['23+69=92']
Exploring Operation: 98-50=48, Resulting Numbers: [92, 48]
Generated Node #3: [92, 48] from Operation: 98-50=48
Current State: 44:[92, 48], Operations: ['23+69=92', '98-50=48']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[23, 69, 98, 50], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [23, 69, 48]
Generated Node #0,0: 44:[23, 69, 48] Operation: 98-50=48
Exploring Operation: 98-69=29, Resulting Numbers: [23, 50, 29]
Generated Node #0,1: 44:[23, 50, 29] Operation: 98-69=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[23, 50, 29], Operations: ['98-69=29']
Exploring Operation: 50-29=21, Resulting Numbers: [23, 21]
Generated Node #0,1,0: 44:[23, 21] Operation: 50-29=21
Exploring Operation: 29-23=6, Resulting Numbers: [50, 6]
Generated Node #0,1,1: 44:[50, 6] Operation: 29-23=6
Moving to Node #0,1,0
Current State: 44:[23, 21], Operations: ['98-69=29', '50-29=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[23, 69, 98, 50], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [23, 50, 29]
Generated Node #0,1: 44:[23, 50, 29] Operation: 98-69=29
Moving to Node #0,1
Current State: 44:[23, 50, 29], Operations: ['98-69=29']
Exploring Operation: 50-29=21, Resulting Numbers: [23, 21]
Generated Node #0,1,0: 44:[23, 21] Operation: 50-29=21
Moving to Node #0,1,0
Current State: 44:[23, 21], Operations: ['98-69=29', '50-29=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
43,
6,
92,
78
] | 51 | [
"43-6=37",
"92-78=14",
"37+14=51"
] | Current State: 51:[43, 6, 92, 78], Operations: []
Exploring Operation: 43-6=37, Resulting Numbers: [92, 78, 37]
Generated Node #2: [92, 78, 37] from Operation: 43-6=37
Current State: 51:[92, 78, 37], Operations: ['43-6=37']
Exploring Operation: 92-78=14, Resulting Numbers: [37, 14]
Generated Node #3: [37, 14] from Operation: 92-78=14
Current State: 51:[37, 14], Operations: ['43-6=37', '92-78=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[43, 6, 92, 78], Operations: []
Exploring Operation: 43+6=49, Resulting Numbers: [92, 78, 49]
Generated Node #0,0: 51:[92, 78, 49] Operation: 43+6=49
Exploring Operation: 92-43=49, Resulting Numbers: [6, 78, 49]
Generated Node #0,1: 51:[6, 78, 49] Operation: 92-43=49
Exploring Operation: 92-78=14, Resulting Numbers: [43, 6, 14]
Generated Node #0,2: 51:[43, 6, 14] Operation: 92-78=14
Exploring Operation: 78/6=13, Resulting Numbers: [43, 92, 13]
Generated Node #0,3: 51:[43, 92, 13] Operation: 78/6=13
Exploring Operation: 78-43=35, Resulting Numbers: [6, 92, 35]
Generated Node #0,4: 51:[6, 92, 35] Operation: 78-43=35
Moving to Node #0,2
Current State: 51:[43, 6, 14], Operations: ['92-78=14']
Exploring Operation: 6+14=20, Resulting Numbers: [43, 20]
Generated Node #0,2,0: 51:[43, 20] Operation: 6+14=20
Exploring Operation: 43-14=29, Resulting Numbers: [6, 29]
Generated Node #0,2,1: 51:[6, 29] Operation: 43-14=29
Exploring Operation: 43+6=49, Resulting Numbers: [14, 49]
Generated Node #0,2,2: 51:[14, 49] Operation: 43+6=49
Exploring Operation: 14-6=8, Resulting Numbers: [43, 8]
Generated Node #0,2,3: 51:[43, 8] Operation: 14-6=8
Exploring Operation: 43+14=57, Resulting Numbers: [6, 57]
Generated Node #0,2,4: 51:[6, 57] Operation: 43+14=57
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[14, 49], Operations: ['92-78=14', '43+6=49']
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,51 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 51:[6, 57], Operations: ['92-78=14', '43+14=57']
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,51 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[43, 6, 92, 78], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [43, 6, 14]
Generated Node #0,2: 51:[43, 6, 14] Operation: 92-78=14
Moving to Node #0,2
Current State: 51:[43, 6, 14], Operations: ['92-78=14']
Exploring Operation: 43+14=57, Resulting Numbers: [6, 57]
Generated Node #0,2,4: 51:[6, 57] Operation: 43+14=57
Moving to Node #0,2,4
Current State: 51:[6, 57], Operations: ['92-78=14', '43+14=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
10,
43,
88,
15
] | 19 | [
"10*15=150",
"43+88=131",
"150-131=19"
] | Current State: 19:[10, 43, 88, 15], Operations: []
Exploring Operation: 10*15=150, Resulting Numbers: [43, 88, 150]
Generated Node #2: [43, 88, 150] from Operation: 10*15=150
Current State: 19:[43, 88, 150], Operations: ['10*15=150']
Exploring Operation: 43+88=131, Resulting Numbers: [150, 131]
Generated Node #3: [150, 131] from Operation: 43+88=131
Current State: 19:[150, 131], Operations: ['10*15=150', '43+88=131']
Exploring Operation: 150-131=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[10, 43, 88, 15], Operations: []
Exploring Operation: 88-10=78, Resulting Numbers: [43, 15, 78]
Generated Node #0,0: 19:[43, 15, 78] Operation: 88-10=78
Exploring Operation: 88-43=45, Resulting Numbers: [10, 15, 45]
Generated Node #0,1: 19:[10, 15, 45] Operation: 88-43=45
Exploring Operation: 43-15=28, Resulting Numbers: [10, 88, 28]
Generated Node #0,2: 19:[10, 88, 28] Operation: 43-15=28
Exploring Operation: 43-10=33, Resulting Numbers: [88, 15, 33]
Generated Node #0,3: 19:[88, 15, 33] Operation: 43-10=33
Exploring Operation: 88-15=73, Resulting Numbers: [10, 43, 73]
Generated Node #0,4: 19:[10, 43, 73] Operation: 88-15=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[10, 15, 45], Operations: ['88-43=45']
Exploring Operation: 45-10=35, Resulting Numbers: [15, 35]
Generated Node #0,1,0: 19:[15, 35] Operation: 45-10=35
Exploring Operation: 45/15=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 19:[10, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [10, 30]
Generated Node #0,1,2: 19:[10, 30] Operation: 45-15=30
Exploring Operation: 15-10=5, Resulting Numbers: [45, 5]
Generated Node #0,1,3: 19:[45, 5] Operation: 15-10=5
Exploring Operation: 10+15=25, Resulting Numbers: [45, 25]
Generated Node #0,1,4: 19:[45, 25] Operation: 10+15=25
Moving to Node #0,1,0
Current State: 19:[15, 35], Operations: ['88-43=45', '45-10=35']
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,19 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[10, 30], Operations: ['88-43=45', '45-15=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[10, 3], Operations: ['88-43=45', '45/15=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[45, 25], Operations: ['88-43=45', '10+15=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,19 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[45, 5], Operations: ['88-43=45', '15-10=5']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,19 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[43, 15, 78], Operations: ['88-10=78']
Exploring Operation: 78-15=63, Resulting Numbers: [43, 63]
Generated Node #0,0,0: 19:[43, 63] Operation: 78-15=63
Exploring Operation: 43+15=58, Resulting Numbers: [78, 58]
Generated Node #0,0,1: 19:[78, 58] Operation: 43+15=58
Exploring Operation: 15+78=93, Resulting Numbers: [43, 93]
Generated Node #0,0,2: 19:[43, 93] Operation: 15+78=93
Exploring Operation: 43-15=28, Resulting Numbers: [78, 28]
Generated Node #0,0,3: 19:[78, 28] Operation: 43-15=28
Exploring Operation: 78-43=35, Resulting Numbers: [15, 35]
Generated Node #0,0,4: 19:[15, 35] Operation: 78-43=35
Moving to Node #0,0,4
Current State: 19:[15, 35], Operations: ['88-10=78', '78-43=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[78, 28], Operations: ['88-10=78', '43-15=28']
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,19 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[43, 63], Operations: ['88-10=78', '78-15=63']
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,19 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[78, 58], Operations: ['88-10=78', '43+15=58']
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,19 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,19 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[43, 93], Operations: ['88-10=78', '15+78=93']
Exploring Operation: 43+93=136, Resulting Numbers: [136]
136,19 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 43*93=3999, Resulting Numbers: [3999]
3999,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
Current State: 19:[10, 88, 28], Operations: ['43-15=28']
Exploring Operation: 10+88=98, Resulting Numbers: [28, 98]
Generated Node #0,2,0: 19:[28, 98] Operation: 10+88=98
Exploring Operation: 10+28=38, Resulting Numbers: [88, 38]
Generated Node #0,2,1: 19:[88, 38] Operation: 10+28=38
Exploring Operation: 88-10=78, Resulting Numbers: [28, 78]
Generated Node #0,2,2: 19:[28, 78] Operation: 88-10=78
Exploring Operation: 88-28=60, Resulting Numbers: [10, 60]
Generated Node #0,2,3: 19:[10, 60] Operation: 88-28=60
Exploring Operation: 28-10=18, Resulting Numbers: [88, 18]
Generated Node #0,2,4: 19:[88, 18] Operation: 28-10=18
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 19:[10, 60], Operations: ['43-15=28', '88-28=60']
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,19 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,19 unequal: No Solution
No 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: 19:[28, 78], Operations: ['43-15=28', '88-10=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,19 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,19 unequal: No Solution
No 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: 19:[88, 18], Operations: ['43-15=28', '28-10=18']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,19 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,19 unequal: No Solution
No 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: 19:[28, 98], Operations: ['43-15=28', '10+88=98']
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,19 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,19 unequal: No Solution
No 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: 19:[88, 38], Operations: ['43-15=28', '10+28=38']
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,19 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,19 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,19 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: 19:[88, 15, 33], Operations: ['43-10=33']
Exploring Operation: 88+15=103, Resulting Numbers: [33, 103]
Generated Node #0,3,0: 19:[33, 103] Operation: 88+15=103
Exploring Operation: 88-15=73, Resulting Numbers: [33, 73]
Generated Node #0,3,1: 19:[33, 73] Operation: 88-15=73
Exploring Operation: 88-33=55, Resulting Numbers: [15, 55]
Generated Node #0,3,2: 19:[15, 55] Operation: 88-33=55
Exploring Operation: 33-15=18, Resulting Numbers: [88, 18]
Generated Node #0,3,3: 19:[88, 18] Operation: 33-15=18
Exploring Operation: 15+33=48, Resulting Numbers: [88, 48]
Generated Node #0,3,4: 19:[88, 48] Operation: 15+33=48
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[15, 55], Operations: ['43-10=33', '88-33=55']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,19 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,19 unequal: No Solution
No 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: 19:[33, 73], Operations: ['43-10=33', '88-15=73']
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,19 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,19 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No 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: 19:[88, 18], Operations: ['43-10=33', '33-15=18']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,19 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,19 unequal: No Solution
No 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: 19:[33, 103], Operations: ['43-10=33', '88+15=103']
Exploring Operation: 33+103=136, Resulting Numbers: [136]
136,19 unequal: No Solution
Exploring Operation: 33*103=3399, Resulting Numbers: [3399]
3399,19 unequal: No Solution
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,19 unequal: No Solution
No 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: 19:[88, 48], Operations: ['43-10=33', '15+33=48']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 88*48=4224, Resulting Numbers: [4224]
4224,19 unequal: No Solution
Exploring Operation: 88+48=136, Resulting Numbers: [136]
136,19 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: 19:[10, 43, 73], Operations: ['88-15=73']
Exploring Operation: 73-10=63, Resulting Numbers: [43, 63]
Generated Node #0,4,0: 19:[43, 63] Operation: 73-10=63
Exploring Operation: 43-10=33, Resulting Numbers: [73, 33]
Generated Node #0,4,1: 19:[73, 33] Operation: 43-10=33
Exploring Operation: 10+73=83, Resulting Numbers: [43, 83]
Generated Node #0,4,2: 19:[43, 83] Operation: 10+73=83
Exploring Operation: 73-43=30, Resulting Numbers: [10, 30]
Generated Node #0,4,3: 19:[10, 30] Operation: 73-43=30
Exploring Operation: 10+43=53, Resulting Numbers: [73, 53]
Generated Node #0,4,4: 19:[73, 53] Operation: 10+43=53
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 19:[10, 30], Operations: ['88-15=73', '73-43=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,19 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No 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: 19:[43, 63], Operations: ['88-15=73', '73-10=63']
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,19 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,19 unequal: No Solution
No 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: 19:[73, 33], Operations: ['88-15=73', '43-10=33']
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,19 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,19 unequal: No Solution
No 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: 19:[43, 83], Operations: ['88-15=73', '10+73=83']
Exploring Operation: 43+83=126, Resulting Numbers: [126]
126,19 unequal: No Solution
Exploring Operation: 43*83=3569, Resulting Numbers: [3569]
3569,19 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 19:[73, 53], Operations: ['88-15=73', '10+43=53']
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,19 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
44,
70,
9
] | 64 | [
"82-70=12",
"9*12=108",
"108-44=64"
] | Current State: 64:[82, 44, 70, 9], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [44, 9, 12]
Generated Node #2: [44, 9, 12] from Operation: 82-70=12
Current State: 64:[44, 9, 12], Operations: ['82-70=12']
Exploring Operation: 9*12=108, Resulting Numbers: [44, 108]
Generated Node #3: [44, 108] from Operation: 9*12=108
Current State: 64:[44, 108], Operations: ['82-70=12', '9*12=108']
Exploring Operation: 108-44=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[82, 44, 70, 9], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [82, 9, 26]
Generated Node #0,0: 64:[82, 9, 26] Operation: 70-44=26
Exploring Operation: 82-9=73, Resulting Numbers: [44, 70, 73]
Generated Node #0,1: 64:[44, 70, 73] Operation: 82-9=73
Exploring Operation: 82-70=12, Resulting Numbers: [44, 9, 12]
Generated Node #0,2: 64:[44, 9, 12] Operation: 82-70=12
Exploring Operation: 82-44=38, Resulting Numbers: [70, 9, 38]
Generated Node #0,3: 64:[70, 9, 38] Operation: 82-44=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[70, 9, 38], Operations: ['82-44=38']
Exploring Operation: 38-9=29, Resulting Numbers: [70, 29]
Generated Node #0,3,0: 64:[70, 29] Operation: 38-9=29
Exploring Operation: 70+9=79, Resulting Numbers: [38, 79]
Generated Node #0,3,1: 64:[38, 79] Operation: 70+9=79
Exploring Operation: 70-38=32, Resulting Numbers: [9, 32]
Generated Node #0,3,2: 64:[9, 32] Operation: 70-38=32
Exploring Operation: 70-9=61, Resulting Numbers: [38, 61]
Generated Node #0,3,3: 64:[38, 61] Operation: 70-9=61
Moving to Node #0,3,2
Current State: 64:[9, 32], Operations: ['82-44=38', '70-38=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,64 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[38, 61], Operations: ['82-44=38', '70-9=61']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 38*61=2318, Resulting Numbers: [2318]
2318,64 unequal: No Solution
Exploring Operation: 38+61=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[70, 29], Operations: ['82-44=38', '38-9=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,64 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[38, 79], Operations: ['82-44=38', '70+9=79']
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,64 unequal: No Solution
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[44, 9, 12], Operations: ['82-70=12']
Exploring Operation: 44-12=32, Resulting Numbers: [9, 32]
Generated Node #0,2,0: 64:[9, 32] Operation: 44-12=32
Exploring Operation: 12-9=3, Resulting Numbers: [44, 3]
Generated Node #0,2,1: 64:[44, 3] Operation: 12-9=3
Exploring Operation: 44+12=56, Resulting Numbers: [9, 56]
Generated Node #0,2,2: 64:[9, 56] Operation: 44+12=56
Exploring Operation: 44-9=35, Resulting Numbers: [12, 35]
Generated Node #0,2,3: 64:[12, 35] Operation: 44-9=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[9, 32], Operations: ['82-70=12', '44-12=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,64 unequal: No Solution
No 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: 64:[12, 35], Operations: ['82-70=12', '44-9=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,64 unequal: No Solution
No 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: 64:[9, 56], Operations: ['82-70=12', '44+12=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,64 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,64 unequal: No Solution
No 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: 64:[44, 3], Operations: ['82-70=12', '12-9=3']
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,64 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,64 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: 64:[82, 9, 26], Operations: ['70-44=26']
Exploring Operation: 26-9=17, Resulting Numbers: [82, 17]
Generated Node #0,0,0: 64:[82, 17] Operation: 26-9=17
Exploring Operation: 82-9=73, Resulting Numbers: [26, 73]
Generated Node #0,0,1: 64:[26, 73] Operation: 82-9=73
Exploring Operation: 82-26=56, Resulting Numbers: [9, 56]
Generated Node #0,0,2: 64:[9, 56] Operation: 82-26=56
Exploring Operation: 9+26=35, Resulting Numbers: [82, 35]
Generated Node #0,0,3: 64:[82, 35] Operation: 9+26=35
Moving to Node #0,0,2
Current State: 64:[9, 56], Operations: ['70-44=26', '82-26=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[26, 73], Operations: ['70-44=26', '82-9=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 26+73=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[82, 17], Operations: ['70-44=26', '26-9=17']
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 82*17=1394, Resulting Numbers: [1394]
1394,64 unequal: No Solution
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[82, 35], Operations: ['70-44=26', '9+26=35']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[44, 70, 73], Operations: ['82-9=73']
Exploring Operation: 73-70=3, Resulting Numbers: [44, 3]
Generated Node #0,1,0: 64:[44, 3] Operation: 73-70=3
Exploring Operation: 70-44=26, Resulting Numbers: [73, 26]
Generated Node #0,1,1: 64:[73, 26] Operation: 70-44=26
Exploring Operation: 44+70=114, Resulting Numbers: [73, 114]
Generated Node #0,1,2: 64:[73, 114] Operation: 44+70=114
Exploring Operation: 73-44=29, Resulting Numbers: [70, 29]
Generated Node #0,1,3: 64:[70, 29] Operation: 73-44=29
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 64:[70, 29], Operations: ['82-9=73', '73-44=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,64 unequal: No Solution
No 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: 64:[44, 3], Operations: ['82-9=73', '73-70=3']
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,64 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No 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: 64:[73, 26], Operations: ['82-9=73', '70-44=26']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,64 unequal: No Solution
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,64 unequal: No Solution
No 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: 64:[73, 114], Operations: ['82-9=73', '44+70=114']
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 73*114=8322, Resulting Numbers: [8322]
8322,64 unequal: No Solution
Exploring Operation: 73+114=187, Resulting Numbers: [187]
187,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
31,
13,
55,
94
] | 93 | [
"94-55=39",
"31*39=1209",
"1209/13=93"
] | Current State: 93:[31, 13, 55, 94], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [31, 13, 39]
Generated Node #2: [31, 13, 39] from Operation: 94-55=39
Current State: 93:[31, 13, 39], Operations: ['94-55=39']
Exploring Operation: 31*39=1209, Resulting Numbers: [13, 1209]
Generated Node #3: [13, 1209] from Operation: 31*39=1209
Current State: 93:[13, 1209], Operations: ['94-55=39', '31*39=1209']
Exploring Operation: 1209/13=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[31, 13, 55, 94], Operations: []
Exploring Operation: 55-13=42, Resulting Numbers: [31, 94, 42]
Generated Node #0,0: 93:[31, 94, 42] Operation: 55-13=42
Exploring Operation: 55-31=24, Resulting Numbers: [13, 94, 24]
Generated Node #0,1: 93:[13, 94, 24] Operation: 55-31=24
Exploring Operation: 31+55=86, Resulting Numbers: [13, 94, 86]
Generated Node #0,2: 93:[13, 94, 86] Operation: 31+55=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[31, 94, 42], Operations: ['55-13=42']
Exploring Operation: 94-42=52, Resulting Numbers: [31, 52]
Generated Node #0,0,0: 93:[31, 52] Operation: 94-42=52
Exploring Operation: 42-31=11, Resulting Numbers: [94, 11]
Generated Node #0,0,1: 93:[94, 11] Operation: 42-31=11
Exploring Operation: 31+42=73, Resulting Numbers: [94, 73]
Generated Node #0,0,2: 93:[94, 73] Operation: 31+42=73
Moving to Node #0,0,1
Current State: 93:[94, 11], Operations: ['55-13=42', '42-31=11']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,93 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[31, 52], Operations: ['55-13=42', '94-42=52']
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 31*52=1612, Resulting Numbers: [1612]
1612,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[94, 73], Operations: ['55-13=42', '31+42=73']
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 94*73=6862, Resulting Numbers: [6862]
6862,93 unequal: No Solution
Exploring Operation: 94+73=167, Resulting Numbers: [167]
167,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,1
Current State: 93:[13, 94, 24], Operations: ['55-31=24']
Exploring Operation: 13+24=37, Resulting Numbers: [94, 37]
Generated Node #0,1,0: 93:[94, 37] Operation: 13+24=37
Exploring Operation: 24-13=11, Resulting Numbers: [94, 11]
Generated Node #0,1,1: 93:[94, 11] Operation: 24-13=11
Exploring Operation: 94-13=81, Resulting Numbers: [24, 81]
Generated Node #0,1,2: 93:[24, 81] Operation: 94-13=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[94, 37], Operations: ['55-31=24', '13+24=37']
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,93 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,93 unequal: No Solution
No 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: 93:[94, 11], Operations: ['55-31=24', '24-13=11']
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,93 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,93 unequal: No Solution
No 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: 93:[24, 81], Operations: ['55-31=24', '94-13=81']
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,93 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,93 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: 93:[13, 94, 86], Operations: ['31+55=86']
Exploring Operation: 13+86=99, Resulting Numbers: [94, 99]
Generated Node #0,2,0: 93:[94, 99] Operation: 13+86=99
Exploring Operation: 94-13=81, Resulting Numbers: [86, 81]
Generated Node #0,2,1: 93:[86, 81] Operation: 94-13=81
Exploring Operation: 94-86=8, Resulting Numbers: [13, 8]
Generated Node #0,2,2: 93:[13, 8] Operation: 94-86=8
Moving to Node #0,2,0
Current State: 93:[94, 99], Operations: ['31+55=86', '13+86=99']
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,93 unequal: No Solution
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[13, 8], Operations: ['31+55=86', '94-86=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[86, 81], Operations: ['31+55=86', '94-13=81']
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 86+81=167, Resulting Numbers: [167]
167,93 unequal: No Solution
Exploring Operation: 86*81=6966, Resulting Numbers: [6966]
6966,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
43,
74,
58
] | 78 | [
"11+43=54",
"74+58=132",
"132-54=78"
] | Current State: 78:[11, 43, 74, 58], Operations: []
Exploring Operation: 11+43=54, Resulting Numbers: [74, 58, 54]
Generated Node #2: [74, 58, 54] from Operation: 11+43=54
Current State: 78:[74, 58, 54], Operations: ['11+43=54']
Exploring Operation: 74+58=132, Resulting Numbers: [54, 132]
Generated Node #3: [54, 132] from Operation: 74+58=132
Current State: 78:[54, 132], Operations: ['11+43=54', '74+58=132']
Exploring Operation: 132-54=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[11, 43, 74, 58], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [11, 43, 16]
Generated Node #0,0: 78:[11, 43, 16] Operation: 74-58=16
Exploring Operation: 58-43=15, Resulting Numbers: [11, 74, 15]
Generated Node #0,1: 78:[11, 74, 15] Operation: 58-43=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[11, 74, 15], Operations: ['58-43=15']
Exploring Operation: 11+15=26, Resulting Numbers: [74, 26]
Generated Node #0,1,0: 78:[74, 26] Operation: 11+15=26
Exploring Operation: 15-11=4, Resulting Numbers: [74, 4]
Generated Node #0,1,1: 78:[74, 4] Operation: 15-11=4
Moving to Node #0,1,0
Current State: 78:[74, 26], Operations: ['58-43=15', '11+15=26']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[74, 4], Operations: ['58-43=15', '15-11=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[11, 43, 74, 58], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [11, 74, 15]
Generated Node #0,1: 78:[11, 74, 15] Operation: 58-43=15
Moving to Node #0,1
Current State: 78:[11, 74, 15], Operations: ['58-43=15']
Exploring Operation: 15-11=4, Resulting Numbers: [74, 4]
Generated Node #0,1,1: 78:[74, 4] Operation: 15-11=4
Moving to Node #0,1,1
Current State: 78:[74, 4], Operations: ['58-43=15', '15-11=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
75,
7,
13,
71
] | 19 | [
"75-13=62",
"71+62=133",
"133/7=19"
] | Current State: 19:[75, 7, 13, 71], Operations: []
Exploring Operation: 75-13=62, Resulting Numbers: [7, 71, 62]
Generated Node #2: [7, 71, 62] from Operation: 75-13=62
Current State: 19:[7, 71, 62], Operations: ['75-13=62']
Exploring Operation: 71+62=133, Resulting Numbers: [7, 133]
Generated Node #3: [7, 133] from Operation: 71+62=133
Current State: 19:[7, 133], Operations: ['75-13=62', '71+62=133']
Exploring Operation: 133/7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[75, 7, 13, 71], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [7, 13, 4]
Generated Node #0,0: 19:[7, 13, 4] Operation: 75-71=4
Exploring Operation: 75-7=68, Resulting Numbers: [13, 71, 68]
Generated Node #0,1: 19:[13, 71, 68] Operation: 75-7=68
Moving to Node #0,0
Current State: 19:[7, 13, 4], Operations: ['75-71=4']
Exploring Operation: 7+4=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 19:[13, 11] Operation: 7+4=11
Exploring Operation: 13+4=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 19:[7, 17] Operation: 13+4=17
Moving to Node #0,1
Current State: 19:[13, 71, 68], Operations: ['75-7=68']
Exploring Operation: 71-68=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 19:[13, 3] Operation: 71-68=3
Exploring Operation: 71-13=58, Resulting Numbers: [68, 58]
Generated Node #0,1,1: 19:[68, 58] Operation: 71-13=58
Moving to Node #0,0,0
Current State: 19:[13, 11], Operations: ['75-71=4', '7+4=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[7, 17], Operations: ['75-71=4', '13+4=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[13, 3], Operations: ['75-7=68', '71-68=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[68, 58], Operations: ['75-7=68', '71-13=58']
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
19,
40,
10
] | 45 | [
"40/10=4",
"19-4=15",
"3*15=45"
] | Current State: 45:[3, 19, 40, 10], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [3, 19, 4]
Generated Node #2: [3, 19, 4] from Operation: 40/10=4
Current State: 45:[3, 19, 4], Operations: ['40/10=4']
Exploring Operation: 19-4=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 19-4=15
Current State: 45:[3, 15], Operations: ['40/10=4', '19-4=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[3, 19, 40, 10], Operations: []
Exploring Operation: 3+40=43, Resulting Numbers: [19, 10, 43]
Generated Node #0,0: 45:[19, 10, 43] Operation: 3+40=43
Exploring Operation: 19-10=9, Resulting Numbers: [3, 40, 9]
Generated Node #0,1: 45:[3, 40, 9] Operation: 19-10=9
Exploring Operation: 19-3=16, Resulting Numbers: [40, 10, 16]
Generated Node #0,2: 45:[40, 10, 16] Operation: 19-3=16
Exploring Operation: 40/10=4, Resulting Numbers: [3, 19, 4]
Generated Node #0,3: 45:[3, 19, 4] Operation: 40/10=4
Moving to Node #0,1
Current State: 45:[3, 40, 9], Operations: ['19-10=9']
Exploring Operation: 3+40=43, Resulting Numbers: [9, 43]
Generated Node #0,1,0: 45:[9, 43] Operation: 3+40=43
Exploring Operation: 9-3=6, Resulting Numbers: [40, 6]
Generated Node #0,1,1: 45:[40, 6] Operation: 9-3=6
Exploring Operation: 40+9=49, Resulting Numbers: [3, 49]
Generated Node #0,1,2: 45:[3, 49] Operation: 40+9=49
Exploring Operation: 9/3=3, Resulting Numbers: [40, 3]
Generated Node #0,1,3: 45:[40, 3] Operation: 9/3=3
Moving to Node #0,3
Current State: 45:[3, 19, 4], Operations: ['40/10=4']
Exploring Operation: 4-3=1, Resulting Numbers: [19, 1]
Generated Node #0,3,0: 45:[19, 1] Operation: 4-3=1
Exploring Operation: 3+4=7, Resulting Numbers: [19, 7]
Generated Node #0,3,1: 45:[19, 7] Operation: 3+4=7
Exploring Operation: 19-4=15, Resulting Numbers: [3, 15]
Generated Node #0,3,2: 45:[3, 15] Operation: 19-4=15
Exploring Operation: 19-3=16, Resulting Numbers: [4, 16]
Generated Node #0,3,3: 45:[4, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[3, 15], Operations: ['40/10=4', '19-4=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[3, 19, 40, 10], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [3, 19, 4]
Generated Node #0,3: 45:[3, 19, 4] Operation: 40/10=4
Moving to Node #0,3
Current State: 45:[3, 19, 4], Operations: ['40/10=4']
Exploring Operation: 19-4=15, Resulting Numbers: [3, 15]
Generated Node #0,3,2: 45:[3, 15] Operation: 19-4=15
Moving to Node #0,3,2
Current State: 45:[3, 15], Operations: ['40/10=4', '19-4=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
91,
74,
42,
37
] | 33 | [
"91+74=165",
"42-37=5",
"165/5=33"
] | Current State: 33:[91, 74, 42, 37], Operations: []
Exploring Operation: 91+74=165, Resulting Numbers: [42, 37, 165]
Generated Node #2: [42, 37, 165] from Operation: 91+74=165
Current State: 33:[42, 37, 165], Operations: ['91+74=165']
Exploring Operation: 42-37=5, Resulting Numbers: [165, 5]
Generated Node #3: [165, 5] from Operation: 42-37=5
Current State: 33:[165, 5], Operations: ['91+74=165', '42-37=5']
Exploring Operation: 165/5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[91, 74, 42, 37], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [91, 37, 32]
Generated Node #0,0: 33:[91, 37, 32] Operation: 74-42=32
Exploring Operation: 91-74=17, Resulting Numbers: [42, 37, 17]
Generated Node #0,1: 33:[42, 37, 17] Operation: 91-74=17
Exploring Operation: 91-42=49, Resulting Numbers: [74, 37, 49]
Generated Node #0,2: 33:[74, 37, 49] Operation: 91-42=49
Moving to Node #0,1
Current State: 33:[42, 37, 17], Operations: ['91-74=17']
Exploring Operation: 42-37=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 33:[17, 5] Operation: 42-37=5
Exploring Operation: 42-17=25, Resulting Numbers: [37, 25]
Generated Node #0,1,1: 33:[37, 25] Operation: 42-17=25
Exploring Operation: 37-17=20, Resulting Numbers: [42, 20]
Generated Node #0,1,2: 33:[42, 20] Operation: 37-17=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[17, 5], Operations: ['91-74=17', '42-37=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No 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: 33:[37, 25], Operations: ['91-74=17', '42-17=25']
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,33 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No 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: 33:[42, 20], Operations: ['91-74=17', '37-17=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,33 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: 33:[74, 37, 49], Operations: ['91-42=49']
Exploring Operation: 74-49=25, Resulting Numbers: [37, 25]
Generated Node #0,2,0: 33:[37, 25] Operation: 74-49=25
Exploring Operation: 74-37=37, Resulting Numbers: [49, 37]
Generated Node #0,2,1: 33:[49, 37] Operation: 74-37=37
Exploring Operation: 74/37=2, Resulting Numbers: [49, 2]
Generated Node #0,2,2: 33:[49, 2] Operation: 74/37=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[37, 25], Operations: ['91-42=49', '74-49=25']
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,33 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No 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: 33:[49, 2], Operations: ['91-42=49', '74/37=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,33 unequal: No Solution
No 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: 33:[49, 37], Operations: ['91-42=49', '74-37=37']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,33 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,33 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: 33:[91, 37, 32], Operations: ['74-42=32']
Exploring Operation: 37-32=5, Resulting Numbers: [91, 5]
Generated Node #0,0,0: 33:[91, 5] Operation: 37-32=5
Exploring Operation: 91-32=59, Resulting Numbers: [37, 59]
Generated Node #0,0,1: 33:[37, 59] Operation: 91-32=59
Exploring Operation: 91-37=54, Resulting Numbers: [32, 54]
Generated Node #0,0,2: 33:[32, 54] Operation: 91-37=54
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[32, 54], Operations: ['74-42=32', '91-37=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,33 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No 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: 33:[37, 59], Operations: ['74-42=32', '91-32=59']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 37*59=2183, Resulting Numbers: [2183]
2183,33 unequal: No Solution
No 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: 33:[91, 5], Operations: ['74-42=32', '37-32=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,33 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
95,
19,
87,
43
] | 54 | [
"95-19=76",
"87+43=130",
"130-76=54"
] | Current State: 54:[95, 19, 87, 43], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [87, 43, 76]
Generated Node #2: [87, 43, 76] from Operation: 95-19=76
Current State: 54:[87, 43, 76], Operations: ['95-19=76']
Exploring Operation: 87+43=130, Resulting Numbers: [76, 130]
Generated Node #3: [76, 130] from Operation: 87+43=130
Current State: 54:[76, 130], Operations: ['95-19=76', '87+43=130']
Exploring Operation: 130-76=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[95, 19, 87, 43], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [19, 43, 8]
Generated Node #0,0: 54:[19, 43, 8] Operation: 95-87=8
Exploring Operation: 87-43=44, Resulting Numbers: [95, 19, 44]
Generated Node #0,1: 54:[95, 19, 44] Operation: 87-43=44
Exploring Operation: 95/19=5, Resulting Numbers: [87, 43, 5]
Generated Node #0,2: 54:[87, 43, 5] Operation: 95/19=5
Exploring Operation: 95-43=52, Resulting Numbers: [19, 87, 52]
Generated Node #0,3: 54:[19, 87, 52] Operation: 95-43=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[19, 43, 8], Operations: ['95-87=8']
Exploring Operation: 43-8=35, Resulting Numbers: [19, 35]
Generated Node #0,0,0: 54:[19, 35] Operation: 43-8=35
Exploring Operation: 43-19=24, Resulting Numbers: [8, 24]
Generated Node #0,0,1: 54:[8, 24] Operation: 43-19=24
Exploring Operation: 43+8=51, Resulting Numbers: [19, 51]
Generated Node #0,0,2: 54:[19, 51] Operation: 43+8=51
Exploring Operation: 19+43=62, Resulting Numbers: [8, 62]
Generated Node #0,0,3: 54:[8, 62] Operation: 19+43=62
Moving to Node #0,0,1
Current State: 54:[8, 24], Operations: ['95-87=8', '43-19=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[19, 51], Operations: ['95-87=8', '43+8=51']
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[8, 62], Operations: ['95-87=8', '19+43=62']
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,54 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[95, 19, 87, 43], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [19, 43, 8]
Generated Node #0,0: 54:[19, 43, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 54:[19, 43, 8], Operations: ['95-87=8']
Exploring Operation: 19+43=62, Resulting Numbers: [8, 62]
Generated Node #0,0,3: 54:[8, 62] Operation: 19+43=62
Moving to Node #0,0,3
Current State: 54:[8, 62], Operations: ['95-87=8', '19+43=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
6,
83,
43,
38
] | 17 | [
"83+43=126",
"126/6=21",
"38-21=17"
] | Current State: 17:[6, 83, 43, 38], Operations: []
Exploring Operation: 83+43=126, Resulting Numbers: [6, 38, 126]
Generated Node #2: [6, 38, 126] from Operation: 83+43=126
Current State: 17:[6, 38, 126], Operations: ['83+43=126']
Exploring Operation: 126/6=21, Resulting Numbers: [38, 21]
Generated Node #3: [38, 21] from Operation: 126/6=21
Current State: 17:[38, 21], Operations: ['83+43=126', '126/6=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[6, 83, 43, 38], Operations: []
Exploring Operation: 83-43=40, Resulting Numbers: [6, 38, 40]
Generated Node #0,0: 17:[6, 38, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[6, 38, 40], Operations: ['83-43=40']
Exploring Operation: 40-38=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 17:[6, 2] Operation: 40-38=2
Moving to Node #0,0,0
Current State: 17:[6, 2], Operations: ['83-43=40', '40-38=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,17 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 |
[
30,
2,
75,
64
] | 43 | [
"30+2=32",
"75-64=11",
"32+11=43"
] | Current State: 43:[30, 2, 75, 64], Operations: []
Exploring Operation: 30+2=32, Resulting Numbers: [75, 64, 32]
Generated Node #2: [75, 64, 32] from Operation: 30+2=32
Current State: 43:[75, 64, 32], Operations: ['30+2=32']
Exploring Operation: 75-64=11, Resulting Numbers: [32, 11]
Generated Node #3: [32, 11] from Operation: 75-64=11
Current State: 43:[32, 11], Operations: ['30+2=32', '75-64=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[30, 2, 75, 64], Operations: []
Exploring Operation: 30+2=32, Resulting Numbers: [75, 64, 32]
Generated Node #0,0: 43:[75, 64, 32] Operation: 30+2=32
Exploring Operation: 64/2=32, Resulting Numbers: [30, 75, 32]
Generated Node #0,1: 43:[30, 75, 32] Operation: 64/2=32
Moving to Node #0,1
Current State: 43:[30, 75, 32], Operations: ['64/2=32']
Exploring Operation: 75-32=43, Resulting Numbers: [30, 43]
Generated Node #0,1,0: 43:[30, 43] Operation: 75-32=43
Exploring Operation: 75-30=45, Resulting Numbers: [32, 45]
Generated Node #0,1,1: 43:[32, 45] Operation: 75-30=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[30, 43], Operations: ['64/2=32', '75-32=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[32, 45], Operations: ['64/2=32', '75-30=45']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,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:[75, 64, 32], Operations: ['30+2=32']
Exploring Operation: 75-32=43, Resulting Numbers: [64, 43]
Generated Node #0,0,0: 43:[64, 43] Operation: 75-32=43
Exploring Operation: 75-64=11, Resulting Numbers: [32, 11]
Generated Node #0,0,1: 43:[32, 11] Operation: 75-64=11
Moving to Node #0,0,0
Current State: 43:[64, 43], Operations: ['30+2=32', '75-32=43']
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[32, 11], Operations: ['30+2=32', '75-64=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[30, 2, 75, 64], Operations: []
Exploring Operation: 30+2=32, Resulting Numbers: [75, 64, 32]
Generated Node #0,0: 43:[75, 64, 32] Operation: 30+2=32
Moving to Node #0,0
Current State: 43:[75, 64, 32], Operations: ['30+2=32']
Exploring Operation: 75-64=11, Resulting Numbers: [32, 11]
Generated Node #0,0,1: 43:[32, 11] Operation: 75-64=11
Moving to Node #0,0,1
Current State: 43:[32, 11], Operations: ['30+2=32', '75-64=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
58,
35,
36,
21
] | 36 | [
"58+35=93",
"36+21=57",
"93-57=36"
] | Current State: 36:[58, 35, 36, 21], Operations: []
Exploring Operation: 58+35=93, Resulting Numbers: [36, 21, 93]
Generated Node #2: [36, 21, 93] from Operation: 58+35=93
Current State: 36:[36, 21, 93], Operations: ['58+35=93']
Exploring Operation: 36+21=57, Resulting Numbers: [93, 57]
Generated Node #3: [93, 57] from Operation: 36+21=57
Current State: 36:[93, 57], Operations: ['58+35=93', '36+21=57']
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[58, 35, 36, 21], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [35, 21, 22]
Generated Node #0,0: 36:[35, 21, 22] Operation: 58-36=22
Exploring Operation: 58-21=37, Resulting Numbers: [35, 36, 37]
Generated Node #0,1: 36:[35, 36, 37] Operation: 58-21=37
Exploring Operation: 58-35=23, Resulting Numbers: [36, 21, 23]
Generated Node #0,2: 36:[36, 21, 23] Operation: 58-35=23
Moving to Node #0,1
Current State: 36:[35, 36, 37], Operations: ['58-21=37']
Exploring Operation: 37-36=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 36:[35, 1] Operation: 37-36=1
Exploring Operation: 37-35=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 36:[36, 2] Operation: 37-35=2
Exploring Operation: 36-35=1, Resulting Numbers: [37, 1]
Generated Node #0,1,2: 36:[37, 1] Operation: 36-35=1
Moving to Node #0,0
Current State: 36:[35, 21, 22], Operations: ['58-36=22']
Exploring Operation: 35-22=13, Resulting Numbers: [21, 13]
Generated Node #0,0,0: 36:[21, 13] Operation: 35-22=13
Exploring Operation: 35-21=14, Resulting Numbers: [22, 14]
Generated Node #0,0,1: 36:[22, 14] Operation: 35-21=14
Exploring Operation: 22-21=1, Resulting Numbers: [35, 1]
Generated Node #0,0,2: 36:[35, 1] Operation: 22-21=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[35, 1], Operations: ['58-36=22', '22-21=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[58, 35, 36, 21], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [35, 21, 22]
Generated Node #0,0: 36:[35, 21, 22] Operation: 58-36=22
Moving to Node #0,0
Current State: 36:[35, 21, 22], Operations: ['58-36=22']
Exploring Operation: 22-21=1, Resulting Numbers: [35, 1]
Generated Node #0,0,2: 36:[35, 1] Operation: 22-21=1
Moving to Node #0,0,2
Current State: 36:[35, 1], Operations: ['58-36=22', '22-21=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
94,
38,
26,
44
] | 23 | [
"94+38=132",
"132/44=3",
"26-3=23"
] | Current State: 23:[94, 38, 26, 44], Operations: []
Exploring Operation: 94+38=132, Resulting Numbers: [26, 44, 132]
Generated Node #2: [26, 44, 132] from Operation: 94+38=132
Current State: 23:[26, 44, 132], Operations: ['94+38=132']
Exploring Operation: 132/44=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 132/44=3
Current State: 23:[26, 3], Operations: ['94+38=132', '132/44=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[94, 38, 26, 44], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [94, 26, 6]
Generated Node #0,0: 23:[94, 26, 6] Operation: 44-38=6
Exploring Operation: 94-44=50, Resulting Numbers: [38, 26, 50]
Generated Node #0,1: 23:[38, 26, 50] Operation: 94-44=50
Exploring Operation: 94-38=56, Resulting Numbers: [26, 44, 56]
Generated Node #0,2: 23:[26, 44, 56] Operation: 94-38=56
Exploring Operation: 44-26=18, Resulting Numbers: [94, 38, 18]
Generated Node #0,3: 23:[94, 38, 18] Operation: 44-26=18
Exploring Operation: 94-26=68, Resulting Numbers: [38, 44, 68]
Generated Node #0,4: 23:[38, 44, 68] Operation: 94-26=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[38, 26, 50], Operations: ['94-44=50']
Exploring Operation: 38-26=12, Resulting Numbers: [50, 12]
Generated Node #0,1,0: 23:[50, 12] Operation: 38-26=12
Exploring Operation: 50-26=24, Resulting Numbers: [38, 24]
Generated Node #0,1,1: 23:[38, 24] Operation: 50-26=24
Exploring Operation: 38+50=88, Resulting Numbers: [26, 88]
Generated Node #0,1,2: 23:[26, 88] Operation: 38+50=88
Exploring Operation: 50-38=12, Resulting Numbers: [26, 12]
Generated Node #0,1,3: 23:[26, 12] Operation: 50-38=12
Exploring Operation: 38+26=64, Resulting Numbers: [50, 64]
Generated Node #0,1,4: 23:[50, 64] Operation: 38+26=64
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 23:[26, 12], Operations: ['94-44=50', '50-38=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[38, 24], Operations: ['94-44=50', '50-26=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[50, 12], Operations: ['94-44=50', '38-26=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,23 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[26, 88], Operations: ['94-44=50', '38+50=88']
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,23 unequal: No Solution
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,23 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 23:[50, 64], Operations: ['94-44=50', '38+26=64']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,23 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[26, 44, 56], Operations: ['94-38=56']
Exploring Operation: 26+56=82, Resulting Numbers: [44, 82]
Generated Node #0,2,0: 23:[44, 82] Operation: 26+56=82
Exploring Operation: 44-26=18, Resulting Numbers: [56, 18]
Generated Node #0,2,1: 23:[56, 18] Operation: 44-26=18
Exploring Operation: 56-26=30, Resulting Numbers: [44, 30]
Generated Node #0,2,2: 23:[44, 30] Operation: 56-26=30
Exploring Operation: 26+44=70, Resulting Numbers: [56, 70]
Generated Node #0,2,3: 23:[56, 70] Operation: 26+44=70
Exploring Operation: 56-44=12, Resulting Numbers: [26, 12]
Generated Node #0,2,4: 23:[26, 12] Operation: 56-44=12
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 23:[26, 12], Operations: ['94-38=56', '56-44=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,23 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[44, 30], Operations: ['94-38=56', '56-26=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,23 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[56, 18], Operations: ['94-38=56', '44-26=18']
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,23 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[44, 82], Operations: ['94-38=56', '26+56=82']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 44+82=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 44*82=3608, Resulting Numbers: [3608]
3608,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[56, 70], Operations: ['94-38=56', '26+44=70']
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,23 unequal: No Solution
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[38, 44, 68], Operations: ['94-26=68']
Exploring Operation: 38+44=82, Resulting Numbers: [68, 82]
Generated Node #0,4,0: 23:[68, 82] Operation: 38+44=82
Exploring Operation: 38+68=106, Resulting Numbers: [44, 106]
Generated Node #0,4,1: 23:[44, 106] Operation: 38+68=106
Exploring Operation: 68-38=30, Resulting Numbers: [44, 30]
Generated Node #0,4,2: 23:[44, 30] Operation: 68-38=30
Exploring Operation: 44-38=6, Resulting Numbers: [68, 6]
Generated Node #0,4,3: 23:[68, 6] Operation: 44-38=6
Exploring Operation: 68-44=24, Resulting Numbers: [38, 24]
Generated Node #0,4,4: 23:[38, 24] Operation: 68-44=24
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 23:[38, 24], Operations: ['94-26=68', '68-44=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,23 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 23:[44, 30], Operations: ['94-26=68', '68-38=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,23 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 23:[68, 6], Operations: ['94-26=68', '44-38=6']
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,23 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 23:[68, 82], Operations: ['94-26=68', '38+44=82']
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,23 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 23:[44, 106], Operations: ['94-26=68', '38+68=106']
Exploring Operation: 106-44=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 44*106=4664, Resulting Numbers: [4664]
4664,23 unequal: No Solution
Exploring Operation: 44+106=150, Resulting Numbers: [150]
150,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[94, 26, 6], Operations: ['44-38=6']
Exploring Operation: 26+6=32, Resulting Numbers: [94, 32]
Generated Node #0,0,0: 23:[94, 32] Operation: 26+6=32
Exploring Operation: 94+6=100, Resulting Numbers: [26, 100]
Generated Node #0,0,1: 23:[26, 100] Operation: 94+6=100
Exploring Operation: 94-26=68, Resulting Numbers: [6, 68]
Generated Node #0,0,2: 23:[6, 68] Operation: 94-26=68
Exploring Operation: 94-6=88, Resulting Numbers: [26, 88]
Generated Node #0,0,3: 23:[26, 88] Operation: 94-6=88
Exploring Operation: 26-6=20, Resulting Numbers: [94, 20]
Generated Node #0,0,4: 23:[94, 20] Operation: 26-6=20
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[6, 68], Operations: ['44-38=6', '94-26=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,23 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[26, 88], Operations: ['44-38=6', '94-6=88']
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,23 unequal: No Solution
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 23:[94, 20], Operations: ['44-38=6', '26-6=20']
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,23 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[94, 32], Operations: ['44-38=6', '26+6=32']
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 94+32=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 94*32=3008, Resulting Numbers: [3008]
3008,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[26, 100], Operations: ['44-38=6', '94+6=100']
Exploring Operation: 26*100=2600, Resulting Numbers: [2600]
2600,23 unequal: No Solution
Exploring Operation: 26+100=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 100-26=74, Resulting Numbers: [74]
74,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[94, 38, 18], Operations: ['44-26=18']
Exploring Operation: 94+18=112, Resulting Numbers: [38, 112]
Generated Node #0,3,0: 23:[38, 112] Operation: 94+18=112
Exploring Operation: 94-38=56, Resulting Numbers: [18, 56]
Generated Node #0,3,1: 23:[18, 56] Operation: 94-38=56
Exploring Operation: 38-18=20, Resulting Numbers: [94, 20]
Generated Node #0,3,2: 23:[94, 20] Operation: 38-18=20
Exploring Operation: 38+18=56, Resulting Numbers: [94, 56]
Generated Node #0,3,3: 23:[94, 56] Operation: 38+18=56
Exploring Operation: 94-18=76, Resulting Numbers: [38, 76]
Generated Node #0,3,4: 23:[38, 76] Operation: 94-18=76
Moving to Node #0,3,1
Current State: 23:[18, 56], Operations: ['44-26=18', '94-38=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,23 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[38, 76], Operations: ['44-26=18', '94-18=76']
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,23 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[94, 20], Operations: ['44-26=18', '38-18=20']
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,23 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[38, 112], Operations: ['44-26=18', '94+18=112']
Exploring Operation: 38+112=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 38*112=4256, Resulting Numbers: [4256]
4256,23 unequal: No Solution
Exploring Operation: 112-38=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[94, 56], Operations: ['44-26=18', '38+18=56']
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 94+56=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 94*56=5264, Resulting Numbers: [5264]
5264,23 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 |
[
47,
42,
15,
24
] | 14 | [
"47-42=5",
"24-15=9",
"5+9=14"
] | Current State: 14:[47, 42, 15, 24], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [15, 24, 5]
Generated Node #2: [15, 24, 5] from Operation: 47-42=5
Current State: 14:[15, 24, 5], Operations: ['47-42=5']
Exploring Operation: 24-15=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 24-15=9
Current State: 14:[5, 9], Operations: ['47-42=5', '24-15=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[47, 42, 15, 24], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [15, 24, 5]
Generated Node #0,0: 14:[15, 24, 5] Operation: 47-42=5
Moving to Node #0,0
Current State: 14:[15, 24, 5], Operations: ['47-42=5']
Exploring Operation: 24-15=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 24-15=9
Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['47-42=5', '24-15=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[47, 42, 15, 24], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [15, 24, 5]
Generated Node #0,0: 14:[15, 24, 5] Operation: 47-42=5
Moving to Node #0,0
Current State: 14:[15, 24, 5], Operations: ['47-42=5']
Exploring Operation: 24-15=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 24-15=9
Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['47-42=5', '24-15=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
51,
24,
82,
76
] | 33 | [
"51-24=27",
"82-76=6",
"27+6=33"
] | Current State: 33:[51, 24, 82, 76], Operations: []
Exploring Operation: 51-24=27, Resulting Numbers: [82, 76, 27]
Generated Node #2: [82, 76, 27] from Operation: 51-24=27
Current State: 33:[82, 76, 27], Operations: ['51-24=27']
Exploring Operation: 82-76=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 82-76=6
Current State: 33:[27, 6], Operations: ['51-24=27', '82-76=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[51, 24, 82, 76], Operations: []
Exploring Operation: 76-24=52, Resulting Numbers: [51, 82, 52]
Generated Node #0,0: 33:[51, 82, 52] Operation: 76-24=52
Exploring Operation: 82-76=6, Resulting Numbers: [51, 24, 6]
Generated Node #0,1: 33:[51, 24, 6] Operation: 82-76=6
Exploring Operation: 82-51=31, Resulting Numbers: [24, 76, 31]
Generated Node #0,2: 33:[24, 76, 31] Operation: 82-51=31
Exploring Operation: 82-24=58, Resulting Numbers: [51, 76, 58]
Generated Node #0,3: 33:[51, 76, 58] Operation: 82-24=58
Exploring Operation: 76-51=25, Resulting Numbers: [24, 82, 25]
Generated Node #0,4: 33:[24, 82, 25] Operation: 76-51=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[51, 24, 6], Operations: ['82-76=6']
Exploring Operation: 51-6=45, Resulting Numbers: [24, 45]
Generated Node #0,1,0: 33:[24, 45] Operation: 51-6=45
Exploring Operation: 24/6=4, Resulting Numbers: [51, 4]
Generated Node #0,1,1: 33:[51, 4] Operation: 24/6=4
Exploring Operation: 24-6=18, Resulting Numbers: [51, 18]
Generated Node #0,1,2: 33:[51, 18] Operation: 24-6=18
Exploring Operation: 24+6=30, Resulting Numbers: [51, 30]
Generated Node #0,1,3: 33:[51, 30] Operation: 24+6=30
Exploring Operation: 51-24=27, Resulting Numbers: [6, 27]
Generated Node #0,1,4: 33:[6, 27] Operation: 51-24=27
Moving to Node #0,1,4
Current State: 33:[6, 27], Operations: ['82-76=6', '51-24=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,33 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[51, 24, 82, 76], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [51, 24, 6]
Generated Node #0,1: 33:[51, 24, 6] Operation: 82-76=6
Moving to Node #0,1
Current State: 33:[51, 24, 6], Operations: ['82-76=6']
Exploring Operation: 51-24=27, Resulting Numbers: [6, 27]
Generated Node #0,1,4: 33:[6, 27] Operation: 51-24=27
Moving to Node #0,1,4
Current State: 33:[6, 27], Operations: ['82-76=6', '51-24=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
44,
13,
58,
2
] | 93 | [
"44/2=22",
"13+58=71",
"22+71=93"
] | Current State: 93:[44, 13, 58, 2], Operations: []
Exploring Operation: 44/2=22, Resulting Numbers: [13, 58, 22]
Generated Node #2: [13, 58, 22] from Operation: 44/2=22
Current State: 93:[13, 58, 22], Operations: ['44/2=22']
Exploring Operation: 13+58=71, Resulting Numbers: [22, 71]
Generated Node #3: [22, 71] from Operation: 13+58=71
Current State: 93:[22, 71], Operations: ['44/2=22', '13+58=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[44, 13, 58, 2], Operations: []
Exploring Operation: 44+58=102, Resulting Numbers: [13, 2, 102]
Generated Node #0,0: 93:[13, 2, 102] Operation: 44+58=102
Exploring Operation: 58-44=14, Resulting Numbers: [13, 2, 14]
Generated Node #0,1: 93:[13, 2, 14] Operation: 58-44=14
Exploring Operation: 58/2=29, Resulting Numbers: [44, 13, 29]
Generated Node #0,2: 93:[44, 13, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[13, 2, 102], Operations: ['44+58=102']
Exploring Operation: 13*2=26, Resulting Numbers: [102, 26]
Generated Node #0,0,0: 93:[102, 26] Operation: 13*2=26
Exploring Operation: 102-13=89, Resulting Numbers: [2, 89]
Generated Node #0,0,1: 93:[2, 89] Operation: 102-13=89
Exploring Operation: 13-2=11, Resulting Numbers: [102, 11]
Generated Node #0,0,2: 93:[102, 11] Operation: 13-2=11
Moving to Node #0,0,1
Current State: 93:[2, 89], Operations: ['44+58=102', '102-13=89']
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,93 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[102, 26], Operations: ['44+58=102', '13*2=26']
Exploring Operation: 102+26=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 102-26=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 102*26=2652, Resulting Numbers: [2652]
2652,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[102, 11], Operations: ['44+58=102', '13-2=11']
Exploring Operation: 102*11=1122, Resulting Numbers: [1122]
1122,93 unequal: No Solution
Exploring Operation: 102-11=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 102+11=113, Resulting Numbers: [113]
113,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,1
Current State: 93:[13, 2, 14], Operations: ['58-44=14']
Exploring Operation: 2*14=28, Resulting Numbers: [13, 28]
Generated Node #0,1,0: 93:[13, 28] Operation: 2*14=28
Exploring Operation: 13+14=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 93:[2, 27] Operation: 13+14=27
Exploring Operation: 14-13=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 93:[2, 1] Operation: 14-13=1
Moving to Node #0,1,2
Current State: 93:[2, 1], Operations: ['58-44=14', '14-13=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[2, 27], Operations: ['58-44=14', '13+14=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[13, 28], Operations: ['58-44=14', '2*14=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,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
Current State: 93:[44, 13, 29], Operations: ['58/2=29']
Exploring Operation: 44-29=15, Resulting Numbers: [13, 15]
Generated Node #0,2,0: 93:[13, 15] Operation: 44-29=15
Exploring Operation: 44-13=31, Resulting Numbers: [29, 31]
Generated Node #0,2,1: 93:[29, 31] Operation: 44-13=31
Exploring Operation: 13+29=42, Resulting Numbers: [44, 42]
Generated Node #0,2,2: 93:[44, 42] Operation: 13+29=42
Moving to Node #0,2,1
Current State: 93:[29, 31], Operations: ['58/2=29', '44-13=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[13, 15], Operations: ['58/2=29', '44-29=15']
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,93 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[44, 42], Operations: ['58/2=29', '13+29=42']
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,93 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
24,
5,
54,
49
] | 95 | [
"24-5=19",
"54-49=5",
"19*5=95"
] | Current State: 95:[24, 5, 54, 49], Operations: []
Exploring Operation: 24-5=19, Resulting Numbers: [54, 49, 19]
Generated Node #2: [54, 49, 19] from Operation: 24-5=19
Current State: 95:[54, 49, 19], Operations: ['24-5=19']
Exploring Operation: 54-49=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 54-49=5
Current State: 95:[19, 5], Operations: ['24-5=19', '54-49=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[24, 5, 54, 49], Operations: []
Exploring Operation: 24+54=78, Resulting Numbers: [5, 49, 78]
Generated Node #0,0: 95:[5, 49, 78] Operation: 24+54=78
Exploring Operation: 54-24=30, Resulting Numbers: [5, 49, 30]
Generated Node #0,1: 95:[5, 49, 30] Operation: 54-24=30
Exploring Operation: 49-24=25, Resulting Numbers: [5, 54, 25]
Generated Node #0,2: 95:[5, 54, 25] Operation: 49-24=25
Exploring Operation: 54-49=5, Resulting Numbers: [24, 5, 5]
Generated Node #0,3: 95:[24, 5, 5] Operation: 54-49=5
Exploring Operation: 54+49=103, Resulting Numbers: [24, 5, 103]
Generated Node #0,4: 95:[24, 5, 103] Operation: 54+49=103
Moving to Node #0,3
Current State: 95:[24, 5, 5], Operations: ['54-49=5']
Exploring Operation: 24+5=29, Resulting Numbers: [5, 29]
Generated Node #0,3,0: 95:[5, 29] Operation: 24+5=29
Exploring Operation: 24+5=29, Resulting Numbers: [5, 29]
Generated Node #0,3,1: 95:[5, 29] Operation: 24+5=29
Exploring Operation: 24-5=19, Resulting Numbers: [5, 19]
Generated Node #0,3,2: 95:[5, 19] Operation: 24-5=19
Exploring Operation: 5/5=1, Resulting Numbers: [24, 1]
Generated Node #0,3,3: 95:[24, 1] Operation: 5/5=1
Exploring Operation: 24-5=19, Resulting Numbers: [5, 19]
Generated Node #0,3,4: 95:[5, 19] Operation: 24-5=19
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[5, 19], Operations: ['54-49=5', '24-5=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[24, 5, 54, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [24, 5, 5]
Generated Node #0,3: 95:[24, 5, 5] Operation: 54-49=5
Moving to Node #0,3
Current State: 95:[24, 5, 5], Operations: ['54-49=5']
Exploring Operation: 24-5=19, Resulting Numbers: [5, 19]
Generated Node #0,3,2: 95:[5, 19] Operation: 24-5=19
Moving to Node #0,3,2
Current State: 95:[5, 19], Operations: ['54-49=5', '24-5=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
19,
39,
59,
75
] | 65 | [
"39+75=114",
"114/19=6",
"59+6=65"
] | Current State: 65:[19, 39, 59, 75], Operations: []
Exploring Operation: 39+75=114, Resulting Numbers: [19, 59, 114]
Generated Node #2: [19, 59, 114] from Operation: 39+75=114
Current State: 65:[19, 59, 114], Operations: ['39+75=114']
Exploring Operation: 114/19=6, Resulting Numbers: [59, 6]
Generated Node #3: [59, 6] from Operation: 114/19=6
Current State: 65:[59, 6], Operations: ['39+75=114', '114/19=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[19, 39, 59, 75], Operations: []
Exploring Operation: 75-39=36, Resulting Numbers: [19, 59, 36]
Generated Node #0,0: 65:[19, 59, 36] Operation: 75-39=36
Exploring Operation: 19+39=58, Resulting Numbers: [59, 75, 58]
Generated Node #0,1: 65:[59, 75, 58] Operation: 19+39=58
Exploring Operation: 39-19=20, Resulting Numbers: [59, 75, 20]
Generated Node #0,2: 65:[59, 75, 20] Operation: 39-19=20
Exploring Operation: 59-39=20, Resulting Numbers: [19, 75, 20]
Generated Node #0,3: 65:[19, 75, 20] Operation: 59-39=20
Moving to Node #0,1
Current State: 65:[59, 75, 58], Operations: ['19+39=58']
Exploring Operation: 59-58=1, Resulting Numbers: [75, 1]
Generated Node #0,1,0: 65:[75, 1] Operation: 59-58=1
Exploring Operation: 59+58=117, Resulting Numbers: [75, 117]
Generated Node #0,1,1: 65:[75, 117] Operation: 59+58=117
Exploring Operation: 75-58=17, Resulting Numbers: [59, 17]
Generated Node #0,1,2: 65:[59, 17] Operation: 75-58=17
Exploring Operation: 75-59=16, Resulting Numbers: [58, 16]
Generated Node #0,1,3: 65:[58, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[59, 17], Operations: ['19+39=58', '75-58=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,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,1,3
Current State: 65:[58, 16], Operations: ['19+39=58', '75-59=16']
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,65 unequal: No Solution
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,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,1,0
Current State: 65:[75, 1], Operations: ['19+39=58', '59-58=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,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,1,1
Current State: 65:[75, 117], Operations: ['19+39=58', '59+58=117']
Exploring Operation: 117-75=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 75*117=8775, Resulting Numbers: [8775]
8775,65 unequal: No Solution
Exploring Operation: 75+117=192, Resulting Numbers: [192]
192,65 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: 65:[19, 75, 20], Operations: ['59-39=20']
Exploring Operation: 75-20=55, Resulting Numbers: [19, 55]
Generated Node #0,3,0: 65:[19, 55] Operation: 75-20=55
Exploring Operation: 20-19=1, Resulting Numbers: [75, 1]
Generated Node #0,3,1: 65:[75, 1] Operation: 20-19=1
Exploring Operation: 75-19=56, Resulting Numbers: [20, 56]
Generated Node #0,3,2: 65:[20, 56] Operation: 75-19=56
Exploring Operation: 19+75=94, Resulting Numbers: [20, 94]
Generated Node #0,3,3: 65:[20, 94] Operation: 19+75=94
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[75, 1], Operations: ['59-39=20', '20-19=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[19, 55], Operations: ['59-39=20', '75-20=55']
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,65 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[20, 56], Operations: ['59-39=20', '75-19=56']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[20, 94], Operations: ['59-39=20', '19+75=94']
Exploring Operation: 20+94=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 20*94=1880, Resulting Numbers: [1880]
1880,65 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,65 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: 65:[59, 75, 20], Operations: ['39-19=20']
Exploring Operation: 75-59=16, Resulting Numbers: [20, 16]
Generated Node #0,2,0: 65:[20, 16] Operation: 75-59=16
Exploring Operation: 75-20=55, Resulting Numbers: [59, 55]
Generated Node #0,2,1: 65:[59, 55] Operation: 75-20=55
Exploring Operation: 59+20=79, Resulting Numbers: [75, 79]
Generated Node #0,2,2: 65:[75, 79] Operation: 59+20=79
Exploring Operation: 59-20=39, Resulting Numbers: [75, 39]
Generated Node #0,2,3: 65:[75, 39] Operation: 59-20=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[20, 16], Operations: ['39-19=20', '75-59=16']
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,65 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[59, 55], Operations: ['39-19=20', '75-20=55']
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,65 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[75, 79], Operations: ['39-19=20', '59+20=79']
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,65 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[75, 39], Operations: ['39-19=20', '59-20=39']
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,65 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,65 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: 65:[19, 59, 36], Operations: ['75-39=36']
Exploring Operation: 19+36=55, Resulting Numbers: [59, 55]
Generated Node #0,0,0: 65:[59, 55] Operation: 19+36=55
Exploring Operation: 59-36=23, Resulting Numbers: [19, 23]
Generated Node #0,0,1: 65:[19, 23] Operation: 59-36=23
Exploring Operation: 19+59=78, Resulting Numbers: [36, 78]
Generated Node #0,0,2: 65:[36, 78] Operation: 19+59=78
Exploring Operation: 36-19=17, Resulting Numbers: [59, 17]
Generated Node #0,0,3: 65:[59, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[59, 17], Operations: ['75-39=36', '36-19=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,65 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,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,0
Current State: 65:[59, 55], Operations: ['75-39=36', '19+36=55']
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,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,1
Current State: 65:[19, 23], Operations: ['75-39=36', '59-36=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,65 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,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,2
Current State: 65:[36, 78], Operations: ['75-39=36', '19+59=78']
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,65 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
19,
32,
85,
6
] | 98 | [
"19*32=608",
"85*6=510",
"608-510=98"
] | Current State: 98:[19, 32, 85, 6], Operations: []
Exploring Operation: 19*32=608, Resulting Numbers: [85, 6, 608]
Generated Node #2: [85, 6, 608] from Operation: 19*32=608
Current State: 98:[85, 6, 608], Operations: ['19*32=608']
Exploring Operation: 85*6=510, Resulting Numbers: [608, 510]
Generated Node #3: [608, 510] from Operation: 85*6=510
Current State: 98:[608, 510], Operations: ['19*32=608', '85*6=510']
Exploring Operation: 608-510=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[19, 32, 85, 6], Operations: []
Exploring Operation: 85-32=53, Resulting Numbers: [19, 6, 53]
Generated Node #0,0: 98:[19, 6, 53] Operation: 85-32=53
Exploring Operation: 19+85=104, Resulting Numbers: [32, 6, 104]
Generated Node #0,1: 98:[32, 6, 104] Operation: 19+85=104
Exploring Operation: 32+85=117, Resulting Numbers: [19, 6, 117]
Generated Node #0,2: 98:[19, 6, 117] Operation: 32+85=117
Exploring Operation: 32-19=13, Resulting Numbers: [85, 6, 13]
Generated Node #0,3: 98:[85, 6, 13] Operation: 32-19=13
Exploring Operation: 19+32=51, Resulting Numbers: [85, 6, 51]
Generated Node #0,4: 98:[85, 6, 51] Operation: 19+32=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[19, 6, 53], Operations: ['85-32=53']
Exploring Operation: 19-6=13, Resulting Numbers: [53, 13]
Generated Node #0,0,0: 98:[53, 13] Operation: 19-6=13
Exploring Operation: 6+53=59, Resulting Numbers: [19, 59]
Generated Node #0,0,1: 98:[19, 59] Operation: 6+53=59
Exploring Operation: 19+6=25, Resulting Numbers: [53, 25]
Generated Node #0,0,2: 98:[53, 25] Operation: 19+6=25
Exploring Operation: 53-6=47, Resulting Numbers: [19, 47]
Generated Node #0,0,3: 98:[19, 47] Operation: 53-6=47
Exploring Operation: 53-19=34, Resulting Numbers: [6, 34]
Generated Node #0,0,4: 98:[6, 34] Operation: 53-19=34
Moving to Node #0,0,0
Current State: 98:[53, 13], Operations: ['85-32=53', '19-6=13']
Exploring Operation: 53*13=689, Resulting Numbers: [689]
689,98 unequal: No Solution
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[19, 47], Operations: ['85-32=53', '53-6=47']
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,98 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[19, 59], Operations: ['85-32=53', '6+53=59']
Exploring Operation: 19*59=1121, Resulting Numbers: [1121]
1121,98 unequal: No Solution
Exploring Operation: 19+59=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[53, 25], Operations: ['85-32=53', '19+6=25']
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,98 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[6, 34], Operations: ['85-32=53', '53-19=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[85, 6, 13], Operations: ['32-19=13']
Exploring Operation: 13-6=7, Resulting Numbers: [85, 7]
Generated Node #0,3,0: 98:[85, 7] Operation: 13-6=7
Exploring Operation: 85+13=98, Resulting Numbers: [6, 98]
Generated Node #0,3,1: 98:[6, 98] Operation: 85+13=98
Exploring Operation: 85-6=79, Resulting Numbers: [13, 79]
Generated Node #0,3,2: 98:[13, 79] Operation: 85-6=79
Exploring Operation: 6+13=19, Resulting Numbers: [85, 19]
Generated Node #0,3,3: 98:[85, 19] Operation: 6+13=19
Exploring Operation: 85+6=91, Resulting Numbers: [13, 91]
Generated Node #0,3,4: 98:[13, 91] Operation: 85+6=91
Moving to Node #0,3,1
Current State: 98:[6, 98], Operations: ['32-19=13', '85+13=98']
Exploring Operation: 6+98=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 6*98=588, Resulting Numbers: [588]
588,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[13, 91], Operations: ['32-19=13', '85+6=91']
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[85, 7], Operations: ['32-19=13', '13-6=7']
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,98 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[85, 19], Operations: ['32-19=13', '6+13=19']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,98 unequal: No Solution
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[13, 79], Operations: ['32-19=13', '85-6=79']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 13+79=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 13*79=1027, Resulting Numbers: [1027]
1027,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[85, 6, 51], Operations: ['19+32=51']
Exploring Operation: 51-6=45, Resulting Numbers: [85, 45]
Generated Node #0,4,0: 98:[85, 45] Operation: 51-6=45
Exploring Operation: 85-51=34, Resulting Numbers: [6, 34]
Generated Node #0,4,1: 98:[6, 34] Operation: 85-51=34
Exploring Operation: 85+6=91, Resulting Numbers: [51, 91]
Generated Node #0,4,2: 98:[51, 91] Operation: 85+6=91
Exploring Operation: 6+51=57, Resulting Numbers: [85, 57]
Generated Node #0,4,3: 98:[85, 57] Operation: 6+51=57
Exploring Operation: 85-6=79, Resulting Numbers: [51, 79]
Generated Node #0,4,4: 98:[51, 79] Operation: 85-6=79
Moving to Node #0,4,2
Current State: 98:[51, 91], Operations: ['19+32=51', '85+6=91']
Exploring Operation: 51*91=4641, Resulting Numbers: [4641]
4641,98 unequal: No Solution
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 51+91=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[6, 34], Operations: ['19+32=51', '85-51=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[85, 45], Operations: ['19+32=51', '51-6=45']
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,98 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[85, 57], Operations: ['19+32=51', '6+51=57']
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 85+57=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 85*57=4845, Resulting Numbers: [4845]
4845,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[51, 79], Operations: ['19+32=51', '85-6=79']
Exploring Operation: 51*79=4029, Resulting Numbers: [4029]
4029,98 unequal: No Solution
Exploring Operation: 51+79=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[32, 6, 104], Operations: ['19+85=104']
Exploring Operation: 32-6=26, Resulting Numbers: [104, 26]
Generated Node #0,1,0: 98:[104, 26] Operation: 32-6=26
Exploring Operation: 32+6=38, Resulting Numbers: [104, 38]
Generated Node #0,1,1: 98:[104, 38] Operation: 32+6=38
Exploring Operation: 6+104=110, Resulting Numbers: [32, 110]
Generated Node #0,1,2: 98:[32, 110] Operation: 6+104=110
Exploring Operation: 104-6=98, Resulting Numbers: [32, 98]
Generated Node #0,1,3: 98:[32, 98] Operation: 104-6=98
Exploring Operation: 104-32=72, Resulting Numbers: [6, 72]
Generated Node #0,1,4: 98:[6, 72] Operation: 104-32=72
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[104, 38], Operations: ['19+85=104', '32+6=38']
Exploring Operation: 104-38=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 104*38=3952, Resulting Numbers: [3952]
3952,98 unequal: No Solution
Exploring Operation: 104+38=142, Resulting Numbers: [142]
142,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[32, 98], Operations: ['19+85=104', '104-6=98']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 32+98=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 32*98=3136, Resulting Numbers: [3136]
3136,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[104, 26], Operations: ['19+85=104', '32-6=26']
Exploring Operation: 104-26=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 104+26=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 104*26=2704, Resulting Numbers: [2704]
2704,98 unequal: No Solution
Exploring Operation: 104/26=4, Resulting Numbers: [4]
4,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 98:[6, 72], Operations: ['19+85=104', '104-32=72']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,98 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[32, 110], Operations: ['19+85=104', '6+104=110']
Exploring Operation: 32+110=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 32*110=3520, Resulting Numbers: [3520]
3520,98 unequal: No Solution
Exploring Operation: 110-32=78, Resulting Numbers: [78]
78,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[19, 6, 117], Operations: ['32+85=117']
Exploring Operation: 117-19=98, Resulting Numbers: [6, 98]
Generated Node #0,2,0: 98:[6, 98] Operation: 117-19=98
Exploring Operation: 117-6=111, Resulting Numbers: [19, 111]
Generated Node #0,2,1: 98:[19, 111] Operation: 117-6=111
Exploring Operation: 19+6=25, Resulting Numbers: [117, 25]
Generated Node #0,2,2: 98:[117, 25] Operation: 19+6=25
Exploring Operation: 6+117=123, Resulting Numbers: [19, 123]
Generated Node #0,2,3: 98:[19, 123] Operation: 6+117=123
Exploring Operation: 19-6=13, Resulting Numbers: [117, 13]
Generated Node #0,2,4: 98:[117, 13] Operation: 19-6=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[6, 98], Operations: ['32+85=117', '117-19=98']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 6*98=588, Resulting Numbers: [588]
588,98 unequal: No Solution
Exploring Operation: 6+98=104, Resulting Numbers: [104]
104,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[19, 111], Operations: ['32+85=117', '117-6=111']
Exploring Operation: 111-19=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 19*111=2109, Resulting Numbers: [2109]
2109,98 unequal: No Solution
Exploring Operation: 19+111=130, Resulting Numbers: [130]
130,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 98:[117, 13], Operations: ['32+85=117', '19-6=13']
Exploring Operation: 117-13=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 117/13=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 117*13=1521, Resulting Numbers: [1521]
1521,98 unequal: No Solution
Exploring Operation: 117+13=130, Resulting Numbers: [130]
130,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[117, 25], Operations: ['32+85=117', '19+6=25']
Exploring Operation: 117-25=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 117*25=2925, Resulting Numbers: [2925]
2925,98 unequal: No Solution
Exploring Operation: 117+25=142, Resulting Numbers: [142]
142,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[19, 123], Operations: ['32+85=117', '6+117=123']
Exploring Operation: 123-19=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 19+123=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 19*123=2337, Resulting Numbers: [2337]
2337,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
74,
16,
29,
12
] | 73 | [
"74+16=90",
"29-12=17",
"90-17=73"
] | Current State: 73:[74, 16, 29, 12], Operations: []
Exploring Operation: 74+16=90, Resulting Numbers: [29, 12, 90]
Generated Node #2: [29, 12, 90] from Operation: 74+16=90
Current State: 73:[29, 12, 90], Operations: ['74+16=90']
Exploring Operation: 29-12=17, Resulting Numbers: [90, 17]
Generated Node #3: [90, 17] from Operation: 29-12=17
Current State: 73:[90, 17], Operations: ['74+16=90', '29-12=17']
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[74, 16, 29, 12], Operations: []
Exploring Operation: 16+29=45, Resulting Numbers: [74, 12, 45]
Generated Node #0,0: 73:[74, 12, 45] Operation: 16+29=45
Exploring Operation: 29+12=41, Resulting Numbers: [74, 16, 41]
Generated Node #0,1: 73:[74, 16, 41] Operation: 29+12=41
Exploring Operation: 16+12=28, Resulting Numbers: [74, 29, 28]
Generated Node #0,2: 73:[74, 29, 28] Operation: 16+12=28
Moving to Node #0,0
Current State: 73:[74, 12, 45], Operations: ['16+29=45']
Exploring Operation: 74-12=62, Resulting Numbers: [45, 62]
Generated Node #0,0,0: 73:[45, 62] Operation: 74-12=62
Exploring Operation: 12+45=57, Resulting Numbers: [74, 57]
Generated Node #0,0,1: 73:[74, 57] Operation: 12+45=57
Exploring Operation: 74+12=86, Resulting Numbers: [45, 86]
Generated Node #0,0,2: 73:[45, 86] Operation: 74+12=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[74, 57], Operations: ['16+29=45', '12+45=57']
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[45, 62], Operations: ['16+29=45', '74-12=62']
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[45, 86], Operations: ['16+29=45', '74+12=86']
Exploring Operation: 45+86=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 45*86=3870, Resulting Numbers: [3870]
3870,73 unequal: No Solution
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,73 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: 73:[74, 16, 41], Operations: ['29+12=41']
Exploring Operation: 16+41=57, Resulting Numbers: [74, 57]
Generated Node #0,1,0: 73:[74, 57] Operation: 16+41=57
Exploring Operation: 74-16=58, Resulting Numbers: [41, 58]
Generated Node #0,1,1: 73:[41, 58] Operation: 74-16=58
Exploring Operation: 74+16=90, Resulting Numbers: [41, 90]
Generated Node #0,1,2: 73:[41, 90] Operation: 74+16=90
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[74, 57], Operations: ['29+12=41', '16+41=57']
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,73 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[41, 58], Operations: ['29+12=41', '74-16=58']
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[41, 90], Operations: ['29+12=41', '74+16=90']
Exploring Operation: 41*90=3690, Resulting Numbers: [3690]
3690,73 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 41+90=131, Resulting Numbers: [131]
131,73 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: 73:[74, 29, 28], Operations: ['16+12=28']
Exploring Operation: 74-29=45, Resulting Numbers: [28, 45]
Generated Node #0,2,0: 73:[28, 45] Operation: 74-29=45
Exploring Operation: 29+28=57, Resulting Numbers: [74, 57]
Generated Node #0,2,1: 73:[74, 57] Operation: 29+28=57
Exploring Operation: 74-28=46, Resulting Numbers: [29, 46]
Generated Node #0,2,2: 73:[29, 46] Operation: 74-28=46
Moving to Node #0,2,1
Current State: 73:[74, 57], Operations: ['16+12=28', '29+28=57']
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,73 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[29, 46], Operations: ['16+12=28', '74-28=46']
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,73 unequal: No Solution
Exploring Operation: 29*46=1334, Resulting Numbers: [1334]
1334,73 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[28, 45], Operations: ['16+12=28', '74-29=45']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 28*45=1260, Resulting Numbers: [1260]
1260,73 unequal: No Solution
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[74, 16, 29, 12], Operations: []
Exploring Operation: 16+12=28, Resulting Numbers: [74, 29, 28]
Generated Node #0,2: 73:[74, 29, 28] Operation: 16+12=28
Moving to Node #0,2
Current State: 73:[74, 29, 28], Operations: ['16+12=28']
Exploring Operation: 74-29=45, Resulting Numbers: [28, 45]
Generated Node #0,2,0: 73:[28, 45] Operation: 74-29=45
Moving to Node #0,2,0
Current State: 73:[28, 45], Operations: ['16+12=28', '74-29=45']
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.962674 | hs_3 | mult_heuristic |
[
1,
4,
33,
7
] | 30 | [
"1*4=4",
"33-7=26",
"4+26=30"
] | Current State: 30:[1, 4, 33, 7], Operations: []
Exploring Operation: 1*4=4, Resulting Numbers: [33, 7, 4]
Generated Node #2: [33, 7, 4] from Operation: 1*4=4
Current State: 30:[33, 7, 4], Operations: ['1*4=4']
Exploring Operation: 33-7=26, Resulting Numbers: [4, 26]
Generated Node #3: [4, 26] from Operation: 33-7=26
Current State: 30:[4, 26], Operations: ['1*4=4', '33-7=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[1, 4, 33, 7], Operations: []
Exploring Operation: 33-4=29, Resulting Numbers: [1, 7, 29]
Generated Node #0,0: 30:[1, 7, 29] Operation: 33-4=29
Exploring Operation: 33-1=32, Resulting Numbers: [4, 7, 32]
Generated Node #0,1: 30:[4, 7, 32] Operation: 33-1=32
Exploring Operation: 4-1=3, Resulting Numbers: [33, 7, 3]
Generated Node #0,2: 30:[33, 7, 3] Operation: 4-1=3
Exploring Operation: 1+4=5, Resulting Numbers: [33, 7, 5]
Generated Node #0,3: 30:[33, 7, 5] Operation: 1+4=5
Exploring Operation: 7-1=6, Resulting Numbers: [4, 33, 6]
Generated Node #0,4: 30:[4, 33, 6] Operation: 7-1=6
Moving to Node #0,0
Current State: 30:[1, 7, 29], Operations: ['33-4=29']
Exploring Operation: 1*29=29, Resulting Numbers: [7, 29]
Generated Node #0,0,0: 30:[7, 29] Operation: 1*29=29
Exploring Operation: 7-1=6, Resulting Numbers: [29, 6]
Generated Node #0,0,1: 30:[29, 6] Operation: 7-1=6
Exploring Operation: 7/1=7, Resulting Numbers: [29, 7]
Generated Node #0,0,2: 30:[29, 7] Operation: 7/1=7
Exploring Operation: 1+29=30, Resulting Numbers: [7, 30]
Generated Node #0,0,3: 30:[7, 30] Operation: 1+29=30
Exploring Operation: 1*7=7, Resulting Numbers: [29, 7]
Generated Node #0,0,4: 30:[29, 7] Operation: 1*7=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[29, 6], Operations: ['33-4=29', '7-1=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[7, 30], Operations: ['33-4=29', '1+29=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,30 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[7, 29], Operations: ['33-4=29', '1*29=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,30 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[29, 7], Operations: ['33-4=29', '7/1=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,30 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 30:[29, 7], Operations: ['33-4=29', '1*7=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,30 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,30 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: 30:[33, 7, 3], Operations: ['4-1=3']
Exploring Operation: 7+3=10, Resulting Numbers: [33, 10]
Generated Node #0,2,0: 30:[33, 10] Operation: 7+3=10
Exploring Operation: 33-7=26, Resulting Numbers: [3, 26]
Generated Node #0,2,1: 30:[3, 26] Operation: 33-7=26
Exploring Operation: 7-3=4, Resulting Numbers: [33, 4]
Generated Node #0,2,2: 30:[33, 4] Operation: 7-3=4
Exploring Operation: 33-3=30, Resulting Numbers: [7, 30]
Generated Node #0,2,3: 30:[7, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [7, 11]
Generated Node #0,2,4: 30:[7, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[7, 30], Operations: ['4-1=3', '33-3=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,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,4
Current State: 30:[7, 11], Operations: ['4-1=3', '33/3=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,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:[33, 10], Operations: ['4-1=3', '7+3=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,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,1
Current State: 30:[3, 26], Operations: ['4-1=3', '33-7=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,30 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,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:[33, 4], Operations: ['4-1=3', '7-3=4']
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,30 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,30 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: 30:[4, 33, 6], Operations: ['7-1=6']
Exploring Operation: 33-4=29, Resulting Numbers: [6, 29]
Generated Node #0,4,0: 30:[6, 29] Operation: 33-4=29
Exploring Operation: 4+6=10, Resulting Numbers: [33, 10]
Generated Node #0,4,1: 30:[33, 10] Operation: 4+6=10
Exploring Operation: 6-4=2, Resulting Numbers: [33, 2]
Generated Node #0,4,2: 30:[33, 2] Operation: 6-4=2
Exploring Operation: 4+33=37, Resulting Numbers: [6, 37]
Generated Node #0,4,3: 30:[6, 37] Operation: 4+33=37
Exploring Operation: 33-6=27, Resulting Numbers: [4, 27]
Generated Node #0,4,4: 30:[4, 27] Operation: 33-6=27
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 30:[6, 29], Operations: ['7-1=6', '33-4=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,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,4,1
Current State: 30:[33, 10], Operations: ['7-1=6', '4+6=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,30 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,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,4,2
Current State: 30:[33, 2], Operations: ['7-1=6', '6-4=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,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,4,4
Current State: 30:[4, 27], Operations: ['7-1=6', '33-6=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,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,4,3
Current State: 30:[6, 37], Operations: ['7-1=6', '4+33=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,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:[4, 7, 32], Operations: ['33-1=32']
Exploring Operation: 4+7=11, Resulting Numbers: [32, 11]
Generated Node #0,1,0: 30:[32, 11] Operation: 4+7=11
Exploring Operation: 32-4=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 30:[7, 28] Operation: 32-4=28
Exploring Operation: 7-4=3, Resulting Numbers: [32, 3]
Generated Node #0,1,2: 30:[32, 3] Operation: 7-4=3
Exploring Operation: 4*7=28, Resulting Numbers: [32, 28]
Generated Node #0,1,3: 30:[32, 28] Operation: 4*7=28
Exploring Operation: 32/4=8, Resulting Numbers: [7, 8]
Generated Node #0,1,4: 30:[7, 8] Operation: 32/4=8
Moving to Node #0,3
Current State: 30:[33, 7, 5], Operations: ['1+4=5']
Exploring Operation: 7*5=35, Resulting Numbers: [33, 35]
Generated Node #0,3,0: 30:[33, 35] Operation: 7*5=35
Exploring Operation: 7+5=12, Resulting Numbers: [33, 12]
Generated Node #0,3,1: 30:[33, 12] Operation: 7+5=12
Exploring Operation: 33-7=26, Resulting Numbers: [5, 26]
Generated Node #0,3,2: 30:[5, 26] Operation: 33-7=26
Exploring Operation: 7-5=2, Resulting Numbers: [33, 2]
Generated Node #0,3,3: 30:[33, 2] Operation: 7-5=2
Exploring Operation: 33-5=28, Resulting Numbers: [7, 28]
Generated Node #0,3,4: 30:[7, 28] Operation: 33-5=28
Moving to Node #0,1,2
Current State: 30:[32, 3], Operations: ['33-1=32', '7-4=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[7, 28], Operations: ['33-1=32', '32-4=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[7, 28], Operations: ['1+4=5', '33-5=28']
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,30 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[33, 2], Operations: ['1+4=5', '7-5=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[32, 11], Operations: ['33-1=32', '4+7=11']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,30 unequal: No Solution
Moving to Node #0,1,4
Current State: 30:[7, 8], Operations: ['33-1=32', '32/4=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[5, 26], Operations: ['1+4=5', '33-7=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,30 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[32, 28], Operations: ['33-1=32', '4*7=28']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,30 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[33, 12], Operations: ['1+4=5', '7+5=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[33, 35], Operations: ['1+4=5', '7*5=35']
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,30 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,30 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
12,
2,
13,
24
] | 14 | [
"12*2=24",
"24/24=1",
"13+1=14"
] | Current State: 14:[12, 2, 13, 24], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [13, 24, 24]
Generated Node #2: [13, 24, 24] from Operation: 12*2=24
Current State: 14:[13, 24, 24], Operations: ['12*2=24']
Exploring Operation: 24/24=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 24/24=1
Current State: 14:[13, 1], Operations: ['12*2=24', '24/24=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[12, 2, 13, 24], Operations: []
Exploring Operation: 24/2=12, Resulting Numbers: [12, 13, 12]
Generated Node #0,0: 14:[12, 13, 12] Operation: 24/2=12
Exploring Operation: 24-12=12, Resulting Numbers: [2, 13, 12]
Generated Node #0,1: 14:[2, 13, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [2, 13, 2]
Generated Node #0,2: 14:[2, 13, 2] Operation: 24/12=2
Moving to Node #0,2
Current State: 14:[2, 13, 2], Operations: ['24/12=2']
Exploring Operation: 2+13=15, Resulting Numbers: [2, 15]
Generated Node #0,2,0: 14:[2, 15] Operation: 2+13=15
Exploring Operation: 13+2=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 14:[2, 15] Operation: 13+2=15
Exploring Operation: 2/2=1, Resulting Numbers: [13, 1]
Generated Node #0,2,2: 14:[13, 1] Operation: 2/2=1
Moving to Node #0,1
Current State: 14:[2, 13, 12], Operations: ['24-12=12']
Exploring Operation: 12/2=6, Resulting Numbers: [13, 6]
Generated Node #0,1,0: 14:[13, 6] Operation: 12/2=6
Exploring Operation: 13-12=1, Resulting Numbers: [2, 1]
Generated Node #0,1,1: 14:[2, 1] Operation: 13-12=1
Exploring Operation: 2+12=14, Resulting Numbers: [13, 14]
Generated Node #0,1,2: 14:[13, 14] Operation: 2+12=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[2, 1], Operations: ['24-12=12', '13-12=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[13, 14], Operations: ['24-12=12', '2+12=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[13, 6], Operations: ['24-12=12', '12/2=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,14 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,14 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: 14:[12, 13, 12], Operations: ['24/2=12']
Exploring Operation: 12-12=0, Resulting Numbers: [13, 0]
Generated Node #0,0,0: 14:[13, 0] Operation: 12-12=0
Exploring Operation: 13-12=1, Resulting Numbers: [12, 1]
Generated Node #0,0,1: 14:[12, 1] Operation: 13-12=1
Exploring Operation: 12/12=1, Resulting Numbers: [13, 1]
Generated Node #0,0,2: 14:[13, 1] Operation: 12/12=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[13, 1], Operations: ['24/2=12', '12/12=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[12, 2, 13, 24], Operations: []
Exploring Operation: 24/2=12, Resulting Numbers: [12, 13, 12]
Generated Node #0,0: 14:[12, 13, 12] Operation: 24/2=12
Moving to Node #0,0
Current State: 14:[12, 13, 12], Operations: ['24/2=12']
Exploring Operation: 12/12=1, Resulting Numbers: [13, 1]
Generated Node #0,0,2: 14:[13, 1] Operation: 12/12=1
Moving to Node #0,0,2
Current State: 14:[13, 1], Operations: ['24/2=12', '12/12=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
15,
26,
26,
58
] | 73 | [
"15+26=41",
"58-26=32",
"41+32=73"
] | Current State: 73:[15, 26, 26, 58], Operations: []
Exploring Operation: 15+26=41, Resulting Numbers: [58, 41]
Generated Node #2: [58, 41] from Operation: 15+26=41
Current State: 73:[58, 41], Operations: ['15+26=41']
Exploring Operation: 58-26=32, Resulting Numbers: [41, 32]
Generated Node #3: [41, 32] from Operation: 58-26=32
Current State: 73:[41, 32], Operations: ['15+26=41', '58-26=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[15, 26, 26, 58], Operations: []
Exploring Operation: 15+58=73, Resulting Numbers: [26, 26, 73]
Generated Node #0,0: 73:[26, 26, 73] Operation: 15+58=73
Exploring Operation: 15+26=41, Resulting Numbers: [26, 58, 41]
Generated Node #0,1: 73:[26, 58, 41] Operation: 15+26=41
Exploring Operation: 15+26=41, Resulting Numbers: [26, 58, 41]
Generated Node #0,2: 73:[26, 58, 41] Operation: 15+26=41
Moving to Node #0,0
Current State: 73:[26, 26, 73], Operations: ['15+58=73']
Exploring Operation: 26/26=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 73:[73, 1] Operation: 26/26=1
Exploring Operation: 26-26=0, Resulting Numbers: [73, 0]
Generated Node #0,0,1: 73:[73, 0] Operation: 26-26=0
Exploring Operation: 26+26=52, Resulting Numbers: [73, 52]
Generated Node #0,0,2: 73:[73, 52] Operation: 26+26=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[73, 52], Operations: ['15+58=73', '26+26=52']
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Exploring Operation: 73*52=3796, Resulting Numbers: [3796]
3796,73 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[73, 1], Operations: ['15+58=73', '26/26=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[15, 26, 26, 58], Operations: []
Exploring Operation: 15+58=73, Resulting Numbers: [26, 26, 73]
Generated Node #0,0: 73:[26, 26, 73] Operation: 15+58=73
Moving to Node #0,0
Current State: 73:[26, 26, 73], Operations: ['15+58=73']
Exploring Operation: 26/26=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 73:[73, 1] Operation: 26/26=1
Moving to Node #0,0,0
Current State: 73:[73, 1], Operations: ['15+58=73', '26/26=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
77,
58,
24,
64
] | 95 | [
"77+58=135",
"64-24=40",
"135-40=95"
] | Current State: 95:[77, 58, 24, 64], Operations: []
Exploring Operation: 77+58=135, Resulting Numbers: [24, 64, 135]
Generated Node #2: [24, 64, 135] from Operation: 77+58=135
Current State: 95:[24, 64, 135], Operations: ['77+58=135']
Exploring Operation: 64-24=40, Resulting Numbers: [135, 40]
Generated Node #3: [135, 40] from Operation: 64-24=40
Current State: 95:[135, 40], Operations: ['77+58=135', '64-24=40']
Exploring Operation: 135-40=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[77, 58, 24, 64], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [77, 24, 6]
Generated Node #0,0: 95:[77, 24, 6] Operation: 64-58=6
Exploring Operation: 77-64=13, Resulting Numbers: [58, 24, 13]
Generated Node #0,1: 95:[58, 24, 13] Operation: 77-64=13
Exploring Operation: 77-58=19, Resulting Numbers: [24, 64, 19]
Generated Node #0,2: 95:[24, 64, 19] Operation: 77-58=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[77, 24, 6], Operations: ['64-58=6']
Exploring Operation: 77+6=83, Resulting Numbers: [24, 83]
Generated Node #0,0,0: 95:[24, 83] Operation: 77+6=83
Exploring Operation: 77+24=101, Resulting Numbers: [6, 101]
Generated Node #0,0,1: 95:[6, 101] Operation: 77+24=101
Exploring Operation: 24-6=18, Resulting Numbers: [77, 18]
Generated Node #0,0,2: 95:[77, 18] Operation: 24-6=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[6, 101], Operations: ['64-58=6', '77+24=101']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[77, 58, 24, 64], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [77, 24, 6]
Generated Node #0,0: 95:[77, 24, 6] Operation: 64-58=6
Moving to Node #0,0
Current State: 95:[77, 24, 6], Operations: ['64-58=6']
Exploring Operation: 77+24=101, Resulting Numbers: [6, 101]
Generated Node #0,0,1: 95:[6, 101] Operation: 77+24=101
Moving to Node #0,0,1
Current State: 95:[6, 101], Operations: ['64-58=6', '77+24=101']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
49,
60,
52,
15
] | 55 | [
"52-49=3",
"15/3=5",
"60-5=55"
] | Current State: 55:[49, 60, 52, 15], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [60, 15, 3]
Generated Node #2: [60, 15, 3] from Operation: 52-49=3
Current State: 55:[60, 15, 3], Operations: ['52-49=3']
Exploring Operation: 15/3=5, Resulting Numbers: [60, 5]
Generated Node #3: [60, 5] from Operation: 15/3=5
Current State: 55:[60, 5], Operations: ['52-49=3', '15/3=5']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[49, 60, 52, 15], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [60, 15, 3]
Generated Node #0,0: 55:[60, 15, 3] Operation: 52-49=3
Exploring Operation: 60/15=4, Resulting Numbers: [49, 52, 4]
Generated Node #0,1: 55:[49, 52, 4] Operation: 60/15=4
Exploring Operation: 60-49=11, Resulting Numbers: [52, 15, 11]
Generated Node #0,2: 55:[52, 15, 11] Operation: 60-49=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[52, 15, 11], Operations: ['60-49=11']
Exploring Operation: 52+11=63, Resulting Numbers: [15, 63]
Generated Node #0,2,0: 55:[15, 63] Operation: 52+11=63
Exploring Operation: 52+15=67, Resulting Numbers: [11, 67]
Generated Node #0,2,1: 55:[11, 67] Operation: 52+15=67
Exploring Operation: 15-11=4, Resulting Numbers: [52, 4]
Generated Node #0,2,2: 55:[52, 4] Operation: 15-11=4
Moving to Node #0,2,2
Current State: 55:[52, 4], Operations: ['60-49=11', '15-11=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[15, 63], Operations: ['60-49=11', '52+11=63']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,55 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[11, 67], Operations: ['60-49=11', '52+15=67']
Exploring Operation: 11*67=737, Resulting Numbers: [737]
737,55 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 11+67=78, Resulting Numbers: [78]
78,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[49, 52, 4], Operations: ['60/15=4']
Exploring Operation: 52+4=56, Resulting Numbers: [49, 56]
Generated Node #0,1,0: 55:[49, 56] Operation: 52+4=56
Exploring Operation: 49+4=53, Resulting Numbers: [52, 53]
Generated Node #0,1,1: 55:[52, 53] Operation: 49+4=53
Exploring Operation: 52-49=3, Resulting Numbers: [4, 3]
Generated Node #0,1,2: 55:[4, 3] Operation: 52-49=3
Moving to Node #0,1,2
Current State: 55:[4, 3], Operations: ['60/15=4', '52-49=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[52, 53], Operations: ['60/15=4', '49+4=53']
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,55 unequal: No Solution
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[49, 56], Operations: ['60/15=4', '52+4=56']
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,55 unequal: No Solution
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[60, 15, 3], Operations: ['52-49=3']
Exploring Operation: 60-3=57, Resulting Numbers: [15, 57]
Generated Node #0,0,0: 55:[15, 57] Operation: 60-3=57
Exploring Operation: 15/3=5, Resulting Numbers: [60, 5]
Generated Node #0,0,1: 55:[60, 5] Operation: 15/3=5
Exploring Operation: 60/15=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 55:[3, 4] Operation: 60/15=4
Moving to Node #0,0,2
Current State: 55:[3, 4], Operations: ['52-49=3', '60/15=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[60, 5], Operations: ['52-49=3', '15/3=5']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[49, 60, 52, 15], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [60, 15, 3]
Generated Node #0,0: 55:[60, 15, 3] Operation: 52-49=3
Moving to Node #0,0
Current State: 55:[60, 15, 3], Operations: ['52-49=3']
Exploring Operation: 15/3=5, Resulting Numbers: [60, 5]
Generated Node #0,0,1: 55:[60, 5] Operation: 15/3=5
Moving to Node #0,0,1
Current State: 55:[60, 5], Operations: ['52-49=3', '15/3=5']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_3 | mult_heuristic |
[
11,
49,
96,
25
] | 61 | [
"11+49=60",
"96+25=121",
"121-60=61"
] | Current State: 61:[11, 49, 96, 25], Operations: []
Exploring Operation: 11+49=60, Resulting Numbers: [96, 25, 60]
Generated Node #2: [96, 25, 60] from Operation: 11+49=60
Current State: 61:[96, 25, 60], Operations: ['11+49=60']
Exploring Operation: 96+25=121, Resulting Numbers: [60, 121]
Generated Node #3: [60, 121] from Operation: 96+25=121
Current State: 61:[60, 121], Operations: ['11+49=60', '96+25=121']
Exploring Operation: 121-60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[11, 49, 96, 25], Operations: []
Exploring Operation: 11+49=60, Resulting Numbers: [96, 25, 60]
Generated Node #0,0: 61:[96, 25, 60] Operation: 11+49=60
Moving to Node #0,0
Current State: 61:[96, 25, 60], Operations: ['11+49=60']
Exploring Operation: 96-25=71, Resulting Numbers: [60, 71]
Generated Node #0,0,0: 61:[60, 71] Operation: 96-25=71
Moving to Node #0,0,0
Current State: 61:[60, 71], Operations: ['11+49=60', '96-25=71']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,61 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
55,
30,
10
] | 90 | [
"55-30=25",
"36*25=900",
"900/10=90"
] | Current State: 90:[36, 55, 30, 10], Operations: []
Exploring Operation: 55-30=25, Resulting Numbers: [36, 10, 25]
Generated Node #2: [36, 10, 25] from Operation: 55-30=25
Current State: 90:[36, 10, 25], Operations: ['55-30=25']
Exploring Operation: 36*25=900, Resulting Numbers: [10, 900]
Generated Node #3: [10, 900] from Operation: 36*25=900
Current State: 90:[10, 900], Operations: ['55-30=25', '36*25=900']
Exploring Operation: 900/10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[36, 55, 30, 10], Operations: []
Exploring Operation: 36+55=91, Resulting Numbers: [30, 10, 91]
Generated Node #0,0: 90:[30, 10, 91] Operation: 36+55=91
Moving to Node #0,0
Current State: 90:[30, 10, 91], Operations: ['36+55=91']
Exploring Operation: 30/10=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 90:[91, 3] Operation: 30/10=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[91, 3], Operations: ['36+55=91', '30/10=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
69,
57,
3
] | 45 | [
"69+57=126",
"126/3=42",
"87-42=45"
] | Current State: 45:[87, 69, 57, 3], Operations: []
Exploring Operation: 69+57=126, Resulting Numbers: [87, 3, 126]
Generated Node #2: [87, 3, 126] from Operation: 69+57=126
Current State: 45:[87, 3, 126], Operations: ['69+57=126']
Exploring Operation: 126/3=42, Resulting Numbers: [87, 42]
Generated Node #3: [87, 42] from Operation: 126/3=42
Current State: 45:[87, 42], Operations: ['69+57=126', '126/3=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[87, 69, 57, 3], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [69, 3, 30]
Generated Node #0,0: 45:[69, 3, 30] Operation: 87-57=30
Exploring Operation: 87-69=18, Resulting Numbers: [57, 3, 18]
Generated Node #0,1: 45:[57, 3, 18] Operation: 87-69=18
Exploring Operation: 69-57=12, Resulting Numbers: [87, 3, 12]
Generated Node #0,2: 45:[87, 3, 12] Operation: 69-57=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[57, 3, 18], Operations: ['87-69=18']
Exploring Operation: 57-18=39, Resulting Numbers: [3, 39]
Generated Node #0,1,0: 45:[3, 39] Operation: 57-18=39
Exploring Operation: 57-3=54, Resulting Numbers: [18, 54]
Generated Node #0,1,1: 45:[18, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [18, 19]
Generated Node #0,1,2: 45:[18, 19] Operation: 57/3=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[3, 39], Operations: ['87-69=18', '57-18=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,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,1,2
Current State: 45:[18, 19], Operations: ['87-69=18', '57/3=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,45 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,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,1,1
Current State: 45:[18, 54], Operations: ['87-69=18', '57-3=54']
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,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,0
Current State: 45:[69, 3, 30], Operations: ['87-57=30']
Exploring Operation: 69/3=23, Resulting Numbers: [30, 23]
Generated Node #0,0,0: 45:[30, 23] Operation: 69/3=23
Exploring Operation: 30/3=10, Resulting Numbers: [69, 10]
Generated Node #0,0,1: 45:[69, 10] Operation: 30/3=10
Exploring Operation: 69-30=39, Resulting Numbers: [3, 39]
Generated Node #0,0,2: 45:[3, 39] Operation: 69-30=39
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[3, 39], Operations: ['87-57=30', '69-30=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,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,0
Current State: 45:[30, 23], Operations: ['87-57=30', '69/3=23']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,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:[69, 10], Operations: ['87-57=30', '30/3=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,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:[87, 3, 12], Operations: ['69-57=12']
Exploring Operation: 87-12=75, Resulting Numbers: [3, 75]
Generated Node #0,2,0: 45:[3, 75] Operation: 87-12=75
Exploring Operation: 87/3=29, Resulting Numbers: [12, 29]
Generated Node #0,2,1: 45:[12, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [12, 84]
Generated Node #0,2,2: 45:[12, 84] Operation: 87-3=84
Moving to Node #0,2,1
Current State: 45:[12, 29], Operations: ['69-57=12', '87/3=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,45 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[3, 75], Operations: ['69-57=12', '87-12=75']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[12, 84], Operations: ['69-57=12', '87-3=84']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,45 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 |
[
19,
9,
2,
14
] | 65 | [
"9+14=23",
"2*23=46",
"19+46=65"
] | Current State: 65:[19, 9, 2, 14], Operations: []
Exploring Operation: 9+14=23, Resulting Numbers: [19, 2, 23]
Generated Node #2: [19, 2, 23] from Operation: 9+14=23
Current State: 65:[19, 2, 23], Operations: ['9+14=23']
Exploring Operation: 2*23=46, Resulting Numbers: [19, 46]
Generated Node #3: [19, 46] from Operation: 2*23=46
Current State: 65:[19, 46], Operations: ['9+14=23', '2*23=46']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[19, 9, 2, 14], Operations: []
Exploring Operation: 19-9=10, Resulting Numbers: [2, 14, 10]
Generated Node #0,0: 65:[2, 14, 10] Operation: 19-9=10
Moving to Node #0,0
Current State: 65:[2, 14, 10], Operations: ['19-9=10']
Exploring Operation: 10/2=5, Resulting Numbers: [14, 5]
Generated Node #0,0,0: 65:[14, 5] Operation: 10/2=5
Moving to Node #0,0,0
Current State: 65:[14, 5], Operations: ['19-9=10', '10/2=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
7,
82,
54
] | 41 | [
"49+7=56",
"56-54=2",
"82/2=41"
] | Current State: 41:[49, 7, 82, 54], Operations: []
Exploring Operation: 49+7=56, Resulting Numbers: [82, 54, 56]
Generated Node #2: [82, 54, 56] from Operation: 49+7=56
Current State: 41:[82, 54, 56], Operations: ['49+7=56']
Exploring Operation: 56-54=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 56-54=2
Current State: 41:[82, 2], Operations: ['49+7=56', '56-54=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[49, 7, 82, 54], Operations: []
Exploring Operation: 49-7=42, Resulting Numbers: [82, 54, 42]
Generated Node #0,0: 41:[82, 54, 42] Operation: 49-7=42
Exploring Operation: 82-49=33, Resulting Numbers: [7, 54, 33]
Generated Node #0,1: 41:[7, 54, 33] Operation: 82-49=33
Exploring Operation: 82-7=75, Resulting Numbers: [49, 54, 75]
Generated Node #0,2: 41:[49, 54, 75] Operation: 82-7=75
Moving to Node #0,0
Current State: 41:[82, 54, 42], Operations: ['49-7=42']
Exploring Operation: 82-42=40, Resulting Numbers: [54, 40]
Generated Node #0,0,0: 41:[54, 40] Operation: 82-42=40
Exploring Operation: 54-42=12, Resulting Numbers: [82, 12]
Generated Node #0,0,1: 41:[82, 12] Operation: 54-42=12
Exploring Operation: 82-54=28, Resulting Numbers: [42, 28]
Generated Node #0,0,2: 41:[42, 28] Operation: 82-54=28
Moving to Node #0,1
Current State: 41:[7, 54, 33], Operations: ['82-49=33']
Exploring Operation: 7+54=61, Resulting Numbers: [33, 61]
Generated Node #0,1,0: 41:[33, 61] Operation: 7+54=61
Exploring Operation: 54-7=47, Resulting Numbers: [33, 47]
Generated Node #0,1,1: 41:[33, 47] Operation: 54-7=47
Exploring Operation: 7+33=40, Resulting Numbers: [54, 40]
Generated Node #0,1,2: 41:[54, 40] Operation: 7+33=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[33, 47], Operations: ['82-49=33', '54-7=47']
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,41 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[54, 40], Operations: ['82-49=33', '7+33=40']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[33, 61], Operations: ['82-49=33', '7+54=61']
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,41 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[49, 54, 75], Operations: ['82-7=75']
Exploring Operation: 54-49=5, Resulting Numbers: [75, 5]
Generated Node #0,2,0: 41:[75, 5] Operation: 54-49=5
Exploring Operation: 75-54=21, Resulting Numbers: [49, 21]
Generated Node #0,2,1: 41:[49, 21] Operation: 75-54=21
Exploring Operation: 75-49=26, Resulting Numbers: [54, 26]
Generated Node #0,2,2: 41:[54, 26] Operation: 75-49=26
Moving to Node #0,0,0
Current State: 41:[54, 40], Operations: ['49-7=42', '82-42=40']
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[42, 28], Operations: ['49-7=42', '82-54=28']
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,41 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[54, 26], Operations: ['82-7=75', '75-49=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,41 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[49, 21], Operations: ['82-7=75', '75-54=21']
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,41 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[75, 5], Operations: ['82-7=75', '54-49=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[82, 12], Operations: ['49-7=42', '54-42=12']
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,41 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,41 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
24,
29,
35
] | 30 | [
"91+29=120",
"120/24=5",
"35-5=30"
] | Current State: 30:[91, 24, 29, 35], Operations: []
Exploring Operation: 91+29=120, Resulting Numbers: [24, 35, 120]
Generated Node #2: [24, 35, 120] from Operation: 91+29=120
Current State: 30:[24, 35, 120], Operations: ['91+29=120']
Exploring Operation: 120/24=5, Resulting Numbers: [35, 5]
Generated Node #3: [35, 5] from Operation: 120/24=5
Current State: 30:[35, 5], Operations: ['91+29=120', '120/24=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[91, 24, 29, 35], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [91, 35, 5]
Generated Node #0,0: 30:[91, 35, 5] Operation: 29-24=5
Exploring Operation: 91-24=67, Resulting Numbers: [29, 35, 67]
Generated Node #0,1: 30:[29, 35, 67] Operation: 91-24=67
Exploring Operation: 91-35=56, Resulting Numbers: [24, 29, 56]
Generated Node #0,2: 30:[24, 29, 56] Operation: 91-35=56
Exploring Operation: 35-24=11, Resulting Numbers: [91, 29, 11]
Generated Node #0,3: 30:[91, 29, 11] Operation: 35-24=11
Exploring Operation: 91-29=62, Resulting Numbers: [24, 35, 62]
Generated Node #0,4: 30:[24, 35, 62] Operation: 91-29=62
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[24, 29, 56], Operations: ['91-35=56']
Exploring Operation: 24+56=80, Resulting Numbers: [29, 80]
Generated Node #0,2,0: 30:[29, 80] Operation: 24+56=80
Exploring Operation: 56-29=27, Resulting Numbers: [24, 27]
Generated Node #0,2,1: 30:[24, 27] Operation: 56-29=27
Exploring Operation: 29-24=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 30:[56, 5] Operation: 29-24=5
Exploring Operation: 24+29=53, Resulting Numbers: [56, 53]
Generated Node #0,2,3: 30:[56, 53] Operation: 24+29=53
Exploring Operation: 56-24=32, Resulting Numbers: [29, 32]
Generated Node #0,2,4: 30:[29, 32] Operation: 56-24=32
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 30:[29, 32], Operations: ['91-35=56', '56-24=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,30 unequal: No Solution
No 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: 30:[24, 27], Operations: ['91-35=56', '56-29=27']
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,30 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,30 unequal: No Solution
No 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: 30:[56, 5], Operations: ['91-35=56', '29-24=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,30 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,30 unequal: No Solution
No 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: 30:[56, 53], Operations: ['91-35=56', '24+29=53']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Exploring Operation: 56*53=2968, Resulting Numbers: [2968]
2968,30 unequal: No Solution
No 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: 30:[29, 80], Operations: ['91-35=56', '24+56=80']
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,30 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: 30:[29, 35, 67], Operations: ['91-24=67']
Exploring Operation: 67-35=32, Resulting Numbers: [29, 32]
Generated Node #0,1,0: 30:[29, 32] Operation: 67-35=32
Exploring Operation: 67-29=38, Resulting Numbers: [35, 38]
Generated Node #0,1,1: 30:[35, 38] Operation: 67-29=38
Exploring Operation: 35-29=6, Resulting Numbers: [67, 6]
Generated Node #0,1,2: 30:[67, 6] Operation: 35-29=6
Exploring Operation: 29+35=64, Resulting Numbers: [67, 64]
Generated Node #0,1,3: 30:[67, 64] Operation: 29+35=64
Exploring Operation: 29+67=96, Resulting Numbers: [35, 96]
Generated Node #0,1,4: 30:[35, 96] Operation: 29+67=96
Moving to Node #0,1,0
Current State: 30:[29, 32], Operations: ['91-24=67', '67-35=32']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,30 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[35, 38], Operations: ['91-24=67', '67-29=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[67, 6], Operations: ['91-24=67', '35-29=6']
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[67, 64], Operations: ['91-24=67', '29+35=64']
Exploring Operation: 67+64=131, Resulting Numbers: [131]
131,30 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 67*64=4288, Resulting Numbers: [4288]
4288,30 unequal: No Solution
Moving to Node #0,1,4
Current State: 30:[35, 96], Operations: ['91-24=67', '29+67=96']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 35*96=3360, Resulting Numbers: [3360]
3360,30 unequal: No Solution
Exploring Operation: 35+96=131, Resulting Numbers: [131]
131,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,4
Current State: 30:[24, 35, 62], Operations: ['91-29=62']
Exploring Operation: 62-24=38, Resulting Numbers: [35, 38]
Generated Node #0,4,0: 30:[35, 38] Operation: 62-24=38
Exploring Operation: 24+35=59, Resulting Numbers: [62, 59]
Generated Node #0,4,1: 30:[62, 59] Operation: 24+35=59
Exploring Operation: 24+62=86, Resulting Numbers: [35, 86]
Generated Node #0,4,2: 30:[35, 86] Operation: 24+62=86
Exploring Operation: 35-24=11, Resulting Numbers: [62, 11]
Generated Node #0,4,3: 30:[62, 11] Operation: 35-24=11
Exploring Operation: 62-35=27, Resulting Numbers: [24, 27]
Generated Node #0,4,4: 30:[24, 27] Operation: 62-35=27
Moving to Node #0,4,4
Current State: 30:[24, 27], Operations: ['91-29=62', '62-35=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,30 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[35, 38], Operations: ['91-29=62', '62-24=38']
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,30 unequal: No Solution
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[62, 11], Operations: ['91-29=62', '35-24=11']
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,30 unequal: No Solution
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[62, 59], Operations: ['91-29=62', '24+35=59']
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[35, 86], Operations: ['91-29=62', '24+62=86']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[91, 29, 11], Operations: ['35-24=11']
Exploring Operation: 91-11=80, Resulting Numbers: [29, 80]
Generated Node #0,3,0: 30:[29, 80] Operation: 91-11=80
Exploring Operation: 91-29=62, Resulting Numbers: [11, 62]
Generated Node #0,3,1: 30:[11, 62] Operation: 91-29=62
Exploring Operation: 29-11=18, Resulting Numbers: [91, 18]
Generated Node #0,3,2: 30:[91, 18] Operation: 29-11=18
Exploring Operation: 29+11=40, Resulting Numbers: [91, 40]
Generated Node #0,3,3: 30:[91, 40] Operation: 29+11=40
Exploring Operation: 91+11=102, Resulting Numbers: [29, 102]
Generated Node #0,3,4: 30:[29, 102] Operation: 91+11=102
Moving to Node #0,3,1
Current State: 30:[11, 62], Operations: ['35-24=11', '91-29=62']
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,30 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[29, 80], Operations: ['35-24=11', '91-11=80']
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,30 unequal: No Solution
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[91, 18], Operations: ['35-24=11', '29-11=18']
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,30 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[91, 40], Operations: ['35-24=11', '29+11=40']
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,30 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[29, 102], Operations: ['35-24=11', '91+11=102']
Exploring Operation: 29+102=131, Resulting Numbers: [131]
131,30 unequal: No Solution
Exploring Operation: 102-29=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 29*102=2958, Resulting Numbers: [2958]
2958,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[91, 35, 5], Operations: ['29-24=5']
Exploring Operation: 91+5=96, Resulting Numbers: [35, 96]
Generated Node #0,0,0: 30:[35, 96] Operation: 91+5=96
Exploring Operation: 35-5=30, Resulting Numbers: [91, 30]
Generated Node #0,0,1: 30:[91, 30] Operation: 35-5=30
Exploring Operation: 91-35=56, Resulting Numbers: [5, 56]
Generated Node #0,0,2: 30:[5, 56] Operation: 91-35=56
Exploring Operation: 91-5=86, Resulting Numbers: [35, 86]
Generated Node #0,0,3: 30:[35, 86] Operation: 91-5=86
Exploring Operation: 35/5=7, Resulting Numbers: [91, 7]
Generated Node #0,0,4: 30:[91, 7] Operation: 35/5=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[5, 56], Operations: ['29-24=5', '91-35=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,30 unequal: No Solution
No 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: 30:[91, 30], Operations: ['29-24=5', '35-5=30']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,30 unequal: No Solution
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,30 unequal: No Solution
No 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: 30:[35, 86], Operations: ['29-24=5', '91-5=86']
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,30 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,30 unequal: No Solution
No 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: 30:[91, 7], Operations: ['29-24=5', '35/5=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,30 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,30 unequal: No Solution
No 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: 30:[35, 96], Operations: ['29-24=5', '91+5=96']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 35*96=3360, Resulting Numbers: [3360]
3360,30 unequal: No Solution
Exploring Operation: 35+96=131, Resulting Numbers: [131]
131,30 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 |
[
69,
15,
99,
17
] | 84 | [
"69+99=168",
"17-15=2",
"168/2=84"
] | Current State: 84:[69, 15, 99, 17], Operations: []
Exploring Operation: 69+99=168, Resulting Numbers: [15, 17, 168]
Generated Node #2: [15, 17, 168] from Operation: 69+99=168
Current State: 84:[15, 17, 168], Operations: ['69+99=168']
Exploring Operation: 17-15=2, Resulting Numbers: [168, 2]
Generated Node #3: [168, 2] from Operation: 17-15=2
Current State: 84:[168, 2], Operations: ['69+99=168', '17-15=2']
Exploring Operation: 168/2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[69, 15, 99, 17], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [15, 17, 30]
Generated Node #0,0: 84:[15, 17, 30] Operation: 99-69=30
Moving to Node #0,0
Current State: 84:[15, 17, 30], Operations: ['99-69=30']
Exploring Operation: 17-15=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 84:[30, 2] Operation: 17-15=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[30, 2], Operations: ['99-69=30', '17-15=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
51,
58,
99
] | 76 | [
"99/3=33",
"51+58=109",
"109-33=76"
] | Current State: 76:[3, 51, 58, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [51, 58, 33]
Generated Node #2: [51, 58, 33] from Operation: 99/3=33
Current State: 76:[51, 58, 33], Operations: ['99/3=33']
Exploring Operation: 51+58=109, Resulting Numbers: [33, 109]
Generated Node #3: [33, 109] from Operation: 51+58=109
Current State: 76:[33, 109], Operations: ['99/3=33', '51+58=109']
Exploring Operation: 109-33=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[3, 51, 58, 99], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [3, 51, 41]
Generated Node #0,0: 76:[3, 51, 41] Operation: 99-58=41
Exploring Operation: 99-51=48, Resulting Numbers: [3, 58, 48]
Generated Node #0,1: 76:[3, 58, 48] Operation: 99-51=48
Exploring Operation: 99/3=33, Resulting Numbers: [51, 58, 33]
Generated Node #0,2: 76:[51, 58, 33] Operation: 99/3=33
Exploring Operation: 58-51=7, Resulting Numbers: [3, 99, 7]
Generated Node #0,3: 76:[3, 99, 7] Operation: 58-51=7
Exploring Operation: 51/3=17, Resulting Numbers: [58, 99, 17]
Generated Node #0,4: 76:[58, 99, 17] Operation: 51/3=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 51, 41], Operations: ['99-58=41']
Exploring Operation: 51+41=92, Resulting Numbers: [3, 92]
Generated Node #0,0,0: 76:[3, 92] Operation: 51+41=92
Exploring Operation: 41-3=38, Resulting Numbers: [51, 38]
Generated Node #0,0,1: 76:[51, 38] Operation: 41-3=38
Exploring Operation: 51-41=10, Resulting Numbers: [3, 10]
Generated Node #0,0,2: 76:[3, 10] Operation: 51-41=10
Exploring Operation: 51/3=17, Resulting Numbers: [41, 17]
Generated Node #0,0,3: 76:[41, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [41, 48]
Generated Node #0,0,4: 76:[41, 48] Operation: 51-3=48
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[41, 17], Operations: ['99-58=41', '51/3=17']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,76 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[3, 10], Operations: ['99-58=41', '51-41=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[51, 38], Operations: ['99-58=41', '41-3=38']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,76 unequal: No Solution
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 76:[41, 48], Operations: ['99-58=41', '51-3=48']
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,76 unequal: No Solution
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[3, 92], Operations: ['99-58=41', '51+41=92']
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,76 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[3, 99, 7], Operations: ['58-51=7']
Exploring Operation: 99-3=96, Resulting Numbers: [7, 96]
Generated Node #0,3,0: 76:[7, 96] Operation: 99-3=96
Exploring Operation: 99-7=92, Resulting Numbers: [3, 92]
Generated Node #0,3,1: 76:[3, 92] Operation: 99-7=92
Exploring Operation: 99/3=33, Resulting Numbers: [7, 33]
Generated Node #0,3,2: 76:[7, 33] Operation: 99/3=33
Exploring Operation: 7-3=4, Resulting Numbers: [99, 4]
Generated Node #0,3,3: 76:[99, 4] Operation: 7-3=4
Exploring Operation: 3*7=21, Resulting Numbers: [99, 21]
Generated Node #0,3,4: 76:[99, 21] Operation: 3*7=21
Moving to Node #0,3,2
Current State: 76:[7, 33], Operations: ['58-51=7', '99/3=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,76 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[3, 92], Operations: ['58-51=7', '99-7=92']
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,76 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[7, 96], Operations: ['58-51=7', '99-3=96']
Exploring Operation: 7*96=672, Resulting Numbers: [672]
672,76 unequal: No Solution
Exploring Operation: 7+96=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[99, 4], Operations: ['58-51=7', '7-3=4']
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,76 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[99, 21], Operations: ['58-51=7', '3*7=21']
Exploring Operation: 99+21=120, Resulting Numbers: [120]
120,76 unequal: No Solution
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 99*21=2079, Resulting Numbers: [2079]
2079,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[3, 58, 48], Operations: ['99-51=48']
Exploring Operation: 48-3=45, Resulting Numbers: [58, 45]
Generated Node #0,1,0: 76:[58, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [58, 16]
Generated Node #0,1,1: 76:[58, 16] Operation: 48/3=16
Exploring Operation: 58-3=55, Resulting Numbers: [48, 55]
Generated Node #0,1,2: 76:[48, 55] Operation: 58-3=55
Exploring Operation: 58-48=10, Resulting Numbers: [3, 10]
Generated Node #0,1,3: 76:[3, 10] Operation: 58-48=10
Exploring Operation: 3+58=61, Resulting Numbers: [48, 61]
Generated Node #0,1,4: 76:[48, 61] Operation: 3+58=61
Moving to Node #0,1,3
Current State: 76:[3, 10], Operations: ['99-51=48', '58-48=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[58, 16], Operations: ['99-51=48', '48/3=16']
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,76 unequal: No Solution
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[58, 45], Operations: ['99-51=48', '48-3=45']
Exploring Operation: 58+45=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 58*45=2610, Resulting Numbers: [2610]
2610,76 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[48, 61], Operations: ['99-51=48', '3+58=61']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,76 unequal: No Solution
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[48, 55], Operations: ['99-51=48', '58-3=55']
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,76 unequal: No Solution
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[51, 58, 33], Operations: ['99/3=33']
Exploring Operation: 58+33=91, Resulting Numbers: [51, 91]
Generated Node #0,2,0: 76:[51, 91] Operation: 58+33=91
Exploring Operation: 58-33=25, Resulting Numbers: [51, 25]
Generated Node #0,2,1: 76:[51, 25] Operation: 58-33=25
Exploring Operation: 51-33=18, Resulting Numbers: [58, 18]
Generated Node #0,2,2: 76:[58, 18] Operation: 51-33=18
Exploring Operation: 51+33=84, Resulting Numbers: [58, 84]
Generated Node #0,2,3: 76:[58, 84] Operation: 51+33=84
Exploring Operation: 58-51=7, Resulting Numbers: [33, 7]
Generated Node #0,2,4: 76:[33, 7] Operation: 58-51=7
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 76:[33, 7], Operations: ['99/3=33', '58-51=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,76 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[51, 25], Operations: ['99/3=33', '58-33=25']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,76 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[3, 51, 58, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [51, 58, 33]
Generated Node #0,2: 76:[51, 58, 33] Operation: 99/3=33
Moving to Node #0,2
Current State: 76:[51, 58, 33], Operations: ['99/3=33']
Exploring Operation: 58-33=25, Resulting Numbers: [51, 25]
Generated Node #0,2,1: 76:[51, 25] Operation: 58-33=25
Moving to Node #0,2,1
Current State: 76:[51, 25], Operations: ['99/3=33', '58-33=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.930556 | hs_5 | mult_heuristic |
[
42,
66,
18,
22
] | 68 | [
"42+66=108",
"18+22=40",
"108-40=68"
] | Current State: 68:[42, 66, 18, 22], Operations: []
Exploring Operation: 42+66=108, Resulting Numbers: [18, 22, 108]
Generated Node #2: [18, 22, 108] from Operation: 42+66=108
Current State: 68:[18, 22, 108], Operations: ['42+66=108']
Exploring Operation: 18+22=40, Resulting Numbers: [108, 40]
Generated Node #3: [108, 40] from Operation: 18+22=40
Current State: 68:[108, 40], Operations: ['42+66=108', '18+22=40']
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[42, 66, 18, 22], Operations: []
Exploring Operation: 42-22=20, Resulting Numbers: [66, 18, 20]
Generated Node #0,0: 68:[66, 18, 20] Operation: 42-22=20
Exploring Operation: 42+22=64, Resulting Numbers: [66, 18, 64]
Generated Node #0,1: 68:[66, 18, 64] Operation: 42+22=64
Exploring Operation: 22-18=4, Resulting Numbers: [42, 66, 4]
Generated Node #0,2: 68:[42, 66, 4] Operation: 22-18=4
Exploring Operation: 66/22=3, Resulting Numbers: [42, 18, 3]
Generated Node #0,3: 68:[42, 18, 3] Operation: 66/22=3
Moving to Node #0,0
Current State: 68:[66, 18, 20], Operations: ['42-22=20']
Exploring Operation: 66-20=46, Resulting Numbers: [18, 46]
Generated Node #0,0,0: 68:[18, 46] Operation: 66-20=46
Exploring Operation: 18+20=38, Resulting Numbers: [66, 38]
Generated Node #0,0,1: 68:[66, 38] Operation: 18+20=38
Exploring Operation: 66-18=48, Resulting Numbers: [20, 48]
Generated Node #0,0,2: 68:[20, 48] Operation: 66-18=48
Exploring Operation: 20-18=2, Resulting Numbers: [66, 2]
Generated Node #0,0,3: 68:[66, 2] Operation: 20-18=2
Moving to Node #0,1
Current State: 68:[66, 18, 64], Operations: ['42+22=64']
Exploring Operation: 66-64=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 68:[18, 2] Operation: 66-64=2
Exploring Operation: 66-18=48, Resulting Numbers: [64, 48]
Generated Node #0,1,1: 68:[64, 48] Operation: 66-18=48
Exploring Operation: 64-18=46, Resulting Numbers: [66, 46]
Generated Node #0,1,2: 68:[66, 46] Operation: 64-18=46
Exploring Operation: 18+64=82, Resulting Numbers: [66, 82]
Generated Node #0,1,3: 68:[66, 82] Operation: 18+64=82
Moving to Node #0,3
Current State: 68:[42, 18, 3], Operations: ['66/22=3']
Exploring Operation: 42-18=24, Resulting Numbers: [3, 24]
Generated Node #0,3,0: 68:[3, 24] Operation: 42-18=24
Exploring Operation: 42/3=14, Resulting Numbers: [18, 14]
Generated Node #0,3,1: 68:[18, 14] Operation: 42/3=14
Exploring Operation: 42+18=60, Resulting Numbers: [3, 60]
Generated Node #0,3,2: 68:[3, 60] Operation: 42+18=60
Exploring Operation: 42-3=39, Resulting Numbers: [18, 39]
Generated Node #0,3,3: 68:[18, 39] Operation: 42-3=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[18, 14], Operations: ['66/22=3', '42/3=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,68 unequal: No Solution
No 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: 68:[18, 39], Operations: ['66/22=3', '42-3=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,68 unequal: No Solution
No 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: 68:[3, 24], Operations: ['66/22=3', '42-18=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,68 unequal: No Solution
No 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: 68:[3, 60], Operations: ['66/22=3', '42+18=60']
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,68 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,68 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: 68:[42, 66, 4], Operations: ['22-18=4']
Exploring Operation: 42+4=46, Resulting Numbers: [66, 46]
Generated Node #0,2,0: 68:[66, 46] Operation: 42+4=46
Exploring Operation: 42-4=38, Resulting Numbers: [66, 38]
Generated Node #0,2,1: 68:[66, 38] Operation: 42-4=38
Exploring Operation: 66+4=70, Resulting Numbers: [42, 70]
Generated Node #0,2,2: 68:[42, 70] Operation: 66+4=70
Exploring Operation: 66-42=24, Resulting Numbers: [4, 24]
Generated Node #0,2,3: 68:[4, 24] Operation: 66-42=24
Moving to Node #0,1,0
Current State: 68:[18, 2], Operations: ['42+22=64', '66-64=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[66, 2], Operations: ['42-22=20', '20-18=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[42, 66, 18, 22], Operations: []
Exploring Operation: 42-22=20, Resulting Numbers: [66, 18, 20]
Generated Node #0,0: 68:[66, 18, 20] Operation: 42-22=20
Moving to Node #0,0
Current State: 68:[66, 18, 20], Operations: ['42-22=20']
Exploring Operation: 20-18=2, Resulting Numbers: [66, 2]
Generated Node #0,0,3: 68:[66, 2] Operation: 20-18=2
Moving to Node #0,0,3
Current State: 68:[66, 2], Operations: ['42-22=20', '20-18=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.961806 | hs_4 | mult_heuristic |
[
81,
48,
19,
2
] | 71 | [
"81-48=33",
"19*2=38",
"33+38=71"
] | Current State: 71:[81, 48, 19, 2], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [19, 2, 33]
Generated Node #2: [19, 2, 33] from Operation: 81-48=33
Current State: 71:[19, 2, 33], Operations: ['81-48=33']
Exploring Operation: 19*2=38, Resulting Numbers: [33, 38]
Generated Node #3: [33, 38] from Operation: 19*2=38
Current State: 71:[33, 38], Operations: ['81-48=33', '19*2=38']
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[81, 48, 19, 2], Operations: []
Exploring Operation: 48+2=50, Resulting Numbers: [81, 19, 50]
Generated Node #0,0: 71:[81, 19, 50] Operation: 48+2=50
Exploring Operation: 19*2=38, Resulting Numbers: [81, 48, 38]
Generated Node #0,1: 71:[81, 48, 38] Operation: 19*2=38
Exploring Operation: 81-2=79, Resulting Numbers: [48, 19, 79]
Generated Node #0,2: 71:[48, 19, 79] Operation: 81-2=79
Exploring Operation: 48+19=67, Resulting Numbers: [81, 2, 67]
Generated Node #0,3: 71:[81, 2, 67] Operation: 48+19=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[81, 48, 38], Operations: ['19*2=38']
Exploring Operation: 81-38=43, Resulting Numbers: [48, 43]
Generated Node #0,1,0: 71:[48, 43] Operation: 81-38=43
Exploring Operation: 81-48=33, Resulting Numbers: [38, 33]
Generated Node #0,1,1: 71:[38, 33] Operation: 81-48=33
Exploring Operation: 48+38=86, Resulting Numbers: [81, 86]
Generated Node #0,1,2: 71:[81, 86] Operation: 48+38=86
Exploring Operation: 81+38=119, Resulting Numbers: [48, 119]
Generated Node #0,1,3: 71:[48, 119] Operation: 81+38=119
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[81, 86], Operations: ['19*2=38', '48+38=86']
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,71 unequal: No Solution
Exploring Operation: 81*86=6966, Resulting Numbers: [6966]
6966,71 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[48, 43], Operations: ['19*2=38', '81-38=43']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[38, 33], Operations: ['19*2=38', '81-48=33']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,71 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[81, 48, 19, 2], Operations: []
Exploring Operation: 19*2=38, Resulting Numbers: [81, 48, 38]
Generated Node #0,1: 71:[81, 48, 38] Operation: 19*2=38
Moving to Node #0,1
Current State: 71:[81, 48, 38], Operations: ['19*2=38']
Exploring Operation: 81-48=33, Resulting Numbers: [38, 33]
Generated Node #0,1,1: 71:[38, 33] Operation: 81-48=33
Moving to Node #0,1,1
Current State: 71:[38, 33], Operations: ['19*2=38', '81-48=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
30,
32,
73,
33
] | 23 | [
"33-30=3",
"32*3=96",
"96-73=23"
] | Current State: 23:[30, 32, 73, 33], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [32, 73, 3]
Generated Node #2: [32, 73, 3] from Operation: 33-30=3
Current State: 23:[32, 73, 3], Operations: ['33-30=3']
Exploring Operation: 32*3=96, Resulting Numbers: [73, 96]
Generated Node #3: [73, 96] from Operation: 32*3=96
Current State: 23:[73, 96], Operations: ['33-30=3', '32*3=96']
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[30, 32, 73, 33], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [30, 32, 40]
Generated Node #0,0: 23:[30, 32, 40] Operation: 73-33=40
Exploring Operation: 73-32=41, Resulting Numbers: [30, 33, 41]
Generated Node #0,1: 23:[30, 33, 41] Operation: 73-32=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[30, 32, 40], Operations: ['73-33=40']
Exploring Operation: 40-32=8, Resulting Numbers: [30, 8]
Generated Node #0,0,0: 23:[30, 8] Operation: 40-32=8
Exploring Operation: 40-30=10, Resulting Numbers: [32, 10]
Generated Node #0,0,1: 23:[32, 10] Operation: 40-30=10
Moving to Node #0,0,0
Current State: 23:[30, 8], Operations: ['73-33=40', '40-32=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[32, 10], Operations: ['73-33=40', '40-30=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[30, 33, 41], Operations: ['73-32=41']
Exploring Operation: 41-30=11, Resulting Numbers: [33, 11]
Generated Node #0,1,0: 23:[33, 11] Operation: 41-30=11
Exploring Operation: 41-33=8, Resulting Numbers: [30, 8]
Generated Node #0,1,1: 23:[30, 8] Operation: 41-33=8
Moving to Node #0,1,0
Current State: 23:[33, 11], Operations: ['73-32=41', '41-30=11']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[30, 8], Operations: ['73-32=41', '41-33=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 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 |
[
29,
49,
20,
18
] | 17 | [
"49-29=20",
"20/20=1",
"18-1=17"
] | Current State: 17:[29, 49, 20, 18], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [20, 18, 20]
Generated Node #2: [20, 18, 20] from Operation: 49-29=20
Current State: 17:[20, 18, 20], Operations: ['49-29=20']
Exploring Operation: 20/20=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 20/20=1
Current State: 17:[18, 1], Operations: ['49-29=20', '20/20=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[29, 49, 20, 18], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [20, 18, 20]
Generated Node #0,0: 17:[20, 18, 20] Operation: 49-29=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[20, 18, 20], Operations: ['49-29=20']
Exploring Operation: 20/20=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 17:[18, 1] Operation: 20/20=1
Moving to Node #0,0,0
Current State: 17:[18, 1], Operations: ['49-29=20', '20/20=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[29, 49, 20, 18], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [20, 18, 20]
Generated Node #0,0: 17:[20, 18, 20] Operation: 49-29=20
Moving to Node #0,0
Current State: 17:[20, 18, 20], Operations: ['49-29=20']
Exploring Operation: 20/20=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 17:[18, 1] Operation: 20/20=1
Moving to Node #0,0,0
Current State: 17:[18, 1], Operations: ['49-29=20', '20/20=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
81,
1,
83,
86
] | 83 | [
"81-1=80",
"86-83=3",
"80+3=83"
] | Current State: 83:[81, 1, 83, 86], Operations: []
Exploring Operation: 81-1=80, Resulting Numbers: [83, 86, 80]
Generated Node #2: [83, 86, 80] from Operation: 81-1=80
Current State: 83:[83, 86, 80], Operations: ['81-1=80']
Exploring Operation: 86-83=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 86-83=3
Current State: 83:[80, 3], Operations: ['81-1=80', '86-83=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[81, 1, 83, 86], Operations: []
Exploring Operation: 81*1=81, Resulting Numbers: [83, 86, 81]
Generated Node #0,0: 83:[83, 86, 81] Operation: 81*1=81
Exploring Operation: 86-1=85, Resulting Numbers: [81, 83, 85]
Generated Node #0,1: 83:[81, 83, 85] Operation: 86-1=85
Exploring Operation: 81/1=81, Resulting Numbers: [83, 86, 81]
Generated Node #0,2: 83:[83, 86, 81] Operation: 81/1=81
Exploring Operation: 81+1=82, Resulting Numbers: [83, 86, 82]
Generated Node #0,3: 83:[83, 86, 82] Operation: 81+1=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[81, 83, 85], Operations: ['86-1=85']
Exploring Operation: 83-81=2, Resulting Numbers: [85, 2]
Generated Node #0,1,0: 83:[85, 2] Operation: 83-81=2
Exploring Operation: 81+83=164, Resulting Numbers: [85, 164]
Generated Node #0,1,1: 83:[85, 164] Operation: 81+83=164
Exploring Operation: 85-81=4, Resulting Numbers: [83, 4]
Generated Node #0,1,2: 83:[83, 4] Operation: 85-81=4
Exploring Operation: 81+85=166, Resulting Numbers: [83, 166]
Generated Node #0,1,3: 83:[83, 166] Operation: 81+85=166
Moving to Node #0,1,2
Current State: 83:[83, 4], Operations: ['86-1=85', '85-81=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[85, 164], Operations: ['86-1=85', '81+83=164']
Exploring Operation: 85+164=249, Resulting Numbers: [249]
249,83 unequal: No Solution
Exploring Operation: 164-85=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 85*164=13940, Resulting Numbers: [13940]
13940,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[85, 2], Operations: ['86-1=85', '83-81=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[81, 1, 83, 86], Operations: []
Exploring Operation: 86-1=85, Resulting Numbers: [81, 83, 85]
Generated Node #0,1: 83:[81, 83, 85] Operation: 86-1=85
Moving to Node #0,1
Current State: 83:[81, 83, 85], Operations: ['86-1=85']
Exploring Operation: 83-81=2, Resulting Numbers: [85, 2]
Generated Node #0,1,0: 83:[85, 2] Operation: 83-81=2
Moving to Node #0,1,0
Current State: 83:[85, 2], Operations: ['86-1=85', '83-81=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
83,
10,
61,
15
] | 47 | [
"83+10=93",
"61-15=46",
"93-46=47"
] | Current State: 47:[83, 10, 61, 15], Operations: []
Exploring Operation: 83+10=93, Resulting Numbers: [61, 15, 93]
Generated Node #2: [61, 15, 93] from Operation: 83+10=93
Current State: 47:[61, 15, 93], Operations: ['83+10=93']
Exploring Operation: 61-15=46, Resulting Numbers: [93, 46]
Generated Node #3: [93, 46] from Operation: 61-15=46
Current State: 47:[93, 46], Operations: ['83+10=93', '61-15=46']
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[83, 10, 61, 15], Operations: []
Exploring Operation: 83-10=73, Resulting Numbers: [61, 15, 73]
Generated Node #0,0: 47:[61, 15, 73] Operation: 83-10=73
Exploring Operation: 61-10=51, Resulting Numbers: [83, 15, 51]
Generated Node #0,1: 47:[83, 15, 51] Operation: 61-10=51
Exploring Operation: 83-15=68, Resulting Numbers: [10, 61, 68]
Generated Node #0,2: 47:[10, 61, 68] Operation: 83-15=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[61, 15, 73], Operations: ['83-10=73']
Exploring Operation: 61+15=76, Resulting Numbers: [73, 76]
Generated Node #0,0,0: 47:[73, 76] Operation: 61+15=76
Exploring Operation: 61-15=46, Resulting Numbers: [73, 46]
Generated Node #0,0,1: 47:[73, 46] Operation: 61-15=46
Exploring Operation: 73-15=58, Resulting Numbers: [61, 58]
Generated Node #0,0,2: 47:[61, 58] Operation: 73-15=58
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[61, 58], Operations: ['83-10=73', '73-15=58']
Exploring Operation: 61*58=3538, Resulting Numbers: [3538]
3538,47 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 61+58=119, Resulting Numbers: [119]
119,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[73, 46], Operations: ['83-10=73', '61-15=46']
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,47 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[73, 76], Operations: ['83-10=73', '61+15=76']
Exploring Operation: 73+76=149, Resulting Numbers: [149]
149,47 unequal: No Solution
Exploring Operation: 73*76=5548, Resulting Numbers: [5548]
5548,47 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[83, 15, 51], Operations: ['61-10=51']
Exploring Operation: 83-51=32, Resulting Numbers: [15, 32]
Generated Node #0,1,0: 47:[15, 32] Operation: 83-51=32
Exploring Operation: 83-15=68, Resulting Numbers: [51, 68]
Generated Node #0,1,1: 47:[51, 68] Operation: 83-15=68
Exploring Operation: 51-15=36, Resulting Numbers: [83, 36]
Generated Node #0,1,2: 47:[83, 36] Operation: 51-15=36
Moving to Node #0,1,1
Current State: 47:[51, 68], Operations: ['61-10=51', '83-15=68']
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,47 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[15, 32], Operations: ['61-10=51', '83-51=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[83, 10, 61, 15], Operations: []
Exploring Operation: 61-10=51, Resulting Numbers: [83, 15, 51]
Generated Node #0,1: 47:[83, 15, 51] Operation: 61-10=51
Moving to Node #0,1
Current State: 47:[83, 15, 51], Operations: ['61-10=51']
Exploring Operation: 83-51=32, Resulting Numbers: [15, 32]
Generated Node #0,1,0: 47:[15, 32] Operation: 83-51=32
Moving to Node #0,1,0
Current State: 47:[15, 32], Operations: ['61-10=51', '83-51=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
17,
55,
93,
19
] | 56 | [
"55*19=1045",
"1045-93=952",
"952/17=56"
] | Current State: 56:[17, 55, 93, 19], Operations: []
Exploring Operation: 55*19=1045, Resulting Numbers: [17, 93, 1045]
Generated Node #2: [17, 93, 1045] from Operation: 55*19=1045
Current State: 56:[17, 93, 1045], Operations: ['55*19=1045']
Exploring Operation: 1045-93=952, Resulting Numbers: [17, 952]
Generated Node #3: [17, 952] from Operation: 1045-93=952
Current State: 56:[17, 952], Operations: ['55*19=1045', '1045-93=952']
Exploring Operation: 952/17=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[17, 55, 93, 19], Operations: []
Exploring Operation: 93-19=74, Resulting Numbers: [17, 55, 74]
Generated Node #0,0: 56:[17, 55, 74] Operation: 93-19=74
Exploring Operation: 19-17=2, Resulting Numbers: [55, 93, 2]
Generated Node #0,1: 56:[55, 93, 2] Operation: 19-17=2
Exploring Operation: 93-55=38, Resulting Numbers: [17, 19, 38]
Generated Node #0,2: 56:[17, 19, 38] Operation: 93-55=38
Exploring Operation: 93-17=76, Resulting Numbers: [55, 19, 76]
Generated Node #0,3: 56:[55, 19, 76] Operation: 93-17=76
Moving to Node #0,2
Current State: 56:[17, 19, 38], Operations: ['93-55=38']
Exploring Operation: 17+38=55, Resulting Numbers: [19, 55]
Generated Node #0,2,0: 56:[19, 55] Operation: 17+38=55
Exploring Operation: 38/19=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 56:[17, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [17, 19]
Generated Node #0,2,2: 56:[17, 19] Operation: 38-19=19
Exploring Operation: 19+38=57, Resulting Numbers: [17, 57]
Generated Node #0,2,3: 56:[17, 57] Operation: 19+38=57
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[17, 2], Operations: ['93-55=38', '38/19=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[17, 57], Operations: ['93-55=38', '19+38=57']
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,56 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,56 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[19, 55], Operations: ['93-55=38', '17+38=55']
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,56 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[17, 19], Operations: ['93-55=38', '38-19=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,56 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: 56:[17, 55, 74], Operations: ['93-19=74']
Exploring Operation: 17+55=72, Resulting Numbers: [74, 72]
Generated Node #0,0,0: 56:[74, 72] Operation: 17+55=72
Exploring Operation: 55-17=38, Resulting Numbers: [74, 38]
Generated Node #0,0,1: 56:[74, 38] Operation: 55-17=38
Exploring Operation: 74-17=57, Resulting Numbers: [55, 57]
Generated Node #0,0,2: 56:[55, 57] Operation: 74-17=57
Exploring Operation: 74-55=19, Resulting Numbers: [17, 19]
Generated Node #0,0,3: 56:[17, 19] Operation: 74-55=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[55, 57], Operations: ['93-19=74', '74-17=57']
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,56 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,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,3
Current State: 56:[17, 19], Operations: ['93-19=74', '74-55=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,56 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,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,1
Current State: 56:[74, 38], Operations: ['93-19=74', '55-17=38']
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,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,0
Current State: 56:[74, 72], Operations: ['93-19=74', '17+55=72']
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,56 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,56 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: 56:[55, 19, 76], Operations: ['93-17=76']
Exploring Operation: 76-55=21, Resulting Numbers: [19, 21]
Generated Node #0,3,0: 56:[19, 21] Operation: 76-55=21
Exploring Operation: 76-19=57, Resulting Numbers: [55, 57]
Generated Node #0,3,1: 56:[55, 57] Operation: 76-19=57
Exploring Operation: 76/19=4, Resulting Numbers: [55, 4]
Generated Node #0,3,2: 56:[55, 4] Operation: 76/19=4
Exploring Operation: 55-19=36, Resulting Numbers: [76, 36]
Generated Node #0,3,3: 56:[76, 36] Operation: 55-19=36
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[55, 4], Operations: ['93-17=76', '76/19=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,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,3,1
Current State: 56:[55, 57], Operations: ['93-17=76', '76-19=57']
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,56 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,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,3,0
Current State: 56:[19, 21], Operations: ['93-17=76', '76-55=21']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,56 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,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,3,3
Current State: 56:[76, 36], Operations: ['93-17=76', '55-19=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,56 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,56 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: 56:[55, 93, 2], Operations: ['19-17=2']
Exploring Operation: 55+2=57, Resulting Numbers: [93, 57]
Generated Node #0,1,0: 56:[93, 57] Operation: 55+2=57
Exploring Operation: 93-2=91, Resulting Numbers: [55, 91]
Generated Node #0,1,1: 56:[55, 91] Operation: 93-2=91
Exploring Operation: 93-55=38, Resulting Numbers: [2, 38]
Generated Node #0,1,2: 56:[2, 38] Operation: 93-55=38
Exploring Operation: 55-2=53, Resulting Numbers: [93, 53]
Generated Node #0,1,3: 56:[93, 53] Operation: 55-2=53
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[2, 38], Operations: ['19-17=2', '93-55=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,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,1,1
Current State: 56:[55, 91], Operations: ['19-17=2', '93-2=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,56 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,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,1,0
Current State: 56:[93, 57], Operations: ['19-17=2', '55+2=57']
Exploring Operation: 93*57=5301, Resulting Numbers: [5301]
5301,56 unequal: No Solution
Exploring Operation: 93+57=150, Resulting Numbers: [150]
150,56 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,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,1,3
Current State: 56:[93, 53], Operations: ['19-17=2', '55-2=53']
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,56 unequal: No Solution
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
45,
99,
56,
58
] | 27 | [
"99-45=54",
"58-56=2",
"54/2=27"
] | Current State: 27:[45, 99, 56, 58], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [56, 58, 54]
Generated Node #2: [56, 58, 54] from Operation: 99-45=54
Current State: 27:[56, 58, 54], Operations: ['99-45=54']
Exploring Operation: 58-56=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 58-56=2
Current State: 27:[54, 2], Operations: ['99-45=54', '58-56=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[45, 99, 56, 58], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [45, 58, 43]
Generated Node #0,0: 27:[45, 58, 43] Operation: 99-56=43
Exploring Operation: 99-58=41, Resulting Numbers: [45, 56, 41]
Generated Node #0,1: 27:[45, 56, 41] Operation: 99-58=41
Exploring Operation: 58-56=2, Resulting Numbers: [45, 99, 2]
Generated Node #0,2: 27:[45, 99, 2] Operation: 58-56=2
Exploring Operation: 99-45=54, Resulting Numbers: [56, 58, 54]
Generated Node #0,3: 27:[56, 58, 54] Operation: 99-45=54
Exploring Operation: 56-45=11, Resulting Numbers: [99, 58, 11]
Generated Node #0,4: 27:[99, 58, 11] Operation: 56-45=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[45, 56, 41], Operations: ['99-58=41']
Exploring Operation: 56-45=11, Resulting Numbers: [41, 11]
Generated Node #0,1,0: 27:[41, 11] Operation: 56-45=11
Exploring Operation: 45+56=101, Resulting Numbers: [41, 101]
Generated Node #0,1,1: 27:[41, 101] Operation: 45+56=101
Exploring Operation: 45+41=86, Resulting Numbers: [56, 86]
Generated Node #0,1,2: 27:[56, 86] Operation: 45+41=86
Exploring Operation: 45-41=4, Resulting Numbers: [56, 4]
Generated Node #0,1,3: 27:[56, 4] Operation: 45-41=4
Exploring Operation: 56-41=15, Resulting Numbers: [45, 15]
Generated Node #0,1,4: 27:[45, 15] Operation: 56-41=15
Moving to Node #0,1,0
Current State: 27:[41, 11], Operations: ['99-58=41', '56-45=11']
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,27 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[45, 15], Operations: ['99-58=41', '56-41=15']
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 45*15=675, Resulting Numbers: [675]
675,27 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[56, 4], Operations: ['99-58=41', '45-41=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[41, 101], Operations: ['99-58=41', '45+56=101']
Exploring Operation: 41+101=142, Resulting Numbers: [142]
142,27 unequal: No Solution
Exploring Operation: 101-41=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 41*101=4141, Resulting Numbers: [4141]
4141,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[56, 86], Operations: ['99-58=41', '45+41=86']
Exploring Operation: 56+86=142, Resulting Numbers: [142]
142,27 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 56*86=4816, Resulting Numbers: [4816]
4816,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[45, 58, 43], Operations: ['99-56=43']
Exploring Operation: 45+43=88, Resulting Numbers: [58, 88]
Generated Node #0,0,0: 27:[58, 88] Operation: 45+43=88
Exploring Operation: 45-43=2, Resulting Numbers: [58, 2]
Generated Node #0,0,1: 27:[58, 2] Operation: 45-43=2
Exploring Operation: 45+58=103, Resulting Numbers: [43, 103]
Generated Node #0,0,2: 27:[43, 103] Operation: 45+58=103
Exploring Operation: 58-43=15, Resulting Numbers: [45, 15]
Generated Node #0,0,3: 27:[45, 15] Operation: 58-43=15
Exploring Operation: 58-45=13, Resulting Numbers: [43, 13]
Generated Node #0,0,4: 27:[43, 13] Operation: 58-45=13
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 27:[43, 13], Operations: ['99-56=43', '58-45=13']
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,27 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[45, 15], Operations: ['99-56=43', '58-43=15']
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 45*15=675, Resulting Numbers: [675]
675,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[58, 2], Operations: ['99-56=43', '45-43=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,27 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[58, 88], Operations: ['99-56=43', '45+43=88']
Exploring Operation: 58*88=5104, Resulting Numbers: [5104]
5104,27 unequal: No Solution
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 58+88=146, Resulting Numbers: [146]
146,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[43, 103], Operations: ['99-56=43', '45+58=103']
Exploring Operation: 103-43=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 43*103=4429, Resulting Numbers: [4429]
4429,27 unequal: No Solution
Exploring Operation: 43+103=146, Resulting Numbers: [146]
146,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[56, 58, 54], Operations: ['99-45=54']
Exploring Operation: 58-54=4, Resulting Numbers: [56, 4]
Generated Node #0,3,0: 27:[56, 4] Operation: 58-54=4
Exploring Operation: 56-54=2, Resulting Numbers: [58, 2]
Generated Node #0,3,1: 27:[58, 2] Operation: 56-54=2
Exploring Operation: 58-56=2, Resulting Numbers: [54, 2]
Generated Node #0,3,2: 27:[54, 2] Operation: 58-56=2
Exploring Operation: 56+58=114, Resulting Numbers: [54, 114]
Generated Node #0,3,3: 27:[54, 114] Operation: 56+58=114
Exploring Operation: 56+54=110, Resulting Numbers: [58, 110]
Generated Node #0,3,4: 27:[58, 110] Operation: 56+54=110
Moving to Node #0,3,2
Current State: 27:[54, 2], Operations: ['99-45=54', '58-56=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[45, 99, 56, 58], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [56, 58, 54]
Generated Node #0,3: 27:[56, 58, 54] Operation: 99-45=54
Moving to Node #0,3
Current State: 27:[56, 58, 54], Operations: ['99-45=54']
Exploring Operation: 58-56=2, Resulting Numbers: [54, 2]
Generated Node #0,3,2: 27:[54, 2] Operation: 58-56=2
Moving to Node #0,3,2
Current State: 27:[54, 2], Operations: ['99-45=54', '58-56=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | sum_heuristic |
[
12,
74,
30,
8
] | 26 | [
"12-8=4",
"74+30=104",
"104/4=26"
] | Current State: 26:[12, 74, 30, 8], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [74, 30, 4]
Generated Node #2: [74, 30, 4] from Operation: 12-8=4
Current State: 26:[74, 30, 4], Operations: ['12-8=4']
Exploring Operation: 74+30=104, Resulting Numbers: [4, 104]
Generated Node #3: [4, 104] from Operation: 74+30=104
Current State: 26:[4, 104], Operations: ['12-8=4', '74+30=104']
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[12, 74, 30, 8], Operations: []
Exploring Operation: 74-12=62, Resulting Numbers: [30, 8, 62]
Generated Node #0,0: 26:[30, 8, 62] Operation: 74-12=62
Exploring Operation: 74-30=44, Resulting Numbers: [12, 8, 44]
Generated Node #0,1: 26:[12, 8, 44] Operation: 74-30=44
Moving to Node #0,1
Current State: 26:[12, 8, 44], Operations: ['74-30=44']
Exploring Operation: 44-12=32, Resulting Numbers: [8, 32]
Generated Node #0,1,0: 26:[8, 32] Operation: 44-12=32
Exploring Operation: 44-8=36, Resulting Numbers: [12, 36]
Generated Node #0,1,1: 26:[12, 36] Operation: 44-8=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[8, 32], Operations: ['74-30=44', '44-12=32']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[12, 36], Operations: ['74-30=44', '44-8=36']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,26 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: 26:[30, 8, 62], Operations: ['74-12=62']
Exploring Operation: 62-30=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 26:[8, 32] Operation: 62-30=32
Exploring Operation: 62-8=54, Resulting Numbers: [30, 54]
Generated Node #0,0,1: 26:[30, 54] Operation: 62-8=54
Moving to Node #0,0,0
Current State: 26:[8, 32], Operations: ['74-12=62', '62-30=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[30, 54], Operations: ['74-12=62', '62-8=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
47,
83,
6
] | 31 | [
"66-47=19",
"6*19=114",
"114-83=31"
] | Current State: 31:[66, 47, 83, 6], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [83, 6, 19]
Generated Node #2: [83, 6, 19] from Operation: 66-47=19
Current State: 31:[83, 6, 19], Operations: ['66-47=19']
Exploring Operation: 6*19=114, Resulting Numbers: [83, 114]
Generated Node #3: [83, 114] from Operation: 6*19=114
Current State: 31:[83, 114], Operations: ['66-47=19', '6*19=114']
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[66, 47, 83, 6], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [66, 6, 36]
Generated Node #0,0: 31:[66, 6, 36] Operation: 83-47=36
Exploring Operation: 66/6=11, Resulting Numbers: [47, 83, 11]
Generated Node #0,1: 31:[47, 83, 11] Operation: 66/6=11
Exploring Operation: 66-47=19, Resulting Numbers: [83, 6, 19]
Generated Node #0,2: 31:[83, 6, 19] Operation: 66-47=19
Exploring Operation: 83-66=17, Resulting Numbers: [47, 6, 17]
Generated Node #0,3: 31:[47, 6, 17] Operation: 83-66=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[47, 6, 17], Operations: ['83-66=17']
Exploring Operation: 47-17=30, Resulting Numbers: [6, 30]
Generated Node #0,3,0: 31:[6, 30] Operation: 47-17=30
Exploring Operation: 47+6=53, Resulting Numbers: [17, 53]
Generated Node #0,3,1: 31:[17, 53] Operation: 47+6=53
Exploring Operation: 6+17=23, Resulting Numbers: [47, 23]
Generated Node #0,3,2: 31:[47, 23] Operation: 6+17=23
Exploring Operation: 47-6=41, Resulting Numbers: [17, 41]
Generated Node #0,3,3: 31:[17, 41] Operation: 47-6=41
Moving to Node #0,3,2
Current State: 31:[47, 23], Operations: ['83-66=17', '6+17=23']
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[17, 41], Operations: ['83-66=17', '47-6=41']
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,31 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[6, 30], Operations: ['83-66=17', '47-17=30']
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,31 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[17, 53], Operations: ['83-66=17', '47+6=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,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
Current State: 31:[66, 6, 36], Operations: ['83-47=36']
Exploring Operation: 66-36=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 31:[6, 30] Operation: 66-36=30
Exploring Operation: 36-6=30, Resulting Numbers: [66, 30]
Generated Node #0,0,1: 31:[66, 30] Operation: 36-6=30
Exploring Operation: 66-6=60, Resulting Numbers: [36, 60]
Generated Node #0,0,2: 31:[36, 60] Operation: 66-6=60
Exploring Operation: 66/6=11, Resulting Numbers: [36, 11]
Generated Node #0,0,3: 31:[36, 11] Operation: 66/6=11
Moving to Node #0,0,3
Current State: 31:[36, 11], Operations: ['83-47=36', '66/6=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[6, 30], Operations: ['83-47=36', '66-36=30']
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,31 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[36, 60], Operations: ['83-47=36', '66-6=60']
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,31 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[66, 30], Operations: ['83-47=36', '36-6=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,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,1
Current State: 31:[47, 83, 11], Operations: ['66/6=11']
Exploring Operation: 83-11=72, Resulting Numbers: [47, 72]
Generated Node #0,1,0: 31:[47, 72] Operation: 83-11=72
Exploring Operation: 47-11=36, Resulting Numbers: [83, 36]
Generated Node #0,1,1: 31:[83, 36] Operation: 47-11=36
Exploring Operation: 83-47=36, Resulting Numbers: [11, 36]
Generated Node #0,1,2: 31:[11, 36] Operation: 83-47=36
Exploring Operation: 47+11=58, Resulting Numbers: [83, 58]
Generated Node #0,1,3: 31:[83, 58] Operation: 47+11=58
Moving to Node #0,1,2
Current State: 31:[11, 36], Operations: ['66/6=11', '83-47=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[83, 36], Operations: ['66/6=11', '47-11=36']
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,31 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[47, 72], Operations: ['66/6=11', '83-11=72']
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,31 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[83, 58], Operations: ['66/6=11', '47+11=58']
Exploring Operation: 83+58=141, Resulting Numbers: [141]
141,31 unequal: No Solution
Exploring Operation: 83*58=4814, Resulting Numbers: [4814]
4814,31 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,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,2
Current State: 31:[83, 6, 19], Operations: ['66-47=19']
Exploring Operation: 83+6=89, Resulting Numbers: [19, 89]
Generated Node #0,2,0: 31:[19, 89] Operation: 83+6=89
Exploring Operation: 83-6=77, Resulting Numbers: [19, 77]
Generated Node #0,2,1: 31:[19, 77] Operation: 83-6=77
Exploring Operation: 83-19=64, Resulting Numbers: [6, 64]
Generated Node #0,2,2: 31:[6, 64] Operation: 83-19=64
Exploring Operation: 6+19=25, Resulting Numbers: [83, 25]
Generated Node #0,2,3: 31:[83, 25] Operation: 6+19=25
Moving to Node #0,2,1
Current State: 31:[19, 77], Operations: ['66-47=19', '83-6=77']
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,31 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[83, 25], Operations: ['66-47=19', '6+19=25']
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,31 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[6, 64], Operations: ['66-47=19', '83-19=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[19, 89], Operations: ['66-47=19', '83+6=89']
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,31 unequal: No Solution
Exploring Operation: 19*89=1691, Resulting Numbers: [1691]
1691,31 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,31 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 |
[
21,
26,
25,
89
] | 59 | [
"26-21=5",
"89-25=64",
"64-5=59"
] | Current State: 59:[21, 26, 25, 89], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [25, 89, 5]
Generated Node #2: [25, 89, 5] from Operation: 26-21=5
Current State: 59:[25, 89, 5], Operations: ['26-21=5']
Exploring Operation: 89-25=64, Resulting Numbers: [5, 64]
Generated Node #3: [5, 64] from Operation: 89-25=64
Current State: 59:[5, 64], Operations: ['26-21=5', '89-25=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[21, 26, 25, 89], Operations: []
Exploring Operation: 21+26=47, Resulting Numbers: [25, 89, 47]
Generated Node #0,0: 59:[25, 89, 47] Operation: 21+26=47
Exploring Operation: 26+25=51, Resulting Numbers: [21, 89, 51]
Generated Node #0,1: 59:[21, 89, 51] Operation: 26+25=51
Exploring Operation: 21+25=46, Resulting Numbers: [26, 89, 46]
Generated Node #0,2: 59:[26, 89, 46] Operation: 21+25=46
Exploring Operation: 89-26=63, Resulting Numbers: [21, 25, 63]
Generated Node #0,3: 59:[21, 25, 63] Operation: 89-26=63
Exploring Operation: 89-21=68, Resulting Numbers: [26, 25, 68]
Generated Node #0,4: 59:[26, 25, 68] Operation: 89-21=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[25, 89, 47], Operations: ['21+26=47']
Exploring Operation: 89-25=64, Resulting Numbers: [47, 64]
Generated Node #0,0,0: 59:[47, 64] Operation: 89-25=64
Exploring Operation: 25+89=114, Resulting Numbers: [47, 114]
Generated Node #0,0,1: 59:[47, 114] Operation: 25+89=114
Exploring Operation: 89-47=42, Resulting Numbers: [25, 42]
Generated Node #0,0,2: 59:[25, 42] Operation: 89-47=42
Exploring Operation: 25+47=72, Resulting Numbers: [89, 72]
Generated Node #0,0,3: 59:[89, 72] Operation: 25+47=72
Exploring Operation: 47-25=22, Resulting Numbers: [89, 22]
Generated Node #0,0,4: 59:[89, 22] Operation: 47-25=22
Moving to Node #0,0,0
Current State: 59:[47, 64], Operations: ['21+26=47', '89-25=64']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,59 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[89, 72], Operations: ['21+26=47', '25+47=72']
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,59 unequal: No Solution
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[25, 42], Operations: ['21+26=47', '89-47=42']
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,59 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[47, 114], Operations: ['21+26=47', '25+89=114']
Exploring Operation: 114-47=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 47*114=5358, Resulting Numbers: [5358]
5358,59 unequal: No Solution
Exploring Operation: 47+114=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[89, 22], Operations: ['21+26=47', '47-25=22']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[21, 89, 51], Operations: ['26+25=51']
Exploring Operation: 51-21=30, Resulting Numbers: [89, 30]
Generated Node #0,1,0: 59:[89, 30] Operation: 51-21=30
Exploring Operation: 21+89=110, Resulting Numbers: [51, 110]
Generated Node #0,1,1: 59:[51, 110] Operation: 21+89=110
Exploring Operation: 21+51=72, Resulting Numbers: [89, 72]
Generated Node #0,1,2: 59:[89, 72] Operation: 21+51=72
Exploring Operation: 89-51=38, Resulting Numbers: [21, 38]
Generated Node #0,1,3: 59:[21, 38] Operation: 89-51=38
Exploring Operation: 89-21=68, Resulting Numbers: [51, 68]
Generated Node #0,1,4: 59:[51, 68] Operation: 89-21=68
Moving to Node #0,1,4
Current State: 59:[51, 68], Operations: ['26+25=51', '89-21=68']
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[89, 72], Operations: ['26+25=51', '21+51=72']
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,59 unequal: No Solution
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[89, 30], Operations: ['26+25=51', '51-21=30']
Exploring Operation: 89*30=2670, Resulting Numbers: [2670]
2670,59 unequal: No Solution
Exploring Operation: 89+30=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[21, 26, 25, 89], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [21, 89, 51]
Generated Node #0,1: 59:[21, 89, 51] Operation: 26+25=51
Moving to Node #0,1
Current State: 59:[21, 89, 51], Operations: ['26+25=51']
Exploring Operation: 51-21=30, Resulting Numbers: [89, 30]
Generated Node #0,1,0: 59:[89, 30] Operation: 51-21=30
Moving to Node #0,1,0
Current State: 59:[89, 30], Operations: ['26+25=51', '51-21=30']
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
10,
43,
4,
2
] | 45 | [
"10+43=53",
"4*2=8",
"53-8=45"
] | Current State: 45:[10, 43, 4, 2], Operations: []
Exploring Operation: 10+43=53, Resulting Numbers: [4, 2, 53]
Generated Node #2: [4, 2, 53] from Operation: 10+43=53
Current State: 45:[4, 2, 53], Operations: ['10+43=53']
Exploring Operation: 4*2=8, Resulting Numbers: [53, 8]
Generated Node #3: [53, 8] from Operation: 4*2=8
Current State: 45:[53, 8], Operations: ['10+43=53', '4*2=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[10, 43, 4, 2], Operations: []
Exploring Operation: 43+2=45, Resulting Numbers: [10, 4, 45]
Generated Node #0,0: 45:[10, 4, 45] Operation: 43+2=45
Exploring Operation: 10/2=5, Resulting Numbers: [43, 4, 5]
Generated Node #0,1: 45:[43, 4, 5] Operation: 10/2=5
Exploring Operation: 10+4=14, Resulting Numbers: [43, 2, 14]
Generated Node #0,2: 45:[43, 2, 14] Operation: 10+4=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[10, 4, 45], Operations: ['43+2=45']
Exploring Operation: 10*4=40, Resulting Numbers: [45, 40]
Generated Node #0,0,0: 45:[45, 40] Operation: 10*4=40
Exploring Operation: 10-4=6, Resulting Numbers: [45, 6]
Generated Node #0,0,1: 45:[45, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [45, 14]
Generated Node #0,0,2: 45:[45, 14] Operation: 10+4=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[45, 6], Operations: ['43+2=45', '10-4=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,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:[45, 14], Operations: ['43+2=45', '10+4=14']
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,45 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,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,0
Current State: 45:[45, 40], Operations: ['43+2=45', '10*4=40']
Exploring Operation: 45+40=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 45*40=1800, Resulting Numbers: [1800]
1800,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,1
Current State: 45:[43, 4, 5], Operations: ['10/2=5']
Exploring Operation: 4+5=9, Resulting Numbers: [43, 9]
Generated Node #0,1,0: 45:[43, 9] Operation: 4+5=9
Exploring Operation: 43+5=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 45:[4, 48] Operation: 43+5=48
Exploring Operation: 43+4=47, Resulting Numbers: [5, 47]
Generated Node #0,1,2: 45:[5, 47] Operation: 43+4=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[43, 9], Operations: ['10/2=5', '4+5=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,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,1,2
Current State: 45:[5, 47], Operations: ['10/2=5', '43+4=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,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,1,1
Current State: 45:[4, 48], Operations: ['10/2=5', '43+5=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,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:[43, 2, 14], Operations: ['10+4=14']
Exploring Operation: 14/2=7, Resulting Numbers: [43, 7]
Generated Node #0,2,0: 45:[43, 7] Operation: 14/2=7
Exploring Operation: 2+14=16, Resulting Numbers: [43, 16]
Generated Node #0,2,1: 45:[43, 16] Operation: 2+14=16
Exploring Operation: 43+2=45, Resulting Numbers: [14, 45]
Generated Node #0,2,2: 45:[14, 45] Operation: 43+2=45
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[14, 45], Operations: ['10+4=14', '43+2=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,45 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,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,2,1
Current State: 45:[43, 16], Operations: ['10+4=14', '2+14=16']
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,45 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,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,2,0
Current State: 45:[43, 7], Operations: ['10+4=14', '14/2=7']
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,45 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,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_3 | mult_heuristic |
[
73,
61,
34,
72
] | 96 | [
"73+61=134",
"72-34=38",
"134-38=96"
] | Current State: 96:[73, 61, 34, 72], Operations: []
Exploring Operation: 73+61=134, Resulting Numbers: [34, 72, 134]
Generated Node #2: [34, 72, 134] from Operation: 73+61=134
Current State: 96:[34, 72, 134], Operations: ['73+61=134']
Exploring Operation: 72-34=38, Resulting Numbers: [134, 38]
Generated Node #3: [134, 38] from Operation: 72-34=38
Current State: 96:[134, 38], Operations: ['73+61=134', '72-34=38']
Exploring Operation: 134-38=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[73, 61, 34, 72], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [61, 34, 1]
Generated Node #0,0: 96:[61, 34, 1] Operation: 73-72=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[61, 34, 1], Operations: ['73-72=1']
Exploring Operation: 61+34=95, Resulting Numbers: [1, 95]
Generated Node #0,0,0: 96:[1, 95] Operation: 61+34=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[1, 95], Operations: ['73-72=1', '61+34=95']
Exploring Operation: 1+95=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[73, 61, 34, 72], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [61, 34, 1]
Generated Node #0,0: 96:[61, 34, 1] Operation: 73-72=1
Moving to Node #0,0
Current State: 96:[61, 34, 1], Operations: ['73-72=1']
Exploring Operation: 61+34=95, Resulting Numbers: [1, 95]
Generated Node #0,0,0: 96:[1, 95] Operation: 61+34=95
Moving to Node #0,0,0
Current State: 96:[1, 95], Operations: ['73-72=1', '61+34=95']
Exploring Operation: 1+95=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
38,
48,
41,
24
] | 69 | [
"38+48=86",
"41-24=17",
"86-17=69"
] | Current State: 69:[38, 48, 41, 24], Operations: []
Exploring Operation: 38+48=86, Resulting Numbers: [41, 24, 86]
Generated Node #2: [41, 24, 86] from Operation: 38+48=86
Current State: 69:[41, 24, 86], Operations: ['38+48=86']
Exploring Operation: 41-24=17, Resulting Numbers: [86, 17]
Generated Node #3: [86, 17] from Operation: 41-24=17
Current State: 69:[86, 17], Operations: ['38+48=86', '41-24=17']
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[38, 48, 41, 24], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [41, 24, 10]
Generated Node #0,0: 69:[41, 24, 10] Operation: 48-38=10
Exploring Operation: 48-41=7, Resulting Numbers: [38, 24, 7]
Generated Node #0,1: 69:[38, 24, 7] Operation: 48-41=7
Exploring Operation: 41-38=3, Resulting Numbers: [48, 24, 3]
Generated Node #0,2: 69:[48, 24, 3] Operation: 41-38=3
Exploring Operation: 38+41=79, Resulting Numbers: [48, 24, 79]
Generated Node #0,3: 69:[48, 24, 79] Operation: 38+41=79
Moving to Node #0,1
Current State: 69:[38, 24, 7], Operations: ['48-41=7']
Exploring Operation: 38+24=62, Resulting Numbers: [7, 62]
Generated Node #0,1,0: 69:[7, 62] Operation: 38+24=62
Exploring Operation: 38-7=31, Resulting Numbers: [24, 31]
Generated Node #0,1,1: 69:[24, 31] Operation: 38-7=31
Exploring Operation: 24-7=17, Resulting Numbers: [38, 17]
Generated Node #0,1,2: 69:[38, 17] Operation: 24-7=17
Exploring Operation: 38-24=14, Resulting Numbers: [7, 14]
Generated Node #0,1,3: 69:[7, 14] Operation: 38-24=14
Moving to Node #0,2
Current State: 69:[48, 24, 3], Operations: ['41-38=3']
Exploring Operation: 48-24=24, Resulting Numbers: [3, 24]
Generated Node #0,2,0: 69:[3, 24] Operation: 48-24=24
Exploring Operation: 48/3=16, Resulting Numbers: [24, 16]
Generated Node #0,2,1: 69:[24, 16] Operation: 48/3=16
Exploring Operation: 48/24=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 69:[3, 2] Operation: 48/24=2
Exploring Operation: 48+24=72, Resulting Numbers: [3, 72]
Generated Node #0,2,3: 69:[3, 72] Operation: 48+24=72
Moving to Node #0,0
Current State: 69:[41, 24, 10], Operations: ['48-38=10']
Exploring Operation: 41+10=51, Resulting Numbers: [24, 51]
Generated Node #0,0,0: 69:[24, 51] Operation: 41+10=51
Exploring Operation: 41-24=17, Resulting Numbers: [10, 17]
Generated Node #0,0,1: 69:[10, 17] Operation: 41-24=17
Exploring Operation: 41+24=65, Resulting Numbers: [10, 65]
Generated Node #0,0,2: 69:[10, 65] Operation: 41+24=65
Exploring Operation: 41-10=31, Resulting Numbers: [24, 31]
Generated Node #0,0,3: 69:[24, 31] Operation: 41-10=31
Moving to Node #0,3
Current State: 69:[48, 24, 79], Operations: ['38+41=79']
Exploring Operation: 79-48=31, Resulting Numbers: [24, 31]
Generated Node #0,3,0: 69:[24, 31] Operation: 79-48=31
Exploring Operation: 48+24=72, Resulting Numbers: [79, 72]
Generated Node #0,3,1: 69:[79, 72] Operation: 48+24=72
Exploring Operation: 48/24=2, Resulting Numbers: [79, 2]
Generated Node #0,3,2: 69:[79, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [79, 24]
Generated Node #0,3,3: 69:[79, 24] Operation: 48-24=24
Moving to Node #0,2,0
Current State: 69:[3, 24], Operations: ['41-38=3', '48-24=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,69 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[3, 2], Operations: ['41-38=3', '48/24=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[3, 72], Operations: ['41-38=3', '48+24=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,69 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[38, 48, 41, 24], Operations: []
Exploring Operation: 41-38=3, Resulting Numbers: [48, 24, 3]
Generated Node #0,2: 69:[48, 24, 3] Operation: 41-38=3
Moving to Node #0,2
Current State: 69:[48, 24, 3], Operations: ['41-38=3']
Exploring Operation: 48+24=72, Resulting Numbers: [3, 72]
Generated Node #0,2,3: 69:[3, 72] Operation: 48+24=72
Moving to Node #0,2,3
Current State: 69:[3, 72], Operations: ['41-38=3', '48+24=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.971354 | hs_4 | mult_heuristic |
[
12,
54,
5,
17
] | 29 | [
"17-12=5",
"5*5=25",
"54-25=29"
] | Current State: 29:[12, 54, 5, 17], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [54, 5, 5]
Generated Node #2: [54, 5, 5] from Operation: 17-12=5
Current State: 29:[54, 5, 5], Operations: ['17-12=5']
Exploring Operation: 5*5=25, Resulting Numbers: [54, 25]
Generated Node #3: [54, 25] from Operation: 5*5=25
Current State: 29:[54, 25], Operations: ['17-12=5', '5*5=25']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[12, 54, 5, 17], Operations: []
Exploring Operation: 12+5=17, Resulting Numbers: [54, 17, 17]
Generated Node #0,0: 29:[54, 17, 17] Operation: 12+5=17
Exploring Operation: 54-12=42, Resulting Numbers: [5, 17, 42]
Generated Node #0,1: 29:[5, 17, 42] Operation: 54-12=42
Exploring Operation: 12+17=29, Resulting Numbers: [54, 5, 29]
Generated Node #0,2: 29:[54, 5, 29] Operation: 12+17=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[54, 17, 17], Operations: ['12+5=17']
Exploring Operation: 54-17=37, Resulting Numbers: [17, 37]
Generated Node #0,0,0: 29:[17, 37] Operation: 54-17=37
Exploring Operation: 54-17=37, Resulting Numbers: [17, 37]
Generated Node #0,0,1: 29:[17, 37] Operation: 54-17=37
Exploring Operation: 17+17=34, Resulting Numbers: [54, 34]
Generated Node #0,0,2: 29:[54, 34] Operation: 17+17=34
Moving to Node #0,0,0
Current State: 29:[17, 37], Operations: ['12+5=17', '54-17=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[17, 37], Operations: ['12+5=17', '54-17=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,29 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[54, 34], Operations: ['12+5=17', '17+17=34']
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,29 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[5, 17, 42], Operations: ['54-12=42']
Exploring Operation: 42-17=25, Resulting Numbers: [5, 25]
Generated Node #0,1,0: 29:[5, 25] Operation: 42-17=25
Exploring Operation: 5+17=22, Resulting Numbers: [42, 22]
Generated Node #0,1,1: 29:[42, 22] Operation: 5+17=22
Exploring Operation: 42-5=37, Resulting Numbers: [17, 37]
Generated Node #0,1,2: 29:[17, 37] Operation: 42-5=37
Moving to Node #0,1,1
Current State: 29:[42, 22], Operations: ['54-12=42', '5+17=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,29 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,29 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[17, 37], Operations: ['54-12=42', '42-5=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,29 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[5, 25], Operations: ['54-12=42', '42-17=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[54, 5, 29], Operations: ['12+17=29']
Exploring Operation: 54-5=49, Resulting Numbers: [29, 49]
Generated Node #0,2,0: 29:[29, 49] Operation: 54-5=49
Exploring Operation: 54+5=59, Resulting Numbers: [29, 59]
Generated Node #0,2,1: 29:[29, 59] Operation: 54+5=59
Exploring Operation: 54-29=25, Resulting Numbers: [5, 25]
Generated Node #0,2,2: 29:[5, 25] Operation: 54-29=25
Moving to Node #0,2,0
Current State: 29:[29, 49], Operations: ['12+17=29', '54-5=49']
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[5, 25], Operations: ['12+17=29', '54-29=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[29, 59], Operations: ['12+17=29', '54+5=59']
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,29 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,29 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 |
[
80,
56,
35,
36
] | 25 | [
"80-56=24",
"36-35=1",
"24+1=25"
] | Current State: 25:[80, 56, 35, 36], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [35, 36, 24]
Generated Node #2: [35, 36, 24] from Operation: 80-56=24
Current State: 25:[35, 36, 24], Operations: ['80-56=24']
Exploring Operation: 36-35=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 36-35=1
Current State: 25:[24, 1], Operations: ['80-56=24', '36-35=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[80, 56, 35, 36], Operations: []
Exploring Operation: 80-35=45, Resulting Numbers: [56, 36, 45]
Generated Node #0,0: 25:[56, 36, 45] Operation: 80-35=45
Exploring Operation: 56-35=21, Resulting Numbers: [80, 36, 21]
Generated Node #0,1: 25:[80, 36, 21] Operation: 56-35=21
Exploring Operation: 80-36=44, Resulting Numbers: [56, 35, 44]
Generated Node #0,2: 25:[56, 35, 44] Operation: 80-36=44
Exploring Operation: 56-36=20, Resulting Numbers: [80, 35, 20]
Generated Node #0,3: 25:[80, 35, 20] Operation: 56-36=20
Exploring Operation: 80-56=24, Resulting Numbers: [35, 36, 24]
Generated Node #0,4: 25:[35, 36, 24] Operation: 80-56=24
Moving to Node #0,4
Current State: 25:[35, 36, 24], Operations: ['80-56=24']
Exploring Operation: 36-24=12, Resulting Numbers: [35, 12]
Generated Node #0,4,0: 25:[35, 12] Operation: 36-24=12
Exploring Operation: 36-35=1, Resulting Numbers: [24, 1]
Generated Node #0,4,1: 25:[24, 1] Operation: 36-35=1
Exploring Operation: 35-24=11, Resulting Numbers: [36, 11]
Generated Node #0,4,2: 25:[36, 11] Operation: 35-24=11
Exploring Operation: 36+24=60, Resulting Numbers: [35, 60]
Generated Node #0,4,3: 25:[35, 60] Operation: 36+24=60
Exploring Operation: 35+24=59, Resulting Numbers: [36, 59]
Generated Node #0,4,4: 25:[36, 59] Operation: 35+24=59
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 25:[24, 1], Operations: ['80-56=24', '36-35=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[80, 56, 35, 36], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [35, 36, 24]
Generated Node #0,4: 25:[35, 36, 24] Operation: 80-56=24
Moving to Node #0,4
Current State: 25:[35, 36, 24], Operations: ['80-56=24']
Exploring Operation: 36-35=1, Resulting Numbers: [24, 1]
Generated Node #0,4,1: 25:[24, 1] Operation: 36-35=1
Moving to Node #0,4,1
Current State: 25:[24, 1], Operations: ['80-56=24', '36-35=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
60,
23,
59,
11
] | 64 | [
"23-11=12",
"60/12=5",
"59+5=64"
] | Current State: 64:[60, 23, 59, 11], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [60, 59, 12]
Generated Node #2: [60, 59, 12] from Operation: 23-11=12
Current State: 64:[60, 59, 12], Operations: ['23-11=12']
Exploring Operation: 60/12=5, Resulting Numbers: [59, 5]
Generated Node #3: [59, 5] from Operation: 60/12=5
Current State: 64:[59, 5], Operations: ['23-11=12', '60/12=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[60, 23, 59, 11], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [60, 59, 12]
Generated Node #0,0: 64:[60, 59, 12] Operation: 23-11=12
Exploring Operation: 59-23=36, Resulting Numbers: [60, 11, 36]
Generated Node #0,1: 64:[60, 11, 36] Operation: 59-23=36
Exploring Operation: 60-23=37, Resulting Numbers: [59, 11, 37]
Generated Node #0,2: 64:[59, 11, 37] Operation: 60-23=37
Exploring Operation: 23+11=34, Resulting Numbers: [60, 59, 34]
Generated Node #0,3: 64:[60, 59, 34] Operation: 23+11=34
Exploring Operation: 60-59=1, Resulting Numbers: [23, 11, 1]
Generated Node #0,4: 64:[23, 11, 1] Operation: 60-59=1
Moving to Node #0,1
Current State: 64:[60, 11, 36], Operations: ['59-23=36']
Exploring Operation: 36-11=25, Resulting Numbers: [60, 25]
Generated Node #0,1,0: 64:[60, 25] Operation: 36-11=25
Exploring Operation: 11+36=47, Resulting Numbers: [60, 47]
Generated Node #0,1,1: 64:[60, 47] Operation: 11+36=47
Exploring Operation: 60+11=71, Resulting Numbers: [36, 71]
Generated Node #0,1,2: 64:[36, 71] Operation: 60+11=71
Exploring Operation: 60-36=24, Resulting Numbers: [11, 24]
Generated Node #0,1,3: 64:[11, 24] Operation: 60-36=24
Exploring Operation: 60-11=49, Resulting Numbers: [36, 49]
Generated Node #0,1,4: 64:[36, 49] Operation: 60-11=49
Moving to Node #0,4
Current State: 64:[23, 11, 1], Operations: ['60-59=1']
Exploring Operation: 23*1=23, Resulting Numbers: [11, 23]
Generated Node #0,4,0: 64:[11, 23] Operation: 23*1=23
Exploring Operation: 23-1=22, Resulting Numbers: [11, 22]
Generated Node #0,4,1: 64:[11, 22] Operation: 23-1=22
Exploring Operation: 23+11=34, Resulting Numbers: [1, 34]
Generated Node #0,4,2: 64:[1, 34] Operation: 23+11=34
Exploring Operation: 23-11=12, Resulting Numbers: [1, 12]
Generated Node #0,4,3: 64:[1, 12] Operation: 23-11=12
Exploring Operation: 11-1=10, Resulting Numbers: [23, 10]
Generated Node #0,4,4: 64:[23, 10] Operation: 11-1=10
Moving to Node #0,3
Current State: 64:[60, 59, 34], Operations: ['23+11=34']
Exploring Operation: 59+34=93, Resulting Numbers: [60, 93]
Generated Node #0,3,0: 64:[60, 93] Operation: 59+34=93
Exploring Operation: 60-34=26, Resulting Numbers: [59, 26]
Generated Node #0,3,1: 64:[59, 26] Operation: 60-34=26
Exploring Operation: 59-34=25, Resulting Numbers: [60, 25]
Generated Node #0,3,2: 64:[60, 25] Operation: 59-34=25
Exploring Operation: 60+34=94, Resulting Numbers: [59, 94]
Generated Node #0,3,3: 64:[59, 94] Operation: 60+34=94
Exploring Operation: 60-59=1, Resulting Numbers: [34, 1]
Generated Node #0,3,4: 64:[34, 1] Operation: 60-59=1
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[34, 1], Operations: ['23+11=34', '60-59=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[59, 26], Operations: ['23+11=34', '60-34=26']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,64 unequal: No Solution
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[60, 25], Operations: ['23+11=34', '59-34=25']
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 60*25=1500, Resulting Numbers: [1500]
1500,64 unequal: No Solution
Exploring Operation: 60+25=85, Resulting Numbers: [85]
85,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[60, 93], Operations: ['23+11=34', '59+34=93']
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 60*93=5580, Resulting Numbers: [5580]
5580,64 unequal: No Solution
Exploring Operation: 60+93=153, Resulting Numbers: [153]
153,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[59, 94], Operations: ['23+11=34', '60+34=94']
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 59*94=5546, Resulting Numbers: [5546]
5546,64 unequal: No Solution
Exploring Operation: 59+94=153, Resulting Numbers: [153]
153,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 64:[60, 59, 12], Operations: ['23-11=12']
Exploring Operation: 60+12=72, Resulting Numbers: [59, 72]
Generated Node #0,0,0: 64:[59, 72] Operation: 60+12=72
Exploring Operation: 60-59=1, Resulting Numbers: [12, 1]
Generated Node #0,0,1: 64:[12, 1] Operation: 60-59=1
Exploring Operation: 59-12=47, Resulting Numbers: [60, 47]
Generated Node #0,0,2: 64:[60, 47] Operation: 59-12=47
Exploring Operation: 60/12=5, Resulting Numbers: [59, 5]
Generated Node #0,0,3: 64:[59, 5] Operation: 60/12=5
Exploring Operation: 59+12=71, Resulting Numbers: [60, 71]
Generated Node #0,0,4: 64:[60, 71] Operation: 59+12=71
Moving to Node #0,2
Current State: 64:[59, 11, 37], Operations: ['60-23=37']
Exploring Operation: 37-11=26, Resulting Numbers: [59, 26]
Generated Node #0,2,0: 64:[59, 26] Operation: 37-11=26
Exploring Operation: 59-11=48, Resulting Numbers: [37, 48]
Generated Node #0,2,1: 64:[37, 48] Operation: 59-11=48
Exploring Operation: 11+37=48, Resulting Numbers: [59, 48]
Generated Node #0,2,2: 64:[59, 48] Operation: 11+37=48
Exploring Operation: 59-37=22, Resulting Numbers: [11, 22]
Generated Node #0,2,3: 64:[11, 22] Operation: 59-37=22
Exploring Operation: 59+11=70, Resulting Numbers: [37, 70]
Generated Node #0,2,4: 64:[37, 70] Operation: 59+11=70
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[11, 22], Operations: ['60-23=37', '59-37=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[59, 26], Operations: ['60-23=37', '37-11=26']
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 64:[37, 70], Operations: ['60-23=37', '59+11=70']
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,64 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[37, 48], Operations: ['60-23=37', '59-11=48']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[59, 48], Operations: ['60-23=37', '11+37=48']
Exploring Operation: 59*48=2832, Resulting Numbers: [2832]
2832,64 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 59+48=107, Resulting Numbers: [107]
107,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 64:[1, 34], Operations: ['60-59=1', '23+11=34']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[1, 12], Operations: ['60-59=1', '23-11=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[12, 1], Operations: ['23-11=12', '60-59=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[59, 5], Operations: ['23-11=12', '60/12=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,64 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[60, 23, 59, 11], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [60, 59, 12]
Generated Node #0,0: 64:[60, 59, 12] Operation: 23-11=12
Moving to Node #0,0
Current State: 64:[60, 59, 12], Operations: ['23-11=12']
Exploring Operation: 60/12=5, Resulting Numbers: [59, 5]
Generated Node #0,0,3: 64:[59, 5] Operation: 60/12=5
Moving to Node #0,0,3
Current State: 64:[59, 5], Operations: ['23-11=12', '60/12=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.929688 | hs_5 | mult_heuristic |
[
60,
37,
29,
76
] | 82 | [
"60-37=23",
"29+76=105",
"105-23=82"
] | Current State: 82:[60, 37, 29, 76], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [29, 76, 23]
Generated Node #2: [29, 76, 23] from Operation: 60-37=23
Current State: 82:[29, 76, 23], Operations: ['60-37=23']
Exploring Operation: 29+76=105, Resulting Numbers: [23, 105]
Generated Node #3: [23, 105] from Operation: 29+76=105
Current State: 82:[23, 105], Operations: ['60-37=23', '29+76=105']
Exploring Operation: 105-23=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[60, 37, 29, 76], Operations: []
Exploring Operation: 76-29=47, Resulting Numbers: [60, 37, 47]
Generated Node #0,0: 82:[60, 37, 47] Operation: 76-29=47
Exploring Operation: 60-29=31, Resulting Numbers: [37, 76, 31]
Generated Node #0,1: 82:[37, 76, 31] Operation: 60-29=31
Exploring Operation: 60+29=89, Resulting Numbers: [37, 76, 89]
Generated Node #0,2: 82:[37, 76, 89] Operation: 60+29=89
Exploring Operation: 76-60=16, Resulting Numbers: [37, 29, 16]
Generated Node #0,3: 82:[37, 29, 16] Operation: 76-60=16
Exploring Operation: 37-29=8, Resulting Numbers: [60, 76, 8]
Generated Node #0,4: 82:[60, 76, 8] Operation: 37-29=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[37, 76, 89], Operations: ['60+29=89']
Exploring Operation: 37+76=113, Resulting Numbers: [89, 113]
Generated Node #0,2,0: 82:[89, 113] Operation: 37+76=113
Exploring Operation: 76-37=39, Resulting Numbers: [89, 39]
Generated Node #0,2,1: 82:[89, 39] Operation: 76-37=39
Exploring Operation: 37+89=126, Resulting Numbers: [76, 126]
Generated Node #0,2,2: 82:[76, 126] Operation: 37+89=126
Exploring Operation: 89-76=13, Resulting Numbers: [37, 13]
Generated Node #0,2,3: 82:[37, 13] Operation: 89-76=13
Exploring Operation: 89-37=52, Resulting Numbers: [76, 52]
Generated Node #0,2,4: 82:[76, 52] Operation: 89-37=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[89, 39], Operations: ['60+29=89', '76-37=39']
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 89+39=128, Resulting Numbers: [128]
128,82 unequal: No Solution
Exploring Operation: 89*39=3471, Resulting Numbers: [3471]
3471,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[37, 13], Operations: ['60+29=89', '89-76=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[76, 52], Operations: ['60+29=89', '89-37=52']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,82 unequal: No Solution
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[89, 113], Operations: ['60+29=89', '37+76=113']
Exploring Operation: 113-89=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 89*113=10057, Resulting Numbers: [10057]
10057,82 unequal: No Solution
Exploring Operation: 89+113=202, Resulting Numbers: [202]
202,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[76, 126], Operations: ['60+29=89', '37+89=126']
Exploring Operation: 76+126=202, Resulting Numbers: [202]
202,82 unequal: No Solution
Exploring Operation: 76*126=9576, Resulting Numbers: [9576]
9576,82 unequal: No Solution
Exploring Operation: 126-76=50, Resulting Numbers: [50]
50,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[37, 76, 31], Operations: ['60-29=31']
Exploring Operation: 37+31=68, Resulting Numbers: [76, 68]
Generated Node #0,1,0: 82:[76, 68] Operation: 37+31=68
Exploring Operation: 76-31=45, Resulting Numbers: [37, 45]
Generated Node #0,1,1: 82:[37, 45] Operation: 76-31=45
Exploring Operation: 76+31=107, Resulting Numbers: [37, 107]
Generated Node #0,1,2: 82:[37, 107] Operation: 76+31=107
Exploring Operation: 76-37=39, Resulting Numbers: [31, 39]
Generated Node #0,1,3: 82:[31, 39] Operation: 76-37=39
Exploring Operation: 37-31=6, Resulting Numbers: [76, 6]
Generated Node #0,1,4: 82:[76, 6] Operation: 37-31=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[37, 45], Operations: ['60-29=31', '76-31=45']
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[60, 37, 29, 76], Operations: []
Exploring Operation: 60-29=31, Resulting Numbers: [37, 76, 31]
Generated Node #0,1: 82:[37, 76, 31] Operation: 60-29=31
Moving to Node #0,1
Current State: 82:[37, 76, 31], Operations: ['60-29=31']
Exploring Operation: 76-31=45, Resulting Numbers: [37, 45]
Generated Node #0,1,1: 82:[37, 45] Operation: 76-31=45
Moving to Node #0,1,1
Current State: 82:[37, 45], Operations: ['60-29=31', '76-31=45']
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.