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 |
|---|---|---|---|---|---|---|---|---|
[
29,
83,
25,
38
] | 67
|
[
"83-29=54",
"38-25=13",
"54+13=67"
] |
Current State: 67:[29, 83, 25, 38], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [25, 38, 54]
Generated Node #2: [25, 38, 54] from Operation: 83-29=54
Current State: 67:[25, 38, 54], Operations: ['83-29=54']
Exploring Operation: 38-25=13, Resulting Numbers: [54, 13]
Generated Node #3: [54, 13] from Operation: 38-25=13
Current State: 67:[54, 13], Operations: ['83-29=54', '38-25=13']
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4
|
Current State: 67:[29, 83, 25, 38], Operations: []
Exploring Operation: 29+25=54, Resulting Numbers: [83, 38, 54]
Generated Node #0,0: 67:[83, 38, 54] Operation: 29+25=54
Moving to Node #0,0
Current State: 67:[83, 38, 54], Operations: ['29+25=54']
Exploring Operation: 83-38=45, Resulting Numbers: [54, 45]
Generated Node #0,0,0: 67:[54, 45] Operation: 83-38=45
Moving to Node #0,0,0
Current State: 67:[54, 45], Operations: ['29+25=54', '83-38=45']
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,67 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
74,
5,
49,
80
] | 85
|
[
"74-49=25",
"25/5=5",
"80+5=85"
] |
Current State: 85:[74, 5, 49, 80], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [5, 80, 25]
Generated Node #2: [5, 80, 25] from Operation: 74-49=25
Current State: 85:[5, 80, 25], Operations: ['74-49=25']
Exploring Operation: 25/5=5, Resulting Numbers: [80, 5]
Generated Node #3: [80, 5] from Operation: 25/5=5
Current State: 85:[80, 5], Operations: ['74-49=25', '25/5=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[74, 5, 49, 80], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [5, 49, 6]
Generated Node #0,0: 85:[5, 49, 6] Operation: 80-74=6
Exploring Operation: 74-49=25, Resulting Numbers: [5, 80, 25]
Generated Node #0,1: 85:[5, 80, 25] Operation: 74-49=25
Exploring Operation: 80-49=31, Resulting Numbers: [74, 5, 31]
Generated Node #0,2: 85:[74, 5, 31] Operation: 80-49=31
Exploring Operation: 74+5=79, Resulting Numbers: [49, 80, 79]
Generated Node #0,3: 85:[49, 80, 79] Operation: 74+5=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[5, 80, 25], Operations: ['74-49=25']
Exploring Operation: 25/5=5, Resulting Numbers: [80, 5]
Generated Node #0,1,0: 85:[80, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [80, 20]
Generated Node #0,1,1: 85:[80, 20] Operation: 25-5=20
Exploring Operation: 80/5=16, Resulting Numbers: [25, 16]
Generated Node #0,1,2: 85:[25, 16] Operation: 80/5=16
Exploring Operation: 5+80=85, Resulting Numbers: [25, 85]
Generated Node #0,1,3: 85:[25, 85] Operation: 5+80=85
Moving to Node #0,1,0
Current State: 85:[80, 5], Operations: ['74-49=25', '25/5=5']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,85 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[74, 5, 49, 80], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [5, 80, 25]
Generated Node #0,1: 85:[5, 80, 25] Operation: 74-49=25
Moving to Node #0,1
Current State: 85:[5, 80, 25], Operations: ['74-49=25']
Exploring Operation: 25/5=5, Resulting Numbers: [80, 5]
Generated Node #0,1,0: 85:[80, 5] Operation: 25/5=5
Moving to Node #0,1,0
Current State: 85:[80, 5], Operations: ['74-49=25', '25/5=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_4
|
mult_heuristic
|
[
54,
54,
68,
14
] | 68
|
[
"54-54=0",
"14*0=0",
"68+0=68"
] |
Current State: 68:[54, 54, 68, 14], Operations: []
Exploring Operation: 54-54=0, Resulting Numbers: [68, 14, 0]
Generated Node #2: [68, 14, 0] from Operation: 54-54=0
Current State: 68:[68, 14, 0], Operations: ['54-54=0']
Exploring Operation: 14*0=0, Resulting Numbers: [68, 0]
Generated Node #3: [68, 0] from Operation: 14*0=0
Current State: 68:[68, 0], Operations: ['54-54=0', '14*0=0']
Exploring Operation: 68+0=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[54, 54, 68, 14], Operations: []
Exploring Operation: 54-54=0, Resulting Numbers: [68, 14, 0]
Generated Node #0,0: 68:[68, 14, 0] Operation: 54-54=0
Exploring Operation: 54/54=1, Resulting Numbers: [68, 14, 1]
Generated Node #0,1: 68:[68, 14, 1] Operation: 54/54=1
Exploring Operation: 54+14=68, Resulting Numbers: [54, 68, 68]
Generated Node #0,2: 68:[54, 68, 68] Operation: 54+14=68
Moving to Node #0,1
Current State: 68:[68, 14, 1], Operations: ['54/54=1']
Exploring Operation: 68*1=68, Resulting Numbers: [14, 68]
Generated Node #0,1,0: 68:[14, 68] Operation: 68*1=68
Exploring Operation: 68/1=68, Resulting Numbers: [14, 68]
Generated Node #0,1,1: 68:[14, 68] Operation: 68/1=68
Exploring Operation: 14+1=15, Resulting Numbers: [68, 15]
Generated Node #0,1,2: 68:[68, 15] Operation: 14+1=15
Moving to Node #0,0
Current State: 68:[68, 14, 0], Operations: ['54-54=0']
Exploring Operation: 68+0=68, Resulting Numbers: [14, 68]
Generated Node #0,0,0: 68:[14, 68] Operation: 68+0=68
Exploring Operation: 68-0=68, Resulting Numbers: [14, 68]
Generated Node #0,0,1: 68:[14, 68] Operation: 68-0=68
Exploring Operation: 14*0=0, Resulting Numbers: [68, 0]
Generated Node #0,0,2: 68:[68, 0] Operation: 14*0=0
Moving to Node #0,2
Current State: 68:[54, 68, 68], Operations: ['54+14=68']
Exploring Operation: 68-54=14, Resulting Numbers: [68, 14]
Generated Node #0,2,0: 68:[68, 14] Operation: 68-54=14
Exploring Operation: 68/68=1, Resulting Numbers: [54, 1]
Generated Node #0,2,1: 68:[54, 1] Operation: 68/68=1
Exploring Operation: 68-54=14, Resulting Numbers: [68, 14]
Generated Node #0,2,2: 68:[68, 14] Operation: 68-54=14
Moving to Node #0,1,2
Current State: 68:[68, 15], Operations: ['54/54=1', '14+1=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,68 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[68, 0], Operations: ['54-54=0', '14*0=0']
Exploring Operation: 68*0=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 68-0=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[54, 54, 68, 14], Operations: []
Exploring Operation: 54-54=0, Resulting Numbers: [68, 14, 0]
Generated Node #0,0: 68:[68, 14, 0] Operation: 54-54=0
Moving to Node #0,0
Current State: 68:[68, 14, 0], Operations: ['54-54=0']
Exploring Operation: 14*0=0, Resulting Numbers: [68, 0]
Generated Node #0,0,2: 68:[68, 0] Operation: 14*0=0
Moving to Node #0,0,2
Current State: 68:[68, 0], Operations: ['54-54=0', '14*0=0']
Exploring Operation: 68-0=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.981771
|
hs_3
|
mult_heuristic
|
[
2,
63,
62,
97
] | 45
|
[
"97-63=34",
"34/2=17",
"62-17=45"
] |
Current State: 45:[2, 63, 62, 97], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [2, 62, 34]
Generated Node #2: [2, 62, 34] from Operation: 97-63=34
Current State: 45:[2, 62, 34], Operations: ['97-63=34']
Exploring Operation: 34/2=17, Resulting Numbers: [62, 17]
Generated Node #3: [62, 17] from Operation: 34/2=17
Current State: 45:[62, 17], Operations: ['97-63=34', '34/2=17']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[2, 63, 62, 97], Operations: []
Exploring Operation: 97-62=35, Resulting Numbers: [2, 63, 35]
Generated Node #0,0: 45:[2, 63, 35] Operation: 97-62=35
Exploring Operation: 97-63=34, Resulting Numbers: [2, 62, 34]
Generated Node #0,1: 45:[2, 62, 34] Operation: 97-63=34
Exploring Operation: 63-62=1, Resulting Numbers: [2, 97, 1]
Generated Node #0,2: 45:[2, 97, 1] Operation: 63-62=1
Moving to Node #0,0
Current State: 45:[2, 63, 35], Operations: ['97-62=35']
Exploring Operation: 63-2=61, Resulting Numbers: [35, 61]
Generated Node #0,0,0: 45:[35, 61] Operation: 63-2=61
Exploring Operation: 63-35=28, Resulting Numbers: [2, 28]
Generated Node #0,0,1: 45:[2, 28] Operation: 63-35=28
Exploring Operation: 2+35=37, Resulting Numbers: [63, 37]
Generated Node #0,0,2: 45:[63, 37] Operation: 2+35=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[2, 28], Operations: ['97-62=35', '63-35=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,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,0
Current State: 45:[35, 61], Operations: ['97-62=35', '63-2=61']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,45 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,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:[63, 37], Operations: ['97-62=35', '2+35=37']
Exploring Operation: 63*37=2331, Resulting Numbers: [2331]
2331,45 unequal: No Solution
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,45 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,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:[2, 62, 34], Operations: ['97-63=34']
Exploring Operation: 62-34=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 45:[2, 28] Operation: 62-34=28
Exploring Operation: 34/2=17, Resulting Numbers: [62, 17]
Generated Node #0,1,1: 45:[62, 17] Operation: 34/2=17
Exploring Operation: 62/2=31, Resulting Numbers: [34, 31]
Generated Node #0,1,2: 45:[34, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[2, 28], Operations: ['97-63=34', '62-34=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,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:[62, 17], Operations: ['97-63=34', '34/2=17']
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,45 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[2, 63, 62, 97], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [2, 62, 34]
Generated Node #0,1: 45:[2, 62, 34] Operation: 97-63=34
Moving to Node #0,1
Current State: 45:[2, 62, 34], Operations: ['97-63=34']
Exploring Operation: 34/2=17, Resulting Numbers: [62, 17]
Generated Node #0,1,1: 45:[62, 17] Operation: 34/2=17
Moving to Node #0,1,1
Current State: 45:[62, 17], Operations: ['97-63=34', '34/2=17']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563
|
hs_3
|
mult_heuristic
|
[
74,
42,
46,
92
] | 78
|
[
"74-42=32",
"92-46=46",
"32+46=78"
] |
Current State: 78:[74, 42, 46, 92], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [46, 92, 32]
Generated Node #2: [46, 92, 32] from Operation: 74-42=32
Current State: 78:[46, 92, 32], Operations: ['74-42=32']
Exploring Operation: 92-46=46, Resulting Numbers: [32, 46]
Generated Node #3: [32, 46] from Operation: 92-46=46
Current State: 78:[32, 46], Operations: ['74-42=32', '92-46=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[74, 42, 46, 92], Operations: []
Exploring Operation: 92-46=46, Resulting Numbers: [74, 42, 46]
Generated Node #0,0: 78:[74, 42, 46] Operation: 92-46=46
Exploring Operation: 92/46=2, Resulting Numbers: [74, 42, 2]
Generated Node #0,1: 78:[74, 42, 2] Operation: 92/46=2
Exploring Operation: 92-74=18, Resulting Numbers: [42, 46, 18]
Generated Node #0,2: 78:[42, 46, 18] Operation: 92-74=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[74, 42, 2], Operations: ['92/46=2']
Exploring Operation: 74/2=37, Resulting Numbers: [42, 37]
Generated Node #0,1,0: 78:[42, 37] Operation: 74/2=37
Exploring Operation: 74+2=76, Resulting Numbers: [42, 76]
Generated Node #0,1,1: 78:[42, 76] Operation: 74+2=76
Exploring Operation: 42-2=40, Resulting Numbers: [74, 40]
Generated Node #0,1,2: 78:[74, 40] Operation: 42-2=40
Moving to Node #0,1,0
Current State: 78:[42, 37], Operations: ['92/46=2', '74/2=37']
Exploring Operation: 42*37=1554, Resulting Numbers: [1554]
1554,78 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[42, 76], Operations: ['92/46=2', '74+2=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,78 unequal: No Solution
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[74, 40], Operations: ['92/46=2', '42-2=40']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,78 unequal: No Solution
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[74, 42, 46], Operations: ['92-46=46']
Exploring Operation: 74-42=32, Resulting Numbers: [46, 32]
Generated Node #0,0,0: 78:[46, 32] Operation: 74-42=32
Exploring Operation: 74-46=28, Resulting Numbers: [42, 28]
Generated Node #0,0,1: 78:[42, 28] Operation: 74-46=28
Exploring Operation: 46-42=4, Resulting Numbers: [74, 4]
Generated Node #0,0,2: 78:[74, 4] Operation: 46-42=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[42, 28], Operations: ['92-46=46', '74-46=28']
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,78 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[74, 4], Operations: ['92-46=46', '46-42=4']
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,78 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[74, 42, 46, 92], Operations: []
Exploring Operation: 92-46=46, Resulting Numbers: [74, 42, 46]
Generated Node #0,0: 78:[74, 42, 46] Operation: 92-46=46
Moving to Node #0,0
Current State: 78:[74, 42, 46], Operations: ['92-46=46']
Exploring Operation: 46-42=4, Resulting Numbers: [74, 4]
Generated Node #0,0,2: 78:[74, 4] Operation: 46-42=4
Moving to Node #0,0,2
Current State: 78:[74, 4], Operations: ['92-46=46', '46-42=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563
|
hs_3
|
mult_heuristic
|
[
12,
10,
17,
39
] | 61
|
[
"12-10=2",
"39*2=78",
"78-17=61"
] |
Current State: 61:[12, 10, 17, 39], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [17, 39, 2]
Generated Node #2: [17, 39, 2] from Operation: 12-10=2
Current State: 61:[17, 39, 2], Operations: ['12-10=2']
Exploring Operation: 39*2=78, Resulting Numbers: [17, 78]
Generated Node #3: [17, 78] from Operation: 39*2=78
Current State: 61:[17, 78], Operations: ['12-10=2', '39*2=78']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4
|
Current State: 61:[12, 10, 17, 39], Operations: []
Exploring Operation: 12+39=51, Resulting Numbers: [10, 17, 51]
Generated Node #0,0: 61:[10, 17, 51] Operation: 12+39=51
Exploring Operation: 12+17=29, Resulting Numbers: [10, 39, 29]
Generated Node #0,1: 61:[10, 39, 29] Operation: 12+17=29
Exploring Operation: 12+10=22, Resulting Numbers: [17, 39, 22]
Generated Node #0,2: 61:[17, 39, 22] Operation: 12+10=22
Exploring Operation: 10+17=27, Resulting Numbers: [12, 39, 27]
Generated Node #0,3: 61:[12, 39, 27] Operation: 10+17=27
Moving to Node #0,0
Current State: 61:[10, 17, 51], Operations: ['12+39=51']
Exploring Operation: 17-10=7, Resulting Numbers: [51, 7]
Generated Node #0,0,0: 61:[51, 7] Operation: 17-10=7
Exploring Operation: 10+17=27, Resulting Numbers: [51, 27]
Generated Node #0,0,1: 61:[51, 27] Operation: 10+17=27
Exploring Operation: 17+51=68, Resulting Numbers: [10, 68]
Generated Node #0,0,2: 61:[10, 68] Operation: 17+51=68
Exploring Operation: 10+51=61, Resulting Numbers: [17, 61]
Generated Node #0,0,3: 61:[17, 61] Operation: 10+51=61
Moving to Node #0,2
Current State: 61:[17, 39, 22], Operations: ['12+10=22']
Exploring Operation: 39+22=61, Resulting Numbers: [17, 61]
Generated Node #0,2,0: 61:[17, 61] Operation: 39+22=61
Exploring Operation: 17+22=39, Resulting Numbers: [39, 39]
Generated Node #0,2,1: 61:[39, 39] Operation: 17+22=39
Exploring Operation: 17+39=56, Resulting Numbers: [22, 56]
Generated Node #0,2,2: 61:[22, 56] Operation: 17+39=56
Exploring Operation: 39-17=22, Resulting Numbers: [22, 22]
Generated Node #0,2,3: 61:[22, 22] Operation: 39-17=22
Moving to Node #0,1
Current State: 61:[10, 39, 29], Operations: ['12+17=29']
Exploring Operation: 39-10=29, Resulting Numbers: [29, 29]
Generated Node #0,1,0: 61:[29, 29] Operation: 39-10=29
Exploring Operation: 10+29=39, Resulting Numbers: [39, 39]
Generated Node #0,1,1: 61:[39, 39] Operation: 10+29=39
Exploring Operation: 10+39=49, Resulting Numbers: [29, 49]
Generated Node #0,1,2: 61:[29, 49] Operation: 10+39=49
Exploring Operation: 39+29=68, Resulting Numbers: [10, 68]
Generated Node #0,1,3: 61:[10, 68] Operation: 39+29=68
Moving to Node #0,3
Current State: 61:[12, 39, 27], Operations: ['10+17=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39, 39]
Generated Node #0,3,0: 61:[39, 39] Operation: 12+27=39
Exploring Operation: 12+39=51, Resulting Numbers: [27, 51]
Generated Node #0,3,1: 61:[27, 51] Operation: 12+39=51
Exploring Operation: 39-12=27, Resulting Numbers: [27, 27]
Generated Node #0,3,2: 61:[27, 27] Operation: 39-12=27
Exploring Operation: 39+27=66, Resulting Numbers: [12, 66]
Generated Node #0,3,3: 61:[12, 66] Operation: 39+27=66
Moving to Node #0,0,1
Current State: 61:[51, 27], Operations: ['12+39=51', '10+17=27']
Exploring Operation: 51+27=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 51*27=1377, Resulting Numbers: [1377]
1377,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[39, 39], Operations: ['12+10=22', '17+22=39']
Exploring Operation: 39*39=1521, Resulting Numbers: [1521]
1521,61 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[22, 56], Operations: ['12+10=22', '17+39=56']
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,61 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[27, 51], Operations: ['10+17=27', '12+39=51']
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,61 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[39, 39], Operations: ['10+17=27', '12+27=39']
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 39*39=1521, Resulting Numbers: [1521]
1521,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[17, 61], Operations: ['12+39=51', '10+51=61']
Exploring Operation: 17*61=1037, Resulting Numbers: [1037]
1037,61 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 17+61=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[17, 61], Operations: ['12+10=22', '39+22=61']
Exploring Operation: 17*61=1037, Resulting Numbers: [1037]
1037,61 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 17+61=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[29, 49], Operations: ['12+17=29', '10+39=49']
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,61 unequal: No Solution
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[39, 39], Operations: ['12+17=29', '10+29=39']
Exploring Operation: 39*39=1521, Resulting Numbers: [1521]
1521,61 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[12, 66], Operations: ['10+17=27', '39+27=66']
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,61 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[10, 68], Operations: ['12+39=51', '17+51=68']
Exploring Operation: 10*68=680, Resulting Numbers: [680]
680,61 unequal: No Solution
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[10, 68], Operations: ['12+17=29', '39+29=68']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 10*68=680, Resulting Numbers: [680]
680,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[29, 29], Operations: ['12+17=29', '39-10=29']
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,61 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[51, 7], Operations: ['12+39=51', '17-10=7']
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,61 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[27, 27], Operations: ['10+17=27', '39-12=27']
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,61 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[22, 22], Operations: ['12+10=22', '39-17=22']
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,61 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,61 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
48,
50,
64,
60
] | 95
|
[
"48*60=2880",
"2880/64=45",
"50+45=95"
] |
Current State: 95:[48, 50, 64, 60], Operations: []
Exploring Operation: 48*60=2880, Resulting Numbers: [50, 64, 2880]
Generated Node #2: [50, 64, 2880] from Operation: 48*60=2880
Current State: 95:[50, 64, 2880], Operations: ['48*60=2880']
Exploring Operation: 2880/64=45, Resulting Numbers: [50, 45]
Generated Node #3: [50, 45] from Operation: 2880/64=45
Current State: 95:[50, 45], Operations: ['48*60=2880', '2880/64=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[48, 50, 64, 60], Operations: []
Exploring Operation: 60-50=10, Resulting Numbers: [48, 64, 10]
Generated Node #0,0: 95:[48, 64, 10] Operation: 60-50=10
Exploring Operation: 64-60=4, Resulting Numbers: [48, 50, 4]
Generated Node #0,1: 95:[48, 50, 4] Operation: 64-60=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[48, 50, 4], Operations: ['64-60=4']
Exploring Operation: 48+50=98, Resulting Numbers: [4, 98]
Generated Node #0,1,0: 95:[4, 98] Operation: 48+50=98
Exploring Operation: 50-48=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 95:[4, 2] Operation: 50-48=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[4, 98], Operations: ['64-60=4', '48+50=98']
Exploring Operation: 4+98=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[4, 2], Operations: ['64-60=4', '50-48=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[48, 64, 10], Operations: ['60-50=10']
Exploring Operation: 48+64=112, Resulting Numbers: [10, 112]
Generated Node #0,0,0: 95:[10, 112] Operation: 48+64=112
Exploring Operation: 64-48=16, Resulting Numbers: [10, 16]
Generated Node #0,0,1: 95:[10, 16] Operation: 64-48=16
Moving to Node #0,0,1
Current State: 95:[10, 16], Operations: ['60-50=10', '64-48=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[10, 112], Operations: ['60-50=10', '48+64=112']
Exploring Operation: 112-10=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 10+112=122, Resulting Numbers: [122]
122,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
23,
70,
50,
1
] | 98
|
[
"70-23=47",
"50+1=51",
"47+51=98"
] |
Current State: 98:[23, 70, 50, 1], Operations: []
Exploring Operation: 70-23=47, Resulting Numbers: [50, 1, 47]
Generated Node #2: [50, 1, 47] from Operation: 70-23=47
Current State: 98:[50, 1, 47], Operations: ['70-23=47']
Exploring Operation: 50+1=51, Resulting Numbers: [47, 51]
Generated Node #3: [47, 51] from Operation: 50+1=51
Current State: 98:[47, 51], Operations: ['70-23=47', '50+1=51']
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[23, 70, 50, 1], Operations: []
Exploring Operation: 70-23=47, Resulting Numbers: [50, 1, 47]
Generated Node #0,0: 98:[50, 1, 47] Operation: 70-23=47
Exploring Operation: 23+70=93, Resulting Numbers: [50, 1, 93]
Generated Node #0,1: 98:[50, 1, 93] Operation: 23+70=93
Moving to Node #0,0
Current State: 98:[50, 1, 47], Operations: ['70-23=47']
Exploring Operation: 50+47=97, Resulting Numbers: [1, 97]
Generated Node #0,0,0: 98:[1, 97] Operation: 50+47=97
Exploring Operation: 50-1=49, Resulting Numbers: [47, 49]
Generated Node #0,0,1: 98:[47, 49] Operation: 50-1=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[1, 97], Operations: ['70-23=47', '50+47=97']
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 1+97=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[23, 70, 50, 1], Operations: []
Exploring Operation: 70-23=47, Resulting Numbers: [50, 1, 47]
Generated Node #0,0: 98:[50, 1, 47] Operation: 70-23=47
Moving to Node #0,0
Current State: 98:[50, 1, 47], Operations: ['70-23=47']
Exploring Operation: 50+47=97, Resulting Numbers: [1, 97]
Generated Node #0,0,0: 98:[1, 97] Operation: 50+47=97
Moving to Node #0,0,0
Current State: 98:[1, 97], Operations: ['70-23=47', '50+47=97']
Exploring Operation: 1+97=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
sum_heuristic
|
[
51,
74,
72,
89
] | 70
|
[
"51+89=140",
"74-72=2",
"140/2=70"
] |
Current State: 70:[51, 74, 72, 89], Operations: []
Exploring Operation: 51+89=140, Resulting Numbers: [74, 72, 140]
Generated Node #2: [74, 72, 140] from Operation: 51+89=140
Current State: 70:[74, 72, 140], Operations: ['51+89=140']
Exploring Operation: 74-72=2, Resulting Numbers: [140, 2]
Generated Node #3: [140, 2] from Operation: 74-72=2
Current State: 70:[140, 2], Operations: ['51+89=140', '74-72=2']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[51, 74, 72, 89], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [74, 72, 38]
Generated Node #0,0: 70:[74, 72, 38] Operation: 89-51=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[74, 72, 38], Operations: ['89-51=38']
Exploring Operation: 74-72=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 70:[38, 2] Operation: 74-72=2
Moving to Node #0,0,0
Current State: 70:[38, 2], Operations: ['89-51=38', '74-72=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,70 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
|
[
5,
14,
2,
36
] | 62
|
[
"5+2=7",
"14*7=98",
"98-36=62"
] |
Current State: 62:[5, 14, 2, 36], Operations: []
Exploring Operation: 5+2=7, Resulting Numbers: [14, 36, 7]
Generated Node #2: [14, 36, 7] from Operation: 5+2=7
Current State: 62:[14, 36, 7], Operations: ['5+2=7']
Exploring Operation: 14*7=98, Resulting Numbers: [36, 98]
Generated Node #3: [36, 98] from Operation: 14*7=98
Current State: 62:[36, 98], Operations: ['5+2=7', '14*7=98']
Exploring Operation: 98-36=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[5, 14, 2, 36], Operations: []
Exploring Operation: 14*2=28, Resulting Numbers: [5, 36, 28]
Generated Node #0,0: 62:[5, 36, 28] Operation: 14*2=28
Exploring Operation: 36-5=31, Resulting Numbers: [14, 2, 31]
Generated Node #0,1: 62:[14, 2, 31] Operation: 36-5=31
Exploring Operation: 14-5=9, Resulting Numbers: [2, 36, 9]
Generated Node #0,2: 62:[2, 36, 9] Operation: 14-5=9
Exploring Operation: 36-14=22, Resulting Numbers: [5, 2, 22]
Generated Node #0,3: 62:[5, 2, 22] Operation: 36-14=22
Moving to Node #0,0
Current State: 62:[5, 36, 28], Operations: ['14*2=28']
Exploring Operation: 36-28=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 62:[5, 8] Operation: 36-28=8
Exploring Operation: 36-5=31, Resulting Numbers: [28, 31]
Generated Node #0,0,1: 62:[28, 31] Operation: 36-5=31
Exploring Operation: 5+28=33, Resulting Numbers: [36, 33]
Generated Node #0,0,2: 62:[36, 33] Operation: 5+28=33
Exploring Operation: 36+28=64, Resulting Numbers: [5, 64]
Generated Node #0,0,3: 62:[5, 64] Operation: 36+28=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[28, 31], Operations: ['14*2=28', '36-5=31']
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[5, 64], Operations: ['14*2=28', '36+28=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,62 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[36, 33], Operations: ['14*2=28', '5+28=33']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[5, 8], Operations: ['14*2=28', '36-28=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,62 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: 62:[2, 36, 9], Operations: ['14-5=9']
Exploring Operation: 9-2=7, Resulting Numbers: [36, 7]
Generated Node #0,2,0: 62:[36, 7] Operation: 9-2=7
Exploring Operation: 36/9=4, Resulting Numbers: [2, 4]
Generated Node #0,2,1: 62:[2, 4] Operation: 36/9=4
Exploring Operation: 36-2=34, Resulting Numbers: [9, 34]
Generated Node #0,2,2: 62:[9, 34] Operation: 36-2=34
Exploring Operation: 36-9=27, Resulting Numbers: [2, 27]
Generated Node #0,2,3: 62:[2, 27] Operation: 36-9=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[2, 4], Operations: ['14-5=9', '36/9=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[2, 27], Operations: ['14-5=9', '36-9=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[36, 7], Operations: ['14-5=9', '9-2=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[9, 34], Operations: ['14-5=9', '36-2=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,62 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: 62:[14, 2, 31], Operations: ['36-5=31']
Exploring Operation: 14-2=12, Resulting Numbers: [31, 12]
Generated Node #0,1,0: 62:[31, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [31, 7]
Generated Node #0,1,1: 62:[31, 7] Operation: 14/2=7
Exploring Operation: 14*2=28, Resulting Numbers: [31, 28]
Generated Node #0,1,2: 62:[31, 28] Operation: 14*2=28
Exploring Operation: 2*31=62, Resulting Numbers: [14, 62]
Generated Node #0,1,3: 62:[14, 62] Operation: 2*31=62
Moving to Node #0,3
Current State: 62:[5, 2, 22], Operations: ['36-14=22']
Exploring Operation: 5+22=27, Resulting Numbers: [2, 27]
Generated Node #0,3,0: 62:[2, 27] Operation: 5+22=27
Exploring Operation: 5-2=3, Resulting Numbers: [22, 3]
Generated Node #0,3,1: 62:[22, 3] Operation: 5-2=3
Exploring Operation: 22/2=11, Resulting Numbers: [5, 11]
Generated Node #0,3,2: 62:[5, 11] Operation: 22/2=11
Exploring Operation: 2+22=24, Resulting Numbers: [5, 24]
Generated Node #0,3,3: 62:[5, 24] Operation: 2+22=24
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[2, 27], Operations: ['36-14=22', '5+22=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,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,3,1
Current State: 62:[22, 3], Operations: ['36-14=22', '5-2=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,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,3,3
Current State: 62:[5, 24], Operations: ['36-14=22', '2+22=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,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,3,2
Current State: 62:[5, 11], Operations: ['36-14=22', '22/2=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 62:[31, 28], Operations: ['36-5=31', '14*2=28']
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,62 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[31, 7], Operations: ['36-5=31', '14/2=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[31, 12], Operations: ['36-5=31', '14-2=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,62 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[14, 62], Operations: ['36-5=31', '2*31=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,62 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,62 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
2,
45,
7,
90
] | 15
|
[
"2+7=9",
"45+90=135",
"135/9=15"
] |
Current State: 15:[2, 45, 7, 90], Operations: []
Exploring Operation: 2+7=9, Resulting Numbers: [45, 90, 9]
Generated Node #2: [45, 90, 9] from Operation: 2+7=9
Current State: 15:[45, 90, 9], Operations: ['2+7=9']
Exploring Operation: 45+90=135, Resulting Numbers: [9, 135]
Generated Node #3: [9, 135] from Operation: 45+90=135
Current State: 15:[9, 135], Operations: ['2+7=9', '45+90=135']
Exploring Operation: 135/9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[2, 45, 7, 90], Operations: []
Exploring Operation: 45-7=38, Resulting Numbers: [2, 90, 38]
Generated Node #0,0: 15:[2, 90, 38] Operation: 45-7=38
Exploring Operation: 90/45=2, Resulting Numbers: [2, 7, 2]
Generated Node #0,1: 15:[2, 7, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [2, 7, 45]
Generated Node #0,2: 15:[2, 7, 45] Operation: 90-45=45
Exploring Operation: 90/2=45, Resulting Numbers: [45, 7, 45]
Generated Node #0,3: 15:[45, 7, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[2, 7, 2], Operations: ['90/45=2']
Exploring Operation: 7-2=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 15:[2, 5] Operation: 7-2=5
Exploring Operation: 7*2=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 15:[2, 14] Operation: 7*2=14
Exploring Operation: 2*7=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 15:[2, 14] Operation: 2*7=14
Exploring Operation: 7-2=5, Resulting Numbers: [2, 5]
Generated Node #0,1,3: 15:[2, 5] Operation: 7-2=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[2, 5], Operations: ['90/45=2', '7-2=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,15 unequal: No Solution
No 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: 15:[2, 5], Operations: ['90/45=2', '7-2=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No 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: 15:[2, 14], Operations: ['90/45=2', '7*2=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,15 unequal: No Solution
No 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: 15:[2, 14], Operations: ['90/45=2', '2*7=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[2, 7, 45], Operations: ['90-45=45']
Exploring Operation: 7-2=5, Resulting Numbers: [45, 5]
Generated Node #0,2,0: 15:[45, 5] Operation: 7-2=5
Exploring Operation: 2*7=14, Resulting Numbers: [45, 14]
Generated Node #0,2,1: 15:[45, 14] Operation: 2*7=14
Exploring Operation: 45-7=38, Resulting Numbers: [2, 38]
Generated Node #0,2,2: 15:[2, 38] Operation: 45-7=38
Exploring Operation: 45-2=43, Resulting Numbers: [7, 43]
Generated Node #0,2,3: 15:[7, 43] Operation: 45-2=43
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[2, 38], Operations: ['90-45=45', '45-7=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No 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: 15:[45, 5], Operations: ['90-45=45', '7-2=5']
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,15 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,15 unequal: No Solution
No 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: 15:[7, 43], Operations: ['90-45=45', '45-2=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,15 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,15 unequal: No Solution
No 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: 15:[45, 14], Operations: ['90-45=45', '2*7=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,15 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[45, 7, 45], Operations: ['90/2=45']
Exploring Operation: 45/45=1, Resulting Numbers: [7, 1]
Generated Node #0,3,0: 15:[7, 1] Operation: 45/45=1
Exploring Operation: 45-7=38, Resulting Numbers: [45, 38]
Generated Node #0,3,1: 15:[45, 38] Operation: 45-7=38
Exploring Operation: 45-7=38, Resulting Numbers: [45, 38]
Generated Node #0,3,2: 15:[45, 38] Operation: 45-7=38
Exploring Operation: 45-45=0, Resulting Numbers: [7, 0]
Generated Node #0,3,3: 15:[7, 0] Operation: 45-45=0
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 15:[7, 1], Operations: ['90/2=45', '45/45=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,15 unequal: No Solution
No 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: 15:[7, 0], Operations: ['90/2=45', '45-45=0']
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,15 unequal: No Solution
No 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: 15:[45, 38], Operations: ['90/2=45', '45-7=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,15 unequal: No Solution
No 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: 15:[45, 38], Operations: ['90/2=45', '45-7=38']
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,15 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[2, 90, 38], Operations: ['45-7=38']
Exploring Operation: 38/2=19, Resulting Numbers: [90, 19]
Generated Node #0,0,0: 15:[90, 19] Operation: 38/2=19
Exploring Operation: 90-2=88, Resulting Numbers: [38, 88]
Generated Node #0,0,1: 15:[38, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [38, 45]
Generated Node #0,0,2: 15:[38, 45] Operation: 90/2=45
Exploring Operation: 90-38=52, Resulting Numbers: [2, 52]
Generated Node #0,0,3: 15:[2, 52] Operation: 90-38=52
Moving to Node #0,0,3
Current State: 15:[2, 52], Operations: ['45-7=38', '90-38=52']
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,15 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[38, 45], Operations: ['45-7=38', '90/2=45']
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,15 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[90, 19], Operations: ['45-7=38', '38/2=19']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,15 unequal: No Solution
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[38, 88], Operations: ['45-7=38', '90-2=88']
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,15 unequal: No Solution
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,15 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
31,
55,
93,
94
] | 25
|
[
"55-31=24",
"94-93=1",
"24+1=25"
] |
Current State: 25:[31, 55, 93, 94], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [93, 94, 24]
Generated Node #2: [93, 94, 24] from Operation: 55-31=24
Current State: 25:[93, 94, 24], Operations: ['55-31=24']
Exploring Operation: 94-93=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 94-93=1
Current State: 25:[24, 1], Operations: ['55-31=24', '94-93=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[31, 55, 93, 94], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [31, 55, 1]
Generated Node #0,0: 25:[31, 55, 1] Operation: 94-93=1
Exploring Operation: 93-55=38, Resulting Numbers: [31, 94, 38]
Generated Node #0,1: 25:[31, 94, 38] Operation: 93-55=38
Moving to Node #0,0
Current State: 25:[31, 55, 1], Operations: ['94-93=1']
Exploring Operation: 55-31=24, Resulting Numbers: [1, 24]
Generated Node #0,0,0: 25:[1, 24] Operation: 55-31=24
Exploring Operation: 31-1=30, Resulting Numbers: [55, 30]
Generated Node #0,0,1: 25:[55, 30] Operation: 31-1=30
Moving to Node #0,1
Current State: 25:[31, 94, 38], Operations: ['93-55=38']
Exploring Operation: 94-31=63, Resulting Numbers: [38, 63]
Generated Node #0,1,0: 25:[38, 63] Operation: 94-31=63
Exploring Operation: 94-38=56, Resulting Numbers: [31, 56]
Generated Node #0,1,1: 25:[31, 56] Operation: 94-38=56
Moving to Node #0,0,0
Current State: 25:[1, 24], Operations: ['94-93=1', '55-31=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[31, 55, 93, 94], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [31, 55, 1]
Generated Node #0,0: 25:[31, 55, 1] Operation: 94-93=1
Moving to Node #0,0
Current State: 25:[31, 55, 1], Operations: ['94-93=1']
Exploring Operation: 55-31=24, Resulting Numbers: [1, 24]
Generated Node #0,0,0: 25:[1, 24] Operation: 55-31=24
Moving to Node #0,0,0
Current State: 25:[1, 24], Operations: ['94-93=1', '55-31=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.990451
|
hs_2
|
mult_heuristic
|
[
5,
86,
53,
91
] | 78
|
[
"91-86=5",
"5*5=25",
"53+25=78"
] |
Current State: 78:[5, 86, 53, 91], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [5, 53, 5]
Generated Node #2: [5, 53, 5] from Operation: 91-86=5
Current State: 78:[5, 53, 5], Operations: ['91-86=5']
Exploring Operation: 5*5=25, Resulting Numbers: [53, 25]
Generated Node #3: [53, 25] from Operation: 5*5=25
Current State: 78:[53, 25], Operations: ['91-86=5', '5*5=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[5, 86, 53, 91], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [5, 86, 38]
Generated Node #0,0: 78:[5, 86, 38] Operation: 91-53=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[5, 86, 38], Operations: ['91-53=38']
Exploring Operation: 86-5=81, Resulting Numbers: [38, 81]
Generated Node #0,0,0: 78:[38, 81] Operation: 86-5=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[38, 81], Operations: ['91-53=38', '86-5=81']
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
24,
22,
98,
66
] | 30
|
[
"24-22=2",
"98-66=32",
"32-2=30"
] |
Current State: 30:[24, 22, 98, 66], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [98, 66, 2]
Generated Node #2: [98, 66, 2] from Operation: 24-22=2
Current State: 30:[98, 66, 2], Operations: ['24-22=2']
Exploring Operation: 98-66=32, Resulting Numbers: [2, 32]
Generated Node #3: [2, 32] from Operation: 98-66=32
Current State: 30:[2, 32], Operations: ['24-22=2', '98-66=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4
|
Current State: 30:[24, 22, 98, 66], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [24, 22, 32]
Generated Node #0,0: 30:[24, 22, 32] Operation: 98-66=32
Moving to Node #0,0
Current State: 30:[24, 22, 32], Operations: ['98-66=32']
Exploring Operation: 24-22=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 30:[32, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 30:[32, 2], Operations: ['98-66=32', '24-22=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[24, 22, 98, 66], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [24, 22, 32]
Generated Node #0,0: 30:[24, 22, 32] Operation: 98-66=32
Moving to Node #0,0
Current State: 30:[24, 22, 32], Operations: ['98-66=32']
Exploring Operation: 24-22=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 30:[32, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 30:[32, 2], Operations: ['98-66=32', '24-22=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924
|
hs_1
|
mult_heuristic
|
[
22,
47,
88,
41
] | 11
|
[
"88-22=66",
"47-41=6",
"66/6=11"
] |
Current State: 11:[22, 47, 88, 41], Operations: []
Exploring Operation: 88-22=66, Resulting Numbers: [47, 41, 66]
Generated Node #2: [47, 41, 66] from Operation: 88-22=66
Current State: 11:[47, 41, 66], Operations: ['88-22=66']
Exploring Operation: 47-41=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 47-41=6
Current State: 11:[66, 6], Operations: ['88-22=66', '47-41=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[22, 47, 88, 41], Operations: []
Exploring Operation: 88-47=41, Resulting Numbers: [22, 41, 41]
Generated Node #0,0: 11:[22, 41, 41] Operation: 88-47=41
Exploring Operation: 88/22=4, Resulting Numbers: [47, 41, 4]
Generated Node #0,1: 11:[47, 41, 4] Operation: 88/22=4
Moving to Node #0,0
Current State: 11:[22, 41, 41], Operations: ['88-47=41']
Exploring Operation: 41/41=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 11:[22, 1] Operation: 41/41=1
Exploring Operation: 41-41=0, Resulting Numbers: [22, 0]
Generated Node #0,0,1: 11:[22, 0] Operation: 41-41=0
Moving to Node #0,1
Current State: 11:[47, 41, 4], Operations: ['88/22=4']
Exploring Operation: 47-4=43, Resulting Numbers: [41, 43]
Generated Node #0,1,0: 11:[41, 43] Operation: 47-4=43
Exploring Operation: 47-41=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 11:[4, 6] Operation: 47-41=6
Moving to Node #0,1,1
Current State: 11:[4, 6], Operations: ['88/22=4', '47-41=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[22, 1], Operations: ['88-47=41', '41/41=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[22, 0], Operations: ['88-47=41', '41-41=0']
Exploring Operation: 22*0=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 22+0=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[41, 43], Operations: ['88/22=4', '47-4=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
61,
51,
26,
5
] | 13
|
[
"61-51=10",
"26*5=130",
"130/10=13"
] |
Current State: 13:[61, 51, 26, 5], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [26, 5, 10]
Generated Node #2: [26, 5, 10] from Operation: 61-51=10
Current State: 13:[26, 5, 10], Operations: ['61-51=10']
Exploring Operation: 26*5=130, Resulting Numbers: [10, 130]
Generated Node #3: [10, 130] from Operation: 26*5=130
Current State: 13:[10, 130], Operations: ['61-51=10', '26*5=130']
Exploring Operation: 130/10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[61, 51, 26, 5], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [61, 5, 25]
Generated Node #0,0: 13:[61, 5, 25] Operation: 51-26=25
Exploring Operation: 61-26=35, Resulting Numbers: [51, 5, 35]
Generated Node #0,1: 13:[51, 5, 35] Operation: 61-26=35
Exploring Operation: 61-51=10, Resulting Numbers: [26, 5, 10]
Generated Node #0,2: 13:[26, 5, 10] Operation: 61-51=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[26, 5, 10], Operations: ['61-51=10']
Exploring Operation: 26-5=21, Resulting Numbers: [10, 21]
Generated Node #0,2,0: 13:[10, 21] Operation: 26-5=21
Exploring Operation: 5+10=15, Resulting Numbers: [26, 15]
Generated Node #0,2,1: 13:[26, 15] Operation: 5+10=15
Exploring Operation: 26-10=16, Resulting Numbers: [5, 16]
Generated Node #0,2,2: 13:[5, 16] Operation: 26-10=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[10, 21], Operations: ['61-51=10', '26-5=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,13 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,13 unequal: No Solution
No 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: 13:[5, 16], Operations: ['61-51=10', '26-10=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,13 unequal: No Solution
No 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: 13:[26, 15], Operations: ['61-51=10', '5+10=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,13 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,13 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: 13:[61, 5, 25], Operations: ['51-26=25']
Exploring Operation: 25-5=20, Resulting Numbers: [61, 20]
Generated Node #0,0,0: 13:[61, 20] Operation: 25-5=20
Exploring Operation: 61-25=36, Resulting Numbers: [5, 36]
Generated Node #0,0,1: 13:[5, 36] Operation: 61-25=36
Exploring Operation: 61-5=56, Resulting Numbers: [25, 56]
Generated Node #0,0,2: 13:[25, 56] Operation: 61-5=56
Moving to Node #0,0,1
Current State: 13:[5, 36], Operations: ['51-26=25', '61-25=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,13 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[61, 20], Operations: ['51-26=25', '25-5=20']
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,13 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[25, 56], Operations: ['51-26=25', '61-5=56']
Exploring Operation: 25+56=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 25*56=1400, Resulting Numbers: [1400]
1400,13 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[51, 5, 35], Operations: ['61-26=35']
Exploring Operation: 35/5=7, Resulting Numbers: [51, 7]
Generated Node #0,1,0: 13:[51, 7] Operation: 35/5=7
Exploring Operation: 51-35=16, Resulting Numbers: [5, 16]
Generated Node #0,1,1: 13:[5, 16] Operation: 51-35=16
Exploring Operation: 51-5=46, Resulting Numbers: [35, 46]
Generated Node #0,1,2: 13:[35, 46] Operation: 51-5=46
Moving to Node #0,1,1
Current State: 13:[5, 16], Operations: ['61-26=35', '51-35=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[51, 7], Operations: ['61-26=35', '35/5=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,13 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[35, 46], Operations: ['61-26=35', '51-5=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
84,
28,
38,
37
] | 56
|
[
"84-28=56",
"38-37=1",
"56*1=56"
] |
Current State: 56:[84, 28, 38, 37], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [38, 37, 56]
Generated Node #2: [38, 37, 56] from Operation: 84-28=56
Current State: 56:[38, 37, 56], Operations: ['84-28=56']
Exploring Operation: 38-37=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 38-37=1
Current State: 56:[56, 1], Operations: ['84-28=56', '38-37=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[84, 28, 38, 37], Operations: []
Exploring Operation: 84-37=47, Resulting Numbers: [28, 38, 47]
Generated Node #0,0: 56:[28, 38, 47] Operation: 84-37=47
Exploring Operation: 84-38=46, Resulting Numbers: [28, 37, 46]
Generated Node #0,1: 56:[28, 37, 46] Operation: 84-38=46
Exploring Operation: 84/28=3, Resulting Numbers: [38, 37, 3]
Generated Node #0,2: 56:[38, 37, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [38, 37, 56]
Generated Node #0,3: 56:[38, 37, 56] Operation: 84-28=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[28, 38, 47], Operations: ['84-37=47']
Exploring Operation: 38-28=10, Resulting Numbers: [47, 10]
Generated Node #0,0,0: 56:[47, 10] Operation: 38-28=10
Exploring Operation: 47-28=19, Resulting Numbers: [38, 19]
Generated Node #0,0,1: 56:[38, 19] Operation: 47-28=19
Exploring Operation: 47-38=9, Resulting Numbers: [28, 9]
Generated Node #0,0,2: 56:[28, 9] Operation: 47-38=9
Exploring Operation: 28+38=66, Resulting Numbers: [47, 66]
Generated Node #0,0,3: 56:[47, 66] Operation: 28+38=66
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[28, 9], Operations: ['84-37=47', '47-38=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,56 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,56 unequal: No Solution
No 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: 56:[47, 10], Operations: ['84-37=47', '38-28=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,56 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,56 unequal: No Solution
No 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: 56:[38, 19], Operations: ['84-37=47', '47-28=19']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,56 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,56 unequal: No Solution
No 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: 56:[47, 66], Operations: ['84-37=47', '28+38=66']
Exploring Operation: 47*66=3102, Resulting Numbers: [3102]
3102,56 unequal: No Solution
Exploring Operation: 47+66=113, Resulting Numbers: [113]
113,56 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,56 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: 56:[28, 37, 46], Operations: ['84-38=46']
Exploring Operation: 37-28=9, Resulting Numbers: [46, 9]
Generated Node #0,1,0: 56:[46, 9] Operation: 37-28=9
Exploring Operation: 28+37=65, Resulting Numbers: [46, 65]
Generated Node #0,1,1: 56:[46, 65] Operation: 28+37=65
Exploring Operation: 46-28=18, Resulting Numbers: [37, 18]
Generated Node #0,1,2: 56:[37, 18] Operation: 46-28=18
Exploring Operation: 46-37=9, Resulting Numbers: [28, 9]
Generated Node #0,1,3: 56:[28, 9] Operation: 46-37=9
Moving to Node #0,1,3
Current State: 56:[28, 9], Operations: ['84-38=46', '46-37=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[46, 9], Operations: ['84-38=46', '37-28=9']
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,56 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[37, 18], Operations: ['84-38=46', '46-28=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[46, 65], Operations: ['84-38=46', '28+37=65']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 46+65=111, Resulting Numbers: [111]
111,56 unequal: No Solution
Exploring Operation: 46*65=2990, Resulting Numbers: [2990]
2990,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[38, 37, 56], Operations: ['84-28=56']
Exploring Operation: 56-38=18, Resulting Numbers: [37, 18]
Generated Node #0,3,0: 56:[37, 18] Operation: 56-38=18
Exploring Operation: 38+37=75, Resulting Numbers: [56, 75]
Generated Node #0,3,1: 56:[56, 75] Operation: 38+37=75
Exploring Operation: 56-37=19, Resulting Numbers: [38, 19]
Generated Node #0,3,2: 56:[38, 19] Operation: 56-37=19
Exploring Operation: 38-37=1, Resulting Numbers: [56, 1]
Generated Node #0,3,3: 56:[56, 1] Operation: 38-37=1
Moving to Node #0,3,3
Current State: 56:[56, 1], Operations: ['84-28=56', '38-37=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[84, 28, 38, 37], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [38, 37, 56]
Generated Node #0,3: 56:[38, 37, 56] Operation: 84-28=56
Moving to Node #0,3
Current State: 56:[38, 37, 56], Operations: ['84-28=56']
Exploring Operation: 38-37=1, Resulting Numbers: [56, 1]
Generated Node #0,3,3: 56:[56, 1] Operation: 38-37=1
Moving to Node #0,3,3
Current State: 56:[56, 1], Operations: ['84-28=56', '38-37=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069
|
hs_4
|
sum_heuristic
|
[
32,
18,
58,
82
] | 77
|
[
"32+58=90",
"90/18=5",
"82-5=77"
] |
Current State: 77:[32, 18, 58, 82], Operations: []
Exploring Operation: 32+58=90, Resulting Numbers: [18, 82, 90]
Generated Node #2: [18, 82, 90] from Operation: 32+58=90
Current State: 77:[18, 82, 90], Operations: ['32+58=90']
Exploring Operation: 90/18=5, Resulting Numbers: [82, 5]
Generated Node #3: [82, 5] from Operation: 90/18=5
Current State: 77:[82, 5], Operations: ['32+58=90', '90/18=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[32, 18, 58, 82], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [18, 82, 26]
Generated Node #0,0: 77:[18, 82, 26] Operation: 58-32=26
Exploring Operation: 32-18=14, Resulting Numbers: [58, 82, 14]
Generated Node #0,1: 77:[58, 82, 14] Operation: 32-18=14
Exploring Operation: 32+58=90, Resulting Numbers: [18, 82, 90]
Generated Node #0,2: 77:[18, 82, 90] Operation: 32+58=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[18, 82, 90], Operations: ['32+58=90']
Exploring Operation: 90/18=5, Resulting Numbers: [82, 5]
Generated Node #0,2,0: 77:[82, 5] Operation: 90/18=5
Exploring Operation: 90-18=72, Resulting Numbers: [82, 72]
Generated Node #0,2,1: 77:[82, 72] Operation: 90-18=72
Exploring Operation: 90-82=8, Resulting Numbers: [18, 8]
Generated Node #0,2,2: 77:[18, 8] Operation: 90-82=8
Moving to Node #0,2,0
Current State: 77:[82, 5], Operations: ['32+58=90', '90/18=5']
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,77 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[32, 18, 58, 82], Operations: []
Exploring Operation: 32+58=90, Resulting Numbers: [18, 82, 90]
Generated Node #0,2: 77:[18, 82, 90] Operation: 32+58=90
Moving to Node #0,2
Current State: 77:[18, 82, 90], Operations: ['32+58=90']
Exploring Operation: 90/18=5, Resulting Numbers: [82, 5]
Generated Node #0,2,0: 77:[82, 5] Operation: 90/18=5
Moving to Node #0,2,0
Current State: 77:[82, 5], Operations: ['32+58=90', '90/18=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
69,
3,
91,
35
] | 27
|
[
"91+35=126",
"126/3=42",
"69-42=27"
] |
Current State: 27:[69, 3, 91, 35], Operations: []
Exploring Operation: 91+35=126, Resulting Numbers: [69, 3, 126]
Generated Node #2: [69, 3, 126] from Operation: 91+35=126
Current State: 27:[69, 3, 126], Operations: ['91+35=126']
Exploring Operation: 126/3=42, Resulting Numbers: [69, 42]
Generated Node #3: [69, 42] from Operation: 126/3=42
Current State: 27:[69, 42], Operations: ['91+35=126', '126/3=42']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[69, 3, 91, 35], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [3, 35, 22]
Generated Node #0,0: 27:[3, 35, 22] Operation: 91-69=22
Exploring Operation: 69-3=66, Resulting Numbers: [91, 35, 66]
Generated Node #0,1: 27:[91, 35, 66] Operation: 69-3=66
Exploring Operation: 69-35=34, Resulting Numbers: [3, 91, 34]
Generated Node #0,2: 27:[3, 91, 34] Operation: 69-35=34
Exploring Operation: 69/3=23, Resulting Numbers: [91, 35, 23]
Generated Node #0,3: 27:[91, 35, 23] Operation: 69/3=23
Exploring Operation: 91-35=56, Resulting Numbers: [69, 3, 56]
Generated Node #0,4: 27:[69, 3, 56] Operation: 91-35=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[3, 35, 22], Operations: ['91-69=22']
Exploring Operation: 22-3=19, Resulting Numbers: [35, 19]
Generated Node #0,0,0: 27:[35, 19] Operation: 22-3=19
Exploring Operation: 35-3=32, Resulting Numbers: [22, 32]
Generated Node #0,0,1: 27:[22, 32] Operation: 35-3=32
Exploring Operation: 35-22=13, Resulting Numbers: [3, 13]
Generated Node #0,0,2: 27:[3, 13] Operation: 35-22=13
Exploring Operation: 3+35=38, Resulting Numbers: [22, 38]
Generated Node #0,0,3: 27:[22, 38] Operation: 3+35=38
Exploring Operation: 3+22=25, Resulting Numbers: [35, 25]
Generated Node #0,0,4: 27:[35, 25] Operation: 3+22=25
Moving to Node #0,0,2
Current State: 27:[3, 13], Operations: ['91-69=22', '35-22=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,0,4
Current State: 27:[35, 25], Operations: ['91-69=22', '3+22=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,27 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[22, 32], Operations: ['91-69=22', '35-3=32']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,27 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[35, 19], Operations: ['91-69=22', '22-3=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,27 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[22, 38], Operations: ['91-69=22', '3+35=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,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,2
Current State: 27:[3, 91, 34], Operations: ['69-35=34']
Exploring Operation: 91-3=88, Resulting Numbers: [34, 88]
Generated Node #0,2,0: 27:[34, 88] Operation: 91-3=88
Exploring Operation: 34-3=31, Resulting Numbers: [91, 31]
Generated Node #0,2,1: 27:[91, 31] Operation: 34-3=31
Exploring Operation: 3+91=94, Resulting Numbers: [34, 94]
Generated Node #0,2,2: 27:[34, 94] Operation: 3+91=94
Exploring Operation: 91-34=57, Resulting Numbers: [3, 57]
Generated Node #0,2,3: 27:[3, 57] Operation: 91-34=57
Exploring Operation: 3+34=37, Resulting Numbers: [91, 37]
Generated Node #0,2,4: 27:[91, 37] Operation: 3+34=37
Moving to Node #0,2,3
Current State: 27:[3, 57], Operations: ['69-35=34', '91-34=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,27 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[91, 31], Operations: ['69-35=34', '34-3=31']
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,27 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[34, 88], Operations: ['69-35=34', '91-3=88']
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,27 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[34, 94], Operations: ['69-35=34', '3+91=94']
Exploring Operation: 34*94=3196, Resulting Numbers: [3196]
3196,27 unequal: No Solution
Exploring Operation: 34+94=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[91, 37], Operations: ['69-35=34', '3+34=37']
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,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,4
Current State: 27:[69, 3, 56], Operations: ['91-35=56']
Exploring Operation: 56-3=53, Resulting Numbers: [69, 53]
Generated Node #0,4,0: 27:[69, 53] Operation: 56-3=53
Exploring Operation: 69-3=66, Resulting Numbers: [56, 66]
Generated Node #0,4,1: 27:[56, 66] Operation: 69-3=66
Exploring Operation: 69/3=23, Resulting Numbers: [56, 23]
Generated Node #0,4,2: 27:[56, 23] Operation: 69/3=23
Exploring Operation: 69-56=13, Resulting Numbers: [3, 13]
Generated Node #0,4,3: 27:[3, 13] Operation: 69-56=13
Exploring Operation: 69+3=72, Resulting Numbers: [56, 72]
Generated Node #0,4,4: 27:[56, 72] Operation: 69+3=72
Moving to Node #0,4,3
Current State: 27:[3, 13], Operations: ['91-35=56', '69-56=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[56, 23], Operations: ['91-35=56', '69/3=23']
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,27 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Moving to Node #0,4,0
Current State: 27:[69, 53], Operations: ['91-35=56', '56-3=53']
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,27 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,4,1
Current State: 27:[56, 66], Operations: ['91-35=56', '69-3=66']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
Moving to Node #0,4,4
Current State: 27:[56, 72], Operations: ['91-35=56', '69+3=72']
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,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,3
Current State: 27:[91, 35, 23], Operations: ['69/3=23']
Exploring Operation: 35+23=58, Resulting Numbers: [91, 58]
Generated Node #0,3,0: 27:[91, 58] Operation: 35+23=58
Exploring Operation: 91-23=68, Resulting Numbers: [35, 68]
Generated Node #0,3,1: 27:[35, 68] Operation: 91-23=68
Exploring Operation: 91+23=114, Resulting Numbers: [35, 114]
Generated Node #0,3,2: 27:[35, 114] Operation: 91+23=114
Exploring Operation: 35-23=12, Resulting Numbers: [91, 12]
Generated Node #0,3,3: 27:[91, 12] Operation: 35-23=12
Exploring Operation: 91-35=56, Resulting Numbers: [23, 56]
Generated Node #0,3,4: 27:[23, 56] Operation: 91-35=56
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 27:[23, 56], Operations: ['69/3=23', '91-35=56']
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 27:[35, 68], Operations: ['69/3=23', '91-23=68']
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,27 unequal: No Solution
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,27 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 27:[91, 12], Operations: ['69/3=23', '35-23=12']
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,27 unequal: No Solution
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,27 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[91, 58], Operations: ['69/3=23', '35+23=58']
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,27 unequal: No Solution
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,27 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[35, 114], Operations: ['69/3=23', '91+23=114']
Exploring Operation: 35*114=3990, Resulting Numbers: [3990]
3990,27 unequal: No Solution
Exploring Operation: 35+114=149, Resulting Numbers: [149]
149,27 unequal: No Solution
Exploring Operation: 114-35=79, Resulting Numbers: [79]
79,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[91, 35, 66], Operations: ['69-3=66']
Exploring Operation: 91-35=56, Resulting Numbers: [66, 56]
Generated Node #0,1,0: 27:[66, 56] Operation: 91-35=56
Exploring Operation: 91+66=157, Resulting Numbers: [35, 157]
Generated Node #0,1,1: 27:[35, 157] Operation: 91+66=157
Exploring Operation: 91-66=25, Resulting Numbers: [35, 25]
Generated Node #0,1,2: 27:[35, 25] Operation: 91-66=25
Exploring Operation: 66-35=31, Resulting Numbers: [91, 31]
Generated Node #0,1,3: 27:[91, 31] Operation: 66-35=31
Exploring Operation: 91+35=126, Resulting Numbers: [66, 126]
Generated Node #0,1,4: 27:[66, 126] Operation: 91+35=126
Moving to Node #0,1,2
Current State: 27:[35, 25], Operations: ['69-3=66', '91-66=25']
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[91, 31], Operations: ['69-3=66', '66-35=31']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,27 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[66, 56], Operations: ['69-3=66', '91-35=56']
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[35, 157], Operations: ['69-3=66', '91+66=157']
Exploring Operation: 157-35=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 35*157=5495, Resulting Numbers: [5495]
5495,27 unequal: No Solution
Exploring Operation: 35+157=192, Resulting Numbers: [192]
192,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[66, 126], Operations: ['69-3=66', '91+35=126']
Exploring Operation: 66*126=8316, Resulting Numbers: [8316]
8316,27 unequal: No Solution
Exploring Operation: 126-66=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 66+126=192, Resulting Numbers: [192]
192,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
43,
25,
15,
35
] | 68
|
[
"43-25=18",
"15+35=50",
"18+50=68"
] |
Current State: 68:[43, 25, 15, 35], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [15, 35, 18]
Generated Node #2: [15, 35, 18] from Operation: 43-25=18
Current State: 68:[15, 35, 18], Operations: ['43-25=18']
Exploring Operation: 15+35=50, Resulting Numbers: [18, 50]
Generated Node #3: [18, 50] from Operation: 15+35=50
Current State: 68:[18, 50], Operations: ['43-25=18', '15+35=50']
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[43, 25, 15, 35], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [15, 35, 18]
Generated Node #0,0: 68:[15, 35, 18] Operation: 43-25=18
Exploring Operation: 43+25=68, Resulting Numbers: [15, 35, 68]
Generated Node #0,1: 68:[15, 35, 68] Operation: 43+25=68
Exploring Operation: 43-35=8, Resulting Numbers: [25, 15, 8]
Generated Node #0,2: 68:[25, 15, 8] Operation: 43-35=8
Exploring Operation: 43-15=28, Resulting Numbers: [25, 35, 28]
Generated Node #0,3: 68:[25, 35, 28] Operation: 43-15=28
Moving to Node #0,1
Current State: 68:[15, 35, 68], Operations: ['43+25=68']
Exploring Operation: 15+35=50, Resulting Numbers: [68, 50]
Generated Node #0,1,0: 68:[68, 50] Operation: 15+35=50
Exploring Operation: 15+68=83, Resulting Numbers: [35, 83]
Generated Node #0,1,1: 68:[35, 83] Operation: 15+68=83
Exploring Operation: 35-15=20, Resulting Numbers: [68, 20]
Generated Node #0,1,2: 68:[68, 20] Operation: 35-15=20
Exploring Operation: 68-35=33, Resulting Numbers: [15, 33]
Generated Node #0,1,3: 68:[15, 33] Operation: 68-35=33
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[68, 20], Operations: ['43+25=68', '35-15=20']
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,68 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,68 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[15, 33], Operations: ['43+25=68', '68-35=33']
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,68 unequal: No Solution
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[68, 50], Operations: ['43+25=68', '15+35=50']
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,68 unequal: No Solution
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[35, 83], Operations: ['43+25=68', '15+68=83']
Exploring Operation: 35*83=2905, Resulting Numbers: [2905]
2905,68 unequal: No Solution
Exploring Operation: 35+83=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,68 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: 68:[15, 35, 18], Operations: ['43-25=18']
Exploring Operation: 35-18=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 68:[15, 17] Operation: 35-18=17
Exploring Operation: 18-15=3, Resulting Numbers: [35, 3]
Generated Node #0,0,1: 68:[35, 3] Operation: 18-15=3
Exploring Operation: 15+18=33, Resulting Numbers: [35, 33]
Generated Node #0,0,2: 68:[35, 33] Operation: 15+18=33
Exploring Operation: 35-15=20, Resulting Numbers: [18, 20]
Generated Node #0,0,3: 68:[18, 20] Operation: 35-15=20
Moving to Node #0,2
Current State: 68:[25, 15, 8], Operations: ['43-35=8']
Exploring Operation: 25+8=33, Resulting Numbers: [15, 33]
Generated Node #0,2,0: 68:[15, 33] Operation: 25+8=33
Exploring Operation: 25-8=17, Resulting Numbers: [15, 17]
Generated Node #0,2,1: 68:[15, 17] Operation: 25-8=17
Exploring Operation: 25-15=10, Resulting Numbers: [8, 10]
Generated Node #0,2,2: 68:[8, 10] Operation: 25-15=10
Exploring Operation: 25+15=40, Resulting Numbers: [8, 40]
Generated Node #0,2,3: 68:[8, 40] Operation: 25+15=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[15, 17], Operations: ['43-35=8', '25-8=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[15, 33], Operations: ['43-35=8', '25+8=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[8, 10], Operations: ['43-35=8', '25-15=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[8, 40], Operations: ['43-35=8', '25+15=40']
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,68 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,68 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: 68:[25, 35, 28], Operations: ['43-15=28']
Exploring Operation: 35-28=7, Resulting Numbers: [25, 7]
Generated Node #0,3,0: 68:[25, 7] Operation: 35-28=7
Exploring Operation: 35-25=10, Resulting Numbers: [28, 10]
Generated Node #0,3,1: 68:[28, 10] Operation: 35-25=10
Exploring Operation: 35+28=63, Resulting Numbers: [25, 63]
Generated Node #0,3,2: 68:[25, 63] Operation: 35+28=63
Exploring Operation: 28-25=3, Resulting Numbers: [35, 3]
Generated Node #0,3,3: 68:[35, 3] Operation: 28-25=3
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[35, 3], Operations: ['43-15=28', '28-25=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,68 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[25, 7], Operations: ['43-15=28', '35-28=7']
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,68 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[28, 10], Operations: ['43-15=28', '35-25=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,68 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[25, 63], Operations: ['43-15=28', '35+28=63']
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,68 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,68 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: 68:[15, 17], Operations: ['43-25=18', '35-18=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[35, 33], Operations: ['43-25=18', '15+18=33']
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,68 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[43, 25, 15, 35], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [15, 35, 18]
Generated Node #0,0: 68:[15, 35, 18] Operation: 43-25=18
Moving to Node #0,0
Current State: 68:[15, 35, 18], Operations: ['43-25=18']
Exploring Operation: 15+18=33, Resulting Numbers: [35, 33]
Generated Node #0,0,2: 68:[35, 33] Operation: 15+18=33
Moving to Node #0,0,2
Current State: 68:[35, 33], Operations: ['43-25=18', '15+18=33']
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.94184
|
hs_4
|
mult_heuristic
|
[
61,
4,
92,
8
] | 82
|
[
"92-8=84",
"84/4=21",
"61+21=82"
] |
Current State: 82:[61, 4, 92, 8], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [61, 4, 84]
Generated Node #2: [61, 4, 84] from Operation: 92-8=84
Current State: 82:[61, 4, 84], Operations: ['92-8=84']
Exploring Operation: 84/4=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 84/4=21
Current State: 82:[61, 21], Operations: ['92-8=84', '84/4=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[61, 4, 92, 8], Operations: []
Exploring Operation: 61-8=53, Resulting Numbers: [4, 92, 53]
Generated Node #0,0: 82:[4, 92, 53] Operation: 61-8=53
Exploring Operation: 61+8=69, Resulting Numbers: [4, 92, 69]
Generated Node #0,1: 82:[4, 92, 69] Operation: 61+8=69
Exploring Operation: 92-8=84, Resulting Numbers: [61, 4, 84]
Generated Node #0,2: 82:[61, 4, 84] Operation: 92-8=84
Exploring Operation: 92-61=31, Resulting Numbers: [4, 8, 31]
Generated Node #0,3: 82:[4, 8, 31] Operation: 92-61=31
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[4, 8, 31], Operations: ['92-61=31']
Exploring Operation: 8/4=2, Resulting Numbers: [31, 2]
Generated Node #0,3,0: 82:[31, 2] Operation: 8/4=2
Exploring Operation: 8+31=39, Resulting Numbers: [4, 39]
Generated Node #0,3,1: 82:[4, 39] Operation: 8+31=39
Exploring Operation: 4+31=35, Resulting Numbers: [8, 35]
Generated Node #0,3,2: 82:[8, 35] Operation: 4+31=35
Exploring Operation: 8-4=4, Resulting Numbers: [31, 4]
Generated Node #0,3,3: 82:[31, 4] Operation: 8-4=4
Moving to Node #0,3,1
Current State: 82:[4, 39], Operations: ['92-61=31', '8+31=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[31, 2], Operations: ['92-61=31', '8/4=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,82 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[31, 4], Operations: ['92-61=31', '8-4=4']
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[8, 35], Operations: ['92-61=31', '4+31=35']
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,82 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[4, 92, 53], Operations: ['61-8=53']
Exploring Operation: 53-4=49, Resulting Numbers: [92, 49]
Generated Node #0,0,0: 82:[92, 49] Operation: 53-4=49
Exploring Operation: 92-53=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 82:[4, 39] Operation: 92-53=39
Exploring Operation: 92-4=88, Resulting Numbers: [53, 88]
Generated Node #0,0,2: 82:[53, 88] Operation: 92-4=88
Exploring Operation: 4+92=96, Resulting Numbers: [53, 96]
Generated Node #0,0,3: 82:[53, 96] Operation: 4+92=96
Moving to Node #0,0,1
Current State: 82:[4, 39], Operations: ['61-8=53', '92-53=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,82 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[53, 88], Operations: ['61-8=53', '92-4=88']
Exploring Operation: 53+88=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 53*88=4664, Resulting Numbers: [4664]
4664,82 unequal: No Solution
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[92, 49], Operations: ['61-8=53', '53-4=49']
Exploring Operation: 92+49=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 92*49=4508, Resulting Numbers: [4508]
4508,82 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[53, 96], Operations: ['61-8=53', '4+92=96']
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 53*96=5088, Resulting Numbers: [5088]
5088,82 unequal: No Solution
Exploring Operation: 53+96=149, Resulting Numbers: [149]
149,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[61, 4, 84], Operations: ['92-8=84']
Exploring Operation: 61+4=65, Resulting Numbers: [84, 65]
Generated Node #0,2,0: 82:[84, 65] Operation: 61+4=65
Exploring Operation: 84-61=23, Resulting Numbers: [4, 23]
Generated Node #0,2,1: 82:[4, 23] Operation: 84-61=23
Exploring Operation: 84-4=80, Resulting Numbers: [61, 80]
Generated Node #0,2,2: 82:[61, 80] Operation: 84-4=80
Exploring Operation: 61-4=57, Resulting Numbers: [84, 57]
Generated Node #0,2,3: 82:[84, 57] Operation: 61-4=57
Moving to Node #0,2,3
Current State: 82:[84, 57], Operations: ['92-8=84', '61-4=57']
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 84*57=4788, Resulting Numbers: [4788]
4788,82 unequal: No Solution
Exploring Operation: 84+57=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[84, 65], Operations: ['92-8=84', '61+4=65']
Exploring Operation: 84+65=149, Resulting Numbers: [149]
149,82 unequal: No Solution
Exploring Operation: 84-65=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 84*65=5460, Resulting Numbers: [5460]
5460,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[4, 23], Operations: ['92-8=84', '84-61=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[61, 80], Operations: ['92-8=84', '84-4=80']
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,82 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[4, 92, 69], Operations: ['61+8=69']
Exploring Operation: 4+69=73, Resulting Numbers: [92, 73]
Generated Node #0,1,0: 82:[92, 73] Operation: 4+69=73
Exploring Operation: 92-69=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 82:[4, 23] Operation: 92-69=23
Exploring Operation: 4+92=96, Resulting Numbers: [69, 96]
Generated Node #0,1,2: 82:[69, 96] Operation: 4+92=96
Exploring Operation: 92-4=88, Resulting Numbers: [69, 88]
Generated Node #0,1,3: 82:[69, 88] Operation: 92-4=88
Moving to Node #0,1,0
Current State: 82:[92, 73], Operations: ['61+8=69', '4+69=73']
Exploring Operation: 92+73=165, Resulting Numbers: [165]
165,82 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 92*73=6716, Resulting Numbers: [6716]
6716,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[69, 88], Operations: ['61+8=69', '92-4=88']
Exploring Operation: 69*88=6072, Resulting Numbers: [6072]
6072,82 unequal: No Solution
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[4, 23], Operations: ['61+8=69', '92-69=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[69, 96], Operations: ['61+8=69', '4+92=96']
Exploring Operation: 69+96=165, Resulting Numbers: [165]
165,82 unequal: No Solution
Exploring Operation: 69*96=6624, Resulting Numbers: [6624]
6624,82 unequal: No Solution
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
5,
64,
98,
64
] | 94
|
[
"98-5=93",
"64/64=1",
"93+1=94"
] |
Current State: 94:[5, 64, 98, 64], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [64, 64, 93]
Generated Node #2: [64, 64, 93] from Operation: 98-5=93
Current State: 94:[64, 64, 93], Operations: ['98-5=93']
Exploring Operation: 64/64=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 64/64=1
Current State: 94:[93, 1], Operations: ['98-5=93', '64/64=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4
|
Current State: 94:[5, 64, 98, 64], Operations: []
Exploring Operation: 64-64=0, Resulting Numbers: [5, 98, 0]
Generated Node #0,0: 94:[5, 98, 0] Operation: 64-64=0
Exploring Operation: 64/64=1, Resulting Numbers: [5, 98, 1]
Generated Node #0,1: 94:[5, 98, 1] Operation: 64/64=1
Exploring Operation: 64-5=59, Resulting Numbers: [98, 64, 59]
Generated Node #0,2: 94:[98, 64, 59] Operation: 64-5=59
Moving to Node #0,1
Current State: 94:[5, 98, 1], Operations: ['64/64=1']
Exploring Operation: 98-1=97, Resulting Numbers: [5, 97]
Generated Node #0,1,0: 94:[5, 97] Operation: 98-1=97
Exploring Operation: 5-1=4, Resulting Numbers: [98, 4]
Generated Node #0,1,1: 94:[98, 4] Operation: 5-1=4
Exploring Operation: 98-5=93, Resulting Numbers: [1, 93]
Generated Node #0,1,2: 94:[1, 93] Operation: 98-5=93
Moving to Node #0,0
Current State: 94:[5, 98, 0], Operations: ['64-64=0']
Exploring Operation: 98*0=0, Resulting Numbers: [5, 0]
Generated Node #0,0,0: 94:[5, 0] Operation: 98*0=0
Exploring Operation: 5*0=0, Resulting Numbers: [98, 0]
Generated Node #0,0,1: 94:[98, 0] Operation: 5*0=0
Exploring Operation: 98-5=93, Resulting Numbers: [0, 93]
Generated Node #0,0,2: 94:[0, 93] Operation: 98-5=93
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[0, 93], Operations: ['64-64=0', '98-5=93']
Exploring Operation: 0*93=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 93-0=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 0+93=93, Resulting Numbers: [93]
93,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[5, 0], Operations: ['64-64=0', '98*0=0']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[98, 0], Operations: ['64-64=0', '5*0=0']
Exploring Operation: 98+0=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 98*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 98-0=98, Resulting Numbers: [98]
98,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 94:[98, 64, 59], Operations: ['64-5=59']
Exploring Operation: 98-64=34, Resulting Numbers: [59, 34]
Generated Node #0,2,0: 94:[59, 34] Operation: 98-64=34
Exploring Operation: 98-59=39, Resulting Numbers: [64, 39]
Generated Node #0,2,1: 94:[64, 39] Operation: 98-59=39
Exploring Operation: 64-59=5, Resulting Numbers: [98, 5]
Generated Node #0,2,2: 94:[98, 5] Operation: 64-59=5
Moving to Node #0,1,2
Current State: 94:[1, 93], Operations: ['64/64=1', '98-5=93']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[5, 64, 98, 64], Operations: []
Exploring Operation: 64/64=1, Resulting Numbers: [5, 98, 1]
Generated Node #0,1: 94:[5, 98, 1] Operation: 64/64=1
Moving to Node #0,1
Current State: 94:[5, 98, 1], Operations: ['64/64=1']
Exploring Operation: 98-5=93, Resulting Numbers: [1, 93]
Generated Node #0,1,2: 94:[1, 93] Operation: 98-5=93
Moving to Node #0,1,2
Current State: 94:[1, 93], Operations: ['64/64=1', '98-5=93']
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.975694
|
hs_3
|
mult_heuristic
|
[
53,
48,
31,
49
] | 85
|
[
"53-48=5",
"31+49=80",
"5+80=85"
] |
Current State: 85:[53, 48, 31, 49], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [31, 49, 5]
Generated Node #2: [31, 49, 5] from Operation: 53-48=5
Current State: 85:[31, 49, 5], Operations: ['53-48=5']
Exploring Operation: 31+49=80, Resulting Numbers: [5, 80]
Generated Node #3: [5, 80] from Operation: 31+49=80
Current State: 85:[5, 80], Operations: ['53-48=5', '31+49=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[53, 48, 31, 49], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [48, 31, 4]
Generated Node #0,0: 85:[48, 31, 4] Operation: 53-49=4
Exploring Operation: 53-48=5, Resulting Numbers: [31, 49, 5]
Generated Node #0,1: 85:[31, 49, 5] Operation: 53-48=5
Moving to Node #0,0
Current State: 85:[48, 31, 4], Operations: ['53-49=4']
Exploring Operation: 48-31=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 85:[4, 17] Operation: 48-31=17
Exploring Operation: 48+31=79, Resulting Numbers: [4, 79]
Generated Node #0,0,1: 85:[4, 79] Operation: 48+31=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[4, 17], Operations: ['53-49=4', '48-31=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[4, 79], Operations: ['53-49=4', '48+31=79']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[31, 49, 5], Operations: ['53-48=5']
Exploring Operation: 31+49=80, Resulting Numbers: [5, 80]
Generated Node #0,1,0: 85:[5, 80] Operation: 31+49=80
Exploring Operation: 49-31=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 85:[5, 18] Operation: 49-31=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[5, 18], Operations: ['53-48=5', '49-31=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[5, 80], Operations: ['53-48=5', '31+49=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[53, 48, 31, 49], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [31, 49, 5]
Generated Node #0,1: 85:[31, 49, 5] Operation: 53-48=5
Moving to Node #0,1
Current State: 85:[31, 49, 5], Operations: ['53-48=5']
Exploring Operation: 31+49=80, Resulting Numbers: [5, 80]
Generated Node #0,1,0: 85:[5, 80] Operation: 31+49=80
Moving to Node #0,1,0
Current State: 85:[5, 80], Operations: ['53-48=5', '31+49=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375
|
hs_2
|
sum_heuristic
|
[
13,
21,
31,
18
] | 70
|
[
"21-18=3",
"13*3=39",
"31+39=70"
] |
Current State: 70:[13, 21, 31, 18], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [13, 31, 3]
Generated Node #2: [13, 31, 3] from Operation: 21-18=3
Current State: 70:[13, 31, 3], Operations: ['21-18=3']
Exploring Operation: 13*3=39, Resulting Numbers: [31, 39]
Generated Node #3: [31, 39] from Operation: 13*3=39
Current State: 70:[31, 39], Operations: ['21-18=3', '13*3=39']
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[13, 21, 31, 18], Operations: []
Exploring Operation: 13+21=34, Resulting Numbers: [31, 18, 34]
Generated Node #0,0: 70:[31, 18, 34] Operation: 13+21=34
Exploring Operation: 21-18=3, Resulting Numbers: [13, 31, 3]
Generated Node #0,1: 70:[13, 31, 3] Operation: 21-18=3
Exploring Operation: 21+18=39, Resulting Numbers: [13, 31, 39]
Generated Node #0,2: 70:[13, 31, 39] Operation: 21+18=39
Exploring Operation: 31-21=10, Resulting Numbers: [13, 18, 10]
Generated Node #0,3: 70:[13, 18, 10] Operation: 31-21=10
Exploring Operation: 21-13=8, Resulting Numbers: [31, 18, 8]
Generated Node #0,4: 70:[31, 18, 8] Operation: 21-13=8
Moving to Node #0,3
Current State: 70:[13, 18, 10], Operations: ['31-21=10']
Exploring Operation: 13+18=31, Resulting Numbers: [10, 31]
Generated Node #0,3,0: 70:[10, 31] Operation: 13+18=31
Exploring Operation: 18+10=28, Resulting Numbers: [13, 28]
Generated Node #0,3,1: 70:[13, 28] Operation: 18+10=28
Exploring Operation: 18-10=8, Resulting Numbers: [13, 8]
Generated Node #0,3,2: 70:[13, 8] Operation: 18-10=8
Exploring Operation: 18-13=5, Resulting Numbers: [10, 5]
Generated Node #0,3,3: 70:[10, 5] Operation: 18-13=5
Exploring Operation: 13-10=3, Resulting Numbers: [18, 3]
Generated Node #0,3,4: 70:[18, 3] Operation: 13-10=3
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[10, 5], Operations: ['31-21=10', '18-13=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[13, 8], Operations: ['31-21=10', '18-10=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,70 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[10, 31], Operations: ['31-21=10', '13+18=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 70:[18, 3], Operations: ['31-21=10', '13-10=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[13, 28], Operations: ['31-21=10', '18+10=28']
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,70 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[13, 31, 3], Operations: ['21-18=3']
Exploring Operation: 13*3=39, Resulting Numbers: [31, 39]
Generated Node #0,1,0: 70:[31, 39] Operation: 13*3=39
Exploring Operation: 31+3=34, Resulting Numbers: [13, 34]
Generated Node #0,1,1: 70:[13, 34] Operation: 31+3=34
Exploring Operation: 13+3=16, Resulting Numbers: [31, 16]
Generated Node #0,1,2: 70:[31, 16] Operation: 13+3=16
Exploring Operation: 13-3=10, Resulting Numbers: [31, 10]
Generated Node #0,1,3: 70:[31, 10] Operation: 13-3=10
Exploring Operation: 31-13=18, Resulting Numbers: [3, 18]
Generated Node #0,1,4: 70:[3, 18] Operation: 31-13=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[13, 34], Operations: ['21-18=3', '31+3=34']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,70 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[31, 10], Operations: ['21-18=3', '13-3=10']
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,70 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 70:[3, 18], Operations: ['21-18=3', '31-13=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[31, 16], Operations: ['21-18=3', '13+3=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[31, 39], Operations: ['21-18=3', '13*3=39']
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[13, 21, 31, 18], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [13, 31, 3]
Generated Node #0,1: 70:[13, 31, 3] Operation: 21-18=3
Moving to Node #0,1
Current State: 70:[13, 31, 3], Operations: ['21-18=3']
Exploring Operation: 13*3=39, Resulting Numbers: [31, 39]
Generated Node #0,1,0: 70:[31, 39] Operation: 13*3=39
Moving to Node #0,1,0
Current State: 70:[31, 39], Operations: ['21-18=3', '13*3=39']
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597
|
hs_5
|
sum_heuristic
|
[
4,
25,
31,
6
] | 37
|
[
"6-4=2",
"31*2=62",
"62-25=37"
] |
Current State: 37:[4, 25, 31, 6], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [25, 31, 2]
Generated Node #2: [25, 31, 2] from Operation: 6-4=2
Current State: 37:[25, 31, 2], Operations: ['6-4=2']
Exploring Operation: 31*2=62, Resulting Numbers: [25, 62]
Generated Node #3: [25, 62] from Operation: 31*2=62
Current State: 37:[25, 62], Operations: ['6-4=2', '31*2=62']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4
|
Current State: 37:[4, 25, 31, 6], Operations: []
Exploring Operation: 4+25=29, Resulting Numbers: [31, 6, 29]
Generated Node #0,0: 37:[31, 6, 29] Operation: 4+25=29
Exploring Operation: 4*6=24, Resulting Numbers: [25, 31, 24]
Generated Node #0,1: 37:[25, 31, 24] Operation: 4*6=24
Moving to Node #0,1
Current State: 37:[25, 31, 24], Operations: ['4*6=24']
Exploring Operation: 31+24=55, Resulting Numbers: [25, 55]
Generated Node #0,1,0: 37:[25, 55] Operation: 31+24=55
Exploring Operation: 25+24=49, Resulting Numbers: [31, 49]
Generated Node #0,1,1: 37:[31, 49] Operation: 25+24=49
Moving to Node #0,0
Current State: 37:[31, 6, 29], Operations: ['4+25=29']
Exploring Operation: 31+6=37, Resulting Numbers: [29, 37]
Generated Node #0,0,0: 37:[29, 37] Operation: 31+6=37
Exploring Operation: 6+29=35, Resulting Numbers: [31, 35]
Generated Node #0,0,1: 37:[31, 35] Operation: 6+29=35
Moving to Node #0,0,0
Current State: 37:[29, 37], Operations: ['4+25=29', '31+6=37']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[31, 35], Operations: ['4+25=29', '6+29=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[31, 49], Operations: ['4*6=24', '25+24=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[25, 55], Operations: ['4*6=24', '31+24=55']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,37 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
44,
71,
73,
29
] | 71
|
[
"44+71=115",
"73-29=44",
"115-44=71"
] |
Current State: 71:[44, 71, 73, 29], Operations: []
Exploring Operation: 44+71=115, Resulting Numbers: [73, 29, 115]
Generated Node #2: [73, 29, 115] from Operation: 44+71=115
Current State: 71:[73, 29, 115], Operations: ['44+71=115']
Exploring Operation: 73-29=44, Resulting Numbers: [115, 44]
Generated Node #3: [115, 44] from Operation: 73-29=44
Current State: 71:[115, 44], Operations: ['44+71=115', '73-29=44']
Exploring Operation: 115-44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[44, 71, 73, 29], Operations: []
Exploring Operation: 71+29=100, Resulting Numbers: [44, 73, 100]
Generated Node #0,0: 71:[44, 73, 100] Operation: 71+29=100
Exploring Operation: 44-29=15, Resulting Numbers: [71, 73, 15]
Generated Node #0,1: 71:[71, 73, 15] Operation: 44-29=15
Exploring Operation: 73-29=44, Resulting Numbers: [44, 71, 44]
Generated Node #0,2: 71:[44, 71, 44] Operation: 73-29=44
Exploring Operation: 44+29=73, Resulting Numbers: [71, 73, 73]
Generated Node #0,3: 71:[71, 73, 73] Operation: 44+29=73
Moving to Node #0,3
Current State: 71:[71, 73, 73], Operations: ['44+29=73']
Exploring Operation: 73-73=0, Resulting Numbers: [71, 0]
Generated Node #0,3,0: 71:[71, 0] Operation: 73-73=0
Exploring Operation: 73-71=2, Resulting Numbers: [73, 2]
Generated Node #0,3,1: 71:[73, 2] Operation: 73-71=2
Exploring Operation: 73-71=2, Resulting Numbers: [73, 2]
Generated Node #0,3,2: 71:[73, 2] Operation: 73-71=2
Exploring Operation: 73/73=1, Resulting Numbers: [71, 1]
Generated Node #0,3,3: 71:[71, 1] Operation: 73/73=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[71, 1], Operations: ['44+29=73', '73/73=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[44, 71, 73, 29], Operations: []
Exploring Operation: 44+29=73, Resulting Numbers: [71, 73, 73]
Generated Node #0,3: 71:[71, 73, 73] Operation: 44+29=73
Moving to Node #0,3
Current State: 71:[71, 73, 73], Operations: ['44+29=73']
Exploring Operation: 73/73=1, Resulting Numbers: [71, 1]
Generated Node #0,3,3: 71:[71, 1] Operation: 73/73=1
Moving to Node #0,3,3
Current State: 71:[71, 1], Operations: ['44+29=73', '73/73=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
32,
47,
58,
42
] | 85
|
[
"47-32=15",
"58+42=100",
"100-15=85"
] |
Current State: 85:[32, 47, 58, 42], Operations: []
Exploring Operation: 47-32=15, Resulting Numbers: [58, 42, 15]
Generated Node #2: [58, 42, 15] from Operation: 47-32=15
Current State: 85:[58, 42, 15], Operations: ['47-32=15']
Exploring Operation: 58+42=100, Resulting Numbers: [15, 100]
Generated Node #3: [15, 100] from Operation: 58+42=100
Current State: 85:[15, 100], Operations: ['47-32=15', '58+42=100']
Exploring Operation: 100-15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[32, 47, 58, 42], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [32, 58, 5]
Generated Node #0,0: 85:[32, 58, 5] Operation: 47-42=5
Exploring Operation: 58-47=11, Resulting Numbers: [32, 42, 11]
Generated Node #0,1: 85:[32, 42, 11] Operation: 58-47=11
Moving to Node #0,0
Current State: 85:[32, 58, 5], Operations: ['47-42=5']
Exploring Operation: 58-32=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 85:[5, 26] Operation: 58-32=26
Exploring Operation: 32+58=90, Resulting Numbers: [5, 90]
Generated Node #0,0,1: 85:[5, 90] Operation: 32+58=90
Moving to Node #0,1
Current State: 85:[32, 42, 11], Operations: ['58-47=11']
Exploring Operation: 32+42=74, Resulting Numbers: [11, 74]
Generated Node #0,1,0: 85:[11, 74] Operation: 32+42=74
Exploring Operation: 42-32=10, Resulting Numbers: [11, 10]
Generated Node #0,1,1: 85:[11, 10] Operation: 42-32=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[11, 10], Operations: ['58-47=11', '42-32=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[11, 74], Operations: ['58-47=11', '32+42=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[32, 47, 58, 42], Operations: []
Exploring Operation: 58-47=11, Resulting Numbers: [32, 42, 11]
Generated Node #0,1: 85:[32, 42, 11] Operation: 58-47=11
Moving to Node #0,1
Current State: 85:[32, 42, 11], Operations: ['58-47=11']
Exploring Operation: 32+42=74, Resulting Numbers: [11, 74]
Generated Node #0,1,0: 85:[11, 74] Operation: 32+42=74
Moving to Node #0,1,0
Current State: 85:[11, 74], Operations: ['58-47=11', '32+42=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_2
|
mult_heuristic
|
[
94,
7,
12,
91
] | 69
|
[
"94-12=82",
"91/7=13",
"82-13=69"
] |
Current State: 69:[94, 7, 12, 91], Operations: []
Exploring Operation: 94-12=82, Resulting Numbers: [7, 91, 82]
Generated Node #2: [7, 91, 82] from Operation: 94-12=82
Current State: 69:[7, 91, 82], Operations: ['94-12=82']
Exploring Operation: 91/7=13, Resulting Numbers: [82, 13]
Generated Node #3: [82, 13] from Operation: 91/7=13
Current State: 69:[82, 13], Operations: ['94-12=82', '91/7=13']
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[94, 7, 12, 91], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [7, 12, 3]
Generated Node #0,0: 69:[7, 12, 3] Operation: 94-91=3
Moving to Node #0,0
Current State: 69:[7, 12, 3], Operations: ['94-91=3']
Exploring Operation: 12-7=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 69:[3, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 69:[3, 5], Operations: ['94-91=3', '12-7=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
45,
75,
54,
78
] | 69
|
[
"78-75=3",
"45/3=15",
"54+15=69"
] |
Current State: 69:[45, 75, 54, 78], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [45, 54, 3]
Generated Node #2: [45, 54, 3] from Operation: 78-75=3
Current State: 69:[45, 54, 3], Operations: ['78-75=3']
Exploring Operation: 45/3=15, Resulting Numbers: [54, 15]
Generated Node #3: [54, 15] from Operation: 45/3=15
Current State: 69:[54, 15], Operations: ['78-75=3', '45/3=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[45, 75, 54, 78], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [75, 78, 9]
Generated Node #0,0: 69:[75, 78, 9] Operation: 54-45=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[75, 78, 9], Operations: ['54-45=9']
Exploring Operation: 78-75=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 69:[9, 3] Operation: 78-75=3
Moving to Node #0,0,0
Current State: 69:[9, 3], Operations: ['54-45=9', '78-75=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,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
|
[
30,
14,
10,
71
] | 45
|
[
"30-14=16",
"71-10=61",
"61-16=45"
] |
Current State: 45:[30, 14, 10, 71], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [10, 71, 16]
Generated Node #2: [10, 71, 16] from Operation: 30-14=16
Current State: 45:[10, 71, 16], Operations: ['30-14=16']
Exploring Operation: 71-10=61, Resulting Numbers: [16, 61]
Generated Node #3: [16, 61] from Operation: 71-10=61
Current State: 45:[16, 61], Operations: ['30-14=16', '71-10=61']
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[30, 14, 10, 71], Operations: []
Exploring Operation: 30+14=44, Resulting Numbers: [10, 71, 44]
Generated Node #0,0: 45:[10, 71, 44] Operation: 30+14=44
Exploring Operation: 71-30=41, Resulting Numbers: [14, 10, 41]
Generated Node #0,1: 45:[14, 10, 41] Operation: 71-30=41
Exploring Operation: 30/10=3, Resulting Numbers: [14, 71, 3]
Generated Node #0,2: 45:[14, 71, 3] Operation: 30/10=3
Exploring Operation: 30-14=16, Resulting Numbers: [10, 71, 16]
Generated Node #0,3: 45:[10, 71, 16] Operation: 30-14=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[14, 10, 41], Operations: ['71-30=41']
Exploring Operation: 14+10=24, Resulting Numbers: [41, 24]
Generated Node #0,1,0: 45:[41, 24] Operation: 14+10=24
Exploring Operation: 10+41=51, Resulting Numbers: [14, 51]
Generated Node #0,1,1: 45:[14, 51] Operation: 10+41=51
Exploring Operation: 14+41=55, Resulting Numbers: [10, 55]
Generated Node #0,1,2: 45:[10, 55] Operation: 14+41=55
Exploring Operation: 14-10=4, Resulting Numbers: [41, 4]
Generated Node #0,1,3: 45:[41, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[41, 4], Operations: ['71-30=41', '14-10=4']
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,45 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[30, 14, 10, 71], Operations: []
Exploring Operation: 71-30=41, Resulting Numbers: [14, 10, 41]
Generated Node #0,1: 45:[14, 10, 41] Operation: 71-30=41
Moving to Node #0,1
Current State: 45:[14, 10, 41], Operations: ['71-30=41']
Exploring Operation: 14-10=4, Resulting Numbers: [41, 4]
Generated Node #0,1,3: 45:[41, 4] Operation: 14-10=4
Moving to Node #0,1,3
Current State: 45:[41, 4], Operations: ['71-30=41', '14-10=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
mult_heuristic
|
[
9,
79,
68,
37
] | 74
|
[
"79-9=70",
"70-68=2",
"37*2=74"
] |
Current State: 74:[9, 79, 68, 37], Operations: []
Exploring Operation: 79-9=70, Resulting Numbers: [68, 37, 70]
Generated Node #2: [68, 37, 70] from Operation: 79-9=70
Current State: 74:[68, 37, 70], Operations: ['79-9=70']
Exploring Operation: 70-68=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 70-68=2
Current State: 74:[37, 2], Operations: ['79-9=70', '70-68=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[9, 79, 68, 37], Operations: []
Exploring Operation: 9+68=77, Resulting Numbers: [79, 37, 77]
Generated Node #0,0: 74:[79, 37, 77] Operation: 9+68=77
Moving to Node #0,0
Current State: 74:[79, 37, 77], Operations: ['9+68=77']
Exploring Operation: 79-77=2, Resulting Numbers: [37, 2]
Generated Node #0,0,0: 74:[37, 2] Operation: 79-77=2
Moving to Node #0,0,0
Current State: 74:[37, 2], Operations: ['9+68=77', '79-77=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[9, 79, 68, 37], Operations: []
Exploring Operation: 9+68=77, Resulting Numbers: [79, 37, 77]
Generated Node #0,0: 74:[79, 37, 77] Operation: 9+68=77
Moving to Node #0,0
Current State: 74:[79, 37, 77], Operations: ['9+68=77']
Exploring Operation: 79-77=2, Resulting Numbers: [37, 2]
Generated Node #0,0,0: 74:[37, 2] Operation: 79-77=2
Moving to Node #0,0,0
Current State: 74:[37, 2], Operations: ['9+68=77', '79-77=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
20,
52,
24,
32
] | 80
|
[
"20+52=72",
"32-24=8",
"72+8=80"
] |
Current State: 80:[20, 52, 24, 32], Operations: []
Exploring Operation: 20+52=72, Resulting Numbers: [24, 32, 72]
Generated Node #2: [24, 32, 72] from Operation: 20+52=72
Current State: 80:[24, 32, 72], Operations: ['20+52=72']
Exploring Operation: 32-24=8, Resulting Numbers: [72, 8]
Generated Node #3: [72, 8] from Operation: 32-24=8
Current State: 80:[72, 8], Operations: ['20+52=72', '32-24=8']
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[20, 52, 24, 32], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [20, 24, 20]
Generated Node #0,0: 80:[20, 24, 20] Operation: 52-32=20
Exploring Operation: 52+32=84, Resulting Numbers: [20, 24, 84]
Generated Node #0,1: 80:[20, 24, 84] Operation: 52+32=84
Exploring Operation: 52+24=76, Resulting Numbers: [20, 32, 76]
Generated Node #0,2: 80:[20, 32, 76] Operation: 52+24=76
Moving to Node #0,0
Current State: 80:[20, 24, 20], Operations: ['52-32=20']
Exploring Operation: 20+24=44, Resulting Numbers: [20, 44]
Generated Node #0,0,0: 80:[20, 44] Operation: 20+24=44
Exploring Operation: 24-20=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 80:[20, 4] Operation: 24-20=4
Exploring Operation: 24-20=4, Resulting Numbers: [20, 4]
Generated Node #0,0,2: 80:[20, 4] Operation: 24-20=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[20, 4], Operations: ['52-32=20', '24-20=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[20, 52, 24, 32], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [20, 24, 20]
Generated Node #0,0: 80:[20, 24, 20] Operation: 52-32=20
Moving to Node #0,0
Current State: 80:[20, 24, 20], Operations: ['52-32=20']
Exploring Operation: 24-20=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 80:[20, 4] Operation: 24-20=4
Moving to Node #0,0,1
Current State: 80:[20, 4], Operations: ['52-32=20', '24-20=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
94,
2,
12,
14
] | 52
|
[
"94-14=80",
"80/2=40",
"12+40=52"
] |
Current State: 52:[94, 2, 12, 14], Operations: []
Exploring Operation: 94-14=80, Resulting Numbers: [2, 12, 80]
Generated Node #2: [2, 12, 80] from Operation: 94-14=80
Current State: 52:[2, 12, 80], Operations: ['94-14=80']
Exploring Operation: 80/2=40, Resulting Numbers: [12, 40]
Generated Node #3: [12, 40] from Operation: 80/2=40
Current State: 52:[12, 40], Operations: ['94-14=80', '80/2=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[94, 2, 12, 14], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [12, 14, 47]
Generated Node #0,0: 52:[12, 14, 47] Operation: 94/2=47
Exploring Operation: 94-14=80, Resulting Numbers: [2, 12, 80]
Generated Node #0,1: 52:[2, 12, 80] Operation: 94-14=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[12, 14, 47], Operations: ['94/2=47']
Exploring Operation: 12+14=26, Resulting Numbers: [47, 26]
Generated Node #0,0,0: 52:[47, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 52:[47, 2] Operation: 14-12=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[47, 26], Operations: ['94/2=47', '12+14=26']
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,52 unequal: No Solution
No 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: 52:[47, 2], Operations: ['94/2=47', '14-12=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,52 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: 52:[2, 12, 80], Operations: ['94-14=80']
Exploring Operation: 80/2=40, Resulting Numbers: [12, 40]
Generated Node #0,1,0: 52:[12, 40] Operation: 80/2=40
Exploring Operation: 80-12=68, Resulting Numbers: [2, 68]
Generated Node #0,1,1: 52:[2, 68] Operation: 80-12=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[12, 40], Operations: ['94-14=80', '80/2=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[94, 2, 12, 14], Operations: []
Exploring Operation: 94-14=80, Resulting Numbers: [2, 12, 80]
Generated Node #0,1: 52:[2, 12, 80] Operation: 94-14=80
Moving to Node #0,1
Current State: 52:[2, 12, 80], Operations: ['94-14=80']
Exploring Operation: 80/2=40, Resulting Numbers: [12, 40]
Generated Node #0,1,0: 52:[12, 40] Operation: 80/2=40
Moving to Node #0,1,0
Current State: 52:[12, 40], Operations: ['94-14=80', '80/2=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
sum_heuristic
|
[
80,
85,
87,
48
] | 56
|
[
"87-85=2",
"48/2=24",
"80-24=56"
] |
Current State: 56:[80, 85, 87, 48], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [80, 48, 2]
Generated Node #2: [80, 48, 2] from Operation: 87-85=2
Current State: 56:[80, 48, 2], Operations: ['87-85=2']
Exploring Operation: 48/2=24, Resulting Numbers: [80, 24]
Generated Node #3: [80, 24] from Operation: 48/2=24
Current State: 56:[80, 24], Operations: ['87-85=2', '48/2=24']
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[80, 85, 87, 48], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [80, 48, 2]
Generated Node #0,0: 56:[80, 48, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[80, 48, 2], Operations: ['87-85=2']
Exploring Operation: 80-48=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 56:[2, 32] Operation: 80-48=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[2, 32], Operations: ['87-85=2', '80-48=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
14,
62,
91,
93
] | 70
|
[
"14+91=105",
"62*105=6510",
"6510/93=70"
] |
Current State: 70:[14, 62, 91, 93], Operations: []
Exploring Operation: 14+91=105, Resulting Numbers: [62, 93, 105]
Generated Node #2: [62, 93, 105] from Operation: 14+91=105
Current State: 70:[62, 93, 105], Operations: ['14+91=105']
Exploring Operation: 62*105=6510, Resulting Numbers: [93, 6510]
Generated Node #3: [93, 6510] from Operation: 62*105=6510
Current State: 70:[93, 6510], Operations: ['14+91=105', '62*105=6510']
Exploring Operation: 6510/93=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[14, 62, 91, 93], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [14, 62, 2]
Generated Node #0,0: 70:[14, 62, 2] Operation: 93-91=2
Exploring Operation: 91-14=77, Resulting Numbers: [62, 93, 77]
Generated Node #0,1: 70:[62, 93, 77] Operation: 91-14=77
Exploring Operation: 91-62=29, Resulting Numbers: [14, 93, 29]
Generated Node #0,2: 70:[14, 93, 29] Operation: 91-62=29
Exploring Operation: 93-62=31, Resulting Numbers: [14, 91, 31]
Generated Node #0,3: 70:[14, 91, 31] Operation: 93-62=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[14, 62, 2], Operations: ['93-91=2']
Exploring Operation: 14/2=7, Resulting Numbers: [62, 7]
Generated Node #0,0,0: 70:[62, 7] Operation: 14/2=7
Exploring Operation: 14+62=76, Resulting Numbers: [2, 76]
Generated Node #0,0,1: 70:[2, 76] Operation: 14+62=76
Exploring Operation: 62/2=31, Resulting Numbers: [14, 31]
Generated Node #0,0,2: 70:[14, 31] Operation: 62/2=31
Exploring Operation: 62+2=64, Resulting Numbers: [14, 64]
Generated Node #0,0,3: 70:[14, 64] Operation: 62+2=64
Moving to Node #0,0,2
Current State: 70:[14, 31], Operations: ['93-91=2', '62/2=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,70 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[14, 64], Operations: ['93-91=2', '62+2=64']
Exploring Operation: 14*64=896, Resulting Numbers: [896]
896,70 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[2, 76], Operations: ['93-91=2', '14+62=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,70 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[62, 7], Operations: ['93-91=2', '14/2=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[14, 91, 31], Operations: ['93-62=31']
Exploring Operation: 91-31=60, Resulting Numbers: [14, 60]
Generated Node #0,3,0: 70:[14, 60] Operation: 91-31=60
Exploring Operation: 14+31=45, Resulting Numbers: [91, 45]
Generated Node #0,3,1: 70:[91, 45] Operation: 14+31=45
Exploring Operation: 31-14=17, Resulting Numbers: [91, 17]
Generated Node #0,3,2: 70:[91, 17] Operation: 31-14=17
Exploring Operation: 91-14=77, Resulting Numbers: [31, 77]
Generated Node #0,3,3: 70:[31, 77] Operation: 91-14=77
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[14, 60], Operations: ['93-62=31', '91-31=60']
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 14*60=840, Resulting Numbers: [840]
840,70 unequal: No Solution
No 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: 70:[31, 77], Operations: ['93-62=31', '91-14=77']
Exploring Operation: 31*77=2387, Resulting Numbers: [2387]
2387,70 unequal: No Solution
Exploring Operation: 31+77=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,70 unequal: No Solution
No 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: 70:[91, 17], Operations: ['93-62=31', '31-14=17']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,70 unequal: No Solution
No 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: 70:[91, 45], Operations: ['93-62=31', '14+31=45']
Exploring Operation: 91*45=4095, Resulting Numbers: [4095]
4095,70 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,70 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: 70:[14, 93, 29], Operations: ['91-62=29']
Exploring Operation: 93-29=64, Resulting Numbers: [14, 64]
Generated Node #0,2,0: 70:[14, 64] Operation: 93-29=64
Exploring Operation: 14+29=43, Resulting Numbers: [93, 43]
Generated Node #0,2,1: 70:[93, 43] Operation: 14+29=43
Exploring Operation: 93-14=79, Resulting Numbers: [29, 79]
Generated Node #0,2,2: 70:[29, 79] Operation: 93-14=79
Exploring Operation: 29-14=15, Resulting Numbers: [93, 15]
Generated Node #0,2,3: 70:[93, 15] Operation: 29-14=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[14, 64], Operations: ['91-62=29', '93-29=64']
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 14*64=896, Resulting Numbers: [896]
896,70 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No 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: 70:[29, 79], Operations: ['91-62=29', '93-14=79']
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,70 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No 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: 70:[93, 15], Operations: ['91-62=29', '29-14=15']
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,70 unequal: No Solution
No 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: 70:[93, 43], Operations: ['91-62=29', '14+29=43']
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,70 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,70 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: 70:[62, 93, 77], Operations: ['91-14=77']
Exploring Operation: 93-77=16, Resulting Numbers: [62, 16]
Generated Node #0,1,0: 70:[62, 16] Operation: 93-77=16
Exploring Operation: 93-62=31, Resulting Numbers: [77, 31]
Generated Node #0,1,1: 70:[77, 31] Operation: 93-62=31
Exploring Operation: 77-62=15, Resulting Numbers: [93, 15]
Generated Node #0,1,2: 70:[93, 15] Operation: 77-62=15
Exploring Operation: 62+93=155, Resulting Numbers: [77, 155]
Generated Node #0,1,3: 70:[77, 155] Operation: 62+93=155
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[62, 16], Operations: ['91-14=77', '93-77=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,70 unequal: No Solution
No 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: 70:[77, 31], Operations: ['91-14=77', '93-62=31']
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,70 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,70 unequal: No Solution
No 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: 70:[93, 15], Operations: ['91-14=77', '77-62=15']
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,70 unequal: No Solution
No 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: 70:[77, 155], Operations: ['91-14=77', '62+93=155']
Exploring Operation: 77+155=232, Resulting Numbers: [232]
232,70 unequal: No Solution
Exploring Operation: 155-77=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 77*155=11935, Resulting Numbers: [11935]
11935,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
22,
74,
91,
70
] | 73
|
[
"74-22=52",
"91-70=21",
"52+21=73"
] |
Current State: 73:[22, 74, 91, 70], Operations: []
Exploring Operation: 74-22=52, Resulting Numbers: [91, 70, 52]
Generated Node #2: [91, 70, 52] from Operation: 74-22=52
Current State: 73:[91, 70, 52], Operations: ['74-22=52']
Exploring Operation: 91-70=21, Resulting Numbers: [52, 21]
Generated Node #3: [52, 21] from Operation: 91-70=21
Current State: 73:[52, 21], Operations: ['74-22=52', '91-70=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[22, 74, 91, 70], Operations: []
Exploring Operation: 22+70=92, Resulting Numbers: [74, 91, 92]
Generated Node #0,0: 73:[74, 91, 92] Operation: 22+70=92
Exploring Operation: 91-22=69, Resulting Numbers: [74, 70, 69]
Generated Node #0,1: 73:[74, 70, 69] Operation: 91-22=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[74, 70, 69], Operations: ['91-22=69']
Exploring Operation: 74-69=5, Resulting Numbers: [70, 5]
Generated Node #0,1,0: 73:[70, 5] Operation: 74-69=5
Exploring Operation: 70+69=139, Resulting Numbers: [74, 139]
Generated Node #0,1,1: 73:[74, 139] Operation: 70+69=139
Moving to Node #0,1,1
Current State: 73:[74, 139], Operations: ['91-22=69', '70+69=139']
Exploring Operation: 139-74=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 74+139=213, Resulting Numbers: [213]
213,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[70, 5], Operations: ['91-22=69', '74-69=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,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
Current State: 73:[74, 91, 92], Operations: ['22+70=92']
Exploring Operation: 92-91=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 73:[74, 1] Operation: 92-91=1
Exploring Operation: 92-74=18, Resulting Numbers: [91, 18]
Generated Node #0,0,1: 73:[91, 18] Operation: 92-74=18
Moving to Node #0,0,0
Current State: 73:[74, 1], Operations: ['22+70=92', '92-91=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[22, 74, 91, 70], Operations: []
Exploring Operation: 22+70=92, Resulting Numbers: [74, 91, 92]
Generated Node #0,0: 73:[74, 91, 92] Operation: 22+70=92
Moving to Node #0,0
Current State: 73:[74, 91, 92], Operations: ['22+70=92']
Exploring Operation: 92-91=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 73:[74, 1] Operation: 92-91=1
Moving to Node #0,0,0
Current State: 73:[74, 1], Operations: ['22+70=92', '92-91=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
mult_heuristic
|
[
38,
79,
80,
47
] | 85
|
[
"38+47=85",
"80-79=1",
"85*1=85"
] |
Current State: 85:[38, 79, 80, 47], Operations: []
Exploring Operation: 38+47=85, Resulting Numbers: [79, 80, 85]
Generated Node #2: [79, 80, 85] from Operation: 38+47=85
Current State: 85:[79, 80, 85], Operations: ['38+47=85']
Exploring Operation: 80-79=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 80-79=1
Current State: 85:[85, 1], Operations: ['38+47=85', '80-79=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[38, 79, 80, 47], Operations: []
Exploring Operation: 79-47=32, Resulting Numbers: [38, 80, 32]
Generated Node #0,0: 85:[38, 80, 32] Operation: 79-47=32
Exploring Operation: 38+47=85, Resulting Numbers: [79, 80, 85]
Generated Node #0,1: 85:[79, 80, 85] Operation: 38+47=85
Exploring Operation: 80-79=1, Resulting Numbers: [38, 47, 1]
Generated Node #0,2: 85:[38, 47, 1] Operation: 80-79=1
Exploring Operation: 80-47=33, Resulting Numbers: [38, 79, 33]
Generated Node #0,3: 85:[38, 79, 33] Operation: 80-47=33
Exploring Operation: 47-38=9, Resulting Numbers: [79, 80, 9]
Generated Node #0,4: 85:[79, 80, 9] Operation: 47-38=9
Moving to Node #0,1
Current State: 85:[79, 80, 85], Operations: ['38+47=85']
Exploring Operation: 85-79=6, Resulting Numbers: [80, 6]
Generated Node #0,1,0: 85:[80, 6] Operation: 85-79=6
Exploring Operation: 85-80=5, Resulting Numbers: [79, 5]
Generated Node #0,1,1: 85:[79, 5] Operation: 85-80=5
Exploring Operation: 79+80=159, Resulting Numbers: [85, 159]
Generated Node #0,1,2: 85:[85, 159] Operation: 79+80=159
Exploring Operation: 79+85=164, Resulting Numbers: [80, 164]
Generated Node #0,1,3: 85:[80, 164] Operation: 79+85=164
Exploring Operation: 80-79=1, Resulting Numbers: [85, 1]
Generated Node #0,1,4: 85:[85, 1] Operation: 80-79=1
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 85:[85, 1], Operations: ['38+47=85', '80-79=1']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[38, 79, 80, 47], Operations: []
Exploring Operation: 38+47=85, Resulting Numbers: [79, 80, 85]
Generated Node #0,1: 85:[79, 80, 85] Operation: 38+47=85
Moving to Node #0,1
Current State: 85:[79, 80, 85], Operations: ['38+47=85']
Exploring Operation: 80-79=1, Resulting Numbers: [85, 1]
Generated Node #0,1,4: 85:[85, 1] Operation: 80-79=1
Moving to Node #0,1,4
Current State: 85:[85, 1], Operations: ['38+47=85', '80-79=1']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
mult_heuristic
|
[
63,
3,
10,
52
] | 43
|
[
"63-52=11",
"3*11=33",
"10+33=43"
] |
Current State: 43:[63, 3, 10, 52], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [3, 10, 11]
Generated Node #2: [3, 10, 11] from Operation: 63-52=11
Current State: 43:[3, 10, 11], Operations: ['63-52=11']
Exploring Operation: 3*11=33, Resulting Numbers: [10, 33]
Generated Node #3: [10, 33] from Operation: 3*11=33
Current State: 43:[10, 33], Operations: ['63-52=11', '3*11=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4
|
Current State: 43:[63, 3, 10, 52], Operations: []
Exploring Operation: 3*10=30, Resulting Numbers: [63, 52, 30]
Generated Node #0,0: 43:[63, 52, 30] Operation: 3*10=30
Moving to Node #0,0
Current State: 43:[63, 52, 30], Operations: ['3*10=30']
Exploring Operation: 63-30=33, Resulting Numbers: [52, 33]
Generated Node #0,0,0: 43:[52, 33] Operation: 63-30=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[52, 33], Operations: ['3*10=30', '63-30=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
53,
8,
89,
58
] | 92
|
[
"53+8=61",
"89-58=31",
"61+31=92"
] |
Current State: 92:[53, 8, 89, 58], Operations: []
Exploring Operation: 53+8=61, Resulting Numbers: [89, 58, 61]
Generated Node #2: [89, 58, 61] from Operation: 53+8=61
Current State: 92:[89, 58, 61], Operations: ['53+8=61']
Exploring Operation: 89-58=31, Resulting Numbers: [61, 31]
Generated Node #3: [61, 31] from Operation: 89-58=31
Current State: 92:[61, 31], Operations: ['53+8=61', '89-58=31']
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[53, 8, 89, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [8, 89, 5]
Generated Node #0,0: 92:[8, 89, 5] Operation: 58-53=5
Exploring Operation: 58-8=50, Resulting Numbers: [53, 89, 50]
Generated Node #0,1: 92:[53, 89, 50] Operation: 58-8=50
Moving to Node #0,0
Current State: 92:[8, 89, 5], Operations: ['58-53=5']
Exploring Operation: 8+89=97, Resulting Numbers: [5, 97]
Generated Node #0,0,0: 92:[5, 97] Operation: 8+89=97
Exploring Operation: 8-5=3, Resulting Numbers: [89, 3]
Generated Node #0,0,1: 92:[89, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[89, 3], Operations: ['58-53=5', '8-5=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[53, 8, 89, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [8, 89, 5]
Generated Node #0,0: 92:[8, 89, 5] Operation: 58-53=5
Moving to Node #0,0
Current State: 92:[8, 89, 5], Operations: ['58-53=5']
Exploring Operation: 8-5=3, Resulting Numbers: [89, 3]
Generated Node #0,0,1: 92:[89, 3] Operation: 8-5=3
Moving to Node #0,0,1
Current State: 92:[89, 3], Operations: ['58-53=5', '8-5=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
sum_heuristic
|
[
26,
9,
18,
18
] | 88
|
[
"26+18=44",
"18/9=2",
"44*2=88"
] |
Current State: 88:[26, 9, 18, 18], Operations: []
Exploring Operation: 26+18=44, Resulting Numbers: [9, 44]
Generated Node #2: [9, 44] from Operation: 26+18=44
Current State: 88:[9, 44], Operations: ['26+18=44']
Exploring Operation: 18/9=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 18/9=2
Current State: 88:[44, 2], Operations: ['26+18=44', '18/9=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[26, 9, 18, 18], Operations: []
Exploring Operation: 26+18=44, Resulting Numbers: [9, 18, 44]
Generated Node #0,0: 88:[9, 18, 44] Operation: 26+18=44
Moving to Node #0,0
Current State: 88:[9, 18, 44], Operations: ['26+18=44']
Exploring Operation: 18/9=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 88:[44, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 88:[44, 2], Operations: ['26+18=44', '18/9=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[26, 9, 18, 18], Operations: []
Exploring Operation: 26+18=44, Resulting Numbers: [9, 18, 44]
Generated Node #0,0: 88:[9, 18, 44] Operation: 26+18=44
Moving to Node #0,0
Current State: 88:[9, 18, 44], Operations: ['26+18=44']
Exploring Operation: 18/9=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 88:[44, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 88:[44, 2], Operations: ['26+18=44', '18/9=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
66,
39,
63,
39
] | 52
|
[
"66-63=3",
"39/3=13",
"39+13=52"
] |
Current State: 52:[66, 39, 63, 39], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [39, 39, 3]
Generated Node #2: [39, 39, 3] from Operation: 66-63=3
Current State: 52:[39, 39, 3], Operations: ['66-63=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,52 equal: Goal Reached
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[66, 39, 63, 39], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [39, 63, 27]
Generated Node #0,0: 52:[39, 63, 27] Operation: 66-39=27
Exploring Operation: 66-39=27, Resulting Numbers: [63, 39, 27]
Generated Node #0,1: 52:[63, 39, 27] Operation: 66-39=27
Exploring Operation: 39/39=1, Resulting Numbers: [66, 63, 1]
Generated Node #0,2: 52:[66, 63, 1] Operation: 39/39=1
Exploring Operation: 66-63=3, Resulting Numbers: [39, 39, 3]
Generated Node #0,3: 52:[39, 39, 3] Operation: 66-63=3
Moving to Node #0,0
Current State: 52:[39, 63, 27], Operations: ['66-39=27']
Exploring Operation: 39-27=12, Resulting Numbers: [63, 12]
Generated Node #0,0,0: 52:[63, 12] Operation: 39-27=12
Exploring Operation: 63-27=36, Resulting Numbers: [39, 36]
Generated Node #0,0,1: 52:[39, 36] Operation: 63-27=36
Exploring Operation: 63-39=24, Resulting Numbers: [27, 24]
Generated Node #0,0,2: 52:[27, 24] Operation: 63-39=24
Exploring Operation: 39+27=66, Resulting Numbers: [63, 66]
Generated Node #0,0,3: 52:[63, 66] Operation: 39+27=66
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[27, 24], Operations: ['66-39=27', '63-39=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,52 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,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:[63, 12], Operations: ['66-39=27', '39-27=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,52 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,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,1
Current State: 52:[39, 36], Operations: ['66-39=27', '63-27=36']
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,52 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,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,3
Current State: 52:[63, 66], Operations: ['66-39=27', '39+27=66']
Exploring Operation: 63+66=129, Resulting Numbers: [129]
129,52 unequal: No Solution
Exploring Operation: 63*66=4158, Resulting Numbers: [4158]
4158,52 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,52 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: 52:[63, 39, 27], Operations: ['66-39=27']
Exploring Operation: 63-27=36, Resulting Numbers: [39, 36]
Generated Node #0,1,0: 52:[39, 36] Operation: 63-27=36
Exploring Operation: 39+27=66, Resulting Numbers: [63, 66]
Generated Node #0,1,1: 52:[63, 66] Operation: 39+27=66
Exploring Operation: 39-27=12, Resulting Numbers: [63, 12]
Generated Node #0,1,2: 52:[63, 12] Operation: 39-27=12
Exploring Operation: 63-39=24, Resulting Numbers: [27, 24]
Generated Node #0,1,3: 52:[27, 24] Operation: 63-39=24
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[27, 24], Operations: ['66-39=27', '63-39=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,52 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,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,1,2
Current State: 52:[63, 12], Operations: ['66-39=27', '39-27=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,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,1,0
Current State: 52:[39, 36], Operations: ['66-39=27', '63-27=36']
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,52 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,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,1,1
Current State: 52:[63, 66], Operations: ['66-39=27', '39+27=66']
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 63*66=4158, Resulting Numbers: [4158]
4158,52 unequal: No Solution
Exploring Operation: 63+66=129, Resulting Numbers: [129]
129,52 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: 52:[66, 63, 1], Operations: ['39/39=1']
Exploring Operation: 66-1=65, Resulting Numbers: [63, 65]
Generated Node #0,2,0: 52:[63, 65] Operation: 66-1=65
Exploring Operation: 63-1=62, Resulting Numbers: [66, 62]
Generated Node #0,2,1: 52:[66, 62] Operation: 63-1=62
Exploring Operation: 66*1=66, Resulting Numbers: [63, 66]
Generated Node #0,2,2: 52:[63, 66] Operation: 66*1=66
Exploring Operation: 66-63=3, Resulting Numbers: [1, 3]
Generated Node #0,2,3: 52:[1, 3] Operation: 66-63=3
Moving to Node #0,3
Current State: 52:[39, 39, 3], Operations: ['66-63=3']
Exploring Operation: 39/39=1, Resulting Numbers: [3, 1]
Generated Node #0,3,0: 52:[3, 1] Operation: 39/39=1
Exploring Operation: 39/3=13, Resulting Numbers: [39, 13]
Generated Node #0,3,1: 52:[39, 13] Operation: 39/3=13
Exploring Operation: 39-39=0, Resulting Numbers: [3, 0]
Generated Node #0,3,2: 52:[3, 0] Operation: 39-39=0
Exploring Operation: 39/3=13, Resulting Numbers: [39, 13]
Generated Node #0,3,3: 52:[39, 13] Operation: 39/3=13
Moving to Node #0,2,3
Current State: 52:[1, 3], Operations: ['39/39=1', '66-63=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[3, 1], Operations: ['66-63=3', '39/39=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[3, 0], Operations: ['66-63=3', '39-39=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[39, 13], Operations: ['66-63=3', '39/3=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[66, 39, 63, 39], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [39, 39, 3]
Generated Node #0,3: 52:[39, 39, 3] Operation: 66-63=3
Moving to Node #0,3
Current State: 52:[39, 39, 3], Operations: ['66-63=3']
Exploring Operation: 39/3=13, Resulting Numbers: [39, 13]
Generated Node #0,3,1: 52:[39, 13] Operation: 39/3=13
Moving to Node #0,3,1
Current State: 52:[39, 13], Operations: ['66-63=3', '39/3=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.947917
|
hs_4
|
mult_heuristic
|
[
69,
4,
30,
60
] | 25
|
[
"69-4=65",
"30+60=90",
"90-65=25"
] |
Current State: 25:[69, 4, 30, 60], Operations: []
Exploring Operation: 69-4=65, Resulting Numbers: [30, 60, 65]
Generated Node #2: [30, 60, 65] from Operation: 69-4=65
Current State: 25:[30, 60, 65], Operations: ['69-4=65']
Exploring Operation: 30+60=90, Resulting Numbers: [65, 90]
Generated Node #3: [65, 90] from Operation: 30+60=90
Current State: 25:[65, 90], Operations: ['69-4=65', '30+60=90']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[69, 4, 30, 60], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [4, 30, 9]
Generated Node #0,0: 25:[4, 30, 9] Operation: 69-60=9
Exploring Operation: 69-30=39, Resulting Numbers: [4, 60, 39]
Generated Node #0,1: 25:[4, 60, 39] Operation: 69-30=39
Exploring Operation: 60/30=2, Resulting Numbers: [69, 4, 2]
Generated Node #0,2: 25:[69, 4, 2] Operation: 60/30=2
Moving to Node #0,0
Current State: 25:[4, 30, 9], Operations: ['69-60=9']
Exploring Operation: 30-9=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 25:[4, 21] Operation: 30-9=21
Exploring Operation: 9-4=5, Resulting Numbers: [30, 5]
Generated Node #0,0,1: 25:[30, 5] Operation: 9-4=5
Exploring Operation: 30-4=26, Resulting Numbers: [9, 26]
Generated Node #0,0,2: 25:[9, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[4, 21], Operations: ['69-60=9', '30-9=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[69, 4, 30, 60], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [4, 30, 9]
Generated Node #0,0: 25:[4, 30, 9] Operation: 69-60=9
Moving to Node #0,0
Current State: 25:[4, 30, 9], Operations: ['69-60=9']
Exploring Operation: 30-9=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 25:[4, 21] Operation: 30-9=21
Moving to Node #0,0,0
Current State: 25:[4, 21], Operations: ['69-60=9', '30-9=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
82,
71,
61,
59
] | 33
|
[
"82+71=153",
"61+59=120",
"153-120=33"
] |
Current State: 33:[82, 71, 61, 59], Operations: []
Exploring Operation: 82+71=153, Resulting Numbers: [61, 59, 153]
Generated Node #2: [61, 59, 153] from Operation: 82+71=153
Current State: 33:[61, 59, 153], Operations: ['82+71=153']
Exploring Operation: 61+59=120, Resulting Numbers: [153, 120]
Generated Node #3: [153, 120] from Operation: 61+59=120
Current State: 33:[153, 120], Operations: ['82+71=153', '61+59=120']
Exploring Operation: 153-120=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[82, 71, 61, 59], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [82, 59, 10]
Generated Node #0,0: 33:[82, 59, 10] Operation: 71-61=10
Exploring Operation: 82-71=11, Resulting Numbers: [61, 59, 11]
Generated Node #0,1: 33:[61, 59, 11] Operation: 82-71=11
Exploring Operation: 82-59=23, Resulting Numbers: [71, 61, 23]
Generated Node #0,2: 33:[71, 61, 23] Operation: 82-59=23
Exploring Operation: 82-61=21, Resulting Numbers: [71, 59, 21]
Generated Node #0,3: 33:[71, 59, 21] Operation: 82-61=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[61, 59, 11], Operations: ['82-71=11']
Exploring Operation: 61+11=72, Resulting Numbers: [59, 72]
Generated Node #0,1,0: 33:[59, 72] Operation: 61+11=72
Exploring Operation: 61-11=50, Resulting Numbers: [59, 50]
Generated Node #0,1,1: 33:[59, 50] Operation: 61-11=50
Exploring Operation: 61-59=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 33:[11, 2] Operation: 61-59=2
Exploring Operation: 59-11=48, Resulting Numbers: [61, 48]
Generated Node #0,1,3: 33:[61, 48] Operation: 59-11=48
Moving to Node #0,1,2
Current State: 33:[11, 2], Operations: ['82-71=11', '61-59=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[61, 48], Operations: ['82-71=11', '59-11=48']
Exploring Operation: 61+48=109, Resulting Numbers: [109]
109,33 unequal: No Solution
Exploring Operation: 61*48=2928, Resulting Numbers: [2928]
2928,33 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[59, 50], Operations: ['82-71=11', '61-11=50']
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,33 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[59, 72], Operations: ['82-71=11', '61+11=72']
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,33 unequal: No Solution
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[71, 59, 21], Operations: ['82-61=21']
Exploring Operation: 59-21=38, Resulting Numbers: [71, 38]
Generated Node #0,3,0: 33:[71, 38] Operation: 59-21=38
Exploring Operation: 71-21=50, Resulting Numbers: [59, 50]
Generated Node #0,3,1: 33:[59, 50] Operation: 71-21=50
Exploring Operation: 71+21=92, Resulting Numbers: [59, 92]
Generated Node #0,3,2: 33:[59, 92] Operation: 71+21=92
Exploring Operation: 71-59=12, Resulting Numbers: [21, 12]
Generated Node #0,3,3: 33:[21, 12] Operation: 71-59=12
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[21, 12], Operations: ['82-61=21', '71-59=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[82, 71, 61, 59], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [71, 59, 21]
Generated Node #0,3: 33:[71, 59, 21] Operation: 82-61=21
Moving to Node #0,3
Current State: 33:[71, 59, 21], Operations: ['82-61=21']
Exploring Operation: 71-59=12, Resulting Numbers: [21, 12]
Generated Node #0,3,3: 33:[21, 12] Operation: 71-59=12
Moving to Node #0,3,3
Current State: 33:[21, 12], Operations: ['82-61=21', '71-59=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826
|
hs_4
|
sum_heuristic
|
[
32,
99,
66,
30
] | 29
|
[
"99-32=67",
"66+30=96",
"96-67=29"
] |
Current State: 29:[32, 99, 66, 30], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [66, 30, 67]
Generated Node #2: [66, 30, 67] from Operation: 99-32=67
Current State: 29:[66, 30, 67], Operations: ['99-32=67']
Exploring Operation: 66+30=96, Resulting Numbers: [67, 96]
Generated Node #3: [67, 96] from Operation: 66+30=96
Current State: 29:[67, 96], Operations: ['99-32=67', '66+30=96']
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[32, 99, 66, 30], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [32, 30, 33]
Generated Node #0,0: 29:[32, 30, 33] Operation: 99-66=33
Moving to Node #0,0
Current State: 29:[32, 30, 33], Operations: ['99-66=33']
Exploring Operation: 33-32=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 29:[30, 1] Operation: 33-32=1
Moving to Node #0,0,0
Current State: 29:[30, 1], Operations: ['99-66=33', '33-32=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[32, 99, 66, 30], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [32, 30, 33]
Generated Node #0,0: 29:[32, 30, 33] Operation: 99-66=33
Moving to Node #0,0
Current State: 29:[32, 30, 33], Operations: ['99-66=33']
Exploring Operation: 33-32=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 29:[30, 1] Operation: 33-32=1
Moving to Node #0,0,0
Current State: 29:[30, 1], Operations: ['99-66=33', '33-32=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
42,
51,
59,
80
] | 72
|
[
"42+51=93",
"80-59=21",
"93-21=72"
] |
Current State: 72:[42, 51, 59, 80], Operations: []
Exploring Operation: 42+51=93, Resulting Numbers: [59, 80, 93]
Generated Node #2: [59, 80, 93] from Operation: 42+51=93
Current State: 72:[59, 80, 93], Operations: ['42+51=93']
Exploring Operation: 80-59=21, Resulting Numbers: [93, 21]
Generated Node #3: [93, 21] from Operation: 80-59=21
Current State: 72:[93, 21], Operations: ['42+51=93', '80-59=21']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4
|
Current State: 72:[42, 51, 59, 80], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [59, 80, 9]
Generated Node #0,0: 72:[59, 80, 9] Operation: 51-42=9
Exploring Operation: 80-51=29, Resulting Numbers: [42, 59, 29]
Generated Node #0,1: 72:[42, 59, 29] Operation: 80-51=29
Exploring Operation: 59-51=8, Resulting Numbers: [42, 80, 8]
Generated Node #0,2: 72:[42, 80, 8] Operation: 59-51=8
Exploring Operation: 59-42=17, Resulting Numbers: [51, 80, 17]
Generated Node #0,3: 72:[51, 80, 17] Operation: 59-42=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[42, 80, 8], Operations: ['59-51=8']
Exploring Operation: 42-8=34, Resulting Numbers: [80, 34]
Generated Node #0,2,0: 72:[80, 34] Operation: 42-8=34
Exploring Operation: 80/8=10, Resulting Numbers: [42, 10]
Generated Node #0,2,1: 72:[42, 10] Operation: 80/8=10
Exploring Operation: 80-8=72, Resulting Numbers: [42, 72]
Generated Node #0,2,2: 72:[42, 72] Operation: 80-8=72
Exploring Operation: 80-42=38, Resulting Numbers: [8, 38]
Generated Node #0,2,3: 72:[8, 38] Operation: 80-42=38
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 72:[8, 38], Operations: ['59-51=8', '80-42=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[42, 72], Operations: ['59-51=8', '80-8=72']
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,72 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,72 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[42, 10], Operations: ['59-51=8', '80/8=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[80, 34], Operations: ['59-51=8', '42-8=34']
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,72 unequal: No Solution
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,72 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[59, 80, 9], Operations: ['51-42=9']
Exploring Operation: 80-59=21, Resulting Numbers: [9, 21]
Generated Node #0,0,0: 72:[9, 21] Operation: 80-59=21
Exploring Operation: 59+9=68, Resulting Numbers: [80, 68]
Generated Node #0,0,1: 72:[80, 68] Operation: 59+9=68
Exploring Operation: 80-9=71, Resulting Numbers: [59, 71]
Generated Node #0,0,2: 72:[59, 71] Operation: 80-9=71
Exploring Operation: 59-9=50, Resulting Numbers: [80, 50]
Generated Node #0,0,3: 72:[80, 50] Operation: 59-9=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[9, 21], Operations: ['51-42=9', '80-59=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,72 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,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:[80, 68], Operations: ['51-42=9', '59+9=68']
Exploring Operation: 80+68=148, Resulting Numbers: [148]
148,72 unequal: No Solution
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 80*68=5440, Resulting Numbers: [5440]
5440,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,2
Current State: 72:[59, 71], Operations: ['51-42=9', '80-9=71']
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,72 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 59*71=4189, Resulting Numbers: [4189]
4189,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,3
Current State: 72:[80, 50], Operations: ['51-42=9', '59-9=50']
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,72 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,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,1
Current State: 72:[42, 59, 29], Operations: ['80-51=29']
Exploring Operation: 59-42=17, Resulting Numbers: [29, 17]
Generated Node #0,1,0: 72:[29, 17] Operation: 59-42=17
Exploring Operation: 42+29=71, Resulting Numbers: [59, 71]
Generated Node #0,1,1: 72:[59, 71] Operation: 42+29=71
Exploring Operation: 42-29=13, Resulting Numbers: [59, 13]
Generated Node #0,1,2: 72:[59, 13] Operation: 42-29=13
Exploring Operation: 59-29=30, Resulting Numbers: [42, 30]
Generated Node #0,1,3: 72:[42, 30] Operation: 59-29=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[29, 17], Operations: ['80-51=29', '59-42=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,72 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[42, 30], Operations: ['80-51=29', '59-29=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,72 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[42, 51, 59, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [42, 59, 29]
Generated Node #0,1: 72:[42, 59, 29] Operation: 80-51=29
Moving to Node #0,1
Current State: 72:[42, 59, 29], Operations: ['80-51=29']
Exploring Operation: 59-29=30, Resulting Numbers: [42, 30]
Generated Node #0,1,3: 72:[42, 30] Operation: 59-29=30
Moving to Node #0,1,3
Current State: 72:[42, 30], Operations: ['80-51=29', '59-29=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597
|
hs_4
|
sum_heuristic
|
[
34,
4,
12,
39
] | 57
|
[
"34-4=30",
"39-12=27",
"30+27=57"
] |
Current State: 57:[34, 4, 12, 39], Operations: []
Exploring Operation: 34-4=30, Resulting Numbers: [12, 39, 30]
Generated Node #2: [12, 39, 30] from Operation: 34-4=30
Current State: 57:[12, 39, 30], Operations: ['34-4=30']
Exploring Operation: 39-12=27, Resulting Numbers: [30, 27]
Generated Node #3: [30, 27] from Operation: 39-12=27
Current State: 57:[30, 27], Operations: ['34-4=30', '39-12=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4
|
Current State: 57:[34, 4, 12, 39], Operations: []
Exploring Operation: 34+39=73, Resulting Numbers: [4, 12, 73]
Generated Node #0,0: 57:[4, 12, 73] Operation: 34+39=73
Exploring Operation: 39-12=27, Resulting Numbers: [34, 4, 27]
Generated Node #0,1: 57:[34, 4, 27] Operation: 39-12=27
Exploring Operation: 34-12=22, Resulting Numbers: [4, 39, 22]
Generated Node #0,2: 57:[4, 39, 22] Operation: 34-12=22
Exploring Operation: 12+39=51, Resulting Numbers: [34, 4, 51]
Generated Node #0,3: 57:[34, 4, 51] Operation: 12+39=51
Exploring Operation: 39-34=5, Resulting Numbers: [4, 12, 5]
Generated Node #0,4: 57:[4, 12, 5] Operation: 39-34=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[4, 12, 5], Operations: ['39-34=5']
Exploring Operation: 12/4=3, Resulting Numbers: [5, 3]
Generated Node #0,4,0: 57:[5, 3] Operation: 12/4=3
Exploring Operation: 4+12=16, Resulting Numbers: [5, 16]
Generated Node #0,4,1: 57:[5, 16] Operation: 4+12=16
Exploring Operation: 12-5=7, Resulting Numbers: [4, 7]
Generated Node #0,4,2: 57:[4, 7] Operation: 12-5=7
Exploring Operation: 12+5=17, Resulting Numbers: [4, 17]
Generated Node #0,4,3: 57:[4, 17] Operation: 12+5=17
Exploring Operation: 12*5=60, Resulting Numbers: [4, 60]
Generated Node #0,4,4: 57:[4, 60] Operation: 12*5=60
Moving to Node #0,4,0
Current State: 57:[5, 3], Operations: ['39-34=5', '12/4=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[4, 17], Operations: ['39-34=5', '12+5=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[4, 60], Operations: ['39-34=5', '12*5=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,57 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[5, 16], Operations: ['39-34=5', '4+12=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[4, 7], Operations: ['39-34=5', '12-5=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[4, 39, 22], Operations: ['34-12=22']
Exploring Operation: 22-4=18, Resulting Numbers: [39, 18]
Generated Node #0,2,0: 57:[39, 18] Operation: 22-4=18
Exploring Operation: 39-4=35, Resulting Numbers: [22, 35]
Generated Node #0,2,1: 57:[22, 35] Operation: 39-4=35
Exploring Operation: 4+39=43, Resulting Numbers: [22, 43]
Generated Node #0,2,2: 57:[22, 43] Operation: 4+39=43
Exploring Operation: 39+22=61, Resulting Numbers: [4, 61]
Generated Node #0,2,3: 57:[4, 61] Operation: 39+22=61
Exploring Operation: 39-22=17, Resulting Numbers: [4, 17]
Generated Node #0,2,4: 57:[4, 17] Operation: 39-22=17
Moving to Node #0,2,4
Current State: 57:[4, 17], Operations: ['34-12=22', '39-22=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[4, 61], Operations: ['34-12=22', '39+22=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[34, 4, 12, 39], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [4, 39, 22]
Generated Node #0,2: 57:[4, 39, 22] Operation: 34-12=22
Moving to Node #0,2
Current State: 57:[4, 39, 22], Operations: ['34-12=22']
Exploring Operation: 39+22=61, Resulting Numbers: [4, 61]
Generated Node #0,2,3: 57:[4, 61] Operation: 39+22=61
Moving to Node #0,2,3
Current State: 57:[4, 61], Operations: ['34-12=22', '39+22=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146
|
hs_5
|
mult_heuristic
|
[
44,
56,
58,
49
] | 39
|
[
"58-56=2",
"44*2=88",
"88-49=39"
] |
Current State: 39:[44, 56, 58, 49], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [44, 49, 2]
Generated Node #2: [44, 49, 2] from Operation: 58-56=2
Current State: 39:[44, 49, 2], Operations: ['58-56=2']
Exploring Operation: 44*2=88, Resulting Numbers: [49, 88]
Generated Node #3: [49, 88] from Operation: 44*2=88
Current State: 39:[49, 88], Operations: ['58-56=2', '44*2=88']
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[44, 56, 58, 49], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [44, 49, 2]
Generated Node #0,0: 39:[44, 49, 2] Operation: 58-56=2
Moving to Node #0,0
Current State: 39:[44, 49, 2], Operations: ['58-56=2']
Exploring Operation: 49-44=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 39:[2, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[2, 5], Operations: ['58-56=2', '49-44=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
24,
54,
33,
73
] | 79
|
[
"33-24=9",
"54/9=6",
"73+6=79"
] |
Current State: 79:[24, 54, 33, 73], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [54, 73, 9]
Generated Node #2: [54, 73, 9] from Operation: 33-24=9
Current State: 79:[54, 73, 9], Operations: ['33-24=9']
Exploring Operation: 54/9=6, Resulting Numbers: [73, 6]
Generated Node #3: [73, 6] from Operation: 54/9=6
Current State: 79:[73, 6], Operations: ['33-24=9', '54/9=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4
|
Current State: 79:[24, 54, 33, 73], Operations: []
Exploring Operation: 24+33=57, Resulting Numbers: [54, 73, 57]
Generated Node #0,0: 79:[54, 73, 57] Operation: 24+33=57
Exploring Operation: 24+54=78, Resulting Numbers: [33, 73, 78]
Generated Node #0,1: 79:[33, 73, 78] Operation: 24+54=78
Exploring Operation: 54+33=87, Resulting Numbers: [24, 73, 87]
Generated Node #0,2: 79:[24, 73, 87] Operation: 54+33=87
Moving to Node #0,0
Current State: 79:[54, 73, 57], Operations: ['24+33=57']
Exploring Operation: 54+57=111, Resulting Numbers: [73, 111]
Generated Node #0,0,0: 79:[73, 111] Operation: 54+57=111
Exploring Operation: 73+57=130, Resulting Numbers: [54, 130]
Generated Node #0,0,1: 79:[54, 130] Operation: 73+57=130
Exploring Operation: 54+73=127, Resulting Numbers: [57, 127]
Generated Node #0,0,2: 79:[57, 127] Operation: 54+73=127
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[73, 111], Operations: ['24+33=57', '54+57=111']
Exploring Operation: 73*111=8103, Resulting Numbers: [8103]
8103,79 unequal: No Solution
Exploring Operation: 111-73=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 73+111=184, Resulting Numbers: [184]
184,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[57, 127], Operations: ['24+33=57', '54+73=127']
Exploring Operation: 57+127=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Exploring Operation: 57*127=7239, Resulting Numbers: [7239]
7239,79 unequal: No Solution
Exploring Operation: 127-57=70, Resulting Numbers: [70]
70,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[54, 130], Operations: ['24+33=57', '73+57=130']
Exploring Operation: 54+130=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Exploring Operation: 54*130=7020, Resulting Numbers: [7020]
7020,79 unequal: No Solution
Exploring Operation: 130-54=76, Resulting Numbers: [76]
76,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 79:[33, 73, 78], Operations: ['24+54=78']
Exploring Operation: 73-33=40, Resulting Numbers: [78, 40]
Generated Node #0,1,0: 79:[78, 40] Operation: 73-33=40
Exploring Operation: 33+78=111, Resulting Numbers: [73, 111]
Generated Node #0,1,1: 79:[73, 111] Operation: 33+78=111
Exploring Operation: 33+73=106, Resulting Numbers: [78, 106]
Generated Node #0,1,2: 79:[78, 106] Operation: 33+73=106
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[78, 106], Operations: ['24+54=78', '33+73=106']
Exploring Operation: 78*106=8268, Resulting Numbers: [8268]
8268,79 unequal: No Solution
Exploring Operation: 106-78=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 78+106=184, Resulting Numbers: [184]
184,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[73, 111], Operations: ['24+54=78', '33+78=111']
Exploring Operation: 73+111=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Exploring Operation: 111-73=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 73*111=8103, Resulting Numbers: [8103]
8103,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[78, 40], Operations: ['24+54=78', '73-33=40']
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,79 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,79 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,79 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: 79:[24, 73, 87], Operations: ['54+33=87']
Exploring Operation: 73-24=49, Resulting Numbers: [87, 49]
Generated Node #0,2,0: 79:[87, 49] Operation: 73-24=49
Exploring Operation: 24+73=97, Resulting Numbers: [87, 97]
Generated Node #0,2,1: 79:[87, 97] Operation: 24+73=97
Exploring Operation: 87-24=63, Resulting Numbers: [73, 63]
Generated Node #0,2,2: 79:[73, 63] Operation: 87-24=63
Moving to Node #0,2,2
Current State: 79:[73, 63], Operations: ['54+33=87', '87-24=63']
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,79 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[87, 97], Operations: ['54+33=87', '24+73=97']
Exploring Operation: 97-87=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 87*97=8439, Resulting Numbers: [8439]
8439,79 unequal: No Solution
Exploring Operation: 87+97=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[87, 49], Operations: ['54+33=87', '73-24=49']
Exploring Operation: 87+49=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 87-49=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 87*49=4263, Resulting Numbers: [4263]
4263,79 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
88,
23,
89,
53
] | 75
|
[
"88+23=111",
"89-53=36",
"111-36=75"
] |
Current State: 75:[88, 23, 89, 53], Operations: []
Exploring Operation: 88+23=111, Resulting Numbers: [89, 53, 111]
Generated Node #2: [89, 53, 111] from Operation: 88+23=111
Current State: 75:[89, 53, 111], Operations: ['88+23=111']
Exploring Operation: 89-53=36, Resulting Numbers: [111, 36]
Generated Node #3: [111, 36] from Operation: 89-53=36
Current State: 75:[111, 36], Operations: ['88+23=111', '89-53=36']
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4
|
Current State: 75:[88, 23, 89, 53], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [23, 89, 35]
Generated Node #0,0: 75:[23, 89, 35] Operation: 88-53=35
Exploring Operation: 23+53=76, Resulting Numbers: [88, 89, 76]
Generated Node #0,1: 75:[88, 89, 76] Operation: 23+53=76
Exploring Operation: 89-53=36, Resulting Numbers: [88, 23, 36]
Generated Node #0,2: 75:[88, 23, 36] Operation: 89-53=36
Exploring Operation: 89-88=1, Resulting Numbers: [23, 53, 1]
Generated Node #0,3: 75:[23, 53, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[23, 89, 35], Operations: ['88-53=35']
Exploring Operation: 89-35=54, Resulting Numbers: [23, 54]
Generated Node #0,0,0: 75:[23, 54] Operation: 89-35=54
Exploring Operation: 89-23=66, Resulting Numbers: [35, 66]
Generated Node #0,0,1: 75:[35, 66] Operation: 89-23=66
Exploring Operation: 23+35=58, Resulting Numbers: [89, 58]
Generated Node #0,0,2: 75:[89, 58] Operation: 23+35=58
Exploring Operation: 35-23=12, Resulting Numbers: [89, 12]
Generated Node #0,0,3: 75:[89, 12] Operation: 35-23=12
Moving to Node #0,0,3
Current State: 75:[89, 12], Operations: ['88-53=35', '35-23=12']
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[35, 66], Operations: ['88-53=35', '89-23=66']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[23, 54], Operations: ['88-53=35', '89-35=54']
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,75 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[89, 58], Operations: ['88-53=35', '23+35=58']
Exploring Operation: 89+58=147, Resulting Numbers: [147]
147,75 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 89*58=5162, Resulting Numbers: [5162]
5162,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[88, 23, 36], Operations: ['89-53=36']
Exploring Operation: 36-23=13, Resulting Numbers: [88, 13]
Generated Node #0,2,0: 75:[88, 13] Operation: 36-23=13
Exploring Operation: 23+36=59, Resulting Numbers: [88, 59]
Generated Node #0,2,1: 75:[88, 59] Operation: 23+36=59
Exploring Operation: 88-23=65, Resulting Numbers: [36, 65]
Generated Node #0,2,2: 75:[36, 65] Operation: 88-23=65
Exploring Operation: 88-36=52, Resulting Numbers: [23, 52]
Generated Node #0,2,3: 75:[23, 52] Operation: 88-36=52
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[88, 13], Operations: ['89-53=36', '36-23=13']
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 88*13=1144, Resulting Numbers: [1144]
1144,75 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[88, 23, 89, 53], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [88, 23, 36]
Generated Node #0,2: 75:[88, 23, 36] Operation: 89-53=36
Moving to Node #0,2
Current State: 75:[88, 23, 36], Operations: ['89-53=36']
Exploring Operation: 36-23=13, Resulting Numbers: [88, 13]
Generated Node #0,2,0: 75:[88, 13] Operation: 36-23=13
Moving to Node #0,2,0
Current State: 75:[88, 13], Operations: ['89-53=36', '36-23=13']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309
|
hs_4
|
mult_heuristic
|
[
36,
25,
97,
94
] | 33
|
[
"36-25=11",
"97-94=3",
"11*3=33"
] |
Current State: 33:[36, 25, 97, 94], Operations: []
Exploring Operation: 36-25=11, Resulting Numbers: [97, 94, 11]
Generated Node #2: [97, 94, 11] from Operation: 36-25=11
Current State: 33:[97, 94, 11], Operations: ['36-25=11']
Exploring Operation: 97-94=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 97-94=3
Current State: 33:[11, 3], Operations: ['36-25=11', '97-94=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[36, 25, 97, 94], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [36, 25, 3]
Generated Node #0,0: 33:[36, 25, 3] Operation: 97-94=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[36, 25, 3], Operations: ['97-94=3']
Exploring Operation: 36-25=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 33:[3, 11] Operation: 36-25=11
Moving to Node #0,0,0
Current State: 33:[3, 11], Operations: ['97-94=3', '36-25=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[36, 25, 97, 94], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [36, 25, 3]
Generated Node #0,0: 33:[36, 25, 3] Operation: 97-94=3
Moving to Node #0,0
Current State: 33:[36, 25, 3], Operations: ['97-94=3']
Exploring Operation: 36-25=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 33:[3, 11] Operation: 36-25=11
Moving to Node #0,0,0
Current State: 33:[3, 11], Operations: ['97-94=3', '36-25=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
20,
96,
98,
36
] | 92
|
[
"36-20=16",
"96/16=6",
"98-6=92"
] |
Current State: 92:[20, 96, 98, 36], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [96, 98, 16]
Generated Node #2: [96, 98, 16] from Operation: 36-20=16
Current State: 92:[96, 98, 16], Operations: ['36-20=16']
Exploring Operation: 96/16=6, Resulting Numbers: [98, 6]
Generated Node #3: [98, 6] from Operation: 96/16=6
Current State: 92:[98, 6], Operations: ['36-20=16', '96/16=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[20, 96, 98, 36], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [20, 36, 2]
Generated Node #0,0: 92:[20, 36, 2] Operation: 98-96=2
Exploring Operation: 36-20=16, Resulting Numbers: [96, 98, 16]
Generated Node #0,1: 92:[96, 98, 16] Operation: 36-20=16
Moving to Node #0,0
Current State: 92:[20, 36, 2], Operations: ['98-96=2']
Exploring Operation: 36/2=18, Resulting Numbers: [20, 18]
Generated Node #0,0,0: 92:[20, 18] Operation: 36/2=18
Exploring Operation: 36-20=16, Resulting Numbers: [2, 16]
Generated Node #0,0,1: 92:[2, 16] Operation: 36-20=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[2, 16], Operations: ['98-96=2', '36-20=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,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:[20, 18], Operations: ['98-96=2', '36/2=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,92 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: 92:[96, 98, 16], Operations: ['36-20=16']
Exploring Operation: 96/16=6, Resulting Numbers: [98, 6]
Generated Node #0,1,0: 92:[98, 6] Operation: 96/16=6
Exploring Operation: 98-96=2, Resulting Numbers: [16, 2]
Generated Node #0,1,1: 92:[16, 2] Operation: 98-96=2
Moving to Node #0,1,1
Current State: 92:[16, 2], Operations: ['36-20=16', '98-96=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[98, 6], Operations: ['36-20=16', '96/16=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[20, 96, 98, 36], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [96, 98, 16]
Generated Node #0,1: 92:[96, 98, 16] Operation: 36-20=16
Moving to Node #0,1
Current State: 92:[96, 98, 16], Operations: ['36-20=16']
Exploring Operation: 96/16=6, Resulting Numbers: [98, 6]
Generated Node #0,1,0: 92:[98, 6] Operation: 96/16=6
Moving to Node #0,1,0
Current State: 92:[98, 6], Operations: ['36-20=16', '96/16=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.985243
|
hs_2
|
mult_heuristic
|
[
98,
86,
43,
7
] | 84
|
[
"86/43=2",
"7*2=14",
"98-14=84"
] |
Current State: 84:[98, 86, 43, 7], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [98, 7, 2]
Generated Node #2: [98, 7, 2] from Operation: 86/43=2
Current State: 84:[98, 7, 2], Operations: ['86/43=2']
Exploring Operation: 7*2=14, Resulting Numbers: [98, 14]
Generated Node #3: [98, 14] from Operation: 7*2=14
Current State: 84:[98, 14], Operations: ['86/43=2', '7*2=14']
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[98, 86, 43, 7], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [43, 7, 12]
Generated Node #0,0: 84:[43, 7, 12] Operation: 98-86=12
Moving to Node #0,0
Current State: 84:[43, 7, 12], Operations: ['98-86=12']
Exploring Operation: 7*12=84, Resulting Numbers: [43, 84]
Generated Node #0,0,0: 84:[43, 84] Operation: 7*12=84
Moving to Node #0,0,0
Current State: 84:[43, 84], Operations: ['98-86=12', '7*12=84']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,84 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
11,
76,
1,
14
] | 72
|
[
"11+76=87",
"1+14=15",
"87-15=72"
] |
Current State: 72:[11, 76, 1, 14], Operations: []
Exploring Operation: 11+76=87, Resulting Numbers: [1, 14, 87]
Generated Node #2: [1, 14, 87] from Operation: 11+76=87
Current State: 72:[1, 14, 87], Operations: ['11+76=87']
Exploring Operation: 1+14=15, Resulting Numbers: [87, 15]
Generated Node #3: [87, 15] from Operation: 1+14=15
Current State: 72:[87, 15], Operations: ['11+76=87', '1+14=15']
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4
|
Current State: 72:[11, 76, 1, 14], Operations: []
Exploring Operation: 11+1=12, Resulting Numbers: [76, 14, 12]
Generated Node #0,0: 72:[76, 14, 12] Operation: 11+1=12
Exploring Operation: 14-11=3, Resulting Numbers: [76, 1, 3]
Generated Node #0,1: 72:[76, 1, 3] Operation: 14-11=3
Exploring Operation: 11+14=25, Resulting Numbers: [76, 1, 25]
Generated Node #0,2: 72:[76, 1, 25] Operation: 11+14=25
Moving to Node #0,1
Current State: 72:[76, 1, 3], Operations: ['14-11=3']
Exploring Operation: 76-1=75, Resulting Numbers: [3, 75]
Generated Node #0,1,0: 72:[3, 75] Operation: 76-1=75
Exploring Operation: 76*1=76, Resulting Numbers: [3, 76]
Generated Node #0,1,1: 72:[3, 76] Operation: 76*1=76
Exploring Operation: 76-3=73, Resulting Numbers: [1, 73]
Generated Node #0,1,2: 72:[1, 73] Operation: 76-3=73
Moving to Node #0,0
Current State: 72:[76, 14, 12], Operations: ['11+1=12']
Exploring Operation: 76-14=62, Resulting Numbers: [12, 62]
Generated Node #0,0,0: 72:[12, 62] Operation: 76-14=62
Exploring Operation: 14+12=26, Resulting Numbers: [76, 26]
Generated Node #0,0,1: 72:[76, 26] Operation: 14+12=26
Exploring Operation: 14-12=2, Resulting Numbers: [76, 2]
Generated Node #0,0,2: 72:[76, 2] Operation: 14-12=2
Moving to Node #0,2
Current State: 72:[76, 1, 25], Operations: ['11+14=25']
Exploring Operation: 76-1=75, Resulting Numbers: [25, 75]
Generated Node #0,2,0: 72:[25, 75] Operation: 76-1=75
Exploring Operation: 76*1=76, Resulting Numbers: [25, 76]
Generated Node #0,2,1: 72:[25, 76] Operation: 76*1=76
Exploring Operation: 25-1=24, Resulting Numbers: [76, 24]
Generated Node #0,2,2: 72:[76, 24] Operation: 25-1=24
Moving to Node #0,1,2
Current State: 72:[1, 73], Operations: ['14-11=3', '76-3=73']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[11, 76, 1, 14], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [76, 1, 3]
Generated Node #0,1: 72:[76, 1, 3] Operation: 14-11=3
Moving to Node #0,1
Current State: 72:[76, 1, 3], Operations: ['14-11=3']
Exploring Operation: 76-3=73, Resulting Numbers: [1, 73]
Generated Node #0,1,2: 72:[1, 73] Operation: 76-3=73
Moving to Node #0,1,2
Current State: 72:[1, 73], Operations: ['14-11=3', '76-3=73']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.985243
|
hs_3
|
sum_heuristic
|
[
18,
87,
26,
84
] | 96
|
[
"87-84=3",
"26*3=78",
"18+78=96"
] |
Current State: 96:[18, 87, 26, 84], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [18, 26, 3]
Generated Node #2: [18, 26, 3] from Operation: 87-84=3
Current State: 96:[18, 26, 3], Operations: ['87-84=3']
Exploring Operation: 26*3=78, Resulting Numbers: [18, 78]
Generated Node #3: [18, 78] from Operation: 26*3=78
Current State: 96:[18, 78], Operations: ['87-84=3', '26*3=78']
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[18, 87, 26, 84], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [87, 84, 8]
Generated Node #0,0: 96:[87, 84, 8] Operation: 26-18=8
Exploring Operation: 87-84=3, Resulting Numbers: [18, 26, 3]
Generated Node #0,1: 96:[18, 26, 3] Operation: 87-84=3
Exploring Operation: 18+84=102, Resulting Numbers: [87, 26, 102]
Generated Node #0,2: 96:[87, 26, 102] Operation: 18+84=102
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[18, 26, 3], Operations: ['87-84=3']
Exploring Operation: 18/3=6, Resulting Numbers: [26, 6]
Generated Node #0,1,0: 96:[26, 6] Operation: 18/3=6
Exploring Operation: 26-18=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 96:[3, 8] Operation: 26-18=8
Exploring Operation: 18-3=15, Resulting Numbers: [26, 15]
Generated Node #0,1,2: 96:[26, 15] Operation: 18-3=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[3, 8], Operations: ['87-84=3', '26-18=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,96 unequal: No Solution
No 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: 96:[26, 6], Operations: ['87-84=3', '18/3=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,96 unequal: No Solution
No 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: 96:[26, 15], Operations: ['87-84=3', '18-3=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,96 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: 96:[87, 26, 102], Operations: ['18+84=102']
Exploring Operation: 102-87=15, Resulting Numbers: [26, 15]
Generated Node #0,2,0: 96:[26, 15] Operation: 102-87=15
Exploring Operation: 87-26=61, Resulting Numbers: [102, 61]
Generated Node #0,2,1: 96:[102, 61] Operation: 87-26=61
Exploring Operation: 87+26=113, Resulting Numbers: [102, 113]
Generated Node #0,2,2: 96:[102, 113] Operation: 87+26=113
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[26, 15], Operations: ['18+84=102', '102-87=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,96 unequal: No Solution
No 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: 96:[102, 61], Operations: ['18+84=102', '87-26=61']
Exploring Operation: 102*61=6222, Resulting Numbers: [6222]
6222,96 unequal: No Solution
Exploring Operation: 102+61=163, Resulting Numbers: [163]
163,96 unequal: No Solution
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,96 unequal: No Solution
No 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: 96:[102, 113], Operations: ['18+84=102', '87+26=113']
Exploring Operation: 102+113=215, Resulting Numbers: [215]
215,96 unequal: No Solution
Exploring Operation: 102*113=11526, Resulting Numbers: [11526]
11526,96 unequal: No Solution
Exploring Operation: 113-102=11, Resulting Numbers: [11]
11,96 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: 96:[87, 84, 8], Operations: ['26-18=8']
Exploring Operation: 84+8=92, Resulting Numbers: [87, 92]
Generated Node #0,0,0: 96:[87, 92] Operation: 84+8=92
Exploring Operation: 87+8=95, Resulting Numbers: [84, 95]
Generated Node #0,0,1: 96:[84, 95] Operation: 87+8=95
Exploring Operation: 87-84=3, Resulting Numbers: [8, 3]
Generated Node #0,0,2: 96:[8, 3] Operation: 87-84=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[8, 3], Operations: ['26-18=8', '87-84=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,96 unequal: No Solution
No 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: 96:[87, 92], Operations: ['26-18=8', '84+8=92']
Exploring Operation: 92-87=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 87*92=8004, Resulting Numbers: [8004]
8004,96 unequal: No Solution
Exploring Operation: 87+92=179, Resulting Numbers: [179]
179,96 unequal: No Solution
No 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: 96:[84, 95], Operations: ['26-18=8', '87+8=95']
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 84*95=7980, Resulting Numbers: [7980]
7980,96 unequal: No Solution
Exploring Operation: 84+95=179, Resulting Numbers: [179]
179,96 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
|
[
34,
75,
63,
5
] | 41
|
[
"34+75=109",
"63+5=68",
"109-68=41"
] |
Current State: 41:[34, 75, 63, 5], Operations: []
Exploring Operation: 34+75=109, Resulting Numbers: [63, 5, 109]
Generated Node #2: [63, 5, 109] from Operation: 34+75=109
Current State: 41:[63, 5, 109], Operations: ['34+75=109']
Exploring Operation: 63+5=68, Resulting Numbers: [109, 68]
Generated Node #3: [109, 68] from Operation: 63+5=68
Current State: 41:[109, 68], Operations: ['34+75=109', '63+5=68']
Exploring Operation: 109-68=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[34, 75, 63, 5], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [34, 63, 15]
Generated Node #0,0: 41:[34, 63, 15] Operation: 75/5=15
Exploring Operation: 75-34=41, Resulting Numbers: [63, 5, 41]
Generated Node #0,1: 41:[63, 5, 41] Operation: 75-34=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[34, 63, 15], Operations: ['75/5=15']
Exploring Operation: 34+15=49, Resulting Numbers: [63, 49]
Generated Node #0,0,0: 41:[63, 49] Operation: 34+15=49
Exploring Operation: 63-15=48, Resulting Numbers: [34, 48]
Generated Node #0,0,1: 41:[34, 48] Operation: 63-15=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[34, 48], Operations: ['75/5=15', '63-15=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,41 unequal: No Solution
No 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: 41:[63, 49], Operations: ['75/5=15', '34+15=49']
Exploring Operation: 63+49=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,41 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: 41:[63, 5, 41], Operations: ['75-34=41']
Exploring Operation: 63-5=58, Resulting Numbers: [41, 58]
Generated Node #0,1,0: 41:[41, 58] Operation: 63-5=58
Exploring Operation: 63+5=68, Resulting Numbers: [41, 68]
Generated Node #0,1,1: 41:[41, 68] Operation: 63+5=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[41, 58], Operations: ['75-34=41', '63-5=58']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,41 unequal: No Solution
No 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: 41:[41, 68], Operations: ['75-34=41', '63+5=68']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,41 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
|
[
55,
15,
80,
91
] | 20
|
[
"91-80=11",
"55/11=5",
"15+5=20"
] |
Current State: 20:[55, 15, 80, 91], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [55, 15, 11]
Generated Node #2: [55, 15, 11] from Operation: 91-80=11
Current State: 20:[55, 15, 11], Operations: ['91-80=11']
Exploring Operation: 55/11=5, Resulting Numbers: [15, 5]
Generated Node #3: [15, 5] from Operation: 55/11=5
Current State: 20:[15, 5], Operations: ['91-80=11', '55/11=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[55, 15, 80, 91], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [55, 15, 11]
Generated Node #0,0: 20:[55, 15, 11] Operation: 91-80=11
Exploring Operation: 80-55=25, Resulting Numbers: [15, 91, 25]
Generated Node #0,1: 20:[15, 91, 25] Operation: 80-55=25
Exploring Operation: 91-55=36, Resulting Numbers: [15, 80, 36]
Generated Node #0,2: 20:[15, 80, 36] Operation: 91-55=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[55, 15, 11], Operations: ['91-80=11']
Exploring Operation: 55-15=40, Resulting Numbers: [11, 40]
Generated Node #0,0,0: 20:[11, 40] Operation: 55-15=40
Exploring Operation: 55/11=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 20:[15, 5] Operation: 55/11=5
Exploring Operation: 55-11=44, Resulting Numbers: [15, 44]
Generated Node #0,0,2: 20:[15, 44] Operation: 55-11=44
Moving to Node #0,0,1
Current State: 20:[15, 5], Operations: ['91-80=11', '55/11=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[55, 15, 80, 91], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [55, 15, 11]
Generated Node #0,0: 20:[55, 15, 11] Operation: 91-80=11
Moving to Node #0,0
Current State: 20:[55, 15, 11], Operations: ['91-80=11']
Exploring Operation: 55/11=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 20:[15, 5] Operation: 55/11=5
Moving to Node #0,0,1
Current State: 20:[15, 5], Operations: ['91-80=11', '55/11=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
sum_heuristic
|
[
82,
66,
5,
90
] | 38
|
[
"90-66=24",
"5*24=120",
"120-82=38"
] |
Current State: 38:[82, 66, 5, 90], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [82, 5, 24]
Generated Node #2: [82, 5, 24] from Operation: 90-66=24
Current State: 38:[82, 5, 24], Operations: ['90-66=24']
Exploring Operation: 5*24=120, Resulting Numbers: [82, 120]
Generated Node #3: [82, 120] from Operation: 5*24=120
Current State: 38:[82, 120], Operations: ['90-66=24', '5*24=120']
Exploring Operation: 120-82=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[82, 66, 5, 90], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [66, 5, 8]
Generated Node #0,0: 38:[66, 5, 8] Operation: 90-82=8
Exploring Operation: 90-66=24, Resulting Numbers: [82, 5, 24]
Generated Node #0,1: 38:[82, 5, 24] Operation: 90-66=24
Moving to Node #0,0
Current State: 38:[66, 5, 8], Operations: ['90-82=8']
Exploring Operation: 66-8=58, Resulting Numbers: [5, 58]
Generated Node #0,0,0: 38:[5, 58] Operation: 66-8=58
Exploring Operation: 66-5=61, Resulting Numbers: [8, 61]
Generated Node #0,0,1: 38:[8, 61] Operation: 66-5=61
Moving to Node #0,1
Current State: 38:[82, 5, 24], Operations: ['90-66=24']
Exploring Operation: 82-5=77, Resulting Numbers: [24, 77]
Generated Node #0,1,0: 38:[24, 77] Operation: 82-5=77
Exploring Operation: 82-24=58, Resulting Numbers: [5, 58]
Generated Node #0,1,1: 38:[5, 58] Operation: 82-24=58
Moving to Node #0,0,0
Current State: 38:[5, 58], Operations: ['90-82=8', '66-8=58']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[5, 58], Operations: ['90-66=24', '82-24=58']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[8, 61], Operations: ['90-82=8', '66-5=61']
Exploring Operation: 8+61=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[24, 77], Operations: ['90-66=24', '82-5=77']
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,38 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
79,
25,
4,
15
] | 85
|
[
"79+25=104",
"4+15=19",
"104-19=85"
] |
Current State: 85:[79, 25, 4, 15], Operations: []
Exploring Operation: 79+25=104, Resulting Numbers: [4, 15, 104]
Generated Node #2: [4, 15, 104] from Operation: 79+25=104
Current State: 85:[4, 15, 104], Operations: ['79+25=104']
Exploring Operation: 4+15=19, Resulting Numbers: [104, 19]
Generated Node #3: [104, 19] from Operation: 4+15=19
Current State: 85:[104, 19], Operations: ['79+25=104', '4+15=19']
Exploring Operation: 104-19=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[79, 25, 4, 15], Operations: []
Exploring Operation: 79+4=83, Resulting Numbers: [25, 15, 83]
Generated Node #0,0: 85:[25, 15, 83] Operation: 79+4=83
Exploring Operation: 25-4=21, Resulting Numbers: [79, 15, 21]
Generated Node #0,1: 85:[79, 15, 21] Operation: 25-4=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[25, 15, 83], Operations: ['79+4=83']
Exploring Operation: 25-15=10, Resulting Numbers: [83, 10]
Generated Node #0,0,0: 85:[83, 10] Operation: 25-15=10
Exploring Operation: 15+83=98, Resulting Numbers: [25, 98]
Generated Node #0,0,1: 85:[25, 98] Operation: 15+83=98
Moving to Node #0,0,0
Current State: 85:[83, 10], Operations: ['79+4=83', '25-15=10']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[25, 98], Operations: ['79+4=83', '15+83=98']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 25+98=123, Resulting Numbers: [123]
123,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[79, 15, 21], Operations: ['25-4=21']
Exploring Operation: 79+15=94, Resulting Numbers: [21, 94]
Generated Node #0,1,0: 85:[21, 94] Operation: 79+15=94
Exploring Operation: 21-15=6, Resulting Numbers: [79, 6]
Generated Node #0,1,1: 85:[79, 6] Operation: 21-15=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[79, 6], Operations: ['25-4=21', '21-15=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[79, 25, 4, 15], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [79, 15, 21]
Generated Node #0,1: 85:[79, 15, 21] Operation: 25-4=21
Moving to Node #0,1
Current State: 85:[79, 15, 21], Operations: ['25-4=21']
Exploring Operation: 21-15=6, Resulting Numbers: [79, 6]
Generated Node #0,1,1: 85:[79, 6] Operation: 21-15=6
Moving to Node #0,1,1
Current State: 85:[79, 6], Operations: ['25-4=21', '21-15=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111
|
hs_2
|
mult_heuristic
|
[
62,
4,
2,
8
] | 14
|
[
"62+2=64",
"64-8=56",
"56/4=14"
] |
Current State: 14:[62, 4, 2, 8], Operations: []
Exploring Operation: 62+2=64, Resulting Numbers: [4, 8, 64]
Generated Node #2: [4, 8, 64] from Operation: 62+2=64
Current State: 14:[4, 8, 64], Operations: ['62+2=64']
Exploring Operation: 64-8=56, Resulting Numbers: [4, 56]
Generated Node #3: [4, 56] from Operation: 64-8=56
Current State: 14:[4, 56], Operations: ['62+2=64', '64-8=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[62, 4, 2, 8], Operations: []
Exploring Operation: 62-8=54, Resulting Numbers: [4, 2, 54]
Generated Node #0,0: 14:[4, 2, 54] Operation: 62-8=54
Exploring Operation: 62/2=31, Resulting Numbers: [4, 8, 31]
Generated Node #0,1: 14:[4, 8, 31] Operation: 62/2=31
Moving to Node #0,1
Current State: 14:[4, 8, 31], Operations: ['62/2=31']
Exploring Operation: 31-4=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 14:[8, 27] Operation: 31-4=27
Exploring Operation: 31-8=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 14:[4, 23] Operation: 31-8=23
Moving to Node #0,0
Current State: 14:[4, 2, 54], Operations: ['62-8=54']
Exploring Operation: 54-4=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 14:[2, 50] Operation: 54-4=50
Exploring Operation: 54/2=27, Resulting Numbers: [4, 27]
Generated Node #0,0,1: 14:[4, 27] Operation: 54/2=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[4, 27], Operations: ['62-8=54', '54/2=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,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,0
Current State: 14:[2, 50], Operations: ['62-8=54', '54-4=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,14 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: 14:[4, 23], Operations: ['62/2=31', '31-8=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[8, 27], Operations: ['62/2=31', '31-4=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
75,
77,
14,
76
] | 60
|
[
"77-75=2",
"76-14=62",
"62-2=60"
] |
Current State: 60:[75, 77, 14, 76], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [14, 76, 2]
Generated Node #2: [14, 76, 2] from Operation: 77-75=2
Current State: 60:[14, 76, 2], Operations: ['77-75=2']
Exploring Operation: 76-14=62, Resulting Numbers: [2, 62]
Generated Node #3: [2, 62] from Operation: 76-14=62
Current State: 60:[2, 62], Operations: ['77-75=2', '76-14=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[75, 77, 14, 76], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [14, 76, 2]
Generated Node #0,0: 60:[14, 76, 2] Operation: 77-75=2
Exploring Operation: 77-14=63, Resulting Numbers: [75, 76, 63]
Generated Node #0,1: 60:[75, 76, 63] Operation: 77-14=63
Exploring Operation: 76-75=1, Resulting Numbers: [77, 14, 1]
Generated Node #0,2: 60:[77, 14, 1] Operation: 76-75=1
Exploring Operation: 77-76=1, Resulting Numbers: [75, 14, 1]
Generated Node #0,3: 60:[75, 14, 1] Operation: 77-76=1
Exploring Operation: 75-14=61, Resulting Numbers: [77, 76, 61]
Generated Node #0,4: 60:[77, 76, 61] Operation: 75-14=61
Moving to Node #0,0
Current State: 60:[14, 76, 2], Operations: ['77-75=2']
Exploring Operation: 76/2=38, Resulting Numbers: [14, 38]
Generated Node #0,0,0: 60:[14, 38] Operation: 76/2=38
Exploring Operation: 14+2=16, Resulting Numbers: [76, 16]
Generated Node #0,0,1: 60:[76, 16] Operation: 14+2=16
Exploring Operation: 76-14=62, Resulting Numbers: [2, 62]
Generated Node #0,0,2: 60:[2, 62] Operation: 76-14=62
Exploring Operation: 76-2=74, Resulting Numbers: [14, 74]
Generated Node #0,0,3: 60:[14, 74] Operation: 76-2=74
Exploring Operation: 14-2=12, Resulting Numbers: [76, 12]
Generated Node #0,0,4: 60:[76, 12] Operation: 14-2=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[2, 62], Operations: ['77-75=2', '76-14=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,60 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[75, 77, 14, 76], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [14, 76, 2]
Generated Node #0,0: 60:[14, 76, 2] Operation: 77-75=2
Moving to Node #0,0
Current State: 60:[14, 76, 2], Operations: ['77-75=2']
Exploring Operation: 76-14=62, Resulting Numbers: [2, 62]
Generated Node #0,0,2: 60:[2, 62] Operation: 76-14=62
Moving to Node #0,0,2
Current State: 60:[2, 62], Operations: ['77-75=2', '76-14=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
sum_heuristic
|
[
95,
8,
55,
51
] | 97
|
[
"55-51=4",
"8/4=2",
"95+2=97"
] |
Current State: 97:[95, 8, 55, 51], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [95, 8, 4]
Generated Node #2: [95, 8, 4] from Operation: 55-51=4
Current State: 97:[95, 8, 4], Operations: ['55-51=4']
Exploring Operation: 8/4=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 8/4=2
Current State: 97:[95, 2], Operations: ['55-51=4', '8/4=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[95, 8, 55, 51], Operations: []
Exploring Operation: 8+51=59, Resulting Numbers: [95, 55, 59]
Generated Node #0,0: 97:[95, 55, 59] Operation: 8+51=59
Exploring Operation: 8+55=63, Resulting Numbers: [95, 51, 63]
Generated Node #0,1: 97:[95, 51, 63] Operation: 8+55=63
Exploring Operation: 55-8=47, Resulting Numbers: [95, 51, 47]
Generated Node #0,2: 97:[95, 51, 47] Operation: 55-8=47
Exploring Operation: 95-8=87, Resulting Numbers: [55, 51, 87]
Generated Node #0,3: 97:[55, 51, 87] Operation: 95-8=87
Exploring Operation: 95+8=103, Resulting Numbers: [55, 51, 103]
Generated Node #0,4: 97:[55, 51, 103] Operation: 95+8=103
Moving to Node #0,0
Current State: 97:[95, 55, 59], Operations: ['8+51=59']
Exploring Operation: 95-55=40, Resulting Numbers: [59, 40]
Generated Node #0,0,0: 97:[59, 40] Operation: 95-55=40
Exploring Operation: 95+59=154, Resulting Numbers: [55, 154]
Generated Node #0,0,1: 97:[55, 154] Operation: 95+59=154
Exploring Operation: 95+55=150, Resulting Numbers: [59, 150]
Generated Node #0,0,2: 97:[59, 150] Operation: 95+55=150
Exploring Operation: 59-55=4, Resulting Numbers: [95, 4]
Generated Node #0,0,3: 97:[95, 4] Operation: 59-55=4
Exploring Operation: 55+59=114, Resulting Numbers: [95, 114]
Generated Node #0,0,4: 97:[95, 114] Operation: 55+59=114
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[95, 114], Operations: ['8+51=59', '55+59=114']
Exploring Operation: 114-95=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 95+114=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 95*114=10830, Resulting Numbers: [10830]
10830,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[59, 150], Operations: ['8+51=59', '95+55=150']
Exploring Operation: 59+150=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 59*150=8850, Resulting Numbers: [8850]
8850,97 unequal: No Solution
Exploring Operation: 150-59=91, Resulting Numbers: [91]
91,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[59, 40], Operations: ['8+51=59', '95-55=40']
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,97 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[95, 4], Operations: ['8+51=59', '59-55=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[55, 154], Operations: ['8+51=59', '95+59=154']
Exploring Operation: 55+154=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 154-55=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 55*154=8470, Resulting Numbers: [8470]
8470,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[95, 51, 63], Operations: ['8+55=63']
Exploring Operation: 95+63=158, Resulting Numbers: [51, 158]
Generated Node #0,1,0: 97:[51, 158] Operation: 95+63=158
Exploring Operation: 51+63=114, Resulting Numbers: [95, 114]
Generated Node #0,1,1: 97:[95, 114] Operation: 51+63=114
Exploring Operation: 95+51=146, Resulting Numbers: [63, 146]
Generated Node #0,1,2: 97:[63, 146] Operation: 95+51=146
Exploring Operation: 63-51=12, Resulting Numbers: [95, 12]
Generated Node #0,1,3: 97:[95, 12] Operation: 63-51=12
Exploring Operation: 95-51=44, Resulting Numbers: [63, 44]
Generated Node #0,1,4: 97:[63, 44] Operation: 95-51=44
Moving to Node #0,4
Current State: 97:[55, 51, 103], Operations: ['95+8=103']
Exploring Operation: 55+51=106, Resulting Numbers: [103, 106]
Generated Node #0,4,0: 97:[103, 106] Operation: 55+51=106
Exploring Operation: 51+103=154, Resulting Numbers: [55, 154]
Generated Node #0,4,1: 97:[55, 154] Operation: 51+103=154
Exploring Operation: 55-51=4, Resulting Numbers: [103, 4]
Generated Node #0,4,2: 97:[103, 4] Operation: 55-51=4
Exploring Operation: 103-51=52, Resulting Numbers: [55, 52]
Generated Node #0,4,3: 97:[55, 52] Operation: 103-51=52
Exploring Operation: 103-55=48, Resulting Numbers: [51, 48]
Generated Node #0,4,4: 97:[51, 48] Operation: 103-55=48
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[103, 106], Operations: ['95+8=103', '55+51=106']
Exploring Operation: 103+106=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 106-103=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 103*106=10918, Resulting Numbers: [10918]
10918,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[55, 52], Operations: ['95+8=103', '103-51=52']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,97 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 97:[51, 48], Operations: ['95+8=103', '103-55=48']
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,97 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 97:[55, 154], Operations: ['95+8=103', '51+103=154']
Exploring Operation: 55+154=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 154-55=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 55*154=8470, Resulting Numbers: [8470]
8470,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 97:[103, 4], Operations: ['95+8=103', '55-51=4']
Exploring Operation: 103*4=412, Resulting Numbers: [412]
412,97 unequal: No Solution
Exploring Operation: 103+4=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,97 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: 97:[95, 51, 47], Operations: ['55-8=47']
Exploring Operation: 95+47=142, Resulting Numbers: [51, 142]
Generated Node #0,2,0: 97:[51, 142] Operation: 95+47=142
Exploring Operation: 95+51=146, Resulting Numbers: [47, 146]
Generated Node #0,2,1: 97:[47, 146] Operation: 95+51=146
Exploring Operation: 51-47=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 97:[95, 4] Operation: 51-47=4
Exploring Operation: 51+47=98, Resulting Numbers: [95, 98]
Generated Node #0,2,3: 97:[95, 98] Operation: 51+47=98
Exploring Operation: 95-47=48, Resulting Numbers: [51, 48]
Generated Node #0,2,4: 97:[51, 48] Operation: 95-47=48
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[95, 98], Operations: ['55-8=47', '51+47=98']
Exploring Operation: 98-95=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 95+98=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 95*98=9310, Resulting Numbers: [9310]
9310,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[51, 142], Operations: ['55-8=47', '95+47=142']
Exploring Operation: 142-51=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 51*142=7242, Resulting Numbers: [7242]
7242,97 unequal: No Solution
Exploring Operation: 51+142=193, Resulting Numbers: [193]
193,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[95, 4], Operations: ['55-8=47', '51-47=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[51, 48], Operations: ['55-8=47', '95-47=48']
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,97 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[47, 146], Operations: ['55-8=47', '95+51=146']
Exploring Operation: 47*146=6862, Resulting Numbers: [6862]
6862,97 unequal: No Solution
Exploring Operation: 47+146=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 146-47=99, Resulting Numbers: [99]
99,97 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: 97:[55, 51, 87], Operations: ['95-8=87']
Exploring Operation: 55-51=4, Resulting Numbers: [87, 4]
Generated Node #0,3,0: 97:[87, 4] Operation: 55-51=4
Exploring Operation: 55+87=142, Resulting Numbers: [51, 142]
Generated Node #0,3,1: 97:[51, 142] Operation: 55+87=142
Exploring Operation: 87-51=36, Resulting Numbers: [55, 36]
Generated Node #0,3,2: 97:[55, 36] Operation: 87-51=36
Exploring Operation: 55+51=106, Resulting Numbers: [87, 106]
Generated Node #0,3,3: 97:[87, 106] Operation: 55+51=106
Exploring Operation: 51+87=138, Resulting Numbers: [55, 138]
Generated Node #0,3,4: 97:[55, 138] Operation: 51+87=138
Moving to Node #0,1,1
Current State: 97:[95, 114], Operations: ['8+55=63', '51+63=114']
Exploring Operation: 114-95=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 95*114=10830, Resulting Numbers: [10830]
10830,97 unequal: No Solution
Exploring Operation: 95+114=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[87, 106], Operations: ['95-8=87', '55+51=106']
Exploring Operation: 87*106=9222, Resulting Numbers: [9222]
9222,97 unequal: No Solution
Exploring Operation: 87+106=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 106-87=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[55, 138], Operations: ['95-8=87', '51+87=138']
Exploring Operation: 138-55=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 55*138=7590, Resulting Numbers: [7590]
7590,97 unequal: No Solution
Exploring Operation: 55+138=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[63, 146], Operations: ['8+55=63', '95+51=146']
Exploring Operation: 146-63=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 63+146=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 63*146=9198, Resulting Numbers: [9198]
9198,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[95, 12], Operations: ['8+55=63', '63-51=12']
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[63, 44], Operations: ['8+55=63', '95-51=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[51, 142], Operations: ['95-8=87', '55+87=142']
Exploring Operation: 51+142=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 51*142=7242, Resulting Numbers: [7242]
7242,97 unequal: No Solution
Exploring Operation: 142-51=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[87, 4], Operations: ['95-8=87', '55-51=4']
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,97 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[55, 36], Operations: ['95-8=87', '87-51=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,97 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[51, 158], Operations: ['8+55=63', '95+63=158']
Exploring Operation: 51*158=8058, Resulting Numbers: [8058]
8058,97 unequal: No Solution
Exploring Operation: 158-51=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 51+158=209, Resulting Numbers: [209]
209,97 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
84,
42,
82,
57
] | 97
|
[
"84-42=42",
"82+57=139",
"139-42=97"
] |
Current State: 97:[84, 42, 82, 57], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [82, 57, 42]
Generated Node #2: [82, 57, 42] from Operation: 84-42=42
Current State: 97:[82, 57, 42], Operations: ['84-42=42']
Exploring Operation: 82+57=139, Resulting Numbers: [42, 139]
Generated Node #3: [42, 139] from Operation: 82+57=139
Current State: 97:[42, 139], Operations: ['84-42=42', '82+57=139']
Exploring Operation: 139-42=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[84, 42, 82, 57], Operations: []
Exploring Operation: 42+57=99, Resulting Numbers: [84, 82, 99]
Generated Node #0,0: 97:[84, 82, 99] Operation: 42+57=99
Exploring Operation: 84-42=42, Resulting Numbers: [82, 57, 42]
Generated Node #0,1: 97:[82, 57, 42] Operation: 84-42=42
Exploring Operation: 42+82=124, Resulting Numbers: [84, 57, 124]
Generated Node #0,2: 97:[84, 57, 124] Operation: 42+82=124
Exploring Operation: 84+42=126, Resulting Numbers: [82, 57, 126]
Generated Node #0,3: 97:[82, 57, 126] Operation: 84+42=126
Moving to Node #0,0
Current State: 97:[84, 82, 99], Operations: ['42+57=99']
Exploring Operation: 84+82=166, Resulting Numbers: [99, 166]
Generated Node #0,0,0: 97:[99, 166] Operation: 84+82=166
Exploring Operation: 99-84=15, Resulting Numbers: [82, 15]
Generated Node #0,0,1: 97:[82, 15] Operation: 99-84=15
Exploring Operation: 84-82=2, Resulting Numbers: [99, 2]
Generated Node #0,0,2: 97:[99, 2] Operation: 84-82=2
Exploring Operation: 99-82=17, Resulting Numbers: [84, 17]
Generated Node #0,0,3: 97:[84, 17] Operation: 99-82=17
Moving to Node #0,2
Current State: 97:[84, 57, 124], Operations: ['42+82=124']
Exploring Operation: 84-57=27, Resulting Numbers: [124, 27]
Generated Node #0,2,0: 97:[124, 27] Operation: 84-57=27
Exploring Operation: 124-84=40, Resulting Numbers: [57, 40]
Generated Node #0,2,1: 97:[57, 40] Operation: 124-84=40
Exploring Operation: 124-57=67, Resulting Numbers: [84, 67]
Generated Node #0,2,2: 97:[84, 67] Operation: 124-57=67
Exploring Operation: 84+57=141, Resulting Numbers: [124, 141]
Generated Node #0,2,3: 97:[124, 141] Operation: 84+57=141
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[84, 67], Operations: ['42+82=124', '124-57=67']
Exploring Operation: 84*67=5628, Resulting Numbers: [5628]
5628,97 unequal: No Solution
Exploring Operation: 84+67=151, Resulting Numbers: [151]
151,97 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[124, 141], Operations: ['42+82=124', '84+57=141']
Exploring Operation: 124+141=265, Resulting Numbers: [265]
265,97 unequal: No Solution
Exploring Operation: 141-124=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 124*141=17484, Resulting Numbers: [17484]
17484,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[124, 27], Operations: ['42+82=124', '84-57=27']
Exploring Operation: 124+27=151, Resulting Numbers: [151]
151,97 unequal: No Solution
Exploring Operation: 124*27=3348, Resulting Numbers: [3348]
3348,97 unequal: No Solution
Exploring Operation: 124-27=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[84, 42, 82, 57], Operations: []
Exploring Operation: 42+82=124, Resulting Numbers: [84, 57, 124]
Generated Node #0,2: 97:[84, 57, 124] Operation: 42+82=124
Moving to Node #0,2
Current State: 97:[84, 57, 124], Operations: ['42+82=124']
Exploring Operation: 84-57=27, Resulting Numbers: [124, 27]
Generated Node #0,2,0: 97:[124, 27] Operation: 84-57=27
Moving to Node #0,2,0
Current State: 97:[124, 27], Operations: ['42+82=124', '84-57=27']
Exploring Operation: 124-27=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299
|
hs_4
|
sum_heuristic
|
[
57,
80,
60,
92
] | 36
|
[
"60-57=3",
"92-80=12",
"3*12=36"
] |
Current State: 36:[57, 80, 60, 92], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [80, 92, 3]
Generated Node #2: [80, 92, 3] from Operation: 60-57=3
Current State: 36:[80, 92, 3], Operations: ['60-57=3']
Exploring Operation: 92-80=12, Resulting Numbers: [3, 12]
Generated Node #3: [3, 12] from Operation: 92-80=12
Current State: 36:[3, 12], Operations: ['60-57=3', '92-80=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[57, 80, 60, 92], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [57, 80, 32]
Generated Node #0,0: 36:[57, 80, 32] Operation: 92-60=32
Exploring Operation: 92-57=35, Resulting Numbers: [80, 60, 35]
Generated Node #0,1: 36:[80, 60, 35] Operation: 92-57=35
Exploring Operation: 80-60=20, Resulting Numbers: [57, 92, 20]
Generated Node #0,2: 36:[57, 92, 20] Operation: 80-60=20
Exploring Operation: 92-80=12, Resulting Numbers: [57, 60, 12]
Generated Node #0,3: 36:[57, 60, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[57, 60, 12], Operations: ['92-80=12']
Exploring Operation: 60-12=48, Resulting Numbers: [57, 48]
Generated Node #0,3,0: 36:[57, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [57, 5]
Generated Node #0,3,1: 36:[57, 5] Operation: 60/12=5
Exploring Operation: 57-12=45, Resulting Numbers: [60, 45]
Generated Node #0,3,2: 36:[60, 45] Operation: 57-12=45
Exploring Operation: 60-57=3, Resulting Numbers: [12, 3]
Generated Node #0,3,3: 36:[12, 3] Operation: 60-57=3
Moving to Node #0,3,3
Current State: 36:[12, 3], Operations: ['92-80=12', '60-57=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[57, 80, 60, 92], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [57, 60, 12]
Generated Node #0,3: 36:[57, 60, 12] Operation: 92-80=12
Moving to Node #0,3
Current State: 36:[57, 60, 12], Operations: ['92-80=12']
Exploring Operation: 60-57=3, Resulting Numbers: [12, 3]
Generated Node #0,3,3: 36:[12, 3] Operation: 60-57=3
Moving to Node #0,3,3
Current State: 36:[12, 3], Operations: ['92-80=12', '60-57=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
mult_heuristic
|
[
29,
16,
48,
37
] | 34
|
[
"29+16=45",
"48-37=11",
"45-11=34"
] |
Current State: 34:[29, 16, 48, 37], Operations: []
Exploring Operation: 29+16=45, Resulting Numbers: [48, 37, 45]
Generated Node #2: [48, 37, 45] from Operation: 29+16=45
Current State: 34:[48, 37, 45], Operations: ['29+16=45']
Exploring Operation: 48-37=11, Resulting Numbers: [45, 11]
Generated Node #3: [45, 11] from Operation: 48-37=11
Current State: 34:[45, 11], Operations: ['29+16=45', '48-37=11']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[29, 16, 48, 37], Operations: []
Exploring Operation: 48-29=19, Resulting Numbers: [16, 37, 19]
Generated Node #0,0: 34:[16, 37, 19] Operation: 48-29=19
Exploring Operation: 48-37=11, Resulting Numbers: [29, 16, 11]
Generated Node #0,1: 34:[29, 16, 11] Operation: 48-37=11
Exploring Operation: 29-16=13, Resulting Numbers: [48, 37, 13]
Generated Node #0,2: 34:[48, 37, 13] Operation: 29-16=13
Exploring Operation: 48-16=32, Resulting Numbers: [29, 37, 32]
Generated Node #0,3: 34:[29, 37, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [29, 37, 3]
Generated Node #0,4: 34:[29, 37, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[16, 37, 19], Operations: ['48-29=19']
Exploring Operation: 16+37=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 34:[19, 53] Operation: 16+37=53
Exploring Operation: 37-19=18, Resulting Numbers: [16, 18]
Generated Node #0,0,1: 34:[16, 18] Operation: 37-19=18
Exploring Operation: 19-16=3, Resulting Numbers: [37, 3]
Generated Node #0,0,2: 34:[37, 3] Operation: 19-16=3
Exploring Operation: 16+19=35, Resulting Numbers: [37, 35]
Generated Node #0,0,3: 34:[37, 35] Operation: 16+19=35
Exploring Operation: 37-16=21, Resulting Numbers: [19, 21]
Generated Node #0,0,4: 34:[19, 21] Operation: 37-16=21
Moving to Node #0,0,1
Current State: 34:[16, 18], Operations: ['48-29=19', '37-19=18']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,34 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[29, 16, 48, 37], Operations: []
Exploring Operation: 48-29=19, Resulting Numbers: [16, 37, 19]
Generated Node #0,0: 34:[16, 37, 19] Operation: 48-29=19
Moving to Node #0,0
Current State: 34:[16, 37, 19], Operations: ['48-29=19']
Exploring Operation: 37-19=18, Resulting Numbers: [16, 18]
Generated Node #0,0,1: 34:[16, 18] Operation: 37-19=18
Moving to Node #0,0,1
Current State: 34:[16, 18], Operations: ['48-29=19', '37-19=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
mult_heuristic
|
[
48,
1,
37,
29
] | 17
|
[
"48+1=49",
"37+29=66",
"66-49=17"
] |
Current State: 17:[48, 1, 37, 29], Operations: []
Exploring Operation: 48+1=49, Resulting Numbers: [37, 29, 49]
Generated Node #2: [37, 29, 49] from Operation: 48+1=49
Current State: 17:[37, 29, 49], Operations: ['48+1=49']
Exploring Operation: 37+29=66, Resulting Numbers: [49, 66]
Generated Node #3: [49, 66] from Operation: 37+29=66
Current State: 17:[49, 66], Operations: ['48+1=49', '37+29=66']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[48, 1, 37, 29], Operations: []
Exploring Operation: 48-29=19, Resulting Numbers: [1, 37, 19]
Generated Node #0,0: 17:[1, 37, 19] Operation: 48-29=19
Exploring Operation: 48-37=11, Resulting Numbers: [1, 29, 11]
Generated Node #0,1: 17:[1, 29, 11] Operation: 48-37=11
Exploring Operation: 37-29=8, Resulting Numbers: [48, 1, 8]
Generated Node #0,2: 17:[48, 1, 8] Operation: 37-29=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[1, 29, 11], Operations: ['48-37=11']
Exploring Operation: 29-1=28, Resulting Numbers: [11, 28]
Generated Node #0,1,0: 17:[11, 28] Operation: 29-1=28
Exploring Operation: 1+11=12, Resulting Numbers: [29, 12]
Generated Node #0,1,1: 17:[29, 12] Operation: 1+11=12
Exploring Operation: 29-11=18, Resulting Numbers: [1, 18]
Generated Node #0,1,2: 17:[1, 18] Operation: 29-11=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[11, 28], Operations: ['48-37=11', '29-1=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[48, 1, 37, 29], Operations: []
Exploring Operation: 48-37=11, Resulting Numbers: [1, 29, 11]
Generated Node #0,1: 17:[1, 29, 11] Operation: 48-37=11
Moving to Node #0,1
Current State: 17:[1, 29, 11], Operations: ['48-37=11']
Exploring Operation: 29-1=28, Resulting Numbers: [11, 28]
Generated Node #0,1,0: 17:[11, 28] Operation: 29-1=28
Moving to Node #0,1,0
Current State: 17:[11, 28], Operations: ['48-37=11', '29-1=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
42,
39,
10,
3
] | 43
|
[
"42/3=14",
"39-10=29",
"14+29=43"
] |
Current State: 43:[42, 39, 10, 3], Operations: []
Exploring Operation: 42/3=14, Resulting Numbers: [39, 10, 14]
Generated Node #2: [39, 10, 14] from Operation: 42/3=14
Current State: 43:[39, 10, 14], Operations: ['42/3=14']
Exploring Operation: 39-10=29, Resulting Numbers: [14, 29]
Generated Node #3: [14, 29] from Operation: 39-10=29
Current State: 43:[14, 29], Operations: ['42/3=14', '39-10=29']
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4
|
Current State: 43:[42, 39, 10, 3], Operations: []
Exploring Operation: 10*3=30, Resulting Numbers: [42, 39, 30]
Generated Node #0,0: 43:[42, 39, 30] Operation: 10*3=30
Exploring Operation: 39+3=42, Resulting Numbers: [42, 10, 42]
Generated Node #0,1: 43:[42, 10, 42] Operation: 39+3=42
Exploring Operation: 10+3=13, Resulting Numbers: [42, 39, 13]
Generated Node #0,2: 43:[42, 39, 13] Operation: 10+3=13
Moving to Node #0,0
Current State: 43:[42, 39, 30], Operations: ['10*3=30']
Exploring Operation: 42-30=12, Resulting Numbers: [39, 12]
Generated Node #0,0,0: 43:[39, 12] Operation: 42-30=12
Exploring Operation: 42+30=72, Resulting Numbers: [39, 72]
Generated Node #0,0,1: 43:[39, 72] Operation: 42+30=72
Exploring Operation: 39+30=69, Resulting Numbers: [42, 69]
Generated Node #0,0,2: 43:[42, 69] Operation: 39+30=69
Moving to Node #0,1
Current State: 43:[42, 10, 42], Operations: ['39+3=42']
Exploring Operation: 10+42=52, Resulting Numbers: [42, 52]
Generated Node #0,1,0: 43:[42, 52] Operation: 10+42=52
Exploring Operation: 42+10=52, Resulting Numbers: [42, 52]
Generated Node #0,1,1: 43:[42, 52] Operation: 42+10=52
Exploring Operation: 42-10=32, Resulting Numbers: [42, 32]
Generated Node #0,1,2: 43:[42, 32] Operation: 42-10=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[42, 52], Operations: ['39+3=42', '10+42=52']
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,43 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,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:[42, 52], Operations: ['39+3=42', '42+10=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,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:[42, 32], Operations: ['39+3=42', '42-10=32']
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,43 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 43:[42, 39, 13], Operations: ['10+3=13']
Exploring Operation: 39+13=52, Resulting Numbers: [42, 52]
Generated Node #0,2,0: 43:[42, 52] Operation: 39+13=52
Exploring Operation: 42+13=55, Resulting Numbers: [39, 55]
Generated Node #0,2,1: 43:[39, 55] Operation: 42+13=55
Exploring Operation: 42-13=29, Resulting Numbers: [39, 29]
Generated Node #0,2,2: 43:[39, 29] Operation: 42-13=29
Moving to Node #0,2,0
Current State: 43:[42, 52], Operations: ['10+3=13', '39+13=52']
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,43 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[39, 55], Operations: ['10+3=13', '42+13=55']
Exploring Operation: 39*55=2145, Resulting Numbers: [2145]
2145,43 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[39, 29], Operations: ['10+3=13', '42-13=29']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[42, 69], Operations: ['10*3=30', '39+30=69']
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,43 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[39, 72], Operations: ['10*3=30', '42+30=72']
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,43 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[39, 12], Operations: ['10*3=30', '42-30=12']
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,43 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,43 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
12,
23,
55,
37
] | 60
|
[
"55-23=32",
"37-32=5",
"12*5=60"
] |
Current State: 60:[12, 23, 55, 37], Operations: []
Exploring Operation: 55-23=32, Resulting Numbers: [12, 37, 32]
Generated Node #2: [12, 37, 32] from Operation: 55-23=32
Current State: 60:[12, 37, 32], Operations: ['55-23=32']
Exploring Operation: 37-32=5, Resulting Numbers: [12, 5]
Generated Node #3: [12, 5] from Operation: 37-32=5
Current State: 60:[12, 5], Operations: ['55-23=32', '37-32=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[12, 23, 55, 37], Operations: []
Exploring Operation: 37-23=14, Resulting Numbers: [12, 55, 14]
Generated Node #0,0: 60:[12, 55, 14] Operation: 37-23=14
Exploring Operation: 55-37=18, Resulting Numbers: [12, 23, 18]
Generated Node #0,1: 60:[12, 23, 18] Operation: 55-37=18
Exploring Operation: 23+37=60, Resulting Numbers: [12, 55, 60]
Generated Node #0,2: 60:[12, 55, 60] Operation: 23+37=60
Exploring Operation: 55-23=32, Resulting Numbers: [12, 37, 32]
Generated Node #0,3: 60:[12, 37, 32] Operation: 55-23=32
Moving to Node #0,1
Current State: 60:[12, 23, 18], Operations: ['55-37=18']
Exploring Operation: 23-18=5, Resulting Numbers: [12, 5]
Generated Node #0,1,0: 60:[12, 5] Operation: 23-18=5
Exploring Operation: 12+18=30, Resulting Numbers: [23, 30]
Generated Node #0,1,1: 60:[23, 30] Operation: 12+18=30
Exploring Operation: 23-12=11, Resulting Numbers: [18, 11]
Generated Node #0,1,2: 60:[18, 11] Operation: 23-12=11
Exploring Operation: 18-12=6, Resulting Numbers: [23, 6]
Generated Node #0,1,3: 60:[23, 6] Operation: 18-12=6
Moving to Node #0,2
Current State: 60:[12, 55, 60], Operations: ['23+37=60']
Exploring Operation: 55-12=43, Resulting Numbers: [60, 43]
Generated Node #0,2,0: 60:[60, 43] Operation: 55-12=43
Exploring Operation: 12+55=67, Resulting Numbers: [60, 67]
Generated Node #0,2,1: 60:[60, 67] Operation: 12+55=67
Exploring Operation: 60-55=5, Resulting Numbers: [12, 5]
Generated Node #0,2,2: 60:[12, 5] Operation: 60-55=5
Exploring Operation: 60/12=5, Resulting Numbers: [55, 5]
Generated Node #0,2,3: 60:[55, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[12, 5], Operations: ['23+37=60', '60-55=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[12, 23, 55, 37], Operations: []
Exploring Operation: 23+37=60, Resulting Numbers: [12, 55, 60]
Generated Node #0,2: 60:[12, 55, 60] Operation: 23+37=60
Moving to Node #0,2
Current State: 60:[12, 55, 60], Operations: ['23+37=60']
Exploring Operation: 60-55=5, Resulting Numbers: [12, 5]
Generated Node #0,2,2: 60:[12, 5] Operation: 60-55=5
Moving to Node #0,2,2
Current State: 60:[12, 5], Operations: ['23+37=60', '60-55=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_4
|
mult_heuristic
|
[
2,
63,
46,
49
] | 68
|
[
"2+63=65",
"49-46=3",
"65+3=68"
] |
Current State: 68:[2, 63, 46, 49], Operations: []
Exploring Operation: 2+63=65, Resulting Numbers: [46, 49, 65]
Generated Node #2: [46, 49, 65] from Operation: 2+63=65
Current State: 68:[46, 49, 65], Operations: ['2+63=65']
Exploring Operation: 49-46=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 49-46=3
Current State: 68:[65, 3], Operations: ['2+63=65', '49-46=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[2, 63, 46, 49], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [2, 46, 14]
Generated Node #0,0: 68:[2, 46, 14] Operation: 63-49=14
Exploring Operation: 49-46=3, Resulting Numbers: [2, 63, 3]
Generated Node #0,1: 68:[2, 63, 3] Operation: 49-46=3
Exploring Operation: 63-46=17, Resulting Numbers: [2, 49, 17]
Generated Node #0,2: 68:[2, 49, 17] Operation: 63-46=17
Moving to Node #0,1
Current State: 68:[2, 63, 3], Operations: ['49-46=3']
Exploring Operation: 63/3=21, Resulting Numbers: [2, 21]
Generated Node #0,1,0: 68:[2, 21] Operation: 63/3=21
Exploring Operation: 63+3=66, Resulting Numbers: [2, 66]
Generated Node #0,1,1: 68:[2, 66] Operation: 63+3=66
Exploring Operation: 2+63=65, Resulting Numbers: [3, 65]
Generated Node #0,1,2: 68:[3, 65] Operation: 2+63=65
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[2, 66], Operations: ['49-46=3', '63+3=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[2, 63, 46, 49], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [2, 63, 3]
Generated Node #0,1: 68:[2, 63, 3] Operation: 49-46=3
Moving to Node #0,1
Current State: 68:[2, 63, 3], Operations: ['49-46=3']
Exploring Operation: 63+3=66, Resulting Numbers: [2, 66]
Generated Node #0,1,1: 68:[2, 66] Operation: 63+3=66
Moving to Node #0,1,1
Current State: 68:[2, 66], Operations: ['49-46=3', '63+3=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
72,
9,
76,
66
] | 53
|
[
"72-9=63",
"76-66=10",
"63-10=53"
] |
Current State: 53:[72, 9, 76, 66], Operations: []
Exploring Operation: 72-9=63, Resulting Numbers: [76, 66, 63]
Generated Node #2: [76, 66, 63] from Operation: 72-9=63
Current State: 53:[76, 66, 63], Operations: ['72-9=63']
Exploring Operation: 76-66=10, Resulting Numbers: [63, 10]
Generated Node #3: [63, 10] from Operation: 76-66=10
Current State: 53:[63, 10], Operations: ['72-9=63', '76-66=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[72, 9, 76, 66], Operations: []
Exploring Operation: 72-9=63, Resulting Numbers: [76, 66, 63]
Generated Node #0,0: 53:[76, 66, 63] Operation: 72-9=63
Exploring Operation: 66-9=57, Resulting Numbers: [72, 76, 57]
Generated Node #0,1: 53:[72, 76, 57] Operation: 66-9=57
Exploring Operation: 76-9=67, Resulting Numbers: [72, 66, 67]
Generated Node #0,2: 53:[72, 66, 67] Operation: 76-9=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[76, 66, 63], Operations: ['72-9=63']
Exploring Operation: 76-66=10, Resulting Numbers: [63, 10]
Generated Node #0,0,0: 53:[63, 10] Operation: 76-66=10
Exploring Operation: 76-63=13, Resulting Numbers: [66, 13]
Generated Node #0,0,1: 53:[66, 13] Operation: 76-63=13
Exploring Operation: 66-63=3, Resulting Numbers: [76, 3]
Generated Node #0,0,2: 53:[76, 3] Operation: 66-63=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[63, 10], Operations: ['72-9=63', '76-66=10']
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,53 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,53 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[72, 9, 76, 66], Operations: []
Exploring Operation: 72-9=63, Resulting Numbers: [76, 66, 63]
Generated Node #0,0: 53:[76, 66, 63] Operation: 72-9=63
Moving to Node #0,0
Current State: 53:[76, 66, 63], Operations: ['72-9=63']
Exploring Operation: 76-66=10, Resulting Numbers: [63, 10]
Generated Node #0,0,0: 53:[63, 10] Operation: 76-66=10
Moving to Node #0,0,0
Current State: 53:[63, 10], Operations: ['72-9=63', '76-66=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
49,
51,
77,
98
] | 13
|
[
"98/49=2",
"77-51=26",
"26/2=13"
] |
Current State: 13:[49, 51, 77, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [51, 77, 2]
Generated Node #2: [51, 77, 2] from Operation: 98/49=2
Current State: 13:[51, 77, 2], Operations: ['98/49=2']
Exploring Operation: 77-51=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 77-51=26
Current State: 13:[2, 26], Operations: ['98/49=2', '77-51=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[49, 51, 77, 98], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [51, 98, 28]
Generated Node #0,0: 13:[51, 98, 28] Operation: 77-49=28
Exploring Operation: 98-77=21, Resulting Numbers: [49, 51, 21]
Generated Node #0,1: 13:[49, 51, 21] Operation: 98-77=21
Exploring Operation: 98/49=2, Resulting Numbers: [51, 77, 2]
Generated Node #0,2: 13:[51, 77, 2] Operation: 98/49=2
Exploring Operation: 77-51=26, Resulting Numbers: [49, 98, 26]
Generated Node #0,3: 13:[49, 98, 26] Operation: 77-51=26
Exploring Operation: 98-51=47, Resulting Numbers: [49, 77, 47]
Generated Node #0,4: 13:[49, 77, 47] Operation: 98-51=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[49, 51, 21], Operations: ['98-77=21']
Exploring Operation: 49+51=100, Resulting Numbers: [21, 100]
Generated Node #0,1,0: 13:[21, 100] Operation: 49+51=100
Exploring Operation: 49-21=28, Resulting Numbers: [51, 28]
Generated Node #0,1,1: 13:[51, 28] Operation: 49-21=28
Exploring Operation: 51-49=2, Resulting Numbers: [21, 2]
Generated Node #0,1,2: 13:[21, 2] Operation: 51-49=2
Exploring Operation: 49+21=70, Resulting Numbers: [51, 70]
Generated Node #0,1,3: 13:[51, 70] Operation: 49+21=70
Exploring Operation: 51-21=30, Resulting Numbers: [49, 30]
Generated Node #0,1,4: 13:[49, 30] Operation: 51-21=30
Moving to Node #0,1,2
Current State: 13:[21, 2], Operations: ['98-77=21', '51-49=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[49, 30], Operations: ['98-77=21', '51-21=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[51, 28], Operations: ['98-77=21', '49-21=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[21, 100], Operations: ['98-77=21', '49+51=100']
Exploring Operation: 100-21=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 21+100=121, Resulting Numbers: [121]
121,13 unequal: No Solution
Exploring Operation: 21*100=2100, Resulting Numbers: [2100]
2100,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[51, 70], Operations: ['98-77=21', '49+21=70']
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,13 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,13 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[51, 77, 2], Operations: ['98/49=2']
Exploring Operation: 77-51=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 13:[2, 26] Operation: 77-51=26
Exploring Operation: 51-2=49, Resulting Numbers: [77, 49]
Generated Node #0,2,1: 13:[77, 49] Operation: 51-2=49
Exploring Operation: 51+2=53, Resulting Numbers: [77, 53]
Generated Node #0,2,2: 13:[77, 53] Operation: 51+2=53
Exploring Operation: 77-2=75, Resulting Numbers: [51, 75]
Generated Node #0,2,3: 13:[51, 75] Operation: 77-2=75
Exploring Operation: 77+2=79, Resulting Numbers: [51, 79]
Generated Node #0,2,4: 13:[51, 79] Operation: 77+2=79
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[2, 26], Operations: ['98/49=2', '77-51=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[49, 51, 77, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [51, 77, 2]
Generated Node #0,2: 13:[51, 77, 2] Operation: 98/49=2
Moving to Node #0,2
Current State: 13:[51, 77, 2], Operations: ['98/49=2']
Exploring Operation: 77-51=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 13:[2, 26] Operation: 77-51=26
Moving to Node #0,2,0
Current State: 13:[2, 26], Operations: ['98/49=2', '77-51=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014
|
hs_5
|
sum_heuristic
|
[
55,
68,
18,
88
] | 17
|
[
"55+68=123",
"18+88=106",
"123-106=17"
] |
Current State: 17:[55, 68, 18, 88], Operations: []
Exploring Operation: 55+68=123, Resulting Numbers: [18, 88, 123]
Generated Node #2: [18, 88, 123] from Operation: 55+68=123
Current State: 17:[18, 88, 123], Operations: ['55+68=123']
Exploring Operation: 18+88=106, Resulting Numbers: [123, 106]
Generated Node #3: [123, 106] from Operation: 18+88=106
Current State: 17:[123, 106], Operations: ['55+68=123', '18+88=106']
Exploring Operation: 123-106=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[55, 68, 18, 88], Operations: []
Exploring Operation: 68-55=13, Resulting Numbers: [18, 88, 13]
Generated Node #0,0: 17:[18, 88, 13] Operation: 68-55=13
Exploring Operation: 88-55=33, Resulting Numbers: [68, 18, 33]
Generated Node #0,1: 17:[68, 18, 33] Operation: 88-55=33
Exploring Operation: 88-68=20, Resulting Numbers: [55, 18, 20]
Generated Node #0,2: 17:[55, 18, 20] Operation: 88-68=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[55, 18, 20], Operations: ['88-68=20']
Exploring Operation: 20-18=2, Resulting Numbers: [55, 2]
Generated Node #0,2,0: 17:[55, 2] Operation: 20-18=2
Exploring Operation: 55-18=37, Resulting Numbers: [20, 37]
Generated Node #0,2,1: 17:[20, 37] Operation: 55-18=37
Exploring Operation: 55-20=35, Resulting Numbers: [18, 35]
Generated Node #0,2,2: 17:[18, 35] Operation: 55-20=35
Moving to Node #0,2,2
Current State: 17:[18, 35], Operations: ['88-68=20', '55-20=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[55, 68, 18, 88], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [55, 18, 20]
Generated Node #0,2: 17:[55, 18, 20] Operation: 88-68=20
Moving to Node #0,2
Current State: 17:[55, 18, 20], Operations: ['88-68=20']
Exploring Operation: 55-20=35, Resulting Numbers: [18, 35]
Generated Node #0,2,2: 17:[18, 35] Operation: 55-20=35
Moving to Node #0,2,2
Current State: 17:[18, 35], Operations: ['88-68=20', '55-20=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
95,
48,
13,
12
] | 78
|
[
"95-13=82",
"48/12=4",
"82-4=78"
] |
Current State: 78:[95, 48, 13, 12], Operations: []
Exploring Operation: 95-13=82, Resulting Numbers: [48, 12, 82]
Generated Node #2: [48, 12, 82] from Operation: 95-13=82
Current State: 78:[48, 12, 82], Operations: ['95-13=82']
Exploring Operation: 48/12=4, Resulting Numbers: [82, 4]
Generated Node #3: [82, 4] from Operation: 48/12=4
Current State: 78:[82, 4], Operations: ['95-13=82', '48/12=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[95, 48, 13, 12], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [13, 12, 47]
Generated Node #0,0: 78:[13, 12, 47] Operation: 95-48=47
Moving to Node #0,0
Current State: 78:[13, 12, 47], Operations: ['95-48=47']
Exploring Operation: 47-12=35, Resulting Numbers: [13, 35]
Generated Node #0,0,0: 78:[13, 35] Operation: 47-12=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[13, 35], Operations: ['95-48=47', '47-12=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,78 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
|
[
1,
57,
40,
19
] | 36
|
[
"1*57=57",
"40-19=21",
"57-21=36"
] |
Current State: 36:[1, 57, 40, 19], Operations: []
Exploring Operation: 1*57=57, Resulting Numbers: [40, 19, 57]
Generated Node #2: [40, 19, 57] from Operation: 1*57=57
Current State: 36:[40, 19, 57], Operations: ['1*57=57']
Exploring Operation: 40-19=21, Resulting Numbers: [57, 21]
Generated Node #3: [57, 21] from Operation: 40-19=21
Current State: 36:[57, 21], Operations: ['1*57=57', '40-19=21']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[1, 57, 40, 19], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [1, 19, 17]
Generated Node #0,0: 36:[1, 19, 17] Operation: 57-40=17
Exploring Operation: 57/19=3, Resulting Numbers: [1, 40, 3]
Generated Node #0,1: 36:[1, 40, 3] Operation: 57/19=3
Exploring Operation: 57-19=38, Resulting Numbers: [1, 40, 38]
Generated Node #0,2: 36:[1, 40, 38] Operation: 57-19=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[1, 19, 17], Operations: ['57-40=17']
Exploring Operation: 19+17=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 36:[1, 36] Operation: 19+17=36
Exploring Operation: 19-1=18, Resulting Numbers: [17, 18]
Generated Node #0,0,1: 36:[17, 18] Operation: 19-1=18
Exploring Operation: 1+17=18, Resulting Numbers: [19, 18]
Generated Node #0,0,2: 36:[19, 18] Operation: 1+17=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[1, 36], Operations: ['57-40=17', '19+17=36']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[1, 57, 40, 19], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [1, 19, 17]
Generated Node #0,0: 36:[1, 19, 17] Operation: 57-40=17
Moving to Node #0,0
Current State: 36:[1, 19, 17], Operations: ['57-40=17']
Exploring Operation: 19+17=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 36:[1, 36] Operation: 19+17=36
Moving to Node #0,0,0
Current State: 36:[1, 36], Operations: ['57-40=17', '19+17=36']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
43,
92,
50,
20
] | 79
|
[
"92-43=49",
"50-20=30",
"49+30=79"
] |
Current State: 79:[43, 92, 50, 20], Operations: []
Exploring Operation: 92-43=49, Resulting Numbers: [50, 20, 49]
Generated Node #2: [50, 20, 49] from Operation: 92-43=49
Current State: 79:[50, 20, 49], Operations: ['92-43=49']
Exploring Operation: 50-20=30, Resulting Numbers: [49, 30]
Generated Node #3: [49, 30] from Operation: 50-20=30
Current State: 79:[49, 30], Operations: ['92-43=49', '50-20=30']
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4
|
Current State: 79:[43, 92, 50, 20], Operations: []
Exploring Operation: 50+20=70, Resulting Numbers: [43, 92, 70]
Generated Node #0,0: 79:[43, 92, 70] Operation: 50+20=70
Exploring Operation: 43+20=63, Resulting Numbers: [92, 50, 63]
Generated Node #0,1: 79:[92, 50, 63] Operation: 43+20=63
Exploring Operation: 43+50=93, Resulting Numbers: [92, 20, 93]
Generated Node #0,2: 79:[92, 20, 93] Operation: 43+50=93
Exploring Operation: 92-20=72, Resulting Numbers: [43, 50, 72]
Generated Node #0,3: 79:[43, 50, 72] Operation: 92-20=72
Exploring Operation: 43-20=23, Resulting Numbers: [92, 50, 23]
Generated Node #0,4: 79:[92, 50, 23] Operation: 43-20=23
Moving to Node #0,0
Current State: 79:[43, 92, 70], Operations: ['50+20=70']
Exploring Operation: 92-43=49, Resulting Numbers: [70, 49]
Generated Node #0,0,0: 79:[70, 49] Operation: 92-43=49
Exploring Operation: 70-43=27, Resulting Numbers: [92, 27]
Generated Node #0,0,1: 79:[92, 27] Operation: 70-43=27
Exploring Operation: 92-70=22, Resulting Numbers: [43, 22]
Generated Node #0,0,2: 79:[43, 22] Operation: 92-70=22
Exploring Operation: 43+92=135, Resulting Numbers: [70, 135]
Generated Node #0,0,3: 79:[70, 135] Operation: 43+92=135
Exploring Operation: 43+70=113, Resulting Numbers: [92, 113]
Generated Node #0,0,4: 79:[92, 113] Operation: 43+70=113
Moving to Node #0,1
Current State: 79:[92, 50, 63], Operations: ['43+20=63']
Exploring Operation: 92+50=142, Resulting Numbers: [63, 142]
Generated Node #0,1,0: 79:[63, 142] Operation: 92+50=142
Exploring Operation: 63-50=13, Resulting Numbers: [92, 13]
Generated Node #0,1,1: 79:[92, 13] Operation: 63-50=13
Exploring Operation: 92-50=42, Resulting Numbers: [63, 42]
Generated Node #0,1,2: 79:[63, 42] Operation: 92-50=42
Exploring Operation: 92-63=29, Resulting Numbers: [50, 29]
Generated Node #0,1,3: 79:[50, 29] Operation: 92-63=29
Exploring Operation: 50+63=113, Resulting Numbers: [92, 113]
Generated Node #0,1,4: 79:[92, 113] Operation: 50+63=113
Moving to Node #0,3
Current State: 79:[43, 50, 72], Operations: ['92-20=72']
Exploring Operation: 43+72=115, Resulting Numbers: [50, 115]
Generated Node #0,3,0: 79:[50, 115] Operation: 43+72=115
Exploring Operation: 50-43=7, Resulting Numbers: [72, 7]
Generated Node #0,3,1: 79:[72, 7] Operation: 50-43=7
Exploring Operation: 72-43=29, Resulting Numbers: [50, 29]
Generated Node #0,3,2: 79:[50, 29] Operation: 72-43=29
Exploring Operation: 50+72=122, Resulting Numbers: [43, 122]
Generated Node #0,3,3: 79:[43, 122] Operation: 50+72=122
Exploring Operation: 43+50=93, Resulting Numbers: [72, 93]
Generated Node #0,3,4: 79:[72, 93] Operation: 43+50=93
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 79:[72, 93], Operations: ['92-20=72', '43+50=93']
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Exploring Operation: 72*93=6696, Resulting Numbers: [6696]
6696,79 unequal: No Solution
Exploring Operation: 72+93=165, Resulting Numbers: [165]
165,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[50, 115], Operations: ['92-20=72', '43+72=115']
Exploring Operation: 115-50=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 50+115=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 50*115=5750, Resulting Numbers: [5750]
5750,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[72, 7], Operations: ['92-20=72', '50-43=7']
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,79 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[43, 92, 50, 20], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [43, 50, 72]
Generated Node #0,3: 79:[43, 50, 72] Operation: 92-20=72
Moving to Node #0,3
Current State: 79:[43, 50, 72], Operations: ['92-20=72']
Exploring Operation: 50-43=7, Resulting Numbers: [72, 7]
Generated Node #0,3,1: 79:[72, 7] Operation: 50-43=7
Moving to Node #0,3,1
Current State: 79:[72, 7], Operations: ['92-20=72', '50-43=7']
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354
|
hs_5
|
mult_heuristic
|
[
5,
18,
10,
60
] | 51
|
[
"5*18=90",
"90/10=9",
"60-9=51"
] |
Current State: 51:[5, 18, 10, 60], Operations: []
Exploring Operation: 5*18=90, Resulting Numbers: [10, 60, 90]
Generated Node #2: [10, 60, 90] from Operation: 5*18=90
Current State: 51:[10, 60, 90], Operations: ['5*18=90']
Exploring Operation: 90/10=9, Resulting Numbers: [60, 9]
Generated Node #3: [60, 9] from Operation: 90/10=9
Current State: 51:[60, 9], Operations: ['5*18=90', '90/10=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[5, 18, 10, 60], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [5, 18, 6]
Generated Node #0,0: 51:[5, 18, 6] Operation: 60/10=6
Exploring Operation: 60-10=50, Resulting Numbers: [5, 18, 50]
Generated Node #0,1: 51:[5, 18, 50] Operation: 60-10=50
Exploring Operation: 10/5=2, Resulting Numbers: [18, 60, 2]
Generated Node #0,2: 51:[18, 60, 2] Operation: 10/5=2
Exploring Operation: 5*10=50, Resulting Numbers: [18, 60, 50]
Generated Node #0,3: 51:[18, 60, 50] Operation: 5*10=50
Moving to Node #0,1
Current State: 51:[5, 18, 50], Operations: ['60-10=50']
Exploring Operation: 5+50=55, Resulting Numbers: [18, 55]
Generated Node #0,1,0: 51:[18, 55] Operation: 5+50=55
Exploring Operation: 50-5=45, Resulting Numbers: [18, 45]
Generated Node #0,1,1: 51:[18, 45] Operation: 50-5=45
Exploring Operation: 18-5=13, Resulting Numbers: [50, 13]
Generated Node #0,1,2: 51:[50, 13] Operation: 18-5=13
Exploring Operation: 5+18=23, Resulting Numbers: [50, 23]
Generated Node #0,1,3: 51:[50, 23] Operation: 5+18=23
Moving to Node #0,0
Current State: 51:[5, 18, 6], Operations: ['60/10=6']
Exploring Operation: 18-5=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 51:[6, 13] Operation: 18-5=13
Exploring Operation: 5+6=11, Resulting Numbers: [18, 11]
Generated Node #0,0,1: 51:[18, 11] Operation: 5+6=11
Exploring Operation: 6-5=1, Resulting Numbers: [18, 1]
Generated Node #0,0,2: 51:[18, 1] Operation: 6-5=1
Exploring Operation: 18/6=3, Resulting Numbers: [5, 3]
Generated Node #0,0,3: 51:[5, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[5, 3], Operations: ['60/10=6', '18/6=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[18, 1], Operations: ['60/10=6', '6-5=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[6, 13], Operations: ['60/10=6', '18-5=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[18, 11], Operations: ['60/10=6', '5+6=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,51 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,51 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: 51:[18, 60, 50], Operations: ['5*10=50']
Exploring Operation: 60-18=42, Resulting Numbers: [50, 42]
Generated Node #0,3,0: 51:[50, 42] Operation: 60-18=42
Exploring Operation: 60-50=10, Resulting Numbers: [18, 10]
Generated Node #0,3,1: 51:[18, 10] Operation: 60-50=10
Exploring Operation: 18+50=68, Resulting Numbers: [60, 68]
Generated Node #0,3,2: 51:[60, 68] Operation: 18+50=68
Exploring Operation: 50-18=32, Resulting Numbers: [60, 32]
Generated Node #0,3,3: 51:[60, 32] Operation: 50-18=32
Moving to Node #0,2
Current State: 51:[18, 60, 2], Operations: ['10/5=2']
Exploring Operation: 18+2=20, Resulting Numbers: [60, 20]
Generated Node #0,2,0: 51:[60, 20] Operation: 18+2=20
Exploring Operation: 60-18=42, Resulting Numbers: [2, 42]
Generated Node #0,2,1: 51:[2, 42] Operation: 60-18=42
Exploring Operation: 18-2=16, Resulting Numbers: [60, 16]
Generated Node #0,2,2: 51:[60, 16] Operation: 18-2=16
Exploring Operation: 60-2=58, Resulting Numbers: [18, 58]
Generated Node #0,2,3: 51:[18, 58] Operation: 60-2=58
Moving to Node #0,1,0
Current State: 51:[18, 55], Operations: ['60-10=50', '5+50=55']
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,51 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[50, 13], Operations: ['60-10=50', '18-5=13']
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,51 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[18, 45], Operations: ['60-10=50', '50-5=45']
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[50, 23], Operations: ['60-10=50', '5+18=23']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 50*23=1150, Resulting Numbers: [1150]
1150,51 unequal: No Solution
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[18, 10], Operations: ['5*10=50', '60-50=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[18, 58], Operations: ['10/5=2', '60-2=58']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,51 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[50, 42], Operations: ['5*10=50', '60-18=42']
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,51 unequal: No Solution
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[60, 16], Operations: ['10/5=2', '18-2=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,51 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[2, 42], Operations: ['10/5=2', '60-18=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[60, 20], Operations: ['10/5=2', '18+2=20']
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[60, 32], Operations: ['5*10=50', '50-18=32']
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,51 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[60, 68], Operations: ['5*10=50', '18+50=68']
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,51 unequal: No Solution
Exploring Operation: 60*68=4080, Resulting Numbers: [4080]
4080,51 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
22,
2,
65,
17
] | 53
|
[
"22+65=87",
"2*17=34",
"87-34=53"
] |
Current State: 53:[22, 2, 65, 17], Operations: []
Exploring Operation: 22+65=87, Resulting Numbers: [2, 17, 87]
Generated Node #2: [2, 17, 87] from Operation: 22+65=87
Current State: 53:[2, 17, 87], Operations: ['22+65=87']
Exploring Operation: 2*17=34, Resulting Numbers: [87, 34]
Generated Node #3: [87, 34] from Operation: 2*17=34
Current State: 53:[87, 34], Operations: ['22+65=87', '2*17=34']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[22, 2, 65, 17], Operations: []
Exploring Operation: 22+2=24, Resulting Numbers: [65, 17, 24]
Generated Node #0,0: 53:[65, 17, 24] Operation: 22+2=24
Exploring Operation: 22*2=44, Resulting Numbers: [65, 17, 44]
Generated Node #0,1: 53:[65, 17, 44] Operation: 22*2=44
Exploring Operation: 22+17=39, Resulting Numbers: [2, 65, 39]
Generated Node #0,2: 53:[2, 65, 39] Operation: 22+17=39
Exploring Operation: 2*17=34, Resulting Numbers: [22, 65, 34]
Generated Node #0,3: 53:[22, 65, 34] Operation: 2*17=34
Moving to Node #0,1
Current State: 53:[65, 17, 44], Operations: ['22*2=44']
Exploring Operation: 44-17=27, Resulting Numbers: [65, 27]
Generated Node #0,1,0: 53:[65, 27] Operation: 44-17=27
Exploring Operation: 65+17=82, Resulting Numbers: [44, 82]
Generated Node #0,1,1: 53:[44, 82] Operation: 65+17=82
Exploring Operation: 17+44=61, Resulting Numbers: [65, 61]
Generated Node #0,1,2: 53:[65, 61] Operation: 17+44=61
Exploring Operation: 65-17=48, Resulting Numbers: [44, 48]
Generated Node #0,1,3: 53:[44, 48] Operation: 65-17=48
Moving to Node #0,3
Current State: 53:[22, 65, 34], Operations: ['2*17=34']
Exploring Operation: 34-22=12, Resulting Numbers: [65, 12]
Generated Node #0,3,0: 53:[65, 12] Operation: 34-22=12
Exploring Operation: 22+34=56, Resulting Numbers: [65, 56]
Generated Node #0,3,1: 53:[65, 56] Operation: 22+34=56
Exploring Operation: 65-22=43, Resulting Numbers: [34, 43]
Generated Node #0,3,2: 53:[34, 43] Operation: 65-22=43
Exploring Operation: 22+65=87, Resulting Numbers: [34, 87]
Generated Node #0,3,3: 53:[34, 87] Operation: 22+65=87
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[65, 56], Operations: ['2*17=34', '22+34=56']
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 65+56=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 65*56=3640, Resulting Numbers: [3640]
3640,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[34, 43], Operations: ['2*17=34', '65-22=43']
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,53 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[65, 12], Operations: ['2*17=34', '34-22=12']
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,53 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[22, 2, 65, 17], Operations: []
Exploring Operation: 2*17=34, Resulting Numbers: [22, 65, 34]
Generated Node #0,3: 53:[22, 65, 34] Operation: 2*17=34
Moving to Node #0,3
Current State: 53:[22, 65, 34], Operations: ['2*17=34']
Exploring Operation: 34-22=12, Resulting Numbers: [65, 12]
Generated Node #0,3,0: 53:[65, 12] Operation: 34-22=12
Moving to Node #0,3,0
Current State: 53:[65, 12], Operations: ['2*17=34', '34-22=12']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167
|
hs_4
|
mult_heuristic
|
[
2,
27,
49,
12
] | 68
|
[
"49-27=22",
"12+22=34",
"2*34=68"
] |
Current State: 68:[2, 27, 49, 12], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [2, 12, 22]
Generated Node #2: [2, 12, 22] from Operation: 49-27=22
Current State: 68:[2, 12, 22], Operations: ['49-27=22']
Exploring Operation: 12+22=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 12+22=34
Current State: 68:[2, 34], Operations: ['49-27=22', '12+22=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[2, 27, 49, 12], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [2, 12, 22]
Generated Node #0,0: 68:[2, 12, 22] Operation: 49-27=22
Exploring Operation: 27+49=76, Resulting Numbers: [2, 12, 76]
Generated Node #0,1: 68:[2, 12, 76] Operation: 27+49=76
Exploring Operation: 49+12=61, Resulting Numbers: [2, 27, 61]
Generated Node #0,2: 68:[2, 27, 61] Operation: 49+12=61
Exploring Operation: 49-12=37, Resulting Numbers: [2, 27, 37]
Generated Node #0,3: 68:[2, 27, 37] Operation: 49-12=37
Moving to Node #0,0
Current State: 68:[2, 12, 22], Operations: ['49-27=22']
Exploring Operation: 2+12=14, Resulting Numbers: [22, 14]
Generated Node #0,0,0: 68:[22, 14] Operation: 2+12=14
Exploring Operation: 22-12=10, Resulting Numbers: [2, 10]
Generated Node #0,0,1: 68:[2, 10] Operation: 22-12=10
Exploring Operation: 12+22=34, Resulting Numbers: [2, 34]
Generated Node #0,0,2: 68:[2, 34] Operation: 12+22=34
Exploring Operation: 12/2=6, Resulting Numbers: [22, 6]
Generated Node #0,0,3: 68:[22, 6] Operation: 12/2=6
Moving to Node #0,3
Current State: 68:[2, 27, 37], Operations: ['49-12=37']
Exploring Operation: 37-2=35, Resulting Numbers: [27, 35]
Generated Node #0,3,0: 68:[27, 35] Operation: 37-2=35
Exploring Operation: 37-27=10, Resulting Numbers: [2, 10]
Generated Node #0,3,1: 68:[2, 10] Operation: 37-27=10
Exploring Operation: 27+37=64, Resulting Numbers: [2, 64]
Generated Node #0,3,2: 68:[2, 64] Operation: 27+37=64
Exploring Operation: 2+27=29, Resulting Numbers: [37, 29]
Generated Node #0,3,3: 68:[37, 29] Operation: 2+27=29
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[2, 64], Operations: ['49-12=37', '27+37=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[2, 10], Operations: ['49-12=37', '37-27=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[27, 35], Operations: ['49-12=37', '37-2=35']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,68 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[37, 29], Operations: ['49-12=37', '2+27=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,68 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,68 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: 68:[2, 12, 76], Operations: ['27+49=76']
Exploring Operation: 12/2=6, Resulting Numbers: [76, 6]
Generated Node #0,1,0: 68:[76, 6] Operation: 12/2=6
Exploring Operation: 76-12=64, Resulting Numbers: [2, 64]
Generated Node #0,1,1: 68:[2, 64] Operation: 76-12=64
Exploring Operation: 2+12=14, Resulting Numbers: [76, 14]
Generated Node #0,1,2: 68:[76, 14] Operation: 2+12=14
Exploring Operation: 76/2=38, Resulting Numbers: [12, 38]
Generated Node #0,1,3: 68:[12, 38] Operation: 76/2=38
Moving to Node #0,2
Current State: 68:[2, 27, 61], Operations: ['49+12=61']
Exploring Operation: 61-27=34, Resulting Numbers: [2, 34]
Generated Node #0,2,0: 68:[2, 34] Operation: 61-27=34
Exploring Operation: 27-2=25, Resulting Numbers: [61, 25]
Generated Node #0,2,1: 68:[61, 25] Operation: 27-2=25
Exploring Operation: 2+27=29, Resulting Numbers: [61, 29]
Generated Node #0,2,2: 68:[61, 29] Operation: 2+27=29
Exploring Operation: 2+61=63, Resulting Numbers: [27, 63]
Generated Node #0,2,3: 68:[27, 63] Operation: 2+61=63
Moving to Node #0,0,2
Current State: 68:[2, 34], Operations: ['49-27=22', '12+22=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[2, 27, 49, 12], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [2, 12, 22]
Generated Node #0,0: 68:[2, 12, 22] Operation: 49-27=22
Moving to Node #0,0
Current State: 68:[2, 12, 22], Operations: ['49-27=22']
Exploring Operation: 12+22=34, Resulting Numbers: [2, 34]
Generated Node #0,0,2: 68:[2, 34] Operation: 12+22=34
Moving to Node #0,0,2
Current State: 68:[2, 34], Operations: ['49-27=22', '12+22=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.965278
|
hs_4
|
sum_heuristic
|
[
55,
4,
18,
73
] | 55
|
[
"4*18=72",
"73-72=1",
"55*1=55"
] |
Current State: 55:[55, 4, 18, 73], Operations: []
Exploring Operation: 4*18=72, Resulting Numbers: [55, 73, 72]
Generated Node #2: [55, 73, 72] from Operation: 4*18=72
Current State: 55:[55, 73, 72], Operations: ['4*18=72']
Exploring Operation: 73-72=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 73-72=1
Current State: 55:[55, 1], Operations: ['4*18=72', '73-72=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[55, 4, 18, 73], Operations: []
Exploring Operation: 73-18=55, Resulting Numbers: [55, 4, 55]
Generated Node #0,0: 55:[55, 4, 55] Operation: 73-18=55
Exploring Operation: 73-4=69, Resulting Numbers: [55, 18, 69]
Generated Node #0,1: 55:[55, 18, 69] Operation: 73-4=69
Exploring Operation: 73-55=18, Resulting Numbers: [4, 18, 18]
Generated Node #0,2: 55:[4, 18, 18] Operation: 73-55=18
Exploring Operation: 55+4=59, Resulting Numbers: [18, 73, 59]
Generated Node #0,3: 55:[18, 73, 59] Operation: 55+4=59
Exploring Operation: 18-4=14, Resulting Numbers: [55, 73, 14]
Generated Node #0,4: 55:[55, 73, 14] Operation: 18-4=14
Moving to Node #0,0
Current State: 55:[55, 4, 55], Operations: ['73-18=55']
Exploring Operation: 55/55=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 55:[4, 1] Operation: 55/55=1
Exploring Operation: 55-4=51, Resulting Numbers: [55, 51]
Generated Node #0,0,1: 55:[55, 51] Operation: 55-4=51
Exploring Operation: 55-4=51, Resulting Numbers: [55, 51]
Generated Node #0,0,2: 55:[55, 51] Operation: 55-4=51
Exploring Operation: 55+4=59, Resulting Numbers: [55, 59]
Generated Node #0,0,3: 55:[55, 59] Operation: 55+4=59
Exploring Operation: 4+55=59, Resulting Numbers: [55, 59]
Generated Node #0,0,4: 55:[55, 59] Operation: 4+55=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[55, 51], Operations: ['73-18=55', '55-4=51']
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,55 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,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:[55, 51], Operations: ['73-18=55', '55-4=51']
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,55 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,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:[55, 59], Operations: ['73-18=55', '55+4=59']
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,55 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,55 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,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,4
Current State: 55:[55, 59], Operations: ['73-18=55', '4+55=59']
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,55 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,55 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,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:[4, 1], Operations: ['73-18=55', '55/55=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,55 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: 55:[4, 18, 18], Operations: ['73-55=18']
Exploring Operation: 4+18=22, Resulting Numbers: [18, 22]
Generated Node #0,2,0: 55:[18, 22] Operation: 4+18=22
Exploring Operation: 18/18=1, Resulting Numbers: [4, 1]
Generated Node #0,2,1: 55:[4, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [4, 0]
Generated Node #0,2,2: 55:[4, 0] Operation: 18-18=0
Exploring Operation: 18-4=14, Resulting Numbers: [18, 14]
Generated Node #0,2,3: 55:[18, 14] Operation: 18-4=14
Exploring Operation: 18-4=14, Resulting Numbers: [18, 14]
Generated Node #0,2,4: 55:[18, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[4, 1], Operations: ['73-55=18', '18/18=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,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:[4, 0], Operations: ['73-55=18', '18-18=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,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:[18, 14], Operations: ['73-55=18', '18-4=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,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,4
Current State: 55:[18, 14], Operations: ['73-55=18', '18-4=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,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:[18, 22], Operations: ['73-55=18', '4+18=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,55 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,55 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: 55:[55, 18, 69], Operations: ['73-4=69']
Exploring Operation: 55-18=37, Resulting Numbers: [69, 37]
Generated Node #0,1,0: 55:[69, 37] Operation: 55-18=37
Exploring Operation: 18+69=87, Resulting Numbers: [55, 87]
Generated Node #0,1,1: 55:[55, 87] Operation: 18+69=87
Exploring Operation: 55+18=73, Resulting Numbers: [69, 73]
Generated Node #0,1,2: 55:[69, 73] Operation: 55+18=73
Exploring Operation: 69-18=51, Resulting Numbers: [55, 51]
Generated Node #0,1,3: 55:[55, 51] Operation: 69-18=51
Exploring Operation: 69-55=14, Resulting Numbers: [18, 14]
Generated Node #0,1,4: 55:[18, 14] Operation: 69-55=14
Moving to Node #0,4
Current State: 55:[55, 73, 14], Operations: ['18-4=14']
Exploring Operation: 55-14=41, Resulting Numbers: [73, 41]
Generated Node #0,4,0: 55:[73, 41] Operation: 55-14=41
Exploring Operation: 73-55=18, Resulting Numbers: [14, 18]
Generated Node #0,4,1: 55:[14, 18] Operation: 73-55=18
Exploring Operation: 73-14=59, Resulting Numbers: [55, 59]
Generated Node #0,4,2: 55:[55, 59] Operation: 73-14=59
Exploring Operation: 73+14=87, Resulting Numbers: [55, 87]
Generated Node #0,4,3: 55:[55, 87] Operation: 73+14=87
Exploring Operation: 55+14=69, Resulting Numbers: [73, 69]
Generated Node #0,4,4: 55:[73, 69] Operation: 55+14=69
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 55:[55, 59], Operations: ['18-4=14', '73-14=59']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,55 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,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,4,1
Current State: 55:[14, 18], Operations: ['18-4=14', '73-55=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,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,4,0
Current State: 55:[73, 41], Operations: ['18-4=14', '55-14=41']
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,55 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,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,4,3
Current State: 55:[55, 87], Operations: ['18-4=14', '73+14=87']
Exploring Operation: 55+87=142, Resulting Numbers: [142]
142,55 unequal: No Solution
Exploring Operation: 55*87=4785, Resulting Numbers: [4785]
4785,55 unequal: No Solution
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,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,4,4
Current State: 55:[73, 69], Operations: ['18-4=14', '55+14=69']
Exploring Operation: 73+69=142, Resulting Numbers: [142]
142,55 unequal: No Solution
Exploring Operation: 73*69=5037, Resulting Numbers: [5037]
5037,55 unequal: No Solution
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,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:[18, 73, 59], Operations: ['55+4=59']
Exploring Operation: 59-18=41, Resulting Numbers: [73, 41]
Generated Node #0,3,0: 55:[73, 41] Operation: 59-18=41
Exploring Operation: 73-59=14, Resulting Numbers: [18, 14]
Generated Node #0,3,1: 55:[18, 14] Operation: 73-59=14
Exploring Operation: 18+73=91, Resulting Numbers: [59, 91]
Generated Node #0,3,2: 55:[59, 91] Operation: 18+73=91
Exploring Operation: 73-18=55, Resulting Numbers: [59, 55]
Generated Node #0,3,3: 55:[59, 55] Operation: 73-18=55
Exploring Operation: 18+59=77, Resulting Numbers: [73, 77]
Generated Node #0,3,4: 55:[73, 77] Operation: 18+59=77
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[59, 55], Operations: ['55+4=59', '73-18=55']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,55 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,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:[18, 14], Operations: ['55+4=59', '73-59=14']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,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,0
Current State: 55:[73, 41], Operations: ['55+4=59', '59-18=41']
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,55 unequal: No Solution
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,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:[59, 91], Operations: ['55+4=59', '18+73=91']
Exploring Operation: 59*91=5369, Resulting Numbers: [5369]
5369,55 unequal: No Solution
Exploring Operation: 59+91=150, Resulting Numbers: [150]
150,55 unequal: No Solution
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,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:[73, 77], Operations: ['55+4=59', '18+59=77']
Exploring Operation: 73+77=150, Resulting Numbers: [150]
150,55 unequal: No Solution
Exploring Operation: 73*77=5621, Resulting Numbers: [5621]
5621,55 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 55:[55, 51], Operations: ['73-4=69', '69-18=51']
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[18, 14], Operations: ['73-4=69', '69-55=14']
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[69, 37], Operations: ['73-4=69', '55-18=37']
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,55 unequal: No Solution
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[55, 87], Operations: ['73-4=69', '18+69=87']
Exploring Operation: 55*87=4785, Resulting Numbers: [4785]
4785,55 unequal: No Solution
Exploring Operation: 55+87=142, Resulting Numbers: [142]
142,55 unequal: No Solution
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[69, 73], Operations: ['73-4=69', '55+18=73']
Exploring Operation: 69*73=5037, Resulting Numbers: [5037]
5037,55 unequal: No Solution
Exploring Operation: 69+73=142, Resulting Numbers: [142]
142,55 unequal: No Solution
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
9,
3,
63,
60
] | 58
|
[
"9+3=12",
"60/12=5",
"63-5=58"
] |
Current State: 58:[9, 3, 63, 60], Operations: []
Exploring Operation: 9+3=12, Resulting Numbers: [63, 60, 12]
Generated Node #2: [63, 60, 12] from Operation: 9+3=12
Current State: 58:[63, 60, 12], Operations: ['9+3=12']
Exploring Operation: 60/12=5, Resulting Numbers: [63, 5]
Generated Node #3: [63, 5] from Operation: 60/12=5
Current State: 58:[63, 5], Operations: ['9+3=12', '60/12=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[9, 3, 63, 60], Operations: []
Exploring Operation: 63-9=54, Resulting Numbers: [3, 60, 54]
Generated Node #0,0: 58:[3, 60, 54] Operation: 63-9=54
Exploring Operation: 9/3=3, Resulting Numbers: [63, 60, 3]
Generated Node #0,1: 58:[63, 60, 3] Operation: 9/3=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[3, 60, 54], Operations: ['63-9=54']
Exploring Operation: 3+54=57, Resulting Numbers: [60, 57]
Generated Node #0,0,0: 58:[60, 57] Operation: 3+54=57
Exploring Operation: 60-3=57, Resulting Numbers: [54, 57]
Generated Node #0,0,1: 58:[54, 57] Operation: 60-3=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[60, 57], Operations: ['63-9=54', '3+54=57']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,58 unequal: No Solution
No 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: 58:[54, 57], Operations: ['63-9=54', '60-3=57']
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,58 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: 58:[63, 60, 3], Operations: ['9/3=3']
Exploring Operation: 63-60=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 58:[3, 3] Operation: 63-60=3
Exploring Operation: 63-3=60, Resulting Numbers: [60, 60]
Generated Node #0,1,1: 58:[60, 60] Operation: 63-3=60
Moving to Node #0,1,0
Current State: 58:[3, 3], Operations: ['9/3=3', '63-60=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[60, 60], Operations: ['9/3=3', '63-3=60']
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
2,
2,
5,
13
] | 69
|
[
"2+2=4",
"5*13=65",
"4+65=69"
] |
Current State: 69:[2, 2, 5, 13], Operations: []
Exploring Operation: 2+2=4, Resulting Numbers: [5, 13, 4]
Generated Node #2: [5, 13, 4] from Operation: 2+2=4
Current State: 69:[5, 13, 4], Operations: ['2+2=4']
Exploring Operation: 5*13=65, Resulting Numbers: [4, 65]
Generated Node #3: [4, 65] from Operation: 5*13=65
Current State: 69:[4, 65], Operations: ['2+2=4', '5*13=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[2, 2, 5, 13], Operations: []
Exploring Operation: 2*13=26, Resulting Numbers: [2, 5, 26]
Generated Node #0,0: 69:[2, 5, 26] Operation: 2*13=26
Exploring Operation: 2*13=26, Resulting Numbers: [2, 5, 26]
Generated Node #0,1: 69:[2, 5, 26] Operation: 2*13=26
Exploring Operation: 5*13=65, Resulting Numbers: [2, 2, 65]
Generated Node #0,2: 69:[2, 2, 65] Operation: 5*13=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 5, 26], Operations: ['2*13=26']
Exploring Operation: 26-5=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 69:[2, 21] Operation: 26-5=21
Exploring Operation: 5-2=3, Resulting Numbers: [26, 3]
Generated Node #0,0,1: 69:[26, 3] Operation: 5-2=3
Exploring Operation: 26-2=24, Resulting Numbers: [5, 24]
Generated Node #0,0,2: 69:[5, 24] Operation: 26-2=24
Moving to Node #0,0,0
Current State: 69:[2, 21], Operations: ['2*13=26', '26-5=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[26, 3], Operations: ['2*13=26', '5-2=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,69 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[5, 24], Operations: ['2*13=26', '26-2=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[2, 5, 26], Operations: ['2*13=26']
Exploring Operation: 26-2=24, Resulting Numbers: [5, 24]
Generated Node #0,1,0: 69:[5, 24] Operation: 26-2=24
Exploring Operation: 26-5=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 69:[2, 21] Operation: 26-5=21
Exploring Operation: 5-2=3, Resulting Numbers: [26, 3]
Generated Node #0,1,2: 69:[26, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[5, 24], Operations: ['2*13=26', '26-2=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[2, 21], Operations: ['2*13=26', '26-5=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[26, 3], Operations: ['2*13=26', '5-2=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,69 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[2, 2, 65], Operations: ['5*13=65']
Exploring Operation: 2+2=4, Resulting Numbers: [65, 4]
Generated Node #0,2,0: 69:[65, 4] Operation: 2+2=4
Exploring Operation: 2+65=67, Resulting Numbers: [2, 67]
Generated Node #0,2,1: 69:[2, 67] Operation: 2+65=67
Exploring Operation: 2+65=67, Resulting Numbers: [2, 67]
Generated Node #0,2,2: 69:[2, 67] Operation: 2+65=67
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[2, 67], Operations: ['5*13=65', '2+65=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[2, 2, 5, 13], Operations: []
Exploring Operation: 5*13=65, Resulting Numbers: [2, 2, 65]
Generated Node #0,2: 69:[2, 2, 65] Operation: 5*13=65
Moving to Node #0,2
Current State: 69:[2, 2, 65], Operations: ['5*13=65']
Exploring Operation: 2+65=67, Resulting Numbers: [2, 67]
Generated Node #0,2,1: 69:[2, 67] Operation: 2+65=67
Moving to Node #0,2,1
Current State: 69:[2, 67], Operations: ['5*13=65', '2+65=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618
|
hs_3
|
sum_heuristic
|
[
5,
2,
35,
9
] | 27
|
[
"9-5=4",
"2*4=8",
"35-8=27"
] |
Current State: 27:[5, 2, 35, 9], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [2, 35, 4]
Generated Node #2: [2, 35, 4] from Operation: 9-5=4
Current State: 27:[2, 35, 4], Operations: ['9-5=4']
Exploring Operation: 2*4=8, Resulting Numbers: [35, 8]
Generated Node #3: [35, 8] from Operation: 2*4=8
Current State: 27:[35, 8], Operations: ['9-5=4', '2*4=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[5, 2, 35, 9], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [2, 9, 7]
Generated Node #0,0: 27:[2, 9, 7] Operation: 35/5=7
Exploring Operation: 35-5=30, Resulting Numbers: [2, 9, 30]
Generated Node #0,1: 27:[2, 9, 30] Operation: 35-5=30
Moving to Node #0,0
Current State: 27:[2, 9, 7], Operations: ['35/5=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 27:[9, 9] Operation: 2+7=9
Exploring Operation: 7-2=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 27:[9, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[9, 9], Operations: ['35/5=7', '2+7=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[9, 5], Operations: ['35/5=7', '7-2=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 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: 27:[2, 9, 30], Operations: ['35-5=30']
Exploring Operation: 30-2=28, Resulting Numbers: [9, 28]
Generated Node #0,1,0: 27:[9, 28] Operation: 30-2=28
Exploring Operation: 2+9=11, Resulting Numbers: [30, 11]
Generated Node #0,1,1: 27:[30, 11] Operation: 2+9=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[9, 28], Operations: ['35-5=30', '30-2=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,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:[30, 11], Operations: ['35-5=30', '2+9=11']
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,27 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
|
[
14,
30,
86,
85
] | 15
|
[
"30-14=16",
"86-85=1",
"16-1=15"
] |
Current State: 15:[14, 30, 86, 85], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [86, 85, 16]
Generated Node #2: [86, 85, 16] from Operation: 30-14=16
Current State: 15:[86, 85, 16], Operations: ['30-14=16']
Exploring Operation: 86-85=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 86-85=1
Current State: 15:[16, 1], Operations: ['30-14=16', '86-85=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[14, 30, 86, 85], Operations: []
Exploring Operation: 86-30=56, Resulting Numbers: [14, 85, 56]
Generated Node #0,0: 15:[14, 85, 56] Operation: 86-30=56
Exploring Operation: 86-85=1, Resulting Numbers: [14, 30, 1]
Generated Node #0,1: 15:[14, 30, 1] Operation: 86-85=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[14, 30, 1], Operations: ['86-85=1']
Exploring Operation: 14+1=15, Resulting Numbers: [30, 15]
Generated Node #0,1,0: 15:[30, 15] Operation: 14+1=15
Exploring Operation: 30-14=16, Resulting Numbers: [1, 16]
Generated Node #0,1,1: 15:[1, 16] Operation: 30-14=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[1, 16], Operations: ['86-85=1', '30-14=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[14, 30, 86, 85], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [14, 30, 1]
Generated Node #0,1: 15:[14, 30, 1] Operation: 86-85=1
Moving to Node #0,1
Current State: 15:[14, 30, 1], Operations: ['86-85=1']
Exploring Operation: 30-14=16, Resulting Numbers: [1, 16]
Generated Node #0,1,1: 15:[1, 16] Operation: 30-14=16
Moving to Node #0,1,1
Current State: 15:[1, 16], Operations: ['86-85=1', '30-14=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
[
4,
3,
85,
38
] | 30
|
[
"85-3=82",
"38+82=120",
"120/4=30"
] |
Current State: 30:[4, 3, 85, 38], Operations: []
Exploring Operation: 85-3=82, Resulting Numbers: [4, 38, 82]
Generated Node #2: [4, 38, 82] from Operation: 85-3=82
Current State: 30:[4, 38, 82], Operations: ['85-3=82']
Exploring Operation: 38+82=120, Resulting Numbers: [4, 120]
Generated Node #3: [4, 120] from Operation: 38+82=120
Current State: 30:[4, 120], Operations: ['85-3=82', '38+82=120']
Exploring Operation: 120/4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4
|
Current State: 30:[4, 3, 85, 38], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [4, 3, 47]
Generated Node #0,0: 30:[4, 3, 47] Operation: 85-38=47
Moving to Node #0,0
Current State: 30:[4, 3, 47], Operations: ['85-38=47']
Exploring Operation: 47-4=43, Resulting Numbers: [3, 43]
Generated Node #0,0,0: 30:[3, 43] Operation: 47-4=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[3, 43], Operations: ['85-38=47', '47-4=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,30 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,
50,
52,
47
] | 95
|
[
"52-47=5",
"29*5=145",
"145-50=95"
] |
Current State: 95:[29, 50, 52, 47], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [29, 50, 5]
Generated Node #2: [29, 50, 5] from Operation: 52-47=5
Current State: 95:[29, 50, 5], Operations: ['52-47=5']
Exploring Operation: 29*5=145, Resulting Numbers: [50, 145]
Generated Node #3: [50, 145] from Operation: 29*5=145
Current State: 95:[50, 145], Operations: ['52-47=5', '29*5=145']
Exploring Operation: 145-50=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[29, 50, 52, 47], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [29, 47, 2]
Generated Node #0,0: 95:[29, 47, 2] Operation: 52-50=2
Moving to Node #0,0
Current State: 95:[29, 47, 2], Operations: ['52-50=2']
Exploring Operation: 47-29=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 95:[2, 18] Operation: 47-29=18
Moving to Node #0,0,0
Current State: 95:[2, 18], Operations: ['52-50=2', '47-29=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
70,
2,
98,
55
] | 81
|
[
"70+2=72",
"98+55=153",
"153-72=81"
] |
Current State: 81:[70, 2, 98, 55], Operations: []
Exploring Operation: 70+2=72, Resulting Numbers: [98, 55, 72]
Generated Node #2: [98, 55, 72] from Operation: 70+2=72
Current State: 81:[98, 55, 72], Operations: ['70+2=72']
Exploring Operation: 98+55=153, Resulting Numbers: [72, 153]
Generated Node #3: [72, 153] from Operation: 98+55=153
Current State: 81:[72, 153], Operations: ['70+2=72', '98+55=153']
Exploring Operation: 153-72=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[70, 2, 98, 55], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [2, 98, 15]
Generated Node #0,0: 81:[2, 98, 15] Operation: 70-55=15
Exploring Operation: 98-55=43, Resulting Numbers: [70, 2, 43]
Generated Node #0,1: 81:[70, 2, 43] Operation: 98-55=43
Exploring Operation: 98-70=28, Resulting Numbers: [2, 55, 28]
Generated Node #0,2: 81:[2, 55, 28] Operation: 98-70=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[2, 98, 15], Operations: ['70-55=15']
Exploring Operation: 2*15=30, Resulting Numbers: [98, 30]
Generated Node #0,0,0: 81:[98, 30] Operation: 2*15=30
Exploring Operation: 98-2=96, Resulting Numbers: [15, 96]
Generated Node #0,0,1: 81:[15, 96] Operation: 98-2=96
Exploring Operation: 98-15=83, Resulting Numbers: [2, 83]
Generated Node #0,0,2: 81:[2, 83] Operation: 98-15=83
Moving to Node #0,0,2
Current State: 81:[2, 83], Operations: ['70-55=15', '98-15=83']
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[70, 2, 98, 55], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [2, 98, 15]
Generated Node #0,0: 81:[2, 98, 15] Operation: 70-55=15
Moving to Node #0,0
Current State: 81:[2, 98, 15], Operations: ['70-55=15']
Exploring Operation: 98-15=83, Resulting Numbers: [2, 83]
Generated Node #0,0,2: 81:[2, 83] Operation: 98-15=83
Moving to Node #0,0,2
Current State: 81:[2, 83], Operations: ['70-55=15', '98-15=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
sum_heuristic
|
[
49,
78,
83,
73
] | 39
|
[
"78-49=29",
"83-73=10",
"29+10=39"
] |
Current State: 39:[49, 78, 83, 73], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [83, 73, 29]
Generated Node #2: [83, 73, 29] from Operation: 78-49=29
Current State: 39:[83, 73, 29], Operations: ['78-49=29']
Exploring Operation: 83-73=10, Resulting Numbers: [29, 10]
Generated Node #3: [29, 10] from Operation: 83-73=10
Current State: 39:[29, 10], Operations: ['78-49=29', '83-73=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[49, 78, 83, 73], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [49, 73, 5]
Generated Node #0,0: 39:[49, 73, 5] Operation: 83-78=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[49, 73, 5], Operations: ['83-78=5']
Exploring Operation: 73-49=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 39:[5, 24] Operation: 73-49=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[5, 24], Operations: ['83-78=5', '73-49=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
31,
4,
12,
62
] | 74
|
[
"31*4=124",
"62-12=50",
"124-50=74"
] |
Current State: 74:[31, 4, 12, 62], Operations: []
Exploring Operation: 31*4=124, Resulting Numbers: [12, 62, 124]
Generated Node #2: [12, 62, 124] from Operation: 31*4=124
Current State: 74:[12, 62, 124], Operations: ['31*4=124']
Exploring Operation: 62-12=50, Resulting Numbers: [124, 50]
Generated Node #3: [124, 50] from Operation: 62-12=50
Current State: 74:[124, 50], Operations: ['31*4=124', '62-12=50']
Exploring Operation: 124-50=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[31, 4, 12, 62], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [4, 12, 2]
Generated Node #0,0: 74:[4, 12, 2] Operation: 62/31=2
Exploring Operation: 12+62=74, Resulting Numbers: [31, 4, 74]
Generated Node #0,1: 74:[31, 4, 74] Operation: 12+62=74
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[31, 4, 74], Operations: ['12+62=74']
Exploring Operation: 31+4=35, Resulting Numbers: [74, 35]
Generated Node #0,1,0: 74:[74, 35] Operation: 31+4=35
Exploring Operation: 74-31=43, Resulting Numbers: [4, 43]
Generated Node #0,1,1: 74:[4, 43] Operation: 74-31=43
Moving to Node #0,1,0
Current State: 74:[74, 35], Operations: ['12+62=74', '31+4=35']
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,74 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[4, 43], Operations: ['12+62=74', '74-31=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[4, 12, 2], Operations: ['62/31=2']
Exploring Operation: 12-4=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 74:[2, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 74:[2, 3] Operation: 12/4=3
Moving to Node #0,0,1
Current State: 74:[2, 3], Operations: ['62/31=2', '12/4=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[2, 8], Operations: ['62/31=2', '12-4=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,74 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
|
[
14,
23,
15,
69
] | 63
|
[
"23-14=9",
"69-15=54",
"9+54=63"
] |
Current State: 63:[14, 23, 15, 69], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [15, 69, 9]
Generated Node #2: [15, 69, 9] from Operation: 23-14=9
Current State: 63:[15, 69, 9], Operations: ['23-14=9']
Exploring Operation: 69-15=54, Resulting Numbers: [9, 54]
Generated Node #3: [9, 54] from Operation: 69-15=54
Current State: 63:[9, 54], Operations: ['23-14=9', '69-15=54']
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[14, 23, 15, 69], Operations: []
Exploring Operation: 15-14=1, Resulting Numbers: [23, 69, 1]
Generated Node #0,0: 63:[23, 69, 1] Operation: 15-14=1
Exploring Operation: 69/23=3, Resulting Numbers: [14, 15, 3]
Generated Node #0,1: 63:[14, 15, 3] Operation: 69/23=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[23, 69, 1], Operations: ['15-14=1']
Exploring Operation: 23-1=22, Resulting Numbers: [69, 22]
Generated Node #0,0,0: 63:[69, 22] Operation: 23-1=22
Exploring Operation: 69/23=3, Resulting Numbers: [1, 3]
Generated Node #0,0,1: 63:[1, 3] Operation: 69/23=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[1, 3], Operations: ['15-14=1', '69/23=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No 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: 63:[69, 22], Operations: ['15-14=1', '23-1=22']
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[14, 15, 3], Operations: ['69/23=3']
Exploring Operation: 15/3=5, Resulting Numbers: [14, 5]
Generated Node #0,1,0: 63:[14, 5] Operation: 15/3=5
Exploring Operation: 15-14=1, Resulting Numbers: [3, 1]
Generated Node #0,1,1: 63:[3, 1] Operation: 15-14=1
Moving to Node #0,1,1
Current State: 63:[3, 1], Operations: ['69/23=3', '15-14=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[14, 5], Operations: ['69/23=3', '15/3=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,63 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
|
[
21,
96,
8,
10
] | 99
|
[
"21+96=117",
"8+10=18",
"117-18=99"
] |
Current State: 99:[21, 96, 8, 10], Operations: []
Exploring Operation: 21+96=117, Resulting Numbers: [8, 10, 117]
Generated Node #2: [8, 10, 117] from Operation: 21+96=117
Current State: 99:[8, 10, 117], Operations: ['21+96=117']
Exploring Operation: 8+10=18, Resulting Numbers: [117, 18]
Generated Node #3: [117, 18] from Operation: 8+10=18
Current State: 99:[117, 18], Operations: ['21+96=117', '8+10=18']
Exploring Operation: 117-18=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[21, 96, 8, 10], Operations: []
Exploring Operation: 21-10=11, Resulting Numbers: [96, 8, 11]
Generated Node #0,0: 99:[96, 8, 11] Operation: 21-10=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[96, 8, 11], Operations: ['21-10=11']
Exploring Operation: 96/8=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 99:[11, 12] Operation: 96/8=12
Moving to Node #0,0,0
Current State: 99:[11, 12], Operations: ['21-10=11', '96/8=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
58,
40,
33,
14
] | 60
|
[
"40-33=7",
"14/7=2",
"58+2=60"
] |
Current State: 60:[58, 40, 33, 14], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [58, 14, 7]
Generated Node #2: [58, 14, 7] from Operation: 40-33=7
Current State: 60:[58, 14, 7], Operations: ['40-33=7']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 14/7=2
Current State: 60:[58, 2], Operations: ['40-33=7', '14/7=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[58, 40, 33, 14], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [58, 33, 26]
Generated Node #0,0: 60:[58, 33, 26] Operation: 40-14=26
Exploring Operation: 40-33=7, Resulting Numbers: [58, 14, 7]
Generated Node #0,1: 60:[58, 14, 7] Operation: 40-33=7
Exploring Operation: 58-40=18, Resulting Numbers: [33, 14, 18]
Generated Node #0,2: 60:[33, 14, 18] Operation: 58-40=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[58, 14, 7], Operations: ['40-33=7']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 60:[58, 2] Operation: 14/7=2
Exploring Operation: 14+7=21, Resulting Numbers: [58, 21]
Generated Node #0,1,1: 60:[58, 21] Operation: 14+7=21
Exploring Operation: 14-7=7, Resulting Numbers: [58, 7]
Generated Node #0,1,2: 60:[58, 7] Operation: 14-7=7
Moving to Node #0,1,0
Current State: 60:[58, 2], Operations: ['40-33=7', '14/7=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[58, 40, 33, 14], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [58, 14, 7]
Generated Node #0,1: 60:[58, 14, 7] Operation: 40-33=7
Moving to Node #0,1
Current State: 60:[58, 14, 7], Operations: ['40-33=7']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 60:[58, 2] Operation: 14/7=2
Moving to Node #0,1,0
Current State: 60:[58, 2], Operations: ['40-33=7', '14/7=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
99,
14,
40,
98
] | 26
|
[
"99-98=1",
"40-14=26",
"1*26=26"
] |
Current State: 26:[99, 14, 40, 98], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [14, 40, 1]
Generated Node #2: [14, 40, 1] from Operation: 99-98=1
Current State: 26:[14, 40, 1], Operations: ['99-98=1']
Exploring Operation: 40-14=26, Resulting Numbers: [1, 26]
Generated Node #3: [1, 26] from Operation: 40-14=26
Current State: 26:[1, 26], Operations: ['99-98=1', '40-14=26']
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[99, 14, 40, 98], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [99, 40, 7]
Generated Node #0,0: 26:[99, 40, 7] Operation: 98/14=7
Exploring Operation: 99-40=59, Resulting Numbers: [14, 98, 59]
Generated Node #0,1: 26:[14, 98, 59] Operation: 99-40=59
Exploring Operation: 99-98=1, Resulting Numbers: [14, 40, 1]
Generated Node #0,2: 26:[14, 40, 1] Operation: 99-98=1
Moving to Node #0,2
Current State: 26:[14, 40, 1], Operations: ['99-98=1']
Exploring Operation: 40-1=39, Resulting Numbers: [14, 39]
Generated Node #0,2,0: 26:[14, 39] Operation: 40-1=39
Exploring Operation: 40-14=26, Resulting Numbers: [1, 26]
Generated Node #0,2,1: 26:[1, 26] Operation: 40-14=26
Exploring Operation: 14-1=13, Resulting Numbers: [40, 13]
Generated Node #0,2,2: 26:[40, 13] Operation: 14-1=13
Moving to Node #0,0
Current State: 26:[99, 40, 7], Operations: ['98/14=7']
Exploring Operation: 99-7=92, Resulting Numbers: [40, 92]
Generated Node #0,0,0: 26:[40, 92] Operation: 99-7=92
Exploring Operation: 40-7=33, Resulting Numbers: [99, 33]
Generated Node #0,0,1: 26:[99, 33] Operation: 40-7=33
Exploring Operation: 99-40=59, Resulting Numbers: [7, 59]
Generated Node #0,0,2: 26:[7, 59] Operation: 99-40=59
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[7, 59], Operations: ['98/14=7', '99-40=59']
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,26 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,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:[40, 92], Operations: ['98/14=7', '99-7=92']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 40*92=3680, Resulting Numbers: [3680]
3680,26 unequal: No Solution
Exploring Operation: 40+92=132, Resulting Numbers: [132]
132,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:[99, 33], Operations: ['98/14=7', '40-7=33']
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,26 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: 26:[14, 98, 59], Operations: ['99-40=59']
Exploring Operation: 98-59=39, Resulting Numbers: [14, 39]
Generated Node #0,1,0: 26:[14, 39] Operation: 98-59=39
Exploring Operation: 98-14=84, Resulting Numbers: [59, 84]
Generated Node #0,1,1: 26:[59, 84] Operation: 98-14=84
Exploring Operation: 98/14=7, Resulting Numbers: [59, 7]
Generated Node #0,1,2: 26:[59, 7] Operation: 98/14=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[14, 39], Operations: ['99-40=59', '98-59=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,26 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,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:[59, 7], Operations: ['99-40=59', '98/14=7']
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,26 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,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:[59, 84], Operations: ['99-40=59', '98-14=84']
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,26 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,26 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: 26:[1, 26], Operations: ['99-98=1', '40-14=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[99, 14, 40, 98], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [14, 40, 1]
Generated Node #0,2: 26:[14, 40, 1] Operation: 99-98=1
Moving to Node #0,2
Current State: 26:[14, 40, 1], Operations: ['99-98=1']
Exploring Operation: 40-14=26, Resulting Numbers: [1, 26]
Generated Node #0,2,1: 26:[1, 26] Operation: 40-14=26
Moving to Node #0,2,1
Current State: 26:[1, 26], Operations: ['99-98=1', '40-14=26']
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.96875
|
hs_3
|
sum_heuristic
|
[
11,
1,
19,
58
] | 27
|
[
"11+1=12",
"58-19=39",
"39-12=27"
] |
Current State: 27:[11, 1, 19, 58], Operations: []
Exploring Operation: 11+1=12, Resulting Numbers: [19, 58, 12]
Generated Node #2: [19, 58, 12] from Operation: 11+1=12
Current State: 27:[19, 58, 12], Operations: ['11+1=12']
Exploring Operation: 58-19=39, Resulting Numbers: [12, 39]
Generated Node #3: [12, 39] from Operation: 58-19=39
Current State: 27:[12, 39], Operations: ['11+1=12', '58-19=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[11, 1, 19, 58], Operations: []
Exploring Operation: 58-19=39, Resulting Numbers: [11, 1, 39]
Generated Node #0,0: 27:[11, 1, 39] Operation: 58-19=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[11, 1, 39], Operations: ['58-19=39']
Exploring Operation: 39-11=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 27:[1, 28] Operation: 39-11=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[1, 28], Operations: ['58-19=39', '39-11=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[11, 1, 19, 58], Operations: []
Exploring Operation: 58-19=39, Resulting Numbers: [11, 1, 39]
Generated Node #0,0: 27:[11, 1, 39] Operation: 58-19=39
Moving to Node #0,0
Current State: 27:[11, 1, 39], Operations: ['58-19=39']
Exploring Operation: 39-11=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 27:[1, 28] Operation: 39-11=28
Moving to Node #0,0,0
Current State: 27:[1, 28], Operations: ['58-19=39', '39-11=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
21,
29,
55,
73
] | 10
|
[
"29-21=8",
"73-55=18",
"18-8=10"
] |
Current State: 10:[21, 29, 55, 73], Operations: []
Exploring Operation: 29-21=8, Resulting Numbers: [55, 73, 8]
Generated Node #2: [55, 73, 8] from Operation: 29-21=8
Current State: 10:[55, 73, 8], Operations: ['29-21=8']
Exploring Operation: 73-55=18, Resulting Numbers: [8, 18]
Generated Node #3: [8, 18] from Operation: 73-55=18
Current State: 10:[8, 18], Operations: ['29-21=8', '73-55=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[21, 29, 55, 73], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [29, 73, 34]
Generated Node #0,0: 10:[29, 73, 34] Operation: 55-21=34
Exploring Operation: 73-55=18, Resulting Numbers: [21, 29, 18]
Generated Node #0,1: 10:[21, 29, 18] Operation: 73-55=18
Exploring Operation: 55-29=26, Resulting Numbers: [21, 73, 26]
Generated Node #0,2: 10:[21, 73, 26] Operation: 55-29=26
Exploring Operation: 73-29=44, Resulting Numbers: [21, 55, 44]
Generated Node #0,3: 10:[21, 55, 44] Operation: 73-29=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[21, 29, 18], Operations: ['73-55=18']
Exploring Operation: 21-18=3, Resulting Numbers: [29, 3]
Generated Node #0,1,0: 10:[29, 3] Operation: 21-18=3
Exploring Operation: 29-18=11, Resulting Numbers: [21, 11]
Generated Node #0,1,1: 10:[21, 11] Operation: 29-18=11
Exploring Operation: 29-21=8, Resulting Numbers: [18, 8]
Generated Node #0,1,2: 10:[18, 8] Operation: 29-21=8
Exploring Operation: 21+29=50, Resulting Numbers: [18, 50]
Generated Node #0,1,3: 10:[18, 50] Operation: 21+29=50
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[18, 8], Operations: ['73-55=18', '29-21=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,10 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[21, 29, 55, 73], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [21, 29, 18]
Generated Node #0,1: 10:[21, 29, 18] Operation: 73-55=18
Moving to Node #0,1
Current State: 10:[21, 29, 18], Operations: ['73-55=18']
Exploring Operation: 29-21=8, Resulting Numbers: [18, 8]
Generated Node #0,1,2: 10:[18, 8] Operation: 29-21=8
Moving to Node #0,1,2
Current State: 10:[18, 8], Operations: ['73-55=18', '29-21=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
25,
18,
42,
90
] | 47
|
[
"25*18=450",
"450/90=5",
"42+5=47"
] |
Current State: 47:[25, 18, 42, 90], Operations: []
Exploring Operation: 25*18=450, Resulting Numbers: [42, 90, 450]
Generated Node #2: [42, 90, 450] from Operation: 25*18=450
Current State: 47:[42, 90, 450], Operations: ['25*18=450']
Exploring Operation: 450/90=5, Resulting Numbers: [42, 5]
Generated Node #3: [42, 5] from Operation: 450/90=5
Current State: 47:[42, 5], Operations: ['25*18=450', '450/90=5']
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[25, 18, 42, 90], Operations: []
Exploring Operation: 90-18=72, Resulting Numbers: [25, 42, 72]
Generated Node #0,0: 47:[25, 42, 72] Operation: 90-18=72
Exploring Operation: 90-25=65, Resulting Numbers: [18, 42, 65]
Generated Node #0,1: 47:[18, 42, 65] Operation: 90-25=65
Exploring Operation: 25+18=43, Resulting Numbers: [42, 90, 43]
Generated Node #0,2: 47:[42, 90, 43] Operation: 25+18=43
Moving to Node #0,0
Current State: 47:[25, 42, 72], Operations: ['90-18=72']
Exploring Operation: 25+42=67, Resulting Numbers: [72, 67]
Generated Node #0,0,0: 47:[72, 67] Operation: 25+42=67
Exploring Operation: 72-42=30, Resulting Numbers: [25, 30]
Generated Node #0,0,1: 47:[25, 30] Operation: 72-42=30
Exploring Operation: 72-25=47, Resulting Numbers: [42, 47]
Generated Node #0,0,2: 47:[42, 47] Operation: 72-25=47
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[42, 47], Operations: ['90-18=72', '72-25=47']
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,47 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[25, 30], Operations: ['90-18=72', '72-42=30']
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,47 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[72, 67], Operations: ['90-18=72', '25+42=67']
Exploring Operation: 72+67=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 72*67=4824, Resulting Numbers: [4824]
4824,47 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: 47:[18, 42, 65], Operations: ['90-25=65']
Exploring Operation: 65-18=47, Resulting Numbers: [42, 47]
Generated Node #0,1,0: 47:[42, 47] Operation: 65-18=47
Exploring Operation: 42-18=24, Resulting Numbers: [65, 24]
Generated Node #0,1,1: 47:[65, 24] Operation: 42-18=24
Exploring Operation: 18+42=60, Resulting Numbers: [65, 60]
Generated Node #0,1,2: 47:[65, 60] Operation: 18+42=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[42, 47], Operations: ['90-25=65', '65-18=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,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,2
Current State: 47:[65, 60], Operations: ['90-25=65', '18+42=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,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,1
Current State: 47:[65, 24], Operations: ['90-25=65', '42-18=24']
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,47 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,47 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: 47:[42, 90, 43], Operations: ['25+18=43']
Exploring Operation: 42+43=85, Resulting Numbers: [90, 85]
Generated Node #0,2,0: 47:[90, 85] Operation: 42+43=85
Exploring Operation: 90-42=48, Resulting Numbers: [43, 48]
Generated Node #0,2,1: 47:[43, 48] Operation: 90-42=48
Exploring Operation: 90-43=47, Resulting Numbers: [42, 47]
Generated Node #0,2,2: 47:[42, 47] Operation: 90-43=47
Moving to Node #0,2,1
Current State: 47:[43, 48], Operations: ['25+18=43', '90-42=48']
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,47 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,47 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[42, 47], Operations: ['25+18=43', '90-43=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[90, 85], Operations: ['25+18=43', '42+43=85']
Exploring Operation: 90*85=7650, Resulting Numbers: [7650]
7650,47 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 90+85=175, Resulting Numbers: [175]
175,47 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
19,
45,
34,
94
] | 34
|
[
"45-19=26",
"94-34=60",
"60-26=34"
] |
Current State: 34:[19, 45, 34, 94], Operations: []
Exploring Operation: 45-19=26, Resulting Numbers: [34, 94, 26]
Generated Node #2: [34, 94, 26] from Operation: 45-19=26
Current State: 34:[34, 94, 26], Operations: ['45-19=26']
Exploring Operation: 94-34=60, Resulting Numbers: [26, 60]
Generated Node #3: [26, 60] from Operation: 94-34=60
Current State: 34:[26, 60], Operations: ['45-19=26', '94-34=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[19, 45, 34, 94], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [45, 34, 75]
Generated Node #0,0: 34:[45, 34, 75] Operation: 94-19=75
Exploring Operation: 94-45=49, Resulting Numbers: [19, 34, 49]
Generated Node #0,1: 34:[19, 34, 49] Operation: 94-45=49
Exploring Operation: 94-34=60, Resulting Numbers: [19, 45, 60]
Generated Node #0,2: 34:[19, 45, 60] Operation: 94-34=60
Exploring Operation: 45-19=26, Resulting Numbers: [34, 94, 26]
Generated Node #0,3: 34:[34, 94, 26] Operation: 45-19=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[19, 34, 49], Operations: ['94-45=49']
Exploring Operation: 49-19=30, Resulting Numbers: [34, 30]
Generated Node #0,1,0: 34:[34, 30] Operation: 49-19=30
Exploring Operation: 34-19=15, Resulting Numbers: [49, 15]
Generated Node #0,1,1: 34:[49, 15] Operation: 34-19=15
Exploring Operation: 49-34=15, Resulting Numbers: [19, 15]
Generated Node #0,1,2: 34:[19, 15] Operation: 49-34=15
Exploring Operation: 19+34=53, Resulting Numbers: [49, 53]
Generated Node #0,1,3: 34:[49, 53] Operation: 19+34=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[34, 30], Operations: ['94-45=49', '49-19=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,34 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,34 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[19, 15], Operations: ['94-45=49', '49-34=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[19, 45, 34, 94], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [19, 34, 49]
Generated Node #0,1: 34:[19, 34, 49] Operation: 94-45=49
Moving to Node #0,1
Current State: 34:[19, 34, 49], Operations: ['94-45=49']
Exploring Operation: 49-34=15, Resulting Numbers: [19, 15]
Generated Node #0,1,2: 34:[19, 15] Operation: 49-34=15
Moving to Node #0,1,2
Current State: 34:[19, 15], Operations: ['94-45=49', '49-34=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111
|
hs_4
|
sum_heuristic
|
[
98,
71,
91,
10
] | 88
|
[
"98+71=169",
"91-10=81",
"169-81=88"
] |
Current State: 88:[98, 71, 91, 10], Operations: []
Exploring Operation: 98+71=169, Resulting Numbers: [91, 10, 169]
Generated Node #2: [91, 10, 169] from Operation: 98+71=169
Current State: 88:[91, 10, 169], Operations: ['98+71=169']
Exploring Operation: 91-10=81, Resulting Numbers: [169, 81]
Generated Node #3: [169, 81] from Operation: 91-10=81
Current State: 88:[169, 81], Operations: ['98+71=169', '91-10=81']
Exploring Operation: 169-81=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[98, 71, 91, 10], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [71, 10, 7]
Generated Node #0,0: 88:[71, 10, 7] Operation: 98-91=7
Exploring Operation: 98-10=88, Resulting Numbers: [71, 91, 88]
Generated Node #0,1: 88:[71, 91, 88] Operation: 98-10=88
Exploring Operation: 71+10=81, Resulting Numbers: [98, 91, 81]
Generated Node #0,2: 88:[98, 91, 81] Operation: 71+10=81
Exploring Operation: 98-71=27, Resulting Numbers: [91, 10, 27]
Generated Node #0,3: 88:[91, 10, 27] Operation: 98-71=27
Exploring Operation: 91-71=20, Resulting Numbers: [98, 10, 20]
Generated Node #0,4: 88:[98, 10, 20] Operation: 91-71=20
Moving to Node #0,3
Current State: 88:[91, 10, 27], Operations: ['98-71=27']
Exploring Operation: 27-10=17, Resulting Numbers: [91, 17]
Generated Node #0,3,0: 88:[91, 17] Operation: 27-10=17
Exploring Operation: 91-10=81, Resulting Numbers: [27, 81]
Generated Node #0,3,1: 88:[27, 81] Operation: 91-10=81
Exploring Operation: 91+10=101, Resulting Numbers: [27, 101]
Generated Node #0,3,2: 88:[27, 101] Operation: 91+10=101
Exploring Operation: 91-27=64, Resulting Numbers: [10, 64]
Generated Node #0,3,3: 88:[10, 64] Operation: 91-27=64
Exploring Operation: 10+27=37, Resulting Numbers: [91, 37]
Generated Node #0,3,4: 88:[91, 37] Operation: 10+27=37
Moving to Node #0,4
Current State: 88:[98, 10, 20], Operations: ['91-71=20']
Exploring Operation: 98-20=78, Resulting Numbers: [10, 78]
Generated Node #0,4,0: 88:[10, 78] Operation: 98-20=78
Exploring Operation: 20-10=10, Resulting Numbers: [98, 10]
Generated Node #0,4,1: 88:[98, 10] Operation: 20-10=10
Exploring Operation: 98-10=88, Resulting Numbers: [20, 88]
Generated Node #0,4,2: 88:[20, 88] Operation: 98-10=88
Exploring Operation: 20/10=2, Resulting Numbers: [98, 2]
Generated Node #0,4,3: 88:[98, 2] Operation: 20/10=2
Exploring Operation: 10+20=30, Resulting Numbers: [98, 30]
Generated Node #0,4,4: 88:[98, 30] Operation: 10+20=30
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 88:[20, 88], Operations: ['91-71=20', '98-10=88']
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 88:[98, 2], Operations: ['91-71=20', '20/10=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 88:[10, 78], Operations: ['91-71=20', '98-20=78']
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[98, 71, 91, 10], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [98, 10, 20]
Generated Node #0,4: 88:[98, 10, 20] Operation: 91-71=20
Moving to Node #0,4
Current State: 88:[98, 10, 20], Operations: ['91-71=20']
Exploring Operation: 98-20=78, Resulting Numbers: [10, 78]
Generated Node #0,4,0: 88:[10, 78] Operation: 98-20=78
Moving to Node #0,4,0
Current State: 88:[10, 78], Operations: ['91-71=20', '98-20=78']
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563
|
hs_5
|
mult_heuristic
|
[
44,
15,
95,
56
] | 20
|
[
"44+15=59",
"95-56=39",
"59-39=20"
] |
Current State: 20:[44, 15, 95, 56], Operations: []
Exploring Operation: 44+15=59, Resulting Numbers: [95, 56, 59]
Generated Node #2: [95, 56, 59] from Operation: 44+15=59
Current State: 20:[95, 56, 59], Operations: ['44+15=59']
Exploring Operation: 95-56=39, Resulting Numbers: [59, 39]
Generated Node #3: [59, 39] from Operation: 95-56=39
Current State: 20:[59, 39], Operations: ['44+15=59', '95-56=39']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[44, 15, 95, 56], Operations: []
Exploring Operation: 95-15=80, Resulting Numbers: [44, 56, 80]
Generated Node #0,0: 20:[44, 56, 80] Operation: 95-15=80
Exploring Operation: 95-44=51, Resulting Numbers: [15, 56, 51]
Generated Node #0,1: 20:[15, 56, 51] Operation: 95-44=51
Exploring Operation: 44-15=29, Resulting Numbers: [95, 56, 29]
Generated Node #0,2: 20:[95, 56, 29] Operation: 44-15=29
Exploring Operation: 95-56=39, Resulting Numbers: [44, 15, 39]
Generated Node #0,3: 20:[44, 15, 39] Operation: 95-56=39
Exploring Operation: 56-44=12, Resulting Numbers: [15, 95, 12]
Generated Node #0,4: 20:[15, 95, 12] Operation: 56-44=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[44, 15, 39], Operations: ['95-56=39']
Exploring Operation: 39-15=24, Resulting Numbers: [44, 24]
Generated Node #0,3,0: 20:[44, 24] Operation: 39-15=24
Exploring Operation: 44+15=59, Resulting Numbers: [39, 59]
Generated Node #0,3,1: 20:[39, 59] Operation: 44+15=59
Exploring Operation: 15+39=54, Resulting Numbers: [44, 54]
Generated Node #0,3,2: 20:[44, 54] Operation: 15+39=54
Exploring Operation: 44-39=5, Resulting Numbers: [15, 5]
Generated Node #0,3,3: 20:[15, 5] Operation: 44-39=5
Exploring Operation: 44-15=29, Resulting Numbers: [39, 29]
Generated Node #0,3,4: 20:[39, 29] Operation: 44-15=29
Moving to Node #0,3,3
Current State: 20:[15, 5], Operations: ['95-56=39', '44-39=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[44, 15, 95, 56], Operations: []
Exploring Operation: 95-56=39, Resulting Numbers: [44, 15, 39]
Generated Node #0,3: 20:[44, 15, 39] Operation: 95-56=39
Moving to Node #0,3
Current State: 20:[44, 15, 39], Operations: ['95-56=39']
Exploring Operation: 44-39=5, Resulting Numbers: [15, 5]
Generated Node #0,3,3: 20:[15, 5] Operation: 44-39=5
Moving to Node #0,3,3
Current State: 20:[15, 5], Operations: ['95-56=39', '44-39=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_5
|
mult_heuristic
|
[
45,
86,
88,
14
] | 16
|
[
"88-45=43",
"86/43=2",
"14+2=16"
] |
Current State: 16:[45, 86, 88, 14], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [86, 14, 43]
Generated Node #2: [86, 14, 43] from Operation: 88-45=43
Current State: 16:[86, 14, 43], Operations: ['88-45=43']
Exploring Operation: 86/43=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 86/43=2
Current State: 16:[14, 2], Operations: ['88-45=43', '86/43=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[45, 86, 88, 14], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [45, 14, 2]
Generated Node #0,0: 16:[45, 14, 2] Operation: 88-86=2
Exploring Operation: 88-45=43, Resulting Numbers: [86, 14, 43]
Generated Node #0,1: 16:[86, 14, 43] Operation: 88-45=43
Exploring Operation: 86-45=41, Resulting Numbers: [88, 14, 41]
Generated Node #0,2: 16:[88, 14, 41] Operation: 86-45=41
Exploring Operation: 45-14=31, Resulting Numbers: [86, 88, 31]
Generated Node #0,3: 16:[86, 88, 31] Operation: 45-14=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[45, 14, 2], Operations: ['88-86=2']
Exploring Operation: 45-2=43, Resulting Numbers: [14, 43]
Generated Node #0,0,0: 16:[14, 43] Operation: 45-2=43
Exploring Operation: 14/2=7, Resulting Numbers: [45, 7]
Generated Node #0,0,1: 16:[45, 7] Operation: 14/2=7
Exploring Operation: 14+2=16, Resulting Numbers: [45, 16]
Generated Node #0,0,2: 16:[45, 16] Operation: 14+2=16
Exploring Operation: 45-14=31, Resulting Numbers: [2, 31]
Generated Node #0,0,3: 16:[2, 31] Operation: 45-14=31
Moving to Node #0,0,3
Current State: 16:[2, 31], Operations: ['88-86=2', '45-14=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,16 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[45, 16], Operations: ['88-86=2', '14+2=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,16 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[14, 43], Operations: ['88-86=2', '45-2=43']
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,16 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[45, 7], Operations: ['88-86=2', '14/2=7']
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,16 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[86, 14, 43], Operations: ['88-45=43']
Exploring Operation: 43-14=29, Resulting Numbers: [86, 29]
Generated Node #0,1,0: 16:[86, 29] Operation: 43-14=29
Exploring Operation: 86/43=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 16:[14, 2] Operation: 86/43=2
Exploring Operation: 86-14=72, Resulting Numbers: [43, 72]
Generated Node #0,1,2: 16:[43, 72] Operation: 86-14=72
Exploring Operation: 86-43=43, Resulting Numbers: [14, 43]
Generated Node #0,1,3: 16:[14, 43] Operation: 86-43=43
Moving to Node #0,1,1
Current State: 16:[14, 2], Operations: ['88-45=43', '86/43=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[45, 86, 88, 14], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [86, 14, 43]
Generated Node #0,1: 16:[86, 14, 43] Operation: 88-45=43
Moving to Node #0,1
Current State: 16:[86, 14, 43], Operations: ['88-45=43']
Exploring Operation: 86/43=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 16:[14, 2] Operation: 86/43=2
Moving to Node #0,1,1
Current State: 16:[14, 2], Operations: ['88-45=43', '86/43=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222
|
hs_4
|
mult_heuristic
|
[
49,
46,
2,
51
] | 22
|
[
"49+46=95",
"95-51=44",
"44/2=22"
] |
Current State: 22:[49, 46, 2, 51], Operations: []
Exploring Operation: 49+46=95, Resulting Numbers: [2, 51, 95]
Generated Node #2: [2, 51, 95] from Operation: 49+46=95
Current State: 22:[2, 51, 95], Operations: ['49+46=95']
Exploring Operation: 95-51=44, Resulting Numbers: [2, 44]
Generated Node #3: [2, 44] from Operation: 95-51=44
Current State: 22:[2, 44], Operations: ['49+46=95', '95-51=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[49, 46, 2, 51], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [46, 2, 2]
Generated Node #0,0: 22:[46, 2, 2] Operation: 51-49=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[46, 2, 2], Operations: ['51-49=2']
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 22:[2, 23] Operation: 46/2=23
Moving to Node #0,0,0
Current State: 22:[2, 23], Operations: ['51-49=2', '46/2=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,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
|
mult_heuristic
|
[
55,
63,
88,
33
] | 47
|
[
"63-55=8",
"88-33=55",
"55-8=47"
] |
Current State: 47:[55, 63, 88, 33], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [88, 33, 8]
Generated Node #2: [88, 33, 8] from Operation: 63-55=8
Current State: 47:[88, 33, 8], Operations: ['63-55=8']
Exploring Operation: 88-33=55, Resulting Numbers: [8, 55]
Generated Node #3: [8, 55] from Operation: 88-33=55
Current State: 47:[8, 55], Operations: ['63-55=8', '88-33=55']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[55, 63, 88, 33], Operations: []
Exploring Operation: 88-33=55, Resulting Numbers: [55, 63, 55]
Generated Node #0,0: 47:[55, 63, 55] Operation: 88-33=55
Exploring Operation: 63-33=30, Resulting Numbers: [55, 88, 30]
Generated Node #0,1: 47:[55, 88, 30] Operation: 63-33=30
Exploring Operation: 88-55=33, Resulting Numbers: [63, 33, 33]
Generated Node #0,2: 47:[63, 33, 33] Operation: 88-55=33
Exploring Operation: 88-63=25, Resulting Numbers: [55, 33, 25]
Generated Node #0,3: 47:[55, 33, 25] Operation: 88-63=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[55, 63, 55], Operations: ['88-33=55']
Exploring Operation: 55/55=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 47:[63, 1] Operation: 55/55=1
Exploring Operation: 63-55=8, Resulting Numbers: [55, 8]
Generated Node #0,0,1: 47:[55, 8] Operation: 63-55=8
Exploring Operation: 63-55=8, Resulting Numbers: [55, 8]
Generated Node #0,0,2: 47:[55, 8] Operation: 63-55=8
Exploring Operation: 55-55=0, Resulting Numbers: [63, 0]
Generated Node #0,0,3: 47:[63, 0] Operation: 55-55=0
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[55, 8], Operations: ['88-33=55', '63-55=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[55, 63, 88, 33], Operations: []
Exploring Operation: 88-33=55, Resulting Numbers: [55, 63, 55]
Generated Node #0,0: 47:[55, 63, 55] Operation: 88-33=55
Moving to Node #0,0
Current State: 47:[55, 63, 55], Operations: ['88-33=55']
Exploring Operation: 63-55=8, Resulting Numbers: [55, 8]
Generated Node #0,0,1: 47:[55, 8] Operation: 63-55=8
Moving to Node #0,0,1
Current State: 47:[55, 8], Operations: ['88-33=55', '63-55=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.