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 |
|---|---|---|---|---|---|---|---|---|
[
12,
10,
16,
76
] | 58 | [
"12-10=2",
"76-16=60",
"60-2=58"
] | Current State: 58:[12, 10, 16, 76], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [16, 76, 2]
Generated Node #2: [16, 76, 2] from Operation: 12-10=2
Current State: 58:[16, 76, 2], Operations: ['12-10=2']
Exploring Operation: 76-16=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 76-16=60
Current State: 58:[2, 60], Operations: ['12-10=2', '76-16=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[12, 10, 16, 76], Operations: []
Exploring Operation: 12+16=28, Resulting Numbers: [10, 76, 28]
Generated Node #0,0: 58:[10, 76, 28] Operation: 12+16=28
Exploring Operation: 76-16=60, Resulting Numbers: [12, 10, 60]
Generated Node #0,1: 58:[12, 10, 60] Operation: 76-16=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[12, 10, 60], Operations: ['76-16=60']
Exploring Operation: 12+10=22, Resulting Numbers: [60, 22]
Generated Node #0,1,0: 58:[60, 22] Operation: 12+10=22
Exploring Operation: 12-10=2, Resulting Numbers: [60, 2]
Generated Node #0,1,1: 58:[60, 2] Operation: 12-10=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[60, 2], Operations: ['76-16=60', '12-10=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[12, 10, 16, 76], Operations: []
Exploring Operation: 76-16=60, Resulting Numbers: [12, 10, 60]
Generated Node #0,1: 58:[12, 10, 60] Operation: 76-16=60
Moving to Node #0,1
Current State: 58:[12, 10, 60], Operations: ['76-16=60']
Exploring Operation: 12-10=2, Resulting Numbers: [60, 2]
Generated Node #0,1,1: 58:[60, 2] Operation: 12-10=2
Moving to Node #0,1,1
Current State: 58:[60, 2], Operations: ['76-16=60', '12-10=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
95,
47,
87,
54
] | 81 | [
"95-47=48",
"87-54=33",
"48+33=81"
] | Current State: 81:[95, 47, 87, 54], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [87, 54, 48]
Generated Node #2: [87, 54, 48] from Operation: 95-47=48
Current State: 81:[87, 54, 48], Operations: ['95-47=48']
Exploring Operation: 87-54=33, Resulting Numbers: [48, 33]
Generated Node #3: [48, 33] from Operation: 87-54=33
Current State: 81:[48, 33], Operations: ['95-47=48', '87-54=33']
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[95, 47, 87, 54], Operations: []
Exploring Operation: 47+54=101, Resulting Numbers: [95, 87, 101]
Generated Node #0,0: 81:[95, 87, 101] Operation: 47+54=101
Exploring Operation: 95-54=41, Resulting Numbers: [47, 87, 41]
Generated Node #0,1: 81:[47, 87, 41] Operation: 95-54=41
Exploring Operation: 87-54=33, Resulting Numbers: [95, 47, 33]
Generated Node #0,2: 81:[95, 47, 33] Operation: 87-54=33
Exploring Operation: 54-47=7, Resulting Numbers: [95, 87, 7]
Generated Node #0,3: 81:[95, 87, 7] Operation: 54-47=7
Moving to Node #0,3
Current State: 81:[95, 87, 7], Operations: ['54-47=7']
Exploring Operation: 95+7=102, Resulting Numbers: [87, 102]
Generated Node #0,3,0: 81:[87, 102] Operation: 95+7=102
Exploring Operation: 87-7=80, Resulting Numbers: [95, 80]
Generated Node #0,3,1: 81:[95, 80] Operation: 87-7=80
Exploring Operation: 95-7=88, Resulting Numbers: [87, 88]
Generated Node #0,3,2: 81:[87, 88] Operation: 95-7=88
Exploring Operation: 95-87=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 81:[7, 8] Operation: 95-87=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[7, 8], Operations: ['54-47=7', '95-87=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[87, 88], Operations: ['54-47=7', '95-7=88']
Exploring Operation: 87*88=7656, Resulting Numbers: [7656]
7656,81 unequal: No Solution
Exploring Operation: 87+88=175, Resulting Numbers: [175]
175,81 unequal: No Solution
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[95, 80], Operations: ['54-47=7', '87-7=80']
Exploring Operation: 95+80=175, Resulting Numbers: [175]
175,81 unequal: No Solution
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 95*80=7600, Resulting Numbers: [7600]
7600,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[87, 102], Operations: ['54-47=7', '95+7=102']
Exploring Operation: 87+102=189, Resulting Numbers: [189]
189,81 unequal: No Solution
Exploring Operation: 102-87=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 87*102=8874, Resulting Numbers: [8874]
8874,81 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: 81:[47, 87, 41], Operations: ['95-54=41']
Exploring Operation: 87-41=46, Resulting Numbers: [47, 46]
Generated Node #0,1,0: 81:[47, 46] Operation: 87-41=46
Exploring Operation: 87-47=40, Resulting Numbers: [41, 40]
Generated Node #0,1,1: 81:[41, 40] Operation: 87-47=40
Exploring Operation: 47-41=6, Resulting Numbers: [87, 6]
Generated Node #0,1,2: 81:[87, 6] Operation: 47-41=6
Exploring Operation: 47+41=88, Resulting Numbers: [87, 88]
Generated Node #0,1,3: 81:[87, 88] Operation: 47+41=88
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[87, 6], Operations: ['95-54=41', '47-41=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[95, 47, 87, 54], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [47, 87, 41]
Generated Node #0,1: 81:[47, 87, 41] Operation: 95-54=41
Moving to Node #0,1
Current State: 81:[47, 87, 41], Operations: ['95-54=41']
Exploring Operation: 47-41=6, Resulting Numbers: [87, 6]
Generated Node #0,1,2: 81:[87, 6] Operation: 47-41=6
Moving to Node #0,1,2
Current State: 81:[87, 6], Operations: ['95-54=41', '47-41=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
1,
19,
64,
25
] | 19 | [
"1+19=20",
"64-25=39",
"39-20=19"
] | Current State: 19:[1, 19, 64, 25], Operations: []
Exploring Operation: 1+19=20, Resulting Numbers: [64, 25, 20]
Generated Node #2: [64, 25, 20] from Operation: 1+19=20
Current State: 19:[64, 25, 20], Operations: ['1+19=20']
Exploring Operation: 64-25=39, Resulting Numbers: [20, 39]
Generated Node #3: [20, 39] from Operation: 64-25=39
Current State: 19:[20, 39], Operations: ['1+19=20', '64-25=39']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 19, 64, 25], Operations: []
Exploring Operation: 25-1=24, Resulting Numbers: [19, 64, 24]
Generated Node #0,0: 19:[19, 64, 24] Operation: 25-1=24
Exploring Operation: 64-25=39, Resulting Numbers: [1, 19, 39]
Generated Node #0,1: 19:[1, 19, 39] Operation: 64-25=39
Exploring Operation: 64-1=63, Resulting Numbers: [19, 25, 63]
Generated Node #0,2: 19:[19, 25, 63] Operation: 64-1=63
Moving to Node #0,1
Current State: 19:[1, 19, 39], Operations: ['64-25=39']
Exploring Operation: 39-1=38, Resulting Numbers: [19, 38]
Generated Node #0,1,0: 19:[19, 38] Operation: 39-1=38
Exploring Operation: 1*19=19, Resulting Numbers: [39, 19]
Generated Node #0,1,1: 19:[39, 19] Operation: 1*19=19
Exploring Operation: 39-19=20, Resulting Numbers: [1, 20]
Generated Node #0,1,2: 19:[1, 20] Operation: 39-19=20
Moving to Node #0,0
Current State: 19:[19, 64, 24], Operations: ['25-1=24']
Exploring Operation: 24-19=5, Resulting Numbers: [64, 5]
Generated Node #0,0,0: 19:[64, 5] Operation: 24-19=5
Exploring Operation: 64-24=40, Resulting Numbers: [19, 40]
Generated Node #0,0,1: 19:[19, 40] Operation: 64-24=40
Exploring Operation: 64-19=45, Resulting Numbers: [24, 45]
Generated Node #0,0,2: 19:[24, 45] Operation: 64-19=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[19, 40], Operations: ['25-1=24', '64-24=40']
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,19 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[24, 45], Operations: ['25-1=24', '64-19=45']
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,19 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,19 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,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,0
Current State: 19:[64, 5], Operations: ['25-1=24', '24-19=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,19 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,19 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,19 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: 19:[19, 25, 63], Operations: ['64-1=63']
Exploring Operation: 25-19=6, Resulting Numbers: [63, 6]
Generated Node #0,2,0: 19:[63, 6] Operation: 25-19=6
Exploring Operation: 63-19=44, Resulting Numbers: [25, 44]
Generated Node #0,2,1: 19:[25, 44] Operation: 63-19=44
Exploring Operation: 63-25=38, Resulting Numbers: [19, 38]
Generated Node #0,2,2: 19:[19, 38] Operation: 63-25=38
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[19, 38], Operations: ['64-1=63', '63-25=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[1, 19, 64, 25], Operations: []
Exploring Operation: 64-1=63, Resulting Numbers: [19, 25, 63]
Generated Node #0,2: 19:[19, 25, 63] Operation: 64-1=63
Moving to Node #0,2
Current State: 19:[19, 25, 63], Operations: ['64-1=63']
Exploring Operation: 63-25=38, Resulting Numbers: [19, 38]
Generated Node #0,2,2: 19:[19, 38] Operation: 63-25=38
Moving to Node #0,2,2
Current State: 19:[19, 38], Operations: ['64-1=63', '63-25=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
7,
8,
4,
92
] | 88 | [
"8-7=1",
"92-4=88",
"1*88=88"
] | Current State: 88:[7, 8, 4, 92], Operations: []
Exploring Operation: 8-7=1, Resulting Numbers: [4, 92, 1]
Generated Node #2: [4, 92, 1] from Operation: 8-7=1
Current State: 88:[4, 92, 1], Operations: ['8-7=1']
Exploring Operation: 92-4=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 92-4=88
Current State: 88:[1, 88], Operations: ['8-7=1', '92-4=88']
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[7, 8, 4, 92], Operations: []
Exploring Operation: 92-7=85, Resulting Numbers: [8, 4, 85]
Generated Node #0,0: 88:[8, 4, 85] Operation: 92-7=85
Exploring Operation: 92/4=23, Resulting Numbers: [7, 8, 23]
Generated Node #0,1: 88:[7, 8, 23] Operation: 92/4=23
Exploring Operation: 92-4=88, Resulting Numbers: [7, 8, 88]
Generated Node #0,2: 88:[7, 8, 88] Operation: 92-4=88
Moving to Node #0,2
Current State: 88:[7, 8, 88], Operations: ['92-4=88']
Exploring Operation: 8-7=1, Resulting Numbers: [88, 1]
Generated Node #0,2,0: 88:[88, 1] Operation: 8-7=1
Exploring Operation: 7+8=15, Resulting Numbers: [88, 15]
Generated Node #0,2,1: 88:[88, 15] Operation: 7+8=15
Exploring Operation: 88/8=11, Resulting Numbers: [7, 11]
Generated Node #0,2,2: 88:[7, 11] Operation: 88/8=11
Moving to Node #0,1
Current State: 88:[7, 8, 23], Operations: ['92/4=23']
Exploring Operation: 7+8=15, Resulting Numbers: [23, 15]
Generated Node #0,1,0: 88:[23, 15] Operation: 7+8=15
Exploring Operation: 23-7=16, Resulting Numbers: [8, 16]
Generated Node #0,1,1: 88:[8, 16] Operation: 23-7=16
Exploring Operation: 8-7=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 88:[23, 1] Operation: 8-7=1
Moving to Node #0,0
Current State: 88:[8, 4, 85], Operations: ['92-7=85']
Exploring Operation: 8-4=4, Resulting Numbers: [85, 4]
Generated Node #0,0,0: 88:[85, 4] Operation: 8-4=4
Exploring Operation: 4+85=89, Resulting Numbers: [8, 89]
Generated Node #0,0,1: 88:[8, 89] Operation: 4+85=89
Exploring Operation: 8/4=2, Resulting Numbers: [85, 2]
Generated Node #0,0,2: 88:[85, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[8, 89], Operations: ['92-7=85', '4+85=89']
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,88 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,88 unequal: No Solution
No 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: 88:[85, 4], Operations: ['92-7=85', '8-4=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,88 unequal: No Solution
No 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: 88:[85, 2], Operations: ['92-7=85', '8/4=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,88 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: 88:[88, 1], Operations: ['92-4=88', '8-7=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[7, 8, 4, 92], Operations: []
Exploring Operation: 92-4=88, Resulting Numbers: [7, 8, 88]
Generated Node #0,2: 88:[7, 8, 88] Operation: 92-4=88
Moving to Node #0,2
Current State: 88:[7, 8, 88], Operations: ['92-4=88']
Exploring Operation: 8-7=1, Resulting Numbers: [88, 1]
Generated Node #0,2,0: 88:[88, 1] Operation: 8-7=1
Moving to Node #0,2,0
Current State: 88:[88, 1], Operations: ['92-4=88', '8-7=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
54,
36,
84,
42
] | 48 | [
"54+36=90",
"84-42=42",
"90-42=48"
] | Current State: 48:[54, 36, 84, 42], Operations: []
Exploring Operation: 54+36=90, Resulting Numbers: [84, 42, 90]
Generated Node #2: [84, 42, 90] from Operation: 54+36=90
Current State: 48:[84, 42, 90], Operations: ['54+36=90']
Exploring Operation: 84-42=42, Resulting Numbers: [90, 42]
Generated Node #3: [90, 42] from Operation: 84-42=42
Current State: 48:[90, 42], Operations: ['54+36=90', '84-42=42']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[54, 36, 84, 42], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [36, 42, 30]
Generated Node #0,0: 48:[36, 42, 30] Operation: 84-54=30
Exploring Operation: 84-36=48, Resulting Numbers: [54, 42, 48]
Generated Node #0,1: 48:[54, 42, 48] Operation: 84-36=48
Exploring Operation: 84/42=2, Resulting Numbers: [54, 36, 2]
Generated Node #0,2: 48:[54, 36, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[54, 42, 48], Operations: ['84-36=48']
Exploring Operation: 54-48=6, Resulting Numbers: [42, 6]
Generated Node #0,1,0: 48:[42, 6] Operation: 54-48=6
Exploring Operation: 48-42=6, Resulting Numbers: [54, 6]
Generated Node #0,1,1: 48:[54, 6] Operation: 48-42=6
Exploring Operation: 54-42=12, Resulting Numbers: [48, 12]
Generated Node #0,1,2: 48:[48, 12] Operation: 54-42=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[48, 12], Operations: ['84-36=48', '54-42=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[42, 6], Operations: ['84-36=48', '54-48=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[54, 36, 84, 42], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [54, 42, 48]
Generated Node #0,1: 48:[54, 42, 48] Operation: 84-36=48
Moving to Node #0,1
Current State: 48:[54, 42, 48], Operations: ['84-36=48']
Exploring Operation: 54-48=6, Resulting Numbers: [42, 6]
Generated Node #0,1,0: 48:[42, 6] Operation: 54-48=6
Moving to Node #0,1,0
Current State: 48:[42, 6], Operations: ['84-36=48', '54-48=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
23,
39,
26,
46
] | 13 | [
"23+26=49",
"49-46=3",
"39/3=13"
] | Current State: 13:[23, 39, 26, 46], Operations: []
Exploring Operation: 23+26=49, Resulting Numbers: [39, 46, 49]
Generated Node #2: [39, 46, 49] from Operation: 23+26=49
Current State: 13:[39, 46, 49], Operations: ['23+26=49']
Exploring Operation: 49-46=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 49-46=3
Current State: 13:[39, 3], Operations: ['23+26=49', '49-46=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[23, 39, 26, 46], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [23, 39, 20]
Generated Node #0,0: 13:[23, 39, 20] Operation: 46-26=20
Exploring Operation: 39-23=16, Resulting Numbers: [26, 46, 16]
Generated Node #0,1: 13:[26, 46, 16] Operation: 39-23=16
Exploring Operation: 39-26=13, Resulting Numbers: [23, 46, 13]
Generated Node #0,2: 13:[23, 46, 13] Operation: 39-26=13
Exploring Operation: 46-39=7, Resulting Numbers: [23, 26, 7]
Generated Node #0,3: 13:[23, 26, 7] Operation: 46-39=7
Moving to Node #0,3
Current State: 13:[23, 26, 7], Operations: ['46-39=7']
Exploring Operation: 26-23=3, Resulting Numbers: [7, 3]
Generated Node #0,3,0: 13:[7, 3] Operation: 26-23=3
Exploring Operation: 26-7=19, Resulting Numbers: [23, 19]
Generated Node #0,3,1: 13:[23, 19] Operation: 26-7=19
Exploring Operation: 23+7=30, Resulting Numbers: [26, 30]
Generated Node #0,3,2: 13:[26, 30] Operation: 23+7=30
Exploring Operation: 23-7=16, Resulting Numbers: [26, 16]
Generated Node #0,3,3: 13:[26, 16] Operation: 23-7=16
Moving to Node #0,2
Current State: 13:[23, 46, 13], Operations: ['39-26=13']
Exploring Operation: 46/23=2, Resulting Numbers: [13, 2]
Generated Node #0,2,0: 13:[13, 2] Operation: 46/23=2
Exploring Operation: 23-13=10, Resulting Numbers: [46, 10]
Generated Node #0,2,1: 13:[46, 10] Operation: 23-13=10
Exploring Operation: 46-23=23, Resulting Numbers: [13, 23]
Generated Node #0,2,2: 13:[13, 23] Operation: 46-23=23
Exploring Operation: 46-13=33, Resulting Numbers: [23, 33]
Generated Node #0,2,3: 13:[23, 33] Operation: 46-13=33
Moving to Node #0,0
Current State: 13:[23, 39, 20], Operations: ['46-26=20']
Exploring Operation: 39-23=16, Resulting Numbers: [20, 16]
Generated Node #0,0,0: 13:[20, 16] Operation: 39-23=16
Exploring Operation: 39-20=19, Resulting Numbers: [23, 19]
Generated Node #0,0,1: 13:[23, 19] Operation: 39-20=19
Exploring Operation: 23-20=3, Resulting Numbers: [39, 3]
Generated Node #0,0,2: 13:[39, 3] Operation: 23-20=3
Exploring Operation: 23+39=62, Resulting Numbers: [20, 62]
Generated Node #0,0,3: 13:[20, 62] Operation: 23+39=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[20, 16], Operations: ['46-26=20', '39-23=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[23, 19], Operations: ['46-26=20', '39-20=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,13 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[39, 3], Operations: ['46-26=20', '23-20=3']
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[23, 39, 26, 46], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [23, 39, 20]
Generated Node #0,0: 13:[23, 39, 20] Operation: 46-26=20
Moving to Node #0,0
Current State: 13:[23, 39, 20], Operations: ['46-26=20']
Exploring Operation: 23-20=3, Resulting Numbers: [39, 3]
Generated Node #0,0,2: 13:[39, 3] Operation: 23-20=3
Moving to Node #0,0,2
Current State: 13:[39, 3], Operations: ['46-26=20', '23-20=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
70,
10,
40,
4
] | 96 | [
"70-10=60",
"40-4=36",
"60+36=96"
] | Current State: 96:[70, 10, 40, 4], Operations: []
Exploring Operation: 70-10=60, Resulting Numbers: [40, 4, 60]
Generated Node #2: [40, 4, 60] from Operation: 70-10=60
Current State: 96:[40, 4, 60], Operations: ['70-10=60']
Exploring Operation: 40-4=36, Resulting Numbers: [60, 36]
Generated Node #3: [60, 36] from Operation: 40-4=36
Current State: 96:[60, 36], Operations: ['70-10=60', '40-4=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[70, 10, 40, 4], Operations: []
Exploring Operation: 70+40=110, Resulting Numbers: [10, 4, 110]
Generated Node #0,0: 96:[10, 4, 110] Operation: 70+40=110
Exploring Operation: 70/10=7, Resulting Numbers: [40, 4, 7]
Generated Node #0,1: 96:[40, 4, 7] Operation: 70/10=7
Exploring Operation: 70-40=30, Resulting Numbers: [10, 4, 30]
Generated Node #0,2: 96:[10, 4, 30] Operation: 70-40=30
Moving to Node #0,2
Current State: 96:[10, 4, 30], Operations: ['70-40=30']
Exploring Operation: 30/10=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 96:[4, 3] Operation: 30/10=3
Exploring Operation: 10-4=6, Resulting Numbers: [30, 6]
Generated Node #0,2,1: 96:[30, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [30, 14]
Generated Node #0,2,2: 96:[30, 14] Operation: 10+4=14
Moving to Node #0,1
Current State: 96:[40, 4, 7], Operations: ['70/10=7']
Exploring Operation: 40/4=10, Resulting Numbers: [7, 10]
Generated Node #0,1,0: 96:[7, 10] Operation: 40/4=10
Exploring Operation: 40-7=33, Resulting Numbers: [4, 33]
Generated Node #0,1,1: 96:[4, 33] Operation: 40-7=33
Exploring Operation: 40+7=47, Resulting Numbers: [4, 47]
Generated Node #0,1,2: 96:[4, 47] Operation: 40+7=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[4, 33], Operations: ['70/10=7', '40-7=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[4, 47], Operations: ['70/10=7', '40+7=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[7, 10], Operations: ['70/10=7', '40/4=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,96 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: 96:[10, 4, 110], Operations: ['70+40=110']
Exploring Operation: 110-10=100, Resulting Numbers: [4, 100]
Generated Node #0,0,0: 96:[4, 100] Operation: 110-10=100
Exploring Operation: 110-4=106, Resulting Numbers: [10, 106]
Generated Node #0,0,1: 96:[10, 106] Operation: 110-4=106
Exploring Operation: 110/10=11, Resulting Numbers: [4, 11]
Generated Node #0,0,2: 96:[4, 11] Operation: 110/10=11
Moving to Node #0,2,0
Current State: 96:[4, 3], Operations: ['70-40=30', '30/10=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[4, 11], Operations: ['70+40=110', '110/10=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[30, 6], Operations: ['70-40=30', '10-4=6']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[30, 14], Operations: ['70-40=30', '10+4=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[4, 100], Operations: ['70+40=110', '110-10=100']
Exploring Operation: 4+100=104, Resulting Numbers: [104]
104,96 unequal: No Solution
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[70, 10, 40, 4], Operations: []
Exploring Operation: 70+40=110, Resulting Numbers: [10, 4, 110]
Generated Node #0,0: 96:[10, 4, 110] Operation: 70+40=110
Moving to Node #0,0
Current State: 96:[10, 4, 110], Operations: ['70+40=110']
Exploring Operation: 110-10=100, Resulting Numbers: [4, 100]
Generated Node #0,0,0: 96:[4, 100] Operation: 110-10=100
Moving to Node #0,0,0
Current State: 96:[4, 100], Operations: ['70+40=110', '110-10=100']
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.966146 | hs_3 | mult_heuristic |
[
8,
68,
83,
56
] | 79 | [
"68-8=60",
"83+56=139",
"139-60=79"
] | Current State: 79:[8, 68, 83, 56], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [83, 56, 60]
Generated Node #2: [83, 56, 60] from Operation: 68-8=60
Current State: 79:[83, 56, 60], Operations: ['68-8=60']
Exploring Operation: 83+56=139, Resulting Numbers: [60, 139]
Generated Node #3: [60, 139] from Operation: 83+56=139
Current State: 79:[60, 139], Operations: ['68-8=60', '83+56=139']
Exploring Operation: 139-60=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[8, 68, 83, 56], Operations: []
Exploring Operation: 8+56=64, Resulting Numbers: [68, 83, 64]
Generated Node #0,0: 79:[68, 83, 64] Operation: 8+56=64
Exploring Operation: 8+68=76, Resulting Numbers: [83, 56, 76]
Generated Node #0,1: 79:[83, 56, 76] Operation: 8+68=76
Exploring Operation: 83-8=75, Resulting Numbers: [68, 56, 75]
Generated Node #0,2: 79:[68, 56, 75] Operation: 83-8=75
Exploring Operation: 68-8=60, Resulting Numbers: [83, 56, 60]
Generated Node #0,3: 79:[83, 56, 60] Operation: 68-8=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[68, 83, 64], Operations: ['8+56=64']
Exploring Operation: 83-68=15, Resulting Numbers: [64, 15]
Generated Node #0,0,0: 79:[64, 15] Operation: 83-68=15
Exploring Operation: 68+64=132, Resulting Numbers: [83, 132]
Generated Node #0,0,1: 79:[83, 132] Operation: 68+64=132
Exploring Operation: 68-64=4, Resulting Numbers: [83, 4]
Generated Node #0,0,2: 79:[83, 4] Operation: 68-64=4
Exploring Operation: 83-64=19, Resulting Numbers: [68, 19]
Generated Node #0,0,3: 79:[68, 19] Operation: 83-64=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[83, 132], Operations: ['8+56=64', '68+64=132']
Exploring Operation: 132-83=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 83+132=215, Resulting Numbers: [215]
215,79 unequal: No Solution
Exploring Operation: 83*132=10956, Resulting Numbers: [10956]
10956,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[68, 19], Operations: ['8+56=64', '83-64=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[64, 15], Operations: ['8+56=64', '83-68=15']
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[8, 68, 83, 56], Operations: []
Exploring Operation: 8+56=64, Resulting Numbers: [68, 83, 64]
Generated Node #0,0: 79:[68, 83, 64] Operation: 8+56=64
Moving to Node #0,0
Current State: 79:[68, 83, 64], Operations: ['8+56=64']
Exploring Operation: 83-68=15, Resulting Numbers: [64, 15]
Generated Node #0,0,0: 79:[64, 15] Operation: 83-68=15
Moving to Node #0,0,0
Current State: 79:[64, 15], Operations: ['8+56=64', '83-68=15']
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
85,
43,
90,
7
] | 66 | [
"43+90=133",
"133/7=19",
"85-19=66"
] | Current State: 66:[85, 43, 90, 7], Operations: []
Exploring Operation: 43+90=133, Resulting Numbers: [85, 7, 133]
Generated Node #2: [85, 7, 133] from Operation: 43+90=133
Current State: 66:[85, 7, 133], Operations: ['43+90=133']
Exploring Operation: 133/7=19, Resulting Numbers: [85, 19]
Generated Node #3: [85, 19] from Operation: 133/7=19
Current State: 66:[85, 19], Operations: ['43+90=133', '133/7=19']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[85, 43, 90, 7], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [43, 7, 5]
Generated Node #0,0: 66:[43, 7, 5] Operation: 90-85=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[43, 7, 5], Operations: ['90-85=5']
Exploring Operation: 43-7=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 66:[5, 36] Operation: 43-7=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[5, 36], Operations: ['90-85=5', '43-7=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
4,
21,
91
] | 60 | [
"14-4=10",
"91-21=70",
"70-10=60"
] | Current State: 60:[14, 4, 21, 91], Operations: []
Exploring Operation: 14-4=10, Resulting Numbers: [21, 91, 10]
Generated Node #2: [21, 91, 10] from Operation: 14-4=10
Current State: 60:[21, 91, 10], Operations: ['14-4=10']
Exploring Operation: 91-21=70, Resulting Numbers: [10, 70]
Generated Node #3: [10, 70] from Operation: 91-21=70
Current State: 60:[10, 70], Operations: ['14-4=10', '91-21=70']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[14, 4, 21, 91], Operations: []
Exploring Operation: 91-21=70, Resulting Numbers: [14, 4, 70]
Generated Node #0,0: 60:[14, 4, 70] Operation: 91-21=70
Exploring Operation: 91-14=77, Resulting Numbers: [4, 21, 77]
Generated Node #0,1: 60:[4, 21, 77] Operation: 91-14=77
Exploring Operation: 91-4=87, Resulting Numbers: [14, 21, 87]
Generated Node #0,2: 60:[14, 21, 87] Operation: 91-4=87
Moving to Node #0,0
Current State: 60:[14, 4, 70], Operations: ['91-21=70']
Exploring Operation: 70-4=66, Resulting Numbers: [14, 66]
Generated Node #0,0,0: 60:[14, 66] Operation: 70-4=66
Exploring Operation: 70/14=5, Resulting Numbers: [4, 5]
Generated Node #0,0,1: 60:[4, 5] Operation: 70/14=5
Exploring Operation: 70-14=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 60:[4, 56] Operation: 70-14=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[4, 5], Operations: ['91-21=70', '70/14=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[4, 56], Operations: ['91-21=70', '70-14=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[14, 4, 21, 91], Operations: []
Exploring Operation: 91-21=70, Resulting Numbers: [14, 4, 70]
Generated Node #0,0: 60:[14, 4, 70] Operation: 91-21=70
Moving to Node #0,0
Current State: 60:[14, 4, 70], Operations: ['91-21=70']
Exploring Operation: 70-14=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 60:[4, 56] Operation: 70-14=56
Moving to Node #0,0,2
Current State: 60:[4, 56], Operations: ['91-21=70', '70-14=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
15,
5,
3,
36
] | 76 | [
"15*3=45",
"36-5=31",
"45+31=76"
] | Current State: 76:[15, 5, 3, 36], Operations: []
Exploring Operation: 15*3=45, Resulting Numbers: [5, 36, 45]
Generated Node #2: [5, 36, 45] from Operation: 15*3=45
Current State: 76:[5, 36, 45], Operations: ['15*3=45']
Exploring Operation: 36-5=31, Resulting Numbers: [45, 31]
Generated Node #3: [45, 31] from Operation: 36-5=31
Current State: 76:[45, 31], Operations: ['15*3=45', '36-5=31']
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[15, 5, 3, 36], Operations: []
Exploring Operation: 15*5=75, Resulting Numbers: [3, 36, 75]
Generated Node #0,0: 76:[3, 36, 75] Operation: 15*5=75
Exploring Operation: 15+5=20, Resulting Numbers: [3, 36, 20]
Generated Node #0,1: 76:[3, 36, 20] Operation: 15+5=20
Exploring Operation: 15/5=3, Resulting Numbers: [3, 36, 3]
Generated Node #0,2: 76:[3, 36, 3] Operation: 15/5=3
Exploring Operation: 15/3=5, Resulting Numbers: [5, 36, 5]
Generated Node #0,3: 76:[5, 36, 5] Operation: 15/3=5
Exploring Operation: 15+3=18, Resulting Numbers: [5, 36, 18]
Generated Node #0,4: 76:[5, 36, 18] Operation: 15+3=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 36, 75], Operations: ['15*5=75']
Exploring Operation: 3+36=39, Resulting Numbers: [75, 39]
Generated Node #0,0,0: 76:[75, 39] Operation: 3+36=39
Exploring Operation: 75-3=72, Resulting Numbers: [36, 72]
Generated Node #0,0,1: 76:[36, 72] Operation: 75-3=72
Exploring Operation: 75-36=39, Resulting Numbers: [3, 39]
Generated Node #0,0,2: 76:[3, 39] Operation: 75-36=39
Exploring Operation: 3+75=78, Resulting Numbers: [36, 78]
Generated Node #0,0,3: 76:[36, 78] Operation: 3+75=78
Exploring Operation: 36-3=33, Resulting Numbers: [75, 33]
Generated Node #0,0,4: 76:[75, 33] Operation: 36-3=33
Moving to Node #0,0,0
Current State: 76:[75, 39], Operations: ['15*5=75', '3+36=39']
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,76 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[3, 39], Operations: ['15*5=75', '75-36=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[36, 78], Operations: ['15*5=75', '3+75=78']
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,76 unequal: No Solution
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[36, 72], Operations: ['15*5=75', '75-3=72']
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36*72=2592, Resulting Numbers: [2592]
2592,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[75, 33], Operations: ['15*5=75', '36-3=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,76 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,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, 36, 20], Operations: ['15+5=20']
Exploring Operation: 3+20=23, Resulting Numbers: [36, 23]
Generated Node #0,1,0: 76:[36, 23] Operation: 3+20=23
Exploring Operation: 3+36=39, Resulting Numbers: [20, 39]
Generated Node #0,1,1: 76:[20, 39] Operation: 3+36=39
Exploring Operation: 36-20=16, Resulting Numbers: [3, 16]
Generated Node #0,1,2: 76:[3, 16] Operation: 36-20=16
Exploring Operation: 20-3=17, Resulting Numbers: [36, 17]
Generated Node #0,1,3: 76:[36, 17] Operation: 20-3=17
Exploring Operation: 36-3=33, Resulting Numbers: [20, 33]
Generated Node #0,1,4: 76:[20, 33] Operation: 36-3=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[20, 39], Operations: ['15+5=20', '3+36=39']
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,76 unequal: No Solution
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,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,1,2
Current State: 76:[3, 16], Operations: ['15+5=20', '36-20=16']
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
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,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,1,3
Current State: 76:[36, 17], Operations: ['15+5=20', '20-3=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,76 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,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,1,0
Current State: 76:[36, 23], Operations: ['15+5=20', '3+20=23']
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,76 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,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,1,4
Current State: 76:[20, 33], Operations: ['15+5=20', '36-3=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,76 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,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,2
Current State: 76:[3, 36, 3], Operations: ['15/5=3']
Exploring Operation: 3-3=0, Resulting Numbers: [36, 0]
Generated Node #0,2,0: 76:[36, 0] Operation: 3-3=0
Exploring Operation: 3/3=1, Resulting Numbers: [36, 1]
Generated Node #0,2,1: 76:[36, 1] Operation: 3/3=1
Exploring Operation: 3+36=39, Resulting Numbers: [3, 39]
Generated Node #0,2,2: 76:[3, 39] Operation: 3+36=39
Exploring Operation: 36+3=39, Resulting Numbers: [3, 39]
Generated Node #0,2,3: 76:[3, 39] Operation: 36+3=39
Exploring Operation: 3+3=6, Resulting Numbers: [36, 6]
Generated Node #0,2,4: 76:[36, 6] Operation: 3+3=6
Moving to Node #0,2,2
Current State: 76:[3, 39], Operations: ['15/5=3', '3+36=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[3, 39], Operations: ['15/5=3', '36+3=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,76 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[36, 1], Operations: ['15/5=3', '3/3=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[36, 0], Operations: ['15/5=3', '3-3=0']
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[36, 6], Operations: ['15/5=3', '3+3=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,76 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,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
Current State: 76:[5, 36, 5], Operations: ['15/3=5']
Exploring Operation: 5+36=41, Resulting Numbers: [5, 41]
Generated Node #0,3,0: 76:[5, 41] Operation: 5+36=41
Exploring Operation: 5-5=0, Resulting Numbers: [36, 0]
Generated Node #0,3,1: 76:[36, 0] Operation: 5-5=0
Exploring Operation: 36-5=31, Resulting Numbers: [5, 31]
Generated Node #0,3,2: 76:[5, 31] Operation: 36-5=31
Exploring Operation: 36+5=41, Resulting Numbers: [5, 41]
Generated Node #0,3,3: 76:[5, 41] Operation: 36+5=41
Exploring Operation: 5/5=1, Resulting Numbers: [36, 1]
Generated Node #0,3,4: 76:[36, 1] Operation: 5/5=1
Moving to Node #0,3,4
Current State: 76:[36, 1], Operations: ['15/3=5', '5/5=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[36, 0], Operations: ['15/3=5', '5-5=0']
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[5, 41], Operations: ['15/3=5', '5+36=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,76 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,76 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[5, 41], Operations: ['15/3=5', '36+5=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,76 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,76 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[5, 31], Operations: ['15/3=5', '36-5=31']
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,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,4
Current State: 76:[5, 36, 18], Operations: ['15+3=18']
Exploring Operation: 5+18=23, Resulting Numbers: [36, 23]
Generated Node #0,4,0: 76:[36, 23] Operation: 5+18=23
Exploring Operation: 36-5=31, Resulting Numbers: [18, 31]
Generated Node #0,4,1: 76:[18, 31] Operation: 36-5=31
Exploring Operation: 36/18=2, Resulting Numbers: [5, 2]
Generated Node #0,4,2: 76:[5, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [5, 18]
Generated Node #0,4,3: 76:[5, 18] Operation: 36-18=18
Exploring Operation: 5+36=41, Resulting Numbers: [18, 41]
Generated Node #0,4,4: 76:[18, 41] Operation: 5+36=41
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 76:[5, 2], Operations: ['15+3=18', '36/18=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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,4,3
Current State: 76:[5, 18], Operations: ['15+3=18', '36-18=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,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,4,4
Current State: 76:[18, 41], Operations: ['15+3=18', '5+36=41']
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,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,4,0
Current State: 76:[36, 23], Operations: ['15+3=18', '5+18=23']
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,76 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,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,4,1
Current State: 76:[18, 31], Operations: ['15+3=18', '36-5=31']
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,76 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
99,
77,
92,
52
] | 41 | [
"99-92=7",
"77/7=11",
"52-11=41"
] | Current State: 41:[99, 77, 92, 52], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [77, 52, 7]
Generated Node #2: [77, 52, 7] from Operation: 99-92=7
Current State: 41:[77, 52, 7], Operations: ['99-92=7']
Exploring Operation: 77/7=11, Resulting Numbers: [52, 11]
Generated Node #3: [52, 11] from Operation: 77/7=11
Current State: 41:[52, 11], Operations: ['99-92=7', '77/7=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[99, 77, 92, 52], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [77, 92, 47]
Generated Node #0,0: 41:[77, 92, 47] Operation: 99-52=47
Exploring Operation: 99-77=22, Resulting Numbers: [92, 52, 22]
Generated Node #0,1: 41:[92, 52, 22] Operation: 99-77=22
Exploring Operation: 99-92=7, Resulting Numbers: [77, 52, 7]
Generated Node #0,2: 41:[77, 52, 7] Operation: 99-92=7
Moving to Node #0,1
Current State: 41:[92, 52, 22], Operations: ['99-77=22']
Exploring Operation: 92-52=40, Resulting Numbers: [22, 40]
Generated Node #0,1,0: 41:[22, 40] Operation: 92-52=40
Exploring Operation: 92-22=70, Resulting Numbers: [52, 70]
Generated Node #0,1,1: 41:[52, 70] Operation: 92-22=70
Exploring Operation: 52-22=30, Resulting Numbers: [92, 30]
Generated Node #0,1,2: 41:[92, 30] Operation: 52-22=30
Moving to Node #0,2
Current State: 41:[77, 52, 7], Operations: ['99-92=7']
Exploring Operation: 77-7=70, Resulting Numbers: [52, 70]
Generated Node #0,2,0: 41:[52, 70] Operation: 77-7=70
Exploring Operation: 52-7=45, Resulting Numbers: [77, 45]
Generated Node #0,2,1: 41:[77, 45] Operation: 52-7=45
Exploring Operation: 77/7=11, Resulting Numbers: [52, 11]
Generated Node #0,2,2: 41:[52, 11] Operation: 77/7=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[52, 70], Operations: ['99-92=7', '77-7=70']
Exploring Operation: 52*70=3640, Resulting Numbers: [3640]
3640,41 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[77, 45], Operations: ['99-92=7', '52-7=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,41 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[52, 11], Operations: ['99-92=7', '77/7=11']
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[99, 77, 92, 52], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [77, 52, 7]
Generated Node #0,2: 41:[77, 52, 7] Operation: 99-92=7
Moving to Node #0,2
Current State: 41:[77, 52, 7], Operations: ['99-92=7']
Exploring Operation: 77/7=11, Resulting Numbers: [52, 11]
Generated Node #0,2,2: 41:[52, 11] Operation: 77/7=11
Moving to Node #0,2,2
Current State: 41:[52, 11], Operations: ['99-92=7', '77/7=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
1,
7,
48,
71
] | 15 | [
"1+7=8",
"71-48=23",
"23-8=15"
] | Current State: 15:[1, 7, 48, 71], Operations: []
Exploring Operation: 1+7=8, Resulting Numbers: [48, 71, 8]
Generated Node #2: [48, 71, 8] from Operation: 1+7=8
Current State: 15:[48, 71, 8], Operations: ['1+7=8']
Exploring Operation: 71-48=23, Resulting Numbers: [8, 23]
Generated Node #3: [8, 23] from Operation: 71-48=23
Current State: 15:[8, 23], Operations: ['1+7=8', '71-48=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[1, 7, 48, 71], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [1, 48, 64]
Generated Node #0,0: 15:[1, 48, 64] Operation: 71-7=64
Exploring Operation: 48-7=41, Resulting Numbers: [1, 71, 41]
Generated Node #0,1: 15:[1, 71, 41] Operation: 48-7=41
Exploring Operation: 71-48=23, Resulting Numbers: [1, 7, 23]
Generated Node #0,2: 15:[1, 7, 23] Operation: 71-48=23
Moving to Node #0,2
Current State: 15:[1, 7, 23], Operations: ['71-48=23']
Exploring Operation: 7-1=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 15:[23, 6] Operation: 7-1=6
Exploring Operation: 23-7=16, Resulting Numbers: [1, 16]
Generated Node #0,2,1: 15:[1, 16] Operation: 23-7=16
Exploring Operation: 23-1=22, Resulting Numbers: [7, 22]
Generated Node #0,2,2: 15:[7, 22] Operation: 23-1=22
Moving to Node #0,0
Current State: 15:[1, 48, 64], Operations: ['71-7=64']
Exploring Operation: 48-1=47, Resulting Numbers: [64, 47]
Generated Node #0,0,0: 15:[64, 47] Operation: 48-1=47
Exploring Operation: 64-48=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 15:[1, 16] Operation: 64-48=16
Exploring Operation: 64-1=63, Resulting Numbers: [48, 63]
Generated Node #0,0,2: 15:[48, 63] Operation: 64-1=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[1, 16], Operations: ['71-7=64', '64-48=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[1, 7, 48, 71], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [1, 48, 64]
Generated Node #0,0: 15:[1, 48, 64] Operation: 71-7=64
Moving to Node #0,0
Current State: 15:[1, 48, 64], Operations: ['71-7=64']
Exploring Operation: 64-48=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 15:[1, 16] Operation: 64-48=16
Moving to Node #0,0,1
Current State: 15:[1, 16], Operations: ['71-7=64', '64-48=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
62,
24,
96,
4
] | 46 | [
"96/24=4",
"4*4=16",
"62-16=46"
] | Current State: 46:[62, 24, 96, 4], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [62, 4, 4]
Generated Node #2: [62, 4, 4] from Operation: 96/24=4
Current State: 46:[62, 4, 4], Operations: ['96/24=4']
Exploring Operation: 4*4=16, Resulting Numbers: [62, 16]
Generated Node #3: [62, 16] from Operation: 4*4=16
Current State: 46:[62, 16], Operations: ['96/24=4', '4*4=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[62, 24, 96, 4], Operations: []
Exploring Operation: 96-62=34, Resulting Numbers: [24, 4, 34]
Generated Node #0,0: 46:[24, 4, 34] Operation: 96-62=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[24, 4, 34], Operations: ['96-62=34']
Exploring Operation: 34-4=30, Resulting Numbers: [24, 30]
Generated Node #0,0,0: 46:[24, 30] Operation: 34-4=30
Moving to Node #0,0,0
Current State: 46:[24, 30], Operations: ['96-62=34', '34-4=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
1,
73,
9
] | 90 | [
"27-1=26",
"73-9=64",
"26+64=90"
] | Current State: 90:[27, 1, 73, 9], Operations: []
Exploring Operation: 27-1=26, Resulting Numbers: [73, 9, 26]
Generated Node #2: [73, 9, 26] from Operation: 27-1=26
Current State: 90:[73, 9, 26], Operations: ['27-1=26']
Exploring Operation: 73-9=64, Resulting Numbers: [26, 64]
Generated Node #3: [26, 64] from Operation: 73-9=64
Current State: 90:[26, 64], Operations: ['27-1=26', '73-9=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[27, 1, 73, 9], Operations: []
Exploring Operation: 27+73=100, Resulting Numbers: [1, 9, 100]
Generated Node #0,0: 90:[1, 9, 100] Operation: 27+73=100
Exploring Operation: 73-27=46, Resulting Numbers: [1, 9, 46]
Generated Node #0,1: 90:[1, 9, 46] Operation: 73-27=46
Exploring Operation: 73+9=82, Resulting Numbers: [27, 1, 82]
Generated Node #0,2: 90:[27, 1, 82] Operation: 73+9=82
Moving to Node #0,1
Current State: 90:[1, 9, 46], Operations: ['73-27=46']
Exploring Operation: 46-1=45, Resulting Numbers: [9, 45]
Generated Node #0,1,0: 90:[9, 45] Operation: 46-1=45
Exploring Operation: 1*9=9, Resulting Numbers: [46, 9]
Generated Node #0,1,1: 90:[46, 9] Operation: 1*9=9
Exploring Operation: 1+9=10, Resulting Numbers: [46, 10]
Generated Node #0,1,2: 90:[46, 10] Operation: 1+9=10
Moving to Node #0,0
Current State: 90:[1, 9, 100], Operations: ['27+73=100']
Exploring Operation: 100-1=99, Resulting Numbers: [9, 99]
Generated Node #0,0,0: 90:[9, 99] Operation: 100-1=99
Exploring Operation: 1+9=10, Resulting Numbers: [100, 10]
Generated Node #0,0,1: 90:[100, 10] Operation: 1+9=10
Exploring Operation: 100-9=91, Resulting Numbers: [1, 91]
Generated Node #0,0,2: 90:[1, 91] Operation: 100-9=91
Moving to Node #0,2
Current State: 90:[27, 1, 82], Operations: ['73+9=82']
Exploring Operation: 27+1=28, Resulting Numbers: [82, 28]
Generated Node #0,2,0: 90:[82, 28] Operation: 27+1=28
Exploring Operation: 27*1=27, Resulting Numbers: [82, 27]
Generated Node #0,2,1: 90:[82, 27] Operation: 27*1=27
Exploring Operation: 1+82=83, Resulting Numbers: [27, 83]
Generated Node #0,2,2: 90:[27, 83] Operation: 1+82=83
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[82, 28], Operations: ['73+9=82', '27+1=28']
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,90 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[27, 83], Operations: ['73+9=82', '1+82=83']
Exploring Operation: 27+83=110, Resulting Numbers: [110]
110,90 unequal: No Solution
Exploring Operation: 27*83=2241, Resulting Numbers: [2241]
2241,90 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[82, 27], Operations: ['73+9=82', '27*1=27']
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,90 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 90:[9, 45], Operations: ['73-27=46', '46-1=45']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[46, 10], Operations: ['73-27=46', '1+9=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[46, 9], Operations: ['73-27=46', '1*9=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,90 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[1, 91], Operations: ['27+73=100', '100-9=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[27, 1, 73, 9], Operations: []
Exploring Operation: 27+73=100, Resulting Numbers: [1, 9, 100]
Generated Node #0,0: 90:[1, 9, 100] Operation: 27+73=100
Moving to Node #0,0
Current State: 90:[1, 9, 100], Operations: ['27+73=100']
Exploring Operation: 100-9=91, Resulting Numbers: [1, 91]
Generated Node #0,0,2: 90:[1, 91] Operation: 100-9=91
Moving to Node #0,0,2
Current State: 90:[1, 91], Operations: ['27+73=100', '100-9=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
16,
65,
6,
40
] | 95 | [
"65-16=49",
"6+40=46",
"49+46=95"
] | Current State: 95:[16, 65, 6, 40], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [6, 40, 49]
Generated Node #2: [6, 40, 49] from Operation: 65-16=49
Current State: 95:[6, 40, 49], Operations: ['65-16=49']
Exploring Operation: 6+40=46, Resulting Numbers: [49, 46]
Generated Node #3: [49, 46] from Operation: 6+40=46
Current State: 95:[49, 46], Operations: ['65-16=49', '6+40=46']
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[16, 65, 6, 40], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [16, 6, 25]
Generated Node #0,0: 95:[16, 6, 25] Operation: 65-40=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[16, 6, 25], Operations: ['65-40=25']
Exploring Operation: 25-6=19, Resulting Numbers: [16, 19]
Generated Node #0,0,0: 95:[16, 19] Operation: 25-6=19
Moving to Node #0,0,0
Current State: 95:[16, 19], Operations: ['65-40=25', '25-6=19']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
33,
4,
2
] | 16 | [
"62/2=31",
"33+31=64",
"64/4=16"
] | Current State: 16:[62, 33, 4, 2], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [33, 4, 31]
Generated Node #2: [33, 4, 31] from Operation: 62/2=31
Current State: 16:[33, 4, 31], Operations: ['62/2=31']
Exploring Operation: 33+31=64, Resulting Numbers: [4, 64]
Generated Node #3: [4, 64] from Operation: 33+31=64
Current State: 16:[4, 64], Operations: ['62/2=31', '33+31=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[62, 33, 4, 2], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [4, 2, 29]
Generated Node #0,0: 16:[4, 2, 29] Operation: 62-33=29
Exploring Operation: 62/2=31, Resulting Numbers: [33, 4, 31]
Generated Node #0,1: 16:[33, 4, 31] Operation: 62/2=31
Moving to Node #0,0
Current State: 16:[4, 2, 29], Operations: ['62-33=29']
Exploring Operation: 29-2=27, Resulting Numbers: [4, 27]
Generated Node #0,0,0: 16:[4, 27] Operation: 29-2=27
Exploring Operation: 29-4=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 16:[2, 25] Operation: 29-4=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[2, 25], Operations: ['62-33=29', '29-4=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[4, 27], Operations: ['62-33=29', '29-2=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,16 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: 16:[33, 4, 31], Operations: ['62/2=31']
Exploring Operation: 33-31=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 16:[4, 2] Operation: 33-31=2
Exploring Operation: 33-4=29, Resulting Numbers: [31, 29]
Generated Node #0,1,1: 16:[31, 29] Operation: 33-4=29
Moving to Node #0,1,0
Current State: 16:[4, 2], Operations: ['62/2=31', '33-31=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[31, 29], Operations: ['62/2=31', '33-4=29']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,16 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
83,
28,
2,
59
] | 57 | [
"83-28=55",
"59+55=114",
"114/2=57"
] | Current State: 57:[83, 28, 2, 59], Operations: []
Exploring Operation: 83-28=55, Resulting Numbers: [2, 59, 55]
Generated Node #2: [2, 59, 55] from Operation: 83-28=55
Current State: 57:[2, 59, 55], Operations: ['83-28=55']
Exploring Operation: 59+55=114, Resulting Numbers: [2, 114]
Generated Node #3: [2, 114] from Operation: 59+55=114
Current State: 57:[2, 114], Operations: ['83-28=55', '59+55=114']
Exploring Operation: 114/2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[83, 28, 2, 59], Operations: []
Exploring Operation: 83-28=55, Resulting Numbers: [2, 59, 55]
Generated Node #0,0: 57:[2, 59, 55] Operation: 83-28=55
Exploring Operation: 83-59=24, Resulting Numbers: [28, 2, 24]
Generated Node #0,1: 57:[28, 2, 24] Operation: 83-59=24
Exploring Operation: 28/2=14, Resulting Numbers: [83, 59, 14]
Generated Node #0,2: 57:[83, 59, 14] Operation: 28/2=14
Exploring Operation: 83-2=81, Resulting Numbers: [28, 59, 81]
Generated Node #0,3: 57:[28, 59, 81] Operation: 83-2=81
Exploring Operation: 28*2=56, Resulting Numbers: [83, 59, 56]
Generated Node #0,4: 57:[83, 59, 56] Operation: 28*2=56
Moving to Node #0,0
Current State: 57:[2, 59, 55], Operations: ['83-28=55']
Exploring Operation: 2+55=57, Resulting Numbers: [59, 57]
Generated Node #0,0,0: 57:[59, 57] Operation: 2+55=57
Exploring Operation: 2+59=61, Resulting Numbers: [55, 61]
Generated Node #0,0,1: 57:[55, 61] Operation: 2+59=61
Exploring Operation: 59-2=57, Resulting Numbers: [55, 57]
Generated Node #0,0,2: 57:[55, 57] Operation: 59-2=57
Exploring Operation: 55-2=53, Resulting Numbers: [59, 53]
Generated Node #0,0,3: 57:[59, 53] Operation: 55-2=53
Exploring Operation: 59-55=4, Resulting Numbers: [2, 4]
Generated Node #0,0,4: 57:[2, 4] Operation: 59-55=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[59, 57], Operations: ['83-28=55', '2+55=57']
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,57 unequal: No Solution
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[55, 57], Operations: ['83-28=55', '59-2=57']
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,57 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 57:[2, 4], Operations: ['83-28=55', '59-55=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[55, 61], Operations: ['83-28=55', '2+59=61']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 55*61=3355, Resulting Numbers: [3355]
3355,57 unequal: No Solution
Exploring Operation: 55+61=116, Resulting Numbers: [116]
116,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[59, 53], Operations: ['83-28=55', '55-2=53']
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,57 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[28, 2, 24], Operations: ['83-59=24']
Exploring Operation: 28*2=56, Resulting Numbers: [24, 56]
Generated Node #0,1,0: 57:[24, 56] Operation: 28*2=56
Exploring Operation: 28-24=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 57:[2, 4] Operation: 28-24=4
Exploring Operation: 28/2=14, Resulting Numbers: [24, 14]
Generated Node #0,1,2: 57:[24, 14] Operation: 28/2=14
Exploring Operation: 28+24=52, Resulting Numbers: [2, 52]
Generated Node #0,1,3: 57:[2, 52] Operation: 28+24=52
Exploring Operation: 28-2=26, Resulting Numbers: [24, 26]
Generated Node #0,1,4: 57:[24, 26] Operation: 28-2=26
Moving to Node #0,4
Current State: 57:[83, 59, 56], Operations: ['28*2=56']
Exploring Operation: 59-56=3, Resulting Numbers: [83, 3]
Generated Node #0,4,0: 57:[83, 3] Operation: 59-56=3
Exploring Operation: 59+56=115, Resulting Numbers: [83, 115]
Generated Node #0,4,1: 57:[83, 115] Operation: 59+56=115
Exploring Operation: 83+56=139, Resulting Numbers: [59, 139]
Generated Node #0,4,2: 57:[59, 139] Operation: 83+56=139
Exploring Operation: 83-56=27, Resulting Numbers: [59, 27]
Generated Node #0,4,3: 57:[59, 27] Operation: 83-56=27
Exploring Operation: 83-59=24, Resulting Numbers: [56, 24]
Generated Node #0,4,4: 57:[56, 24] Operation: 83-59=24
Moving to Node #0,2
Current State: 57:[83, 59, 14], Operations: ['28/2=14']
Exploring Operation: 83-14=69, Resulting Numbers: [59, 69]
Generated Node #0,2,0: 57:[59, 69] Operation: 83-14=69
Exploring Operation: 83-59=24, Resulting Numbers: [14, 24]
Generated Node #0,2,1: 57:[14, 24] Operation: 83-59=24
Exploring Operation: 59-14=45, Resulting Numbers: [83, 45]
Generated Node #0,2,2: 57:[83, 45] Operation: 59-14=45
Exploring Operation: 59+14=73, Resulting Numbers: [83, 73]
Generated Node #0,2,3: 57:[83, 73] Operation: 59+14=73
Exploring Operation: 83+14=97, Resulting Numbers: [59, 97]
Generated Node #0,2,4: 57:[59, 97] Operation: 83+14=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[14, 24], Operations: ['28/2=14', '83-59=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[59, 69], Operations: ['28/2=14', '83-14=69']
Exploring Operation: 59+69=128, Resulting Numbers: [128]
128,57 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 59*69=4071, Resulting Numbers: [4071]
4071,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[83, 45], Operations: ['28/2=14', '59-14=45']
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,57 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[83, 73], Operations: ['28/2=14', '59+14=73']
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 83*73=6059, Resulting Numbers: [6059]
6059,57 unequal: No Solution
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 57:[59, 97], Operations: ['28/2=14', '83+14=97']
Exploring Operation: 59*97=5723, Resulting Numbers: [5723]
5723,57 unequal: No Solution
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 59+97=156, Resulting Numbers: [156]
156,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 57:[28, 59, 81], Operations: ['83-2=81']
Exploring Operation: 59-28=31, Resulting Numbers: [81, 31]
Generated Node #0,3,0: 57:[81, 31] Operation: 59-28=31
Exploring Operation: 28+59=87, Resulting Numbers: [81, 87]
Generated Node #0,3,1: 57:[81, 87] Operation: 28+59=87
Exploring Operation: 81-59=22, Resulting Numbers: [28, 22]
Generated Node #0,3,2: 57:[28, 22] Operation: 81-59=22
Exploring Operation: 28+81=109, Resulting Numbers: [59, 109]
Generated Node #0,3,3: 57:[59, 109] Operation: 28+81=109
Exploring Operation: 81-28=53, Resulting Numbers: [59, 53]
Generated Node #0,3,4: 57:[59, 53] Operation: 81-28=53
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 57:[59, 53], Operations: ['83-2=81', '81-28=53']
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,57 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[28, 22], Operations: ['83-2=81', '81-59=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,57 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[81, 31], Operations: ['83-2=81', '59-28=31']
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 81*31=2511, Resulting Numbers: [2511]
2511,57 unequal: No Solution
Exploring Operation: 81+31=112, Resulting Numbers: [112]
112,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[81, 87], Operations: ['83-2=81', '28+59=87']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,57 unequal: No Solution
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[59, 109], Operations: ['83-2=81', '28+81=109']
Exploring Operation: 109-59=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 59*109=6431, Resulting Numbers: [6431]
6431,57 unequal: No Solution
Exploring Operation: 59+109=168, Resulting Numbers: [168]
168,57 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: 57:[2, 4], Operations: ['83-59=24', '28-24=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[2, 52], Operations: ['83-59=24', '28+24=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[56, 24], Operations: ['28*2=56', '83-59=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,57 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[24, 56], Operations: ['83-59=24', '28*2=56']
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,57 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[59, 27], Operations: ['28*2=56', '83-56=27']
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,57 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[24, 14], Operations: ['83-59=24', '28/2=14']
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,57 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[24, 26], Operations: ['83-59=24', '28-2=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,57 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[83, 3], Operations: ['28*2=56', '59-56=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,57 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[83, 115], Operations: ['28*2=56', '59+56=115']
Exploring Operation: 115-83=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 83+115=198, Resulting Numbers: [198]
198,57 unequal: No Solution
Exploring Operation: 83*115=9545, Resulting Numbers: [9545]
9545,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[59, 139], Operations: ['28*2=56', '83+56=139']
Exploring Operation: 59*139=8201, Resulting Numbers: [8201]
8201,57 unequal: No Solution
Exploring Operation: 139-59=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 59+139=198, Resulting Numbers: [198]
198,57 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
1,
5,
63
] | 83 | [
"29*5=145",
"63-1=62",
"145-62=83"
] | Current State: 83:[29, 1, 5, 63], Operations: []
Exploring Operation: 29*5=145, Resulting Numbers: [1, 63, 145]
Generated Node #2: [1, 63, 145] from Operation: 29*5=145
Current State: 83:[1, 63, 145], Operations: ['29*5=145']
Exploring Operation: 63-1=62, Resulting Numbers: [145, 62]
Generated Node #3: [145, 62] from Operation: 63-1=62
Current State: 83:[145, 62], Operations: ['29*5=145', '63-1=62']
Exploring Operation: 145-62=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[29, 1, 5, 63], Operations: []
Exploring Operation: 29+1=30, Resulting Numbers: [5, 63, 30]
Generated Node #0,0: 83:[5, 63, 30] Operation: 29+1=30
Exploring Operation: 1+63=64, Resulting Numbers: [29, 5, 64]
Generated Node #0,1: 83:[29, 5, 64] Operation: 1+63=64
Exploring Operation: 1+5=6, Resulting Numbers: [29, 63, 6]
Generated Node #0,2: 83:[29, 63, 6] Operation: 1+5=6
Exploring Operation: 29+5=34, Resulting Numbers: [1, 63, 34]
Generated Node #0,3: 83:[1, 63, 34] Operation: 29+5=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[5, 63, 30], Operations: ['29+1=30']
Exploring Operation: 5+30=35, Resulting Numbers: [63, 35]
Generated Node #0,0,0: 83:[63, 35] Operation: 5+30=35
Exploring Operation: 5+63=68, Resulting Numbers: [30, 68]
Generated Node #0,0,1: 83:[30, 68] Operation: 5+63=68
Exploring Operation: 30-5=25, Resulting Numbers: [63, 25]
Generated Node #0,0,2: 83:[63, 25] Operation: 30-5=25
Exploring Operation: 63-5=58, Resulting Numbers: [30, 58]
Generated Node #0,0,3: 83:[30, 58] Operation: 63-5=58
Moving to Node #0,0,0
Current State: 83:[63, 35], Operations: ['29+1=30', '5+30=35']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,83 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[30, 68], Operations: ['29+1=30', '5+63=68']
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,83 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[30, 58], Operations: ['29+1=30', '63-5=58']
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,83 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[63, 25], Operations: ['29+1=30', '30-5=25']
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,83 unequal: No Solution
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[29, 5, 64], Operations: ['1+63=64']
Exploring Operation: 5+64=69, Resulting Numbers: [29, 69]
Generated Node #0,1,0: 83:[29, 69] Operation: 5+64=69
Exploring Operation: 29+5=34, Resulting Numbers: [64, 34]
Generated Node #0,1,1: 83:[64, 34] Operation: 29+5=34
Exploring Operation: 29-5=24, Resulting Numbers: [64, 24]
Generated Node #0,1,2: 83:[64, 24] Operation: 29-5=24
Exploring Operation: 64-5=59, Resulting Numbers: [29, 59]
Generated Node #0,1,3: 83:[29, 59] Operation: 64-5=59
Moving to Node #0,1,0
Current State: 83:[29, 69], Operations: ['1+63=64', '5+64=69']
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[64, 34], Operations: ['1+63=64', '29+5=34']
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[29, 59], Operations: ['1+63=64', '64-5=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[64, 24], Operations: ['1+63=64', '29-5=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[29, 63, 6], Operations: ['1+5=6']
Exploring Operation: 63+6=69, Resulting Numbers: [29, 69]
Generated Node #0,2,0: 83:[29, 69] Operation: 63+6=69
Exploring Operation: 29+6=35, Resulting Numbers: [63, 35]
Generated Node #0,2,1: 83:[63, 35] Operation: 29+6=35
Exploring Operation: 29-6=23, Resulting Numbers: [63, 23]
Generated Node #0,2,2: 83:[63, 23] Operation: 29-6=23
Exploring Operation: 63-6=57, Resulting Numbers: [29, 57]
Generated Node #0,2,3: 83:[29, 57] Operation: 63-6=57
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[29, 69], Operations: ['1+5=6', '63+6=69']
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[63, 35], Operations: ['1+5=6', '29+6=35']
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,83 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[63, 23], Operations: ['1+5=6', '29-6=23']
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[29, 57], Operations: ['1+5=6', '63-6=57']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,83 unequal: No Solution
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[1, 63, 34], Operations: ['29+5=34']
Exploring Operation: 1+34=35, Resulting Numbers: [63, 35]
Generated Node #0,3,0: 83:[63, 35] Operation: 1+34=35
Exploring Operation: 1+63=64, Resulting Numbers: [34, 64]
Generated Node #0,3,1: 83:[34, 64] Operation: 1+63=64
Exploring Operation: 63/1=63, Resulting Numbers: [34, 63]
Generated Node #0,3,2: 83:[34, 63] Operation: 63/1=63
Exploring Operation: 1*63=63, Resulting Numbers: [34, 63]
Generated Node #0,3,3: 83:[34, 63] Operation: 1*63=63
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[63, 35], Operations: ['29+5=34', '1+34=35']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,83 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 83:[34, 64], Operations: ['29+5=34', '1+63=64']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 34*64=2176, Resulting Numbers: [2176]
2176,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[34, 63], Operations: ['29+5=34', '63/1=63']
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,83 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 83:[34, 63], Operations: ['29+5=34', '1*63=63']
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,83 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,83 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
90,
2,
84
] | 74 | [
"22+84=106",
"90*2=180",
"180-106=74"
] | Current State: 74:[22, 90, 2, 84], Operations: []
Exploring Operation: 22+84=106, Resulting Numbers: [90, 2, 106]
Generated Node #2: [90, 2, 106] from Operation: 22+84=106
Current State: 74:[90, 2, 106], Operations: ['22+84=106']
Exploring Operation: 90*2=180, Resulting Numbers: [106, 180]
Generated Node #3: [106, 180] from Operation: 90*2=180
Current State: 74:[106, 180], Operations: ['22+84=106', '90*2=180']
Exploring Operation: 180-106=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[22, 90, 2, 84], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [22, 2, 6]
Generated Node #0,0: 74:[22, 2, 6] Operation: 90-84=6
Exploring Operation: 22*2=44, Resulting Numbers: [90, 84, 44]
Generated Node #0,1: 74:[90, 84, 44] Operation: 22*2=44
Exploring Operation: 84-22=62, Resulting Numbers: [90, 2, 62]
Generated Node #0,2: 74:[90, 2, 62] Operation: 84-22=62
Exploring Operation: 90-22=68, Resulting Numbers: [2, 84, 68]
Generated Node #0,3: 74:[2, 84, 68] Operation: 90-22=68
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[2, 84, 68], Operations: ['90-22=68']
Exploring Operation: 68/2=34, Resulting Numbers: [84, 34]
Generated Node #0,3,0: 74:[84, 34] Operation: 68/2=34
Exploring Operation: 2+68=70, Resulting Numbers: [84, 70]
Generated Node #0,3,1: 74:[84, 70] Operation: 2+68=70
Exploring Operation: 84-2=82, Resulting Numbers: [68, 82]
Generated Node #0,3,2: 74:[68, 82] Operation: 84-2=82
Exploring Operation: 84/2=42, Resulting Numbers: [68, 42]
Generated Node #0,3,3: 74:[68, 42] Operation: 84/2=42
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 74:[68, 42], Operations: ['90-22=68', '84/2=42']
Exploring Operation: 68*42=2856, Resulting Numbers: [2856]
2856,74 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 68+42=110, Resulting Numbers: [110]
110,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[84, 34], Operations: ['90-22=68', '68/2=34']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[84, 70], Operations: ['90-22=68', '2+68=70']
Exploring Operation: 84*70=5880, Resulting Numbers: [5880]
5880,74 unequal: No Solution
Exploring Operation: 84+70=154, Resulting Numbers: [154]
154,74 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[68, 82], Operations: ['90-22=68', '84-2=82']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,74 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[22, 2, 6], Operations: ['90-84=6']
Exploring Operation: 22/2=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 74:[6, 11] Operation: 22/2=11
Exploring Operation: 22*2=44, Resulting Numbers: [6, 44]
Generated Node #0,0,1: 74:[6, 44] Operation: 22*2=44
Exploring Operation: 22-6=16, Resulting Numbers: [2, 16]
Generated Node #0,0,2: 74:[2, 16] Operation: 22-6=16
Exploring Operation: 22+6=28, Resulting Numbers: [2, 28]
Generated Node #0,0,3: 74:[2, 28] Operation: 22+6=28
Moving to Node #0,0,3
Current State: 74:[2, 28], Operations: ['90-84=6', '22+6=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[6, 44], Operations: ['90-84=6', '22*2=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,74 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[6, 11], Operations: ['90-84=6', '22/2=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[2, 16], Operations: ['90-84=6', '22-6=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[90, 2, 62], Operations: ['84-22=62']
Exploring Operation: 62/2=31, Resulting Numbers: [90, 31]
Generated Node #0,2,0: 74:[90, 31] Operation: 62/2=31
Exploring Operation: 90/2=45, Resulting Numbers: [62, 45]
Generated Node #0,2,1: 74:[62, 45] Operation: 90/2=45
Exploring Operation: 90-2=88, Resulting Numbers: [62, 88]
Generated Node #0,2,2: 74:[62, 88] Operation: 90-2=88
Exploring Operation: 90-62=28, Resulting Numbers: [2, 28]
Generated Node #0,2,3: 74:[2, 28] Operation: 90-62=28
Moving to Node #0,2,3
Current State: 74:[2, 28], Operations: ['84-22=62', '90-62=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[62, 45], Operations: ['84-22=62', '90/2=45']
Exploring Operation: 62*45=2790, Resulting Numbers: [2790]
2790,74 unequal: No Solution
Exploring Operation: 62+45=107, Resulting Numbers: [107]
107,74 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[90, 31], Operations: ['84-22=62', '62/2=31']
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,74 unequal: No Solution
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[62, 88], Operations: ['84-22=62', '90-2=88']
Exploring Operation: 62+88=150, Resulting Numbers: [150]
150,74 unequal: No Solution
Exploring Operation: 62*88=5456, Resulting Numbers: [5456]
5456,74 unequal: No Solution
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[90, 84, 44], Operations: ['22*2=44']
Exploring Operation: 90-44=46, Resulting Numbers: [84, 46]
Generated Node #0,1,0: 74:[84, 46] Operation: 90-44=46
Exploring Operation: 90+44=134, Resulting Numbers: [84, 134]
Generated Node #0,1,1: 74:[84, 134] Operation: 90+44=134
Exploring Operation: 84-44=40, Resulting Numbers: [90, 40]
Generated Node #0,1,2: 74:[90, 40] Operation: 84-44=40
Exploring Operation: 90-84=6, Resulting Numbers: [44, 6]
Generated Node #0,1,3: 74:[44, 6] Operation: 90-84=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[44, 6], Operations: ['22*2=44', '90-84=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[84, 46], Operations: ['22*2=44', '90-44=46']
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,74 unequal: No Solution
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[90, 40], Operations: ['22*2=44', '84-44=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,74 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[84, 134], Operations: ['22*2=44', '90+44=134']
Exploring Operation: 134-84=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 84*134=11256, Resulting Numbers: [11256]
11256,74 unequal: No Solution
Exploring Operation: 84+134=218, Resulting Numbers: [218]
218,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
47,
73,
34
] | 94 | [
"73-56=17",
"47*34=1598",
"1598/17=94"
] | Current State: 94:[56, 47, 73, 34], Operations: []
Exploring Operation: 73-56=17, Resulting Numbers: [47, 34, 17]
Generated Node #2: [47, 34, 17] from Operation: 73-56=17
Current State: 94:[47, 34, 17], Operations: ['73-56=17']
Exploring Operation: 47*34=1598, Resulting Numbers: [17, 1598]
Generated Node #3: [17, 1598] from Operation: 47*34=1598
Current State: 94:[17, 1598], Operations: ['73-56=17', '47*34=1598']
Exploring Operation: 1598/17=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[56, 47, 73, 34], Operations: []
Exploring Operation: 73-34=39, Resulting Numbers: [56, 47, 39]
Generated Node #0,0: 94:[56, 47, 39] Operation: 73-34=39
Moving to Node #0,0
Current State: 94:[56, 47, 39], Operations: ['73-34=39']
Exploring Operation: 56+39=95, Resulting Numbers: [47, 95]
Generated Node #0,0,0: 94:[47, 95] Operation: 56+39=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[47, 95], Operations: ['73-34=39', '56+39=95']
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,94 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 |
[
43,
16,
65,
81
] | 12 | [
"43+65=108",
"16*81=1296",
"1296/108=12"
] | Current State: 12:[43, 16, 65, 81], Operations: []
Exploring Operation: 43+65=108, Resulting Numbers: [16, 81, 108]
Generated Node #2: [16, 81, 108] from Operation: 43+65=108
Current State: 12:[16, 81, 108], Operations: ['43+65=108']
Exploring Operation: 16*81=1296, Resulting Numbers: [108, 1296]
Generated Node #3: [108, 1296] from Operation: 16*81=1296
Current State: 12:[108, 1296], Operations: ['43+65=108', '16*81=1296']
Exploring Operation: 1296/108=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[43, 16, 65, 81], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [65, 81, 27]
Generated Node #0,0: 12:[65, 81, 27] Operation: 43-16=27
Exploring Operation: 65-16=49, Resulting Numbers: [43, 81, 49]
Generated Node #0,1: 12:[43, 81, 49] Operation: 65-16=49
Exploring Operation: 81-65=16, Resulting Numbers: [43, 16, 16]
Generated Node #0,2: 12:[43, 16, 16] Operation: 81-65=16
Exploring Operation: 65-43=22, Resulting Numbers: [16, 81, 22]
Generated Node #0,3: 12:[16, 81, 22] Operation: 65-43=22
Exploring Operation: 81-43=38, Resulting Numbers: [16, 65, 38]
Generated Node #0,4: 12:[16, 65, 38] Operation: 81-43=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[43, 16, 16], Operations: ['81-65=16']
Exploring Operation: 43-16=27, Resulting Numbers: [16, 27]
Generated Node #0,2,0: 12:[16, 27] Operation: 43-16=27
Exploring Operation: 16-16=0, Resulting Numbers: [43, 0]
Generated Node #0,2,1: 12:[43, 0] Operation: 16-16=0
Exploring Operation: 43+16=59, Resulting Numbers: [16, 59]
Generated Node #0,2,2: 12:[16, 59] Operation: 43+16=59
Exploring Operation: 43-16=27, Resulting Numbers: [16, 27]
Generated Node #0,2,3: 12:[16, 27] Operation: 43-16=27
Exploring Operation: 16/16=1, Resulting Numbers: [43, 1]
Generated Node #0,2,4: 12:[43, 1] Operation: 16/16=1
Moving to Node #0,2,0
Current State: 12:[16, 27], Operations: ['81-65=16', '43-16=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[16, 27], Operations: ['81-65=16', '43-16=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,12 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[43, 1], Operations: ['81-65=16', '16/16=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[43, 0], Operations: ['81-65=16', '16-16=0']
Exploring Operation: 43+0=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 43-0=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 43*0=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[16, 59], Operations: ['81-65=16', '43+16=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,12 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[16, 81, 22], Operations: ['65-43=22']
Exploring Operation: 16+22=38, Resulting Numbers: [81, 38]
Generated Node #0,3,0: 12:[81, 38] Operation: 16+22=38
Exploring Operation: 81-22=59, Resulting Numbers: [16, 59]
Generated Node #0,3,1: 12:[16, 59] Operation: 81-22=59
Exploring Operation: 81-16=65, Resulting Numbers: [22, 65]
Generated Node #0,3,2: 12:[22, 65] Operation: 81-16=65
Exploring Operation: 16+81=97, Resulting Numbers: [22, 97]
Generated Node #0,3,3: 12:[22, 97] Operation: 16+81=97
Exploring Operation: 22-16=6, Resulting Numbers: [81, 6]
Generated Node #0,3,4: 12:[81, 6] Operation: 22-16=6
Moving to Node #0,3,1
Current State: 12:[16, 59], Operations: ['65-43=22', '81-22=59']
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,12 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[22, 65], Operations: ['65-43=22', '81-16=65']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 22*65=1430, Resulting Numbers: [1430]
1430,12 unequal: No Solution
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Moving to Node #0,3,4
Current State: 12:[81, 6], Operations: ['65-43=22', '22-16=6']
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,12 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[81, 38], Operations: ['65-43=22', '16+22=38']
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 81+38=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 81*38=3078, Resulting Numbers: [3078]
3078,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[22, 97], Operations: ['65-43=22', '16+81=97']
Exploring Operation: 22+97=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 22*97=2134, Resulting Numbers: [2134]
2134,12 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[16, 65, 38], Operations: ['81-43=38']
Exploring Operation: 65-16=49, Resulting Numbers: [38, 49]
Generated Node #0,4,0: 12:[38, 49] Operation: 65-16=49
Exploring Operation: 38-16=22, Resulting Numbers: [65, 22]
Generated Node #0,4,1: 12:[65, 22] Operation: 38-16=22
Exploring Operation: 16+38=54, Resulting Numbers: [65, 54]
Generated Node #0,4,2: 12:[65, 54] Operation: 16+38=54
Exploring Operation: 16+65=81, Resulting Numbers: [38, 81]
Generated Node #0,4,3: 12:[38, 81] Operation: 16+65=81
Exploring Operation: 65-38=27, Resulting Numbers: [16, 27]
Generated Node #0,4,4: 12:[16, 27] Operation: 65-38=27
Moving to Node #0,4,4
Current State: 12:[16, 27], Operations: ['81-43=38', '65-38=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,12 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[65, 22], Operations: ['81-43=38', '38-16=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,12 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,4,0
Current State: 12:[38, 49], Operations: ['81-43=38', '65-16=49']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[65, 54], Operations: ['81-43=38', '16+38=54']
Exploring Operation: 65*54=3510, Resulting Numbers: [3510]
3510,12 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[38, 81], Operations: ['81-43=38', '16+65=81']
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 38*81=3078, Resulting Numbers: [3078]
3078,12 unequal: No Solution
Exploring Operation: 38+81=119, Resulting Numbers: [119]
119,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[65, 81, 27], Operations: ['43-16=27']
Exploring Operation: 65+81=146, Resulting Numbers: [27, 146]
Generated Node #0,0,0: 12:[27, 146] Operation: 65+81=146
Exploring Operation: 81-27=54, Resulting Numbers: [65, 54]
Generated Node #0,0,1: 12:[65, 54] Operation: 81-27=54
Exploring Operation: 65-27=38, Resulting Numbers: [81, 38]
Generated Node #0,0,2: 12:[81, 38] Operation: 65-27=38
Exploring Operation: 81/27=3, Resulting Numbers: [65, 3]
Generated Node #0,0,3: 12:[65, 3] Operation: 81/27=3
Exploring Operation: 81-65=16, Resulting Numbers: [27, 16]
Generated Node #0,0,4: 12:[27, 16] Operation: 81-65=16
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 12:[27, 16], Operations: ['43-16=27', '81-65=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,12 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[65, 3], Operations: ['43-16=27', '81/27=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[65, 54], Operations: ['43-16=27', '81-27=54']
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 65*54=3510, Resulting Numbers: [3510]
3510,12 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[81, 38], Operations: ['43-16=27', '65-27=38']
Exploring Operation: 81*38=3078, Resulting Numbers: [3078]
3078,12 unequal: No Solution
Exploring Operation: 81+38=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[27, 146], Operations: ['43-16=27', '65+81=146']
Exploring Operation: 27*146=3942, Resulting Numbers: [3942]
3942,12 unequal: No Solution
Exploring Operation: 146-27=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 27+146=173, Resulting Numbers: [173]
173,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[43, 81, 49], Operations: ['65-16=49']
Exploring Operation: 81-43=38, Resulting Numbers: [49, 38]
Generated Node #0,1,0: 12:[49, 38] Operation: 81-43=38
Exploring Operation: 81-49=32, Resulting Numbers: [43, 32]
Generated Node #0,1,1: 12:[43, 32] Operation: 81-49=32
Exploring Operation: 43+81=124, Resulting Numbers: [49, 124]
Generated Node #0,1,2: 12:[49, 124] Operation: 43+81=124
Exploring Operation: 49-43=6, Resulting Numbers: [81, 6]
Generated Node #0,1,3: 12:[81, 6] Operation: 49-43=6
Exploring Operation: 43+49=92, Resulting Numbers: [81, 92]
Generated Node #0,1,4: 12:[81, 92] Operation: 43+49=92
Moving to Node #0,1,1
Current State: 12:[43, 32], Operations: ['65-16=49', '81-49=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[49, 38], Operations: ['65-16=49', '81-43=38']
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,12 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[81, 6], Operations: ['65-16=49', '49-43=6']
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,12 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[49, 124], Operations: ['65-16=49', '43+81=124']
Exploring Operation: 49*124=6076, Resulting Numbers: [6076]
6076,12 unequal: No Solution
Exploring Operation: 49+124=173, Resulting Numbers: [173]
173,12 unequal: No Solution
Exploring Operation: 124-49=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[81, 92], Operations: ['65-16=49', '43+49=92']
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 81*92=7452, Resulting Numbers: [7452]
7452,12 unequal: No Solution
Exploring Operation: 81+92=173, Resulting Numbers: [173]
173,12 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 |
[
37,
35,
42,
33
] | 28 | [
"37-33=4",
"42-35=7",
"4*7=28"
] | Current State: 28:[37, 35, 42, 33], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [35, 42, 4]
Generated Node #2: [35, 42, 4] from Operation: 37-33=4
Current State: 28:[35, 42, 4], Operations: ['37-33=4']
Exploring Operation: 42-35=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 42-35=7
Current State: 28:[4, 7], Operations: ['37-33=4', '42-35=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[37, 35, 42, 33], Operations: []
Exploring Operation: 42-37=5, Resulting Numbers: [35, 33, 5]
Generated Node #0,0: 28:[35, 33, 5] Operation: 42-37=5
Exploring Operation: 42-35=7, Resulting Numbers: [37, 33, 7]
Generated Node #0,1: 28:[37, 33, 7] Operation: 42-35=7
Moving to Node #0,0
Current State: 28:[35, 33, 5], Operations: ['42-37=5']
Exploring Operation: 35/5=7, Resulting Numbers: [33, 7]
Generated Node #0,0,0: 28:[33, 7] Operation: 35/5=7
Exploring Operation: 35-33=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 28:[5, 2] Operation: 35-33=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[5, 2], Operations: ['42-37=5', '35-33=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[33, 7], Operations: ['42-37=5', '35/5=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 28:[37, 33, 7], Operations: ['42-35=7']
Exploring Operation: 37-33=4, Resulting Numbers: [7, 4]
Generated Node #0,1,0: 28:[7, 4] Operation: 37-33=4
Exploring Operation: 37-7=30, Resulting Numbers: [33, 30]
Generated Node #0,1,1: 28:[33, 30] Operation: 37-7=30
Moving to Node #0,1,0
Current State: 28:[7, 4], Operations: ['42-35=7', '37-33=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[37, 35, 42, 33], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [37, 33, 7]
Generated Node #0,1: 28:[37, 33, 7] Operation: 42-35=7
Moving to Node #0,1
Current State: 28:[37, 33, 7], Operations: ['42-35=7']
Exploring Operation: 37-33=4, Resulting Numbers: [7, 4]
Generated Node #0,1,0: 28:[7, 4] Operation: 37-33=4
Moving to Node #0,1,0
Current State: 28:[7, 4], Operations: ['42-35=7', '37-33=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
84,
9,
51,
36
] | 78 | [
"84+9=93",
"51-36=15",
"93-15=78"
] | Current State: 78:[84, 9, 51, 36], Operations: []
Exploring Operation: 84+9=93, Resulting Numbers: [51, 36, 93]
Generated Node #2: [51, 36, 93] from Operation: 84+9=93
Current State: 78:[51, 36, 93], Operations: ['84+9=93']
Exploring Operation: 51-36=15, Resulting Numbers: [93, 15]
Generated Node #3: [93, 15] from Operation: 51-36=15
Current State: 78:[93, 15], Operations: ['84+9=93', '51-36=15']
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[84, 9, 51, 36], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [9, 36, 33]
Generated Node #0,0: 78:[9, 36, 33] Operation: 84-51=33
Exploring Operation: 51-9=42, Resulting Numbers: [84, 36, 42]
Generated Node #0,1: 78:[84, 36, 42] Operation: 51-9=42
Exploring Operation: 51-36=15, Resulting Numbers: [84, 9, 15]
Generated Node #0,2: 78:[84, 9, 15] Operation: 51-36=15
Moving to Node #0,2
Current State: 78:[84, 9, 15], Operations: ['51-36=15']
Exploring Operation: 9+15=24, Resulting Numbers: [84, 24]
Generated Node #0,2,0: 78:[84, 24] Operation: 9+15=24
Exploring Operation: 84-9=75, Resulting Numbers: [15, 75]
Generated Node #0,2,1: 78:[15, 75] Operation: 84-9=75
Exploring Operation: 15-9=6, Resulting Numbers: [84, 6]
Generated Node #0,2,2: 78:[84, 6] Operation: 15-9=6
Moving to Node #0,0
Current State: 78:[9, 36, 33], Operations: ['84-51=33']
Exploring Operation: 33-9=24, Resulting Numbers: [36, 24]
Generated Node #0,0,0: 78:[36, 24] Operation: 33-9=24
Exploring Operation: 36-33=3, Resulting Numbers: [9, 3]
Generated Node #0,0,1: 78:[9, 3] Operation: 36-33=3
Exploring Operation: 9+33=42, Resulting Numbers: [36, 42]
Generated Node #0,0,2: 78:[36, 42] Operation: 9+33=42
Moving to Node #0,1
Current State: 78:[84, 36, 42], Operations: ['51-9=42']
Exploring Operation: 84-42=42, Resulting Numbers: [36, 42]
Generated Node #0,1,0: 78:[36, 42] Operation: 84-42=42
Exploring Operation: 36+42=78, Resulting Numbers: [84, 78]
Generated Node #0,1,1: 78:[84, 78] Operation: 36+42=78
Exploring Operation: 84/42=2, Resulting Numbers: [36, 2]
Generated Node #0,1,2: 78:[36, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[36, 2], Operations: ['51-9=42', '84/42=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[36, 42], Operations: ['51-9=42', '84-42=42']
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[84, 9, 51, 36], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [84, 36, 42]
Generated Node #0,1: 78:[84, 36, 42] Operation: 51-9=42
Moving to Node #0,1
Current State: 78:[84, 36, 42], Operations: ['51-9=42']
Exploring Operation: 84-42=42, Resulting Numbers: [36, 42]
Generated Node #0,1,0: 78:[36, 42] Operation: 84-42=42
Moving to Node #0,1,0
Current State: 78:[36, 42], Operations: ['51-9=42', '84-42=42']
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
72,
78,
52,
80
] | 74 | [
"72-52=20",
"80/20=4",
"78-4=74"
] | Current State: 74:[72, 78, 52, 80], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [78, 80, 20]
Generated Node #2: [78, 80, 20] from Operation: 72-52=20
Current State: 74:[78, 80, 20], Operations: ['72-52=20']
Exploring Operation: 80/20=4, Resulting Numbers: [78, 4]
Generated Node #3: [78, 4] from Operation: 80/20=4
Current State: 74:[78, 4], Operations: ['72-52=20', '80/20=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[72, 78, 52, 80], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [72, 78, 28]
Generated Node #0,0: 74:[72, 78, 28] Operation: 80-52=28
Exploring Operation: 80-78=2, Resulting Numbers: [72, 52, 2]
Generated Node #0,1: 74:[72, 52, 2] Operation: 80-78=2
Exploring Operation: 78-52=26, Resulting Numbers: [72, 80, 26]
Generated Node #0,2: 74:[72, 80, 26] Operation: 78-52=26
Moving to Node #0,0
Current State: 74:[72, 78, 28], Operations: ['80-52=28']
Exploring Operation: 78-28=50, Resulting Numbers: [72, 50]
Generated Node #0,0,0: 74:[72, 50] Operation: 78-28=50
Exploring Operation: 78-72=6, Resulting Numbers: [28, 6]
Generated Node #0,0,1: 74:[28, 6] Operation: 78-72=6
Exploring Operation: 72-28=44, Resulting Numbers: [78, 44]
Generated Node #0,0,2: 74:[78, 44] Operation: 72-28=44
Moving to Node #0,1
Current State: 74:[72, 52, 2], Operations: ['80-78=2']
Exploring Operation: 52-2=50, Resulting Numbers: [72, 50]
Generated Node #0,1,0: 74:[72, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [72, 26]
Generated Node #0,1,1: 74:[72, 26] Operation: 52/2=26
Exploring Operation: 72+2=74, Resulting Numbers: [52, 74]
Generated Node #0,1,2: 74:[52, 74] Operation: 72+2=74
Moving to Node #0,2
Current State: 74:[72, 80, 26], Operations: ['78-52=26']
Exploring Operation: 72-26=46, Resulting Numbers: [80, 46]
Generated Node #0,2,0: 74:[80, 46] Operation: 72-26=46
Exploring Operation: 80-26=54, Resulting Numbers: [72, 54]
Generated Node #0,2,1: 74:[72, 54] Operation: 80-26=54
Exploring Operation: 80-72=8, Resulting Numbers: [26, 8]
Generated Node #0,2,2: 74:[26, 8] Operation: 80-72=8
Moving to Node #0,0,2
Current State: 74:[78, 44], Operations: ['80-52=28', '72-28=44']
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,74 unequal: No Solution
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[28, 6], Operations: ['80-52=28', '78-72=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,74 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[72, 26], Operations: ['80-78=2', '52/2=26']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[72, 50], Operations: ['80-52=28', '78-28=50']
Exploring Operation: 72*50=3600, Resulting Numbers: [3600]
3600,74 unequal: No Solution
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[52, 74], Operations: ['80-78=2', '72+2=74']
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 52*74=3848, Resulting Numbers: [3848]
3848,74 unequal: No Solution
Exploring Operation: 52+74=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[80, 46], Operations: ['78-52=26', '72-26=46']
Exploring Operation: 80+46=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Exploring Operation: 80*46=3680, Resulting Numbers: [3680]
3680,74 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[72, 50], Operations: ['80-78=2', '52-2=50']
Exploring Operation: 72*50=3600, Resulting Numbers: [3600]
3600,74 unequal: No Solution
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[26, 8], Operations: ['78-52=26', '80-72=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,74 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[72, 54], Operations: ['78-52=26', '80-26=54']
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,74 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
52,
19,
50
] | 95 | [
"3+52=55",
"55-50=5",
"19*5=95"
] | Current State: 95:[3, 52, 19, 50], Operations: []
Exploring Operation: 3+52=55, Resulting Numbers: [19, 50, 55]
Generated Node #2: [19, 50, 55] from Operation: 3+52=55
Current State: 95:[19, 50, 55], Operations: ['3+52=55']
Exploring Operation: 55-50=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 55-50=5
Current State: 95:[19, 5], Operations: ['3+52=55', '55-50=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[3, 52, 19, 50], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [3, 19, 2]
Generated Node #0,0: 95:[3, 19, 2] Operation: 52-50=2
Exploring Operation: 52+19=71, Resulting Numbers: [3, 50, 71]
Generated Node #0,1: 95:[3, 50, 71] Operation: 52+19=71
Exploring Operation: 52+50=102, Resulting Numbers: [3, 19, 102]
Generated Node #0,2: 95:[3, 19, 102] Operation: 52+50=102
Exploring Operation: 52-19=33, Resulting Numbers: [3, 50, 33]
Generated Node #0,3: 95:[3, 50, 33] Operation: 52-19=33
Exploring Operation: 50-19=31, Resulting Numbers: [3, 52, 31]
Generated Node #0,4: 95:[3, 52, 31] Operation: 50-19=31
Moving to Node #0,0
Current State: 95:[3, 19, 2], Operations: ['52-50=2']
Exploring Operation: 3*2=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 95:[19, 6] Operation: 3*2=6
Exploring Operation: 19-2=17, Resulting Numbers: [3, 17]
Generated Node #0,0,1: 95:[3, 17] Operation: 19-2=17
Exploring Operation: 3+2=5, Resulting Numbers: [19, 5]
Generated Node #0,0,2: 95:[19, 5] Operation: 3+2=5
Exploring Operation: 3-2=1, Resulting Numbers: [19, 1]
Generated Node #0,0,3: 95:[19, 1] Operation: 3-2=1
Exploring Operation: 19+2=21, Resulting Numbers: [3, 21]
Generated Node #0,0,4: 95:[3, 21] Operation: 19+2=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[19, 5], Operations: ['52-50=2', '3+2=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[3, 52, 19, 50], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [3, 19, 2]
Generated Node #0,0: 95:[3, 19, 2] Operation: 52-50=2
Moving to Node #0,0
Current State: 95:[3, 19, 2], Operations: ['52-50=2']
Exploring Operation: 3+2=5, Resulting Numbers: [19, 5]
Generated Node #0,0,2: 95:[19, 5] Operation: 3+2=5
Moving to Node #0,0,2
Current State: 95:[19, 5], Operations: ['52-50=2', '3+2=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
85,
35,
59,
16
] | 26 | [
"85+59=144",
"144/16=9",
"35-9=26"
] | Current State: 26:[85, 35, 59, 16], Operations: []
Exploring Operation: 85+59=144, Resulting Numbers: [35, 16, 144]
Generated Node #2: [35, 16, 144] from Operation: 85+59=144
Current State: 26:[35, 16, 144], Operations: ['85+59=144']
Exploring Operation: 144/16=9, Resulting Numbers: [35, 9]
Generated Node #3: [35, 9] from Operation: 144/16=9
Current State: 26:[35, 9], Operations: ['85+59=144', '144/16=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[85, 35, 59, 16], Operations: []
Exploring Operation: 85-35=50, Resulting Numbers: [59, 16, 50]
Generated Node #0,0: 26:[59, 16, 50] Operation: 85-35=50
Exploring Operation: 59-16=43, Resulting Numbers: [85, 35, 43]
Generated Node #0,1: 26:[85, 35, 43] Operation: 59-16=43
Exploring Operation: 85-59=26, Resulting Numbers: [35, 16, 26]
Generated Node #0,2: 26:[35, 16, 26] Operation: 85-59=26
Exploring Operation: 85-16=69, Resulting Numbers: [35, 59, 69]
Generated Node #0,3: 26:[35, 59, 69] Operation: 85-16=69
Exploring Operation: 59-35=24, Resulting Numbers: [85, 16, 24]
Generated Node #0,4: 26:[85, 16, 24] Operation: 59-35=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[35, 16, 26], Operations: ['85-59=26']
Exploring Operation: 26-16=10, Resulting Numbers: [35, 10]
Generated Node #0,2,0: 26:[35, 10] Operation: 26-16=10
Exploring Operation: 35+16=51, Resulting Numbers: [26, 51]
Generated Node #0,2,1: 26:[26, 51] Operation: 35+16=51
Exploring Operation: 35-26=9, Resulting Numbers: [16, 9]
Generated Node #0,2,2: 26:[16, 9] Operation: 35-26=9
Exploring Operation: 35-16=19, Resulting Numbers: [26, 19]
Generated Node #0,2,3: 26:[26, 19] Operation: 35-16=19
Exploring Operation: 16+26=42, Resulting Numbers: [35, 42]
Generated Node #0,2,4: 26:[35, 42] Operation: 16+26=42
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[26, 19], Operations: ['85-59=26', '35-16=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,26 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[16, 9], Operations: ['85-59=26', '35-26=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[35, 10], Operations: ['85-59=26', '26-16=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,26 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[26, 51], Operations: ['85-59=26', '35+16=51']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 26*51=1326, Resulting Numbers: [1326]
1326,26 unequal: No Solution
Exploring Operation: 26+51=77, Resulting Numbers: [77]
77,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 26:[35, 42], Operations: ['85-59=26', '16+26=42']
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,26 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[59, 16, 50], Operations: ['85-35=50']
Exploring Operation: 16+50=66, Resulting Numbers: [59, 66]
Generated Node #0,0,0: 26:[59, 66] Operation: 16+50=66
Exploring Operation: 59-16=43, Resulting Numbers: [50, 43]
Generated Node #0,0,1: 26:[50, 43] Operation: 59-16=43
Exploring Operation: 59+16=75, Resulting Numbers: [50, 75]
Generated Node #0,0,2: 26:[50, 75] Operation: 59+16=75
Exploring Operation: 59-50=9, Resulting Numbers: [16, 9]
Generated Node #0,0,3: 26:[16, 9] Operation: 59-50=9
Exploring Operation: 50-16=34, Resulting Numbers: [59, 34]
Generated Node #0,0,4: 26:[59, 34] Operation: 50-16=34
Moving to Node #0,0,3
Current State: 26:[16, 9], Operations: ['85-35=50', '59-50=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,26 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[59, 34], Operations: ['85-35=50', '50-16=34']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,26 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[50, 43], Operations: ['85-35=50', '59-16=43']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 50*43=2150, Resulting Numbers: [2150]
2150,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[59, 66], Operations: ['85-35=50', '16+50=66']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 59*66=3894, Resulting Numbers: [3894]
3894,26 unequal: No Solution
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[50, 75], Operations: ['85-35=50', '59+16=75']
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,26 unequal: No Solution
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,26 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,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,4
Current State: 26:[85, 16, 24], Operations: ['59-35=24']
Exploring Operation: 85-24=61, Resulting Numbers: [16, 61]
Generated Node #0,4,0: 26:[16, 61] Operation: 85-24=61
Exploring Operation: 24-16=8, Resulting Numbers: [85, 8]
Generated Node #0,4,1: 26:[85, 8] Operation: 24-16=8
Exploring Operation: 16+24=40, Resulting Numbers: [85, 40]
Generated Node #0,4,2: 26:[85, 40] Operation: 16+24=40
Exploring Operation: 85+16=101, Resulting Numbers: [24, 101]
Generated Node #0,4,3: 26:[24, 101] Operation: 85+16=101
Exploring Operation: 85-16=69, Resulting Numbers: [24, 69]
Generated Node #0,4,4: 26:[24, 69] Operation: 85-16=69
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 26:[16, 61], Operations: ['59-35=24', '85-24=61']
Exploring Operation: 16*61=976, Resulting Numbers: [976]
976,26 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 26:[24, 69], Operations: ['59-35=24', '85-16=69']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 24*69=1656, Resulting Numbers: [1656]
1656,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 26:[85, 8], Operations: ['59-35=24', '24-16=8']
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,26 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 26:[85, 40], Operations: ['59-35=24', '16+24=40']
Exploring Operation: 85*40=3400, Resulting Numbers: [3400]
3400,26 unequal: No Solution
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 85+40=125, Resulting Numbers: [125]
125,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 26:[24, 101], Operations: ['59-35=24', '85+16=101']
Exploring Operation: 24+101=125, Resulting Numbers: [125]
125,26 unequal: No Solution
Exploring Operation: 24*101=2424, Resulting Numbers: [2424]
2424,26 unequal: No Solution
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[85, 35, 43], Operations: ['59-16=43']
Exploring Operation: 85-43=42, Resulting Numbers: [35, 42]
Generated Node #0,1,0: 26:[35, 42] Operation: 85-43=42
Exploring Operation: 85-35=50, Resulting Numbers: [43, 50]
Generated Node #0,1,1: 26:[43, 50] Operation: 85-35=50
Exploring Operation: 85+35=120, Resulting Numbers: [43, 120]
Generated Node #0,1,2: 26:[43, 120] Operation: 85+35=120
Exploring Operation: 85+43=128, Resulting Numbers: [35, 128]
Generated Node #0,1,3: 26:[35, 128] Operation: 85+43=128
Exploring Operation: 43-35=8, Resulting Numbers: [85, 8]
Generated Node #0,1,4: 26:[85, 8] Operation: 43-35=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[35, 42], Operations: ['59-16=43', '85-43=42']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[43, 50], Operations: ['59-16=43', '85-35=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,26 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 26:[85, 8], Operations: ['59-16=43', '43-35=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,26 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[43, 120], Operations: ['59-16=43', '85+35=120']
Exploring Operation: 120-43=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 43+120=163, Resulting Numbers: [163]
163,26 unequal: No Solution
Exploring Operation: 43*120=5160, Resulting Numbers: [5160]
5160,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[35, 128], Operations: ['59-16=43', '85+43=128']
Exploring Operation: 35*128=4480, Resulting Numbers: [4480]
4480,26 unequal: No Solution
Exploring Operation: 35+128=163, Resulting Numbers: [163]
163,26 unequal: No Solution
Exploring Operation: 128-35=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[35, 59, 69], Operations: ['85-16=69']
Exploring Operation: 69-59=10, Resulting Numbers: [35, 10]
Generated Node #0,3,0: 26:[35, 10] Operation: 69-59=10
Exploring Operation: 69-35=34, Resulting Numbers: [59, 34]
Generated Node #0,3,1: 26:[59, 34] Operation: 69-35=34
Exploring Operation: 59-35=24, Resulting Numbers: [69, 24]
Generated Node #0,3,2: 26:[69, 24] Operation: 59-35=24
Exploring Operation: 35+69=104, Resulting Numbers: [59, 104]
Generated Node #0,3,3: 26:[59, 104] Operation: 35+69=104
Exploring Operation: 35+59=94, Resulting Numbers: [69, 94]
Generated Node #0,3,4: 26:[69, 94] Operation: 35+59=94
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[35, 10], Operations: ['85-16=69', '69-59=10']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,26 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[59, 34], Operations: ['85-16=69', '69-35=34']
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,26 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[69, 24], Operations: ['85-16=69', '59-35=24']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[59, 104], Operations: ['85-16=69', '35+69=104']
Exploring Operation: 59+104=163, Resulting Numbers: [163]
163,26 unequal: No Solution
Exploring Operation: 104-59=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 59*104=6136, Resulting Numbers: [6136]
6136,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 26:[69, 94], Operations: ['85-16=69', '35+59=94']
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,26 unequal: No Solution
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
77,
40,
39,
62
] | 31 | [
"77-40=37",
"39-37=2",
"62/2=31"
] | Current State: 31:[77, 40, 39, 62], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [39, 62, 37]
Generated Node #2: [39, 62, 37] from Operation: 77-40=37
Current State: 31:[39, 62, 37], Operations: ['77-40=37']
Exploring Operation: 39-37=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 39-37=2
Current State: 31:[62, 2], Operations: ['77-40=37', '39-37=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[77, 40, 39, 62], Operations: []
Exploring Operation: 77-39=38, Resulting Numbers: [40, 62, 38]
Generated Node #0,0: 31:[40, 62, 38] Operation: 77-39=38
Exploring Operation: 77-40=37, Resulting Numbers: [39, 62, 37]
Generated Node #0,1: 31:[39, 62, 37] Operation: 77-40=37
Exploring Operation: 77-62=15, Resulting Numbers: [40, 39, 15]
Generated Node #0,2: 31:[40, 39, 15] Operation: 77-62=15
Exploring Operation: 62-40=22, Resulting Numbers: [77, 39, 22]
Generated Node #0,3: 31:[77, 39, 22] Operation: 62-40=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[40, 39, 15], Operations: ['77-62=15']
Exploring Operation: 39+15=54, Resulting Numbers: [40, 54]
Generated Node #0,2,0: 31:[40, 54] Operation: 39+15=54
Exploring Operation: 40-15=25, Resulting Numbers: [39, 25]
Generated Node #0,2,1: 31:[39, 25] Operation: 40-15=25
Exploring Operation: 39-15=24, Resulting Numbers: [40, 24]
Generated Node #0,2,2: 31:[40, 24] Operation: 39-15=24
Exploring Operation: 40+15=55, Resulting Numbers: [39, 55]
Generated Node #0,2,3: 31:[39, 55] Operation: 40+15=55
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[39, 25], Operations: ['77-62=15', '40-15=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,31 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,31 unequal: No Solution
No 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: 31:[40, 24], Operations: ['77-62=15', '39-15=24']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,31 unequal: No Solution
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,31 unequal: No Solution
No 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: 31:[40, 54], Operations: ['77-62=15', '39+15=54']
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,31 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,31 unequal: No Solution
No 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: 31:[39, 55], Operations: ['77-62=15', '40+15=55']
Exploring Operation: 39*55=2145, Resulting Numbers: [2145]
2145,31 unequal: No Solution
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,31 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: 31:[39, 62, 37], Operations: ['77-40=37']
Exploring Operation: 39-37=2, Resulting Numbers: [62, 2]
Generated Node #0,1,0: 31:[62, 2] Operation: 39-37=2
Exploring Operation: 62-37=25, Resulting Numbers: [39, 25]
Generated Node #0,1,1: 31:[39, 25] Operation: 62-37=25
Exploring Operation: 39+62=101, Resulting Numbers: [37, 101]
Generated Node #0,1,2: 31:[37, 101] Operation: 39+62=101
Exploring Operation: 62-39=23, Resulting Numbers: [37, 23]
Generated Node #0,1,3: 31:[37, 23] Operation: 62-39=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[39, 25], Operations: ['77-40=37', '62-37=25']
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,31 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,31 unequal: No Solution
No 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: 31:[37, 23], Operations: ['77-40=37', '62-39=23']
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,31 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,31 unequal: No Solution
No 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: 31:[62, 2], Operations: ['77-40=37', '39-37=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[77, 40, 39, 62], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [39, 62, 37]
Generated Node #0,1: 31:[39, 62, 37] Operation: 77-40=37
Moving to Node #0,1
Current State: 31:[39, 62, 37], Operations: ['77-40=37']
Exploring Operation: 39-37=2, Resulting Numbers: [62, 2]
Generated Node #0,1,0: 31:[62, 2] Operation: 39-37=2
Moving to Node #0,1,0
Current State: 31:[62, 2], Operations: ['77-40=37', '39-37=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
28,
92,
86,
76
] | 42 | [
"28+92=120",
"86+76=162",
"162-120=42"
] | Current State: 42:[28, 92, 86, 76], Operations: []
Exploring Operation: 28+92=120, Resulting Numbers: [86, 76, 120]
Generated Node #2: [86, 76, 120] from Operation: 28+92=120
Current State: 42:[86, 76, 120], Operations: ['28+92=120']
Exploring Operation: 86+76=162, Resulting Numbers: [120, 162]
Generated Node #3: [120, 162] from Operation: 86+76=162
Current State: 42:[120, 162], Operations: ['28+92=120', '86+76=162']
Exploring Operation: 162-120=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[28, 92, 86, 76], Operations: []
Exploring Operation: 92-76=16, Resulting Numbers: [28, 86, 16]
Generated Node #0,0: 42:[28, 86, 16] Operation: 92-76=16
Exploring Operation: 92-28=64, Resulting Numbers: [86, 76, 64]
Generated Node #0,1: 42:[86, 76, 64] Operation: 92-28=64
Exploring Operation: 86-28=58, Resulting Numbers: [92, 76, 58]
Generated Node #0,2: 42:[92, 76, 58] Operation: 86-28=58
Exploring Operation: 86-76=10, Resulting Numbers: [28, 92, 10]
Generated Node #0,3: 42:[28, 92, 10] Operation: 86-76=10
Exploring Operation: 92-86=6, Resulting Numbers: [28, 76, 6]
Generated Node #0,4: 42:[28, 76, 6] Operation: 92-86=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[28, 76, 6], Operations: ['92-86=6']
Exploring Operation: 28+6=34, Resulting Numbers: [76, 34]
Generated Node #0,4,0: 42:[76, 34] Operation: 28+6=34
Exploring Operation: 76-28=48, Resulting Numbers: [6, 48]
Generated Node #0,4,1: 42:[6, 48] Operation: 76-28=48
Exploring Operation: 76+6=82, Resulting Numbers: [28, 82]
Generated Node #0,4,2: 42:[28, 82] Operation: 76+6=82
Exploring Operation: 76-6=70, Resulting Numbers: [28, 70]
Generated Node #0,4,3: 42:[28, 70] Operation: 76-6=70
Exploring Operation: 28-6=22, Resulting Numbers: [76, 22]
Generated Node #0,4,4: 42:[76, 22] Operation: 28-6=22
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 42:[6, 48], Operations: ['92-86=6', '76-28=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[28, 92, 86, 76], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [28, 76, 6]
Generated Node #0,4: 42:[28, 76, 6] Operation: 92-86=6
Moving to Node #0,4
Current State: 42:[28, 76, 6], Operations: ['92-86=6']
Exploring Operation: 76-28=48, Resulting Numbers: [6, 48]
Generated Node #0,4,1: 42:[6, 48] Operation: 76-28=48
Moving to Node #0,4,1
Current State: 42:[6, 48], Operations: ['92-86=6', '76-28=48']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
64,
71,
57,
47
] | 97 | [
"71-64=7",
"57+47=104",
"104-7=97"
] | Current State: 97:[64, 71, 57, 47], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [57, 47, 7]
Generated Node #2: [57, 47, 7] from Operation: 71-64=7
Current State: 97:[57, 47, 7], Operations: ['71-64=7']
Exploring Operation: 57+47=104, Resulting Numbers: [7, 104]
Generated Node #3: [7, 104] from Operation: 57+47=104
Current State: 97:[7, 104], Operations: ['71-64=7', '57+47=104']
Exploring Operation: 104-7=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[64, 71, 57, 47], Operations: []
Exploring Operation: 64+47=111, Resulting Numbers: [71, 57, 111]
Generated Node #0,0: 97:[71, 57, 111] Operation: 64+47=111
Exploring Operation: 57+47=104, Resulting Numbers: [64, 71, 104]
Generated Node #0,1: 97:[64, 71, 104] Operation: 57+47=104
Exploring Operation: 71+47=118, Resulting Numbers: [64, 57, 118]
Generated Node #0,2: 97:[64, 57, 118] Operation: 71+47=118
Exploring Operation: 71+57=128, Resulting Numbers: [64, 47, 128]
Generated Node #0,3: 97:[64, 47, 128] Operation: 71+57=128
Exploring Operation: 64+57=121, Resulting Numbers: [71, 47, 121]
Generated Node #0,4: 97:[71, 47, 121] Operation: 64+57=121
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[64, 71, 104], Operations: ['57+47=104']
Exploring Operation: 104-71=33, Resulting Numbers: [64, 33]
Generated Node #0,1,0: 97:[64, 33] Operation: 104-71=33
Exploring Operation: 104-64=40, Resulting Numbers: [71, 40]
Generated Node #0,1,1: 97:[71, 40] Operation: 104-64=40
Exploring Operation: 64+104=168, Resulting Numbers: [71, 168]
Generated Node #0,1,2: 97:[71, 168] Operation: 64+104=168
Exploring Operation: 64+71=135, Resulting Numbers: [104, 135]
Generated Node #0,1,3: 97:[104, 135] Operation: 64+71=135
Exploring Operation: 71-64=7, Resulting Numbers: [104, 7]
Generated Node #0,1,4: 97:[104, 7] Operation: 71-64=7
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[104, 135], Operations: ['57+47=104', '64+71=135']
Exploring Operation: 104+135=239, Resulting Numbers: [239]
239,97 unequal: No Solution
Exploring Operation: 104*135=14040, Resulting Numbers: [14040]
14040,97 unequal: No Solution
Exploring Operation: 135-104=31, Resulting Numbers: [31]
31,97 unequal: No Solution
No 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: 97:[71, 40], Operations: ['57+47=104', '104-64=40']
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,97 unequal: No Solution
No 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: 97:[64, 33], Operations: ['57+47=104', '104-71=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[64, 71, 57, 47], Operations: []
Exploring Operation: 57+47=104, Resulting Numbers: [64, 71, 104]
Generated Node #0,1: 97:[64, 71, 104] Operation: 57+47=104
Moving to Node #0,1
Current State: 97:[64, 71, 104], Operations: ['57+47=104']
Exploring Operation: 104-71=33, Resulting Numbers: [64, 33]
Generated Node #0,1,0: 97:[64, 33] Operation: 104-71=33
Moving to Node #0,1,0
Current State: 97:[64, 33], Operations: ['57+47=104', '104-71=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
5,
17,
3,
99
] | 11 | [
"5+17=22",
"99/3=33",
"33-22=11"
] | Current State: 11:[5, 17, 3, 99], Operations: []
Exploring Operation: 5+17=22, Resulting Numbers: [3, 99, 22]
Generated Node #2: [3, 99, 22] from Operation: 5+17=22
Current State: 11:[3, 99, 22], Operations: ['5+17=22']
Exploring Operation: 99/3=33, Resulting Numbers: [22, 33]
Generated Node #3: [22, 33] from Operation: 99/3=33
Current State: 11:[22, 33], Operations: ['5+17=22', '99/3=33']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[5, 17, 3, 99], Operations: []
Exploring Operation: 99-17=82, Resulting Numbers: [5, 3, 82]
Generated Node #0,0: 11:[5, 3, 82] Operation: 99-17=82
Exploring Operation: 99/3=33, Resulting Numbers: [5, 17, 33]
Generated Node #0,1: 11:[5, 17, 33] Operation: 99/3=33
Moving to Node #0,1
Current State: 11:[5, 17, 33], Operations: ['99/3=33']
Exploring Operation: 33-17=16, Resulting Numbers: [5, 16]
Generated Node #0,1,0: 11:[5, 16] Operation: 33-17=16
Exploring Operation: 17-5=12, Resulting Numbers: [33, 12]
Generated Node #0,1,1: 11:[33, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[5, 16], Operations: ['99/3=33', '33-17=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[5, 17, 3, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [5, 17, 33]
Generated Node #0,1: 11:[5, 17, 33] Operation: 99/3=33
Moving to Node #0,1
Current State: 11:[5, 17, 33], Operations: ['99/3=33']
Exploring Operation: 33-17=16, Resulting Numbers: [5, 16]
Generated Node #0,1,0: 11:[5, 16] Operation: 33-17=16
Moving to Node #0,1,0
Current State: 11:[5, 16], Operations: ['99/3=33', '33-17=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
82,
59,
28,
34
] | 29 | [
"82-59=23",
"34-28=6",
"23+6=29"
] | Current State: 29:[82, 59, 28, 34], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [28, 34, 23]
Generated Node #2: [28, 34, 23] from Operation: 82-59=23
Current State: 29:[28, 34, 23], Operations: ['82-59=23']
Exploring Operation: 34-28=6, Resulting Numbers: [23, 6]
Generated Node #3: [23, 6] from Operation: 34-28=6
Current State: 29:[23, 6], Operations: ['82-59=23', '34-28=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[82, 59, 28, 34], Operations: []
Exploring Operation: 82-34=48, Resulting Numbers: [59, 28, 48]
Generated Node #0,0: 29:[59, 28, 48] Operation: 82-34=48
Exploring Operation: 59-34=25, Resulting Numbers: [82, 28, 25]
Generated Node #0,1: 29:[82, 28, 25] Operation: 59-34=25
Exploring Operation: 82-59=23, Resulting Numbers: [28, 34, 23]
Generated Node #0,2: 29:[28, 34, 23] Operation: 82-59=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[28, 34, 23], Operations: ['82-59=23']
Exploring Operation: 34-28=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 29:[23, 6] Operation: 34-28=6
Exploring Operation: 28+23=51, Resulting Numbers: [34, 51]
Generated Node #0,2,1: 29:[34, 51] Operation: 28+23=51
Exploring Operation: 34-23=11, Resulting Numbers: [28, 11]
Generated Node #0,2,2: 29:[28, 11] Operation: 34-23=11
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[28, 11], Operations: ['82-59=23', '34-23=11']
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,29 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[34, 51], Operations: ['82-59=23', '28+23=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,29 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[23, 6], Operations: ['82-59=23', '34-28=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,29 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[82, 59, 28, 34], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [28, 34, 23]
Generated Node #0,2: 29:[28, 34, 23] Operation: 82-59=23
Moving to Node #0,2
Current State: 29:[28, 34, 23], Operations: ['82-59=23']
Exploring Operation: 34-28=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 29:[23, 6] Operation: 34-28=6
Moving to Node #0,2,0
Current State: 29:[23, 6], Operations: ['82-59=23', '34-28=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
89,
87,
6,
16
] | 20 | [
"89-87=2",
"6+16=22",
"22-2=20"
] | Current State: 20:[89, 87, 6, 16], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [6, 16, 2]
Generated Node #2: [6, 16, 2] from Operation: 89-87=2
Current State: 20:[6, 16, 2], Operations: ['89-87=2']
Exploring Operation: 6+16=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 6+16=22
Current State: 20:[2, 22], Operations: ['89-87=2', '6+16=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[89, 87, 6, 16], Operations: []
Exploring Operation: 87-16=71, Resulting Numbers: [89, 6, 71]
Generated Node #0,0: 20:[89, 6, 71] Operation: 87-16=71
Exploring Operation: 89-6=83, Resulting Numbers: [87, 16, 83]
Generated Node #0,1: 20:[87, 16, 83] Operation: 89-6=83
Exploring Operation: 89-87=2, Resulting Numbers: [6, 16, 2]
Generated Node #0,2: 20:[6, 16, 2] Operation: 89-87=2
Exploring Operation: 89-16=73, Resulting Numbers: [87, 6, 73]
Generated Node #0,3: 20:[87, 6, 73] Operation: 89-16=73
Moving to Node #0,2
Current State: 20:[6, 16, 2], Operations: ['89-87=2']
Exploring Operation: 6+16=22, Resulting Numbers: [2, 22]
Generated Node #0,2,0: 20:[2, 22] Operation: 6+16=22
Exploring Operation: 16+2=18, Resulting Numbers: [6, 18]
Generated Node #0,2,1: 20:[6, 18] Operation: 16+2=18
Exploring Operation: 16-6=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 20:[2, 10] Operation: 16-6=10
Exploring Operation: 16/2=8, Resulting Numbers: [6, 8]
Generated Node #0,2,3: 20:[6, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[2, 10], Operations: ['89-87=2', '16-6=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[89, 87, 6, 16], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [6, 16, 2]
Generated Node #0,2: 20:[6, 16, 2] Operation: 89-87=2
Moving to Node #0,2
Current State: 20:[6, 16, 2], Operations: ['89-87=2']
Exploring Operation: 16-6=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 20:[2, 10] Operation: 16-6=10
Moving to Node #0,2,2
Current State: 20:[2, 10], Operations: ['89-87=2', '16-6=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
22,
28,
28,
60
] | 18 | [
"22+28=50",
"60-28=32",
"50-32=18"
] | Current State: 18:[22, 28, 28, 60], Operations: []
Exploring Operation: 22+28=50, Resulting Numbers: [60, 50]
Generated Node #2: [60, 50] from Operation: 22+28=50
Current State: 18:[60, 50], Operations: ['22+28=50']
Exploring Operation: 60-28=32, Resulting Numbers: [50, 32]
Generated Node #3: [50, 32] from Operation: 60-28=32
Current State: 18:[50, 32], Operations: ['22+28=50', '60-28=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[22, 28, 28, 60], Operations: []
Exploring Operation: 60-28=32, Resulting Numbers: [22, 28, 32]
Generated Node #0,0: 18:[22, 28, 32] Operation: 60-28=32
Moving to Node #0,0
Current State: 18:[22, 28, 32], Operations: ['60-28=32']
Exploring Operation: 32-28=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 18:[22, 4] Operation: 32-28=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[22, 4], Operations: ['60-28=32', '32-28=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[22, 28, 28, 60], Operations: []
Exploring Operation: 60-28=32, Resulting Numbers: [22, 28, 32]
Generated Node #0,0: 18:[22, 28, 32] Operation: 60-28=32
Moving to Node #0,0
Current State: 18:[22, 28, 32], Operations: ['60-28=32']
Exploring Operation: 32-28=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 18:[22, 4] Operation: 32-28=4
Moving to Node #0,0,0
Current State: 18:[22, 4], Operations: ['60-28=32', '32-28=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
55,
91,
8,
31
] | 94 | [
"55-31=24",
"24/8=3",
"91+3=94"
] | Current State: 94:[55, 91, 8, 31], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [91, 8, 24]
Generated Node #2: [91, 8, 24] from Operation: 55-31=24
Current State: 94:[91, 8, 24], Operations: ['55-31=24']
Exploring Operation: 24/8=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 24/8=3
Current State: 94:[91, 3], Operations: ['55-31=24', '24/8=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[55, 91, 8, 31], Operations: []
Exploring Operation: 55+31=86, Resulting Numbers: [91, 8, 86]
Generated Node #0,0: 94:[91, 8, 86] Operation: 55+31=86
Exploring Operation: 55-8=47, Resulting Numbers: [91, 31, 47]
Generated Node #0,1: 94:[91, 31, 47] Operation: 55-8=47
Exploring Operation: 8+31=39, Resulting Numbers: [55, 91, 39]
Generated Node #0,2: 94:[55, 91, 39] Operation: 8+31=39
Moving to Node #0,0
Current State: 94:[91, 8, 86], Operations: ['55+31=86']
Exploring Operation: 91-86=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 94:[8, 5] Operation: 91-86=5
Exploring Operation: 91+8=99, Resulting Numbers: [86, 99]
Generated Node #0,0,1: 94:[86, 99] Operation: 91+8=99
Exploring Operation: 8+86=94, Resulting Numbers: [91, 94]
Generated Node #0,0,2: 94:[91, 94] Operation: 8+86=94
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[91, 94], Operations: ['55+31=86', '8+86=94']
Exploring Operation: 91*94=8554, Resulting Numbers: [8554]
8554,94 unequal: No Solution
Exploring Operation: 91+94=185, Resulting Numbers: [185]
185,94 unequal: No Solution
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[8, 5], Operations: ['55+31=86', '91-86=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,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,1
Current State: 94:[86, 99], Operations: ['55+31=86', '91+8=99']
Exploring Operation: 86+99=185, Resulting Numbers: [185]
185,94 unequal: No Solution
Exploring Operation: 86*99=8514, Resulting Numbers: [8514]
8514,94 unequal: No Solution
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,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:[91, 31, 47], Operations: ['55-8=47']
Exploring Operation: 47-31=16, Resulting Numbers: [91, 16]
Generated Node #0,1,0: 94:[91, 16] Operation: 47-31=16
Exploring Operation: 91-47=44, Resulting Numbers: [31, 44]
Generated Node #0,1,1: 94:[31, 44] Operation: 91-47=44
Exploring Operation: 91-31=60, Resulting Numbers: [47, 60]
Generated Node #0,1,2: 94:[47, 60] Operation: 91-31=60
Moving to Node #0,2
Current State: 94:[55, 91, 39], Operations: ['8+31=39']
Exploring Operation: 91-39=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 94:[55, 52] Operation: 91-39=52
Exploring Operation: 55+39=94, Resulting Numbers: [91, 94]
Generated Node #0,2,1: 94:[91, 94] Operation: 55+39=94
Exploring Operation: 55-39=16, Resulting Numbers: [91, 16]
Generated Node #0,2,2: 94:[91, 16] Operation: 55-39=16
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[91, 94], Operations: ['8+31=39', '55+39=94']
Exploring Operation: 91*94=8554, Resulting Numbers: [8554]
8554,94 unequal: No Solution
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 91+94=185, Resulting Numbers: [185]
185,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:[55, 52], Operations: ['8+31=39', '91-39=52']
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,94 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[91, 16], Operations: ['8+31=39', '55-39=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 94:[47, 60], Operations: ['55-8=47', '91-31=60']
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[91, 16], Operations: ['55-8=47', '47-31=16']
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,94 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[31, 44], Operations: ['55-8=47', '91-47=44']
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,94 unequal: No Solution
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,94 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
40,
18,
96
] | 16 | [
"8+40=48",
"96/48=2",
"18-2=16"
] | Current State: 16:[8, 40, 18, 96], Operations: []
Exploring Operation: 8+40=48, Resulting Numbers: [18, 96, 48]
Generated Node #2: [18, 96, 48] from Operation: 8+40=48
Current State: 16:[18, 96, 48], Operations: ['8+40=48']
Exploring Operation: 96/48=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 96/48=2
Current State: 16:[18, 2], Operations: ['8+40=48', '96/48=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[8, 40, 18, 96], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [40, 18, 12]
Generated Node #0,0: 16:[40, 18, 12] Operation: 96/8=12
Exploring Operation: 40-18=22, Resulting Numbers: [8, 96, 22]
Generated Node #0,1: 16:[8, 96, 22] Operation: 40-18=22
Exploring Operation: 96-40=56, Resulting Numbers: [8, 18, 56]
Generated Node #0,2: 16:[8, 18, 56] Operation: 96-40=56
Exploring Operation: 40/8=5, Resulting Numbers: [18, 96, 5]
Generated Node #0,3: 16:[18, 96, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[40, 18, 12], Operations: ['96/8=12']
Exploring Operation: 40-12=28, Resulting Numbers: [18, 28]
Generated Node #0,0,0: 16:[18, 28] Operation: 40-12=28
Exploring Operation: 18-12=6, Resulting Numbers: [40, 6]
Generated Node #0,0,1: 16:[40, 6] Operation: 18-12=6
Exploring Operation: 40+12=52, Resulting Numbers: [18, 52]
Generated Node #0,0,2: 16:[18, 52] Operation: 40+12=52
Exploring Operation: 40-18=22, Resulting Numbers: [12, 22]
Generated Node #0,0,3: 16:[12, 22] Operation: 40-18=22
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 16:[12, 22], Operations: ['96/8=12', '40-18=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,16 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[18, 28], Operations: ['96/8=12', '40-12=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,16 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[40, 6], Operations: ['96/8=12', '18-12=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,16 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[18, 52], Operations: ['96/8=12', '40+12=52']
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,16 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,16 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,16 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: 16:[8, 18, 56], Operations: ['96-40=56']
Exploring Operation: 56-18=38, Resulting Numbers: [8, 38]
Generated Node #0,2,0: 16:[8, 38] Operation: 56-18=38
Exploring Operation: 56/8=7, Resulting Numbers: [18, 7]
Generated Node #0,2,1: 16:[18, 7] Operation: 56/8=7
Exploring Operation: 18-8=10, Resulting Numbers: [56, 10]
Generated Node #0,2,2: 16:[56, 10] Operation: 18-8=10
Exploring Operation: 56-8=48, Resulting Numbers: [18, 48]
Generated Node #0,2,3: 16:[18, 48] Operation: 56-8=48
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[18, 7], Operations: ['96-40=56', '56/8=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,16 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 16:[8, 38], Operations: ['96-40=56', '56-18=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,16 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 16:[18, 48], Operations: ['96-40=56', '56-8=48']
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,16 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[56, 10], Operations: ['96-40=56', '18-8=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,16 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,16 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: 16:[18, 96, 5], Operations: ['40/8=5']
Exploring Operation: 18+5=23, Resulting Numbers: [96, 23]
Generated Node #0,3,0: 16:[96, 23] Operation: 18+5=23
Exploring Operation: 96-18=78, Resulting Numbers: [5, 78]
Generated Node #0,3,1: 16:[5, 78] Operation: 96-18=78
Exploring Operation: 96-5=91, Resulting Numbers: [18, 91]
Generated Node #0,3,2: 16:[18, 91] Operation: 96-5=91
Exploring Operation: 18-5=13, Resulting Numbers: [96, 13]
Generated Node #0,3,3: 16:[96, 13] Operation: 18-5=13
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 16:[5, 78], Operations: ['40/8=5', '96-18=78']
Exploring Operation: 5*78=390, Resulting Numbers: [390]
390,16 unequal: No Solution
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 16:[18, 91], Operations: ['40/8=5', '96-5=91']
Exploring Operation: 18+91=109, Resulting Numbers: [109]
109,16 unequal: No Solution
Exploring Operation: 18*91=1638, Resulting Numbers: [1638]
1638,16 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 16:[96, 13], Operations: ['40/8=5', '18-5=13']
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,16 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[96, 23], Operations: ['40/8=5', '18+5=23']
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,16 unequal: No Solution
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,16 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,16 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: 16:[8, 96, 22], Operations: ['40-18=22']
Exploring Operation: 96-8=88, Resulting Numbers: [22, 88]
Generated Node #0,1,0: 16:[22, 88] Operation: 96-8=88
Exploring Operation: 22-8=14, Resulting Numbers: [96, 14]
Generated Node #0,1,1: 16:[96, 14] Operation: 22-8=14
Exploring Operation: 96-22=74, Resulting Numbers: [8, 74]
Generated Node #0,1,2: 16:[8, 74] Operation: 96-22=74
Exploring Operation: 96/8=12, Resulting Numbers: [22, 12]
Generated Node #0,1,3: 16:[22, 12] Operation: 96/8=12
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[22, 12], Operations: ['40-18=22', '96/8=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,16 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[8, 74], Operations: ['40-18=22', '96-22=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,16 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[22, 88], Operations: ['40-18=22', '96-8=88']
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 22+88=110, Resulting Numbers: [110]
110,16 unequal: No Solution
Exploring Operation: 22*88=1936, Resulting Numbers: [1936]
1936,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[96, 14], Operations: ['40-18=22', '22-8=14']
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,16 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,16 unequal: No Solution
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
79,
27,
26,
3
] | 23 | [
"79-27=52",
"26+3=29",
"52-29=23"
] | Current State: 23:[79, 27, 26, 3], Operations: []
Exploring Operation: 79-27=52, Resulting Numbers: [26, 3, 52]
Generated Node #2: [26, 3, 52] from Operation: 79-27=52
Current State: 23:[26, 3, 52], Operations: ['79-27=52']
Exploring Operation: 26+3=29, Resulting Numbers: [52, 29]
Generated Node #3: [52, 29] from Operation: 26+3=29
Current State: 23:[52, 29], Operations: ['79-27=52', '26+3=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[79, 27, 26, 3], Operations: []
Exploring Operation: 79-26=53, Resulting Numbers: [27, 3, 53]
Generated Node #0,0: 23:[27, 3, 53] Operation: 79-26=53
Exploring Operation: 79-27=52, Resulting Numbers: [26, 3, 52]
Generated Node #0,1: 23:[26, 3, 52] Operation: 79-27=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[26, 3, 52], Operations: ['79-27=52']
Exploring Operation: 26-3=23, Resulting Numbers: [52, 23]
Generated Node #0,1,0: 23:[52, 23] Operation: 26-3=23
Exploring Operation: 52-26=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 23:[3, 26] Operation: 52-26=26
Moving to Node #0,1,1
Current State: 23:[3, 26], Operations: ['79-27=52', '52-26=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[79, 27, 26, 3], Operations: []
Exploring Operation: 79-27=52, Resulting Numbers: [26, 3, 52]
Generated Node #0,1: 23:[26, 3, 52] Operation: 79-27=52
Moving to Node #0,1
Current State: 23:[26, 3, 52], Operations: ['79-27=52']
Exploring Operation: 52-26=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 23:[3, 26] Operation: 52-26=26
Moving to Node #0,1,1
Current State: 23:[3, 26], Operations: ['79-27=52', '52-26=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
2,
33,
25,
15
] | 61 | [
"33-15=18",
"2*18=36",
"25+36=61"
] | Current State: 61:[2, 33, 25, 15], Operations: []
Exploring Operation: 33-15=18, Resulting Numbers: [2, 25, 18]
Generated Node #2: [2, 25, 18] from Operation: 33-15=18
Current State: 61:[2, 25, 18], Operations: ['33-15=18']
Exploring Operation: 2*18=36, Resulting Numbers: [25, 36]
Generated Node #3: [25, 36] from Operation: 2*18=36
Current State: 61:[25, 36], Operations: ['33-15=18', '2*18=36']
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[2, 33, 25, 15], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [33, 15, 50]
Generated Node #0,0: 61:[33, 15, 50] Operation: 2*25=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[33, 15, 50], Operations: ['2*25=50']
Exploring Operation: 33+15=48, Resulting Numbers: [50, 48]
Generated Node #0,0,0: 61:[50, 48] Operation: 33+15=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[50, 48], Operations: ['2*25=50', '33+15=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
41,
34,
5
] | 49 | [
"74-34=40",
"40/5=8",
"41+8=49"
] | Current State: 49:[74, 41, 34, 5], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [41, 5, 40]
Generated Node #2: [41, 5, 40] from Operation: 74-34=40
Current State: 49:[41, 5, 40], Operations: ['74-34=40']
Exploring Operation: 40/5=8, Resulting Numbers: [41, 8]
Generated Node #3: [41, 8] from Operation: 40/5=8
Current State: 49:[41, 8], Operations: ['74-34=40', '40/5=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[74, 41, 34, 5], Operations: []
Exploring Operation: 74-41=33, Resulting Numbers: [34, 5, 33]
Generated Node #0,0: 49:[34, 5, 33] Operation: 74-41=33
Exploring Operation: 41-34=7, Resulting Numbers: [74, 5, 7]
Generated Node #0,1: 49:[74, 5, 7] Operation: 41-34=7
Exploring Operation: 74-34=40, Resulting Numbers: [41, 5, 40]
Generated Node #0,2: 49:[41, 5, 40] Operation: 74-34=40
Moving to Node #0,2
Current State: 49:[41, 5, 40], Operations: ['74-34=40']
Exploring Operation: 41-40=1, Resulting Numbers: [5, 1]
Generated Node #0,2,0: 49:[5, 1] Operation: 41-40=1
Exploring Operation: 41+5=46, Resulting Numbers: [40, 46]
Generated Node #0,2,1: 49:[40, 46] Operation: 41+5=46
Exploring Operation: 40/5=8, Resulting Numbers: [41, 8]
Generated Node #0,2,2: 49:[41, 8] Operation: 40/5=8
Moving to Node #0,1
Current State: 49:[74, 5, 7], Operations: ['41-34=7']
Exploring Operation: 74+5=79, Resulting Numbers: [7, 79]
Generated Node #0,1,0: 49:[7, 79] Operation: 74+5=79
Exploring Operation: 74-5=69, Resulting Numbers: [7, 69]
Generated Node #0,1,1: 49:[7, 69] Operation: 74-5=69
Exploring Operation: 74-7=67, Resulting Numbers: [5, 67]
Generated Node #0,1,2: 49:[5, 67] Operation: 74-7=67
Moving to Node #0,0
Current State: 49:[34, 5, 33], Operations: ['74-41=33']
Exploring Operation: 34-33=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 49:[5, 1] Operation: 34-33=1
Exploring Operation: 34+5=39, Resulting Numbers: [33, 39]
Generated Node #0,0,1: 49:[33, 39] Operation: 34+5=39
Exploring Operation: 34+33=67, Resulting Numbers: [5, 67]
Generated Node #0,0,2: 49:[5, 67] Operation: 34+33=67
Moving to Node #0,2,0
Current State: 49:[5, 1], Operations: ['74-34=40', '41-40=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[5, 1], Operations: ['74-41=33', '34-33=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[41, 8], Operations: ['74-34=40', '40/5=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,49 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[74, 41, 34, 5], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [41, 5, 40]
Generated Node #0,2: 49:[41, 5, 40] Operation: 74-34=40
Moving to Node #0,2
Current State: 49:[41, 5, 40], Operations: ['74-34=40']
Exploring Operation: 40/5=8, Resulting Numbers: [41, 8]
Generated Node #0,2,2: 49:[41, 8] Operation: 40/5=8
Moving to Node #0,2,2
Current State: 49:[41, 8], Operations: ['74-34=40', '40/5=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.979167 | hs_3 | sum_heuristic |
[
2,
46,
23,
51
] | 26 | [
"2+46=48",
"23+51=74",
"74-48=26"
] | Current State: 26:[2, 46, 23, 51], Operations: []
Exploring Operation: 2+46=48, Resulting Numbers: [23, 51, 48]
Generated Node #2: [23, 51, 48] from Operation: 2+46=48
Current State: 26:[23, 51, 48], Operations: ['2+46=48']
Exploring Operation: 23+51=74, Resulting Numbers: [48, 74]
Generated Node #3: [48, 74] from Operation: 23+51=74
Current State: 26:[48, 74], Operations: ['2+46=48', '23+51=74']
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[2, 46, 23, 51], Operations: []
Exploring Operation: 46-23=23, Resulting Numbers: [2, 51, 23]
Generated Node #0,0: 26:[2, 51, 23] Operation: 46-23=23
Exploring Operation: 51-23=28, Resulting Numbers: [2, 46, 28]
Generated Node #0,1: 26:[2, 46, 28] Operation: 51-23=28
Exploring Operation: 46/23=2, Resulting Numbers: [2, 51, 2]
Generated Node #0,2: 26:[2, 51, 2] Operation: 46/23=2
Exploring Operation: 51-46=5, Resulting Numbers: [2, 23, 5]
Generated Node #0,3: 26:[2, 23, 5] Operation: 51-46=5
Moving to Node #0,3
Current State: 26:[2, 23, 5], Operations: ['51-46=5']
Exploring Operation: 23-5=18, Resulting Numbers: [2, 18]
Generated Node #0,3,0: 26:[2, 18] Operation: 23-5=18
Exploring Operation: 23+5=28, Resulting Numbers: [2, 28]
Generated Node #0,3,1: 26:[2, 28] Operation: 23+5=28
Exploring Operation: 5-2=3, Resulting Numbers: [23, 3]
Generated Node #0,3,2: 26:[23, 3] Operation: 5-2=3
Exploring Operation: 2+23=25, Resulting Numbers: [5, 25]
Generated Node #0,3,3: 26:[5, 25] Operation: 2+23=25
Moving to Node #0,1
Current State: 26:[2, 46, 28], Operations: ['51-23=28']
Exploring Operation: 46/2=23, Resulting Numbers: [28, 23]
Generated Node #0,1,0: 26:[28, 23] Operation: 46/2=23
Exploring Operation: 28-2=26, Resulting Numbers: [46, 26]
Generated Node #0,1,1: 26:[46, 26] Operation: 28-2=26
Exploring Operation: 46-28=18, Resulting Numbers: [2, 18]
Generated Node #0,1,2: 26:[2, 18] Operation: 46-28=18
Exploring Operation: 46-2=44, Resulting Numbers: [28, 44]
Generated Node #0,1,3: 26:[28, 44] Operation: 46-2=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[28, 23], Operations: ['51-23=28', '46/2=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,26 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[2, 18], Operations: ['51-23=28', '46-28=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,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:[46, 26], Operations: ['51-23=28', '28-2=26']
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,26 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,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,3
Current State: 26:[28, 44], Operations: ['51-23=28', '46-2=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,26 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 26:[2, 51, 2], Operations: ['46/23=2']
Exploring Operation: 51-2=49, Resulting Numbers: [2, 49]
Generated Node #0,2,0: 26:[2, 49] Operation: 51-2=49
Exploring Operation: 2/2=1, Resulting Numbers: [51, 1]
Generated Node #0,2,1: 26:[51, 1] Operation: 2/2=1
Exploring Operation: 51-2=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 26:[2, 49] Operation: 51-2=49
Exploring Operation: 2+51=53, Resulting Numbers: [2, 53]
Generated Node #0,2,3: 26:[2, 53] Operation: 2+51=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[2, 49], Operations: ['46/23=2', '51-2=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,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,2,2
Current State: 26:[2, 49], Operations: ['46/23=2', '51-2=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,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,2,1
Current State: 26:[51, 1], Operations: ['46/23=2', '2/2=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,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,2,3
Current State: 26:[2, 53], Operations: ['46/23=2', '2+51=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,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:[2, 51, 23], Operations: ['46-23=23']
Exploring Operation: 51-23=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 26:[2, 28] Operation: 51-23=28
Exploring Operation: 2+23=25, Resulting Numbers: [51, 25]
Generated Node #0,0,1: 26:[51, 25] Operation: 2+23=25
Exploring Operation: 51-2=49, Resulting Numbers: [23, 49]
Generated Node #0,0,2: 26:[23, 49] Operation: 51-2=49
Exploring Operation: 2+51=53, Resulting Numbers: [23, 53]
Generated Node #0,0,3: 26:[23, 53] Operation: 2+51=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[2, 28], Operations: ['46-23=23', '51-23=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[2, 46, 23, 51], Operations: []
Exploring Operation: 46-23=23, Resulting Numbers: [2, 51, 23]
Generated Node #0,0: 26:[2, 51, 23] Operation: 46-23=23
Moving to Node #0,0
Current State: 26:[2, 51, 23], Operations: ['46-23=23']
Exploring Operation: 51-23=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 26:[2, 28] Operation: 51-23=28
Moving to Node #0,0,0
Current State: 26:[2, 28], Operations: ['46-23=23', '51-23=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
47,
9,
23,
41
] | 74 | [
"47+9=56",
"41-23=18",
"56+18=74"
] | Current State: 74:[47, 9, 23, 41], Operations: []
Exploring Operation: 47+9=56, Resulting Numbers: [23, 41, 56]
Generated Node #2: [23, 41, 56] from Operation: 47+9=56
Current State: 74:[23, 41, 56], Operations: ['47+9=56']
Exploring Operation: 41-23=18, Resulting Numbers: [56, 18]
Generated Node #3: [56, 18] from Operation: 41-23=18
Current State: 74:[56, 18], Operations: ['47+9=56', '41-23=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[47, 9, 23, 41], Operations: []
Exploring Operation: 47-9=38, Resulting Numbers: [23, 41, 38]
Generated Node #0,0: 74:[23, 41, 38] Operation: 47-9=38
Exploring Operation: 47+23=70, Resulting Numbers: [9, 41, 70]
Generated Node #0,1: 74:[9, 41, 70] Operation: 47+23=70
Moving to Node #0,1
Current State: 74:[9, 41, 70], Operations: ['47+23=70']
Exploring Operation: 9+70=79, Resulting Numbers: [41, 79]
Generated Node #0,1,0: 74:[41, 79] Operation: 9+70=79
Exploring Operation: 41-9=32, Resulting Numbers: [70, 32]
Generated Node #0,1,1: 74:[70, 32] Operation: 41-9=32
Moving to Node #0,0
Current State: 74:[23, 41, 38], Operations: ['47-9=38']
Exploring Operation: 41-38=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 74:[23, 3] Operation: 41-38=3
Exploring Operation: 23+41=64, Resulting Numbers: [38, 64]
Generated Node #0,0,1: 74:[38, 64] Operation: 23+41=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[38, 64], Operations: ['47-9=38', '23+41=64']
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[23, 3], Operations: ['47-9=38', '41-38=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 74:[41, 79], Operations: ['47+23=70', '9+70=79']
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[70, 32], Operations: ['47+23=70', '41-9=32']
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,74 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
18,
46,
10
] | 36 | [
"38-18=20",
"46+10=56",
"56-20=36"
] | Current State: 36:[38, 18, 46, 10], Operations: []
Exploring Operation: 38-18=20, Resulting Numbers: [46, 10, 20]
Generated Node #2: [46, 10, 20] from Operation: 38-18=20
Current State: 36:[46, 10, 20], Operations: ['38-18=20']
Exploring Operation: 46+10=56, Resulting Numbers: [20, 56]
Generated Node #3: [20, 56] from Operation: 46+10=56
Current State: 36:[20, 56], Operations: ['38-18=20', '46+10=56']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[38, 18, 46, 10], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [38, 18, 36]
Generated Node #0,0: 36:[38, 18, 36] Operation: 46-10=36
Exploring Operation: 46-38=8, Resulting Numbers: [18, 10, 8]
Generated Node #0,1: 36:[18, 10, 8] Operation: 46-38=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[38, 18, 36], Operations: ['46-10=36']
Exploring Operation: 38-36=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 36:[18, 2] Operation: 38-36=2
Exploring Operation: 38-18=20, Resulting Numbers: [36, 20]
Generated Node #0,0,1: 36:[36, 20] Operation: 38-18=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[18, 2], Operations: ['46-10=36', '38-36=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[38, 18, 46, 10], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [38, 18, 36]
Generated Node #0,0: 36:[38, 18, 36] Operation: 46-10=36
Moving to Node #0,0
Current State: 36:[38, 18, 36], Operations: ['46-10=36']
Exploring Operation: 38-36=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 36:[18, 2] Operation: 38-36=2
Moving to Node #0,0,0
Current State: 36:[18, 2], Operations: ['46-10=36', '38-36=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
90,
80,
30,
33
] | 19 | [
"90/30=3",
"33*3=99",
"99-80=19"
] | Current State: 19:[90, 80, 30, 33], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [80, 33, 3]
Generated Node #2: [80, 33, 3] from Operation: 90/30=3
Current State: 19:[80, 33, 3], Operations: ['90/30=3']
Exploring Operation: 33*3=99, Resulting Numbers: [80, 99]
Generated Node #3: [80, 99] from Operation: 33*3=99
Current State: 19:[80, 99], Operations: ['90/30=3', '33*3=99']
Exploring Operation: 99-80=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[90, 80, 30, 33], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [30, 33, 10]
Generated Node #0,0: 19:[30, 33, 10] Operation: 90-80=10
Exploring Operation: 90/30=3, Resulting Numbers: [80, 33, 3]
Generated Node #0,1: 19:[80, 33, 3] Operation: 90/30=3
Exploring Operation: 80-33=47, Resulting Numbers: [90, 30, 47]
Generated Node #0,2: 19:[90, 30, 47] Operation: 80-33=47
Exploring Operation: 90-30=60, Resulting Numbers: [80, 33, 60]
Generated Node #0,3: 19:[80, 33, 60] Operation: 90-30=60
Exploring Operation: 90-33=57, Resulting Numbers: [80, 30, 57]
Generated Node #0,4: 19:[80, 30, 57] Operation: 90-33=57
Moving to Node #0,0
Current State: 19:[30, 33, 10], Operations: ['90-80=10']
Exploring Operation: 30+10=40, Resulting Numbers: [33, 40]
Generated Node #0,0,0: 19:[33, 40] Operation: 30+10=40
Exploring Operation: 30/10=3, Resulting Numbers: [33, 3]
Generated Node #0,0,1: 19:[33, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [33, 20]
Generated Node #0,0,2: 19:[33, 20] Operation: 30-10=20
Exploring Operation: 33-30=3, Resulting Numbers: [10, 3]
Generated Node #0,0,3: 19:[10, 3] Operation: 33-30=3
Exploring Operation: 33-10=23, Resulting Numbers: [30, 23]
Generated Node #0,0,4: 19:[30, 23] Operation: 33-10=23
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[33, 20], Operations: ['90-80=10', '30-10=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,19 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,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,4
Current State: 19:[30, 23], Operations: ['90-80=10', '33-10=23']
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,19 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[10, 3], Operations: ['90-80=10', '33-30=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,19 unequal: No Solution
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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[33, 3], Operations: ['90-80=10', '30/10=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,19 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[33, 40], Operations: ['90-80=10', '30+10=40']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,19 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,19 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: 19:[80, 33, 3], Operations: ['90/30=3']
Exploring Operation: 80+3=83, Resulting Numbers: [33, 83]
Generated Node #0,1,0: 19:[33, 83] Operation: 80+3=83
Exploring Operation: 80-33=47, Resulting Numbers: [3, 47]
Generated Node #0,1,1: 19:[3, 47] Operation: 80-33=47
Exploring Operation: 33/3=11, Resulting Numbers: [80, 11]
Generated Node #0,1,2: 19:[80, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [80, 30]
Generated Node #0,1,3: 19:[80, 30] Operation: 33-3=30
Exploring Operation: 80-3=77, Resulting Numbers: [33, 77]
Generated Node #0,1,4: 19:[33, 77] Operation: 80-3=77
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[3, 47], Operations: ['90/30=3', '80-33=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,19 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[80, 11], Operations: ['90/30=3', '33/3=11']
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,19 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[80, 30], Operations: ['90/30=3', '33-3=30']
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,19 unequal: No Solution
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,19 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 19:[33, 77], Operations: ['90/30=3', '80-3=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,19 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[33, 83], Operations: ['90/30=3', '80+3=83']
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,19 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,19 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,19 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: 19:[90, 30, 47], Operations: ['80-33=47']
Exploring Operation: 90+30=120, Resulting Numbers: [47, 120]
Generated Node #0,2,0: 19:[47, 120] Operation: 90+30=120
Exploring Operation: 90-30=60, Resulting Numbers: [47, 60]
Generated Node #0,2,1: 19:[47, 60] Operation: 90-30=60
Exploring Operation: 47-30=17, Resulting Numbers: [90, 17]
Generated Node #0,2,2: 19:[90, 17] Operation: 47-30=17
Exploring Operation: 90/30=3, Resulting Numbers: [47, 3]
Generated Node #0,2,3: 19:[47, 3] Operation: 90/30=3
Exploring Operation: 90-47=43, Resulting Numbers: [30, 43]
Generated Node #0,2,4: 19:[30, 43] Operation: 90-47=43
Moving to Node #0,4
Current State: 19:[80, 30, 57], Operations: ['90-33=57']
Exploring Operation: 80-30=50, Resulting Numbers: [57, 50]
Generated Node #0,4,0: 19:[57, 50] Operation: 80-30=50
Exploring Operation: 80-57=23, Resulting Numbers: [30, 23]
Generated Node #0,4,1: 19:[30, 23] Operation: 80-57=23
Exploring Operation: 80+30=110, Resulting Numbers: [57, 110]
Generated Node #0,4,2: 19:[57, 110] Operation: 80+30=110
Exploring Operation: 80+57=137, Resulting Numbers: [30, 137]
Generated Node #0,4,3: 19:[30, 137] Operation: 80+57=137
Exploring Operation: 57-30=27, Resulting Numbers: [80, 27]
Generated Node #0,4,4: 19:[80, 27] Operation: 57-30=27
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 19:[30, 23], Operations: ['90-33=57', '80-57=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,19 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,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,4,0
Current State: 19:[57, 50], Operations: ['90-33=57', '80-30=50']
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,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,4,4
Current State: 19:[80, 27], Operations: ['90-33=57', '57-30=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 80*27=2160, Resulting Numbers: [2160]
2160,19 unequal: No Solution
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,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,4,2
Current State: 19:[57, 110], Operations: ['90-33=57', '80+30=110']
Exploring Operation: 57+110=167, Resulting Numbers: [167]
167,19 unequal: No Solution
Exploring Operation: 57*110=6270, Resulting Numbers: [6270]
6270,19 unequal: No Solution
Exploring Operation: 110-57=53, Resulting Numbers: [53]
53,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,4,3
Current State: 19:[30, 137], Operations: ['90-33=57', '80+57=137']
Exploring Operation: 30*137=4110, Resulting Numbers: [4110]
4110,19 unequal: No Solution
Exploring Operation: 30+137=167, Resulting Numbers: [167]
167,19 unequal: No Solution
Exploring Operation: 137-30=107, Resulting Numbers: [107]
107,19 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: 19:[80, 33, 60], Operations: ['90-30=60']
Exploring Operation: 80-33=47, Resulting Numbers: [60, 47]
Generated Node #0,3,0: 19:[60, 47] Operation: 80-33=47
Exploring Operation: 60-33=27, Resulting Numbers: [80, 27]
Generated Node #0,3,1: 19:[80, 27] Operation: 60-33=27
Exploring Operation: 80+60=140, Resulting Numbers: [33, 140]
Generated Node #0,3,2: 19:[33, 140] Operation: 80+60=140
Exploring Operation: 80+33=113, Resulting Numbers: [60, 113]
Generated Node #0,3,3: 19:[60, 113] Operation: 80+33=113
Exploring Operation: 80-60=20, Resulting Numbers: [33, 20]
Generated Node #0,3,4: 19:[33, 20] Operation: 80-60=20
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[33, 20], Operations: ['90-30=60', '80-60=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,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,3,0
Current State: 19:[60, 47], Operations: ['90-30=60', '80-33=47']
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,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,3,1
Current State: 19:[80, 27], Operations: ['90-30=60', '60-33=27']
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 80*27=2160, Resulting Numbers: [2160]
2160,19 unequal: No Solution
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,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,3,2
Current State: 19:[33, 140], Operations: ['90-30=60', '80+60=140']
Exploring Operation: 140-33=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 33*140=4620, Resulting Numbers: [4620]
4620,19 unequal: No Solution
Exploring Operation: 33+140=173, Resulting Numbers: [173]
173,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,3,3
Current State: 19:[60, 113], Operations: ['90-30=60', '80+33=113']
Exploring Operation: 113-60=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 60+113=173, Resulting Numbers: [173]
173,19 unequal: No Solution
Exploring Operation: 60*113=6780, Resulting Numbers: [6780]
6780,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 19:[30, 43], Operations: ['80-33=47', '90-47=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[47, 3], Operations: ['80-33=47', '90/30=3']
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,19 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[47, 60], Operations: ['80-33=47', '90-30=60']
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,19 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[90, 17], Operations: ['80-33=47', '47-30=17']
Exploring Operation: 90*17=1530, Resulting Numbers: [1530]
1530,19 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 90+17=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[47, 120], Operations: ['80-33=47', '90+30=120']
Exploring Operation: 47+120=167, Resulting Numbers: [167]
167,19 unequal: No Solution
Exploring Operation: 47*120=5640, Resulting Numbers: [5640]
5640,19 unequal: No Solution
Exploring Operation: 120-47=73, Resulting Numbers: [73]
73,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
76,
19,
36
] | 94 | [
"54+36=90",
"76/19=4",
"90+4=94"
] | Current State: 94:[54, 76, 19, 36], Operations: []
Exploring Operation: 54+36=90, Resulting Numbers: [76, 19, 90]
Generated Node #2: [76, 19, 90] from Operation: 54+36=90
Current State: 94:[76, 19, 90], Operations: ['54+36=90']
Exploring Operation: 76/19=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 76/19=4
Current State: 94:[90, 4], Operations: ['54+36=90', '76/19=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[54, 76, 19, 36], Operations: []
Exploring Operation: 76+19=95, Resulting Numbers: [54, 36, 95]
Generated Node #0,0: 94:[54, 36, 95] Operation: 76+19=95
Exploring Operation: 76/19=4, Resulting Numbers: [54, 36, 4]
Generated Node #0,1: 94:[54, 36, 4] Operation: 76/19=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[54, 36, 95], Operations: ['76+19=95']
Exploring Operation: 54-36=18, Resulting Numbers: [95, 18]
Generated Node #0,0,0: 94:[95, 18] Operation: 54-36=18
Exploring Operation: 54+36=90, Resulting Numbers: [95, 90]
Generated Node #0,0,1: 94:[95, 90] Operation: 54+36=90
Moving to Node #0,0,1
Current State: 94:[95, 90], Operations: ['76+19=95', '54+36=90']
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[95, 18], Operations: ['76+19=95', '54-36=18']
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,94 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[54, 36, 4], Operations: ['76/19=4']
Exploring Operation: 54+36=90, Resulting Numbers: [4, 90]
Generated Node #0,1,0: 94:[4, 90] Operation: 54+36=90
Exploring Operation: 54-4=50, Resulting Numbers: [36, 50]
Generated Node #0,1,1: 94:[36, 50] Operation: 54-4=50
Moving to Node #0,1,0
Current State: 94:[4, 90], Operations: ['76/19=4', '54+36=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[54, 76, 19, 36], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [54, 36, 4]
Generated Node #0,1: 94:[54, 36, 4] Operation: 76/19=4
Moving to Node #0,1
Current State: 94:[54, 36, 4], Operations: ['76/19=4']
Exploring Operation: 54+36=90, Resulting Numbers: [4, 90]
Generated Node #0,1,0: 94:[4, 90] Operation: 54+36=90
Moving to Node #0,1,0
Current State: 94:[4, 90], Operations: ['76/19=4', '54+36=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
65,
23,
71,
3
] | 69 | [
"71-65=6",
"6-3=3",
"23*3=69"
] | Current State: 69:[65, 23, 71, 3], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [23, 3, 6]
Generated Node #2: [23, 3, 6] from Operation: 71-65=6
Current State: 69:[23, 3, 6], Operations: ['71-65=6']
Exploring Operation: 6-3=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 6-3=3
Current State: 69:[23, 3], Operations: ['71-65=6', '6-3=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[65, 23, 71, 3], Operations: []
Exploring Operation: 65+3=68, Resulting Numbers: [23, 71, 68]
Generated Node #0,0: 69:[23, 71, 68] Operation: 65+3=68
Exploring Operation: 71-65=6, Resulting Numbers: [23, 3, 6]
Generated Node #0,1: 69:[23, 3, 6] Operation: 71-65=6
Moving to Node #0,0
Current State: 69:[23, 71, 68], Operations: ['65+3=68']
Exploring Operation: 71-68=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 71-68=3
Exploring Operation: 71-23=48, Resulting Numbers: [68, 48]
Generated Node #0,0,1: 69:[68, 48] Operation: 71-23=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['65+3=68', '71-68=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[65, 23, 71, 3], Operations: []
Exploring Operation: 65+3=68, Resulting Numbers: [23, 71, 68]
Generated Node #0,0: 69:[23, 71, 68] Operation: 65+3=68
Moving to Node #0,0
Current State: 69:[23, 71, 68], Operations: ['65+3=68']
Exploring Operation: 71-68=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 71-68=3
Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['65+3=68', '71-68=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
5,
29,
43,
18
] | 98 | [
"29-18=11",
"5*11=55",
"43+55=98"
] | Current State: 98:[5, 29, 43, 18], Operations: []
Exploring Operation: 29-18=11, Resulting Numbers: [5, 43, 11]
Generated Node #2: [5, 43, 11] from Operation: 29-18=11
Current State: 98:[5, 43, 11], Operations: ['29-18=11']
Exploring Operation: 5*11=55, Resulting Numbers: [43, 55]
Generated Node #3: [43, 55] from Operation: 5*11=55
Current State: 98:[43, 55], Operations: ['29-18=11', '5*11=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[5, 29, 43, 18], Operations: []
Exploring Operation: 29+18=47, Resulting Numbers: [5, 43, 47]
Generated Node #0,0: 98:[5, 43, 47] Operation: 29+18=47
Exploring Operation: 43-29=14, Resulting Numbers: [5, 18, 14]
Generated Node #0,1: 98:[5, 18, 14] Operation: 43-29=14
Moving to Node #0,1
Current State: 98:[5, 18, 14], Operations: ['43-29=14']
Exploring Operation: 18-5=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 98:[14, 13] Operation: 18-5=13
Exploring Operation: 18-14=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 98:[5, 4] Operation: 18-14=4
Moving to Node #0,0
Current State: 98:[5, 43, 47], Operations: ['29+18=47']
Exploring Operation: 5+43=48, Resulting Numbers: [47, 48]
Generated Node #0,0,0: 98:[47, 48] Operation: 5+43=48
Exploring Operation: 47-43=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 98:[5, 4] Operation: 47-43=4
Moving to Node #0,1,0
Current State: 98:[14, 13], Operations: ['43-29=14', '18-5=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[47, 48], Operations: ['29+18=47', '5+43=48']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[5, 4], Operations: ['43-29=14', '18-14=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[5, 4], Operations: ['29+18=47', '47-43=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
92,
28,
64
] | 97 | [
"92-31=61",
"64-28=36",
"61+36=97"
] | Current State: 97:[31, 92, 28, 64], Operations: []
Exploring Operation: 92-31=61, Resulting Numbers: [28, 64, 61]
Generated Node #2: [28, 64, 61] from Operation: 92-31=61
Current State: 97:[28, 64, 61], Operations: ['92-31=61']
Exploring Operation: 64-28=36, Resulting Numbers: [61, 36]
Generated Node #3: [61, 36] from Operation: 64-28=36
Current State: 97:[61, 36], Operations: ['92-31=61', '64-28=36']
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[31, 92, 28, 64], Operations: []
Exploring Operation: 31+28=59, Resulting Numbers: [92, 64, 59]
Generated Node #0,0: 97:[92, 64, 59] Operation: 31+28=59
Exploring Operation: 28+64=92, Resulting Numbers: [31, 92, 92]
Generated Node #0,1: 97:[31, 92, 92] Operation: 28+64=92
Exploring Operation: 31+64=95, Resulting Numbers: [92, 28, 95]
Generated Node #0,2: 97:[92, 28, 95] Operation: 31+64=95
Exploring Operation: 92+28=120, Resulting Numbers: [31, 64, 120]
Generated Node #0,3: 97:[31, 64, 120] Operation: 92+28=120
Moving to Node #0,0
Current State: 97:[92, 64, 59], Operations: ['31+28=59']
Exploring Operation: 92-59=33, Resulting Numbers: [64, 33]
Generated Node #0,0,0: 97:[64, 33] Operation: 92-59=33
Exploring Operation: 92+64=156, Resulting Numbers: [59, 156]
Generated Node #0,0,1: 97:[59, 156] Operation: 92+64=156
Exploring Operation: 64+59=123, Resulting Numbers: [92, 123]
Generated Node #0,0,2: 97:[92, 123] Operation: 64+59=123
Exploring Operation: 92+59=151, Resulting Numbers: [64, 151]
Generated Node #0,0,3: 97:[64, 151] Operation: 92+59=151
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[92, 123], Operations: ['31+28=59', '64+59=123']
Exploring Operation: 92+123=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 92*123=11316, Resulting Numbers: [11316]
11316,97 unequal: No Solution
Exploring Operation: 123-92=31, Resulting Numbers: [31]
31,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:[64, 151], Operations: ['31+28=59', '92+59=151']
Exploring Operation: 64*151=9664, Resulting Numbers: [9664]
9664,97 unequal: No Solution
Exploring Operation: 64+151=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 151-64=87, Resulting Numbers: [87]
87,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:[64, 33], Operations: ['31+28=59', '92-59=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[31, 92, 28, 64], Operations: []
Exploring Operation: 31+28=59, Resulting Numbers: [92, 64, 59]
Generated Node #0,0: 97:[92, 64, 59] Operation: 31+28=59
Moving to Node #0,0
Current State: 97:[92, 64, 59], Operations: ['31+28=59']
Exploring Operation: 92-59=33, Resulting Numbers: [64, 33]
Generated Node #0,0,0: 97:[64, 33] Operation: 92-59=33
Moving to Node #0,0,0
Current State: 97:[64, 33], Operations: ['31+28=59', '92-59=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
31,
2,
4,
12
] | 95 | [
"31*12=372",
"372/4=93",
"2+93=95"
] | Current State: 95:[31, 2, 4, 12], Operations: []
Exploring Operation: 31*12=372, Resulting Numbers: [2, 4, 372]
Generated Node #2: [2, 4, 372] from Operation: 31*12=372
Current State: 95:[2, 4, 372], Operations: ['31*12=372']
Exploring Operation: 372/4=93, Resulting Numbers: [2, 93]
Generated Node #3: [2, 93] from Operation: 372/4=93
Current State: 95:[2, 93], Operations: ['31*12=372', '372/4=93']
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[31, 2, 4, 12], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [31, 2, 3]
Generated Node #0,0: 95:[31, 2, 3] Operation: 12/4=3
Exploring Operation: 12/2=6, Resulting Numbers: [31, 4, 6]
Generated Node #0,1: 95:[31, 4, 6] Operation: 12/2=6
Exploring Operation: 31-12=19, Resulting Numbers: [2, 4, 19]
Generated Node #0,2: 95:[2, 4, 19] Operation: 31-12=19
Exploring Operation: 31-2=29, Resulting Numbers: [4, 12, 29]
Generated Node #0,3: 95:[4, 12, 29] Operation: 31-2=29
Moving to Node #0,2
Current State: 95:[2, 4, 19], Operations: ['31-12=19']
Exploring Operation: 2*4=8, Resulting Numbers: [19, 8]
Generated Node #0,2,0: 95:[19, 8] Operation: 2*4=8
Exploring Operation: 2+4=6, Resulting Numbers: [19, 6]
Generated Node #0,2,1: 95:[19, 6] Operation: 2+4=6
Exploring Operation: 4-2=2, Resulting Numbers: [19, 2]
Generated Node #0,2,2: 95:[19, 2] Operation: 4-2=2
Exploring Operation: 4/2=2, Resulting Numbers: [19, 2]
Generated Node #0,2,3: 95:[19, 2] Operation: 4/2=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[19, 6], Operations: ['31-12=19', '2+4=6']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[19, 8], Operations: ['31-12=19', '2*4=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,95 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[19, 2], Operations: ['31-12=19', '4-2=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[19, 2], Operations: ['31-12=19', '4/2=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,95 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: 95:[31, 4, 6], Operations: ['12/2=6']
Exploring Operation: 31-6=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 95:[4, 25] Operation: 31-6=25
Exploring Operation: 31+4=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 95:[6, 35] Operation: 31+4=35
Exploring Operation: 31-4=27, Resulting Numbers: [6, 27]
Generated Node #0,1,2: 95:[6, 27] Operation: 31-4=27
Exploring Operation: 6-4=2, Resulting Numbers: [31, 2]
Generated Node #0,1,3: 95:[31, 2] Operation: 6-4=2
Moving to Node #0,0
Current State: 95:[31, 2, 3], Operations: ['12/4=3']
Exploring Operation: 31-2=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 95:[3, 29] Operation: 31-2=29
Exploring Operation: 2+3=5, Resulting Numbers: [31, 5]
Generated Node #0,0,1: 95:[31, 5] Operation: 2+3=5
Exploring Operation: 31-3=28, Resulting Numbers: [2, 28]
Generated Node #0,0,2: 95:[2, 28] Operation: 31-3=28
Exploring Operation: 31*3=93, Resulting Numbers: [2, 93]
Generated Node #0,0,3: 95:[2, 93] Operation: 31*3=93
Moving to Node #0,3
Current State: 95:[4, 12, 29], Operations: ['31-2=29']
Exploring Operation: 12-4=8, Resulting Numbers: [29, 8]
Generated Node #0,3,0: 95:[29, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [29, 3]
Generated Node #0,3,1: 95:[29, 3] Operation: 12/4=3
Exploring Operation: 29-12=17, Resulting Numbers: [4, 17]
Generated Node #0,3,2: 95:[4, 17] Operation: 29-12=17
Exploring Operation: 4+12=16, Resulting Numbers: [29, 16]
Generated Node #0,3,3: 95:[29, 16] Operation: 4+12=16
Moving to Node #0,3,2
Current State: 95:[4, 17], Operations: ['31-2=29', '29-12=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[2, 93], Operations: ['12/4=3', '31*3=93']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,95 unequal: No Solution
Exploring Operation: 2*93=186, Resulting Numbers: [186]
186,95 unequal: No Solution
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[31, 2, 4, 12], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [31, 2, 3]
Generated Node #0,0: 95:[31, 2, 3] Operation: 12/4=3
Moving to Node #0,0
Current State: 95:[31, 2, 3], Operations: ['12/4=3']
Exploring Operation: 31*3=93, Resulting Numbers: [2, 93]
Generated Node #0,0,3: 95:[2, 93] Operation: 31*3=93
Moving to Node #0,0,3
Current State: 95:[2, 93], Operations: ['12/4=3', '31*3=93']
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.963542 | hs_4 | sum_heuristic |
[
38,
44,
46,
37
] | 12 | [
"38+46=84",
"44-37=7",
"84/7=12"
] | Current State: 12:[38, 44, 46, 37], Operations: []
Exploring Operation: 38+46=84, Resulting Numbers: [44, 37, 84]
Generated Node #2: [44, 37, 84] from Operation: 38+46=84
Current State: 12:[44, 37, 84], Operations: ['38+46=84']
Exploring Operation: 44-37=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 44-37=7
Current State: 12:[84, 7], Operations: ['38+46=84', '44-37=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[38, 44, 46, 37], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [46, 37, 6]
Generated Node #0,0: 12:[46, 37, 6] Operation: 44-38=6
Exploring Operation: 46-44=2, Resulting Numbers: [38, 37, 2]
Generated Node #0,1: 12:[38, 37, 2] Operation: 46-44=2
Moving to Node #0,1
Current State: 12:[38, 37, 2], Operations: ['46-44=2']
Exploring Operation: 38-37=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 12:[2, 1] Operation: 38-37=1
Exploring Operation: 38/2=19, Resulting Numbers: [37, 19]
Generated Node #0,1,1: 12:[37, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[2, 1], Operations: ['46-44=2', '38-37=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[37, 19], Operations: ['46-44=2', '38/2=19']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,12 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: 12:[46, 37, 6], Operations: ['44-38=6']
Exploring Operation: 46-37=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 12:[6, 9] Operation: 46-37=9
Exploring Operation: 46-6=40, Resulting Numbers: [37, 40]
Generated Node #0,0,1: 12:[37, 40] Operation: 46-6=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[6, 9], Operations: ['44-38=6', '46-37=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[37, 40], Operations: ['44-38=6', '46-6=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,12 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 |
[
44,
50,
13,
4
] | 11 | [
"50-44=6",
"13+4=17",
"17-6=11"
] | Current State: 11:[44, 50, 13, 4], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [13, 4, 6]
Generated Node #2: [13, 4, 6] from Operation: 50-44=6
Current State: 11:[13, 4, 6], Operations: ['50-44=6']
Exploring Operation: 13+4=17, Resulting Numbers: [6, 17]
Generated Node #3: [6, 17] from Operation: 13+4=17
Current State: 11:[6, 17], Operations: ['50-44=6', '13+4=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[44, 50, 13, 4], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [13, 4, 6]
Generated Node #0,0: 11:[13, 4, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[13, 4, 6], Operations: ['50-44=6']
Exploring Operation: 4+6=10, Resulting Numbers: [13, 10]
Generated Node #0,0,0: 11:[13, 10] Operation: 4+6=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[13, 10], Operations: ['50-44=6', '4+6=10']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
90,
51,
12,
92
] | 65 | [
"90-51=39",
"12+92=104",
"104-39=65"
] | Current State: 65:[90, 51, 12, 92], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [12, 92, 39]
Generated Node #2: [12, 92, 39] from Operation: 90-51=39
Current State: 65:[12, 92, 39], Operations: ['90-51=39']
Exploring Operation: 12+92=104, Resulting Numbers: [39, 104]
Generated Node #3: [39, 104] from Operation: 12+92=104
Current State: 65:[39, 104], Operations: ['90-51=39', '12+92=104']
Exploring Operation: 104-39=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[90, 51, 12, 92], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [51, 12, 2]
Generated Node #0,0: 65:[51, 12, 2] Operation: 92-90=2
Exploring Operation: 90-51=39, Resulting Numbers: [12, 92, 39]
Generated Node #0,1: 65:[12, 92, 39] Operation: 90-51=39
Exploring Operation: 92-51=41, Resulting Numbers: [90, 12, 41]
Generated Node #0,2: 65:[90, 12, 41] Operation: 92-51=41
Moving to Node #0,0
Current State: 65:[51, 12, 2], Operations: ['92-90=2']
Exploring Operation: 51+12=63, Resulting Numbers: [2, 63]
Generated Node #0,0,0: 65:[2, 63] Operation: 51+12=63
Exploring Operation: 12+2=14, Resulting Numbers: [51, 14]
Generated Node #0,0,1: 65:[51, 14] Operation: 12+2=14
Exploring Operation: 51+2=53, Resulting Numbers: [12, 53]
Generated Node #0,0,2: 65:[12, 53] Operation: 51+2=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[2, 63], Operations: ['92-90=2', '51+12=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[90, 51, 12, 92], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [51, 12, 2]
Generated Node #0,0: 65:[51, 12, 2] Operation: 92-90=2
Moving to Node #0,0
Current State: 65:[51, 12, 2], Operations: ['92-90=2']
Exploring Operation: 51+12=63, Resulting Numbers: [2, 63]
Generated Node #0,0,0: 65:[2, 63] Operation: 51+12=63
Moving to Node #0,0,0
Current State: 65:[2, 63], Operations: ['92-90=2', '51+12=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
25,
12,
24,
2
] | 29 | [
"25+2=27",
"24/12=2",
"27+2=29"
] | Current State: 29:[25, 12, 24, 2], Operations: []
Exploring Operation: 25+2=27, Resulting Numbers: [12, 24, 27]
Generated Node #2: [12, 24, 27] from Operation: 25+2=27
Current State: 29:[12, 24, 27], Operations: ['25+2=27']
Exploring Operation: 24/12=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 24/12=2
Current State: 29:[27, 2], Operations: ['25+2=27', '24/12=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[25, 12, 24, 2], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [25, 24, 24]
Generated Node #0,0: 29:[25, 24, 24] Operation: 12*2=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[25, 24, 24], Operations: ['12*2=24']
Exploring Operation: 24+24=48, Resulting Numbers: [25, 48]
Generated Node #0,0,0: 29:[25, 48] Operation: 24+24=48
Moving to Node #0,0,0
Current State: 29:[25, 48], Operations: ['12*2=24', '24+24=48']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,29 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 |
[
67,
23,
37,
87
] | 44 | [
"67*23=1541",
"87+1541=1628",
"1628/37=44"
] | Current State: 44:[67, 23, 37, 87], Operations: []
Exploring Operation: 67*23=1541, Resulting Numbers: [37, 87, 1541]
Generated Node #2: [37, 87, 1541] from Operation: 67*23=1541
Current State: 44:[37, 87, 1541], Operations: ['67*23=1541']
Exploring Operation: 87+1541=1628, Resulting Numbers: [37, 1628]
Generated Node #3: [37, 1628] from Operation: 87+1541=1628
Current State: 44:[37, 1628], Operations: ['67*23=1541', '87+1541=1628']
Exploring Operation: 1628/37=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[67, 23, 37, 87], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [23, 37, 20]
Generated Node #0,0: 44:[23, 37, 20] Operation: 87-67=20
Exploring Operation: 87-37=50, Resulting Numbers: [67, 23, 50]
Generated Node #0,1: 44:[67, 23, 50] Operation: 87-37=50
Exploring Operation: 67-37=30, Resulting Numbers: [23, 87, 30]
Generated Node #0,2: 44:[23, 87, 30] Operation: 67-37=30
Exploring Operation: 87-23=64, Resulting Numbers: [67, 37, 64]
Generated Node #0,3: 44:[67, 37, 64] Operation: 87-23=64
Exploring Operation: 67-23=44, Resulting Numbers: [37, 87, 44]
Generated Node #0,4: 44:[37, 87, 44] Operation: 67-23=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[23, 37, 20], Operations: ['87-67=20']
Exploring Operation: 37+20=57, Resulting Numbers: [23, 57]
Generated Node #0,0,0: 44:[23, 57] Operation: 37+20=57
Exploring Operation: 37-20=17, Resulting Numbers: [23, 17]
Generated Node #0,0,1: 44:[23, 17] Operation: 37-20=17
Exploring Operation: 37-23=14, Resulting Numbers: [20, 14]
Generated Node #0,0,2: 44:[20, 14] Operation: 37-23=14
Exploring Operation: 23-20=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 44:[37, 3] Operation: 23-20=3
Exploring Operation: 23+20=43, Resulting Numbers: [37, 43]
Generated Node #0,0,4: 44:[37, 43] Operation: 23+20=43
Moving to Node #0,0,2
Current State: 44:[20, 14], Operations: ['87-67=20', '37-23=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[23, 17], Operations: ['87-67=20', '37-20=17']
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[37, 3], Operations: ['87-67=20', '23-20=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,44 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[37, 43], Operations: ['87-67=20', '23+20=43']
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,44 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[23, 57], Operations: ['87-67=20', '37+20=57']
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,44 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[67, 23, 50], Operations: ['87-37=50']
Exploring Operation: 50-23=27, Resulting Numbers: [67, 27]
Generated Node #0,1,0: 44:[67, 27] Operation: 50-23=27
Exploring Operation: 67-50=17, Resulting Numbers: [23, 17]
Generated Node #0,1,1: 44:[23, 17] Operation: 67-50=17
Exploring Operation: 67+23=90, Resulting Numbers: [50, 90]
Generated Node #0,1,2: 44:[50, 90] Operation: 67+23=90
Exploring Operation: 67-23=44, Resulting Numbers: [50, 44]
Generated Node #0,1,3: 44:[50, 44] Operation: 67-23=44
Exploring Operation: 23+50=73, Resulting Numbers: [67, 73]
Generated Node #0,1,4: 44:[67, 73] Operation: 23+50=73
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[23, 17], Operations: ['87-37=50', '67-50=17']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,44 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[50, 44], Operations: ['87-37=50', '67-23=44']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 50*44=2200, Resulting Numbers: [2200]
2200,44 unequal: No Solution
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[67, 27], Operations: ['87-37=50', '50-23=27']
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,44 unequal: No Solution
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,44 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[50, 90], Operations: ['87-37=50', '67+23=90']
Exploring Operation: 50+90=140, Resulting Numbers: [140]
140,44 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 50*90=4500, Resulting Numbers: [4500]
4500,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 44:[67, 73], Operations: ['87-37=50', '23+50=73']
Exploring Operation: 73-67=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 67+73=140, Resulting Numbers: [140]
140,44 unequal: No Solution
Exploring Operation: 67*73=4891, Resulting Numbers: [4891]
4891,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[67, 37, 64], Operations: ['87-23=64']
Exploring Operation: 37+64=101, Resulting Numbers: [67, 101]
Generated Node #0,3,0: 44:[67, 101] Operation: 37+64=101
Exploring Operation: 64-37=27, Resulting Numbers: [67, 27]
Generated Node #0,3,1: 44:[67, 27] Operation: 64-37=27
Exploring Operation: 67+37=104, Resulting Numbers: [64, 104]
Generated Node #0,3,2: 44:[64, 104] Operation: 67+37=104
Exploring Operation: 67-37=30, Resulting Numbers: [64, 30]
Generated Node #0,3,3: 44:[64, 30] Operation: 67-37=30
Exploring Operation: 67-64=3, Resulting Numbers: [37, 3]
Generated Node #0,3,4: 44:[37, 3] Operation: 67-64=3
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[37, 3], Operations: ['87-23=64', '67-64=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[67, 27], Operations: ['87-23=64', '64-37=27']
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,44 unequal: No Solution
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,44 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[64, 30], Operations: ['87-23=64', '67-37=30']
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,44 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[67, 101], Operations: ['87-23=64', '37+64=101']
Exploring Operation: 67+101=168, Resulting Numbers: [168]
168,44 unequal: No Solution
Exploring Operation: 67*101=6767, Resulting Numbers: [6767]
6767,44 unequal: No Solution
Exploring Operation: 101-67=34, Resulting Numbers: [34]
34,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[64, 104], Operations: ['87-23=64', '67+37=104']
Exploring Operation: 104-64=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 64*104=6656, Resulting Numbers: [6656]
6656,44 unequal: No Solution
Exploring Operation: 64+104=168, Resulting Numbers: [168]
168,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[37, 87, 44], Operations: ['67-23=44']
Exploring Operation: 37+87=124, Resulting Numbers: [44, 124]
Generated Node #0,4,0: 44:[44, 124] Operation: 37+87=124
Exploring Operation: 87-37=50, Resulting Numbers: [44, 50]
Generated Node #0,4,1: 44:[44, 50] Operation: 87-37=50
Exploring Operation: 37+44=81, Resulting Numbers: [87, 81]
Generated Node #0,4,2: 44:[87, 81] Operation: 37+44=81
Exploring Operation: 44-37=7, Resulting Numbers: [87, 7]
Generated Node #0,4,3: 44:[87, 7] Operation: 44-37=7
Exploring Operation: 87-44=43, Resulting Numbers: [37, 43]
Generated Node #0,4,4: 44:[37, 43] Operation: 87-44=43
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 44:[44, 50], Operations: ['67-23=44', '87-37=50']
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,44 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 44:[37, 43], Operations: ['67-23=44', '87-44=43']
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,44 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 44:[87, 7], Operations: ['67-23=44', '44-37=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,44 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 44:[44, 124], Operations: ['67-23=44', '37+87=124']
Exploring Operation: 124-44=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 44*124=5456, Resulting Numbers: [5456]
5456,44 unequal: No Solution
Exploring Operation: 44+124=168, Resulting Numbers: [168]
168,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[87, 81], Operations: ['67-23=44', '37+44=81']
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,44 unequal: No Solution
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,44 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[23, 87, 30], Operations: ['67-37=30']
Exploring Operation: 87-30=57, Resulting Numbers: [23, 57]
Generated Node #0,2,0: 44:[23, 57] Operation: 87-30=57
Exploring Operation: 30-23=7, Resulting Numbers: [87, 7]
Generated Node #0,2,1: 44:[87, 7] Operation: 30-23=7
Exploring Operation: 87-23=64, Resulting Numbers: [30, 64]
Generated Node #0,2,2: 44:[30, 64] Operation: 87-23=64
Exploring Operation: 23+30=53, Resulting Numbers: [87, 53]
Generated Node #0,2,3: 44:[87, 53] Operation: 23+30=53
Exploring Operation: 23+87=110, Resulting Numbers: [30, 110]
Generated Node #0,2,4: 44:[30, 110] Operation: 23+87=110
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[23, 57], Operations: ['67-37=30', '87-30=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,44 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[30, 64], Operations: ['67-37=30', '87-23=64']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,44 unequal: No Solution
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[87, 7], Operations: ['67-37=30', '30-23=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,44 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 44:[87, 53], Operations: ['67-37=30', '23+30=53']
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 87*53=4611, Resulting Numbers: [4611]
4611,44 unequal: No Solution
Exploring Operation: 87+53=140, Resulting Numbers: [140]
140,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 44:[30, 110], Operations: ['67-37=30', '23+87=110']
Exploring Operation: 30*110=3300, Resulting Numbers: [3300]
3300,44 unequal: No Solution
Exploring Operation: 110-30=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 30+110=140, Resulting Numbers: [140]
140,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
25,
79,
53,
70
] | 19 | [
"25+79=104",
"53+70=123",
"123-104=19"
] | Current State: 19:[25, 79, 53, 70], Operations: []
Exploring Operation: 25+79=104, Resulting Numbers: [53, 70, 104]
Generated Node #2: [53, 70, 104] from Operation: 25+79=104
Current State: 19:[53, 70, 104], Operations: ['25+79=104']
Exploring Operation: 53+70=123, Resulting Numbers: [104, 123]
Generated Node #3: [104, 123] from Operation: 53+70=123
Current State: 19:[104, 123], Operations: ['25+79=104', '53+70=123']
Exploring Operation: 123-104=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[25, 79, 53, 70], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [25, 70, 26]
Generated Node #0,0: 19:[25, 70, 26] Operation: 79-53=26
Exploring Operation: 79-70=9, Resulting Numbers: [25, 53, 9]
Generated Node #0,1: 19:[25, 53, 9] Operation: 79-70=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[25, 53, 9], Operations: ['79-70=9']
Exploring Operation: 53-25=28, Resulting Numbers: [9, 28]
Generated Node #0,1,0: 19:[9, 28] Operation: 53-25=28
Exploring Operation: 53-9=44, Resulting Numbers: [25, 44]
Generated Node #0,1,1: 19:[25, 44] Operation: 53-9=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[9, 28], Operations: ['79-70=9', '53-25=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[25, 79, 53, 70], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [25, 53, 9]
Generated Node #0,1: 19:[25, 53, 9] Operation: 79-70=9
Moving to Node #0,1
Current State: 19:[25, 53, 9], Operations: ['79-70=9']
Exploring Operation: 53-25=28, Resulting Numbers: [9, 28]
Generated Node #0,1,0: 19:[9, 28] Operation: 53-25=28
Moving to Node #0,1,0
Current State: 19:[9, 28], Operations: ['79-70=9', '53-25=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
98,
91,
18,
49
] | 75 | [
"98/49=2",
"91-18=73",
"2+73=75"
] | Current State: 75:[98, 91, 18, 49], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [91, 18, 2]
Generated Node #2: [91, 18, 2] from Operation: 98/49=2
Current State: 75:[91, 18, 2], Operations: ['98/49=2']
Exploring Operation: 91-18=73, Resulting Numbers: [2, 73]
Generated Node #3: [2, 73] from Operation: 91-18=73
Current State: 75:[2, 73], Operations: ['98/49=2', '91-18=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[98, 91, 18, 49], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [91, 18, 49]
Generated Node #0,0: 75:[91, 18, 49] Operation: 98-49=49
Exploring Operation: 98-18=80, Resulting Numbers: [91, 49, 80]
Generated Node #0,1: 75:[91, 49, 80] Operation: 98-18=80
Exploring Operation: 98/49=2, Resulting Numbers: [91, 18, 2]
Generated Node #0,2: 75:[91, 18, 2] Operation: 98/49=2
Exploring Operation: 91-49=42, Resulting Numbers: [98, 18, 42]
Generated Node #0,3: 75:[98, 18, 42] Operation: 91-49=42
Exploring Operation: 98-91=7, Resulting Numbers: [18, 49, 7]
Generated Node #0,4: 75:[18, 49, 7] Operation: 98-91=7
Moving to Node #0,2
Current State: 75:[91, 18, 2], Operations: ['98/49=2']
Exploring Operation: 18-2=16, Resulting Numbers: [91, 16]
Generated Node #0,2,0: 75:[91, 16] Operation: 18-2=16
Exploring Operation: 91+2=93, Resulting Numbers: [18, 93]
Generated Node #0,2,1: 75:[18, 93] Operation: 91+2=93
Exploring Operation: 91-18=73, Resulting Numbers: [2, 73]
Generated Node #0,2,2: 75:[2, 73] Operation: 91-18=73
Exploring Operation: 91-2=89, Resulting Numbers: [18, 89]
Generated Node #0,2,3: 75:[18, 89] Operation: 91-2=89
Exploring Operation: 18/2=9, Resulting Numbers: [91, 9]
Generated Node #0,2,4: 75:[91, 9] Operation: 18/2=9
Moving to Node #0,4
Current State: 75:[18, 49, 7], Operations: ['98-91=7']
Exploring Operation: 49-7=42, Resulting Numbers: [18, 42]
Generated Node #0,4,0: 75:[18, 42] Operation: 49-7=42
Exploring Operation: 49-18=31, Resulting Numbers: [7, 31]
Generated Node #0,4,1: 75:[7, 31] Operation: 49-18=31
Exploring Operation: 18+49=67, Resulting Numbers: [7, 67]
Generated Node #0,4,2: 75:[7, 67] Operation: 18+49=67
Exploring Operation: 49/7=7, Resulting Numbers: [18, 7]
Generated Node #0,4,3: 75:[18, 7] Operation: 49/7=7
Exploring Operation: 49+7=56, Resulting Numbers: [18, 56]
Generated Node #0,4,4: 75:[18, 56] Operation: 49+7=56
Moving to Node #0,0
Current State: 75:[91, 18, 49], Operations: ['98-49=49']
Exploring Operation: 91-18=73, Resulting Numbers: [49, 73]
Generated Node #0,0,0: 75:[49, 73] Operation: 91-18=73
Exploring Operation: 18+49=67, Resulting Numbers: [91, 67]
Generated Node #0,0,1: 75:[91, 67] Operation: 18+49=67
Exploring Operation: 49-18=31, Resulting Numbers: [91, 31]
Generated Node #0,0,2: 75:[91, 31] Operation: 49-18=31
Exploring Operation: 91-49=42, Resulting Numbers: [18, 42]
Generated Node #0,0,3: 75:[18, 42] Operation: 91-49=42
Exploring Operation: 91+18=109, Resulting Numbers: [49, 109]
Generated Node #0,0,4: 75:[49, 109] Operation: 91+18=109
Moving to Node #0,3
Current State: 75:[98, 18, 42], Operations: ['91-49=42']
Exploring Operation: 98-42=56, Resulting Numbers: [18, 56]
Generated Node #0,3,0: 75:[18, 56] Operation: 98-42=56
Exploring Operation: 98-18=80, Resulting Numbers: [42, 80]
Generated Node #0,3,1: 75:[42, 80] Operation: 98-18=80
Exploring Operation: 18+42=60, Resulting Numbers: [98, 60]
Generated Node #0,3,2: 75:[98, 60] Operation: 18+42=60
Exploring Operation: 98+18=116, Resulting Numbers: [42, 116]
Generated Node #0,3,3: 75:[42, 116] Operation: 98+18=116
Exploring Operation: 42-18=24, Resulting Numbers: [98, 24]
Generated Node #0,3,4: 75:[98, 24] Operation: 42-18=24
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[18, 56], Operations: ['91-49=42', '98-42=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[42, 80], Operations: ['91-49=42', '98-18=80']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 42+80=122, Resulting Numbers: [122]
122,75 unequal: No Solution
Exploring Operation: 42*80=3360, Resulting Numbers: [3360]
3360,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 75:[98, 24], Operations: ['91-49=42', '42-18=24']
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,75 unequal: No Solution
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 98*24=2352, Resulting Numbers: [2352]
2352,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[98, 60], Operations: ['91-49=42', '18+42=60']
Exploring Operation: 98+60=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 98*60=5880, Resulting Numbers: [5880]
5880,75 unequal: No Solution
Exploring Operation: 98-60=38, Resulting Numbers: [38]
38,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[42, 116], Operations: ['91-49=42', '98+18=116']
Exploring Operation: 42+116=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 42*116=4872, Resulting Numbers: [4872]
4872,75 unequal: No Solution
Exploring Operation: 116-42=74, Resulting Numbers: [74]
74,75 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: 75:[91, 49, 80], Operations: ['98-18=80']
Exploring Operation: 91+49=140, Resulting Numbers: [80, 140]
Generated Node #0,1,0: 75:[80, 140] Operation: 91+49=140
Exploring Operation: 91-80=11, Resulting Numbers: [49, 11]
Generated Node #0,1,1: 75:[49, 11] Operation: 91-80=11
Exploring Operation: 49+80=129, Resulting Numbers: [91, 129]
Generated Node #0,1,2: 75:[91, 129] Operation: 49+80=129
Exploring Operation: 80-49=31, Resulting Numbers: [91, 31]
Generated Node #0,1,3: 75:[91, 31] Operation: 80-49=31
Exploring Operation: 91-49=42, Resulting Numbers: [80, 42]
Generated Node #0,1,4: 75:[80, 42] Operation: 91-49=42
Moving to Node #0,2,2
Current State: 75:[2, 73], Operations: ['98/49=2', '91-18=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[98, 91, 18, 49], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [91, 18, 2]
Generated Node #0,2: 75:[91, 18, 2] Operation: 98/49=2
Moving to Node #0,2
Current State: 75:[91, 18, 2], Operations: ['98/49=2']
Exploring Operation: 91-18=73, Resulting Numbers: [2, 73]
Generated Node #0,2,2: 75:[2, 73] Operation: 91-18=73
Moving to Node #0,2,2
Current State: 75:[2, 73], Operations: ['98/49=2', '91-18=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
46,
35,
98,
28
] | 44 | [
"98-28=70",
"70/35=2",
"46-2=44"
] | Current State: 44:[46, 35, 98, 28], Operations: []
Exploring Operation: 98-28=70, Resulting Numbers: [46, 35, 70]
Generated Node #2: [46, 35, 70] from Operation: 98-28=70
Current State: 44:[46, 35, 70], Operations: ['98-28=70']
Exploring Operation: 70/35=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 70/35=2
Current State: 44:[46, 2], Operations: ['98-28=70', '70/35=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[46, 35, 98, 28], Operations: []
Exploring Operation: 98-28=70, Resulting Numbers: [46, 35, 70]
Generated Node #0,0: 44:[46, 35, 70] Operation: 98-28=70
Exploring Operation: 98-46=52, Resulting Numbers: [35, 28, 52]
Generated Node #0,1: 44:[35, 28, 52] Operation: 98-46=52
Exploring Operation: 98-35=63, Resulting Numbers: [46, 28, 63]
Generated Node #0,2: 44:[46, 28, 63] Operation: 98-35=63
Exploring Operation: 46-35=11, Resulting Numbers: [98, 28, 11]
Generated Node #0,3: 44:[98, 28, 11] Operation: 46-35=11
Exploring Operation: 35-28=7, Resulting Numbers: [46, 98, 7]
Generated Node #0,4: 44:[46, 98, 7] Operation: 35-28=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[35, 28, 52], Operations: ['98-46=52']
Exploring Operation: 52-35=17, Resulting Numbers: [28, 17]
Generated Node #0,1,0: 44:[28, 17] Operation: 52-35=17
Exploring Operation: 35+28=63, Resulting Numbers: [52, 63]
Generated Node #0,1,1: 44:[52, 63] Operation: 35+28=63
Exploring Operation: 28+52=80, Resulting Numbers: [35, 80]
Generated Node #0,1,2: 44:[35, 80] Operation: 28+52=80
Exploring Operation: 35-28=7, Resulting Numbers: [52, 7]
Generated Node #0,1,3: 44:[52, 7] Operation: 35-28=7
Exploring Operation: 52-28=24, Resulting Numbers: [35, 24]
Generated Node #0,1,4: 44:[35, 24] Operation: 52-28=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[28, 17], Operations: ['98-46=52', '52-35=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,44 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[52, 7], Operations: ['98-46=52', '35-28=7']
Exploring Operation: 52*7=364, Resulting Numbers: [364]
364,44 unequal: No Solution
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 44:[35, 24], Operations: ['98-46=52', '52-28=24']
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,44 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[52, 63], Operations: ['98-46=52', '35+28=63']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,44 unequal: No Solution
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[35, 80], Operations: ['98-46=52', '28+52=80']
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,44 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 35*80=2800, Resulting Numbers: [2800]
2800,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[46, 28, 63], Operations: ['98-35=63']
Exploring Operation: 46-28=18, Resulting Numbers: [63, 18]
Generated Node #0,2,0: 44:[63, 18] Operation: 46-28=18
Exploring Operation: 63-46=17, Resulting Numbers: [28, 17]
Generated Node #0,2,1: 44:[28, 17] Operation: 63-46=17
Exploring Operation: 28+63=91, Resulting Numbers: [46, 91]
Generated Node #0,2,2: 44:[46, 91] Operation: 28+63=91
Exploring Operation: 46+28=74, Resulting Numbers: [63, 74]
Generated Node #0,2,3: 44:[63, 74] Operation: 46+28=74
Exploring Operation: 63-28=35, Resulting Numbers: [46, 35]
Generated Node #0,2,4: 44:[46, 35] Operation: 63-28=35
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[28, 17], Operations: ['98-35=63', '63-46=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 44:[46, 35], Operations: ['98-35=63', '63-28=35']
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,44 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[63, 18], Operations: ['98-35=63', '46-28=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[46, 91], Operations: ['98-35=63', '28+63=91']
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,44 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 44:[63, 74], Operations: ['98-35=63', '46+28=74']
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 63*74=4662, Resulting Numbers: [4662]
4662,44 unequal: No Solution
Exploring Operation: 63+74=137, Resulting Numbers: [137]
137,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[46, 35, 70], Operations: ['98-28=70']
Exploring Operation: 46-35=11, Resulting Numbers: [70, 11]
Generated Node #0,0,0: 44:[70, 11] Operation: 46-35=11
Exploring Operation: 70-35=35, Resulting Numbers: [46, 35]
Generated Node #0,0,1: 44:[46, 35] Operation: 70-35=35
Exploring Operation: 70/35=2, Resulting Numbers: [46, 2]
Generated Node #0,0,2: 44:[46, 2] Operation: 70/35=2
Exploring Operation: 46+35=81, Resulting Numbers: [70, 81]
Generated Node #0,0,3: 44:[70, 81] Operation: 46+35=81
Exploring Operation: 70-46=24, Resulting Numbers: [35, 24]
Generated Node #0,0,4: 44:[35, 24] Operation: 70-46=24
Moving to Node #0,0,2
Current State: 44:[46, 2], Operations: ['98-28=70', '70/35=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[46, 35, 98, 28], Operations: []
Exploring Operation: 98-28=70, Resulting Numbers: [46, 35, 70]
Generated Node #0,0: 44:[46, 35, 70] Operation: 98-28=70
Moving to Node #0,0
Current State: 44:[46, 35, 70], Operations: ['98-28=70']
Exploring Operation: 70/35=2, Resulting Numbers: [46, 2]
Generated Node #0,0,2: 44:[46, 2] Operation: 70/35=2
Moving to Node #0,0,2
Current State: 44:[46, 2], Operations: ['98-28=70', '70/35=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
19,
25,
64,
59
] | 30 | [
"25-19=6",
"64-59=5",
"6*5=30"
] | Current State: 30:[19, 25, 64, 59], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [64, 59, 6]
Generated Node #2: [64, 59, 6] from Operation: 25-19=6
Current State: 30:[64, 59, 6], Operations: ['25-19=6']
Exploring Operation: 64-59=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 64-59=5
Current State: 30:[6, 5], Operations: ['25-19=6', '64-59=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[19, 25, 64, 59], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [19, 25, 5]
Generated Node #0,0: 30:[19, 25, 5] Operation: 64-59=5
Exploring Operation: 64-25=39, Resulting Numbers: [19, 59, 39]
Generated Node #0,1: 30:[19, 59, 39] Operation: 64-25=39
Exploring Operation: 59-19=40, Resulting Numbers: [25, 64, 40]
Generated Node #0,2: 30:[25, 64, 40] Operation: 59-19=40
Exploring Operation: 59-25=34, Resulting Numbers: [19, 64, 34]
Generated Node #0,3: 30:[19, 64, 34] Operation: 59-25=34
Exploring Operation: 64-19=45, Resulting Numbers: [25, 59, 45]
Generated Node #0,4: 30:[25, 59, 45] Operation: 64-19=45
Moving to Node #0,0
Current State: 30:[19, 25, 5], Operations: ['64-59=5']
Exploring Operation: 25/5=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 30:[19, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [19, 20]
Generated Node #0,0,1: 30:[19, 20] Operation: 25-5=20
Exploring Operation: 25+5=30, Resulting Numbers: [19, 30]
Generated Node #0,0,2: 30:[19, 30] Operation: 25+5=30
Exploring Operation: 19-5=14, Resulting Numbers: [25, 14]
Generated Node #0,0,3: 30:[25, 14] Operation: 19-5=14
Exploring Operation: 25-19=6, Resulting Numbers: [5, 6]
Generated Node #0,0,4: 30:[5, 6] Operation: 25-19=6
Moving to Node #0,3
Current State: 30:[19, 64, 34], Operations: ['59-25=34']
Exploring Operation: 64-19=45, Resulting Numbers: [34, 45]
Generated Node #0,3,0: 30:[34, 45] Operation: 64-19=45
Exploring Operation: 34-19=15, Resulting Numbers: [64, 15]
Generated Node #0,3,1: 30:[64, 15] Operation: 34-19=15
Exploring Operation: 64-34=30, Resulting Numbers: [19, 30]
Generated Node #0,3,2: 30:[19, 30] Operation: 64-34=30
Exploring Operation: 19+34=53, Resulting Numbers: [64, 53]
Generated Node #0,3,3: 30:[64, 53] Operation: 19+34=53
Exploring Operation: 19+64=83, Resulting Numbers: [34, 83]
Generated Node #0,3,4: 30:[34, 83] Operation: 19+64=83
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[19, 30], Operations: ['59-25=34', '64-34=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 30:[34, 45], Operations: ['59-25=34', '64-19=45']
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,30 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,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,1
Current State: 30:[64, 15], Operations: ['59-25=34', '34-19=15']
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,30 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[64, 53], Operations: ['59-25=34', '19+34=53']
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,30 unequal: No Solution
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,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,4
Current State: 30:[34, 83], Operations: ['59-25=34', '19+64=83']
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,30 unequal: No Solution
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,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:[19, 59, 39], Operations: ['64-25=39']
Exploring Operation: 59-19=40, Resulting Numbers: [39, 40]
Generated Node #0,1,0: 30:[39, 40] Operation: 59-19=40
Exploring Operation: 19+59=78, Resulting Numbers: [39, 78]
Generated Node #0,1,1: 30:[39, 78] Operation: 19+59=78
Exploring Operation: 59-39=20, Resulting Numbers: [19, 20]
Generated Node #0,1,2: 30:[19, 20] Operation: 59-39=20
Exploring Operation: 39-19=20, Resulting Numbers: [59, 20]
Generated Node #0,1,3: 30:[59, 20] Operation: 39-19=20
Exploring Operation: 19+39=58, Resulting Numbers: [59, 58]
Generated Node #0,1,4: 30:[59, 58] Operation: 19+39=58
Moving to Node #0,2
Current State: 30:[25, 64, 40], Operations: ['59-19=40']
Exploring Operation: 64-25=39, Resulting Numbers: [40, 39]
Generated Node #0,2,0: 30:[40, 39] Operation: 64-25=39
Exploring Operation: 40-25=15, Resulting Numbers: [64, 15]
Generated Node #0,2,1: 30:[64, 15] Operation: 40-25=15
Exploring Operation: 25+40=65, Resulting Numbers: [64, 65]
Generated Node #0,2,2: 30:[64, 65] Operation: 25+40=65
Exploring Operation: 25+64=89, Resulting Numbers: [40, 89]
Generated Node #0,2,3: 30:[40, 89] Operation: 25+64=89
Exploring Operation: 64-40=24, Resulting Numbers: [25, 24]
Generated Node #0,2,4: 30:[25, 24] Operation: 64-40=24
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 30:[25, 24], Operations: ['59-19=40', '64-40=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,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:[40, 39], Operations: ['59-19=40', '64-25=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,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:[64, 15], Operations: ['59-19=40', '40-25=15']
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,30 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,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:[64, 65], Operations: ['59-19=40', '25+40=65']
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,30 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,30 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[40, 89], Operations: ['59-19=40', '25+64=89']
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,30 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,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:[25, 59, 45], Operations: ['64-19=45']
Exploring Operation: 59-25=34, Resulting Numbers: [45, 34]
Generated Node #0,4,0: 30:[45, 34] Operation: 59-25=34
Exploring Operation: 25+45=70, Resulting Numbers: [59, 70]
Generated Node #0,4,1: 30:[59, 70] Operation: 25+45=70
Exploring Operation: 59-45=14, Resulting Numbers: [25, 14]
Generated Node #0,4,2: 30:[25, 14] Operation: 59-45=14
Exploring Operation: 25+59=84, Resulting Numbers: [45, 84]
Generated Node #0,4,3: 30:[45, 84] Operation: 25+59=84
Exploring Operation: 45-25=20, Resulting Numbers: [59, 20]
Generated Node #0,4,4: 30:[59, 20] Operation: 45-25=20
Moving to Node #0,0,4
Current State: 30:[5, 6], Operations: ['64-59=5', '25-19=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[19, 25, 64, 59], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [19, 25, 5]
Generated Node #0,0: 30:[19, 25, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 30:[19, 25, 5], Operations: ['64-59=5']
Exploring Operation: 25-19=6, Resulting Numbers: [5, 6]
Generated Node #0,0,4: 30:[5, 6] Operation: 25-19=6
Moving to Node #0,0,4
Current State: 30:[5, 6], Operations: ['64-59=5', '25-19=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
56,
84,
40,
61
] | 92 | [
"61-56=5",
"40/5=8",
"84+8=92"
] | Current State: 92:[56, 84, 40, 61], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [84, 40, 5]
Generated Node #2: [84, 40, 5] from Operation: 61-56=5
Current State: 92:[84, 40, 5], Operations: ['61-56=5']
Exploring Operation: 40/5=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 40/5=8
Current State: 92:[84, 8], Operations: ['61-56=5', '40/5=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[56, 84, 40, 61], Operations: []
Exploring Operation: 56+40=96, Resulting Numbers: [84, 61, 96]
Generated Node #0,0: 92:[84, 61, 96] Operation: 56+40=96
Exploring Operation: 84-56=28, Resulting Numbers: [40, 61, 28]
Generated Node #0,1: 92:[40, 61, 28] Operation: 84-56=28
Exploring Operation: 61-40=21, Resulting Numbers: [56, 84, 21]
Generated Node #0,2: 92:[56, 84, 21] Operation: 61-40=21
Exploring Operation: 61-56=5, Resulting Numbers: [84, 40, 5]
Generated Node #0,3: 92:[84, 40, 5] Operation: 61-56=5
Exploring Operation: 84-61=23, Resulting Numbers: [56, 40, 23]
Generated Node #0,4: 92:[56, 40, 23] Operation: 84-61=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[84, 40, 5], Operations: ['61-56=5']
Exploring Operation: 84-5=79, Resulting Numbers: [40, 79]
Generated Node #0,3,0: 92:[40, 79] Operation: 84-5=79
Exploring Operation: 40/5=8, Resulting Numbers: [84, 8]
Generated Node #0,3,1: 92:[84, 8] Operation: 40/5=8
Exploring Operation: 40+5=45, Resulting Numbers: [84, 45]
Generated Node #0,3,2: 92:[84, 45] Operation: 40+5=45
Exploring Operation: 84+5=89, Resulting Numbers: [40, 89]
Generated Node #0,3,3: 92:[40, 89] Operation: 84+5=89
Exploring Operation: 84-40=44, Resulting Numbers: [5, 44]
Generated Node #0,3,4: 92:[5, 44] Operation: 84-40=44
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 92:[5, 44], Operations: ['61-56=5', '84-40=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,92 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[84, 45], Operations: ['61-56=5', '40+5=45']
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,92 unequal: No Solution
No 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: 92:[40, 89], Operations: ['61-56=5', '84+5=89']
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,92 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No 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: 92:[84, 8], Operations: ['61-56=5', '40/5=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,92 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[56, 84, 40, 61], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [84, 40, 5]
Generated Node #0,3: 92:[84, 40, 5] Operation: 61-56=5
Moving to Node #0,3
Current State: 92:[84, 40, 5], Operations: ['61-56=5']
Exploring Operation: 40/5=8, Resulting Numbers: [84, 8]
Generated Node #0,3,1: 92:[84, 8] Operation: 40/5=8
Moving to Node #0,3,1
Current State: 92:[84, 8], Operations: ['61-56=5', '40/5=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
32,
50,
24,
16
] | 42 | [
"32+50=82",
"24+16=40",
"82-40=42"
] | Current State: 42:[32, 50, 24, 16], Operations: []
Exploring Operation: 32+50=82, Resulting Numbers: [24, 16, 82]
Generated Node #2: [24, 16, 82] from Operation: 32+50=82
Current State: 42:[24, 16, 82], Operations: ['32+50=82']
Exploring Operation: 24+16=40, Resulting Numbers: [82, 40]
Generated Node #3: [82, 40] from Operation: 24+16=40
Current State: 42:[82, 40], Operations: ['32+50=82', '24+16=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[32, 50, 24, 16], Operations: []
Exploring Operation: 32-24=8, Resulting Numbers: [50, 16, 8]
Generated Node #0,0: 42:[50, 16, 8] Operation: 32-24=8
Exploring Operation: 50-32=18, Resulting Numbers: [24, 16, 18]
Generated Node #0,1: 42:[24, 16, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[24, 16, 18], Operations: ['50-32=18']
Exploring Operation: 24-18=6, Resulting Numbers: [16, 6]
Generated Node #0,1,0: 42:[16, 6] Operation: 24-18=6
Exploring Operation: 24+18=42, Resulting Numbers: [16, 42]
Generated Node #0,1,1: 42:[16, 42] Operation: 24+18=42
Moving to Node #0,1,0
Current State: 42:[16, 6], Operations: ['50-32=18', '24-18=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[16, 42], Operations: ['50-32=18', '24+18=42']
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[50, 16, 8], Operations: ['32-24=8']
Exploring Operation: 50-8=42, Resulting Numbers: [16, 42]
Generated Node #0,0,0: 42:[16, 42] Operation: 50-8=42
Exploring Operation: 16/8=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 42:[50, 2] Operation: 16/8=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[16, 42], Operations: ['32-24=8', '50-8=42']
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,42 unequal: No Solution
No 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: 42:[50, 2], Operations: ['32-24=8', '16/8=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,42 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 |
[
13,
66,
5,
69
] | 15 | [
"13+66=79",
"69-5=64",
"79-64=15"
] | Current State: 15:[13, 66, 5, 69], Operations: []
Exploring Operation: 13+66=79, Resulting Numbers: [5, 69, 79]
Generated Node #2: [5, 69, 79] from Operation: 13+66=79
Current State: 15:[5, 69, 79], Operations: ['13+66=79']
Exploring Operation: 69-5=64, Resulting Numbers: [79, 64]
Generated Node #3: [79, 64] from Operation: 69-5=64
Current State: 15:[79, 64], Operations: ['13+66=79', '69-5=64']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[13, 66, 5, 69], Operations: []
Exploring Operation: 69-5=64, Resulting Numbers: [13, 66, 64]
Generated Node #0,0: 15:[13, 66, 64] Operation: 69-5=64
Exploring Operation: 69-13=56, Resulting Numbers: [66, 5, 56]
Generated Node #0,1: 15:[66, 5, 56] Operation: 69-13=56
Exploring Operation: 66-5=61, Resulting Numbers: [13, 69, 61]
Generated Node #0,2: 15:[13, 69, 61] Operation: 66-5=61
Exploring Operation: 66-13=53, Resulting Numbers: [5, 69, 53]
Generated Node #0,3: 15:[5, 69, 53] Operation: 66-13=53
Exploring Operation: 69-66=3, Resulting Numbers: [13, 5, 3]
Generated Node #0,4: 15:[13, 5, 3] Operation: 69-66=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 15:[13, 5, 3], Operations: ['69-66=3']
Exploring Operation: 13+5=18, Resulting Numbers: [3, 18]
Generated Node #0,4,0: 15:[3, 18] Operation: 13+5=18
Exploring Operation: 13-5=8, Resulting Numbers: [3, 8]
Generated Node #0,4,1: 15:[3, 8] Operation: 13-5=8
Exploring Operation: 5-3=2, Resulting Numbers: [13, 2]
Generated Node #0,4,2: 15:[13, 2] Operation: 5-3=2
Exploring Operation: 5*3=15, Resulting Numbers: [13, 15]
Generated Node #0,4,3: 15:[13, 15] Operation: 5*3=15
Exploring Operation: 13+3=16, Resulting Numbers: [5, 16]
Generated Node #0,4,4: 15:[5, 16] Operation: 13+3=16
Moving to Node #0,4,4
Current State: 15:[5, 16], Operations: ['69-66=3', '13+3=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Moving to Node #0,4,3
Current State: 15:[13, 15], Operations: ['69-66=3', '5*3=15']
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,15 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Moving to Node #0,4,0
Current State: 15:[3, 18], Operations: ['69-66=3', '13+5=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,15 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[13, 66, 5, 69], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [13, 5, 3]
Generated Node #0,4: 15:[13, 5, 3] Operation: 69-66=3
Moving to Node #0,4
Current State: 15:[13, 5, 3], Operations: ['69-66=3']
Exploring Operation: 13+5=18, Resulting Numbers: [3, 18]
Generated Node #0,4,0: 15:[3, 18] Operation: 13+5=18
Moving to Node #0,4,0
Current State: 15:[3, 18], Operations: ['69-66=3', '13+5=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
80,
15,
59,
45
] | 79 | [
"80-15=65",
"59-45=14",
"65+14=79"
] | Current State: 79:[80, 15, 59, 45], Operations: []
Exploring Operation: 80-15=65, Resulting Numbers: [59, 45, 65]
Generated Node #2: [59, 45, 65] from Operation: 80-15=65
Current State: 79:[59, 45, 65], Operations: ['80-15=65']
Exploring Operation: 59-45=14, Resulting Numbers: [65, 14]
Generated Node #3: [65, 14] from Operation: 59-45=14
Current State: 79:[65, 14], Operations: ['80-15=65', '59-45=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[80, 15, 59, 45], Operations: []
Exploring Operation: 15+59=74, Resulting Numbers: [80, 45, 74]
Generated Node #0,0: 79:[80, 45, 74] Operation: 15+59=74
Moving to Node #0,0
Current State: 79:[80, 45, 74], Operations: ['15+59=74']
Exploring Operation: 45+74=119, Resulting Numbers: [80, 119]
Generated Node #0,0,0: 79:[80, 119] Operation: 45+74=119
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[80, 119], Operations: ['15+59=74', '45+74=119']
Exploring Operation: 119-80=39, Resulting Numbers: [39]
39,79 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 |
[
34,
20,
90,
55
] | 91 | [
"34+20=54",
"90+55=145",
"145-54=91"
] | Current State: 91:[34, 20, 90, 55], Operations: []
Exploring Operation: 34+20=54, Resulting Numbers: [90, 55, 54]
Generated Node #2: [90, 55, 54] from Operation: 34+20=54
Current State: 91:[90, 55, 54], Operations: ['34+20=54']
Exploring Operation: 90+55=145, Resulting Numbers: [54, 145]
Generated Node #3: [54, 145] from Operation: 90+55=145
Current State: 91:[54, 145], Operations: ['34+20=54', '90+55=145']
Exploring Operation: 145-54=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[34, 20, 90, 55], Operations: []
Exploring Operation: 34+55=89, Resulting Numbers: [20, 90, 89]
Generated Node #0,0: 91:[20, 90, 89] Operation: 34+55=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[20, 90, 89], Operations: ['34+55=89']
Exploring Operation: 90-89=1, Resulting Numbers: [20, 1]
Generated Node #0,0,0: 91:[20, 1] Operation: 90-89=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[20, 1], Operations: ['34+55=89', '90-89=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
1,
30,
34
] | 16 | [
"30/15=2",
"34/2=17",
"17-1=16"
] | Current State: 16:[15, 1, 30, 34], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [1, 34, 2]
Generated Node #2: [1, 34, 2] from Operation: 30/15=2
Current State: 16:[1, 34, 2], Operations: ['30/15=2']
Exploring Operation: 34/2=17, Resulting Numbers: [1, 17]
Generated Node #3: [1, 17] from Operation: 34/2=17
Current State: 16:[1, 17], Operations: ['30/15=2', '34/2=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[15, 1, 30, 34], Operations: []
Exploring Operation: 34-15=19, Resulting Numbers: [1, 30, 19]
Generated Node #0,0: 16:[1, 30, 19] Operation: 34-15=19
Exploring Operation: 30-15=15, Resulting Numbers: [1, 34, 15]
Generated Node #0,1: 16:[1, 34, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [1, 34, 2]
Generated Node #0,2: 16:[1, 34, 2] Operation: 30/15=2
Exploring Operation: 34-30=4, Resulting Numbers: [15, 1, 4]
Generated Node #0,3: 16:[15, 1, 4] Operation: 34-30=4
Exploring Operation: 15+1=16, Resulting Numbers: [30, 34, 16]
Generated Node #0,4: 16:[30, 34, 16] Operation: 15+1=16
Moving to Node #0,3
Current State: 16:[15, 1, 4], Operations: ['34-30=4']
Exploring Operation: 15/1=15, Resulting Numbers: [4, 15]
Generated Node #0,3,0: 16:[4, 15] Operation: 15/1=15
Exploring Operation: 15*1=15, Resulting Numbers: [4, 15]
Generated Node #0,3,1: 16:[4, 15] Operation: 15*1=15
Exploring Operation: 1*4=4, Resulting Numbers: [15, 4]
Generated Node #0,3,2: 16:[15, 4] Operation: 1*4=4
Exploring Operation: 15+1=16, Resulting Numbers: [4, 16]
Generated Node #0,3,3: 16:[4, 16] Operation: 15+1=16
Exploring Operation: 4/1=4, Resulting Numbers: [15, 4]
Generated Node #0,3,4: 16:[15, 4] Operation: 4/1=4
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[4, 16], Operations: ['34-30=4', '15+1=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[4, 15], Operations: ['34-30=4', '15/1=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[4, 15], Operations: ['34-30=4', '15*1=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[15, 4], Operations: ['34-30=4', '1*4=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 16:[15, 4], Operations: ['34-30=4', '4/1=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 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: 16:[1, 30, 19], Operations: ['34-15=19']
Exploring Operation: 19-1=18, Resulting Numbers: [30, 18]
Generated Node #0,0,0: 16:[30, 18] Operation: 19-1=18
Exploring Operation: 1*30=30, Resulting Numbers: [19, 30]
Generated Node #0,0,1: 16:[19, 30] Operation: 1*30=30
Exploring Operation: 30-19=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 16:[1, 11] Operation: 30-19=11
Exploring Operation: 30/1=30, Resulting Numbers: [19, 30]
Generated Node #0,0,3: 16:[19, 30] Operation: 30/1=30
Exploring Operation: 30-1=29, Resulting Numbers: [19, 29]
Generated Node #0,0,4: 16:[19, 29] Operation: 30-1=29
Moving to Node #0,2
Current State: 16:[1, 34, 2], Operations: ['30/15=2']
Exploring Operation: 34/2=17, Resulting Numbers: [1, 17]
Generated Node #0,2,0: 16:[1, 17] Operation: 34/2=17
Exploring Operation: 1*34=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 16:[2, 34] Operation: 1*34=34
Exploring Operation: 34/1=34, Resulting Numbers: [2, 34]
Generated Node #0,2,2: 16:[2, 34] Operation: 34/1=34
Exploring Operation: 34-2=32, Resulting Numbers: [1, 32]
Generated Node #0,2,3: 16:[1, 32] Operation: 34-2=32
Exploring Operation: 34-1=33, Resulting Numbers: [2, 33]
Generated Node #0,2,4: 16:[2, 33] Operation: 34-1=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[1, 17], Operations: ['30/15=2', '34/2=17']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[15, 1, 30, 34], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [1, 34, 2]
Generated Node #0,2: 16:[1, 34, 2] Operation: 30/15=2
Moving to Node #0,2
Current State: 16:[1, 34, 2], Operations: ['30/15=2']
Exploring Operation: 34/2=17, Resulting Numbers: [1, 17]
Generated Node #0,2,0: 16:[1, 17] Operation: 34/2=17
Moving to Node #0,2,0
Current State: 16:[1, 17], Operations: ['30/15=2', '34/2=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
69,
18,
27,
19
] | 99 | [
"69*27=1863",
"18+1863=1881",
"1881/19=99"
] | Current State: 99:[69, 18, 27, 19], Operations: []
Exploring Operation: 69*27=1863, Resulting Numbers: [18, 19, 1863]
Generated Node #2: [18, 19, 1863] from Operation: 69*27=1863
Current State: 99:[18, 19, 1863], Operations: ['69*27=1863']
Exploring Operation: 18+1863=1881, Resulting Numbers: [19, 1881]
Generated Node #3: [19, 1881] from Operation: 18+1863=1881
Current State: 99:[19, 1881], Operations: ['69*27=1863', '18+1863=1881']
Exploring Operation: 1881/19=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[69, 18, 27, 19], Operations: []
Exploring Operation: 69+27=96, Resulting Numbers: [18, 19, 96]
Generated Node #0,0: 99:[18, 19, 96] Operation: 69+27=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[18, 19, 96], Operations: ['69+27=96']
Exploring Operation: 19-18=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 99:[96, 1] Operation: 19-18=1
Moving to Node #0,0,0
Current State: 99:[96, 1], Operations: ['69+27=96', '19-18=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,99 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 |
[
79,
10,
57,
51
] | 75 | [
"79-10=69",
"57-51=6",
"69+6=75"
] | Current State: 75:[79, 10, 57, 51], Operations: []
Exploring Operation: 79-10=69, Resulting Numbers: [57, 51, 69]
Generated Node #2: [57, 51, 69] from Operation: 79-10=69
Current State: 75:[57, 51, 69], Operations: ['79-10=69']
Exploring Operation: 57-51=6, Resulting Numbers: [69, 6]
Generated Node #3: [69, 6] from Operation: 57-51=6
Current State: 75:[69, 6], Operations: ['79-10=69', '57-51=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[79, 10, 57, 51], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [10, 57, 28]
Generated Node #0,0: 75:[10, 57, 28] Operation: 79-51=28
Exploring Operation: 57-51=6, Resulting Numbers: [79, 10, 6]
Generated Node #0,1: 75:[79, 10, 6] Operation: 57-51=6
Moving to Node #0,1
Current State: 75:[79, 10, 6], Operations: ['57-51=6']
Exploring Operation: 10+6=16, Resulting Numbers: [79, 16]
Generated Node #0,1,0: 75:[79, 16] Operation: 10+6=16
Exploring Operation: 10-6=4, Resulting Numbers: [79, 4]
Generated Node #0,1,1: 75:[79, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[79, 16], Operations: ['57-51=6', '10+6=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[79, 4], Operations: ['57-51=6', '10-6=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[79, 10, 57, 51], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [79, 10, 6]
Generated Node #0,1: 75:[79, 10, 6] Operation: 57-51=6
Moving to Node #0,1
Current State: 75:[79, 10, 6], Operations: ['57-51=6']
Exploring Operation: 10-6=4, Resulting Numbers: [79, 4]
Generated Node #0,1,1: 75:[79, 4] Operation: 10-6=4
Moving to Node #0,1,1
Current State: 75:[79, 4], Operations: ['57-51=6', '10-6=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
3,
88,
99,
96
] | 23 | [
"99+96=195",
"195/3=65",
"88-65=23"
] | Current State: 23:[3, 88, 99, 96], Operations: []
Exploring Operation: 99+96=195, Resulting Numbers: [3, 88, 195]
Generated Node #2: [3, 88, 195] from Operation: 99+96=195
Current State: 23:[3, 88, 195], Operations: ['99+96=195']
Exploring Operation: 195/3=65, Resulting Numbers: [88, 65]
Generated Node #3: [88, 65] from Operation: 195/3=65
Current State: 23:[88, 65], Operations: ['99+96=195', '195/3=65']
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[3, 88, 99, 96], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [3, 88, 3]
Generated Node #0,0: 23:[3, 88, 3] Operation: 99-96=3
Exploring Operation: 99-88=11, Resulting Numbers: [3, 96, 11]
Generated Node #0,1: 23:[3, 96, 11] Operation: 99-88=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[3, 88, 3], Operations: ['99-96=3']
Exploring Operation: 88-3=85, Resulting Numbers: [3, 85]
Generated Node #0,0,0: 23:[3, 85] Operation: 88-3=85
Exploring Operation: 3*3=9, Resulting Numbers: [88, 9]
Generated Node #0,0,1: 23:[88, 9] Operation: 3*3=9
Moving to Node #0,0,1
Current State: 23:[88, 9], Operations: ['99-96=3', '3*3=9']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[3, 85], Operations: ['99-96=3', '88-3=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,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:[3, 96, 11], Operations: ['99-88=11']
Exploring Operation: 96/3=32, Resulting Numbers: [11, 32]
Generated Node #0,1,0: 23:[11, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [11, 93]
Generated Node #0,1,1: 23:[11, 93] Operation: 96-3=93
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[11, 32], Operations: ['99-88=11', '96/3=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,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:[11, 93], Operations: ['99-88=11', '96-3=93']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Exploring Operation: 11+93=104, Resulting Numbers: [104]
104,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 | mult_heuristic |
[
66,
75,
25,
69
] | 25 | [
"66*25=1650",
"75+1650=1725",
"1725/69=25"
] | Current State: 25:[66, 75, 25, 69], Operations: []
Exploring Operation: 66*25=1650, Resulting Numbers: [75, 69, 1650]
Generated Node #2: [75, 69, 1650] from Operation: 66*25=1650
Current State: 25:[75, 69, 1650], Operations: ['66*25=1650']
Exploring Operation: 75+1650=1725, Resulting Numbers: [69, 1725]
Generated Node #3: [69, 1725] from Operation: 75+1650=1725
Current State: 25:[69, 1725], Operations: ['66*25=1650', '75+1650=1725']
Exploring Operation: 1725/69=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[66, 75, 25, 69], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [75, 25, 3]
Generated Node #0,0: 25:[75, 25, 3] Operation: 69-66=3
Exploring Operation: 75-66=9, Resulting Numbers: [25, 69, 9]
Generated Node #0,1: 25:[25, 69, 9] Operation: 75-66=9
Exploring Operation: 75-69=6, Resulting Numbers: [66, 25, 6]
Generated Node #0,2: 25:[66, 25, 6] Operation: 75-69=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[66, 25, 6], Operations: ['75-69=6']
Exploring Operation: 66/6=11, Resulting Numbers: [25, 11]
Generated Node #0,2,0: 25:[25, 11] Operation: 66/6=11
Exploring Operation: 66-25=41, Resulting Numbers: [6, 41]
Generated Node #0,2,1: 25:[6, 41] Operation: 66-25=41
Exploring Operation: 66-6=60, Resulting Numbers: [25, 60]
Generated Node #0,2,2: 25:[25, 60] Operation: 66-6=60
Moving to Node #0,2,0
Current State: 25:[25, 11], Operations: ['75-69=6', '66/6=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[6, 41], Operations: ['75-69=6', '66-25=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,25 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[25, 60], Operations: ['75-69=6', '66-6=60']
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,25 unequal: No Solution
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,25 unequal: No Solution
No 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: 25:[25, 69, 9], Operations: ['75-66=9']
Exploring Operation: 69-25=44, Resulting Numbers: [9, 44]
Generated Node #0,1,0: 25:[9, 44] Operation: 69-25=44
Exploring Operation: 69-9=60, Resulting Numbers: [25, 60]
Generated Node #0,1,1: 25:[25, 60] Operation: 69-9=60
Exploring Operation: 25+9=34, Resulting Numbers: [69, 34]
Generated Node #0,1,2: 25:[69, 34] Operation: 25+9=34
Moving to Node #0,1,0
Current State: 25:[9, 44], Operations: ['75-66=9', '69-25=44']
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,25 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[25, 60], Operations: ['75-66=9', '69-9=60']
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,25 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[69, 34], Operations: ['75-66=9', '25+9=34']
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,25 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,25 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,25 unequal: No Solution
No 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: 25:[75, 25, 3], Operations: ['69-66=3']
Exploring Operation: 75/25=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 25:[3, 3] Operation: 75/25=3
Exploring Operation: 75-25=50, Resulting Numbers: [3, 50]
Generated Node #0,0,1: 25:[3, 50] Operation: 75-25=50
Exploring Operation: 75/3=25, Resulting Numbers: [25, 25]
Generated Node #0,0,2: 25:[25, 25] Operation: 75/3=25
Moving to Node #0,0,2
Current State: 25:[25, 25], Operations: ['69-66=3', '75/3=25']
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[3, 3], Operations: ['69-66=3', '75/25=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[3, 50], Operations: ['69-66=3', '75-25=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,25 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
8,
71,
46,
15
] | 32 | [
"71-8=63",
"46-15=31",
"63-31=32"
] | Current State: 32:[8, 71, 46, 15], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [46, 15, 63]
Generated Node #2: [46, 15, 63] from Operation: 71-8=63
Current State: 32:[46, 15, 63], Operations: ['71-8=63']
Exploring Operation: 46-15=31, Resulting Numbers: [63, 31]
Generated Node #3: [63, 31] from Operation: 46-15=31
Current State: 32:[63, 31], Operations: ['71-8=63', '46-15=31']
Exploring Operation: 63-31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[8, 71, 46, 15], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [8, 15, 25]
Generated Node #0,0: 32:[8, 15, 25] Operation: 71-46=25
Moving to Node #0,0
Current State: 32:[8, 15, 25], Operations: ['71-46=25']
Exploring Operation: 8+25=33, Resulting Numbers: [15, 33]
Generated Node #0,0,0: 32:[15, 33] Operation: 8+25=33
Moving to Node #0,0,0
Current State: 32:[15, 33], Operations: ['71-46=25', '8+25=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
48,
86,
16
] | 54 | [
"86-68=18",
"48/16=3",
"18*3=54"
] | Current State: 54:[68, 48, 86, 16], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [48, 16, 18]
Generated Node #2: [48, 16, 18] from Operation: 86-68=18
Current State: 54:[48, 16, 18], Operations: ['86-68=18']
Exploring Operation: 48/16=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 48/16=3
Current State: 54:[18, 3], Operations: ['86-68=18', '48/16=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[68, 48, 86, 16], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [68, 16, 38]
Generated Node #0,0: 54:[68, 16, 38] Operation: 86-48=38
Exploring Operation: 86-16=70, Resulting Numbers: [68, 48, 70]
Generated Node #0,1: 54:[68, 48, 70] Operation: 86-16=70
Exploring Operation: 68-16=52, Resulting Numbers: [48, 86, 52]
Generated Node #0,2: 54:[48, 86, 52] Operation: 68-16=52
Exploring Operation: 86-68=18, Resulting Numbers: [48, 16, 18]
Generated Node #0,3: 54:[48, 16, 18] Operation: 86-68=18
Exploring Operation: 68-48=20, Resulting Numbers: [86, 16, 20]
Generated Node #0,4: 54:[86, 16, 20] Operation: 68-48=20
Moving to Node #0,3
Current State: 54:[48, 16, 18], Operations: ['86-68=18']
Exploring Operation: 48-16=32, Resulting Numbers: [18, 32]
Generated Node #0,3,0: 54:[18, 32] Operation: 48-16=32
Exploring Operation: 48-18=30, Resulting Numbers: [16, 30]
Generated Node #0,3,1: 54:[16, 30] Operation: 48-18=30
Exploring Operation: 48+16=64, Resulting Numbers: [18, 64]
Generated Node #0,3,2: 54:[18, 64] Operation: 48+16=64
Exploring Operation: 48/16=3, Resulting Numbers: [18, 3]
Generated Node #0,3,3: 54:[18, 3] Operation: 48/16=3
Exploring Operation: 18-16=2, Resulting Numbers: [48, 2]
Generated Node #0,3,4: 54:[48, 2] Operation: 18-16=2
Moving to Node #0,0
Current State: 54:[68, 16, 38], Operations: ['86-48=38']
Exploring Operation: 38-16=22, Resulting Numbers: [68, 22]
Generated Node #0,0,0: 54:[68, 22] Operation: 38-16=22
Exploring Operation: 68-38=30, Resulting Numbers: [16, 30]
Generated Node #0,0,1: 54:[16, 30] Operation: 68-38=30
Exploring Operation: 16+38=54, Resulting Numbers: [68, 54]
Generated Node #0,0,2: 54:[68, 54] Operation: 16+38=54
Exploring Operation: 68+16=84, Resulting Numbers: [38, 84]
Generated Node #0,0,3: 54:[38, 84] Operation: 68+16=84
Exploring Operation: 68-16=52, Resulting Numbers: [38, 52]
Generated Node #0,0,4: 54:[38, 52] Operation: 68-16=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[16, 30], Operations: ['86-48=38', '68-38=30']
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,54 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 54:[38, 52], Operations: ['86-48=38', '68-16=52']
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[68, 54], Operations: ['86-48=38', '16+38=54']
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,54 unequal: No Solution
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,54 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[68, 22], Operations: ['86-48=38', '38-16=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,54 unequal: No Solution
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 54:[38, 84], Operations: ['86-48=38', '68+16=84']
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,54 unequal: No Solution
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,54 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,54 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: 54:[68, 48, 70], Operations: ['86-16=70']
Exploring Operation: 68-48=20, Resulting Numbers: [70, 20]
Generated Node #0,1,0: 54:[70, 20] Operation: 68-48=20
Exploring Operation: 70-48=22, Resulting Numbers: [68, 22]
Generated Node #0,1,1: 54:[68, 22] Operation: 70-48=22
Exploring Operation: 68+48=116, Resulting Numbers: [70, 116]
Generated Node #0,1,2: 54:[70, 116] Operation: 68+48=116
Exploring Operation: 48+70=118, Resulting Numbers: [68, 118]
Generated Node #0,1,3: 54:[68, 118] Operation: 48+70=118
Exploring Operation: 70-68=2, Resulting Numbers: [48, 2]
Generated Node #0,1,4: 54:[48, 2] Operation: 70-68=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 54:[48, 2], Operations: ['86-16=70', '70-68=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[70, 20], Operations: ['86-16=70', '68-48=20']
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,54 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[68, 22], Operations: ['86-16=70', '70-48=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[70, 116], Operations: ['86-16=70', '68+48=116']
Exploring Operation: 116-70=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 70*116=8120, Resulting Numbers: [8120]
8120,54 unequal: No Solution
Exploring Operation: 70+116=186, Resulting Numbers: [186]
186,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[68, 118], Operations: ['86-16=70', '48+70=118']
Exploring Operation: 118-68=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 68*118=8024, Resulting Numbers: [8024]
8024,54 unequal: No Solution
Exploring Operation: 68+118=186, Resulting Numbers: [186]
186,54 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: 54:[86, 16, 20], Operations: ['68-48=20']
Exploring Operation: 86-16=70, Resulting Numbers: [20, 70]
Generated Node #0,4,0: 54:[20, 70] Operation: 86-16=70
Exploring Operation: 86-20=66, Resulting Numbers: [16, 66]
Generated Node #0,4,1: 54:[16, 66] Operation: 86-20=66
Exploring Operation: 86+16=102, Resulting Numbers: [20, 102]
Generated Node #0,4,2: 54:[20, 102] Operation: 86+16=102
Exploring Operation: 16+20=36, Resulting Numbers: [86, 36]
Generated Node #0,4,3: 54:[86, 36] Operation: 16+20=36
Exploring Operation: 20-16=4, Resulting Numbers: [86, 4]
Generated Node #0,4,4: 54:[86, 4] Operation: 20-16=4
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 54:[16, 66], Operations: ['68-48=20', '86-20=66']
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 16*66=1056, Resulting Numbers: [1056]
1056,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 54:[20, 70], Operations: ['68-48=20', '86-16=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 54:[86, 4], Operations: ['68-48=20', '20-16=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,54 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 54:[86, 36], Operations: ['68-48=20', '16+20=36']
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,54 unequal: No Solution
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,54 unequal: No Solution
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 54:[20, 102], Operations: ['68-48=20', '86+16=102']
Exploring Operation: 20*102=2040, Resulting Numbers: [2040]
2040,54 unequal: No Solution
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 20+102=122, Resulting Numbers: [122]
122,54 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: 54:[48, 86, 52], Operations: ['68-16=52']
Exploring Operation: 86-48=38, Resulting Numbers: [52, 38]
Generated Node #0,2,0: 54:[52, 38] Operation: 86-48=38
Exploring Operation: 48+52=100, Resulting Numbers: [86, 100]
Generated Node #0,2,1: 54:[86, 100] Operation: 48+52=100
Exploring Operation: 48+86=134, Resulting Numbers: [52, 134]
Generated Node #0,2,2: 54:[52, 134] Operation: 48+86=134
Exploring Operation: 52-48=4, Resulting Numbers: [86, 4]
Generated Node #0,2,3: 54:[86, 4] Operation: 52-48=4
Exploring Operation: 86-52=34, Resulting Numbers: [48, 34]
Generated Node #0,2,4: 54:[48, 34] Operation: 86-52=34
Moving to Node #0,3,3
Current State: 54:[18, 3], Operations: ['86-68=18', '48/16=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[68, 48, 86, 16], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [48, 16, 18]
Generated Node #0,3: 54:[48, 16, 18] Operation: 86-68=18
Moving to Node #0,3
Current State: 54:[48, 16, 18], Operations: ['86-68=18']
Exploring Operation: 48/16=3, Resulting Numbers: [18, 3]
Generated Node #0,3,3: 54:[18, 3] Operation: 48/16=3
Moving to Node #0,3,3
Current State: 54:[18, 3], Operations: ['86-68=18', '48/16=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.929688 | hs_5 | mult_heuristic |
[
5,
21,
12,
1
] | 39 | [
"5+21=26",
"12+1=13",
"26+13=39"
] | Current State: 39:[5, 21, 12, 1], Operations: []
Exploring Operation: 5+21=26, Resulting Numbers: [12, 1, 26]
Generated Node #2: [12, 1, 26] from Operation: 5+21=26
Current State: 39:[12, 1, 26], Operations: ['5+21=26']
Exploring Operation: 12+1=13, Resulting Numbers: [26, 13]
Generated Node #3: [26, 13] from Operation: 12+1=13
Current State: 39:[26, 13], Operations: ['5+21=26', '12+1=13']
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[5, 21, 12, 1], Operations: []
Exploring Operation: 21-5=16, Resulting Numbers: [12, 1, 16]
Generated Node #0,0: 39:[12, 1, 16] Operation: 21-5=16
Exploring Operation: 21-12=9, Resulting Numbers: [5, 1, 9]
Generated Node #0,1: 39:[5, 1, 9] Operation: 21-12=9
Moving to Node #0,0
Current State: 39:[12, 1, 16], Operations: ['21-5=16']
Exploring Operation: 16-12=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 39:[1, 4] Operation: 16-12=4
Exploring Operation: 12+1=13, Resulting Numbers: [16, 13]
Generated Node #0,0,1: 39:[16, 13] Operation: 12+1=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[1, 4], Operations: ['21-5=16', '16-12=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[16, 13], Operations: ['21-5=16', '12+1=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 39:[5, 1, 9], Operations: ['21-12=9']
Exploring Operation: 5+9=14, Resulting Numbers: [1, 14]
Generated Node #0,1,0: 39:[1, 14] Operation: 5+9=14
Exploring Operation: 9-5=4, Resulting Numbers: [1, 4]
Generated Node #0,1,1: 39:[1, 4] Operation: 9-5=4
Moving to Node #0,1,0
Current State: 39:[1, 14], Operations: ['21-12=9', '5+9=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[1, 4], Operations: ['21-12=9', '9-5=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
65,
74,
62
] | 73 | [
"74+62=136",
"136/17=8",
"65+8=73"
] | Current State: 73:[17, 65, 74, 62], Operations: []
Exploring Operation: 74+62=136, Resulting Numbers: [17, 65, 136]
Generated Node #2: [17, 65, 136] from Operation: 74+62=136
Current State: 73:[17, 65, 136], Operations: ['74+62=136']
Exploring Operation: 136/17=8, Resulting Numbers: [65, 8]
Generated Node #3: [65, 8] from Operation: 136/17=8
Current State: 73:[65, 8], Operations: ['74+62=136', '136/17=8']
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[17, 65, 74, 62], Operations: []
Exploring Operation: 74-17=57, Resulting Numbers: [65, 62, 57]
Generated Node #0,0: 73:[65, 62, 57] Operation: 74-17=57
Exploring Operation: 17+62=79, Resulting Numbers: [65, 74, 79]
Generated Node #0,1: 73:[65, 74, 79] Operation: 17+62=79
Exploring Operation: 17+65=82, Resulting Numbers: [74, 62, 82]
Generated Node #0,2: 73:[74, 62, 82] Operation: 17+65=82
Exploring Operation: 65-17=48, Resulting Numbers: [74, 62, 48]
Generated Node #0,3: 73:[74, 62, 48] Operation: 65-17=48
Moving to Node #0,1
Current State: 73:[65, 74, 79], Operations: ['17+62=79']
Exploring Operation: 65+79=144, Resulting Numbers: [74, 144]
Generated Node #0,1,0: 73:[74, 144] Operation: 65+79=144
Exploring Operation: 74-65=9, Resulting Numbers: [79, 9]
Generated Node #0,1,1: 73:[79, 9] Operation: 74-65=9
Exploring Operation: 79-65=14, Resulting Numbers: [74, 14]
Generated Node #0,1,2: 73:[74, 14] Operation: 79-65=14
Exploring Operation: 65+74=139, Resulting Numbers: [79, 139]
Generated Node #0,1,3: 73:[79, 139] Operation: 65+74=139
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[74, 14], Operations: ['17+62=79', '79-65=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,73 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,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:[79, 9], Operations: ['17+62=79', '74-65=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,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,0
Current State: 73:[74, 144], Operations: ['17+62=79', '65+79=144']
Exploring Operation: 144-74=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 74+144=218, Resulting Numbers: [218]
218,73 unequal: No Solution
Exploring Operation: 74*144=10656, Resulting Numbers: [10656]
10656,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,3
Current State: 73:[79, 139], Operations: ['17+62=79', '65+74=139']
Exploring Operation: 139-79=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 79*139=10981, Resulting Numbers: [10981]
10981,73 unequal: No Solution
Exploring Operation: 79+139=218, Resulting Numbers: [218]
218,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, 62, 82], Operations: ['17+65=82']
Exploring Operation: 74-62=12, Resulting Numbers: [82, 12]
Generated Node #0,2,0: 73:[82, 12] Operation: 74-62=12
Exploring Operation: 74+62=136, Resulting Numbers: [82, 136]
Generated Node #0,2,1: 73:[82, 136] Operation: 74+62=136
Exploring Operation: 82-62=20, Resulting Numbers: [74, 20]
Generated Node #0,2,2: 73:[74, 20] Operation: 82-62=20
Exploring Operation: 62+82=144, Resulting Numbers: [74, 144]
Generated Node #0,2,3: 73:[74, 144] Operation: 62+82=144
Moving to Node #0,0
Current State: 73:[65, 62, 57], Operations: ['74-17=57']
Exploring Operation: 65+57=122, Resulting Numbers: [62, 122]
Generated Node #0,0,0: 73:[62, 122] Operation: 65+57=122
Exploring Operation: 62+57=119, Resulting Numbers: [65, 119]
Generated Node #0,0,1: 73:[65, 119] Operation: 62+57=119
Exploring Operation: 65-57=8, Resulting Numbers: [62, 8]
Generated Node #0,0,2: 73:[62, 8] Operation: 65-57=8
Exploring Operation: 65+62=127, Resulting Numbers: [57, 127]
Generated Node #0,0,3: 73:[57, 127] Operation: 65+62=127
Moving to Node #0,3
Current State: 73:[74, 62, 48], Operations: ['65-17=48']
Exploring Operation: 74-48=26, Resulting Numbers: [62, 26]
Generated Node #0,3,0: 73:[62, 26] Operation: 74-48=26
Exploring Operation: 62-48=14, Resulting Numbers: [74, 14]
Generated Node #0,3,1: 73:[74, 14] Operation: 62-48=14
Exploring Operation: 74+48=122, Resulting Numbers: [62, 122]
Generated Node #0,3,2: 73:[62, 122] Operation: 74+48=122
Exploring Operation: 62+48=110, Resulting Numbers: [74, 110]
Generated Node #0,3,3: 73:[74, 110] Operation: 62+48=110
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[74, 110], Operations: ['65-17=48', '62+48=110']
Exploring Operation: 74*110=8140, Resulting Numbers: [8140]
8140,73 unequal: No Solution
Exploring Operation: 74+110=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[62, 26], Operations: ['65-17=48', '74-48=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[74, 14], Operations: ['65-17=48', '62-48=14']
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,73 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[62, 122], Operations: ['65-17=48', '74+48=122']
Exploring Operation: 122-62=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 62+122=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 62*122=7564, Resulting Numbers: [7564]
7564,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 73:[74, 20], Operations: ['17+65=82', '82-62=20']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 74*20=1480, Resulting Numbers: [1480]
1480,73 unequal: No Solution
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[65, 119], Operations: ['74-17=57', '62+57=119']
Exploring Operation: 119-65=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 65+119=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 65*119=7735, Resulting Numbers: [7735]
7735,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[62, 122], Operations: ['74-17=57', '65+57=122']
Exploring Operation: 122-62=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 62*122=7564, Resulting Numbers: [7564]
7564,73 unequal: No Solution
Exploring Operation: 62+122=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[57, 127], Operations: ['74-17=57', '65+62=127']
Exploring Operation: 57+127=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 57*127=7239, Resulting Numbers: [7239]
7239,73 unequal: No Solution
Exploring Operation: 127-57=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[82, 12], Operations: ['17+65=82', '74-62=12']
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,73 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[82, 136], Operations: ['17+65=82', '74+62=136']
Exploring Operation: 82+136=218, Resulting Numbers: [218]
218,73 unequal: No Solution
Exploring Operation: 136-82=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 82*136=11152, Resulting Numbers: [11152]
11152,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[74, 144], Operations: ['17+65=82', '62+82=144']
Exploring Operation: 74*144=10656, Resulting Numbers: [10656]
10656,73 unequal: No Solution
Exploring Operation: 74+144=218, Resulting Numbers: [218]
218,73 unequal: No Solution
Exploring Operation: 144-74=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[62, 8], Operations: ['74-17=57', '65-57=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,73 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
9,
79,
60
] | 14 | [
"9-4=5",
"79-60=19",
"19-5=14"
] | Current State: 14:[4, 9, 79, 60], Operations: []
Exploring Operation: 9-4=5, Resulting Numbers: [79, 60, 5]
Generated Node #2: [79, 60, 5] from Operation: 9-4=5
Current State: 14:[79, 60, 5], Operations: ['9-4=5']
Exploring Operation: 79-60=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 79-60=19
Current State: 14:[5, 19], Operations: ['9-4=5', '79-60=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[4, 9, 79, 60], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [4, 79, 51]
Generated Node #0,0: 14:[4, 79, 51] Operation: 60-9=51
Exploring Operation: 60/4=15, Resulting Numbers: [9, 79, 15]
Generated Node #0,1: 14:[9, 79, 15] Operation: 60/4=15
Exploring Operation: 79-60=19, Resulting Numbers: [4, 9, 19]
Generated Node #0,2: 14:[4, 9, 19] Operation: 79-60=19
Exploring Operation: 79-9=70, Resulting Numbers: [4, 60, 70]
Generated Node #0,3: 14:[4, 60, 70] Operation: 79-9=70
Moving to Node #0,2
Current State: 14:[4, 9, 19], Operations: ['79-60=19']
Exploring Operation: 4+9=13, Resulting Numbers: [19, 13]
Generated Node #0,2,0: 14:[19, 13] Operation: 4+9=13
Exploring Operation: 9-4=5, Resulting Numbers: [19, 5]
Generated Node #0,2,1: 14:[19, 5] Operation: 9-4=5
Exploring Operation: 19-4=15, Resulting Numbers: [9, 15]
Generated Node #0,2,2: 14:[9, 15] Operation: 19-4=15
Exploring Operation: 19-9=10, Resulting Numbers: [4, 10]
Generated Node #0,2,3: 14:[4, 10] Operation: 19-9=10
Moving to Node #0,1
Current State: 14:[9, 79, 15], Operations: ['60/4=15']
Exploring Operation: 79-15=64, Resulting Numbers: [9, 64]
Generated Node #0,1,0: 14:[9, 64] Operation: 79-15=64
Exploring Operation: 15-9=6, Resulting Numbers: [79, 6]
Generated Node #0,1,1: 14:[79, 6] Operation: 15-9=6
Exploring Operation: 9+79=88, Resulting Numbers: [15, 88]
Generated Node #0,1,2: 14:[15, 88] Operation: 9+79=88
Exploring Operation: 79-9=70, Resulting Numbers: [15, 70]
Generated Node #0,1,3: 14:[15, 70] Operation: 79-9=70
Moving to Node #0,3
Current State: 14:[4, 60, 70], Operations: ['79-9=70']
Exploring Operation: 70-60=10, Resulting Numbers: [4, 10]
Generated Node #0,3,0: 14:[4, 10] Operation: 70-60=10
Exploring Operation: 60-4=56, Resulting Numbers: [70, 56]
Generated Node #0,3,1: 14:[70, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [70, 15]
Generated Node #0,3,2: 14:[70, 15] Operation: 60/4=15
Exploring Operation: 70-4=66, Resulting Numbers: [60, 66]
Generated Node #0,3,3: 14:[60, 66] Operation: 70-4=66
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 14:[4, 10], Operations: ['79-9=70', '70-60=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[4, 9, 79, 60], Operations: []
Exploring Operation: 79-9=70, Resulting Numbers: [4, 60, 70]
Generated Node #0,3: 14:[4, 60, 70] Operation: 79-9=70
Moving to Node #0,3
Current State: 14:[4, 60, 70], Operations: ['79-9=70']
Exploring Operation: 70-60=10, Resulting Numbers: [4, 10]
Generated Node #0,3,0: 14:[4, 10] Operation: 70-60=10
Moving to Node #0,3,0
Current State: 14:[4, 10], Operations: ['79-9=70', '70-60=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
47,
32,
77,
26
] | 13 | [
"47+32=79",
"79-77=2",
"26/2=13"
] | Current State: 13:[47, 32, 77, 26], Operations: []
Exploring Operation: 47+32=79, Resulting Numbers: [77, 26, 79]
Generated Node #2: [77, 26, 79] from Operation: 47+32=79
Current State: 13:[77, 26, 79], Operations: ['47+32=79']
Exploring Operation: 79-77=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 79-77=2
Current State: 13:[26, 2], Operations: ['47+32=79', '79-77=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[47, 32, 77, 26], Operations: []
Exploring Operation: 77-26=51, Resulting Numbers: [47, 32, 51]
Generated Node #0,0: 13:[47, 32, 51] Operation: 77-26=51
Exploring Operation: 47-32=15, Resulting Numbers: [77, 26, 15]
Generated Node #0,1: 13:[77, 26, 15] Operation: 47-32=15
Exploring Operation: 47-26=21, Resulting Numbers: [32, 77, 21]
Generated Node #0,2: 13:[32, 77, 21] Operation: 47-26=21
Exploring Operation: 77-32=45, Resulting Numbers: [47, 26, 45]
Generated Node #0,3: 13:[47, 26, 45] Operation: 77-32=45
Exploring Operation: 77-47=30, Resulting Numbers: [32, 26, 30]
Generated Node #0,4: 13:[32, 26, 30] Operation: 77-47=30
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[32, 26, 30], Operations: ['77-47=30']
Exploring Operation: 32-26=6, Resulting Numbers: [30, 6]
Generated Node #0,4,0: 13:[30, 6] Operation: 32-26=6
Exploring Operation: 30-26=4, Resulting Numbers: [32, 4]
Generated Node #0,4,1: 13:[32, 4] Operation: 30-26=4
Exploring Operation: 32-30=2, Resulting Numbers: [26, 2]
Generated Node #0,4,2: 13:[26, 2] Operation: 32-30=2
Exploring Operation: 32+26=58, Resulting Numbers: [30, 58]
Generated Node #0,4,3: 13:[30, 58] Operation: 32+26=58
Exploring Operation: 32+30=62, Resulting Numbers: [26, 62]
Generated Node #0,4,4: 13:[26, 62] Operation: 32+30=62
Moving to Node #0,4,0
Current State: 13:[30, 6], Operations: ['77-47=30', '32-26=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,13 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[26, 2], Operations: ['77-47=30', '32-30=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[47, 32, 77, 26], Operations: []
Exploring Operation: 77-47=30, Resulting Numbers: [32, 26, 30]
Generated Node #0,4: 13:[32, 26, 30] Operation: 77-47=30
Moving to Node #0,4
Current State: 13:[32, 26, 30], Operations: ['77-47=30']
Exploring Operation: 32-30=2, Resulting Numbers: [26, 2]
Generated Node #0,4,2: 13:[26, 2] Operation: 32-30=2
Moving to Node #0,4,2
Current State: 13:[26, 2], Operations: ['77-47=30', '32-30=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
84,
33,
3,
96
] | 91 | [
"84/3=28",
"96-33=63",
"28+63=91"
] | Current State: 91:[84, 33, 3, 96], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [33, 96, 28]
Generated Node #2: [33, 96, 28] from Operation: 84/3=28
Current State: 91:[33, 96, 28], Operations: ['84/3=28']
Exploring Operation: 96-33=63, Resulting Numbers: [28, 63]
Generated Node #3: [28, 63] from Operation: 96-33=63
Current State: 91:[28, 63], Operations: ['84/3=28', '96-33=63']
Exploring Operation: 28+63=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[84, 33, 3, 96], Operations: []
Exploring Operation: 33*3=99, Resulting Numbers: [84, 96, 99]
Generated Node #0,0: 91:[84, 96, 99] Operation: 33*3=99
Exploring Operation: 33-3=30, Resulting Numbers: [84, 96, 30]
Generated Node #0,1: 91:[84, 96, 30] Operation: 33-3=30
Exploring Operation: 96-84=12, Resulting Numbers: [33, 3, 12]
Generated Node #0,2: 91:[33, 3, 12] Operation: 96-84=12
Exploring Operation: 33/3=11, Resulting Numbers: [84, 96, 11]
Generated Node #0,3: 91:[84, 96, 11] Operation: 33/3=11
Exploring Operation: 84+3=87, Resulting Numbers: [33, 96, 87]
Generated Node #0,4: 91:[33, 96, 87] Operation: 84+3=87
Moving to Node #0,3
Current State: 91:[84, 96, 11], Operations: ['33/3=11']
Exploring Operation: 84-11=73, Resulting Numbers: [96, 73]
Generated Node #0,3,0: 91:[96, 73] Operation: 84-11=73
Exploring Operation: 96-84=12, Resulting Numbers: [11, 12]
Generated Node #0,3,1: 91:[11, 12] Operation: 96-84=12
Exploring Operation: 96+11=107, Resulting Numbers: [84, 107]
Generated Node #0,3,2: 91:[84, 107] Operation: 96+11=107
Exploring Operation: 84+11=95, Resulting Numbers: [96, 95]
Generated Node #0,3,3: 91:[96, 95] Operation: 84+11=95
Exploring Operation: 96-11=85, Resulting Numbers: [84, 85]
Generated Node #0,3,4: 91:[84, 85] Operation: 96-11=85
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[11, 12], Operations: ['33/3=11', '96-84=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[96, 95], Operations: ['33/3=11', '84+11=95']
Exploring Operation: 96*95=9120, Resulting Numbers: [9120]
9120,91 unequal: No Solution
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[84, 85], Operations: ['33/3=11', '96-11=85']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,91 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[96, 73], Operations: ['33/3=11', '84-11=73']
Exploring Operation: 96+73=169, Resulting Numbers: [169]
169,91 unequal: No Solution
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 96*73=7008, Resulting Numbers: [7008]
7008,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[84, 107], Operations: ['33/3=11', '96+11=107']
Exploring Operation: 84+107=191, Resulting Numbers: [191]
191,91 unequal: No Solution
Exploring Operation: 107-84=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 84*107=8988, Resulting Numbers: [8988]
8988,91 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: 91:[84, 96, 99], Operations: ['33*3=99']
Exploring Operation: 84+96=180, Resulting Numbers: [99, 180]
Generated Node #0,0,0: 91:[99, 180] Operation: 84+96=180
Exploring Operation: 99-84=15, Resulting Numbers: [96, 15]
Generated Node #0,0,1: 91:[96, 15] Operation: 99-84=15
Exploring Operation: 96-84=12, Resulting Numbers: [99, 12]
Generated Node #0,0,2: 91:[99, 12] Operation: 96-84=12
Exploring Operation: 84+99=183, Resulting Numbers: [96, 183]
Generated Node #0,0,3: 91:[96, 183] Operation: 84+99=183
Exploring Operation: 99-96=3, Resulting Numbers: [84, 3]
Generated Node #0,0,4: 91:[84, 3] Operation: 99-96=3
Moving to Node #0,2
Current State: 91:[33, 3, 12], Operations: ['96-84=12']
Exploring Operation: 33-12=21, Resulting Numbers: [3, 21]
Generated Node #0,2,0: 91:[3, 21] Operation: 33-12=21
Exploring Operation: 3+12=15, Resulting Numbers: [33, 15]
Generated Node #0,2,1: 91:[33, 15] Operation: 3+12=15
Exploring Operation: 33-3=30, Resulting Numbers: [12, 30]
Generated Node #0,2,2: 91:[12, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [12, 11]
Generated Node #0,2,3: 91:[12, 11] Operation: 33/3=11
Exploring Operation: 33*3=99, Resulting Numbers: [12, 99]
Generated Node #0,2,4: 91:[12, 99] Operation: 33*3=99
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[12, 11], Operations: ['96-84=12', '33/3=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,91 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[12, 99], Operations: ['96-84=12', '33*3=99']
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 12+99=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 12*99=1188, Resulting Numbers: [1188]
1188,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[3, 21], Operations: ['96-84=12', '33-12=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,91 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[12, 30], Operations: ['96-84=12', '33-3=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[33, 15], Operations: ['96-84=12', '3+12=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,91 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[84, 96, 30], Operations: ['33-3=30']
Exploring Operation: 84+30=114, Resulting Numbers: [96, 114]
Generated Node #0,1,0: 91:[96, 114] Operation: 84+30=114
Exploring Operation: 96-84=12, Resulting Numbers: [30, 12]
Generated Node #0,1,1: 91:[30, 12] Operation: 96-84=12
Exploring Operation: 84-30=54, Resulting Numbers: [96, 54]
Generated Node #0,1,2: 91:[96, 54] Operation: 84-30=54
Exploring Operation: 96+30=126, Resulting Numbers: [84, 126]
Generated Node #0,1,3: 91:[84, 126] Operation: 96+30=126
Exploring Operation: 96-30=66, Resulting Numbers: [84, 66]
Generated Node #0,1,4: 91:[84, 66] Operation: 96-30=66
Moving to Node #0,4
Current State: 91:[33, 96, 87], Operations: ['84+3=87']
Exploring Operation: 87-33=54, Resulting Numbers: [96, 54]
Generated Node #0,4,0: 91:[96, 54] Operation: 87-33=54
Exploring Operation: 33+96=129, Resulting Numbers: [87, 129]
Generated Node #0,4,1: 91:[87, 129] Operation: 33+96=129
Exploring Operation: 33+87=120, Resulting Numbers: [96, 120]
Generated Node #0,4,2: 91:[96, 120] Operation: 33+87=120
Exploring Operation: 96-33=63, Resulting Numbers: [87, 63]
Generated Node #0,4,3: 91:[87, 63] Operation: 96-33=63
Exploring Operation: 96-87=9, Resulting Numbers: [33, 9]
Generated Node #0,4,4: 91:[33, 9] Operation: 96-87=9
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 91:[33, 9], Operations: ['84+3=87', '96-87=9']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 91:[87, 63], Operations: ['84+3=87', '96-33=63']
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,91 unequal: No Solution
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 91:[96, 120], Operations: ['84+3=87', '33+87=120']
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,91 unequal: No Solution
Exploring Operation: 96*120=11520, Resulting Numbers: [11520]
11520,91 unequal: No Solution
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[96, 54], Operations: ['84+3=87', '87-33=54']
Exploring Operation: 96+54=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 96*54=5184, Resulting Numbers: [5184]
5184,91 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 91:[87, 129], Operations: ['84+3=87', '33+96=129']
Exploring Operation: 129-87=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 87*129=11223, Resulting Numbers: [11223]
11223,91 unequal: No Solution
Exploring Operation: 87+129=216, Resulting Numbers: [216]
216,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 91:[96, 15], Operations: ['33*3=99', '99-84=15']
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 96*15=1440, Resulting Numbers: [1440]
1440,91 unequal: No Solution
Exploring Operation: 96+15=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[99, 12], Operations: ['33*3=99', '96-84=12']
Exploring Operation: 99+12=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 99*12=1188, Resulting Numbers: [1188]
1188,91 unequal: No Solution
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[84, 3], Operations: ['33*3=99', '99-96=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,91 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[30, 12], Operations: ['33-3=30', '96-84=12']
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,91 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[96, 114], Operations: ['33-3=30', '84+30=114']
Exploring Operation: 96+114=210, Resulting Numbers: [210]
210,91 unequal: No Solution
Exploring Operation: 96*114=10944, Resulting Numbers: [10944]
10944,91 unequal: No Solution
Exploring Operation: 114-96=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[84, 66], Operations: ['33-3=30', '96-30=66']
Exploring Operation: 84*66=5544, Resulting Numbers: [5544]
5544,91 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 84+66=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[84, 126], Operations: ['33-3=30', '96+30=126']
Exploring Operation: 126-84=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 84*126=10584, Resulting Numbers: [10584]
10584,91 unequal: No Solution
Exploring Operation: 84+126=210, Resulting Numbers: [210]
210,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[96, 54], Operations: ['33-3=30', '84-30=54']
Exploring Operation: 96*54=5184, Resulting Numbers: [5184]
5184,91 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 96+54=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[99, 180], Operations: ['33*3=99', '84+96=180']
Exploring Operation: 99+180=279, Resulting Numbers: [279]
279,91 unequal: No Solution
Exploring Operation: 99*180=17820, Resulting Numbers: [17820]
17820,91 unequal: No Solution
Exploring Operation: 180-99=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[96, 183], Operations: ['33*3=99', '84+99=183']
Exploring Operation: 96*183=17568, Resulting Numbers: [17568]
17568,91 unequal: No Solution
Exploring Operation: 96+183=279, Resulting Numbers: [279]
279,91 unequal: No Solution
Exploring Operation: 183-96=87, Resulting Numbers: [87]
87,91 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
72,
56,
31,
34
] | 80 | [
"34-31=3",
"72/3=24",
"56+24=80"
] | Current State: 80:[72, 56, 31, 34], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [72, 56, 3]
Generated Node #2: [72, 56, 3] from Operation: 34-31=3
Current State: 80:[72, 56, 3], Operations: ['34-31=3']
Exploring Operation: 72/3=24, Resulting Numbers: [56, 24]
Generated Node #3: [56, 24] from Operation: 72/3=24
Current State: 80:[56, 24], Operations: ['34-31=3', '72/3=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[72, 56, 31, 34], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [31, 34, 16]
Generated Node #0,0: 80:[31, 34, 16] Operation: 72-56=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[31, 34, 16], Operations: ['72-56=16']
Exploring Operation: 34-31=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 80:[16, 3] Operation: 34-31=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[16, 3], Operations: ['72-56=16', '34-31=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
44,
98,
71,
6
] | 64 | [
"71-44=27",
"6*27=162",
"162-98=64"
] | Current State: 64:[44, 98, 71, 6], Operations: []
Exploring Operation: 71-44=27, Resulting Numbers: [98, 6, 27]
Generated Node #2: [98, 6, 27] from Operation: 71-44=27
Current State: 64:[98, 6, 27], Operations: ['71-44=27']
Exploring Operation: 6*27=162, Resulting Numbers: [98, 162]
Generated Node #3: [98, 162] from Operation: 6*27=162
Current State: 64:[98, 162], Operations: ['71-44=27', '6*27=162']
Exploring Operation: 162-98=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[44, 98, 71, 6], Operations: []
Exploring Operation: 71-44=27, Resulting Numbers: [98, 6, 27]
Generated Node #0,0: 64:[98, 6, 27] Operation: 71-44=27
Exploring Operation: 98-71=27, Resulting Numbers: [44, 6, 27]
Generated Node #0,1: 64:[44, 6, 27] Operation: 98-71=27
Exploring Operation: 98-44=54, Resulting Numbers: [71, 6, 54]
Generated Node #0,2: 64:[71, 6, 54] Operation: 98-44=54
Exploring Operation: 44-6=38, Resulting Numbers: [98, 71, 38]
Generated Node #0,3: 64:[98, 71, 38] Operation: 44-6=38
Moving to Node #0,1
Current State: 64:[44, 6, 27], Operations: ['98-71=27']
Exploring Operation: 6+27=33, Resulting Numbers: [44, 33]
Generated Node #0,1,0: 64:[44, 33] Operation: 6+27=33
Exploring Operation: 44-6=38, Resulting Numbers: [27, 38]
Generated Node #0,1,1: 64:[27, 38] Operation: 44-6=38
Exploring Operation: 44+27=71, Resulting Numbers: [6, 71]
Generated Node #0,1,2: 64:[6, 71] Operation: 44+27=71
Exploring Operation: 44-27=17, Resulting Numbers: [6, 17]
Generated Node #0,1,3: 64:[6, 17] Operation: 44-27=17
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[6, 17], Operations: ['98-71=27', '44-27=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,64 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[6, 71], Operations: ['98-71=27', '44+27=71']
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,64 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[27, 38], Operations: ['98-71=27', '44-6=38']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[44, 33], Operations: ['98-71=27', '6+27=33']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,64 unequal: No Solution
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[71, 6, 54], Operations: ['98-44=54']
Exploring Operation: 71-6=65, Resulting Numbers: [54, 65]
Generated Node #0,2,0: 64:[54, 65] Operation: 71-6=65
Exploring Operation: 71-54=17, Resulting Numbers: [6, 17]
Generated Node #0,2,1: 64:[6, 17] Operation: 71-54=17
Exploring Operation: 6+54=60, Resulting Numbers: [71, 60]
Generated Node #0,2,2: 64:[71, 60] Operation: 6+54=60
Exploring Operation: 54/6=9, Resulting Numbers: [71, 9]
Generated Node #0,2,3: 64:[71, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[6, 17], Operations: ['98-44=54', '71-54=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,64 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[71, 9], Operations: ['98-44=54', '54/6=9']
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,64 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,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:[54, 65], Operations: ['98-44=54', '71-6=65']
Exploring Operation: 54+65=119, Resulting Numbers: [119]
119,64 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 54*65=3510, Resulting Numbers: [3510]
3510,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:[71, 60], Operations: ['98-44=54', '6+54=60']
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,64 unequal: No Solution
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,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:[98, 6, 27], Operations: ['71-44=27']
Exploring Operation: 6+27=33, Resulting Numbers: [98, 33]
Generated Node #0,0,0: 64:[98, 33] Operation: 6+27=33
Exploring Operation: 98-6=92, Resulting Numbers: [27, 92]
Generated Node #0,0,1: 64:[27, 92] Operation: 98-6=92
Exploring Operation: 27-6=21, Resulting Numbers: [98, 21]
Generated Node #0,0,2: 64:[98, 21] Operation: 27-6=21
Exploring Operation: 98-27=71, Resulting Numbers: [6, 71]
Generated Node #0,0,3: 64:[6, 71] Operation: 98-27=71
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[6, 71], Operations: ['71-44=27', '98-27=71']
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,64 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[27, 92], Operations: ['71-44=27', '98-6=92']
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,64 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[98, 33], Operations: ['71-44=27', '6+27=33']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 98*33=3234, Resulting Numbers: [3234]
3234,64 unequal: No Solution
Exploring Operation: 98+33=131, Resulting Numbers: [131]
131,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[98, 21], Operations: ['71-44=27', '27-6=21']
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,64 unequal: No Solution
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 64:[98, 71, 38], Operations: ['44-6=38']
Exploring Operation: 98+38=136, Resulting Numbers: [71, 136]
Generated Node #0,3,0: 64:[71, 136] Operation: 98+38=136
Exploring Operation: 71-38=33, Resulting Numbers: [98, 33]
Generated Node #0,3,1: 64:[98, 33] Operation: 71-38=33
Exploring Operation: 98-71=27, Resulting Numbers: [38, 27]
Generated Node #0,3,2: 64:[38, 27] Operation: 98-71=27
Exploring Operation: 98-38=60, Resulting Numbers: [71, 60]
Generated Node #0,3,3: 64:[71, 60] Operation: 98-38=60
Moving to Node #0,3,2
Current State: 64:[38, 27], Operations: ['44-6=38', '98-71=27']
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,64 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[71, 60], Operations: ['44-6=38', '98-38=60']
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,64 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[98, 33], Operations: ['44-6=38', '71-38=33']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 98*33=3234, Resulting Numbers: [3234]
3234,64 unequal: No Solution
Exploring Operation: 98+33=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[71, 136], Operations: ['44-6=38', '98+38=136']
Exploring Operation: 136-71=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 71+136=207, Resulting Numbers: [207]
207,64 unequal: No Solution
Exploring Operation: 71*136=9656, Resulting Numbers: [9656]
9656,64 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
55,
93,
6,
72
] | 18 | [
"93+72=165",
"165/55=3",
"6*3=18"
] | Current State: 18:[55, 93, 6, 72], Operations: []
Exploring Operation: 93+72=165, Resulting Numbers: [55, 6, 165]
Generated Node #2: [55, 6, 165] from Operation: 93+72=165
Current State: 18:[55, 6, 165], Operations: ['93+72=165']
Exploring Operation: 165/55=3, Resulting Numbers: [6, 3]
Generated Node #3: [6, 3] from Operation: 165/55=3
Current State: 18:[6, 3], Operations: ['93+72=165', '165/55=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[55, 93, 6, 72], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [55, 93, 12]
Generated Node #0,0: 18:[55, 93, 12] Operation: 72/6=12
Exploring Operation: 93-72=21, Resulting Numbers: [55, 6, 21]
Generated Node #0,1: 18:[55, 6, 21] Operation: 93-72=21
Exploring Operation: 72-55=17, Resulting Numbers: [93, 6, 17]
Generated Node #0,2: 18:[93, 6, 17] Operation: 72-55=17
Exploring Operation: 93-55=38, Resulting Numbers: [6, 72, 38]
Generated Node #0,3: 18:[6, 72, 38] Operation: 93-55=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[55, 6, 21], Operations: ['93-72=21']
Exploring Operation: 55+6=61, Resulting Numbers: [21, 61]
Generated Node #0,1,0: 18:[21, 61] Operation: 55+6=61
Exploring Operation: 55-21=34, Resulting Numbers: [6, 34]
Generated Node #0,1,1: 18:[6, 34] Operation: 55-21=34
Exploring Operation: 21-6=15, Resulting Numbers: [55, 15]
Generated Node #0,1,2: 18:[55, 15] Operation: 21-6=15
Exploring Operation: 55-6=49, Resulting Numbers: [21, 49]
Generated Node #0,1,3: 18:[21, 49] Operation: 55-6=49
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[6, 34], Operations: ['93-72=21', '55-21=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 18:[21, 49], Operations: ['93-72=21', '55-6=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,18 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[55, 15], Operations: ['93-72=21', '21-6=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,18 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[21, 61], Operations: ['93-72=21', '55+6=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[6, 72, 38], Operations: ['93-55=38']
Exploring Operation: 72/6=12, Resulting Numbers: [38, 12]
Generated Node #0,3,0: 18:[38, 12] Operation: 72/6=12
Exploring Operation: 72-38=34, Resulting Numbers: [6, 34]
Generated Node #0,3,1: 18:[6, 34] Operation: 72-38=34
Exploring Operation: 38-6=32, Resulting Numbers: [72, 32]
Generated Node #0,3,2: 18:[72, 32] Operation: 38-6=32
Exploring Operation: 72-6=66, Resulting Numbers: [38, 66]
Generated Node #0,3,3: 18:[38, 66] Operation: 72-6=66
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[6, 34], Operations: ['93-55=38', '72-38=34']
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,18 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 18:[38, 12], Operations: ['93-55=38', '72/6=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[72, 32], Operations: ['93-55=38', '38-6=32']
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[38, 66], Operations: ['93-55=38', '72-6=66']
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,18 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[93, 6, 17], Operations: ['72-55=17']
Exploring Operation: 17-6=11, Resulting Numbers: [93, 11]
Generated Node #0,2,0: 18:[93, 11] Operation: 17-6=11
Exploring Operation: 6+17=23, Resulting Numbers: [93, 23]
Generated Node #0,2,1: 18:[93, 23] Operation: 6+17=23
Exploring Operation: 93-17=76, Resulting Numbers: [6, 76]
Generated Node #0,2,2: 18:[6, 76] Operation: 93-17=76
Exploring Operation: 93-6=87, Resulting Numbers: [17, 87]
Generated Node #0,2,3: 18:[17, 87] Operation: 93-6=87
Moving to Node #0,2,2
Current State: 18:[6, 76], Operations: ['72-55=17', '93-17=76']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[17, 87], Operations: ['72-55=17', '93-6=87']
Exploring Operation: 17+87=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 17*87=1479, Resulting Numbers: [1479]
1479,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[93, 11], Operations: ['72-55=17', '17-6=11']
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,18 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[93, 23], Operations: ['72-55=17', '6+17=23']
Exploring Operation: 93+23=116, Resulting Numbers: [116]
116,18 unequal: No Solution
Exploring Operation: 93*23=2139, Resulting Numbers: [2139]
2139,18 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[55, 93, 12], Operations: ['72/6=12']
Exploring Operation: 93-12=81, Resulting Numbers: [55, 81]
Generated Node #0,0,0: 18:[55, 81] Operation: 93-12=81
Exploring Operation: 93-55=38, Resulting Numbers: [12, 38]
Generated Node #0,0,1: 18:[12, 38] Operation: 93-55=38
Exploring Operation: 55-12=43, Resulting Numbers: [93, 43]
Generated Node #0,0,2: 18:[93, 43] Operation: 55-12=43
Exploring Operation: 55+12=67, Resulting Numbers: [93, 67]
Generated Node #0,0,3: 18:[93, 67] Operation: 55+12=67
Moving to Node #0,0,1
Current State: 18:[12, 38], Operations: ['72/6=12', '93-55=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[93, 43], Operations: ['72/6=12', '55-12=43']
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,18 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,18 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[55, 81], Operations: ['72/6=12', '93-12=81']
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 55*81=4455, Resulting Numbers: [4455]
4455,18 unequal: No Solution
Exploring Operation: 55+81=136, Resulting Numbers: [136]
136,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[93, 67], Operations: ['72/6=12', '55+12=67']
Exploring Operation: 93*67=6231, Resulting Numbers: [6231]
6231,18 unequal: No Solution
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 93+67=160, Resulting Numbers: [160]
160,18 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 |
[
55,
59,
62,
19
] | 14 | [
"59-55=4",
"19*4=76",
"76-62=14"
] | Current State: 14:[55, 59, 62, 19], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [62, 19, 4]
Generated Node #2: [62, 19, 4] from Operation: 59-55=4
Current State: 14:[62, 19, 4], Operations: ['59-55=4']
Exploring Operation: 19*4=76, Resulting Numbers: [62, 76]
Generated Node #3: [62, 76] from Operation: 19*4=76
Current State: 14:[62, 76], Operations: ['59-55=4', '19*4=76']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[55, 59, 62, 19], Operations: []
Exploring Operation: 62-55=7, Resulting Numbers: [59, 19, 7]
Generated Node #0,0: 14:[59, 19, 7] Operation: 62-55=7
Exploring Operation: 59-55=4, Resulting Numbers: [62, 19, 4]
Generated Node #0,1: 14:[62, 19, 4] Operation: 59-55=4
Exploring Operation: 62-59=3, Resulting Numbers: [55, 19, 3]
Generated Node #0,2: 14:[55, 19, 3] Operation: 62-59=3
Moving to Node #0,2
Current State: 14:[55, 19, 3], Operations: ['62-59=3']
Exploring Operation: 55-3=52, Resulting Numbers: [19, 52]
Generated Node #0,2,0: 14:[19, 52] Operation: 55-3=52
Exploring Operation: 55-19=36, Resulting Numbers: [3, 36]
Generated Node #0,2,1: 14:[3, 36] Operation: 55-19=36
Exploring Operation: 19-3=16, Resulting Numbers: [55, 16]
Generated Node #0,2,2: 14:[55, 16] Operation: 19-3=16
Moving to Node #0,0
Current State: 14:[59, 19, 7], Operations: ['62-55=7']
Exploring Operation: 59-19=40, Resulting Numbers: [7, 40]
Generated Node #0,0,0: 14:[7, 40] Operation: 59-19=40
Exploring Operation: 19-7=12, Resulting Numbers: [59, 12]
Generated Node #0,0,1: 14:[59, 12] Operation: 19-7=12
Exploring Operation: 59-7=52, Resulting Numbers: [19, 52]
Generated Node #0,0,2: 14:[19, 52] Operation: 59-7=52
Moving to Node #0,1
Current State: 14:[62, 19, 4], Operations: ['59-55=4']
Exploring Operation: 19-4=15, Resulting Numbers: [62, 15]
Generated Node #0,1,0: 14:[62, 15] Operation: 19-4=15
Exploring Operation: 62-19=43, Resulting Numbers: [4, 43]
Generated Node #0,1,1: 14:[4, 43] Operation: 62-19=43
Exploring Operation: 62-4=58, Resulting Numbers: [19, 58]
Generated Node #0,1,2: 14:[19, 58] Operation: 62-4=58
Moving to Node #0,2,1
Current State: 14:[3, 36], Operations: ['62-59=3', '55-19=36']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[7, 40], Operations: ['62-55=7', '59-19=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[4, 43], Operations: ['59-55=4', '62-19=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,14 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[55, 16], Operations: ['62-59=3', '19-3=16']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,14 unequal: No Solution
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[19, 52], Operations: ['62-55=7', '59-7=52']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[19, 52], Operations: ['62-59=3', '55-3=52']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,14 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[59, 12], Operations: ['62-55=7', '19-7=12']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 59*12=708, Resulting Numbers: [708]
708,14 unequal: No Solution
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[62, 15], Operations: ['59-55=4', '19-4=15']
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,14 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[19, 58], Operations: ['59-55=4', '62-4=58']
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,14 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,14 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
37,
89,
68,
1
] | 59 | [
"37+89=126",
"68-1=67",
"126-67=59"
] | Current State: 59:[37, 89, 68, 1], Operations: []
Exploring Operation: 37+89=126, Resulting Numbers: [68, 1, 126]
Generated Node #2: [68, 1, 126] from Operation: 37+89=126
Current State: 59:[68, 1, 126], Operations: ['37+89=126']
Exploring Operation: 68-1=67, Resulting Numbers: [126, 67]
Generated Node #3: [126, 67] from Operation: 68-1=67
Current State: 59:[126, 67], Operations: ['37+89=126', '68-1=67']
Exploring Operation: 126-67=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[37, 89, 68, 1], Operations: []
Exploring Operation: 37+1=38, Resulting Numbers: [89, 68, 38]
Generated Node #0,0: 59:[89, 68, 38] Operation: 37+1=38
Moving to Node #0,0
Current State: 59:[89, 68, 38], Operations: ['37+1=38']
Exploring Operation: 89-38=51, Resulting Numbers: [68, 51]
Generated Node #0,0,0: 59:[68, 51] Operation: 89-38=51
Moving to Node #0,0,0
Current State: 59:[68, 51], Operations: ['37+1=38', '89-38=51']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
4,
10,
92
] | 19 | [
"97+4=101",
"92-10=82",
"101-82=19"
] | Current State: 19:[97, 4, 10, 92], Operations: []
Exploring Operation: 97+4=101, Resulting Numbers: [10, 92, 101]
Generated Node #2: [10, 92, 101] from Operation: 97+4=101
Current State: 19:[10, 92, 101], Operations: ['97+4=101']
Exploring Operation: 92-10=82, Resulting Numbers: [101, 82]
Generated Node #3: [101, 82] from Operation: 92-10=82
Current State: 19:[101, 82], Operations: ['97+4=101', '92-10=82']
Exploring Operation: 101-82=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[97, 4, 10, 92], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [4, 10, 5]
Generated Node #0,0: 19:[4, 10, 5] Operation: 97-92=5
Moving to Node #0,0
Current State: 19:[4, 10, 5], Operations: ['97-92=5']
Exploring Operation: 4*5=20, Resulting Numbers: [10, 20]
Generated Node #0,0,0: 19:[10, 20] Operation: 4*5=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[10, 20], Operations: ['97-92=5', '4*5=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,19 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 |
[
37,
26,
71,
7
] | 80 | [
"37+26=63",
"63/7=9",
"71+9=80"
] | Current State: 80:[37, 26, 71, 7], Operations: []
Exploring Operation: 37+26=63, Resulting Numbers: [71, 7, 63]
Generated Node #2: [71, 7, 63] from Operation: 37+26=63
Current State: 80:[71, 7, 63], Operations: ['37+26=63']
Exploring Operation: 63/7=9, Resulting Numbers: [71, 9]
Generated Node #3: [71, 9] from Operation: 63/7=9
Current State: 80:[71, 9], Operations: ['37+26=63', '63/7=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[37, 26, 71, 7], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [37, 71, 19]
Generated Node #0,0: 80:[37, 71, 19] Operation: 26-7=19
Exploring Operation: 71+7=78, Resulting Numbers: [37, 26, 78]
Generated Node #0,1: 80:[37, 26, 78] Operation: 71+7=78
Exploring Operation: 71-26=45, Resulting Numbers: [37, 7, 45]
Generated Node #0,2: 80:[37, 7, 45] Operation: 71-26=45
Exploring Operation: 71-37=34, Resulting Numbers: [26, 7, 34]
Generated Node #0,3: 80:[26, 7, 34] Operation: 71-37=34
Exploring Operation: 37-26=11, Resulting Numbers: [71, 7, 11]
Generated Node #0,4: 80:[71, 7, 11] Operation: 37-26=11
Moving to Node #0,2
Current State: 80:[37, 7, 45], Operations: ['71-26=45']
Exploring Operation: 37+7=44, Resulting Numbers: [45, 44]
Generated Node #0,2,0: 80:[45, 44] Operation: 37+7=44
Exploring Operation: 45-7=38, Resulting Numbers: [37, 38]
Generated Node #0,2,1: 80:[37, 38] Operation: 45-7=38
Exploring Operation: 37-7=30, Resulting Numbers: [45, 30]
Generated Node #0,2,2: 80:[45, 30] Operation: 37-7=30
Exploring Operation: 37+45=82, Resulting Numbers: [7, 82]
Generated Node #0,2,3: 80:[7, 82] Operation: 37+45=82
Exploring Operation: 45-37=8, Resulting Numbers: [7, 8]
Generated Node #0,2,4: 80:[7, 8] Operation: 45-37=8
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[7, 8], Operations: ['71-26=45', '45-37=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[7, 82], Operations: ['71-26=45', '37+45=82']
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,80 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[37, 38], Operations: ['71-26=45', '45-7=38']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,80 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[45, 44], Operations: ['71-26=45', '37+7=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[45, 30], Operations: ['71-26=45', '37-7=30']
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,80 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,80 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: 80:[71, 7, 11], Operations: ['37-26=11']
Exploring Operation: 7*11=77, Resulting Numbers: [71, 77]
Generated Node #0,4,0: 80:[71, 77] Operation: 7*11=77
Exploring Operation: 71+11=82, Resulting Numbers: [7, 82]
Generated Node #0,4,1: 80:[7, 82] Operation: 71+11=82
Exploring Operation: 71+7=78, Resulting Numbers: [11, 78]
Generated Node #0,4,2: 80:[11, 78] Operation: 71+7=78
Exploring Operation: 11-7=4, Resulting Numbers: [71, 4]
Generated Node #0,4,3: 80:[71, 4] Operation: 11-7=4
Exploring Operation: 7+11=18, Resulting Numbers: [71, 18]
Generated Node #0,4,4: 80:[71, 18] Operation: 7+11=18
Moving to Node #0,1
Current State: 80:[37, 26, 78], Operations: ['71+7=78']
Exploring Operation: 78-26=52, Resulting Numbers: [37, 52]
Generated Node #0,1,0: 80:[37, 52] Operation: 78-26=52
Exploring Operation: 37+26=63, Resulting Numbers: [78, 63]
Generated Node #0,1,1: 80:[78, 63] Operation: 37+26=63
Exploring Operation: 37-26=11, Resulting Numbers: [78, 11]
Generated Node #0,1,2: 80:[78, 11] Operation: 37-26=11
Exploring Operation: 78/26=3, Resulting Numbers: [37, 3]
Generated Node #0,1,3: 80:[37, 3] Operation: 78/26=3
Exploring Operation: 78-37=41, Resulting Numbers: [26, 41]
Generated Node #0,1,4: 80:[26, 41] Operation: 78-37=41
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[78, 11], Operations: ['71+7=78', '37-26=11']
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,80 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[37, 3], Operations: ['71+7=78', '78/26=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,80 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 80:[26, 41], Operations: ['71+7=78', '78-37=41']
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[37, 52], Operations: ['71+7=78', '78-26=52']
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,80 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[78, 63], Operations: ['71+7=78', '37+26=63']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,80 unequal: No Solution
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 80:[37, 71, 19], Operations: ['26-7=19']
Exploring Operation: 71-19=52, Resulting Numbers: [37, 52]
Generated Node #0,0,0: 80:[37, 52] Operation: 71-19=52
Exploring Operation: 37+19=56, Resulting Numbers: [71, 56]
Generated Node #0,0,1: 80:[71, 56] Operation: 37+19=56
Exploring Operation: 37-19=18, Resulting Numbers: [71, 18]
Generated Node #0,0,2: 80:[71, 18] Operation: 37-19=18
Exploring Operation: 71-37=34, Resulting Numbers: [19, 34]
Generated Node #0,0,3: 80:[19, 34] Operation: 71-37=34
Exploring Operation: 71+19=90, Resulting Numbers: [37, 90]
Generated Node #0,0,4: 80:[37, 90] Operation: 71+19=90
Moving to Node #0,3
Current State: 80:[26, 7, 34], Operations: ['71-37=34']
Exploring Operation: 34-26=8, Resulting Numbers: [7, 8]
Generated Node #0,3,0: 80:[7, 8] Operation: 34-26=8
Exploring Operation: 7+34=41, Resulting Numbers: [26, 41]
Generated Node #0,3,1: 80:[26, 41] Operation: 7+34=41
Exploring Operation: 26-7=19, Resulting Numbers: [34, 19]
Generated Node #0,3,2: 80:[34, 19] Operation: 26-7=19
Exploring Operation: 26+7=33, Resulting Numbers: [34, 33]
Generated Node #0,3,3: 80:[34, 33] Operation: 26+7=33
Exploring Operation: 34-7=27, Resulting Numbers: [26, 27]
Generated Node #0,3,4: 80:[26, 27] Operation: 34-7=27
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[7, 8], Operations: ['71-37=34', '34-26=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[26, 41], Operations: ['71-37=34', '7+34=41']
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,80 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[34, 19], Operations: ['71-37=34', '26-7=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,80 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[34, 33], Operations: ['71-37=34', '26+7=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,80 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 80:[26, 27], Operations: ['71-37=34', '34-7=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,80 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 80:[7, 82], Operations: ['37-26=11', '71+11=82']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,80 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[11, 78], Operations: ['37-26=11', '71+7=78']
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 11*78=858, Resulting Numbers: [858]
858,80 unequal: No Solution
Exploring Operation: 11+78=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[19, 34], Operations: ['26-7=19', '71-37=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,80 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Moving to Node #0,4,3
Current State: 80:[71, 4], Operations: ['37-26=11', '11-7=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,80 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[71, 18], Operations: ['26-7=19', '37-19=18']
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,80 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[71, 18], Operations: ['37-26=11', '7+11=18']
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,80 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[71, 77], Operations: ['37-26=11', '7*11=77']
Exploring Operation: 77-71=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 71+77=148, Resulting Numbers: [148]
148,80 unequal: No Solution
Exploring Operation: 71*77=5467, Resulting Numbers: [5467]
5467,80 unequal: No Solution
Moving to Node #0,0,4
Current State: 80:[37, 90], Operations: ['26-7=19', '71+19=90']
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,80 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[37, 52], Operations: ['26-7=19', '71-19=52']
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,80 unequal: No Solution
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[71, 56], Operations: ['26-7=19', '37+19=56']
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 71*56=3976, Resulting Numbers: [3976]
3976,80 unequal: No Solution
Exploring Operation: 71+56=127, Resulting Numbers: [127]
127,80 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
37,
59,
9,
3
] | 75 | [
"59-37=22",
"3*22=66",
"9+66=75"
] | Current State: 75:[37, 59, 9, 3], Operations: []
Exploring Operation: 59-37=22, Resulting Numbers: [9, 3, 22]
Generated Node #2: [9, 3, 22] from Operation: 59-37=22
Current State: 75:[9, 3, 22], Operations: ['59-37=22']
Exploring Operation: 3*22=66, Resulting Numbers: [9, 66]
Generated Node #3: [9, 66] from Operation: 3*22=66
Current State: 75:[9, 66], Operations: ['59-37=22', '3*22=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[37, 59, 9, 3], Operations: []
Exploring Operation: 59+9=68, Resulting Numbers: [37, 3, 68]
Generated Node #0,0: 75:[37, 3, 68] Operation: 59+9=68
Exploring Operation: 37-9=28, Resulting Numbers: [59, 3, 28]
Generated Node #0,1: 75:[59, 3, 28] Operation: 37-9=28
Exploring Operation: 59-37=22, Resulting Numbers: [9, 3, 22]
Generated Node #0,2: 75:[9, 3, 22] Operation: 59-37=22
Exploring Operation: 37+59=96, Resulting Numbers: [9, 3, 96]
Generated Node #0,3: 75:[9, 3, 96] Operation: 37+59=96
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[9, 3, 22], Operations: ['59-37=22']
Exploring Operation: 22-9=13, Resulting Numbers: [3, 13]
Generated Node #0,2,0: 75:[3, 13] Operation: 22-9=13
Exploring Operation: 3+22=25, Resulting Numbers: [9, 25]
Generated Node #0,2,1: 75:[9, 25] Operation: 3+22=25
Exploring Operation: 9-3=6, Resulting Numbers: [22, 6]
Generated Node #0,2,2: 75:[22, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [22, 3]
Generated Node #0,2,3: 75:[22, 3] Operation: 9/3=3
Moving to Node #0,2,0
Current State: 75:[3, 13], Operations: ['59-37=22', '22-9=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[22, 3], Operations: ['59-37=22', '9/3=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[22, 6], Operations: ['59-37=22', '9-3=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[9, 25], Operations: ['59-37=22', '3+22=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,75 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[37, 3, 68], Operations: ['59+9=68']
Exploring Operation: 68-37=31, Resulting Numbers: [3, 31]
Generated Node #0,0,0: 75:[3, 31] Operation: 68-37=31
Exploring Operation: 37+3=40, Resulting Numbers: [68, 40]
Generated Node #0,0,1: 75:[68, 40] Operation: 37+3=40
Exploring Operation: 37-3=34, Resulting Numbers: [68, 34]
Generated Node #0,0,2: 75:[68, 34] Operation: 37-3=34
Exploring Operation: 3+68=71, Resulting Numbers: [37, 71]
Generated Node #0,0,3: 75:[37, 71] Operation: 3+68=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[3, 31], Operations: ['59+9=68', '68-37=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[68, 34], Operations: ['59+9=68', '37-3=34']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,75 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[37, 71], Operations: ['59+9=68', '3+68=71']
Exploring Operation: 37*71=2627, Resulting Numbers: [2627]
2627,75 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 37+71=108, Resulting Numbers: [108]
108,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[68, 40], Operations: ['59+9=68', '37+3=40']
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,75 unequal: No Solution
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[59, 3, 28], Operations: ['37-9=28']
Exploring Operation: 59+3=62, Resulting Numbers: [28, 62]
Generated Node #0,1,0: 75:[28, 62] Operation: 59+3=62
Exploring Operation: 28-3=25, Resulting Numbers: [59, 25]
Generated Node #0,1,1: 75:[59, 25] Operation: 28-3=25
Exploring Operation: 59+28=87, Resulting Numbers: [3, 87]
Generated Node #0,1,2: 75:[3, 87] Operation: 59+28=87
Exploring Operation: 59-28=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 75:[3, 31] Operation: 59-28=31
Moving to Node #0,1,3
Current State: 75:[3, 31], Operations: ['37-9=28', '59-28=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[3, 87], Operations: ['37-9=28', '59+28=87']
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,75 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[59, 25], Operations: ['37-9=28', '28-3=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[28, 62], Operations: ['37-9=28', '59+3=62']
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,75 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[9, 3, 96], Operations: ['37+59=96']
Exploring Operation: 96-9=87, Resulting Numbers: [3, 87]
Generated Node #0,3,0: 75:[3, 87] Operation: 96-9=87
Exploring Operation: 9-3=6, Resulting Numbers: [96, 6]
Generated Node #0,3,1: 75:[96, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [96, 3]
Generated Node #0,3,2: 75:[96, 3] Operation: 9/3=3
Exploring Operation: 96/3=32, Resulting Numbers: [9, 32]
Generated Node #0,3,3: 75:[9, 32] Operation: 96/3=32
Moving to Node #0,3,3
Current State: 75:[9, 32], Operations: ['37+59=96', '96/3=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,75 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[3, 87], Operations: ['37+59=96', '96-9=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,75 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[96, 3], Operations: ['37+59=96', '9/3=3']
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,75 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[96, 6], Operations: ['37+59=96', '9-3=6']
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,75 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,75 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 |
[
71,
62,
75,
16
] | 58 | [
"75-71=4",
"16/4=4",
"62-4=58"
] | Current State: 58:[71, 62, 75, 16], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [62, 16, 4]
Generated Node #2: [62, 16, 4] from Operation: 75-71=4
Current State: 58:[62, 16, 4], Operations: ['75-71=4']
Exploring Operation: 16/4=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 16/4=4
Current State: 58:[62, 4], Operations: ['75-71=4', '16/4=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[71, 62, 75, 16], Operations: []
Exploring Operation: 75-16=59, Resulting Numbers: [71, 62, 59]
Generated Node #0,0: 58:[71, 62, 59] Operation: 75-16=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[71, 62, 59], Operations: ['75-16=59']
Exploring Operation: 71-62=9, Resulting Numbers: [59, 9]
Generated Node #0,0,0: 58:[59, 9] Operation: 71-62=9
Moving to Node #0,0,0
Current State: 58:[59, 9], Operations: ['75-16=59', '71-62=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,58 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 |
[
73,
43,
41,
41
] | 57 | [
"73+41=114",
"43-41=2",
"114/2=57"
] | Current State: 57:[73, 43, 41, 41], Operations: []
Exploring Operation: 73+41=114, Resulting Numbers: [43, 114]
Generated Node #2: [43, 114] from Operation: 73+41=114
Current State: 57:[43, 114], Operations: ['73+41=114']
Exploring Operation: 43-41=2, Resulting Numbers: [114, 2]
Generated Node #3: [114, 2] from Operation: 43-41=2
Current State: 57:[114, 2], Operations: ['73+41=114', '43-41=2']
Exploring Operation: 114/2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[73, 43, 41, 41], Operations: []
Exploring Operation: 41/41=1, Resulting Numbers: [73, 43, 1]
Generated Node #0,0: 57:[73, 43, 1] Operation: 41/41=1
Exploring Operation: 43-41=2, Resulting Numbers: [73, 41, 2]
Generated Node #0,1: 57:[73, 41, 2] Operation: 43-41=2
Exploring Operation: 43-41=2, Resulting Numbers: [73, 41, 2]
Generated Node #0,2: 57:[73, 41, 2] Operation: 43-41=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[73, 43, 1], Operations: ['41/41=1']
Exploring Operation: 73-1=72, Resulting Numbers: [43, 72]
Generated Node #0,0,0: 57:[43, 72] Operation: 73-1=72
Exploring Operation: 43+1=44, Resulting Numbers: [73, 44]
Generated Node #0,0,1: 57:[73, 44] Operation: 43+1=44
Exploring Operation: 73-43=30, Resulting Numbers: [1, 30]
Generated Node #0,0,2: 57:[1, 30] Operation: 73-43=30
Moving to Node #0,0,2
Current State: 57:[1, 30], Operations: ['41/41=1', '73-43=30']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[43, 72], Operations: ['41/41=1', '73-1=72']
Exploring Operation: 43*72=3096, Resulting Numbers: [3096]
3096,57 unequal: No Solution
Exploring Operation: 43+72=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[73, 44], Operations: ['41/41=1', '43+1=44']
Exploring Operation: 73+44=117, Resulting Numbers: [117]
117,57 unequal: No Solution
Exploring Operation: 73*44=3212, Resulting Numbers: [3212]
3212,57 unequal: No Solution
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[73, 41, 2], Operations: ['43-41=2']
Exploring Operation: 73-2=71, Resulting Numbers: [41, 71]
Generated Node #0,1,0: 57:[41, 71] Operation: 73-2=71
Exploring Operation: 41+2=43, Resulting Numbers: [73, 43]
Generated Node #0,1,1: 57:[73, 43] Operation: 41+2=43
Exploring Operation: 73-41=32, Resulting Numbers: [2, 32]
Generated Node #0,1,2: 57:[2, 32] Operation: 73-41=32
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[2, 32], Operations: ['43-41=2', '73-41=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[41, 71], Operations: ['43-41=2', '73-2=71']
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[73, 43], Operations: ['43-41=2', '41+2=43']
Exploring Operation: 73*43=3139, Resulting Numbers: [3139]
3139,57 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 73+43=116, Resulting Numbers: [116]
116,57 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: 57:[73, 41, 2], Operations: ['43-41=2']
Exploring Operation: 73-2=71, Resulting Numbers: [41, 71]
Generated Node #0,2,0: 57:[41, 71] Operation: 73-2=71
Exploring Operation: 41+2=43, Resulting Numbers: [73, 43]
Generated Node #0,2,1: 57:[73, 43] Operation: 41+2=43
Exploring Operation: 73-41=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 57:[2, 32] Operation: 73-41=32
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[2, 32], Operations: ['43-41=2', '73-41=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[41, 71], Operations: ['43-41=2', '73-2=71']
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,57 unequal: No Solution
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[73, 43], Operations: ['43-41=2', '41+2=43']
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 73*43=3139, Resulting Numbers: [3139]
3139,57 unequal: No Solution
Exploring Operation: 73+43=116, Resulting Numbers: [116]
116,57 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 |
[
45,
97,
94,
51
] | 32 | [
"45+51=96",
"97-94=3",
"96/3=32"
] | Current State: 32:[45, 97, 94, 51], Operations: []
Exploring Operation: 45+51=96, Resulting Numbers: [97, 94, 96]
Generated Node #2: [97, 94, 96] from Operation: 45+51=96
Current State: 32:[97, 94, 96], Operations: ['45+51=96']
Exploring Operation: 97-94=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 97-94=3
Current State: 32:[96, 3], Operations: ['45+51=96', '97-94=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[45, 97, 94, 51], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [45, 51, 3]
Generated Node #0,0: 32:[45, 51, 3] Operation: 97-94=3
Exploring Operation: 97-51=46, Resulting Numbers: [45, 94, 46]
Generated Node #0,1: 32:[45, 94, 46] Operation: 97-51=46
Moving to Node #0,0
Current State: 32:[45, 51, 3], Operations: ['97-94=3']
Exploring Operation: 51-45=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 32:[3, 6] Operation: 51-45=6
Exploring Operation: 51/3=17, Resulting Numbers: [45, 17]
Generated Node #0,0,1: 32:[45, 17] Operation: 51/3=17
Moving to Node #0,1
Current State: 32:[45, 94, 46], Operations: ['97-51=46']
Exploring Operation: 94-45=49, Resulting Numbers: [46, 49]
Generated Node #0,1,0: 32:[46, 49] Operation: 94-45=49
Exploring Operation: 94-46=48, Resulting Numbers: [45, 48]
Generated Node #0,1,1: 32:[45, 48] Operation: 94-46=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[45, 48], Operations: ['97-51=46', '94-46=48']
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[46, 49], Operations: ['97-51=46', '94-45=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 32:[3, 6], Operations: ['97-94=3', '51-45=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[45, 17], Operations: ['97-94=3', '51/3=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,32 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
27,
48,
3,
7
] | 47 | [
"27*7=189",
"189-48=141",
"141/3=47"
] | Current State: 47:[27, 48, 3, 7], Operations: []
Exploring Operation: 27*7=189, Resulting Numbers: [48, 3, 189]
Generated Node #2: [48, 3, 189] from Operation: 27*7=189
Current State: 47:[48, 3, 189], Operations: ['27*7=189']
Exploring Operation: 189-48=141, Resulting Numbers: [3, 141]
Generated Node #3: [3, 141] from Operation: 189-48=141
Current State: 47:[3, 141], Operations: ['27*7=189', '189-48=141']
Exploring Operation: 141/3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[27, 48, 3, 7], Operations: []
Exploring Operation: 27+3=30, Resulting Numbers: [48, 7, 30]
Generated Node #0,0: 47:[48, 7, 30] Operation: 27+3=30
Exploring Operation: 3*7=21, Resulting Numbers: [27, 48, 21]
Generated Node #0,1: 47:[27, 48, 21] Operation: 3*7=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[27, 48, 21], Operations: ['3*7=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48, 48]
Generated Node #0,1,0: 47:[48, 48] Operation: 27+21=48
Exploring Operation: 48-21=27, Resulting Numbers: [27, 27]
Generated Node #0,1,1: 47:[27, 27] Operation: 48-21=27
Moving to Node #0,1,0
Current State: 47:[48, 48], Operations: ['3*7=21', '27+21=48']
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[27, 27], Operations: ['3*7=21', '48-21=27']
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[48, 7, 30], Operations: ['27+3=30']
Exploring Operation: 7+30=37, Resulting Numbers: [48, 37]
Generated Node #0,0,0: 47:[48, 37] Operation: 7+30=37
Exploring Operation: 48-7=41, Resulting Numbers: [30, 41]
Generated Node #0,0,1: 47:[30, 41] Operation: 48-7=41
Moving to Node #0,0,0
Current State: 47:[48, 37], Operations: ['27+3=30', '7+30=37']
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[30, 41], Operations: ['27+3=30', '48-7=41']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,47 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 |
[
19,
27,
49,
44
] | 40 | [
"27-19=8",
"49-44=5",
"8*5=40"
] | Current State: 40:[19, 27, 49, 44], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [49, 44, 8]
Generated Node #2: [49, 44, 8] from Operation: 27-19=8
Current State: 40:[49, 44, 8], Operations: ['27-19=8']
Exploring Operation: 49-44=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 49-44=5
Current State: 40:[8, 5], Operations: ['27-19=8', '49-44=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[19, 27, 49, 44], Operations: []
Exploring Operation: 44-27=17, Resulting Numbers: [19, 49, 17]
Generated Node #0,0: 40:[19, 49, 17] Operation: 44-27=17
Exploring Operation: 19+27=46, Resulting Numbers: [49, 44, 46]
Generated Node #0,1: 40:[49, 44, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [49, 44, 8]
Generated Node #0,2: 40:[49, 44, 8] Operation: 27-19=8
Exploring Operation: 49-27=22, Resulting Numbers: [19, 44, 22]
Generated Node #0,3: 40:[19, 44, 22] Operation: 49-27=22
Exploring Operation: 49-44=5, Resulting Numbers: [19, 27, 5]
Generated Node #0,4: 40:[19, 27, 5] Operation: 49-44=5
Moving to Node #0,3
Current State: 40:[19, 44, 22], Operations: ['49-27=22']
Exploring Operation: 19+22=41, Resulting Numbers: [44, 41]
Generated Node #0,3,0: 40:[44, 41] Operation: 19+22=41
Exploring Operation: 44-22=22, Resulting Numbers: [19, 22]
Generated Node #0,3,1: 40:[19, 22] Operation: 44-22=22
Exploring Operation: 22-19=3, Resulting Numbers: [44, 3]
Generated Node #0,3,2: 40:[44, 3] Operation: 22-19=3
Exploring Operation: 44-19=25, Resulting Numbers: [22, 25]
Generated Node #0,3,3: 40:[22, 25] Operation: 44-19=25
Exploring Operation: 44/22=2, Resulting Numbers: [19, 2]
Generated Node #0,3,4: 40:[19, 2] Operation: 44/22=2
Moving to Node #0,4
Current State: 40:[19, 27, 5], Operations: ['49-44=5']
Exploring Operation: 27+5=32, Resulting Numbers: [19, 32]
Generated Node #0,4,0: 40:[19, 32] Operation: 27+5=32
Exploring Operation: 27-19=8, Resulting Numbers: [5, 8]
Generated Node #0,4,1: 40:[5, 8] Operation: 27-19=8
Exploring Operation: 19+5=24, Resulting Numbers: [27, 24]
Generated Node #0,4,2: 40:[27, 24] Operation: 19+5=24
Exploring Operation: 27-5=22, Resulting Numbers: [19, 22]
Generated Node #0,4,3: 40:[19, 22] Operation: 27-5=22
Exploring Operation: 19+27=46, Resulting Numbers: [5, 46]
Generated Node #0,4,4: 40:[5, 46] Operation: 19+27=46
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 40:[5, 8], Operations: ['49-44=5', '27-19=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[19, 27, 49, 44], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [19, 27, 5]
Generated Node #0,4: 40:[19, 27, 5] Operation: 49-44=5
Moving to Node #0,4
Current State: 40:[19, 27, 5], Operations: ['49-44=5']
Exploring Operation: 27-19=8, Resulting Numbers: [5, 8]
Generated Node #0,4,1: 40:[5, 8] Operation: 27-19=8
Moving to Node #0,4,1
Current State: 40:[5, 8], Operations: ['49-44=5', '27-19=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
84,
62,
83,
88
] | 92 | [
"83-62=21",
"84/21=4",
"88+4=92"
] | Current State: 92:[84, 62, 83, 88], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [84, 88, 21]
Generated Node #2: [84, 88, 21] from Operation: 83-62=21
Current State: 92:[84, 88, 21], Operations: ['83-62=21']
Exploring Operation: 84/21=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 84/21=4
Current State: 92:[88, 4], Operations: ['83-62=21', '84/21=4']
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[84, 62, 83, 88], Operations: []
Exploring Operation: 84-62=22, Resulting Numbers: [83, 88, 22]
Generated Node #0,0: 92:[83, 88, 22] Operation: 84-62=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[83, 88, 22], Operations: ['84-62=22']
Exploring Operation: 88-83=5, Resulting Numbers: [22, 5]
Generated Node #0,0,0: 92:[22, 5] Operation: 88-83=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[22, 5], Operations: ['84-62=22', '88-83=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
14,
20,
76
] | 55 | [
"14*76=1064",
"36+1064=1100",
"1100/20=55"
] | Current State: 55:[36, 14, 20, 76], Operations: []
Exploring Operation: 14*76=1064, Resulting Numbers: [36, 20, 1064]
Generated Node #2: [36, 20, 1064] from Operation: 14*76=1064
Current State: 55:[36, 20, 1064], Operations: ['14*76=1064']
Exploring Operation: 36+1064=1100, Resulting Numbers: [20, 1100]
Generated Node #3: [20, 1100] from Operation: 36+1064=1100
Current State: 55:[20, 1100], Operations: ['14*76=1064', '36+1064=1100']
Exploring Operation: 1100/20=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[36, 14, 20, 76], Operations: []
Exploring Operation: 76-20=56, Resulting Numbers: [36, 14, 56]
Generated Node #0,0: 55:[36, 14, 56] Operation: 76-20=56
Moving to Node #0,0
Current State: 55:[36, 14, 56], Operations: ['76-20=56']
Exploring Operation: 36+14=50, Resulting Numbers: [56, 50]
Generated Node #0,0,0: 55:[56, 50] Operation: 36+14=50
Moving to Node #0,0,0
Current State: 55:[56, 50], Operations: ['76-20=56', '36+14=50']
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,55 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
69,
63,
2
] | 42 | [
"69/3=23",
"63+2=65",
"65-23=42"
] | Current State: 42:[3, 69, 63, 2], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [63, 2, 23]
Generated Node #2: [63, 2, 23] from Operation: 69/3=23
Current State: 42:[63, 2, 23], Operations: ['69/3=23']
Exploring Operation: 63+2=65, Resulting Numbers: [23, 65]
Generated Node #3: [23, 65] from Operation: 63+2=65
Current State: 42:[23, 65], Operations: ['69/3=23', '63+2=65']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[3, 69, 63, 2], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [63, 2, 23]
Generated Node #0,0: 42:[63, 2, 23] Operation: 69/3=23
Exploring Operation: 69-63=6, Resulting Numbers: [3, 2, 6]
Generated Node #0,1: 42:[3, 2, 6] Operation: 69-63=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[3, 2, 6], Operations: ['69-63=6']
Exploring Operation: 6-3=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 42:[2, 3] Operation: 6-3=3
Exploring Operation: 3*2=6, Resulting Numbers: [6, 6]
Generated Node #0,1,1: 42:[6, 6] Operation: 3*2=6
Moving to Node #0,1,0
Current State: 42:[2, 3], Operations: ['69-63=6', '6-3=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[6, 6], Operations: ['69-63=6', '3*2=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[63, 2, 23], Operations: ['69/3=23']
Exploring Operation: 63-2=61, Resulting Numbers: [23, 61]
Generated Node #0,0,0: 42:[23, 61] Operation: 63-2=61
Exploring Operation: 63-23=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 42:[2, 40] Operation: 63-23=40
Moving to Node #0,0,1
Current State: 42:[2, 40], Operations: ['69/3=23', '63-23=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[3, 69, 63, 2], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [63, 2, 23]
Generated Node #0,0: 42:[63, 2, 23] Operation: 69/3=23
Moving to Node #0,0
Current State: 42:[63, 2, 23], Operations: ['69/3=23']
Exploring Operation: 63-23=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 42:[2, 40] Operation: 63-23=40
Moving to Node #0,0,1
Current State: 42:[2, 40], Operations: ['69/3=23', '63-23=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
37,
61,
58,
97
] | 51 | [
"37*97=3589",
"61*58=3538",
"3589-3538=51"
] | Current State: 51:[37, 61, 58, 97], Operations: []
Exploring Operation: 37*97=3589, Resulting Numbers: [61, 58, 3589]
Generated Node #2: [61, 58, 3589] from Operation: 37*97=3589
Current State: 51:[61, 58, 3589], Operations: ['37*97=3589']
Exploring Operation: 61*58=3538, Resulting Numbers: [3589, 3538]
Generated Node #3: [3589, 3538] from Operation: 61*58=3538
Current State: 51:[3589, 3538], Operations: ['37*97=3589', '61*58=3538']
Exploring Operation: 3589-3538=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[37, 61, 58, 97], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [58, 97, 24]
Generated Node #0,0: 51:[58, 97, 24] Operation: 61-37=24
Exploring Operation: 97-37=60, Resulting Numbers: [61, 58, 60]
Generated Node #0,1: 51:[61, 58, 60] Operation: 97-37=60
Exploring Operation: 97-61=36, Resulting Numbers: [37, 58, 36]
Generated Node #0,2: 51:[37, 58, 36] Operation: 97-61=36
Exploring Operation: 58-37=21, Resulting Numbers: [61, 97, 21]
Generated Node #0,3: 51:[61, 97, 21] Operation: 58-37=21
Exploring Operation: 97-58=39, Resulting Numbers: [37, 61, 39]
Generated Node #0,4: 51:[37, 61, 39] Operation: 97-58=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[61, 58, 60], Operations: ['97-37=60']
Exploring Operation: 61-60=1, Resulting Numbers: [58, 1]
Generated Node #0,1,0: 51:[58, 1] Operation: 61-60=1
Exploring Operation: 60-58=2, Resulting Numbers: [61, 2]
Generated Node #0,1,1: 51:[61, 2] Operation: 60-58=2
Exploring Operation: 61+58=119, Resulting Numbers: [60, 119]
Generated Node #0,1,2: 51:[60, 119] Operation: 61+58=119
Exploring Operation: 61+60=121, Resulting Numbers: [58, 121]
Generated Node #0,1,3: 51:[58, 121] Operation: 61+60=121
Exploring Operation: 61-58=3, Resulting Numbers: [60, 3]
Generated Node #0,1,4: 51:[60, 3] Operation: 61-58=3
Moving to Node #0,1,0
Current State: 51:[58, 1], Operations: ['97-37=60', '61-60=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,1,4
Current State: 51:[60, 3], Operations: ['97-37=60', '61-58=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[61, 2], Operations: ['97-37=60', '60-58=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[60, 119], Operations: ['97-37=60', '61+58=119']
Exploring Operation: 60*119=7140, Resulting Numbers: [7140]
7140,51 unequal: No Solution
Exploring Operation: 60+119=179, Resulting Numbers: [179]
179,51 unequal: No Solution
Exploring Operation: 119-60=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[58, 121], Operations: ['97-37=60', '61+60=121']
Exploring Operation: 58+121=179, Resulting Numbers: [179]
179,51 unequal: No Solution
Exploring Operation: 121-58=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 58*121=7018, Resulting Numbers: [7018]
7018,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[37, 58, 36], Operations: ['97-61=36']
Exploring Operation: 58-37=21, Resulting Numbers: [36, 21]
Generated Node #0,2,0: 51:[36, 21] Operation: 58-37=21
Exploring Operation: 37-36=1, Resulting Numbers: [58, 1]
Generated Node #0,2,1: 51:[58, 1] Operation: 37-36=1
Exploring Operation: 58-36=22, Resulting Numbers: [37, 22]
Generated Node #0,2,2: 51:[37, 22] Operation: 58-36=22
Exploring Operation: 37+36=73, Resulting Numbers: [58, 73]
Generated Node #0,2,3: 51:[58, 73] Operation: 37+36=73
Exploring Operation: 58+36=94, Resulting Numbers: [37, 94]
Generated Node #0,2,4: 51:[37, 94] Operation: 58+36=94
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[58, 1], Operations: ['97-61=36', '37-36=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[36, 21], Operations: ['97-61=36', '58-37=21']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,51 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[37, 22], Operations: ['97-61=36', '58-36=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,51 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[58, 73], Operations: ['97-61=36', '37+36=73']
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,51 unequal: No Solution
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[37, 94], Operations: ['97-61=36', '58+36=94']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 37+94=131, Resulting Numbers: [131]
131,51 unequal: No Solution
Exploring Operation: 37*94=3478, Resulting Numbers: [3478]
3478,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[37, 61, 39], Operations: ['97-58=39']
Exploring Operation: 37+61=98, Resulting Numbers: [39, 98]
Generated Node #0,4,0: 51:[39, 98] Operation: 37+61=98
Exploring Operation: 37+39=76, Resulting Numbers: [61, 76]
Generated Node #0,4,1: 51:[61, 76] Operation: 37+39=76
Exploring Operation: 61-37=24, Resulting Numbers: [39, 24]
Generated Node #0,4,2: 51:[39, 24] Operation: 61-37=24
Exploring Operation: 61-39=22, Resulting Numbers: [37, 22]
Generated Node #0,4,3: 51:[37, 22] Operation: 61-39=22
Exploring Operation: 39-37=2, Resulting Numbers: [61, 2]
Generated Node #0,4,4: 51:[61, 2] Operation: 39-37=2
Moving to Node #0,4,4
Current State: 51:[61, 2], Operations: ['97-58=39', '39-37=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Moving to Node #0,4,3
Current State: 51:[37, 22], Operations: ['97-58=39', '61-39=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,51 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[39, 24], Operations: ['97-58=39', '61-37=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[61, 76], Operations: ['97-58=39', '37+39=76']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,51 unequal: No Solution
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[39, 98], Operations: ['97-58=39', '37+61=98']
Exploring Operation: 39*98=3822, Resulting Numbers: [3822]
3822,51 unequal: No Solution
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 39+98=137, Resulting Numbers: [137]
137,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[58, 97, 24], Operations: ['61-37=24']
Exploring Operation: 97-24=73, Resulting Numbers: [58, 73]
Generated Node #0,0,0: 51:[58, 73] Operation: 97-24=73
Exploring Operation: 97-58=39, Resulting Numbers: [24, 39]
Generated Node #0,0,1: 51:[24, 39] Operation: 97-58=39
Exploring Operation: 58+24=82, Resulting Numbers: [97, 82]
Generated Node #0,0,2: 51:[97, 82] Operation: 58+24=82
Exploring Operation: 97+24=121, Resulting Numbers: [58, 121]
Generated Node #0,0,3: 51:[58, 121] Operation: 97+24=121
Exploring Operation: 58-24=34, Resulting Numbers: [97, 34]
Generated Node #0,0,4: 51:[97, 34] Operation: 58-24=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[24, 39], Operations: ['61-37=24', '97-58=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[58, 73], Operations: ['61-37=24', '97-24=73']
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,51 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[97, 34], Operations: ['61-37=24', '58-24=34']
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,51 unequal: No Solution
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,51 unequal: No Solution
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[97, 82], Operations: ['61-37=24', '58+24=82']
Exploring Operation: 97+82=179, Resulting Numbers: [179]
179,51 unequal: No Solution
Exploring Operation: 97*82=7954, Resulting Numbers: [7954]
7954,51 unequal: No Solution
Exploring Operation: 97-82=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[58, 121], Operations: ['61-37=24', '97+24=121']
Exploring Operation: 58*121=7018, Resulting Numbers: [7018]
7018,51 unequal: No Solution
Exploring Operation: 121-58=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 58+121=179, Resulting Numbers: [179]
179,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[61, 97, 21], Operations: ['58-37=21']
Exploring Operation: 61+21=82, Resulting Numbers: [97, 82]
Generated Node #0,3,0: 51:[97, 82] Operation: 61+21=82
Exploring Operation: 97+21=118, Resulting Numbers: [61, 118]
Generated Node #0,3,1: 51:[61, 118] Operation: 97+21=118
Exploring Operation: 97-21=76, Resulting Numbers: [61, 76]
Generated Node #0,3,2: 51:[61, 76] Operation: 97-21=76
Exploring Operation: 61-21=40, Resulting Numbers: [97, 40]
Generated Node #0,3,3: 51:[97, 40] Operation: 61-21=40
Exploring Operation: 97-61=36, Resulting Numbers: [21, 36]
Generated Node #0,3,4: 51:[21, 36] Operation: 97-61=36
Moving to Node #0,3,4
Current State: 51:[21, 36], Operations: ['58-37=21', '97-61=36']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[61, 76], Operations: ['58-37=21', '97-21=76']
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,51 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[97, 40], Operations: ['58-37=21', '61-21=40']
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,51 unequal: No Solution
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,51 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[97, 82], Operations: ['58-37=21', '61+21=82']
Exploring Operation: 97*82=7954, Resulting Numbers: [7954]
7954,51 unequal: No Solution
Exploring Operation: 97+82=179, Resulting Numbers: [179]
179,51 unequal: No Solution
Exploring Operation: 97-82=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[61, 118], Operations: ['58-37=21', '97+21=118']
Exploring Operation: 61*118=7198, Resulting Numbers: [7198]
7198,51 unequal: No Solution
Exploring Operation: 61+118=179, Resulting Numbers: [179]
179,51 unequal: No Solution
Exploring Operation: 118-61=57, Resulting Numbers: [57]
57,51 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 |
[
70,
55,
7,
2
] | 60 | [
"70/7=10",
"10/2=5",
"55+5=60"
] | Current State: 60:[70, 55, 7, 2], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [55, 2, 10]
Generated Node #2: [55, 2, 10] from Operation: 70/7=10
Current State: 60:[55, 2, 10], Operations: ['70/7=10']
Exploring Operation: 10/2=5, Resulting Numbers: [55, 5]
Generated Node #3: [55, 5] from Operation: 10/2=5
Current State: 60:[55, 5], Operations: ['70/7=10', '10/2=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[70, 55, 7, 2], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [55, 2, 10]
Generated Node #0,0: 60:[55, 2, 10] Operation: 70/7=10
Exploring Operation: 70/2=35, Resulting Numbers: [55, 7, 35]
Generated Node #0,1: 60:[55, 7, 35] Operation: 70/2=35
Exploring Operation: 70-55=15, Resulting Numbers: [7, 2, 15]
Generated Node #0,2: 60:[7, 2, 15] Operation: 70-55=15
Exploring Operation: 70-7=63, Resulting Numbers: [55, 2, 63]
Generated Node #0,3: 60:[55, 2, 63] Operation: 70-7=63
Moving to Node #0,2
Current State: 60:[7, 2, 15], Operations: ['70-55=15']
Exploring Operation: 2*15=30, Resulting Numbers: [7, 30]
Generated Node #0,2,0: 60:[7, 30] Operation: 2*15=30
Exploring Operation: 7+2=9, Resulting Numbers: [15, 9]
Generated Node #0,2,1: 60:[15, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [15, 14]
Generated Node #0,2,2: 60:[15, 14] Operation: 7*2=14
Exploring Operation: 7-2=5, Resulting Numbers: [15, 5]
Generated Node #0,2,3: 60:[15, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[15, 5], Operations: ['70-55=15', '7-2=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[7, 30], Operations: ['70-55=15', '2*15=30']
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,60 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[15, 9], Operations: ['70-55=15', '7+2=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,60 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[15, 14], Operations: ['70-55=15', '7*2=14']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,60 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,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:[55, 2, 10], Operations: ['70/7=10']
Exploring Operation: 55+10=65, Resulting Numbers: [2, 65]
Generated Node #0,0,0: 60:[2, 65] Operation: 55+10=65
Exploring Operation: 2*10=20, Resulting Numbers: [55, 20]
Generated Node #0,0,1: 60:[55, 20] Operation: 2*10=20
Exploring Operation: 2+10=12, Resulting Numbers: [55, 12]
Generated Node #0,0,2: 60:[55, 12] Operation: 2+10=12
Exploring Operation: 55+2=57, Resulting Numbers: [10, 57]
Generated Node #0,0,3: 60:[10, 57] Operation: 55+2=57
Moving to Node #0,3
Current State: 60:[55, 2, 63], Operations: ['70-7=63']
Exploring Operation: 63-2=61, Resulting Numbers: [55, 61]
Generated Node #0,3,0: 60:[55, 61] Operation: 63-2=61
Exploring Operation: 55-2=53, Resulting Numbers: [63, 53]
Generated Node #0,3,1: 60:[63, 53] Operation: 55-2=53
Exploring Operation: 55+2=57, Resulting Numbers: [63, 57]
Generated Node #0,3,2: 60:[63, 57] Operation: 55+2=57
Exploring Operation: 63-55=8, Resulting Numbers: [2, 8]
Generated Node #0,3,3: 60:[2, 8] Operation: 63-55=8
Moving to Node #0,1
Current State: 60:[55, 7, 35], Operations: ['70/2=35']
Exploring Operation: 35-7=28, Resulting Numbers: [55, 28]
Generated Node #0,1,0: 60:[55, 28] Operation: 35-7=28
Exploring Operation: 55+7=62, Resulting Numbers: [35, 62]
Generated Node #0,1,1: 60:[35, 62] Operation: 55+7=62
Exploring Operation: 35/7=5, Resulting Numbers: [55, 5]
Generated Node #0,1,2: 60:[55, 5] Operation: 35/7=5
Exploring Operation: 55-35=20, Resulting Numbers: [7, 20]
Generated Node #0,1,3: 60:[7, 20] Operation: 55-35=20
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[7, 20], Operations: ['70/2=35', '55-35=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,60 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[55, 5], Operations: ['70/2=35', '35/7=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,60 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[70, 55, 7, 2], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [55, 7, 35]
Generated Node #0,1: 60:[55, 7, 35] Operation: 70/2=35
Moving to Node #0,1
Current State: 60:[55, 7, 35], Operations: ['70/2=35']
Exploring Operation: 35/7=5, Resulting Numbers: [55, 5]
Generated Node #0,1,2: 60:[55, 5] Operation: 35/7=5
Moving to Node #0,1,2
Current State: 60:[55, 5], Operations: ['70/2=35', '35/7=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_4 | sum_heuristic |
[
22,
45,
32,
38
] | 70 | [
"32-22=10",
"45-38=7",
"10*7=70"
] | Current State: 70:[22, 45, 32, 38], Operations: []
Exploring Operation: 32-22=10, Resulting Numbers: [45, 38, 10]
Generated Node #2: [45, 38, 10] from Operation: 32-22=10
Current State: 70:[45, 38, 10], Operations: ['32-22=10']
Exploring Operation: 45-38=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 45-38=7
Current State: 70:[10, 7], Operations: ['32-22=10', '45-38=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[22, 45, 32, 38], Operations: []
Exploring Operation: 45-38=7, Resulting Numbers: [22, 32, 7]
Generated Node #0,0: 70:[22, 32, 7] Operation: 45-38=7
Exploring Operation: 45-22=23, Resulting Numbers: [32, 38, 23]
Generated Node #0,1: 70:[32, 38, 23] Operation: 45-22=23
Exploring Operation: 32-22=10, Resulting Numbers: [45, 38, 10]
Generated Node #0,2: 70:[45, 38, 10] Operation: 32-22=10
Exploring Operation: 45-32=13, Resulting Numbers: [22, 38, 13]
Generated Node #0,3: 70:[22, 38, 13] Operation: 45-32=13
Exploring Operation: 22+45=67, Resulting Numbers: [32, 38, 67]
Generated Node #0,4: 70:[32, 38, 67] Operation: 22+45=67
Moving to Node #0,4
Current State: 70:[32, 38, 67], Operations: ['22+45=67']
Exploring Operation: 32+38=70, Resulting Numbers: [67, 70]
Generated Node #0,4,0: 70:[67, 70] Operation: 32+38=70
Exploring Operation: 67-38=29, Resulting Numbers: [32, 29]
Generated Node #0,4,1: 70:[32, 29] Operation: 67-38=29
Exploring Operation: 67-32=35, Resulting Numbers: [38, 35]
Generated Node #0,4,2: 70:[38, 35] Operation: 67-32=35
Exploring Operation: 38-32=6, Resulting Numbers: [67, 6]
Generated Node #0,4,3: 70:[67, 6] Operation: 38-32=6
Exploring Operation: 32+67=99, Resulting Numbers: [38, 99]
Generated Node #0,4,4: 70:[38, 99] Operation: 32+67=99
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 70:[67, 70], Operations: ['22+45=67', '32+38=70']
Exploring Operation: 67*70=4690, Resulting Numbers: [4690]
4690,70 unequal: No Solution
Exploring Operation: 67+70=137, Resulting Numbers: [137]
137,70 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 70:[38, 35], Operations: ['22+45=67', '67-32=35']
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 38*35=1330, Resulting Numbers: [1330]
1330,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 70:[67, 6], Operations: ['22+45=67', '38-32=6']
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,70 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 70:[32, 29], Operations: ['22+45=67', '67-38=29']
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,70 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 70:[38, 99], Operations: ['22+45=67', '32+67=99']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 38*99=3762, Resulting Numbers: [3762]
3762,70 unequal: No Solution
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[22, 32, 7], Operations: ['45-38=7']
Exploring Operation: 22+32=54, Resulting Numbers: [7, 54]
Generated Node #0,0,0: 70:[7, 54] Operation: 22+32=54
Exploring Operation: 32-22=10, Resulting Numbers: [7, 10]
Generated Node #0,0,1: 70:[7, 10] Operation: 32-22=10
Exploring Operation: 22-7=15, Resulting Numbers: [32, 15]
Generated Node #0,0,2: 70:[32, 15] Operation: 22-7=15
Exploring Operation: 22+7=29, Resulting Numbers: [32, 29]
Generated Node #0,0,3: 70:[32, 29] Operation: 22+7=29
Exploring Operation: 32+7=39, Resulting Numbers: [22, 39]
Generated Node #0,0,4: 70:[22, 39] Operation: 32+7=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[7, 10], Operations: ['45-38=7', '32-22=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[22, 45, 32, 38], Operations: []
Exploring Operation: 45-38=7, Resulting Numbers: [22, 32, 7]
Generated Node #0,0: 70:[22, 32, 7] Operation: 45-38=7
Moving to Node #0,0
Current State: 70:[22, 32, 7], Operations: ['45-38=7']
Exploring Operation: 32-22=10, Resulting Numbers: [7, 10]
Generated Node #0,0,1: 70:[7, 10] Operation: 32-22=10
Moving to Node #0,0,1
Current State: 70:[7, 10], Operations: ['45-38=7', '32-22=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
22,
63,
60,
20
] | 93 | [
"22-20=2",
"60/2=30",
"63+30=93"
] | Current State: 93:[22, 63, 60, 20], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [63, 60, 2]
Generated Node #2: [63, 60, 2] from Operation: 22-20=2
Current State: 93:[63, 60, 2], Operations: ['22-20=2']
Exploring Operation: 60/2=30, Resulting Numbers: [63, 30]
Generated Node #3: [63, 30] from Operation: 60/2=30
Current State: 93:[63, 30], Operations: ['22-20=2', '60/2=30']
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[22, 63, 60, 20], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [22, 20, 3]
Generated Node #0,0: 93:[22, 20, 3] Operation: 63-60=3
Exploring Operation: 60/20=3, Resulting Numbers: [22, 63, 3]
Generated Node #0,1: 93:[22, 63, 3] Operation: 60/20=3
Moving to Node #0,0
Current State: 93:[22, 20, 3], Operations: ['63-60=3']
Exploring Operation: 22-20=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 93:[3, 2] Operation: 22-20=2
Exploring Operation: 22+20=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 93:[3, 42] Operation: 22+20=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[3, 2], Operations: ['63-60=3', '22-20=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,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,1
Current State: 93:[3, 42], Operations: ['63-60=3', '22+20=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,93 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: 93:[22, 63, 3], Operations: ['60/20=3']
Exploring Operation: 63-22=41, Resulting Numbers: [3, 41]
Generated Node #0,1,0: 93:[3, 41] Operation: 63-22=41
Exploring Operation: 22+63=85, Resulting Numbers: [3, 85]
Generated Node #0,1,1: 93:[3, 85] Operation: 22+63=85
Moving to Node #0,1,1
Current State: 93:[3, 85], Operations: ['60/20=3', '22+63=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[3, 41], Operations: ['60/20=3', '63-22=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,93 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
78,
34,
88
] | 11 | [
"14*88=1232",
"78+34=112",
"1232/112=11"
] | Current State: 11:[14, 78, 34, 88], Operations: []
Exploring Operation: 14*88=1232, Resulting Numbers: [78, 34, 1232]
Generated Node #2: [78, 34, 1232] from Operation: 14*88=1232
Current State: 11:[78, 34, 1232], Operations: ['14*88=1232']
Exploring Operation: 78+34=112, Resulting Numbers: [1232, 112]
Generated Node #3: [1232, 112] from Operation: 78+34=112
Current State: 11:[1232, 112], Operations: ['14*88=1232', '78+34=112']
Exploring Operation: 1232/112=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[14, 78, 34, 88], Operations: []
Exploring Operation: 88-78=10, Resulting Numbers: [14, 34, 10]
Generated Node #0,0: 11:[14, 34, 10] Operation: 88-78=10
Exploring Operation: 88-34=54, Resulting Numbers: [14, 78, 54]
Generated Node #0,1: 11:[14, 78, 54] Operation: 88-34=54
Exploring Operation: 78-34=44, Resulting Numbers: [14, 88, 44]
Generated Node #0,2: 11:[14, 88, 44] Operation: 78-34=44
Moving to Node #0,0
Current State: 11:[14, 34, 10], Operations: ['88-78=10']
Exploring Operation: 14-10=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 11:[34, 4] Operation: 14-10=4
Exploring Operation: 34-14=20, Resulting Numbers: [10, 20]
Generated Node #0,0,1: 11:[10, 20] Operation: 34-14=20
Exploring Operation: 34-10=24, Resulting Numbers: [14, 24]
Generated Node #0,0,2: 11:[14, 24] Operation: 34-10=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[10, 20], Operations: ['88-78=10', '34-14=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No 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: 11:[14, 24], Operations: ['88-78=10', '34-10=24']
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,11 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No 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: 11:[34, 4], Operations: ['88-78=10', '14-10=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,11 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: 11:[14, 78, 54], Operations: ['88-34=54']
Exploring Operation: 78-54=24, Resulting Numbers: [14, 24]
Generated Node #0,1,0: 11:[14, 24] Operation: 78-54=24
Exploring Operation: 54-14=40, Resulting Numbers: [78, 40]
Generated Node #0,1,1: 11:[78, 40] Operation: 54-14=40
Exploring Operation: 78-14=64, Resulting Numbers: [54, 64]
Generated Node #0,1,2: 11:[54, 64] Operation: 78-14=64
Moving to Node #0,2
Current State: 11:[14, 88, 44], Operations: ['78-34=44']
Exploring Operation: 88-44=44, Resulting Numbers: [14, 44]
Generated Node #0,2,0: 11:[14, 44] Operation: 88-44=44
Exploring Operation: 88-14=74, Resulting Numbers: [44, 74]
Generated Node #0,2,1: 11:[44, 74] Operation: 88-14=74
Exploring Operation: 88/44=2, Resulting Numbers: [14, 2]
Generated Node #0,2,2: 11:[14, 2] Operation: 88/44=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[14, 2], Operations: ['78-34=44', '88/44=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,11 unequal: No Solution
No 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: 11:[14, 44], Operations: ['78-34=44', '88-44=44']
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,11 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,11 unequal: No Solution
No 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: 11:[44, 74], Operations: ['78-34=44', '88-14=74']
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,11 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 11:[14, 24], Operations: ['88-34=54', '78-54=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,11 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[78, 40], Operations: ['88-34=54', '54-14=40']
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,11 unequal: No Solution
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[54, 64], Operations: ['88-34=54', '78-14=64']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,11 unequal: No Solution
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,11 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
51,
84,
39,
56
] | 18 | [
"51-39=12",
"84*12=1008",
"1008/56=18"
] | Current State: 18:[51, 84, 39, 56], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [84, 56, 12]
Generated Node #2: [84, 56, 12] from Operation: 51-39=12
Current State: 18:[84, 56, 12], Operations: ['51-39=12']
Exploring Operation: 84*12=1008, Resulting Numbers: [56, 1008]
Generated Node #3: [56, 1008] from Operation: 84*12=1008
Current State: 18:[56, 1008], Operations: ['51-39=12', '84*12=1008']
Exploring Operation: 1008/56=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[51, 84, 39, 56], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [51, 39, 28]
Generated Node #0,0: 18:[51, 39, 28] Operation: 84-56=28
Exploring Operation: 56-51=5, Resulting Numbers: [84, 39, 5]
Generated Node #0,1: 18:[84, 39, 5] Operation: 56-51=5
Exploring Operation: 84-51=33, Resulting Numbers: [39, 56, 33]
Generated Node #0,2: 18:[39, 56, 33] Operation: 84-51=33
Moving to Node #0,0
Current State: 18:[51, 39, 28], Operations: ['84-56=28']
Exploring Operation: 51-39=12, Resulting Numbers: [28, 12]
Generated Node #0,0,0: 18:[28, 12] Operation: 51-39=12
Exploring Operation: 39-28=11, Resulting Numbers: [51, 11]
Generated Node #0,0,1: 18:[51, 11] Operation: 39-28=11
Exploring Operation: 51-28=23, Resulting Numbers: [39, 23]
Generated Node #0,0,2: 18:[39, 23] Operation: 51-28=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[28, 12], Operations: ['84-56=28', '51-39=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,18 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[39, 23], Operations: ['84-56=28', '51-28=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,18 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[51, 11], Operations: ['84-56=28', '39-28=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,18 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 18:[39, 56, 33], Operations: ['84-51=33']
Exploring Operation: 56-33=23, Resulting Numbers: [39, 23]
Generated Node #0,2,0: 18:[39, 23] Operation: 56-33=23
Exploring Operation: 56-39=17, Resulting Numbers: [33, 17]
Generated Node #0,2,1: 18:[33, 17] Operation: 56-39=17
Exploring Operation: 39-33=6, Resulting Numbers: [56, 6]
Generated Node #0,2,2: 18:[56, 6] Operation: 39-33=6
Moving to Node #0,1
Current State: 18:[84, 39, 5], Operations: ['56-51=5']
Exploring Operation: 84-5=79, Resulting Numbers: [39, 79]
Generated Node #0,1,0: 18:[39, 79] Operation: 84-5=79
Exploring Operation: 39-5=34, Resulting Numbers: [84, 34]
Generated Node #0,1,1: 18:[84, 34] Operation: 39-5=34
Exploring Operation: 84-39=45, Resulting Numbers: [5, 45]
Generated Node #0,1,2: 18:[5, 45] Operation: 84-39=45
Moving to Node #0,2,1
Current State: 18:[33, 17], Operations: ['84-51=33', '56-39=17']
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,18 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[39, 23], Operations: ['84-51=33', '56-33=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,18 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[5, 45], Operations: ['56-51=5', '84-39=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[56, 6], Operations: ['84-51=33', '39-33=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,18 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[84, 34], Operations: ['56-51=5', '39-5=34']
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,18 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[39, 79], Operations: ['56-51=5', '84-5=79']
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,18 unequal: No Solution
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
55,
25,
57
] | 75 | [
"55-12=43",
"57-25=32",
"43+32=75"
] | Current State: 75:[12, 55, 25, 57], Operations: []
Exploring Operation: 55-12=43, Resulting Numbers: [25, 57, 43]
Generated Node #2: [25, 57, 43] from Operation: 55-12=43
Current State: 75:[25, 57, 43], Operations: ['55-12=43']
Exploring Operation: 57-25=32, Resulting Numbers: [43, 32]
Generated Node #3: [43, 32] from Operation: 57-25=32
Current State: 75:[43, 32], Operations: ['55-12=43', '57-25=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[12, 55, 25, 57], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [12, 25, 2]
Generated Node #0,0: 75:[12, 25, 2] Operation: 57-55=2
Exploring Operation: 12+55=67, Resulting Numbers: [25, 57, 67]
Generated Node #0,1: 75:[25, 57, 67] Operation: 12+55=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[12, 25, 2], Operations: ['57-55=2']
Exploring Operation: 12*2=24, Resulting Numbers: [25, 24]
Generated Node #0,0,0: 75:[25, 24] Operation: 12*2=24
Exploring Operation: 12+2=14, Resulting Numbers: [25, 14]
Generated Node #0,0,1: 75:[25, 14] Operation: 12+2=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[25, 24], Operations: ['57-55=2', '12*2=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[25, 14], Operations: ['57-55=2', '12+2=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[25, 57, 67], Operations: ['12+55=67']
Exploring Operation: 67-57=10, Resulting Numbers: [25, 10]
Generated Node #0,1,0: 75:[25, 10] Operation: 67-57=10
Exploring Operation: 25+57=82, Resulting Numbers: [67, 82]
Generated Node #0,1,1: 75:[67, 82] Operation: 25+57=82
Moving to Node #0,1,0
Current State: 75:[25, 10], Operations: ['12+55=67', '67-57=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[67, 82], Operations: ['12+55=67', '25+57=82']
Exploring Operation: 67+82=149, Resulting Numbers: [149]
149,75 unequal: No Solution
Exploring Operation: 82-67=15, Resulting Numbers: [15]
15,75 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 |
[
23,
68,
6,
54
] | 61 | [
"68-54=14",
"6*14=84",
"84-23=61"
] | Current State: 61:[23, 68, 6, 54], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [23, 6, 14]
Generated Node #2: [23, 6, 14] from Operation: 68-54=14
Current State: 61:[23, 6, 14], Operations: ['68-54=14']
Exploring Operation: 6*14=84, Resulting Numbers: [23, 84]
Generated Node #3: [23, 84] from Operation: 6*14=84
Current State: 61:[23, 84], Operations: ['68-54=14', '6*14=84']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[23, 68, 6, 54], Operations: []
Exploring Operation: 23+6=29, Resulting Numbers: [68, 54, 29]
Generated Node #0,0: 61:[68, 54, 29] Operation: 23+6=29
Exploring Operation: 68-6=62, Resulting Numbers: [23, 54, 62]
Generated Node #0,1: 61:[23, 54, 62] Operation: 68-6=62
Moving to Node #0,0
Current State: 61:[68, 54, 29], Operations: ['23+6=29']
Exploring Operation: 54+29=83, Resulting Numbers: [68, 83]
Generated Node #0,0,0: 61:[68, 83] Operation: 54+29=83
Exploring Operation: 68-29=39, Resulting Numbers: [54, 39]
Generated Node #0,0,1: 61:[54, 39] Operation: 68-29=39
Moving to Node #0,1
Current State: 61:[23, 54, 62], Operations: ['68-6=62']
Exploring Operation: 62-23=39, Resulting Numbers: [54, 39]
Generated Node #0,1,0: 61:[54, 39] Operation: 62-23=39
Exploring Operation: 23+54=77, Resulting Numbers: [62, 77]
Generated Node #0,1,1: 61:[62, 77] Operation: 23+54=77
Moving to Node #0,1,1
Current State: 61:[62, 77], Operations: ['68-6=62', '23+54=77']
Exploring Operation: 62+77=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[68, 83], Operations: ['23+6=29', '54+29=83']
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 68+83=151, Resulting Numbers: [151]
151,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[54, 39], Operations: ['23+6=29', '68-29=39']
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[54, 39], Operations: ['68-6=62', '62-23=39']
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
43,
19,
8
] | 57 | [
"43-38=5",
"8-5=3",
"19*3=57"
] | Current State: 57:[38, 43, 19, 8], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [19, 8, 5]
Generated Node #2: [19, 8, 5] from Operation: 43-38=5
Current State: 57:[19, 8, 5], Operations: ['43-38=5']
Exploring Operation: 8-5=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 8-5=3
Current State: 57:[19, 3], Operations: ['43-38=5', '8-5=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[38, 43, 19, 8], Operations: []
Exploring Operation: 38+19=57, Resulting Numbers: [43, 8, 57]
Generated Node #0,0: 57:[43, 8, 57] Operation: 38+19=57
Exploring Operation: 43-38=5, Resulting Numbers: [19, 8, 5]
Generated Node #0,1: 57:[19, 8, 5] Operation: 43-38=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[19, 8, 5], Operations: ['43-38=5']
Exploring Operation: 8-5=3, Resulting Numbers: [19, 3]
Generated Node #0,1,0: 57:[19, 3] Operation: 8-5=3
Exploring Operation: 8+5=13, Resulting Numbers: [19, 13]
Generated Node #0,1,1: 57:[19, 13] Operation: 8+5=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[19, 3], Operations: ['43-38=5', '8-5=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[38, 43, 19, 8], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [19, 8, 5]
Generated Node #0,1: 57:[19, 8, 5] Operation: 43-38=5
Moving to Node #0,1
Current State: 57:[19, 8, 5], Operations: ['43-38=5']
Exploring Operation: 8-5=3, Resulting Numbers: [19, 3]
Generated Node #0,1,0: 57:[19, 3] Operation: 8-5=3
Moving to Node #0,1,0
Current State: 57:[19, 3], Operations: ['43-38=5', '8-5=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
75,
15,
28,
55
] | 32 | [
"75/15=5",
"55-28=27",
"5+27=32"
] | Current State: 32:[75, 15, 28, 55], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [28, 55, 5]
Generated Node #2: [28, 55, 5] from Operation: 75/15=5
Current State: 32:[28, 55, 5], Operations: ['75/15=5']
Exploring Operation: 55-28=27, Resulting Numbers: [5, 27]
Generated Node #3: [5, 27] from Operation: 55-28=27
Current State: 32:[5, 27], Operations: ['75/15=5', '55-28=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[75, 15, 28, 55], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [15, 55, 47]
Generated Node #0,0: 32:[15, 55, 47] Operation: 75-28=47
Exploring Operation: 75-55=20, Resulting Numbers: [15, 28, 20]
Generated Node #0,1: 32:[15, 28, 20] Operation: 75-55=20
Exploring Operation: 75/15=5, Resulting Numbers: [28, 55, 5]
Generated Node #0,2: 32:[28, 55, 5] Operation: 75/15=5
Moving to Node #0,1
Current State: 32:[15, 28, 20], Operations: ['75-55=20']
Exploring Operation: 28-20=8, Resulting Numbers: [15, 8]
Generated Node #0,1,0: 32:[15, 8] Operation: 28-20=8
Exploring Operation: 28-15=13, Resulting Numbers: [20, 13]
Generated Node #0,1,1: 32:[20, 13] Operation: 28-15=13
Exploring Operation: 20-15=5, Resulting Numbers: [28, 5]
Generated Node #0,1,2: 32:[28, 5] Operation: 20-15=5
Moving to Node #0,2
Current State: 32:[28, 55, 5], Operations: ['75/15=5']
Exploring Operation: 55-28=27, Resulting Numbers: [5, 27]
Generated Node #0,2,0: 32:[5, 27] Operation: 55-28=27
Exploring Operation: 55-5=50, Resulting Numbers: [28, 50]
Generated Node #0,2,1: 32:[28, 50] Operation: 55-5=50
Exploring Operation: 55/5=11, Resulting Numbers: [28, 11]
Generated Node #0,2,2: 32:[28, 11] Operation: 55/5=11
Moving to Node #0,0
Current State: 32:[15, 55, 47], Operations: ['75-28=47']
Exploring Operation: 55-47=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 32:[15, 8] Operation: 55-47=8
Exploring Operation: 55-15=40, Resulting Numbers: [47, 40]
Generated Node #0,0,1: 32:[47, 40] Operation: 55-15=40
Exploring Operation: 47-15=32, Resulting Numbers: [55, 32]
Generated Node #0,0,2: 32:[55, 32] Operation: 47-15=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[15, 8], Operations: ['75-28=47', '55-47=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[47, 40], Operations: ['75-28=47', '55-15=40']
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,32 unequal: No Solution
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[55, 32], Operations: ['75-28=47', '47-15=32']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,32 unequal: No Solution
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 32:[15, 8], Operations: ['75-55=20', '28-20=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[28, 5], Operations: ['75-55=20', '20-15=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,32 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[5, 27], Operations: ['75/15=5', '55-28=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[75, 15, 28, 55], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [28, 55, 5]
Generated Node #0,2: 32:[28, 55, 5] Operation: 75/15=5
Moving to Node #0,2
Current State: 32:[28, 55, 5], Operations: ['75/15=5']
Exploring Operation: 55-28=27, Resulting Numbers: [5, 27]
Generated Node #0,2,0: 32:[5, 27] Operation: 55-28=27
Moving to Node #0,2,0
Current State: 32:[5, 27], Operations: ['75/15=5', '55-28=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.971354 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.