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 |
|---|---|---|---|---|---|---|---|---|
[
39,
19,
85,
1
] | 87 | [
"39-1=38",
"38/19=2",
"85+2=87"
] | Current State: 87:[39, 19, 85, 1], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [19, 85, 38]
Generated Node #2: [19, 85, 38] from Operation: 39-1=38
Current State: 87:[19, 85, 38], Operations: ['39-1=38']
Exploring Operation: 38/19=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 38/19=2
Current State: 87:[85, 2], Operations: ['39-1=38', '38/19=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[39, 19, 85, 1], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [19, 85, 38]
Generated Node #0,0: 87:[19, 85, 38] Operation: 39-1=38
Exploring Operation: 39-19=20, Resulting Numbers: [85, 1, 20]
Generated Node #0,1: 87:[85, 1, 20] Operation: 39-19=20
Exploring Operation: 19+1=20, Resulting Numbers: [39, 85, 20]
Generated Node #0,2: 87:[39, 85, 20] Operation: 19+1=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[85, 1, 20], Operations: ['39-19=20']
Exploring Operation: 85*1=85, Resulting Numbers: [20, 85]
Generated Node #0,1,0: 87:[20, 85] Operation: 85*1=85
Exploring Operation: 1+20=21, Resulting Numbers: [85, 21]
Generated Node #0,1,1: 87:[85, 21] Operation: 1+20=21
Exploring Operation: 85+1=86, Resulting Numbers: [20, 86]
Generated Node #0,1,2: 87:[20, 86] Operation: 85+1=86
Moving to Node #0,1,1
Current State: 87:[85, 21], Operations: ['39-19=20', '1+20=21']
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,87 unequal: No Solution
Exploring Operation: 85*21=1785, Resulting Numbers: [1785]
1785,87 unequal: No Solution
Exploring Operation: 85+21=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[20, 86], Operations: ['39-19=20', '85+1=86']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 20*86=1720, Resulting Numbers: [1720]
1720,87 unequal: No Solution
Exploring Operation: 20+86=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[20, 85], Operations: ['39-19=20', '85*1=85']
Exploring Operation: 20*85=1700, Resulting Numbers: [1700]
1700,87 unequal: No Solution
Exploring Operation: 20+85=105, Resulting Numbers: [105]
105,87 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,87 unequal: No Solution
No 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: 87:[19, 85, 38], Operations: ['39-1=38']
Exploring Operation: 38-19=19, Resulting Numbers: [85, 19]
Generated Node #0,0,0: 87:[85, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [85, 2]
Generated Node #0,0,1: 87:[85, 2] Operation: 38/19=2
Exploring Operation: 19+85=104, Resulting Numbers: [38, 104]
Generated Node #0,0,2: 87:[38, 104] Operation: 19+85=104
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[85, 2], Operations: ['39-1=38', '38/19=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,87 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[39, 19, 85, 1], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [19, 85, 38]
Generated Node #0,0: 87:[19, 85, 38] Operation: 39-1=38
Moving to Node #0,0
Current State: 87:[19, 85, 38], Operations: ['39-1=38']
Exploring Operation: 38/19=2, Resulting Numbers: [85, 2]
Generated Node #0,0,1: 87:[85, 2] Operation: 38/19=2
Moving to Node #0,0,1
Current State: 87:[85, 2], Operations: ['39-1=38', '38/19=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
85,
84,
72,
48
] | 81 | [
"84-72=12",
"48/12=4",
"85-4=81"
] | Current State: 81:[85, 84, 72, 48], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [85, 48, 12]
Generated Node #2: [85, 48, 12] from Operation: 84-72=12
Current State: 81:[85, 48, 12], Operations: ['84-72=12']
Exploring Operation: 48/12=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 48/12=4
Current State: 81:[85, 4], Operations: ['84-72=12', '48/12=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[85, 84, 72, 48], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [85, 84, 24]
Generated Node #0,0: 81:[85, 84, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[85, 84, 24], Operations: ['72-48=24']
Exploring Operation: 85-84=1, Resulting Numbers: [24, 1]
Generated Node #0,0,0: 81:[24, 1] Operation: 85-84=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[24, 1], Operations: ['72-48=24', '85-84=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,81 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 |
[
75,
67,
6,
22
] | 36 | [
"75-67=8",
"6+22=28",
"8+28=36"
] | Current State: 36:[75, 67, 6, 22], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [6, 22, 8]
Generated Node #2: [6, 22, 8] from Operation: 75-67=8
Current State: 36:[6, 22, 8], Operations: ['75-67=8']
Exploring Operation: 6+22=28, Resulting Numbers: [8, 28]
Generated Node #3: [8, 28] from Operation: 6+22=28
Current State: 36:[8, 28], Operations: ['75-67=8', '6+22=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[75, 67, 6, 22], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [75, 6, 45]
Generated Node #0,0: 36:[75, 6, 45] Operation: 67-22=45
Exploring Operation: 75-22=53, Resulting Numbers: [67, 6, 53]
Generated Node #0,1: 36:[67, 6, 53] Operation: 75-22=53
Exploring Operation: 75-67=8, Resulting Numbers: [6, 22, 8]
Generated Node #0,2: 36:[6, 22, 8] Operation: 75-67=8
Moving to Node #0,2
Current State: 36:[6, 22, 8], Operations: ['75-67=8']
Exploring Operation: 22-6=16, Resulting Numbers: [8, 16]
Generated Node #0,2,0: 36:[8, 16] Operation: 22-6=16
Exploring Operation: 22-8=14, Resulting Numbers: [6, 14]
Generated Node #0,2,1: 36:[6, 14] Operation: 22-8=14
Exploring Operation: 8-6=2, Resulting Numbers: [22, 2]
Generated Node #0,2,2: 36:[22, 2] Operation: 8-6=2
Moving to Node #0,0
Current State: 36:[75, 6, 45], Operations: ['67-22=45']
Exploring Operation: 75-6=69, Resulting Numbers: [45, 69]
Generated Node #0,0,0: 36:[45, 69] Operation: 75-6=69
Exploring Operation: 75-45=30, Resulting Numbers: [6, 30]
Generated Node #0,0,1: 36:[6, 30] Operation: 75-45=30
Exploring Operation: 45-6=39, Resulting Numbers: [75, 39]
Generated Node #0,0,2: 36:[75, 39] Operation: 45-6=39
Moving to Node #0,1
Current State: 36:[67, 6, 53], Operations: ['75-22=53']
Exploring Operation: 67-6=61, Resulting Numbers: [53, 61]
Generated Node #0,1,0: 36:[53, 61] Operation: 67-6=61
Exploring Operation: 67-53=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 36:[6, 14] Operation: 67-53=14
Exploring Operation: 53-6=47, Resulting Numbers: [67, 47]
Generated Node #0,1,2: 36:[67, 47] Operation: 53-6=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[6, 14], Operations: ['75-22=53', '67-53=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[53, 61], Operations: ['75-22=53', '67-6=61']
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,36 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[67, 47], Operations: ['75-22=53', '53-6=47']
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,36 unequal: No Solution
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 36:[6, 14], Operations: ['75-67=8', '22-8=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[8, 16], Operations: ['75-67=8', '22-6=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[22, 2], Operations: ['75-67=8', '8-6=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[6, 30], Operations: ['67-22=45', '75-45=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[75, 67, 6, 22], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [75, 6, 45]
Generated Node #0,0: 36:[75, 6, 45] Operation: 67-22=45
Moving to Node #0,0
Current State: 36:[75, 6, 45], Operations: ['67-22=45']
Exploring Operation: 75-45=30, Resulting Numbers: [6, 30]
Generated Node #0,0,1: 36:[6, 30] Operation: 75-45=30
Moving to Node #0,0,1
Current State: 36:[6, 30], Operations: ['67-22=45', '75-45=30']
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.96875 | hs_3 | sum_heuristic |
[
10,
9,
31,
66
] | 16 | [
"10+9=19",
"66-31=35",
"35-19=16"
] | Current State: 16:[10, 9, 31, 66], Operations: []
Exploring Operation: 10+9=19, Resulting Numbers: [31, 66, 19]
Generated Node #2: [31, 66, 19] from Operation: 10+9=19
Current State: 16:[31, 66, 19], Operations: ['10+9=19']
Exploring Operation: 66-31=35, Resulting Numbers: [19, 35]
Generated Node #3: [19, 35] from Operation: 66-31=35
Current State: 16:[19, 35], Operations: ['10+9=19', '66-31=35']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[10, 9, 31, 66], Operations: []
Exploring Operation: 66-31=35, Resulting Numbers: [10, 9, 35]
Generated Node #0,0: 16:[10, 9, 35] Operation: 66-31=35
Exploring Operation: 31-10=21, Resulting Numbers: [9, 66, 21]
Generated Node #0,1: 16:[9, 66, 21] Operation: 31-10=21
Exploring Operation: 66-10=56, Resulting Numbers: [9, 31, 56]
Generated Node #0,2: 16:[9, 31, 56] Operation: 66-10=56
Exploring Operation: 31-9=22, Resulting Numbers: [10, 66, 22]
Generated Node #0,3: 16:[10, 66, 22] Operation: 31-9=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[10, 9, 35], Operations: ['66-31=35']
Exploring Operation: 10-9=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 16:[35, 1] Operation: 10-9=1
Exploring Operation: 35-10=25, Resulting Numbers: [9, 25]
Generated Node #0,0,1: 16:[9, 25] Operation: 35-10=25
Exploring Operation: 35-9=26, Resulting Numbers: [10, 26]
Generated Node #0,0,2: 16:[10, 26] Operation: 35-9=26
Exploring Operation: 10+9=19, Resulting Numbers: [35, 19]
Generated Node #0,0,3: 16:[35, 19] Operation: 10+9=19
Moving to Node #0,0,1
Current State: 16:[9, 25], Operations: ['66-31=35', '35-10=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[10, 9, 31, 66], Operations: []
Exploring Operation: 66-31=35, Resulting Numbers: [10, 9, 35]
Generated Node #0,0: 16:[10, 9, 35] Operation: 66-31=35
Moving to Node #0,0
Current State: 16:[10, 9, 35], Operations: ['66-31=35']
Exploring Operation: 35-10=25, Resulting Numbers: [9, 25]
Generated Node #0,0,1: 16:[9, 25] Operation: 35-10=25
Moving to Node #0,0,1
Current State: 16:[9, 25], Operations: ['66-31=35', '35-10=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
14,
13,
81,
51
] | 29 | [
"14-13=1",
"81-51=30",
"30-1=29"
] | Current State: 29:[14, 13, 81, 51], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [81, 51, 1]
Generated Node #2: [81, 51, 1] from Operation: 14-13=1
Current State: 29:[81, 51, 1], Operations: ['14-13=1']
Exploring Operation: 81-51=30, Resulting Numbers: [1, 30]
Generated Node #3: [1, 30] from Operation: 81-51=30
Current State: 29:[1, 30], Operations: ['14-13=1', '81-51=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[14, 13, 81, 51], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [14, 13, 30]
Generated Node #0,0: 29:[14, 13, 30] Operation: 81-51=30
Moving to Node #0,0
Current State: 29:[14, 13, 30], Operations: ['81-51=30']
Exploring Operation: 14+13=27, Resulting Numbers: [30, 27]
Generated Node #0,0,0: 29:[30, 27] Operation: 14+13=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[30, 27], Operations: ['81-51=30', '14+13=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,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 | sum_heuristic |
[
14,
66,
26,
10
] | 18 | [
"14+66=80",
"80/10=8",
"26-8=18"
] | Current State: 18:[14, 66, 26, 10], Operations: []
Exploring Operation: 14+66=80, Resulting Numbers: [26, 10, 80]
Generated Node #2: [26, 10, 80] from Operation: 14+66=80
Current State: 18:[26, 10, 80], Operations: ['14+66=80']
Exploring Operation: 80/10=8, Resulting Numbers: [26, 8]
Generated Node #3: [26, 8] from Operation: 80/10=8
Current State: 18:[26, 8], Operations: ['14+66=80', '80/10=8']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[14, 66, 26, 10], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [14, 10, 40]
Generated Node #0,0: 18:[14, 10, 40] Operation: 66-26=40
Exploring Operation: 66-14=52, Resulting Numbers: [26, 10, 52]
Generated Node #0,1: 18:[26, 10, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[14, 10, 40], Operations: ['66-26=40']
Exploring Operation: 40-14=26, Resulting Numbers: [10, 26]
Generated Node #0,0,0: 18:[10, 26] Operation: 40-14=26
Exploring Operation: 40/10=4, Resulting Numbers: [14, 4]
Generated Node #0,0,1: 18:[14, 4] Operation: 40/10=4
Moving to Node #0,0,1
Current State: 18:[14, 4], Operations: ['66-26=40', '40/10=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[14, 66, 26, 10], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [14, 10, 40]
Generated Node #0,0: 18:[14, 10, 40] Operation: 66-26=40
Moving to Node #0,0
Current State: 18:[14, 10, 40], Operations: ['66-26=40']
Exploring Operation: 40/10=4, Resulting Numbers: [14, 4]
Generated Node #0,0,1: 18:[14, 4] Operation: 40/10=4
Moving to Node #0,0,1
Current State: 18:[14, 4], Operations: ['66-26=40', '40/10=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
81,
9,
6,
93
] | 54 | [
"81+6=87",
"93-87=6",
"9*6=54"
] | Current State: 54:[81, 9, 6, 93], Operations: []
Exploring Operation: 81+6=87, Resulting Numbers: [9, 93, 87]
Generated Node #2: [9, 93, 87] from Operation: 81+6=87
Current State: 54:[9, 93, 87], Operations: ['81+6=87']
Exploring Operation: 93-87=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 93-87=6
Current State: 54:[9, 6], Operations: ['81+6=87', '93-87=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[81, 9, 6, 93], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [6, 93, 9]
Generated Node #0,0: 54:[6, 93, 9] Operation: 81/9=9
Exploring Operation: 81-9=72, Resulting Numbers: [6, 93, 72]
Generated Node #0,1: 54:[6, 93, 72] Operation: 81-9=72
Exploring Operation: 93-81=12, Resulting Numbers: [9, 6, 12]
Generated Node #0,2: 54:[9, 6, 12] Operation: 93-81=12
Exploring Operation: 93-9=84, Resulting Numbers: [81, 6, 84]
Generated Node #0,3: 54:[81, 6, 84] Operation: 93-9=84
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[9, 6, 12], Operations: ['93-81=12']
Exploring Operation: 12-6=6, Resulting Numbers: [9, 6]
Generated Node #0,2,0: 54:[9, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 54:[9, 2] Operation: 12/6=2
Exploring Operation: 6+12=18, Resulting Numbers: [9, 18]
Generated Node #0,2,2: 54:[9, 18] Operation: 6+12=18
Exploring Operation: 12-9=3, Resulting Numbers: [6, 3]
Generated Node #0,2,3: 54:[6, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[9, 6], Operations: ['93-81=12', '12-6=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[81, 9, 6, 93], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [9, 6, 12]
Generated Node #0,2: 54:[9, 6, 12] Operation: 93-81=12
Moving to Node #0,2
Current State: 54:[9, 6, 12], Operations: ['93-81=12']
Exploring Operation: 12-6=6, Resulting Numbers: [9, 6]
Generated Node #0,2,0: 54:[9, 6] Operation: 12-6=6
Moving to Node #0,2,0
Current State: 54:[9, 6], Operations: ['93-81=12', '12-6=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
12,
14,
49,
45
] | 41 | [
"14-12=2",
"45*2=90",
"90-49=41"
] | Current State: 41:[12, 14, 49, 45], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [49, 45, 2]
Generated Node #2: [49, 45, 2] from Operation: 14-12=2
Current State: 41:[49, 45, 2], Operations: ['14-12=2']
Exploring Operation: 45*2=90, Resulting Numbers: [49, 90]
Generated Node #3: [49, 90] from Operation: 45*2=90
Current State: 41:[49, 90], Operations: ['14-12=2', '45*2=90']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[12, 14, 49, 45], Operations: []
Exploring Operation: 12+14=26, Resulting Numbers: [49, 45, 26]
Generated Node #0,0: 41:[49, 45, 26] Operation: 12+14=26
Moving to Node #0,0
Current State: 41:[49, 45, 26], Operations: ['12+14=26']
Exploring Operation: 49-26=23, Resulting Numbers: [45, 23]
Generated Node #0,0,0: 41:[45, 23] Operation: 49-26=23
Moving to Node #0,0,0
Current State: 41:[45, 23], Operations: ['12+14=26', '49-26=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,41 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
84,
75,
9
] | 11 | [
"75-33=42",
"84/42=2",
"9+2=11"
] | Current State: 11:[33, 84, 75, 9], Operations: []
Exploring Operation: 75-33=42, Resulting Numbers: [84, 9, 42]
Generated Node #2: [84, 9, 42] from Operation: 75-33=42
Current State: 11:[84, 9, 42], Operations: ['75-33=42']
Exploring Operation: 84/42=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 84/42=2
Current State: 11:[9, 2], Operations: ['75-33=42', '84/42=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[33, 84, 75, 9], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [33, 9, 9]
Generated Node #0,0: 11:[33, 9, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[33, 9, 9], Operations: ['84-75=9']
Exploring Operation: 33-9=24, Resulting Numbers: [9, 24]
Generated Node #0,0,0: 11:[9, 24] Operation: 33-9=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[9, 24], Operations: ['84-75=9', '33-9=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,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 |
[
72,
44,
29,
70
] | 69 | [
"72-44=28",
"70-29=41",
"28+41=69"
] | Current State: 69:[72, 44, 29, 70], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [29, 70, 28]
Generated Node #2: [29, 70, 28] from Operation: 72-44=28
Current State: 69:[29, 70, 28], Operations: ['72-44=28']
Exploring Operation: 70-29=41, Resulting Numbers: [28, 41]
Generated Node #3: [28, 41] from Operation: 70-29=41
Current State: 69:[28, 41], Operations: ['72-44=28', '70-29=41']
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[72, 44, 29, 70], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [29, 70, 28]
Generated Node #0,0: 69:[29, 70, 28] Operation: 72-44=28
Exploring Operation: 44-29=15, Resulting Numbers: [72, 70, 15]
Generated Node #0,1: 69:[72, 70, 15] Operation: 44-29=15
Exploring Operation: 44+29=73, Resulting Numbers: [72, 70, 73]
Generated Node #0,2: 69:[72, 70, 73] Operation: 44+29=73
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[72, 70, 73], Operations: ['44+29=73']
Exploring Operation: 72-70=2, Resulting Numbers: [73, 2]
Generated Node #0,2,0: 69:[73, 2] Operation: 72-70=2
Exploring Operation: 73-72=1, Resulting Numbers: [70, 1]
Generated Node #0,2,1: 69:[70, 1] Operation: 73-72=1
Exploring Operation: 73-70=3, Resulting Numbers: [72, 3]
Generated Node #0,2,2: 69:[72, 3] Operation: 73-70=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[70, 1], Operations: ['44+29=73', '73-72=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[72, 44, 29, 70], Operations: []
Exploring Operation: 44+29=73, Resulting Numbers: [72, 70, 73]
Generated Node #0,2: 69:[72, 70, 73] Operation: 44+29=73
Moving to Node #0,2
Current State: 69:[72, 70, 73], Operations: ['44+29=73']
Exploring Operation: 73-72=1, Resulting Numbers: [70, 1]
Generated Node #0,2,1: 69:[70, 1] Operation: 73-72=1
Moving to Node #0,2,1
Current State: 69:[70, 1], Operations: ['44+29=73', '73-72=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
85,
77,
44,
84
] | 37 | [
"44*84=3696",
"3696/77=48",
"85-48=37"
] | Current State: 37:[85, 77, 44, 84], Operations: []
Exploring Operation: 44*84=3696, Resulting Numbers: [85, 77, 3696]
Generated Node #2: [85, 77, 3696] from Operation: 44*84=3696
Current State: 37:[85, 77, 3696], Operations: ['44*84=3696']
Exploring Operation: 3696/77=48, Resulting Numbers: [85, 48]
Generated Node #3: [85, 48] from Operation: 3696/77=48
Current State: 37:[85, 48], Operations: ['44*84=3696', '3696/77=48']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[85, 77, 44, 84], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [77, 44, 1]
Generated Node #0,0: 37:[77, 44, 1] Operation: 85-84=1
Exploring Operation: 85-77=8, Resulting Numbers: [44, 84, 8]
Generated Node #0,1: 37:[44, 84, 8] Operation: 85-77=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[77, 44, 1], Operations: ['85-84=1']
Exploring Operation: 77-1=76, Resulting Numbers: [44, 76]
Generated Node #0,0,0: 37:[44, 76] Operation: 77-1=76
Exploring Operation: 77-44=33, Resulting Numbers: [1, 33]
Generated Node #0,0,1: 37:[1, 33] Operation: 77-44=33
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[1, 33], Operations: ['85-84=1', '77-44=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,37 unequal: No Solution
No 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: 37:[44, 76], Operations: ['85-84=1', '77-1=76']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,37 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: 37:[44, 84, 8], Operations: ['85-77=8']
Exploring Operation: 84-44=40, Resulting Numbers: [8, 40]
Generated Node #0,1,0: 37:[8, 40] Operation: 84-44=40
Exploring Operation: 84-8=76, Resulting Numbers: [44, 76]
Generated Node #0,1,1: 37:[44, 76] Operation: 84-8=76
Moving to Node #0,1,0
Current State: 37:[8, 40], Operations: ['85-77=8', '84-44=40']
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[44, 76], Operations: ['85-77=8', '84-8=76']
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,37 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,
31,
87,
25
] | 38 | [
"87-25=62",
"19*62=1178",
"1178/31=38"
] | Current State: 38:[19, 31, 87, 25], Operations: []
Exploring Operation: 87-25=62, Resulting Numbers: [19, 31, 62]
Generated Node #2: [19, 31, 62] from Operation: 87-25=62
Current State: 38:[19, 31, 62], Operations: ['87-25=62']
Exploring Operation: 19*62=1178, Resulting Numbers: [31, 1178]
Generated Node #3: [31, 1178] from Operation: 19*62=1178
Current State: 38:[31, 1178], Operations: ['87-25=62', '19*62=1178']
Exploring Operation: 1178/31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[19, 31, 87, 25], Operations: []
Exploring Operation: 87-31=56, Resulting Numbers: [19, 25, 56]
Generated Node #0,0: 38:[19, 25, 56] Operation: 87-31=56
Exploring Operation: 25-19=6, Resulting Numbers: [31, 87, 6]
Generated Node #0,1: 38:[31, 87, 6] Operation: 25-19=6
Exploring Operation: 31-25=6, Resulting Numbers: [19, 87, 6]
Generated Node #0,2: 38:[19, 87, 6] Operation: 31-25=6
Exploring Operation: 87-19=68, Resulting Numbers: [31, 25, 68]
Generated Node #0,3: 38:[31, 25, 68] Operation: 87-19=68
Exploring Operation: 87-25=62, Resulting Numbers: [19, 31, 62]
Generated Node #0,4: 38:[19, 31, 62] Operation: 87-25=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[19, 25, 56], Operations: ['87-31=56']
Exploring Operation: 19+25=44, Resulting Numbers: [56, 44]
Generated Node #0,0,0: 38:[56, 44] Operation: 19+25=44
Exploring Operation: 19+56=75, Resulting Numbers: [25, 75]
Generated Node #0,0,1: 38:[25, 75] Operation: 19+56=75
Exploring Operation: 56-19=37, Resulting Numbers: [25, 37]
Generated Node #0,0,2: 38:[25, 37] Operation: 56-19=37
Exploring Operation: 25-19=6, Resulting Numbers: [56, 6]
Generated Node #0,0,3: 38:[56, 6] Operation: 25-19=6
Exploring Operation: 56-25=31, Resulting Numbers: [19, 31]
Generated Node #0,0,4: 38:[19, 31] Operation: 56-25=31
Moving to Node #0,0,2
Current State: 38:[25, 37], Operations: ['87-31=56', '56-19=37']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,38 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[19, 31], Operations: ['87-31=56', '56-25=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[56, 6], Operations: ['87-31=56', '25-19=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[56, 44], Operations: ['87-31=56', '19+25=44']
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,38 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[25, 75], Operations: ['87-31=56', '19+56=75']
Exploring Operation: 25+75=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 25*75=1875, Resulting Numbers: [1875]
1875,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 38:[19, 31, 62], Operations: ['87-25=62']
Exploring Operation: 62-19=43, Resulting Numbers: [31, 43]
Generated Node #0,4,0: 38:[31, 43] Operation: 62-19=43
Exploring Operation: 19+31=50, Resulting Numbers: [62, 50]
Generated Node #0,4,1: 38:[62, 50] Operation: 19+31=50
Exploring Operation: 62/31=2, Resulting Numbers: [19, 2]
Generated Node #0,4,2: 38:[19, 2] Operation: 62/31=2
Exploring Operation: 31-19=12, Resulting Numbers: [62, 12]
Generated Node #0,4,3: 38:[62, 12] Operation: 31-19=12
Exploring Operation: 62-31=31, Resulting Numbers: [19, 31]
Generated Node #0,4,4: 38:[19, 31] Operation: 62-31=31
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 38:[19, 2], Operations: ['87-25=62', '62/31=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[19, 31, 87, 25], Operations: []
Exploring Operation: 87-25=62, Resulting Numbers: [19, 31, 62]
Generated Node #0,4: 38:[19, 31, 62] Operation: 87-25=62
Moving to Node #0,4
Current State: 38:[19, 31, 62], Operations: ['87-25=62']
Exploring Operation: 62/31=2, Resulting Numbers: [19, 2]
Generated Node #0,4,2: 38:[19, 2] Operation: 62/31=2
Moving to Node #0,4,2
Current State: 38:[19, 2], Operations: ['87-25=62', '62/31=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
2,
95,
11,
82
] | 37 | [
"95-82=13",
"2*13=26",
"11+26=37"
] | Current State: 37:[2, 95, 11, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [2, 11, 13]
Generated Node #2: [2, 11, 13] from Operation: 95-82=13
Current State: 37:[2, 11, 13], Operations: ['95-82=13']
Exploring Operation: 2*13=26, Resulting Numbers: [11, 26]
Generated Node #3: [11, 26] from Operation: 2*13=26
Current State: 37:[11, 26], Operations: ['95-82=13', '2*13=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[2, 95, 11, 82], Operations: []
Exploring Operation: 2+11=13, Resulting Numbers: [95, 82, 13]
Generated Node #0,0: 37:[95, 82, 13] Operation: 2+11=13
Exploring Operation: 95-2=93, Resulting Numbers: [11, 82, 93]
Generated Node #0,1: 37:[11, 82, 93] Operation: 95-2=93
Exploring Operation: 82/2=41, Resulting Numbers: [95, 11, 41]
Generated Node #0,2: 37:[95, 11, 41] Operation: 82/2=41
Exploring Operation: 2*11=22, Resulting Numbers: [95, 82, 22]
Generated Node #0,3: 37:[95, 82, 22] Operation: 2*11=22
Exploring Operation: 95-82=13, Resulting Numbers: [2, 11, 13]
Generated Node #0,4: 37:[2, 11, 13] Operation: 95-82=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[2, 11, 13], Operations: ['95-82=13']
Exploring Operation: 2+11=13, Resulting Numbers: [13, 13]
Generated Node #0,4,0: 37:[13, 13] Operation: 2+11=13
Exploring Operation: 2+13=15, Resulting Numbers: [11, 15]
Generated Node #0,4,1: 37:[11, 15] Operation: 2+13=15
Exploring Operation: 2*11=22, Resulting Numbers: [13, 22]
Generated Node #0,4,2: 37:[13, 22] Operation: 2*11=22
Exploring Operation: 2*13=26, Resulting Numbers: [11, 26]
Generated Node #0,4,3: 37:[11, 26] Operation: 2*13=26
Exploring Operation: 11+13=24, Resulting Numbers: [2, 24]
Generated Node #0,4,4: 37:[2, 24] Operation: 11+13=24
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 37:[11, 26], Operations: ['95-82=13', '2*13=26']
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,37 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[2, 95, 11, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [2, 11, 13]
Generated Node #0,4: 37:[2, 11, 13] Operation: 95-82=13
Moving to Node #0,4
Current State: 37:[2, 11, 13], Operations: ['95-82=13']
Exploring Operation: 2*13=26, Resulting Numbers: [11, 26]
Generated Node #0,4,3: 37:[11, 26] Operation: 2*13=26
Moving to Node #0,4,3
Current State: 37:[11, 26], Operations: ['95-82=13', '2*13=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
20,
42,
14,
11
] | 93 | [
"20+11=31",
"42/14=3",
"31*3=93"
] | Current State: 93:[20, 42, 14, 11], Operations: []
Exploring Operation: 20+11=31, Resulting Numbers: [42, 14, 31]
Generated Node #2: [42, 14, 31] from Operation: 20+11=31
Current State: 93:[42, 14, 31], Operations: ['20+11=31']
Exploring Operation: 42/14=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 42/14=3
Current State: 93:[31, 3], Operations: ['20+11=31', '42/14=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[20, 42, 14, 11], Operations: []
Exploring Operation: 20+14=34, Resulting Numbers: [42, 11, 34]
Generated Node #0,0: 93:[42, 11, 34] Operation: 20+14=34
Exploring Operation: 42/14=3, Resulting Numbers: [20, 11, 3]
Generated Node #0,1: 93:[20, 11, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [20, 11, 28]
Generated Node #0,2: 93:[20, 11, 28] Operation: 42-14=28
Exploring Operation: 20-14=6, Resulting Numbers: [42, 11, 6]
Generated Node #0,3: 93:[42, 11, 6] Operation: 20-14=6
Exploring Operation: 20+11=31, Resulting Numbers: [42, 14, 31]
Generated Node #0,4: 93:[42, 14, 31] Operation: 20+11=31
Moving to Node #0,1
Current State: 93:[20, 11, 3], Operations: ['42/14=3']
Exploring Operation: 11*3=33, Resulting Numbers: [20, 33]
Generated Node #0,1,0: 93:[20, 33] Operation: 11*3=33
Exploring Operation: 20+11=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 93:[3, 31] Operation: 20+11=31
Exploring Operation: 20+3=23, Resulting Numbers: [11, 23]
Generated Node #0,1,2: 93:[11, 23] Operation: 20+3=23
Exploring Operation: 11-3=8, Resulting Numbers: [20, 8]
Generated Node #0,1,3: 93:[20, 8] Operation: 11-3=8
Exploring Operation: 20-11=9, Resulting Numbers: [3, 9]
Generated Node #0,1,4: 93:[3, 9] Operation: 20-11=9
Moving to Node #0,2
Current State: 93:[20, 11, 28], Operations: ['42-14=28']
Exploring Operation: 28-20=8, Resulting Numbers: [11, 8]
Generated Node #0,2,0: 93:[11, 8] Operation: 28-20=8
Exploring Operation: 11+28=39, Resulting Numbers: [20, 39]
Generated Node #0,2,1: 93:[20, 39] Operation: 11+28=39
Exploring Operation: 20+28=48, Resulting Numbers: [11, 48]
Generated Node #0,2,2: 93:[11, 48] Operation: 20+28=48
Exploring Operation: 20+11=31, Resulting Numbers: [28, 31]
Generated Node #0,2,3: 93:[28, 31] Operation: 20+11=31
Exploring Operation: 20-11=9, Resulting Numbers: [28, 9]
Generated Node #0,2,4: 93:[28, 9] Operation: 20-11=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[28, 31], Operations: ['42-14=28', '20+11=31']
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,93 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[28, 9], Operations: ['42-14=28', '20-11=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,93 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[11, 8], Operations: ['42-14=28', '28-20=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[20, 39], Operations: ['42-14=28', '11+28=39']
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[11, 48], Operations: ['42-14=28', '20+28=48']
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,93 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,93 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: 93:[42, 14, 31], Operations: ['20+11=31']
Exploring Operation: 42/14=3, Resulting Numbers: [31, 3]
Generated Node #0,4,0: 93:[31, 3] Operation: 42/14=3
Exploring Operation: 42+14=56, Resulting Numbers: [31, 56]
Generated Node #0,4,1: 93:[31, 56] Operation: 42+14=56
Exploring Operation: 42-31=11, Resulting Numbers: [14, 11]
Generated Node #0,4,2: 93:[14, 11] Operation: 42-31=11
Exploring Operation: 14+31=45, Resulting Numbers: [42, 45]
Generated Node #0,4,3: 93:[42, 45] Operation: 14+31=45
Exploring Operation: 42-14=28, Resulting Numbers: [31, 28]
Generated Node #0,4,4: 93:[31, 28] Operation: 42-14=28
Moving to Node #0,0
Current State: 93:[42, 11, 34], Operations: ['20+14=34']
Exploring Operation: 34-11=23, Resulting Numbers: [42, 23]
Generated Node #0,0,0: 93:[42, 23] Operation: 34-11=23
Exploring Operation: 42-34=8, Resulting Numbers: [11, 8]
Generated Node #0,0,1: 93:[11, 8] Operation: 42-34=8
Exploring Operation: 42+11=53, Resulting Numbers: [34, 53]
Generated Node #0,0,2: 93:[34, 53] Operation: 42+11=53
Exploring Operation: 42+34=76, Resulting Numbers: [11, 76]
Generated Node #0,0,3: 93:[11, 76] Operation: 42+34=76
Exploring Operation: 42-11=31, Resulting Numbers: [34, 31]
Generated Node #0,0,4: 93:[34, 31] Operation: 42-11=31
Moving to Node #0,3
Current State: 93:[42, 11, 6], Operations: ['20-14=6']
Exploring Operation: 42/6=7, Resulting Numbers: [11, 7]
Generated Node #0,3,0: 93:[11, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [11, 36]
Generated Node #0,3,1: 93:[11, 36] Operation: 42-6=36
Exploring Operation: 42-11=31, Resulting Numbers: [6, 31]
Generated Node #0,3,2: 93:[6, 31] Operation: 42-11=31
Exploring Operation: 42+11=53, Resulting Numbers: [6, 53]
Generated Node #0,3,3: 93:[6, 53] Operation: 42+11=53
Exploring Operation: 11-6=5, Resulting Numbers: [42, 5]
Generated Node #0,3,4: 93:[42, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[6, 31], Operations: ['20-14=6', '42-11=31']
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,93 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,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,3,0
Current State: 93:[11, 7], Operations: ['20-14=6', '42/6=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,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,3,1
Current State: 93:[11, 36], Operations: ['20-14=6', '42-6=36']
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,93 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,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,3,4
Current State: 93:[42, 5], Operations: ['20-14=6', '11-6=5']
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,93 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,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,3,3
Current State: 93:[6, 53], Operations: ['20-14=6', '42+11=53']
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,93 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 93:[3, 31], Operations: ['42/14=3', '20+11=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[20, 42, 14, 11], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [20, 11, 3]
Generated Node #0,1: 93:[20, 11, 3] Operation: 42/14=3
Moving to Node #0,1
Current State: 93:[20, 11, 3], Operations: ['42/14=3']
Exploring Operation: 20+11=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 93:[3, 31] Operation: 20+11=31
Moving to Node #0,1,1
Current State: 93:[3, 31], Operations: ['42/14=3', '20+11=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.94184 | hs_5 | mult_heuristic |
[
14,
86,
1,
28
] | 42 | [
"14*86=1204",
"1204/28=43",
"43-1=42"
] | Current State: 42:[14, 86, 1, 28], Operations: []
Exploring Operation: 14*86=1204, Resulting Numbers: [1, 28, 1204]
Generated Node #2: [1, 28, 1204] from Operation: 14*86=1204
Current State: 42:[1, 28, 1204], Operations: ['14*86=1204']
Exploring Operation: 1204/28=43, Resulting Numbers: [1, 43]
Generated Node #3: [1, 43] from Operation: 1204/28=43
Current State: 42:[1, 43], Operations: ['14*86=1204', '1204/28=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[14, 86, 1, 28], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [1, 28, 72]
Generated Node #0,0: 42:[1, 28, 72] Operation: 86-14=72
Exploring Operation: 14+28=42, Resulting Numbers: [86, 1, 42]
Generated Node #0,1: 42:[86, 1, 42] Operation: 14+28=42
Exploring Operation: 86-28=58, Resulting Numbers: [14, 1, 58]
Generated Node #0,2: 42:[14, 1, 58] Operation: 86-28=58
Exploring Operation: 28-14=14, Resulting Numbers: [86, 1, 14]
Generated Node #0,3: 42:[86, 1, 14] Operation: 28-14=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[14, 1, 58], Operations: ['86-28=58']
Exploring Operation: 58-14=44, Resulting Numbers: [1, 44]
Generated Node #0,2,0: 42:[1, 44] Operation: 58-14=44
Exploring Operation: 58-1=57, Resulting Numbers: [14, 57]
Generated Node #0,2,1: 42:[14, 57] Operation: 58-1=57
Exploring Operation: 14*1=14, Resulting Numbers: [58, 14]
Generated Node #0,2,2: 42:[58, 14] Operation: 14*1=14
Exploring Operation: 14/1=14, Resulting Numbers: [58, 14]
Generated Node #0,2,3: 42:[58, 14] Operation: 14/1=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[1, 44], Operations: ['86-28=58', '58-14=44']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,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,2,1
Current State: 42:[14, 57], Operations: ['86-28=58', '58-1=57']
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,42 unequal: No Solution
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,42 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,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,2,2
Current State: 42:[58, 14], Operations: ['86-28=58', '14*1=14']
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,42 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,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,2,3
Current State: 42:[58, 14], Operations: ['86-28=58', '14/1=14']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[1, 28, 72], Operations: ['86-14=72']
Exploring Operation: 72-28=44, Resulting Numbers: [1, 44]
Generated Node #0,0,0: 42:[1, 44] Operation: 72-28=44
Exploring Operation: 28-1=27, Resulting Numbers: [72, 27]
Generated Node #0,0,1: 42:[72, 27] Operation: 28-1=27
Exploring Operation: 1*28=28, Resulting Numbers: [72, 28]
Generated Node #0,0,2: 42:[72, 28] Operation: 1*28=28
Exploring Operation: 72-1=71, Resulting Numbers: [28, 71]
Generated Node #0,0,3: 42:[28, 71] Operation: 72-1=71
Moving to Node #0,0,0
Current State: 42:[1, 44], Operations: ['86-14=72', '72-28=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[28, 71], Operations: ['86-14=72', '72-1=71']
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,42 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[72, 27], Operations: ['86-14=72', '28-1=27']
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,42 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[72, 28], Operations: ['86-14=72', '1*28=28']
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,42 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,42 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[86, 1, 42], Operations: ['14+28=42']
Exploring Operation: 86-1=85, Resulting Numbers: [42, 85]
Generated Node #0,1,0: 42:[42, 85] Operation: 86-1=85
Exploring Operation: 86/1=86, Resulting Numbers: [42, 86]
Generated Node #0,1,1: 42:[42, 86] Operation: 86/1=86
Exploring Operation: 86-42=44, Resulting Numbers: [1, 44]
Generated Node #0,1,2: 42:[1, 44] Operation: 86-42=44
Exploring Operation: 86*1=86, Resulting Numbers: [42, 86]
Generated Node #0,1,3: 42:[42, 86] Operation: 86*1=86
Moving to Node #0,1,2
Current State: 42:[1, 44], Operations: ['14+28=42', '86-42=44']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[42, 85], Operations: ['14+28=42', '86-1=85']
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,42 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,42 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[42, 86], Operations: ['14+28=42', '86*1=86']
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,42 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,42 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[42, 86], Operations: ['14+28=42', '86/1=86']
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,42 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,42 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,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,3
Current State: 42:[86, 1, 14], Operations: ['28-14=14']
Exploring Operation: 86/1=86, Resulting Numbers: [14, 86]
Generated Node #0,3,0: 42:[14, 86] Operation: 86/1=86
Exploring Operation: 86-14=72, Resulting Numbers: [1, 72]
Generated Node #0,3,1: 42:[1, 72] Operation: 86-14=72
Exploring Operation: 86*1=86, Resulting Numbers: [14, 86]
Generated Node #0,3,2: 42:[14, 86] Operation: 86*1=86
Exploring Operation: 86-1=85, Resulting Numbers: [14, 85]
Generated Node #0,3,3: 42:[14, 85] Operation: 86-1=85
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 42:[1, 72], Operations: ['28-14=14', '86-14=72']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,42 unequal: No Solution
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 1+72=73, Resulting Numbers: [73]
73,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,3,3
Current State: 42:[14, 85], Operations: ['28-14=14', '86-1=85']
Exploring Operation: 14+85=99, Resulting Numbers: [99]
99,42 unequal: No Solution
Exploring Operation: 14*85=1190, Resulting Numbers: [1190]
1190,42 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,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,3,0
Current State: 42:[14, 86], Operations: ['28-14=14', '86/1=86']
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,42 unequal: No Solution
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,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,3,2
Current State: 42:[14, 86], Operations: ['28-14=14', '86*1=86']
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,42 unequal: No Solution
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,42 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,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_4 | sum_heuristic |
[
49,
25,
52,
91
] | 16 | [
"52-49=3",
"25*3=75",
"91-75=16"
] | Current State: 16:[49, 25, 52, 91], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [25, 91, 3]
Generated Node #2: [25, 91, 3] from Operation: 52-49=3
Current State: 16:[25, 91, 3], Operations: ['52-49=3']
Exploring Operation: 25*3=75, Resulting Numbers: [91, 75]
Generated Node #3: [91, 75] from Operation: 25*3=75
Current State: 16:[91, 75], Operations: ['52-49=3', '25*3=75']
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[49, 25, 52, 91], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [25, 52, 42]
Generated Node #0,0: 16:[25, 52, 42] Operation: 91-49=42
Exploring Operation: 91-52=39, Resulting Numbers: [49, 25, 39]
Generated Node #0,1: 16:[49, 25, 39] Operation: 91-52=39
Exploring Operation: 52-49=3, Resulting Numbers: [25, 91, 3]
Generated Node #0,2: 16:[25, 91, 3] Operation: 52-49=3
Exploring Operation: 49-25=24, Resulting Numbers: [52, 91, 24]
Generated Node #0,3: 16:[52, 91, 24] Operation: 49-25=24
Moving to Node #0,1
Current State: 16:[49, 25, 39], Operations: ['91-52=39']
Exploring Operation: 49+25=74, Resulting Numbers: [39, 74]
Generated Node #0,1,0: 16:[39, 74] Operation: 49+25=74
Exploring Operation: 49-39=10, Resulting Numbers: [25, 10]
Generated Node #0,1,1: 16:[25, 10] Operation: 49-39=10
Exploring Operation: 49-25=24, Resulting Numbers: [39, 24]
Generated Node #0,1,2: 16:[39, 24] Operation: 49-25=24
Exploring Operation: 39-25=14, Resulting Numbers: [49, 14]
Generated Node #0,1,3: 16:[49, 14] Operation: 39-25=14
Moving to Node #0,0
Current State: 16:[25, 52, 42], Operations: ['91-49=42']
Exploring Operation: 52-42=10, Resulting Numbers: [25, 10]
Generated Node #0,0,0: 16:[25, 10] Operation: 52-42=10
Exploring Operation: 52-25=27, Resulting Numbers: [42, 27]
Generated Node #0,0,1: 16:[42, 27] Operation: 52-25=27
Exploring Operation: 25+52=77, Resulting Numbers: [42, 77]
Generated Node #0,0,2: 16:[42, 77] Operation: 25+52=77
Exploring Operation: 42-25=17, Resulting Numbers: [52, 17]
Generated Node #0,0,3: 16:[52, 17] Operation: 42-25=17
Moving to Node #0,2
Current State: 16:[25, 91, 3], Operations: ['52-49=3']
Exploring Operation: 25-3=22, Resulting Numbers: [91, 22]
Generated Node #0,2,0: 16:[91, 22] Operation: 25-3=22
Exploring Operation: 25+3=28, Resulting Numbers: [91, 28]
Generated Node #0,2,1: 16:[91, 28] Operation: 25+3=28
Exploring Operation: 91-25=66, Resulting Numbers: [3, 66]
Generated Node #0,2,2: 16:[3, 66] Operation: 91-25=66
Exploring Operation: 91-3=88, Resulting Numbers: [25, 88]
Generated Node #0,2,3: 16:[25, 88] Operation: 91-3=88
Moving to Node #0,3
Current State: 16:[52, 91, 24], Operations: ['49-25=24']
Exploring Operation: 91-24=67, Resulting Numbers: [52, 67]
Generated Node #0,3,0: 16:[52, 67] Operation: 91-24=67
Exploring Operation: 52-24=28, Resulting Numbers: [91, 28]
Generated Node #0,3,1: 16:[91, 28] Operation: 52-24=28
Exploring Operation: 52+91=143, Resulting Numbers: [24, 143]
Generated Node #0,3,2: 16:[24, 143] Operation: 52+91=143
Exploring Operation: 91-52=39, Resulting Numbers: [24, 39]
Generated Node #0,3,3: 16:[24, 39] Operation: 91-52=39
Moving to Node #0,1,1
Current State: 16:[25, 10], Operations: ['91-52=39', '49-39=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,16 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[25, 10], Operations: ['91-49=42', '52-42=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,16 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[24, 39], Operations: ['49-25=24', '91-52=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[39, 24], Operations: ['91-52=39', '49-25=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[49, 14], Operations: ['91-52=39', '39-25=14']
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,16 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[52, 17], Operations: ['91-49=42', '42-25=17']
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[42, 27], Operations: ['91-49=42', '52-25=27']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 42*27=1134, Resulting Numbers: [1134]
1134,16 unequal: No Solution
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[3, 66], Operations: ['52-49=3', '91-25=66']
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,16 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[25, 88], Operations: ['52-49=3', '91-3=88']
Exploring Operation: 25*88=2200, Resulting Numbers: [2200]
2200,16 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 25+88=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[91, 22], Operations: ['52-49=3', '25-3=22']
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,16 unequal: No Solution
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[39, 74], Operations: ['91-52=39', '49+25=74']
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,16 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[91, 28], Operations: ['49-25=24', '52-24=28']
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,16 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[91, 28], Operations: ['52-49=3', '25+3=28']
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,16 unequal: No Solution
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,16 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[52, 67], Operations: ['49-25=24', '91-24=67']
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,16 unequal: No Solution
Exploring Operation: 52*67=3484, Resulting Numbers: [3484]
3484,16 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[42, 77], Operations: ['91-49=42', '25+52=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,16 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,16 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[24, 143], Operations: ['49-25=24', '52+91=143']
Exploring Operation: 143-24=119, Resulting Numbers: [119]
119,16 unequal: No Solution
Exploring Operation: 24+143=167, Resulting Numbers: [167]
167,16 unequal: No Solution
Exploring Operation: 24*143=3432, Resulting Numbers: [3432]
3432,16 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
71,
84,
17,
85
] | 89 | [
"84-71=13",
"17+85=102",
"102-13=89"
] | Current State: 89:[71, 84, 17, 85], Operations: []
Exploring Operation: 84-71=13, Resulting Numbers: [17, 85, 13]
Generated Node #2: [17, 85, 13] from Operation: 84-71=13
Current State: 89:[17, 85, 13], Operations: ['84-71=13']
Exploring Operation: 17+85=102, Resulting Numbers: [13, 102]
Generated Node #3: [13, 102] from Operation: 17+85=102
Current State: 89:[13, 102], Operations: ['84-71=13', '17+85=102']
Exploring Operation: 102-13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[71, 84, 17, 85], Operations: []
Exploring Operation: 17+85=102, Resulting Numbers: [71, 84, 102]
Generated Node #0,0: 89:[71, 84, 102] Operation: 17+85=102
Exploring Operation: 71+17=88, Resulting Numbers: [84, 85, 88]
Generated Node #0,1: 89:[84, 85, 88] Operation: 71+17=88
Exploring Operation: 84-17=67, Resulting Numbers: [71, 85, 67]
Generated Node #0,2: 89:[71, 85, 67] Operation: 84-17=67
Exploring Operation: 71-17=54, Resulting Numbers: [84, 85, 54]
Generated Node #0,3: 89:[84, 85, 54] Operation: 71-17=54
Exploring Operation: 84+17=101, Resulting Numbers: [71, 85, 101]
Generated Node #0,4: 89:[71, 85, 101] Operation: 84+17=101
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[84, 85, 88], Operations: ['71+17=88']
Exploring Operation: 84+88=172, Resulting Numbers: [85, 172]
Generated Node #0,1,0: 89:[85, 172] Operation: 84+88=172
Exploring Operation: 85+88=173, Resulting Numbers: [84, 173]
Generated Node #0,1,1: 89:[84, 173] Operation: 85+88=173
Exploring Operation: 84+85=169, Resulting Numbers: [88, 169]
Generated Node #0,1,2: 89:[88, 169] Operation: 84+85=169
Exploring Operation: 85-84=1, Resulting Numbers: [88, 1]
Generated Node #0,1,3: 89:[88, 1] Operation: 85-84=1
Exploring Operation: 88-84=4, Resulting Numbers: [85, 4]
Generated Node #0,1,4: 89:[85, 4] Operation: 88-84=4
Moving to Node #0,1,2
Current State: 89:[88, 169], Operations: ['71+17=88', '84+85=169']
Exploring Operation: 88*169=14872, Resulting Numbers: [14872]
14872,89 unequal: No Solution
Exploring Operation: 169-88=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Exploring Operation: 88+169=257, Resulting Numbers: [257]
257,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[85, 172], Operations: ['71+17=88', '84+88=172']
Exploring Operation: 85*172=14620, Resulting Numbers: [14620]
14620,89 unequal: No Solution
Exploring Operation: 85+172=257, Resulting Numbers: [257]
257,89 unequal: No Solution
Exploring Operation: 172-85=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[84, 173], Operations: ['71+17=88', '85+88=173']
Exploring Operation: 173-84=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[71, 84, 17, 85], Operations: []
Exploring Operation: 71+17=88, Resulting Numbers: [84, 85, 88]
Generated Node #0,1: 89:[84, 85, 88] Operation: 71+17=88
Moving to Node #0,1
Current State: 89:[84, 85, 88], Operations: ['71+17=88']
Exploring Operation: 85+88=173, Resulting Numbers: [84, 173]
Generated Node #0,1,1: 89:[84, 173] Operation: 85+88=173
Moving to Node #0,1,1
Current State: 89:[84, 173], Operations: ['71+17=88', '85+88=173']
Exploring Operation: 173-84=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
97,
96,
4,
81
] | 32 | [
"97-81=16",
"4*16=64",
"96-64=32"
] | Current State: 32:[97, 96, 4, 81], Operations: []
Exploring Operation: 97-81=16, Resulting Numbers: [96, 4, 16]
Generated Node #2: [96, 4, 16] from Operation: 97-81=16
Current State: 32:[96, 4, 16], Operations: ['97-81=16']
Exploring Operation: 4*16=64, Resulting Numbers: [96, 64]
Generated Node #3: [96, 64] from Operation: 4*16=64
Current State: 32:[96, 64], Operations: ['97-81=16', '4*16=64']
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[97, 96, 4, 81], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [4, 81, 1]
Generated Node #0,0: 32:[4, 81, 1] Operation: 97-96=1
Exploring Operation: 96-81=15, Resulting Numbers: [97, 4, 15]
Generated Node #0,1: 32:[97, 4, 15] Operation: 96-81=15
Exploring Operation: 97-81=16, Resulting Numbers: [96, 4, 16]
Generated Node #0,2: 32:[96, 4, 16] Operation: 97-81=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[4, 81, 1], Operations: ['97-96=1']
Exploring Operation: 81-4=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 32:[1, 77] Operation: 81-4=77
Exploring Operation: 4*1=4, Resulting Numbers: [81, 4]
Generated Node #0,0,1: 32:[81, 4] Operation: 4*1=4
Exploring Operation: 81-1=80, Resulting Numbers: [4, 80]
Generated Node #0,0,2: 32:[4, 80] Operation: 81-1=80
Moving to Node #0,0,0
Current State: 32:[1, 77], Operations: ['97-96=1', '81-4=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[4, 80], Operations: ['97-96=1', '81-1=80']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[81, 4], Operations: ['97-96=1', '4*1=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,32 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[96, 4, 16], Operations: ['97-81=16']
Exploring Operation: 96/4=24, Resulting Numbers: [16, 24]
Generated Node #0,2,0: 32:[16, 24] Operation: 96/4=24
Exploring Operation: 96-16=80, Resulting Numbers: [4, 80]
Generated Node #0,2,1: 32:[4, 80] Operation: 96-16=80
Exploring Operation: 96/16=6, Resulting Numbers: [4, 6]
Generated Node #0,2,2: 32:[4, 6] Operation: 96/16=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[4, 6], Operations: ['97-81=16', '96/16=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[16, 24], Operations: ['97-81=16', '96/4=24']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,32 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[4, 80], Operations: ['97-81=16', '96-16=80']
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,32 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[97, 4, 15], Operations: ['96-81=15']
Exploring Operation: 4+15=19, Resulting Numbers: [97, 19]
Generated Node #0,1,0: 32:[97, 19] Operation: 4+15=19
Exploring Operation: 97-15=82, Resulting Numbers: [4, 82]
Generated Node #0,1,1: 32:[4, 82] Operation: 97-15=82
Exploring Operation: 97-4=93, Resulting Numbers: [15, 93]
Generated Node #0,1,2: 32:[15, 93] Operation: 97-4=93
Moving to Node #0,1,1
Current State: 32:[4, 82], Operations: ['96-81=15', '97-15=82']
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,32 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[15, 93], Operations: ['96-81=15', '97-4=93']
Exploring Operation: 15*93=1395, Resulting Numbers: [1395]
1395,32 unequal: No Solution
Exploring Operation: 15+93=108, Resulting Numbers: [108]
108,32 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[97, 19], Operations: ['96-81=15', '4+15=19']
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,32 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
18,
4,
49
] | 80 | [
"53-18=35",
"49-4=45",
"35+45=80"
] | Current State: 80:[53, 18, 4, 49], Operations: []
Exploring Operation: 53-18=35, Resulting Numbers: [4, 49, 35]
Generated Node #2: [4, 49, 35] from Operation: 53-18=35
Current State: 80:[4, 49, 35], Operations: ['53-18=35']
Exploring Operation: 49-4=45, Resulting Numbers: [35, 45]
Generated Node #3: [35, 45] from Operation: 49-4=45
Current State: 80:[35, 45], Operations: ['53-18=35', '49-4=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[53, 18, 4, 49], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [18, 4, 4]
Generated Node #0,0: 80:[18, 4, 4] Operation: 53-49=4
Moving to Node #0,0
Current State: 80:[18, 4, 4], Operations: ['53-49=4']
Exploring Operation: 18+4=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 80:[4, 22] Operation: 18+4=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[4, 22], Operations: ['53-49=4', '18+4=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
38,
28,
3
] | 51 | [
"38-18=20",
"28+3=31",
"20+31=51"
] | Current State: 51:[18, 38, 28, 3], Operations: []
Exploring Operation: 38-18=20, Resulting Numbers: [28, 3, 20]
Generated Node #2: [28, 3, 20] from Operation: 38-18=20
Current State: 51:[28, 3, 20], Operations: ['38-18=20']
Exploring Operation: 28+3=31, Resulting Numbers: [20, 31]
Generated Node #3: [20, 31] from Operation: 28+3=31
Current State: 51:[20, 31], Operations: ['38-18=20', '28+3=31']
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[18, 38, 28, 3], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [18, 3, 10]
Generated Node #0,0: 51:[18, 3, 10] Operation: 38-28=10
Exploring Operation: 38-18=20, Resulting Numbers: [28, 3, 20]
Generated Node #0,1: 51:[28, 3, 20] Operation: 38-18=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[18, 3, 10], Operations: ['38-28=10']
Exploring Operation: 18-10=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 51:[3, 8] Operation: 18-10=8
Exploring Operation: 3+10=13, Resulting Numbers: [18, 13]
Generated Node #0,0,1: 51:[18, 13] Operation: 3+10=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[3, 8], Operations: ['38-28=10', '18-10=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[18, 13], Operations: ['38-28=10', '3+10=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[28, 3, 20], Operations: ['38-18=20']
Exploring Operation: 28-20=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 51:[3, 8] Operation: 28-20=8
Exploring Operation: 28+20=48, Resulting Numbers: [3, 48]
Generated Node #0,1,1: 51:[3, 48] Operation: 28+20=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[3, 48], Operations: ['38-18=20', '28+20=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[18, 38, 28, 3], Operations: []
Exploring Operation: 38-18=20, Resulting Numbers: [28, 3, 20]
Generated Node #0,1: 51:[28, 3, 20] Operation: 38-18=20
Moving to Node #0,1
Current State: 51:[28, 3, 20], Operations: ['38-18=20']
Exploring Operation: 28+20=48, Resulting Numbers: [3, 48]
Generated Node #0,1,1: 51:[3, 48] Operation: 28+20=48
Moving to Node #0,1,1
Current State: 51:[3, 48], Operations: ['38-18=20', '28+20=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
63,
58,
29,
17
] | 17 | [
"63-58=5",
"29-17=12",
"5+12=17"
] | Current State: 17:[63, 58, 29, 17], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [29, 17, 5]
Generated Node #2: [29, 17, 5] from Operation: 63-58=5
Current State: 17:[29, 17, 5], Operations: ['63-58=5']
Exploring Operation: 29-17=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 29-17=12
Current State: 17:[5, 12], Operations: ['63-58=5', '29-17=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[63, 58, 29, 17], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [29, 17, 5]
Generated Node #0,0: 17:[29, 17, 5] Operation: 63-58=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[29, 17, 5], Operations: ['63-58=5']
Exploring Operation: 29-5=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 17:[17, 24] Operation: 29-5=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[17, 24], Operations: ['63-58=5', '29-5=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
30,
41,
29
] | 90 | [
"46+41=87",
"30*87=2610",
"2610/29=90"
] | Current State: 90:[46, 30, 41, 29], Operations: []
Exploring Operation: 46+41=87, Resulting Numbers: [30, 29, 87]
Generated Node #2: [30, 29, 87] from Operation: 46+41=87
Current State: 90:[30, 29, 87], Operations: ['46+41=87']
Exploring Operation: 30*87=2610, Resulting Numbers: [29, 2610]
Generated Node #3: [29, 2610] from Operation: 30*87=2610
Current State: 90:[29, 2610], Operations: ['46+41=87', '30*87=2610']
Exploring Operation: 2610/29=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[46, 30, 41, 29], Operations: []
Exploring Operation: 46-41=5, Resulting Numbers: [30, 29, 5]
Generated Node #0,0: 90:[30, 29, 5] Operation: 46-41=5
Moving to Node #0,0
Current State: 90:[30, 29, 5], Operations: ['46-41=5']
Exploring Operation: 30-29=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 90:[5, 1] Operation: 30-29=1
Moving to Node #0,0,0
Current State: 90:[5, 1], Operations: ['46-41=5', '30-29=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
15,
23,
30
] | 88 | [
"21+23=44",
"30/15=2",
"44*2=88"
] | Current State: 88:[21, 15, 23, 30], Operations: []
Exploring Operation: 21+23=44, Resulting Numbers: [15, 30, 44]
Generated Node #2: [15, 30, 44] from Operation: 21+23=44
Current State: 88:[15, 30, 44], Operations: ['21+23=44']
Exploring Operation: 30/15=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 30/15=2
Current State: 88:[44, 2], Operations: ['21+23=44', '30/15=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[21, 15, 23, 30], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [15, 23, 9]
Generated Node #0,0: 88:[15, 23, 9] Operation: 30-21=9
Exploring Operation: 30-23=7, Resulting Numbers: [21, 15, 7]
Generated Node #0,1: 88:[21, 15, 7] Operation: 30-23=7
Exploring Operation: 15+30=45, Resulting Numbers: [21, 23, 45]
Generated Node #0,2: 88:[21, 23, 45] Operation: 15+30=45
Exploring Operation: 30-15=15, Resulting Numbers: [21, 23, 15]
Generated Node #0,3: 88:[21, 23, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [21, 23, 2]
Generated Node #0,4: 88:[21, 23, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[21, 23, 2], Operations: ['30/15=2']
Exploring Operation: 21+23=44, Resulting Numbers: [2, 44]
Generated Node #0,4,0: 88:[2, 44] Operation: 21+23=44
Exploring Operation: 21*2=42, Resulting Numbers: [23, 42]
Generated Node #0,4,1: 88:[23, 42] Operation: 21*2=42
Exploring Operation: 23-2=21, Resulting Numbers: [21, 21]
Generated Node #0,4,2: 88:[21, 21] Operation: 23-2=21
Exploring Operation: 21+2=23, Resulting Numbers: [23, 23]
Generated Node #0,4,3: 88:[23, 23] Operation: 21+2=23
Exploring Operation: 23-21=2, Resulting Numbers: [2, 2]
Generated Node #0,4,4: 88:[2, 2] Operation: 23-21=2
Moving to Node #0,4,0
Current State: 88:[2, 44], Operations: ['30/15=2', '21+23=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[21, 15, 23, 30], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [21, 23, 2]
Generated Node #0,4: 88:[21, 23, 2] Operation: 30/15=2
Moving to Node #0,4
Current State: 88:[21, 23, 2], Operations: ['30/15=2']
Exploring Operation: 21+23=44, Resulting Numbers: [2, 44]
Generated Node #0,4,0: 88:[2, 44] Operation: 21+23=44
Moving to Node #0,4,0
Current State: 88:[2, 44], Operations: ['30/15=2', '21+23=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
78,
5,
33,
67
] | 98 | [
"33+67=100",
"100/5=20",
"78+20=98"
] | Current State: 98:[78, 5, 33, 67], Operations: []
Exploring Operation: 33+67=100, Resulting Numbers: [78, 5, 100]
Generated Node #2: [78, 5, 100] from Operation: 33+67=100
Current State: 98:[78, 5, 100], Operations: ['33+67=100']
Exploring Operation: 100/5=20, Resulting Numbers: [78, 20]
Generated Node #3: [78, 20] from Operation: 100/5=20
Current State: 98:[78, 20], Operations: ['33+67=100', '100/5=20']
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[78, 5, 33, 67], Operations: []
Exploring Operation: 33+67=100, Resulting Numbers: [78, 5, 100]
Generated Node #0,0: 98:[78, 5, 100] Operation: 33+67=100
Exploring Operation: 78-67=11, Resulting Numbers: [5, 33, 11]
Generated Node #0,1: 98:[5, 33, 11] Operation: 78-67=11
Exploring Operation: 78-33=45, Resulting Numbers: [5, 67, 45]
Generated Node #0,2: 98:[5, 67, 45] Operation: 78-33=45
Moving to Node #0,1
Current State: 98:[5, 33, 11], Operations: ['78-67=11']
Exploring Operation: 33-11=22, Resulting Numbers: [5, 22]
Generated Node #0,1,0: 98:[5, 22] Operation: 33-11=22
Exploring Operation: 33+11=44, Resulting Numbers: [5, 44]
Generated Node #0,1,1: 98:[5, 44] Operation: 33+11=44
Exploring Operation: 33/11=3, Resulting Numbers: [5, 3]
Generated Node #0,1,2: 98:[5, 3] Operation: 33/11=3
Moving to Node #0,0
Current State: 98:[78, 5, 100], Operations: ['33+67=100']
Exploring Operation: 100-78=22, Resulting Numbers: [5, 22]
Generated Node #0,0,0: 98:[5, 22] Operation: 100-78=22
Exploring Operation: 78+5=83, Resulting Numbers: [100, 83]
Generated Node #0,0,1: 98:[100, 83] Operation: 78+5=83
Exploring Operation: 100-5=95, Resulting Numbers: [78, 95]
Generated Node #0,0,2: 98:[78, 95] Operation: 100-5=95
Moving to Node #0,2
Current State: 98:[5, 67, 45], Operations: ['78-33=45']
Exploring Operation: 67-45=22, Resulting Numbers: [5, 22]
Generated Node #0,2,0: 98:[5, 22] Operation: 67-45=22
Exploring Operation: 67-5=62, Resulting Numbers: [45, 62]
Generated Node #0,2,1: 98:[45, 62] Operation: 67-5=62
Exploring Operation: 67+45=112, Resulting Numbers: [5, 112]
Generated Node #0,2,2: 98:[5, 112] Operation: 67+45=112
Moving to Node #0,1,2
Current State: 98:[5, 3], Operations: ['78-67=11', '33/11=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[5, 44], Operations: ['78-67=11', '33+11=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,98 unequal: No Solution
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[5, 22], Operations: ['78-67=11', '33-11=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[5, 22], Operations: ['78-33=45', '67-45=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[5, 22], Operations: ['33+67=100', '100-78=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[5, 112], Operations: ['78-33=45', '67+45=112']
Exploring Operation: 112-5=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 5+112=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 5*112=560, Resulting Numbers: [560]
560,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[45, 62], Operations: ['78-33=45', '67-5=62']
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[100, 83], Operations: ['33+67=100', '78+5=83']
Exploring Operation: 100*83=8300, Resulting Numbers: [8300]
8300,98 unequal: No Solution
Exploring Operation: 100+83=183, Resulting Numbers: [183]
183,98 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[78, 95], Operations: ['33+67=100', '100-5=95']
Exploring Operation: 78+95=173, Resulting Numbers: [173]
173,98 unequal: No Solution
Exploring Operation: 78*95=7410, Resulting Numbers: [7410]
7410,98 unequal: No Solution
Exploring Operation: 95-78=17, Resulting Numbers: [17]
17,98 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
96,
52,
29,
93
] | 91 | [
"52+93=145",
"145/29=5",
"96-5=91"
] | Current State: 91:[96, 52, 29, 93], Operations: []
Exploring Operation: 52+93=145, Resulting Numbers: [96, 29, 145]
Generated Node #2: [96, 29, 145] from Operation: 52+93=145
Current State: 91:[96, 29, 145], Operations: ['52+93=145']
Exploring Operation: 145/29=5, Resulting Numbers: [96, 5]
Generated Node #3: [96, 5] from Operation: 145/29=5
Current State: 91:[96, 5], Operations: ['52+93=145', '145/29=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[96, 52, 29, 93], Operations: []
Exploring Operation: 52+29=81, Resulting Numbers: [96, 93, 81]
Generated Node #0,0: 91:[96, 93, 81] Operation: 52+29=81
Exploring Operation: 96-52=44, Resulting Numbers: [29, 93, 44]
Generated Node #0,1: 91:[29, 93, 44] Operation: 96-52=44
Exploring Operation: 52-29=23, Resulting Numbers: [96, 93, 23]
Generated Node #0,2: 91:[96, 93, 23] Operation: 52-29=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[96, 93, 81], Operations: ['52+29=81']
Exploring Operation: 93-81=12, Resulting Numbers: [96, 12]
Generated Node #0,0,0: 91:[96, 12] Operation: 93-81=12
Exploring Operation: 96-81=15, Resulting Numbers: [93, 15]
Generated Node #0,0,1: 91:[93, 15] Operation: 96-81=15
Exploring Operation: 96-93=3, Resulting Numbers: [81, 3]
Generated Node #0,0,2: 91:[81, 3] Operation: 96-93=3
Moving to Node #0,0,1
Current State: 91:[93, 15], Operations: ['52+29=81', '96-81=15']
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[96, 12], Operations: ['52+29=81', '93-81=12']
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[81, 3], Operations: ['52+29=81', '96-93=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,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
Current State: 91:[96, 93, 23], Operations: ['52-29=23']
Exploring Operation: 93-23=70, Resulting Numbers: [96, 70]
Generated Node #0,2,0: 91:[96, 70] Operation: 93-23=70
Exploring Operation: 96-93=3, Resulting Numbers: [23, 3]
Generated Node #0,2,1: 91:[23, 3] Operation: 96-93=3
Exploring Operation: 96-23=73, Resulting Numbers: [93, 73]
Generated Node #0,2,2: 91:[93, 73] Operation: 96-23=73
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[23, 3], Operations: ['52-29=23', '96-93=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[93, 73], Operations: ['52-29=23', '96-23=73']
Exploring Operation: 93*73=6789, Resulting Numbers: [6789]
6789,91 unequal: No Solution
Exploring Operation: 93+73=166, Resulting Numbers: [166]
166,91 unequal: No Solution
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[96, 70], Operations: ['52-29=23', '93-23=70']
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,91 unequal: No Solution
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[29, 93, 44], Operations: ['96-52=44']
Exploring Operation: 93-44=49, Resulting Numbers: [29, 49]
Generated Node #0,1,0: 91:[29, 49] Operation: 93-44=49
Exploring Operation: 44-29=15, Resulting Numbers: [93, 15]
Generated Node #0,1,1: 91:[93, 15] Operation: 44-29=15
Exploring Operation: 29+44=73, Resulting Numbers: [93, 73]
Generated Node #0,1,2: 91:[93, 73] Operation: 29+44=73
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[93, 15], Operations: ['96-52=44', '44-29=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,91 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[93, 73], Operations: ['96-52=44', '29+44=73']
Exploring Operation: 93+73=166, Resulting Numbers: [166]
166,91 unequal: No Solution
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 93*73=6789, Resulting Numbers: [6789]
6789,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[29, 49], Operations: ['96-52=44', '93-44=49']
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,91 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,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_3 | sum_heuristic |
[
90,
5,
3,
87
] | 42 | [
"5-3=2",
"90/2=45",
"87-45=42"
] | Current State: 42:[90, 5, 3, 87], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [90, 87, 2]
Generated Node #2: [90, 87, 2] from Operation: 5-3=2
Current State: 42:[90, 87, 2], Operations: ['5-3=2']
Exploring Operation: 90/2=45, Resulting Numbers: [87, 45]
Generated Node #3: [87, 45] from Operation: 90/2=45
Current State: 42:[87, 45], Operations: ['5-3=2', '90/2=45']
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[90, 5, 3, 87], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [5, 3, 3]
Generated Node #0,0: 42:[5, 3, 3] Operation: 90-87=3
Exploring Operation: 90/3=30, Resulting Numbers: [5, 87, 30]
Generated Node #0,1: 42:[5, 87, 30] Operation: 90/3=30
Exploring Operation: 90/5=18, Resulting Numbers: [3, 87, 18]
Generated Node #0,2: 42:[3, 87, 18] Operation: 90/5=18
Exploring Operation: 87/3=29, Resulting Numbers: [90, 5, 29]
Generated Node #0,3: 42:[90, 5, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[5, 3, 3], Operations: ['90-87=3']
Exploring Operation: 5-3=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 42:[3, 2] Operation: 5-3=2
Exploring Operation: 5*3=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 42:[3, 15] Operation: 5*3=15
Exploring Operation: 5+3=8, Resulting Numbers: [3, 8]
Generated Node #0,0,2: 42:[3, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [3, 2]
Generated Node #0,0,3: 42:[3, 2] Operation: 5-3=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[3, 2], Operations: ['90-87=3', '5-3=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,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,3
Current State: 42:[3, 2], Operations: ['90-87=3', '5-3=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,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:[3, 15], Operations: ['90-87=3', '5*3=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,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,2
Current State: 42:[3, 8], Operations: ['90-87=3', '5+3=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[3, 87, 18], Operations: ['90/5=18']
Exploring Operation: 3+18=21, Resulting Numbers: [87, 21]
Generated Node #0,2,0: 42:[87, 21] Operation: 3+18=21
Exploring Operation: 87/3=29, Resulting Numbers: [18, 29]
Generated Node #0,2,1: 42:[18, 29] Operation: 87/3=29
Exploring Operation: 87-18=69, Resulting Numbers: [3, 69]
Generated Node #0,2,2: 42:[3, 69] Operation: 87-18=69
Exploring Operation: 87-3=84, Resulting Numbers: [18, 84]
Generated Node #0,2,3: 42:[18, 84] Operation: 87-3=84
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[18, 29], Operations: ['90/5=18', '87/3=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,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,2,2
Current State: 42:[3, 69], Operations: ['90/5=18', '87-18=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,42 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,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,2,0
Current State: 42:[87, 21], Operations: ['90/5=18', '3+18=21']
Exploring Operation: 87*21=1827, Resulting Numbers: [1827]
1827,42 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,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,2,3
Current State: 42:[18, 84], Operations: ['90/5=18', '87-3=84']
Exploring Operation: 18*84=1512, Resulting Numbers: [1512]
1512,42 unequal: No Solution
Exploring Operation: 18+84=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[5, 87, 30], Operations: ['90/3=30']
Exploring Operation: 87-30=57, Resulting Numbers: [5, 57]
Generated Node #0,1,0: 42:[5, 57] Operation: 87-30=57
Exploring Operation: 30/5=6, Resulting Numbers: [87, 6]
Generated Node #0,1,1: 42:[87, 6] Operation: 30/5=6
Exploring Operation: 87-5=82, Resulting Numbers: [30, 82]
Generated Node #0,1,2: 42:[30, 82] Operation: 87-5=82
Exploring Operation: 30-5=25, Resulting Numbers: [87, 25]
Generated Node #0,1,3: 42:[87, 25] Operation: 30-5=25
Moving to Node #0,1,0
Current State: 42:[5, 57], Operations: ['90/3=30', '87-30=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,42 unequal: No Solution
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,42 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[87, 6], Operations: ['90/3=30', '30/5=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,42 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[87, 25], Operations: ['90/3=30', '30-5=25']
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,42 unequal: No Solution
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,42 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[30, 82], Operations: ['90/3=30', '87-5=82']
Exploring Operation: 30+82=112, Resulting Numbers: [112]
112,42 unequal: No Solution
Exploring Operation: 30*82=2460, Resulting Numbers: [2460]
2460,42 unequal: No Solution
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[90, 5, 29], Operations: ['87/3=29']
Exploring Operation: 29-5=24, Resulting Numbers: [90, 24]
Generated Node #0,3,0: 42:[90, 24] Operation: 29-5=24
Exploring Operation: 90-29=61, Resulting Numbers: [5, 61]
Generated Node #0,3,1: 42:[5, 61] Operation: 90-29=61
Exploring Operation: 90/5=18, Resulting Numbers: [29, 18]
Generated Node #0,3,2: 42:[29, 18] Operation: 90/5=18
Exploring Operation: 90-5=85, Resulting Numbers: [29, 85]
Generated Node #0,3,3: 42:[29, 85] Operation: 90-5=85
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 42:[29, 18], Operations: ['87/3=29', '90/5=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,42 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,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,3,1
Current State: 42:[5, 61], Operations: ['87/3=29', '90-29=61']
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,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,3,0
Current State: 42:[90, 24], Operations: ['87/3=29', '29-5=24']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,42 unequal: No Solution
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,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,3,3
Current State: 42:[29, 85], Operations: ['87/3=29', '90-5=85']
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 29*85=2465, Resulting Numbers: [2465]
2465,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_4 | sum_heuristic |
[
90,
93,
3,
17
] | 11 | [
"93-90=3",
"17-3=14",
"14-3=11"
] | Current State: 11:[90, 93, 3, 17], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [3, 17, 3]
Generated Node #2: [3, 17, 3] from Operation: 93-90=3
Current State: 11:[3, 17, 3], Operations: ['93-90=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,11 equal: Goal Reached
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[90, 93, 3, 17], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [3, 17, 3]
Generated Node #0,0: 11:[3, 17, 3] Operation: 93-90=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[3, 17, 3], Operations: ['93-90=3']
Exploring Operation: 3*3=9, Resulting Numbers: [17, 9]
Generated Node #0,0,0: 11:[17, 9] Operation: 3*3=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[17, 9], Operations: ['93-90=3', '3*3=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,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 | sum_heuristic |
[
90,
20,
36,
60
] | 86 | [
"90+20=110",
"60-36=24",
"110-24=86"
] | Current State: 86:[90, 20, 36, 60], Operations: []
Exploring Operation: 90+20=110, Resulting Numbers: [36, 60, 110]
Generated Node #2: [36, 60, 110] from Operation: 90+20=110
Current State: 86:[36, 60, 110], Operations: ['90+20=110']
Exploring Operation: 60-36=24, Resulting Numbers: [110, 24]
Generated Node #3: [110, 24] from Operation: 60-36=24
Current State: 86:[110, 24], Operations: ['90+20=110', '60-36=24']
Exploring Operation: 110-24=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[90, 20, 36, 60], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [90, 36, 3]
Generated Node #0,0: 86:[90, 36, 3] Operation: 60/20=3
Exploring Operation: 60-20=40, Resulting Numbers: [90, 36, 40]
Generated Node #0,1: 86:[90, 36, 40] Operation: 60-20=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[90, 36, 3], Operations: ['60/20=3']
Exploring Operation: 90-3=87, Resulting Numbers: [36, 87]
Generated Node #0,0,0: 86:[36, 87] Operation: 90-3=87
Exploring Operation: 36+3=39, Resulting Numbers: [90, 39]
Generated Node #0,0,1: 86:[90, 39] Operation: 36+3=39
Moving to Node #0,0,0
Current State: 86:[36, 87], Operations: ['60/20=3', '90-3=87']
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[90, 39], Operations: ['60/20=3', '36+3=39']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[90, 36, 40], Operations: ['60-20=40']
Exploring Operation: 90-36=54, Resulting Numbers: [40, 54]
Generated Node #0,1,0: 86:[40, 54] Operation: 90-36=54
Exploring Operation: 40-36=4, Resulting Numbers: [90, 4]
Generated Node #0,1,1: 86:[90, 4] Operation: 40-36=4
Moving to Node #0,1,1
Current State: 86:[90, 4], Operations: ['60-20=40', '40-36=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[90, 20, 36, 60], Operations: []
Exploring Operation: 60-20=40, Resulting Numbers: [90, 36, 40]
Generated Node #0,1: 86:[90, 36, 40] Operation: 60-20=40
Moving to Node #0,1
Current State: 86:[90, 36, 40], Operations: ['60-20=40']
Exploring Operation: 40-36=4, Resulting Numbers: [90, 4]
Generated Node #0,1,1: 86:[90, 4] Operation: 40-36=4
Moving to Node #0,1,1
Current State: 86:[90, 4], Operations: ['60-20=40', '40-36=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
33,
85,
51,
32
] | 71 | [
"85-33=52",
"51-32=19",
"52+19=71"
] | Current State: 71:[33, 85, 51, 32], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [51, 32, 52]
Generated Node #2: [51, 32, 52] from Operation: 85-33=52
Current State: 71:[51, 32, 52], Operations: ['85-33=52']
Exploring Operation: 51-32=19, Resulting Numbers: [52, 19]
Generated Node #3: [52, 19] from Operation: 51-32=19
Current State: 71:[52, 19], Operations: ['85-33=52', '51-32=19']
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[33, 85, 51, 32], Operations: []
Exploring Operation: 51+32=83, Resulting Numbers: [33, 85, 83]
Generated Node #0,0: 71:[33, 85, 83] Operation: 51+32=83
Exploring Operation: 33+32=65, Resulting Numbers: [85, 51, 65]
Generated Node #0,1: 71:[85, 51, 65] Operation: 33+32=65
Exploring Operation: 33+51=84, Resulting Numbers: [85, 32, 84]
Generated Node #0,2: 71:[85, 32, 84] Operation: 33+51=84
Moving to Node #0,1
Current State: 71:[85, 51, 65], Operations: ['33+32=65']
Exploring Operation: 85-51=34, Resulting Numbers: [65, 34]
Generated Node #0,1,0: 71:[65, 34] Operation: 85-51=34
Exploring Operation: 85+51=136, Resulting Numbers: [65, 136]
Generated Node #0,1,1: 71:[65, 136] Operation: 85+51=136
Exploring Operation: 51+65=116, Resulting Numbers: [85, 116]
Generated Node #0,1,2: 71:[85, 116] Operation: 51+65=116
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[65, 34], Operations: ['33+32=65', '85-51=34']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,71 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[85, 116], Operations: ['33+32=65', '51+65=116']
Exploring Operation: 116-85=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 85+116=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 85*116=9860, Resulting Numbers: [9860]
9860,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[65, 136], Operations: ['33+32=65', '85+51=136']
Exploring Operation: 136-65=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[33, 85, 51, 32], Operations: []
Exploring Operation: 33+32=65, Resulting Numbers: [85, 51, 65]
Generated Node #0,1: 71:[85, 51, 65] Operation: 33+32=65
Moving to Node #0,1
Current State: 71:[85, 51, 65], Operations: ['33+32=65']
Exploring Operation: 85+51=136, Resulting Numbers: [65, 136]
Generated Node #0,1,1: 71:[65, 136] Operation: 85+51=136
Moving to Node #0,1,1
Current State: 71:[65, 136], Operations: ['33+32=65', '85+51=136']
Exploring Operation: 136-65=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
36,
3,
83,
38
] | 78 | [
"36-3=33",
"83-38=45",
"33+45=78"
] | Current State: 78:[36, 3, 83, 38], Operations: []
Exploring Operation: 36-3=33, Resulting Numbers: [83, 38, 33]
Generated Node #2: [83, 38, 33] from Operation: 36-3=33
Current State: 78:[83, 38, 33], Operations: ['36-3=33']
Exploring Operation: 83-38=45, Resulting Numbers: [33, 45]
Generated Node #3: [33, 45] from Operation: 83-38=45
Current State: 78:[33, 45], Operations: ['36-3=33', '83-38=45']
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[36, 3, 83, 38], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [83, 38, 12]
Generated Node #0,0: 78:[83, 38, 12] Operation: 36/3=12
Exploring Operation: 83-3=80, Resulting Numbers: [36, 38, 80]
Generated Node #0,1: 78:[36, 38, 80] Operation: 83-3=80
Exploring Operation: 36+3=39, Resulting Numbers: [83, 38, 39]
Generated Node #0,2: 78:[83, 38, 39] Operation: 36+3=39
Exploring Operation: 38-36=2, Resulting Numbers: [3, 83, 2]
Generated Node #0,3: 78:[3, 83, 2] Operation: 38-36=2
Moving to Node #0,3
Current State: 78:[3, 83, 2], Operations: ['38-36=2']
Exploring Operation: 83-2=81, Resulting Numbers: [3, 81]
Generated Node #0,3,0: 78:[3, 81] Operation: 83-2=81
Exploring Operation: 83-3=80, Resulting Numbers: [2, 80]
Generated Node #0,3,1: 78:[2, 80] Operation: 83-3=80
Exploring Operation: 3+2=5, Resulting Numbers: [83, 5]
Generated Node #0,3,2: 78:[83, 5] Operation: 3+2=5
Exploring Operation: 3*2=6, Resulting Numbers: [83, 6]
Generated Node #0,3,3: 78:[83, 6] Operation: 3*2=6
Moving to Node #0,2
Current State: 78:[83, 38, 39], Operations: ['36+3=39']
Exploring Operation: 38+39=77, Resulting Numbers: [83, 77]
Generated Node #0,2,0: 78:[83, 77] Operation: 38+39=77
Exploring Operation: 39-38=1, Resulting Numbers: [83, 1]
Generated Node #0,2,1: 78:[83, 1] Operation: 39-38=1
Exploring Operation: 83-38=45, Resulting Numbers: [39, 45]
Generated Node #0,2,2: 78:[39, 45] Operation: 83-38=45
Exploring Operation: 83-39=44, Resulting Numbers: [38, 44]
Generated Node #0,2,3: 78:[38, 44] Operation: 83-39=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[83, 77], Operations: ['36+3=39', '38+39=77']
Exploring Operation: 83*77=6391, Resulting Numbers: [6391]
6391,78 unequal: No Solution
Exploring Operation: 83+77=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[83, 1], Operations: ['36+3=39', '39-38=1']
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[39, 45], Operations: ['36+3=39', '83-38=45']
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,78 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[38, 44], Operations: ['36+3=39', '83-39=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,78 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,78 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: 78:[36, 38, 80], Operations: ['83-3=80']
Exploring Operation: 80-36=44, Resulting Numbers: [38, 44]
Generated Node #0,1,0: 78:[38, 44] Operation: 80-36=44
Exploring Operation: 38-36=2, Resulting Numbers: [80, 2]
Generated Node #0,1,1: 78:[80, 2] Operation: 38-36=2
Exploring Operation: 80-38=42, Resulting Numbers: [36, 42]
Generated Node #0,1,2: 78:[36, 42] Operation: 80-38=42
Exploring Operation: 36+38=74, Resulting Numbers: [80, 74]
Generated Node #0,1,3: 78:[80, 74] Operation: 36+38=74
Moving to Node #0,0
Current State: 78:[83, 38, 12], Operations: ['36/3=12']
Exploring Operation: 83-12=71, Resulting Numbers: [38, 71]
Generated Node #0,0,0: 78:[38, 71] Operation: 83-12=71
Exploring Operation: 83-38=45, Resulting Numbers: [12, 45]
Generated Node #0,0,1: 78:[12, 45] Operation: 83-38=45
Exploring Operation: 38-12=26, Resulting Numbers: [83, 26]
Generated Node #0,0,2: 78:[83, 26] Operation: 38-12=26
Exploring Operation: 38+12=50, Resulting Numbers: [83, 50]
Generated Node #0,0,3: 78:[83, 50] Operation: 38+12=50
Moving to Node #0,3,1
Current State: 78:[2, 80], Operations: ['38-36=2', '83-3=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,78 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[36, 3, 83, 38], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [3, 83, 2]
Generated Node #0,3: 78:[3, 83, 2] Operation: 38-36=2
Moving to Node #0,3
Current State: 78:[3, 83, 2], Operations: ['38-36=2']
Exploring Operation: 83-3=80, Resulting Numbers: [2, 80]
Generated Node #0,3,1: 78:[2, 80] Operation: 83-3=80
Moving to Node #0,3,1
Current State: 78:[2, 80], Operations: ['38-36=2', '83-3=80']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
20,
79,
80,
53
] | 86 | [
"79-20=59",
"80-53=27",
"59+27=86"
] | Current State: 86:[20, 79, 80, 53], Operations: []
Exploring Operation: 79-20=59, Resulting Numbers: [80, 53, 59]
Generated Node #2: [80, 53, 59] from Operation: 79-20=59
Current State: 86:[80, 53, 59], Operations: ['79-20=59']
Exploring Operation: 80-53=27, Resulting Numbers: [59, 27]
Generated Node #3: [59, 27] from Operation: 80-53=27
Current State: 86:[59, 27], Operations: ['79-20=59', '80-53=27']
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[20, 79, 80, 53], Operations: []
Exploring Operation: 53-20=33, Resulting Numbers: [79, 80, 33]
Generated Node #0,0: 86:[79, 80, 33] Operation: 53-20=33
Exploring Operation: 80/20=4, Resulting Numbers: [79, 53, 4]
Generated Node #0,1: 86:[79, 53, 4] Operation: 80/20=4
Exploring Operation: 20+53=73, Resulting Numbers: [79, 80, 73]
Generated Node #0,2: 86:[79, 80, 73] Operation: 20+53=73
Exploring Operation: 20+79=99, Resulting Numbers: [80, 53, 99]
Generated Node #0,3: 86:[80, 53, 99] Operation: 20+79=99
Moving to Node #0,1
Current State: 86:[79, 53, 4], Operations: ['80/20=4']
Exploring Operation: 79-4=75, Resulting Numbers: [53, 75]
Generated Node #0,1,0: 86:[53, 75] Operation: 79-4=75
Exploring Operation: 79+4=83, Resulting Numbers: [53, 83]
Generated Node #0,1,1: 86:[53, 83] Operation: 79+4=83
Exploring Operation: 79-53=26, Resulting Numbers: [4, 26]
Generated Node #0,1,2: 86:[4, 26] Operation: 79-53=26
Exploring Operation: 53-4=49, Resulting Numbers: [79, 49]
Generated Node #0,1,3: 86:[79, 49] Operation: 53-4=49
Moving to Node #0,0
Current State: 86:[79, 80, 33], Operations: ['53-20=33']
Exploring Operation: 80-33=47, Resulting Numbers: [79, 47]
Generated Node #0,0,0: 86:[79, 47] Operation: 80-33=47
Exploring Operation: 79-33=46, Resulting Numbers: [80, 46]
Generated Node #0,0,1: 86:[80, 46] Operation: 79-33=46
Exploring Operation: 79+33=112, Resulting Numbers: [80, 112]
Generated Node #0,0,2: 86:[80, 112] Operation: 79+33=112
Exploring Operation: 80-79=1, Resulting Numbers: [33, 1]
Generated Node #0,0,3: 86:[33, 1] Operation: 80-79=1
Moving to Node #0,2
Current State: 86:[79, 80, 73], Operations: ['20+53=73']
Exploring Operation: 79+73=152, Resulting Numbers: [80, 152]
Generated Node #0,2,0: 86:[80, 152] Operation: 79+73=152
Exploring Operation: 79-73=6, Resulting Numbers: [80, 6]
Generated Node #0,2,1: 86:[80, 6] Operation: 79-73=6
Exploring Operation: 80-79=1, Resulting Numbers: [73, 1]
Generated Node #0,2,2: 86:[73, 1] Operation: 80-79=1
Exploring Operation: 80-73=7, Resulting Numbers: [79, 7]
Generated Node #0,2,3: 86:[79, 7] Operation: 80-73=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[80, 6], Operations: ['20+53=73', '79-73=6']
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,86 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[20, 79, 80, 53], Operations: []
Exploring Operation: 20+53=73, Resulting Numbers: [79, 80, 73]
Generated Node #0,2: 86:[79, 80, 73] Operation: 20+53=73
Moving to Node #0,2
Current State: 86:[79, 80, 73], Operations: ['20+53=73']
Exploring Operation: 79-73=6, Resulting Numbers: [80, 6]
Generated Node #0,2,1: 86:[80, 6] Operation: 79-73=6
Moving to Node #0,2,1
Current State: 86:[80, 6], Operations: ['20+53=73', '79-73=6']
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
59,
66,
94,
8
] | 94 | [
"66-59=7",
"8-7=1",
"94*1=94"
] | Current State: 94:[59, 66, 94, 8], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [94, 8, 7]
Generated Node #2: [94, 8, 7] from Operation: 66-59=7
Current State: 94:[94, 8, 7], Operations: ['66-59=7']
Exploring Operation: 8-7=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 8-7=1
Current State: 94:[94, 1], Operations: ['66-59=7', '8-7=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[59, 66, 94, 8], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [94, 8, 7]
Generated Node #0,0: 94:[94, 8, 7] Operation: 66-59=7
Exploring Operation: 66-8=58, Resulting Numbers: [59, 94, 58]
Generated Node #0,1: 94:[59, 94, 58] Operation: 66-8=58
Exploring Operation: 59-8=51, Resulting Numbers: [66, 94, 51]
Generated Node #0,2: 94:[66, 94, 51] Operation: 59-8=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[94, 8, 7], Operations: ['66-59=7']
Exploring Operation: 94+8=102, Resulting Numbers: [7, 102]
Generated Node #0,0,0: 94:[7, 102] Operation: 94+8=102
Exploring Operation: 8-7=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 94:[94, 1] Operation: 8-7=1
Exploring Operation: 8*7=56, Resulting Numbers: [94, 56]
Generated Node #0,0,2: 94:[94, 56] Operation: 8*7=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[94, 1], Operations: ['66-59=7', '8-7=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[59, 66, 94, 8], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [94, 8, 7]
Generated Node #0,0: 94:[94, 8, 7] Operation: 66-59=7
Moving to Node #0,0
Current State: 94:[94, 8, 7], Operations: ['66-59=7']
Exploring Operation: 8-7=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 94:[94, 1] Operation: 8-7=1
Moving to Node #0,0,1
Current State: 94:[94, 1], Operations: ['66-59=7', '8-7=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
81,
91,
88,
53
] | 80 | [
"91-88=3",
"81/3=27",
"53+27=80"
] | Current State: 80:[81, 91, 88, 53], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [81, 53, 3]
Generated Node #2: [81, 53, 3] from Operation: 91-88=3
Current State: 80:[81, 53, 3], Operations: ['91-88=3']
Exploring Operation: 81/3=27, Resulting Numbers: [53, 27]
Generated Node #3: [53, 27] from Operation: 81/3=27
Current State: 80:[53, 27], Operations: ['91-88=3', '81/3=27']
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[81, 91, 88, 53], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [81, 91, 35]
Generated Node #0,0: 80:[81, 91, 35] Operation: 88-53=35
Exploring Operation: 91-88=3, Resulting Numbers: [81, 53, 3]
Generated Node #0,1: 80:[81, 53, 3] Operation: 91-88=3
Exploring Operation: 91-81=10, Resulting Numbers: [88, 53, 10]
Generated Node #0,2: 80:[88, 53, 10] Operation: 91-81=10
Exploring Operation: 91-53=38, Resulting Numbers: [81, 88, 38]
Generated Node #0,3: 80:[81, 88, 38] Operation: 91-53=38
Moving to Node #0,3
Current State: 80:[81, 88, 38], Operations: ['91-53=38']
Exploring Operation: 88-81=7, Resulting Numbers: [38, 7]
Generated Node #0,3,0: 80:[38, 7] Operation: 88-81=7
Exploring Operation: 88-38=50, Resulting Numbers: [81, 50]
Generated Node #0,3,1: 80:[81, 50] Operation: 88-38=50
Exploring Operation: 81+38=119, Resulting Numbers: [88, 119]
Generated Node #0,3,2: 80:[88, 119] Operation: 81+38=119
Exploring Operation: 81-38=43, Resulting Numbers: [88, 43]
Generated Node #0,3,3: 80:[88, 43] Operation: 81-38=43
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[38, 7], Operations: ['91-53=38', '88-81=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,80 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,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:[81, 50], Operations: ['91-53=38', '88-38=50']
Exploring Operation: 81+50=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 81*50=4050, Resulting Numbers: [4050]
4050,80 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,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:[88, 43], Operations: ['91-53=38', '81-38=43']
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,80 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,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:[88, 119], Operations: ['91-53=38', '81+38=119']
Exploring Operation: 88*119=10472, Resulting Numbers: [10472]
10472,80 unequal: No Solution
Exploring Operation: 88+119=207, Resulting Numbers: [207]
207,80 unequal: No Solution
Exploring Operation: 119-88=31, Resulting Numbers: [31]
31,80 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: 80:[81, 53, 3], Operations: ['91-88=3']
Exploring Operation: 53-3=50, Resulting Numbers: [81, 50]
Generated Node #0,1,0: 80:[81, 50] Operation: 53-3=50
Exploring Operation: 81-3=78, Resulting Numbers: [53, 78]
Generated Node #0,1,1: 80:[53, 78] Operation: 81-3=78
Exploring Operation: 81+3=84, Resulting Numbers: [53, 84]
Generated Node #0,1,2: 80:[53, 84] Operation: 81+3=84
Exploring Operation: 81-53=28, Resulting Numbers: [3, 28]
Generated Node #0,1,3: 80:[3, 28] Operation: 81-53=28
Moving to Node #0,0
Current State: 80:[81, 91, 35], Operations: ['88-53=35']
Exploring Operation: 81+35=116, Resulting Numbers: [91, 116]
Generated Node #0,0,0: 80:[91, 116] Operation: 81+35=116
Exploring Operation: 81-35=46, Resulting Numbers: [91, 46]
Generated Node #0,0,1: 80:[91, 46] Operation: 81-35=46
Exploring Operation: 91-81=10, Resulting Numbers: [35, 10]
Generated Node #0,0,2: 80:[35, 10] Operation: 91-81=10
Exploring Operation: 91-35=56, Resulting Numbers: [81, 56]
Generated Node #0,0,3: 80:[81, 56] Operation: 91-35=56
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[35, 10], Operations: ['88-53=35', '91-81=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[91, 46], Operations: ['88-53=35', '81-35=46']
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,80 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[81, 56], Operations: ['88-53=35', '91-35=56']
Exploring Operation: 81+56=137, Resulting Numbers: [137]
137,80 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 81*56=4536, Resulting Numbers: [4536]
4536,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[91, 116], Operations: ['88-53=35', '81+35=116']
Exploring Operation: 91*116=10556, Resulting Numbers: [10556]
10556,80 unequal: No Solution
Exploring Operation: 116-91=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 91+116=207, Resulting Numbers: [207]
207,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 80:[88, 53, 10], Operations: ['91-81=10']
Exploring Operation: 88-10=78, Resulting Numbers: [53, 78]
Generated Node #0,2,0: 80:[53, 78] Operation: 88-10=78
Exploring Operation: 53+10=63, Resulting Numbers: [88, 63]
Generated Node #0,2,1: 80:[88, 63] Operation: 53+10=63
Exploring Operation: 53-10=43, Resulting Numbers: [88, 43]
Generated Node #0,2,2: 80:[88, 43] Operation: 53-10=43
Exploring Operation: 88-53=35, Resulting Numbers: [10, 35]
Generated Node #0,2,3: 80:[10, 35] Operation: 88-53=35
Moving to Node #0,2,3
Current State: 80:[10, 35], Operations: ['91-81=10', '88-53=35']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[3, 28], Operations: ['91-88=3', '81-53=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[88, 43], Operations: ['91-81=10', '53-10=43']
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[81, 50], Operations: ['91-88=3', '53-3=50']
Exploring Operation: 81*50=4050, Resulting Numbers: [4050]
4050,80 unequal: No Solution
Exploring Operation: 81+50=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[53, 78], Operations: ['91-88=3', '81-3=78']
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,80 unequal: No Solution
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[53, 78], Operations: ['91-81=10', '88-10=78']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[53, 84], Operations: ['91-88=3', '81+3=84']
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,80 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[88, 63], Operations: ['91-81=10', '53+10=63']
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,80 unequal: No Solution
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,80 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,80 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
62,
32,
32,
29
] | 62 | [
"32-32=0",
"29*0=0",
"62+0=62"
] | Current State: 62:[62, 32, 32, 29], Operations: []
Exploring Operation: 32-32=0, Resulting Numbers: [62, 29, 0]
Generated Node #2: [62, 29, 0] from Operation: 32-32=0
Current State: 62:[62, 29, 0], Operations: ['32-32=0']
Exploring Operation: 29*0=0, Resulting Numbers: [62, 0]
Generated Node #3: [62, 0] from Operation: 29*0=0
Current State: 62:[62, 0], Operations: ['32-32=0', '29*0=0']
Exploring Operation: 62+0=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[62, 32, 32, 29], Operations: []
Exploring Operation: 32+29=61, Resulting Numbers: [62, 32, 61]
Generated Node #0,0: 62:[62, 32, 61] Operation: 32+29=61
Exploring Operation: 32+29=61, Resulting Numbers: [62, 32, 61]
Generated Node #0,1: 62:[62, 32, 61] Operation: 32+29=61
Exploring Operation: 32-29=3, Resulting Numbers: [62, 32, 3]
Generated Node #0,2: 62:[62, 32, 3] Operation: 32-29=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[62, 32, 61], Operations: ['32+29=61']
Exploring Operation: 62-32=30, Resulting Numbers: [61, 30]
Generated Node #0,0,0: 62:[61, 30] Operation: 62-32=30
Exploring Operation: 61-32=29, Resulting Numbers: [62, 29]
Generated Node #0,0,1: 62:[62, 29] Operation: 61-32=29
Exploring Operation: 62-61=1, Resulting Numbers: [32, 1]
Generated Node #0,0,2: 62:[32, 1] Operation: 62-61=1
Moving to Node #0,0,0
Current State: 62:[61, 30], Operations: ['32+29=61', '62-32=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[62, 29], Operations: ['32+29=61', '61-32=29']
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[32, 1], Operations: ['32+29=61', '62-61=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[62, 32, 61], Operations: ['32+29=61']
Exploring Operation: 62-32=30, Resulting Numbers: [61, 30]
Generated Node #0,1,0: 62:[61, 30] Operation: 62-32=30
Exploring Operation: 61-32=29, Resulting Numbers: [62, 29]
Generated Node #0,1,1: 62:[62, 29] Operation: 61-32=29
Exploring Operation: 62-61=1, Resulting Numbers: [32, 1]
Generated Node #0,1,2: 62:[32, 1] Operation: 62-61=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[61, 30], Operations: ['32+29=61', '62-32=30']
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,62 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[62, 29], Operations: ['32+29=61', '61-32=29']
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,62 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[32, 1], Operations: ['32+29=61', '62-61=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[62, 32, 3], Operations: ['32-29=3']
Exploring Operation: 62+3=65, Resulting Numbers: [32, 65]
Generated Node #0,2,0: 62:[32, 65] Operation: 62+3=65
Exploring Operation: 62-32=30, Resulting Numbers: [3, 30]
Generated Node #0,2,1: 62:[3, 30] Operation: 62-32=30
Exploring Operation: 32-3=29, Resulting Numbers: [62, 29]
Generated Node #0,2,2: 62:[62, 29] Operation: 32-3=29
Moving to Node #0,2,1
Current State: 62:[3, 30], Operations: ['32-29=3', '62-32=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[62, 29], Operations: ['32-29=3', '32-3=29']
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[32, 65], Operations: ['32-29=3', '62+3=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,62 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
9,
5,
9,
54
] | 90 | [
"9*5=45",
"54-9=45",
"45+45=90"
] | Current State: 90:[9, 5, 9, 54], Operations: []
Exploring Operation: 9*5=45, Resulting Numbers: [54, 45]
Generated Node #2: [54, 45] from Operation: 9*5=45
Current State: 90:[54, 45], Operations: ['9*5=45']
Exploring Operation: 54-9=45, Resulting Numbers: [45, 45]
Generated Node #3: [45, 45] from Operation: 54-9=45
Current State: 90:[45, 45], Operations: ['9*5=45', '54-9=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[9, 5, 9, 54], Operations: []
Exploring Operation: 54-9=45, Resulting Numbers: [5, 9, 45]
Generated Node #0,0: 90:[5, 9, 45] Operation: 54-9=45
Exploring Operation: 54/9=6, Resulting Numbers: [5, 9, 6]
Generated Node #0,1: 90:[5, 9, 6] Operation: 54/9=6
Moving to Node #0,0
Current State: 90:[5, 9, 45], Operations: ['54-9=45']
Exploring Operation: 5*9=45, Resulting Numbers: [45, 45]
Generated Node #0,0,0: 90:[45, 45] Operation: 5*9=45
Exploring Operation: 45/5=9, Resulting Numbers: [9, 9]
Generated Node #0,0,1: 90:[9, 9] Operation: 45/5=9
Moving to Node #0,1
Current State: 90:[5, 9, 6], Operations: ['54/9=6']
Exploring Operation: 5*6=30, Resulting Numbers: [9, 30]
Generated Node #0,1,0: 90:[9, 30] Operation: 5*6=30
Exploring Operation: 5*9=45, Resulting Numbers: [6, 45]
Generated Node #0,1,1: 90:[6, 45] Operation: 5*9=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[9, 30], Operations: ['54/9=6', '5*6=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,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,1,1
Current State: 90:[6, 45], Operations: ['54/9=6', '5*9=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,90 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: 90:[45, 45], Operations: ['54-9=45', '5*9=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[9, 5, 9, 54], Operations: []
Exploring Operation: 54-9=45, Resulting Numbers: [5, 9, 45]
Generated Node #0,0: 90:[5, 9, 45] Operation: 54-9=45
Moving to Node #0,0
Current State: 90:[5, 9, 45], Operations: ['54-9=45']
Exploring Operation: 5*9=45, Resulting Numbers: [45, 45]
Generated Node #0,0,0: 90:[45, 45] Operation: 5*9=45
Moving to Node #0,0,0
Current State: 90:[45, 45], Operations: ['54-9=45', '5*9=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
43,
60,
25,
27
] | 26 | [
"27-25=2",
"43*2=86",
"86-60=26"
] | Current State: 26:[43, 60, 25, 27], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [43, 60, 2]
Generated Node #2: [43, 60, 2] from Operation: 27-25=2
Current State: 26:[43, 60, 2], Operations: ['27-25=2']
Exploring Operation: 43*2=86, Resulting Numbers: [60, 86]
Generated Node #3: [60, 86] from Operation: 43*2=86
Current State: 26:[60, 86], Operations: ['27-25=2', '43*2=86']
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[43, 60, 25, 27], Operations: []
Exploring Operation: 60-27=33, Resulting Numbers: [43, 25, 33]
Generated Node #0,0: 26:[43, 25, 33] Operation: 60-27=33
Exploring Operation: 43-27=16, Resulting Numbers: [60, 25, 16]
Generated Node #0,1: 26:[60, 25, 16] Operation: 43-27=16
Exploring Operation: 60-43=17, Resulting Numbers: [25, 27, 17]
Generated Node #0,2: 26:[25, 27, 17] Operation: 60-43=17
Exploring Operation: 60-25=35, Resulting Numbers: [43, 27, 35]
Generated Node #0,3: 26:[43, 27, 35] Operation: 60-25=35
Moving to Node #0,2
Current State: 26:[25, 27, 17], Operations: ['60-43=17']
Exploring Operation: 25+17=42, Resulting Numbers: [27, 42]
Generated Node #0,2,0: 26:[27, 42] Operation: 25+17=42
Exploring Operation: 25-17=8, Resulting Numbers: [27, 8]
Generated Node #0,2,1: 26:[27, 8] Operation: 25-17=8
Exploring Operation: 27-17=10, Resulting Numbers: [25, 10]
Generated Node #0,2,2: 26:[25, 10] Operation: 27-17=10
Exploring Operation: 27-25=2, Resulting Numbers: [17, 2]
Generated Node #0,2,3: 26:[17, 2] Operation: 27-25=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[25, 10], Operations: ['60-43=17', '27-17=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,26 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,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:[17, 2], Operations: ['60-43=17', '27-25=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,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:[27, 8], Operations: ['60-43=17', '25-17=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,26 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,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,0
Current State: 26:[27, 42], Operations: ['60-43=17', '25+17=42']
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,26 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,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:[43, 25, 33], Operations: ['60-27=33']
Exploring Operation: 43+25=68, Resulting Numbers: [33, 68]
Generated Node #0,0,0: 26:[33, 68] Operation: 43+25=68
Exploring Operation: 43-25=18, Resulting Numbers: [33, 18]
Generated Node #0,0,1: 26:[33, 18] Operation: 43-25=18
Exploring Operation: 43-33=10, Resulting Numbers: [25, 10]
Generated Node #0,0,2: 26:[25, 10] Operation: 43-33=10
Exploring Operation: 33-25=8, Resulting Numbers: [43, 8]
Generated Node #0,0,3: 26:[43, 8] Operation: 33-25=8
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[25, 10], Operations: ['60-27=33', '43-33=10']
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,26 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[33, 18], Operations: ['60-27=33', '43-25=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[43, 8], Operations: ['60-27=33', '33-25=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,26 unequal: No Solution
Exploring Operation: 43+8=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,0,0
Current State: 26:[33, 68], Operations: ['60-27=33', '43+25=68']
Exploring Operation: 33*68=2244, Resulting Numbers: [2244]
2244,26 unequal: No Solution
Exploring Operation: 33+68=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 26:[43, 27, 35], Operations: ['60-25=35']
Exploring Operation: 35-27=8, Resulting Numbers: [43, 8]
Generated Node #0,3,0: 26:[43, 8] Operation: 35-27=8
Exploring Operation: 43-35=8, Resulting Numbers: [27, 8]
Generated Node #0,3,1: 26:[27, 8] Operation: 43-35=8
Exploring Operation: 43+27=70, Resulting Numbers: [35, 70]
Generated Node #0,3,2: 26:[35, 70] Operation: 43+27=70
Exploring Operation: 43-27=16, Resulting Numbers: [35, 16]
Generated Node #0,3,3: 26:[35, 16] Operation: 43-27=16
Moving to Node #0,1
Current State: 26:[60, 25, 16], Operations: ['43-27=16']
Exploring Operation: 60-25=35, Resulting Numbers: [16, 35]
Generated Node #0,1,0: 26:[16, 35] Operation: 60-25=35
Exploring Operation: 25-16=9, Resulting Numbers: [60, 9]
Generated Node #0,1,1: 26:[60, 9] Operation: 25-16=9
Exploring Operation: 25+16=41, Resulting Numbers: [60, 41]
Generated Node #0,1,2: 26:[60, 41] Operation: 25+16=41
Exploring Operation: 60-16=44, Resulting Numbers: [25, 44]
Generated Node #0,1,3: 26:[25, 44] Operation: 60-16=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[16, 35], Operations: ['43-27=16', '60-25=35']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,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:[25, 44], Operations: ['43-27=16', '60-16=44']
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,26 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,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:[60, 9], Operations: ['43-27=16', '25-16=9']
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,26 unequal: No Solution
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 60-9=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:[60, 41], Operations: ['43-27=16', '25+16=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,26 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 26:[27, 8], Operations: ['60-25=35', '43-35=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,26 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[35, 16], Operations: ['60-25=35', '43-27=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[43, 8], Operations: ['60-25=35', '35-27=8']
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,26 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[35, 70], Operations: ['60-25=35', '43+27=70']
Exploring Operation: 35*70=2450, Resulting Numbers: [2450]
2450,26 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,26 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
76,
2,
50
] | 13 | [
"56-50=6",
"76+2=78",
"78/6=13"
] | Current State: 13:[56, 76, 2, 50], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [76, 2, 6]
Generated Node #2: [76, 2, 6] from Operation: 56-50=6
Current State: 13:[76, 2, 6], Operations: ['56-50=6']
Exploring Operation: 76+2=78, Resulting Numbers: [6, 78]
Generated Node #3: [6, 78] from Operation: 76+2=78
Current State: 13:[6, 78], Operations: ['56-50=6', '76+2=78']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[56, 76, 2, 50], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [2, 50, 20]
Generated Node #0,0: 13:[2, 50, 20] Operation: 76-56=20
Moving to Node #0,0
Current State: 13:[2, 50, 20], Operations: ['76-56=20']
Exploring Operation: 50/2=25, Resulting Numbers: [20, 25]
Generated Node #0,0,0: 13:[20, 25] Operation: 50/2=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[20, 25], Operations: ['76-56=20', '50/2=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,13 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 |
[
11,
5,
93,
33
] | 95 | [
"33/11=3",
"5+93=98",
"98-3=95"
] | Current State: 95:[11, 5, 93, 33], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [5, 93, 3]
Generated Node #2: [5, 93, 3] from Operation: 33/11=3
Current State: 95:[5, 93, 3], Operations: ['33/11=3']
Exploring Operation: 5+93=98, Resulting Numbers: [3, 98]
Generated Node #3: [3, 98] from Operation: 5+93=98
Current State: 95:[3, 98], Operations: ['33/11=3', '5+93=98']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[11, 5, 93, 33], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [5, 93, 3]
Generated Node #0,0: 95:[5, 93, 3] Operation: 33/11=3
Exploring Operation: 33-5=28, Resulting Numbers: [11, 93, 28]
Generated Node #0,1: 95:[11, 93, 28] Operation: 33-5=28
Exploring Operation: 11-5=6, Resulting Numbers: [93, 33, 6]
Generated Node #0,2: 95:[93, 33, 6] Operation: 11-5=6
Exploring Operation: 33-11=22, Resulting Numbers: [5, 93, 22]
Generated Node #0,3: 95:[5, 93, 22] Operation: 33-11=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[5, 93, 3], Operations: ['33/11=3']
Exploring Operation: 93+3=96, Resulting Numbers: [5, 96]
Generated Node #0,0,0: 95:[5, 96] Operation: 93+3=96
Exploring Operation: 5+3=8, Resulting Numbers: [93, 8]
Generated Node #0,0,1: 95:[93, 8] Operation: 5+3=8
Exploring Operation: 5+93=98, Resulting Numbers: [3, 98]
Generated Node #0,0,2: 95:[3, 98] Operation: 5+93=98
Exploring Operation: 5-3=2, Resulting Numbers: [93, 2]
Generated Node #0,0,3: 95:[93, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 95:[5, 96], Operations: ['33/11=3', '93+3=96']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,95 unequal: No Solution
Exploring Operation: 5+96=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 5*96=480, Resulting Numbers: [480]
480,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[3, 98], Operations: ['33/11=3', '5+93=98']
Exploring Operation: 3*98=294, Resulting Numbers: [294]
294,95 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[11, 5, 93, 33], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [5, 93, 3]
Generated Node #0,0: 95:[5, 93, 3] Operation: 33/11=3
Moving to Node #0,0
Current State: 95:[5, 93, 3], Operations: ['33/11=3']
Exploring Operation: 5+93=98, Resulting Numbers: [3, 98]
Generated Node #0,0,2: 95:[3, 98] Operation: 5+93=98
Moving to Node #0,0,2
Current State: 95:[3, 98], Operations: ['33/11=3', '5+93=98']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
7,
57,
57,
59
] | 100 | [
"57-7=50",
"59-57=2",
"50*2=100"
] | Current State: 100:[7, 57, 57, 59], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [59, 50]
Generated Node #2: [59, 50] from Operation: 57-7=50
Current State: 100:[59, 50], Operations: ['57-7=50']
Exploring Operation: 59-57=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 59-57=2
Current State: 100:[50, 2], Operations: ['57-7=50', '59-57=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[7, 57, 57, 59], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [7, 57, 2]
Generated Node #0,0: 100:[7, 57, 2] Operation: 59-57=2
Exploring Operation: 59-57=2, Resulting Numbers: [7, 57, 2]
Generated Node #0,1: 100:[7, 57, 2] Operation: 59-57=2
Moving to Node #0,0
Current State: 100:[7, 57, 2], Operations: ['59-57=2']
Exploring Operation: 7-2=5, Resulting Numbers: [57, 5]
Generated Node #0,0,0: 100:[57, 5] Operation: 7-2=5
Exploring Operation: 57-7=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 100:[2, 50] Operation: 57-7=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[2, 50], Operations: ['59-57=2', '57-7=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[7, 57, 57, 59], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [7, 57, 2]
Generated Node #0,0: 100:[7, 57, 2] Operation: 59-57=2
Moving to Node #0,0
Current State: 100:[7, 57, 2], Operations: ['59-57=2']
Exploring Operation: 57-7=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 100:[2, 50] Operation: 57-7=50
Moving to Node #0,0,1
Current State: 100:[2, 50], Operations: ['59-57=2', '57-7=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
33,
84,
49,
80
] | 40 | [
"84-33=51",
"51-49=2",
"80/2=40"
] | Current State: 40:[33, 84, 49, 80], Operations: []
Exploring Operation: 84-33=51, Resulting Numbers: [49, 80, 51]
Generated Node #2: [49, 80, 51] from Operation: 84-33=51
Current State: 40:[49, 80, 51], Operations: ['84-33=51']
Exploring Operation: 51-49=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 51-49=2
Current State: 40:[80, 2], Operations: ['84-33=51', '51-49=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[33, 84, 49, 80], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [33, 49, 4]
Generated Node #0,0: 40:[33, 49, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[33, 49, 4], Operations: ['84-80=4']
Exploring Operation: 49-33=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 40:[4, 16] Operation: 49-33=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[4, 16], Operations: ['84-80=4', '49-33=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
56,
38,
24
] | 59 | [
"56-11=45",
"38-24=14",
"45+14=59"
] | Current State: 59:[11, 56, 38, 24], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [38, 24, 45]
Generated Node #2: [38, 24, 45] from Operation: 56-11=45
Current State: 59:[38, 24, 45], Operations: ['56-11=45']
Exploring Operation: 38-24=14, Resulting Numbers: [45, 14]
Generated Node #3: [45, 14] from Operation: 38-24=14
Current State: 59:[45, 14], Operations: ['56-11=45', '38-24=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[11, 56, 38, 24], Operations: []
Exploring Operation: 11+56=67, Resulting Numbers: [38, 24, 67]
Generated Node #0,0: 59:[38, 24, 67] Operation: 11+56=67
Exploring Operation: 38+24=62, Resulting Numbers: [11, 56, 62]
Generated Node #0,1: 59:[11, 56, 62] Operation: 38+24=62
Exploring Operation: 11+24=35, Resulting Numbers: [56, 38, 35]
Generated Node #0,2: 59:[56, 38, 35] Operation: 11+24=35
Exploring Operation: 11+38=49, Resulting Numbers: [56, 24, 49]
Generated Node #0,3: 59:[56, 24, 49] Operation: 11+38=49
Moving to Node #0,2
Current State: 59:[56, 38, 35], Operations: ['11+24=35']
Exploring Operation: 56+38=94, Resulting Numbers: [35, 94]
Generated Node #0,2,0: 59:[35, 94] Operation: 56+38=94
Exploring Operation: 38+35=73, Resulting Numbers: [56, 73]
Generated Node #0,2,1: 59:[56, 73] Operation: 38+35=73
Exploring Operation: 56-35=21, Resulting Numbers: [38, 21]
Generated Node #0,2,2: 59:[38, 21] Operation: 56-35=21
Exploring Operation: 56+35=91, Resulting Numbers: [38, 91]
Generated Node #0,2,3: 59:[38, 91] Operation: 56+35=91
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[56, 73], Operations: ['11+24=35', '38+35=73']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 56*73=4088, Resulting Numbers: [4088]
4088,59 unequal: No Solution
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[38, 91], Operations: ['11+24=35', '56+35=91']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 38+91=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 38*91=3458, Resulting Numbers: [3458]
3458,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[35, 94], Operations: ['11+24=35', '56+38=94']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[11, 56, 38, 24], Operations: []
Exploring Operation: 11+24=35, Resulting Numbers: [56, 38, 35]
Generated Node #0,2: 59:[56, 38, 35] Operation: 11+24=35
Moving to Node #0,2
Current State: 59:[56, 38, 35], Operations: ['11+24=35']
Exploring Operation: 56+38=94, Resulting Numbers: [35, 94]
Generated Node #0,2,0: 59:[35, 94] Operation: 56+38=94
Moving to Node #0,2,0
Current State: 59:[35, 94], Operations: ['11+24=35', '56+38=94']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
7,
24,
2,
16
] | 25 | [
"24-7=17",
"16/2=8",
"17+8=25"
] | Current State: 25:[7, 24, 2, 16], Operations: []
Exploring Operation: 24-7=17, Resulting Numbers: [2, 16, 17]
Generated Node #2: [2, 16, 17] from Operation: 24-7=17
Current State: 25:[2, 16, 17], Operations: ['24-7=17']
Exploring Operation: 16/2=8, Resulting Numbers: [17, 8]
Generated Node #3: [17, 8] from Operation: 16/2=8
Current State: 25:[17, 8], Operations: ['24-7=17', '16/2=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[7, 24, 2, 16], Operations: []
Exploring Operation: 16/2=8, Resulting Numbers: [7, 24, 8]
Generated Node #0,0: 25:[7, 24, 8] Operation: 16/2=8
Exploring Operation: 7+16=23, Resulting Numbers: [24, 2, 23]
Generated Node #0,1: 25:[24, 2, 23] Operation: 7+16=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[7, 24, 8], Operations: ['16/2=8']
Exploring Operation: 8-7=1, Resulting Numbers: [24, 1]
Generated Node #0,0,0: 25:[24, 1] Operation: 8-7=1
Exploring Operation: 24/8=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 25:[7, 3] Operation: 24/8=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[7, 3], Operations: ['16/2=8', '24/8=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No 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: 25:[24, 1], Operations: ['16/2=8', '8-7=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[7, 24, 2, 16], Operations: []
Exploring Operation: 16/2=8, Resulting Numbers: [7, 24, 8]
Generated Node #0,0: 25:[7, 24, 8] Operation: 16/2=8
Moving to Node #0,0
Current State: 25:[7, 24, 8], Operations: ['16/2=8']
Exploring Operation: 8-7=1, Resulting Numbers: [24, 1]
Generated Node #0,0,0: 25:[24, 1] Operation: 8-7=1
Moving to Node #0,0,0
Current State: 25:[24, 1], Operations: ['16/2=8', '8-7=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
80,
11,
66,
42
] | 87 | [
"66/11=6",
"42/6=7",
"80+7=87"
] | Current State: 87:[80, 11, 66, 42], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [80, 42, 6]
Generated Node #2: [80, 42, 6] from Operation: 66/11=6
Current State: 87:[80, 42, 6], Operations: ['66/11=6']
Exploring Operation: 42/6=7, Resulting Numbers: [80, 7]
Generated Node #3: [80, 7] from Operation: 42/6=7
Current State: 87:[80, 7], Operations: ['66/11=6', '42/6=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[80, 11, 66, 42], Operations: []
Exploring Operation: 11+66=77, Resulting Numbers: [80, 42, 77]
Generated Node #0,0: 87:[80, 42, 77] Operation: 11+66=77
Exploring Operation: 66-42=24, Resulting Numbers: [80, 11, 24]
Generated Node #0,1: 87:[80, 11, 24] Operation: 66-42=24
Exploring Operation: 66/11=6, Resulting Numbers: [80, 42, 6]
Generated Node #0,2: 87:[80, 42, 6] Operation: 66/11=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[80, 11, 24], Operations: ['66-42=24']
Exploring Operation: 24-11=13, Resulting Numbers: [80, 13]
Generated Node #0,1,0: 87:[80, 13] Operation: 24-11=13
Exploring Operation: 11+24=35, Resulting Numbers: [80, 35]
Generated Node #0,1,1: 87:[80, 35] Operation: 11+24=35
Exploring Operation: 80+11=91, Resulting Numbers: [24, 91]
Generated Node #0,1,2: 87:[24, 91] Operation: 80+11=91
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[24, 91], Operations: ['66-42=24', '80+11=91']
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,87 unequal: No Solution
No 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: 87:[80, 35], Operations: ['66-42=24', '11+24=35']
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,87 unequal: No Solution
No 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: 87:[80, 13], Operations: ['66-42=24', '24-11=13']
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,87 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,87 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: 87:[80, 42, 6], Operations: ['66/11=6']
Exploring Operation: 80+6=86, Resulting Numbers: [42, 86]
Generated Node #0,2,0: 87:[42, 86] Operation: 80+6=86
Exploring Operation: 80-42=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 87:[6, 38] Operation: 80-42=38
Exploring Operation: 42/6=7, Resulting Numbers: [80, 7]
Generated Node #0,2,2: 87:[80, 7] Operation: 42/6=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[80, 7], Operations: ['66/11=6', '42/6=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[80, 11, 66, 42], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [80, 42, 6]
Generated Node #0,2: 87:[80, 42, 6] Operation: 66/11=6
Moving to Node #0,2
Current State: 87:[80, 42, 6], Operations: ['66/11=6']
Exploring Operation: 42/6=7, Resulting Numbers: [80, 7]
Generated Node #0,2,2: 87:[80, 7] Operation: 42/6=7
Moving to Node #0,2,2
Current State: 87:[80, 7], Operations: ['66/11=6', '42/6=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
29,
31,
64,
91
] | 29 | [
"31-29=2",
"91-64=27",
"2+27=29"
] | Current State: 29:[29, 31, 64, 91], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [64, 91, 2]
Generated Node #2: [64, 91, 2] from Operation: 31-29=2
Current State: 29:[64, 91, 2], Operations: ['31-29=2']
Exploring Operation: 91-64=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 91-64=27
Current State: 29:[2, 27], Operations: ['31-29=2', '91-64=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[29, 31, 64, 91], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [29, 64, 60]
Generated Node #0,0: 29:[29, 64, 60] Operation: 91-31=60
Exploring Operation: 91-29=62, Resulting Numbers: [31, 64, 62]
Generated Node #0,1: 29:[31, 64, 62] Operation: 91-29=62
Exploring Operation: 91-64=27, Resulting Numbers: [29, 31, 27]
Generated Node #0,2: 29:[29, 31, 27] Operation: 91-64=27
Exploring Operation: 64-31=33, Resulting Numbers: [29, 91, 33]
Generated Node #0,3: 29:[29, 91, 33] Operation: 64-31=33
Exploring Operation: 64-29=35, Resulting Numbers: [31, 91, 35]
Generated Node #0,4: 29:[31, 91, 35] Operation: 64-29=35
Moving to Node #0,2
Current State: 29:[29, 31, 27], Operations: ['91-64=27']
Exploring Operation: 29-27=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 29:[31, 2] Operation: 29-27=2
Exploring Operation: 31+27=58, Resulting Numbers: [29, 58]
Generated Node #0,2,1: 29:[29, 58] Operation: 31+27=58
Exploring Operation: 31-29=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 29:[27, 2] Operation: 31-29=2
Exploring Operation: 29+27=56, Resulting Numbers: [31, 56]
Generated Node #0,2,3: 29:[31, 56] Operation: 29+27=56
Exploring Operation: 31-27=4, Resulting Numbers: [29, 4]
Generated Node #0,2,4: 29:[29, 4] Operation: 31-27=4
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 29:[29, 4], Operations: ['91-64=27', '31-27=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,29 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[31, 2], Operations: ['91-64=27', '29-27=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[29, 31, 64, 91], Operations: []
Exploring Operation: 91-64=27, Resulting Numbers: [29, 31, 27]
Generated Node #0,2: 29:[29, 31, 27] Operation: 91-64=27
Moving to Node #0,2
Current State: 29:[29, 31, 27], Operations: ['91-64=27']
Exploring Operation: 29-27=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 29:[31, 2] Operation: 29-27=2
Moving to Node #0,2,0
Current State: 29:[31, 2], Operations: ['91-64=27', '29-27=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
74,
15,
30,
71
] | 42 | [
"74-15=59",
"30+71=101",
"101-59=42"
] | Current State: 42:[74, 15, 30, 71], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [30, 71, 59]
Generated Node #2: [30, 71, 59] from Operation: 74-15=59
Current State: 42:[30, 71, 59], Operations: ['74-15=59']
Exploring Operation: 30+71=101, Resulting Numbers: [59, 101]
Generated Node #3: [59, 101] from Operation: 30+71=101
Current State: 42:[59, 101], Operations: ['74-15=59', '30+71=101']
Exploring Operation: 101-59=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[74, 15, 30, 71], Operations: []
Exploring Operation: 74-30=44, Resulting Numbers: [15, 71, 44]
Generated Node #0,0: 42:[15, 71, 44] Operation: 74-30=44
Exploring Operation: 74-71=3, Resulting Numbers: [15, 30, 3]
Generated Node #0,1: 42:[15, 30, 3] Operation: 74-71=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[15, 30, 3], Operations: ['74-71=3']
Exploring Operation: 30-15=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 42:[3, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 42:[3, 2] Operation: 30/15=2
Moving to Node #0,1,1
Current State: 42:[3, 2], Operations: ['74-71=3', '30/15=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[3, 15], Operations: ['74-71=3', '30-15=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,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:[15, 71, 44], Operations: ['74-30=44']
Exploring Operation: 71-15=56, Resulting Numbers: [44, 56]
Generated Node #0,0,0: 42:[44, 56] Operation: 71-15=56
Exploring Operation: 71-44=27, Resulting Numbers: [15, 27]
Generated Node #0,0,1: 42:[15, 27] Operation: 71-44=27
Moving to Node #0,0,1
Current State: 42:[15, 27], Operations: ['74-30=44', '71-44=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[74, 15, 30, 71], Operations: []
Exploring Operation: 74-30=44, Resulting Numbers: [15, 71, 44]
Generated Node #0,0: 42:[15, 71, 44] Operation: 74-30=44
Moving to Node #0,0
Current State: 42:[15, 71, 44], Operations: ['74-30=44']
Exploring Operation: 71-44=27, Resulting Numbers: [15, 27]
Generated Node #0,0,1: 42:[15, 27] Operation: 71-44=27
Moving to Node #0,0,1
Current State: 42:[15, 27], Operations: ['74-30=44', '71-44=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
51,
52,
60,
36
] | 23 | [
"52-51=1",
"60-36=24",
"24-1=23"
] | Current State: 23:[51, 52, 60, 36], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [60, 36, 1]
Generated Node #2: [60, 36, 1] from Operation: 52-51=1
Current State: 23:[60, 36, 1], Operations: ['52-51=1']
Exploring Operation: 60-36=24, Resulting Numbers: [1, 24]
Generated Node #3: [1, 24] from Operation: 60-36=24
Current State: 23:[1, 24], Operations: ['52-51=1', '60-36=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[51, 52, 60, 36], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [52, 36, 9]
Generated Node #0,0: 23:[52, 36, 9] Operation: 60-51=9
Exploring Operation: 52-51=1, Resulting Numbers: [60, 36, 1]
Generated Node #0,1: 23:[60, 36, 1] Operation: 52-51=1
Exploring Operation: 60-52=8, Resulting Numbers: [51, 36, 8]
Generated Node #0,2: 23:[51, 36, 8] Operation: 60-52=8
Exploring Operation: 60-36=24, Resulting Numbers: [51, 52, 24]
Generated Node #0,3: 23:[51, 52, 24] Operation: 60-36=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[52, 36, 9], Operations: ['60-51=9']
Exploring Operation: 36-9=27, Resulting Numbers: [52, 27]
Generated Node #0,0,0: 23:[52, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [52, 4]
Generated Node #0,0,1: 23:[52, 4] Operation: 36/9=4
Exploring Operation: 52-9=43, Resulting Numbers: [36, 43]
Generated Node #0,0,2: 23:[36, 43] Operation: 52-9=43
Exploring Operation: 52-36=16, Resulting Numbers: [9, 16]
Generated Node #0,0,3: 23:[9, 16] Operation: 52-36=16
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[9, 16], Operations: ['60-51=9', '52-36=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[52, 27], Operations: ['60-51=9', '36-9=27']
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,23 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[36, 43], Operations: ['60-51=9', '52-9=43']
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,23 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[52, 4], Operations: ['60-51=9', '36/9=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,23 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[51, 36, 8], Operations: ['60-52=8']
Exploring Operation: 51-36=15, Resulting Numbers: [8, 15]
Generated Node #0,2,0: 23:[8, 15] Operation: 51-36=15
Exploring Operation: 36-8=28, Resulting Numbers: [51, 28]
Generated Node #0,2,1: 23:[51, 28] Operation: 36-8=28
Exploring Operation: 51+8=59, Resulting Numbers: [36, 59]
Generated Node #0,2,2: 23:[36, 59] Operation: 51+8=59
Exploring Operation: 51-8=43, Resulting Numbers: [36, 43]
Generated Node #0,2,3: 23:[36, 43] Operation: 51-8=43
Moving to Node #0,2,0
Current State: 23:[8, 15], Operations: ['60-52=8', '51-36=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[51, 52, 60, 36], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [51, 36, 8]
Generated Node #0,2: 23:[51, 36, 8] Operation: 60-52=8
Moving to Node #0,2
Current State: 23:[51, 36, 8], Operations: ['60-52=8']
Exploring Operation: 51-36=15, Resulting Numbers: [8, 15]
Generated Node #0,2,0: 23:[8, 15] Operation: 51-36=15
Moving to Node #0,2,0
Current State: 23:[8, 15], Operations: ['60-52=8', '51-36=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
32,
56,
35,
25
] | 43 | [
"32-25=7",
"56/7=8",
"35+8=43"
] | Current State: 43:[32, 56, 35, 25], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [56, 35, 7]
Generated Node #2: [56, 35, 7] from Operation: 32-25=7
Current State: 43:[56, 35, 7], Operations: ['32-25=7']
Exploring Operation: 56/7=8, Resulting Numbers: [35, 8]
Generated Node #3: [35, 8] from Operation: 56/7=8
Current State: 43:[35, 8], Operations: ['32-25=7', '56/7=8']
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[32, 56, 35, 25], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [35, 25, 24]
Generated Node #0,0: 43:[35, 25, 24] Operation: 56-32=24
Exploring Operation: 35+25=60, Resulting Numbers: [32, 56, 60]
Generated Node #0,1: 43:[32, 56, 60] Operation: 35+25=60
Exploring Operation: 32+25=57, Resulting Numbers: [56, 35, 57]
Generated Node #0,2: 43:[56, 35, 57] Operation: 32+25=57
Exploring Operation: 56-25=31, Resulting Numbers: [32, 35, 31]
Generated Node #0,3: 43:[32, 35, 31] Operation: 56-25=31
Moving to Node #0,3
Current State: 43:[32, 35, 31], Operations: ['56-25=31']
Exploring Operation: 32+35=67, Resulting Numbers: [31, 67]
Generated Node #0,3,0: 43:[31, 67] Operation: 32+35=67
Exploring Operation: 32-31=1, Resulting Numbers: [35, 1]
Generated Node #0,3,1: 43:[35, 1] Operation: 32-31=1
Exploring Operation: 35+31=66, Resulting Numbers: [32, 66]
Generated Node #0,3,2: 43:[32, 66] Operation: 35+31=66
Exploring Operation: 32+31=63, Resulting Numbers: [35, 63]
Generated Node #0,3,3: 43:[35, 63] Operation: 32+31=63
Moving to Node #0,2
Current State: 43:[56, 35, 57], Operations: ['32+25=57']
Exploring Operation: 56-35=21, Resulting Numbers: [57, 21]
Generated Node #0,2,0: 43:[57, 21] Operation: 56-35=21
Exploring Operation: 57-56=1, Resulting Numbers: [35, 1]
Generated Node #0,2,1: 43:[35, 1] Operation: 57-56=1
Exploring Operation: 57-35=22, Resulting Numbers: [56, 22]
Generated Node #0,2,2: 43:[56, 22] Operation: 57-35=22
Exploring Operation: 56+35=91, Resulting Numbers: [57, 91]
Generated Node #0,2,3: 43:[57, 91] Operation: 56+35=91
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[56, 22], Operations: ['32+25=57', '57-35=22']
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[57, 21], Operations: ['32+25=57', '56-35=21']
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,43 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[35, 1], Operations: ['32+25=57', '57-56=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 43:[57, 91], Operations: ['32+25=57', '56+35=91']
Exploring Operation: 57*91=5187, Resulting Numbers: [5187]
5187,43 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 57+91=148, Resulting Numbers: [148]
148,43 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: 43:[32, 56, 60], Operations: ['35+25=60']
Exploring Operation: 56-32=24, Resulting Numbers: [60, 24]
Generated Node #0,1,0: 43:[60, 24] Operation: 56-32=24
Exploring Operation: 32+56=88, Resulting Numbers: [60, 88]
Generated Node #0,1,1: 43:[60, 88] Operation: 32+56=88
Exploring Operation: 60-56=4, Resulting Numbers: [32, 4]
Generated Node #0,1,2: 43:[32, 4] Operation: 60-56=4
Exploring Operation: 60-32=28, Resulting Numbers: [56, 28]
Generated Node #0,1,3: 43:[56, 28] Operation: 60-32=28
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[56, 28], Operations: ['35+25=60', '60-32=28']
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[60, 24], Operations: ['35+25=60', '56-32=24']
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[32, 4], Operations: ['35+25=60', '60-56=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[60, 88], Operations: ['35+25=60', '32+56=88']
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 60+88=148, Resulting Numbers: [148]
148,43 unequal: No Solution
Exploring Operation: 60*88=5280, Resulting Numbers: [5280]
5280,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 43:[35, 25, 24], Operations: ['56-32=24']
Exploring Operation: 35+24=59, Resulting Numbers: [25, 59]
Generated Node #0,0,0: 43:[25, 59] Operation: 35+24=59
Exploring Operation: 35+25=60, Resulting Numbers: [24, 60]
Generated Node #0,0,1: 43:[24, 60] Operation: 35+25=60
Exploring Operation: 25+24=49, Resulting Numbers: [35, 49]
Generated Node #0,0,2: 43:[35, 49] Operation: 25+24=49
Exploring Operation: 35-24=11, Resulting Numbers: [25, 11]
Generated Node #0,0,3: 43:[25, 11] Operation: 35-24=11
Moving to Node #0,0,2
Current State: 43:[35, 49], Operations: ['56-32=24', '25+24=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,43 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[35, 63], Operations: ['56-25=31', '32+31=63']
Exploring Operation: 35+63=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 35*63=2205, Resulting Numbers: [2205]
2205,43 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[25, 59], Operations: ['56-32=24', '35+24=59']
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,43 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[32, 66], Operations: ['56-25=31', '35+31=66']
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[31, 67], Operations: ['56-25=31', '32+35=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,43 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[24, 60], Operations: ['56-32=24', '35+25=60']
Exploring Operation: 24*60=1440, Resulting Numbers: [1440]
1440,43 unequal: No Solution
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[35, 1], Operations: ['56-25=31', '32-31=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[25, 11], Operations: ['56-32=24', '35-24=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,43 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
50,
26,
37,
90
] | 92 | [
"50-37=13",
"26/13=2",
"90+2=92"
] | Current State: 92:[50, 26, 37, 90], Operations: []
Exploring Operation: 50-37=13, Resulting Numbers: [26, 90, 13]
Generated Node #2: [26, 90, 13] from Operation: 50-37=13
Current State: 92:[26, 90, 13], Operations: ['50-37=13']
Exploring Operation: 26/13=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 26/13=2
Current State: 92:[90, 2], Operations: ['50-37=13', '26/13=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[50, 26, 37, 90], Operations: []
Exploring Operation: 50-26=24, Resulting Numbers: [37, 90, 24]
Generated Node #0,0: 92:[37, 90, 24] Operation: 50-26=24
Exploring Operation: 50+37=87, Resulting Numbers: [26, 90, 87]
Generated Node #0,1: 92:[26, 90, 87] Operation: 50+37=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[26, 90, 87], Operations: ['50+37=87']
Exploring Operation: 87-26=61, Resulting Numbers: [90, 61]
Generated Node #0,1,0: 92:[90, 61] Operation: 87-26=61
Exploring Operation: 90-87=3, Resulting Numbers: [26, 3]
Generated Node #0,1,1: 92:[26, 3] Operation: 90-87=3
Moving to Node #0,1,1
Current State: 92:[26, 3], Operations: ['50+37=87', '90-87=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[90, 61], Operations: ['50+37=87', '87-26=61']
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,92 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[37, 90, 24], Operations: ['50-26=24']
Exploring Operation: 37-24=13, Resulting Numbers: [90, 13]
Generated Node #0,0,0: 92:[90, 13] Operation: 37-24=13
Exploring Operation: 90-37=53, Resulting Numbers: [24, 53]
Generated Node #0,0,1: 92:[24, 53] Operation: 90-37=53
Moving to Node #0,0,1
Current State: 92:[24, 53], Operations: ['50-26=24', '90-37=53']
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[90, 13], Operations: ['50-26=24', '37-24=13']
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,92 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,92 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 |
[
8,
46,
15,
97
] | 58 | [
"8+46=54",
"15+97=112",
"112-54=58"
] | Current State: 58:[8, 46, 15, 97], Operations: []
Exploring Operation: 8+46=54, Resulting Numbers: [15, 97, 54]
Generated Node #2: [15, 97, 54] from Operation: 8+46=54
Current State: 58:[15, 97, 54], Operations: ['8+46=54']
Exploring Operation: 15+97=112, Resulting Numbers: [54, 112]
Generated Node #3: [54, 112] from Operation: 15+97=112
Current State: 58:[54, 112], Operations: ['8+46=54', '15+97=112']
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[8, 46, 15, 97], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [8, 46, 82]
Generated Node #0,0: 58:[8, 46, 82] Operation: 97-15=82
Exploring Operation: 97-46=51, Resulting Numbers: [8, 15, 51]
Generated Node #0,1: 58:[8, 15, 51] Operation: 97-46=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[8, 15, 51], Operations: ['97-46=51']
Exploring Operation: 8+15=23, Resulting Numbers: [51, 23]
Generated Node #0,1,0: 58:[51, 23] Operation: 8+15=23
Exploring Operation: 15-8=7, Resulting Numbers: [51, 7]
Generated Node #0,1,1: 58:[51, 7] Operation: 15-8=7
Moving to Node #0,1,1
Current State: 58:[51, 7], Operations: ['97-46=51', '15-8=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[8, 46, 15, 97], Operations: []
Exploring Operation: 97-46=51, Resulting Numbers: [8, 15, 51]
Generated Node #0,1: 58:[8, 15, 51] Operation: 97-46=51
Moving to Node #0,1
Current State: 58:[8, 15, 51], Operations: ['97-46=51']
Exploring Operation: 15-8=7, Resulting Numbers: [51, 7]
Generated Node #0,1,1: 58:[51, 7] Operation: 15-8=7
Moving to Node #0,1,1
Current State: 58:[51, 7], Operations: ['97-46=51', '15-8=7']
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
54,
30,
29,
84
] | 19 | [
"54*29=1566",
"30+1566=1596",
"1596/84=19"
] | Current State: 19:[54, 30, 29, 84], Operations: []
Exploring Operation: 54*29=1566, Resulting Numbers: [30, 84, 1566]
Generated Node #2: [30, 84, 1566] from Operation: 54*29=1566
Current State: 19:[30, 84, 1566], Operations: ['54*29=1566']
Exploring Operation: 30+1566=1596, Resulting Numbers: [84, 1596]
Generated Node #3: [84, 1596] from Operation: 30+1566=1596
Current State: 19:[84, 1596], Operations: ['54*29=1566', '30+1566=1596']
Exploring Operation: 1596/84=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[54, 30, 29, 84], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [29, 84, 24]
Generated Node #0,0: 19:[29, 84, 24] Operation: 54-30=24
Exploring Operation: 54-29=25, Resulting Numbers: [30, 84, 25]
Generated Node #0,1: 19:[30, 84, 25] Operation: 54-29=25
Exploring Operation: 84-30=54, Resulting Numbers: [54, 29, 54]
Generated Node #0,2: 19:[54, 29, 54] Operation: 84-30=54
Exploring Operation: 84-54=30, Resulting Numbers: [30, 29, 30]
Generated Node #0,3: 19:[30, 29, 30] Operation: 84-54=30
Moving to Node #0,3
Current State: 19:[30, 29, 30], Operations: ['84-54=30']
Exploring Operation: 30-29=1, Resulting Numbers: [30, 1]
Generated Node #0,3,0: 19:[30, 1] Operation: 30-29=1
Exploring Operation: 30-29=1, Resulting Numbers: [30, 1]
Generated Node #0,3,1: 19:[30, 1] Operation: 30-29=1
Exploring Operation: 30/30=1, Resulting Numbers: [29, 1]
Generated Node #0,3,2: 19:[29, 1] Operation: 30/30=1
Exploring Operation: 30-30=0, Resulting Numbers: [29, 0]
Generated Node #0,3,3: 19:[29, 0] Operation: 30-30=0
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[29, 1], Operations: ['84-54=30', '30/30=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,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:[30, 1], Operations: ['84-54=30', '30-29=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,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:[30, 1], Operations: ['84-54=30', '30-29=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,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:[29, 0], Operations: ['84-54=30', '30-30=0']
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,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:[54, 29, 54], Operations: ['84-30=54']
Exploring Operation: 54-29=25, Resulting Numbers: [54, 25]
Generated Node #0,2,0: 19:[54, 25] Operation: 54-29=25
Exploring Operation: 54/54=1, Resulting Numbers: [29, 1]
Generated Node #0,2,1: 19:[29, 1] Operation: 54/54=1
Exploring Operation: 54-54=0, Resulting Numbers: [29, 0]
Generated Node #0,2,2: 19:[29, 0] Operation: 54-54=0
Exploring Operation: 54-29=25, Resulting Numbers: [54, 25]
Generated Node #0,2,3: 19:[54, 25] Operation: 54-29=25
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[29, 1], Operations: ['84-30=54', '54/54=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[29, 0], Operations: ['84-30=54', '54-54=0']
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[54, 25], Operations: ['84-30=54', '54-29=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,19 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,19 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[54, 25], Operations: ['84-30=54', '54-29=25']
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,19 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 19:[29, 84, 24], Operations: ['54-30=24']
Exploring Operation: 84-29=55, Resulting Numbers: [24, 55]
Generated Node #0,0,0: 19:[24, 55] Operation: 84-29=55
Exploring Operation: 84-24=60, Resulting Numbers: [29, 60]
Generated Node #0,0,1: 19:[29, 60] Operation: 84-24=60
Exploring Operation: 29-24=5, Resulting Numbers: [84, 5]
Generated Node #0,0,2: 19:[84, 5] Operation: 29-24=5
Exploring Operation: 29+84=113, Resulting Numbers: [24, 113]
Generated Node #0,0,3: 19:[24, 113] Operation: 29+84=113
Moving to Node #0,1
Current State: 19:[30, 84, 25], Operations: ['54-29=25']
Exploring Operation: 84-30=54, Resulting Numbers: [25, 54]
Generated Node #0,1,0: 19:[25, 54] Operation: 84-30=54
Exploring Operation: 30-25=5, Resulting Numbers: [84, 5]
Generated Node #0,1,1: 19:[84, 5] Operation: 30-25=5
Exploring Operation: 30+84=114, Resulting Numbers: [25, 114]
Generated Node #0,1,2: 19:[25, 114] Operation: 30+84=114
Exploring Operation: 84-25=59, Resulting Numbers: [30, 59]
Generated Node #0,1,3: 19:[30, 59] Operation: 84-25=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[25, 54], Operations: ['54-29=25', '84-30=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,19 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,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:[30, 59], Operations: ['54-29=25', '84-25=59']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,19 unequal: No Solution
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[84, 5], Operations: ['54-29=25', '30-25=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,19 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,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:[25, 114], Operations: ['54-29=25', '30+84=114']
Exploring Operation: 25+114=139, Resulting Numbers: [139]
139,19 unequal: No Solution
Exploring Operation: 25*114=2850, Resulting Numbers: [2850]
2850,19 unequal: No Solution
Exploring Operation: 114-25=89, Resulting Numbers: [89]
89,19 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: 19:[24, 55], Operations: ['54-30=24', '84-29=55']
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,19 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[29, 60], Operations: ['54-30=24', '84-24=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[84, 5], Operations: ['54-30=24', '29-24=5']
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,19 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,19 unequal: No Solution
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[24, 113], Operations: ['54-30=24', '29+84=113']
Exploring Operation: 24+113=137, Resulting Numbers: [137]
137,19 unequal: No Solution
Exploring Operation: 113-24=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 24*113=2712, Resulting Numbers: [2712]
2712,19 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
55,
23,
13,
14
] | 84 | [
"55+23=78",
"78/13=6",
"14*6=84"
] | Current State: 84:[55, 23, 13, 14], Operations: []
Exploring Operation: 55+23=78, Resulting Numbers: [13, 14, 78]
Generated Node #2: [13, 14, 78] from Operation: 55+23=78
Current State: 84:[13, 14, 78], Operations: ['55+23=78']
Exploring Operation: 78/13=6, Resulting Numbers: [14, 6]
Generated Node #3: [14, 6] from Operation: 78/13=6
Current State: 84:[14, 6], Operations: ['55+23=78', '78/13=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[55, 23, 13, 14], Operations: []
Exploring Operation: 55-14=41, Resulting Numbers: [23, 13, 41]
Generated Node #0,0: 84:[23, 13, 41] Operation: 55-14=41
Exploring Operation: 55+23=78, Resulting Numbers: [13, 14, 78]
Generated Node #0,1: 84:[13, 14, 78] Operation: 55+23=78
Exploring Operation: 55-13=42, Resulting Numbers: [23, 14, 42]
Generated Node #0,2: 84:[23, 14, 42] Operation: 55-13=42
Exploring Operation: 23-13=10, Resulting Numbers: [55, 14, 10]
Generated Node #0,3: 84:[55, 14, 10] Operation: 23-13=10
Exploring Operation: 55-23=32, Resulting Numbers: [13, 14, 32]
Generated Node #0,4: 84:[13, 14, 32] Operation: 55-23=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[23, 14, 42], Operations: ['55-13=42']
Exploring Operation: 23-14=9, Resulting Numbers: [42, 9]
Generated Node #0,2,0: 84:[42, 9] Operation: 23-14=9
Exploring Operation: 42/14=3, Resulting Numbers: [23, 3]
Generated Node #0,2,1: 84:[23, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [23, 28]
Generated Node #0,2,2: 84:[23, 28] Operation: 42-14=28
Exploring Operation: 42-23=19, Resulting Numbers: [14, 19]
Generated Node #0,2,3: 84:[14, 19] Operation: 42-23=19
Exploring Operation: 23+14=37, Resulting Numbers: [42, 37]
Generated Node #0,2,4: 84:[42, 37] Operation: 23+14=37
Moving to Node #0,2,0
Current State: 84:[42, 9], Operations: ['55-13=42', '23-14=9']
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,84 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[23, 28], Operations: ['55-13=42', '42-14=28']
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,84 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[23, 3], Operations: ['55-13=42', '42/14=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[14, 19], Operations: ['55-13=42', '42-23=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
Moving to Node #0,2,4
Current State: 84:[42, 37], Operations: ['55-13=42', '23+14=37']
Exploring Operation: 42*37=1554, Resulting Numbers: [1554]
1554,84 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[23, 13, 41], Operations: ['55-14=41']
Exploring Operation: 41-23=18, Resulting Numbers: [13, 18]
Generated Node #0,0,0: 84:[13, 18] Operation: 41-23=18
Exploring Operation: 23-13=10, Resulting Numbers: [41, 10]
Generated Node #0,0,1: 84:[41, 10] Operation: 23-13=10
Exploring Operation: 41-13=28, Resulting Numbers: [23, 28]
Generated Node #0,0,2: 84:[23, 28] Operation: 41-13=28
Exploring Operation: 13+41=54, Resulting Numbers: [23, 54]
Generated Node #0,0,3: 84:[23, 54] Operation: 13+41=54
Exploring Operation: 23+13=36, Resulting Numbers: [41, 36]
Generated Node #0,0,4: 84:[41, 36] Operation: 23+13=36
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[23, 28], Operations: ['55-14=41', '41-13=28']
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,84 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,84 unequal: No Solution
No 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: 84:[41, 10], Operations: ['55-14=41', '23-13=10']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,84 unequal: No Solution
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,84 unequal: No Solution
No 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: 84:[13, 18], Operations: ['55-14=41', '41-23=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,84 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,84 unequal: No Solution
No 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: 84:[41, 36], Operations: ['55-14=41', '23+13=36']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,84 unequal: No Solution
No 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: 84:[23, 54], Operations: ['55-14=41', '13+41=54']
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,84 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,84 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: 84:[13, 14, 32], Operations: ['55-23=32']
Exploring Operation: 13+32=45, Resulting Numbers: [14, 45]
Generated Node #0,4,0: 84:[14, 45] Operation: 13+32=45
Exploring Operation: 32-14=18, Resulting Numbers: [13, 18]
Generated Node #0,4,1: 84:[13, 18] Operation: 32-14=18
Exploring Operation: 13+14=27, Resulting Numbers: [32, 27]
Generated Node #0,4,2: 84:[32, 27] Operation: 13+14=27
Exploring Operation: 14-13=1, Resulting Numbers: [32, 1]
Generated Node #0,4,3: 84:[32, 1] Operation: 14-13=1
Exploring Operation: 32-13=19, Resulting Numbers: [14, 19]
Generated Node #0,4,4: 84:[14, 19] Operation: 32-13=19
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 84:[14, 19], Operations: ['55-23=32', '32-13=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
No 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: 84:[14, 45], Operations: ['55-23=32', '13+32=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,84 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,84 unequal: No Solution
No 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: 84:[13, 18], Operations: ['55-23=32', '32-14=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,84 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,84 unequal: No Solution
No 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: 84:[32, 27], Operations: ['55-23=32', '13+14=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,84 unequal: No Solution
No 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: 84:[32, 1], Operations: ['55-23=32', '14-13=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,84 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: 84:[13, 14, 78], Operations: ['55+23=78']
Exploring Operation: 13+78=91, Resulting Numbers: [14, 91]
Generated Node #0,1,0: 84:[14, 91] Operation: 13+78=91
Exploring Operation: 13+14=27, Resulting Numbers: [78, 27]
Generated Node #0,1,1: 84:[78, 27] Operation: 13+14=27
Exploring Operation: 14-13=1, Resulting Numbers: [78, 1]
Generated Node #0,1,2: 84:[78, 1] Operation: 14-13=1
Exploring Operation: 78/13=6, Resulting Numbers: [14, 6]
Generated Node #0,1,3: 84:[14, 6] Operation: 78/13=6
Exploring Operation: 14+78=92, Resulting Numbers: [13, 92]
Generated Node #0,1,4: 84:[13, 92] Operation: 14+78=92
Moving to Node #0,1,3
Current State: 84:[14, 6], Operations: ['55+23=78', '78/13=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[55, 23, 13, 14], Operations: []
Exploring Operation: 55+23=78, Resulting Numbers: [13, 14, 78]
Generated Node #0,1: 84:[13, 14, 78] Operation: 55+23=78
Moving to Node #0,1
Current State: 84:[13, 14, 78], Operations: ['55+23=78']
Exploring Operation: 78/13=6, Resulting Numbers: [14, 6]
Generated Node #0,1,3: 84:[14, 6] Operation: 78/13=6
Moving to Node #0,1,3
Current State: 84:[14, 6], Operations: ['55+23=78', '78/13=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.934028 | hs_5 | mult_heuristic |
[
67,
45,
21,
55
] | 72 | [
"67+21=88",
"45*88=3960",
"3960/55=72"
] | Current State: 72:[67, 45, 21, 55], Operations: []
Exploring Operation: 67+21=88, Resulting Numbers: [45, 55, 88]
Generated Node #2: [45, 55, 88] from Operation: 67+21=88
Current State: 72:[45, 55, 88], Operations: ['67+21=88']
Exploring Operation: 45*88=3960, Resulting Numbers: [55, 3960]
Generated Node #3: [55, 3960] from Operation: 45*88=3960
Current State: 72:[55, 3960], Operations: ['67+21=88', '45*88=3960']
Exploring Operation: 3960/55=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[67, 45, 21, 55], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [67, 45, 34]
Generated Node #0,0: 72:[67, 45, 34] Operation: 55-21=34
Exploring Operation: 21+55=76, Resulting Numbers: [67, 45, 76]
Generated Node #0,1: 72:[67, 45, 76] Operation: 21+55=76
Exploring Operation: 67-55=12, Resulting Numbers: [45, 21, 12]
Generated Node #0,2: 72:[45, 21, 12] Operation: 67-55=12
Exploring Operation: 55-45=10, Resulting Numbers: [67, 21, 10]
Generated Node #0,3: 72:[67, 21, 10] Operation: 55-45=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[67, 21, 10], Operations: ['55-45=10']
Exploring Operation: 21-10=11, Resulting Numbers: [67, 11]
Generated Node #0,3,0: 72:[67, 11] Operation: 21-10=11
Exploring Operation: 67+10=77, Resulting Numbers: [21, 77]
Generated Node #0,3,1: 72:[21, 77] Operation: 67+10=77
Exploring Operation: 21+10=31, Resulting Numbers: [67, 31]
Generated Node #0,3,2: 72:[67, 31] Operation: 21+10=31
Exploring Operation: 67-21=46, Resulting Numbers: [10, 46]
Generated Node #0,3,3: 72:[10, 46] Operation: 67-21=46
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 72:[67, 11], Operations: ['55-45=10', '21-10=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 72:[21, 77], Operations: ['55-45=10', '67+10=77']
Exploring Operation: 21*77=1617, Resulting Numbers: [1617]
1617,72 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 72:[67, 31], Operations: ['55-45=10', '21+10=31']
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 72:[10, 46], Operations: ['55-45=10', '67-21=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[45, 21, 12], Operations: ['67-55=12']
Exploring Operation: 45-12=33, Resulting Numbers: [21, 33]
Generated Node #0,2,0: 72:[21, 33] Operation: 45-12=33
Exploring Operation: 45+21=66, Resulting Numbers: [12, 66]
Generated Node #0,2,1: 72:[12, 66] Operation: 45+21=66
Exploring Operation: 21-12=9, Resulting Numbers: [45, 9]
Generated Node #0,2,2: 72:[45, 9] Operation: 21-12=9
Exploring Operation: 45-21=24, Resulting Numbers: [12, 24]
Generated Node #0,2,3: 72:[12, 24] Operation: 45-21=24
Moving to Node #0,2,3
Current State: 72:[12, 24], Operations: ['67-55=12', '45-21=24']
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,72 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[12, 66], Operations: ['67-55=12', '45+21=66']
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,72 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[21, 33], Operations: ['67-55=12', '45-12=33']
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,72 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[45, 9], Operations: ['67-55=12', '21-12=9']
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,72 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[67, 45, 34], Operations: ['55-21=34']
Exploring Operation: 67-34=33, Resulting Numbers: [45, 33]
Generated Node #0,0,0: 72:[45, 33] Operation: 67-34=33
Exploring Operation: 45+34=79, Resulting Numbers: [67, 79]
Generated Node #0,0,1: 72:[67, 79] Operation: 45+34=79
Exploring Operation: 67-45=22, Resulting Numbers: [34, 22]
Generated Node #0,0,2: 72:[34, 22] Operation: 67-45=22
Exploring Operation: 45-34=11, Resulting Numbers: [67, 11]
Generated Node #0,0,3: 72:[67, 11] Operation: 45-34=11
Moving to Node #0,0,2
Current State: 72:[34, 22], Operations: ['55-21=34', '67-45=22']
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,72 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[67, 11], Operations: ['55-21=34', '45-34=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[67, 79], Operations: ['55-21=34', '45+34=79']
Exploring Operation: 67*79=5293, Resulting Numbers: [5293]
5293,72 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 67+79=146, Resulting Numbers: [146]
146,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[45, 33], Operations: ['55-21=34', '67-34=33']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[67, 45, 76], Operations: ['21+55=76']
Exploring Operation: 76-67=9, Resulting Numbers: [45, 9]
Generated Node #0,1,0: 72:[45, 9] Operation: 76-67=9
Exploring Operation: 76-45=31, Resulting Numbers: [67, 31]
Generated Node #0,1,1: 72:[67, 31] Operation: 76-45=31
Exploring Operation: 67+45=112, Resulting Numbers: [76, 112]
Generated Node #0,1,2: 72:[76, 112] Operation: 67+45=112
Exploring Operation: 67-45=22, Resulting Numbers: [76, 22]
Generated Node #0,1,3: 72:[76, 22] Operation: 67-45=22
Moving to Node #0,1,3
Current State: 72:[76, 22], Operations: ['21+55=76', '67-45=22']
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,72 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[45, 9], Operations: ['21+55=76', '76-67=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[67, 31], Operations: ['21+55=76', '76-45=31']
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,72 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[76, 112], Operations: ['21+55=76', '67+45=112']
Exploring Operation: 76+112=188, Resulting Numbers: [188]
188,72 unequal: No Solution
Exploring Operation: 76*112=8512, Resulting Numbers: [8512]
8512,72 unequal: No Solution
Exploring Operation: 112-76=36, Resulting Numbers: [36]
36,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
76,
29,
58,
8
] | 92 | [
"58/29=2",
"8*2=16",
"76+16=92"
] | Current State: 92:[76, 29, 58, 8], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [76, 8, 2]
Generated Node #2: [76, 8, 2] from Operation: 58/29=2
Current State: 92:[76, 8, 2], Operations: ['58/29=2']
Exploring Operation: 8*2=16, Resulting Numbers: [76, 16]
Generated Node #3: [76, 16] from Operation: 8*2=16
Current State: 92:[76, 16], Operations: ['58/29=2', '8*2=16']
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[76, 29, 58, 8], Operations: []
Exploring Operation: 76-29=47, Resulting Numbers: [58, 8, 47]
Generated Node #0,0: 92:[58, 8, 47] Operation: 76-29=47
Exploring Operation: 76-58=18, Resulting Numbers: [29, 8, 18]
Generated Node #0,1: 92:[29, 8, 18] Operation: 76-58=18
Exploring Operation: 76+8=84, Resulting Numbers: [29, 58, 84]
Generated Node #0,2: 92:[29, 58, 84] Operation: 76+8=84
Exploring Operation: 58/29=2, Resulting Numbers: [76, 8, 2]
Generated Node #0,3: 92:[76, 8, 2] Operation: 58/29=2
Exploring Operation: 29+58=87, Resulting Numbers: [76, 8, 87]
Generated Node #0,4: 92:[76, 8, 87] Operation: 29+58=87
Moving to Node #0,1
Current State: 92:[29, 8, 18], Operations: ['76-58=18']
Exploring Operation: 29-8=21, Resulting Numbers: [18, 21]
Generated Node #0,1,0: 92:[18, 21] Operation: 29-8=21
Exploring Operation: 29-18=11, Resulting Numbers: [8, 11]
Generated Node #0,1,1: 92:[8, 11] Operation: 29-18=11
Exploring Operation: 8+18=26, Resulting Numbers: [29, 26]
Generated Node #0,1,2: 92:[29, 26] Operation: 8+18=26
Exploring Operation: 29+18=47, Resulting Numbers: [8, 47]
Generated Node #0,1,3: 92:[8, 47] Operation: 29+18=47
Exploring Operation: 18-8=10, Resulting Numbers: [29, 10]
Generated Node #0,1,4: 92:[29, 10] Operation: 18-8=10
Moving to Node #0,0
Current State: 92:[58, 8, 47], Operations: ['76-29=47']
Exploring Operation: 58+47=105, Resulting Numbers: [8, 105]
Generated Node #0,0,0: 92:[8, 105] Operation: 58+47=105
Exploring Operation: 58-8=50, Resulting Numbers: [47, 50]
Generated Node #0,0,1: 92:[47, 50] Operation: 58-8=50
Exploring Operation: 47-8=39, Resulting Numbers: [58, 39]
Generated Node #0,0,2: 92:[58, 39] Operation: 47-8=39
Exploring Operation: 58+8=66, Resulting Numbers: [47, 66]
Generated Node #0,0,3: 92:[47, 66] Operation: 58+8=66
Exploring Operation: 58-47=11, Resulting Numbers: [8, 11]
Generated Node #0,0,4: 92:[8, 11] Operation: 58-47=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[47, 50], Operations: ['76-29=47', '58-8=50']
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,92 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 92:[8, 11], Operations: ['76-29=47', '58-47=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[8, 105], Operations: ['76-29=47', '58+47=105']
Exploring Operation: 105-8=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 8+105=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 8*105=840, Resulting Numbers: [840]
840,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[58, 39], Operations: ['76-29=47', '47-8=39']
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 58*39=2262, Resulting Numbers: [2262]
2262,92 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[47, 66], Operations: ['76-29=47', '58+8=66']
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 47+66=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 47*66=3102, Resulting Numbers: [3102]
3102,92 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: 92:[76, 8, 2], Operations: ['58/29=2']
Exploring Operation: 76+2=78, Resulting Numbers: [8, 78]
Generated Node #0,3,0: 92:[8, 78] Operation: 76+2=78
Exploring Operation: 76/2=38, Resulting Numbers: [8, 38]
Generated Node #0,3,1: 92:[8, 38] Operation: 76/2=38
Exploring Operation: 8/2=4, Resulting Numbers: [76, 4]
Generated Node #0,3,2: 92:[76, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [76, 6]
Generated Node #0,3,3: 92:[76, 6] Operation: 8-2=6
Exploring Operation: 76+8=84, Resulting Numbers: [2, 84]
Generated Node #0,3,4: 92:[2, 84] Operation: 76+8=84
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 92:[2, 84], Operations: ['58/29=2', '76+8=84']
Exploring Operation: 2*84=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[8, 38], Operations: ['58/29=2', '76/2=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,92 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[76, 4], Operations: ['58/29=2', '8/2=4']
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,92 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[8, 78], Operations: ['58/29=2', '76+2=78']
Exploring Operation: 8*78=624, Resulting Numbers: [624]
624,92 unequal: No Solution
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[76, 6], Operations: ['58/29=2', '8-2=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,92 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: 92:[76, 8, 87], Operations: ['29+58=87']
Exploring Operation: 87-76=11, Resulting Numbers: [8, 11]
Generated Node #0,4,0: 92:[8, 11] Operation: 87-76=11
Exploring Operation: 76+8=84, Resulting Numbers: [87, 84]
Generated Node #0,4,1: 92:[87, 84] Operation: 76+8=84
Exploring Operation: 76-8=68, Resulting Numbers: [87, 68]
Generated Node #0,4,2: 92:[87, 68] Operation: 76-8=68
Exploring Operation: 8+87=95, Resulting Numbers: [76, 95]
Generated Node #0,4,3: 92:[76, 95] Operation: 8+87=95
Exploring Operation: 87-8=79, Resulting Numbers: [76, 79]
Generated Node #0,4,4: 92:[76, 79] Operation: 87-8=79
Moving to Node #0,2
Current State: 92:[29, 58, 84], Operations: ['76+8=84']
Exploring Operation: 29+58=87, Resulting Numbers: [84, 87]
Generated Node #0,2,0: 92:[84, 87] Operation: 29+58=87
Exploring Operation: 58-29=29, Resulting Numbers: [84, 29]
Generated Node #0,2,1: 92:[84, 29] Operation: 58-29=29
Exploring Operation: 84-58=26, Resulting Numbers: [29, 26]
Generated Node #0,2,2: 92:[29, 26] Operation: 84-58=26
Exploring Operation: 58/29=2, Resulting Numbers: [84, 2]
Generated Node #0,2,3: 92:[84, 2] Operation: 58/29=2
Exploring Operation: 84-29=55, Resulting Numbers: [58, 55]
Generated Node #0,2,4: 92:[58, 55] Operation: 84-29=55
Moving to Node #0,1,3
Current State: 92:[8, 47], Operations: ['76-58=18', '29+18=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[18, 21], Operations: ['76-58=18', '29-8=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[84, 2], Operations: ['76+8=84', '58/29=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[29, 26], Operations: ['76-58=18', '8+18=26']
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,92 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[29, 26], Operations: ['76+8=84', '84-58=26']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[8, 11], Operations: ['29+58=87', '87-76=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[8, 11], Operations: ['76-58=18', '29-18=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[29, 10], Operations: ['76-58=18', '18-8=10']
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,92 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[87, 84], Operations: ['29+58=87', '76+8=84']
Exploring Operation: 87+84=171, Resulting Numbers: [171]
171,92 unequal: No Solution
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 87*84=7308, Resulting Numbers: [7308]
7308,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[84, 87], Operations: ['76+8=84', '29+58=87']
Exploring Operation: 84*87=7308, Resulting Numbers: [7308]
7308,92 unequal: No Solution
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 84+87=171, Resulting Numbers: [171]
171,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[84, 29], Operations: ['76+8=84', '58-29=29']
Exploring Operation: 84+29=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 84*29=2436, Resulting Numbers: [2436]
2436,92 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[76, 95], Operations: ['29+58=87', '8+87=95']
Exploring Operation: 76+95=171, Resulting Numbers: [171]
171,92 unequal: No Solution
Exploring Operation: 76*95=7220, Resulting Numbers: [7220]
7220,92 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,2,4
Current State: 92:[58, 55], Operations: ['76+8=84', '84-29=55']
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,92 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[87, 68], Operations: ['29+58=87', '76-8=68']
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 87+68=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 87*68=5916, Resulting Numbers: [5916]
5916,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[76, 79], Operations: ['29+58=87', '87-8=79']
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 76*79=6004, Resulting Numbers: [6004]
6004,92 unequal: No Solution
Exploring Operation: 76+79=155, Resulting Numbers: [155]
155,92 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
99,
14,
13,
5
] | 88 | [
"99-5=94",
"14*13=182",
"182-94=88"
] | Current State: 88:[99, 14, 13, 5], Operations: []
Exploring Operation: 99-5=94, Resulting Numbers: [14, 13, 94]
Generated Node #2: [14, 13, 94] from Operation: 99-5=94
Current State: 88:[14, 13, 94], Operations: ['99-5=94']
Exploring Operation: 14*13=182, Resulting Numbers: [94, 182]
Generated Node #3: [94, 182] from Operation: 14*13=182
Current State: 88:[94, 182], Operations: ['99-5=94', '14*13=182']
Exploring Operation: 182-94=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[99, 14, 13, 5], Operations: []
Exploring Operation: 99-14=85, Resulting Numbers: [13, 5, 85]
Generated Node #0,0: 88:[13, 5, 85] Operation: 99-14=85
Moving to Node #0,0
Current State: 88:[13, 5, 85], Operations: ['99-14=85']
Exploring Operation: 13-5=8, Resulting Numbers: [85, 8]
Generated Node #0,0,0: 88:[85, 8] Operation: 13-5=8
Moving to Node #0,0,0
Current State: 88:[85, 8], Operations: ['99-14=85', '13-5=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,88 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
42,
79,
39
] | 14 | [
"38+79=117",
"42*39=1638",
"1638/117=14"
] | Current State: 14:[38, 42, 79, 39], Operations: []
Exploring Operation: 38+79=117, Resulting Numbers: [42, 39, 117]
Generated Node #2: [42, 39, 117] from Operation: 38+79=117
Current State: 14:[42, 39, 117], Operations: ['38+79=117']
Exploring Operation: 42*39=1638, Resulting Numbers: [117, 1638]
Generated Node #3: [117, 1638] from Operation: 42*39=1638
Current State: 14:[117, 1638], Operations: ['38+79=117', '42*39=1638']
Exploring Operation: 1638/117=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[38, 42, 79, 39], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [38, 39, 37]
Generated Node #0,0: 14:[38, 39, 37] Operation: 79-42=37
Exploring Operation: 42-39=3, Resulting Numbers: [38, 79, 3]
Generated Node #0,1: 14:[38, 79, 3] Operation: 42-39=3
Exploring Operation: 79-38=41, Resulting Numbers: [42, 39, 41]
Generated Node #0,2: 14:[42, 39, 41] Operation: 79-38=41
Exploring Operation: 79-39=40, Resulting Numbers: [38, 42, 40]
Generated Node #0,3: 14:[38, 42, 40] Operation: 79-39=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[38, 39, 37], Operations: ['79-42=37']
Exploring Operation: 38-37=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 14:[39, 1] Operation: 38-37=1
Exploring Operation: 39-37=2, Resulting Numbers: [38, 2]
Generated Node #0,0,1: 14:[38, 2] Operation: 39-37=2
Exploring Operation: 38+39=77, Resulting Numbers: [37, 77]
Generated Node #0,0,2: 14:[37, 77] Operation: 38+39=77
Exploring Operation: 39-38=1, Resulting Numbers: [37, 1]
Generated Node #0,0,3: 14:[37, 1] Operation: 39-38=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[38, 2], Operations: ['79-42=37', '39-37=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[37, 1], Operations: ['79-42=37', '39-38=1']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[39, 1], Operations: ['79-42=37', '38-37=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[37, 77], Operations: ['79-42=37', '38+39=77']
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,14 unequal: No Solution
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[38, 42, 40], Operations: ['79-39=40']
Exploring Operation: 40-38=2, Resulting Numbers: [42, 2]
Generated Node #0,3,0: 14:[42, 2] Operation: 40-38=2
Exploring Operation: 38+42=80, Resulting Numbers: [40, 80]
Generated Node #0,3,1: 14:[40, 80] Operation: 38+42=80
Exploring Operation: 42-40=2, Resulting Numbers: [38, 2]
Generated Node #0,3,2: 14:[38, 2] Operation: 42-40=2
Exploring Operation: 42-38=4, Resulting Numbers: [40, 4]
Generated Node #0,3,3: 14:[40, 4] Operation: 42-38=4
Moving to Node #0,3,2
Current State: 14:[38, 2], Operations: ['79-39=40', '42-40=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[40, 4], Operations: ['79-39=40', '42-38=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,14 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[42, 2], Operations: ['79-39=40', '40-38=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[40, 80], Operations: ['79-39=40', '38+42=80']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 40*80=3200, Resulting Numbers: [3200]
3200,14 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 40+80=120, Resulting Numbers: [120]
120,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[42, 39, 41], Operations: ['79-38=41']
Exploring Operation: 42+39=81, Resulting Numbers: [41, 81]
Generated Node #0,2,0: 14:[41, 81] Operation: 42+39=81
Exploring Operation: 42-39=3, Resulting Numbers: [41, 3]
Generated Node #0,2,1: 14:[41, 3] Operation: 42-39=3
Exploring Operation: 41-39=2, Resulting Numbers: [42, 2]
Generated Node #0,2,2: 14:[42, 2] Operation: 41-39=2
Exploring Operation: 42-41=1, Resulting Numbers: [39, 1]
Generated Node #0,2,3: 14:[39, 1] Operation: 42-41=1
Moving to Node #0,2,3
Current State: 14:[39, 1], Operations: ['79-38=41', '42-41=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[42, 2], Operations: ['79-38=41', '41-39=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[41, 3], Operations: ['79-38=41', '42-39=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,14 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[41, 81], Operations: ['79-38=41', '42+39=81']
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,14 unequal: No Solution
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,14 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[38, 79, 3], Operations: ['42-39=3']
Exploring Operation: 79-38=41, Resulting Numbers: [3, 41]
Generated Node #0,1,0: 14:[3, 41] Operation: 79-38=41
Exploring Operation: 38+3=41, Resulting Numbers: [79, 41]
Generated Node #0,1,1: 14:[79, 41] Operation: 38+3=41
Exploring Operation: 79-3=76, Resulting Numbers: [38, 76]
Generated Node #0,1,2: 14:[38, 76] Operation: 79-3=76
Exploring Operation: 38-3=35, Resulting Numbers: [79, 35]
Generated Node #0,1,3: 14:[79, 35] Operation: 38-3=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[3, 41], Operations: ['42-39=3', '79-38=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,14 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 14:[38, 76], Operations: ['42-39=3', '79-3=76']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,14 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,14 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 14:[79, 35], Operations: ['42-39=3', '38-3=35']
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 79*35=2765, Resulting Numbers: [2765]
2765,14 unequal: No Solution
Exploring Operation: 79+35=114, Resulting Numbers: [114]
114,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[79, 41], Operations: ['42-39=3', '38+3=41']
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,14 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
94,
76,
55,
46
] | 69 | [
"94+76=170",
"55+46=101",
"170-101=69"
] | Current State: 69:[94, 76, 55, 46], Operations: []
Exploring Operation: 94+76=170, Resulting Numbers: [55, 46, 170]
Generated Node #2: [55, 46, 170] from Operation: 94+76=170
Current State: 69:[55, 46, 170], Operations: ['94+76=170']
Exploring Operation: 55+46=101, Resulting Numbers: [170, 101]
Generated Node #3: [170, 101] from Operation: 55+46=101
Current State: 69:[170, 101], Operations: ['94+76=170', '55+46=101']
Exploring Operation: 170-101=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[94, 76, 55, 46], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [94, 76, 9]
Generated Node #0,0: 69:[94, 76, 9] Operation: 55-46=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[94, 76, 9], Operations: ['55-46=9']
Exploring Operation: 94-76=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 69:[9, 18] Operation: 94-76=18
Moving to Node #0,0,0
Current State: 69:[9, 18], Operations: ['55-46=9', '94-76=18']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,69 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 |
[
76,
21,
16,
9
] | 30 | [
"76-21=55",
"16+9=25",
"55-25=30"
] | Current State: 30:[76, 21, 16, 9], Operations: []
Exploring Operation: 76-21=55, Resulting Numbers: [16, 9, 55]
Generated Node #2: [16, 9, 55] from Operation: 76-21=55
Current State: 30:[16, 9, 55], Operations: ['76-21=55']
Exploring Operation: 16+9=25, Resulting Numbers: [55, 25]
Generated Node #3: [55, 25] from Operation: 16+9=25
Current State: 30:[55, 25], Operations: ['76-21=55', '16+9=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[76, 21, 16, 9], Operations: []
Exploring Operation: 76-9=67, Resulting Numbers: [21, 16, 67]
Generated Node #0,0: 30:[21, 16, 67] Operation: 76-9=67
Exploring Operation: 21-16=5, Resulting Numbers: [76, 9, 5]
Generated Node #0,1: 30:[76, 9, 5] Operation: 21-16=5
Exploring Operation: 76-16=60, Resulting Numbers: [21, 9, 60]
Generated Node #0,2: 30:[21, 9, 60] Operation: 76-16=60
Exploring Operation: 76-21=55, Resulting Numbers: [16, 9, 55]
Generated Node #0,3: 30:[16, 9, 55] Operation: 76-21=55
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[16, 9, 55], Operations: ['76-21=55']
Exploring Operation: 55-16=39, Resulting Numbers: [9, 39]
Generated Node #0,3,0: 30:[9, 39] Operation: 55-16=39
Exploring Operation: 16-9=7, Resulting Numbers: [55, 7]
Generated Node #0,3,1: 30:[55, 7] Operation: 16-9=7
Exploring Operation: 16+9=25, Resulting Numbers: [55, 25]
Generated Node #0,3,2: 30:[55, 25] Operation: 16+9=25
Exploring Operation: 55-9=46, Resulting Numbers: [16, 46]
Generated Node #0,3,3: 30:[16, 46] Operation: 55-9=46
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[9, 39], Operations: ['76-21=55', '55-16=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[76, 21, 16, 9], Operations: []
Exploring Operation: 76-21=55, Resulting Numbers: [16, 9, 55]
Generated Node #0,3: 30:[16, 9, 55] Operation: 76-21=55
Moving to Node #0,3
Current State: 30:[16, 9, 55], Operations: ['76-21=55']
Exploring Operation: 55-16=39, Resulting Numbers: [9, 39]
Generated Node #0,3,0: 30:[9, 39] Operation: 55-16=39
Moving to Node #0,3,0
Current State: 30:[9, 39], Operations: ['76-21=55', '55-16=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
11,
14,
36,
14
] | 25 | [
"11+14=25",
"36+14=50",
"50-25=25"
] | Current State: 25:[11, 14, 36, 14], Operations: []
Exploring Operation: 11+14=25, Resulting Numbers: [36, 25]
Generated Node #2: [36, 25] from Operation: 11+14=25
Current State: 25:[36, 25], Operations: ['11+14=25']
Exploring Operation: 36+14=50, Resulting Numbers: [25, 50]
Generated Node #3: [25, 50] from Operation: 36+14=50
Current State: 25:[25, 50], Operations: ['11+14=25', '36+14=50']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[11, 14, 36, 14], Operations: []
Exploring Operation: 36-11=25, Resulting Numbers: [14, 14, 25]
Generated Node #0,0: 25:[14, 14, 25] Operation: 36-11=25
Exploring Operation: 11+14=25, Resulting Numbers: [36, 14, 25]
Generated Node #0,1: 25:[36, 14, 25] Operation: 11+14=25
Exploring Operation: 36-14=22, Resulting Numbers: [11, 14, 22]
Generated Node #0,2: 25:[11, 14, 22] Operation: 36-14=22
Exploring Operation: 36-14=22, Resulting Numbers: [11, 14, 22]
Generated Node #0,3: 25:[11, 14, 22] Operation: 36-14=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[14, 14, 25], Operations: ['36-11=25']
Exploring Operation: 25-14=11, Resulting Numbers: [14, 11]
Generated Node #0,0,0: 25:[14, 11] Operation: 25-14=11
Exploring Operation: 14-14=0, Resulting Numbers: [25, 0]
Generated Node #0,0,1: 25:[25, 0] Operation: 14-14=0
Exploring Operation: 14+14=28, Resulting Numbers: [25, 28]
Generated Node #0,0,2: 25:[25, 28] Operation: 14+14=28
Exploring Operation: 14/14=1, Resulting Numbers: [25, 1]
Generated Node #0,0,3: 25:[25, 1] Operation: 14/14=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[25, 28], Operations: ['36-11=25', '14+14=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,25 unequal: No Solution
No 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: 25:[25, 1], Operations: ['36-11=25', '14/14=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[11, 14, 36, 14], Operations: []
Exploring Operation: 36-11=25, Resulting Numbers: [14, 14, 25]
Generated Node #0,0: 25:[14, 14, 25] Operation: 36-11=25
Moving to Node #0,0
Current State: 25:[14, 14, 25], Operations: ['36-11=25']
Exploring Operation: 14/14=1, Resulting Numbers: [25, 1]
Generated Node #0,0,3: 25:[25, 1] Operation: 14/14=1
Moving to Node #0,0,3
Current State: 25:[25, 1], Operations: ['36-11=25', '14/14=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
22,
64,
34,
11
] | 88 | [
"64-22=42",
"42-34=8",
"11*8=88"
] | Current State: 88:[22, 64, 34, 11], Operations: []
Exploring Operation: 64-22=42, Resulting Numbers: [34, 11, 42]
Generated Node #2: [34, 11, 42] from Operation: 64-22=42
Current State: 88:[34, 11, 42], Operations: ['64-22=42']
Exploring Operation: 42-34=8, Resulting Numbers: [11, 8]
Generated Node #3: [11, 8] from Operation: 42-34=8
Current State: 88:[11, 8], Operations: ['64-22=42', '42-34=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[22, 64, 34, 11], Operations: []
Exploring Operation: 64+34=98, Resulting Numbers: [22, 11, 98]
Generated Node #0,0: 88:[22, 11, 98] Operation: 64+34=98
Exploring Operation: 64-22=42, Resulting Numbers: [34, 11, 42]
Generated Node #0,1: 88:[34, 11, 42] Operation: 64-22=42
Exploring Operation: 22+64=86, Resulting Numbers: [34, 11, 86]
Generated Node #0,2: 88:[34, 11, 86] Operation: 22+64=86
Exploring Operation: 64-34=30, Resulting Numbers: [22, 11, 30]
Generated Node #0,3: 88:[22, 11, 30] Operation: 64-34=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[22, 11, 30], Operations: ['64-34=30']
Exploring Operation: 22-11=11, Resulting Numbers: [30, 11]
Generated Node #0,3,0: 88:[30, 11] Operation: 22-11=11
Exploring Operation: 30-11=19, Resulting Numbers: [22, 19]
Generated Node #0,3,1: 88:[22, 19] Operation: 30-11=19
Exploring Operation: 11+30=41, Resulting Numbers: [22, 41]
Generated Node #0,3,2: 88:[22, 41] Operation: 11+30=41
Exploring Operation: 30-22=8, Resulting Numbers: [11, 8]
Generated Node #0,3,3: 88:[11, 8] Operation: 30-22=8
Moving to Node #0,3,3
Current State: 88:[11, 8], Operations: ['64-34=30', '30-22=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[22, 64, 34, 11], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [22, 11, 30]
Generated Node #0,3: 88:[22, 11, 30] Operation: 64-34=30
Moving to Node #0,3
Current State: 88:[22, 11, 30], Operations: ['64-34=30']
Exploring Operation: 30-22=8, Resulting Numbers: [11, 8]
Generated Node #0,3,3: 88:[11, 8] Operation: 30-22=8
Moving to Node #0,3,3
Current State: 88:[11, 8], Operations: ['64-34=30', '30-22=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
72,
90,
60,
10
] | 87 | [
"90+60=150",
"150/10=15",
"72+15=87"
] | Current State: 87:[72, 90, 60, 10], Operations: []
Exploring Operation: 90+60=150, Resulting Numbers: [72, 10, 150]
Generated Node #2: [72, 10, 150] from Operation: 90+60=150
Current State: 87:[72, 10, 150], Operations: ['90+60=150']
Exploring Operation: 150/10=15, Resulting Numbers: [72, 15]
Generated Node #3: [72, 15] from Operation: 150/10=15
Current State: 87:[72, 15], Operations: ['90+60=150', '150/10=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[72, 90, 60, 10], Operations: []
Exploring Operation: 72-60=12, Resulting Numbers: [90, 10, 12]
Generated Node #0,0: 87:[90, 10, 12] Operation: 72-60=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[90, 10, 12], Operations: ['72-60=12']
Exploring Operation: 12-10=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 87:[90, 2] Operation: 12-10=2
Moving to Node #0,0,0
Current State: 87:[90, 2], Operations: ['72-60=12', '12-10=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
69,
2,
17,
23
] | 73 | [
"69-2=67",
"23-17=6",
"67+6=73"
] | Current State: 73:[69, 2, 17, 23], Operations: []
Exploring Operation: 69-2=67, Resulting Numbers: [17, 23, 67]
Generated Node #2: [17, 23, 67] from Operation: 69-2=67
Current State: 73:[17, 23, 67], Operations: ['69-2=67']
Exploring Operation: 23-17=6, Resulting Numbers: [67, 6]
Generated Node #3: [67, 6] from Operation: 23-17=6
Current State: 73:[67, 6], Operations: ['69-2=67', '23-17=6']
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[69, 2, 17, 23], Operations: []
Exploring Operation: 2*23=46, Resulting Numbers: [69, 17, 46]
Generated Node #0,0: 73:[69, 17, 46] Operation: 2*23=46
Exploring Operation: 2+17=19, Resulting Numbers: [69, 23, 19]
Generated Node #0,1: 73:[69, 23, 19] Operation: 2+17=19
Exploring Operation: 69+2=71, Resulting Numbers: [17, 23, 71]
Generated Node #0,2: 73:[17, 23, 71] Operation: 69+2=71
Exploring Operation: 2*17=34, Resulting Numbers: [69, 23, 34]
Generated Node #0,3: 73:[69, 23, 34] Operation: 2*17=34
Moving to Node #0,0
Current State: 73:[69, 17, 46], Operations: ['2*23=46']
Exploring Operation: 69+17=86, Resulting Numbers: [46, 86]
Generated Node #0,0,0: 73:[46, 86] Operation: 69+17=86
Exploring Operation: 46-17=29, Resulting Numbers: [69, 29]
Generated Node #0,0,1: 73:[69, 29] Operation: 46-17=29
Exploring Operation: 17+46=63, Resulting Numbers: [69, 63]
Generated Node #0,0,2: 73:[69, 63] Operation: 17+46=63
Exploring Operation: 69-17=52, Resulting Numbers: [46, 52]
Generated Node #0,0,3: 73:[46, 52] Operation: 69-17=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[69, 63], Operations: ['2*23=46', '17+46=63']
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[46, 86], Operations: ['2*23=46', '69+17=86']
Exploring Operation: 46*86=3956, Resulting Numbers: [3956]
3956,73 unequal: No Solution
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 46+86=132, Resulting Numbers: [132]
132,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[69, 29], Operations: ['2*23=46', '46-17=29']
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,73 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[46, 52], Operations: ['2*23=46', '69-17=52']
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,73 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,73 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: 73:[69, 23, 34], Operations: ['2*17=34']
Exploring Operation: 34-23=11, Resulting Numbers: [69, 11]
Generated Node #0,3,0: 73:[69, 11] Operation: 34-23=11
Exploring Operation: 69+23=92, Resulting Numbers: [34, 92]
Generated Node #0,3,1: 73:[34, 92] Operation: 69+23=92
Exploring Operation: 23+34=57, Resulting Numbers: [69, 57]
Generated Node #0,3,2: 73:[69, 57] Operation: 23+34=57
Exploring Operation: 69-23=46, Resulting Numbers: [34, 46]
Generated Node #0,3,3: 73:[34, 46] Operation: 69-23=46
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[69, 57], Operations: ['2*17=34', '23+34=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,73 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,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:[34, 92], Operations: ['2*17=34', '69+23=92']
Exploring Operation: 34+92=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 34*92=3128, Resulting Numbers: [3128]
3128,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:[69, 11], Operations: ['2*17=34', '34-23=11']
Exploring Operation: 69+11=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 69*11=759, Resulting Numbers: [759]
759,73 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,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,3
Current State: 73:[34, 46], Operations: ['2*17=34', '69-23=46']
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,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:[17, 23, 71], Operations: ['69+2=71']
Exploring Operation: 17+71=88, Resulting Numbers: [23, 88]
Generated Node #0,2,0: 73:[23, 88] Operation: 17+71=88
Exploring Operation: 71-17=54, Resulting Numbers: [23, 54]
Generated Node #0,2,1: 73:[23, 54] Operation: 71-17=54
Exploring Operation: 23-17=6, Resulting Numbers: [71, 6]
Generated Node #0,2,2: 73:[71, 6] Operation: 23-17=6
Exploring Operation: 17+23=40, Resulting Numbers: [71, 40]
Generated Node #0,2,3: 73:[71, 40] Operation: 17+23=40
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[71, 40], Operations: ['69+2=71', '17+23=40']
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,73 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,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,2,0
Current State: 73:[23, 88], Operations: ['69+2=71', '17+71=88']
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 23*88=2024, Resulting Numbers: [2024]
2024,73 unequal: No Solution
Exploring Operation: 23+88=111, Resulting Numbers: [111]
111,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,2,1
Current State: 73:[23, 54], Operations: ['69+2=71', '71-17=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,73 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,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,2,2
Current State: 73:[71, 6], Operations: ['69+2=71', '23-17=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,73 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[69, 23, 19], Operations: ['2+17=19']
Exploring Operation: 69-19=50, Resulting Numbers: [23, 50]
Generated Node #0,1,0: 73:[23, 50] Operation: 69-19=50
Exploring Operation: 23+19=42, Resulting Numbers: [69, 42]
Generated Node #0,1,1: 73:[69, 42] Operation: 23+19=42
Exploring Operation: 69+19=88, Resulting Numbers: [23, 88]
Generated Node #0,1,2: 73:[23, 88] Operation: 69+19=88
Exploring Operation: 69+23=92, Resulting Numbers: [19, 92]
Generated Node #0,1,3: 73:[19, 92] Operation: 69+23=92
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[69, 42], Operations: ['2+17=19', '23+19=42']
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,73 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[23, 88], Operations: ['2+17=19', '69+19=88']
Exploring Operation: 23+88=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 23*88=2024, Resulting Numbers: [2024]
2024,73 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,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:[23, 50], Operations: ['2+17=19', '69-19=50']
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,73 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[69, 2, 17, 23], Operations: []
Exploring Operation: 2+17=19, Resulting Numbers: [69, 23, 19]
Generated Node #0,1: 73:[69, 23, 19] Operation: 2+17=19
Moving to Node #0,1
Current State: 73:[69, 23, 19], Operations: ['2+17=19']
Exploring Operation: 69-19=50, Resulting Numbers: [23, 50]
Generated Node #0,1,0: 73:[23, 50] Operation: 69-19=50
Moving to Node #0,1,0
Current State: 73:[23, 50], Operations: ['2+17=19', '69-19=50']
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_4 | mult_heuristic |
[
54,
76,
21,
5
] | 14 | [
"54*21=1134",
"76+5=81",
"1134/81=14"
] | Current State: 14:[54, 76, 21, 5], Operations: []
Exploring Operation: 54*21=1134, Resulting Numbers: [76, 5, 1134]
Generated Node #2: [76, 5, 1134] from Operation: 54*21=1134
Current State: 14:[76, 5, 1134], Operations: ['54*21=1134']
Exploring Operation: 76+5=81, Resulting Numbers: [1134, 81]
Generated Node #3: [1134, 81] from Operation: 76+5=81
Current State: 14:[1134, 81], Operations: ['54*21=1134', '76+5=81']
Exploring Operation: 1134/81=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[54, 76, 21, 5], Operations: []
Exploring Operation: 76-21=55, Resulting Numbers: [54, 5, 55]
Generated Node #0,0: 14:[54, 5, 55] Operation: 76-21=55
Exploring Operation: 76-54=22, Resulting Numbers: [21, 5, 22]
Generated Node #0,1: 14:[21, 5, 22] Operation: 76-54=22
Exploring Operation: 54-21=33, Resulting Numbers: [76, 5, 33]
Generated Node #0,2: 14:[76, 5, 33] Operation: 54-21=33
Exploring Operation: 54-5=49, Resulting Numbers: [76, 21, 49]
Generated Node #0,3: 14:[76, 21, 49] Operation: 54-5=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[21, 5, 22], Operations: ['76-54=22']
Exploring Operation: 22-5=17, Resulting Numbers: [21, 17]
Generated Node #0,1,0: 14:[21, 17] Operation: 22-5=17
Exploring Operation: 21-5=16, Resulting Numbers: [22, 16]
Generated Node #0,1,1: 14:[22, 16] Operation: 21-5=16
Exploring Operation: 21+5=26, Resulting Numbers: [22, 26]
Generated Node #0,1,2: 14:[22, 26] Operation: 21+5=26
Exploring Operation: 22-21=1, Resulting Numbers: [5, 1]
Generated Node #0,1,3: 14:[5, 1] Operation: 22-21=1
Moving to Node #0,1,3
Current State: 14:[5, 1], Operations: ['76-54=22', '22-21=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[22, 16], Operations: ['76-54=22', '21-5=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,14 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[21, 17], Operations: ['76-54=22', '22-5=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,14 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[22, 26], Operations: ['76-54=22', '21+5=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[54, 5, 55], Operations: ['76-21=55']
Exploring Operation: 55-54=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 14:[5, 1] Operation: 55-54=1
Exploring Operation: 55/5=11, Resulting Numbers: [54, 11]
Generated Node #0,0,1: 14:[54, 11] Operation: 55/5=11
Exploring Operation: 54-5=49, Resulting Numbers: [55, 49]
Generated Node #0,0,2: 14:[55, 49] Operation: 54-5=49
Exploring Operation: 55-5=50, Resulting Numbers: [54, 50]
Generated Node #0,0,3: 14:[54, 50] Operation: 55-5=50
Moving to Node #0,0,0
Current State: 14:[5, 1], Operations: ['76-21=55', '55-54=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[54, 11], Operations: ['76-21=55', '55/5=11']
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,14 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[54, 50], Operations: ['76-21=55', '55-5=50']
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,14 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[55, 49], Operations: ['76-21=55', '54-5=49']
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,14 unequal: No Solution
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[76, 5, 33], Operations: ['54-21=33']
Exploring Operation: 76-33=43, Resulting Numbers: [5, 43]
Generated Node #0,2,0: 14:[5, 43] Operation: 76-33=43
Exploring Operation: 76-5=71, Resulting Numbers: [33, 71]
Generated Node #0,2,1: 14:[33, 71] Operation: 76-5=71
Exploring Operation: 33-5=28, Resulting Numbers: [76, 28]
Generated Node #0,2,2: 14:[76, 28] Operation: 33-5=28
Exploring Operation: 76+5=81, Resulting Numbers: [33, 81]
Generated Node #0,2,3: 14:[33, 81] Operation: 76+5=81
Moving to Node #0,2,0
Current State: 14:[5, 43], Operations: ['54-21=33', '76-33=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,14 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[76, 28], Operations: ['54-21=33', '33-5=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[33, 71], Operations: ['54-21=33', '76-5=71']
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 33*71=2343, Resulting Numbers: [2343]
2343,14 unequal: No Solution
Exploring Operation: 33+71=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[33, 81], Operations: ['54-21=33', '76+5=81']
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,14 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,14 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[76, 21, 49], Operations: ['54-5=49']
Exploring Operation: 76-49=27, Resulting Numbers: [21, 27]
Generated Node #0,3,0: 14:[21, 27] Operation: 76-49=27
Exploring Operation: 76+21=97, Resulting Numbers: [49, 97]
Generated Node #0,3,1: 14:[49, 97] Operation: 76+21=97
Exploring Operation: 76-21=55, Resulting Numbers: [49, 55]
Generated Node #0,3,2: 14:[49, 55] Operation: 76-21=55
Exploring Operation: 49-21=28, Resulting Numbers: [76, 28]
Generated Node #0,3,3: 14:[76, 28] Operation: 49-21=28
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[21, 27], Operations: ['54-5=49', '76-49=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,14 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[49, 55], Operations: ['54-5=49', '76-21=55']
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 49*55=2695, Resulting Numbers: [2695]
2695,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[76, 28], Operations: ['54-5=49', '49-21=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[49, 97], Operations: ['54-5=49', '76+21=97']
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 49+97=146, Resulting Numbers: [146]
146,14 unequal: No Solution
Exploring Operation: 49*97=4753, Resulting Numbers: [4753]
4753,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
67,
6,
76,
19
] | 22 | [
"67+6=73",
"76+19=95",
"95-73=22"
] | Current State: 22:[67, 6, 76, 19], Operations: []
Exploring Operation: 67+6=73, Resulting Numbers: [76, 19, 73]
Generated Node #2: [76, 19, 73] from Operation: 67+6=73
Current State: 22:[76, 19, 73], Operations: ['67+6=73']
Exploring Operation: 76+19=95, Resulting Numbers: [73, 95]
Generated Node #3: [73, 95] from Operation: 76+19=95
Current State: 22:[73, 95], Operations: ['67+6=73', '76+19=95']
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[67, 6, 76, 19], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [6, 19, 9]
Generated Node #0,0: 22:[6, 19, 9] Operation: 76-67=9
Exploring Operation: 76/19=4, Resulting Numbers: [67, 6, 4]
Generated Node #0,1: 22:[67, 6, 4] Operation: 76/19=4
Exploring Operation: 67-19=48, Resulting Numbers: [6, 76, 48]
Generated Node #0,2: 22:[6, 76, 48] Operation: 67-19=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[6, 19, 9], Operations: ['76-67=9']
Exploring Operation: 9-6=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 22:[19, 3] Operation: 9-6=3
Exploring Operation: 6+19=25, Resulting Numbers: [9, 25]
Generated Node #0,0,1: 22:[9, 25] Operation: 6+19=25
Exploring Operation: 19-6=13, Resulting Numbers: [9, 13]
Generated Node #0,0,2: 22:[9, 13] Operation: 19-6=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[19, 3], Operations: ['76-67=9', '9-6=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[67, 6, 76, 19], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [6, 19, 9]
Generated Node #0,0: 22:[6, 19, 9] Operation: 76-67=9
Moving to Node #0,0
Current State: 22:[6, 19, 9], Operations: ['76-67=9']
Exploring Operation: 9-6=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 22:[19, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 22:[19, 3], Operations: ['76-67=9', '9-6=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
23,
74,
25,
98
] | 72 | [
"23*74=1702",
"98+1702=1800",
"1800/25=72"
] | Current State: 72:[23, 74, 25, 98], Operations: []
Exploring Operation: 23*74=1702, Resulting Numbers: [25, 98, 1702]
Generated Node #2: [25, 98, 1702] from Operation: 23*74=1702
Current State: 72:[25, 98, 1702], Operations: ['23*74=1702']
Exploring Operation: 98+1702=1800, Resulting Numbers: [25, 1800]
Generated Node #3: [25, 1800] from Operation: 98+1702=1800
Current State: 72:[25, 1800], Operations: ['23*74=1702', '98+1702=1800']
Exploring Operation: 1800/25=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[23, 74, 25, 98], Operations: []
Exploring Operation: 98-25=73, Resulting Numbers: [23, 74, 73]
Generated Node #0,0: 72:[23, 74, 73] Operation: 98-25=73
Exploring Operation: 98-74=24, Resulting Numbers: [23, 25, 24]
Generated Node #0,1: 72:[23, 25, 24] Operation: 98-74=24
Exploring Operation: 98-23=75, Resulting Numbers: [74, 25, 75]
Generated Node #0,2: 72:[74, 25, 75] Operation: 98-23=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[23, 25, 24], Operations: ['98-74=24']
Exploring Operation: 24-23=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 72:[25, 1] Operation: 24-23=1
Exploring Operation: 25-23=2, Resulting Numbers: [24, 2]
Generated Node #0,1,1: 72:[24, 2] Operation: 25-23=2
Exploring Operation: 25-24=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 72:[23, 1] Operation: 25-24=1
Moving to Node #0,1,1
Current State: 72:[24, 2], Operations: ['98-74=24', '25-23=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[25, 1], Operations: ['98-74=24', '24-23=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[23, 1], Operations: ['98-74=24', '25-24=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[23, 74, 73], Operations: ['98-25=73']
Exploring Operation: 73-23=50, Resulting Numbers: [74, 50]
Generated Node #0,0,0: 72:[74, 50] Operation: 73-23=50
Exploring Operation: 74-23=51, Resulting Numbers: [73, 51]
Generated Node #0,0,1: 72:[73, 51] Operation: 74-23=51
Exploring Operation: 74-73=1, Resulting Numbers: [23, 1]
Generated Node #0,0,2: 72:[23, 1] Operation: 74-73=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[23, 1], Operations: ['98-25=73', '74-73=1']
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[74, 50], Operations: ['98-25=73', '73-23=50']
Exploring Operation: 74+50=124, Resulting Numbers: [124]
124,72 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 74*50=3700, Resulting Numbers: [3700]
3700,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[73, 51], Operations: ['98-25=73', '74-23=51']
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,72 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[74, 25, 75], Operations: ['98-23=75']
Exploring Operation: 75-74=1, Resulting Numbers: [25, 1]
Generated Node #0,2,0: 72:[25, 1] Operation: 75-74=1
Exploring Operation: 74-25=49, Resulting Numbers: [75, 49]
Generated Node #0,2,1: 72:[75, 49] Operation: 74-25=49
Exploring Operation: 75/25=3, Resulting Numbers: [74, 3]
Generated Node #0,2,2: 72:[74, 3] Operation: 75/25=3
Moving to Node #0,2,0
Current State: 72:[25, 1], Operations: ['98-23=75', '75-74=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[74, 3], Operations: ['98-23=75', '75/25=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,72 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[75, 49], Operations: ['98-23=75', '74-25=49']
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 75*49=3675, Resulting Numbers: [3675]
3675,72 unequal: No Solution
Exploring Operation: 75+49=124, Resulting Numbers: [124]
124,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
29,
54,
44,
11
] | 81 | [
"54-44=10",
"11*10=110",
"110-29=81"
] | Current State: 81:[29, 54, 44, 11], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [29, 11, 10]
Generated Node #2: [29, 11, 10] from Operation: 54-44=10
Current State: 81:[29, 11, 10], Operations: ['54-44=10']
Exploring Operation: 11*10=110, Resulting Numbers: [29, 110]
Generated Node #3: [29, 110] from Operation: 11*10=110
Current State: 81:[29, 110], Operations: ['54-44=10', '11*10=110']
Exploring Operation: 110-29=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[29, 54, 44, 11], Operations: []
Exploring Operation: 29+54=83, Resulting Numbers: [44, 11, 83]
Generated Node #0,0: 81:[44, 11, 83] Operation: 29+54=83
Exploring Operation: 54-44=10, Resulting Numbers: [29, 11, 10]
Generated Node #0,1: 81:[29, 11, 10] Operation: 54-44=10
Exploring Operation: 54-29=25, Resulting Numbers: [44, 11, 25]
Generated Node #0,2: 81:[44, 11, 25] Operation: 54-29=25
Exploring Operation: 54+44=98, Resulting Numbers: [29, 11, 98]
Generated Node #0,3: 81:[29, 11, 98] Operation: 54+44=98
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[29, 11, 10], Operations: ['54-44=10']
Exploring Operation: 29-10=19, Resulting Numbers: [11, 19]
Generated Node #0,1,0: 81:[11, 19] Operation: 29-10=19
Exploring Operation: 11-10=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 81:[29, 1] Operation: 11-10=1
Exploring Operation: 29-11=18, Resulting Numbers: [10, 18]
Generated Node #0,1,2: 81:[10, 18] Operation: 29-11=18
Exploring Operation: 11+10=21, Resulting Numbers: [29, 21]
Generated Node #0,1,3: 81:[29, 21] Operation: 11+10=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[29, 1], Operations: ['54-44=10', '11-10=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No 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: 81:[29, 21], Operations: ['54-44=10', '11+10=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,81 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,81 unequal: No Solution
No 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: 81:[11, 19], Operations: ['54-44=10', '29-10=19']
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,81 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No 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: 81:[10, 18], Operations: ['54-44=10', '29-11=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,81 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,81 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: 81:[44, 11, 83], Operations: ['29+54=83']
Exploring Operation: 44-11=33, Resulting Numbers: [83, 33]
Generated Node #0,0,0: 81:[83, 33] Operation: 44-11=33
Exploring Operation: 83-11=72, Resulting Numbers: [44, 72]
Generated Node #0,0,1: 81:[44, 72] Operation: 83-11=72
Exploring Operation: 44/11=4, Resulting Numbers: [83, 4]
Generated Node #0,0,2: 81:[83, 4] Operation: 44/11=4
Exploring Operation: 83-44=39, Resulting Numbers: [11, 39]
Generated Node #0,0,3: 81:[11, 39] Operation: 83-44=39
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[83, 4], Operations: ['29+54=83', '44/11=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,81 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,81 unequal: No Solution
No 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: 81:[83, 33], Operations: ['29+54=83', '44-11=33']
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,81 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,81 unequal: No Solution
No 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: 81:[11, 39], Operations: ['29+54=83', '83-44=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,81 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No 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: 81:[44, 72], Operations: ['29+54=83', '83-11=72']
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,81 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: 81:[44, 11, 25], Operations: ['54-29=25']
Exploring Operation: 44-11=33, Resulting Numbers: [25, 33]
Generated Node #0,2,0: 81:[25, 33] Operation: 44-11=33
Exploring Operation: 44-25=19, Resulting Numbers: [11, 19]
Generated Node #0,2,1: 81:[11, 19] Operation: 44-25=19
Exploring Operation: 44+25=69, Resulting Numbers: [11, 69]
Generated Node #0,2,2: 81:[11, 69] Operation: 44+25=69
Exploring Operation: 44/11=4, Resulting Numbers: [25, 4]
Generated Node #0,2,3: 81:[25, 4] Operation: 44/11=4
Moving to Node #0,2,3
Current State: 81:[25, 4], Operations: ['54-29=25', '44/11=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[25, 33], Operations: ['54-29=25', '44-11=33']
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,81 unequal: No Solution
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,81 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[11, 19], Operations: ['54-29=25', '44-25=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[11, 69], Operations: ['54-29=25', '44+25=69']
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,81 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,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
Current State: 81:[29, 11, 98], Operations: ['54+44=98']
Exploring Operation: 29+11=40, Resulting Numbers: [98, 40]
Generated Node #0,3,0: 81:[98, 40] Operation: 29+11=40
Exploring Operation: 29-11=18, Resulting Numbers: [98, 18]
Generated Node #0,3,1: 81:[98, 18] Operation: 29-11=18
Exploring Operation: 98-11=87, Resulting Numbers: [29, 87]
Generated Node #0,3,2: 81:[29, 87] Operation: 98-11=87
Exploring Operation: 98-29=69, Resulting Numbers: [11, 69]
Generated Node #0,3,3: 81:[11, 69] Operation: 98-29=69
Moving to Node #0,3,2
Current State: 81:[29, 87], Operations: ['54+44=98', '98-11=87']
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,81 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[11, 69], Operations: ['54+44=98', '98-29=69']
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,81 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[98, 18], Operations: ['54+44=98', '29-11=18']
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,81 unequal: No Solution
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[98, 40], Operations: ['54+44=98', '29+11=40']
Exploring Operation: 98-40=58, Resulting Numbers: [58]
58,81 unequal: No Solution
Exploring Operation: 98*40=3920, Resulting Numbers: [3920]
3920,81 unequal: No Solution
Exploring Operation: 98+40=138, Resulting Numbers: [138]
138,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
10,
59,
69
] | 88 | [
"10+59=69",
"69/69=1",
"87+1=88"
] | Current State: 88:[87, 10, 59, 69], Operations: []
Exploring Operation: 10+59=69, Resulting Numbers: [87, 69, 69]
Generated Node #2: [87, 69, 69] from Operation: 10+59=69
Current State: 88:[87, 69, 69], Operations: ['10+59=69']
Exploring Operation: 69/69=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 69/69=1
Current State: 88:[87, 1], Operations: ['10+59=69', '69/69=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[87, 10, 59, 69], Operations: []
Exploring Operation: 59-10=49, Resulting Numbers: [87, 69, 49]
Generated Node #0,0: 88:[87, 69, 49] Operation: 59-10=49
Exploring Operation: 87-69=18, Resulting Numbers: [10, 59, 18]
Generated Node #0,1: 88:[10, 59, 18] Operation: 87-69=18
Exploring Operation: 69-59=10, Resulting Numbers: [87, 10, 10]
Generated Node #0,2: 88:[87, 10, 10] Operation: 69-59=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[87, 10, 10], Operations: ['69-59=10']
Exploring Operation: 10-10=0, Resulting Numbers: [87, 0]
Generated Node #0,2,0: 88:[87, 0] Operation: 10-10=0
Exploring Operation: 10+10=20, Resulting Numbers: [87, 20]
Generated Node #0,2,1: 88:[87, 20] Operation: 10+10=20
Exploring Operation: 10/10=1, Resulting Numbers: [87, 1]
Generated Node #0,2,2: 88:[87, 1] Operation: 10/10=1
Moving to Node #0,2,2
Current State: 88:[87, 1], Operations: ['69-59=10', '10/10=1']
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[87, 10, 59, 69], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [87, 10, 10]
Generated Node #0,2: 88:[87, 10, 10] Operation: 69-59=10
Moving to Node #0,2
Current State: 88:[87, 10, 10], Operations: ['69-59=10']
Exploring Operation: 10/10=1, Resulting Numbers: [87, 1]
Generated Node #0,2,2: 88:[87, 1] Operation: 10/10=1
Moving to Node #0,2,2
Current State: 88:[87, 1], Operations: ['69-59=10', '10/10=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
79,
2,
15,
85
] | 12 | [
"85-79=6",
"6/2=3",
"15-3=12"
] | Current State: 12:[79, 2, 15, 85], Operations: []
Exploring Operation: 85-79=6, Resulting Numbers: [2, 15, 6]
Generated Node #2: [2, 15, 6] from Operation: 85-79=6
Current State: 12:[2, 15, 6], Operations: ['85-79=6']
Exploring Operation: 6/2=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 6/2=3
Current State: 12:[15, 3], Operations: ['85-79=6', '6/2=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[79, 2, 15, 85], Operations: []
Exploring Operation: 85-79=6, Resulting Numbers: [2, 15, 6]
Generated Node #0,0: 12:[2, 15, 6] Operation: 85-79=6
Exploring Operation: 79-15=64, Resulting Numbers: [2, 85, 64]
Generated Node #0,1: 12:[2, 85, 64] Operation: 79-15=64
Moving to Node #0,0
Current State: 12:[2, 15, 6], Operations: ['85-79=6']
Exploring Operation: 2*6=12, Resulting Numbers: [15, 12]
Generated Node #0,0,0: 12:[15, 12] Operation: 2*6=12
Exploring Operation: 15-2=13, Resulting Numbers: [6, 13]
Generated Node #0,0,1: 12:[6, 13] Operation: 15-2=13
Moving to Node #0,1
Current State: 12:[2, 85, 64], Operations: ['79-15=64']
Exploring Operation: 85-64=21, Resulting Numbers: [2, 21]
Generated Node #0,1,0: 12:[2, 21] Operation: 85-64=21
Exploring Operation: 64/2=32, Resulting Numbers: [85, 32]
Generated Node #0,1,1: 12:[85, 32] Operation: 64/2=32
Moving to Node #0,0,1
Current State: 12:[6, 13], Operations: ['85-79=6', '15-2=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[15, 12], Operations: ['85-79=6', '2*6=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[2, 21], Operations: ['79-15=64', '85-64=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[85, 32], Operations: ['79-15=64', '64/2=32']
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,12 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
27,
7,
42
] | 55 | [
"27-21=6",
"7+42=49",
"6+49=55"
] | Current State: 55:[21, 27, 7, 42], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [7, 42, 6]
Generated Node #2: [7, 42, 6] from Operation: 27-21=6
Current State: 55:[7, 42, 6], Operations: ['27-21=6']
Exploring Operation: 7+42=49, Resulting Numbers: [6, 49]
Generated Node #3: [6, 49] from Operation: 7+42=49
Current State: 55:[6, 49], Operations: ['27-21=6', '7+42=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[21, 27, 7, 42], Operations: []
Exploring Operation: 21+27=48, Resulting Numbers: [7, 42, 48]
Generated Node #0,0: 55:[7, 42, 48] Operation: 21+27=48
Exploring Operation: 42-27=15, Resulting Numbers: [21, 7, 15]
Generated Node #0,1: 55:[21, 7, 15] Operation: 42-27=15
Exploring Operation: 42/21=2, Resulting Numbers: [27, 7, 2]
Generated Node #0,2: 55:[27, 7, 2] Operation: 42/21=2
Exploring Operation: 21+42=63, Resulting Numbers: [27, 7, 63]
Generated Node #0,3: 55:[27, 7, 63] Operation: 21+42=63
Exploring Operation: 27-21=6, Resulting Numbers: [7, 42, 6]
Generated Node #0,4: 55:[7, 42, 6] Operation: 27-21=6
Moving to Node #0,1
Current State: 55:[21, 7, 15], Operations: ['42-27=15']
Exploring Operation: 15-7=8, Resulting Numbers: [21, 8]
Generated Node #0,1,0: 55:[21, 8] Operation: 15-7=8
Exploring Operation: 21+7=28, Resulting Numbers: [15, 28]
Generated Node #0,1,1: 55:[15, 28] Operation: 21+7=28
Exploring Operation: 21-7=14, Resulting Numbers: [15, 14]
Generated Node #0,1,2: 55:[15, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [15, 3]
Generated Node #0,1,3: 55:[15, 3] Operation: 21/7=3
Exploring Operation: 21-15=6, Resulting Numbers: [7, 6]
Generated Node #0,1,4: 55:[7, 6] Operation: 21-15=6
Moving to Node #0,4
Current State: 55:[7, 42, 6], Operations: ['27-21=6']
Exploring Operation: 7+6=13, Resulting Numbers: [42, 13]
Generated Node #0,4,0: 55:[42, 13] Operation: 7+6=13
Exploring Operation: 42/6=7, Resulting Numbers: [7, 7]
Generated Node #0,4,1: 55:[7, 7] Operation: 42/6=7
Exploring Operation: 7+42=49, Resulting Numbers: [6, 49]
Generated Node #0,4,2: 55:[6, 49] Operation: 7+42=49
Exploring Operation: 42/7=6, Resulting Numbers: [6, 6]
Generated Node #0,4,3: 55:[6, 6] Operation: 42/7=6
Exploring Operation: 42+6=48, Resulting Numbers: [7, 48]
Generated Node #0,4,4: 55:[7, 48] Operation: 42+6=48
Moving to Node #0,2
Current State: 55:[27, 7, 2], Operations: ['42/21=2']
Exploring Operation: 7+2=9, Resulting Numbers: [27, 9]
Generated Node #0,2,0: 55:[27, 9] Operation: 7+2=9
Exploring Operation: 7-2=5, Resulting Numbers: [27, 5]
Generated Node #0,2,1: 55:[27, 5] Operation: 7-2=5
Exploring Operation: 27-7=20, Resulting Numbers: [2, 20]
Generated Node #0,2,2: 55:[2, 20] Operation: 27-7=20
Exploring Operation: 27-2=25, Resulting Numbers: [7, 25]
Generated Node #0,2,3: 55:[7, 25] Operation: 27-2=25
Exploring Operation: 27*2=54, Resulting Numbers: [7, 54]
Generated Node #0,2,4: 55:[7, 54] Operation: 27*2=54
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 55:[7, 54], Operations: ['42/21=2', '27*2=54']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[2, 20], Operations: ['42/21=2', '27-7=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[27, 5], Operations: ['42/21=2', '7-2=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[7, 25], Operations: ['42/21=2', '27-2=25']
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,55 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[27, 9], Operations: ['42/21=2', '7+2=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,55 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 55:[7, 42, 48], Operations: ['21+27=48']
Exploring Operation: 42-7=35, Resulting Numbers: [48, 35]
Generated Node #0,0,0: 55:[48, 35] Operation: 42-7=35
Exploring Operation: 42/7=6, Resulting Numbers: [48, 6]
Generated Node #0,0,1: 55:[48, 6] Operation: 42/7=6
Exploring Operation: 7+42=49, Resulting Numbers: [48, 49]
Generated Node #0,0,2: 55:[48, 49] Operation: 7+42=49
Exploring Operation: 7+48=55, Resulting Numbers: [42, 55]
Generated Node #0,0,3: 55:[42, 55] Operation: 7+48=55
Exploring Operation: 48-42=6, Resulting Numbers: [7, 6]
Generated Node #0,0,4: 55:[7, 6] Operation: 48-42=6
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 55:[7, 6], Operations: ['21+27=48', '48-42=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[48, 6], Operations: ['21+27=48', '42/7=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,55 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[48, 49], Operations: ['21+27=48', '7+42=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[42, 55], Operations: ['21+27=48', '7+48=55']
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 42*55=2310, Resulting Numbers: [2310]
2310,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[48, 35], Operations: ['21+27=48', '42-7=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 55:[27, 7, 63], Operations: ['21+42=63']
Exploring Operation: 63-7=56, Resulting Numbers: [27, 56]
Generated Node #0,3,0: 55:[27, 56] Operation: 63-7=56
Exploring Operation: 27-7=20, Resulting Numbers: [63, 20]
Generated Node #0,3,1: 55:[63, 20] Operation: 27-7=20
Exploring Operation: 27+7=34, Resulting Numbers: [63, 34]
Generated Node #0,3,2: 55:[63, 34] Operation: 27+7=34
Exploring Operation: 63/7=9, Resulting Numbers: [27, 9]
Generated Node #0,3,3: 55:[27, 9] Operation: 63/7=9
Exploring Operation: 63-27=36, Resulting Numbers: [7, 36]
Generated Node #0,3,4: 55:[7, 36] Operation: 63-27=36
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[27, 56], Operations: ['21+42=63', '63-7=56']
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,55 unequal: No Solution
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[63, 20], Operations: ['21+42=63', '27-7=20']
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,55 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[27, 9], Operations: ['21+42=63', '63/7=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,55 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 55:[7, 36], Operations: ['21+42=63', '63-27=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,55 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[63, 34], Operations: ['21+42=63', '27+7=34']
Exploring Operation: 63*34=2142, Resulting Numbers: [2142]
2142,55 unequal: No Solution
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 55:[6, 6], Operations: ['27-21=6', '42/7=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[7, 6], Operations: ['42-27=15', '21-15=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[7, 7], Operations: ['27-21=6', '42/6=7']
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[15, 3], Operations: ['42-27=15', '21/7=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[15, 14], Operations: ['42-27=15', '21-7=14']
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,55 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,55 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[6, 49], Operations: ['27-21=6', '7+42=49']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[21, 27, 7, 42], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [7, 42, 6]
Generated Node #0,4: 55:[7, 42, 6] Operation: 27-21=6
Moving to Node #0,4
Current State: 55:[7, 42, 6], Operations: ['27-21=6']
Exploring Operation: 7+42=49, Resulting Numbers: [6, 49]
Generated Node #0,4,2: 55:[6, 49] Operation: 7+42=49
Moving to Node #0,4,2
Current State: 55:[6, 49], Operations: ['27-21=6', '7+42=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.91059 | hs_5 | sum_heuristic |
[
78,
31,
16,
46
] | 16 | [
"78-31=47",
"47-46=1",
"16*1=16"
] | Current State: 16:[78, 31, 16, 46], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [16, 46, 47]
Generated Node #2: [16, 46, 47] from Operation: 78-31=47
Current State: 16:[16, 46, 47], Operations: ['78-31=47']
Exploring Operation: 47-46=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 47-46=1
Current State: 16:[16, 1], Operations: ['78-31=47', '47-46=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[78, 31, 16, 46], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [16, 46, 47]
Generated Node #0,0: 16:[16, 46, 47] Operation: 78-31=47
Exploring Operation: 78-46=32, Resulting Numbers: [31, 16, 32]
Generated Node #0,1: 16:[31, 16, 32] Operation: 78-46=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[31, 16, 32], Operations: ['78-46=32']
Exploring Operation: 32-31=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 16:[16, 1] Operation: 32-31=1
Exploring Operation: 32-16=16, Resulting Numbers: [31, 16]
Generated Node #0,1,1: 16:[31, 16] Operation: 32-16=16
Moving to Node #0,1,0
Current State: 16:[16, 1], Operations: ['78-46=32', '32-31=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[78, 31, 16, 46], Operations: []
Exploring Operation: 78-46=32, Resulting Numbers: [31, 16, 32]
Generated Node #0,1: 16:[31, 16, 32] Operation: 78-46=32
Moving to Node #0,1
Current State: 16:[31, 16, 32], Operations: ['78-46=32']
Exploring Operation: 32-31=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 16:[16, 1] Operation: 32-31=1
Moving to Node #0,1,0
Current State: 16:[16, 1], Operations: ['78-46=32', '32-31=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
82,
4,
2,
63
] | 88 | [
"82*2=164",
"4*63=252",
"252-164=88"
] | Current State: 88:[82, 4, 2, 63], Operations: []
Exploring Operation: 82*2=164, Resulting Numbers: [4, 63, 164]
Generated Node #2: [4, 63, 164] from Operation: 82*2=164
Current State: 88:[4, 63, 164], Operations: ['82*2=164']
Exploring Operation: 4*63=252, Resulting Numbers: [164, 252]
Generated Node #3: [164, 252] from Operation: 4*63=252
Current State: 88:[164, 252], Operations: ['82*2=164', '4*63=252']
Exploring Operation: 252-164=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[82, 4, 2, 63], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [4, 2, 19]
Generated Node #0,0: 88:[4, 2, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 88:[4, 2, 19], Operations: ['82-63=19']
Exploring Operation: 4+19=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 88:[2, 23] Operation: 4+19=23
Moving to Node #0,0,0
Current State: 88:[2, 23], Operations: ['82-63=19', '4+19=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
88,
15,
27
] | 47 | [
"88*15=1320",
"1320-51=1269",
"1269/27=47"
] | Current State: 47:[51, 88, 15, 27], Operations: []
Exploring Operation: 88*15=1320, Resulting Numbers: [51, 27, 1320]
Generated Node #2: [51, 27, 1320] from Operation: 88*15=1320
Current State: 47:[51, 27, 1320], Operations: ['88*15=1320']
Exploring Operation: 1320-51=1269, Resulting Numbers: [27, 1269]
Generated Node #3: [27, 1269] from Operation: 1320-51=1269
Current State: 47:[27, 1269], Operations: ['88*15=1320', '1320-51=1269']
Exploring Operation: 1269/27=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[51, 88, 15, 27], Operations: []
Exploring Operation: 88-15=73, Resulting Numbers: [51, 27, 73]
Generated Node #0,0: 47:[51, 27, 73] Operation: 88-15=73
Exploring Operation: 88-27=61, Resulting Numbers: [51, 15, 61]
Generated Node #0,1: 47:[51, 15, 61] Operation: 88-27=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[51, 27, 73], Operations: ['88-15=73']
Exploring Operation: 73-51=22, Resulting Numbers: [27, 22]
Generated Node #0,0,0: 47:[27, 22] Operation: 73-51=22
Exploring Operation: 73-27=46, Resulting Numbers: [51, 46]
Generated Node #0,0,1: 47:[51, 46] Operation: 73-27=46
Moving to Node #0,0,1
Current State: 47:[51, 46], Operations: ['88-15=73', '73-27=46']
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[27, 22], Operations: ['88-15=73', '73-51=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,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,1
Current State: 47:[51, 15, 61], Operations: ['88-27=61']
Exploring Operation: 61-15=46, Resulting Numbers: [51, 46]
Generated Node #0,1,0: 47:[51, 46] Operation: 61-15=46
Exploring Operation: 51-15=36, Resulting Numbers: [61, 36]
Generated Node #0,1,1: 47:[61, 36] Operation: 51-15=36
Moving to Node #0,1,0
Current State: 47:[51, 46], Operations: ['88-27=61', '61-15=46']
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[61, 36], Operations: ['88-27=61', '51-15=36']
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,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 |
[
42,
94,
35,
49
] | 87 | [
"42-35=7",
"49/7=7",
"94-7=87"
] | Current State: 87:[42, 94, 35, 49], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [94, 49, 7]
Generated Node #2: [94, 49, 7] from Operation: 42-35=7
Current State: 87:[94, 49, 7], Operations: ['42-35=7']
Exploring Operation: 49/7=7, Resulting Numbers: [94, 7]
Generated Node #3: [94, 7] from Operation: 49/7=7
Current State: 87:[94, 7], Operations: ['42-35=7', '49/7=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[42, 94, 35, 49], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [94, 35, 7]
Generated Node #0,0: 87:[94, 35, 7] Operation: 49-42=7
Exploring Operation: 42+49=91, Resulting Numbers: [94, 35, 91]
Generated Node #0,1: 87:[94, 35, 91] Operation: 42+49=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[94, 35, 7], Operations: ['49-42=7']
Exploring Operation: 94-7=87, Resulting Numbers: [35, 87]
Generated Node #0,0,0: 87:[35, 87] Operation: 94-7=87
Exploring Operation: 35-7=28, Resulting Numbers: [94, 28]
Generated Node #0,0,1: 87:[94, 28] Operation: 35-7=28
Moving to Node #0,0,0
Current State: 87:[35, 87], Operations: ['49-42=7', '94-7=87']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[94, 28], Operations: ['49-42=7', '35-7=28']
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,87 unequal: No Solution
No 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: 87:[94, 35, 91], Operations: ['42+49=91']
Exploring Operation: 94-91=3, Resulting Numbers: [35, 3]
Generated Node #0,1,0: 87:[35, 3] Operation: 94-91=3
Exploring Operation: 94-35=59, Resulting Numbers: [91, 59]
Generated Node #0,1,1: 87:[91, 59] Operation: 94-35=59
Moving to Node #0,1,0
Current State: 87:[35, 3], Operations: ['42+49=91', '94-91=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[91, 59], Operations: ['42+49=91', '94-35=59']
Exploring Operation: 91+59=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,87 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 |
[
89,
61,
75,
17
] | 15 | [
"89+61=150",
"150/75=2",
"17-2=15"
] | Current State: 15:[89, 61, 75, 17], Operations: []
Exploring Operation: 89+61=150, Resulting Numbers: [75, 17, 150]
Generated Node #2: [75, 17, 150] from Operation: 89+61=150
Current State: 15:[75, 17, 150], Operations: ['89+61=150']
Exploring Operation: 150/75=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 150/75=2
Current State: 15:[17, 2], Operations: ['89+61=150', '150/75=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[89, 61, 75, 17], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [61, 17, 14]
Generated Node #0,0: 15:[61, 17, 14] Operation: 89-75=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[61, 17, 14], Operations: ['89-75=14']
Exploring Operation: 61-17=44, Resulting Numbers: [14, 44]
Generated Node #0,0,0: 15:[14, 44] Operation: 61-17=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[14, 44], Operations: ['89-75=14', '61-17=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,15 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 |
[
89,
74,
84,
28
] | 71 | [
"89-74=15",
"84-28=56",
"15+56=71"
] | Current State: 71:[89, 74, 84, 28], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [84, 28, 15]
Generated Node #2: [84, 28, 15] from Operation: 89-74=15
Current State: 71:[84, 28, 15], Operations: ['89-74=15']
Exploring Operation: 84-28=56, Resulting Numbers: [15, 56]
Generated Node #3: [15, 56] from Operation: 84-28=56
Current State: 71:[15, 56], Operations: ['89-74=15', '84-28=56']
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[89, 74, 84, 28], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [89, 74, 56]
Generated Node #0,0: 71:[89, 74, 56] Operation: 84-28=56
Exploring Operation: 89-28=61, Resulting Numbers: [74, 84, 61]
Generated Node #0,1: 71:[74, 84, 61] Operation: 89-28=61
Exploring Operation: 74+28=102, Resulting Numbers: [89, 84, 102]
Generated Node #0,2: 71:[89, 84, 102] Operation: 74+28=102
Exploring Operation: 89+28=117, Resulting Numbers: [74, 84, 117]
Generated Node #0,3: 71:[74, 84, 117] Operation: 89+28=117
Exploring Operation: 74-28=46, Resulting Numbers: [89, 84, 46]
Generated Node #0,4: 71:[89, 84, 46] Operation: 74-28=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[74, 84, 61], Operations: ['89-28=61']
Exploring Operation: 84+61=145, Resulting Numbers: [74, 145]
Generated Node #0,1,0: 71:[74, 145] Operation: 84+61=145
Exploring Operation: 74+61=135, Resulting Numbers: [84, 135]
Generated Node #0,1,1: 71:[84, 135] Operation: 74+61=135
Exploring Operation: 74-61=13, Resulting Numbers: [84, 13]
Generated Node #0,1,2: 71:[84, 13] Operation: 74-61=13
Exploring Operation: 84-74=10, Resulting Numbers: [61, 10]
Generated Node #0,1,3: 71:[61, 10] Operation: 84-74=10
Exploring Operation: 84-61=23, Resulting Numbers: [74, 23]
Generated Node #0,1,4: 71:[74, 23] Operation: 84-61=23
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 71:[74, 23], Operations: ['89-28=61', '84-61=23']
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,71 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[84, 13], Operations: ['89-28=61', '74-61=13']
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[89, 74, 84, 28], Operations: []
Exploring Operation: 89-28=61, Resulting Numbers: [74, 84, 61]
Generated Node #0,1: 71:[74, 84, 61] Operation: 89-28=61
Moving to Node #0,1
Current State: 71:[74, 84, 61], Operations: ['89-28=61']
Exploring Operation: 74-61=13, Resulting Numbers: [84, 13]
Generated Node #0,1,2: 71:[84, 13] Operation: 74-61=13
Moving to Node #0,1,2
Current State: 71:[84, 13], Operations: ['89-28=61', '74-61=13']
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
32,
64,
41,
75
] | 66 | [
"64-32=32",
"75-41=34",
"32+34=66"
] | Current State: 66:[32, 64, 41, 75], Operations: []
Exploring Operation: 64-32=32, Resulting Numbers: [41, 75, 32]
Generated Node #2: [41, 75, 32] from Operation: 64-32=32
Current State: 66:[41, 75, 32], Operations: ['64-32=32']
Exploring Operation: 75-41=34, Resulting Numbers: [32, 34]
Generated Node #3: [32, 34] from Operation: 75-41=34
Current State: 66:[32, 34], Operations: ['64-32=32', '75-41=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[32, 64, 41, 75], Operations: []
Exploring Operation: 75-41=34, Resulting Numbers: [32, 64, 34]
Generated Node #0,0: 66:[32, 64, 34] Operation: 75-41=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[32, 64, 34], Operations: ['75-41=34']
Exploring Operation: 64/32=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 66:[34, 2] Operation: 64/32=2
Moving to Node #0,0,0
Current State: 66:[34, 2], Operations: ['75-41=34', '64/32=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
64,
30,
47
] | 45 | [
"90*47=4230",
"64+30=94",
"4230/94=45"
] | Current State: 45:[90, 64, 30, 47], Operations: []
Exploring Operation: 90*47=4230, Resulting Numbers: [64, 30, 4230]
Generated Node #2: [64, 30, 4230] from Operation: 90*47=4230
Current State: 45:[64, 30, 4230], Operations: ['90*47=4230']
Exploring Operation: 64+30=94, Resulting Numbers: [4230, 94]
Generated Node #3: [4230, 94] from Operation: 64+30=94
Current State: 45:[4230, 94], Operations: ['90*47=4230', '64+30=94']
Exploring Operation: 4230/94=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[90, 64, 30, 47], Operations: []
Exploring Operation: 90-30=60, Resulting Numbers: [64, 47, 60]
Generated Node #0,0: 45:[64, 47, 60] Operation: 90-30=60
Exploring Operation: 90-64=26, Resulting Numbers: [30, 47, 26]
Generated Node #0,1: 45:[30, 47, 26] Operation: 90-64=26
Exploring Operation: 90/30=3, Resulting Numbers: [64, 47, 3]
Generated Node #0,2: 45:[64, 47, 3] Operation: 90/30=3
Moving to Node #0,2
Current State: 45:[64, 47, 3], Operations: ['90/30=3']
Exploring Operation: 47-3=44, Resulting Numbers: [64, 44]
Generated Node #0,2,0: 45:[64, 44] Operation: 47-3=44
Exploring Operation: 64-3=61, Resulting Numbers: [47, 61]
Generated Node #0,2,1: 45:[47, 61] Operation: 64-3=61
Exploring Operation: 64-47=17, Resulting Numbers: [3, 17]
Generated Node #0,2,2: 45:[3, 17] Operation: 64-47=17
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[3, 17], Operations: ['90/30=3', '64-47=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[47, 61], Operations: ['90/30=3', '64-3=61']
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,45 unequal: No Solution
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,45 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[64, 44], Operations: ['90/30=3', '47-3=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,45 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 45:[30, 47, 26], Operations: ['90-64=26']
Exploring Operation: 30-26=4, Resulting Numbers: [47, 4]
Generated Node #0,1,0: 45:[47, 4] Operation: 30-26=4
Exploring Operation: 47-30=17, Resulting Numbers: [26, 17]
Generated Node #0,1,1: 45:[26, 17] Operation: 47-30=17
Exploring Operation: 30+26=56, Resulting Numbers: [47, 56]
Generated Node #0,1,2: 45:[47, 56] Operation: 30+26=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[47, 4], Operations: ['90-64=26', '30-26=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[26, 17], Operations: ['90-64=26', '47-30=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[47, 56], Operations: ['90-64=26', '30+26=56']
Exploring Operation: 47+56=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 47*56=2632, Resulting Numbers: [2632]
2632,45 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,45 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: 45:[64, 47, 60], Operations: ['90-30=60']
Exploring Operation: 64-60=4, Resulting Numbers: [47, 4]
Generated Node #0,0,0: 45:[47, 4] Operation: 64-60=4
Exploring Operation: 60-47=13, Resulting Numbers: [64, 13]
Generated Node #0,0,1: 45:[64, 13] Operation: 60-47=13
Exploring Operation: 64-47=17, Resulting Numbers: [60, 17]
Generated Node #0,0,2: 45:[60, 17] Operation: 64-47=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[47, 4], Operations: ['90-30=60', '64-60=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,45 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[60, 17], Operations: ['90-30=60', '64-47=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[64, 13], Operations: ['90-30=60', '60-47=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,45 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
80,
92,
94,
26
] | 52 | [
"80+92=172",
"94+26=120",
"172-120=52"
] | Current State: 52:[80, 92, 94, 26], Operations: []
Exploring Operation: 80+92=172, Resulting Numbers: [94, 26, 172]
Generated Node #2: [94, 26, 172] from Operation: 80+92=172
Current State: 52:[94, 26, 172], Operations: ['80+92=172']
Exploring Operation: 94+26=120, Resulting Numbers: [172, 120]
Generated Node #3: [172, 120] from Operation: 94+26=120
Current State: 52:[172, 120], Operations: ['80+92=172', '94+26=120']
Exploring Operation: 172-120=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[80, 92, 94, 26], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [94, 26, 12]
Generated Node #0,0: 52:[94, 26, 12] Operation: 92-80=12
Exploring Operation: 94-80=14, Resulting Numbers: [92, 26, 14]
Generated Node #0,1: 52:[92, 26, 14] Operation: 94-80=14
Exploring Operation: 94-92=2, Resulting Numbers: [80, 26, 2]
Generated Node #0,2: 52:[80, 26, 2] Operation: 94-92=2
Moving to Node #0,2
Current State: 52:[80, 26, 2], Operations: ['94-92=2']
Exploring Operation: 80/2=40, Resulting Numbers: [26, 40]
Generated Node #0,2,0: 52:[26, 40] Operation: 80/2=40
Exploring Operation: 80-26=54, Resulting Numbers: [2, 54]
Generated Node #0,2,1: 52:[2, 54] Operation: 80-26=54
Exploring Operation: 80-2=78, Resulting Numbers: [26, 78]
Generated Node #0,2,2: 52:[26, 78] Operation: 80-2=78
Moving to Node #0,1
Current State: 52:[92, 26, 14], Operations: ['94-80=14']
Exploring Operation: 92-26=66, Resulting Numbers: [14, 66]
Generated Node #0,1,0: 52:[14, 66] Operation: 92-26=66
Exploring Operation: 26-14=12, Resulting Numbers: [92, 12]
Generated Node #0,1,1: 52:[92, 12] Operation: 26-14=12
Exploring Operation: 92-14=78, Resulting Numbers: [26, 78]
Generated Node #0,1,2: 52:[26, 78] Operation: 92-14=78
Moving to Node #0,0
Current State: 52:[94, 26, 12], Operations: ['92-80=12']
Exploring Operation: 26-12=14, Resulting Numbers: [94, 14]
Generated Node #0,0,0: 52:[94, 14] Operation: 26-12=14
Exploring Operation: 94-26=68, Resulting Numbers: [12, 68]
Generated Node #0,0,1: 52:[12, 68] Operation: 94-26=68
Exploring Operation: 94-12=82, Resulting Numbers: [26, 82]
Generated Node #0,0,2: 52:[26, 82] Operation: 94-12=82
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[12, 68], Operations: ['92-80=12', '94-26=68']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[26, 82], Operations: ['92-80=12', '94-12=82']
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,52 unequal: No Solution
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[94, 14], Operations: ['92-80=12', '26-12=14']
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 94*14=1316, Resulting Numbers: [1316]
1316,52 unequal: No Solution
Exploring Operation: 94+14=108, Resulting Numbers: [108]
108,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 52:[2, 54], Operations: ['94-92=2', '80-26=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[80, 92, 94, 26], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [80, 26, 2]
Generated Node #0,2: 52:[80, 26, 2] Operation: 94-92=2
Moving to Node #0,2
Current State: 52:[80, 26, 2], Operations: ['94-92=2']
Exploring Operation: 80-26=54, Resulting Numbers: [2, 54]
Generated Node #0,2,1: 52:[2, 54] Operation: 80-26=54
Moving to Node #0,2,1
Current State: 52:[2, 54], Operations: ['94-92=2', '80-26=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
40,
17,
60,
15
] | 85 | [
"60-40=20",
"20-15=5",
"17*5=85"
] | Current State: 85:[40, 17, 60, 15], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [17, 15, 20]
Generated Node #2: [17, 15, 20] from Operation: 60-40=20
Current State: 85:[17, 15, 20], Operations: ['60-40=20']
Exploring Operation: 20-15=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 20-15=5
Current State: 85:[17, 5], Operations: ['60-40=20', '20-15=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[40, 17, 60, 15], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [17, 15, 20]
Generated Node #0,0: 85:[17, 15, 20] Operation: 60-40=20
Moving to Node #0,0
Current State: 85:[17, 15, 20], Operations: ['60-40=20']
Exploring Operation: 20-15=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 85:[17, 5] Operation: 20-15=5
Moving to Node #0,0,0
Current State: 85:[17, 5], Operations: ['60-40=20', '20-15=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[40, 17, 60, 15], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [17, 15, 20]
Generated Node #0,0: 85:[17, 15, 20] Operation: 60-40=20
Moving to Node #0,0
Current State: 85:[17, 15, 20], Operations: ['60-40=20']
Exploring Operation: 20-15=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 85:[17, 5] Operation: 20-15=5
Moving to Node #0,0,0
Current State: 85:[17, 5], Operations: ['60-40=20', '20-15=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
77,
14,
84,
97
] | 14 | [
"77+14=91",
"97-91=6",
"84/6=14"
] | Current State: 14:[77, 14, 84, 97], Operations: []
Exploring Operation: 77+14=91, Resulting Numbers: [84, 97, 91]
Generated Node #2: [84, 97, 91] from Operation: 77+14=91
Current State: 14:[84, 97, 91], Operations: ['77+14=91']
Exploring Operation: 97-91=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 97-91=6
Current State: 14:[84, 6], Operations: ['77+14=91', '97-91=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[77, 14, 84, 97], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [77, 97, 6]
Generated Node #0,0: 14:[77, 97, 6] Operation: 84/14=6
Exploring Operation: 97-77=20, Resulting Numbers: [14, 84, 20]
Generated Node #0,1: 14:[14, 84, 20] Operation: 97-77=20
Exploring Operation: 97-84=13, Resulting Numbers: [77, 14, 13]
Generated Node #0,2: 14:[77, 14, 13] Operation: 97-84=13
Exploring Operation: 77-14=63, Resulting Numbers: [84, 97, 63]
Generated Node #0,3: 14:[84, 97, 63] Operation: 77-14=63
Exploring Operation: 84-77=7, Resulting Numbers: [14, 97, 7]
Generated Node #0,4: 14:[14, 97, 7] Operation: 84-77=7
Moving to Node #0,2
Current State: 14:[77, 14, 13], Operations: ['97-84=13']
Exploring Operation: 77+13=90, Resulting Numbers: [14, 90]
Generated Node #0,2,0: 14:[14, 90] Operation: 77+13=90
Exploring Operation: 14-13=1, Resulting Numbers: [77, 1]
Generated Node #0,2,1: 14:[77, 1] Operation: 14-13=1
Exploring Operation: 77-14=63, Resulting Numbers: [13, 63]
Generated Node #0,2,2: 14:[13, 63] Operation: 77-14=63
Exploring Operation: 77-13=64, Resulting Numbers: [14, 64]
Generated Node #0,2,3: 14:[14, 64] Operation: 77-13=64
Exploring Operation: 14+13=27, Resulting Numbers: [77, 27]
Generated Node #0,2,4: 14:[77, 27] Operation: 14+13=27
Moving to Node #0,1
Current State: 14:[14, 84, 20], Operations: ['97-77=20']
Exploring Operation: 84/14=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 14:[20, 6] Operation: 84/14=6
Exploring Operation: 84-20=64, Resulting Numbers: [14, 64]
Generated Node #0,1,1: 14:[14, 64] Operation: 84-20=64
Exploring Operation: 84-14=70, Resulting Numbers: [20, 70]
Generated Node #0,1,2: 14:[20, 70] Operation: 84-14=70
Exploring Operation: 20-14=6, Resulting Numbers: [84, 6]
Generated Node #0,1,3: 14:[84, 6] Operation: 20-14=6
Exploring Operation: 14+84=98, Resulting Numbers: [20, 98]
Generated Node #0,1,4: 14:[20, 98] Operation: 14+84=98
Moving to Node #0,4
Current State: 14:[14, 97, 7], Operations: ['84-77=7']
Exploring Operation: 97-14=83, Resulting Numbers: [7, 83]
Generated Node #0,4,0: 14:[7, 83] Operation: 97-14=83
Exploring Operation: 14-7=7, Resulting Numbers: [97, 7]
Generated Node #0,4,1: 14:[97, 7] Operation: 14-7=7
Exploring Operation: 97-7=90, Resulting Numbers: [14, 90]
Generated Node #0,4,2: 14:[14, 90] Operation: 97-7=90
Exploring Operation: 14+7=21, Resulting Numbers: [97, 21]
Generated Node #0,4,3: 14:[97, 21] Operation: 14+7=21
Exploring Operation: 14/7=2, Resulting Numbers: [97, 2]
Generated Node #0,4,4: 14:[97, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[7, 83], Operations: ['84-77=7', '97-14=83']
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 7*83=581, Resulting Numbers: [581]
581,14 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[14, 90], Operations: ['84-77=7', '97-7=90']
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 14:[97, 7], Operations: ['84-77=7', '14-7=7']
Exploring Operation: 97+7=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 97*7=679, Resulting Numbers: [679]
679,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 14:[97, 2], Operations: ['84-77=7', '14/7=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,14 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 14:[97, 21], Operations: ['84-77=7', '14+7=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,14 unequal: No Solution
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 14:[77, 97, 6], Operations: ['84/14=6']
Exploring Operation: 97+6=103, Resulting Numbers: [77, 103]
Generated Node #0,0,0: 14:[77, 103] Operation: 97+6=103
Exploring Operation: 97-6=91, Resulting Numbers: [77, 91]
Generated Node #0,0,1: 14:[77, 91] Operation: 97-6=91
Exploring Operation: 97-77=20, Resulting Numbers: [6, 20]
Generated Node #0,0,2: 14:[6, 20] Operation: 97-77=20
Exploring Operation: 77+6=83, Resulting Numbers: [97, 83]
Generated Node #0,0,3: 14:[97, 83] Operation: 77+6=83
Exploring Operation: 77-6=71, Resulting Numbers: [97, 71]
Generated Node #0,0,4: 14:[97, 71] Operation: 77-6=71
Moving to Node #0,3
Current State: 14:[84, 97, 63], Operations: ['77-14=63']
Exploring Operation: 84+97=181, Resulting Numbers: [63, 181]
Generated Node #0,3,0: 14:[63, 181] Operation: 84+97=181
Exploring Operation: 97-84=13, Resulting Numbers: [63, 13]
Generated Node #0,3,1: 14:[63, 13] Operation: 97-84=13
Exploring Operation: 97-63=34, Resulting Numbers: [84, 34]
Generated Node #0,3,2: 14:[84, 34] Operation: 97-63=34
Exploring Operation: 84+63=147, Resulting Numbers: [97, 147]
Generated Node #0,3,3: 14:[97, 147] Operation: 84+63=147
Exploring Operation: 84-63=21, Resulting Numbers: [97, 21]
Generated Node #0,3,4: 14:[97, 21] Operation: 84-63=21
Moving to Node #0,1,0
Current State: 14:[20, 6], Operations: ['97-77=20', '84/14=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[77, 14, 84, 97], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [14, 84, 20]
Generated Node #0,1: 14:[14, 84, 20] Operation: 97-77=20
Moving to Node #0,1
Current State: 14:[14, 84, 20], Operations: ['97-77=20']
Exploring Operation: 84/14=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 14:[20, 6] Operation: 84/14=6
Moving to Node #0,1,0
Current State: 14:[20, 6], Operations: ['97-77=20', '84/14=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
2,
7,
96,
24
] | 65 | [
"96/2=48",
"24-7=17",
"48+17=65"
] | Current State: 65:[2, 7, 96, 24], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [7, 24, 48]
Generated Node #2: [7, 24, 48] from Operation: 96/2=48
Current State: 65:[7, 24, 48], Operations: ['96/2=48']
Exploring Operation: 24-7=17, Resulting Numbers: [48, 17]
Generated Node #3: [48, 17] from Operation: 24-7=17
Current State: 65:[48, 17], Operations: ['96/2=48', '24-7=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 7, 96, 24], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [2, 7, 4]
Generated Node #0,0: 65:[2, 7, 4] Operation: 96/24=4
Exploring Operation: 96-24=72, Resulting Numbers: [2, 7, 72]
Generated Node #0,1: 65:[2, 7, 72] Operation: 96-24=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[2, 7, 4], Operations: ['96/24=4']
Exploring Operation: 7-2=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 65:[4, 5] Operation: 7-2=5
Exploring Operation: 2*7=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 65:[4, 14] Operation: 2*7=14
Moving to Node #0,0,0
Current State: 65:[4, 5], Operations: ['96/24=4', '7-2=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[4, 14], Operations: ['96/24=4', '2*7=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[2, 7, 72], Operations: ['96-24=72']
Exploring Operation: 72-7=65, Resulting Numbers: [2, 65]
Generated Node #0,1,0: 65:[2, 65] Operation: 72-7=65
Exploring Operation: 7-2=5, Resulting Numbers: [72, 5]
Generated Node #0,1,1: 65:[72, 5] Operation: 7-2=5
Moving to Node #0,1,0
Current State: 65:[2, 65], Operations: ['96-24=72', '72-7=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[72, 5], Operations: ['96-24=72', '7-2=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,65 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 |
[
51,
41,
27,
61
] | 78 | [
"51-41=10",
"27+61=88",
"88-10=78"
] | Current State: 78:[51, 41, 27, 61], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [27, 61, 10]
Generated Node #2: [27, 61, 10] from Operation: 51-41=10
Current State: 78:[27, 61, 10], Operations: ['51-41=10']
Exploring Operation: 27+61=88, Resulting Numbers: [10, 88]
Generated Node #3: [10, 88] from Operation: 27+61=88
Current State: 78:[10, 88], Operations: ['51-41=10', '27+61=88']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[51, 41, 27, 61], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [41, 27, 10]
Generated Node #0,0: 78:[41, 27, 10] Operation: 61-51=10
Exploring Operation: 51+27=78, Resulting Numbers: [41, 61, 78]
Generated Node #0,1: 78:[41, 61, 78] Operation: 51+27=78
Exploring Operation: 61-41=20, Resulting Numbers: [51, 27, 20]
Generated Node #0,2: 78:[51, 27, 20] Operation: 61-41=20
Moving to Node #0,0
Current State: 78:[41, 27, 10], Operations: ['61-51=10']
Exploring Operation: 41-10=31, Resulting Numbers: [27, 31]
Generated Node #0,0,0: 78:[27, 31] Operation: 41-10=31
Exploring Operation: 27+10=37, Resulting Numbers: [41, 37]
Generated Node #0,0,1: 78:[41, 37] Operation: 27+10=37
Exploring Operation: 41-27=14, Resulting Numbers: [10, 14]
Generated Node #0,0,2: 78:[10, 14] Operation: 41-27=14
Moving to Node #0,1
Current State: 78:[41, 61, 78], Operations: ['51+27=78']
Exploring Operation: 61-41=20, Resulting Numbers: [78, 20]
Generated Node #0,1,0: 78:[78, 20] Operation: 61-41=20
Exploring Operation: 78-41=37, Resulting Numbers: [61, 37]
Generated Node #0,1,1: 78:[61, 37] Operation: 78-41=37
Exploring Operation: 78-61=17, Resulting Numbers: [41, 17]
Generated Node #0,1,2: 78:[41, 17] Operation: 78-61=17
Moving to Node #0,2
Current State: 78:[51, 27, 20], Operations: ['61-41=20']
Exploring Operation: 51-27=24, Resulting Numbers: [20, 24]
Generated Node #0,2,0: 78:[20, 24] Operation: 51-27=24
Exploring Operation: 51+27=78, Resulting Numbers: [20, 78]
Generated Node #0,2,1: 78:[20, 78] Operation: 51+27=78
Exploring Operation: 51-20=31, Resulting Numbers: [27, 31]
Generated Node #0,2,2: 78:[27, 31] Operation: 51-20=31
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[20, 78], Operations: ['61-41=20', '51+27=78']
Exploring Operation: 20*78=1560, Resulting Numbers: [1560]
1560,78 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 20+78=98, Resulting Numbers: [98]
98,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[27, 31], Operations: ['61-41=20', '51-20=31']
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,78 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[20, 24], Operations: ['61-41=20', '51-27=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,78 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,78 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: 78:[41, 37], Operations: ['61-51=10', '27+10=37']
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[51, 41, 27, 61], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [41, 27, 10]
Generated Node #0,0: 78:[41, 27, 10] Operation: 61-51=10
Moving to Node #0,0
Current State: 78:[41, 27, 10], Operations: ['61-51=10']
Exploring Operation: 27+10=37, Resulting Numbers: [41, 37]
Generated Node #0,0,1: 78:[41, 37] Operation: 27+10=37
Moving to Node #0,0,1
Current State: 78:[41, 37], Operations: ['61-51=10', '27+10=37']
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
13,
42,
5,
74
] | 24 | [
"13+42=55",
"5+74=79",
"79-55=24"
] | Current State: 24:[13, 42, 5, 74], Operations: []
Exploring Operation: 13+42=55, Resulting Numbers: [5, 74, 55]
Generated Node #2: [5, 74, 55] from Operation: 13+42=55
Current State: 24:[5, 74, 55], Operations: ['13+42=55']
Exploring Operation: 5+74=79, Resulting Numbers: [55, 79]
Generated Node #3: [55, 79] from Operation: 5+74=79
Current State: 24:[55, 79], Operations: ['13+42=55', '5+74=79']
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[13, 42, 5, 74], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [13, 5, 32]
Generated Node #0,0: 24:[13, 5, 32] Operation: 74-42=32
Exploring Operation: 42-13=29, Resulting Numbers: [5, 74, 29]
Generated Node #0,1: 24:[5, 74, 29] Operation: 42-13=29
Moving to Node #0,0
Current State: 24:[13, 5, 32], Operations: ['74-42=32']
Exploring Operation: 32-5=27, Resulting Numbers: [13, 27]
Generated Node #0,0,0: 24:[13, 27] Operation: 32-5=27
Exploring Operation: 32-13=19, Resulting Numbers: [5, 19]
Generated Node #0,0,1: 24:[5, 19] Operation: 32-13=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[13, 27], Operations: ['74-42=32', '32-5=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[5, 19], Operations: ['74-42=32', '32-13=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[13, 42, 5, 74], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [13, 5, 32]
Generated Node #0,0: 24:[13, 5, 32] Operation: 74-42=32
Moving to Node #0,0
Current State: 24:[13, 5, 32], Operations: ['74-42=32']
Exploring Operation: 32-13=19, Resulting Numbers: [5, 19]
Generated Node #0,0,1: 24:[5, 19] Operation: 32-13=19
Moving to Node #0,0,1
Current State: 24:[5, 19], Operations: ['74-42=32', '32-13=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
2,
10,
47,
85
] | 86 | [
"85-47=38",
"2*38=76",
"10+76=86"
] | Current State: 86:[2, 10, 47, 85], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [2, 10, 38]
Generated Node #2: [2, 10, 38] from Operation: 85-47=38
Current State: 86:[2, 10, 38], Operations: ['85-47=38']
Exploring Operation: 2*38=76, Resulting Numbers: [10, 76]
Generated Node #3: [10, 76] from Operation: 2*38=76
Current State: 86:[10, 76], Operations: ['85-47=38', '2*38=76']
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[2, 10, 47, 85], Operations: []
Exploring Operation: 10-2=8, Resulting Numbers: [47, 85, 8]
Generated Node #0,0: 86:[47, 85, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [47, 85, 5]
Generated Node #0,1: 86:[47, 85, 5] Operation: 10/2=5
Exploring Operation: 47-10=37, Resulting Numbers: [2, 85, 37]
Generated Node #0,2: 86:[2, 85, 37] Operation: 47-10=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[2, 85, 37], Operations: ['47-10=37']
Exploring Operation: 85-37=48, Resulting Numbers: [2, 48]
Generated Node #0,2,0: 86:[2, 48] Operation: 85-37=48
Exploring Operation: 2+85=87, Resulting Numbers: [37, 87]
Generated Node #0,2,1: 86:[37, 87] Operation: 2+85=87
Exploring Operation: 2+37=39, Resulting Numbers: [85, 39]
Generated Node #0,2,2: 86:[85, 39] Operation: 2+37=39
Moving to Node #0,2,0
Current State: 86:[2, 48], Operations: ['47-10=37', '85-37=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[85, 39], Operations: ['47-10=37', '2+37=39']
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[37, 87], Operations: ['47-10=37', '2+85=87']
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[47, 85, 5], Operations: ['10/2=5']
Exploring Operation: 85+5=90, Resulting Numbers: [47, 90]
Generated Node #0,1,0: 86:[47, 90] Operation: 85+5=90
Exploring Operation: 47-5=42, Resulting Numbers: [85, 42]
Generated Node #0,1,1: 86:[85, 42] Operation: 47-5=42
Exploring Operation: 85-47=38, Resulting Numbers: [5, 38]
Generated Node #0,1,2: 86:[5, 38] Operation: 85-47=38
Moving to Node #0,1,1
Current State: 86:[85, 42], Operations: ['10/2=5', '47-5=42']
Exploring Operation: 85+42=127, Resulting Numbers: [127]
127,86 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 85*42=3570, Resulting Numbers: [3570]
3570,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[47, 90], Operations: ['10/2=5', '85+5=90']
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 47*90=4230, Resulting Numbers: [4230]
4230,86 unequal: No Solution
Exploring Operation: 47+90=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[5, 38], Operations: ['10/2=5', '85-47=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[47, 85, 8], Operations: ['10-2=8']
Exploring Operation: 47-8=39, Resulting Numbers: [85, 39]
Generated Node #0,0,0: 86:[85, 39] Operation: 47-8=39
Exploring Operation: 85-47=38, Resulting Numbers: [8, 38]
Generated Node #0,0,1: 86:[8, 38] Operation: 85-47=38
Exploring Operation: 85+8=93, Resulting Numbers: [47, 93]
Generated Node #0,0,2: 86:[47, 93] Operation: 85+8=93
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[85, 39], Operations: ['10-2=8', '47-8=39']
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,86 unequal: No Solution
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,86 unequal: No Solution
No 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: 86:[8, 38], Operations: ['10-2=8', '85-47=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,86 unequal: No Solution
No 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: 86:[47, 93], Operations: ['10-2=8', '85+8=93']
Exploring Operation: 47+93=140, Resulting Numbers: [140]
140,86 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 47*93=4371, Resulting Numbers: [4371]
4371,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
67,
33,
84
] | 17 | [
"2*67=134",
"33+84=117",
"134-117=17"
] | Current State: 17:[2, 67, 33, 84], Operations: []
Exploring Operation: 2*67=134, Resulting Numbers: [33, 84, 134]
Generated Node #2: [33, 84, 134] from Operation: 2*67=134
Current State: 17:[33, 84, 134], Operations: ['2*67=134']
Exploring Operation: 33+84=117, Resulting Numbers: [134, 117]
Generated Node #3: [134, 117] from Operation: 33+84=117
Current State: 17:[134, 117], Operations: ['2*67=134', '33+84=117']
Exploring Operation: 134-117=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[2, 67, 33, 84], Operations: []
Exploring Operation: 84-33=51, Resulting Numbers: [2, 67, 51]
Generated Node #0,0: 17:[2, 67, 51] Operation: 84-33=51
Exploring Operation: 84-67=17, Resulting Numbers: [2, 33, 17]
Generated Node #0,1: 17:[2, 33, 17] Operation: 84-67=17
Exploring Operation: 84/2=42, Resulting Numbers: [67, 33, 42]
Generated Node #0,2: 17:[67, 33, 42] Operation: 84/2=42
Exploring Operation: 67-2=65, Resulting Numbers: [33, 84, 65]
Generated Node #0,3: 17:[33, 84, 65] Operation: 67-2=65
Exploring Operation: 67-33=34, Resulting Numbers: [2, 84, 34]
Generated Node #0,4: 17:[2, 84, 34] Operation: 67-33=34
Moving to Node #0,1
Current State: 17:[2, 33, 17], Operations: ['84-67=17']
Exploring Operation: 2+33=35, Resulting Numbers: [17, 35]
Generated Node #0,1,0: 17:[17, 35] Operation: 2+33=35
Exploring Operation: 17-2=15, Resulting Numbers: [33, 15]
Generated Node #0,1,1: 17:[33, 15] Operation: 17-2=15
Exploring Operation: 33-17=16, Resulting Numbers: [2, 16]
Generated Node #0,1,2: 17:[2, 16] Operation: 33-17=16
Exploring Operation: 2+17=19, Resulting Numbers: [33, 19]
Generated Node #0,1,3: 17:[33, 19] Operation: 2+17=19
Exploring Operation: 33-2=31, Resulting Numbers: [17, 31]
Generated Node #0,1,4: 17:[17, 31] Operation: 33-2=31
Moving to Node #0,2
Current State: 17:[67, 33, 42], Operations: ['84/2=42']
Exploring Operation: 67+42=109, Resulting Numbers: [33, 109]
Generated Node #0,2,0: 17:[33, 109] Operation: 67+42=109
Exploring Operation: 42-33=9, Resulting Numbers: [67, 9]
Generated Node #0,2,1: 17:[67, 9] Operation: 42-33=9
Exploring Operation: 67-33=34, Resulting Numbers: [42, 34]
Generated Node #0,2,2: 17:[42, 34] Operation: 67-33=34
Exploring Operation: 67-42=25, Resulting Numbers: [33, 25]
Generated Node #0,2,3: 17:[33, 25] Operation: 67-42=25
Exploring Operation: 67+33=100, Resulting Numbers: [42, 100]
Generated Node #0,2,4: 17:[42, 100] Operation: 67+33=100
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[33, 25], Operations: ['84/2=42', '67-42=25']
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,17 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[42, 34], Operations: ['84/2=42', '67-33=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,17 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[67, 9], Operations: ['84/2=42', '42-33=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,17 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[33, 109], Operations: ['84/2=42', '67+42=109']
Exploring Operation: 109-33=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 33*109=3597, Resulting Numbers: [3597]
3597,17 unequal: No Solution
Exploring Operation: 33+109=142, Resulting Numbers: [142]
142,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 17:[42, 100], Operations: ['84/2=42', '67+33=100']
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 42*100=4200, Resulting Numbers: [4200]
4200,17 unequal: No Solution
Exploring Operation: 42+100=142, Resulting Numbers: [142]
142,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 17:[2, 67, 51], Operations: ['84-33=51']
Exploring Operation: 51-2=49, Resulting Numbers: [67, 49]
Generated Node #0,0,0: 17:[67, 49] Operation: 51-2=49
Exploring Operation: 67-51=16, Resulting Numbers: [2, 16]
Generated Node #0,0,1: 17:[2, 16] Operation: 67-51=16
Exploring Operation: 2+67=69, Resulting Numbers: [51, 69]
Generated Node #0,0,2: 17:[51, 69] Operation: 2+67=69
Exploring Operation: 2+51=53, Resulting Numbers: [67, 53]
Generated Node #0,0,3: 17:[67, 53] Operation: 2+51=53
Exploring Operation: 67-2=65, Resulting Numbers: [51, 65]
Generated Node #0,0,4: 17:[51, 65] Operation: 67-2=65
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[2, 16], Operations: ['84-33=51', '67-51=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[67, 49], Operations: ['84-33=51', '51-2=49']
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 67*49=3283, Resulting Numbers: [3283]
3283,17 unequal: No Solution
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 17:[51, 65], Operations: ['84-33=51', '67-2=65']
Exploring Operation: 51+65=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 51*65=3315, Resulting Numbers: [3315]
3315,17 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[51, 69], Operations: ['84-33=51', '2+67=69']
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 51+69=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 51*69=3519, Resulting Numbers: [3519]
3519,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[67, 53], Operations: ['84-33=51', '2+51=53']
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,17 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: 17:[2, 84, 34], Operations: ['67-33=34']
Exploring Operation: 34-2=32, Resulting Numbers: [84, 32]
Generated Node #0,4,0: 17:[84, 32] Operation: 34-2=32
Exploring Operation: 84-2=82, Resulting Numbers: [34, 82]
Generated Node #0,4,1: 17:[34, 82] Operation: 84-2=82
Exploring Operation: 84-34=50, Resulting Numbers: [2, 50]
Generated Node #0,4,2: 17:[2, 50] Operation: 84-34=50
Exploring Operation: 84/2=42, Resulting Numbers: [34, 42]
Generated Node #0,4,3: 17:[34, 42] Operation: 84/2=42
Exploring Operation: 34/2=17, Resulting Numbers: [84, 17]
Generated Node #0,4,4: 17:[84, 17] Operation: 34/2=17
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 17:[34, 42], Operations: ['67-33=34', '84/2=42']
Exploring Operation: 34*42=1428, Resulting Numbers: [1428]
1428,17 unequal: No Solution
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 17:[2, 50], Operations: ['67-33=34', '84-34=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,17 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 17:[84, 17], Operations: ['67-33=34', '34/2=17']
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,17 unequal: No Solution
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,17 unequal: No Solution
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[84, 32], Operations: ['67-33=34', '34-2=32']
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,17 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 17:[34, 82], Operations: ['67-33=34', '84-2=82']
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,17 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: 17:[33, 84, 65], Operations: ['67-2=65']
Exploring Operation: 84-33=51, Resulting Numbers: [65, 51]
Generated Node #0,3,0: 17:[65, 51] Operation: 84-33=51
Exploring Operation: 33+65=98, Resulting Numbers: [84, 98]
Generated Node #0,3,1: 17:[84, 98] Operation: 33+65=98
Exploring Operation: 33+84=117, Resulting Numbers: [65, 117]
Generated Node #0,3,2: 17:[65, 117] Operation: 33+84=117
Exploring Operation: 65-33=32, Resulting Numbers: [84, 32]
Generated Node #0,3,3: 17:[84, 32] Operation: 65-33=32
Exploring Operation: 84-65=19, Resulting Numbers: [33, 19]
Generated Node #0,3,4: 17:[33, 19] Operation: 84-65=19
Moving to Node #0,1,4
Current State: 17:[17, 31], Operations: ['84-67=17', '33-2=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,17 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[2, 16], Operations: ['84-67=17', '33-17=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[17, 35], Operations: ['84-67=17', '2+33=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,17 unequal: No Solution
Moving to Node #0,3,4
Current State: 17:[33, 19], Operations: ['67-2=65', '84-65=19']
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,17 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[33, 19], Operations: ['84-67=17', '2+17=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,17 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[33, 15], Operations: ['84-67=17', '17-2=15']
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,17 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[65, 51], Operations: ['67-2=65', '84-33=51']
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,17 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[84, 32], Operations: ['67-2=65', '65-33=32']
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,17 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[84, 98], Operations: ['67-2=65', '33+65=98']
Exploring Operation: 84+98=182, Resulting Numbers: [182]
182,17 unequal: No Solution
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 84*98=8232, Resulting Numbers: [8232]
8232,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[65, 117], Operations: ['67-2=65', '33+84=117']
Exploring Operation: 117-65=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 65+117=182, Resulting Numbers: [182]
182,17 unequal: No Solution
Exploring Operation: 65*117=7605, Resulting Numbers: [7605]
7605,17 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
73,
83,
32,
79
] | 37 | [
"83-73=10",
"79-32=47",
"47-10=37"
] | Current State: 37:[73, 83, 32, 79], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [32, 79, 10]
Generated Node #2: [32, 79, 10] from Operation: 83-73=10
Current State: 37:[32, 79, 10], Operations: ['83-73=10']
Exploring Operation: 79-32=47, Resulting Numbers: [10, 47]
Generated Node #3: [10, 47] from Operation: 79-32=47
Current State: 37:[10, 47], Operations: ['83-73=10', '79-32=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[73, 83, 32, 79], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [73, 32, 4]
Generated Node #0,0: 37:[73, 32, 4] Operation: 83-79=4
Exploring Operation: 83-73=10, Resulting Numbers: [32, 79, 10]
Generated Node #0,1: 37:[32, 79, 10] Operation: 83-73=10
Exploring Operation: 79-73=6, Resulting Numbers: [83, 32, 6]
Generated Node #0,2: 37:[83, 32, 6] Operation: 79-73=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[73, 32, 4], Operations: ['83-79=4']
Exploring Operation: 32+4=36, Resulting Numbers: [73, 36]
Generated Node #0,0,0: 37:[73, 36] Operation: 32+4=36
Exploring Operation: 73-4=69, Resulting Numbers: [32, 69]
Generated Node #0,0,1: 37:[32, 69] Operation: 73-4=69
Exploring Operation: 73-32=41, Resulting Numbers: [4, 41]
Generated Node #0,0,2: 37:[4, 41] Operation: 73-32=41
Moving to Node #0,0,0
Current State: 37:[73, 36], Operations: ['83-79=4', '32+4=36']
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,37 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[73, 83, 32, 79], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [73, 32, 4]
Generated Node #0,0: 37:[73, 32, 4] Operation: 83-79=4
Moving to Node #0,0
Current State: 37:[73, 32, 4], Operations: ['83-79=4']
Exploring Operation: 32+4=36, Resulting Numbers: [73, 36]
Generated Node #0,0,0: 37:[73, 36] Operation: 32+4=36
Moving to Node #0,0,0
Current State: 37:[73, 36], Operations: ['83-79=4', '32+4=36']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
85,
46,
34,
84
] | 89 | [
"85-46=39",
"84-34=50",
"39+50=89"
] | Current State: 89:[85, 46, 34, 84], Operations: []
Exploring Operation: 85-46=39, Resulting Numbers: [34, 84, 39]
Generated Node #2: [34, 84, 39] from Operation: 85-46=39
Current State: 89:[34, 84, 39], Operations: ['85-46=39']
Exploring Operation: 84-34=50, Resulting Numbers: [39, 50]
Generated Node #3: [39, 50] from Operation: 84-34=50
Current State: 89:[39, 50], Operations: ['85-46=39', '84-34=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[85, 46, 34, 84], Operations: []
Exploring Operation: 85+34=119, Resulting Numbers: [46, 84, 119]
Generated Node #0,0: 89:[46, 84, 119] Operation: 85+34=119
Exploring Operation: 46+34=80, Resulting Numbers: [85, 84, 80]
Generated Node #0,1: 89:[85, 84, 80] Operation: 46+34=80
Exploring Operation: 34+84=118, Resulting Numbers: [85, 46, 118]
Generated Node #0,2: 89:[85, 46, 118] Operation: 34+84=118
Moving to Node #0,1
Current State: 89:[85, 84, 80], Operations: ['46+34=80']
Exploring Operation: 85+80=165, Resulting Numbers: [84, 165]
Generated Node #0,1,0: 89:[84, 165] Operation: 85+80=165
Exploring Operation: 84+80=164, Resulting Numbers: [85, 164]
Generated Node #0,1,1: 89:[85, 164] Operation: 84+80=164
Exploring Operation: 85+84=169, Resulting Numbers: [80, 169]
Generated Node #0,1,2: 89:[80, 169] Operation: 85+84=169
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[85, 164], Operations: ['46+34=80', '84+80=164']
Exploring Operation: 164-85=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 85*164=13940, Resulting Numbers: [13940]
13940,89 unequal: No Solution
Exploring Operation: 85+164=249, Resulting Numbers: [249]
249,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[84, 165], Operations: ['46+34=80', '85+80=165']
Exploring Operation: 84*165=13860, Resulting Numbers: [13860]
13860,89 unequal: No Solution
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Exploring Operation: 84+165=249, Resulting Numbers: [249]
249,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[80, 169], Operations: ['46+34=80', '85+84=169']
Exploring Operation: 80*169=13520, Resulting Numbers: [13520]
13520,89 unequal: No Solution
Exploring Operation: 169-80=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[85, 46, 34, 84], Operations: []
Exploring Operation: 46+34=80, Resulting Numbers: [85, 84, 80]
Generated Node #0,1: 89:[85, 84, 80] Operation: 46+34=80
Moving to Node #0,1
Current State: 89:[85, 84, 80], Operations: ['46+34=80']
Exploring Operation: 85+84=169, Resulting Numbers: [80, 169]
Generated Node #0,1,2: 89:[80, 169] Operation: 85+84=169
Moving to Node #0,1,2
Current State: 89:[80, 169], Operations: ['46+34=80', '85+84=169']
Exploring Operation: 169-80=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
31,
49,
44,
41
] | 15 | [
"49-31=18",
"44-41=3",
"18-3=15"
] | Current State: 15:[31, 49, 44, 41], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [44, 41, 18]
Generated Node #2: [44, 41, 18] from Operation: 49-31=18
Current State: 15:[44, 41, 18], Operations: ['49-31=18']
Exploring Operation: 44-41=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 44-41=3
Current State: 15:[18, 3], Operations: ['49-31=18', '44-41=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[31, 49, 44, 41], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [31, 49, 3]
Generated Node #0,0: 15:[31, 49, 3] Operation: 44-41=3
Exploring Operation: 49-41=8, Resulting Numbers: [31, 44, 8]
Generated Node #0,1: 15:[31, 44, 8] Operation: 49-41=8
Exploring Operation: 49-44=5, Resulting Numbers: [31, 41, 5]
Generated Node #0,2: 15:[31, 41, 5] Operation: 49-44=5
Moving to Node #0,2
Current State: 15:[31, 41, 5], Operations: ['49-44=5']
Exploring Operation: 41-5=36, Resulting Numbers: [31, 36]
Generated Node #0,2,0: 15:[31, 36] Operation: 41-5=36
Exploring Operation: 41-31=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 15:[5, 10] Operation: 41-31=10
Exploring Operation: 31-5=26, Resulting Numbers: [41, 26]
Generated Node #0,2,2: 15:[41, 26] Operation: 31-5=26
Moving to Node #0,1
Current State: 15:[31, 44, 8], Operations: ['49-41=8']
Exploring Operation: 31-8=23, Resulting Numbers: [44, 23]
Generated Node #0,1,0: 15:[44, 23] Operation: 31-8=23
Exploring Operation: 44-31=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 15:[8, 13] Operation: 44-31=13
Exploring Operation: 44-8=36, Resulting Numbers: [31, 36]
Generated Node #0,1,2: 15:[31, 36] Operation: 44-8=36
Moving to Node #0,0
Current State: 15:[31, 49, 3], Operations: ['44-41=3']
Exploring Operation: 49-31=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 15:[3, 18] Operation: 49-31=18
Exploring Operation: 49-3=46, Resulting Numbers: [31, 46]
Generated Node #0,0,1: 15:[31, 46] Operation: 49-3=46
Exploring Operation: 31-3=28, Resulting Numbers: [49, 28]
Generated Node #0,0,2: 15:[49, 28] Operation: 31-3=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[3, 18], Operations: ['44-41=3', '49-31=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[31, 49, 44, 41], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [31, 49, 3]
Generated Node #0,0: 15:[31, 49, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 15:[31, 49, 3], Operations: ['44-41=3']
Exploring Operation: 49-31=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 15:[3, 18] Operation: 49-31=18
Moving to Node #0,0,0
Current State: 15:[3, 18], Operations: ['44-41=3', '49-31=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
15,
99,
55,
90
] | 61 | [
"99-15=84",
"55+90=145",
"145-84=61"
] | Current State: 61:[15, 99, 55, 90], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [55, 90, 84]
Generated Node #2: [55, 90, 84] from Operation: 99-15=84
Current State: 61:[55, 90, 84], Operations: ['99-15=84']
Exploring Operation: 55+90=145, Resulting Numbers: [84, 145]
Generated Node #3: [84, 145] from Operation: 55+90=145
Current State: 61:[84, 145], Operations: ['99-15=84', '55+90=145']
Exploring Operation: 145-84=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[15, 99, 55, 90], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [55, 90, 84]
Generated Node #0,0: 61:[55, 90, 84] Operation: 99-15=84
Exploring Operation: 90-15=75, Resulting Numbers: [99, 55, 75]
Generated Node #0,1: 61:[99, 55, 75] Operation: 90-15=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[55, 90, 84], Operations: ['99-15=84']
Exploring Operation: 90-55=35, Resulting Numbers: [84, 35]
Generated Node #0,0,0: 61:[84, 35] Operation: 90-55=35
Exploring Operation: 84-55=29, Resulting Numbers: [90, 29]
Generated Node #0,0,1: 61:[90, 29] Operation: 84-55=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[84, 35], Operations: ['99-15=84', '90-55=35']
Exploring Operation: 84+35=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,61 unequal: No Solution
No 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: 61:[90, 29], Operations: ['99-15=84', '84-55=29']
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[15, 99, 55, 90], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [55, 90, 84]
Generated Node #0,0: 61:[55, 90, 84] Operation: 99-15=84
Moving to Node #0,0
Current State: 61:[55, 90, 84], Operations: ['99-15=84']
Exploring Operation: 84-55=29, Resulting Numbers: [90, 29]
Generated Node #0,0,1: 61:[90, 29] Operation: 84-55=29
Moving to Node #0,0,1
Current State: 61:[90, 29], Operations: ['99-15=84', '84-55=29']
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
27,
69,
74,
23
] | 10 | [
"27+23=50",
"74-69=5",
"50/5=10"
] | Current State: 10:[27, 69, 74, 23], Operations: []
Exploring Operation: 27+23=50, Resulting Numbers: [69, 74, 50]
Generated Node #2: [69, 74, 50] from Operation: 27+23=50
Current State: 10:[69, 74, 50], Operations: ['27+23=50']
Exploring Operation: 74-69=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 74-69=5
Current State: 10:[50, 5], Operations: ['27+23=50', '74-69=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[27, 69, 74, 23], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [27, 23, 5]
Generated Node #0,0: 10:[27, 23, 5] Operation: 74-69=5
Exploring Operation: 69/23=3, Resulting Numbers: [27, 74, 3]
Generated Node #0,1: 10:[27, 74, 3] Operation: 69/23=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[27, 23, 5], Operations: ['74-69=5']
Exploring Operation: 27-23=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 10:[5, 4] Operation: 27-23=4
Exploring Operation: 27-5=22, Resulting Numbers: [23, 22]
Generated Node #0,0,1: 10:[23, 22] Operation: 27-5=22
Moving to Node #0,0,0
Current State: 10:[5, 4], Operations: ['74-69=5', '27-23=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[23, 22], Operations: ['74-69=5', '27-5=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[27, 74, 3], Operations: ['69/23=3']
Exploring Operation: 27/3=9, Resulting Numbers: [74, 9]
Generated Node #0,1,0: 10:[74, 9] Operation: 27/3=9
Exploring Operation: 74-27=47, Resulting Numbers: [3, 47]
Generated Node #0,1,1: 10:[3, 47] Operation: 74-27=47
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[3, 47], Operations: ['69/23=3', '74-27=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[74, 9], Operations: ['69/23=3', '27/3=9']
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,10 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
65,
21,
33
] | 64 | [
"75-65=10",
"21+33=54",
"10+54=64"
] | Current State: 64:[75, 65, 21, 33], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [21, 33, 10]
Generated Node #2: [21, 33, 10] from Operation: 75-65=10
Current State: 64:[21, 33, 10], Operations: ['75-65=10']
Exploring Operation: 21+33=54, Resulting Numbers: [10, 54]
Generated Node #3: [10, 54] from Operation: 21+33=54
Current State: 64:[10, 54], Operations: ['75-65=10', '21+33=54']
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[75, 65, 21, 33], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [21, 33, 10]
Generated Node #0,0: 64:[21, 33, 10] Operation: 75-65=10
Exploring Operation: 75-21=54, Resulting Numbers: [65, 33, 54]
Generated Node #0,1: 64:[65, 33, 54] Operation: 75-21=54
Moving to Node #0,0
Current State: 64:[21, 33, 10], Operations: ['75-65=10']
Exploring Operation: 21-10=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 64:[33, 11] Operation: 21-10=11
Exploring Operation: 21+10=31, Resulting Numbers: [33, 31]
Generated Node #0,0,1: 64:[33, 31] Operation: 21+10=31
Moving to Node #0,1
Current State: 64:[65, 33, 54], Operations: ['75-21=54']
Exploring Operation: 54-33=21, Resulting Numbers: [65, 21]
Generated Node #0,1,0: 64:[65, 21] Operation: 54-33=21
Exploring Operation: 65-54=11, Resulting Numbers: [33, 11]
Generated Node #0,1,1: 64:[33, 11] Operation: 65-54=11
Moving to Node #0,0,1
Current State: 64:[33, 31], Operations: ['75-65=10', '21+10=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[75, 65, 21, 33], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [21, 33, 10]
Generated Node #0,0: 64:[21, 33, 10] Operation: 75-65=10
Moving to Node #0,0
Current State: 64:[21, 33, 10], Operations: ['75-65=10']
Exploring Operation: 21+10=31, Resulting Numbers: [33, 31]
Generated Node #0,0,1: 64:[33, 31] Operation: 21+10=31
Moving to Node #0,0,1
Current State: 64:[33, 31], Operations: ['75-65=10', '21+10=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
38,
67,
2,
80
] | 22 | [
"67-38=29",
"2*29=58",
"80-58=22"
] | Current State: 22:[38, 67, 2, 80], Operations: []
Exploring Operation: 67-38=29, Resulting Numbers: [2, 80, 29]
Generated Node #2: [2, 80, 29] from Operation: 67-38=29
Current State: 22:[2, 80, 29], Operations: ['67-38=29']
Exploring Operation: 2*29=58, Resulting Numbers: [80, 58]
Generated Node #3: [80, 58] from Operation: 2*29=58
Current State: 22:[80, 58], Operations: ['67-38=29', '2*29=58']
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[38, 67, 2, 80], Operations: []
Exploring Operation: 80-67=13, Resulting Numbers: [38, 2, 13]
Generated Node #0,0: 22:[38, 2, 13] Operation: 80-67=13
Moving to Node #0,0
Current State: 22:[38, 2, 13], Operations: ['80-67=13']
Exploring Operation: 38-13=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 22:[2, 25] Operation: 38-13=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[2, 25], Operations: ['80-67=13', '38-13=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,22 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 |
[
29,
8,
59,
80
] | 78 | [
"29+59=88",
"80/8=10",
"88-10=78"
] | Current State: 78:[29, 8, 59, 80], Operations: []
Exploring Operation: 29+59=88, Resulting Numbers: [8, 80, 88]
Generated Node #2: [8, 80, 88] from Operation: 29+59=88
Current State: 78:[8, 80, 88], Operations: ['29+59=88']
Exploring Operation: 80/8=10, Resulting Numbers: [88, 10]
Generated Node #3: [88, 10] from Operation: 80/8=10
Current State: 78:[88, 10], Operations: ['29+59=88', '80/8=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[29, 8, 59, 80], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [29, 8, 21]
Generated Node #0,0: 78:[29, 8, 21] Operation: 80-59=21
Exploring Operation: 59-29=30, Resulting Numbers: [8, 80, 30]
Generated Node #0,1: 78:[8, 80, 30] Operation: 59-29=30
Moving to Node #0,1
Current State: 78:[8, 80, 30], Operations: ['59-29=30']
Exploring Operation: 8+30=38, Resulting Numbers: [80, 38]
Generated Node #0,1,0: 78:[80, 38] Operation: 8+30=38
Exploring Operation: 30-8=22, Resulting Numbers: [80, 22]
Generated Node #0,1,1: 78:[80, 22] Operation: 30-8=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[80, 38], Operations: ['59-29=30', '8+30=38']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,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,1
Current State: 78:[80, 22], Operations: ['59-29=30', '30-8=22']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 78:[29, 8, 21], Operations: ['80-59=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 78:[8, 8] Operation: 29-21=8
Exploring Operation: 21-8=13, Resulting Numbers: [29, 13]
Generated Node #0,0,1: 78:[29, 13] Operation: 21-8=13
Moving to Node #0,0,1
Current State: 78:[29, 13], Operations: ['80-59=21', '21-8=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[8, 8], Operations: ['80-59=21', '29-21=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,78 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
47,
6,
35
] | 95 | [
"47-37=10",
"6*10=60",
"35+60=95"
] | Current State: 95:[37, 47, 6, 35], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [6, 35, 10]
Generated Node #2: [6, 35, 10] from Operation: 47-37=10
Current State: 95:[6, 35, 10], Operations: ['47-37=10']
Exploring Operation: 6*10=60, Resulting Numbers: [35, 60]
Generated Node #3: [35, 60] from Operation: 6*10=60
Current State: 95:[35, 60], Operations: ['47-37=10', '6*10=60']
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[37, 47, 6, 35], Operations: []
Exploring Operation: 47-35=12, Resulting Numbers: [37, 6, 12]
Generated Node #0,0: 95:[37, 6, 12] Operation: 47-35=12
Exploring Operation: 47-37=10, Resulting Numbers: [6, 35, 10]
Generated Node #0,1: 95:[6, 35, 10] Operation: 47-37=10
Moving to Node #0,1
Current State: 95:[6, 35, 10], Operations: ['47-37=10']
Exploring Operation: 35-6=29, Resulting Numbers: [10, 29]
Generated Node #0,1,0: 95:[10, 29] Operation: 35-6=29
Exploring Operation: 35-10=25, Resulting Numbers: [6, 25]
Generated Node #0,1,1: 95:[6, 25] Operation: 35-10=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[6, 25], Operations: ['47-37=10', '35-10=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,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,1,0
Current State: 95:[10, 29], Operations: ['47-37=10', '35-6=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,95 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: 95:[37, 6, 12], Operations: ['47-35=12']
Exploring Operation: 37-12=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 95:[6, 25] Operation: 37-12=25
Exploring Operation: 37-6=31, Resulting Numbers: [12, 31]
Generated Node #0,0,1: 95:[12, 31] Operation: 37-6=31
Moving to Node #0,0,0
Current State: 95:[6, 25], Operations: ['47-35=12', '37-12=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[12, 31], Operations: ['47-35=12', '37-6=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,95 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
9,
17,
48
] | 89 | [
"33-9=24",
"17+48=65",
"24+65=89"
] | Current State: 89:[33, 9, 17, 48], Operations: []
Exploring Operation: 33-9=24, Resulting Numbers: [17, 48, 24]
Generated Node #2: [17, 48, 24] from Operation: 33-9=24
Current State: 89:[17, 48, 24], Operations: ['33-9=24']
Exploring Operation: 17+48=65, Resulting Numbers: [24, 65]
Generated Node #3: [24, 65] from Operation: 17+48=65
Current State: 89:[24, 65], Operations: ['33-9=24', '17+48=65']
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[33, 9, 17, 48], Operations: []
Exploring Operation: 33+9=42, Resulting Numbers: [17, 48, 42]
Generated Node #0,0: 89:[17, 48, 42] Operation: 33+9=42
Exploring Operation: 33+48=81, Resulting Numbers: [9, 17, 81]
Generated Node #0,1: 89:[9, 17, 81] Operation: 33+48=81
Exploring Operation: 33+17=50, Resulting Numbers: [9, 48, 50]
Generated Node #0,2: 89:[9, 48, 50] Operation: 33+17=50
Moving to Node #0,0
Current State: 89:[17, 48, 42], Operations: ['33+9=42']
Exploring Operation: 48+42=90, Resulting Numbers: [17, 90]
Generated Node #0,0,0: 89:[17, 90] Operation: 48+42=90
Exploring Operation: 17+48=65, Resulting Numbers: [42, 65]
Generated Node #0,0,1: 89:[42, 65] Operation: 17+48=65
Exploring Operation: 17+42=59, Resulting Numbers: [48, 59]
Generated Node #0,0,2: 89:[48, 59] Operation: 17+42=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[42, 65], Operations: ['33+9=42', '17+48=65']
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,89 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[48, 59], Operations: ['33+9=42', '17+42=59']
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[17, 90], Operations: ['33+9=42', '48+42=90']
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,89 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,89 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: 89:[9, 17, 81], Operations: ['33+48=81']
Exploring Operation: 9*17=153, Resulting Numbers: [81, 153]
Generated Node #0,1,0: 89:[81, 153] Operation: 9*17=153
Exploring Operation: 9+81=90, Resulting Numbers: [17, 90]
Generated Node #0,1,1: 89:[17, 90] Operation: 9+81=90
Exploring Operation: 9+17=26, Resulting Numbers: [81, 26]
Generated Node #0,1,2: 89:[81, 26] Operation: 9+17=26
Moving to Node #0,2
Current State: 89:[9, 48, 50], Operations: ['33+17=50']
Exploring Operation: 9+48=57, Resulting Numbers: [50, 57]
Generated Node #0,2,0: 89:[50, 57] Operation: 9+48=57
Exploring Operation: 9+50=59, Resulting Numbers: [48, 59]
Generated Node #0,2,1: 89:[48, 59] Operation: 9+50=59
Exploring Operation: 48-9=39, Resulting Numbers: [50, 39]
Generated Node #0,2,2: 89:[50, 39] Operation: 48-9=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[50, 57], Operations: ['33+17=50', '9+48=57']
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,89 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[48, 59], Operations: ['33+17=50', '9+50=59']
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[50, 39], Operations: ['33+17=50', '48-9=39']
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,89 unequal: No Solution
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[33, 9, 17, 48], Operations: []
Exploring Operation: 33+17=50, Resulting Numbers: [9, 48, 50]
Generated Node #0,2: 89:[9, 48, 50] Operation: 33+17=50
Moving to Node #0,2
Current State: 89:[9, 48, 50], Operations: ['33+17=50']
Exploring Operation: 48-9=39, Resulting Numbers: [50, 39]
Generated Node #0,2,2: 89:[50, 39] Operation: 48-9=39
Moving to Node #0,2,2
Current State: 89:[50, 39], Operations: ['33+17=50', '48-9=39']
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_3 | mult_heuristic |
[
41,
12,
95,
99
] | 49 | [
"41+12=53",
"99-95=4",
"53-4=49"
] | Current State: 49:[41, 12, 95, 99], Operations: []
Exploring Operation: 41+12=53, Resulting Numbers: [95, 99, 53]
Generated Node #2: [95, 99, 53] from Operation: 41+12=53
Current State: 49:[95, 99, 53], Operations: ['41+12=53']
Exploring Operation: 99-95=4, Resulting Numbers: [53, 4]
Generated Node #3: [53, 4] from Operation: 99-95=4
Current State: 49:[53, 4], Operations: ['41+12=53', '99-95=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[41, 12, 95, 99], Operations: []
Exploring Operation: 99-41=58, Resulting Numbers: [12, 95, 58]
Generated Node #0,0: 49:[12, 95, 58] Operation: 99-41=58
Exploring Operation: 99-95=4, Resulting Numbers: [41, 12, 4]
Generated Node #0,1: 49:[41, 12, 4] Operation: 99-95=4
Exploring Operation: 95-41=54, Resulting Numbers: [12, 99, 54]
Generated Node #0,2: 49:[12, 99, 54] Operation: 95-41=54
Moving to Node #0,1
Current State: 49:[41, 12, 4], Operations: ['99-95=4']
Exploring Operation: 12*4=48, Resulting Numbers: [41, 48]
Generated Node #0,1,0: 49:[41, 48] Operation: 12*4=48
Exploring Operation: 41+4=45, Resulting Numbers: [12, 45]
Generated Node #0,1,1: 49:[12, 45] Operation: 41+4=45
Exploring Operation: 41+12=53, Resulting Numbers: [4, 53]
Generated Node #0,1,2: 49:[4, 53] Operation: 41+12=53
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[4, 53], Operations: ['99-95=4', '41+12=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[41, 12, 95, 99], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [41, 12, 4]
Generated Node #0,1: 49:[41, 12, 4] Operation: 99-95=4
Moving to Node #0,1
Current State: 49:[41, 12, 4], Operations: ['99-95=4']
Exploring Operation: 41+12=53, Resulting Numbers: [4, 53]
Generated Node #0,1,2: 49:[4, 53] Operation: 41+12=53
Moving to Node #0,1,2
Current State: 49:[4, 53], Operations: ['99-95=4', '41+12=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
15,
66,
98,
14
] | 33 | [
"66-15=51",
"98-14=84",
"84-51=33"
] | Current State: 33:[15, 66, 98, 14], Operations: []
Exploring Operation: 66-15=51, Resulting Numbers: [98, 14, 51]
Generated Node #2: [98, 14, 51] from Operation: 66-15=51
Current State: 33:[98, 14, 51], Operations: ['66-15=51']
Exploring Operation: 98-14=84, Resulting Numbers: [51, 84]
Generated Node #3: [51, 84] from Operation: 98-14=84
Current State: 33:[51, 84], Operations: ['66-15=51', '98-14=84']
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[15, 66, 98, 14], Operations: []
Exploring Operation: 66-15=51, Resulting Numbers: [98, 14, 51]
Generated Node #0,0: 33:[98, 14, 51] Operation: 66-15=51
Exploring Operation: 98/14=7, Resulting Numbers: [15, 66, 7]
Generated Node #0,1: 33:[15, 66, 7] Operation: 98/14=7
Exploring Operation: 98-66=32, Resulting Numbers: [15, 14, 32]
Generated Node #0,2: 33:[15, 14, 32] Operation: 98-66=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[15, 14, 32], Operations: ['98-66=32']
Exploring Operation: 32-15=17, Resulting Numbers: [14, 17]
Generated Node #0,2,0: 33:[14, 17] Operation: 32-15=17
Exploring Operation: 15+14=29, Resulting Numbers: [32, 29]
Generated Node #0,2,1: 33:[32, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [32, 1]
Generated Node #0,2,2: 33:[32, 1] Operation: 15-14=1
Moving to Node #0,2,2
Current State: 33:[32, 1], Operations: ['98-66=32', '15-14=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[15, 66, 98, 14], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [15, 14, 32]
Generated Node #0,2: 33:[15, 14, 32] Operation: 98-66=32
Moving to Node #0,2
Current State: 33:[15, 14, 32], Operations: ['98-66=32']
Exploring Operation: 15-14=1, Resulting Numbers: [32, 1]
Generated Node #0,2,2: 33:[32, 1] Operation: 15-14=1
Moving to Node #0,2,2
Current State: 33:[32, 1], Operations: ['98-66=32', '15-14=1']
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
54,
16,
20,
22
] | 46 | [
"22-20=2",
"16/2=8",
"54-8=46"
] | Current State: 46:[54, 16, 20, 22], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [54, 16, 2]
Generated Node #2: [54, 16, 2] from Operation: 22-20=2
Current State: 46:[54, 16, 2], Operations: ['22-20=2']
Exploring Operation: 16/2=8, Resulting Numbers: [54, 8]
Generated Node #3: [54, 8] from Operation: 16/2=8
Current State: 46:[54, 8], Operations: ['22-20=2', '16/2=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[54, 16, 20, 22], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [54, 22, 4]
Generated Node #0,0: 46:[54, 22, 4] Operation: 20-16=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[54, 22, 4], Operations: ['20-16=4']
Exploring Operation: 54-4=50, Resulting Numbers: [22, 50]
Generated Node #0,0,0: 46:[22, 50] Operation: 54-4=50
Moving to Node #0,0,0
Current State: 46:[22, 50], Operations: ['20-16=4', '54-4=50']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,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 | mult_heuristic |
[
25,
71,
90,
75
] | 61 | [
"71-25=46",
"90-75=15",
"46+15=61"
] | Current State: 61:[25, 71, 90, 75], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [90, 75, 46]
Generated Node #2: [90, 75, 46] from Operation: 71-25=46
Current State: 61:[90, 75, 46], Operations: ['71-25=46']
Exploring Operation: 90-75=15, Resulting Numbers: [46, 15]
Generated Node #3: [46, 15] from Operation: 90-75=15
Current State: 61:[46, 15], Operations: ['71-25=46', '90-75=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[25, 71, 90, 75], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [71, 75, 65]
Generated Node #0,0: 61:[71, 75, 65] Operation: 90-25=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[71, 75, 65], Operations: ['90-25=65']
Exploring Operation: 75-71=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 61:[65, 4] Operation: 75-71=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[65, 4], Operations: ['90-25=65', '75-71=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[25, 71, 90, 75], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [71, 75, 65]
Generated Node #0,0: 61:[71, 75, 65] Operation: 90-25=65
Moving to Node #0,0
Current State: 61:[71, 75, 65], Operations: ['90-25=65']
Exploring Operation: 75-71=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 61:[65, 4] Operation: 75-71=4
Moving to Node #0,0,0
Current State: 61:[65, 4], Operations: ['90-25=65', '75-71=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
66,
18,
33,
78
] | 27 | [
"66+18=84",
"33+78=111",
"111-84=27"
] | Current State: 27:[66, 18, 33, 78], Operations: []
Exploring Operation: 66+18=84, Resulting Numbers: [33, 78, 84]
Generated Node #2: [33, 78, 84] from Operation: 66+18=84
Current State: 27:[33, 78, 84], Operations: ['66+18=84']
Exploring Operation: 33+78=111, Resulting Numbers: [84, 111]
Generated Node #3: [84, 111] from Operation: 33+78=111
Current State: 27:[84, 111], Operations: ['66+18=84', '33+78=111']
Exploring Operation: 111-84=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[66, 18, 33, 78], Operations: []
Exploring Operation: 78-66=12, Resulting Numbers: [18, 33, 12]
Generated Node #0,0: 27:[18, 33, 12] Operation: 78-66=12
Exploring Operation: 66/33=2, Resulting Numbers: [18, 78, 2]
Generated Node #0,1: 27:[18, 78, 2] Operation: 66/33=2
Moving to Node #0,0
Current State: 27:[18, 33, 12], Operations: ['78-66=12']
Exploring Operation: 33-18=15, Resulting Numbers: [12, 15]
Generated Node #0,0,0: 27:[12, 15] Operation: 33-18=15
Exploring Operation: 18+12=30, Resulting Numbers: [33, 30]
Generated Node #0,0,1: 27:[33, 30] Operation: 18+12=30
Moving to Node #0,1
Current State: 27:[18, 78, 2], Operations: ['66/33=2']
Exploring Operation: 78/2=39, Resulting Numbers: [18, 39]
Generated Node #0,1,0: 27:[18, 39] Operation: 78/2=39
Exploring Operation: 78-18=60, Resulting Numbers: [2, 60]
Generated Node #0,1,1: 27:[2, 60] Operation: 78-18=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[18, 39], Operations: ['66/33=2', '78/2=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[2, 60], Operations: ['66/33=2', '78-18=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,27 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: 27:[12, 15], Operations: ['78-66=12', '33-18=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[66, 18, 33, 78], Operations: []
Exploring Operation: 78-66=12, Resulting Numbers: [18, 33, 12]
Generated Node #0,0: 27:[18, 33, 12] Operation: 78-66=12
Moving to Node #0,0
Current State: 27:[18, 33, 12], Operations: ['78-66=12']
Exploring Operation: 33-18=15, Resulting Numbers: [12, 15]
Generated Node #0,0,0: 27:[12, 15] Operation: 33-18=15
Moving to Node #0,0,0
Current State: 27:[12, 15], Operations: ['78-66=12', '33-18=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
73,
63,
21,
15
] | 100 | [
"73+63=136",
"21+15=36",
"136-36=100"
] | Current State: 100:[73, 63, 21, 15], Operations: []
Exploring Operation: 73+63=136, Resulting Numbers: [21, 15, 136]
Generated Node #2: [21, 15, 136] from Operation: 73+63=136
Current State: 100:[21, 15, 136], Operations: ['73+63=136']
Exploring Operation: 21+15=36, Resulting Numbers: [136, 36]
Generated Node #3: [136, 36] from Operation: 21+15=36
Current State: 100:[136, 36], Operations: ['73+63=136', '21+15=36']
Exploring Operation: 136-36=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[73, 63, 21, 15], Operations: []
Exploring Operation: 73-21=52, Resulting Numbers: [63, 15, 52]
Generated Node #0,0: 100:[63, 15, 52] Operation: 73-21=52
Exploring Operation: 73-63=10, Resulting Numbers: [21, 15, 10]
Generated Node #0,1: 100:[21, 15, 10] Operation: 73-63=10
Exploring Operation: 73-15=58, Resulting Numbers: [63, 21, 58]
Generated Node #0,2: 100:[63, 21, 58] Operation: 73-15=58
Moving to Node #0,1
Current State: 100:[21, 15, 10], Operations: ['73-63=10']
Exploring Operation: 15+10=25, Resulting Numbers: [21, 25]
Generated Node #0,1,0: 100:[21, 25] Operation: 15+10=25
Exploring Operation: 21-15=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 100:[10, 6] Operation: 21-15=6
Exploring Operation: 15-10=5, Resulting Numbers: [21, 5]
Generated Node #0,1,2: 100:[21, 5] Operation: 15-10=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[21, 25], Operations: ['73-63=10', '15+10=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,100 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[10, 6], Operations: ['73-63=10', '21-15=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[21, 5], Operations: ['73-63=10', '15-10=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,100 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: 100:[63, 15, 52], Operations: ['73-21=52']
Exploring Operation: 63-15=48, Resulting Numbers: [52, 48]
Generated Node #0,0,0: 100:[52, 48] Operation: 63-15=48
Exploring Operation: 63-52=11, Resulting Numbers: [15, 11]
Generated Node #0,0,1: 100:[15, 11] Operation: 63-52=11
Exploring Operation: 63+52=115, Resulting Numbers: [15, 115]
Generated Node #0,0,2: 100:[15, 115] Operation: 63+52=115
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[52, 48], Operations: ['73-21=52', '63-15=48']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,100 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[73, 63, 21, 15], Operations: []
Exploring Operation: 73-21=52, Resulting Numbers: [63, 15, 52]
Generated Node #0,0: 100:[63, 15, 52] Operation: 73-21=52
Moving to Node #0,0
Current State: 100:[63, 15, 52], Operations: ['73-21=52']
Exploring Operation: 63-15=48, Resulting Numbers: [52, 48]
Generated Node #0,0,0: 100:[52, 48] Operation: 63-15=48
Moving to Node #0,0,0
Current State: 100:[52, 48], Operations: ['73-21=52', '63-15=48']
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.