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 |
|---|---|---|---|---|---|---|---|---|
[
89,
73,
78,
49
] | 35 | [
"89+73=162",
"78+49=127",
"162-127=35"
] | Current State: 35:[89, 73, 78, 49], Operations: []
Exploring Operation: 89+73=162, Resulting Numbers: [78, 49, 162]
Generated Node #2: [78, 49, 162] from Operation: 89+73=162
Current State: 35:[78, 49, 162], Operations: ['89+73=162']
Exploring Operation: 78+49=127, Resulting Numbers: [162, 127]
Generated Node #3: [162, 127] from Operation: 78+49=127
Current State: 35:[162, 127], Operations: ['89+73=162', '78+49=127']
Exploring Operation: 162-127=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[89, 73, 78, 49], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [73, 49, 11]
Generated Node #0,0: 35:[73, 49, 11] Operation: 89-78=11
Exploring Operation: 89-73=16, Resulting Numbers: [78, 49, 16]
Generated Node #0,1: 35:[78, 49, 16] Operation: 89-73=16
Exploring Operation: 78-73=5, Resulting Numbers: [89, 49, 5]
Generated Node #0,2: 35:[89, 49, 5] Operation: 78-73=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[73, 49, 11], Operations: ['89-78=11']
Exploring Operation: 49-11=38, Resulting Numbers: [73, 38]
Generated Node #0,0,0: 35:[73, 38] Operation: 49-11=38
Exploring Operation: 73-11=62, Resulting Numbers: [49, 62]
Generated Node #0,0,1: 35:[49, 62] Operation: 73-11=62
Exploring Operation: 73-49=24, Resulting Numbers: [11, 24]
Generated Node #0,0,2: 35:[11, 24] Operation: 73-49=24
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[11, 24], Operations: ['89-78=11', '73-49=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,35 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[89, 73, 78, 49], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [73, 49, 11]
Generated Node #0,0: 35:[73, 49, 11] Operation: 89-78=11
Moving to Node #0,0
Current State: 35:[73, 49, 11], Operations: ['89-78=11']
Exploring Operation: 73-49=24, Resulting Numbers: [11, 24]
Generated Node #0,0,2: 35:[11, 24] Operation: 73-49=24
Moving to Node #0,0,2
Current State: 35:[11, 24], Operations: ['89-78=11', '73-49=24']
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
42,
59,
45,
31
] | 84 | [
"45-42=3",
"59-31=28",
"3*28=84"
] | Current State: 84:[42, 59, 45, 31], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [59, 31, 3]
Generated Node #2: [59, 31, 3] from Operation: 45-42=3
Current State: 84:[59, 31, 3], Operations: ['45-42=3']
Exploring Operation: 59-31=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 59-31=28
Current State: 84:[3, 28], Operations: ['45-42=3', '59-31=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[42, 59, 45, 31], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [42, 31, 14]
Generated Node #0,0: 84:[42, 31, 14] Operation: 59-45=14
Exploring Operation: 59+31=90, Resulting Numbers: [42, 45, 90]
Generated Node #0,1: 84:[42, 45, 90] Operation: 59+31=90
Exploring Operation: 59-31=28, Resulting Numbers: [42, 45, 28]
Generated Node #0,2: 84:[42, 45, 28] Operation: 59-31=28
Exploring Operation: 59-42=17, Resulting Numbers: [45, 31, 17]
Generated Node #0,3: 84:[45, 31, 17] Operation: 59-42=17
Exploring Operation: 45-31=14, Resulting Numbers: [42, 59, 14]
Generated Node #0,4: 84:[42, 59, 14] Operation: 45-31=14
Moving to Node #0,0
Current State: 84:[42, 31, 14], Operations: ['59-45=14']
Exploring Operation: 42/14=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 84:[31, 3] Operation: 42/14=3
Exploring Operation: 31-14=17, Resulting Numbers: [42, 17]
Generated Node #0,0,1: 84:[42, 17] Operation: 31-14=17
Exploring Operation: 42-14=28, Resulting Numbers: [31, 28]
Generated Node #0,0,2: 84:[31, 28] Operation: 42-14=28
Exploring Operation: 42-31=11, Resulting Numbers: [14, 11]
Generated Node #0,0,3: 84:[14, 11] Operation: 42-31=11
Exploring Operation: 31+14=45, Resulting Numbers: [42, 45]
Generated Node #0,0,4: 84:[42, 45] Operation: 31+14=45
Moving to Node #0,2
Current State: 84:[42, 45, 28], Operations: ['59-31=28']
Exploring Operation: 42-28=14, Resulting Numbers: [45, 14]
Generated Node #0,2,0: 84:[45, 14] Operation: 42-28=14
Exploring Operation: 45+28=73, Resulting Numbers: [42, 73]
Generated Node #0,2,1: 84:[42, 73] Operation: 45+28=73
Exploring Operation: 42+45=87, Resulting Numbers: [28, 87]
Generated Node #0,2,2: 84:[28, 87] Operation: 42+45=87
Exploring Operation: 45-28=17, Resulting Numbers: [42, 17]
Generated Node #0,2,3: 84:[42, 17] Operation: 45-28=17
Exploring Operation: 45-42=3, Resulting Numbers: [28, 3]
Generated Node #0,2,4: 84:[28, 3] Operation: 45-42=3
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[28, 3], Operations: ['59-31=28', '45-42=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[42, 59, 45, 31], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [42, 45, 28]
Generated Node #0,2: 84:[42, 45, 28] Operation: 59-31=28
Moving to Node #0,2
Current State: 84:[42, 45, 28], Operations: ['59-31=28']
Exploring Operation: 45-42=3, Resulting Numbers: [28, 3]
Generated Node #0,2,4: 84:[28, 3] Operation: 45-42=3
Moving to Node #0,2,4
Current State: 84:[28, 3], Operations: ['59-31=28', '45-42=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
15,
99,
26,
43
] | 97 | [
"15+99=114",
"43-26=17",
"114-17=97"
] | Current State: 97:[15, 99, 26, 43], Operations: []
Exploring Operation: 15+99=114, Resulting Numbers: [26, 43, 114]
Generated Node #2: [26, 43, 114] from Operation: 15+99=114
Current State: 97:[26, 43, 114], Operations: ['15+99=114']
Exploring Operation: 43-26=17, Resulting Numbers: [114, 17]
Generated Node #3: [114, 17] from Operation: 43-26=17
Current State: 97:[114, 17], Operations: ['15+99=114', '43-26=17']
Exploring Operation: 114-17=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[15, 99, 26, 43], Operations: []
Exploring Operation: 15+43=58, Resulting Numbers: [99, 26, 58]
Generated Node #0,0: 97:[99, 26, 58] Operation: 15+43=58
Exploring Operation: 15+26=41, Resulting Numbers: [99, 43, 41]
Generated Node #0,1: 97:[99, 43, 41] Operation: 15+26=41
Moving to Node #0,0
Current State: 97:[99, 26, 58], Operations: ['15+43=58']
Exploring Operation: 26+58=84, Resulting Numbers: [99, 84]
Generated Node #0,0,0: 97:[99, 84] Operation: 26+58=84
Exploring Operation: 99-26=73, Resulting Numbers: [58, 73]
Generated Node #0,0,1: 97:[58, 73] Operation: 99-26=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[99, 84], Operations: ['15+43=58', '26+58=84']
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 99+84=183, Resulting Numbers: [183]
183,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:[58, 73], Operations: ['15+43=58', '99-26=73']
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,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:[99, 43, 41], Operations: ['15+26=41']
Exploring Operation: 99-41=58, Resulting Numbers: [43, 58]
Generated Node #0,1,0: 97:[43, 58] Operation: 99-41=58
Exploring Operation: 43+41=84, Resulting Numbers: [99, 84]
Generated Node #0,1,1: 97:[99, 84] Operation: 43+41=84
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[99, 84], Operations: ['15+26=41', '43+41=84']
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 99+84=183, Resulting Numbers: [183]
183,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[43, 58], Operations: ['15+26=41', '99-41=58']
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
97,
18,
72,
72
] | 21 | [
"97-72=25",
"72/18=4",
"25-4=21"
] | Current State: 21:[97, 18, 72, 72], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [18, 25]
Generated Node #2: [18, 25] from Operation: 97-72=25
Current State: 21:[18, 25], Operations: ['97-72=25']
Exploring Operation: 72/18=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 72/18=4
Current State: 21:[25, 4], Operations: ['97-72=25', '72/18=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[97, 18, 72, 72], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [18, 72, 25]
Generated Node #0,0: 21:[18, 72, 25] Operation: 97-72=25
Exploring Operation: 72/72=1, Resulting Numbers: [97, 18, 1]
Generated Node #0,1: 21:[97, 18, 1] Operation: 72/72=1
Exploring Operation: 72-72=0, Resulting Numbers: [97, 18, 0]
Generated Node #0,2: 21:[97, 18, 0] Operation: 72-72=0
Exploring Operation: 97-72=25, Resulting Numbers: [18, 72, 25]
Generated Node #0,3: 21:[18, 72, 25] Operation: 97-72=25
Moving to Node #0,0
Current State: 21:[18, 72, 25], Operations: ['97-72=25']
Exploring Operation: 72-25=47, Resulting Numbers: [18, 47]
Generated Node #0,0,0: 21:[18, 47] Operation: 72-25=47
Exploring Operation: 25-18=7, Resulting Numbers: [72, 7]
Generated Node #0,0,1: 21:[72, 7] Operation: 25-18=7
Exploring Operation: 72/18=4, Resulting Numbers: [25, 4]
Generated Node #0,0,2: 21:[25, 4] Operation: 72/18=4
Exploring Operation: 72-18=54, Resulting Numbers: [25, 54]
Generated Node #0,0,3: 21:[25, 54] Operation: 72-18=54
Moving to Node #0,3
Current State: 21:[18, 72, 25], Operations: ['97-72=25']
Exploring Operation: 72-18=54, Resulting Numbers: [25, 54]
Generated Node #0,3,0: 21:[25, 54] Operation: 72-18=54
Exploring Operation: 72-25=47, Resulting Numbers: [18, 47]
Generated Node #0,3,1: 21:[18, 47] Operation: 72-25=47
Exploring Operation: 25-18=7, Resulting Numbers: [72, 7]
Generated Node #0,3,2: 21:[72, 7] Operation: 25-18=7
Exploring Operation: 72/18=4, Resulting Numbers: [25, 4]
Generated Node #0,3,3: 21:[25, 4] Operation: 72/18=4
Moving to Node #0,1
Current State: 21:[97, 18, 1], Operations: ['72/72=1']
Exploring Operation: 97-18=79, Resulting Numbers: [1, 79]
Generated Node #0,1,0: 21:[1, 79] Operation: 97-18=79
Exploring Operation: 18+1=19, Resulting Numbers: [97, 19]
Generated Node #0,1,1: 21:[97, 19] Operation: 18+1=19
Exploring Operation: 97-1=96, Resulting Numbers: [18, 96]
Generated Node #0,1,2: 21:[18, 96] Operation: 97-1=96
Exploring Operation: 97*1=97, Resulting Numbers: [18, 97]
Generated Node #0,1,3: 21:[18, 97] Operation: 97*1=97
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[1, 79], Operations: ['72/72=1', '97-18=79']
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,21 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,21 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,21 unequal: No Solution
No 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: 21:[97, 19], Operations: ['72/72=1', '18+1=19']
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,21 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,21 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,21 unequal: No Solution
No 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: 21:[18, 96], Operations: ['72/72=1', '97-1=96']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,21 unequal: No Solution
Exploring Operation: 18+96=114, Resulting Numbers: [114]
114,21 unequal: No Solution
Exploring Operation: 18*96=1728, Resulting Numbers: [1728]
1728,21 unequal: No Solution
No 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: 21:[18, 97], Operations: ['72/72=1', '97*1=97']
Exploring Operation: 18+97=115, Resulting Numbers: [115]
115,21 unequal: No Solution
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,21 unequal: No Solution
Exploring Operation: 18*97=1746, Resulting Numbers: [1746]
1746,21 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: 21:[97, 18, 0], Operations: ['72-72=0']
Exploring Operation: 97*0=0, Resulting Numbers: [18, 0]
Generated Node #0,2,0: 21:[18, 0] Operation: 97*0=0
Exploring Operation: 97+0=97, Resulting Numbers: [18, 97]
Generated Node #0,2,1: 21:[18, 97] Operation: 97+0=97
Exploring Operation: 97-18=79, Resulting Numbers: [0, 79]
Generated Node #0,2,2: 21:[0, 79] Operation: 97-18=79
Exploring Operation: 97-0=97, Resulting Numbers: [18, 97]
Generated Node #0,2,3: 21:[18, 97] Operation: 97-0=97
Moving to Node #0,0,2
Current State: 21:[25, 4], Operations: ['97-72=25', '72/18=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,21 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[97, 18, 72, 72], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [18, 72, 25]
Generated Node #0,0: 21:[18, 72, 25] Operation: 97-72=25
Moving to Node #0,0
Current State: 21:[18, 72, 25], Operations: ['97-72=25']
Exploring Operation: 72/18=4, Resulting Numbers: [25, 4]
Generated Node #0,0,2: 21:[25, 4] Operation: 72/18=4
Moving to Node #0,0,2
Current State: 21:[25, 4], Operations: ['97-72=25', '72/18=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
14,
29,
27,
2
] | 28 | [
"14*2=28",
"29+27=56",
"56-28=28"
] | Current State: 28:[14, 29, 27, 2], Operations: []
Exploring Operation: 14*2=28, Resulting Numbers: [29, 27, 28]
Generated Node #2: [29, 27, 28] from Operation: 14*2=28
Current State: 28:[29, 27, 28], Operations: ['14*2=28']
Exploring Operation: 29+27=56, Resulting Numbers: [28, 56]
Generated Node #3: [28, 56] from Operation: 29+27=56
Current State: 28:[28, 56], Operations: ['14*2=28', '29+27=56']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[14, 29, 27, 2], Operations: []
Exploring Operation: 27-14=13, Resulting Numbers: [29, 2, 13]
Generated Node #0,0: 28:[29, 2, 13] Operation: 27-14=13
Exploring Operation: 29-27=2, Resulting Numbers: [14, 2, 2]
Generated Node #0,1: 28:[14, 2, 2] Operation: 29-27=2
Exploring Operation: 14*2=28, Resulting Numbers: [29, 27, 28]
Generated Node #0,2: 28:[29, 27, 28] Operation: 14*2=28
Exploring Operation: 29-14=15, Resulting Numbers: [27, 2, 15]
Generated Node #0,3: 28:[27, 2, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[14, 2, 2], Operations: ['29-27=2']
Exploring Operation: 14/2=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 28:[2, 7] Operation: 14/2=7
Exploring Operation: 14/2=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 28:[2, 7] Operation: 14/2=7
Exploring Operation: 14*2=28, Resulting Numbers: [2, 28]
Generated Node #0,1,2: 28:[2, 28] Operation: 14*2=28
Exploring Operation: 14*2=28, Resulting Numbers: [2, 28]
Generated Node #0,1,3: 28:[2, 28] Operation: 14*2=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[2, 7], Operations: ['29-27=2', '14/2=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No 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: 28:[2, 7], Operations: ['29-27=2', '14/2=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No 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: 28:[2, 28], Operations: ['29-27=2', '14*2=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No 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: 28:[2, 28], Operations: ['29-27=2', '14*2=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,28 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: 28:[29, 2, 13], Operations: ['27-14=13']
Exploring Operation: 29-13=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 28:[2, 16] Operation: 29-13=16
Exploring Operation: 2+13=15, Resulting Numbers: [29, 15]
Generated Node #0,0,1: 28:[29, 15] Operation: 2+13=15
Exploring Operation: 2*13=26, Resulting Numbers: [29, 26]
Generated Node #0,0,2: 28:[29, 26] Operation: 2*13=26
Exploring Operation: 29-2=27, Resulting Numbers: [13, 27]
Generated Node #0,0,3: 28:[13, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[2, 16], Operations: ['27-14=13', '29-13=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,28 unequal: No Solution
No 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: 28:[29, 15], Operations: ['27-14=13', '2+13=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,28 unequal: No Solution
No 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: 28:[13, 27], Operations: ['27-14=13', '29-2=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,28 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,28 unequal: No Solution
No 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: 28:[29, 26], Operations: ['27-14=13', '2*13=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,28 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: 28:[29, 27, 28], Operations: ['14*2=28']
Exploring Operation: 28-27=1, Resulting Numbers: [29, 1]
Generated Node #0,2,0: 28:[29, 1] Operation: 28-27=1
Exploring Operation: 29-28=1, Resulting Numbers: [27, 1]
Generated Node #0,2,1: 28:[27, 1] Operation: 29-28=1
Exploring Operation: 29+27=56, Resulting Numbers: [28, 56]
Generated Node #0,2,2: 28:[28, 56] Operation: 29+27=56
Exploring Operation: 29-27=2, Resulting Numbers: [28, 2]
Generated Node #0,2,3: 28:[28, 2] Operation: 29-27=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 28:[28, 2], Operations: ['14*2=28', '29-27=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,28 unequal: No Solution
No 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: 28:[29, 1], Operations: ['14*2=28', '28-27=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[14, 29, 27, 2], Operations: []
Exploring Operation: 14*2=28, Resulting Numbers: [29, 27, 28]
Generated Node #0,2: 28:[29, 27, 28] Operation: 14*2=28
Moving to Node #0,2
Current State: 28:[29, 27, 28], Operations: ['14*2=28']
Exploring Operation: 28-27=1, Resulting Numbers: [29, 1]
Generated Node #0,2,0: 28:[29, 1] Operation: 28-27=1
Moving to Node #0,2,0
Current State: 28:[29, 1], Operations: ['14*2=28', '28-27=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.954861 | hs_4 | mult_heuristic |
[
50,
65,
18,
34
] | 31 | [
"65-50=15",
"34-18=16",
"15+16=31"
] | Current State: 31:[50, 65, 18, 34], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [18, 34, 15]
Generated Node #2: [18, 34, 15] from Operation: 65-50=15
Current State: 31:[18, 34, 15], Operations: ['65-50=15']
Exploring Operation: 34-18=16, Resulting Numbers: [15, 16]
Generated Node #3: [15, 16] from Operation: 34-18=16
Current State: 31:[15, 16], Operations: ['65-50=15', '34-18=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[50, 65, 18, 34], Operations: []
Exploring Operation: 50-34=16, Resulting Numbers: [65, 18, 16]
Generated Node #0,0: 31:[65, 18, 16] Operation: 50-34=16
Exploring Operation: 65-34=31, Resulting Numbers: [50, 18, 31]
Generated Node #0,1: 31:[50, 18, 31] Operation: 65-34=31
Exploring Operation: 50-18=32, Resulting Numbers: [65, 34, 32]
Generated Node #0,2: 31:[65, 34, 32] Operation: 50-18=32
Exploring Operation: 65-50=15, Resulting Numbers: [18, 34, 15]
Generated Node #0,3: 31:[18, 34, 15] Operation: 65-50=15
Exploring Operation: 65-18=47, Resulting Numbers: [50, 34, 47]
Generated Node #0,4: 31:[50, 34, 47] Operation: 65-18=47
Moving to Node #0,1
Current State: 31:[50, 18, 31], Operations: ['65-34=31']
Exploring Operation: 18+31=49, Resulting Numbers: [50, 49]
Generated Node #0,1,0: 31:[50, 49] Operation: 18+31=49
Exploring Operation: 50-31=19, Resulting Numbers: [18, 19]
Generated Node #0,1,1: 31:[18, 19] Operation: 50-31=19
Exploring Operation: 31-18=13, Resulting Numbers: [50, 13]
Generated Node #0,1,2: 31:[50, 13] Operation: 31-18=13
Exploring Operation: 50-18=32, Resulting Numbers: [31, 32]
Generated Node #0,1,3: 31:[31, 32] Operation: 50-18=32
Exploring Operation: 50+18=68, Resulting Numbers: [31, 68]
Generated Node #0,1,4: 31:[31, 68] Operation: 50+18=68
Moving to Node #0,3
Current State: 31:[18, 34, 15], Operations: ['65-50=15']
Exploring Operation: 34-18=16, Resulting Numbers: [15, 16]
Generated Node #0,3,0: 31:[15, 16] Operation: 34-18=16
Exploring Operation: 18+15=33, Resulting Numbers: [34, 33]
Generated Node #0,3,1: 31:[34, 33] Operation: 18+15=33
Exploring Operation: 34+15=49, Resulting Numbers: [18, 49]
Generated Node #0,3,2: 31:[18, 49] Operation: 34+15=49
Exploring Operation: 18-15=3, Resulting Numbers: [34, 3]
Generated Node #0,3,3: 31:[34, 3] Operation: 18-15=3
Exploring Operation: 34-15=19, Resulting Numbers: [18, 19]
Generated Node #0,3,4: 31:[18, 19] Operation: 34-15=19
Moving to Node #0,2
Current State: 31:[65, 34, 32], Operations: ['50-18=32']
Exploring Operation: 65-34=31, Resulting Numbers: [32, 31]
Generated Node #0,2,0: 31:[32, 31] Operation: 65-34=31
Exploring Operation: 65+34=99, Resulting Numbers: [32, 99]
Generated Node #0,2,1: 31:[32, 99] Operation: 65+34=99
Exploring Operation: 34-32=2, Resulting Numbers: [65, 2]
Generated Node #0,2,2: 31:[65, 2] Operation: 34-32=2
Exploring Operation: 65+32=97, Resulting Numbers: [34, 97]
Generated Node #0,2,3: 31:[34, 97] Operation: 65+32=97
Exploring Operation: 65-32=33, Resulting Numbers: [34, 33]
Generated Node #0,2,4: 31:[34, 33] Operation: 65-32=33
Moving to Node #0,4
Current State: 31:[50, 34, 47], Operations: ['65-18=47']
Exploring Operation: 50-34=16, Resulting Numbers: [47, 16]
Generated Node #0,4,0: 31:[47, 16] Operation: 50-34=16
Exploring Operation: 50-47=3, Resulting Numbers: [34, 3]
Generated Node #0,4,1: 31:[34, 3] Operation: 50-47=3
Exploring Operation: 50+47=97, Resulting Numbers: [34, 97]
Generated Node #0,4,2: 31:[34, 97] Operation: 50+47=97
Exploring Operation: 50+34=84, Resulting Numbers: [47, 84]
Generated Node #0,4,3: 31:[47, 84] Operation: 50+34=84
Exploring Operation: 47-34=13, Resulting Numbers: [50, 13]
Generated Node #0,4,4: 31:[50, 13] Operation: 47-34=13
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 31:[47, 16], Operations: ['65-18=47', '50-34=16']
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,31 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,31 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[50, 65, 18, 34], Operations: []
Exploring Operation: 65-18=47, Resulting Numbers: [50, 34, 47]
Generated Node #0,4: 31:[50, 34, 47] Operation: 65-18=47
Moving to Node #0,4
Current State: 31:[50, 34, 47], Operations: ['65-18=47']
Exploring Operation: 50-34=16, Resulting Numbers: [47, 16]
Generated Node #0,4,0: 31:[47, 16] Operation: 50-34=16
Moving to Node #0,4,0
Current State: 31:[47, 16], Operations: ['65-18=47', '50-34=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_5 | sum_heuristic |
[
48,
20,
4,
66
] | 34 | [
"48-20=28",
"66-4=62",
"62-28=34"
] | Current State: 34:[48, 20, 4, 66], Operations: []
Exploring Operation: 48-20=28, Resulting Numbers: [4, 66, 28]
Generated Node #2: [4, 66, 28] from Operation: 48-20=28
Current State: 34:[4, 66, 28], Operations: ['48-20=28']
Exploring Operation: 66-4=62, Resulting Numbers: [28, 62]
Generated Node #3: [28, 62] from Operation: 66-4=62
Current State: 34:[28, 62], Operations: ['48-20=28', '66-4=62']
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[48, 20, 4, 66], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [20, 4, 18]
Generated Node #0,0: 34:[20, 4, 18] Operation: 66-48=18
Exploring Operation: 66-20=46, Resulting Numbers: [48, 4, 46]
Generated Node #0,1: 34:[48, 4, 46] Operation: 66-20=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[20, 4, 18], Operations: ['66-48=18']
Exploring Operation: 20-18=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 34:[4, 2] Operation: 20-18=2
Exploring Operation: 20-4=16, Resulting Numbers: [18, 16]
Generated Node #0,0,1: 34:[18, 16] Operation: 20-4=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[4, 2], Operations: ['66-48=18', '20-18=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,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,0,1
Current State: 34:[18, 16], Operations: ['66-48=18', '20-4=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[48, 20, 4, 66], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [20, 4, 18]
Generated Node #0,0: 34:[20, 4, 18] Operation: 66-48=18
Moving to Node #0,0
Current State: 34:[20, 4, 18], Operations: ['66-48=18']
Exploring Operation: 20-4=16, Resulting Numbers: [18, 16]
Generated Node #0,0,1: 34:[18, 16] Operation: 20-4=16
Moving to Node #0,0,1
Current State: 34:[18, 16], Operations: ['66-48=18', '20-4=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
8,
2,
26,
23
] | 14 | [
"26-8=18",
"18/2=9",
"23-9=14"
] | Current State: 14:[8, 2, 26, 23], Operations: []
Exploring Operation: 26-8=18, Resulting Numbers: [2, 23, 18]
Generated Node #2: [2, 23, 18] from Operation: 26-8=18
Current State: 14:[2, 23, 18], Operations: ['26-8=18']
Exploring Operation: 18/2=9, Resulting Numbers: [23, 9]
Generated Node #3: [23, 9] from Operation: 18/2=9
Current State: 14:[23, 9], Operations: ['26-8=18', '18/2=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[8, 2, 26, 23], Operations: []
Exploring Operation: 26-23=3, Resulting Numbers: [8, 2, 3]
Generated Node #0,0: 14:[8, 2, 3] Operation: 26-23=3
Exploring Operation: 26-8=18, Resulting Numbers: [2, 23, 18]
Generated Node #0,1: 14:[2, 23, 18] Operation: 26-8=18
Exploring Operation: 26/2=13, Resulting Numbers: [8, 23, 13]
Generated Node #0,2: 14:[8, 23, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[8, 2, 3], Operations: ['26-23=3']
Exploring Operation: 2*3=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 14:[8, 6] Operation: 2*3=6
Exploring Operation: 8-3=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 14:[2, 5] Operation: 8-3=5
Exploring Operation: 8-2=6, Resulting Numbers: [3, 6]
Generated Node #0,0,2: 14:[3, 6] Operation: 8-2=6
Moving to Node #0,0,0
Current State: 14:[8, 6], Operations: ['26-23=3', '2*3=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[8, 2, 26, 23], Operations: []
Exploring Operation: 26-23=3, Resulting Numbers: [8, 2, 3]
Generated Node #0,0: 14:[8, 2, 3] Operation: 26-23=3
Moving to Node #0,0
Current State: 14:[8, 2, 3], Operations: ['26-23=3']
Exploring Operation: 2*3=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 14:[8, 6] Operation: 2*3=6
Moving to Node #0,0,0
Current State: 14:[8, 6], Operations: ['26-23=3', '2*3=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
69,
8,
6,
11
] | 42 | [
"69+8=77",
"6*77=462",
"462/11=42"
] | Current State: 42:[69, 8, 6, 11], Operations: []
Exploring Operation: 69+8=77, Resulting Numbers: [6, 11, 77]
Generated Node #2: [6, 11, 77] from Operation: 69+8=77
Current State: 42:[6, 11, 77], Operations: ['69+8=77']
Exploring Operation: 6*77=462, Resulting Numbers: [11, 462]
Generated Node #3: [11, 462] from Operation: 6*77=462
Current State: 42:[11, 462], Operations: ['69+8=77', '6*77=462']
Exploring Operation: 462/11=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[69, 8, 6, 11], Operations: []
Exploring Operation: 69-6=63, Resulting Numbers: [8, 11, 63]
Generated Node #0,0: 42:[8, 11, 63] Operation: 69-6=63
Exploring Operation: 11-8=3, Resulting Numbers: [69, 6, 3]
Generated Node #0,1: 42:[69, 6, 3] Operation: 11-8=3
Exploring Operation: 8+11=19, Resulting Numbers: [69, 6, 19]
Generated Node #0,2: 42:[69, 6, 19] Operation: 8+11=19
Exploring Operation: 69-11=58, Resulting Numbers: [8, 6, 58]
Generated Node #0,3: 42:[8, 6, 58] Operation: 69-11=58
Exploring Operation: 69-8=61, Resulting Numbers: [6, 11, 61]
Generated Node #0,4: 42:[6, 11, 61] Operation: 69-8=61
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[8, 6, 58], Operations: ['69-11=58']
Exploring Operation: 8*6=48, Resulting Numbers: [58, 48]
Generated Node #0,3,0: 42:[58, 48] Operation: 8*6=48
Exploring Operation: 8-6=2, Resulting Numbers: [58, 2]
Generated Node #0,3,1: 42:[58, 2] Operation: 8-6=2
Exploring Operation: 58-8=50, Resulting Numbers: [6, 50]
Generated Node #0,3,2: 42:[6, 50] Operation: 58-8=50
Exploring Operation: 58-6=52, Resulting Numbers: [8, 52]
Generated Node #0,3,3: 42:[8, 52] Operation: 58-6=52
Exploring Operation: 8+6=14, Resulting Numbers: [58, 14]
Generated Node #0,3,4: 42:[58, 14] Operation: 8+6=14
Moving to Node #0,3,2
Current State: 42:[6, 50], Operations: ['69-11=58', '58-8=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[8, 52], Operations: ['69-11=58', '58-6=52']
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,42 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[58, 2], Operations: ['69-11=58', '8-6=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[58, 14], Operations: ['69-11=58', '8+6=14']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[58, 48], Operations: ['69-11=58', '8*6=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,42 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[6, 11, 61], Operations: ['69-8=61']
Exploring Operation: 11-6=5, Resulting Numbers: [61, 5]
Generated Node #0,4,0: 42:[61, 5] Operation: 11-6=5
Exploring Operation: 61-6=55, Resulting Numbers: [11, 55]
Generated Node #0,4,1: 42:[11, 55] Operation: 61-6=55
Exploring Operation: 6+61=67, Resulting Numbers: [11, 67]
Generated Node #0,4,2: 42:[11, 67] Operation: 6+61=67
Exploring Operation: 61-11=50, Resulting Numbers: [6, 50]
Generated Node #0,4,3: 42:[6, 50] Operation: 61-11=50
Exploring Operation: 6+11=17, Resulting Numbers: [61, 17]
Generated Node #0,4,4: 42:[61, 17] Operation: 6+11=17
Moving to Node #0,4,3
Current State: 42:[6, 50], Operations: ['69-8=61', '61-11=50']
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,42 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[11, 55], Operations: ['69-8=61', '61-6=55']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,42 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[61, 5], Operations: ['69-8=61', '11-6=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,42 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[61, 17], Operations: ['69-8=61', '6+11=17']
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,42 unequal: No Solution
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[11, 67], Operations: ['69-8=61', '6+61=67']
Exploring Operation: 11+67=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 11*67=737, Resulting Numbers: [737]
737,42 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[8, 11, 63], Operations: ['69-6=63']
Exploring Operation: 63-11=52, Resulting Numbers: [8, 52]
Generated Node #0,0,0: 42:[8, 52] Operation: 63-11=52
Exploring Operation: 8+11=19, Resulting Numbers: [63, 19]
Generated Node #0,0,1: 42:[63, 19] Operation: 8+11=19
Exploring Operation: 11-8=3, Resulting Numbers: [63, 3]
Generated Node #0,0,2: 42:[63, 3] Operation: 11-8=3
Exploring Operation: 63-8=55, Resulting Numbers: [11, 55]
Generated Node #0,0,3: 42:[11, 55] Operation: 63-8=55
Exploring Operation: 8+63=71, Resulting Numbers: [11, 71]
Generated Node #0,0,4: 42:[11, 71] Operation: 8+63=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[8, 52], Operations: ['69-6=63', '63-11=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[11, 55], Operations: ['69-6=63', '63-8=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,42 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[63, 3], Operations: ['69-6=63', '11-8=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,42 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[63, 19], Operations: ['69-6=63', '8+11=19']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 42:[11, 71], Operations: ['69-6=63', '8+63=71']
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,42 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[69, 6, 3], Operations: ['11-8=3']
Exploring Operation: 69/3=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 42:[6, 23] Operation: 69/3=23
Exploring Operation: 69-6=63, Resulting Numbers: [3, 63]
Generated Node #0,1,1: 42:[3, 63] Operation: 69-6=63
Exploring Operation: 6/3=2, Resulting Numbers: [69, 2]
Generated Node #0,1,2: 42:[69, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [69, 3]
Generated Node #0,1,3: 42:[69, 3] Operation: 6-3=3
Exploring Operation: 69-3=66, Resulting Numbers: [6, 66]
Generated Node #0,1,4: 42:[6, 66] Operation: 69-3=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[6, 23], Operations: ['11-8=3', '69/3=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,42 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[3, 63], Operations: ['11-8=3', '69-6=63']
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,42 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 42:[6, 66], Operations: ['11-8=3', '69-3=66']
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,42 unequal: No Solution
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[69, 2], Operations: ['11-8=3', '6/3=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,42 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 42:[69, 3], Operations: ['11-8=3', '6-3=3']
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,42 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[69, 6, 19], Operations: ['8+11=19']
Exploring Operation: 69-6=63, Resulting Numbers: [19, 63]
Generated Node #0,2,0: 42:[19, 63] Operation: 69-6=63
Exploring Operation: 6+19=25, Resulting Numbers: [69, 25]
Generated Node #0,2,1: 42:[69, 25] Operation: 6+19=25
Exploring Operation: 69+6=75, Resulting Numbers: [19, 75]
Generated Node #0,2,2: 42:[19, 75] Operation: 69+6=75
Exploring Operation: 19-6=13, Resulting Numbers: [69, 13]
Generated Node #0,2,3: 42:[69, 13] Operation: 19-6=13
Exploring Operation: 69-19=50, Resulting Numbers: [6, 50]
Generated Node #0,2,4: 42:[6, 50] Operation: 69-19=50
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 42:[6, 50], Operations: ['8+11=19', '69-19=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,42 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[19, 63], Operations: ['8+11=19', '69-6=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,42 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 42:[69, 13], Operations: ['8+11=19', '19-6=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[69, 25], Operations: ['8+11=19', '6+19=25']
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,42 unequal: No Solution
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[19, 75], Operations: ['8+11=19', '69+6=75']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 19*75=1425, Resulting Numbers: [1425]
1425,42 unequal: No Solution
Exploring Operation: 19+75=94, Resulting Numbers: [94]
94,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
23,
63,
40,
29
] | 10 | [
"23*40=920",
"63+29=92",
"920/92=10"
] | Current State: 10:[23, 63, 40, 29], Operations: []
Exploring Operation: 23*40=920, Resulting Numbers: [63, 29, 920]
Generated Node #2: [63, 29, 920] from Operation: 23*40=920
Current State: 10:[63, 29, 920], Operations: ['23*40=920']
Exploring Operation: 63+29=92, Resulting Numbers: [920, 92]
Generated Node #3: [920, 92] from Operation: 63+29=92
Current State: 10:[920, 92], Operations: ['23*40=920', '63+29=92']
Exploring Operation: 920/92=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[23, 63, 40, 29], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [23, 63, 11]
Generated Node #0,0: 10:[23, 63, 11] Operation: 40-29=11
Exploring Operation: 63-23=40, Resulting Numbers: [40, 29, 40]
Generated Node #0,1: 10:[40, 29, 40] Operation: 63-23=40
Exploring Operation: 63-40=23, Resulting Numbers: [23, 29, 23]
Generated Node #0,2: 10:[23, 29, 23] Operation: 63-40=23
Exploring Operation: 63-29=34, Resulting Numbers: [23, 40, 34]
Generated Node #0,3: 10:[23, 40, 34] Operation: 63-29=34
Moving to Node #0,2
Current State: 10:[23, 29, 23], Operations: ['63-40=23']
Exploring Operation: 29-23=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 10:[23, 6] Operation: 29-23=6
Exploring Operation: 23-23=0, Resulting Numbers: [29, 0]
Generated Node #0,2,1: 10:[29, 0] Operation: 23-23=0
Exploring Operation: 23/23=1, Resulting Numbers: [29, 1]
Generated Node #0,2,2: 10:[29, 1] Operation: 23/23=1
Exploring Operation: 29-23=6, Resulting Numbers: [23, 6]
Generated Node #0,2,3: 10:[23, 6] Operation: 29-23=6
Moving to Node #0,3
Current State: 10:[23, 40, 34], Operations: ['63-29=34']
Exploring Operation: 40-34=6, Resulting Numbers: [23, 6]
Generated Node #0,3,0: 10:[23, 6] Operation: 40-34=6
Exploring Operation: 40-23=17, Resulting Numbers: [34, 17]
Generated Node #0,3,1: 10:[34, 17] Operation: 40-23=17
Exploring Operation: 23+40=63, Resulting Numbers: [34, 63]
Generated Node #0,3,2: 10:[34, 63] Operation: 23+40=63
Exploring Operation: 34-23=11, Resulting Numbers: [40, 11]
Generated Node #0,3,3: 10:[40, 11] Operation: 34-23=11
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[23, 6], Operations: ['63-29=34', '40-34=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,10 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[34, 17], Operations: ['63-29=34', '40-23=17']
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[40, 11], Operations: ['63-29=34', '34-23=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,10 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[34, 63], Operations: ['63-29=34', '23+40=63']
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,10 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,10 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: 10:[23, 63, 11], Operations: ['40-29=11']
Exploring Operation: 23-11=12, Resulting Numbers: [63, 12]
Generated Node #0,0,0: 10:[63, 12] Operation: 23-11=12
Exploring Operation: 63-23=40, Resulting Numbers: [11, 40]
Generated Node #0,0,1: 10:[11, 40] Operation: 63-23=40
Exploring Operation: 63-11=52, Resulting Numbers: [23, 52]
Generated Node #0,0,2: 10:[23, 52] Operation: 63-11=52
Exploring Operation: 23+63=86, Resulting Numbers: [11, 86]
Generated Node #0,0,3: 10:[11, 86] Operation: 23+63=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[11, 40], Operations: ['40-29=11', '63-23=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,10 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[63, 12], Operations: ['40-29=11', '23-11=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[23, 52], Operations: ['40-29=11', '63-11=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 23*52=1196, Resulting Numbers: [1196]
1196,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[11, 86], Operations: ['40-29=11', '23+63=86']
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,10 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,10 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: 10:[40, 29, 40], Operations: ['63-23=40']
Exploring Operation: 40-29=11, Resulting Numbers: [40, 11]
Generated Node #0,1,0: 10:[40, 11] Operation: 40-29=11
Exploring Operation: 40-40=0, Resulting Numbers: [29, 0]
Generated Node #0,1,1: 10:[29, 0] Operation: 40-40=0
Exploring Operation: 40/40=1, Resulting Numbers: [29, 1]
Generated Node #0,1,2: 10:[29, 1] Operation: 40/40=1
Exploring Operation: 40-29=11, Resulting Numbers: [40, 11]
Generated Node #0,1,3: 10:[40, 11] Operation: 40-29=11
Moving to Node #0,2,0
Current State: 10:[23, 6], Operations: ['63-40=23', '29-23=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,10 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[23, 6], Operations: ['63-40=23', '29-23=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,10 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[29, 1], Operations: ['63-40=23', '23/23=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[29, 1], Operations: ['63-23=40', '40/40=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[29, 0], Operations: ['63-23=40', '40-40=0']
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[29, 0], Operations: ['63-40=23', '23-23=0']
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[40, 11], Operations: ['63-23=40', '40-29=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,10 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[40, 11], Operations: ['63-23=40', '40-29=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,10 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,10 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
22,
30,
87
] | 77 | [
"18+22=40",
"30+87=117",
"117-40=77"
] | Current State: 77:[18, 22, 30, 87], Operations: []
Exploring Operation: 18+22=40, Resulting Numbers: [30, 87, 40]
Generated Node #2: [30, 87, 40] from Operation: 18+22=40
Current State: 77:[30, 87, 40], Operations: ['18+22=40']
Exploring Operation: 30+87=117, Resulting Numbers: [40, 117]
Generated Node #3: [40, 117] from Operation: 30+87=117
Current State: 77:[40, 117], Operations: ['18+22=40', '30+87=117']
Exploring Operation: 117-40=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[18, 22, 30, 87], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [18, 87, 8]
Generated Node #0,0: 77:[18, 87, 8] Operation: 30-22=8
Exploring Operation: 87-22=65, Resulting Numbers: [18, 30, 65]
Generated Node #0,1: 77:[18, 30, 65] Operation: 87-22=65
Exploring Operation: 22-18=4, Resulting Numbers: [30, 87, 4]
Generated Node #0,2: 77:[30, 87, 4] Operation: 22-18=4
Exploring Operation: 87-18=69, Resulting Numbers: [22, 30, 69]
Generated Node #0,3: 77:[22, 30, 69] Operation: 87-18=69
Exploring Operation: 30-18=12, Resulting Numbers: [22, 87, 12]
Generated Node #0,4: 77:[22, 87, 12] Operation: 30-18=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[18, 87, 8], Operations: ['30-22=8']
Exploring Operation: 87-8=79, Resulting Numbers: [18, 79]
Generated Node #0,0,0: 77:[18, 79] Operation: 87-8=79
Exploring Operation: 18-8=10, Resulting Numbers: [87, 10]
Generated Node #0,0,1: 77:[87, 10] Operation: 18-8=10
Exploring Operation: 87+8=95, Resulting Numbers: [18, 95]
Generated Node #0,0,2: 77:[18, 95] Operation: 87+8=95
Exploring Operation: 87-18=69, Resulting Numbers: [8, 69]
Generated Node #0,0,3: 77:[8, 69] Operation: 87-18=69
Exploring Operation: 18+8=26, Resulting Numbers: [87, 26]
Generated Node #0,0,4: 77:[87, 26] Operation: 18+8=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[18, 79], Operations: ['30-22=8', '87-8=79']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 18*79=1422, Resulting Numbers: [1422]
1422,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[8, 69], Operations: ['30-22=8', '87-18=69']
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[18, 22, 30, 87], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [18, 87, 8]
Generated Node #0,0: 77:[18, 87, 8] Operation: 30-22=8
Moving to Node #0,0
Current State: 77:[18, 87, 8], Operations: ['30-22=8']
Exploring Operation: 87-18=69, Resulting Numbers: [8, 69]
Generated Node #0,0,3: 77:[8, 69] Operation: 87-18=69
Moving to Node #0,0,3
Current State: 77:[8, 69], Operations: ['30-22=8', '87-18=69']
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
72,
87,
18,
87
] | 72 | [
"87-87=0",
"18*0=0",
"72+0=72"
] | Current State: 72:[72, 87, 18, 87], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [72, 18, 0]
Generated Node #2: [72, 18, 0] from Operation: 87-87=0
Current State: 72:[72, 18, 0], Operations: ['87-87=0']
Exploring Operation: 18*0=0, Resulting Numbers: [72, 0]
Generated Node #3: [72, 0] from Operation: 18*0=0
Current State: 72:[72, 0], Operations: ['87-87=0', '18*0=0']
Exploring Operation: 72+0=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[72, 87, 18, 87], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [18, 87, 15]
Generated Node #0,0: 72:[18, 87, 15] Operation: 87-72=15
Exploring Operation: 87-72=15, Resulting Numbers: [87, 18, 15]
Generated Node #0,1: 72:[87, 18, 15] Operation: 87-72=15
Exploring Operation: 87-87=0, Resulting Numbers: [72, 18, 0]
Generated Node #0,2: 72:[72, 18, 0] Operation: 87-87=0
Exploring Operation: 87/87=1, Resulting Numbers: [72, 18, 1]
Generated Node #0,3: 72:[72, 18, 1] Operation: 87/87=1
Moving to Node #0,3
Current State: 72:[72, 18, 1], Operations: ['87/87=1']
Exploring Operation: 18/1=18, Resulting Numbers: [72, 18]
Generated Node #0,3,0: 72:[72, 18] Operation: 18/1=18
Exploring Operation: 18*1=18, Resulting Numbers: [72, 18]
Generated Node #0,3,1: 72:[72, 18] Operation: 18*1=18
Exploring Operation: 72/1=72, Resulting Numbers: [18, 72]
Generated Node #0,3,2: 72:[18, 72] Operation: 72/1=72
Exploring Operation: 72*1=72, Resulting Numbers: [18, 72]
Generated Node #0,3,3: 72:[18, 72] Operation: 72*1=72
Moving to Node #0,2
Current State: 72:[72, 18, 0], Operations: ['87-87=0']
Exploring Operation: 72+0=72, Resulting Numbers: [18, 72]
Generated Node #0,2,0: 72:[18, 72] Operation: 72+0=72
Exploring Operation: 18+0=18, Resulting Numbers: [72, 18]
Generated Node #0,2,1: 72:[72, 18] Operation: 18+0=18
Exploring Operation: 72-0=72, Resulting Numbers: [18, 72]
Generated Node #0,2,2: 72:[18, 72] Operation: 72-0=72
Exploring Operation: 18-0=18, Resulting Numbers: [72, 18]
Generated Node #0,2,3: 72:[72, 18] Operation: 18-0=18
Moving to Node #0,1
Current State: 72:[87, 18, 15], Operations: ['87-72=15']
Exploring Operation: 87-15=72, Resulting Numbers: [18, 72]
Generated Node #0,1,0: 72:[18, 72] Operation: 87-15=72
Exploring Operation: 18+15=33, Resulting Numbers: [87, 33]
Generated Node #0,1,1: 72:[87, 33] Operation: 18+15=33
Exploring Operation: 87-18=69, Resulting Numbers: [15, 69]
Generated Node #0,1,2: 72:[15, 69] Operation: 87-18=69
Exploring Operation: 18-15=3, Resulting Numbers: [87, 3]
Generated Node #0,1,3: 72:[87, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[18, 72], Operations: ['87-72=15', '87-15=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[15, 69], Operations: ['87-72=15', '87-18=69']
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,72 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[87, 3], Operations: ['87-72=15', '18-15=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[87, 33], Operations: ['87-72=15', '18+15=33']
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,72 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: 72:[18, 87, 15], Operations: ['87-72=15']
Exploring Operation: 18+15=33, Resulting Numbers: [87, 33]
Generated Node #0,0,0: 72:[87, 33] Operation: 18+15=33
Exploring Operation: 18-15=3, Resulting Numbers: [87, 3]
Generated Node #0,0,1: 72:[87, 3] Operation: 18-15=3
Exploring Operation: 87-15=72, Resulting Numbers: [18, 72]
Generated Node #0,0,2: 72:[18, 72] Operation: 87-15=72
Exploring Operation: 87-18=69, Resulting Numbers: [15, 69]
Generated Node #0,0,3: 72:[15, 69] Operation: 87-18=69
Moving to Node #0,3,0
Current State: 72:[72, 18], Operations: ['87/87=1', '18/1=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[18, 72], Operations: ['87/87=1', '72/1=72']
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[18, 72], Operations: ['87-87=0', '72-0=72']
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[72, 18], Operations: ['87-87=0', '18+0=18']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[72, 18], Operations: ['87/87=1', '18*1=18']
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[18, 72], Operations: ['87-87=0', '72+0=72']
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[18, 72], Operations: ['87-72=15', '87-15=72']
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[72, 18], Operations: ['87-87=0', '18-0=18']
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[18, 72], Operations: ['87/87=1', '72*1=72']
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[15, 69], Operations: ['87-72=15', '87-18=69']
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,72 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[87, 3], Operations: ['87-72=15', '18-15=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,72 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[87, 33], Operations: ['87-72=15', '18+15=33']
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,72 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,72 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
19,
38,
70,
17
] | 73 | [
"19-17=2",
"70/2=35",
"38+35=73"
] | Current State: 73:[19, 38, 70, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [38, 70, 2]
Generated Node #2: [38, 70, 2] from Operation: 19-17=2
Current State: 73:[38, 70, 2], Operations: ['19-17=2']
Exploring Operation: 70/2=35, Resulting Numbers: [38, 35]
Generated Node #3: [38, 35] from Operation: 70/2=35
Current State: 73:[38, 35], Operations: ['19-17=2', '70/2=35']
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[19, 38, 70, 17], Operations: []
Exploring Operation: 19+17=36, Resulting Numbers: [38, 70, 36]
Generated Node #0,0: 73:[38, 70, 36] Operation: 19+17=36
Exploring Operation: 70+17=87, Resulting Numbers: [19, 38, 87]
Generated Node #0,1: 73:[19, 38, 87] Operation: 70+17=87
Exploring Operation: 19+38=57, Resulting Numbers: [70, 17, 57]
Generated Node #0,2: 73:[70, 17, 57] Operation: 19+38=57
Exploring Operation: 38+17=55, Resulting Numbers: [19, 70, 55]
Generated Node #0,3: 73:[19, 70, 55] Operation: 38+17=55
Moving to Node #0,0
Current State: 73:[38, 70, 36], Operations: ['19+17=36']
Exploring Operation: 38+36=74, Resulting Numbers: [70, 74]
Generated Node #0,0,0: 73:[70, 74] Operation: 38+36=74
Exploring Operation: 38-36=2, Resulting Numbers: [70, 2]
Generated Node #0,0,1: 73:[70, 2] Operation: 38-36=2
Exploring Operation: 70+36=106, Resulting Numbers: [38, 106]
Generated Node #0,0,2: 73:[38, 106] Operation: 70+36=106
Exploring Operation: 38+70=108, Resulting Numbers: [36, 108]
Generated Node #0,0,3: 73:[36, 108] Operation: 38+70=108
Moving to Node #0,3
Current State: 73:[19, 70, 55], Operations: ['38+17=55']
Exploring Operation: 70-19=51, Resulting Numbers: [55, 51]
Generated Node #0,3,0: 73:[55, 51] Operation: 70-19=51
Exploring Operation: 55-19=36, Resulting Numbers: [70, 36]
Generated Node #0,3,1: 73:[70, 36] Operation: 55-19=36
Exploring Operation: 19+70=89, Resulting Numbers: [55, 89]
Generated Node #0,3,2: 73:[55, 89] Operation: 19+70=89
Exploring Operation: 19+55=74, Resulting Numbers: [70, 74]
Generated Node #0,3,3: 73:[70, 74] Operation: 19+55=74
Moving to Node #0,2
Current State: 73:[70, 17, 57], Operations: ['19+38=57']
Exploring Operation: 70+17=87, Resulting Numbers: [57, 87]
Generated Node #0,2,0: 73:[57, 87] Operation: 70+17=87
Exploring Operation: 57-17=40, Resulting Numbers: [70, 40]
Generated Node #0,2,1: 73:[70, 40] Operation: 57-17=40
Exploring Operation: 17+57=74, Resulting Numbers: [70, 74]
Generated Node #0,2,2: 73:[70, 74] Operation: 17+57=74
Exploring Operation: 70-17=53, Resulting Numbers: [57, 53]
Generated Node #0,2,3: 73:[57, 53] Operation: 70-17=53
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[70, 74], Operations: ['19+38=57', '17+57=74']
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,73 unequal: No Solution
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[57, 87], Operations: ['19+38=57', '70+17=87']
Exploring Operation: 57*87=4959, Resulting Numbers: [4959]
4959,73 unequal: No Solution
Exploring Operation: 57+87=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[70, 40], Operations: ['19+38=57', '57-17=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[57, 53], Operations: ['19+38=57', '70-17=53']
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 57*53=3021, Resulting Numbers: [3021]
3021,73 unequal: No Solution
Exploring Operation: 57+53=110, Resulting Numbers: [110]
110,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[19, 38, 87], Operations: ['70+17=87']
Exploring Operation: 19+38=57, Resulting Numbers: [87, 57]
Generated Node #0,1,0: 73:[87, 57] Operation: 19+38=57
Exploring Operation: 38-19=19, Resulting Numbers: [87, 19]
Generated Node #0,1,1: 73:[87, 19] Operation: 38-19=19
Exploring Operation: 19+87=106, Resulting Numbers: [38, 106]
Generated Node #0,1,2: 73:[38, 106] Operation: 19+87=106
Exploring Operation: 87-19=68, Resulting Numbers: [38, 68]
Generated Node #0,1,3: 73:[38, 68] Operation: 87-19=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[87, 57], Operations: ['70+17=87', '19+38=57']
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[38, 68], Operations: ['70+17=87', '87-19=68']
Exploring Operation: 38+68=106, Resulting Numbers: [106]
106,73 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 38*68=2584, Resulting Numbers: [2584]
2584,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[87, 19], Operations: ['70+17=87', '38-19=19']
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,73 unequal: No Solution
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[38, 106], Operations: ['70+17=87', '19+87=106']
Exploring Operation: 106-38=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 38*106=4028, Resulting Numbers: [4028]
4028,73 unequal: No Solution
Exploring Operation: 38+106=144, Resulting Numbers: [144]
144,73 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: 73:[70, 74], Operations: ['19+17=36', '38+36=74']
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,73 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[70, 74], Operations: ['38+17=55', '19+55=74']
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[55, 89], Operations: ['38+17=55', '19+70=89']
Exploring Operation: 55*89=4895, Resulting Numbers: [4895]
4895,73 unequal: No Solution
Exploring Operation: 55+89=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[55, 51], Operations: ['38+17=55', '70-19=51']
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,73 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[70, 36], Operations: ['38+17=55', '55-19=36']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,73 unequal: No Solution
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[38, 106], Operations: ['19+17=36', '70+36=106']
Exploring Operation: 38+106=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 38*106=4028, Resulting Numbers: [4028]
4028,73 unequal: No Solution
Exploring Operation: 106-38=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[36, 108], Operations: ['19+17=36', '38+70=108']
Exploring Operation: 108-36=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 108/36=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 36*108=3888, Resulting Numbers: [3888]
3888,73 unequal: No Solution
Exploring Operation: 36+108=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[70, 2], Operations: ['19+17=36', '38-36=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,73 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
44,
38,
34,
41
] | 64 | [
"44-41=3",
"34*3=102",
"102-38=64"
] | Current State: 64:[44, 38, 34, 41], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [38, 34, 3]
Generated Node #2: [38, 34, 3] from Operation: 44-41=3
Current State: 64:[38, 34, 3], Operations: ['44-41=3']
Exploring Operation: 34*3=102, Resulting Numbers: [38, 102]
Generated Node #3: [38, 102] from Operation: 34*3=102
Current State: 64:[38, 102], Operations: ['44-41=3', '34*3=102']
Exploring Operation: 102-38=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[44, 38, 34, 41], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [38, 41, 10]
Generated Node #0,0: 64:[38, 41, 10] Operation: 44-34=10
Exploring Operation: 44-41=3, Resulting Numbers: [38, 34, 3]
Generated Node #0,1: 64:[38, 34, 3] Operation: 44-41=3
Exploring Operation: 44-38=6, Resulting Numbers: [34, 41, 6]
Generated Node #0,2: 64:[34, 41, 6] Operation: 44-38=6
Exploring Operation: 41-34=7, Resulting Numbers: [44, 38, 7]
Generated Node #0,3: 64:[44, 38, 7] Operation: 41-34=7
Exploring Operation: 41-38=3, Resulting Numbers: [44, 34, 3]
Generated Node #0,4: 64:[44, 34, 3] Operation: 41-38=3
Moving to Node #0,1
Current State: 64:[38, 34, 3], Operations: ['44-41=3']
Exploring Operation: 38+34=72, Resulting Numbers: [3, 72]
Generated Node #0,1,0: 64:[3, 72] Operation: 38+34=72
Exploring Operation: 38+3=41, Resulting Numbers: [34, 41]
Generated Node #0,1,1: 64:[34, 41] Operation: 38+3=41
Exploring Operation: 34-3=31, Resulting Numbers: [38, 31]
Generated Node #0,1,2: 64:[38, 31] Operation: 34-3=31
Exploring Operation: 38-3=35, Resulting Numbers: [34, 35]
Generated Node #0,1,3: 64:[34, 35] Operation: 38-3=35
Exploring Operation: 38-34=4, Resulting Numbers: [3, 4]
Generated Node #0,1,4: 64:[3, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[3, 4], Operations: ['44-41=3', '38-34=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[34, 35], Operations: ['44-41=3', '38-3=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,64 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[38, 31], Operations: ['44-41=3', '34-3=31']
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,64 unequal: No Solution
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[3, 72], Operations: ['44-41=3', '38+34=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,64 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[34, 41], Operations: ['44-41=3', '38+3=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[34, 41, 6], Operations: ['44-38=6']
Exploring Operation: 41-6=35, Resulting Numbers: [34, 35]
Generated Node #0,2,0: 64:[34, 35] Operation: 41-6=35
Exploring Operation: 41-34=7, Resulting Numbers: [6, 7]
Generated Node #0,2,1: 64:[6, 7] Operation: 41-34=7
Exploring Operation: 34-6=28, Resulting Numbers: [41, 28]
Generated Node #0,2,2: 64:[41, 28] Operation: 34-6=28
Exploring Operation: 34+41=75, Resulting Numbers: [6, 75]
Generated Node #0,2,3: 64:[6, 75] Operation: 34+41=75
Exploring Operation: 34+6=40, Resulting Numbers: [41, 40]
Generated Node #0,2,4: 64:[41, 40] Operation: 34+6=40
Moving to Node #0,4
Current State: 64:[44, 34, 3], Operations: ['41-38=3']
Exploring Operation: 44+3=47, Resulting Numbers: [34, 47]
Generated Node #0,4,0: 64:[34, 47] Operation: 44+3=47
Exploring Operation: 44-3=41, Resulting Numbers: [34, 41]
Generated Node #0,4,1: 64:[34, 41] Operation: 44-3=41
Exploring Operation: 44-34=10, Resulting Numbers: [3, 10]
Generated Node #0,4,2: 64:[3, 10] Operation: 44-34=10
Exploring Operation: 44+34=78, Resulting Numbers: [3, 78]
Generated Node #0,4,3: 64:[3, 78] Operation: 44+34=78
Exploring Operation: 34-3=31, Resulting Numbers: [44, 31]
Generated Node #0,4,4: 64:[44, 31] Operation: 34-3=31
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 64:[3, 10], Operations: ['41-38=3', '44-34=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[34, 41], Operations: ['41-38=3', '44-3=41']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,64 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[44, 31], Operations: ['41-38=3', '34-3=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,64 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[3, 78], Operations: ['41-38=3', '44+34=78']
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,64 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[34, 47], Operations: ['41-38=3', '44+3=47']
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 64:[38, 41, 10], Operations: ['44-34=10']
Exploring Operation: 38-10=28, Resulting Numbers: [41, 28]
Generated Node #0,0,0: 64:[41, 28] Operation: 38-10=28
Exploring Operation: 41+10=51, Resulting Numbers: [38, 51]
Generated Node #0,0,1: 64:[38, 51] Operation: 41+10=51
Exploring Operation: 41-38=3, Resulting Numbers: [10, 3]
Generated Node #0,0,2: 64:[10, 3] Operation: 41-38=3
Exploring Operation: 41-10=31, Resulting Numbers: [38, 31]
Generated Node #0,0,3: 64:[38, 31] Operation: 41-10=31
Exploring Operation: 38+41=79, Resulting Numbers: [10, 79]
Generated Node #0,0,4: 64:[10, 79] Operation: 38+41=79
Moving to Node #0,3
Current State: 64:[44, 38, 7], Operations: ['41-34=7']
Exploring Operation: 44+7=51, Resulting Numbers: [38, 51]
Generated Node #0,3,0: 64:[38, 51] Operation: 44+7=51
Exploring Operation: 44-7=37, Resulting Numbers: [38, 37]
Generated Node #0,3,1: 64:[38, 37] Operation: 44-7=37
Exploring Operation: 44-38=6, Resulting Numbers: [7, 6]
Generated Node #0,3,2: 64:[7, 6] Operation: 44-38=6
Exploring Operation: 38-7=31, Resulting Numbers: [44, 31]
Generated Node #0,3,3: 64:[44, 31] Operation: 38-7=31
Exploring Operation: 44+38=82, Resulting Numbers: [7, 82]
Generated Node #0,3,4: 64:[7, 82] Operation: 44+38=82
Moving to Node #0,2,1
Current State: 64:[6, 7], Operations: ['44-38=6', '41-34=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[10, 3], Operations: ['44-34=10', '41-38=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[7, 6], Operations: ['41-34=7', '44-38=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[34, 35], Operations: ['44-38=6', '41-6=35']
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,64 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[38, 31], Operations: ['44-34=10', '41-10=31']
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,64 unequal: No Solution
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[38, 37], Operations: ['41-34=7', '44-7=37']
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,64 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[41, 28], Operations: ['44-38=6', '34-6=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[6, 75], Operations: ['44-38=6', '34+41=75']
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 6*75=450, Resulting Numbers: [450]
450,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[41, 28], Operations: ['44-34=10', '38-10=28']
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,64 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[44, 31], Operations: ['41-34=7', '38-7=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[41, 40], Operations: ['44-38=6', '34+6=40']
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[10, 79], Operations: ['44-34=10', '38+41=79']
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,64 unequal: No Solution
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,64 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[38, 51], Operations: ['41-34=7', '44+7=51']
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,64 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,64 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[7, 82], Operations: ['41-34=7', '44+38=82']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,64 unequal: No Solution
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[38, 51], Operations: ['44-34=10', '41+10=51']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,64 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
91,
27,
57,
4
] | 10 | [
"91+57=148",
"148/4=37",
"37-27=10"
] | Current State: 10:[91, 27, 57, 4], Operations: []
Exploring Operation: 91+57=148, Resulting Numbers: [27, 4, 148]
Generated Node #2: [27, 4, 148] from Operation: 91+57=148
Current State: 10:[27, 4, 148], Operations: ['91+57=148']
Exploring Operation: 148/4=37, Resulting Numbers: [27, 37]
Generated Node #3: [27, 37] from Operation: 148/4=37
Current State: 10:[27, 37], Operations: ['91+57=148', '148/4=37']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[91, 27, 57, 4], Operations: []
Exploring Operation: 91-27=64, Resulting Numbers: [57, 4, 64]
Generated Node #0,0: 10:[57, 4, 64] Operation: 91-27=64
Exploring Operation: 57-27=30, Resulting Numbers: [91, 4, 30]
Generated Node #0,1: 10:[91, 4, 30] Operation: 57-27=30
Exploring Operation: 91-4=87, Resulting Numbers: [27, 57, 87]
Generated Node #0,2: 10:[27, 57, 87] Operation: 91-4=87
Exploring Operation: 91-57=34, Resulting Numbers: [27, 4, 34]
Generated Node #0,3: 10:[27, 4, 34] Operation: 91-57=34
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[27, 4, 34], Operations: ['91-57=34']
Exploring Operation: 27+4=31, Resulting Numbers: [34, 31]
Generated Node #0,3,0: 10:[34, 31] Operation: 27+4=31
Exploring Operation: 27-4=23, Resulting Numbers: [34, 23]
Generated Node #0,3,1: 10:[34, 23] Operation: 27-4=23
Exploring Operation: 34-27=7, Resulting Numbers: [4, 7]
Generated Node #0,3,2: 10:[4, 7] Operation: 34-27=7
Exploring Operation: 34-4=30, Resulting Numbers: [27, 30]
Generated Node #0,3,3: 10:[27, 30] Operation: 34-4=30
Moving to Node #0,3,2
Current State: 10:[4, 7], Operations: ['91-57=34', '34-27=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[27, 30], Operations: ['91-57=34', '34-4=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,10 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[34, 23], Operations: ['91-57=34', '27-4=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[34, 31], Operations: ['91-57=34', '27+4=31']
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,10 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[57, 4, 64], Operations: ['91-27=64']
Exploring Operation: 64/4=16, Resulting Numbers: [57, 16]
Generated Node #0,0,0: 10:[57, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [57, 60]
Generated Node #0,0,1: 10:[57, 60] Operation: 64-4=60
Exploring Operation: 57-4=53, Resulting Numbers: [64, 53]
Generated Node #0,0,2: 10:[64, 53] Operation: 57-4=53
Exploring Operation: 64-57=7, Resulting Numbers: [4, 7]
Generated Node #0,0,3: 10:[4, 7] Operation: 64-57=7
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 10:[4, 7], Operations: ['91-27=64', '64-57=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[57, 16], Operations: ['91-27=64', '64/4=16']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,10 unequal: No Solution
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[57, 60], Operations: ['91-27=64', '64-4=60']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[64, 53], Operations: ['91-27=64', '57-4=53']
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,10 unequal: No Solution
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[91, 4, 30], Operations: ['57-27=30']
Exploring Operation: 91-30=61, Resulting Numbers: [4, 61]
Generated Node #0,1,0: 10:[4, 61] Operation: 91-30=61
Exploring Operation: 30-4=26, Resulting Numbers: [91, 26]
Generated Node #0,1,1: 10:[91, 26] Operation: 30-4=26
Exploring Operation: 91-4=87, Resulting Numbers: [30, 87]
Generated Node #0,1,2: 10:[30, 87] Operation: 91-4=87
Exploring Operation: 91+4=95, Resulting Numbers: [30, 95]
Generated Node #0,1,3: 10:[30, 95] Operation: 91+4=95
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[4, 61], Operations: ['57-27=30', '91-30=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,10 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[91, 26], Operations: ['57-27=30', '30-4=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,10 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[30, 87], Operations: ['57-27=30', '91-4=87']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 30+87=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 30*87=2610, Resulting Numbers: [2610]
2610,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[30, 95], Operations: ['57-27=30', '91+4=95']
Exploring Operation: 30+95=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Exploring Operation: 30*95=2850, Resulting Numbers: [2850]
2850,10 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[27, 57, 87], Operations: ['91-4=87']
Exploring Operation: 87-27=60, Resulting Numbers: [57, 60]
Generated Node #0,2,0: 10:[57, 60] Operation: 87-27=60
Exploring Operation: 27+57=84, Resulting Numbers: [87, 84]
Generated Node #0,2,1: 10:[87, 84] Operation: 27+57=84
Exploring Operation: 87-57=30, Resulting Numbers: [27, 30]
Generated Node #0,2,2: 10:[27, 30] Operation: 87-57=30
Exploring Operation: 57-27=30, Resulting Numbers: [87, 30]
Generated Node #0,2,3: 10:[87, 30] Operation: 57-27=30
Moving to Node #0,2,2
Current State: 10:[27, 30], Operations: ['91-4=87', '87-57=30']
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[87, 30], Operations: ['91-4=87', '57-27=30']
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,10 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[57, 60], Operations: ['91-4=87', '87-27=60']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,10 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[87, 84], Operations: ['91-4=87', '27+57=84']
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 87+84=171, Resulting Numbers: [171]
171,10 unequal: No Solution
Exploring Operation: 87*84=7308, Resulting Numbers: [7308]
7308,10 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 |
[
99,
6,
3,
55
] | 84 | [
"6+55=61",
"3*61=183",
"183-99=84"
] | Current State: 84:[99, 6, 3, 55], Operations: []
Exploring Operation: 6+55=61, Resulting Numbers: [99, 3, 61]
Generated Node #2: [99, 3, 61] from Operation: 6+55=61
Current State: 84:[99, 3, 61], Operations: ['6+55=61']
Exploring Operation: 3*61=183, Resulting Numbers: [99, 183]
Generated Node #3: [99, 183] from Operation: 3*61=183
Current State: 84:[99, 183], Operations: ['6+55=61', '3*61=183']
Exploring Operation: 183-99=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[99, 6, 3, 55], Operations: []
Exploring Operation: 99-55=44, Resulting Numbers: [6, 3, 44]
Generated Node #0,0: 84:[6, 3, 44] Operation: 99-55=44
Moving to Node #0,0
Current State: 84:[6, 3, 44], Operations: ['99-55=44']
Exploring Operation: 44-3=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 84:[6, 41] Operation: 44-3=41
Moving to Node #0,0,0
Current State: 84:[6, 41], Operations: ['99-55=44', '44-3=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,84 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
31,
51,
34
] | 83 | [
"69+31=100",
"51-34=17",
"100-17=83"
] | Current State: 83:[69, 31, 51, 34], Operations: []
Exploring Operation: 69+31=100, Resulting Numbers: [51, 34, 100]
Generated Node #2: [51, 34, 100] from Operation: 69+31=100
Current State: 83:[51, 34, 100], Operations: ['69+31=100']
Exploring Operation: 51-34=17, Resulting Numbers: [100, 17]
Generated Node #3: [100, 17] from Operation: 51-34=17
Current State: 83:[100, 17], Operations: ['69+31=100', '51-34=17']
Exploring Operation: 100-17=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[69, 31, 51, 34], Operations: []
Exploring Operation: 31+51=82, Resulting Numbers: [69, 34, 82]
Generated Node #0,0: 83:[69, 34, 82] Operation: 31+51=82
Exploring Operation: 69+34=103, Resulting Numbers: [31, 51, 103]
Generated Node #0,1: 83:[31, 51, 103] Operation: 69+34=103
Exploring Operation: 69+31=100, Resulting Numbers: [51, 34, 100]
Generated Node #0,2: 83:[51, 34, 100] Operation: 69+31=100
Exploring Operation: 31+34=65, Resulting Numbers: [69, 51, 65]
Generated Node #0,3: 83:[69, 51, 65] Operation: 31+34=65
Exploring Operation: 51+34=85, Resulting Numbers: [69, 31, 85]
Generated Node #0,4: 83:[69, 31, 85] Operation: 51+34=85
Moving to Node #0,0
Current State: 83:[69, 34, 82], Operations: ['31+51=82']
Exploring Operation: 34+82=116, Resulting Numbers: [69, 116]
Generated Node #0,0,0: 83:[69, 116] Operation: 34+82=116
Exploring Operation: 69-34=35, Resulting Numbers: [82, 35]
Generated Node #0,0,1: 83:[82, 35] Operation: 69-34=35
Exploring Operation: 82-34=48, Resulting Numbers: [69, 48]
Generated Node #0,0,2: 83:[69, 48] Operation: 82-34=48
Exploring Operation: 69+82=151, Resulting Numbers: [34, 151]
Generated Node #0,0,3: 83:[34, 151] Operation: 69+82=151
Exploring Operation: 69+34=103, Resulting Numbers: [82, 103]
Generated Node #0,0,4: 83:[82, 103] Operation: 69+34=103
Moving to Node #0,3
Current State: 83:[69, 51, 65], Operations: ['31+34=65']
Exploring Operation: 69+65=134, Resulting Numbers: [51, 134]
Generated Node #0,3,0: 83:[51, 134] Operation: 69+65=134
Exploring Operation: 51+65=116, Resulting Numbers: [69, 116]
Generated Node #0,3,1: 83:[69, 116] Operation: 51+65=116
Exploring Operation: 65-51=14, Resulting Numbers: [69, 14]
Generated Node #0,3,2: 83:[69, 14] Operation: 65-51=14
Exploring Operation: 69-51=18, Resulting Numbers: [65, 18]
Generated Node #0,3,3: 83:[65, 18] Operation: 69-51=18
Exploring Operation: 69+51=120, Resulting Numbers: [65, 120]
Generated Node #0,3,4: 83:[65, 120] Operation: 69+51=120
Moving to Node #0,4
Current State: 83:[69, 31, 85], Operations: ['51+34=85']
Exploring Operation: 69-31=38, Resulting Numbers: [85, 38]
Generated Node #0,4,0: 83:[85, 38] Operation: 69-31=38
Exploring Operation: 85-31=54, Resulting Numbers: [69, 54]
Generated Node #0,4,1: 83:[69, 54] Operation: 85-31=54
Exploring Operation: 31+85=116, Resulting Numbers: [69, 116]
Generated Node #0,4,2: 83:[69, 116] Operation: 31+85=116
Exploring Operation: 85-69=16, Resulting Numbers: [31, 16]
Generated Node #0,4,3: 83:[31, 16] Operation: 85-69=16
Exploring Operation: 69+31=100, Resulting Numbers: [85, 100]
Generated Node #0,4,4: 83:[85, 100] Operation: 69+31=100
Moving to Node #0,2
Current State: 83:[51, 34, 100], Operations: ['69+31=100']
Exploring Operation: 51-34=17, Resulting Numbers: [100, 17]
Generated Node #0,2,0: 83:[100, 17] Operation: 51-34=17
Exploring Operation: 34+100=134, Resulting Numbers: [51, 134]
Generated Node #0,2,1: 83:[51, 134] Operation: 34+100=134
Exploring Operation: 51+34=85, Resulting Numbers: [100, 85]
Generated Node #0,2,2: 83:[100, 85] Operation: 51+34=85
Exploring Operation: 100-51=49, Resulting Numbers: [34, 49]
Generated Node #0,2,3: 83:[34, 49] Operation: 100-51=49
Exploring Operation: 100-34=66, Resulting Numbers: [51, 66]
Generated Node #0,2,4: 83:[51, 66] Operation: 100-34=66
Moving to Node #0,1
Current State: 83:[31, 51, 103], Operations: ['69+34=103']
Exploring Operation: 31+51=82, Resulting Numbers: [103, 82]
Generated Node #0,1,0: 83:[103, 82] Operation: 31+51=82
Exploring Operation: 103-51=52, Resulting Numbers: [31, 52]
Generated Node #0,1,1: 83:[31, 52] Operation: 103-51=52
Exploring Operation: 103-31=72, Resulting Numbers: [51, 72]
Generated Node #0,1,2: 83:[51, 72] Operation: 103-31=72
Exploring Operation: 51-31=20, Resulting Numbers: [103, 20]
Generated Node #0,1,3: 83:[103, 20] Operation: 51-31=20
Exploring Operation: 31+103=134, Resulting Numbers: [51, 134]
Generated Node #0,1,4: 83:[51, 134] Operation: 31+103=134
Moving to Node #0,4,4
Current State: 83:[85, 100], Operations: ['51+34=85', '69+31=100']
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 85*100=8500, Resulting Numbers: [8500]
8500,83 unequal: No Solution
Exploring Operation: 85+100=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[100, 85], Operations: ['69+31=100', '51+34=85']
Exploring Operation: 100+85=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Exploring Operation: 100*85=8500, Resulting Numbers: [8500]
8500,83 unequal: No Solution
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[103, 82], Operations: ['69+34=103', '31+51=82']
Exploring Operation: 103-82=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 103+82=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Exploring Operation: 103*82=8446, Resulting Numbers: [8446]
8446,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[82, 103], Operations: ['31+51=82', '69+34=103']
Exploring Operation: 82*103=8446, Resulting Numbers: [8446]
8446,83 unequal: No Solution
Exploring Operation: 103-82=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 82+103=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[69, 54], Operations: ['51+34=85', '85-31=54']
Exploring Operation: 69*54=3726, Resulting Numbers: [3726]
3726,83 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 69+54=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[51, 72], Operations: ['69+34=103', '103-31=72']
Exploring Operation: 51*72=3672, Resulting Numbers: [3672]
3672,83 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 51+72=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[69, 116], Operations: ['51+34=85', '31+85=116']
Exploring Operation: 69*116=8004, Resulting Numbers: [8004]
8004,83 unequal: No Solution
Exploring Operation: 116-69=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 69+116=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[69, 116], Operations: ['31+34=65', '51+65=116']
Exploring Operation: 69*116=8004, Resulting Numbers: [8004]
8004,83 unequal: No Solution
Exploring Operation: 69+116=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Exploring Operation: 116-69=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[85, 38], Operations: ['51+34=85', '69-31=38']
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,83 unequal: No Solution
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[69, 116], Operations: ['31+51=82', '34+82=116']
Exploring Operation: 69*116=8004, Resulting Numbers: [8004]
8004,83 unequal: No Solution
Exploring Operation: 69+116=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Exploring Operation: 116-69=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[82, 35], Operations: ['31+51=82', '69-34=35']
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,83 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,83 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[69, 48], Operations: ['31+51=82', '82-34=48']
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,83 unequal: No Solution
Exploring Operation: 69*48=3312, Resulting Numbers: [3312]
3312,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[51, 66], Operations: ['69+31=100', '100-34=66']
Exploring Operation: 51+66=117, Resulting Numbers: [117]
117,83 unequal: No Solution
Exploring Operation: 51*66=3366, Resulting Numbers: [3366]
3366,83 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[65, 120], Operations: ['31+34=65', '69+51=120']
Exploring Operation: 120-65=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 65*120=7800, Resulting Numbers: [7800]
7800,83 unequal: No Solution
Exploring Operation: 65+120=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[65, 18], Operations: ['31+34=65', '69-51=18']
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,83 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[69, 31, 51, 34], Operations: []
Exploring Operation: 31+34=65, Resulting Numbers: [69, 51, 65]
Generated Node #0,3: 83:[69, 51, 65] Operation: 31+34=65
Moving to Node #0,3
Current State: 83:[69, 51, 65], Operations: ['31+34=65']
Exploring Operation: 69-51=18, Resulting Numbers: [65, 18]
Generated Node #0,3,3: 83:[65, 18] Operation: 69-51=18
Moving to Node #0,3,3
Current State: 83:[65, 18], Operations: ['31+34=65', '69-51=18']
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.931424 | hs_5 | sum_heuristic |
[
42,
71,
14,
29
] | 44 | [
"71-42=29",
"29-14=15",
"29+15=44"
] | Current State: 44:[42, 71, 14, 29], Operations: []
Exploring Operation: 71-42=29, Resulting Numbers: [14, 29, 29]
Generated Node #2: [14, 29, 29] from Operation: 71-42=29
Current State: 44:[14, 29, 29], Operations: ['71-42=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,44 equal: Goal Reached
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[42, 71, 14, 29], Operations: []
Exploring Operation: 71-29=42, Resulting Numbers: [42, 14, 42]
Generated Node #0,0: 44:[42, 14, 42] Operation: 71-29=42
Exploring Operation: 71-42=29, Resulting Numbers: [14, 29, 29]
Generated Node #0,1: 44:[14, 29, 29] Operation: 71-42=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[42, 14, 42], Operations: ['71-29=42']
Exploring Operation: 42/14=3, Resulting Numbers: [42, 3]
Generated Node #0,0,0: 44:[42, 3] Operation: 42/14=3
Exploring Operation: 42/14=3, Resulting Numbers: [42, 3]
Generated Node #0,0,1: 44:[42, 3] Operation: 42/14=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[42, 3], Operations: ['71-29=42', '42/14=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[42, 3], Operations: ['71-29=42', '42/14=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[14, 29, 29], Operations: ['71-42=29']
Exploring Operation: 29-29=0, Resulting Numbers: [14, 0]
Generated Node #0,1,0: 44:[14, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [14, 1]
Generated Node #0,1,1: 44:[14, 1] Operation: 29/29=1
Moving to Node #0,1,1
Current State: 44:[14, 1], Operations: ['71-42=29', '29/29=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[14, 0], Operations: ['71-42=29', '29-29=0']
Exploring Operation: 14*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 14+0=14, Resulting Numbers: [14]
14,44 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 |
[
3,
13,
61,
12
] | 89 | [
"3+13=16",
"61+12=73",
"16+73=89"
] | Current State: 89:[3, 13, 61, 12], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [61, 12, 16]
Generated Node #2: [61, 12, 16] from Operation: 3+13=16
Current State: 89:[61, 12, 16], Operations: ['3+13=16']
Exploring Operation: 61+12=73, Resulting Numbers: [16, 73]
Generated Node #3: [16, 73] from Operation: 61+12=73
Current State: 89:[16, 73], Operations: ['3+13=16', '61+12=73']
Exploring Operation: 16+73=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[3, 13, 61, 12], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [61, 12, 16]
Generated Node #0,0: 89:[61, 12, 16] Operation: 3+13=16
Exploring Operation: 3*13=39, Resulting Numbers: [61, 12, 39]
Generated Node #0,1: 89:[61, 12, 39] Operation: 3*13=39
Exploring Operation: 3*12=36, Resulting Numbers: [13, 61, 36]
Generated Node #0,2: 89:[13, 61, 36] Operation: 3*12=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[61, 12, 39], Operations: ['3*13=39']
Exploring Operation: 12+39=51, Resulting Numbers: [61, 51]
Generated Node #0,1,0: 89:[61, 51] Operation: 12+39=51
Exploring Operation: 61+12=73, Resulting Numbers: [39, 73]
Generated Node #0,1,1: 89:[39, 73] Operation: 61+12=73
Exploring Operation: 61+39=100, Resulting Numbers: [12, 100]
Generated Node #0,1,2: 89:[12, 100] Operation: 61+39=100
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[61, 51], Operations: ['3*13=39', '12+39=51']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 61*51=3111, Resulting Numbers: [3111]
3111,89 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[39, 73], Operations: ['3*13=39', '61+12=73']
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,89 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[12, 100], Operations: ['3*13=39', '61+39=100']
Exploring Operation: 12+100=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 12*100=1200, Resulting Numbers: [1200]
1200,89 unequal: No Solution
Exploring Operation: 100-12=88, Resulting Numbers: [88]
88,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[13, 61, 36], Operations: ['3*12=36']
Exploring Operation: 13+36=49, Resulting Numbers: [61, 49]
Generated Node #0,2,0: 89:[61, 49] Operation: 13+36=49
Exploring Operation: 61+36=97, Resulting Numbers: [13, 97]
Generated Node #0,2,1: 89:[13, 97] Operation: 61+36=97
Exploring Operation: 13+61=74, Resulting Numbers: [36, 74]
Generated Node #0,2,2: 89:[36, 74] Operation: 13+61=74
Moving to Node #0,2,0
Current State: 89:[61, 49], Operations: ['3*12=36', '13+36=49']
Exploring Operation: 61+49=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 61*49=2989, Resulting Numbers: [2989]
2989,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[36, 74], Operations: ['3*12=36', '13+61=74']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 36*74=2664, Resulting Numbers: [2664]
2664,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[13, 97], Operations: ['3*12=36', '61+36=97']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 13*97=1261, Resulting Numbers: [1261]
1261,89 unequal: No Solution
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[61, 12, 16], Operations: ['3+13=16']
Exploring Operation: 12+16=28, Resulting Numbers: [61, 28]
Generated Node #0,0,0: 89:[61, 28] Operation: 12+16=28
Exploring Operation: 61+12=73, Resulting Numbers: [16, 73]
Generated Node #0,0,1: 89:[16, 73] Operation: 61+12=73
Exploring Operation: 61+16=77, Resulting Numbers: [12, 77]
Generated Node #0,0,2: 89:[12, 77] Operation: 61+16=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[61, 28], Operations: ['3+13=16', '12+16=28']
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[3, 13, 61, 12], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [61, 12, 16]
Generated Node #0,0: 89:[61, 12, 16] Operation: 3+13=16
Moving to Node #0,0
Current State: 89:[61, 12, 16], Operations: ['3+13=16']
Exploring Operation: 12+16=28, Resulting Numbers: [61, 28]
Generated Node #0,0,0: 89:[61, 28] Operation: 12+16=28
Moving to Node #0,0,0
Current State: 89:[61, 28], Operations: ['3+13=16', '12+16=28']
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
15,
5,
20,
12
] | 63 | [
"20/5=4",
"12*4=48",
"15+48=63"
] | Current State: 63:[15, 5, 20, 12], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [15, 12, 4]
Generated Node #2: [15, 12, 4] from Operation: 20/5=4
Current State: 63:[15, 12, 4], Operations: ['20/5=4']
Exploring Operation: 12*4=48, Resulting Numbers: [15, 48]
Generated Node #3: [15, 48] from Operation: 12*4=48
Current State: 63:[15, 48], Operations: ['20/5=4', '12*4=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[15, 5, 20, 12], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [5, 12, 5]
Generated Node #0,0: 63:[5, 12, 5] Operation: 20-15=5
Exploring Operation: 15+5=20, Resulting Numbers: [20, 12, 20]
Generated Node #0,1: 63:[20, 12, 20] Operation: 15+5=20
Exploring Operation: 15-5=10, Resulting Numbers: [20, 12, 10]
Generated Node #0,2: 63:[20, 12, 10] Operation: 15-5=10
Exploring Operation: 15-12=3, Resulting Numbers: [5, 20, 3]
Generated Node #0,3: 63:[5, 20, 3] Operation: 15-12=3
Exploring Operation: 15/5=3, Resulting Numbers: [20, 12, 3]
Generated Node #0,4: 63:[20, 12, 3] Operation: 15/5=3
Moving to Node #0,3
Current State: 63:[5, 20, 3], Operations: ['15-12=3']
Exploring Operation: 5+3=8, Resulting Numbers: [20, 8]
Generated Node #0,3,0: 63:[20, 8] Operation: 5+3=8
Exploring Operation: 20+3=23, Resulting Numbers: [5, 23]
Generated Node #0,3,1: 63:[5, 23] Operation: 20+3=23
Exploring Operation: 5-3=2, Resulting Numbers: [20, 2]
Generated Node #0,3,2: 63:[20, 2] Operation: 5-3=2
Exploring Operation: 20/5=4, Resulting Numbers: [3, 4]
Generated Node #0,3,3: 63:[3, 4] Operation: 20/5=4
Exploring Operation: 5+20=25, Resulting Numbers: [3, 25]
Generated Node #0,3,4: 63:[3, 25] Operation: 5+20=25
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[3, 4], Operations: ['15-12=3', '20/5=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[20, 8], Operations: ['15-12=3', '5+3=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,63 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[20, 2], Operations: ['15-12=3', '5-3=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[5, 23], Operations: ['15-12=3', '20+3=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,63 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 63:[3, 25], Operations: ['15-12=3', '5+20=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 63:[20, 12, 3], Operations: ['15/5=3']
Exploring Operation: 12/3=4, Resulting Numbers: [20, 4]
Generated Node #0,4,0: 63:[20, 4] Operation: 12/3=4
Exploring Operation: 20+3=23, Resulting Numbers: [12, 23]
Generated Node #0,4,1: 63:[12, 23] Operation: 20+3=23
Exploring Operation: 20*3=60, Resulting Numbers: [12, 60]
Generated Node #0,4,2: 63:[12, 60] Operation: 20*3=60
Exploring Operation: 12-3=9, Resulting Numbers: [20, 9]
Generated Node #0,4,3: 63:[20, 9] Operation: 12-3=9
Exploring Operation: 20-12=8, Resulting Numbers: [3, 8]
Generated Node #0,4,4: 63:[3, 8] Operation: 20-12=8
Moving to Node #0,1
Current State: 63:[20, 12, 20], Operations: ['15+5=20']
Exploring Operation: 20-12=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 63:[20, 8] Operation: 20-12=8
Exploring Operation: 20-12=8, Resulting Numbers: [20, 8]
Generated Node #0,1,1: 63:[20, 8] Operation: 20-12=8
Exploring Operation: 20-20=0, Resulting Numbers: [12, 0]
Generated Node #0,1,2: 63:[12, 0] Operation: 20-20=0
Exploring Operation: 20/20=1, Resulting Numbers: [12, 1]
Generated Node #0,1,3: 63:[12, 1] Operation: 20/20=1
Exploring Operation: 20+12=32, Resulting Numbers: [20, 32]
Generated Node #0,1,4: 63:[20, 32] Operation: 20+12=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[20, 8], Operations: ['15+5=20', '20-12=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,63 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[20, 8], Operations: ['15+5=20', '20-12=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[12, 1], Operations: ['15+5=20', '20/20=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[12, 0], Operations: ['15+5=20', '20-20=0']
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 63:[20, 32], Operations: ['15+5=20', '20+12=32']
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,63 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,63 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,63 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: 63:[20, 12, 10], Operations: ['15-5=10']
Exploring Operation: 12+10=22, Resulting Numbers: [20, 22]
Generated Node #0,2,0: 63:[20, 22] Operation: 12+10=22
Exploring Operation: 20-10=10, Resulting Numbers: [12, 10]
Generated Node #0,2,1: 63:[12, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [12, 2]
Generated Node #0,2,2: 63:[12, 2] Operation: 20/10=2
Exploring Operation: 12-10=2, Resulting Numbers: [20, 2]
Generated Node #0,2,3: 63:[20, 2] Operation: 12-10=2
Exploring Operation: 20-12=8, Resulting Numbers: [10, 8]
Generated Node #0,2,4: 63:[10, 8] Operation: 20-12=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[20, 22], Operations: ['15-5=10', '12+10=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[20, 2], Operations: ['15-5=10', '12-10=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 63:[10, 8], Operations: ['15-5=10', '20-12=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[12, 10], Operations: ['15-5=10', '20-10=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,63 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[12, 2], Operations: ['15-5=10', '20/10=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,63 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: 63:[5, 12, 5], Operations: ['20-15=5']
Exploring Operation: 5+5=10, Resulting Numbers: [12, 10]
Generated Node #0,0,0: 63:[12, 10] Operation: 5+5=10
Exploring Operation: 12-5=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 63:[5, 7] Operation: 12-5=7
Exploring Operation: 5/5=1, Resulting Numbers: [12, 1]
Generated Node #0,0,2: 63:[12, 1] Operation: 5/5=1
Exploring Operation: 5*12=60, Resulting Numbers: [5, 60]
Generated Node #0,0,3: 63:[5, 60] Operation: 5*12=60
Exploring Operation: 12-5=7, Resulting Numbers: [5, 7]
Generated Node #0,0,4: 63:[5, 7] Operation: 12-5=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[5, 7], Operations: ['20-15=5', '12-5=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[5, 7], Operations: ['20-15=5', '12-5=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[12, 10], Operations: ['20-15=5', '5+5=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,63 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[12, 1], Operations: ['20-15=5', '5/5=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[5, 60], Operations: ['20-15=5', '5*12=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,63 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 63:[20, 9], Operations: ['15/5=3', '12-3=9']
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[3, 8], Operations: ['15/5=3', '20-12=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[20, 4], Operations: ['15/5=3', '12/3=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[12, 23], Operations: ['15/5=3', '20+3=23']
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[12, 60], Operations: ['15/5=3', '20*3=60']
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 12*60=720, Resulting Numbers: [720]
720,63 unequal: No Solution
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,63 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
61,
58,
73,
55
] | 36 | [
"73-61=12",
"58-55=3",
"12*3=36"
] | Current State: 36:[61, 58, 73, 55], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [58, 55, 12]
Generated Node #2: [58, 55, 12] from Operation: 73-61=12
Current State: 36:[58, 55, 12], Operations: ['73-61=12']
Exploring Operation: 58-55=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 58-55=3
Current State: 36:[12, 3], Operations: ['73-61=12', '58-55=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[61, 58, 73, 55], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [61, 58, 18]
Generated Node #0,0: 36:[61, 58, 18] Operation: 73-55=18
Exploring Operation: 73-58=15, Resulting Numbers: [61, 55, 15]
Generated Node #0,1: 36:[61, 55, 15] Operation: 73-58=15
Exploring Operation: 73-61=12, Resulting Numbers: [58, 55, 12]
Generated Node #0,2: 36:[58, 55, 12] Operation: 73-61=12
Exploring Operation: 61-55=6, Resulting Numbers: [58, 73, 6]
Generated Node #0,3: 36:[58, 73, 6] Operation: 61-55=6
Exploring Operation: 61-58=3, Resulting Numbers: [73, 55, 3]
Generated Node #0,4: 36:[73, 55, 3] Operation: 61-58=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[58, 55, 12], Operations: ['73-61=12']
Exploring Operation: 58-55=3, Resulting Numbers: [12, 3]
Generated Node #0,2,0: 36:[12, 3] Operation: 58-55=3
Exploring Operation: 58-12=46, Resulting Numbers: [55, 46]
Generated Node #0,2,1: 36:[55, 46] Operation: 58-12=46
Exploring Operation: 55-12=43, Resulting Numbers: [58, 43]
Generated Node #0,2,2: 36:[58, 43] Operation: 55-12=43
Exploring Operation: 58+12=70, Resulting Numbers: [55, 70]
Generated Node #0,2,3: 36:[55, 70] Operation: 58+12=70
Exploring Operation: 55+12=67, Resulting Numbers: [58, 67]
Generated Node #0,2,4: 36:[58, 67] Operation: 55+12=67
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[12, 3], Operations: ['73-61=12', '58-55=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[61, 58, 73, 55], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [58, 55, 12]
Generated Node #0,2: 36:[58, 55, 12] Operation: 73-61=12
Moving to Node #0,2
Current State: 36:[58, 55, 12], Operations: ['73-61=12']
Exploring Operation: 58-55=3, Resulting Numbers: [12, 3]
Generated Node #0,2,0: 36:[12, 3] Operation: 58-55=3
Moving to Node #0,2,0
Current State: 36:[12, 3], Operations: ['73-61=12', '58-55=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
14,
36,
77,
27
] | 54 | [
"14+36=50",
"77+27=104",
"104-50=54"
] | Current State: 54:[14, 36, 77, 27], Operations: []
Exploring Operation: 14+36=50, Resulting Numbers: [77, 27, 50]
Generated Node #2: [77, 27, 50] from Operation: 14+36=50
Current State: 54:[77, 27, 50], Operations: ['14+36=50']
Exploring Operation: 77+27=104, Resulting Numbers: [50, 104]
Generated Node #3: [50, 104] from Operation: 77+27=104
Current State: 54:[50, 104], Operations: ['14+36=50', '77+27=104']
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[14, 36, 77, 27], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [14, 27, 41]
Generated Node #0,0: 54:[14, 27, 41] Operation: 77-36=41
Moving to Node #0,0
Current State: 54:[14, 27, 41], Operations: ['77-36=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27, 27]
Generated Node #0,0,0: 54:[27, 27] Operation: 41-14=27
Moving to Node #0,0,0
Current State: 54:[27, 27], Operations: ['77-36=41', '41-14=27']
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[14, 36, 77, 27], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [14, 27, 41]
Generated Node #0,0: 54:[14, 27, 41] Operation: 77-36=41
Moving to Node #0,0
Current State: 54:[14, 27, 41], Operations: ['77-36=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27, 27]
Generated Node #0,0,0: 54:[27, 27] Operation: 41-14=27
Moving to Node #0,0,0
Current State: 54:[27, 27], Operations: ['77-36=41', '41-14=27']
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
6,
48,
82,
5
] | 32 | [
"48+82=130",
"130/5=26",
"6+26=32"
] | Current State: 32:[6, 48, 82, 5], Operations: []
Exploring Operation: 48+82=130, Resulting Numbers: [6, 5, 130]
Generated Node #2: [6, 5, 130] from Operation: 48+82=130
Current State: 32:[6, 5, 130], Operations: ['48+82=130']
Exploring Operation: 130/5=26, Resulting Numbers: [6, 26]
Generated Node #3: [6, 26] from Operation: 130/5=26
Current State: 32:[6, 26], Operations: ['48+82=130', '130/5=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[6, 48, 82, 5], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [6, 5, 34]
Generated Node #0,0: 32:[6, 5, 34] Operation: 82-48=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[6, 5, 34], Operations: ['82-48=34']
Exploring Operation: 6-5=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 32:[34, 1] Operation: 6-5=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[34, 1], Operations: ['82-48=34', '6-5=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
56,
94,
31,
29
] | 22 | [
"94-56=38",
"31+29=60",
"60-38=22"
] | Current State: 22:[56, 94, 31, 29], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [31, 29, 38]
Generated Node #2: [31, 29, 38] from Operation: 94-56=38
Current State: 22:[31, 29, 38], Operations: ['94-56=38']
Exploring Operation: 31+29=60, Resulting Numbers: [38, 60]
Generated Node #3: [38, 60] from Operation: 31+29=60
Current State: 22:[38, 60], Operations: ['94-56=38', '31+29=60']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[56, 94, 31, 29], Operations: []
Exploring Operation: 56-31=25, Resulting Numbers: [94, 29, 25]
Generated Node #0,0: 22:[94, 29, 25] Operation: 56-31=25
Exploring Operation: 94-31=63, Resulting Numbers: [56, 29, 63]
Generated Node #0,1: 22:[56, 29, 63] Operation: 94-31=63
Exploring Operation: 94-56=38, Resulting Numbers: [31, 29, 38]
Generated Node #0,2: 22:[31, 29, 38] Operation: 94-56=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[31, 29, 38], Operations: ['94-56=38']
Exploring Operation: 38-29=9, Resulting Numbers: [31, 9]
Generated Node #0,2,0: 22:[31, 9] Operation: 38-29=9
Exploring Operation: 31-29=2, Resulting Numbers: [38, 2]
Generated Node #0,2,1: 22:[38, 2] Operation: 31-29=2
Exploring Operation: 38-31=7, Resulting Numbers: [29, 7]
Generated Node #0,2,2: 22:[29, 7] Operation: 38-31=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[31, 9], Operations: ['94-56=38', '38-29=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,22 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[56, 94, 31, 29], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [31, 29, 38]
Generated Node #0,2: 22:[31, 29, 38] Operation: 94-56=38
Moving to Node #0,2
Current State: 22:[31, 29, 38], Operations: ['94-56=38']
Exploring Operation: 38-29=9, Resulting Numbers: [31, 9]
Generated Node #0,2,0: 22:[31, 9] Operation: 38-29=9
Moving to Node #0,2,0
Current State: 22:[31, 9], Operations: ['94-56=38', '38-29=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
94,
99,
5,
19
] | 99 | [
"5*19=95",
"95-94=1",
"99*1=99"
] | Current State: 99:[94, 99, 5, 19], Operations: []
Exploring Operation: 5*19=95, Resulting Numbers: [94, 99, 95]
Generated Node #2: [94, 99, 95] from Operation: 5*19=95
Current State: 99:[94, 99, 95], Operations: ['5*19=95']
Exploring Operation: 95-94=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 95-94=1
Current State: 99:[99, 1], Operations: ['5*19=95', '95-94=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[94, 99, 5, 19], Operations: []
Exploring Operation: 5*19=95, Resulting Numbers: [94, 99, 95]
Generated Node #0,0: 99:[94, 99, 95] Operation: 5*19=95
Exploring Operation: 5+19=24, Resulting Numbers: [94, 99, 24]
Generated Node #0,1: 99:[94, 99, 24] Operation: 5+19=24
Exploring Operation: 94+5=99, Resulting Numbers: [99, 19, 99]
Generated Node #0,2: 99:[99, 19, 99] Operation: 94+5=99
Exploring Operation: 19-5=14, Resulting Numbers: [94, 99, 14]
Generated Node #0,3: 99:[94, 99, 14] Operation: 19-5=14
Exploring Operation: 99-94=5, Resulting Numbers: [5, 19, 5]
Generated Node #0,4: 99:[5, 19, 5] Operation: 99-94=5
Moving to Node #0,2
Current State: 99:[99, 19, 99], Operations: ['94+5=99']
Exploring Operation: 99-19=80, Resulting Numbers: [99, 80]
Generated Node #0,2,0: 99:[99, 80] Operation: 99-19=80
Exploring Operation: 99/99=1, Resulting Numbers: [19, 1]
Generated Node #0,2,1: 99:[19, 1] Operation: 99/99=1
Exploring Operation: 99-99=0, Resulting Numbers: [19, 0]
Generated Node #0,2,2: 99:[19, 0] Operation: 99-99=0
Exploring Operation: 19+99=118, Resulting Numbers: [99, 118]
Generated Node #0,2,3: 99:[99, 118] Operation: 19+99=118
Exploring Operation: 99+19=118, Resulting Numbers: [99, 118]
Generated Node #0,2,4: 99:[99, 118] Operation: 99+19=118
Moving to Node #0,3
Current State: 99:[94, 99, 14], Operations: ['19-5=14']
Exploring Operation: 99-14=85, Resulting Numbers: [94, 85]
Generated Node #0,3,0: 99:[94, 85] Operation: 99-14=85
Exploring Operation: 94+14=108, Resulting Numbers: [99, 108]
Generated Node #0,3,1: 99:[99, 108] Operation: 94+14=108
Exploring Operation: 99+14=113, Resulting Numbers: [94, 113]
Generated Node #0,3,2: 99:[94, 113] Operation: 99+14=113
Exploring Operation: 94-14=80, Resulting Numbers: [99, 80]
Generated Node #0,3,3: 99:[99, 80] Operation: 94-14=80
Exploring Operation: 99-94=5, Resulting Numbers: [14, 5]
Generated Node #0,3,4: 99:[14, 5] Operation: 99-94=5
Moving to Node #0,0
Current State: 99:[94, 99, 95], Operations: ['5*19=95']
Exploring Operation: 99-95=4, Resulting Numbers: [94, 4]
Generated Node #0,0,0: 99:[94, 4] Operation: 99-95=4
Exploring Operation: 94+99=193, Resulting Numbers: [95, 193]
Generated Node #0,0,1: 99:[95, 193] Operation: 94+99=193
Exploring Operation: 94+95=189, Resulting Numbers: [99, 189]
Generated Node #0,0,2: 99:[99, 189] Operation: 94+95=189
Exploring Operation: 99-94=5, Resulting Numbers: [95, 5]
Generated Node #0,0,3: 99:[95, 5] Operation: 99-94=5
Exploring Operation: 95-94=1, Resulting Numbers: [99, 1]
Generated Node #0,0,4: 99:[99, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 99:[99, 1], Operations: ['5*19=95', '95-94=1']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[94, 99, 5, 19], Operations: []
Exploring Operation: 5*19=95, Resulting Numbers: [94, 99, 95]
Generated Node #0,0: 99:[94, 99, 95] Operation: 5*19=95
Moving to Node #0,0
Current State: 99:[94, 99, 95], Operations: ['5*19=95']
Exploring Operation: 95-94=1, Resulting Numbers: [99, 1]
Generated Node #0,0,4: 99:[99, 1] Operation: 95-94=1
Moving to Node #0,0,4
Current State: 99:[99, 1], Operations: ['5*19=95', '95-94=1']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
25,
69,
60,
28
] | 45 | [
"25*69=1725",
"60*28=1680",
"1725-1680=45"
] | Current State: 45:[25, 69, 60, 28], Operations: []
Exploring Operation: 25*69=1725, Resulting Numbers: [60, 28, 1725]
Generated Node #2: [60, 28, 1725] from Operation: 25*69=1725
Current State: 45:[60, 28, 1725], Operations: ['25*69=1725']
Exploring Operation: 60*28=1680, Resulting Numbers: [1725, 1680]
Generated Node #3: [1725, 1680] from Operation: 60*28=1680
Current State: 45:[1725, 1680], Operations: ['25*69=1725', '60*28=1680']
Exploring Operation: 1725-1680=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 69, 60, 28], Operations: []
Exploring Operation: 69-28=41, Resulting Numbers: [25, 60, 41]
Generated Node #0,0: 45:[25, 60, 41] Operation: 69-28=41
Exploring Operation: 69-25=44, Resulting Numbers: [60, 28, 44]
Generated Node #0,1: 45:[60, 28, 44] Operation: 69-25=44
Exploring Operation: 69-60=9, Resulting Numbers: [25, 28, 9]
Generated Node #0,2: 45:[25, 28, 9] Operation: 69-60=9
Moving to Node #0,2
Current State: 45:[25, 28, 9], Operations: ['69-60=9']
Exploring Operation: 28-25=3, Resulting Numbers: [9, 3]
Generated Node #0,2,0: 45:[9, 3] Operation: 28-25=3
Exploring Operation: 25+28=53, Resulting Numbers: [9, 53]
Generated Node #0,2,1: 45:[9, 53] Operation: 25+28=53
Exploring Operation: 25-9=16, Resulting Numbers: [28, 16]
Generated Node #0,2,2: 45:[28, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[9, 3], Operations: ['69-60=9', '28-25=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[9, 53], Operations: ['69-60=9', '25+28=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[28, 16], Operations: ['69-60=9', '25-9=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 45:[25, 60, 41], Operations: ['69-28=41']
Exploring Operation: 60-25=35, Resulting Numbers: [41, 35]
Generated Node #0,0,0: 45:[41, 35] Operation: 60-25=35
Exploring Operation: 41-25=16, Resulting Numbers: [60, 16]
Generated Node #0,0,1: 45:[60, 16] Operation: 41-25=16
Exploring Operation: 60-41=19, Resulting Numbers: [25, 19]
Generated Node #0,0,2: 45:[25, 19] Operation: 60-41=19
Moving to Node #0,1
Current State: 45:[60, 28, 44], Operations: ['69-25=44']
Exploring Operation: 60-28=32, Resulting Numbers: [44, 32]
Generated Node #0,1,0: 45:[44, 32] Operation: 60-28=32
Exploring Operation: 60-44=16, Resulting Numbers: [28, 16]
Generated Node #0,1,1: 45:[28, 16] Operation: 60-44=16
Exploring Operation: 44-28=16, Resulting Numbers: [60, 16]
Generated Node #0,1,2: 45:[60, 16] Operation: 44-28=16
Moving to Node #0,0,0
Current State: 45:[41, 35], Operations: ['69-28=41', '60-25=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,45 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[25, 19], Operations: ['69-28=41', '60-41=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[28, 16], Operations: ['69-25=44', '60-44=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[44, 32], Operations: ['69-25=44', '60-28=32']
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,45 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[60, 16], Operations: ['69-25=44', '44-28=16']
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,45 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[60, 16], Operations: ['69-28=41', '41-25=16']
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,45 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,45 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
94,
6,
16,
22
] | 64 | [
"94-6=88",
"16*88=1408",
"1408/22=64"
] | Current State: 64:[94, 6, 16, 22], Operations: []
Exploring Operation: 94-6=88, Resulting Numbers: [16, 22, 88]
Generated Node #2: [16, 22, 88] from Operation: 94-6=88
Current State: 64:[16, 22, 88], Operations: ['94-6=88']
Exploring Operation: 16*88=1408, Resulting Numbers: [22, 1408]
Generated Node #3: [22, 1408] from Operation: 16*88=1408
Current State: 64:[22, 1408], Operations: ['94-6=88', '16*88=1408']
Exploring Operation: 1408/22=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[94, 6, 16, 22], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [6, 22, 78]
Generated Node #0,0: 64:[6, 22, 78] Operation: 94-16=78
Exploring Operation: 94-6=88, Resulting Numbers: [16, 22, 88]
Generated Node #0,1: 64:[16, 22, 88] Operation: 94-6=88
Exploring Operation: 94-22=72, Resulting Numbers: [6, 16, 72]
Generated Node #0,2: 64:[6, 16, 72] Operation: 94-22=72
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[6, 16, 72], Operations: ['94-22=72']
Exploring Operation: 16-6=10, Resulting Numbers: [72, 10]
Generated Node #0,2,0: 64:[72, 10] Operation: 16-6=10
Exploring Operation: 72/6=12, Resulting Numbers: [16, 12]
Generated Node #0,2,1: 64:[16, 12] Operation: 72/6=12
Exploring Operation: 72-6=66, Resulting Numbers: [16, 66]
Generated Node #0,2,2: 64:[16, 66] Operation: 72-6=66
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[16, 66], Operations: ['94-22=72', '72-6=66']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 16*66=1056, Resulting Numbers: [1056]
1056,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[16, 12], Operations: ['94-22=72', '72/6=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,64 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[72, 10], Operations: ['94-22=72', '16-6=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[6, 22, 78], Operations: ['94-16=78']
Exploring Operation: 22-6=16, Resulting Numbers: [78, 16]
Generated Node #0,0,0: 64:[78, 16] Operation: 22-6=16
Exploring Operation: 78-22=56, Resulting Numbers: [6, 56]
Generated Node #0,0,1: 64:[6, 56] Operation: 78-22=56
Exploring Operation: 78/6=13, Resulting Numbers: [22, 13]
Generated Node #0,0,2: 64:[22, 13] Operation: 78/6=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[22, 13], Operations: ['94-16=78', '78/6=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,64 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[6, 56], Operations: ['94-16=78', '78-22=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[78, 16], Operations: ['94-16=78', '22-6=16']
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,64 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[16, 22, 88], Operations: ['94-6=88']
Exploring Operation: 88-22=66, Resulting Numbers: [16, 66]
Generated Node #0,1,0: 64:[16, 66] Operation: 88-22=66
Exploring Operation: 88-16=72, Resulting Numbers: [22, 72]
Generated Node #0,1,1: 64:[22, 72] Operation: 88-16=72
Exploring Operation: 88/22=4, Resulting Numbers: [16, 4]
Generated Node #0,1,2: 64:[16, 4] Operation: 88/22=4
Moving to Node #0,1,2
Current State: 64:[16, 4], Operations: ['94-6=88', '88/22=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[94, 6, 16, 22], Operations: []
Exploring Operation: 94-6=88, Resulting Numbers: [16, 22, 88]
Generated Node #0,1: 64:[16, 22, 88] Operation: 94-6=88
Moving to Node #0,1
Current State: 64:[16, 22, 88], Operations: ['94-6=88']
Exploring Operation: 88/22=4, Resulting Numbers: [16, 4]
Generated Node #0,1,2: 64:[16, 4] Operation: 88/22=4
Moving to Node #0,1,2
Current State: 64:[16, 4], Operations: ['94-6=88', '88/22=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
77,
32,
60,
79
] | 56 | [
"79-77=2",
"60-32=28",
"2*28=56"
] | Current State: 56:[77, 32, 60, 79], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [32, 60, 2]
Generated Node #2: [32, 60, 2] from Operation: 79-77=2
Current State: 56:[32, 60, 2], Operations: ['79-77=2']
Exploring Operation: 60-32=28, Resulting Numbers: [2, 28]
Generated Node #3: [2, 28] from Operation: 60-32=28
Current State: 56:[2, 28], Operations: ['79-77=2', '60-32=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[77, 32, 60, 79], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [32, 79, 17]
Generated Node #0,0: 56:[32, 79, 17] Operation: 77-60=17
Exploring Operation: 79-77=2, Resulting Numbers: [32, 60, 2]
Generated Node #0,1: 56:[32, 60, 2] Operation: 79-77=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[32, 60, 2], Operations: ['79-77=2']
Exploring Operation: 60-32=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 56:[2, 28] Operation: 60-32=28
Exploring Operation: 32-2=30, Resulting Numbers: [60, 30]
Generated Node #0,1,1: 56:[60, 30] Operation: 32-2=30
Moving to Node #0,1,0
Current State: 56:[2, 28], Operations: ['79-77=2', '60-32=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[77, 32, 60, 79], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [32, 60, 2]
Generated Node #0,1: 56:[32, 60, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 56:[32, 60, 2], Operations: ['79-77=2']
Exploring Operation: 60-32=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 56:[2, 28] Operation: 60-32=28
Moving to Node #0,1,0
Current State: 56:[2, 28], Operations: ['79-77=2', '60-32=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
54,
23,
3,
62
] | 28 | [
"54-23=31",
"62-3=59",
"59-31=28"
] | Current State: 28:[54, 23, 3, 62], Operations: []
Exploring Operation: 54-23=31, Resulting Numbers: [3, 62, 31]
Generated Node #2: [3, 62, 31] from Operation: 54-23=31
Current State: 28:[3, 62, 31], Operations: ['54-23=31']
Exploring Operation: 62-3=59, Resulting Numbers: [31, 59]
Generated Node #3: [31, 59] from Operation: 62-3=59
Current State: 28:[31, 59], Operations: ['54-23=31', '62-3=59']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[54, 23, 3, 62], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [54, 3, 39]
Generated Node #0,0: 28:[54, 3, 39] Operation: 62-23=39
Exploring Operation: 62-54=8, Resulting Numbers: [23, 3, 8]
Generated Node #0,1: 28:[23, 3, 8] Operation: 62-54=8
Exploring Operation: 54-23=31, Resulting Numbers: [3, 62, 31]
Generated Node #0,2: 28:[3, 62, 31] Operation: 54-23=31
Moving to Node #0,1
Current State: 28:[23, 3, 8], Operations: ['62-54=8']
Exploring Operation: 23-8=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 28:[3, 15] Operation: 23-8=15
Exploring Operation: 23+8=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 28:[3, 31] Operation: 23+8=31
Exploring Operation: 23+3=26, Resulting Numbers: [8, 26]
Generated Node #0,1,2: 28:[8, 26] Operation: 23+3=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[3, 15], Operations: ['62-54=8', '23-8=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[8, 26], Operations: ['62-54=8', '23+3=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,28 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[3, 31], Operations: ['62-54=8', '23+8=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[54, 23, 3, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [23, 3, 8]
Generated Node #0,1: 28:[23, 3, 8] Operation: 62-54=8
Moving to Node #0,1
Current State: 28:[23, 3, 8], Operations: ['62-54=8']
Exploring Operation: 23+8=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 28:[3, 31] Operation: 23+8=31
Moving to Node #0,1,1
Current State: 28:[3, 31], Operations: ['62-54=8', '23+8=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
36,
16,
48,
4
] | 48 | [
"36*16=576",
"48/4=12",
"576/12=48"
] | Current State: 48:[36, 16, 48, 4], Operations: []
Exploring Operation: 36*16=576, Resulting Numbers: [48, 4, 576]
Generated Node #2: [48, 4, 576] from Operation: 36*16=576
Current State: 48:[48, 4, 576], Operations: ['36*16=576']
Exploring Operation: 48/4=12, Resulting Numbers: [576, 12]
Generated Node #3: [576, 12] from Operation: 48/4=12
Current State: 48:[576, 12], Operations: ['36*16=576', '48/4=12']
Exploring Operation: 576/12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[36, 16, 48, 4], Operations: []
Exploring Operation: 36+4=40, Resulting Numbers: [16, 48, 40]
Generated Node #0,0: 48:[16, 48, 40] Operation: 36+4=40
Exploring Operation: 48-36=12, Resulting Numbers: [16, 4, 12]
Generated Node #0,1: 48:[16, 4, 12] Operation: 48-36=12
Exploring Operation: 36-16=20, Resulting Numbers: [48, 4, 20]
Generated Node #0,2: 48:[48, 4, 20] Operation: 36-16=20
Exploring Operation: 36+16=52, Resulting Numbers: [48, 4, 52]
Generated Node #0,3: 48:[48, 4, 52] Operation: 36+16=52
Exploring Operation: 36/4=9, Resulting Numbers: [16, 48, 9]
Generated Node #0,4: 48:[16, 48, 9] Operation: 36/4=9
Moving to Node #0,1
Current State: 48:[16, 4, 12], Operations: ['48-36=12']
Exploring Operation: 16/4=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 48:[12, 4] Operation: 16/4=4
Exploring Operation: 4*12=48, Resulting Numbers: [16, 48]
Generated Node #0,1,1: 48:[16, 48] Operation: 4*12=48
Exploring Operation: 4+12=16, Resulting Numbers: [16, 16]
Generated Node #0,1,2: 48:[16, 16] Operation: 4+12=16
Exploring Operation: 16-4=12, Resulting Numbers: [12, 12]
Generated Node #0,1,3: 48:[12, 12] Operation: 16-4=12
Exploring Operation: 16-12=4, Resulting Numbers: [4, 4]
Generated Node #0,1,4: 48:[4, 4] Operation: 16-12=4
Moving to Node #0,4
Current State: 48:[16, 48, 9], Operations: ['36/4=9']
Exploring Operation: 16+9=25, Resulting Numbers: [48, 25]
Generated Node #0,4,0: 48:[48, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [48, 7]
Generated Node #0,4,1: 48:[48, 7] Operation: 16-9=7
Exploring Operation: 48+9=57, Resulting Numbers: [16, 57]
Generated Node #0,4,2: 48:[16, 57] Operation: 48+9=57
Exploring Operation: 48-16=32, Resulting Numbers: [9, 32]
Generated Node #0,4,3: 48:[9, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [9, 3]
Generated Node #0,4,4: 48:[9, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[48, 25], Operations: ['36/4=9', '16+9=25']
Exploring Operation: 48*25=1200, Resulting Numbers: [1200]
1200,48 unequal: No Solution
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,48 unequal: No Solution
No 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: 48:[48, 7], Operations: ['36/4=9', '16-9=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,48 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,48 unequal: No Solution
No 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: 48:[9, 3], Operations: ['36/4=9', '48/16=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No 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: 48:[16, 57], Operations: ['36/4=9', '48+9=57']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,48 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,48 unequal: No Solution
No 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: 48:[9, 32], Operations: ['36/4=9', '48-16=32']
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,48 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,48 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: 48:[48, 4, 20], Operations: ['36-16=20']
Exploring Operation: 20-4=16, Resulting Numbers: [48, 16]
Generated Node #0,2,0: 48:[48, 16] Operation: 20-4=16
Exploring Operation: 48/4=12, Resulting Numbers: [20, 12]
Generated Node #0,2,1: 48:[20, 12] Operation: 48/4=12
Exploring Operation: 4+20=24, Resulting Numbers: [48, 24]
Generated Node #0,2,2: 48:[48, 24] Operation: 4+20=24
Exploring Operation: 48-20=28, Resulting Numbers: [4, 28]
Generated Node #0,2,3: 48:[4, 28] Operation: 48-20=28
Exploring Operation: 20/4=5, Resulting Numbers: [48, 5]
Generated Node #0,2,4: 48:[48, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[48, 16], Operations: ['36-16=20', '20-4=16']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,48 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,48 unequal: No Solution
No 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: 48:[48, 24], Operations: ['36-16=20', '4+20=24']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,48 unequal: No Solution
No 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: 48:[48, 5], Operations: ['36-16=20', '20/4=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,48 unequal: No Solution
No 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: 48:[20, 12], Operations: ['36-16=20', '48/4=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,48 unequal: No Solution
No 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: 48:[4, 28], Operations: ['36-16=20', '48-20=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,48 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: 48:[48, 4, 52], Operations: ['36+16=52']
Exploring Operation: 48+4=52, Resulting Numbers: [52, 52]
Generated Node #0,3,0: 48:[52, 52] Operation: 48+4=52
Exploring Operation: 52-4=48, Resulting Numbers: [48, 48]
Generated Node #0,3,1: 48:[48, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [48, 13]
Generated Node #0,3,2: 48:[48, 13] Operation: 52/4=13
Exploring Operation: 48/4=12, Resulting Numbers: [52, 12]
Generated Node #0,3,3: 48:[52, 12] Operation: 48/4=12
Exploring Operation: 52-48=4, Resulting Numbers: [4, 4]
Generated Node #0,3,4: 48:[4, 4] Operation: 52-48=4
Moving to Node #0,0
Current State: 48:[16, 48, 40], Operations: ['36+4=40']
Exploring Operation: 48/16=3, Resulting Numbers: [40, 3]
Generated Node #0,0,0: 48:[40, 3] Operation: 48/16=3
Exploring Operation: 16+40=56, Resulting Numbers: [48, 56]
Generated Node #0,0,1: 48:[48, 56] Operation: 16+40=56
Exploring Operation: 48-16=32, Resulting Numbers: [40, 32]
Generated Node #0,0,2: 48:[40, 32] Operation: 48-16=32
Exploring Operation: 48-40=8, Resulting Numbers: [16, 8]
Generated Node #0,0,3: 48:[16, 8] Operation: 48-40=8
Exploring Operation: 40-16=24, Resulting Numbers: [48, 24]
Generated Node #0,0,4: 48:[48, 24] Operation: 40-16=24
Moving to Node #0,1,0
Current State: 48:[12, 4], Operations: ['48-36=12', '16/4=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[36, 16, 48, 4], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [16, 4, 12]
Generated Node #0,1: 48:[16, 4, 12] Operation: 48-36=12
Moving to Node #0,1
Current State: 48:[16, 4, 12], Operations: ['48-36=12']
Exploring Operation: 16/4=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 48:[12, 4] Operation: 16/4=4
Moving to Node #0,1,0
Current State: 48:[12, 4], Operations: ['48-36=12', '16/4=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.938368 | hs_5 | mult_heuristic |
[
64,
95,
85,
47
] | 19 | [
"64-47=17",
"95*17=1615",
"1615/85=19"
] | Current State: 19:[64, 95, 85, 47], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [95, 85, 17]
Generated Node #2: [95, 85, 17] from Operation: 64-47=17
Current State: 19:[95, 85, 17], Operations: ['64-47=17']
Exploring Operation: 95*17=1615, Resulting Numbers: [85, 1615]
Generated Node #3: [85, 1615] from Operation: 95*17=1615
Current State: 19:[85, 1615], Operations: ['64-47=17', '95*17=1615']
Exploring Operation: 1615/85=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[64, 95, 85, 47], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [64, 47, 10]
Generated Node #0,0: 19:[64, 47, 10] Operation: 95-85=10
Moving to Node #0,0
Current State: 19:[64, 47, 10], Operations: ['95-85=10']
Exploring Operation: 64-47=17, Resulting Numbers: [10, 17]
Generated Node #0,0,0: 19:[10, 17] Operation: 64-47=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[10, 17], Operations: ['95-85=10', '64-47=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
76,
33,
51
] | 59 | [
"33/11=3",
"51/3=17",
"76-17=59"
] | Current State: 59:[11, 76, 33, 51], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [76, 51, 3]
Generated Node #2: [76, 51, 3] from Operation: 33/11=3
Current State: 59:[76, 51, 3], Operations: ['33/11=3']
Exploring Operation: 51/3=17, Resulting Numbers: [76, 17]
Generated Node #3: [76, 17] from Operation: 51/3=17
Current State: 59:[76, 17], Operations: ['33/11=3', '51/3=17']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[11, 76, 33, 51], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [33, 51, 65]
Generated Node #0,0: 59:[33, 51, 65] Operation: 76-11=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[33, 51, 65], Operations: ['76-11=65']
Exploring Operation: 33+51=84, Resulting Numbers: [65, 84]
Generated Node #0,0,0: 59:[65, 84] Operation: 33+51=84
Moving to Node #0,0,0
Current State: 59:[65, 84], Operations: ['76-11=65', '33+51=84']
Exploring Operation: 84-65=19, Resulting Numbers: [19]
19,59 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 |
[
84,
36,
49,
28
] | 37 | [
"84/28=3",
"36/3=12",
"49-12=37"
] | Current State: 37:[84, 36, 49, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [36, 49, 3]
Generated Node #2: [36, 49, 3] from Operation: 84/28=3
Current State: 37:[36, 49, 3], Operations: ['84/28=3']
Exploring Operation: 36/3=12, Resulting Numbers: [49, 12]
Generated Node #3: [49, 12] from Operation: 36/3=12
Current State: 37:[49, 12], Operations: ['84/28=3', '36/3=12']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[84, 36, 49, 28], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [36, 28, 35]
Generated Node #0,0: 37:[36, 28, 35] Operation: 84-49=35
Exploring Operation: 84-36=48, Resulting Numbers: [49, 28, 48]
Generated Node #0,1: 37:[49, 28, 48] Operation: 84-36=48
Exploring Operation: 84/28=3, Resulting Numbers: [36, 49, 3]
Generated Node #0,2: 37:[36, 49, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [36, 49, 56]
Generated Node #0,3: 37:[36, 49, 56] Operation: 84-28=56
Moving to Node #0,0
Current State: 37:[36, 28, 35], Operations: ['84-49=35']
Exploring Operation: 36+28=64, Resulting Numbers: [35, 64]
Generated Node #0,0,0: 37:[35, 64] Operation: 36+28=64
Exploring Operation: 28+35=63, Resulting Numbers: [36, 63]
Generated Node #0,0,1: 37:[36, 63] Operation: 28+35=63
Exploring Operation: 36-28=8, Resulting Numbers: [35, 8]
Generated Node #0,0,2: 37:[35, 8] Operation: 36-28=8
Exploring Operation: 35-28=7, Resulting Numbers: [36, 7]
Generated Node #0,0,3: 37:[36, 7] Operation: 35-28=7
Moving to Node #0,3
Current State: 37:[36, 49, 56], Operations: ['84-28=56']
Exploring Operation: 56-49=7, Resulting Numbers: [36, 7]
Generated Node #0,3,0: 37:[36, 7] Operation: 56-49=7
Exploring Operation: 49-36=13, Resulting Numbers: [56, 13]
Generated Node #0,3,1: 37:[56, 13] Operation: 49-36=13
Exploring Operation: 36+49=85, Resulting Numbers: [56, 85]
Generated Node #0,3,2: 37:[56, 85] Operation: 36+49=85
Exploring Operation: 56-36=20, Resulting Numbers: [49, 20]
Generated Node #0,3,3: 37:[49, 20] Operation: 56-36=20
Moving to Node #0,1
Current State: 37:[49, 28, 48], Operations: ['84-36=48']
Exploring Operation: 49+28=77, Resulting Numbers: [48, 77]
Generated Node #0,1,0: 37:[48, 77] Operation: 49+28=77
Exploring Operation: 48-28=20, Resulting Numbers: [49, 20]
Generated Node #0,1,1: 37:[49, 20] Operation: 48-28=20
Exploring Operation: 49-28=21, Resulting Numbers: [48, 21]
Generated Node #0,1,2: 37:[48, 21] Operation: 49-28=21
Exploring Operation: 49-48=1, Resulting Numbers: [28, 1]
Generated Node #0,1,3: 37:[28, 1] Operation: 49-48=1
Moving to Node #0,2
Current State: 37:[36, 49, 3], Operations: ['84/28=3']
Exploring Operation: 36-3=33, Resulting Numbers: [49, 33]
Generated Node #0,2,0: 37:[49, 33] Operation: 36-3=33
Exploring Operation: 36+3=39, Resulting Numbers: [49, 39]
Generated Node #0,2,1: 37:[49, 39] Operation: 36+3=39
Exploring Operation: 49-3=46, Resulting Numbers: [36, 46]
Generated Node #0,2,2: 37:[36, 46] Operation: 49-3=46
Exploring Operation: 49+3=52, Resulting Numbers: [36, 52]
Generated Node #0,2,3: 37:[36, 52] Operation: 49+3=52
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[36, 46], Operations: ['84/28=3', '49-3=46']
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,37 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[49, 39], Operations: ['84/28=3', '36+3=39']
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[49, 33], Operations: ['84/28=3', '36-3=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,37 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 37:[36, 52], Operations: ['84/28=3', '49+3=52']
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,37 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 37:[36, 63], Operations: ['84-49=35', '28+35=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[48, 21], Operations: ['84-36=48', '49-28=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[49, 20], Operations: ['84-28=56', '56-36=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[49, 20], Operations: ['84-36=48', '48-28=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,37 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[35, 64], Operations: ['84-49=35', '36+28=64']
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[35, 8], Operations: ['84-49=35', '36-28=8']
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[36, 7], Operations: ['84-28=56', '56-49=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[36, 7], Operations: ['84-49=35', '35-28=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,37 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[56, 13], Operations: ['84-28=56', '49-36=13']
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 56+13=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 56*13=728, Resulting Numbers: [728]
728,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[28, 1], Operations: ['84-36=48', '49-48=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[48, 77], Operations: ['84-36=48', '49+28=77']
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,37 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,37 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[56, 85], Operations: ['84-28=56', '36+49=85']
Exploring Operation: 56+85=141, Resulting Numbers: [141]
141,37 unequal: No Solution
Exploring Operation: 56*85=4760, Resulting Numbers: [4760]
4760,37 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,37 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
94,
70,
63,
53
] | 34 | [
"94-70=24",
"63-53=10",
"24+10=34"
] | Current State: 34:[94, 70, 63, 53], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [63, 53, 24]
Generated Node #2: [63, 53, 24] from Operation: 94-70=24
Current State: 34:[63, 53, 24], Operations: ['94-70=24']
Exploring Operation: 63-53=10, Resulting Numbers: [24, 10]
Generated Node #3: [24, 10] from Operation: 63-53=10
Current State: 34:[24, 10], Operations: ['94-70=24', '63-53=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[94, 70, 63, 53], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [63, 53, 24]
Generated Node #0,0: 34:[63, 53, 24] Operation: 94-70=24
Moving to Node #0,0
Current State: 34:[63, 53, 24], Operations: ['94-70=24']
Exploring Operation: 63-53=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 34:[24, 10] Operation: 63-53=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[24, 10], Operations: ['94-70=24', '63-53=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[94, 70, 63, 53], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [63, 53, 24]
Generated Node #0,0: 34:[63, 53, 24] Operation: 94-70=24
Moving to Node #0,0
Current State: 34:[63, 53, 24], Operations: ['94-70=24']
Exploring Operation: 63-53=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 34:[24, 10] Operation: 63-53=10
Moving to Node #0,0,0
Current State: 34:[24, 10], Operations: ['94-70=24', '63-53=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
53,
67,
43,
54
] | 83 | [
"67-53=14",
"43+54=97",
"97-14=83"
] | Current State: 83:[53, 67, 43, 54], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [43, 54, 14]
Generated Node #2: [43, 54, 14] from Operation: 67-53=14
Current State: 83:[43, 54, 14], Operations: ['67-53=14']
Exploring Operation: 43+54=97, Resulting Numbers: [14, 97]
Generated Node #3: [14, 97] from Operation: 43+54=97
Current State: 83:[14, 97], Operations: ['67-53=14', '43+54=97']
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[53, 67, 43, 54], Operations: []
Exploring Operation: 43+54=97, Resulting Numbers: [53, 67, 97]
Generated Node #0,0: 83:[53, 67, 97] Operation: 43+54=97
Exploring Operation: 53+43=96, Resulting Numbers: [67, 54, 96]
Generated Node #0,1: 83:[67, 54, 96] Operation: 53+43=96
Moving to Node #0,1
Current State: 83:[67, 54, 96], Operations: ['53+43=96']
Exploring Operation: 96-54=42, Resulting Numbers: [67, 42]
Generated Node #0,1,0: 83:[67, 42] Operation: 96-54=42
Exploring Operation: 67+54=121, Resulting Numbers: [96, 121]
Generated Node #0,1,1: 83:[96, 121] Operation: 67+54=121
Moving to Node #0,0
Current State: 83:[53, 67, 97], Operations: ['43+54=97']
Exploring Operation: 97-53=44, Resulting Numbers: [67, 44]
Generated Node #0,0,0: 83:[67, 44] Operation: 97-53=44
Exploring Operation: 53+67=120, Resulting Numbers: [97, 120]
Generated Node #0,0,1: 83:[97, 120] Operation: 53+67=120
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[97, 120], Operations: ['43+54=97', '53+67=120']
Exploring Operation: 120-97=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 97+120=217, Resulting Numbers: [217]
217,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[67, 44], Operations: ['43+54=97', '97-53=44']
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,83 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: 83:[96, 121], Operations: ['53+43=96', '67+54=121']
Exploring Operation: 121-96=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 96+121=217, Resulting Numbers: [217]
217,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[67, 42], Operations: ['53+43=96', '96-54=42']
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
71,
4,
17
] | 45 | [
"95-71=24",
"4+17=21",
"24+21=45"
] | Current State: 45:[95, 71, 4, 17], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [4, 17, 24]
Generated Node #2: [4, 17, 24] from Operation: 95-71=24
Current State: 45:[4, 17, 24], Operations: ['95-71=24']
Exploring Operation: 4+17=21, Resulting Numbers: [24, 21]
Generated Node #3: [24, 21] from Operation: 4+17=21
Current State: 45:[24, 21], Operations: ['95-71=24', '4+17=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[95, 71, 4, 17], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [71, 17, 91]
Generated Node #0,0: 45:[71, 17, 91] Operation: 95-4=91
Exploring Operation: 95-71=24, Resulting Numbers: [4, 17, 24]
Generated Node #0,1: 45:[4, 17, 24] Operation: 95-71=24
Exploring Operation: 95-17=78, Resulting Numbers: [71, 4, 78]
Generated Node #0,2: 45:[71, 4, 78] Operation: 95-17=78
Exploring Operation: 71-17=54, Resulting Numbers: [95, 4, 54]
Generated Node #0,3: 45:[95, 4, 54] Operation: 71-17=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[4, 17, 24], Operations: ['95-71=24']
Exploring Operation: 24-17=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 45:[4, 7] Operation: 24-17=7
Exploring Operation: 24/4=6, Resulting Numbers: [17, 6]
Generated Node #0,1,1: 45:[17, 6] Operation: 24/4=6
Exploring Operation: 17+24=41, Resulting Numbers: [4, 41]
Generated Node #0,1,2: 45:[4, 41] Operation: 17+24=41
Exploring Operation: 24-4=20, Resulting Numbers: [17, 20]
Generated Node #0,1,3: 45:[17, 20] Operation: 24-4=20
Moving to Node #0,1,0
Current State: 45:[4, 7], Operations: ['95-71=24', '24-17=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[17, 6], Operations: ['95-71=24', '24/4=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[4, 41], Operations: ['95-71=24', '17+24=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[95, 71, 4, 17], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [4, 17, 24]
Generated Node #0,1: 45:[4, 17, 24] Operation: 95-71=24
Moving to Node #0,1
Current State: 45:[4, 17, 24], Operations: ['95-71=24']
Exploring Operation: 17+24=41, Resulting Numbers: [4, 41]
Generated Node #0,1,2: 45:[4, 41] Operation: 17+24=41
Moving to Node #0,1,2
Current State: 45:[4, 41], Operations: ['95-71=24', '17+24=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
3,
31,
46,
81
] | 63 | [
"31-3=28",
"81-46=35",
"28+35=63"
] | Current State: 63:[3, 31, 46, 81], Operations: []
Exploring Operation: 31-3=28, Resulting Numbers: [46, 81, 28]
Generated Node #2: [46, 81, 28] from Operation: 31-3=28
Current State: 63:[46, 81, 28], Operations: ['31-3=28']
Exploring Operation: 81-46=35, Resulting Numbers: [28, 35]
Generated Node #3: [28, 35] from Operation: 81-46=35
Current State: 63:[28, 35], Operations: ['31-3=28', '81-46=35']
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[3, 31, 46, 81], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [3, 46, 50]
Generated Node #0,0: 63:[3, 46, 50] Operation: 81-31=50
Exploring Operation: 81-46=35, Resulting Numbers: [3, 31, 35]
Generated Node #0,1: 63:[3, 31, 35] Operation: 81-46=35
Exploring Operation: 46-31=15, Resulting Numbers: [3, 81, 15]
Generated Node #0,2: 63:[3, 81, 15] Operation: 46-31=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[3, 31, 35], Operations: ['81-46=35']
Exploring Operation: 31-3=28, Resulting Numbers: [35, 28]
Generated Node #0,1,0: 63:[35, 28] Operation: 31-3=28
Exploring Operation: 35-31=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 63:[3, 4] Operation: 35-31=4
Exploring Operation: 31+35=66, Resulting Numbers: [3, 66]
Generated Node #0,1,2: 63:[3, 66] Operation: 31+35=66
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[3, 4], Operations: ['81-46=35', '35-31=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,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,1,2
Current State: 63:[3, 66], Operations: ['81-46=35', '31+35=66']
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[3, 31, 46, 81], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [3, 31, 35]
Generated Node #0,1: 63:[3, 31, 35] Operation: 81-46=35
Moving to Node #0,1
Current State: 63:[3, 31, 35], Operations: ['81-46=35']
Exploring Operation: 31+35=66, Resulting Numbers: [3, 66]
Generated Node #0,1,2: 63:[3, 66] Operation: 31+35=66
Moving to Node #0,1,2
Current State: 63:[3, 66], Operations: ['81-46=35', '31+35=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
14,
75,
81,
48
] | 40 | [
"14+75=89",
"81+48=129",
"129-89=40"
] | Current State: 40:[14, 75, 81, 48], Operations: []
Exploring Operation: 14+75=89, Resulting Numbers: [81, 48, 89]
Generated Node #2: [81, 48, 89] from Operation: 14+75=89
Current State: 40:[81, 48, 89], Operations: ['14+75=89']
Exploring Operation: 81+48=129, Resulting Numbers: [89, 129]
Generated Node #3: [89, 129] from Operation: 81+48=129
Current State: 40:[89, 129], Operations: ['14+75=89', '81+48=129']
Exploring Operation: 129-89=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 75, 81, 48], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [14, 75, 33]
Generated Node #0,0: 40:[14, 75, 33] Operation: 81-48=33
Exploring Operation: 81-75=6, Resulting Numbers: [14, 48, 6]
Generated Node #0,1: 40:[14, 48, 6] Operation: 81-75=6
Moving to Node #0,1
Current State: 40:[14, 48, 6], Operations: ['81-75=6']
Exploring Operation: 48/6=8, Resulting Numbers: [14, 8]
Generated Node #0,1,0: 40:[14, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [14, 42]
Generated Node #0,1,1: 40:[14, 42] Operation: 48-6=42
Moving to Node #0,0
Current State: 40:[14, 75, 33], Operations: ['81-48=33']
Exploring Operation: 75-14=61, Resulting Numbers: [33, 61]
Generated Node #0,0,0: 40:[33, 61] Operation: 75-14=61
Exploring Operation: 75-33=42, Resulting Numbers: [14, 42]
Generated Node #0,0,1: 40:[14, 42] Operation: 75-33=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[14, 42], Operations: ['81-48=33', '75-33=42']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,40 unequal: No Solution
No 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: 40:[33, 61], Operations: ['81-48=33', '75-14=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 40:[14, 8], Operations: ['81-75=6', '48/6=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[14, 42], Operations: ['81-75=6', '48-6=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
57,
54,
93
] | 34 | [
"56+57=113",
"54+93=147",
"147-113=34"
] | Current State: 34:[56, 57, 54, 93], Operations: []
Exploring Operation: 56+57=113, Resulting Numbers: [54, 93, 113]
Generated Node #2: [54, 93, 113] from Operation: 56+57=113
Current State: 34:[54, 93, 113], Operations: ['56+57=113']
Exploring Operation: 54+93=147, Resulting Numbers: [113, 147]
Generated Node #3: [113, 147] from Operation: 54+93=147
Current State: 34:[113, 147], Operations: ['56+57=113', '54+93=147']
Exploring Operation: 147-113=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[56, 57, 54, 93], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [56, 57, 39]
Generated Node #0,0: 34:[56, 57, 39] Operation: 93-54=39
Exploring Operation: 93-57=36, Resulting Numbers: [56, 54, 36]
Generated Node #0,1: 34:[56, 54, 36] Operation: 93-57=36
Exploring Operation: 93-56=37, Resulting Numbers: [57, 54, 37]
Generated Node #0,2: 34:[57, 54, 37] Operation: 93-56=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[56, 54, 36], Operations: ['93-57=36']
Exploring Operation: 54-36=18, Resulting Numbers: [56, 18]
Generated Node #0,1,0: 34:[56, 18] Operation: 54-36=18
Exploring Operation: 56-54=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 34:[36, 2] Operation: 56-54=2
Exploring Operation: 56-36=20, Resulting Numbers: [54, 20]
Generated Node #0,1,2: 34:[54, 20] Operation: 56-36=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[36, 2], Operations: ['93-57=36', '56-54=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[56, 57, 54, 93], Operations: []
Exploring Operation: 93-57=36, Resulting Numbers: [56, 54, 36]
Generated Node #0,1: 34:[56, 54, 36] Operation: 93-57=36
Moving to Node #0,1
Current State: 34:[56, 54, 36], Operations: ['93-57=36']
Exploring Operation: 56-54=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 34:[36, 2] Operation: 56-54=2
Moving to Node #0,1,1
Current State: 34:[36, 2], Operations: ['93-57=36', '56-54=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
2,
17,
71,
96
] | 69 | [
"71-17=54",
"54/2=27",
"96-27=69"
] | Current State: 69:[2, 17, 71, 96], Operations: []
Exploring Operation: 71-17=54, Resulting Numbers: [2, 96, 54]
Generated Node #2: [2, 96, 54] from Operation: 71-17=54
Current State: 69:[2, 96, 54], Operations: ['71-17=54']
Exploring Operation: 54/2=27, Resulting Numbers: [96, 27]
Generated Node #3: [96, 27] from Operation: 54/2=27
Current State: 69:[96, 27], Operations: ['71-17=54', '54/2=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[2, 17, 71, 96], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [2, 71, 79]
Generated Node #0,0: 69:[2, 71, 79] Operation: 96-17=79
Exploring Operation: 96-71=25, Resulting Numbers: [2, 17, 25]
Generated Node #0,1: 69:[2, 17, 25] Operation: 96-71=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[2, 17, 25], Operations: ['96-71=25']
Exploring Operation: 2+17=19, Resulting Numbers: [25, 19]
Generated Node #0,1,0: 69:[25, 19] Operation: 2+17=19
Exploring Operation: 25-2=23, Resulting Numbers: [17, 23]
Generated Node #0,1,1: 69:[17, 23] Operation: 25-2=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[25, 19], Operations: ['96-71=25', '2+17=19']
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,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:[17, 23], Operations: ['96-71=25', '25-2=23']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,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,0
Current State: 69:[2, 71, 79], Operations: ['96-17=79']
Exploring Operation: 79-71=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 69:[2, 8] Operation: 79-71=8
Exploring Operation: 71-2=69, Resulting Numbers: [79, 69]
Generated Node #0,0,1: 69:[79, 69] Operation: 71-2=69
Moving to Node #0,0,0
Current State: 69:[2, 8], Operations: ['96-17=79', '79-71=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[79, 69], Operations: ['96-17=79', '71-2=69']
Exploring Operation: 79+69=148, Resulting Numbers: [148]
148,69 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,69 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 |
[
63,
9,
27,
40
] | 44 | [
"63-27=36",
"36/9=4",
"40+4=44"
] | Current State: 44:[63, 9, 27, 40], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [9, 40, 36]
Generated Node #2: [9, 40, 36] from Operation: 63-27=36
Current State: 44:[9, 40, 36], Operations: ['63-27=36']
Exploring Operation: 36/9=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 36/9=4
Current State: 44:[40, 4], Operations: ['63-27=36', '36/9=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[63, 9, 27, 40], Operations: []
Exploring Operation: 63-9=54, Resulting Numbers: [27, 40, 54]
Generated Node #0,0: 44:[27, 40, 54] Operation: 63-9=54
Exploring Operation: 63-40=23, Resulting Numbers: [9, 27, 23]
Generated Node #0,1: 44:[9, 27, 23] Operation: 63-40=23
Exploring Operation: 63-27=36, Resulting Numbers: [9, 40, 36]
Generated Node #0,2: 44:[9, 40, 36] Operation: 63-27=36
Exploring Operation: 63/9=7, Resulting Numbers: [27, 40, 7]
Generated Node #0,3: 44:[27, 40, 7] Operation: 63/9=7
Exploring Operation: 40-27=13, Resulting Numbers: [63, 9, 13]
Generated Node #0,4: 44:[63, 9, 13] Operation: 40-27=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[9, 27, 23], Operations: ['63-40=23']
Exploring Operation: 27-9=18, Resulting Numbers: [23, 18]
Generated Node #0,1,0: 44:[23, 18] Operation: 27-9=18
Exploring Operation: 27-23=4, Resulting Numbers: [9, 4]
Generated Node #0,1,1: 44:[9, 4] Operation: 27-23=4
Exploring Operation: 27/9=3, Resulting Numbers: [23, 3]
Generated Node #0,1,2: 44:[23, 3] Operation: 27/9=3
Exploring Operation: 23-9=14, Resulting Numbers: [27, 14]
Generated Node #0,1,3: 44:[27, 14] Operation: 23-9=14
Exploring Operation: 27+23=50, Resulting Numbers: [9, 50]
Generated Node #0,1,4: 44:[9, 50] Operation: 27+23=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[9, 4], Operations: ['63-40=23', '27-23=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[23, 3], Operations: ['63-40=23', '27/9=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[23, 18], Operations: ['63-40=23', '27-9=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,44 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[27, 14], Operations: ['63-40=23', '23-9=14']
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,44 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 44:[9, 50], Operations: ['63-40=23', '27+23=50']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,44 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[27, 40, 7], Operations: ['63/9=7']
Exploring Operation: 27-7=20, Resulting Numbers: [40, 20]
Generated Node #0,3,0: 44:[40, 20] Operation: 27-7=20
Exploring Operation: 40-7=33, Resulting Numbers: [27, 33]
Generated Node #0,3,1: 44:[27, 33] Operation: 40-7=33
Exploring Operation: 40+7=47, Resulting Numbers: [27, 47]
Generated Node #0,3,2: 44:[27, 47] Operation: 40+7=47
Exploring Operation: 40-27=13, Resulting Numbers: [7, 13]
Generated Node #0,3,3: 44:[7, 13] Operation: 40-27=13
Exploring Operation: 27+7=34, Resulting Numbers: [40, 34]
Generated Node #0,3,4: 44:[40, 34] Operation: 27+7=34
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[7, 13], Operations: ['63/9=7', '40-27=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[40, 20], Operations: ['63/9=7', '27-7=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,44 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[27, 47], Operations: ['63/9=7', '40+7=47']
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,44 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[40, 34], Operations: ['63/9=7', '27+7=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,44 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[27, 33], Operations: ['63/9=7', '40-7=33']
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[9, 40, 36], Operations: ['63-27=36']
Exploring Operation: 36-9=27, Resulting Numbers: [40, 27]
Generated Node #0,2,0: 44:[40, 27] Operation: 36-9=27
Exploring Operation: 9+40=49, Resulting Numbers: [36, 49]
Generated Node #0,2,1: 44:[36, 49] Operation: 9+40=49
Exploring Operation: 40-36=4, Resulting Numbers: [9, 4]
Generated Node #0,2,2: 44:[9, 4] Operation: 40-36=4
Exploring Operation: 9+36=45, Resulting Numbers: [40, 45]
Generated Node #0,2,3: 44:[40, 45] Operation: 9+36=45
Exploring Operation: 36/9=4, Resulting Numbers: [40, 4]
Generated Node #0,2,4: 44:[40, 4] Operation: 36/9=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[9, 4], Operations: ['63-27=36', '40-36=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 44:[40, 4], Operations: ['63-27=36', '36/9=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[63, 9, 27, 40], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [9, 40, 36]
Generated Node #0,2: 44:[9, 40, 36] Operation: 63-27=36
Moving to Node #0,2
Current State: 44:[9, 40, 36], Operations: ['63-27=36']
Exploring Operation: 36/9=4, Resulting Numbers: [40, 4]
Generated Node #0,2,4: 44:[40, 4] Operation: 36/9=4
Moving to Node #0,2,4
Current State: 44:[40, 4], Operations: ['63-27=36', '36/9=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
12,
87,
1,
63
] | 36 | [
"12+87=99",
"1*63=63",
"99-63=36"
] | Current State: 36:[12, 87, 1, 63], Operations: []
Exploring Operation: 12+87=99, Resulting Numbers: [1, 63, 99]
Generated Node #2: [1, 63, 99] from Operation: 12+87=99
Current State: 36:[1, 63, 99], Operations: ['12+87=99']
Exploring Operation: 1*63=63, Resulting Numbers: [99, 63]
Generated Node #3: [99, 63] from Operation: 1*63=63
Current State: 36:[99, 63], Operations: ['12+87=99', '1*63=63']
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[12, 87, 1, 63], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [12, 1, 24]
Generated Node #0,0: 36:[12, 1, 24] Operation: 87-63=24
Exploring Operation: 87-12=75, Resulting Numbers: [1, 63, 75]
Generated Node #0,1: 36:[1, 63, 75] Operation: 87-12=75
Exploring Operation: 63-12=51, Resulting Numbers: [87, 1, 51]
Generated Node #0,2: 36:[87, 1, 51] Operation: 63-12=51
Moving to Node #0,0
Current State: 36:[12, 1, 24], Operations: ['87-63=24']
Exploring Operation: 12+24=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 36:[1, 36] Operation: 12+24=36
Exploring Operation: 24-12=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 36:[1, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [1, 2]
Generated Node #0,0,2: 36:[1, 2] Operation: 24/12=2
Moving to Node #0,1
Current State: 36:[1, 63, 75], Operations: ['87-12=75']
Exploring Operation: 75-1=74, Resulting Numbers: [63, 74]
Generated Node #0,1,0: 36:[63, 74] Operation: 75-1=74
Exploring Operation: 63-1=62, Resulting Numbers: [75, 62]
Generated Node #0,1,1: 36:[75, 62] Operation: 63-1=62
Exploring Operation: 75-63=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 36:[1, 12] Operation: 75-63=12
Moving to Node #0,2
Current State: 36:[87, 1, 51], Operations: ['63-12=51']
Exploring Operation: 51-1=50, Resulting Numbers: [87, 50]
Generated Node #0,2,0: 36:[87, 50] Operation: 51-1=50
Exploring Operation: 87-51=36, Resulting Numbers: [1, 36]
Generated Node #0,2,1: 36:[1, 36] Operation: 87-51=36
Exploring Operation: 87-1=86, Resulting Numbers: [51, 86]
Generated Node #0,2,2: 36:[51, 86] Operation: 87-1=86
Moving to Node #0,0,0
Current State: 36:[1, 36], Operations: ['87-63=24', '12+24=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[12, 87, 1, 63], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [12, 1, 24]
Generated Node #0,0: 36:[12, 1, 24] Operation: 87-63=24
Moving to Node #0,0
Current State: 36:[12, 1, 24], Operations: ['87-63=24']
Exploring Operation: 12+24=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 36:[1, 36] Operation: 12+24=36
Moving to Node #0,0,0
Current State: 36:[1, 36], Operations: ['87-63=24', '12+24=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.985243 | hs_3 | mult_heuristic |
[
5,
5,
88,
28
] | 88 | [
"5-5=0",
"28*0=0",
"88+0=88"
] | Current State: 88:[5, 5, 88, 28], Operations: []
Exploring Operation: 5-5=0, Resulting Numbers: [88, 28, 0]
Generated Node #2: [88, 28, 0] from Operation: 5-5=0
Current State: 88:[88, 28, 0], Operations: ['5-5=0']
Exploring Operation: 28*0=0, Resulting Numbers: [88, 0]
Generated Node #3: [88, 0] from Operation: 28*0=0
Current State: 88:[88, 0], Operations: ['5-5=0', '28*0=0']
Exploring Operation: 88+0=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[5, 5, 88, 28], Operations: []
Exploring Operation: 5+5=10, Resulting Numbers: [88, 28, 10]
Generated Node #0,0: 88:[88, 28, 10] Operation: 5+5=10
Exploring Operation: 28-5=23, Resulting Numbers: [5, 88, 23]
Generated Node #0,1: 88:[5, 88, 23] Operation: 28-5=23
Exploring Operation: 28-5=23, Resulting Numbers: [5, 88, 23]
Generated Node #0,2: 88:[5, 88, 23] Operation: 28-5=23
Exploring Operation: 5/5=1, Resulting Numbers: [88, 28, 1]
Generated Node #0,3: 88:[88, 28, 1] Operation: 5/5=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[5, 88, 23], Operations: ['28-5=23']
Exploring Operation: 5+88=93, Resulting Numbers: [23, 93]
Generated Node #0,1,0: 88:[23, 93] Operation: 5+88=93
Exploring Operation: 5+23=28, Resulting Numbers: [88, 28]
Generated Node #0,1,1: 88:[88, 28] Operation: 5+23=28
Exploring Operation: 23-5=18, Resulting Numbers: [88, 18]
Generated Node #0,1,2: 88:[88, 18] Operation: 23-5=18
Exploring Operation: 88-5=83, Resulting Numbers: [23, 83]
Generated Node #0,1,3: 88:[23, 83] Operation: 88-5=83
Moving to Node #0,1,2
Current State: 88:[88, 18], Operations: ['28-5=23', '23-5=18']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[88, 28], Operations: ['28-5=23', '5+23=28']
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,88 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[23, 93], Operations: ['28-5=23', '5+88=93']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[23, 83], Operations: ['28-5=23', '88-5=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,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,2
Current State: 88:[5, 88, 23], Operations: ['28-5=23']
Exploring Operation: 23-5=18, Resulting Numbers: [88, 18]
Generated Node #0,2,0: 88:[88, 18] Operation: 23-5=18
Exploring Operation: 5+23=28, Resulting Numbers: [88, 28]
Generated Node #0,2,1: 88:[88, 28] Operation: 5+23=28
Exploring Operation: 5+88=93, Resulting Numbers: [23, 93]
Generated Node #0,2,2: 88:[23, 93] Operation: 5+88=93
Exploring Operation: 88-5=83, Resulting Numbers: [23, 83]
Generated Node #0,2,3: 88:[23, 83] Operation: 88-5=83
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[88, 18], Operations: ['28-5=23', '23-5=18']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,88 unequal: No Solution
No 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: 88:[88, 28], Operations: ['28-5=23', '5+23=28']
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,88 unequal: No Solution
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No 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: 88:[23, 93], Operations: ['28-5=23', '5+88=93']
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,88 unequal: No Solution
No 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: 88:[23, 83], Operations: ['28-5=23', '88-5=83']
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,88 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: 88:[88, 28, 10], Operations: ['5+5=10']
Exploring Operation: 88-10=78, Resulting Numbers: [28, 78]
Generated Node #0,0,0: 88:[28, 78] Operation: 88-10=78
Exploring Operation: 88+10=98, Resulting Numbers: [28, 98]
Generated Node #0,0,1: 88:[28, 98] Operation: 88+10=98
Exploring Operation: 28-10=18, Resulting Numbers: [88, 18]
Generated Node #0,0,2: 88:[88, 18] Operation: 28-10=18
Exploring Operation: 28+10=38, Resulting Numbers: [88, 38]
Generated Node #0,0,3: 88:[88, 38] Operation: 28+10=38
Moving to Node #0,0,2
Current State: 88:[88, 18], Operations: ['5+5=10', '28-10=18']
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[88, 38], Operations: ['5+5=10', '28+10=38']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[28, 98], Operations: ['5+5=10', '88+10=98']
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,88 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[28, 78], Operations: ['5+5=10', '88-10=78']
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,88 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,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,3
Current State: 88:[88, 28, 1], Operations: ['5/5=1']
Exploring Operation: 88/1=88, Resulting Numbers: [28, 88]
Generated Node #0,3,0: 88:[28, 88] Operation: 88/1=88
Exploring Operation: 88*1=88, Resulting Numbers: [28, 88]
Generated Node #0,3,1: 88:[28, 88] Operation: 88*1=88
Exploring Operation: 28-1=27, Resulting Numbers: [88, 27]
Generated Node #0,3,2: 88:[88, 27] Operation: 28-1=27
Exploring Operation: 28*1=28, Resulting Numbers: [88, 28]
Generated Node #0,3,3: 88:[88, 28] Operation: 28*1=28
Moving to Node #0,3,2
Current State: 88:[88, 27], Operations: ['5/5=1', '28-1=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,88 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,88 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[28, 88], Operations: ['5/5=1', '88*1=88']
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 28+88=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Exploring Operation: 28*88=2464, Resulting Numbers: [2464]
2464,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[28, 88], Operations: ['5/5=1', '88/1=88']
Exploring Operation: 28+88=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Exploring Operation: 28*88=2464, Resulting Numbers: [2464]
2464,88 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[88, 28], Operations: ['5/5=1', '28*1=28']
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
41,
1,
22
] | 57 | [
"41-6=35",
"1*22=22",
"35+22=57"
] | Current State: 57:[6, 41, 1, 22], Operations: []
Exploring Operation: 41-6=35, Resulting Numbers: [1, 22, 35]
Generated Node #2: [1, 22, 35] from Operation: 41-6=35
Current State: 57:[1, 22, 35], Operations: ['41-6=35']
Exploring Operation: 1*22=22, Resulting Numbers: [35, 22]
Generated Node #3: [35, 22] from Operation: 1*22=22
Current State: 57:[35, 22], Operations: ['41-6=35', '1*22=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[6, 41, 1, 22], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [6, 1, 19]
Generated Node #0,0: 57:[6, 1, 19] Operation: 41-22=19
Exploring Operation: 41+22=63, Resulting Numbers: [6, 1, 63]
Generated Node #0,1: 57:[6, 1, 63] Operation: 41+22=63
Moving to Node #0,0
Current State: 57:[6, 1, 19], Operations: ['41-22=19']
Exploring Operation: 6*1=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 57:[19, 6] Operation: 6*1=6
Exploring Operation: 6-1=5, Resulting Numbers: [19, 5]
Generated Node #0,0,1: 57:[19, 5] Operation: 6-1=5
Moving to Node #0,1
Current State: 57:[6, 1, 63], Operations: ['41+22=63']
Exploring Operation: 6-1=5, Resulting Numbers: [63, 5]
Generated Node #0,1,0: 57:[63, 5] Operation: 6-1=5
Exploring Operation: 63-6=57, Resulting Numbers: [1, 57]
Generated Node #0,1,1: 57:[1, 57] Operation: 63-6=57
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[1, 57], Operations: ['41+22=63', '63-6=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[6, 41, 1, 22], Operations: []
Exploring Operation: 41+22=63, Resulting Numbers: [6, 1, 63]
Generated Node #0,1: 57:[6, 1, 63] Operation: 41+22=63
Moving to Node #0,1
Current State: 57:[6, 1, 63], Operations: ['41+22=63']
Exploring Operation: 63-6=57, Resulting Numbers: [1, 57]
Generated Node #0,1,1: 57:[1, 57] Operation: 63-6=57
Moving to Node #0,1,1
Current State: 57:[1, 57], Operations: ['41+22=63', '63-6=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
11,
2,
13,
72
] | 87 | [
"72-11=61",
"2*13=26",
"61+26=87"
] | Current State: 87:[11, 2, 13, 72], Operations: []
Exploring Operation: 72-11=61, Resulting Numbers: [2, 13, 61]
Generated Node #2: [2, 13, 61] from Operation: 72-11=61
Current State: 87:[2, 13, 61], Operations: ['72-11=61']
Exploring Operation: 2*13=26, Resulting Numbers: [61, 26]
Generated Node #3: [61, 26] from Operation: 2*13=26
Current State: 87:[61, 26], Operations: ['72-11=61', '2*13=26']
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[11, 2, 13, 72], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [11, 13, 36]
Generated Node #0,0: 87:[11, 13, 36] Operation: 72/2=36
Exploring Operation: 13-11=2, Resulting Numbers: [2, 72, 2]
Generated Node #0,1: 87:[2, 72, 2] Operation: 13-11=2
Exploring Operation: 11+13=24, Resulting Numbers: [2, 72, 24]
Generated Node #0,2: 87:[2, 72, 24] Operation: 11+13=24
Exploring Operation: 13+72=85, Resulting Numbers: [11, 2, 85]
Generated Node #0,3: 87:[11, 2, 85] Operation: 13+72=85
Exploring Operation: 11+72=83, Resulting Numbers: [2, 13, 83]
Generated Node #0,4: 87:[2, 13, 83] Operation: 11+72=83
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[11, 2, 85], Operations: ['13+72=85']
Exploring Operation: 11+2=13, Resulting Numbers: [85, 13]
Generated Node #0,3,0: 87:[85, 13] Operation: 11+2=13
Exploring Operation: 11*2=22, Resulting Numbers: [85, 22]
Generated Node #0,3,1: 87:[85, 22] Operation: 11*2=22
Exploring Operation: 11-2=9, Resulting Numbers: [85, 9]
Generated Node #0,3,2: 87:[85, 9] Operation: 11-2=9
Exploring Operation: 2+85=87, Resulting Numbers: [11, 87]
Generated Node #0,3,3: 87:[11, 87] Operation: 2+85=87
Exploring Operation: 11+85=96, Resulting Numbers: [2, 96]
Generated Node #0,3,4: 87:[2, 96] Operation: 11+85=96
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 87:[85, 9], Operations: ['13+72=85', '11-2=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 85*9=765, Resulting Numbers: [765]
765,87 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 87:[11, 87], Operations: ['13+72=85', '2+85=87']
Exploring Operation: 11*87=957, Resulting Numbers: [957]
957,87 unequal: No Solution
Exploring Operation: 11+87=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 87-11=76, Resulting Numbers: [76]
76,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 87:[85, 22], Operations: ['13+72=85', '11*2=22']
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,87 unequal: No Solution
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 87:[2, 96], Operations: ['13+72=85', '11+85=96']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 2*96=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[85, 13], Operations: ['13+72=85', '11+2=13']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[2, 13, 83], Operations: ['11+72=83']
Exploring Operation: 13+83=96, Resulting Numbers: [2, 96]
Generated Node #0,4,0: 87:[2, 96] Operation: 13+83=96
Exploring Operation: 13-2=11, Resulting Numbers: [83, 11]
Generated Node #0,4,1: 87:[83, 11] Operation: 13-2=11
Exploring Operation: 2+13=15, Resulting Numbers: [83, 15]
Generated Node #0,4,2: 87:[83, 15] Operation: 2+13=15
Exploring Operation: 2+83=85, Resulting Numbers: [13, 85]
Generated Node #0,4,3: 87:[13, 85] Operation: 2+83=85
Exploring Operation: 2*13=26, Resulting Numbers: [83, 26]
Generated Node #0,4,4: 87:[83, 26] Operation: 2*13=26
Moving to Node #0,4,4
Current State: 87:[83, 26], Operations: ['11+72=83', '2*13=26']
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,87 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[2, 96], Operations: ['11+72=83', '13+83=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 2*96=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Moving to Node #0,4,1
Current State: 87:[83, 11], Operations: ['11+72=83', '13-2=11']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,87 unequal: No Solution
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Moving to Node #0,4,3
Current State: 87:[13, 85], Operations: ['11+72=83', '2+83=85']
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,87 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Moving to Node #0,4,2
Current State: 87:[83, 15], Operations: ['11+72=83', '2+13=15']
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[2, 72, 2], Operations: ['13-11=2']
Exploring Operation: 72+2=74, Resulting Numbers: [2, 74]
Generated Node #0,1,0: 87:[2, 74] Operation: 72+2=74
Exploring Operation: 2+2=4, Resulting Numbers: [72, 4]
Generated Node #0,1,1: 87:[72, 4] Operation: 2+2=4
Exploring Operation: 2+72=74, Resulting Numbers: [2, 74]
Generated Node #0,1,2: 87:[2, 74] Operation: 2+72=74
Exploring Operation: 72/2=36, Resulting Numbers: [2, 36]
Generated Node #0,1,3: 87:[2, 36] Operation: 72/2=36
Exploring Operation: 72/2=36, Resulting Numbers: [2, 36]
Generated Node #0,1,4: 87:[2, 36] Operation: 72/2=36
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 87:[2, 36], Operations: ['13-11=2', '72/2=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 87:[2, 36], Operations: ['13-11=2', '72/2=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[2, 74], Operations: ['13-11=2', '72+2=74']
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,87 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[2, 74], Operations: ['13-11=2', '2+72=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[72, 4], Operations: ['13-11=2', '2+2=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,87 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[2, 72, 24], Operations: ['11+13=24']
Exploring Operation: 72/2=36, Resulting Numbers: [24, 36]
Generated Node #0,2,0: 87:[24, 36] Operation: 72/2=36
Exploring Operation: 2+24=26, Resulting Numbers: [72, 26]
Generated Node #0,2,1: 87:[72, 26] Operation: 2+24=26
Exploring Operation: 72+24=96, Resulting Numbers: [2, 96]
Generated Node #0,2,2: 87:[2, 96] Operation: 72+24=96
Exploring Operation: 72/24=3, Resulting Numbers: [2, 3]
Generated Node #0,2,3: 87:[2, 3] Operation: 72/24=3
Exploring Operation: 2+72=74, Resulting Numbers: [24, 74]
Generated Node #0,2,4: 87:[24, 74] Operation: 2+72=74
Moving to Node #0,2,3
Current State: 87:[2, 3], Operations: ['11+13=24', '72/24=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[2, 96], Operations: ['11+13=24', '72+24=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 2*96=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[24, 36], Operations: ['11+13=24', '72/2=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,87 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[72, 26], Operations: ['11+13=24', '2+24=26']
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,87 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[24, 74], Operations: ['11+13=24', '2+72=74']
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[11, 13, 36], Operations: ['72/2=36']
Exploring Operation: 36-13=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 87:[11, 23] Operation: 36-13=23
Exploring Operation: 11+36=47, Resulting Numbers: [13, 47]
Generated Node #0,0,1: 87:[13, 47] Operation: 11+36=47
Exploring Operation: 11+13=24, Resulting Numbers: [36, 24]
Generated Node #0,0,2: 87:[36, 24] Operation: 11+13=24
Exploring Operation: 36-11=25, Resulting Numbers: [13, 25]
Generated Node #0,0,3: 87:[13, 25] Operation: 36-11=25
Exploring Operation: 13-11=2, Resulting Numbers: [36, 2]
Generated Node #0,0,4: 87:[36, 2] Operation: 13-11=2
Moving to Node #0,0,4
Current State: 87:[36, 2], Operations: ['72/2=36', '13-11=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[36, 24], Operations: ['72/2=36', '11+13=24']
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,87 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[11, 23], Operations: ['72/2=36', '36-13=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,87 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[13, 25], Operations: ['72/2=36', '36-11=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[13, 47], Operations: ['72/2=36', '11+36=47']
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,87 unequal: No Solution
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,87 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 |
[
18,
44,
57,
76
] | 15 | [
"44*57=2508",
"2508/76=33",
"33-18=15"
] | Current State: 15:[18, 44, 57, 76], Operations: []
Exploring Operation: 44*57=2508, Resulting Numbers: [18, 76, 2508]
Generated Node #2: [18, 76, 2508] from Operation: 44*57=2508
Current State: 15:[18, 76, 2508], Operations: ['44*57=2508']
Exploring Operation: 2508/76=33, Resulting Numbers: [18, 33]
Generated Node #3: [18, 33] from Operation: 2508/76=33
Current State: 15:[18, 33], Operations: ['44*57=2508', '2508/76=33']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[18, 44, 57, 76], Operations: []
Exploring Operation: 76-57=19, Resulting Numbers: [18, 44, 19]
Generated Node #0,0: 15:[18, 44, 19] Operation: 76-57=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[18, 44, 19], Operations: ['76-57=19']
Exploring Operation: 44-19=25, Resulting Numbers: [18, 25]
Generated Node #0,0,0: 15:[18, 25] Operation: 44-19=25
Moving to Node #0,0,0
Current State: 15:[18, 25], Operations: ['76-57=19', '44-19=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
1,
72,
84,
2
] | 96 | [
"1*72=72",
"84*2=168",
"168-72=96"
] | Current State: 96:[1, 72, 84, 2], Operations: []
Exploring Operation: 1*72=72, Resulting Numbers: [84, 2, 72]
Generated Node #2: [84, 2, 72] from Operation: 1*72=72
Current State: 96:[84, 2, 72], Operations: ['1*72=72']
Exploring Operation: 84*2=168, Resulting Numbers: [72, 168]
Generated Node #3: [72, 168] from Operation: 84*2=168
Current State: 96:[72, 168], Operations: ['1*72=72', '84*2=168']
Exploring Operation: 168-72=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[1, 72, 84, 2], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [1, 2, 12]
Generated Node #0,0: 96:[1, 2, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 96:[1, 2, 12], Operations: ['84-72=12']
Exploring Operation: 1+2=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 96:[12, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[12, 3], Operations: ['84-72=12', '1+2=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,96 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 |
[
72,
78,
90,
53
] | 43 | [
"78-72=6",
"90-53=37",
"6+37=43"
] | Current State: 43:[72, 78, 90, 53], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [90, 53, 6]
Generated Node #2: [90, 53, 6] from Operation: 78-72=6
Current State: 43:[90, 53, 6], Operations: ['78-72=6']
Exploring Operation: 90-53=37, Resulting Numbers: [6, 37]
Generated Node #3: [6, 37] from Operation: 90-53=37
Current State: 43:[6, 37], Operations: ['78-72=6', '90-53=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[72, 78, 90, 53], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [72, 53, 12]
Generated Node #0,0: 43:[72, 53, 12] Operation: 90-78=12
Exploring Operation: 90-72=18, Resulting Numbers: [78, 53, 18]
Generated Node #0,1: 43:[78, 53, 18] Operation: 90-72=18
Exploring Operation: 90-53=37, Resulting Numbers: [72, 78, 37]
Generated Node #0,2: 43:[72, 78, 37] Operation: 90-53=37
Moving to Node #0,0
Current State: 43:[72, 53, 12], Operations: ['90-78=12']
Exploring Operation: 72/12=6, Resulting Numbers: [53, 6]
Generated Node #0,0,0: 43:[53, 6] Operation: 72/12=6
Exploring Operation: 53-12=41, Resulting Numbers: [72, 41]
Generated Node #0,0,1: 43:[72, 41] Operation: 53-12=41
Exploring Operation: 72-12=60, Resulting Numbers: [53, 60]
Generated Node #0,0,2: 43:[53, 60] Operation: 72-12=60
Moving to Node #0,1
Current State: 43:[78, 53, 18], Operations: ['90-72=18']
Exploring Operation: 78-53=25, Resulting Numbers: [18, 25]
Generated Node #0,1,0: 43:[18, 25] Operation: 78-53=25
Exploring Operation: 53-18=35, Resulting Numbers: [78, 35]
Generated Node #0,1,1: 43:[78, 35] Operation: 53-18=35
Exploring Operation: 78-18=60, Resulting Numbers: [53, 60]
Generated Node #0,1,2: 43:[53, 60] Operation: 78-18=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[53, 60], Operations: ['90-72=18', '78-18=60']
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,43 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[18, 25], Operations: ['90-72=18', '78-53=25']
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,43 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[72, 78, 90, 53], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [78, 53, 18]
Generated Node #0,1: 43:[78, 53, 18] Operation: 90-72=18
Moving to Node #0,1
Current State: 43:[78, 53, 18], Operations: ['90-72=18']
Exploring Operation: 78-53=25, Resulting Numbers: [18, 25]
Generated Node #0,1,0: 43:[18, 25] Operation: 78-53=25
Moving to Node #0,1,0
Current State: 43:[18, 25], Operations: ['90-72=18', '78-53=25']
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
60,
74,
32,
4
] | 14 | [
"74-60=14",
"32-4=28",
"28-14=14"
] | Current State: 14:[60, 74, 32, 4], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [32, 4, 14]
Generated Node #2: [32, 4, 14] from Operation: 74-60=14
Current State: 14:[32, 4, 14], Operations: ['74-60=14']
Exploring Operation: 32-4=28, Resulting Numbers: [14, 28]
Generated Node #3: [14, 28] from Operation: 32-4=28
Current State: 14:[14, 28], Operations: ['74-60=14', '32-4=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[60, 74, 32, 4], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [32, 4, 14]
Generated Node #0,0: 14:[32, 4, 14] Operation: 74-60=14
Exploring Operation: 60/4=15, Resulting Numbers: [74, 32, 15]
Generated Node #0,1: 14:[74, 32, 15] Operation: 60/4=15
Exploring Operation: 60-32=28, Resulting Numbers: [74, 4, 28]
Generated Node #0,2: 14:[74, 4, 28] Operation: 60-32=28
Exploring Operation: 74-32=42, Resulting Numbers: [60, 4, 42]
Generated Node #0,3: 14:[60, 4, 42] Operation: 74-32=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[32, 4, 14], Operations: ['74-60=14']
Exploring Operation: 14-4=10, Resulting Numbers: [32, 10]
Generated Node #0,0,0: 14:[32, 10] Operation: 14-4=10
Exploring Operation: 32/4=8, Resulting Numbers: [14, 8]
Generated Node #0,0,1: 14:[14, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [14, 28]
Generated Node #0,0,2: 14:[14, 28] Operation: 32-4=28
Exploring Operation: 32-14=18, Resulting Numbers: [4, 18]
Generated Node #0,0,3: 14:[4, 18] Operation: 32-14=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[14, 8], Operations: ['74-60=14', '32/4=8']
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,14 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[4, 18], Operations: ['74-60=14', '32-14=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[60, 74, 32, 4], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [32, 4, 14]
Generated Node #0,0: 14:[32, 4, 14] Operation: 74-60=14
Moving to Node #0,0
Current State: 14:[32, 4, 14], Operations: ['74-60=14']
Exploring Operation: 32-14=18, Resulting Numbers: [4, 18]
Generated Node #0,0,3: 14:[4, 18] Operation: 32-14=18
Moving to Node #0,0,3
Current State: 14:[4, 18], Operations: ['74-60=14', '32-14=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
39,
11,
7,
2
] | 40 | [
"39-2=37",
"11*7=77",
"77-37=40"
] | Current State: 40:[39, 11, 7, 2], Operations: []
Exploring Operation: 39-2=37, Resulting Numbers: [11, 7, 37]
Generated Node #2: [11, 7, 37] from Operation: 39-2=37
Current State: 40:[11, 7, 37], Operations: ['39-2=37']
Exploring Operation: 11*7=77, Resulting Numbers: [37, 77]
Generated Node #3: [37, 77] from Operation: 11*7=77
Current State: 40:[37, 77], Operations: ['39-2=37', '11*7=77']
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[39, 11, 7, 2], Operations: []
Exploring Operation: 7-2=5, Resulting Numbers: [39, 11, 5]
Generated Node #0,0: 40:[39, 11, 5] Operation: 7-2=5
Exploring Operation: 11-7=4, Resulting Numbers: [39, 2, 4]
Generated Node #0,1: 40:[39, 2, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[39, 2, 4], Operations: ['11-7=4']
Exploring Operation: 2*4=8, Resulting Numbers: [39, 8]
Generated Node #0,1,0: 40:[39, 8] Operation: 2*4=8
Exploring Operation: 39+2=41, Resulting Numbers: [4, 41]
Generated Node #0,1,1: 40:[4, 41] Operation: 39+2=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[39, 8], Operations: ['11-7=4', '2*4=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,40 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,40 unequal: No Solution
No 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: 40:[4, 41], Operations: ['11-7=4', '39+2=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[39, 11, 5], Operations: ['7-2=5']
Exploring Operation: 39+5=44, Resulting Numbers: [11, 44]
Generated Node #0,0,0: 40:[11, 44] Operation: 39+5=44
Exploring Operation: 11-5=6, Resulting Numbers: [39, 6]
Generated Node #0,0,1: 40:[39, 6] Operation: 11-5=6
Moving to Node #0,0,1
Current State: 40:[39, 6], Operations: ['7-2=5', '11-5=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[11, 44], Operations: ['7-2=5', '39+5=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,40 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 |
[
80,
72,
77,
8
] | 67 | [
"80+72=152",
"77+8=85",
"152-85=67"
] | Current State: 67:[80, 72, 77, 8], Operations: []
Exploring Operation: 80+72=152, Resulting Numbers: [77, 8, 152]
Generated Node #2: [77, 8, 152] from Operation: 80+72=152
Current State: 67:[77, 8, 152], Operations: ['80+72=152']
Exploring Operation: 77+8=85, Resulting Numbers: [152, 85]
Generated Node #3: [152, 85] from Operation: 77+8=85
Current State: 67:[152, 85], Operations: ['80+72=152', '77+8=85']
Exploring Operation: 152-85=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[80, 72, 77, 8], Operations: []
Exploring Operation: 80-8=72, Resulting Numbers: [72, 77, 72]
Generated Node #0,0: 67:[72, 77, 72] Operation: 80-8=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[72, 77, 72], Operations: ['80-8=72']
Exploring Operation: 77-72=5, Resulting Numbers: [72, 5]
Generated Node #0,0,0: 67:[72, 5] Operation: 77-72=5
Moving to Node #0,0,0
Current State: 67:[72, 5], Operations: ['80-8=72', '77-72=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[80, 72, 77, 8], Operations: []
Exploring Operation: 80-8=72, Resulting Numbers: [72, 77, 72]
Generated Node #0,0: 67:[72, 77, 72] Operation: 80-8=72
Moving to Node #0,0
Current State: 67:[72, 77, 72], Operations: ['80-8=72']
Exploring Operation: 77-72=5, Resulting Numbers: [72, 5]
Generated Node #0,0,0: 67:[72, 5] Operation: 77-72=5
Moving to Node #0,0,0
Current State: 67:[72, 5], Operations: ['80-8=72', '77-72=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
80,
10,
30,
2
] | 35 | [
"80-30=50",
"50/2=25",
"10+25=35"
] | Current State: 35:[80, 10, 30, 2], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [10, 2, 50]
Generated Node #2: [10, 2, 50] from Operation: 80-30=50
Current State: 35:[10, 2, 50], Operations: ['80-30=50']
Exploring Operation: 50/2=25, Resulting Numbers: [10, 25]
Generated Node #3: [10, 25] from Operation: 50/2=25
Current State: 35:[10, 25], Operations: ['80-30=50', '50/2=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[80, 10, 30, 2], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [10, 2, 50]
Generated Node #0,0: 35:[10, 2, 50] Operation: 80-30=50
Exploring Operation: 30/10=3, Resulting Numbers: [80, 2, 3]
Generated Node #0,1: 35:[80, 2, 3] Operation: 30/10=3
Exploring Operation: 80/2=40, Resulting Numbers: [10, 30, 40]
Generated Node #0,2: 35:[10, 30, 40] Operation: 80/2=40
Exploring Operation: 80-10=70, Resulting Numbers: [30, 2, 70]
Generated Node #0,3: 35:[30, 2, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [30, 2, 8]
Generated Node #0,4: 35:[30, 2, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[30, 2, 8], Operations: ['80/10=8']
Exploring Operation: 8/2=4, Resulting Numbers: [30, 4]
Generated Node #0,4,0: 35:[30, 4] Operation: 8/2=4
Exploring Operation: 30-2=28, Resulting Numbers: [8, 28]
Generated Node #0,4,1: 35:[8, 28] Operation: 30-2=28
Exploring Operation: 30+8=38, Resulting Numbers: [2, 38]
Generated Node #0,4,2: 35:[2, 38] Operation: 30+8=38
Exploring Operation: 30+2=32, Resulting Numbers: [8, 32]
Generated Node #0,4,3: 35:[8, 32] Operation: 30+2=32
Exploring Operation: 8-2=6, Resulting Numbers: [30, 6]
Generated Node #0,4,4: 35:[30, 6] Operation: 8-2=6
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 35:[8, 32], Operations: ['80/10=8', '30+2=32']
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,35 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 35:[30, 4], Operations: ['80/10=8', '8/2=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 35:[2, 38], Operations: ['80/10=8', '30+8=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 35:[30, 6], Operations: ['80/10=8', '8-2=6']
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 35:[8, 28], Operations: ['80/10=8', '30-2=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,35 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[10, 30, 40], Operations: ['80/2=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10, 10]
Generated Node #0,2,0: 35:[10, 10] Operation: 40-30=10
Exploring Operation: 30/10=3, Resulting Numbers: [40, 3]
Generated Node #0,2,1: 35:[40, 3] Operation: 30/10=3
Exploring Operation: 40/10=4, Resulting Numbers: [30, 4]
Generated Node #0,2,2: 35:[30, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [30, 30]
Generated Node #0,2,3: 35:[30, 30] Operation: 40-10=30
Exploring Operation: 10+30=40, Resulting Numbers: [40, 40]
Generated Node #0,2,4: 35:[40, 40] Operation: 10+30=40
Moving to Node #0,2,0
Current State: 35:[10, 10], Operations: ['80/2=40', '40-30=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[30, 4], Operations: ['80/2=40', '40/10=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[40, 3], Operations: ['80/2=40', '30/10=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,35 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[30, 30], Operations: ['80/2=40', '40-10=30']
Exploring Operation: 30*30=900, Resulting Numbers: [900]
900,35 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[40, 40], Operations: ['80/2=40', '10+30=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,35 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[10, 2, 50], Operations: ['80-30=50']
Exploring Operation: 10/2=5, Resulting Numbers: [50, 5]
Generated Node #0,0,0: 35:[50, 5] Operation: 10/2=5
Exploring Operation: 50-10=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 35:[2, 40] Operation: 50-10=40
Exploring Operation: 50/2=25, Resulting Numbers: [10, 25]
Generated Node #0,0,2: 35:[10, 25] Operation: 50/2=25
Exploring Operation: 10-2=8, Resulting Numbers: [50, 8]
Generated Node #0,0,3: 35:[50, 8] Operation: 10-2=8
Exploring Operation: 50/10=5, Resulting Numbers: [2, 5]
Generated Node #0,0,4: 35:[2, 5] Operation: 50/10=5
Moving to Node #0,0,4
Current State: 35:[2, 5], Operations: ['80-30=50', '50/10=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[2, 40], Operations: ['80-30=50', '50-10=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[10, 25], Operations: ['80-30=50', '50/2=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[80, 10, 30, 2], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [10, 2, 50]
Generated Node #0,0: 35:[10, 2, 50] Operation: 80-30=50
Moving to Node #0,0
Current State: 35:[10, 2, 50], Operations: ['80-30=50']
Exploring Operation: 50/2=25, Resulting Numbers: [10, 25]
Generated Node #0,0,2: 35:[10, 25] Operation: 50/2=25
Moving to Node #0,0,2
Current State: 35:[10, 25], Operations: ['80-30=50', '50/2=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_5 | mult_heuristic |
[
87,
53,
67,
69
] | 12 | [
"87*53=4611",
"67*69=4623",
"4623-4611=12"
] | Current State: 12:[87, 53, 67, 69], Operations: []
Exploring Operation: 87*53=4611, Resulting Numbers: [67, 69, 4611]
Generated Node #2: [67, 69, 4611] from Operation: 87*53=4611
Current State: 12:[67, 69, 4611], Operations: ['87*53=4611']
Exploring Operation: 67*69=4623, Resulting Numbers: [4611, 4623]
Generated Node #3: [4611, 4623] from Operation: 67*69=4623
Current State: 12:[4611, 4623], Operations: ['87*53=4611', '67*69=4623']
Exploring Operation: 4623-4611=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[87, 53, 67, 69], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [67, 69, 34]
Generated Node #0,0: 12:[67, 69, 34] Operation: 87-53=34
Exploring Operation: 87-67=20, Resulting Numbers: [53, 69, 20]
Generated Node #0,1: 12:[53, 69, 20] Operation: 87-67=20
Exploring Operation: 87-69=18, Resulting Numbers: [53, 67, 18]
Generated Node #0,2: 12:[53, 67, 18] Operation: 87-69=18
Exploring Operation: 69-67=2, Resulting Numbers: [87, 53, 2]
Generated Node #0,3: 12:[87, 53, 2] Operation: 69-67=2
Moving to Node #0,2
Current State: 12:[53, 67, 18], Operations: ['87-69=18']
Exploring Operation: 67-18=49, Resulting Numbers: [53, 49]
Generated Node #0,2,0: 12:[53, 49] Operation: 67-18=49
Exploring Operation: 67-53=14, Resulting Numbers: [18, 14]
Generated Node #0,2,1: 12:[18, 14] Operation: 67-53=14
Exploring Operation: 53+67=120, Resulting Numbers: [18, 120]
Generated Node #0,2,2: 12:[18, 120] Operation: 53+67=120
Exploring Operation: 53-18=35, Resulting Numbers: [67, 35]
Generated Node #0,2,3: 12:[67, 35] Operation: 53-18=35
Moving to Node #0,1
Current State: 12:[53, 69, 20], Operations: ['87-67=20']
Exploring Operation: 53+69=122, Resulting Numbers: [20, 122]
Generated Node #0,1,0: 12:[20, 122] Operation: 53+69=122
Exploring Operation: 53-20=33, Resulting Numbers: [69, 33]
Generated Node #0,1,1: 12:[69, 33] Operation: 53-20=33
Exploring Operation: 69-53=16, Resulting Numbers: [20, 16]
Generated Node #0,1,2: 12:[20, 16] Operation: 69-53=16
Exploring Operation: 69-20=49, Resulting Numbers: [53, 49]
Generated Node #0,1,3: 12:[53, 49] Operation: 69-20=49
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[20, 16], Operations: ['87-67=20', '69-53=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,12 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[69, 33], Operations: ['87-67=20', '53-20=33']
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,12 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[53, 49], Operations: ['87-67=20', '69-20=49']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 53*49=2597, Resulting Numbers: [2597]
2597,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[20, 122], Operations: ['87-67=20', '53+69=122']
Exploring Operation: 122-20=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 20*122=2440, Resulting Numbers: [2440]
2440,12 unequal: No Solution
Exploring Operation: 20+122=142, Resulting Numbers: [142]
142,12 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: 12:[87, 53, 2], Operations: ['69-67=2']
Exploring Operation: 87-2=85, Resulting Numbers: [53, 85]
Generated Node #0,3,0: 12:[53, 85] Operation: 87-2=85
Exploring Operation: 87-53=34, Resulting Numbers: [2, 34]
Generated Node #0,3,1: 12:[2, 34] Operation: 87-53=34
Exploring Operation: 53-2=51, Resulting Numbers: [87, 51]
Generated Node #0,3,2: 12:[87, 51] Operation: 53-2=51
Exploring Operation: 87+2=89, Resulting Numbers: [53, 89]
Generated Node #0,3,3: 12:[53, 89] Operation: 87+2=89
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[2, 34], Operations: ['69-67=2', '87-53=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[53, 85], Operations: ['69-67=2', '87-2=85']
Exploring Operation: 53*85=4505, Resulting Numbers: [4505]
4505,12 unequal: No Solution
Exploring Operation: 85-53=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 53+85=138, Resulting Numbers: [138]
138,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[87, 51], Operations: ['69-67=2', '53-2=51']
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,12 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[53, 89], Operations: ['69-67=2', '87+2=89']
Exploring Operation: 53*89=4717, Resulting Numbers: [4717]
4717,12 unequal: No Solution
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 53+89=142, Resulting Numbers: [142]
142,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 12:[67, 69, 34], Operations: ['87-53=34']
Exploring Operation: 69-34=35, Resulting Numbers: [67, 35]
Generated Node #0,0,0: 12:[67, 35] Operation: 69-34=35
Exploring Operation: 67-34=33, Resulting Numbers: [69, 33]
Generated Node #0,0,1: 12:[69, 33] Operation: 67-34=33
Exploring Operation: 67+69=136, Resulting Numbers: [34, 136]
Generated Node #0,0,2: 12:[34, 136] Operation: 67+69=136
Exploring Operation: 69-67=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 12:[34, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[34, 2], Operations: ['87-53=34', '69-67=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[67, 35], Operations: ['87-53=34', '69-34=35']
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 67*35=2345, Resulting Numbers: [2345]
2345,12 unequal: No Solution
Exploring Operation: 67+35=102, Resulting Numbers: [102]
102,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[69, 33], Operations: ['87-53=34', '67-34=33']
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[34, 136], Operations: ['87-53=34', '67+69=136']
Exploring Operation: 136-34=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 34+136=170, Resulting Numbers: [170]
170,12 unequal: No Solution
Exploring Operation: 34*136=4624, Resulting Numbers: [4624]
4624,12 unequal: No Solution
Exploring Operation: 136/34=4, Resulting Numbers: [4]
4,12 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: 12:[18, 14], Operations: ['87-69=18', '67-53=14']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[67, 35], Operations: ['87-69=18', '53-18=35']
Exploring Operation: 67+35=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 67*35=2345, Resulting Numbers: [2345]
2345,12 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[53, 49], Operations: ['87-69=18', '67-18=49']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 53*49=2597, Resulting Numbers: [2597]
2597,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[18, 120], Operations: ['87-69=18', '53+67=120']
Exploring Operation: 120-18=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 18+120=138, Resulting Numbers: [138]
138,12 unequal: No Solution
Exploring Operation: 18*120=2160, Resulting Numbers: [2160]
2160,12 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
1,
39,
2,
25
] | 44 | [
"39-1=38",
"38/2=19",
"25+19=44"
] | Current State: 44:[1, 39, 2, 25], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [2, 25, 38]
Generated Node #2: [2, 25, 38] from Operation: 39-1=38
Current State: 44:[2, 25, 38], Operations: ['39-1=38']
Exploring Operation: 38/2=19, Resulting Numbers: [25, 19]
Generated Node #3: [25, 19] from Operation: 38/2=19
Current State: 44:[25, 19], Operations: ['39-1=38', '38/2=19']
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[1, 39, 2, 25], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [1, 2, 14]
Generated Node #0,0: 44:[1, 2, 14] Operation: 39-25=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[1, 2, 14], Operations: ['39-25=14']
Exploring Operation: 14-1=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 44:[2, 13] Operation: 14-1=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[2, 13], Operations: ['39-25=14', '14-1=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
8,
39,
41
] | 50 | [
"6*8=48",
"41-39=2",
"48+2=50"
] | Current State: 50:[6, 8, 39, 41], Operations: []
Exploring Operation: 6*8=48, Resulting Numbers: [39, 41, 48]
Generated Node #2: [39, 41, 48] from Operation: 6*8=48
Current State: 50:[39, 41, 48], Operations: ['6*8=48']
Exploring Operation: 41-39=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 41-39=2
Current State: 50:[48, 2], Operations: ['6*8=48', '41-39=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 8, 39, 41], Operations: []
Exploring Operation: 8+41=49, Resulting Numbers: [6, 39, 49]
Generated Node #0,0: 50:[6, 39, 49] Operation: 8+41=49
Exploring Operation: 41-39=2, Resulting Numbers: [6, 8, 2]
Generated Node #0,1: 50:[6, 8, 2] Operation: 41-39=2
Exploring Operation: 8+39=47, Resulting Numbers: [6, 41, 47]
Generated Node #0,2: 50:[6, 41, 47] Operation: 8+39=47
Moving to Node #0,1
Current State: 50:[6, 8, 2], Operations: ['41-39=2']
Exploring Operation: 8-6=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 50:[2, 2] Operation: 8-6=2
Exploring Operation: 6*8=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 50:[2, 48] Operation: 6*8=48
Exploring Operation: 8+2=10, Resulting Numbers: [6, 10]
Generated Node #0,1,2: 50:[6, 10] Operation: 8+2=10
Moving to Node #0,0
Current State: 50:[6, 39, 49], Operations: ['8+41=49']
Exploring Operation: 6+39=45, Resulting Numbers: [49, 45]
Generated Node #0,0,0: 50:[49, 45] Operation: 6+39=45
Exploring Operation: 39-6=33, Resulting Numbers: [49, 33]
Generated Node #0,0,1: 50:[49, 33] Operation: 39-6=33
Exploring Operation: 49-39=10, Resulting Numbers: [6, 10]
Generated Node #0,0,2: 50:[6, 10] Operation: 49-39=10
Moving to Node #0,2
Current State: 50:[6, 41, 47], Operations: ['8+39=47']
Exploring Operation: 47-41=6, Resulting Numbers: [6, 6]
Generated Node #0,2,0: 50:[6, 6] Operation: 47-41=6
Exploring Operation: 6+47=53, Resulting Numbers: [41, 53]
Generated Node #0,2,1: 50:[41, 53] Operation: 6+47=53
Exploring Operation: 6+41=47, Resulting Numbers: [47, 47]
Generated Node #0,2,2: 50:[47, 47] Operation: 6+41=47
Moving to Node #0,1,0
Current State: 50:[2, 2], Operations: ['41-39=2', '8-6=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[6, 10], Operations: ['41-39=2', '8+2=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[6, 10], Operations: ['8+41=49', '49-39=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[2, 48], Operations: ['41-39=2', '6*8=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[6, 8, 39, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [6, 8, 2]
Generated Node #0,1: 50:[6, 8, 2] Operation: 41-39=2
Moving to Node #0,1
Current State: 50:[6, 8, 2], Operations: ['41-39=2']
Exploring Operation: 6*8=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 50:[2, 48] Operation: 6*8=48
Moving to Node #0,1,1
Current State: 50:[2, 48], Operations: ['41-39=2', '6*8=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
66,
66,
18,
34
] | 18 | [
"66-66=0",
"34*0=0",
"18+0=18"
] | Current State: 18:[66, 66, 18, 34], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [18, 34, 0]
Generated Node #2: [18, 34, 0] from Operation: 66-66=0
Current State: 18:[18, 34, 0], Operations: ['66-66=0']
Exploring Operation: 34*0=0, Resulting Numbers: [18, 0]
Generated Node #3: [18, 0] from Operation: 34*0=0
Current State: 18:[18, 0], Operations: ['66-66=0', '34*0=0']
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[66, 66, 18, 34], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [18, 34, 0]
Generated Node #0,0: 18:[18, 34, 0] Operation: 66-66=0
Exploring Operation: 66/66=1, Resulting Numbers: [18, 34, 1]
Generated Node #0,1: 18:[18, 34, 1] Operation: 66/66=1
Exploring Operation: 66-18=48, Resulting Numbers: [66, 34, 48]
Generated Node #0,2: 18:[66, 34, 48] Operation: 66-18=48
Exploring Operation: 66-34=32, Resulting Numbers: [66, 18, 32]
Generated Node #0,3: 18:[66, 18, 32] Operation: 66-34=32
Exploring Operation: 66-34=32, Resulting Numbers: [66, 18, 32]
Generated Node #0,4: 18:[66, 18, 32] Operation: 66-34=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[18, 34, 1], Operations: ['66/66=1']
Exploring Operation: 18/1=18, Resulting Numbers: [34, 18]
Generated Node #0,1,0: 18:[34, 18] Operation: 18/1=18
Exploring Operation: 34-18=16, Resulting Numbers: [1, 16]
Generated Node #0,1,1: 18:[1, 16] Operation: 34-18=16
Exploring Operation: 18*1=18, Resulting Numbers: [34, 18]
Generated Node #0,1,2: 18:[34, 18] Operation: 18*1=18
Exploring Operation: 34*1=34, Resulting Numbers: [18, 34]
Generated Node #0,1,3: 18:[18, 34] Operation: 34*1=34
Exploring Operation: 34-1=33, Resulting Numbers: [18, 33]
Generated Node #0,1,4: 18:[18, 33] Operation: 34-1=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[1, 16], Operations: ['66/66=1', '34-18=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 18:[18, 33], Operations: ['66/66=1', '34-1=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[34, 18], Operations: ['66/66=1', '18/1=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[34, 18], Operations: ['66/66=1', '18*1=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,18 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 18:[18, 34], Operations: ['66/66=1', '34*1=34']
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,18 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[18, 34, 0], Operations: ['66-66=0']
Exploring Operation: 18-0=18, Resulting Numbers: [34, 18]
Generated Node #0,0,0: 18:[34, 18] Operation: 18-0=18
Exploring Operation: 34-18=16, Resulting Numbers: [0, 16]
Generated Node #0,0,1: 18:[0, 16] Operation: 34-18=16
Exploring Operation: 18+0=18, Resulting Numbers: [34, 18]
Generated Node #0,0,2: 18:[34, 18] Operation: 18+0=18
Exploring Operation: 34*0=0, Resulting Numbers: [18, 0]
Generated Node #0,0,3: 18:[18, 0] Operation: 34*0=0
Exploring Operation: 34+0=34, Resulting Numbers: [18, 34]
Generated Node #0,0,4: 18:[18, 34] Operation: 34+0=34
Moving to Node #0,0,3
Current State: 18:[18, 0], Operations: ['66-66=0', '34*0=0']
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[66, 66, 18, 34], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [18, 34, 0]
Generated Node #0,0: 18:[18, 34, 0] Operation: 66-66=0
Moving to Node #0,0
Current State: 18:[18, 34, 0], Operations: ['66-66=0']
Exploring Operation: 34*0=0, Resulting Numbers: [18, 0]
Generated Node #0,0,3: 18:[18, 0] Operation: 34*0=0
Moving to Node #0,0,3
Current State: 18:[18, 0], Operations: ['66-66=0', '34*0=0']
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
15,
72,
73,
91
] | 60 | [
"15*72=1080",
"91-73=18",
"1080/18=60"
] | Current State: 60:[15, 72, 73, 91], Operations: []
Exploring Operation: 15*72=1080, Resulting Numbers: [73, 91, 1080]
Generated Node #2: [73, 91, 1080] from Operation: 15*72=1080
Current State: 60:[73, 91, 1080], Operations: ['15*72=1080']
Exploring Operation: 91-73=18, Resulting Numbers: [1080, 18]
Generated Node #3: [1080, 18] from Operation: 91-73=18
Current State: 60:[1080, 18], Operations: ['15*72=1080', '91-73=18']
Exploring Operation: 1080/18=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[15, 72, 73, 91], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [15, 73, 19]
Generated Node #0,0: 60:[15, 73, 19] Operation: 91-72=19
Exploring Operation: 91-15=76, Resulting Numbers: [72, 73, 76]
Generated Node #0,1: 60:[72, 73, 76] Operation: 91-15=76
Exploring Operation: 91-73=18, Resulting Numbers: [15, 72, 18]
Generated Node #0,2: 60:[15, 72, 18] Operation: 91-73=18
Exploring Operation: 73-72=1, Resulting Numbers: [15, 91, 1]
Generated Node #0,3: 60:[15, 91, 1] Operation: 73-72=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[15, 73, 19], Operations: ['91-72=19']
Exploring Operation: 15+19=34, Resulting Numbers: [73, 34]
Generated Node #0,0,0: 60:[73, 34] Operation: 15+19=34
Exploring Operation: 73-15=58, Resulting Numbers: [19, 58]
Generated Node #0,0,1: 60:[19, 58] Operation: 73-15=58
Exploring Operation: 73-19=54, Resulting Numbers: [15, 54]
Generated Node #0,0,2: 60:[15, 54] Operation: 73-19=54
Exploring Operation: 19-15=4, Resulting Numbers: [73, 4]
Generated Node #0,0,3: 60:[73, 4] Operation: 19-15=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[19, 58], Operations: ['91-72=19', '73-15=58']
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,60 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,60 unequal: No Solution
No 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: 60:[15, 54], Operations: ['91-72=19', '73-19=54']
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,60 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,60 unequal: No Solution
No 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: 60:[73, 4], Operations: ['91-72=19', '19-15=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,60 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,60 unequal: No Solution
No 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: 60:[73, 34], Operations: ['91-72=19', '15+19=34']
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,60 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,60 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: 60:[15, 72, 18], Operations: ['91-73=18']
Exploring Operation: 18-15=3, Resulting Numbers: [72, 3]
Generated Node #0,2,0: 60:[72, 3] Operation: 18-15=3
Exploring Operation: 72/18=4, Resulting Numbers: [15, 4]
Generated Node #0,2,1: 60:[15, 4] Operation: 72/18=4
Exploring Operation: 72-18=54, Resulting Numbers: [15, 54]
Generated Node #0,2,2: 60:[15, 54] Operation: 72-18=54
Exploring Operation: 72-15=57, Resulting Numbers: [18, 57]
Generated Node #0,2,3: 60:[18, 57] Operation: 72-15=57
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[15, 4], Operations: ['91-73=18', '72/18=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[15, 72, 73, 91], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [15, 72, 18]
Generated Node #0,2: 60:[15, 72, 18] Operation: 91-73=18
Moving to Node #0,2
Current State: 60:[15, 72, 18], Operations: ['91-73=18']
Exploring Operation: 72/18=4, Resulting Numbers: [15, 4]
Generated Node #0,2,1: 60:[15, 4] Operation: 72/18=4
Moving to Node #0,2,1
Current State: 60:[15, 4], Operations: ['91-73=18', '72/18=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
19,
52,
99,
42
] | 70 | [
"19+52=71",
"99+42=141",
"141-71=70"
] | Current State: 70:[19, 52, 99, 42], Operations: []
Exploring Operation: 19+52=71, Resulting Numbers: [99, 42, 71]
Generated Node #2: [99, 42, 71] from Operation: 19+52=71
Current State: 70:[99, 42, 71], Operations: ['19+52=71']
Exploring Operation: 99+42=141, Resulting Numbers: [71, 141]
Generated Node #3: [71, 141] from Operation: 99+42=141
Current State: 70:[71, 141], Operations: ['19+52=71', '99+42=141']
Exploring Operation: 141-71=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[19, 52, 99, 42], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [19, 99, 10]
Generated Node #0,0: 70:[19, 99, 10] Operation: 52-42=10
Exploring Operation: 99-52=47, Resulting Numbers: [19, 42, 47]
Generated Node #0,1: 70:[19, 42, 47] Operation: 99-52=47
Exploring Operation: 19+52=71, Resulting Numbers: [99, 42, 71]
Generated Node #0,2: 70:[99, 42, 71] Operation: 19+52=71
Exploring Operation: 99-19=80, Resulting Numbers: [52, 42, 80]
Generated Node #0,3: 70:[52, 42, 80] Operation: 99-19=80
Exploring Operation: 99-42=57, Resulting Numbers: [19, 52, 57]
Generated Node #0,4: 70:[19, 52, 57] Operation: 99-42=57
Moving to Node #0,1
Current State: 70:[19, 42, 47], Operations: ['99-52=47']
Exploring Operation: 42-19=23, Resulting Numbers: [47, 23]
Generated Node #0,1,0: 70:[47, 23] Operation: 42-19=23
Exploring Operation: 19+47=66, Resulting Numbers: [42, 66]
Generated Node #0,1,1: 70:[42, 66] Operation: 19+47=66
Exploring Operation: 19+42=61, Resulting Numbers: [47, 61]
Generated Node #0,1,2: 70:[47, 61] Operation: 19+42=61
Exploring Operation: 47-42=5, Resulting Numbers: [19, 5]
Generated Node #0,1,3: 70:[19, 5] Operation: 47-42=5
Exploring Operation: 47-19=28, Resulting Numbers: [42, 28]
Generated Node #0,1,4: 70:[42, 28] Operation: 47-19=28
Moving to Node #0,3
Current State: 70:[52, 42, 80], Operations: ['99-19=80']
Exploring Operation: 52-42=10, Resulting Numbers: [80, 10]
Generated Node #0,3,0: 70:[80, 10] Operation: 52-42=10
Exploring Operation: 80-52=28, Resulting Numbers: [42, 28]
Generated Node #0,3,1: 70:[42, 28] Operation: 80-52=28
Exploring Operation: 52+42=94, Resulting Numbers: [80, 94]
Generated Node #0,3,2: 70:[80, 94] Operation: 52+42=94
Exploring Operation: 80-42=38, Resulting Numbers: [52, 38]
Generated Node #0,3,3: 70:[52, 38] Operation: 80-42=38
Exploring Operation: 52+80=132, Resulting Numbers: [42, 132]
Generated Node #0,3,4: 70:[42, 132] Operation: 52+80=132
Moving to Node #0,0
Current State: 70:[19, 99, 10], Operations: ['52-42=10']
Exploring Operation: 99-19=80, Resulting Numbers: [10, 80]
Generated Node #0,0,0: 70:[10, 80] Operation: 99-19=80
Exploring Operation: 19-10=9, Resulting Numbers: [99, 9]
Generated Node #0,0,1: 70:[99, 9] Operation: 19-10=9
Exploring Operation: 99-10=89, Resulting Numbers: [19, 89]
Generated Node #0,0,2: 70:[19, 89] Operation: 99-10=89
Exploring Operation: 19+10=29, Resulting Numbers: [99, 29]
Generated Node #0,0,3: 70:[99, 29] Operation: 19+10=29
Exploring Operation: 99+10=109, Resulting Numbers: [19, 109]
Generated Node #0,0,4: 70:[19, 109] Operation: 99+10=109
Moving to Node #0,4
Current State: 70:[19, 52, 57], Operations: ['99-42=57']
Exploring Operation: 57-52=5, Resulting Numbers: [19, 5]
Generated Node #0,4,0: 70:[19, 5] Operation: 57-52=5
Exploring Operation: 52-19=33, Resulting Numbers: [57, 33]
Generated Node #0,4,1: 70:[57, 33] Operation: 52-19=33
Exploring Operation: 57-19=38, Resulting Numbers: [52, 38]
Generated Node #0,4,2: 70:[52, 38] Operation: 57-19=38
Exploring Operation: 19+52=71, Resulting Numbers: [57, 71]
Generated Node #0,4,3: 70:[57, 71] Operation: 19+52=71
Exploring Operation: 57/19=3, Resulting Numbers: [52, 3]
Generated Node #0,4,4: 70:[52, 3] Operation: 57/19=3
Moving to Node #0,2
Current State: 70:[99, 42, 71], Operations: ['19+52=71']
Exploring Operation: 42+71=113, Resulting Numbers: [99, 113]
Generated Node #0,2,0: 70:[99, 113] Operation: 42+71=113
Exploring Operation: 99-71=28, Resulting Numbers: [42, 28]
Generated Node #0,2,1: 70:[42, 28] Operation: 99-71=28
Exploring Operation: 99+42=141, Resulting Numbers: [71, 141]
Generated Node #0,2,2: 70:[71, 141] Operation: 99+42=141
Exploring Operation: 99-42=57, Resulting Numbers: [71, 57]
Generated Node #0,2,3: 70:[71, 57] Operation: 99-42=57
Exploring Operation: 71-42=29, Resulting Numbers: [99, 29]
Generated Node #0,2,4: 70:[99, 29] Operation: 71-42=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[42, 28], Operations: ['19+52=71', '99-71=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[19, 52, 99, 42], Operations: []
Exploring Operation: 19+52=71, Resulting Numbers: [99, 42, 71]
Generated Node #0,2: 70:[99, 42, 71] Operation: 19+52=71
Moving to Node #0,2
Current State: 70:[99, 42, 71], Operations: ['19+52=71']
Exploring Operation: 99-71=28, Resulting Numbers: [42, 28]
Generated Node #0,2,1: 70:[42, 28] Operation: 99-71=28
Moving to Node #0,2,1
Current State: 70:[42, 28], Operations: ['19+52=71', '99-71=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
27,
53,
5,
35
] | 19 | [
"27+53=80",
"80/5=16",
"35-16=19"
] | Current State: 19:[27, 53, 5, 35], Operations: []
Exploring Operation: 27+53=80, Resulting Numbers: [5, 35, 80]
Generated Node #2: [5, 35, 80] from Operation: 27+53=80
Current State: 19:[5, 35, 80], Operations: ['27+53=80']
Exploring Operation: 80/5=16, Resulting Numbers: [35, 16]
Generated Node #3: [35, 16] from Operation: 80/5=16
Current State: 19:[35, 16], Operations: ['27+53=80', '80/5=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[27, 53, 5, 35], Operations: []
Exploring Operation: 53-35=18, Resulting Numbers: [27, 5, 18]
Generated Node #0,0: 19:[27, 5, 18] Operation: 53-35=18
Exploring Operation: 53-27=26, Resulting Numbers: [5, 35, 26]
Generated Node #0,1: 19:[5, 35, 26] Operation: 53-27=26
Exploring Operation: 27-5=22, Resulting Numbers: [53, 35, 22]
Generated Node #0,2: 19:[53, 35, 22] Operation: 27-5=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[27, 5, 18], Operations: ['53-35=18']
Exploring Operation: 5+18=23, Resulting Numbers: [27, 23]
Generated Node #0,0,0: 19:[27, 23] Operation: 5+18=23
Exploring Operation: 27-5=22, Resulting Numbers: [18, 22]
Generated Node #0,0,1: 19:[18, 22] Operation: 27-5=22
Exploring Operation: 27+5=32, Resulting Numbers: [18, 32]
Generated Node #0,0,2: 19:[18, 32] Operation: 27+5=32
Moving to Node #0,0,1
Current State: 19:[18, 22], Operations: ['53-35=18', '27-5=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[27, 23], Operations: ['53-35=18', '5+18=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,19 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[18, 32], Operations: ['53-35=18', '27+5=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,19 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[5, 35, 26], Operations: ['53-27=26']
Exploring Operation: 35/5=7, Resulting Numbers: [26, 7]
Generated Node #0,1,0: 19:[26, 7] Operation: 35/5=7
Exploring Operation: 26-5=21, Resulting Numbers: [35, 21]
Generated Node #0,1,1: 19:[35, 21] Operation: 26-5=21
Exploring Operation: 35-5=30, Resulting Numbers: [26, 30]
Generated Node #0,1,2: 19:[26, 30] Operation: 35-5=30
Moving to Node #0,1,1
Current State: 19:[35, 21], Operations: ['53-27=26', '26-5=21']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,19 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[26, 30], Operations: ['53-27=26', '35-5=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,19 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[26, 7], Operations: ['53-27=26', '35/5=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,19 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[27, 53, 5, 35], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [5, 35, 26]
Generated Node #0,1: 19:[5, 35, 26] Operation: 53-27=26
Moving to Node #0,1
Current State: 19:[5, 35, 26], Operations: ['53-27=26']
Exploring Operation: 35/5=7, Resulting Numbers: [26, 7]
Generated Node #0,1,0: 19:[26, 7] Operation: 35/5=7
Moving to Node #0,1,0
Current State: 19:[26, 7], Operations: ['53-27=26', '35/5=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
3,
18,
48,
84
] | 52 | [
"3+18=21",
"84/21=4",
"48+4=52"
] | Current State: 52:[3, 18, 48, 84], Operations: []
Exploring Operation: 3+18=21, Resulting Numbers: [48, 84, 21]
Generated Node #2: [48, 84, 21] from Operation: 3+18=21
Current State: 52:[48, 84, 21], Operations: ['3+18=21']
Exploring Operation: 84/21=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 84/21=4
Current State: 52:[48, 4], Operations: ['3+18=21', '84/21=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 18, 48, 84], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [18, 48, 28]
Generated Node #0,0: 52:[18, 48, 28] Operation: 84/3=28
Exploring Operation: 84-48=36, Resulting Numbers: [3, 18, 36]
Generated Node #0,1: 52:[3, 18, 36] Operation: 84-48=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[18, 48, 28], Operations: ['84/3=28']
Exploring Operation: 28-18=10, Resulting Numbers: [48, 10]
Generated Node #0,0,0: 52:[48, 10] Operation: 28-18=10
Exploring Operation: 48-18=30, Resulting Numbers: [28, 30]
Generated Node #0,0,1: 52:[28, 30] Operation: 48-18=30
Moving to Node #0,0,1
Current State: 52:[28, 30], Operations: ['84/3=28', '48-18=30']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[48, 10], Operations: ['84/3=28', '28-18=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,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
Current State: 52:[3, 18, 36], Operations: ['84-48=36']
Exploring Operation: 18+36=54, Resulting Numbers: [3, 54]
Generated Node #0,1,0: 52:[3, 54] Operation: 18+36=54
Exploring Operation: 36/18=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 52:[3, 2] Operation: 36/18=2
Moving to Node #0,1,1
Current State: 52:[3, 2], Operations: ['84-48=36', '36/18=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[3, 54], Operations: ['84-48=36', '18+36=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,52 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 |
[
42,
44,
82,
4
] | 74 | [
"44-42=2",
"4*2=8",
"82-8=74"
] | Current State: 74:[42, 44, 82, 4], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [82, 4, 2]
Generated Node #2: [82, 4, 2] from Operation: 44-42=2
Current State: 74:[82, 4, 2], Operations: ['44-42=2']
Exploring Operation: 4*2=8, Resulting Numbers: [82, 8]
Generated Node #3: [82, 8] from Operation: 4*2=8
Current State: 74:[82, 8], Operations: ['44-42=2', '4*2=8']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[42, 44, 82, 4], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [42, 4, 38]
Generated Node #0,0: 74:[42, 4, 38] Operation: 82-44=38
Exploring Operation: 42-4=38, Resulting Numbers: [44, 82, 38]
Generated Node #0,1: 74:[44, 82, 38] Operation: 42-4=38
Exploring Operation: 44-4=40, Resulting Numbers: [42, 82, 40]
Generated Node #0,2: 74:[42, 82, 40] Operation: 44-4=40
Exploring Operation: 44-42=2, Resulting Numbers: [82, 4, 2]
Generated Node #0,3: 74:[82, 4, 2] Operation: 44-42=2
Exploring Operation: 82-42=40, Resulting Numbers: [44, 4, 40]
Generated Node #0,4: 74:[44, 4, 40] Operation: 82-42=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[42, 4, 38], Operations: ['82-44=38']
Exploring Operation: 42+4=46, Resulting Numbers: [38, 46]
Generated Node #0,0,0: 74:[38, 46] Operation: 42+4=46
Exploring Operation: 38-4=34, Resulting Numbers: [42, 34]
Generated Node #0,0,1: 74:[42, 34] Operation: 38-4=34
Exploring Operation: 42-38=4, Resulting Numbers: [4, 4]
Generated Node #0,0,2: 74:[4, 4] Operation: 42-38=4
Exploring Operation: 42-4=38, Resulting Numbers: [38, 38]
Generated Node #0,0,3: 74:[38, 38] Operation: 42-4=38
Exploring Operation: 42+38=80, Resulting Numbers: [4, 80]
Generated Node #0,0,4: 74:[4, 80] Operation: 42+38=80
Moving to Node #0,0,3
Current State: 74:[38, 38], Operations: ['82-44=38', '42-4=38']
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[4, 4], Operations: ['82-44=38', '42-38=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[42, 34], Operations: ['82-44=38', '38-4=34']
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[4, 80], Operations: ['82-44=38', '42+38=80']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[38, 46], Operations: ['82-44=38', '42+4=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,74 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[82, 4, 2], Operations: ['44-42=2']
Exploring Operation: 4/2=2, Resulting Numbers: [82, 2]
Generated Node #0,3,0: 74:[82, 2] Operation: 4/2=2
Exploring Operation: 82-4=78, Resulting Numbers: [2, 78]
Generated Node #0,3,1: 74:[2, 78] Operation: 82-4=78
Exploring Operation: 82/2=41, Resulting Numbers: [4, 41]
Generated Node #0,3,2: 74:[4, 41] Operation: 82/2=41
Exploring Operation: 4-2=2, Resulting Numbers: [82, 2]
Generated Node #0,3,3: 74:[82, 2] Operation: 4-2=2
Exploring Operation: 82-2=80, Resulting Numbers: [4, 80]
Generated Node #0,3,4: 74:[4, 80] Operation: 82-2=80
Moving to Node #0,3,1
Current State: 74:[2, 78], Operations: ['44-42=2', '82-4=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[4, 41], Operations: ['44-42=2', '82/2=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,74 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[82, 2], Operations: ['44-42=2', '4/2=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,74 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[82, 2], Operations: ['44-42=2', '4-2=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,74 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[4, 80], Operations: ['44-42=2', '82-2=80']
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,74 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,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,4
Current State: 74:[44, 4, 40], Operations: ['82-42=40']
Exploring Operation: 44-40=4, Resulting Numbers: [4, 4]
Generated Node #0,4,0: 74:[4, 4] Operation: 44-40=4
Exploring Operation: 40-4=36, Resulting Numbers: [44, 36]
Generated Node #0,4,1: 74:[44, 36] Operation: 40-4=36
Exploring Operation: 44+40=84, Resulting Numbers: [4, 84]
Generated Node #0,4,2: 74:[4, 84] Operation: 44+40=84
Exploring Operation: 44-4=40, Resulting Numbers: [40, 40]
Generated Node #0,4,3: 74:[40, 40] Operation: 44-4=40
Exploring Operation: 44/4=11, Resulting Numbers: [40, 11]
Generated Node #0,4,4: 74:[40, 11] Operation: 44/4=11
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 74:[4, 4], Operations: ['82-42=40', '44-40=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 74:[40, 40], Operations: ['82-42=40', '44-4=40']
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,74 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 74:[44, 36], Operations: ['82-42=40', '40-4=36']
Exploring Operation: 44*36=1584, Resulting Numbers: [1584]
1584,74 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 74:[4, 84], Operations: ['82-42=40', '44+40=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 4*84=336, Resulting Numbers: [336]
336,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 74:[40, 11], Operations: ['82-42=40', '44/4=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[44, 82, 38], Operations: ['42-4=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82, 82]
Generated Node #0,1,0: 74:[82, 82] Operation: 44+38=82
Exploring Operation: 44+82=126, Resulting Numbers: [38, 126]
Generated Node #0,1,1: 74:[38, 126] Operation: 44+82=126
Exploring Operation: 82-44=38, Resulting Numbers: [38, 38]
Generated Node #0,1,2: 74:[38, 38] Operation: 82-44=38
Exploring Operation: 82-38=44, Resulting Numbers: [44, 44]
Generated Node #0,1,3: 74:[44, 44] Operation: 82-38=44
Exploring Operation: 44-38=6, Resulting Numbers: [82, 6]
Generated Node #0,1,4: 74:[82, 6] Operation: 44-38=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[38, 38], Operations: ['42-4=38', '82-44=38']
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,74 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 74:[82, 6], Operations: ['42-4=38', '44-38=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[44, 44], Operations: ['42-4=38', '82-38=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[82, 82], Operations: ['42-4=38', '44+38=82']
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,74 unequal: No Solution
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[38, 126], Operations: ['42-4=38', '44+82=126']
Exploring Operation: 126-38=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 38+126=164, Resulting Numbers: [164]
164,74 unequal: No Solution
Exploring Operation: 38*126=4788, Resulting Numbers: [4788]
4788,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[42, 82, 40], Operations: ['44-4=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42, 42]
Generated Node #0,2,0: 74:[42, 42] Operation: 82-40=42
Exploring Operation: 82-42=40, Resulting Numbers: [40, 40]
Generated Node #0,2,1: 74:[40, 40] Operation: 82-42=40
Exploring Operation: 42+40=82, Resulting Numbers: [82, 82]
Generated Node #0,2,2: 74:[82, 82] Operation: 42+40=82
Exploring Operation: 42-40=2, Resulting Numbers: [82, 2]
Generated Node #0,2,3: 74:[82, 2] Operation: 42-40=2
Exploring Operation: 42+82=124, Resulting Numbers: [40, 124]
Generated Node #0,2,4: 74:[40, 124] Operation: 42+82=124
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[40, 40], Operations: ['44-4=40', '82-42=40']
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,74 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[82, 2], Operations: ['44-4=40', '42-40=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,74 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[42, 42], Operations: ['44-4=40', '82-40=42']
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,74 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 74:[82, 82], Operations: ['44-4=40', '42+40=82']
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,74 unequal: No Solution
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 74:[40, 124], Operations: ['44-4=40', '42+82=124']
Exploring Operation: 124-40=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 40*124=4960, Resulting Numbers: [4960]
4960,74 unequal: No Solution
Exploring Operation: 40+124=164, Resulting Numbers: [164]
164,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
73,
90,
11,
78
] | 96 | [
"73+90=163",
"78-11=67",
"163-67=96"
] | Current State: 96:[73, 90, 11, 78], Operations: []
Exploring Operation: 73+90=163, Resulting Numbers: [11, 78, 163]
Generated Node #2: [11, 78, 163] from Operation: 73+90=163
Current State: 96:[11, 78, 163], Operations: ['73+90=163']
Exploring Operation: 78-11=67, Resulting Numbers: [163, 67]
Generated Node #3: [163, 67] from Operation: 78-11=67
Current State: 96:[163, 67], Operations: ['73+90=163', '78-11=67']
Exploring Operation: 163-67=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[73, 90, 11, 78], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [11, 78, 17]
Generated Node #0,0: 96:[11, 78, 17] Operation: 90-73=17
Exploring Operation: 78-73=5, Resulting Numbers: [90, 11, 5]
Generated Node #0,1: 96:[90, 11, 5] Operation: 78-73=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[90, 11, 5], Operations: ['78-73=5']
Exploring Operation: 90/5=18, Resulting Numbers: [11, 18]
Generated Node #0,1,0: 96:[11, 18] Operation: 90/5=18
Exploring Operation: 90+5=95, Resulting Numbers: [11, 95]
Generated Node #0,1,1: 96:[11, 95] Operation: 90+5=95
Moving to Node #0,1,1
Current State: 96:[11, 95], Operations: ['78-73=5', '90+5=95']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 11+95=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[11, 18], Operations: ['78-73=5', '90/5=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[11, 78, 17], Operations: ['90-73=17']
Exploring Operation: 78+17=95, Resulting Numbers: [11, 95]
Generated Node #0,0,0: 96:[11, 95] Operation: 78+17=95
Exploring Operation: 11+78=89, Resulting Numbers: [17, 89]
Generated Node #0,0,1: 96:[17, 89] Operation: 11+78=89
Moving to Node #0,0,0
Current State: 96:[11, 95], Operations: ['90-73=17', '78+17=95']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 11+95=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[17, 89], Operations: ['90-73=17', '11+78=89']
Exploring Operation: 17+89=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,96 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 |
[
48,
86,
37,
17
] | 17 | [
"86-48=38",
"38-37=1",
"17*1=17"
] | Current State: 17:[48, 86, 37, 17], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [37, 17, 38]
Generated Node #2: [37, 17, 38] from Operation: 86-48=38
Current State: 17:[37, 17, 38], Operations: ['86-48=38']
Exploring Operation: 38-37=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 38-37=1
Current State: 17:[17, 1], Operations: ['86-48=38', '38-37=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[48, 86, 37, 17], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [37, 17, 38]
Generated Node #0,0: 17:[37, 17, 38] Operation: 86-48=38
Exploring Operation: 86-37=49, Resulting Numbers: [48, 17, 49]
Generated Node #0,1: 17:[48, 17, 49] Operation: 86-37=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[37, 17, 38], Operations: ['86-48=38']
Exploring Operation: 37-17=20, Resulting Numbers: [38, 20]
Generated Node #0,0,0: 17:[38, 20] Operation: 37-17=20
Exploring Operation: 38-37=1, Resulting Numbers: [17, 1]
Generated Node #0,0,1: 17:[17, 1] Operation: 38-37=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[17, 1], Operations: ['86-48=38', '38-37=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[48, 86, 37, 17], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [37, 17, 38]
Generated Node #0,0: 17:[37, 17, 38] Operation: 86-48=38
Moving to Node #0,0
Current State: 17:[37, 17, 38], Operations: ['86-48=38']
Exploring Operation: 38-37=1, Resulting Numbers: [17, 1]
Generated Node #0,0,1: 17:[17, 1] Operation: 38-37=1
Moving to Node #0,0,1
Current State: 17:[17, 1], Operations: ['86-48=38', '38-37=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
66,
73,
63,
7
] | 22 | [
"66-63=3",
"73-7=66",
"66/3=22"
] | Current State: 22:[66, 73, 63, 7], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [73, 7, 3]
Generated Node #2: [73, 7, 3] from Operation: 66-63=3
Current State: 22:[73, 7, 3], Operations: ['66-63=3']
Exploring Operation: 73-7=66, Resulting Numbers: [3, 66]
Generated Node #3: [3, 66] from Operation: 73-7=66
Current State: 22:[3, 66], Operations: ['66-63=3', '73-7=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[66, 73, 63, 7], Operations: []
Exploring Operation: 66-7=59, Resulting Numbers: [73, 63, 59]
Generated Node #0,0: 22:[73, 63, 59] Operation: 66-7=59
Exploring Operation: 73-63=10, Resulting Numbers: [66, 7, 10]
Generated Node #0,1: 22:[66, 7, 10] Operation: 73-63=10
Exploring Operation: 66-63=3, Resulting Numbers: [73, 7, 3]
Generated Node #0,2: 22:[73, 7, 3] Operation: 66-63=3
Exploring Operation: 73-66=7, Resulting Numbers: [63, 7, 7]
Generated Node #0,3: 22:[63, 7, 7] Operation: 73-66=7
Exploring Operation: 63/7=9, Resulting Numbers: [66, 73, 9]
Generated Node #0,4: 22:[66, 73, 9] Operation: 63/7=9
Moving to Node #0,1
Current State: 22:[66, 7, 10], Operations: ['73-63=10']
Exploring Operation: 66-10=56, Resulting Numbers: [7, 56]
Generated Node #0,1,0: 22:[7, 56] Operation: 66-10=56
Exploring Operation: 10-7=3, Resulting Numbers: [66, 3]
Generated Node #0,1,1: 22:[66, 3] Operation: 10-7=3
Exploring Operation: 66-7=59, Resulting Numbers: [10, 59]
Generated Node #0,1,2: 22:[10, 59] Operation: 66-7=59
Exploring Operation: 7+10=17, Resulting Numbers: [66, 17]
Generated Node #0,1,3: 22:[66, 17] Operation: 7+10=17
Exploring Operation: 66+7=73, Resulting Numbers: [10, 73]
Generated Node #0,1,4: 22:[10, 73] Operation: 66+7=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[7, 56], Operations: ['73-63=10', '66-10=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,22 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[10, 59], Operations: ['73-63=10', '66-7=59']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,22 unequal: No Solution
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[66, 3], Operations: ['73-63=10', '10-7=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[66, 73, 63, 7], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [66, 7, 10]
Generated Node #0,1: 22:[66, 7, 10] Operation: 73-63=10
Moving to Node #0,1
Current State: 22:[66, 7, 10], Operations: ['73-63=10']
Exploring Operation: 10-7=3, Resulting Numbers: [66, 3]
Generated Node #0,1,1: 22:[66, 3] Operation: 10-7=3
Moving to Node #0,1,1
Current State: 22:[66, 3], Operations: ['73-63=10', '10-7=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
58,
10,
10,
5
] | 92 | [
"10+5=15",
"10*15=150",
"150-58=92"
] | Current State: 92:[58, 10, 10, 5], Operations: []
Exploring Operation: 10+5=15, Resulting Numbers: [58, 15]
Generated Node #2: [58, 15] from Operation: 10+5=15
Current State: 92:[58, 15], Operations: ['10+5=15']
Exploring Operation: 10*15=150, Resulting Numbers: [58, 150]
Generated Node #3: [58, 150] from Operation: 10*15=150
Current State: 92:[58, 150], Operations: ['10+5=15', '10*15=150']
Exploring Operation: 150-58=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[58, 10, 10, 5], Operations: []
Exploring Operation: 58-10=48, Resulting Numbers: [10, 5, 48]
Generated Node #0,0: 92:[10, 5, 48] Operation: 58-10=48
Moving to Node #0,0
Current State: 92:[10, 5, 48], Operations: ['58-10=48']
Exploring Operation: 10/5=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 92:[48, 2] Operation: 10/5=2
Moving to Node #0,0,0
Current State: 92:[48, 2], Operations: ['58-10=48', '10/5=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
74,
4,
81
] | 63 | [
"74+4=78",
"81-78=3",
"21*3=63"
] | Current State: 63:[21, 74, 4, 81], Operations: []
Exploring Operation: 74+4=78, Resulting Numbers: [21, 81, 78]
Generated Node #2: [21, 81, 78] from Operation: 74+4=78
Current State: 63:[21, 81, 78], Operations: ['74+4=78']
Exploring Operation: 81-78=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 81-78=3
Current State: 63:[21, 3], Operations: ['74+4=78', '81-78=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[21, 74, 4, 81], Operations: []
Exploring Operation: 81-74=7, Resulting Numbers: [21, 4, 7]
Generated Node #0,0: 63:[21, 4, 7] Operation: 81-74=7
Moving to Node #0,0
Current State: 63:[21, 4, 7], Operations: ['81-74=7']
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 63:[21, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 63:[21, 3], Operations: ['81-74=7', '7-4=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[21, 74, 4, 81], Operations: []
Exploring Operation: 81-74=7, Resulting Numbers: [21, 4, 7]
Generated Node #0,0: 63:[21, 4, 7] Operation: 81-74=7
Moving to Node #0,0
Current State: 63:[21, 4, 7], Operations: ['81-74=7']
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 63:[21, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 63:[21, 3], Operations: ['81-74=7', '7-4=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
30,
34,
61,
69
] | 66 | [
"30+34=64",
"61+69=130",
"130-64=66"
] | Current State: 66:[30, 34, 61, 69], Operations: []
Exploring Operation: 30+34=64, Resulting Numbers: [61, 69, 64]
Generated Node #2: [61, 69, 64] from Operation: 30+34=64
Current State: 66:[61, 69, 64], Operations: ['30+34=64']
Exploring Operation: 61+69=130, Resulting Numbers: [64, 130]
Generated Node #3: [64, 130] from Operation: 61+69=130
Current State: 66:[64, 130], Operations: ['30+34=64', '61+69=130']
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[30, 34, 61, 69], Operations: []
Exploring Operation: 61-30=31, Resulting Numbers: [34, 69, 31]
Generated Node #0,0: 66:[34, 69, 31] Operation: 61-30=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[34, 69, 31], Operations: ['61-30=31']
Exploring Operation: 34-31=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 66:[69, 3] Operation: 34-31=3
Moving to Node #0,0,0
Current State: 66:[69, 3], Operations: ['61-30=31', '34-31=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[30, 34, 61, 69], Operations: []
Exploring Operation: 61-30=31, Resulting Numbers: [34, 69, 31]
Generated Node #0,0: 66:[34, 69, 31] Operation: 61-30=31
Moving to Node #0,0
Current State: 66:[34, 69, 31], Operations: ['61-30=31']
Exploring Operation: 34-31=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 66:[69, 3] Operation: 34-31=3
Moving to Node #0,0,0
Current State: 66:[69, 3], Operations: ['61-30=31', '34-31=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
70,
33,
15,
44
] | 74 | [
"70+33=103",
"44-15=29",
"103-29=74"
] | Current State: 74:[70, 33, 15, 44], Operations: []
Exploring Operation: 70+33=103, Resulting Numbers: [15, 44, 103]
Generated Node #2: [15, 44, 103] from Operation: 70+33=103
Current State: 74:[15, 44, 103], Operations: ['70+33=103']
Exploring Operation: 44-15=29, Resulting Numbers: [103, 29]
Generated Node #3: [103, 29] from Operation: 44-15=29
Current State: 74:[103, 29], Operations: ['70+33=103', '44-15=29']
Exploring Operation: 103-29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[70, 33, 15, 44], Operations: []
Exploring Operation: 33+44=77, Resulting Numbers: [70, 15, 77]
Generated Node #0,0: 74:[70, 15, 77] Operation: 33+44=77
Exploring Operation: 44-15=29, Resulting Numbers: [70, 33, 29]
Generated Node #0,1: 74:[70, 33, 29] Operation: 44-15=29
Exploring Operation: 70+15=85, Resulting Numbers: [33, 44, 85]
Generated Node #0,2: 74:[33, 44, 85] Operation: 70+15=85
Exploring Operation: 70-33=37, Resulting Numbers: [15, 44, 37]
Generated Node #0,3: 74:[15, 44, 37] Operation: 70-33=37
Moving to Node #0,1
Current State: 74:[70, 33, 29], Operations: ['44-15=29']
Exploring Operation: 33+29=62, Resulting Numbers: [70, 62]
Generated Node #0,1,0: 74:[70, 62] Operation: 33+29=62
Exploring Operation: 70-33=37, Resulting Numbers: [29, 37]
Generated Node #0,1,1: 74:[29, 37] Operation: 70-33=37
Exploring Operation: 33-29=4, Resulting Numbers: [70, 4]
Generated Node #0,1,2: 74:[70, 4] Operation: 33-29=4
Exploring Operation: 70-29=41, Resulting Numbers: [33, 41]
Generated Node #0,1,3: 74:[33, 41] Operation: 70-29=41
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[70, 4], Operations: ['44-15=29', '33-29=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,74 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[70, 33, 15, 44], Operations: []
Exploring Operation: 44-15=29, Resulting Numbers: [70, 33, 29]
Generated Node #0,1: 74:[70, 33, 29] Operation: 44-15=29
Moving to Node #0,1
Current State: 74:[70, 33, 29], Operations: ['44-15=29']
Exploring Operation: 33-29=4, Resulting Numbers: [70, 4]
Generated Node #0,1,2: 74:[70, 4] Operation: 33-29=4
Moving to Node #0,1,2
Current State: 74:[70, 4], Operations: ['44-15=29', '33-29=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
59,
13,
77,
2
] | 17 | [
"13*77=1001",
"2+1001=1003",
"1003/59=17"
] | Current State: 17:[59, 13, 77, 2], Operations: []
Exploring Operation: 13*77=1001, Resulting Numbers: [59, 2, 1001]
Generated Node #2: [59, 2, 1001] from Operation: 13*77=1001
Current State: 17:[59, 2, 1001], Operations: ['13*77=1001']
Exploring Operation: 2+1001=1003, Resulting Numbers: [59, 1003]
Generated Node #3: [59, 1003] from Operation: 2+1001=1003
Current State: 17:[59, 1003], Operations: ['13*77=1001', '2+1001=1003']
Exploring Operation: 1003/59=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[59, 13, 77, 2], Operations: []
Exploring Operation: 59-2=57, Resulting Numbers: [13, 77, 57]
Generated Node #0,0: 17:[13, 77, 57] Operation: 59-2=57
Exploring Operation: 77-59=18, Resulting Numbers: [13, 2, 18]
Generated Node #0,1: 17:[13, 2, 18] Operation: 77-59=18
Exploring Operation: 59-13=46, Resulting Numbers: [77, 2, 46]
Generated Node #0,2: 17:[77, 2, 46] Operation: 59-13=46
Exploring Operation: 77-13=64, Resulting Numbers: [59, 2, 64]
Generated Node #0,3: 17:[59, 2, 64] Operation: 77-13=64
Moving to Node #0,1
Current State: 17:[13, 2, 18], Operations: ['77-59=18']
Exploring Operation: 2+18=20, Resulting Numbers: [13, 20]
Generated Node #0,1,0: 17:[13, 20] Operation: 2+18=20
Exploring Operation: 18-2=16, Resulting Numbers: [13, 16]
Generated Node #0,1,1: 17:[13, 16] Operation: 18-2=16
Exploring Operation: 13+2=15, Resulting Numbers: [18, 15]
Generated Node #0,1,2: 17:[18, 15] Operation: 13+2=15
Exploring Operation: 13-2=11, Resulting Numbers: [18, 11]
Generated Node #0,1,3: 17:[18, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[18, 15], Operations: ['77-59=18', '13+2=15']
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,17 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[13, 16], Operations: ['77-59=18', '18-2=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[13, 20], Operations: ['77-59=18', '2+18=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,17 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 17:[18, 11], Operations: ['77-59=18', '13-2=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,17 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: 17:[77, 2, 46], Operations: ['59-13=46']
Exploring Operation: 77-2=75, Resulting Numbers: [46, 75]
Generated Node #0,2,0: 17:[46, 75] Operation: 77-2=75
Exploring Operation: 46-2=44, Resulting Numbers: [77, 44]
Generated Node #0,2,1: 17:[77, 44] Operation: 46-2=44
Exploring Operation: 77-46=31, Resulting Numbers: [2, 31]
Generated Node #0,2,2: 17:[2, 31] Operation: 77-46=31
Exploring Operation: 46/2=23, Resulting Numbers: [77, 23]
Generated Node #0,2,3: 17:[77, 23] Operation: 46/2=23
Moving to Node #0,0
Current State: 17:[13, 77, 57], Operations: ['59-2=57']
Exploring Operation: 77-57=20, Resulting Numbers: [13, 20]
Generated Node #0,0,0: 17:[13, 20] Operation: 77-57=20
Exploring Operation: 57-13=44, Resulting Numbers: [77, 44]
Generated Node #0,0,1: 17:[77, 44] Operation: 57-13=44
Exploring Operation: 77-13=64, Resulting Numbers: [57, 64]
Generated Node #0,0,2: 17:[57, 64] Operation: 77-13=64
Exploring Operation: 13+77=90, Resulting Numbers: [57, 90]
Generated Node #0,0,3: 17:[57, 90] Operation: 13+77=90
Moving to Node #0,3
Current State: 17:[59, 2, 64], Operations: ['77-13=64']
Exploring Operation: 64-59=5, Resulting Numbers: [2, 5]
Generated Node #0,3,0: 17:[2, 5] Operation: 64-59=5
Exploring Operation: 59-2=57, Resulting Numbers: [64, 57]
Generated Node #0,3,1: 17:[64, 57] Operation: 59-2=57
Exploring Operation: 64/2=32, Resulting Numbers: [59, 32]
Generated Node #0,3,2: 17:[59, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [59, 62]
Generated Node #0,3,3: 17:[59, 62] Operation: 64-2=62
Moving to Node #0,0,0
Current State: 17:[13, 20], Operations: ['59-2=57', '77-57=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[2, 5], Operations: ['77-13=64', '64-59=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[2, 31], Operations: ['59-13=46', '77-46=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[59, 32], Operations: ['77-13=64', '64/2=32']
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,17 unequal: No Solution
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[77, 23], Operations: ['59-13=46', '46/2=23']
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,17 unequal: No Solution
Exploring Operation: 77*23=1771, Resulting Numbers: [1771]
1771,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[46, 75], Operations: ['59-13=46', '77-2=75']
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,17 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,17 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[57, 64], Operations: ['59-2=57', '77-13=64']
Exploring Operation: 57*64=3648, Resulting Numbers: [3648]
3648,17 unequal: No Solution
Exploring Operation: 57+64=121, Resulting Numbers: [121]
121,17 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[77, 44], Operations: ['59-2=57', '57-13=44']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,17 unequal: No Solution
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[64, 57], Operations: ['77-13=64', '59-2=57']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,17 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[77, 44], Operations: ['59-13=46', '46-2=44']
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,17 unequal: No Solution
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,17 unequal: No Solution
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[59, 62], Operations: ['77-13=64', '64-2=62']
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,17 unequal: No Solution
Exploring Operation: 59*62=3658, Resulting Numbers: [3658]
3658,17 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[57, 90], Operations: ['59-2=57', '13+77=90']
Exploring Operation: 57*90=5130, Resulting Numbers: [5130]
5130,17 unequal: No Solution
Exploring Operation: 57+90=147, Resulting Numbers: [147]
147,17 unequal: No Solution
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,17 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
66,
64,
31
] | 29 | [
"66-34=32",
"64/32=2",
"31-2=29"
] | Current State: 29:[34, 66, 64, 31], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [64, 31, 32]
Generated Node #2: [64, 31, 32] from Operation: 66-34=32
Current State: 29:[64, 31, 32], Operations: ['66-34=32']
Exploring Operation: 64/32=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 64/32=2
Current State: 29:[31, 2], Operations: ['66-34=32', '64/32=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[34, 66, 64, 31], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [34, 31, 2]
Generated Node #0,0: 29:[34, 31, 2] Operation: 66-64=2
Exploring Operation: 66-34=32, Resulting Numbers: [64, 31, 32]
Generated Node #0,1: 29:[64, 31, 32] Operation: 66-34=32
Exploring Operation: 64-31=33, Resulting Numbers: [34, 66, 33]
Generated Node #0,2: 29:[34, 66, 33] Operation: 64-31=33
Exploring Operation: 66-31=35, Resulting Numbers: [34, 64, 35]
Generated Node #0,3: 29:[34, 64, 35] Operation: 66-31=35
Exploring Operation: 64-34=30, Resulting Numbers: [66, 31, 30]
Generated Node #0,4: 29:[66, 31, 30] Operation: 64-34=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[34, 31, 2], Operations: ['66-64=2']
Exploring Operation: 34/2=17, Resulting Numbers: [31, 17]
Generated Node #0,0,0: 29:[31, 17] Operation: 34/2=17
Exploring Operation: 31-2=29, Resulting Numbers: [34, 29]
Generated Node #0,0,1: 29:[34, 29] Operation: 31-2=29
Exploring Operation: 34-2=32, Resulting Numbers: [31, 32]
Generated Node #0,0,2: 29:[31, 32] Operation: 34-2=32
Exploring Operation: 34+2=36, Resulting Numbers: [31, 36]
Generated Node #0,0,3: 29:[31, 36] Operation: 34+2=36
Exploring Operation: 31+2=33, Resulting Numbers: [34, 33]
Generated Node #0,0,4: 29:[34, 33] Operation: 31+2=33
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[34, 29], Operations: ['66-64=2', '31-2=29']
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[31, 32], Operations: ['66-64=2', '34-2=32']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,29 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[31, 36], Operations: ['66-64=2', '34+2=36']
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 29:[34, 33], Operations: ['66-64=2', '31+2=33']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,29 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[31, 17], Operations: ['66-64=2', '34/2=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,29 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: 29:[64, 31, 32], Operations: ['66-34=32']
Exploring Operation: 64/32=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 29:[31, 2] Operation: 64/32=2
Exploring Operation: 64+31=95, Resulting Numbers: [32, 95]
Generated Node #0,1,1: 29:[32, 95] Operation: 64+31=95
Exploring Operation: 64-31=33, Resulting Numbers: [32, 33]
Generated Node #0,1,2: 29:[32, 33] Operation: 64-31=33
Exploring Operation: 32-31=1, Resulting Numbers: [64, 1]
Generated Node #0,1,3: 29:[64, 1] Operation: 32-31=1
Exploring Operation: 64-32=32, Resulting Numbers: [31, 32]
Generated Node #0,1,4: 29:[31, 32] Operation: 64-32=32
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 29:[31, 32], Operations: ['66-34=32', '64-32=32']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[32, 33], Operations: ['66-34=32', '64-31=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,29 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[31, 2], Operations: ['66-34=32', '64/32=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[34, 66, 64, 31], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [64, 31, 32]
Generated Node #0,1: 29:[64, 31, 32] Operation: 66-34=32
Moving to Node #0,1
Current State: 29:[64, 31, 32], Operations: ['66-34=32']
Exploring Operation: 64/32=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 29:[31, 2] Operation: 64/32=2
Moving to Node #0,1,0
Current State: 29:[31, 2], Operations: ['66-34=32', '64/32=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
30,
61,
88,
54
] | 57 | [
"30+61=91",
"88-54=34",
"91-34=57"
] | Current State: 57:[30, 61, 88, 54], Operations: []
Exploring Operation: 30+61=91, Resulting Numbers: [88, 54, 91]
Generated Node #2: [88, 54, 91] from Operation: 30+61=91
Current State: 57:[88, 54, 91], Operations: ['30+61=91']
Exploring Operation: 88-54=34, Resulting Numbers: [91, 34]
Generated Node #3: [91, 34] from Operation: 88-54=34
Current State: 57:[91, 34], Operations: ['30+61=91', '88-54=34']
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[30, 61, 88, 54], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [61, 54, 58]
Generated Node #0,0: 57:[61, 54, 58] Operation: 88-30=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[61, 54, 58], Operations: ['88-30=58']
Exploring Operation: 61-58=3, Resulting Numbers: [54, 3]
Generated Node #0,0,0: 57:[54, 3] Operation: 61-58=3
Moving to Node #0,0,0
Current State: 57:[54, 3], Operations: ['88-30=58', '61-58=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[30, 61, 88, 54], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [61, 54, 58]
Generated Node #0,0: 57:[61, 54, 58] Operation: 88-30=58
Moving to Node #0,0
Current State: 57:[61, 54, 58], Operations: ['88-30=58']
Exploring Operation: 61-58=3, Resulting Numbers: [54, 3]
Generated Node #0,0,0: 57:[54, 3] Operation: 61-58=3
Moving to Node #0,0,0
Current State: 57:[54, 3], Operations: ['88-30=58', '61-58=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
98,
74,
60,
8
] | 63 | [
"98-74=24",
"24/8=3",
"60+3=63"
] | Current State: 63:[98, 74, 60, 8], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [60, 8, 24]
Generated Node #2: [60, 8, 24] from Operation: 98-74=24
Current State: 63:[60, 8, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 24/8=3
Current State: 63:[60, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[98, 74, 60, 8], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [60, 8, 24]
Generated Node #0,0: 63:[60, 8, 24] Operation: 98-74=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[60, 8, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [60, 3]
Generated Node #0,0,0: 63:[60, 3] Operation: 24/8=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[60, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[98, 74, 60, 8], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [60, 8, 24]
Generated Node #0,0: 63:[60, 8, 24] Operation: 98-74=24
Moving to Node #0,0
Current State: 63:[60, 8, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [60, 3]
Generated Node #0,0,0: 63:[60, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 63:[60, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
63,
21,
62,
46
] | 36 | [
"63/21=3",
"62+46=108",
"108/3=36"
] | Current State: 36:[63, 21, 62, 46], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [62, 46, 3]
Generated Node #2: [62, 46, 3] from Operation: 63/21=3
Current State: 36:[62, 46, 3], Operations: ['63/21=3']
Exploring Operation: 62+46=108, Resulting Numbers: [3, 108]
Generated Node #3: [3, 108] from Operation: 62+46=108
Current State: 36:[3, 108], Operations: ['63/21=3', '62+46=108']
Exploring Operation: 108/3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[63, 21, 62, 46], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [21, 46, 1]
Generated Node #0,0: 36:[21, 46, 1] Operation: 63-62=1
Moving to Node #0,0
Current State: 36:[21, 46, 1], Operations: ['63-62=1']
Exploring Operation: 46-21=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 36:[1, 25] Operation: 46-21=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[1, 25], Operations: ['63-62=1', '46-21=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,36 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 |
[
57,
51,
73,
58
] | 90 | [
"57-51=6",
"73-58=15",
"6*15=90"
] | Current State: 90:[57, 51, 73, 58], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [73, 58, 6]
Generated Node #2: [73, 58, 6] from Operation: 57-51=6
Current State: 90:[73, 58, 6], Operations: ['57-51=6']
Exploring Operation: 73-58=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 73-58=15
Current State: 90:[6, 15], Operations: ['57-51=6', '73-58=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[57, 51, 73, 58], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [57, 51, 15]
Generated Node #0,0: 90:[57, 51, 15] Operation: 73-58=15
Exploring Operation: 73-57=16, Resulting Numbers: [51, 58, 16]
Generated Node #0,1: 90:[51, 58, 16] Operation: 73-57=16
Exploring Operation: 58-57=1, Resulting Numbers: [51, 73, 1]
Generated Node #0,2: 90:[51, 73, 1] Operation: 58-57=1
Exploring Operation: 73-51=22, Resulting Numbers: [57, 58, 22]
Generated Node #0,3: 90:[57, 58, 22] Operation: 73-51=22
Moving to Node #0,0
Current State: 90:[57, 51, 15], Operations: ['73-58=15']
Exploring Operation: 57-15=42, Resulting Numbers: [51, 42]
Generated Node #0,0,0: 90:[51, 42] Operation: 57-15=42
Exploring Operation: 51-15=36, Resulting Numbers: [57, 36]
Generated Node #0,0,1: 90:[57, 36] Operation: 51-15=36
Exploring Operation: 57+51=108, Resulting Numbers: [15, 108]
Generated Node #0,0,2: 90:[15, 108] Operation: 57+51=108
Exploring Operation: 57-51=6, Resulting Numbers: [15, 6]
Generated Node #0,0,3: 90:[15, 6] Operation: 57-51=6
Moving to Node #0,1
Current State: 90:[51, 58, 16], Operations: ['73-57=16']
Exploring Operation: 58-51=7, Resulting Numbers: [16, 7]
Generated Node #0,1,0: 90:[16, 7] Operation: 58-51=7
Exploring Operation: 51-16=35, Resulting Numbers: [58, 35]
Generated Node #0,1,1: 90:[58, 35] Operation: 51-16=35
Exploring Operation: 58-16=42, Resulting Numbers: [51, 42]
Generated Node #0,1,2: 90:[51, 42] Operation: 58-16=42
Exploring Operation: 51+58=109, Resulting Numbers: [16, 109]
Generated Node #0,1,3: 90:[16, 109] Operation: 51+58=109
Moving to Node #0,2
Current State: 90:[51, 73, 1], Operations: ['58-57=1']
Exploring Operation: 51*1=51, Resulting Numbers: [73, 51]
Generated Node #0,2,0: 90:[73, 51] Operation: 51*1=51
Exploring Operation: 73+1=74, Resulting Numbers: [51, 74]
Generated Node #0,2,1: 90:[51, 74] Operation: 73+1=74
Exploring Operation: 51-1=50, Resulting Numbers: [73, 50]
Generated Node #0,2,2: 90:[73, 50] Operation: 51-1=50
Exploring Operation: 73-51=22, Resulting Numbers: [1, 22]
Generated Node #0,2,3: 90:[1, 22] Operation: 73-51=22
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[1, 22], Operations: ['58-57=1', '73-51=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[51, 74], Operations: ['58-57=1', '73+1=74']
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,90 unequal: No Solution
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[73, 50], Operations: ['58-57=1', '51-1=50']
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,90 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[73, 51], Operations: ['58-57=1', '51*1=51']
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,90 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,90 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: 90:[57, 58, 22], Operations: ['73-51=22']
Exploring Operation: 58-57=1, Resulting Numbers: [22, 1]
Generated Node #0,3,0: 90:[22, 1] Operation: 58-57=1
Exploring Operation: 58-22=36, Resulting Numbers: [57, 36]
Generated Node #0,3,1: 90:[57, 36] Operation: 58-22=36
Exploring Operation: 57-22=35, Resulting Numbers: [58, 35]
Generated Node #0,3,2: 90:[58, 35] Operation: 57-22=35
Exploring Operation: 58+22=80, Resulting Numbers: [57, 80]
Generated Node #0,3,3: 90:[57, 80] Operation: 58+22=80
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[22, 1], Operations: ['73-51=22', '58-57=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[57, 36], Operations: ['73-51=22', '58-22=36']
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,90 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[58, 35], Operations: ['73-51=22', '57-22=35']
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,90 unequal: No Solution
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[57, 80], Operations: ['73-51=22', '58+22=80']
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 57+80=137, Resulting Numbers: [137]
137,90 unequal: No Solution
Exploring Operation: 57*80=4560, Resulting Numbers: [4560]
4560,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 90:[15, 6], Operations: ['73-58=15', '57-51=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[57, 51, 73, 58], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [57, 51, 15]
Generated Node #0,0: 90:[57, 51, 15] Operation: 73-58=15
Moving to Node #0,0
Current State: 90:[57, 51, 15], Operations: ['73-58=15']
Exploring Operation: 57-51=6, Resulting Numbers: [15, 6]
Generated Node #0,0,3: 90:[15, 6] Operation: 57-51=6
Moving to Node #0,0,3
Current State: 90:[15, 6], Operations: ['73-58=15', '57-51=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
2,
76,
90,
63
] | 94 | [
"90/2=45",
"76+63=139",
"139-45=94"
] | Current State: 94:[2, 76, 90, 63], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [76, 63, 45]
Generated Node #2: [76, 63, 45] from Operation: 90/2=45
Current State: 94:[76, 63, 45], Operations: ['90/2=45']
Exploring Operation: 76+63=139, Resulting Numbers: [45, 139]
Generated Node #3: [45, 139] from Operation: 76+63=139
Current State: 94:[45, 139], Operations: ['90/2=45', '76+63=139']
Exploring Operation: 139-45=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[2, 76, 90, 63], Operations: []
Exploring Operation: 90-76=14, Resulting Numbers: [2, 63, 14]
Generated Node #0,0: 94:[2, 63, 14] Operation: 90-76=14
Exploring Operation: 76/2=38, Resulting Numbers: [90, 63, 38]
Generated Node #0,1: 94:[90, 63, 38] Operation: 76/2=38
Exploring Operation: 76-63=13, Resulting Numbers: [2, 90, 13]
Generated Node #0,2: 94:[2, 90, 13] Operation: 76-63=13
Exploring Operation: 2+90=92, Resulting Numbers: [76, 63, 92]
Generated Node #0,3: 94:[76, 63, 92] Operation: 2+90=92
Exploring Operation: 2+76=78, Resulting Numbers: [90, 63, 78]
Generated Node #0,4: 94:[90, 63, 78] Operation: 2+76=78
Moving to Node #0,2
Current State: 94:[2, 90, 13], Operations: ['76-63=13']
Exploring Operation: 90+13=103, Resulting Numbers: [2, 103]
Generated Node #0,2,0: 94:[2, 103] Operation: 90+13=103
Exploring Operation: 13-2=11, Resulting Numbers: [90, 11]
Generated Node #0,2,1: 94:[90, 11] Operation: 13-2=11
Exploring Operation: 90-2=88, Resulting Numbers: [13, 88]
Generated Node #0,2,2: 94:[13, 88] Operation: 90-2=88
Exploring Operation: 2+90=92, Resulting Numbers: [13, 92]
Generated Node #0,2,3: 94:[13, 92] Operation: 2+90=92
Exploring Operation: 90/2=45, Resulting Numbers: [13, 45]
Generated Node #0,2,4: 94:[13, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[2, 103], Operations: ['76-63=13', '90+13=103']
Exploring Operation: 2+103=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 2*103=206, Resulting Numbers: [206]
206,94 unequal: No Solution
Exploring Operation: 103-2=101, Resulting Numbers: [101]
101,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[90, 11], Operations: ['76-63=13', '13-2=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[13, 92], Operations: ['76-63=13', '2+90=92']
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,94 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[13, 45], Operations: ['76-63=13', '90/2=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[13, 88], Operations: ['76-63=13', '90-2=88']
Exploring Operation: 13*88=1144, Resulting Numbers: [1144]
1144,94 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 13+88=101, Resulting Numbers: [101]
101,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 94:[2, 63, 14], Operations: ['90-76=14']
Exploring Operation: 63-2=61, Resulting Numbers: [14, 61]
Generated Node #0,0,0: 94:[14, 61] Operation: 63-2=61
Exploring Operation: 14/2=7, Resulting Numbers: [63, 7]
Generated Node #0,0,1: 94:[63, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [63, 12]
Generated Node #0,0,2: 94:[63, 12] Operation: 14-2=12
Exploring Operation: 63-14=49, Resulting Numbers: [2, 49]
Generated Node #0,0,3: 94:[2, 49] Operation: 63-14=49
Exploring Operation: 63+14=77, Resulting Numbers: [2, 77]
Generated Node #0,0,4: 94:[2, 77] Operation: 63+14=77
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[2, 49], Operations: ['90-76=14', '63-14=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,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,4
Current State: 94:[2, 77], Operations: ['90-76=14', '63+14=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,94 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,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:[63, 7], Operations: ['90-76=14', '14/2=7']
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,94 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,94 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,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:[14, 61], Operations: ['90-76=14', '63-2=61']
Exploring Operation: 14*61=854, Resulting Numbers: [854]
854,94 unequal: No Solution
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[63, 12], Operations: ['90-76=14', '14-2=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 94:[90, 63, 38], Operations: ['76/2=38']
Exploring Operation: 63+38=101, Resulting Numbers: [90, 101]
Generated Node #0,1,0: 94:[90, 101] Operation: 63+38=101
Exploring Operation: 90+38=128, Resulting Numbers: [63, 128]
Generated Node #0,1,1: 94:[63, 128] Operation: 90+38=128
Exploring Operation: 90-38=52, Resulting Numbers: [63, 52]
Generated Node #0,1,2: 94:[63, 52] Operation: 90-38=52
Exploring Operation: 63-38=25, Resulting Numbers: [90, 25]
Generated Node #0,1,3: 94:[90, 25] Operation: 63-38=25
Exploring Operation: 90-63=27, Resulting Numbers: [38, 27]
Generated Node #0,1,4: 94:[38, 27] Operation: 90-63=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[90, 101], Operations: ['76/2=38', '63+38=101']
Exploring Operation: 90+101=191, Resulting Numbers: [191]
191,94 unequal: No Solution
Exploring Operation: 101-90=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 90*101=9090, Resulting Numbers: [9090]
9090,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[63, 52], Operations: ['76/2=38', '90-38=52']
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,94 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[90, 25], Operations: ['76/2=38', '63-38=25']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 94:[38, 27], Operations: ['76/2=38', '90-63=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[63, 128], Operations: ['76/2=38', '90+38=128']
Exploring Operation: 63+128=191, Resulting Numbers: [191]
191,94 unequal: No Solution
Exploring Operation: 128-63=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 63*128=8064, Resulting Numbers: [8064]
8064,94 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: 94:[76, 63, 92], Operations: ['2+90=92']
Exploring Operation: 63+92=155, Resulting Numbers: [76, 155]
Generated Node #0,3,0: 94:[76, 155] Operation: 63+92=155
Exploring Operation: 92-76=16, Resulting Numbers: [63, 16]
Generated Node #0,3,1: 94:[63, 16] Operation: 92-76=16
Exploring Operation: 92-63=29, Resulting Numbers: [76, 29]
Generated Node #0,3,2: 94:[76, 29] Operation: 92-63=29
Exploring Operation: 76-63=13, Resulting Numbers: [92, 13]
Generated Node #0,3,3: 94:[92, 13] Operation: 76-63=13
Exploring Operation: 76+63=139, Resulting Numbers: [92, 139]
Generated Node #0,3,4: 94:[92, 139] Operation: 76+63=139
Moving to Node #0,4
Current State: 94:[90, 63, 78], Operations: ['2+76=78']
Exploring Operation: 90+63=153, Resulting Numbers: [78, 153]
Generated Node #0,4,0: 94:[78, 153] Operation: 90+63=153
Exploring Operation: 78-63=15, Resulting Numbers: [90, 15]
Generated Node #0,4,1: 94:[90, 15] Operation: 78-63=15
Exploring Operation: 90-63=27, Resulting Numbers: [78, 27]
Generated Node #0,4,2: 94:[78, 27] Operation: 90-63=27
Exploring Operation: 63+78=141, Resulting Numbers: [90, 141]
Generated Node #0,4,3: 94:[90, 141] Operation: 63+78=141
Exploring Operation: 90-78=12, Resulting Numbers: [63, 12]
Generated Node #0,4,4: 94:[63, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 94:[90, 15], Operations: ['2+76=78', '78-63=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,94 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,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,4,4
Current State: 94:[63, 12], Operations: ['2+76=78', '90-78=12']
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,94 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,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,4,2
Current State: 94:[78, 27], Operations: ['2+76=78', '90-63=27']
Exploring Operation: 78*27=2106, Resulting Numbers: [2106]
2106,94 unequal: No Solution
Exploring Operation: 78+27=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,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,4,3
Current State: 94:[90, 141], Operations: ['2+76=78', '63+78=141']
Exploring Operation: 90+141=231, Resulting Numbers: [231]
231,94 unequal: No Solution
Exploring Operation: 90*141=12690, Resulting Numbers: [12690]
12690,94 unequal: No Solution
Exploring Operation: 141-90=51, Resulting Numbers: [51]
51,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,4,0
Current State: 94:[78, 153], Operations: ['2+76=78', '90+63=153']
Exploring Operation: 78+153=231, Resulting Numbers: [231]
231,94 unequal: No Solution
Exploring Operation: 153-78=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 78*153=11934, Resulting Numbers: [11934]
11934,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 94:[92, 13], Operations: ['2+90=92', '76-63=13']
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,94 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[63, 16], Operations: ['2+90=92', '92-76=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,94 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[76, 29], Operations: ['2+90=92', '92-63=29']
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[92, 139], Operations: ['2+90=92', '76+63=139']
Exploring Operation: 92+139=231, Resulting Numbers: [231]
231,94 unequal: No Solution
Exploring Operation: 139-92=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 92*139=12788, Resulting Numbers: [12788]
12788,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[76, 155], Operations: ['2+90=92', '63+92=155']
Exploring Operation: 76*155=11780, Resulting Numbers: [11780]
11780,94 unequal: No Solution
Exploring Operation: 76+155=231, Resulting Numbers: [231]
231,94 unequal: No Solution
Exploring Operation: 155-76=79, Resulting Numbers: [79]
79,94 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
60,
85,
33,
81
] | 31 | [
"60+85=145",
"33+81=114",
"145-114=31"
] | Current State: 31:[60, 85, 33, 81], Operations: []
Exploring Operation: 60+85=145, Resulting Numbers: [33, 81, 145]
Generated Node #2: [33, 81, 145] from Operation: 60+85=145
Current State: 31:[33, 81, 145], Operations: ['60+85=145']
Exploring Operation: 33+81=114, Resulting Numbers: [145, 114]
Generated Node #3: [145, 114] from Operation: 33+81=114
Current State: 31:[145, 114], Operations: ['60+85=145', '33+81=114']
Exploring Operation: 145-114=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[60, 85, 33, 81], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [85, 33, 21]
Generated Node #0,0: 31:[85, 33, 21] Operation: 81-60=21
Exploring Operation: 85-60=25, Resulting Numbers: [33, 81, 25]
Generated Node #0,1: 31:[33, 81, 25] Operation: 85-60=25
Exploring Operation: 85-81=4, Resulting Numbers: [60, 33, 4]
Generated Node #0,2: 31:[60, 33, 4] Operation: 85-81=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[33, 81, 25], Operations: ['85-60=25']
Exploring Operation: 81-33=48, Resulting Numbers: [25, 48]
Generated Node #0,1,0: 31:[25, 48] Operation: 81-33=48
Exploring Operation: 33-25=8, Resulting Numbers: [81, 8]
Generated Node #0,1,1: 31:[81, 8] Operation: 33-25=8
Exploring Operation: 81-25=56, Resulting Numbers: [33, 56]
Generated Node #0,1,2: 31:[33, 56] Operation: 81-25=56
Moving to Node #0,1,0
Current State: 31:[25, 48], Operations: ['85-60=25', '81-33=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,31 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[33, 56], Operations: ['85-60=25', '81-25=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[81, 8], Operations: ['85-60=25', '33-25=8']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,31 unequal: No Solution
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[60, 33, 4], Operations: ['85-81=4']
Exploring Operation: 60-4=56, Resulting Numbers: [33, 56]
Generated Node #0,2,0: 31:[33, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [33, 15]
Generated Node #0,2,1: 31:[33, 15] Operation: 60/4=15
Exploring Operation: 60-33=27, Resulting Numbers: [4, 27]
Generated Node #0,2,2: 31:[4, 27] Operation: 60-33=27
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[33, 15], Operations: ['85-81=4', '60/4=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[33, 56], Operations: ['85-81=4', '60-4=56']
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,31 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 31:[4, 27], Operations: ['85-81=4', '60-33=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[60, 85, 33, 81], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [60, 33, 4]
Generated Node #0,2: 31:[60, 33, 4] Operation: 85-81=4
Moving to Node #0,2
Current State: 31:[60, 33, 4], Operations: ['85-81=4']
Exploring Operation: 60-33=27, Resulting Numbers: [4, 27]
Generated Node #0,2,2: 31:[4, 27] Operation: 60-33=27
Moving to Node #0,2,2
Current State: 31:[4, 27], Operations: ['85-81=4', '60-33=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
8,
89,
8,
7
] | 95 | [
"8/8=1",
"89+7=96",
"96-1=95"
] | Current State: 95:[8, 89, 8, 7], Operations: []
Exploring Operation: 8/8=1, Resulting Numbers: [89, 7, 1]
Generated Node #2: [89, 7, 1] from Operation: 8/8=1
Current State: 95:[89, 7, 1], Operations: ['8/8=1']
Exploring Operation: 89+7=96, Resulting Numbers: [1, 96]
Generated Node #3: [1, 96] from Operation: 89+7=96
Current State: 95:[1, 96], Operations: ['8/8=1', '89+7=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[8, 89, 8, 7], Operations: []
Exploring Operation: 89+7=96, Resulting Numbers: [8, 8, 96]
Generated Node #0,0: 95:[8, 8, 96] Operation: 89+7=96
Exploring Operation: 8+8=16, Resulting Numbers: [89, 7, 16]
Generated Node #0,1: 95:[89, 7, 16] Operation: 8+8=16
Exploring Operation: 8+89=97, Resulting Numbers: [8, 7, 97]
Generated Node #0,2: 95:[8, 7, 97] Operation: 8+89=97
Exploring Operation: 89+8=97, Resulting Numbers: [8, 7, 97]
Generated Node #0,3: 95:[8, 7, 97] Operation: 89+8=97
Exploring Operation: 8/8=1, Resulting Numbers: [89, 7, 1]
Generated Node #0,4: 95:[89, 7, 1] Operation: 8/8=1
Moving to Node #0,0
Current State: 95:[8, 8, 96], Operations: ['89+7=96']
Exploring Operation: 96-8=88, Resulting Numbers: [8, 88]
Generated Node #0,0,0: 95:[8, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [8, 12]
Generated Node #0,0,1: 95:[8, 12] Operation: 96/8=12
Exploring Operation: 8/8=1, Resulting Numbers: [96, 1]
Generated Node #0,0,2: 95:[96, 1] Operation: 8/8=1
Exploring Operation: 8-8=0, Resulting Numbers: [96, 0]
Generated Node #0,0,3: 95:[96, 0] Operation: 8-8=0
Exploring Operation: 8+8=16, Resulting Numbers: [96, 16]
Generated Node #0,0,4: 95:[96, 16] Operation: 8+8=16
Moving to Node #0,3
Current State: 95:[8, 7, 97], Operations: ['89+8=97']
Exploring Operation: 8+97=105, Resulting Numbers: [7, 105]
Generated Node #0,3,0: 95:[7, 105] Operation: 8+97=105
Exploring Operation: 8-7=1, Resulting Numbers: [97, 1]
Generated Node #0,3,1: 95:[97, 1] Operation: 8-7=1
Exploring Operation: 97-7=90, Resulting Numbers: [8, 90]
Generated Node #0,3,2: 95:[8, 90] Operation: 97-7=90
Exploring Operation: 8+7=15, Resulting Numbers: [97, 15]
Generated Node #0,3,3: 95:[97, 15] Operation: 8+7=15
Exploring Operation: 97-8=89, Resulting Numbers: [7, 89]
Generated Node #0,3,4: 95:[7, 89] Operation: 97-8=89
Moving to Node #0,2
Current State: 95:[8, 7, 97], Operations: ['8+89=97']
Exploring Operation: 8+7=15, Resulting Numbers: [97, 15]
Generated Node #0,2,0: 95:[97, 15] Operation: 8+7=15
Exploring Operation: 8+97=105, Resulting Numbers: [7, 105]
Generated Node #0,2,1: 95:[7, 105] Operation: 8+97=105
Exploring Operation: 8-7=1, Resulting Numbers: [97, 1]
Generated Node #0,2,2: 95:[97, 1] Operation: 8-7=1
Exploring Operation: 97-8=89, Resulting Numbers: [7, 89]
Generated Node #0,2,3: 95:[7, 89] Operation: 97-8=89
Exploring Operation: 97-7=90, Resulting Numbers: [8, 90]
Generated Node #0,2,4: 95:[8, 90] Operation: 97-7=90
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[97, 15], Operations: ['8+89=97', '8+7=15']
Exploring Operation: 97+15=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 97*15=1455, Resulting Numbers: [1455]
1455,95 unequal: No Solution
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[97, 1], Operations: ['8+89=97', '8-7=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,95 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[7, 89], Operations: ['8+89=97', '97-8=89']
Exploring Operation: 7*89=623, Resulting Numbers: [623]
623,95 unequal: No Solution
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 95:[8, 90], Operations: ['8+89=97', '97-7=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,95 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[7, 105], Operations: ['8+89=97', '8+97=105']
Exploring Operation: 7+105=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 105/7=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 105-7=98, Resulting Numbers: [98]
98,95 unequal: No Solution
Exploring Operation: 7*105=735, Resulting Numbers: [735]
735,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 95:[89, 7, 16], Operations: ['8+8=16']
Exploring Operation: 89-7=82, Resulting Numbers: [16, 82]
Generated Node #0,1,0: 95:[16, 82] Operation: 89-7=82
Exploring Operation: 7+16=23, Resulting Numbers: [89, 23]
Generated Node #0,1,1: 95:[89, 23] Operation: 7+16=23
Exploring Operation: 89+7=96, Resulting Numbers: [16, 96]
Generated Node #0,1,2: 95:[16, 96] Operation: 89+7=96
Exploring Operation: 89+16=105, Resulting Numbers: [7, 105]
Generated Node #0,1,3: 95:[7, 105] Operation: 89+16=105
Exploring Operation: 16-7=9, Resulting Numbers: [89, 9]
Generated Node #0,1,4: 95:[89, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[16, 96], Operations: ['8+8=16', '89+7=96']
Exploring Operation: 16+96=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 16*96=1536, Resulting Numbers: [1536]
1536,95 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[89, 23], Operations: ['8+8=16', '7+16=23']
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,95 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[89, 9], Operations: ['8+8=16', '16-7=9']
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,95 unequal: No Solution
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[7, 105], Operations: ['8+8=16', '89+16=105']
Exploring Operation: 7+105=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 7*105=735, Resulting Numbers: [735]
735,95 unequal: No Solution
Exploring Operation: 105/7=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 105-7=98, Resulting Numbers: [98]
98,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[16, 82], Operations: ['8+8=16', '89-7=82']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,95 unequal: No Solution
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 95:[89, 7, 1], Operations: ['8/8=1']
Exploring Operation: 89+1=90, Resulting Numbers: [7, 90]
Generated Node #0,4,0: 95:[7, 90] Operation: 89+1=90
Exploring Operation: 89*1=89, Resulting Numbers: [7, 89]
Generated Node #0,4,1: 95:[7, 89] Operation: 89*1=89
Exploring Operation: 7-1=6, Resulting Numbers: [89, 6]
Generated Node #0,4,2: 95:[89, 6] Operation: 7-1=6
Exploring Operation: 89+7=96, Resulting Numbers: [1, 96]
Generated Node #0,4,3: 95:[1, 96] Operation: 89+7=96
Exploring Operation: 89/1=89, Resulting Numbers: [7, 89]
Generated Node #0,4,4: 95:[7, 89] Operation: 89/1=89
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 95:[1, 96], Operations: ['8/8=1', '89+7=96']
Exploring Operation: 1+96=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 1*96=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[8, 89, 8, 7], Operations: []
Exploring Operation: 8/8=1, Resulting Numbers: [89, 7, 1]
Generated Node #0,4: 95:[89, 7, 1] Operation: 8/8=1
Moving to Node #0,4
Current State: 95:[89, 7, 1], Operations: ['8/8=1']
Exploring Operation: 89+7=96, Resulting Numbers: [1, 96]
Generated Node #0,4,3: 95:[1, 96] Operation: 89+7=96
Moving to Node #0,4,3
Current State: 95:[1, 96], Operations: ['8/8=1', '89+7=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.9375 | hs_5 | mult_heuristic |
[
34,
17,
47,
25
] | 44 | [
"34/17=2",
"47-25=22",
"2*22=44"
] | Current State: 44:[34, 17, 47, 25], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [47, 25, 2]
Generated Node #2: [47, 25, 2] from Operation: 34/17=2
Current State: 44:[47, 25, 2], Operations: ['34/17=2']
Exploring Operation: 47-25=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 47-25=22
Current State: 44:[2, 22], Operations: ['34/17=2', '47-25=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[34, 17, 47, 25], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [47, 25, 2]
Generated Node #0,0: 44:[47, 25, 2] Operation: 34/17=2
Exploring Operation: 47-34=13, Resulting Numbers: [17, 25, 13]
Generated Node #0,1: 44:[17, 25, 13] Operation: 47-34=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[47, 25, 2], Operations: ['34/17=2']
Exploring Operation: 47-25=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 44:[2, 22] Operation: 47-25=22
Exploring Operation: 47-2=45, Resulting Numbers: [25, 45]
Generated Node #0,0,1: 44:[25, 45] Operation: 47-2=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[2, 22], Operations: ['34/17=2', '47-25=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[34, 17, 47, 25], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [47, 25, 2]
Generated Node #0,0: 44:[47, 25, 2] Operation: 34/17=2
Moving to Node #0,0
Current State: 44:[47, 25, 2], Operations: ['34/17=2']
Exploring Operation: 47-25=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 44:[2, 22] Operation: 47-25=22
Moving to Node #0,0,0
Current State: 44:[2, 22], Operations: ['34/17=2', '47-25=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
49,
96,
94,
1
] | 99 | [
"96-94=2",
"49*2=98",
"1+98=99"
] | Current State: 99:[49, 96, 94, 1], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [49, 1, 2]
Generated Node #2: [49, 1, 2] from Operation: 96-94=2
Current State: 99:[49, 1, 2], Operations: ['96-94=2']
Exploring Operation: 49*2=98, Resulting Numbers: [1, 98]
Generated Node #3: [1, 98] from Operation: 49*2=98
Current State: 99:[1, 98], Operations: ['96-94=2', '49*2=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[49, 96, 94, 1], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [96, 1, 45]
Generated Node #0,0: 99:[96, 1, 45] Operation: 94-49=45
Exploring Operation: 96-94=2, Resulting Numbers: [49, 1, 2]
Generated Node #0,1: 99:[49, 1, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[96, 1, 45], Operations: ['94-49=45']
Exploring Operation: 96+1=97, Resulting Numbers: [45, 97]
Generated Node #0,0,0: 99:[45, 97] Operation: 96+1=97
Exploring Operation: 45-1=44, Resulting Numbers: [96, 44]
Generated Node #0,0,1: 99:[96, 44] Operation: 45-1=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[45, 97], Operations: ['94-49=45', '96+1=97']
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[96, 44], Operations: ['94-49=45', '45-1=44']
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[49, 1, 2], Operations: ['96-94=2']
Exploring Operation: 49*2=98, Resulting Numbers: [1, 98]
Generated Node #0,1,0: 99:[1, 98] Operation: 49*2=98
Exploring Operation: 49-1=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 99:[2, 48] Operation: 49-1=48
Moving to Node #0,1,0
Current State: 99:[1, 98], Operations: ['96-94=2', '49*2=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[49, 96, 94, 1], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [49, 1, 2]
Generated Node #0,1: 99:[49, 1, 2] Operation: 96-94=2
Moving to Node #0,1
Current State: 99:[49, 1, 2], Operations: ['96-94=2']
Exploring Operation: 49*2=98, Resulting Numbers: [1, 98]
Generated Node #0,1,0: 99:[1, 98] Operation: 49*2=98
Moving to Node #0,1,0
Current State: 99:[1, 98], Operations: ['96-94=2', '49*2=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
11,
18,
97,
78
] | 84 | [
"11+97=108",
"108/18=6",
"78+6=84"
] | Current State: 84:[11, 18, 97, 78], Operations: []
Exploring Operation: 11+97=108, Resulting Numbers: [18, 78, 108]
Generated Node #2: [18, 78, 108] from Operation: 11+97=108
Current State: 84:[18, 78, 108], Operations: ['11+97=108']
Exploring Operation: 108/18=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 108/18=6
Current State: 84:[78, 6], Operations: ['11+97=108', '108/18=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[11, 18, 97, 78], Operations: []
Exploring Operation: 97-78=19, Resulting Numbers: [11, 18, 19]
Generated Node #0,0: 84:[11, 18, 19] Operation: 97-78=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[11, 18, 19], Operations: ['97-78=19']
Exploring Operation: 18-11=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 84:[19, 7] Operation: 18-11=7
Moving to Node #0,0,0
Current State: 84:[19, 7], Operations: ['97-78=19', '18-11=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
2,
85,
81
] | 14 | [
"36/2=18",
"85-81=4",
"18-4=14"
] | Current State: 14:[36, 2, 85, 81], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [85, 81, 18]
Generated Node #2: [85, 81, 18] from Operation: 36/2=18
Current State: 14:[85, 81, 18], Operations: ['36/2=18']
Exploring Operation: 85-81=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 85-81=4
Current State: 14:[18, 4], Operations: ['36/2=18', '85-81=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[36, 2, 85, 81], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [36, 2, 4]
Generated Node #0,0: 14:[36, 2, 4] Operation: 85-81=4
Moving to Node #0,0
Current State: 14:[36, 2, 4], Operations: ['85-81=4']
Exploring Operation: 36/4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 14:[2, 9] Operation: 36/4=9
Moving to Node #0,0,0
Current State: 14:[2, 9], Operations: ['85-81=4', '36/4=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
91,
44,
62
] | 25 | [
"91-48=43",
"62-44=18",
"43-18=25"
] | Current State: 25:[48, 91, 44, 62], Operations: []
Exploring Operation: 91-48=43, Resulting Numbers: [44, 62, 43]
Generated Node #2: [44, 62, 43] from Operation: 91-48=43
Current State: 25:[44, 62, 43], Operations: ['91-48=43']
Exploring Operation: 62-44=18, Resulting Numbers: [43, 18]
Generated Node #3: [43, 18] from Operation: 62-44=18
Current State: 25:[43, 18], Operations: ['91-48=43', '62-44=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[48, 91, 44, 62], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [48, 44, 29]
Generated Node #0,0: 25:[48, 44, 29] Operation: 91-62=29
Exploring Operation: 91-44=47, Resulting Numbers: [48, 62, 47]
Generated Node #0,1: 25:[48, 62, 47] Operation: 91-44=47
Exploring Operation: 91-48=43, Resulting Numbers: [44, 62, 43]
Generated Node #0,2: 25:[44, 62, 43] Operation: 91-48=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[48, 44, 29], Operations: ['91-62=29']
Exploring Operation: 44-29=15, Resulting Numbers: [48, 15]
Generated Node #0,0,0: 25:[48, 15] Operation: 44-29=15
Exploring Operation: 48-44=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 25:[29, 4] Operation: 48-44=4
Exploring Operation: 48-29=19, Resulting Numbers: [44, 19]
Generated Node #0,0,2: 25:[44, 19] Operation: 48-29=19
Moving to Node #0,0,1
Current State: 25:[29, 4], Operations: ['91-62=29', '48-44=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,25 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[48, 91, 44, 62], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [48, 44, 29]
Generated Node #0,0: 25:[48, 44, 29] Operation: 91-62=29
Moving to Node #0,0
Current State: 25:[48, 44, 29], Operations: ['91-62=29']
Exploring Operation: 48-44=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 25:[29, 4] Operation: 48-44=4
Moving to Node #0,0,1
Current State: 25:[29, 4], Operations: ['91-62=29', '48-44=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
55,
46,
13,
29
] | 92 | [
"55-29=26",
"46*26=1196",
"1196/13=92"
] | Current State: 92:[55, 46, 13, 29], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [46, 13, 26]
Generated Node #2: [46, 13, 26] from Operation: 55-29=26
Current State: 92:[46, 13, 26], Operations: ['55-29=26']
Exploring Operation: 46*26=1196, Resulting Numbers: [13, 1196]
Generated Node #3: [13, 1196] from Operation: 46*26=1196
Current State: 92:[13, 1196], Operations: ['55-29=26', '46*26=1196']
Exploring Operation: 1196/13=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[55, 46, 13, 29], Operations: []
Exploring Operation: 13+29=42, Resulting Numbers: [55, 46, 42]
Generated Node #0,0: 92:[55, 46, 42] Operation: 13+29=42
Exploring Operation: 29-13=16, Resulting Numbers: [55, 46, 16]
Generated Node #0,1: 92:[55, 46, 16] Operation: 29-13=16
Exploring Operation: 55-29=26, Resulting Numbers: [46, 13, 26]
Generated Node #0,2: 92:[46, 13, 26] Operation: 55-29=26
Exploring Operation: 55-13=42, Resulting Numbers: [46, 29, 42]
Generated Node #0,3: 92:[46, 29, 42] Operation: 55-13=42
Moving to Node #0,3
Current State: 92:[46, 29, 42], Operations: ['55-13=42']
Exploring Operation: 46-29=17, Resulting Numbers: [42, 17]
Generated Node #0,3,0: 92:[42, 17] Operation: 46-29=17
Exploring Operation: 46+42=88, Resulting Numbers: [29, 88]
Generated Node #0,3,1: 92:[29, 88] Operation: 46+42=88
Exploring Operation: 46-42=4, Resulting Numbers: [29, 4]
Generated Node #0,3,2: 92:[29, 4] Operation: 46-42=4
Exploring Operation: 42-29=13, Resulting Numbers: [46, 13]
Generated Node #0,3,3: 92:[46, 13] Operation: 42-29=13
Moving to Node #0,2
Current State: 92:[46, 13, 26], Operations: ['55-29=26']
Exploring Operation: 26-13=13, Resulting Numbers: [46, 13]
Generated Node #0,2,0: 92:[46, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [46, 2]
Generated Node #0,2,1: 92:[46, 2] Operation: 26/13=2
Exploring Operation: 13+26=39, Resulting Numbers: [46, 39]
Generated Node #0,2,2: 92:[46, 39] Operation: 13+26=39
Exploring Operation: 46-26=20, Resulting Numbers: [13, 20]
Generated Node #0,2,3: 92:[13, 20] Operation: 46-26=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[46, 2], Operations: ['55-29=26', '26/13=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[55, 46, 13, 29], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [46, 13, 26]
Generated Node #0,2: 92:[46, 13, 26] Operation: 55-29=26
Moving to Node #0,2
Current State: 92:[46, 13, 26], Operations: ['55-29=26']
Exploring Operation: 26/13=2, Resulting Numbers: [46, 2]
Generated Node #0,2,1: 92:[46, 2] Operation: 26/13=2
Moving to Node #0,2,1
Current State: 92:[46, 2], Operations: ['55-29=26', '26/13=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
12,
97,
80,
78
] | 91 | [
"80-78=2",
"12/2=6",
"97-6=91"
] | Current State: 91:[12, 97, 80, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [12, 97, 2]
Generated Node #2: [12, 97, 2] from Operation: 80-78=2
Current State: 91:[12, 97, 2], Operations: ['80-78=2']
Exploring Operation: 12/2=6, Resulting Numbers: [97, 6]
Generated Node #3: [97, 6] from Operation: 12/2=6
Current State: 91:[97, 6], Operations: ['80-78=2', '12/2=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[12, 97, 80, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [12, 97, 2]
Generated Node #0,0: 91:[12, 97, 2] Operation: 80-78=2
Exploring Operation: 12+78=90, Resulting Numbers: [97, 80, 90]
Generated Node #0,1: 91:[97, 80, 90] Operation: 12+78=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[12, 97, 2], Operations: ['80-78=2']
Exploring Operation: 12+2=14, Resulting Numbers: [97, 14]
Generated Node #0,0,0: 91:[97, 14] Operation: 12+2=14
Exploring Operation: 97-2=95, Resulting Numbers: [12, 95]
Generated Node #0,0,1: 91:[12, 95] Operation: 97-2=95
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[12, 95], Operations: ['80-78=2', '97-2=95']
Exploring Operation: 12+95=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[97, 14], Operations: ['80-78=2', '12+2=14']
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[97, 80, 90], Operations: ['12+78=90']
Exploring Operation: 97-80=17, Resulting Numbers: [90, 17]
Generated Node #0,1,0: 91:[90, 17] Operation: 97-80=17
Exploring Operation: 90-80=10, Resulting Numbers: [97, 10]
Generated Node #0,1,1: 91:[97, 10] Operation: 90-80=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[90, 17], Operations: ['12+78=90', '97-80=17']
Exploring Operation: 90+17=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[97, 10], Operations: ['12+78=90', '90-80=10']
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
27,
33,
43
] | 73 | [
"33-27=6",
"5*6=30",
"43+30=73"
] | Current State: 73:[5, 27, 33, 43], Operations: []
Exploring Operation: 33-27=6, Resulting Numbers: [5, 43, 6]
Generated Node #2: [5, 43, 6] from Operation: 33-27=6
Current State: 73:[5, 43, 6], Operations: ['33-27=6']
Exploring Operation: 5*6=30, Resulting Numbers: [43, 30]
Generated Node #3: [43, 30] from Operation: 5*6=30
Current State: 73:[43, 30], Operations: ['33-27=6', '5*6=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[5, 27, 33, 43], Operations: []
Exploring Operation: 5+27=32, Resulting Numbers: [33, 43, 32]
Generated Node #0,0: 73:[33, 43, 32] Operation: 5+27=32
Exploring Operation: 5+43=48, Resulting Numbers: [27, 33, 48]
Generated Node #0,1: 73:[27, 33, 48] Operation: 5+43=48
Exploring Operation: 5+33=38, Resulting Numbers: [27, 43, 38]
Generated Node #0,2: 73:[27, 43, 38] Operation: 5+33=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[33, 43, 32], Operations: ['5+27=32']
Exploring Operation: 33+32=65, Resulting Numbers: [43, 65]
Generated Node #0,0,0: 73:[43, 65] Operation: 33+32=65
Exploring Operation: 43+32=75, Resulting Numbers: [33, 75]
Generated Node #0,0,1: 73:[33, 75] Operation: 43+32=75
Exploring Operation: 33+43=76, Resulting Numbers: [32, 76]
Generated Node #0,0,2: 73:[32, 76] Operation: 33+43=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[43, 65], Operations: ['5+27=32', '33+32=65']
Exploring Operation: 43*65=2795, Resulting Numbers: [2795]
2795,73 unequal: No Solution
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,73 unequal: No Solution
No 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: 73:[33, 75], Operations: ['5+27=32', '43+32=75']
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,73 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,73 unequal: No Solution
No 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: 73:[32, 76], Operations: ['5+27=32', '33+43=76']
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,73 unequal: No Solution
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,73 unequal: No Solution
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,73 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: 73:[27, 33, 48], Operations: ['5+43=48']
Exploring Operation: 33+48=81, Resulting Numbers: [27, 81]
Generated Node #0,1,0: 73:[27, 81] Operation: 33+48=81
Exploring Operation: 27+48=75, Resulting Numbers: [33, 75]
Generated Node #0,1,1: 73:[33, 75] Operation: 27+48=75
Exploring Operation: 27+33=60, Resulting Numbers: [48, 60]
Generated Node #0,1,2: 73:[48, 60] Operation: 27+33=60
Moving to Node #0,1,2
Current State: 73:[48, 60], Operations: ['5+43=48', '27+33=60']
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[33, 75], Operations: ['5+43=48', '27+48=75']
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,73 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[27, 81], Operations: ['5+43=48', '33+48=81']
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 27+81=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[27, 43, 38], Operations: ['5+33=38']
Exploring Operation: 43+38=81, Resulting Numbers: [27, 81]
Generated Node #0,2,0: 73:[27, 81] Operation: 43+38=81
Exploring Operation: 27+43=70, Resulting Numbers: [38, 70]
Generated Node #0,2,1: 73:[38, 70] Operation: 27+43=70
Exploring Operation: 27+38=65, Resulting Numbers: [43, 65]
Generated Node #0,2,2: 73:[43, 65] Operation: 27+38=65
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[38, 70], Operations: ['5+33=38', '27+43=70']
Exploring Operation: 38*70=2660, Resulting Numbers: [2660]
2660,73 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 38+70=108, Resulting Numbers: [108]
108,73 unequal: No Solution
No 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: 73:[43, 65], Operations: ['5+33=38', '27+38=65']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 43*65=2795, Resulting Numbers: [2795]
2795,73 unequal: No Solution
No 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: 73:[27, 81], Operations: ['5+33=38', '43+38=81']
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 27+81=108, Resulting Numbers: [108]
108,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
51,
2,
74,
53
] | 19 | [
"51+74=125",
"2*53=106",
"125-106=19"
] | Current State: 19:[51, 2, 74, 53], Operations: []
Exploring Operation: 51+74=125, Resulting Numbers: [2, 53, 125]
Generated Node #2: [2, 53, 125] from Operation: 51+74=125
Current State: 19:[2, 53, 125], Operations: ['51+74=125']
Exploring Operation: 2*53=106, Resulting Numbers: [125, 106]
Generated Node #3: [125, 106] from Operation: 2*53=106
Current State: 19:[125, 106], Operations: ['51+74=125', '2*53=106']
Exploring Operation: 125-106=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[51, 2, 74, 53], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [2, 53, 23]
Generated Node #0,0: 19:[2, 53, 23] Operation: 74-51=23
Exploring Operation: 74-53=21, Resulting Numbers: [51, 2, 21]
Generated Node #0,1: 19:[51, 2, 21] Operation: 74-53=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[51, 2, 21], Operations: ['74-53=21']
Exploring Operation: 51-2=49, Resulting Numbers: [21, 49]
Generated Node #0,1,0: 19:[21, 49] Operation: 51-2=49
Exploring Operation: 51-21=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 19:[2, 30] Operation: 51-21=30
Moving to Node #0,1,1
Current State: 19:[2, 30], Operations: ['74-53=21', '51-21=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[21, 49], Operations: ['74-53=21', '51-2=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[2, 53, 23], Operations: ['74-51=23']
Exploring Operation: 53-23=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 19:[2, 30] Operation: 53-23=30
Exploring Operation: 53-2=51, Resulting Numbers: [23, 51]
Generated Node #0,0,1: 19:[23, 51] Operation: 53-2=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[2, 30], Operations: ['74-51=23', '53-23=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[23, 51], Operations: ['74-51=23', '53-2=51']
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
92,
62,
8
] | 74 | [
"92-88=4",
"62+8=70",
"4+70=74"
] | Current State: 74:[88, 92, 62, 8], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [62, 8, 4]
Generated Node #2: [62, 8, 4] from Operation: 92-88=4
Current State: 74:[62, 8, 4], Operations: ['92-88=4']
Exploring Operation: 62+8=70, Resulting Numbers: [4, 70]
Generated Node #3: [4, 70] from Operation: 62+8=70
Current State: 74:[4, 70], Operations: ['92-88=4', '62+8=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[88, 92, 62, 8], Operations: []
Exploring Operation: 88-8=80, Resulting Numbers: [92, 62, 80]
Generated Node #0,0: 74:[92, 62, 80] Operation: 88-8=80
Exploring Operation: 88-62=26, Resulting Numbers: [92, 8, 26]
Generated Node #0,1: 74:[92, 8, 26] Operation: 88-62=26
Exploring Operation: 92-62=30, Resulting Numbers: [88, 8, 30]
Generated Node #0,2: 74:[88, 8, 30] Operation: 92-62=30
Exploring Operation: 92-88=4, Resulting Numbers: [62, 8, 4]
Generated Node #0,3: 74:[62, 8, 4] Operation: 92-88=4
Moving to Node #0,3
Current State: 74:[62, 8, 4], Operations: ['92-88=4']
Exploring Operation: 62+4=66, Resulting Numbers: [8, 66]
Generated Node #0,3,0: 74:[8, 66] Operation: 62+4=66
Exploring Operation: 62+8=70, Resulting Numbers: [4, 70]
Generated Node #0,3,1: 74:[4, 70] Operation: 62+8=70
Exploring Operation: 8-4=4, Resulting Numbers: [62, 4]
Generated Node #0,3,2: 74:[62, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [62, 2]
Generated Node #0,3,3: 74:[62, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[4, 70], Operations: ['92-88=4', '62+8=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[88, 92, 62, 8], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [62, 8, 4]
Generated Node #0,3: 74:[62, 8, 4] Operation: 92-88=4
Moving to Node #0,3
Current State: 74:[62, 8, 4], Operations: ['92-88=4']
Exploring Operation: 62+8=70, Resulting Numbers: [4, 70]
Generated Node #0,3,1: 74:[4, 70] Operation: 62+8=70
Moving to Node #0,3,1
Current State: 74:[4, 70], Operations: ['92-88=4', '62+8=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
67,
43,
37,
86
] | 25 | [
"67-43=24",
"86-37=49",
"49-24=25"
] | Current State: 25:[67, 43, 37, 86], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [37, 86, 24]
Generated Node #2: [37, 86, 24] from Operation: 67-43=24
Current State: 25:[37, 86, 24], Operations: ['67-43=24']
Exploring Operation: 86-37=49, Resulting Numbers: [24, 49]
Generated Node #3: [24, 49] from Operation: 86-37=49
Current State: 25:[24, 49], Operations: ['67-43=24', '86-37=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[67, 43, 37, 86], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [43, 37, 19]
Generated Node #0,0: 25:[43, 37, 19] Operation: 86-67=19
Exploring Operation: 86/43=2, Resulting Numbers: [67, 37, 2]
Generated Node #0,1: 25:[67, 37, 2] Operation: 86/43=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[43, 37, 19], Operations: ['86-67=19']
Exploring Operation: 43-37=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 25:[19, 6] Operation: 43-37=6
Exploring Operation: 43-19=24, Resulting Numbers: [37, 24]
Generated Node #0,0,1: 25:[37, 24] Operation: 43-19=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[19, 6], Operations: ['86-67=19', '43-37=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[67, 43, 37, 86], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [43, 37, 19]
Generated Node #0,0: 25:[43, 37, 19] Operation: 86-67=19
Moving to Node #0,0
Current State: 25:[43, 37, 19], Operations: ['86-67=19']
Exploring Operation: 43-37=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 25:[19, 6] Operation: 43-37=6
Moving to Node #0,0,0
Current State: 25:[19, 6], Operations: ['86-67=19', '43-37=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
36,
28,
41,
94
] | 46 | [
"41-36=5",
"28*5=140",
"140-94=46"
] | Current State: 46:[36, 28, 41, 94], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [28, 94, 5]
Generated Node #2: [28, 94, 5] from Operation: 41-36=5
Current State: 46:[28, 94, 5], Operations: ['41-36=5']
Exploring Operation: 28*5=140, Resulting Numbers: [94, 140]
Generated Node #3: [94, 140] from Operation: 28*5=140
Current State: 46:[94, 140], Operations: ['41-36=5', '28*5=140']
Exploring Operation: 140-94=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[36, 28, 41, 94], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [28, 41, 58]
Generated Node #0,0: 46:[28, 41, 58] Operation: 94-36=58
Exploring Operation: 94-41=53, Resulting Numbers: [36, 28, 53]
Generated Node #0,1: 46:[36, 28, 53] Operation: 94-41=53
Moving to Node #0,0
Current State: 46:[28, 41, 58], Operations: ['94-36=58']
Exploring Operation: 58-41=17, Resulting Numbers: [28, 17]
Generated Node #0,0,0: 46:[28, 17] Operation: 58-41=17
Exploring Operation: 58-28=30, Resulting Numbers: [41, 30]
Generated Node #0,0,1: 46:[41, 30] Operation: 58-28=30
Moving to Node #0,1
Current State: 46:[36, 28, 53], Operations: ['94-41=53']
Exploring Operation: 53-28=25, Resulting Numbers: [36, 25]
Generated Node #0,1,0: 46:[36, 25] Operation: 53-28=25
Exploring Operation: 53-36=17, Resulting Numbers: [28, 17]
Generated Node #0,1,1: 46:[28, 17] Operation: 53-36=17
Moving to Node #0,0,0
Current State: 46:[28, 17], Operations: ['94-36=58', '58-41=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[28, 17], Operations: ['94-41=53', '53-36=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[41, 30], Operations: ['94-36=58', '58-28=30']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[36, 25], Operations: ['94-41=53', '53-28=25']
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
7,
40,
22
] | 63 | [
"88-7=81",
"40-22=18",
"81-18=63"
] | Current State: 63:[88, 7, 40, 22], Operations: []
Exploring Operation: 88-7=81, Resulting Numbers: [40, 22, 81]
Generated Node #2: [40, 22, 81] from Operation: 88-7=81
Current State: 63:[40, 22, 81], Operations: ['88-7=81']
Exploring Operation: 40-22=18, Resulting Numbers: [81, 18]
Generated Node #3: [81, 18] from Operation: 40-22=18
Current State: 63:[81, 18], Operations: ['88-7=81', '40-22=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[88, 7, 40, 22], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [7, 22, 48]
Generated Node #0,0: 63:[7, 22, 48] Operation: 88-40=48
Moving to Node #0,0
Current State: 63:[7, 22, 48], Operations: ['88-40=48']
Exploring Operation: 48-22=26, Resulting Numbers: [7, 26]
Generated Node #0,0,0: 63:[7, 26] Operation: 48-22=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[7, 26], Operations: ['88-40=48', '48-22=26']
Exploring Operation: 26-7=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_1 | mult_heuristic |
[
21,
28,
40,
56
] | 23 | [
"28-21=7",
"56-40=16",
"7+16=23"
] | Current State: 23:[21, 28, 40, 56], Operations: []
Exploring Operation: 28-21=7, Resulting Numbers: [40, 56, 7]
Generated Node #2: [40, 56, 7] from Operation: 28-21=7
Current State: 23:[40, 56, 7], Operations: ['28-21=7']
Exploring Operation: 56-40=16, Resulting Numbers: [7, 16]
Generated Node #3: [7, 16] from Operation: 56-40=16
Current State: 23:[7, 16], Operations: ['28-21=7', '56-40=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[21, 28, 40, 56], Operations: []
Exploring Operation: 56-21=35, Resulting Numbers: [28, 40, 35]
Generated Node #0,0: 23:[28, 40, 35] Operation: 56-21=35
Exploring Operation: 56-28=28, Resulting Numbers: [21, 40, 28]
Generated Node #0,1: 23:[21, 40, 28] Operation: 56-28=28
Exploring Operation: 40-21=19, Resulting Numbers: [28, 56, 19]
Generated Node #0,2: 23:[28, 56, 19] Operation: 40-21=19
Exploring Operation: 56-40=16, Resulting Numbers: [21, 28, 16]
Generated Node #0,3: 23:[21, 28, 16] Operation: 56-40=16
Exploring Operation: 56/28=2, Resulting Numbers: [21, 40, 2]
Generated Node #0,4: 23:[21, 40, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[21, 28, 16], Operations: ['56-40=16']
Exploring Operation: 28-16=12, Resulting Numbers: [21, 12]
Generated Node #0,3,0: 23:[21, 12] Operation: 28-16=12
Exploring Operation: 21+16=37, Resulting Numbers: [28, 37]
Generated Node #0,3,1: 23:[28, 37] Operation: 21+16=37
Exploring Operation: 28-21=7, Resulting Numbers: [16, 7]
Generated Node #0,3,2: 23:[16, 7] Operation: 28-21=7
Exploring Operation: 21-16=5, Resulting Numbers: [28, 5]
Generated Node #0,3,3: 23:[28, 5] Operation: 21-16=5
Exploring Operation: 28+16=44, Resulting Numbers: [21, 44]
Generated Node #0,3,4: 23:[21, 44] Operation: 28+16=44
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[21, 12], Operations: ['56-40=16', '28-16=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,23 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[28, 37], Operations: ['56-40=16', '21+16=37']
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,23 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 23:[16, 7], Operations: ['56-40=16', '28-21=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[21, 28, 40, 56], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [21, 28, 16]
Generated Node #0,3: 23:[21, 28, 16] Operation: 56-40=16
Moving to Node #0,3
Current State: 23:[21, 28, 16], Operations: ['56-40=16']
Exploring Operation: 28-21=7, Resulting Numbers: [16, 7]
Generated Node #0,3,2: 23:[16, 7] Operation: 28-21=7
Moving to Node #0,3,2
Current State: 23:[16, 7], Operations: ['56-40=16', '28-21=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
45,
65,
35,
36
] | 93 | [
"35*36=1260",
"1260/45=28",
"65+28=93"
] | Current State: 93:[45, 65, 35, 36], Operations: []
Exploring Operation: 35*36=1260, Resulting Numbers: [45, 65, 1260]
Generated Node #2: [45, 65, 1260] from Operation: 35*36=1260
Current State: 93:[45, 65, 1260], Operations: ['35*36=1260']
Exploring Operation: 1260/45=28, Resulting Numbers: [65, 28]
Generated Node #3: [65, 28] from Operation: 1260/45=28
Current State: 93:[65, 28], Operations: ['35*36=1260', '1260/45=28']
Exploring Operation: 65+28=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[45, 65, 35, 36], Operations: []
Exploring Operation: 65-35=30, Resulting Numbers: [45, 36, 30]
Generated Node #0,0: 93:[45, 36, 30] Operation: 65-35=30
Exploring Operation: 65-45=20, Resulting Numbers: [35, 36, 20]
Generated Node #0,1: 93:[35, 36, 20] Operation: 65-45=20
Moving to Node #0,0
Current State: 93:[45, 36, 30], Operations: ['65-35=30']
Exploring Operation: 45-36=9, Resulting Numbers: [30, 9]
Generated Node #0,0,0: 93:[30, 9] Operation: 45-36=9
Exploring Operation: 45+36=81, Resulting Numbers: [30, 81]
Generated Node #0,0,1: 93:[30, 81] Operation: 45+36=81
Moving to Node #0,1
Current State: 93:[35, 36, 20], Operations: ['65-45=20']
Exploring Operation: 35-20=15, Resulting Numbers: [36, 15]
Generated Node #0,1,0: 93:[36, 15] Operation: 35-20=15
Exploring Operation: 36-35=1, Resulting Numbers: [20, 1]
Generated Node #0,1,1: 93:[20, 1] Operation: 36-35=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[20, 1], Operations: ['65-45=20', '36-35=1']
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[36, 15], Operations: ['65-45=20', '35-20=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,93 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: 93:[30, 9], Operations: ['65-35=30', '45-36=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[30, 81], Operations: ['65-35=30', '45+36=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,93 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
98,
74,
77
] | 97 | [
"3+74=77",
"77/77=1",
"98-1=97"
] | Current State: 97:[3, 98, 74, 77], Operations: []
Exploring Operation: 3+74=77, Resulting Numbers: [98, 77, 77]
Generated Node #2: [98, 77, 77] from Operation: 3+74=77
Current State: 97:[98, 77, 77], Operations: ['3+74=77']
Exploring Operation: 77/77=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 77/77=1
Current State: 97:[98, 1], Operations: ['3+74=77', '77/77=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[3, 98, 74, 77], Operations: []
Exploring Operation: 3+77=80, Resulting Numbers: [98, 74, 80]
Generated Node #0,0: 97:[98, 74, 80] Operation: 3+77=80
Exploring Operation: 3+98=101, Resulting Numbers: [74, 77, 101]
Generated Node #0,1: 97:[74, 77, 101] Operation: 3+98=101
Exploring Operation: 3+74=77, Resulting Numbers: [98, 77, 77]
Generated Node #0,2: 97:[98, 77, 77] Operation: 3+74=77
Exploring Operation: 98-3=95, Resulting Numbers: [74, 77, 95]
Generated Node #0,3: 97:[74, 77, 95] Operation: 98-3=95
Exploring Operation: 74-3=71, Resulting Numbers: [98, 77, 71]
Generated Node #0,4: 97:[98, 77, 71] Operation: 74-3=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[98, 74, 80], Operations: ['3+77=80']
Exploring Operation: 98-80=18, Resulting Numbers: [74, 18]
Generated Node #0,0,0: 97:[74, 18] Operation: 98-80=18
Exploring Operation: 80-74=6, Resulting Numbers: [98, 6]
Generated Node #0,0,1: 97:[98, 6] Operation: 80-74=6
Exploring Operation: 98-74=24, Resulting Numbers: [80, 24]
Generated Node #0,0,2: 97:[80, 24] Operation: 98-74=24
Exploring Operation: 74+80=154, Resulting Numbers: [98, 154]
Generated Node #0,0,3: 97:[98, 154] Operation: 74+80=154
Exploring Operation: 98+74=172, Resulting Numbers: [80, 172]
Generated Node #0,0,4: 97:[80, 172] Operation: 98+74=172
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[98, 154], Operations: ['3+77=80', '74+80=154']
Exploring Operation: 98+154=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Exploring Operation: 154-98=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 98*154=15092, Resulting Numbers: [15092]
15092,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[80, 24], Operations: ['3+77=80', '98-74=24']
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,97 unequal: No Solution
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[98, 6], Operations: ['3+77=80', '80-74=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,97 unequal: No Solution
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,97 unequal: No Solution
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 97:[80, 172], Operations: ['3+77=80', '98+74=172']
Exploring Operation: 80+172=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Exploring Operation: 80*172=13760, Resulting Numbers: [13760]
13760,97 unequal: No Solution
Exploring Operation: 172-80=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[74, 18], Operations: ['3+77=80', '98-80=18']
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,97 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,97 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,97 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: 97:[98, 77, 77], Operations: ['3+74=77']
Exploring Operation: 98-77=21, Resulting Numbers: [77, 21]
Generated Node #0,2,0: 97:[77, 21] Operation: 98-77=21
Exploring Operation: 77+77=154, Resulting Numbers: [98, 154]
Generated Node #0,2,1: 97:[98, 154] Operation: 77+77=154
Exploring Operation: 77/77=1, Resulting Numbers: [98, 1]
Generated Node #0,2,2: 97:[98, 1] Operation: 77/77=1
Exploring Operation: 98-77=21, Resulting Numbers: [77, 21]
Generated Node #0,2,3: 97:[77, 21] Operation: 98-77=21
Exploring Operation: 98+77=175, Resulting Numbers: [77, 175]
Generated Node #0,2,4: 97:[77, 175] Operation: 98+77=175
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[98, 154], Operations: ['3+74=77', '77+77=154']
Exploring Operation: 98+154=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Exploring Operation: 98*154=15092, Resulting Numbers: [15092]
15092,97 unequal: No Solution
Exploring Operation: 154-98=56, Resulting Numbers: [56]
56,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[77, 21], Operations: ['3+74=77', '98-77=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[77, 21], Operations: ['3+74=77', '98-77=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,97 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[98, 1], Operations: ['3+74=77', '77/77=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[3, 98, 74, 77], Operations: []
Exploring Operation: 3+74=77, Resulting Numbers: [98, 77, 77]
Generated Node #0,2: 97:[98, 77, 77] Operation: 3+74=77
Moving to Node #0,2
Current State: 97:[98, 77, 77], Operations: ['3+74=77']
Exploring Operation: 77/77=1, Resulting Numbers: [98, 1]
Generated Node #0,2,2: 97:[98, 1] Operation: 77/77=1
Moving to Node #0,2,2
Current State: 97:[98, 1], Operations: ['3+74=77', '77/77=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
2,
37,
59,
1
] | 83 | [
"59+1=60",
"2*60=120",
"120-37=83"
] | Current State: 83:[2, 37, 59, 1], Operations: []
Exploring Operation: 59+1=60, Resulting Numbers: [2, 37, 60]
Generated Node #2: [2, 37, 60] from Operation: 59+1=60
Current State: 83:[2, 37, 60], Operations: ['59+1=60']
Exploring Operation: 2*60=120, Resulting Numbers: [37, 120]
Generated Node #3: [37, 120] from Operation: 2*60=120
Current State: 83:[37, 120], Operations: ['59+1=60', '2*60=120']
Exploring Operation: 120-37=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[2, 37, 59, 1], Operations: []
Exploring Operation: 2+1=3, Resulting Numbers: [37, 59, 3]
Generated Node #0,0: 83:[37, 59, 3] Operation: 2+1=3
Exploring Operation: 2*37=74, Resulting Numbers: [59, 1, 74]
Generated Node #0,1: 83:[59, 1, 74] Operation: 2*37=74
Exploring Operation: 2+37=39, Resulting Numbers: [59, 1, 39]
Generated Node #0,2: 83:[59, 1, 39] Operation: 2+37=39
Exploring Operation: 2+59=61, Resulting Numbers: [37, 1, 61]
Generated Node #0,3: 83:[37, 1, 61] Operation: 2+59=61
Moving to Node #0,1
Current State: 83:[59, 1, 74], Operations: ['2*37=74']
Exploring Operation: 1+74=75, Resulting Numbers: [59, 75]
Generated Node #0,1,0: 83:[59, 75] Operation: 1+74=75
Exploring Operation: 59/1=59, Resulting Numbers: [74, 59]
Generated Node #0,1,1: 83:[74, 59] Operation: 59/1=59
Exploring Operation: 59+1=60, Resulting Numbers: [74, 60]
Generated Node #0,1,2: 83:[74, 60] Operation: 59+1=60
Exploring Operation: 59*1=59, Resulting Numbers: [74, 59]
Generated Node #0,1,3: 83:[74, 59] Operation: 59*1=59
Moving to Node #0,2
Current State: 83:[59, 1, 39], Operations: ['2+37=39']
Exploring Operation: 59+1=60, Resulting Numbers: [39, 60]
Generated Node #0,2,0: 83:[39, 60] Operation: 59+1=60
Exploring Operation: 1+39=40, Resulting Numbers: [59, 40]
Generated Node #0,2,1: 83:[59, 40] Operation: 1+39=40
Exploring Operation: 59/1=59, Resulting Numbers: [39, 59]
Generated Node #0,2,2: 83:[39, 59] Operation: 59/1=59
Exploring Operation: 59*1=59, Resulting Numbers: [39, 59]
Generated Node #0,2,3: 83:[39, 59] Operation: 59*1=59
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[39, 60], Operations: ['2+37=39', '59+1=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,83 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[59, 40], Operations: ['2+37=39', '1+39=40']
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[39, 59], Operations: ['2+37=39', '59/1=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[39, 59], Operations: ['2+37=39', '59*1=59']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,83 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: 83:[37, 59, 3], Operations: ['2+1=3']
Exploring Operation: 37+3=40, Resulting Numbers: [59, 40]
Generated Node #0,0,0: 83:[59, 40] Operation: 37+3=40
Exploring Operation: 59+3=62, Resulting Numbers: [37, 62]
Generated Node #0,0,1: 83:[37, 62] Operation: 59+3=62
Exploring Operation: 37*3=111, Resulting Numbers: [59, 111]
Generated Node #0,0,2: 83:[59, 111] Operation: 37*3=111
Exploring Operation: 37-3=34, Resulting Numbers: [59, 34]
Generated Node #0,0,3: 83:[59, 34] Operation: 37-3=34
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[59, 111], Operations: ['2+1=3', '37*3=111']
Exploring Operation: 59*111=6549, Resulting Numbers: [6549]
6549,83 unequal: No Solution
Exploring Operation: 59+111=170, Resulting Numbers: [170]
170,83 unequal: No Solution
Exploring Operation: 111-59=52, Resulting Numbers: [52]
52,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[59, 40], Operations: ['2+1=3', '37+3=40']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,83 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[37, 62], Operations: ['2+1=3', '59+3=62']
Exploring Operation: 37*62=2294, Resulting Numbers: [2294]
2294,83 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 37+62=99, Resulting Numbers: [99]
99,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[59, 34], Operations: ['2+1=3', '37-3=34']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,83 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: 83:[37, 1, 61], Operations: ['2+59=61']
Exploring Operation: 37+1=38, Resulting Numbers: [61, 38]
Generated Node #0,3,0: 83:[61, 38] Operation: 37+1=38
Exploring Operation: 37*1=37, Resulting Numbers: [61, 37]
Generated Node #0,3,1: 83:[61, 37] Operation: 37*1=37
Exploring Operation: 1+61=62, Resulting Numbers: [37, 62]
Generated Node #0,3,2: 83:[37, 62] Operation: 1+61=62
Exploring Operation: 37/1=37, Resulting Numbers: [61, 37]
Generated Node #0,3,3: 83:[61, 37] Operation: 37/1=37
Moving to Node #0,1,0
Current State: 83:[59, 75], Operations: ['2*37=74', '1+74=75']
Exploring Operation: 59*75=4425, Resulting Numbers: [4425]
4425,83 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 59+75=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[74, 60], Operations: ['2*37=74', '59+1=60']
Exploring Operation: 74+60=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Exploring Operation: 74*60=4440, Resulting Numbers: [4440]
4440,83 unequal: No Solution
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[74, 59], Operations: ['2*37=74', '59/1=59']
Exploring Operation: 74*59=4366, Resulting Numbers: [4366]
4366,83 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[74, 59], Operations: ['2*37=74', '59*1=59']
Exploring Operation: 74*59=4366, Resulting Numbers: [4366]
4366,83 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[37, 62], Operations: ['2+59=61', '1+61=62']
Exploring Operation: 37+62=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 37*62=2294, Resulting Numbers: [2294]
2294,83 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[61, 38], Operations: ['2+59=61', '37+1=38']
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[61, 37], Operations: ['2+59=61', '37/1=37']
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[61, 37], Operations: ['2+59=61', '37*1=37']
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,83 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
24,
71,
60
] | 35 | [
"22+24=46",
"71-60=11",
"46-11=35"
] | Current State: 35:[22, 24, 71, 60], Operations: []
Exploring Operation: 22+24=46, Resulting Numbers: [71, 60, 46]
Generated Node #2: [71, 60, 46] from Operation: 22+24=46
Current State: 35:[71, 60, 46], Operations: ['22+24=46']
Exploring Operation: 71-60=11, Resulting Numbers: [46, 11]
Generated Node #3: [46, 11] from Operation: 71-60=11
Current State: 35:[46, 11], Operations: ['22+24=46', '71-60=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[22, 24, 71, 60], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [22, 24, 11]
Generated Node #0,0: 35:[22, 24, 11] Operation: 71-60=11
Exploring Operation: 71-22=49, Resulting Numbers: [24, 60, 49]
Generated Node #0,1: 35:[24, 60, 49] Operation: 71-22=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[22, 24, 11], Operations: ['71-60=11']
Exploring Operation: 22+11=33, Resulting Numbers: [24, 33]
Generated Node #0,0,0: 35:[24, 33] Operation: 22+11=33
Exploring Operation: 24-22=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 35:[11, 2] Operation: 24-22=2
Moving to Node #0,0,1
Current State: 35:[11, 2], Operations: ['71-60=11', '24-22=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[24, 33], Operations: ['71-60=11', '22+11=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[24, 60, 49], Operations: ['71-22=49']
Exploring Operation: 60-49=11, Resulting Numbers: [24, 11]
Generated Node #0,1,0: 35:[24, 11] Operation: 60-49=11
Exploring Operation: 60-24=36, Resulting Numbers: [49, 36]
Generated Node #0,1,1: 35:[49, 36] Operation: 60-24=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[24, 11], Operations: ['71-22=49', '60-49=11']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[22, 24, 71, 60], Operations: []
Exploring Operation: 71-22=49, Resulting Numbers: [24, 60, 49]
Generated Node #0,1: 35:[24, 60, 49] Operation: 71-22=49
Moving to Node #0,1
Current State: 35:[24, 60, 49], Operations: ['71-22=49']
Exploring Operation: 60-49=11, Resulting Numbers: [24, 11]
Generated Node #0,1,0: 35:[24, 11] Operation: 60-49=11
Moving to Node #0,1,0
Current State: 35:[24, 11], Operations: ['71-22=49', '60-49=11']
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
42,
9,
87,
91
] | 47 | [
"42+9=51",
"91-87=4",
"51-4=47"
] | Current State: 47:[42, 9, 87, 91], Operations: []
Exploring Operation: 42+9=51, Resulting Numbers: [87, 91, 51]
Generated Node #2: [87, 91, 51] from Operation: 42+9=51
Current State: 47:[87, 91, 51], Operations: ['42+9=51']
Exploring Operation: 91-87=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 91-87=4
Current State: 47:[51, 4], Operations: ['42+9=51', '91-87=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[42, 9, 87, 91], Operations: []
Exploring Operation: 87-9=78, Resulting Numbers: [42, 91, 78]
Generated Node #0,0: 47:[42, 91, 78] Operation: 87-9=78
Exploring Operation: 91-42=49, Resulting Numbers: [9, 87, 49]
Generated Node #0,1: 47:[9, 87, 49] Operation: 91-42=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[42, 91, 78], Operations: ['87-9=78']
Exploring Operation: 91-78=13, Resulting Numbers: [42, 13]
Generated Node #0,0,0: 47:[42, 13] Operation: 91-78=13
Exploring Operation: 91-42=49, Resulting Numbers: [78, 49]
Generated Node #0,0,1: 47:[78, 49] Operation: 91-42=49
Moving to Node #0,0,1
Current State: 47:[78, 49], Operations: ['87-9=78', '91-42=49']
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[42, 13], Operations: ['87-9=78', '91-78=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[9, 87, 49], Operations: ['91-42=49']
Exploring Operation: 49-9=40, Resulting Numbers: [87, 40]
Generated Node #0,1,0: 47:[87, 40] Operation: 49-9=40
Exploring Operation: 87-9=78, Resulting Numbers: [49, 78]
Generated Node #0,1,1: 47:[49, 78] Operation: 87-9=78
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[49, 78], Operations: ['91-42=49', '87-9=78']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[87, 40], Operations: ['91-42=49', '49-9=40']
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[42, 9, 87, 91], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [9, 87, 49]
Generated Node #0,1: 47:[9, 87, 49] Operation: 91-42=49
Moving to Node #0,1
Current State: 47:[9, 87, 49], Operations: ['91-42=49']
Exploring Operation: 49-9=40, Resulting Numbers: [87, 40]
Generated Node #0,1,0: 47:[87, 40] Operation: 49-9=40
Moving to Node #0,1,0
Current State: 47:[87, 40], Operations: ['91-42=49', '49-9=40']
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
11,
71,
7,
88
] | 35 | [
"71-11=60",
"7+88=95",
"95-60=35"
] | Current State: 35:[11, 71, 7, 88], Operations: []
Exploring Operation: 71-11=60, Resulting Numbers: [7, 88, 60]
Generated Node #2: [7, 88, 60] from Operation: 71-11=60
Current State: 35:[7, 88, 60], Operations: ['71-11=60']
Exploring Operation: 7+88=95, Resulting Numbers: [60, 95]
Generated Node #3: [60, 95] from Operation: 7+88=95
Current State: 35:[60, 95], Operations: ['71-11=60', '7+88=95']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[11, 71, 7, 88], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [11, 7, 17]
Generated Node #0,0: 35:[11, 7, 17] Operation: 88-71=17
Exploring Operation: 88/11=8, Resulting Numbers: [71, 7, 8]
Generated Node #0,1: 35:[71, 7, 8] Operation: 88/11=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[11, 7, 17], Operations: ['88-71=17']
Exploring Operation: 11+17=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 35:[7, 28] Operation: 11+17=28
Exploring Operation: 17-11=6, Resulting Numbers: [7, 6]
Generated Node #0,0,1: 35:[7, 6] Operation: 17-11=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[7, 6], Operations: ['88-71=17', '17-11=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[7, 28], Operations: ['88-71=17', '11+17=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[11, 71, 7, 88], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [11, 7, 17]
Generated Node #0,0: 35:[11, 7, 17] Operation: 88-71=17
Moving to Node #0,0
Current State: 35:[11, 7, 17], Operations: ['88-71=17']
Exploring Operation: 11+17=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 35:[7, 28] Operation: 11+17=28
Moving to Node #0,0,0
Current State: 35:[7, 28], Operations: ['88-71=17', '11+17=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
5,
24,
2,
47
] | 83 | [
"24+2=26",
"5*26=130",
"130-47=83"
] | Current State: 83:[5, 24, 2, 47], Operations: []
Exploring Operation: 24+2=26, Resulting Numbers: [5, 47, 26]
Generated Node #2: [5, 47, 26] from Operation: 24+2=26
Current State: 83:[5, 47, 26], Operations: ['24+2=26']
Exploring Operation: 5*26=130, Resulting Numbers: [47, 130]
Generated Node #3: [47, 130] from Operation: 5*26=130
Current State: 83:[47, 130], Operations: ['24+2=26', '5*26=130']
Exploring Operation: 130-47=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[5, 24, 2, 47], Operations: []
Exploring Operation: 2*47=94, Resulting Numbers: [5, 24, 94]
Generated Node #0,0: 83:[5, 24, 94] Operation: 2*47=94
Exploring Operation: 24*2=48, Resulting Numbers: [5, 47, 48]
Generated Node #0,1: 83:[5, 47, 48] Operation: 24*2=48
Exploring Operation: 5*24=120, Resulting Numbers: [2, 47, 120]
Generated Node #0,2: 83:[2, 47, 120] Operation: 5*24=120
Exploring Operation: 5*2=10, Resulting Numbers: [24, 47, 10]
Generated Node #0,3: 83:[24, 47, 10] Operation: 5*2=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[5, 24, 94], Operations: ['2*47=94']
Exploring Operation: 24-5=19, Resulting Numbers: [94, 19]
Generated Node #0,0,0: 83:[94, 19] Operation: 24-5=19
Exploring Operation: 94-5=89, Resulting Numbers: [24, 89]
Generated Node #0,0,1: 83:[24, 89] Operation: 94-5=89
Exploring Operation: 5*24=120, Resulting Numbers: [94, 120]
Generated Node #0,0,2: 83:[94, 120] Operation: 5*24=120
Exploring Operation: 5+24=29, Resulting Numbers: [94, 29]
Generated Node #0,0,3: 83:[94, 29] Operation: 5+24=29
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[94, 120], Operations: ['2*47=94', '5*24=120']
Exploring Operation: 94+120=214, Resulting Numbers: [214]
214,83 unequal: No Solution
Exploring Operation: 94*120=11280, Resulting Numbers: [11280]
11280,83 unequal: No Solution
Exploring Operation: 120-94=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[24, 89], Operations: ['2*47=94', '94-5=89']
Exploring Operation: 24+89=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 24*89=2136, Resulting Numbers: [2136]
2136,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[94, 29], Operations: ['2*47=94', '5+24=29']
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,83 unequal: No Solution
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[94, 19], Operations: ['2*47=94', '24-5=19']
Exploring Operation: 94*19=1786, Resulting Numbers: [1786]
1786,83 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,83 unequal: No Solution
Exploring Operation: 94+19=113, Resulting Numbers: [113]
113,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[5, 47, 48], Operations: ['24*2=48']
Exploring Operation: 48-5=43, Resulting Numbers: [47, 43]
Generated Node #0,1,0: 83:[47, 43] Operation: 48-5=43
Exploring Operation: 5+48=53, Resulting Numbers: [47, 53]
Generated Node #0,1,1: 83:[47, 53] Operation: 5+48=53
Exploring Operation: 47-5=42, Resulting Numbers: [48, 42]
Generated Node #0,1,2: 83:[48, 42] Operation: 47-5=42
Exploring Operation: 5+47=52, Resulting Numbers: [48, 52]
Generated Node #0,1,3: 83:[48, 52] Operation: 5+47=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[47, 53], Operations: ['24*2=48', '5+48=53']
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,83 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[48, 52], Operations: ['24*2=48', '5+47=52']
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[47, 43], Operations: ['24*2=48', '48-5=43']
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,83 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[48, 42], Operations: ['24*2=48', '47-5=42']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[2, 47, 120], Operations: ['5*24=120']
Exploring Operation: 2+47=49, Resulting Numbers: [120, 49]
Generated Node #0,2,0: 83:[120, 49] Operation: 2+47=49
Exploring Operation: 120/2=60, Resulting Numbers: [47, 60]
Generated Node #0,2,1: 83:[47, 60] Operation: 120/2=60
Exploring Operation: 2*47=94, Resulting Numbers: [120, 94]
Generated Node #0,2,2: 83:[120, 94] Operation: 2*47=94
Exploring Operation: 120-2=118, Resulting Numbers: [47, 118]
Generated Node #0,2,3: 83:[47, 118] Operation: 120-2=118
Moving to Node #0,2,2
Current State: 83:[120, 94], Operations: ['5*24=120', '2*47=94']
Exploring Operation: 120+94=214, Resulting Numbers: [214]
214,83 unequal: No Solution
Exploring Operation: 120-94=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 120*94=11280, Resulting Numbers: [11280]
11280,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[47, 60], Operations: ['5*24=120', '120/2=60']
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,83 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[47, 118], Operations: ['5*24=120', '120-2=118']
Exploring Operation: 118-47=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 47+118=165, Resulting Numbers: [165]
165,83 unequal: No Solution
Exploring Operation: 47*118=5546, Resulting Numbers: [5546]
5546,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[120, 49], Operations: ['5*24=120', '2+47=49']
Exploring Operation: 120-49=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 120*49=5880, Resulting Numbers: [5880]
5880,83 unequal: No Solution
Exploring Operation: 120+49=169, Resulting Numbers: [169]
169,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[24, 47, 10], Operations: ['5*2=10']
Exploring Operation: 24+47=71, Resulting Numbers: [10, 71]
Generated Node #0,3,0: 83:[10, 71] Operation: 24+47=71
Exploring Operation: 24+10=34, Resulting Numbers: [47, 34]
Generated Node #0,3,1: 83:[47, 34] Operation: 24+10=34
Exploring Operation: 47+10=57, Resulting Numbers: [24, 57]
Generated Node #0,3,2: 83:[24, 57] Operation: 47+10=57
Exploring Operation: 24-10=14, Resulting Numbers: [47, 14]
Generated Node #0,3,3: 83:[47, 14] Operation: 24-10=14
Moving to Node #0,3,0
Current State: 83:[10, 71], Operations: ['5*2=10', '24+47=71']
Exploring Operation: 10*71=710, Resulting Numbers: [710]
710,83 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[24, 57], Operations: ['5*2=10', '47+10=57']
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,83 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[47, 34], Operations: ['5*2=10', '24+10=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[47, 14], Operations: ['5*2=10', '24-10=14']
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,83 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,83 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 |
[
77,
99,
85,
17
] | 46 | [
"99-77=22",
"85-17=68",
"68-22=46"
] | Current State: 46:[77, 99, 85, 17], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [85, 17, 22]
Generated Node #2: [85, 17, 22] from Operation: 99-77=22
Current State: 46:[85, 17, 22], Operations: ['99-77=22']
Exploring Operation: 85-17=68, Resulting Numbers: [22, 68]
Generated Node #3: [22, 68] from Operation: 85-17=68
Current State: 46:[22, 68], Operations: ['99-77=22', '85-17=68']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[77, 99, 85, 17], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [77, 17, 14]
Generated Node #0,0: 46:[77, 17, 14] Operation: 99-85=14
Exploring Operation: 99-77=22, Resulting Numbers: [85, 17, 22]
Generated Node #0,1: 46:[85, 17, 22] Operation: 99-77=22
Moving to Node #0,0
Current State: 46:[77, 17, 14], Operations: ['99-85=14']
Exploring Operation: 77-14=63, Resulting Numbers: [17, 63]
Generated Node #0,0,0: 46:[17, 63] Operation: 77-14=63
Exploring Operation: 77-17=60, Resulting Numbers: [14, 60]
Generated Node #0,0,1: 46:[14, 60] Operation: 77-17=60
Moving to Node #0,1
Current State: 46:[85, 17, 22], Operations: ['99-77=22']
Exploring Operation: 85/17=5, Resulting Numbers: [22, 5]
Generated Node #0,1,0: 46:[22, 5] Operation: 85/17=5
Exploring Operation: 85-17=68, Resulting Numbers: [22, 68]
Generated Node #0,1,1: 46:[22, 68] Operation: 85-17=68
Moving to Node #0,1,0
Current State: 46:[22, 5], Operations: ['99-77=22', '85/17=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[17, 63], Operations: ['99-85=14', '77-14=63']
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[77, 99, 85, 17], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [77, 17, 14]
Generated Node #0,0: 46:[77, 17, 14] Operation: 99-85=14
Moving to Node #0,0
Current State: 46:[77, 17, 14], Operations: ['99-85=14']
Exploring Operation: 77-14=63, Resulting Numbers: [17, 63]
Generated Node #0,0,0: 46:[17, 63] Operation: 77-14=63
Moving to Node #0,0,0
Current State: 46:[17, 63], Operations: ['99-85=14', '77-14=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
30,
95,
39,
64
] | 22 | [
"30+95=125",
"39+64=103",
"125-103=22"
] | Current State: 22:[30, 95, 39, 64], Operations: []
Exploring Operation: 30+95=125, Resulting Numbers: [39, 64, 125]
Generated Node #2: [39, 64, 125] from Operation: 30+95=125
Current State: 22:[39, 64, 125], Operations: ['30+95=125']
Exploring Operation: 39+64=103, Resulting Numbers: [125, 103]
Generated Node #3: [125, 103] from Operation: 39+64=103
Current State: 22:[125, 103], Operations: ['30+95=125', '39+64=103']
Exploring Operation: 125-103=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[30, 95, 39, 64], Operations: []
Exploring Operation: 95-39=56, Resulting Numbers: [30, 64, 56]
Generated Node #0,0: 22:[30, 64, 56] Operation: 95-39=56
Exploring Operation: 64-39=25, Resulting Numbers: [30, 95, 25]
Generated Node #0,1: 22:[30, 95, 25] Operation: 64-39=25
Exploring Operation: 95-64=31, Resulting Numbers: [30, 39, 31]
Generated Node #0,2: 22:[30, 39, 31] Operation: 95-64=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[30, 39, 31], Operations: ['95-64=31']
Exploring Operation: 39-30=9, Resulting Numbers: [31, 9]
Generated Node #0,2,0: 22:[31, 9] Operation: 39-30=9
Exploring Operation: 31-30=1, Resulting Numbers: [39, 1]
Generated Node #0,2,1: 22:[39, 1] Operation: 31-30=1
Exploring Operation: 39-31=8, Resulting Numbers: [30, 8]
Generated Node #0,2,2: 22:[30, 8] Operation: 39-31=8
Moving to Node #0,2,0
Current State: 22:[31, 9], Operations: ['95-64=31', '39-30=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[30, 95, 39, 64], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [30, 39, 31]
Generated Node #0,2: 22:[30, 39, 31] Operation: 95-64=31
Moving to Node #0,2
Current State: 22:[30, 39, 31], Operations: ['95-64=31']
Exploring Operation: 39-30=9, Resulting Numbers: [31, 9]
Generated Node #0,2,0: 22:[31, 9] Operation: 39-30=9
Moving to Node #0,2,0
Current State: 22:[31, 9], Operations: ['95-64=31', '39-30=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.