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 |
|---|---|---|---|---|---|---|---|---|
[
79,
26,
75,
41
] | 19 | [
"79-26=53",
"75-41=34",
"53-34=19"
] | Current State: 19:[79, 26, 75, 41], Operations: []
Exploring Operation: 79-26=53, Resulting Numbers: [75, 41, 53]
Generated Node #2: [75, 41, 53] from Operation: 79-26=53
Current State: 19:[75, 41, 53], Operations: ['79-26=53']
Exploring Operation: 75-41=34, Resulting Numbers: [53, 34]
Generated Node #3: [53, 34] from Operation: 75-41=34
Current State: 19:[53, 34], Operations: ['79-26=53', '75-41=34']
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[79, 26, 75, 41], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [26, 41, 4]
Generated Node #0,0: 19:[26, 41, 4] Operation: 79-75=4
Exploring Operation: 79-41=38, Resulting Numbers: [26, 75, 38]
Generated Node #0,1: 19:[26, 75, 38] Operation: 79-41=38
Moving to Node #0,0
Current State: 19:[26, 41, 4], Operations: ['79-75=4']
Exploring Operation: 41-26=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 19:[4, 15] Operation: 41-26=15
Exploring Operation: 26-4=22, Resulting Numbers: [41, 22]
Generated Node #0,0,1: 19:[41, 22] Operation: 26-4=22
Moving to Node #0,1
Current State: 19:[26, 75, 38], Operations: ['79-41=38']
Exploring Operation: 75-38=37, Resulting Numbers: [26, 37]
Generated Node #0,1,0: 19:[26, 37] Operation: 75-38=37
Exploring Operation: 75-26=49, Resulting Numbers: [38, 49]
Generated Node #0,1,1: 19:[38, 49] Operation: 75-26=49
Moving to Node #0,0,0
Current State: 19:[4, 15], Operations: ['79-75=4', '41-26=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[79, 26, 75, 41], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [26, 41, 4]
Generated Node #0,0: 19:[26, 41, 4] Operation: 79-75=4
Moving to Node #0,0
Current State: 19:[26, 41, 4], Operations: ['79-75=4']
Exploring Operation: 41-26=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 19:[4, 15] Operation: 41-26=15
Moving to Node #0,0,0
Current State: 19:[4, 15], Operations: ['79-75=4', '41-26=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
34,
25,
97,
80
] | 50 | [
"34*25=850",
"97-80=17",
"850/17=50"
] | Current State: 50:[34, 25, 97, 80], Operations: []
Exploring Operation: 34*25=850, Resulting Numbers: [97, 80, 850]
Generated Node #2: [97, 80, 850] from Operation: 34*25=850
Current State: 50:[97, 80, 850], Operations: ['34*25=850']
Exploring Operation: 97-80=17, Resulting Numbers: [850, 17]
Generated Node #3: [850, 17] from Operation: 97-80=17
Current State: 50:[850, 17], Operations: ['34*25=850', '97-80=17']
Exploring Operation: 850/17=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[34, 25, 97, 80], Operations: []
Exploring Operation: 80-34=46, Resulting Numbers: [25, 97, 46]
Generated Node #0,0: 50:[25, 97, 46] Operation: 80-34=46
Exploring Operation: 97-80=17, Resulting Numbers: [34, 25, 17]
Generated Node #0,1: 50:[34, 25, 17] Operation: 97-80=17
Exploring Operation: 97-34=63, Resulting Numbers: [25, 80, 63]
Generated Node #0,2: 50:[25, 80, 63] Operation: 97-34=63
Exploring Operation: 97-25=72, Resulting Numbers: [34, 80, 72]
Generated Node #0,3: 50:[34, 80, 72] Operation: 97-25=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[34, 25, 17], Operations: ['97-80=17']
Exploring Operation: 34-17=17, Resulting Numbers: [25, 17]
Generated Node #0,1,0: 50:[25, 17] Operation: 34-17=17
Exploring Operation: 34-25=9, Resulting Numbers: [17, 9]
Generated Node #0,1,1: 50:[17, 9] Operation: 34-25=9
Exploring Operation: 34+17=51, Resulting Numbers: [25, 51]
Generated Node #0,1,2: 50:[25, 51] Operation: 34+17=51
Exploring Operation: 34/17=2, Resulting Numbers: [25, 2]
Generated Node #0,1,3: 50:[25, 2] Operation: 34/17=2
Moving to Node #0,1,3
Current State: 50:[25, 2], Operations: ['97-80=17', '34/17=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[34, 25, 97, 80], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [34, 25, 17]
Generated Node #0,1: 50:[34, 25, 17] Operation: 97-80=17
Moving to Node #0,1
Current State: 50:[34, 25, 17], Operations: ['97-80=17']
Exploring Operation: 34/17=2, Resulting Numbers: [25, 2]
Generated Node #0,1,3: 50:[25, 2] Operation: 34/17=2
Moving to Node #0,1,3
Current State: 50:[25, 2], Operations: ['97-80=17', '34/17=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
7,
91,
83,
98
] | 56 | [
"91+98=189",
"189/7=27",
"83-27=56"
] | Current State: 56:[7, 91, 83, 98], Operations: []
Exploring Operation: 91+98=189, Resulting Numbers: [7, 83, 189]
Generated Node #2: [7, 83, 189] from Operation: 91+98=189
Current State: 56:[7, 83, 189], Operations: ['91+98=189']
Exploring Operation: 189/7=27, Resulting Numbers: [83, 27]
Generated Node #3: [83, 27] from Operation: 189/7=27
Current State: 56:[83, 27], Operations: ['91+98=189', '189/7=27']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[7, 91, 83, 98], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [7, 83, 7]
Generated Node #0,0: 56:[7, 83, 7] Operation: 98-91=7
Exploring Operation: 98-83=15, Resulting Numbers: [7, 91, 15]
Generated Node #0,1: 56:[7, 91, 15] Operation: 98-83=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[7, 83, 7], Operations: ['98-91=7']
Exploring Operation: 83-7=76, Resulting Numbers: [7, 76]
Generated Node #0,0,0: 56:[7, 76] Operation: 83-7=76
Exploring Operation: 83-7=76, Resulting Numbers: [7, 76]
Generated Node #0,0,1: 56:[7, 76] Operation: 83-7=76
Moving to Node #0,0,0
Current State: 56:[7, 76], Operations: ['98-91=7', '83-7=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[7, 76], Operations: ['98-91=7', '83-7=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[7, 91, 15], Operations: ['98-83=15']
Exploring Operation: 91-15=76, Resulting Numbers: [7, 76]
Generated Node #0,1,0: 56:[7, 76] Operation: 91-15=76
Exploring Operation: 91/7=13, Resulting Numbers: [15, 13]
Generated Node #0,1,1: 56:[15, 13] Operation: 91/7=13
Moving to Node #0,1,1
Current State: 56:[15, 13], Operations: ['98-83=15', '91/7=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[7, 76], Operations: ['98-83=15', '91-15=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,56 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 |
[
16,
84,
61,
89
] | 50 | [
"16+84=100",
"61+89=150",
"150-100=50"
] | Current State: 50:[16, 84, 61, 89], Operations: []
Exploring Operation: 16+84=100, Resulting Numbers: [61, 89, 100]
Generated Node #2: [61, 89, 100] from Operation: 16+84=100
Current State: 50:[61, 89, 100], Operations: ['16+84=100']
Exploring Operation: 61+89=150, Resulting Numbers: [100, 150]
Generated Node #3: [100, 150] from Operation: 61+89=150
Current State: 50:[100, 150], Operations: ['16+84=100', '61+89=150']
Exploring Operation: 150-100=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[16, 84, 61, 89], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [61, 89, 68]
Generated Node #0,0: 50:[61, 89, 68] Operation: 84-16=68
Exploring Operation: 89-61=28, Resulting Numbers: [16, 84, 28]
Generated Node #0,1: 50:[16, 84, 28] Operation: 89-61=28
Exploring Operation: 89-84=5, Resulting Numbers: [16, 61, 5]
Generated Node #0,2: 50:[16, 61, 5] Operation: 89-84=5
Exploring Operation: 84-61=23, Resulting Numbers: [16, 89, 23]
Generated Node #0,3: 50:[16, 89, 23] Operation: 84-61=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[16, 61, 5], Operations: ['89-84=5']
Exploring Operation: 16-5=11, Resulting Numbers: [61, 11]
Generated Node #0,2,0: 50:[61, 11] Operation: 16-5=11
Exploring Operation: 61-5=56, Resulting Numbers: [16, 56]
Generated Node #0,2,1: 50:[16, 56] Operation: 61-5=56
Exploring Operation: 61-16=45, Resulting Numbers: [5, 45]
Generated Node #0,2,2: 50:[5, 45] Operation: 61-16=45
Exploring Operation: 16+5=21, Resulting Numbers: [61, 21]
Generated Node #0,2,3: 50:[61, 21] Operation: 16+5=21
Moving to Node #0,2,2
Current State: 50:[5, 45], Operations: ['89-84=5', '61-16=45']
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,50 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[16, 84, 61, 89], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [16, 61, 5]
Generated Node #0,2: 50:[16, 61, 5] Operation: 89-84=5
Moving to Node #0,2
Current State: 50:[16, 61, 5], Operations: ['89-84=5']
Exploring Operation: 61-16=45, Resulting Numbers: [5, 45]
Generated Node #0,2,2: 50:[5, 45] Operation: 61-16=45
Moving to Node #0,2,2
Current State: 50:[5, 45], Operations: ['89-84=5', '61-16=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
39,
10,
86,
70
] | 45 | [
"39-10=29",
"86-70=16",
"29+16=45"
] | Current State: 45:[39, 10, 86, 70], Operations: []
Exploring Operation: 39-10=29, Resulting Numbers: [86, 70, 29]
Generated Node #2: [86, 70, 29] from Operation: 39-10=29
Current State: 45:[86, 70, 29], Operations: ['39-10=29']
Exploring Operation: 86-70=16, Resulting Numbers: [29, 16]
Generated Node #3: [29, 16] from Operation: 86-70=16
Current State: 45:[29, 16], Operations: ['39-10=29', '86-70=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[39, 10, 86, 70], Operations: []
Exploring Operation: 86-39=47, Resulting Numbers: [10, 70, 47]
Generated Node #0,0: 45:[10, 70, 47] Operation: 86-39=47
Exploring Operation: 70-39=31, Resulting Numbers: [10, 86, 31]
Generated Node #0,1: 45:[10, 86, 31] Operation: 70-39=31
Exploring Operation: 86-70=16, Resulting Numbers: [39, 10, 16]
Generated Node #0,2: 45:[39, 10, 16] Operation: 86-70=16
Exploring Operation: 70/10=7, Resulting Numbers: [39, 86, 7]
Generated Node #0,3: 45:[39, 86, 7] Operation: 70/10=7
Exploring Operation: 86-10=76, Resulting Numbers: [39, 70, 76]
Generated Node #0,4: 45:[39, 70, 76] Operation: 86-10=76
Moving to Node #0,2
Current State: 45:[39, 10, 16], Operations: ['86-70=16']
Exploring Operation: 39-10=29, Resulting Numbers: [16, 29]
Generated Node #0,2,0: 45:[16, 29] Operation: 39-10=29
Exploring Operation: 39+16=55, Resulting Numbers: [10, 55]
Generated Node #0,2,1: 45:[10, 55] Operation: 39+16=55
Exploring Operation: 39+10=49, Resulting Numbers: [16, 49]
Generated Node #0,2,2: 45:[16, 49] Operation: 39+10=49
Exploring Operation: 39-16=23, Resulting Numbers: [10, 23]
Generated Node #0,2,3: 45:[10, 23] Operation: 39-16=23
Exploring Operation: 16-10=6, Resulting Numbers: [39, 6]
Generated Node #0,2,4: 45:[39, 6] Operation: 16-10=6
Moving to Node #0,0
Current State: 45:[10, 70, 47], Operations: ['86-39=47']
Exploring Operation: 70-47=23, Resulting Numbers: [10, 23]
Generated Node #0,0,0: 45:[10, 23] Operation: 70-47=23
Exploring Operation: 70/10=7, Resulting Numbers: [47, 7]
Generated Node #0,0,1: 45:[47, 7] Operation: 70/10=7
Exploring Operation: 47-10=37, Resulting Numbers: [70, 37]
Generated Node #0,0,2: 45:[70, 37] Operation: 47-10=37
Exploring Operation: 10+70=80, Resulting Numbers: [47, 80]
Generated Node #0,0,3: 45:[47, 80] Operation: 10+70=80
Exploring Operation: 70-10=60, Resulting Numbers: [47, 60]
Generated Node #0,0,4: 45:[47, 60] Operation: 70-10=60
Moving to Node #0,3
Current State: 45:[39, 86, 7], Operations: ['70/10=7']
Exploring Operation: 86-39=47, Resulting Numbers: [7, 47]
Generated Node #0,3,0: 45:[7, 47] Operation: 86-39=47
Exploring Operation: 86-7=79, Resulting Numbers: [39, 79]
Generated Node #0,3,1: 45:[39, 79] Operation: 86-7=79
Exploring Operation: 86+7=93, Resulting Numbers: [39, 93]
Generated Node #0,3,2: 45:[39, 93] Operation: 86+7=93
Exploring Operation: 39+7=46, Resulting Numbers: [86, 46]
Generated Node #0,3,3: 45:[86, 46] Operation: 39+7=46
Exploring Operation: 39-7=32, Resulting Numbers: [86, 32]
Generated Node #0,3,4: 45:[86, 32] Operation: 39-7=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[7, 47], Operations: ['70/10=7', '86-39=47']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,45 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,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,3,1
Current State: 45:[39, 79], Operations: ['70/10=7', '86-7=79']
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,45 unequal: No Solution
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,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,3,3
Current State: 45:[86, 46], Operations: ['70/10=7', '39+7=46']
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 86+46=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 86*46=3956, Resulting Numbers: [3956]
3956,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,3,2
Current State: 45:[39, 93], Operations: ['70/10=7', '86+7=93']
Exploring Operation: 39+93=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 39*93=3627, Resulting Numbers: [3627]
3627,45 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,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,3,4
Current State: 45:[86, 32], Operations: ['70/10=7', '39-7=32']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,45 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 45:[10, 86, 31], Operations: ['70-39=31']
Exploring Operation: 86-31=55, Resulting Numbers: [10, 55]
Generated Node #0,1,0: 45:[10, 55] Operation: 86-31=55
Exploring Operation: 10+86=96, Resulting Numbers: [31, 96]
Generated Node #0,1,1: 45:[31, 96] Operation: 10+86=96
Exploring Operation: 31-10=21, Resulting Numbers: [86, 21]
Generated Node #0,1,2: 45:[86, 21] Operation: 31-10=21
Exploring Operation: 10+31=41, Resulting Numbers: [86, 41]
Generated Node #0,1,3: 45:[86, 41] Operation: 10+31=41
Exploring Operation: 86-10=76, Resulting Numbers: [31, 76]
Generated Node #0,1,4: 45:[31, 76] Operation: 86-10=76
Moving to Node #0,4
Current State: 45:[39, 70, 76], Operations: ['86-10=76']
Exploring Operation: 76-39=37, Resulting Numbers: [70, 37]
Generated Node #0,4,0: 45:[70, 37] Operation: 76-39=37
Exploring Operation: 70-39=31, Resulting Numbers: [76, 31]
Generated Node #0,4,1: 45:[76, 31] Operation: 70-39=31
Exploring Operation: 76-70=6, Resulting Numbers: [39, 6]
Generated Node #0,4,2: 45:[39, 6] Operation: 76-70=6
Exploring Operation: 39+76=115, Resulting Numbers: [70, 115]
Generated Node #0,4,3: 45:[70, 115] Operation: 39+76=115
Exploring Operation: 39+70=109, Resulting Numbers: [76, 109]
Generated Node #0,4,4: 45:[76, 109] Operation: 39+70=109
Moving to Node #0,0,1
Current State: 45:[47, 7], Operations: ['86-39=47', '70/10=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[16, 49], Operations: ['86-70=16', '39+10=49']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 16*49=784, Resulting Numbers: [784]
784,45 unequal: No Solution
Exploring Operation: 16+49=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[39, 6], Operations: ['86-70=16', '16-10=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[39, 10, 86, 70], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [39, 10, 16]
Generated Node #0,2: 45:[39, 10, 16] Operation: 86-70=16
Moving to Node #0,2
Current State: 45:[39, 10, 16], Operations: ['86-70=16']
Exploring Operation: 16-10=6, Resulting Numbers: [39, 6]
Generated Node #0,2,4: 45:[39, 6] Operation: 16-10=6
Moving to Node #0,2,4
Current State: 45:[39, 6], Operations: ['86-70=16', '16-10=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.951389 | hs_5 | mult_heuristic |
[
62,
12,
54,
46
] | 15 | [
"62*12=744",
"744-54=690",
"690/46=15"
] | Current State: 15:[62, 12, 54, 46], Operations: []
Exploring Operation: 62*12=744, Resulting Numbers: [54, 46, 744]
Generated Node #2: [54, 46, 744] from Operation: 62*12=744
Current State: 15:[54, 46, 744], Operations: ['62*12=744']
Exploring Operation: 744-54=690, Resulting Numbers: [46, 690]
Generated Node #3: [46, 690] from Operation: 744-54=690
Current State: 15:[46, 690], Operations: ['62*12=744', '744-54=690']
Exploring Operation: 690/46=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[62, 12, 54, 46], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [12, 46, 8]
Generated Node #0,0: 15:[12, 46, 8] Operation: 62-54=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[12, 46, 8], Operations: ['62-54=8']
Exploring Operation: 46-12=34, Resulting Numbers: [8, 34]
Generated Node #0,0,0: 15:[8, 34] Operation: 46-12=34
Moving to Node #0,0,0
Current State: 15:[8, 34], Operations: ['62-54=8', '46-12=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,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 |
[
68,
48,
6,
75
] | 94 | [
"75-48=27",
"6*27=162",
"162-68=94"
] | Current State: 94:[68, 48, 6, 75], Operations: []
Exploring Operation: 75-48=27, Resulting Numbers: [68, 6, 27]
Generated Node #2: [68, 6, 27] from Operation: 75-48=27
Current State: 94:[68, 6, 27], Operations: ['75-48=27']
Exploring Operation: 6*27=162, Resulting Numbers: [68, 162]
Generated Node #3: [68, 162] from Operation: 6*27=162
Current State: 94:[68, 162], Operations: ['75-48=27', '6*27=162']
Exploring Operation: 162-68=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[68, 48, 6, 75], Operations: []
Exploring Operation: 68-6=62, Resulting Numbers: [48, 75, 62]
Generated Node #0,0: 94:[48, 75, 62] Operation: 68-6=62
Exploring Operation: 75-68=7, Resulting Numbers: [48, 6, 7]
Generated Node #0,1: 94:[48, 6, 7] Operation: 75-68=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[48, 6, 7], Operations: ['75-68=7']
Exploring Operation: 6*7=42, Resulting Numbers: [48, 42]
Generated Node #0,1,0: 94:[48, 42] Operation: 6*7=42
Exploring Operation: 7-6=1, Resulting Numbers: [48, 1]
Generated Node #0,1,1: 94:[48, 1] Operation: 7-6=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[48, 1], Operations: ['75-68=7', '7-6=1']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,94 unequal: No Solution
No 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: 94:[48, 42], Operations: ['75-68=7', '6*7=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,94 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: 94:[48, 75, 62], Operations: ['68-6=62']
Exploring Operation: 75-62=13, Resulting Numbers: [48, 13]
Generated Node #0,0,0: 94:[48, 13] Operation: 75-62=13
Exploring Operation: 62-48=14, Resulting Numbers: [75, 14]
Generated Node #0,0,1: 94:[75, 14] Operation: 62-48=14
Moving to Node #0,0,0
Current State: 94:[48, 13], Operations: ['68-6=62', '75-62=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[75, 14], Operations: ['68-6=62', '62-48=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,94 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 |
[
44,
28,
6,
39
] | 28 | [
"44-6=38",
"39-38=1",
"28*1=28"
] | Current State: 28:[44, 28, 6, 39], Operations: []
Exploring Operation: 44-6=38, Resulting Numbers: [28, 39, 38]
Generated Node #2: [28, 39, 38] from Operation: 44-6=38
Current State: 28:[28, 39, 38], Operations: ['44-6=38']
Exploring Operation: 39-38=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 39-38=1
Current State: 28:[28, 1], Operations: ['44-6=38', '39-38=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[44, 28, 6, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [28, 6, 5]
Generated Node #0,0: 28:[28, 6, 5] Operation: 44-39=5
Exploring Operation: 44-28=16, Resulting Numbers: [6, 39, 16]
Generated Node #0,1: 28:[6, 39, 16] Operation: 44-28=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[28, 6, 5], Operations: ['44-39=5']
Exploring Operation: 6-5=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 6-5=1
Exploring Operation: 6*5=30, Resulting Numbers: [28, 30]
Generated Node #0,0,1: 28:[28, 30] Operation: 6*5=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['44-39=5', '6-5=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[44, 28, 6, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [28, 6, 5]
Generated Node #0,0: 28:[28, 6, 5] Operation: 44-39=5
Moving to Node #0,0
Current State: 28:[28, 6, 5], Operations: ['44-39=5']
Exploring Operation: 6-5=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 6-5=1
Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['44-39=5', '6-5=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
24,
37,
3,
48
] | 88 | [
"24/3=8",
"48-37=11",
"8*11=88"
] | Current State: 88:[24, 37, 3, 48], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [37, 48, 8]
Generated Node #2: [37, 48, 8] from Operation: 24/3=8
Current State: 88:[37, 48, 8], Operations: ['24/3=8']
Exploring Operation: 48-37=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 48-37=11
Current State: 88:[8, 11], Operations: ['24/3=8', '48-37=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[24, 37, 3, 48], Operations: []
Exploring Operation: 48-37=11, Resulting Numbers: [24, 3, 11]
Generated Node #0,0: 88:[24, 3, 11] Operation: 48-37=11
Exploring Operation: 37+48=85, Resulting Numbers: [24, 3, 85]
Generated Node #0,1: 88:[24, 3, 85] Operation: 37+48=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[24, 3, 11], Operations: ['48-37=11']
Exploring Operation: 24/3=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 24/3=8
Exploring Operation: 24-3=21, Resulting Numbers: [11, 21]
Generated Node #0,0,1: 88:[11, 21] Operation: 24-3=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[11, 8], Operations: ['48-37=11', '24/3=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[24, 37, 3, 48], Operations: []
Exploring Operation: 48-37=11, Resulting Numbers: [24, 3, 11]
Generated Node #0,0: 88:[24, 3, 11] Operation: 48-37=11
Moving to Node #0,0
Current State: 88:[24, 3, 11], Operations: ['48-37=11']
Exploring Operation: 24/3=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 24/3=8
Moving to Node #0,0,0
Current State: 88:[11, 8], Operations: ['48-37=11', '24/3=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
65,
4,
8,
19
] | 14 | [
"65-19=46",
"4*8=32",
"46-32=14"
] | Current State: 14:[65, 4, 8, 19], Operations: []
Exploring Operation: 65-19=46, Resulting Numbers: [4, 8, 46]
Generated Node #2: [4, 8, 46] from Operation: 65-19=46
Current State: 14:[4, 8, 46], Operations: ['65-19=46']
Exploring Operation: 4*8=32, Resulting Numbers: [46, 32]
Generated Node #3: [46, 32] from Operation: 4*8=32
Current State: 14:[46, 32], Operations: ['65-19=46', '4*8=32']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[65, 4, 8, 19], Operations: []
Exploring Operation: 65-19=46, Resulting Numbers: [4, 8, 46]
Generated Node #0,0: 14:[4, 8, 46] Operation: 65-19=46
Moving to Node #0,0
Current State: 14:[4, 8, 46], Operations: ['65-19=46']
Exploring Operation: 46-8=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 14:[4, 38] Operation: 46-8=38
Moving to Node #0,0,0
Current State: 14:[4, 38], Operations: ['65-19=46', '46-8=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
11,
56,
12,
16
] | 25 | [
"16-12=4",
"56/4=14",
"11+14=25"
] | Current State: 25:[11, 56, 12, 16], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [11, 56, 4]
Generated Node #2: [11, 56, 4] from Operation: 16-12=4
Current State: 25:[11, 56, 4], Operations: ['16-12=4']
Exploring Operation: 56/4=14, Resulting Numbers: [11, 14]
Generated Node #3: [11, 14] from Operation: 56/4=14
Current State: 25:[11, 14], Operations: ['16-12=4', '56/4=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[11, 56, 12, 16], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [56, 12, 5]
Generated Node #0,0: 25:[56, 12, 5] Operation: 16-11=5
Exploring Operation: 56-16=40, Resulting Numbers: [11, 12, 40]
Generated Node #0,1: 25:[11, 12, 40] Operation: 56-16=40
Exploring Operation: 16-12=4, Resulting Numbers: [11, 56, 4]
Generated Node #0,2: 25:[11, 56, 4] Operation: 16-12=4
Exploring Operation: 56-12=44, Resulting Numbers: [11, 16, 44]
Generated Node #0,3: 25:[11, 16, 44] Operation: 56-12=44
Exploring Operation: 56-11=45, Resulting Numbers: [12, 16, 45]
Generated Node #0,4: 25:[12, 16, 45] Operation: 56-11=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[11, 12, 40], Operations: ['56-16=40']
Exploring Operation: 40-12=28, Resulting Numbers: [11, 28]
Generated Node #0,1,0: 25:[11, 28] Operation: 40-12=28
Exploring Operation: 11+12=23, Resulting Numbers: [40, 23]
Generated Node #0,1,1: 25:[40, 23] Operation: 11+12=23
Exploring Operation: 11+40=51, Resulting Numbers: [12, 51]
Generated Node #0,1,2: 25:[12, 51] Operation: 11+40=51
Exploring Operation: 12-11=1, Resulting Numbers: [40, 1]
Generated Node #0,1,3: 25:[40, 1] Operation: 12-11=1
Exploring Operation: 40-11=29, Resulting Numbers: [12, 29]
Generated Node #0,1,4: 25:[12, 29] Operation: 40-11=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[11, 28], Operations: ['56-16=40', '40-12=28']
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,25 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 25:[12, 29], Operations: ['56-16=40', '40-11=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,25 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[40, 23], Operations: ['56-16=40', '11+12=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[40, 1], Operations: ['56-16=40', '12-11=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[12, 51], Operations: ['56-16=40', '11+40=51']
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,25 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,25 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: 25:[11, 16, 44], Operations: ['56-12=44']
Exploring Operation: 11+16=27, Resulting Numbers: [44, 27]
Generated Node #0,3,0: 25:[44, 27] Operation: 11+16=27
Exploring Operation: 16-11=5, Resulting Numbers: [44, 5]
Generated Node #0,3,1: 25:[44, 5] Operation: 16-11=5
Exploring Operation: 44-16=28, Resulting Numbers: [11, 28]
Generated Node #0,3,2: 25:[11, 28] Operation: 44-16=28
Exploring Operation: 44-11=33, Resulting Numbers: [16, 33]
Generated Node #0,3,3: 25:[16, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [16, 4]
Generated Node #0,3,4: 25:[16, 4] Operation: 44/11=4
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 25:[11, 28], Operations: ['56-12=44', '44-16=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 25:[16, 4], Operations: ['56-12=44', '44/11=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 25:[16, 33], Operations: ['56-12=44', '44-11=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[44, 5], Operations: ['56-12=44', '16-11=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 25:[44, 27], Operations: ['56-12=44', '11+16=27']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,25 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,25 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: 25:[12, 16, 45], Operations: ['56-11=45']
Exploring Operation: 12+45=57, Resulting Numbers: [16, 57]
Generated Node #0,4,0: 25:[16, 57] Operation: 12+45=57
Exploring Operation: 45-12=33, Resulting Numbers: [16, 33]
Generated Node #0,4,1: 25:[16, 33] Operation: 45-12=33
Exploring Operation: 16-12=4, Resulting Numbers: [45, 4]
Generated Node #0,4,2: 25:[45, 4] Operation: 16-12=4
Exploring Operation: 45-16=29, Resulting Numbers: [12, 29]
Generated Node #0,4,3: 25:[12, 29] Operation: 45-16=29
Exploring Operation: 12+16=28, Resulting Numbers: [45, 28]
Generated Node #0,4,4: 25:[45, 28] Operation: 12+16=28
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 25:[12, 29], Operations: ['56-11=45', '45-16=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,25 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 25:[16, 33], Operations: ['56-11=45', '45-12=33']
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,25 unequal: No Solution
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 25:[45, 4], Operations: ['56-11=45', '16-12=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,25 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[45, 28], Operations: ['56-11=45', '12+16=28']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[16, 57], Operations: ['56-11=45', '12+45=57']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,25 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,25 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: 25:[56, 12, 5], Operations: ['16-11=5']
Exploring Operation: 12+5=17, Resulting Numbers: [56, 17]
Generated Node #0,0,0: 25:[56, 17] Operation: 12+5=17
Exploring Operation: 12-5=7, Resulting Numbers: [56, 7]
Generated Node #0,0,1: 25:[56, 7] Operation: 12-5=7
Exploring Operation: 56+12=68, Resulting Numbers: [5, 68]
Generated Node #0,0,2: 25:[5, 68] Operation: 56+12=68
Exploring Operation: 56-5=51, Resulting Numbers: [12, 51]
Generated Node #0,0,3: 25:[12, 51] Operation: 56-5=51
Exploring Operation: 56-12=44, Resulting Numbers: [5, 44]
Generated Node #0,0,4: 25:[5, 44] Operation: 56-12=44
Moving to Node #0,0,4
Current State: 25:[5, 44], Operations: ['16-11=5', '56-12=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[12, 51], Operations: ['16-11=5', '56-5=51']
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,25 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[56, 7], Operations: ['16-11=5', '12-5=7']
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,25 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[56, 17], Operations: ['16-11=5', '12+5=17']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,25 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[5, 68], Operations: ['16-11=5', '56+12=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,25 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[11, 56, 4], Operations: ['16-12=4']
Exploring Operation: 11-4=7, Resulting Numbers: [56, 7]
Generated Node #0,2,0: 25:[56, 7] Operation: 11-4=7
Exploring Operation: 56-11=45, Resulting Numbers: [4, 45]
Generated Node #0,2,1: 25:[4, 45] Operation: 56-11=45
Exploring Operation: 56-4=52, Resulting Numbers: [11, 52]
Generated Node #0,2,2: 25:[11, 52] Operation: 56-4=52
Exploring Operation: 56/4=14, Resulting Numbers: [11, 14]
Generated Node #0,2,3: 25:[11, 14] Operation: 56/4=14
Exploring Operation: 11+4=15, Resulting Numbers: [56, 15]
Generated Node #0,2,4: 25:[56, 15] Operation: 11+4=15
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 25:[11, 14], Operations: ['16-12=4', '56/4=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,25 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[11, 56, 12, 16], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [11, 56, 4]
Generated Node #0,2: 25:[11, 56, 4] Operation: 16-12=4
Moving to Node #0,2
Current State: 25:[11, 56, 4], Operations: ['16-12=4']
Exploring Operation: 56/4=14, Resulting Numbers: [11, 14]
Generated Node #0,2,3: 25:[11, 14] Operation: 56/4=14
Moving to Node #0,2,3
Current State: 25:[11, 14], Operations: ['16-12=4', '56/4=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.913194 | hs_5 | sum_heuristic |
[
8,
29,
11,
35
] | 26 | [
"35-11=24",
"24/8=3",
"29-3=26"
] | Current State: 26:[8, 29, 11, 35], Operations: []
Exploring Operation: 35-11=24, Resulting Numbers: [8, 29, 24]
Generated Node #2: [8, 29, 24] from Operation: 35-11=24
Current State: 26:[8, 29, 24], Operations: ['35-11=24']
Exploring Operation: 24/8=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 24/8=3
Current State: 26:[29, 3], Operations: ['35-11=24', '24/8=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[8, 29, 11, 35], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [8, 11, 6]
Generated Node #0,0: 26:[8, 11, 6] Operation: 35-29=6
Exploring Operation: 35-11=24, Resulting Numbers: [8, 29, 24]
Generated Node #0,1: 26:[8, 29, 24] Operation: 35-11=24
Exploring Operation: 11-8=3, Resulting Numbers: [29, 35, 3]
Generated Node #0,2: 26:[29, 35, 3] Operation: 11-8=3
Exploring Operation: 35-8=27, Resulting Numbers: [29, 11, 27]
Generated Node #0,3: 26:[29, 11, 27] Operation: 35-8=27
Exploring Operation: 29-8=21, Resulting Numbers: [11, 35, 21]
Generated Node #0,4: 26:[11, 35, 21] Operation: 29-8=21
Moving to Node #0,3
Current State: 26:[29, 11, 27], Operations: ['35-8=27']
Exploring Operation: 29-11=18, Resulting Numbers: [27, 18]
Generated Node #0,3,0: 26:[27, 18] Operation: 29-11=18
Exploring Operation: 29+11=40, Resulting Numbers: [27, 40]
Generated Node #0,3,1: 26:[27, 40] Operation: 29+11=40
Exploring Operation: 29-27=2, Resulting Numbers: [11, 2]
Generated Node #0,3,2: 26:[11, 2] Operation: 29-27=2
Exploring Operation: 11+27=38, Resulting Numbers: [29, 38]
Generated Node #0,3,3: 26:[29, 38] Operation: 11+27=38
Exploring Operation: 27-11=16, Resulting Numbers: [29, 16]
Generated Node #0,3,4: 26:[29, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[11, 2], Operations: ['35-8=27', '29-27=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[27, 18], Operations: ['35-8=27', '29-11=18']
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,26 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[29, 16], Operations: ['35-8=27', '27-11=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[27, 40], Operations: ['35-8=27', '29+11=40']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,26 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[29, 38], Operations: ['35-8=27', '11+27=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,26 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 26:[8, 29, 24], Operations: ['35-11=24']
Exploring Operation: 29-24=5, Resulting Numbers: [8, 5]
Generated Node #0,1,0: 26:[8, 5] Operation: 29-24=5
Exploring Operation: 8+24=32, Resulting Numbers: [29, 32]
Generated Node #0,1,1: 26:[29, 32] Operation: 8+24=32
Exploring Operation: 24/8=3, Resulting Numbers: [29, 3]
Generated Node #0,1,2: 26:[29, 3] Operation: 24/8=3
Exploring Operation: 29-8=21, Resulting Numbers: [24, 21]
Generated Node #0,1,3: 26:[24, 21] Operation: 29-8=21
Exploring Operation: 24-8=16, Resulting Numbers: [29, 16]
Generated Node #0,1,4: 26:[29, 16] Operation: 24-8=16
Moving to Node #0,0
Current State: 26:[8, 11, 6], Operations: ['35-29=6']
Exploring Operation: 8+6=14, Resulting Numbers: [11, 14]
Generated Node #0,0,0: 26:[11, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 26:[11, 2] Operation: 8-6=2
Exploring Operation: 11-8=3, Resulting Numbers: [6, 3]
Generated Node #0,0,2: 26:[6, 3] Operation: 11-8=3
Exploring Operation: 11+6=17, Resulting Numbers: [8, 17]
Generated Node #0,0,3: 26:[8, 17] Operation: 11+6=17
Exploring Operation: 11-6=5, Resulting Numbers: [8, 5]
Generated Node #0,0,4: 26:[8, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[11, 2], Operations: ['35-29=6', '8-6=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[11, 14], Operations: ['35-29=6', '8+6=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[6, 3], Operations: ['35-29=6', '11-8=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 26:[8, 5], Operations: ['35-29=6', '11-6=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[8, 17], Operations: ['35-29=6', '11+6=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,26 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 26:[29, 35, 3], Operations: ['11-8=3']
Exploring Operation: 29-3=26, Resulting Numbers: [35, 26]
Generated Node #0,2,0: 26:[35, 26] Operation: 29-3=26
Exploring Operation: 35-3=32, Resulting Numbers: [29, 32]
Generated Node #0,2,1: 26:[29, 32] Operation: 35-3=32
Exploring Operation: 35-29=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 26:[3, 6] Operation: 35-29=6
Exploring Operation: 35+3=38, Resulting Numbers: [29, 38]
Generated Node #0,2,3: 26:[29, 38] Operation: 35+3=38
Exploring Operation: 29+3=32, Resulting Numbers: [35, 32]
Generated Node #0,2,4: 26:[35, 32] Operation: 29+3=32
Moving to Node #0,4
Current State: 26:[11, 35, 21], Operations: ['29-8=21']
Exploring Operation: 35-11=24, Resulting Numbers: [21, 24]
Generated Node #0,4,0: 26:[21, 24] Operation: 35-11=24
Exploring Operation: 21-11=10, Resulting Numbers: [35, 10]
Generated Node #0,4,1: 26:[35, 10] Operation: 21-11=10
Exploring Operation: 11+35=46, Resulting Numbers: [21, 46]
Generated Node #0,4,2: 26:[21, 46] Operation: 11+35=46
Exploring Operation: 11+21=32, Resulting Numbers: [35, 32]
Generated Node #0,4,3: 26:[35, 32] Operation: 11+21=32
Exploring Operation: 35-21=14, Resulting Numbers: [11, 14]
Generated Node #0,4,4: 26:[11, 14] Operation: 35-21=14
Moving to Node #0,4,4
Current State: 26:[11, 14], Operations: ['29-8=21', '35-21=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,26 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[29, 3], Operations: ['35-11=24', '24/8=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,26 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[8, 29, 11, 35], Operations: []
Exploring Operation: 35-11=24, Resulting Numbers: [8, 29, 24]
Generated Node #0,1: 26:[8, 29, 24] Operation: 35-11=24
Moving to Node #0,1
Current State: 26:[8, 29, 24], Operations: ['35-11=24']
Exploring Operation: 24/8=3, Resulting Numbers: [29, 3]
Generated Node #0,1,2: 26:[29, 3] Operation: 24/8=3
Moving to Node #0,1,2
Current State: 26:[29, 3], Operations: ['35-11=24', '24/8=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.939236 | hs_5 | sum_heuristic |
[
6,
50,
20,
23
] | 41 | [
"50-6=44",
"23-20=3",
"44-3=41"
] | Current State: 41:[6, 50, 20, 23], Operations: []
Exploring Operation: 50-6=44, Resulting Numbers: [20, 23, 44]
Generated Node #2: [20, 23, 44] from Operation: 50-6=44
Current State: 41:[20, 23, 44], Operations: ['50-6=44']
Exploring Operation: 23-20=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 23-20=3
Current State: 41:[44, 3], Operations: ['50-6=44', '23-20=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[6, 50, 20, 23], Operations: []
Exploring Operation: 20+23=43, Resulting Numbers: [6, 50, 43]
Generated Node #0,0: 41:[6, 50, 43] Operation: 20+23=43
Exploring Operation: 6+23=29, Resulting Numbers: [50, 20, 29]
Generated Node #0,1: 41:[50, 20, 29] Operation: 6+23=29
Exploring Operation: 6+20=26, Resulting Numbers: [50, 23, 26]
Generated Node #0,2: 41:[50, 23, 26] Operation: 6+20=26
Exploring Operation: 6+50=56, Resulting Numbers: [20, 23, 56]
Generated Node #0,3: 41:[20, 23, 56] Operation: 6+50=56
Exploring Operation: 50-6=44, Resulting Numbers: [20, 23, 44]
Generated Node #0,4: 41:[20, 23, 44] Operation: 50-6=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[50, 20, 29], Operations: ['6+23=29']
Exploring Operation: 50+20=70, Resulting Numbers: [29, 70]
Generated Node #0,1,0: 41:[29, 70] Operation: 50+20=70
Exploring Operation: 50-20=30, Resulting Numbers: [29, 30]
Generated Node #0,1,1: 41:[29, 30] Operation: 50-20=30
Exploring Operation: 29-20=9, Resulting Numbers: [50, 9]
Generated Node #0,1,2: 41:[50, 9] Operation: 29-20=9
Exploring Operation: 20+29=49, Resulting Numbers: [50, 49]
Generated Node #0,1,3: 41:[50, 49] Operation: 20+29=49
Exploring Operation: 50-29=21, Resulting Numbers: [20, 21]
Generated Node #0,1,4: 41:[20, 21] Operation: 50-29=21
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[50, 49], Operations: ['6+23=29', '20+29=49']
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[29, 30], Operations: ['6+23=29', '50-20=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[29, 70], Operations: ['6+23=29', '50+20=70']
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,41 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[6, 50, 20, 23], Operations: []
Exploring Operation: 6+23=29, Resulting Numbers: [50, 20, 29]
Generated Node #0,1: 41:[50, 20, 29] Operation: 6+23=29
Moving to Node #0,1
Current State: 41:[50, 20, 29], Operations: ['6+23=29']
Exploring Operation: 50+20=70, Resulting Numbers: [29, 70]
Generated Node #0,1,0: 41:[29, 70] Operation: 50+20=70
Moving to Node #0,1,0
Current State: 41:[29, 70], Operations: ['6+23=29', '50+20=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
25,
4,
56,
39
] | 75 | [
"25+56=81",
"4*39=156",
"156-81=75"
] | Current State: 75:[25, 4, 56, 39], Operations: []
Exploring Operation: 25+56=81, Resulting Numbers: [4, 39, 81]
Generated Node #2: [4, 39, 81] from Operation: 25+56=81
Current State: 75:[4, 39, 81], Operations: ['25+56=81']
Exploring Operation: 4*39=156, Resulting Numbers: [81, 156]
Generated Node #3: [81, 156] from Operation: 4*39=156
Current State: 75:[81, 156], Operations: ['25+56=81', '4*39=156']
Exploring Operation: 156-81=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[25, 4, 56, 39], Operations: []
Exploring Operation: 56-39=17, Resulting Numbers: [25, 4, 17]
Generated Node #0,0: 75:[25, 4, 17] Operation: 56-39=17
Moving to Node #0,0
Current State: 75:[25, 4, 17], Operations: ['56-39=17']
Exploring Operation: 17-4=13, Resulting Numbers: [25, 13]
Generated Node #0,0,0: 75:[25, 13] Operation: 17-4=13
Moving to Node #0,0,0
Current State: 75:[25, 13], Operations: ['56-39=17', '17-4=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,75 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
83,
56,
59
] | 58 | [
"35+83=118",
"118/59=2",
"56+2=58"
] | Current State: 58:[35, 83, 56, 59], Operations: []
Exploring Operation: 35+83=118, Resulting Numbers: [56, 59, 118]
Generated Node #2: [56, 59, 118] from Operation: 35+83=118
Current State: 58:[56, 59, 118], Operations: ['35+83=118']
Exploring Operation: 118/59=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 118/59=2
Current State: 58:[56, 2], Operations: ['35+83=118', '118/59=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[35, 83, 56, 59], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [35, 59, 27]
Generated Node #0,0: 58:[35, 59, 27] Operation: 83-56=27
Exploring Operation: 83-35=48, Resulting Numbers: [56, 59, 48]
Generated Node #0,1: 58:[56, 59, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[35, 59, 27], Operations: ['83-56=27']
Exploring Operation: 59-35=24, Resulting Numbers: [27, 24]
Generated Node #0,0,0: 58:[27, 24] Operation: 59-35=24
Exploring Operation: 35+27=62, Resulting Numbers: [59, 62]
Generated Node #0,0,1: 58:[59, 62] Operation: 35+27=62
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[59, 62], Operations: ['83-56=27', '35+27=62']
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,58 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[27, 24], Operations: ['83-56=27', '59-35=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[56, 59, 48], Operations: ['83-35=48']
Exploring Operation: 59-56=3, Resulting Numbers: [48, 3]
Generated Node #0,1,0: 58:[48, 3] Operation: 59-56=3
Exploring Operation: 56-48=8, Resulting Numbers: [59, 8]
Generated Node #0,1,1: 58:[59, 8] Operation: 56-48=8
Moving to Node #0,1,1
Current State: 58:[59, 8], Operations: ['83-35=48', '56-48=8']
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[48, 3], Operations: ['83-35=48', '59-56=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
80,
3,
20
] | 58 | [
"80-78=2",
"3*20=60",
"60-2=58"
] | Current State: 58:[78, 80, 3, 20], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [3, 20, 2]
Generated Node #2: [3, 20, 2] from Operation: 80-78=2
Current State: 58:[3, 20, 2], Operations: ['80-78=2']
Exploring Operation: 3*20=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 3*20=60
Current State: 58:[2, 60], Operations: ['80-78=2', '3*20=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[78, 80, 3, 20], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [3, 20, 2]
Generated Node #0,0: 58:[3, 20, 2] Operation: 80-78=2
Exploring Operation: 78-20=58, Resulting Numbers: [80, 3, 58]
Generated Node #0,1: 58:[80, 3, 58] Operation: 78-20=58
Moving to Node #0,0
Current State: 58:[3, 20, 2], Operations: ['80-78=2']
Exploring Operation: 3+20=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 58:[2, 23] Operation: 3+20=23
Exploring Operation: 3*20=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 3*20=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['80-78=2', '3*20=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[78, 80, 3, 20], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [3, 20, 2]
Generated Node #0,0: 58:[3, 20, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 58:[3, 20, 2], Operations: ['80-78=2']
Exploring Operation: 3*20=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 3*20=60
Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['80-78=2', '3*20=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
43,
46,
2,
34
] | 67 | [
"46-34=12",
"2*12=24",
"43+24=67"
] | Current State: 67:[43, 46, 2, 34], Operations: []
Exploring Operation: 46-34=12, Resulting Numbers: [43, 2, 12]
Generated Node #2: [43, 2, 12] from Operation: 46-34=12
Current State: 67:[43, 2, 12], Operations: ['46-34=12']
Exploring Operation: 2*12=24, Resulting Numbers: [43, 24]
Generated Node #3: [43, 24] from Operation: 2*12=24
Current State: 67:[43, 24], Operations: ['46-34=12', '2*12=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[43, 46, 2, 34], Operations: []
Exploring Operation: 2*34=68, Resulting Numbers: [43, 46, 68]
Generated Node #0,0: 67:[43, 46, 68] Operation: 2*34=68
Moving to Node #0,0
Current State: 67:[43, 46, 68], Operations: ['2*34=68']
Exploring Operation: 43+46=89, Resulting Numbers: [68, 89]
Generated Node #0,0,0: 67:[68, 89] Operation: 43+46=89
Moving to Node #0,0,0
Current State: 67:[68, 89], Operations: ['2*34=68', '43+46=89']
Exploring Operation: 89-68=21, Resulting Numbers: [21]
21,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
65,
5,
34
] | 29 | [
"12*5=60",
"65-34=31",
"60-31=29"
] | Current State: 29:[12, 65, 5, 34], Operations: []
Exploring Operation: 12*5=60, Resulting Numbers: [65, 34, 60]
Generated Node #2: [65, 34, 60] from Operation: 12*5=60
Current State: 29:[65, 34, 60], Operations: ['12*5=60']
Exploring Operation: 65-34=31, Resulting Numbers: [60, 31]
Generated Node #3: [60, 31] from Operation: 65-34=31
Current State: 29:[60, 31], Operations: ['12*5=60', '65-34=31']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[12, 65, 5, 34], Operations: []
Exploring Operation: 65-12=53, Resulting Numbers: [5, 34, 53]
Generated Node #0,0: 29:[5, 34, 53] Operation: 65-12=53
Exploring Operation: 12+5=17, Resulting Numbers: [65, 34, 17]
Generated Node #0,1: 29:[65, 34, 17] Operation: 12+5=17
Exploring Operation: 65-34=31, Resulting Numbers: [12, 5, 31]
Generated Node #0,2: 29:[12, 5, 31] Operation: 65-34=31
Exploring Operation: 65-5=60, Resulting Numbers: [12, 34, 60]
Generated Node #0,3: 29:[12, 34, 60] Operation: 65-5=60
Exploring Operation: 65/5=13, Resulting Numbers: [12, 34, 13]
Generated Node #0,4: 29:[12, 34, 13] Operation: 65/5=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[12, 34, 13], Operations: ['65/5=13']
Exploring Operation: 12+34=46, Resulting Numbers: [13, 46]
Generated Node #0,4,0: 29:[13, 46] Operation: 12+34=46
Exploring Operation: 12+13=25, Resulting Numbers: [34, 25]
Generated Node #0,4,1: 29:[34, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [34, 1]
Generated Node #0,4,2: 29:[34, 1] Operation: 13-12=1
Exploring Operation: 34-13=21, Resulting Numbers: [12, 21]
Generated Node #0,4,3: 29:[12, 21] Operation: 34-13=21
Exploring Operation: 34-12=22, Resulting Numbers: [13, 22]
Generated Node #0,4,4: 29:[13, 22] Operation: 34-12=22
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 29:[34, 25], Operations: ['65/5=13', '12+13=25']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,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,4,4
Current State: 29:[13, 22], Operations: ['65/5=13', '34-12=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,29 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,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,4,3
Current State: 29:[12, 21], Operations: ['65/5=13', '34-13=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,29 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,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,4,0
Current State: 29:[13, 46], Operations: ['65/5=13', '12+34=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,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,4,2
Current State: 29:[34, 1], Operations: ['65/5=13', '13-12=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,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,2
Current State: 29:[12, 5, 31], Operations: ['65-34=31']
Exploring Operation: 5+31=36, Resulting Numbers: [12, 36]
Generated Node #0,2,0: 29:[12, 36] Operation: 5+31=36
Exploring Operation: 31-5=26, Resulting Numbers: [12, 26]
Generated Node #0,2,1: 29:[12, 26] Operation: 31-5=26
Exploring Operation: 12-5=7, Resulting Numbers: [31, 7]
Generated Node #0,2,2: 29:[31, 7] Operation: 12-5=7
Exploring Operation: 12*5=60, Resulting Numbers: [31, 60]
Generated Node #0,2,3: 29:[31, 60] Operation: 12*5=60
Exploring Operation: 12+5=17, Resulting Numbers: [31, 17]
Generated Node #0,2,4: 29:[31, 17] Operation: 12+5=17
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 29:[31, 17], Operations: ['65-34=31', '12+5=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,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
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[12, 26], Operations: ['65-34=31', '31-5=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,29 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[12, 36], Operations: ['65-34=31', '5+31=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,29 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[31, 7], Operations: ['65-34=31', '12-5=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,29 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[31, 60], Operations: ['65-34=31', '12*5=60']
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,29 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,29 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[12, 65, 5, 34], Operations: []
Exploring Operation: 65-34=31, Resulting Numbers: [12, 5, 31]
Generated Node #0,2: 29:[12, 5, 31] Operation: 65-34=31
Moving to Node #0,2
Current State: 29:[12, 5, 31], Operations: ['65-34=31']
Exploring Operation: 12*5=60, Resulting Numbers: [31, 60]
Generated Node #0,2,3: 29:[31, 60] Operation: 12*5=60
Moving to Node #0,2,3
Current State: 29:[31, 60], Operations: ['65-34=31', '12*5=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.955729 | hs_5 | mult_heuristic |
[
86,
70,
19,
77
] | 80 | [
"86-70=16",
"19+77=96",
"96-16=80"
] | Current State: 80:[86, 70, 19, 77], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [19, 77, 16]
Generated Node #2: [19, 77, 16] from Operation: 86-70=16
Current State: 80:[19, 77, 16], Operations: ['86-70=16']
Exploring Operation: 19+77=96, Resulting Numbers: [16, 96]
Generated Node #3: [16, 96] from Operation: 19+77=96
Current State: 80:[16, 96], Operations: ['86-70=16', '19+77=96']
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[86, 70, 19, 77], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [86, 19, 7]
Generated Node #0,0: 80:[86, 19, 7] Operation: 77-70=7
Exploring Operation: 86-77=9, Resulting Numbers: [70, 19, 9]
Generated Node #0,1: 80:[70, 19, 9] Operation: 86-77=9
Exploring Operation: 86-70=16, Resulting Numbers: [19, 77, 16]
Generated Node #0,2: 80:[19, 77, 16] Operation: 86-70=16
Exploring Operation: 70-19=51, Resulting Numbers: [86, 77, 51]
Generated Node #0,3: 80:[86, 77, 51] Operation: 70-19=51
Exploring Operation: 70+19=89, Resulting Numbers: [86, 77, 89]
Generated Node #0,4: 80:[86, 77, 89] Operation: 70+19=89
Moving to Node #0,2
Current State: 80:[19, 77, 16], Operations: ['86-70=16']
Exploring Operation: 77-19=58, Resulting Numbers: [16, 58]
Generated Node #0,2,0: 80:[16, 58] Operation: 77-19=58
Exploring Operation: 19+77=96, Resulting Numbers: [16, 96]
Generated Node #0,2,1: 80:[16, 96] Operation: 19+77=96
Exploring Operation: 77+16=93, Resulting Numbers: [19, 93]
Generated Node #0,2,2: 80:[19, 93] Operation: 77+16=93
Exploring Operation: 19+16=35, Resulting Numbers: [77, 35]
Generated Node #0,2,3: 80:[77, 35] Operation: 19+16=35
Exploring Operation: 19-16=3, Resulting Numbers: [77, 3]
Generated Node #0,2,4: 80:[77, 3] Operation: 19-16=3
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[77, 3], Operations: ['86-70=16', '19-16=3']
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,80 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[86, 70, 19, 77], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [19, 77, 16]
Generated Node #0,2: 80:[19, 77, 16] Operation: 86-70=16
Moving to Node #0,2
Current State: 80:[19, 77, 16], Operations: ['86-70=16']
Exploring Operation: 19-16=3, Resulting Numbers: [77, 3]
Generated Node #0,2,4: 80:[77, 3] Operation: 19-16=3
Moving to Node #0,2,4
Current State: 80:[77, 3], Operations: ['86-70=16', '19-16=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
83,
93,
2,
13
] | 99 | [
"83+13=96",
"2*96=192",
"192-93=99"
] | Current State: 99:[83, 93, 2, 13], Operations: []
Exploring Operation: 83+13=96, Resulting Numbers: [93, 2, 96]
Generated Node #2: [93, 2, 96] from Operation: 83+13=96
Current State: 99:[93, 2, 96], Operations: ['83+13=96']
Exploring Operation: 2*96=192, Resulting Numbers: [93, 192]
Generated Node #3: [93, 192] from Operation: 2*96=192
Current State: 99:[93, 192], Operations: ['83+13=96', '2*96=192']
Exploring Operation: 192-93=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[83, 93, 2, 13], Operations: []
Exploring Operation: 93+2=95, Resulting Numbers: [83, 13, 95]
Generated Node #0,0: 99:[83, 13, 95] Operation: 93+2=95
Exploring Operation: 93-83=10, Resulting Numbers: [2, 13, 10]
Generated Node #0,1: 99:[2, 13, 10] Operation: 93-83=10
Exploring Operation: 83+13=96, Resulting Numbers: [93, 2, 96]
Generated Node #0,2: 99:[93, 2, 96] Operation: 83+13=96
Exploring Operation: 83+2=85, Resulting Numbers: [93, 13, 85]
Generated Node #0,3: 99:[93, 13, 85] Operation: 83+2=85
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[2, 13, 10], Operations: ['93-83=10']
Exploring Operation: 13-2=11, Resulting Numbers: [10, 11]
Generated Node #0,1,0: 99:[10, 11] Operation: 13-2=11
Exploring Operation: 13-10=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 99:[2, 3] Operation: 13-10=3
Exploring Operation: 2+10=12, Resulting Numbers: [13, 12]
Generated Node #0,1,2: 99:[13, 12] Operation: 2+10=12
Exploring Operation: 10-2=8, Resulting Numbers: [13, 8]
Generated Node #0,1,3: 99:[13, 8] Operation: 10-2=8
Moving to Node #0,1,0
Current State: 99:[10, 11], Operations: ['93-83=10', '13-2=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[2, 3], Operations: ['93-83=10', '13-10=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[13, 8], Operations: ['93-83=10', '10-2=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[13, 12], Operations: ['93-83=10', '2+10=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,99 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No 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: 99:[93, 2, 96], Operations: ['83+13=96']
Exploring Operation: 96-93=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 99:[2, 3] Operation: 96-93=3
Exploring Operation: 93+2=95, Resulting Numbers: [96, 95]
Generated Node #0,2,1: 99:[96, 95] Operation: 93+2=95
Exploring Operation: 93-2=91, Resulting Numbers: [96, 91]
Generated Node #0,2,2: 99:[96, 91] Operation: 93-2=91
Exploring Operation: 2+96=98, Resulting Numbers: [93, 98]
Generated Node #0,2,3: 99:[93, 98] Operation: 2+96=98
Moving to Node #0,2,0
Current State: 99:[2, 3], Operations: ['83+13=96', '96-93=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[93, 98], Operations: ['83+13=96', '2+96=98']
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 93+98=191, Resulting Numbers: [191]
191,99 unequal: No Solution
Exploring Operation: 93*98=9114, Resulting Numbers: [9114]
9114,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[96, 95], Operations: ['83+13=96', '93+2=95']
Exploring Operation: 96*95=9120, Resulting Numbers: [9120]
9120,99 unequal: No Solution
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[96, 91], Operations: ['83+13=96', '93-2=91']
Exploring Operation: 96-91=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 96*91=8736, Resulting Numbers: [8736]
8736,99 unequal: No Solution
Exploring Operation: 96+91=187, Resulting Numbers: [187]
187,99 unequal: No Solution
No 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: 99:[83, 13, 95], Operations: ['93+2=95']
Exploring Operation: 13+95=108, Resulting Numbers: [83, 108]
Generated Node #0,0,0: 99:[83, 108] Operation: 13+95=108
Exploring Operation: 83-13=70, Resulting Numbers: [95, 70]
Generated Node #0,0,1: 99:[95, 70] Operation: 83-13=70
Exploring Operation: 95-83=12, Resulting Numbers: [13, 12]
Generated Node #0,0,2: 99:[13, 12] Operation: 95-83=12
Exploring Operation: 83+13=96, Resulting Numbers: [95, 96]
Generated Node #0,0,3: 99:[95, 96] Operation: 83+13=96
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[13, 12], Operations: ['93+2=95', '95-83=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,99 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,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,3
Current State: 99:[95, 96], Operations: ['93+2=95', '83+13=96']
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 95+96=191, Resulting Numbers: [191]
191,99 unequal: No Solution
Exploring Operation: 95*96=9120, Resulting Numbers: [9120]
9120,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,0
Current State: 99:[83, 108], Operations: ['93+2=95', '13+95=108']
Exploring Operation: 83+108=191, Resulting Numbers: [191]
191,99 unequal: No Solution
Exploring Operation: 108-83=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 83*108=8964, Resulting Numbers: [8964]
8964,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:[95, 70], Operations: ['93+2=95', '83-13=70']
Exploring Operation: 95-70=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 95*70=6650, Resulting Numbers: [6650]
6650,99 unequal: No Solution
Exploring Operation: 95+70=165, Resulting Numbers: [165]
165,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,3
Current State: 99:[93, 13, 85], Operations: ['83+2=85']
Exploring Operation: 93-85=8, Resulting Numbers: [13, 8]
Generated Node #0,3,0: 99:[13, 8] Operation: 93-85=8
Exploring Operation: 93+13=106, Resulting Numbers: [85, 106]
Generated Node #0,3,1: 99:[85, 106] Operation: 93+13=106
Exploring Operation: 93-13=80, Resulting Numbers: [85, 80]
Generated Node #0,3,2: 99:[85, 80] Operation: 93-13=80
Exploring Operation: 13+85=98, Resulting Numbers: [93, 98]
Generated Node #0,3,3: 99:[93, 98] Operation: 13+85=98
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[13, 8], Operations: ['83+2=85', '93-85=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,99 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,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,3,3
Current State: 99:[93, 98], Operations: ['83+2=85', '13+85=98']
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 93+98=191, Resulting Numbers: [191]
191,99 unequal: No Solution
Exploring Operation: 93*98=9114, Resulting Numbers: [9114]
9114,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,3,1
Current State: 99:[85, 106], Operations: ['83+2=85', '93+13=106']
Exploring Operation: 85+106=191, Resulting Numbers: [191]
191,99 unequal: No Solution
Exploring Operation: 106-85=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 85*106=9010, Resulting Numbers: [9010]
9010,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,3,2
Current State: 99:[85, 80], Operations: ['83+2=85', '93-13=80']
Exploring Operation: 85*80=6800, Resulting Numbers: [6800]
6800,99 unequal: No Solution
Exploring Operation: 85+80=165, Resulting Numbers: [165]
165,99 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
43,
96,
53,
59
] | 58 | [
"96-43=53",
"53/53=1",
"59-1=58"
] | Current State: 58:[43, 96, 53, 59], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [53, 59, 53]
Generated Node #2: [53, 59, 53] from Operation: 96-43=53
Current State: 58:[53, 59, 53], Operations: ['96-43=53']
Exploring Operation: 53/53=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 53/53=1
Current State: 58:[59, 1], Operations: ['96-43=53', '53/53=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[43, 96, 53, 59], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [53, 59, 53]
Generated Node #0,0: 58:[53, 59, 53] Operation: 96-43=53
Moving to Node #0,0
Current State: 58:[53, 59, 53], Operations: ['96-43=53']
Exploring Operation: 53/53=1, Resulting Numbers: [59, 1]
Generated Node #0,0,0: 58:[59, 1] Operation: 53/53=1
Moving to Node #0,0,0
Current State: 58:[59, 1], Operations: ['96-43=53', '53/53=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[43, 96, 53, 59], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [53, 59, 53]
Generated Node #0,0: 58:[53, 59, 53] Operation: 96-43=53
Moving to Node #0,0
Current State: 58:[53, 59, 53], Operations: ['96-43=53']
Exploring Operation: 53/53=1, Resulting Numbers: [59, 1]
Generated Node #0,0,0: 58:[59, 1] Operation: 53/53=1
Moving to Node #0,0,0
Current State: 58:[59, 1], Operations: ['96-43=53', '53/53=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
63,
9,
80,
8
] | 16 | [
"63+9=72",
"80+8=88",
"88-72=16"
] | Current State: 16:[63, 9, 80, 8], Operations: []
Exploring Operation: 63+9=72, Resulting Numbers: [80, 8, 72]
Generated Node #2: [80, 8, 72] from Operation: 63+9=72
Current State: 16:[80, 8, 72], Operations: ['63+9=72']
Exploring Operation: 80+8=88, Resulting Numbers: [72, 88]
Generated Node #3: [72, 88] from Operation: 80+8=88
Current State: 16:[72, 88], Operations: ['63+9=72', '80+8=88']
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[63, 9, 80, 8], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [9, 8, 17]
Generated Node #0,0: 16:[9, 8, 17] Operation: 80-63=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[9, 8, 17], Operations: ['80-63=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 16:[8, 8] Operation: 17-9=8
Moving to Node #0,0,0
Current State: 16:[8, 8], Operations: ['80-63=17', '17-9=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[63, 9, 80, 8], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [9, 8, 17]
Generated Node #0,0: 16:[9, 8, 17] Operation: 80-63=17
Moving to Node #0,0
Current State: 16:[9, 8, 17], Operations: ['80-63=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 16:[8, 8] Operation: 17-9=8
Moving to Node #0,0,0
Current State: 16:[8, 8], Operations: ['80-63=17', '17-9=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
69,
20,
21,
11
] | 84 | [
"69+11=80",
"80/20=4",
"21*4=84"
] | Current State: 84:[69, 20, 21, 11], Operations: []
Exploring Operation: 69+11=80, Resulting Numbers: [20, 21, 80]
Generated Node #2: [20, 21, 80] from Operation: 69+11=80
Current State: 84:[20, 21, 80], Operations: ['69+11=80']
Exploring Operation: 80/20=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 80/20=4
Current State: 84:[21, 4], Operations: ['69+11=80', '80/20=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[69, 20, 21, 11], Operations: []
Exploring Operation: 69+20=89, Resulting Numbers: [21, 11, 89]
Generated Node #0,0: 84:[21, 11, 89] Operation: 69+20=89
Exploring Operation: 69+11=80, Resulting Numbers: [20, 21, 80]
Generated Node #0,1: 84:[20, 21, 80] Operation: 69+11=80
Exploring Operation: 69-20=49, Resulting Numbers: [21, 11, 49]
Generated Node #0,2: 84:[21, 11, 49] Operation: 69-20=49
Exploring Operation: 69-21=48, Resulting Numbers: [20, 11, 48]
Generated Node #0,3: 84:[20, 11, 48] Operation: 69-21=48
Exploring Operation: 69+21=90, Resulting Numbers: [20, 11, 90]
Generated Node #0,4: 84:[20, 11, 90] Operation: 69+21=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[20, 21, 80], Operations: ['69+11=80']
Exploring Operation: 20+21=41, Resulting Numbers: [80, 41]
Generated Node #0,1,0: 84:[80, 41] Operation: 20+21=41
Exploring Operation: 80/20=4, Resulting Numbers: [21, 4]
Generated Node #0,1,1: 84:[21, 4] Operation: 80/20=4
Exploring Operation: 21-20=1, Resulting Numbers: [80, 1]
Generated Node #0,1,2: 84:[80, 1] Operation: 21-20=1
Exploring Operation: 20+80=100, Resulting Numbers: [21, 100]
Generated Node #0,1,3: 84:[21, 100] Operation: 20+80=100
Exploring Operation: 80-20=60, Resulting Numbers: [21, 60]
Generated Node #0,1,4: 84:[21, 60] Operation: 80-20=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[21, 4], Operations: ['69+11=80', '80/20=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[69, 20, 21, 11], Operations: []
Exploring Operation: 69+11=80, Resulting Numbers: [20, 21, 80]
Generated Node #0,1: 84:[20, 21, 80] Operation: 69+11=80
Moving to Node #0,1
Current State: 84:[20, 21, 80], Operations: ['69+11=80']
Exploring Operation: 80/20=4, Resulting Numbers: [21, 4]
Generated Node #0,1,1: 84:[21, 4] Operation: 80/20=4
Moving to Node #0,1,1
Current State: 84:[21, 4], Operations: ['69+11=80', '80/20=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
49,
23,
26,
49
] | 95 | [
"49+23=72",
"49-26=23",
"72+23=95"
] | Current State: 95:[49, 23, 26, 49], Operations: []
Exploring Operation: 49+23=72, Resulting Numbers: [26, 72]
Generated Node #2: [26, 72] from Operation: 49+23=72
Current State: 95:[26, 72], Operations: ['49+23=72']
Exploring Operation: 49-26=23, Resulting Numbers: [72, 23]
Generated Node #3: [72, 23] from Operation: 49-26=23
Current State: 95:[72, 23], Operations: ['49+23=72', '49-26=23']
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[49, 23, 26, 49], Operations: []
Exploring Operation: 49-49=0, Resulting Numbers: [23, 26, 0]
Generated Node #0,0: 95:[23, 26, 0] Operation: 49-49=0
Exploring Operation: 49/49=1, Resulting Numbers: [23, 26, 1]
Generated Node #0,1: 95:[23, 26, 1] Operation: 49/49=1
Exploring Operation: 49+49=98, Resulting Numbers: [23, 26, 98]
Generated Node #0,2: 95:[23, 26, 98] Operation: 49+49=98
Moving to Node #0,2
Current State: 95:[23, 26, 98], Operations: ['49+49=98']
Exploring Operation: 26-23=3, Resulting Numbers: [98, 3]
Generated Node #0,2,0: 95:[98, 3] Operation: 26-23=3
Exploring Operation: 98-23=75, Resulting Numbers: [26, 75]
Generated Node #0,2,1: 95:[26, 75] Operation: 98-23=75
Exploring Operation: 98-26=72, Resulting Numbers: [23, 72]
Generated Node #0,2,2: 95:[23, 72] Operation: 98-26=72
Moving to Node #0,1
Current State: 95:[23, 26, 1], Operations: ['49/49=1']
Exploring Operation: 23-1=22, Resulting Numbers: [26, 22]
Generated Node #0,1,0: 95:[26, 22] Operation: 23-1=22
Exploring Operation: 26-23=3, Resulting Numbers: [1, 3]
Generated Node #0,1,1: 95:[1, 3] Operation: 26-23=3
Exploring Operation: 26-1=25, Resulting Numbers: [23, 25]
Generated Node #0,1,2: 95:[23, 25] Operation: 26-1=25
Moving to Node #0,0
Current State: 95:[23, 26, 0], Operations: ['49-49=0']
Exploring Operation: 26-23=3, Resulting Numbers: [0, 3]
Generated Node #0,0,0: 95:[0, 3] Operation: 26-23=3
Exploring Operation: 23+0=23, Resulting Numbers: [26, 23]
Generated Node #0,0,1: 95:[26, 23] Operation: 23+0=23
Exploring Operation: 26*0=0, Resulting Numbers: [23, 0]
Generated Node #0,0,2: 95:[23, 0] Operation: 26*0=0
Moving to Node #0,2,0
Current State: 95:[98, 3], Operations: ['49+49=98', '26-23=3']
Exploring Operation: 98*3=294, Resulting Numbers: [294]
294,95 unequal: No Solution
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[49, 23, 26, 49], Operations: []
Exploring Operation: 49+49=98, Resulting Numbers: [23, 26, 98]
Generated Node #0,2: 95:[23, 26, 98] Operation: 49+49=98
Moving to Node #0,2
Current State: 95:[23, 26, 98], Operations: ['49+49=98']
Exploring Operation: 26-23=3, Resulting Numbers: [98, 3]
Generated Node #0,2,0: 95:[98, 3] Operation: 26-23=3
Moving to Node #0,2,0
Current State: 95:[98, 3], Operations: ['49+49=98', '26-23=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
98,
24,
1,
3
] | 89 | [
"98-1=97",
"24/3=8",
"97-8=89"
] | Current State: 89:[98, 24, 1, 3], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [24, 3, 97]
Generated Node #2: [24, 3, 97] from Operation: 98-1=97
Current State: 89:[24, 3, 97], Operations: ['98-1=97']
Exploring Operation: 24/3=8, Resulting Numbers: [97, 8]
Generated Node #3: [97, 8] from Operation: 24/3=8
Current State: 89:[97, 8], Operations: ['98-1=97', '24/3=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[98, 24, 1, 3], Operations: []
Exploring Operation: 24*3=72, Resulting Numbers: [98, 1, 72]
Generated Node #0,0: 89:[98, 1, 72] Operation: 24*3=72
Exploring Operation: 24+1=25, Resulting Numbers: [98, 3, 25]
Generated Node #0,1: 89:[98, 3, 25] Operation: 24+1=25
Exploring Operation: 98-3=95, Resulting Numbers: [24, 1, 95]
Generated Node #0,2: 89:[24, 1, 95] Operation: 98-3=95
Exploring Operation: 98-1=97, Resulting Numbers: [24, 3, 97]
Generated Node #0,3: 89:[24, 3, 97] Operation: 98-1=97
Moving to Node #0,0
Current State: 89:[98, 1, 72], Operations: ['24*3=72']
Exploring Operation: 98/1=98, Resulting Numbers: [72, 98]
Generated Node #0,0,0: 89:[72, 98] Operation: 98/1=98
Exploring Operation: 98-1=97, Resulting Numbers: [72, 97]
Generated Node #0,0,1: 89:[72, 97] Operation: 98-1=97
Exploring Operation: 1+72=73, Resulting Numbers: [98, 73]
Generated Node #0,0,2: 89:[98, 73] Operation: 1+72=73
Exploring Operation: 98*1=98, Resulting Numbers: [72, 98]
Generated Node #0,0,3: 89:[72, 98] Operation: 98*1=98
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[72, 97], Operations: ['24*3=72', '98-1=97']
Exploring Operation: 72+97=169, Resulting Numbers: [169]
169,89 unequal: No Solution
Exploring Operation: 72*97=6984, Resulting Numbers: [6984]
6984,89 unequal: No Solution
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[98, 73], Operations: ['24*3=72', '1+72=73']
Exploring Operation: 98+73=171, Resulting Numbers: [171]
171,89 unequal: No Solution
Exploring Operation: 98*73=7154, Resulting Numbers: [7154]
7154,89 unequal: No Solution
Exploring Operation: 98-73=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[72, 98], Operations: ['24*3=72', '98/1=98']
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 72*98=7056, Resulting Numbers: [7056]
7056,89 unequal: No Solution
Exploring Operation: 72+98=170, Resulting Numbers: [170]
170,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,3
Current State: 89:[72, 98], Operations: ['24*3=72', '98*1=98']
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 72*98=7056, Resulting Numbers: [7056]
7056,89 unequal: No Solution
Exploring Operation: 72+98=170, Resulting Numbers: [170]
170,89 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: 89:[24, 1, 95], Operations: ['98-3=95']
Exploring Operation: 24+1=25, Resulting Numbers: [95, 25]
Generated Node #0,2,0: 89:[95, 25] Operation: 24+1=25
Exploring Operation: 95-1=94, Resulting Numbers: [24, 94]
Generated Node #0,2,1: 89:[24, 94] Operation: 95-1=94
Exploring Operation: 24*1=24, Resulting Numbers: [95, 24]
Generated Node #0,2,2: 89:[95, 24] Operation: 24*1=24
Exploring Operation: 24/1=24, Resulting Numbers: [95, 24]
Generated Node #0,2,3: 89:[95, 24] Operation: 24/1=24
Moving to Node #0,1
Current State: 89:[98, 3, 25], Operations: ['24+1=25']
Exploring Operation: 98-3=95, Resulting Numbers: [25, 95]
Generated Node #0,1,0: 89:[25, 95] Operation: 98-3=95
Exploring Operation: 3+25=28, Resulting Numbers: [98, 28]
Generated Node #0,1,1: 89:[98, 28] Operation: 3+25=28
Exploring Operation: 3*25=75, Resulting Numbers: [98, 75]
Generated Node #0,1,2: 89:[98, 75] Operation: 3*25=75
Exploring Operation: 98+3=101, Resulting Numbers: [25, 101]
Generated Node #0,1,3: 89:[25, 101] Operation: 98+3=101
Moving to Node #0,3
Current State: 89:[24, 3, 97], Operations: ['98-1=97']
Exploring Operation: 24+3=27, Resulting Numbers: [97, 27]
Generated Node #0,3,0: 89:[97, 27] Operation: 24+3=27
Exploring Operation: 97-3=94, Resulting Numbers: [24, 94]
Generated Node #0,3,1: 89:[24, 94] Operation: 97-3=94
Exploring Operation: 24*3=72, Resulting Numbers: [97, 72]
Generated Node #0,3,2: 89:[97, 72] Operation: 24*3=72
Exploring Operation: 24-3=21, Resulting Numbers: [97, 21]
Generated Node #0,3,3: 89:[97, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[97, 72], Operations: ['98-1=97', '24*3=72']
Exploring Operation: 97*72=6984, Resulting Numbers: [6984]
6984,89 unequal: No Solution
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 97+72=169, Resulting Numbers: [169]
169,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,3,0
Current State: 89:[97, 27], Operations: ['98-1=97', '24+3=27']
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,89 unequal: No Solution
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,89 unequal: No Solution
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,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,3,1
Current State: 89:[24, 94], Operations: ['98-1=97', '97-3=94']
Exploring Operation: 24*94=2256, Resulting Numbers: [2256]
2256,89 unequal: No Solution
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,89 unequal: No Solution
Exploring Operation: 24+94=118, Resulting Numbers: [118]
118,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,3,3
Current State: 89:[97, 21], Operations: ['98-1=97', '24-3=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 89:[98, 75], Operations: ['24+1=25', '3*25=75']
Exploring Operation: 98*75=7350, Resulting Numbers: [7350]
7350,89 unequal: No Solution
Exploring Operation: 98+75=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[25, 95], Operations: ['24+1=25', '98-3=95']
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,89 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,89 unequal: No Solution
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[98, 28], Operations: ['24+1=25', '3+25=28']
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,89 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[95, 25], Operations: ['98-3=95', '24+1=25']
Exploring Operation: 95*25=2375, Resulting Numbers: [2375]
2375,89 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,89 unequal: No Solution
Exploring Operation: 95+25=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[24, 94], Operations: ['98-3=95', '95-1=94']
Exploring Operation: 24+94=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,89 unequal: No Solution
Exploring Operation: 24*94=2256, Resulting Numbers: [2256]
2256,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[95, 24], Operations: ['98-3=95', '24*1=24']
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,89 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[95, 24], Operations: ['98-3=95', '24/1=24']
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,89 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[25, 101], Operations: ['24+1=25', '98+3=101']
Exploring Operation: 25+101=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 25*101=2525, Resulting Numbers: [2525]
2525,89 unequal: No Solution
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,89 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
55,
26,
32,
57
] | 91 | [
"55+57=112",
"26*112=2912",
"2912/32=91"
] | Current State: 91:[55, 26, 32, 57], Operations: []
Exploring Operation: 55+57=112, Resulting Numbers: [26, 32, 112]
Generated Node #2: [26, 32, 112] from Operation: 55+57=112
Current State: 91:[26, 32, 112], Operations: ['55+57=112']
Exploring Operation: 26*112=2912, Resulting Numbers: [32, 2912]
Generated Node #3: [32, 2912] from Operation: 26*112=2912
Current State: 91:[32, 2912], Operations: ['55+57=112', '26*112=2912']
Exploring Operation: 2912/32=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[55, 26, 32, 57], Operations: []
Exploring Operation: 32+57=89, Resulting Numbers: [55, 26, 89]
Generated Node #0,0: 91:[55, 26, 89] Operation: 32+57=89
Exploring Operation: 57-55=2, Resulting Numbers: [26, 32, 2]
Generated Node #0,1: 91:[26, 32, 2] Operation: 57-55=2
Exploring Operation: 55+57=112, Resulting Numbers: [26, 32, 112]
Generated Node #0,2: 91:[26, 32, 112] Operation: 55+57=112
Exploring Operation: 55+32=87, Resulting Numbers: [26, 57, 87]
Generated Node #0,3: 91:[26, 57, 87] Operation: 55+32=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[26, 32, 2], Operations: ['57-55=2']
Exploring Operation: 32/2=16, Resulting Numbers: [26, 16]
Generated Node #0,1,0: 91:[26, 16] Operation: 32/2=16
Exploring Operation: 26/2=13, Resulting Numbers: [32, 13]
Generated Node #0,1,1: 91:[32, 13] Operation: 26/2=13
Exploring Operation: 32-26=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 91:[2, 6] Operation: 32-26=6
Exploring Operation: 26-2=24, Resulting Numbers: [32, 24]
Generated Node #0,1,3: 91:[32, 24] Operation: 26-2=24
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[2, 6], Operations: ['57-55=2', '32-26=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[26, 16], Operations: ['57-55=2', '32/2=16']
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,91 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,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:[32, 13], Operations: ['57-55=2', '26/2=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,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,3
Current State: 91:[32, 24], Operations: ['57-55=2', '26-2=24']
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,91 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,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,0
Current State: 91:[55, 26, 89], Operations: ['32+57=89']
Exploring Operation: 89-55=34, Resulting Numbers: [26, 34]
Generated Node #0,0,0: 91:[26, 34] Operation: 89-55=34
Exploring Operation: 26+89=115, Resulting Numbers: [55, 115]
Generated Node #0,0,1: 91:[55, 115] Operation: 26+89=115
Exploring Operation: 55-26=29, Resulting Numbers: [89, 29]
Generated Node #0,0,2: 91:[89, 29] Operation: 55-26=29
Exploring Operation: 55+26=81, Resulting Numbers: [89, 81]
Generated Node #0,0,3: 91:[89, 81] Operation: 55+26=81
Moving to Node #0,0,3
Current State: 91:[89, 81], Operations: ['32+57=89', '55+26=81']
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,91 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[89, 29], Operations: ['32+57=89', '55-26=29']
Exploring Operation: 89+29=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 89*29=2581, Resulting Numbers: [2581]
2581,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[26, 34], Operations: ['32+57=89', '89-55=34']
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,91 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[55, 115], Operations: ['32+57=89', '26+89=115']
Exploring Operation: 55+115=170, Resulting Numbers: [170]
170,91 unequal: No Solution
Exploring Operation: 115-55=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 55*115=6325, Resulting Numbers: [6325]
6325,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[26, 57, 87], Operations: ['55+32=87']
Exploring Operation: 26+87=113, Resulting Numbers: [57, 113]
Generated Node #0,3,0: 91:[57, 113] Operation: 26+87=113
Exploring Operation: 57-26=31, Resulting Numbers: [87, 31]
Generated Node #0,3,1: 91:[87, 31] Operation: 57-26=31
Exploring Operation: 87-57=30, Resulting Numbers: [26, 30]
Generated Node #0,3,2: 91:[26, 30] Operation: 87-57=30
Exploring Operation: 26+57=83, Resulting Numbers: [87, 83]
Generated Node #0,3,3: 91:[87, 83] Operation: 26+57=83
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 91:[87, 83], Operations: ['55+32=87', '26+57=83']
Exploring Operation: 87+83=170, Resulting Numbers: [170]
170,91 unequal: No Solution
Exploring Operation: 87*83=7221, Resulting Numbers: [7221]
7221,91 unequal: No Solution
Exploring Operation: 87-83=4, Resulting Numbers: [4]
4,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,3,1
Current State: 91:[87, 31], Operations: ['55+32=87', '57-26=31']
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,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,3,2
Current State: 91:[26, 30], Operations: ['55+32=87', '87-57=30']
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,91 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,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,3,0
Current State: 91:[57, 113], Operations: ['55+32=87', '26+87=113']
Exploring Operation: 57+113=170, Resulting Numbers: [170]
170,91 unequal: No Solution
Exploring Operation: 113-57=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 57*113=6441, Resulting Numbers: [6441]
6441,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,2
Current State: 91:[26, 32, 112], Operations: ['55+57=112']
Exploring Operation: 112-26=86, Resulting Numbers: [32, 86]
Generated Node #0,2,0: 91:[32, 86] Operation: 112-26=86
Exploring Operation: 26+32=58, Resulting Numbers: [112, 58]
Generated Node #0,2,1: 91:[112, 58] Operation: 26+32=58
Exploring Operation: 112-32=80, Resulting Numbers: [26, 80]
Generated Node #0,2,2: 91:[26, 80] Operation: 112-32=80
Exploring Operation: 32-26=6, Resulting Numbers: [112, 6]
Generated Node #0,2,3: 91:[112, 6] Operation: 32-26=6
Moving to Node #0,2,3
Current State: 91:[112, 6], Operations: ['55+57=112', '32-26=6']
Exploring Operation: 112-6=106, Resulting Numbers: [106]
106,91 unequal: No Solution
Exploring Operation: 112+6=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 112*6=672, Resulting Numbers: [672]
672,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[26, 80], Operations: ['55+57=112', '112-32=80']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,91 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[32, 86], Operations: ['55+57=112', '112-26=86']
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,91 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[112, 58], Operations: ['55+57=112', '26+32=58']
Exploring Operation: 112-58=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 112+58=170, Resulting Numbers: [170]
170,91 unequal: No Solution
Exploring Operation: 112*58=6496, Resulting Numbers: [6496]
6496,91 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 |
[
15,
71,
44,
4
] | 90 | [
"15+71=86",
"44*4=176",
"176-86=90"
] | Current State: 90:[15, 71, 44, 4], Operations: []
Exploring Operation: 15+71=86, Resulting Numbers: [44, 4, 86]
Generated Node #2: [44, 4, 86] from Operation: 15+71=86
Current State: 90:[44, 4, 86], Operations: ['15+71=86']
Exploring Operation: 44*4=176, Resulting Numbers: [86, 176]
Generated Node #3: [86, 176] from Operation: 44*4=176
Current State: 90:[86, 176], Operations: ['15+71=86', '44*4=176']
Exploring Operation: 176-86=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[15, 71, 44, 4], Operations: []
Exploring Operation: 71+4=75, Resulting Numbers: [15, 44, 75]
Generated Node #0,0: 90:[15, 44, 75] Operation: 71+4=75
Exploring Operation: 71-15=56, Resulting Numbers: [44, 4, 56]
Generated Node #0,1: 90:[44, 4, 56] Operation: 71-15=56
Exploring Operation: 71-44=27, Resulting Numbers: [15, 4, 27]
Generated Node #0,2: 90:[15, 4, 27] Operation: 71-44=27
Exploring Operation: 15+71=86, Resulting Numbers: [44, 4, 86]
Generated Node #0,3: 90:[44, 4, 86] Operation: 15+71=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[15, 4, 27], Operations: ['71-44=27']
Exploring Operation: 4+27=31, Resulting Numbers: [15, 31]
Generated Node #0,2,0: 90:[15, 31] Operation: 4+27=31
Exploring Operation: 15-4=11, Resulting Numbers: [27, 11]
Generated Node #0,2,1: 90:[27, 11] Operation: 15-4=11
Exploring Operation: 27-15=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 90:[4, 12] Operation: 27-15=12
Exploring Operation: 15+4=19, Resulting Numbers: [27, 19]
Generated Node #0,2,3: 90:[27, 19] Operation: 15+4=19
Moving to Node #0,2,0
Current State: 90:[15, 31], Operations: ['71-44=27', '4+27=31']
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,90 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[4, 12], Operations: ['71-44=27', '27-15=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[27, 19], Operations: ['71-44=27', '15+4=19']
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,90 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[27, 11], Operations: ['71-44=27', '15-4=11']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,90 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,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
Current State: 90:[44, 4, 86], Operations: ['15+71=86']
Exploring Operation: 4+86=90, Resulting Numbers: [44, 90]
Generated Node #0,3,0: 90:[44, 90] Operation: 4+86=90
Exploring Operation: 44+4=48, Resulting Numbers: [86, 48]
Generated Node #0,3,1: 90:[86, 48] Operation: 44+4=48
Exploring Operation: 86-44=42, Resulting Numbers: [4, 42]
Generated Node #0,3,2: 90:[4, 42] Operation: 86-44=42
Exploring Operation: 44/4=11, Resulting Numbers: [86, 11]
Generated Node #0,3,3: 90:[86, 11] Operation: 44/4=11
Moving to Node #0,3,0
Current State: 90:[44, 90], Operations: ['15+71=86', '4+86=90']
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,90 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[4, 42], Operations: ['15+71=86', '86-44=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,90 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[86, 11], Operations: ['15+71=86', '44/4=11']
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,90 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[86, 48], Operations: ['15+71=86', '44+4=48']
Exploring Operation: 86*48=4128, Resulting Numbers: [4128]
4128,90 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 86+48=134, Resulting Numbers: [134]
134,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[44, 4, 56], Operations: ['71-15=56']
Exploring Operation: 44+56=100, Resulting Numbers: [4, 100]
Generated Node #0,1,0: 90:[4, 100] Operation: 44+56=100
Exploring Operation: 56-44=12, Resulting Numbers: [4, 12]
Generated Node #0,1,1: 90:[4, 12] Operation: 56-44=12
Exploring Operation: 56-4=52, Resulting Numbers: [44, 52]
Generated Node #0,1,2: 90:[44, 52] Operation: 56-4=52
Exploring Operation: 56/4=14, Resulting Numbers: [44, 14]
Generated Node #0,1,3: 90:[44, 14] Operation: 56/4=14
Moving to Node #0,1,3
Current State: 90:[44, 14], Operations: ['71-15=56', '56/4=14']
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,90 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[4, 12], Operations: ['71-15=56', '56-44=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[44, 52], Operations: ['71-15=56', '56-4=52']
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,90 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[4, 100], Operations: ['71-15=56', '44+56=100']
Exploring Operation: 4+100=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 4*100=400, Resulting Numbers: [400]
400,90 unequal: No Solution
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,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,0
Current State: 90:[15, 44, 75], Operations: ['71+4=75']
Exploring Operation: 75/15=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 90:[44, 5] Operation: 75/15=5
Exploring Operation: 75-44=31, Resulting Numbers: [15, 31]
Generated Node #0,0,1: 90:[15, 31] Operation: 75-44=31
Exploring Operation: 44-15=29, Resulting Numbers: [75, 29]
Generated Node #0,0,2: 90:[75, 29] Operation: 44-15=29
Exploring Operation: 15+75=90, Resulting Numbers: [44, 90]
Generated Node #0,0,3: 90:[44, 90] Operation: 15+75=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[44, 5], Operations: ['71+4=75', '75/15=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,90 unequal: No Solution
No 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: 90:[15, 31], Operations: ['71+4=75', '75-44=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,90 unequal: No Solution
No 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: 90:[44, 90], Operations: ['71+4=75', '15+75=90']
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,90 unequal: No Solution
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,90 unequal: No Solution
No 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: 90:[75, 29], Operations: ['71+4=75', '44-15=29']
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
27,
15,
5
] | 29 | [
"27/3=9",
"15+5=20",
"9+20=29"
] | Current State: 29:[3, 27, 15, 5], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [15, 5, 9]
Generated Node #2: [15, 5, 9] from Operation: 27/3=9
Current State: 29:[15, 5, 9], Operations: ['27/3=9']
Exploring Operation: 15+5=20, Resulting Numbers: [9, 20]
Generated Node #3: [9, 20] from Operation: 15+5=20
Current State: 29:[9, 20], Operations: ['27/3=9', '15+5=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[3, 27, 15, 5], Operations: []
Exploring Operation: 3+27=30, Resulting Numbers: [15, 5, 30]
Generated Node #0,0: 29:[15, 5, 30] Operation: 3+27=30
Exploring Operation: 3+15=18, Resulting Numbers: [27, 5, 18]
Generated Node #0,1: 29:[27, 5, 18] Operation: 3+15=18
Exploring Operation: 15+5=20, Resulting Numbers: [3, 27, 20]
Generated Node #0,2: 29:[3, 27, 20] Operation: 15+5=20
Exploring Operation: 3*5=15, Resulting Numbers: [27, 15, 15]
Generated Node #0,3: 29:[27, 15, 15] Operation: 3*5=15
Exploring Operation: 3+5=8, Resulting Numbers: [27, 15, 8]
Generated Node #0,4: 29:[27, 15, 8] Operation: 3+5=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[27, 15, 15], Operations: ['3*5=15']
Exploring Operation: 15+15=30, Resulting Numbers: [27, 30]
Generated Node #0,3,0: 29:[27, 30] Operation: 15+15=30
Exploring Operation: 27-15=12, Resulting Numbers: [15, 12]
Generated Node #0,3,1: 29:[15, 12] Operation: 27-15=12
Exploring Operation: 27+15=42, Resulting Numbers: [15, 42]
Generated Node #0,3,2: 29:[15, 42] Operation: 27+15=42
Exploring Operation: 27+15=42, Resulting Numbers: [15, 42]
Generated Node #0,3,3: 29:[15, 42] Operation: 27+15=42
Exploring Operation: 15/15=1, Resulting Numbers: [27, 1]
Generated Node #0,3,4: 29:[27, 1] Operation: 15/15=1
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[27, 30], Operations: ['3*5=15', '15+15=30']
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,29 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,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,3,2
Current State: 29:[15, 42], Operations: ['3*5=15', '27+15=42']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,29 unequal: No Solution
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,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,3,3
Current State: 29:[15, 42], Operations: ['3*5=15', '27+15=42']
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,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,3,4
Current State: 29:[27, 1], Operations: ['3*5=15', '15/15=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,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,3,1
Current State: 29:[15, 12], Operations: ['3*5=15', '27-15=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,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:[27, 5, 18], Operations: ['3+15=18']
Exploring Operation: 27-5=22, Resulting Numbers: [18, 22]
Generated Node #0,1,0: 29:[18, 22] Operation: 27-5=22
Exploring Operation: 27+5=32, Resulting Numbers: [18, 32]
Generated Node #0,1,1: 29:[18, 32] Operation: 27+5=32
Exploring Operation: 5+18=23, Resulting Numbers: [27, 23]
Generated Node #0,1,2: 29:[27, 23] Operation: 5+18=23
Exploring Operation: 18-5=13, Resulting Numbers: [27, 13]
Generated Node #0,1,3: 29:[27, 13] Operation: 18-5=13
Exploring Operation: 27+18=45, Resulting Numbers: [5, 45]
Generated Node #0,1,4: 29:[5, 45] Operation: 27+18=45
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[27, 23], Operations: ['3+15=18', '5+18=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,29 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,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,1
Current State: 29:[18, 32], Operations: ['3+15=18', '27+5=32']
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,29 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,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:[18, 22], Operations: ['3+15=18', '27-5=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,29 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,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,3
Current State: 29:[27, 13], Operations: ['3+15=18', '18-5=13']
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,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,4
Current State: 29:[5, 45], Operations: ['3+15=18', '27+18=45']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,29 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,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,2
Current State: 29:[3, 27, 20], Operations: ['15+5=20']
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #0,2,0: 29:[20, 9] Operation: 27/3=9
Exploring Operation: 3+20=23, Resulting Numbers: [27, 23]
Generated Node #0,2,1: 29:[27, 23] Operation: 3+20=23
Exploring Operation: 3+27=30, Resulting Numbers: [20, 30]
Generated Node #0,2,2: 29:[20, 30] Operation: 3+27=30
Exploring Operation: 27-3=24, Resulting Numbers: [20, 24]
Generated Node #0,2,3: 29:[20, 24] Operation: 27-3=24
Exploring Operation: 20-3=17, Resulting Numbers: [27, 17]
Generated Node #0,2,4: 29:[27, 17] Operation: 20-3=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[27, 23], Operations: ['15+5=20', '3+20=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,29 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[20, 30], Operations: ['15+5=20', '3+27=30']
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[20, 24], Operations: ['15+5=20', '27-3=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,29 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 29:[27, 17], Operations: ['15+5=20', '20-3=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,29 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[20, 9], Operations: ['15+5=20', '27/3=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[3, 27, 15, 5], Operations: []
Exploring Operation: 15+5=20, Resulting Numbers: [3, 27, 20]
Generated Node #0,2: 29:[3, 27, 20] Operation: 15+5=20
Moving to Node #0,2
Current State: 29:[3, 27, 20], Operations: ['15+5=20']
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #0,2,0: 29:[20, 9] Operation: 27/3=9
Moving to Node #0,2,0
Current State: 29:[20, 9], Operations: ['15+5=20', '27/3=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940104 | hs_5 | sum_heuristic |
[
82,
62,
11,
37
] | 46 | [
"82-62=20",
"37-11=26",
"20+26=46"
] | Current State: 46:[82, 62, 11, 37], Operations: []
Exploring Operation: 82-62=20, Resulting Numbers: [11, 37, 20]
Generated Node #2: [11, 37, 20] from Operation: 82-62=20
Current State: 46:[11, 37, 20], Operations: ['82-62=20']
Exploring Operation: 37-11=26, Resulting Numbers: [20, 26]
Generated Node #3: [20, 26] from Operation: 37-11=26
Current State: 46:[20, 26], Operations: ['82-62=20', '37-11=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[82, 62, 11, 37], Operations: []
Exploring Operation: 82-62=20, Resulting Numbers: [11, 37, 20]
Generated Node #0,0: 46:[11, 37, 20] Operation: 82-62=20
Exploring Operation: 82-37=45, Resulting Numbers: [62, 11, 45]
Generated Node #0,1: 46:[62, 11, 45] Operation: 82-37=45
Moving to Node #0,0
Current State: 46:[11, 37, 20], Operations: ['82-62=20']
Exploring Operation: 37-11=26, Resulting Numbers: [20, 26]
Generated Node #0,0,0: 46:[20, 26] Operation: 37-11=26
Exploring Operation: 11+37=48, Resulting Numbers: [20, 48]
Generated Node #0,0,1: 46:[20, 48] Operation: 11+37=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[20, 48], Operations: ['82-62=20', '11+37=48']
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No 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: 46:[20, 26], Operations: ['82-62=20', '37-11=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[82, 62, 11, 37], Operations: []
Exploring Operation: 82-62=20, Resulting Numbers: [11, 37, 20]
Generated Node #0,0: 46:[11, 37, 20] Operation: 82-62=20
Moving to Node #0,0
Current State: 46:[11, 37, 20], Operations: ['82-62=20']
Exploring Operation: 37-11=26, Resulting Numbers: [20, 26]
Generated Node #0,0,0: 46:[20, 26] Operation: 37-11=26
Moving to Node #0,0,0
Current State: 46:[20, 26], Operations: ['82-62=20', '37-11=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
43,
57,
85,
55
] | 10 | [
"57-43=14",
"85+55=140",
"140/14=10"
] | Current State: 10:[43, 57, 85, 55], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [85, 55, 14]
Generated Node #2: [85, 55, 14] from Operation: 57-43=14
Current State: 10:[85, 55, 14], Operations: ['57-43=14']
Exploring Operation: 85+55=140, Resulting Numbers: [14, 140]
Generated Node #3: [14, 140] from Operation: 85+55=140
Current State: 10:[14, 140], Operations: ['57-43=14', '85+55=140']
Exploring Operation: 140/14=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[43, 57, 85, 55], Operations: []
Exploring Operation: 85-57=28, Resulting Numbers: [43, 55, 28]
Generated Node #0,0: 10:[43, 55, 28] Operation: 85-57=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[43, 55, 28], Operations: ['85-57=28']
Exploring Operation: 55-43=12, Resulting Numbers: [28, 12]
Generated Node #0,0,0: 10:[28, 12] Operation: 55-43=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[28, 12], Operations: ['85-57=28', '55-43=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
46,
75,
80
] | 20 | [
"33+46=79",
"79-75=4",
"80/4=20"
] | Current State: 20:[33, 46, 75, 80], Operations: []
Exploring Operation: 33+46=79, Resulting Numbers: [75, 80, 79]
Generated Node #2: [75, 80, 79] from Operation: 33+46=79
Current State: 20:[75, 80, 79], Operations: ['33+46=79']
Exploring Operation: 79-75=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 79-75=4
Current State: 20:[80, 4], Operations: ['33+46=79', '79-75=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[33, 46, 75, 80], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [33, 46, 5]
Generated Node #0,0: 20:[33, 46, 5] Operation: 80-75=5
Exploring Operation: 75-46=29, Resulting Numbers: [33, 80, 29]
Generated Node #0,1: 20:[33, 80, 29] Operation: 75-46=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[33, 46, 5], Operations: ['80-75=5']
Exploring Operation: 33-5=28, Resulting Numbers: [46, 28]
Generated Node #0,0,0: 20:[46, 28] Operation: 33-5=28
Exploring Operation: 46-33=13, Resulting Numbers: [5, 13]
Generated Node #0,0,1: 20:[5, 13] Operation: 46-33=13
Moving to Node #0,0,1
Current State: 20:[5, 13], Operations: ['80-75=5', '46-33=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[46, 28], Operations: ['80-75=5', '33-5=28']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,20 unequal: No Solution
No 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: 20:[33, 80, 29], Operations: ['75-46=29']
Exploring Operation: 80-33=47, Resulting Numbers: [29, 47]
Generated Node #0,1,0: 20:[29, 47] Operation: 80-33=47
Exploring Operation: 80-29=51, Resulting Numbers: [33, 51]
Generated Node #0,1,1: 20:[33, 51] Operation: 80-29=51
Moving to Node #0,1,0
Current State: 20:[29, 47], Operations: ['75-46=29', '80-33=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[33, 51], Operations: ['75-46=29', '80-29=51']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,20 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 |
[
96,
91,
28,
94
] | 61 | [
"96-91=5",
"94-28=66",
"66-5=61"
] | Current State: 61:[96, 91, 28, 94], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [28, 94, 5]
Generated Node #2: [28, 94, 5] from Operation: 96-91=5
Current State: 61:[28, 94, 5], Operations: ['96-91=5']
Exploring Operation: 94-28=66, Resulting Numbers: [5, 66]
Generated Node #3: [5, 66] from Operation: 94-28=66
Current State: 61:[5, 66], Operations: ['96-91=5', '94-28=66']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[96, 91, 28, 94], Operations: []
Exploring Operation: 96-28=68, Resulting Numbers: [91, 94, 68]
Generated Node #0,0: 61:[91, 94, 68] Operation: 96-28=68
Moving to Node #0,0
Current State: 61:[91, 94, 68], Operations: ['96-28=68']
Exploring Operation: 94-91=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 61:[68, 3] Operation: 94-91=3
Moving to Node #0,0,0
Current State: 61:[68, 3], Operations: ['96-28=68', '94-91=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
82,
45,
48
] | 50 | [
"8+82=90",
"90/45=2",
"48+2=50"
] | Current State: 50:[8, 82, 45, 48], Operations: []
Exploring Operation: 8+82=90, Resulting Numbers: [45, 48, 90]
Generated Node #2: [45, 48, 90] from Operation: 8+82=90
Current State: 50:[45, 48, 90], Operations: ['8+82=90']
Exploring Operation: 90/45=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 90/45=2
Current State: 50:[48, 2], Operations: ['8+82=90', '90/45=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[8, 82, 45, 48], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [8, 45, 34]
Generated Node #0,0: 50:[8, 45, 34] Operation: 82-48=34
Exploring Operation: 82-45=37, Resulting Numbers: [8, 48, 37]
Generated Node #0,1: 50:[8, 48, 37] Operation: 82-45=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[8, 45, 34], Operations: ['82-48=34']
Exploring Operation: 34-8=26, Resulting Numbers: [45, 26]
Generated Node #0,0,0: 50:[45, 26] Operation: 34-8=26
Exploring Operation: 45-34=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 50:[8, 11] Operation: 45-34=11
Moving to Node #0,0,1
Current State: 50:[8, 11], Operations: ['82-48=34', '45-34=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[45, 26], Operations: ['82-48=34', '34-8=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,50 unequal: No Solution
No 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: 50:[8, 48, 37], Operations: ['82-45=37']
Exploring Operation: 48-37=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 50:[8, 11] Operation: 48-37=11
Exploring Operation: 37-8=29, Resulting Numbers: [48, 29]
Generated Node #0,1,1: 50:[48, 29] Operation: 37-8=29
Moving to Node #0,1,0
Current State: 50:[8, 11], Operations: ['82-45=37', '48-37=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[48, 29], Operations: ['82-45=37', '37-8=29']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,50 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 |
[
79,
22,
2,
9
] | 20 | [
"79*2=158",
"22+158=180",
"180/9=20"
] | Current State: 20:[79, 22, 2, 9], Operations: []
Exploring Operation: 79*2=158, Resulting Numbers: [22, 9, 158]
Generated Node #2: [22, 9, 158] from Operation: 79*2=158
Current State: 20:[22, 9, 158], Operations: ['79*2=158']
Exploring Operation: 22+158=180, Resulting Numbers: [9, 180]
Generated Node #3: [9, 180] from Operation: 22+158=180
Current State: 20:[9, 180], Operations: ['79*2=158', '22+158=180']
Exploring Operation: 180/9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[79, 22, 2, 9], Operations: []
Exploring Operation: 22-2=20, Resulting Numbers: [79, 9, 20]
Generated Node #0,0: 20:[79, 9, 20] Operation: 22-2=20
Exploring Operation: 79-2=77, Resulting Numbers: [22, 9, 77]
Generated Node #0,1: 20:[22, 9, 77] Operation: 79-2=77
Exploring Operation: 79-22=57, Resulting Numbers: [2, 9, 57]
Generated Node #0,2: 20:[2, 9, 57] Operation: 79-22=57
Exploring Operation: 79-9=70, Resulting Numbers: [22, 2, 70]
Generated Node #0,3: 20:[22, 2, 70] Operation: 79-9=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[2, 9, 57], Operations: ['79-22=57']
Exploring Operation: 57-2=55, Resulting Numbers: [9, 55]
Generated Node #0,2,0: 20:[9, 55] Operation: 57-2=55
Exploring Operation: 2*9=18, Resulting Numbers: [57, 18]
Generated Node #0,2,1: 20:[57, 18] Operation: 2*9=18
Exploring Operation: 2+9=11, Resulting Numbers: [57, 11]
Generated Node #0,2,2: 20:[57, 11] Operation: 2+9=11
Exploring Operation: 57-9=48, Resulting Numbers: [2, 48]
Generated Node #0,2,3: 20:[2, 48] Operation: 57-9=48
Moving to Node #0,2,3
Current State: 20:[2, 48], Operations: ['79-22=57', '57-9=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[9, 55], Operations: ['79-22=57', '57-2=55']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,20 unequal: No Solution
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[57, 11], Operations: ['79-22=57', '2+9=11']
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,20 unequal: No Solution
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[57, 18], Operations: ['79-22=57', '2*9=18']
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,20 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,20 unequal: No Solution
No 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: 20:[22, 2, 70], Operations: ['79-9=70']
Exploring Operation: 22-2=20, Resulting Numbers: [70, 20]
Generated Node #0,3,0: 20:[70, 20] Operation: 22-2=20
Exploring Operation: 70-22=48, Resulting Numbers: [2, 48]
Generated Node #0,3,1: 20:[2, 48] Operation: 70-22=48
Exploring Operation: 70/2=35, Resulting Numbers: [22, 35]
Generated Node #0,3,2: 20:[22, 35] Operation: 70/2=35
Exploring Operation: 70-2=68, Resulting Numbers: [22, 68]
Generated Node #0,3,3: 20:[22, 68] Operation: 70-2=68
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[22, 35], Operations: ['79-9=70', '70/2=35']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,20 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No 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: 20:[2, 48], Operations: ['79-9=70', '70-22=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,20 unequal: No Solution
No 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: 20:[70, 20], Operations: ['79-9=70', '22-2=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,20 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,20 unequal: No Solution
No 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: 20:[22, 68], Operations: ['79-9=70', '70-2=68']
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,20 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,20 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: 20:[79, 9, 20], Operations: ['22-2=20']
Exploring Operation: 79-20=59, Resulting Numbers: [9, 59]
Generated Node #0,0,0: 20:[9, 59] Operation: 79-20=59
Exploring Operation: 20-9=11, Resulting Numbers: [79, 11]
Generated Node #0,0,1: 20:[79, 11] Operation: 20-9=11
Exploring Operation: 79+9=88, Resulting Numbers: [20, 88]
Generated Node #0,0,2: 20:[20, 88] Operation: 79+9=88
Exploring Operation: 79-9=70, Resulting Numbers: [20, 70]
Generated Node #0,0,3: 20:[20, 70] Operation: 79-9=70
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[9, 59], Operations: ['22-2=20', '79-20=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,20 unequal: No Solution
No 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: 20:[20, 70], Operations: ['22-2=20', '79-9=70']
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,20 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,20 unequal: No Solution
No 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: 20:[79, 11], Operations: ['22-2=20', '20-9=11']
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,20 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,20 unequal: No Solution
No 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: 20:[20, 88], Operations: ['22-2=20', '79+9=88']
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,20 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,20 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: 20:[22, 9, 77], Operations: ['79-2=77']
Exploring Operation: 77-9=68, Resulting Numbers: [22, 68]
Generated Node #0,1,0: 20:[22, 68] Operation: 77-9=68
Exploring Operation: 22+9=31, Resulting Numbers: [77, 31]
Generated Node #0,1,1: 20:[77, 31] Operation: 22+9=31
Exploring Operation: 77-22=55, Resulting Numbers: [9, 55]
Generated Node #0,1,2: 20:[9, 55] Operation: 77-22=55
Exploring Operation: 22-9=13, Resulting Numbers: [77, 13]
Generated Node #0,1,3: 20:[77, 13] Operation: 22-9=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[9, 55], Operations: ['79-2=77', '77-22=55']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,20 unequal: No Solution
No 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: 20:[22, 68], Operations: ['79-2=77', '77-9=68']
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,20 unequal: No Solution
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No 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: 20:[77, 13], Operations: ['79-2=77', '22-9=13']
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,20 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,20 unequal: No Solution
No 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: 20:[77, 31], Operations: ['79-2=77', '22+9=31']
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,20 unequal: No Solution
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
65,
13,
15
] | 91 | [
"39+65=104",
"13*15=195",
"195-104=91"
] | Current State: 91:[39, 65, 13, 15], Operations: []
Exploring Operation: 39+65=104, Resulting Numbers: [13, 15, 104]
Generated Node #2: [13, 15, 104] from Operation: 39+65=104
Current State: 91:[13, 15, 104], Operations: ['39+65=104']
Exploring Operation: 13*15=195, Resulting Numbers: [104, 195]
Generated Node #3: [104, 195] from Operation: 13*15=195
Current State: 91:[104, 195], Operations: ['39+65=104', '13*15=195']
Exploring Operation: 195-104=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[39, 65, 13, 15], Operations: []
Exploring Operation: 65-39=26, Resulting Numbers: [13, 15, 26]
Generated Node #0,0: 91:[13, 15, 26] Operation: 65-39=26
Exploring Operation: 39+65=104, Resulting Numbers: [13, 15, 104]
Generated Node #0,1: 91:[13, 15, 104] Operation: 39+65=104
Exploring Operation: 65/13=5, Resulting Numbers: [39, 15, 5]
Generated Node #0,2: 91:[39, 15, 5] Operation: 65/13=5
Exploring Operation: 39/13=3, Resulting Numbers: [65, 15, 3]
Generated Node #0,3: 91:[65, 15, 3] Operation: 39/13=3
Exploring Operation: 39-15=24, Resulting Numbers: [65, 13, 24]
Generated Node #0,4: 91:[65, 13, 24] Operation: 39-15=24
Moving to Node #0,0
Current State: 91:[13, 15, 26], Operations: ['65-39=26']
Exploring Operation: 13+15=28, Resulting Numbers: [26, 28]
Generated Node #0,0,0: 91:[26, 28] Operation: 13+15=28
Exploring Operation: 26-15=11, Resulting Numbers: [13, 11]
Generated Node #0,0,1: 91:[13, 11] Operation: 26-15=11
Exploring Operation: 26-13=13, Resulting Numbers: [15, 13]
Generated Node #0,0,2: 91:[15, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [15, 2]
Generated Node #0,0,3: 91:[15, 2] Operation: 26/13=2
Exploring Operation: 15-13=2, Resulting Numbers: [26, 2]
Generated Node #0,0,4: 91:[26, 2] Operation: 15-13=2
Moving to Node #0,1
Current State: 91:[13, 15, 104], Operations: ['39+65=104']
Exploring Operation: 15-13=2, Resulting Numbers: [104, 2]
Generated Node #0,1,0: 91:[104, 2] Operation: 15-13=2
Exploring Operation: 13+15=28, Resulting Numbers: [104, 28]
Generated Node #0,1,1: 91:[104, 28] Operation: 13+15=28
Exploring Operation: 104-15=89, Resulting Numbers: [13, 89]
Generated Node #0,1,2: 91:[13, 89] Operation: 104-15=89
Exploring Operation: 104-13=91, Resulting Numbers: [15, 91]
Generated Node #0,1,3: 91:[15, 91] Operation: 104-13=91
Exploring Operation: 104/13=8, Resulting Numbers: [15, 8]
Generated Node #0,1,4: 91:[15, 8] Operation: 104/13=8
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[13, 89], Operations: ['39+65=104', '104-15=89']
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,91 unequal: No Solution
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[15, 91], Operations: ['39+65=104', '104-13=91']
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,91 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 91:[15, 8], Operations: ['39+65=104', '104/13=8']
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[104, 2], Operations: ['39+65=104', '15-13=2']
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 104+2=106, Resulting Numbers: [106]
106,91 unequal: No Solution
Exploring Operation: 104*2=208, Resulting Numbers: [208]
208,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[104, 28], Operations: ['39+65=104', '13+15=28']
Exploring Operation: 104*28=2912, Resulting Numbers: [2912]
2912,91 unequal: No Solution
Exploring Operation: 104+28=132, Resulting Numbers: [132]
132,91 unequal: No Solution
Exploring Operation: 104-28=76, Resulting Numbers: [76]
76,91 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: 91:[39, 15, 5], Operations: ['65/13=5']
Exploring Operation: 15/5=3, Resulting Numbers: [39, 3]
Generated Node #0,2,0: 91:[39, 3] Operation: 15/5=3
Exploring Operation: 39-5=34, Resulting Numbers: [15, 34]
Generated Node #0,2,1: 91:[15, 34] Operation: 39-5=34
Exploring Operation: 39-15=24, Resulting Numbers: [5, 24]
Generated Node #0,2,2: 91:[5, 24] Operation: 39-15=24
Exploring Operation: 39+5=44, Resulting Numbers: [15, 44]
Generated Node #0,2,3: 91:[15, 44] Operation: 39+5=44
Exploring Operation: 15-5=10, Resulting Numbers: [39, 10]
Generated Node #0,2,4: 91:[39, 10] Operation: 15-5=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[5, 24], Operations: ['65/13=5', '39-15=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[15, 34], Operations: ['65/13=5', '39-5=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,91 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[39, 10], Operations: ['65/13=5', '15-5=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,91 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[39, 3], Operations: ['65/13=5', '15/5=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[15, 44], Operations: ['65/13=5', '39+5=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,91 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,91 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: 91:[65, 15, 3], Operations: ['39/13=3']
Exploring Operation: 65+15=80, Resulting Numbers: [3, 80]
Generated Node #0,3,0: 91:[3, 80] Operation: 65+15=80
Exploring Operation: 65+3=68, Resulting Numbers: [15, 68]
Generated Node #0,3,1: 91:[15, 68] Operation: 65+3=68
Exploring Operation: 15/3=5, Resulting Numbers: [65, 5]
Generated Node #0,3,2: 91:[65, 5] Operation: 15/3=5
Exploring Operation: 65-3=62, Resulting Numbers: [15, 62]
Generated Node #0,3,3: 91:[15, 62] Operation: 65-3=62
Exploring Operation: 15-3=12, Resulting Numbers: [65, 12]
Generated Node #0,3,4: 91:[65, 12] Operation: 15-3=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[3, 80], Operations: ['39/13=3', '65+15=80']
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[15, 68], Operations: ['39/13=3', '65+3=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[65, 12], Operations: ['39/13=3', '15-3=12']
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,91 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[65, 5], Operations: ['39/13=3', '15/3=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[15, 62], Operations: ['39/13=3', '65-3=62']
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,91 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,91 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: 91:[65, 13, 24], Operations: ['39-15=24']
Exploring Operation: 65-24=41, Resulting Numbers: [13, 41]
Generated Node #0,4,0: 91:[13, 41] Operation: 65-24=41
Exploring Operation: 65+13=78, Resulting Numbers: [24, 78]
Generated Node #0,4,1: 91:[24, 78] Operation: 65+13=78
Exploring Operation: 65/13=5, Resulting Numbers: [24, 5]
Generated Node #0,4,2: 91:[24, 5] Operation: 65/13=5
Exploring Operation: 65+24=89, Resulting Numbers: [13, 89]
Generated Node #0,4,3: 91:[13, 89] Operation: 65+24=89
Exploring Operation: 24-13=11, Resulting Numbers: [65, 11]
Generated Node #0,4,4: 91:[65, 11] Operation: 24-13=11
Moving to Node #0,0,1
Current State: 91:[13, 11], Operations: ['65-39=26', '26-15=11']
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[13, 89], Operations: ['39-15=24', '65+24=89']
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,91 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[15, 13], Operations: ['65-39=26', '26-13=13']
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,91 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[15, 2], Operations: ['65-39=26', '26/13=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[24, 5], Operations: ['39-15=24', '65/13=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[26, 2], Operations: ['65-39=26', '15-13=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[24, 78], Operations: ['39-15=24', '65+13=78']
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[65, 11], Operations: ['39-15=24', '24-13=11']
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,91 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[13, 41], Operations: ['39-15=24', '65-24=41']
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,91 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[26, 28], Operations: ['65-39=26', '13+15=28']
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,91 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
52,
13,
62
] | 34 | [
"62-32=30",
"52/13=4",
"30+4=34"
] | Current State: 34:[32, 52, 13, 62], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [52, 13, 30]
Generated Node #2: [52, 13, 30] from Operation: 62-32=30
Current State: 34:[52, 13, 30], Operations: ['62-32=30']
Exploring Operation: 52/13=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 52/13=4
Current State: 34:[30, 4], Operations: ['62-32=30', '52/13=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[32, 52, 13, 62], Operations: []
Exploring Operation: 62-52=10, Resulting Numbers: [32, 13, 10]
Generated Node #0,0: 34:[32, 13, 10] Operation: 62-52=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[32, 13, 10], Operations: ['62-52=10']
Exploring Operation: 13-10=3, Resulting Numbers: [32, 3]
Generated Node #0,0,0: 34:[32, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[32, 3], Operations: ['62-52=10', '13-10=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
3,
87,
87
] | 53 | [
"51+3=54",
"87/87=1",
"54-1=53"
] | Current State: 53:[51, 3, 87, 87], Operations: []
Exploring Operation: 51+3=54, Resulting Numbers: [87, 87, 54]
Generated Node #2: [87, 87, 54] from Operation: 51+3=54
Current State: 53:[87, 87, 54], Operations: ['51+3=54']
Exploring Operation: 87/87=1, Resulting Numbers: [54, 1]
Generated Node #3: [54, 1] from Operation: 87/87=1
Current State: 53:[54, 1], Operations: ['51+3=54', '87/87=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[51, 3, 87, 87], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [51, 87, 29]
Generated Node #0,0: 53:[51, 87, 29] Operation: 87/3=29
Moving to Node #0,0
Current State: 53:[51, 87, 29], Operations: ['87/3=29']
Exploring Operation: 87-29=58, Resulting Numbers: [51, 58]
Generated Node #0,0,0: 53:[51, 58] Operation: 87-29=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[51, 58], Operations: ['87/3=29', '87-29=58']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,53 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 |
[
26,
4,
96,
76
] | 38 | [
"96/4=24",
"26-24=2",
"76/2=38"
] | Current State: 38:[26, 4, 96, 76], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [26, 76, 24]
Generated Node #2: [26, 76, 24] from Operation: 96/4=24
Current State: 38:[26, 76, 24], Operations: ['96/4=24']
Exploring Operation: 26-24=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 26-24=2
Current State: 38:[76, 2], Operations: ['96/4=24', '26-24=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[26, 4, 96, 76], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [26, 4, 20]
Generated Node #0,0: 38:[26, 4, 20] Operation: 96-76=20
Exploring Operation: 96/4=24, Resulting Numbers: [26, 76, 24]
Generated Node #0,1: 38:[26, 76, 24] Operation: 96/4=24
Moving to Node #0,0
Current State: 38:[26, 4, 20], Operations: ['96-76=20']
Exploring Operation: 26-20=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 38:[4, 6] Operation: 26-20=6
Exploring Operation: 26-4=22, Resulting Numbers: [20, 22]
Generated Node #0,0,1: 38:[20, 22] Operation: 26-4=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[20, 22], Operations: ['96-76=20', '26-4=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[4, 6], Operations: ['96-76=20', '26-20=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,38 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: 38:[26, 76, 24], Operations: ['96/4=24']
Exploring Operation: 76-24=52, Resulting Numbers: [26, 52]
Generated Node #0,1,0: 38:[26, 52] Operation: 76-24=52
Exploring Operation: 76-26=50, Resulting Numbers: [24, 50]
Generated Node #0,1,1: 38:[24, 50] Operation: 76-26=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[24, 50], Operations: ['96/4=24', '76-26=50']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[26, 52], Operations: ['96/4=24', '76-24=52']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
41,
49,
82
] | 91 | [
"82-49=33",
"4*33=132",
"132-41=91"
] | Current State: 91:[4, 41, 49, 82], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [4, 41, 33]
Generated Node #2: [4, 41, 33] from Operation: 82-49=33
Current State: 91:[4, 41, 33], Operations: ['82-49=33']
Exploring Operation: 4*33=132, Resulting Numbers: [41, 132]
Generated Node #3: [41, 132] from Operation: 4*33=132
Current State: 91:[41, 132], Operations: ['82-49=33', '4*33=132']
Exploring Operation: 132-41=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[4, 41, 49, 82], Operations: []
Exploring Operation: 41+49=90, Resulting Numbers: [4, 82, 90]
Generated Node #0,0: 91:[4, 82, 90] Operation: 41+49=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[4, 82, 90], Operations: ['41+49=90']
Exploring Operation: 90-82=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 91:[4, 8] Operation: 90-82=8
Moving to Node #0,0,0
Current State: 91:[4, 8], Operations: ['41+49=90', '90-82=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,91 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 |
[
9,
26,
4,
37
] | 55 | [
"9-4=5",
"37-26=11",
"5*11=55"
] | Current State: 55:[9, 26, 4, 37], Operations: []
Exploring Operation: 9-4=5, Resulting Numbers: [26, 37, 5]
Generated Node #2: [26, 37, 5] from Operation: 9-4=5
Current State: 55:[26, 37, 5], Operations: ['9-4=5']
Exploring Operation: 37-26=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 37-26=11
Current State: 55:[5, 11], Operations: ['9-4=5', '37-26=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[9, 26, 4, 37], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [9, 4, 11]
Generated Node #0,0: 55:[9, 4, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 55:[9, 4, 11], Operations: ['37-26=11']
Exploring Operation: 9-4=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 9-4=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[11, 5], Operations: ['37-26=11', '9-4=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[9, 26, 4, 37], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [9, 4, 11]
Generated Node #0,0: 55:[9, 4, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 55:[9, 4, 11], Operations: ['37-26=11']
Exploring Operation: 9-4=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 9-4=5
Moving to Node #0,0,0
Current State: 55:[11, 5], Operations: ['37-26=11', '9-4=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
24,
96,
19,
19
] | 57 | [
"96/24=4",
"19*4=76",
"76-19=57"
] | Current State: 57:[24, 96, 19, 19], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [19, 19, 4]
Generated Node #2: [19, 19, 4] from Operation: 96/24=4
Current State: 57:[19, 19, 4], Operations: ['96/24=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,57 equal: Goal Reached
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[24, 96, 19, 19], Operations: []
Exploring Operation: 96-24=72, Resulting Numbers: [19, 19, 72]
Generated Node #0,0: 57:[19, 19, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [19, 19, 4]
Generated Node #0,1: 57:[19, 19, 4] Operation: 96/24=4
Moving to Node #0,1
Current State: 57:[19, 19, 4], Operations: ['96/24=4']
Exploring Operation: 19-19=0, Resulting Numbers: [4, 0]
Generated Node #0,1,0: 57:[4, 0] Operation: 19-19=0
Exploring Operation: 19/19=1, Resulting Numbers: [4, 1]
Generated Node #0,1,1: 57:[4, 1] Operation: 19/19=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[4, 1], Operations: ['96/24=4', '19/19=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[4, 0], Operations: ['96/24=4', '19-19=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,57 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: 57:[19, 19, 72], Operations: ['96-24=72']
Exploring Operation: 72-19=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 57:[19, 53] Operation: 72-19=53
Exploring Operation: 72-19=53, Resulting Numbers: [19, 53]
Generated Node #0,0,1: 57:[19, 53] Operation: 72-19=53
Moving to Node #0,0,0
Current State: 57:[19, 53], Operations: ['96-24=72', '72-19=53']
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[19, 53], Operations: ['96-24=72', '72-19=53']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,57 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
25,
29,
71
] | 91 | [
"29+71=100",
"100/25=4",
"95-4=91"
] | Current State: 91:[95, 25, 29, 71], Operations: []
Exploring Operation: 29+71=100, Resulting Numbers: [95, 25, 100]
Generated Node #2: [95, 25, 100] from Operation: 29+71=100
Current State: 91:[95, 25, 100], Operations: ['29+71=100']
Exploring Operation: 100/25=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 100/25=4
Current State: 91:[95, 4], Operations: ['29+71=100', '100/25=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[95, 25, 29, 71], Operations: []
Exploring Operation: 29+71=100, Resulting Numbers: [95, 25, 100]
Generated Node #0,0: 91:[95, 25, 100] Operation: 29+71=100
Exploring Operation: 29-25=4, Resulting Numbers: [95, 71, 4]
Generated Node #0,1: 91:[95, 71, 4] Operation: 29-25=4
Exploring Operation: 25+71=96, Resulting Numbers: [95, 29, 96]
Generated Node #0,2: 91:[95, 29, 96] Operation: 25+71=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[95, 25, 100], Operations: ['29+71=100']
Exploring Operation: 100/25=4, Resulting Numbers: [95, 4]
Generated Node #0,0,0: 91:[95, 4] Operation: 100/25=4
Exploring Operation: 100-95=5, Resulting Numbers: [25, 5]
Generated Node #0,0,1: 91:[25, 5] Operation: 100-95=5
Exploring Operation: 100-25=75, Resulting Numbers: [95, 75]
Generated Node #0,0,2: 91:[95, 75] Operation: 100-25=75
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[95, 4], Operations: ['29+71=100', '100/25=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[95, 25, 29, 71], Operations: []
Exploring Operation: 29+71=100, Resulting Numbers: [95, 25, 100]
Generated Node #0,0: 91:[95, 25, 100] Operation: 29+71=100
Moving to Node #0,0
Current State: 91:[95, 25, 100], Operations: ['29+71=100']
Exploring Operation: 100/25=4, Resulting Numbers: [95, 4]
Generated Node #0,0,0: 91:[95, 4] Operation: 100/25=4
Moving to Node #0,0,0
Current State: 91:[95, 4], Operations: ['29+71=100', '100/25=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
97,
55,
51,
72
] | 81 | [
"97-55=42",
"51+72=123",
"123-42=81"
] | Current State: 81:[97, 55, 51, 72], Operations: []
Exploring Operation: 97-55=42, Resulting Numbers: [51, 72, 42]
Generated Node #2: [51, 72, 42] from Operation: 97-55=42
Current State: 81:[51, 72, 42], Operations: ['97-55=42']
Exploring Operation: 51+72=123, Resulting Numbers: [42, 123]
Generated Node #3: [42, 123] from Operation: 51+72=123
Current State: 81:[42, 123], Operations: ['97-55=42', '51+72=123']
Exploring Operation: 123-42=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[97, 55, 51, 72], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [97, 51, 17]
Generated Node #0,0: 81:[97, 51, 17] Operation: 72-55=17
Exploring Operation: 55-51=4, Resulting Numbers: [97, 72, 4]
Generated Node #0,1: 81:[97, 72, 4] Operation: 55-51=4
Exploring Operation: 55+51=106, Resulting Numbers: [97, 72, 106]
Generated Node #0,2: 81:[97, 72, 106] Operation: 55+51=106
Exploring Operation: 72-51=21, Resulting Numbers: [97, 55, 21]
Generated Node #0,3: 81:[97, 55, 21] Operation: 72-51=21
Exploring Operation: 97-55=42, Resulting Numbers: [51, 72, 42]
Generated Node #0,4: 81:[51, 72, 42] Operation: 97-55=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[97, 72, 4], Operations: ['55-51=4']
Exploring Operation: 97-4=93, Resulting Numbers: [72, 93]
Generated Node #0,1,0: 81:[72, 93] Operation: 97-4=93
Exploring Operation: 97+4=101, Resulting Numbers: [72, 101]
Generated Node #0,1,1: 81:[72, 101] Operation: 97+4=101
Exploring Operation: 97-72=25, Resulting Numbers: [4, 25]
Generated Node #0,1,2: 81:[4, 25] Operation: 97-72=25
Exploring Operation: 72/4=18, Resulting Numbers: [97, 18]
Generated Node #0,1,3: 81:[97, 18] Operation: 72/4=18
Exploring Operation: 72+4=76, Resulting Numbers: [97, 76]
Generated Node #0,1,4: 81:[97, 76] Operation: 72+4=76
Moving to Node #0,1,2
Current State: 81:[4, 25], Operations: ['55-51=4', '97-72=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[97, 76], Operations: ['55-51=4', '72+4=76']
Exploring Operation: 97+76=173, Resulting Numbers: [173]
173,81 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 97*76=7372, Resulting Numbers: [7372]
7372,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[72, 93], Operations: ['55-51=4', '97-4=93']
Exploring Operation: 72+93=165, Resulting Numbers: [165]
165,81 unequal: No Solution
Exploring Operation: 72*93=6696, Resulting Numbers: [6696]
6696,81 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[97, 18], Operations: ['55-51=4', '72/4=18']
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,81 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[72, 101], Operations: ['55-51=4', '97+4=101']
Exploring Operation: 72*101=7272, Resulting Numbers: [7272]
7272,81 unequal: No Solution
Exploring Operation: 72+101=173, Resulting Numbers: [173]
173,81 unequal: No Solution
Exploring Operation: 101-72=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[97, 51, 17], Operations: ['72-55=17']
Exploring Operation: 51/17=3, Resulting Numbers: [97, 3]
Generated Node #0,0,0: 81:[97, 3] Operation: 51/17=3
Exploring Operation: 51-17=34, Resulting Numbers: [97, 34]
Generated Node #0,0,1: 81:[97, 34] Operation: 51-17=34
Exploring Operation: 51+17=68, Resulting Numbers: [97, 68]
Generated Node #0,0,2: 81:[97, 68] Operation: 51+17=68
Exploring Operation: 97-51=46, Resulting Numbers: [17, 46]
Generated Node #0,0,3: 81:[17, 46] Operation: 97-51=46
Exploring Operation: 97-17=80, Resulting Numbers: [51, 80]
Generated Node #0,0,4: 81:[51, 80] Operation: 97-17=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[97, 3], Operations: ['72-55=17', '51/17=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,81 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[97, 34], Operations: ['72-55=17', '51-17=34']
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,81 unequal: No Solution
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 81:[51, 80], Operations: ['72-55=17', '97-17=80']
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,81 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 81:[17, 46], Operations: ['72-55=17', '97-51=46']
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,81 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[97, 68], Operations: ['72-55=17', '51+17=68']
Exploring Operation: 97*68=6596, Resulting Numbers: [6596]
6596,81 unequal: No Solution
Exploring Operation: 97+68=165, Resulting Numbers: [165]
165,81 unequal: No Solution
Exploring Operation: 97-68=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[97, 55, 21], Operations: ['72-51=21']
Exploring Operation: 55+21=76, Resulting Numbers: [97, 76]
Generated Node #0,3,0: 81:[97, 76] Operation: 55+21=76
Exploring Operation: 97+21=118, Resulting Numbers: [55, 118]
Generated Node #0,3,1: 81:[55, 118] Operation: 97+21=118
Exploring Operation: 97-21=76, Resulting Numbers: [55, 76]
Generated Node #0,3,2: 81:[55, 76] Operation: 97-21=76
Exploring Operation: 55-21=34, Resulting Numbers: [97, 34]
Generated Node #0,3,3: 81:[97, 34] Operation: 55-21=34
Exploring Operation: 97-55=42, Resulting Numbers: [21, 42]
Generated Node #0,3,4: 81:[21, 42] Operation: 97-55=42
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 81:[97, 76], Operations: ['72-51=21', '55+21=76']
Exploring Operation: 97*76=7372, Resulting Numbers: [7372]
7372,81 unequal: No Solution
Exploring Operation: 97+76=173, Resulting Numbers: [173]
173,81 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 81:[21, 42], Operations: ['72-51=21', '97-55=42']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 81:[97, 34], Operations: ['72-51=21', '55-21=34']
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,81 unequal: No Solution
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 81:[55, 76], Operations: ['72-51=21', '97-21=76']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 55+76=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 55*76=4180, Resulting Numbers: [4180]
4180,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 81:[55, 118], Operations: ['72-51=21', '97+21=118']
Exploring Operation: 55*118=6490, Resulting Numbers: [6490]
6490,81 unequal: No Solution
Exploring Operation: 55+118=173, Resulting Numbers: [173]
173,81 unequal: No Solution
Exploring Operation: 118-55=63, Resulting Numbers: [63]
63,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[51, 72, 42], Operations: ['97-55=42']
Exploring Operation: 51-42=9, Resulting Numbers: [72, 9]
Generated Node #0,4,0: 81:[72, 9] Operation: 51-42=9
Exploring Operation: 72-42=30, Resulting Numbers: [51, 30]
Generated Node #0,4,1: 81:[51, 30] Operation: 72-42=30
Exploring Operation: 51+72=123, Resulting Numbers: [42, 123]
Generated Node #0,4,2: 81:[42, 123] Operation: 51+72=123
Exploring Operation: 51+42=93, Resulting Numbers: [72, 93]
Generated Node #0,4,3: 81:[72, 93] Operation: 51+42=93
Exploring Operation: 72-51=21, Resulting Numbers: [42, 21]
Generated Node #0,4,4: 81:[42, 21] Operation: 72-51=21
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 81:[72, 9], Operations: ['97-55=42', '51-42=9']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 72*9=648, Resulting Numbers: [648]
648,81 unequal: No Solution
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[97, 55, 51, 72], Operations: []
Exploring Operation: 97-55=42, Resulting Numbers: [51, 72, 42]
Generated Node #0,4: 81:[51, 72, 42] Operation: 97-55=42
Moving to Node #0,4
Current State: 81:[51, 72, 42], Operations: ['97-55=42']
Exploring Operation: 51-42=9, Resulting Numbers: [72, 9]
Generated Node #0,4,0: 81:[72, 9] Operation: 51-42=9
Moving to Node #0,4,0
Current State: 81:[72, 9], Operations: ['97-55=42', '51-42=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.932292 | hs_5 | mult_heuristic |
[
28,
93,
62,
34
] | 76 | [
"28*93=2604",
"2604/62=42",
"34+42=76"
] | Current State: 76:[28, 93, 62, 34], Operations: []
Exploring Operation: 28*93=2604, Resulting Numbers: [62, 34, 2604]
Generated Node #2: [62, 34, 2604] from Operation: 28*93=2604
Current State: 76:[62, 34, 2604], Operations: ['28*93=2604']
Exploring Operation: 2604/62=42, Resulting Numbers: [34, 42]
Generated Node #3: [34, 42] from Operation: 2604/62=42
Current State: 76:[34, 42], Operations: ['28*93=2604', '2604/62=42']
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[28, 93, 62, 34], Operations: []
Exploring Operation: 28+62=90, Resulting Numbers: [93, 34, 90]
Generated Node #0,0: 76:[93, 34, 90] Operation: 28+62=90
Exploring Operation: 93-62=31, Resulting Numbers: [28, 34, 31]
Generated Node #0,1: 76:[28, 34, 31] Operation: 93-62=31
Exploring Operation: 34-28=6, Resulting Numbers: [93, 62, 6]
Generated Node #0,2: 76:[93, 62, 6] Operation: 34-28=6
Exploring Operation: 62-28=34, Resulting Numbers: [93, 34, 34]
Generated Node #0,3: 76:[93, 34, 34] Operation: 62-28=34
Exploring Operation: 93-28=65, Resulting Numbers: [62, 34, 65]
Generated Node #0,4: 76:[62, 34, 65] Operation: 93-28=65
Moving to Node #0,1
Current State: 76:[28, 34, 31], Operations: ['93-62=31']
Exploring Operation: 28+34=62, Resulting Numbers: [31, 62]
Generated Node #0,1,0: 76:[31, 62] Operation: 28+34=62
Exploring Operation: 34-31=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 76:[28, 3] Operation: 34-31=3
Exploring Operation: 34+31=65, Resulting Numbers: [28, 65]
Generated Node #0,1,2: 76:[28, 65] Operation: 34+31=65
Exploring Operation: 34-28=6, Resulting Numbers: [31, 6]
Generated Node #0,1,3: 76:[31, 6] Operation: 34-28=6
Exploring Operation: 31-28=3, Resulting Numbers: [34, 3]
Generated Node #0,1,4: 76:[34, 3] Operation: 31-28=3
Moving to Node #0,3
Current State: 76:[93, 34, 34], Operations: ['62-28=34']
Exploring Operation: 93-34=59, Resulting Numbers: [34, 59]
Generated Node #0,3,0: 76:[34, 59] Operation: 93-34=59
Exploring Operation: 93-34=59, Resulting Numbers: [34, 59]
Generated Node #0,3,1: 76:[34, 59] Operation: 93-34=59
Exploring Operation: 34-34=0, Resulting Numbers: [93, 0]
Generated Node #0,3,2: 76:[93, 0] Operation: 34-34=0
Exploring Operation: 34+34=68, Resulting Numbers: [93, 68]
Generated Node #0,3,3: 76:[93, 68] Operation: 34+34=68
Exploring Operation: 34/34=1, Resulting Numbers: [93, 1]
Generated Node #0,3,4: 76:[93, 1] Operation: 34/34=1
Moving to Node #0,4
Current State: 76:[62, 34, 65], Operations: ['93-28=65']
Exploring Operation: 65-62=3, Resulting Numbers: [34, 3]
Generated Node #0,4,0: 76:[34, 3] Operation: 65-62=3
Exploring Operation: 65-34=31, Resulting Numbers: [62, 31]
Generated Node #0,4,1: 76:[62, 31] Operation: 65-34=31
Exploring Operation: 34+65=99, Resulting Numbers: [62, 99]
Generated Node #0,4,2: 76:[62, 99] Operation: 34+65=99
Exploring Operation: 62+34=96, Resulting Numbers: [65, 96]
Generated Node #0,4,3: 76:[65, 96] Operation: 62+34=96
Exploring Operation: 62-34=28, Resulting Numbers: [65, 28]
Generated Node #0,4,4: 76:[65, 28] Operation: 62-34=28
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[34, 3], Operations: ['93-28=65', '65-62=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[65, 28], Operations: ['93-28=65', '62-34=28']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 65*28=1820, Resulting Numbers: [1820]
1820,76 unequal: No Solution
Exploring Operation: 65+28=93, Resulting Numbers: [93]
93,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[62, 31], Operations: ['93-28=65', '65-34=31']
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 62*31=1922, Resulting Numbers: [1922]
1922,76 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[65, 96], Operations: ['93-28=65', '62+34=96']
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 65+96=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Exploring Operation: 65*96=6240, Resulting Numbers: [6240]
6240,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[62, 99], Operations: ['93-28=65', '34+65=99']
Exploring Operation: 62+99=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 62*99=6138, Resulting Numbers: [6138]
6138,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 76:[93, 62, 6], Operations: ['34-28=6']
Exploring Operation: 62-6=56, Resulting Numbers: [93, 56]
Generated Node #0,2,0: 76:[93, 56] Operation: 62-6=56
Exploring Operation: 93-6=87, Resulting Numbers: [62, 87]
Generated Node #0,2,1: 76:[62, 87] Operation: 93-6=87
Exploring Operation: 62+6=68, Resulting Numbers: [93, 68]
Generated Node #0,2,2: 76:[93, 68] Operation: 62+6=68
Exploring Operation: 93-62=31, Resulting Numbers: [6, 31]
Generated Node #0,2,3: 76:[6, 31] Operation: 93-62=31
Exploring Operation: 93+6=99, Resulting Numbers: [62, 99]
Generated Node #0,2,4: 76:[62, 99] Operation: 93+6=99
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[6, 31], Operations: ['34-28=6', '93-62=31']
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,76 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[62, 87], Operations: ['34-28=6', '93-6=87']
Exploring Operation: 62+87=149, Resulting Numbers: [149]
149,76 unequal: No Solution
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 62*87=5394, Resulting Numbers: [5394]
5394,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[93, 68], Operations: ['34-28=6', '62+6=68']
Exploring Operation: 93*68=6324, Resulting Numbers: [6324]
6324,76 unequal: No Solution
Exploring Operation: 93+68=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[93, 56], Operations: ['34-28=6', '62-6=56']
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 93*56=5208, Resulting Numbers: [5208]
5208,76 unequal: No Solution
Exploring Operation: 93+56=149, Resulting Numbers: [149]
149,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[62, 99], Operations: ['34-28=6', '93+6=99']
Exploring Operation: 62+99=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Exploring Operation: 62*99=6138, Resulting Numbers: [6138]
6138,76 unequal: No Solution
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,76 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: 76:[93, 34, 90], Operations: ['28+62=90']
Exploring Operation: 93-34=59, Resulting Numbers: [90, 59]
Generated Node #0,0,0: 76:[90, 59] Operation: 93-34=59
Exploring Operation: 93-90=3, Resulting Numbers: [34, 3]
Generated Node #0,0,1: 76:[34, 3] Operation: 93-90=3
Exploring Operation: 93+34=127, Resulting Numbers: [90, 127]
Generated Node #0,0,2: 76:[90, 127] Operation: 93+34=127
Exploring Operation: 90-34=56, Resulting Numbers: [93, 56]
Generated Node #0,0,3: 76:[93, 56] Operation: 90-34=56
Exploring Operation: 34+90=124, Resulting Numbers: [93, 124]
Generated Node #0,0,4: 76:[93, 124] Operation: 34+90=124
Moving to Node #0,1,4
Current State: 76:[34, 3], Operations: ['93-62=31', '31-28=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[34, 3], Operations: ['28+62=90', '93-90=3']
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[31, 6], Operations: ['93-62=31', '34-28=6']
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,76 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[28, 3], Operations: ['93-62=31', '34-31=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[93, 1], Operations: ['62-28=34', '34/34=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[93, 0], Operations: ['62-28=34', '34-34=0']
Exploring Operation: 93*0=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 93-0=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 93+0=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[28, 65], Operations: ['93-62=31', '34+31=65']
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[31, 62], Operations: ['93-62=31', '28+34=62']
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 31*62=1922, Resulting Numbers: [1922]
1922,76 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[34, 59], Operations: ['62-28=34', '93-34=59']
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[34, 59], Operations: ['62-28=34', '93-34=59']
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,76 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[93, 68], Operations: ['62-28=34', '34+34=68']
Exploring Operation: 93*68=6324, Resulting Numbers: [6324]
6324,76 unequal: No Solution
Exploring Operation: 93+68=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[90, 59], Operations: ['28+62=90', '93-34=59']
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 90+59=149, Resulting Numbers: [149]
149,76 unequal: No Solution
Exploring Operation: 90*59=5310, Resulting Numbers: [5310]
5310,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[93, 56], Operations: ['28+62=90', '90-34=56']
Exploring Operation: 93*56=5208, Resulting Numbers: [5208]
5208,76 unequal: No Solution
Exploring Operation: 93+56=149, Resulting Numbers: [149]
149,76 unequal: No Solution
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[90, 127], Operations: ['28+62=90', '93+34=127']
Exploring Operation: 127-90=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 90+127=217, Resulting Numbers: [217]
217,76 unequal: No Solution
Exploring Operation: 90*127=11430, Resulting Numbers: [11430]
11430,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[93, 124], Operations: ['28+62=90', '34+90=124']
Exploring Operation: 93+124=217, Resulting Numbers: [217]
217,76 unequal: No Solution
Exploring Operation: 93*124=11532, Resulting Numbers: [11532]
11532,76 unequal: No Solution
Exploring Operation: 124-93=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
79,
34,
3,
48
] | 63 | [
"79-34=45",
"45/3=15",
"48+15=63"
] | Current State: 63:[79, 34, 3, 48], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [3, 48, 45]
Generated Node #2: [3, 48, 45] from Operation: 79-34=45
Current State: 63:[3, 48, 45], Operations: ['79-34=45']
Exploring Operation: 45/3=15, Resulting Numbers: [48, 15]
Generated Node #3: [48, 15] from Operation: 45/3=15
Current State: 63:[48, 15], Operations: ['79-34=45', '45/3=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[79, 34, 3, 48], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [79, 3, 14]
Generated Node #0,0: 63:[79, 3, 14] Operation: 48-34=14
Exploring Operation: 79-48=31, Resulting Numbers: [34, 3, 31]
Generated Node #0,1: 63:[34, 3, 31] Operation: 79-48=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[79, 3, 14], Operations: ['48-34=14']
Exploring Operation: 79-3=76, Resulting Numbers: [14, 76]
Generated Node #0,0,0: 63:[14, 76] Operation: 79-3=76
Exploring Operation: 79-14=65, Resulting Numbers: [3, 65]
Generated Node #0,0,1: 63:[3, 65] Operation: 79-14=65
Moving to Node #0,0,1
Current State: 63:[3, 65], Operations: ['48-34=14', '79-14=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[14, 76], Operations: ['48-34=14', '79-3=76']
Exploring Operation: 14+76=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,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
Current State: 63:[34, 3, 31], Operations: ['79-48=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 63:[3, 3] Operation: 34-31=3
Exploring Operation: 34+31=65, Resulting Numbers: [3, 65]
Generated Node #0,1,1: 63:[3, 65] Operation: 34+31=65
Moving to Node #0,1,0
Current State: 63:[3, 3], Operations: ['79-48=31', '34-31=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[3, 65], Operations: ['79-48=31', '34+31=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
29,
30,
38
] | 11 | [
"49-38=11",
"30-29=1",
"11*1=11"
] | Current State: 11:[49, 29, 30, 38], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [29, 30, 11]
Generated Node #2: [29, 30, 11] from Operation: 49-38=11
Current State: 11:[29, 30, 11], Operations: ['49-38=11']
Exploring Operation: 30-29=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 30-29=1
Current State: 11:[11, 1], Operations: ['49-38=11', '30-29=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[49, 29, 30, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [49, 29, 8]
Generated Node #0,0: 11:[49, 29, 8] Operation: 38-30=8
Exploring Operation: 49-38=11, Resulting Numbers: [29, 30, 11]
Generated Node #0,1: 11:[29, 30, 11] Operation: 49-38=11
Exploring Operation: 49-29=20, Resulting Numbers: [30, 38, 20]
Generated Node #0,2: 11:[30, 38, 20] Operation: 49-29=20
Exploring Operation: 38-29=9, Resulting Numbers: [49, 30, 9]
Generated Node #0,3: 11:[49, 30, 9] Operation: 38-29=9
Exploring Operation: 49-30=19, Resulting Numbers: [29, 38, 19]
Generated Node #0,4: 11:[29, 38, 19] Operation: 49-30=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[29, 30, 11], Operations: ['49-38=11']
Exploring Operation: 29-11=18, Resulting Numbers: [30, 18]
Generated Node #0,1,0: 11:[30, 18] Operation: 29-11=18
Exploring Operation: 30-11=19, Resulting Numbers: [29, 19]
Generated Node #0,1,1: 11:[29, 19] Operation: 30-11=19
Exploring Operation: 30-29=1, Resulting Numbers: [11, 1]
Generated Node #0,1,2: 11:[11, 1] Operation: 30-29=1
Exploring Operation: 29+11=40, Resulting Numbers: [30, 40]
Generated Node #0,1,3: 11:[30, 40] Operation: 29+11=40
Exploring Operation: 29+30=59, Resulting Numbers: [11, 59]
Generated Node #0,1,4: 11:[11, 59] Operation: 29+30=59
Moving to Node #0,1,2
Current State: 11:[11, 1], Operations: ['49-38=11', '30-29=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[49, 29, 30, 38], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [29, 30, 11]
Generated Node #0,1: 11:[29, 30, 11] Operation: 49-38=11
Moving to Node #0,1
Current State: 11:[29, 30, 11], Operations: ['49-38=11']
Exploring Operation: 30-29=1, Resulting Numbers: [11, 1]
Generated Node #0,1,2: 11:[11, 1] Operation: 30-29=1
Moving to Node #0,1,2
Current State: 11:[11, 1], Operations: ['49-38=11', '30-29=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
63,
6,
62,
60
] | 60 | [
"63-60=3",
"6/3=2",
"62-2=60"
] | Current State: 60:[63, 6, 62, 60], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [6, 62, 3]
Generated Node #2: [6, 62, 3] from Operation: 63-60=3
Current State: 60:[6, 62, 3], Operations: ['63-60=3']
Exploring Operation: 6/3=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 6/3=2
Current State: 60:[62, 2], Operations: ['63-60=3', '6/3=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[63, 6, 62, 60], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [6, 62, 3]
Generated Node #0,0: 60:[6, 62, 3] Operation: 63-60=3
Exploring Operation: 63-62=1, Resulting Numbers: [6, 60, 1]
Generated Node #0,1: 60:[6, 60, 1] Operation: 63-62=1
Moving to Node #0,1
Current State: 60:[6, 60, 1], Operations: ['63-62=1']
Exploring Operation: 6-1=5, Resulting Numbers: [60, 5]
Generated Node #0,1,0: 60:[60, 5] Operation: 6-1=5
Exploring Operation: 6*1=6, Resulting Numbers: [60, 6]
Generated Node #0,1,1: 60:[60, 6] Operation: 6*1=6
Moving to Node #0,0
Current State: 60:[6, 62, 3], Operations: ['63-60=3']
Exploring Operation: 6-3=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 60:[62, 3] Operation: 6-3=3
Exploring Operation: 62-3=59, Resulting Numbers: [6, 59]
Generated Node #0,0,1: 60:[6, 59] Operation: 62-3=59
Moving to Node #0,1,0
Current State: 60:[60, 5], Operations: ['63-62=1', '6-1=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[60, 6], Operations: ['63-62=1', '6*1=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[6, 59], Operations: ['63-60=3', '62-3=59']
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[62, 3], Operations: ['63-60=3', '6-3=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,60 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
71,
77,
10
] | 78 | [
"1+10=11",
"77/11=7",
"71+7=78"
] | Current State: 78:[1, 71, 77, 10], Operations: []
Exploring Operation: 1+10=11, Resulting Numbers: [71, 77, 11]
Generated Node #2: [71, 77, 11] from Operation: 1+10=11
Current State: 78:[71, 77, 11], Operations: ['1+10=11']
Exploring Operation: 77/11=7, Resulting Numbers: [71, 7]
Generated Node #3: [71, 7] from Operation: 77/11=7
Current State: 78:[71, 7], Operations: ['1+10=11', '77/11=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[1, 71, 77, 10], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [1, 10, 6]
Generated Node #0,0: 78:[1, 10, 6] Operation: 77-71=6
Exploring Operation: 1+10=11, Resulting Numbers: [71, 77, 11]
Generated Node #0,1: 78:[71, 77, 11] Operation: 1+10=11
Exploring Operation: 71+10=81, Resulting Numbers: [1, 77, 81]
Generated Node #0,2: 78:[1, 77, 81] Operation: 71+10=81
Exploring Operation: 1+77=78, Resulting Numbers: [71, 10, 78]
Generated Node #0,3: 78:[71, 10, 78] Operation: 1+77=78
Exploring Operation: 1+71=72, Resulting Numbers: [77, 10, 72]
Generated Node #0,4: 78:[77, 10, 72] Operation: 1+71=72
Moving to Node #0,0
Current State: 78:[1, 10, 6], Operations: ['77-71=6']
Exploring Operation: 1+10=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 78:[6, 11] Operation: 1+10=11
Exploring Operation: 10-1=9, Resulting Numbers: [6, 9]
Generated Node #0,0,1: 78:[6, 9] Operation: 10-1=9
Exploring Operation: 10-6=4, Resulting Numbers: [1, 4]
Generated Node #0,0,2: 78:[1, 4] Operation: 10-6=4
Exploring Operation: 10/1=10, Resulting Numbers: [6, 10]
Generated Node #0,0,3: 78:[6, 10] Operation: 10/1=10
Exploring Operation: 1*10=10, Resulting Numbers: [6, 10]
Generated Node #0,0,4: 78:[6, 10] Operation: 1*10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[6, 11], Operations: ['77-71=6', '1+10=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[1, 4], Operations: ['77-71=6', '10-6=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[6, 9], Operations: ['77-71=6', '10-1=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 78:[6, 10], Operations: ['77-71=6', '10/1=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 78:[6, 10], Operations: ['77-71=6', '1*10=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,78 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: 78:[1, 77, 81], Operations: ['71+10=81']
Exploring Operation: 1*77=77, Resulting Numbers: [81, 77]
Generated Node #0,2,0: 78:[81, 77] Operation: 1*77=77
Exploring Operation: 77/1=77, Resulting Numbers: [81, 77]
Generated Node #0,2,1: 78:[81, 77] Operation: 77/1=77
Exploring Operation: 81-1=80, Resulting Numbers: [77, 80]
Generated Node #0,2,2: 78:[77, 80] Operation: 81-1=80
Exploring Operation: 81-77=4, Resulting Numbers: [1, 4]
Generated Node #0,2,3: 78:[1, 4] Operation: 81-77=4
Exploring Operation: 1+77=78, Resulting Numbers: [81, 78]
Generated Node #0,2,4: 78:[81, 78] Operation: 1+77=78
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[1, 4], Operations: ['71+10=81', '81-77=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[77, 80], Operations: ['71+10=81', '81-1=80']
Exploring Operation: 77*80=6160, Resulting Numbers: [6160]
6160,78 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 77+80=157, Resulting Numbers: [157]
157,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 78:[81, 78], Operations: ['71+10=81', '1+77=78']
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 81*78=6318, Resulting Numbers: [6318]
6318,78 unequal: No Solution
Exploring Operation: 81+78=159, Resulting Numbers: [159]
159,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[81, 77], Operations: ['71+10=81', '1*77=77']
Exploring Operation: 81*77=6237, Resulting Numbers: [6237]
6237,78 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 81+77=158, Resulting Numbers: [158]
158,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[81, 77], Operations: ['71+10=81', '77/1=77']
Exploring Operation: 81+77=158, Resulting Numbers: [158]
158,78 unequal: No Solution
Exploring Operation: 81*77=6237, Resulting Numbers: [6237]
6237,78 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 78:[71, 77, 11], Operations: ['1+10=11']
Exploring Operation: 77+11=88, Resulting Numbers: [71, 88]
Generated Node #0,1,0: 78:[71, 88] Operation: 77+11=88
Exploring Operation: 71-11=60, Resulting Numbers: [77, 60]
Generated Node #0,1,1: 78:[77, 60] Operation: 71-11=60
Exploring Operation: 77-71=6, Resulting Numbers: [11, 6]
Generated Node #0,1,2: 78:[11, 6] Operation: 77-71=6
Exploring Operation: 71+11=82, Resulting Numbers: [77, 82]
Generated Node #0,1,3: 78:[77, 82] Operation: 71+11=82
Exploring Operation: 77/11=7, Resulting Numbers: [71, 7]
Generated Node #0,1,4: 78:[71, 7] Operation: 77/11=7
Moving to Node #0,3
Current State: 78:[71, 10, 78], Operations: ['1+77=78']
Exploring Operation: 10+78=88, Resulting Numbers: [71, 88]
Generated Node #0,3,0: 78:[71, 88] Operation: 10+78=88
Exploring Operation: 71+10=81, Resulting Numbers: [78, 81]
Generated Node #0,3,1: 78:[78, 81] Operation: 71+10=81
Exploring Operation: 78-71=7, Resulting Numbers: [10, 7]
Generated Node #0,3,2: 78:[10, 7] Operation: 78-71=7
Exploring Operation: 78-10=68, Resulting Numbers: [71, 68]
Generated Node #0,3,3: 78:[71, 68] Operation: 78-10=68
Exploring Operation: 71-10=61, Resulting Numbers: [78, 61]
Generated Node #0,3,4: 78:[78, 61] Operation: 71-10=61
Moving to Node #0,4
Current State: 78:[77, 10, 72], Operations: ['1+71=72']
Exploring Operation: 10+72=82, Resulting Numbers: [77, 82]
Generated Node #0,4,0: 78:[77, 82] Operation: 10+72=82
Exploring Operation: 77+10=87, Resulting Numbers: [72, 87]
Generated Node #0,4,1: 78:[72, 87] Operation: 77+10=87
Exploring Operation: 77-10=67, Resulting Numbers: [72, 67]
Generated Node #0,4,2: 78:[72, 67] Operation: 77-10=67
Exploring Operation: 72-10=62, Resulting Numbers: [77, 62]
Generated Node #0,4,3: 78:[77, 62] Operation: 72-10=62
Exploring Operation: 77-72=5, Resulting Numbers: [10, 5]
Generated Node #0,4,4: 78:[10, 5] Operation: 77-72=5
Moving to Node #0,1,2
Current State: 78:[11, 6], Operations: ['1+10=11', '77-71=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[78, 81], Operations: ['1+77=78', '71+10=81']
Exploring Operation: 78+81=159, Resulting Numbers: [159]
159,78 unequal: No Solution
Exploring Operation: 78*81=6318, Resulting Numbers: [6318]
6318,78 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[10, 7], Operations: ['1+77=78', '78-71=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[10, 5], Operations: ['1+71=72', '77-72=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Moving to Node #0,4,0
Current State: 78:[77, 82], Operations: ['1+71=72', '10+72=82']
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 77+82=159, Resulting Numbers: [159]
159,78 unequal: No Solution
Exploring Operation: 77*82=6314, Resulting Numbers: [6314]
6314,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[77, 82], Operations: ['1+10=11', '71+11=82']
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 77*82=6314, Resulting Numbers: [6314]
6314,78 unequal: No Solution
Exploring Operation: 77+82=159, Resulting Numbers: [159]
159,78 unequal: No Solution
Moving to Node #0,1,4
Current State: 78:[71, 7], Operations: ['1+10=11', '77/11=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,78 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[1, 71, 77, 10], Operations: []
Exploring Operation: 1+10=11, Resulting Numbers: [71, 77, 11]
Generated Node #0,1: 78:[71, 77, 11] Operation: 1+10=11
Moving to Node #0,1
Current State: 78:[71, 77, 11], Operations: ['1+10=11']
Exploring Operation: 77/11=7, Resulting Numbers: [71, 7]
Generated Node #0,1,4: 78:[71, 7] Operation: 77/11=7
Moving to Node #0,1,4
Current State: 78:[71, 7], Operations: ['1+10=11', '77/11=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.923611 | hs_5 | mult_heuristic |
[
78,
43,
80,
86
] | 45 | [
"78+43=121",
"80+86=166",
"166-121=45"
] | Current State: 45:[78, 43, 80, 86], Operations: []
Exploring Operation: 78+43=121, Resulting Numbers: [80, 86, 121]
Generated Node #2: [80, 86, 121] from Operation: 78+43=121
Current State: 45:[80, 86, 121], Operations: ['78+43=121']
Exploring Operation: 80+86=166, Resulting Numbers: [121, 166]
Generated Node #3: [121, 166] from Operation: 80+86=166
Current State: 45:[121, 166], Operations: ['78+43=121', '80+86=166']
Exploring Operation: 166-121=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[78, 43, 80, 86], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [78, 80, 2]
Generated Node #0,0: 45:[78, 80, 2] Operation: 86/43=2
Exploring Operation: 86-78=8, Resulting Numbers: [43, 80, 8]
Generated Node #0,1: 45:[43, 80, 8] Operation: 86-78=8
Exploring Operation: 86-80=6, Resulting Numbers: [78, 43, 6]
Generated Node #0,2: 45:[78, 43, 6] Operation: 86-80=6
Exploring Operation: 80-78=2, Resulting Numbers: [43, 86, 2]
Generated Node #0,3: 45:[43, 86, 2] Operation: 80-78=2
Exploring Operation: 86-43=43, Resulting Numbers: [78, 80, 43]
Generated Node #0,4: 45:[78, 80, 43] Operation: 86-43=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[78, 43, 6], Operations: ['86-80=6']
Exploring Operation: 78/6=13, Resulting Numbers: [43, 13]
Generated Node #0,2,0: 45:[43, 13] Operation: 78/6=13
Exploring Operation: 78-43=35, Resulting Numbers: [6, 35]
Generated Node #0,2,1: 45:[6, 35] Operation: 78-43=35
Exploring Operation: 78-6=72, Resulting Numbers: [43, 72]
Generated Node #0,2,2: 45:[43, 72] Operation: 78-6=72
Exploring Operation: 78+6=84, Resulting Numbers: [43, 84]
Generated Node #0,2,3: 45:[43, 84] Operation: 78+6=84
Exploring Operation: 43+6=49, Resulting Numbers: [78, 49]
Generated Node #0,2,4: 45:[78, 49] Operation: 43+6=49
Moving to Node #0,2,0
Current State: 45:[43, 13], Operations: ['86-80=6', '78/6=13']
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[6, 35], Operations: ['86-80=6', '78-43=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[43, 72], Operations: ['86-80=6', '78-6=72']
Exploring Operation: 43+72=115, Resulting Numbers: [115]
115,45 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 43*72=3096, Resulting Numbers: [3096]
3096,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[78, 49], Operations: ['86-80=6', '43+6=49']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,45 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[43, 84], Operations: ['86-80=6', '78+6=84']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 43*84=3612, Resulting Numbers: [3612]
3612,45 unequal: No Solution
Exploring Operation: 43+84=127, Resulting Numbers: [127]
127,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[43, 80, 8], Operations: ['86-78=8']
Exploring Operation: 43-8=35, Resulting Numbers: [80, 35]
Generated Node #0,1,0: 45:[80, 35] Operation: 43-8=35
Exploring Operation: 80-8=72, Resulting Numbers: [43, 72]
Generated Node #0,1,1: 45:[43, 72] Operation: 80-8=72
Exploring Operation: 80/8=10, Resulting Numbers: [43, 10]
Generated Node #0,1,2: 45:[43, 10] Operation: 80/8=10
Exploring Operation: 80-43=37, Resulting Numbers: [8, 37]
Generated Node #0,1,3: 45:[8, 37] Operation: 80-43=37
Exploring Operation: 43+8=51, Resulting Numbers: [80, 51]
Generated Node #0,1,4: 45:[80, 51] Operation: 43+8=51
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[43, 10], Operations: ['86-78=8', '80/8=10']
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,45 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[8, 37], Operations: ['86-78=8', '80-43=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[78, 43, 80, 86], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [43, 80, 8]
Generated Node #0,1: 45:[43, 80, 8] Operation: 86-78=8
Moving to Node #0,1
Current State: 45:[43, 80, 8], Operations: ['86-78=8']
Exploring Operation: 80-43=37, Resulting Numbers: [8, 37]
Generated Node #0,1,3: 45:[8, 37] Operation: 80-43=37
Moving to Node #0,1,3
Current State: 45:[8, 37], Operations: ['86-78=8', '80-43=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
1,
8,
55,
27
] | 90 | [
"1*8=8",
"55+27=82",
"8+82=90"
] | Current State: 90:[1, 8, 55, 27], Operations: []
Exploring Operation: 1*8=8, Resulting Numbers: [55, 27, 8]
Generated Node #2: [55, 27, 8] from Operation: 1*8=8
Current State: 90:[55, 27, 8], Operations: ['1*8=8']
Exploring Operation: 55+27=82, Resulting Numbers: [8, 82]
Generated Node #3: [8, 82] from Operation: 55+27=82
Current State: 90:[8, 82], Operations: ['1*8=8', '55+27=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[1, 8, 55, 27], Operations: []
Exploring Operation: 55-8=47, Resulting Numbers: [1, 27, 47]
Generated Node #0,0: 90:[1, 27, 47] Operation: 55-8=47
Exploring Operation: 27-8=19, Resulting Numbers: [1, 55, 19]
Generated Node #0,1: 90:[1, 55, 19] Operation: 27-8=19
Exploring Operation: 1+8=9, Resulting Numbers: [55, 27, 9]
Generated Node #0,2: 90:[55, 27, 9] Operation: 1+8=9
Exploring Operation: 55-27=28, Resulting Numbers: [1, 8, 28]
Generated Node #0,3: 90:[1, 8, 28] Operation: 55-27=28
Exploring Operation: 55+27=82, Resulting Numbers: [1, 8, 82]
Generated Node #0,4: 90:[1, 8, 82] Operation: 55+27=82
Moving to Node #0,3
Current State: 90:[1, 8, 28], Operations: ['55-27=28']
Exploring Operation: 8-1=7, Resulting Numbers: [28, 7]
Generated Node #0,3,0: 90:[28, 7] Operation: 8-1=7
Exploring Operation: 1*8=8, Resulting Numbers: [28, 8]
Generated Node #0,3,1: 90:[28, 8] Operation: 1*8=8
Exploring Operation: 1+8=9, Resulting Numbers: [28, 9]
Generated Node #0,3,2: 90:[28, 9] Operation: 1+8=9
Exploring Operation: 1+28=29, Resulting Numbers: [8, 29]
Generated Node #0,3,3: 90:[8, 29] Operation: 1+28=29
Exploring Operation: 8/1=8, Resulting Numbers: [28, 8]
Generated Node #0,3,4: 90:[28, 8] Operation: 8/1=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[28, 9], Operations: ['55-27=28', '1+8=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,90 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,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:[8, 29], Operations: ['55-27=28', '1+28=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,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,0
Current State: 90:[28, 7], Operations: ['55-27=28', '8-1=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,90 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,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:[28, 8], Operations: ['55-27=28', '1*8=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,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,4
Current State: 90:[28, 8], Operations: ['55-27=28', '8/1=8']
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,90 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,90 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: 90:[1, 27, 47], Operations: ['55-8=47']
Exploring Operation: 47-27=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 90:[1, 20] Operation: 47-27=20
Exploring Operation: 1*27=27, Resulting Numbers: [47, 27]
Generated Node #0,0,1: 90:[47, 27] Operation: 1*27=27
Exploring Operation: 1+27=28, Resulting Numbers: [47, 28]
Generated Node #0,0,2: 90:[47, 28] Operation: 1+27=28
Exploring Operation: 47-1=46, Resulting Numbers: [27, 46]
Generated Node #0,0,3: 90:[27, 46] Operation: 47-1=46
Exploring Operation: 27/1=27, Resulting Numbers: [47, 27]
Generated Node #0,0,4: 90:[47, 27] Operation: 27/1=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[1, 20], Operations: ['55-8=47', '47-27=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,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,0,2
Current State: 90:[47, 28], Operations: ['55-8=47', '1+27=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,90 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,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,0,3
Current State: 90:[27, 46], Operations: ['55-8=47', '47-1=46']
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,90 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,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,0,1
Current State: 90:[47, 27], Operations: ['55-8=47', '1*27=27']
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,90 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 47*27=1269, Resulting Numbers: [1269]
1269,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,0,4
Current State: 90:[47, 27], Operations: ['55-8=47', '27/1=27']
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 47*27=1269, Resulting Numbers: [1269]
1269,90 unequal: No Solution
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,90 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: 90:[1, 8, 82], Operations: ['55+27=82']
Exploring Operation: 8+82=90, Resulting Numbers: [1, 90]
Generated Node #0,4,0: 90:[1, 90] Operation: 8+82=90
Exploring Operation: 1+82=83, Resulting Numbers: [8, 83]
Generated Node #0,4,1: 90:[8, 83] Operation: 1+82=83
Exploring Operation: 1+8=9, Resulting Numbers: [82, 9]
Generated Node #0,4,2: 90:[82, 9] Operation: 1+8=9
Exploring Operation: 1*8=8, Resulting Numbers: [82, 8]
Generated Node #0,4,3: 90:[82, 8] Operation: 1*8=8
Exploring Operation: 8-1=7, Resulting Numbers: [82, 7]
Generated Node #0,4,4: 90:[82, 7] Operation: 8-1=7
Moving to Node #0,1
Current State: 90:[1, 55, 19], Operations: ['27-8=19']
Exploring Operation: 55-1=54, Resulting Numbers: [19, 54]
Generated Node #0,1,0: 90:[19, 54] Operation: 55-1=54
Exploring Operation: 1*55=55, Resulting Numbers: [19, 55]
Generated Node #0,1,1: 90:[19, 55] Operation: 1*55=55
Exploring Operation: 55/1=55, Resulting Numbers: [19, 55]
Generated Node #0,1,2: 90:[19, 55] Operation: 55/1=55
Exploring Operation: 55-19=36, Resulting Numbers: [1, 36]
Generated Node #0,1,3: 90:[1, 36] Operation: 55-19=36
Exploring Operation: 19-1=18, Resulting Numbers: [55, 18]
Generated Node #0,1,4: 90:[55, 18] Operation: 19-1=18
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[1, 36], Operations: ['27-8=19', '55-19=36']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[19, 54], Operations: ['27-8=19', '55-1=54']
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,90 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 90:[55, 18], Operations: ['27-8=19', '19-1=18']
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,90 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[19, 55], Operations: ['27-8=19', '1*55=55']
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,90 unequal: No Solution
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,90 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[19, 55], Operations: ['27-8=19', '55/1=55']
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,90 unequal: No Solution
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,90 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: 90:[55, 27, 9], Operations: ['1+8=9']
Exploring Operation: 27-9=18, Resulting Numbers: [55, 18]
Generated Node #0,2,0: 90:[55, 18] Operation: 27-9=18
Exploring Operation: 55+27=82, Resulting Numbers: [9, 82]
Generated Node #0,2,1: 90:[9, 82] Operation: 55+27=82
Exploring Operation: 27/9=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 90:[55, 3] Operation: 27/9=3
Exploring Operation: 55-9=46, Resulting Numbers: [27, 46]
Generated Node #0,2,3: 90:[27, 46] Operation: 55-9=46
Exploring Operation: 55-27=28, Resulting Numbers: [9, 28]
Generated Node #0,2,4: 90:[9, 28] Operation: 55-27=28
Moving to Node #0,4,0
Current State: 90:[1, 90], Operations: ['55+27=82', '8+82=90']
Exploring Operation: 1*90=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[1, 8, 55, 27], Operations: []
Exploring Operation: 55+27=82, Resulting Numbers: [1, 8, 82]
Generated Node #0,4: 90:[1, 8, 82] Operation: 55+27=82
Moving to Node #0,4
Current State: 90:[1, 8, 82], Operations: ['55+27=82']
Exploring Operation: 8+82=90, Resulting Numbers: [1, 90]
Generated Node #0,4,0: 90:[1, 90] Operation: 8+82=90
Moving to Node #0,4,0
Current State: 90:[1, 90], Operations: ['55+27=82', '8+82=90']
Exploring Operation: 1*90=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.927951 | hs_5 | sum_heuristic |
[
2,
9,
81,
86
] | 90 | [
"2*9=18",
"86-81=5",
"18*5=90"
] | Current State: 90:[2, 9, 81, 86], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [81, 86, 18]
Generated Node #2: [81, 86, 18] from Operation: 2*9=18
Current State: 90:[81, 86, 18], Operations: ['2*9=18']
Exploring Operation: 86-81=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 86-81=5
Current State: 90:[18, 5], Operations: ['2*9=18', '86-81=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[2, 9, 81, 86], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [2, 86, 9]
Generated Node #0,0: 90:[2, 86, 9] Operation: 81/9=9
Exploring Operation: 86-81=5, Resulting Numbers: [2, 9, 5]
Generated Node #0,1: 90:[2, 9, 5] Operation: 86-81=5
Exploring Operation: 9+81=90, Resulting Numbers: [2, 86, 90]
Generated Node #0,2: 90:[2, 86, 90] Operation: 9+81=90
Exploring Operation: 2+81=83, Resulting Numbers: [9, 86, 83]
Generated Node #0,3: 90:[9, 86, 83] Operation: 2+81=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[2, 9, 5], Operations: ['86-81=5']
Exploring Operation: 5-2=3, Resulting Numbers: [9, 3]
Generated Node #0,1,0: 90:[9, 3] Operation: 5-2=3
Exploring Operation: 2*9=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 90:[5, 18] Operation: 2*9=18
Exploring Operation: 2*5=10, Resulting Numbers: [9, 10]
Generated Node #0,1,2: 90:[9, 10] Operation: 2*5=10
Exploring Operation: 9*5=45, Resulting Numbers: [2, 45]
Generated Node #0,1,3: 90:[2, 45] Operation: 9*5=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[9, 3], Operations: ['86-81=5', '5-2=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,90 unequal: No Solution
No 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: 90:[5, 18], Operations: ['86-81=5', '2*9=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[2, 9, 81, 86], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [2, 9, 5]
Generated Node #0,1: 90:[2, 9, 5] Operation: 86-81=5
Moving to Node #0,1
Current State: 90:[2, 9, 5], Operations: ['86-81=5']
Exploring Operation: 2*9=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 90:[5, 18] Operation: 2*9=18
Moving to Node #0,1,1
Current State: 90:[5, 18], Operations: ['86-81=5', '2*9=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
44,
70,
58,
27
] | 22 | [
"58-44=14",
"70/14=5",
"27-5=22"
] | Current State: 22:[44, 70, 58, 27], Operations: []
Exploring Operation: 58-44=14, Resulting Numbers: [70, 27, 14]
Generated Node #2: [70, 27, 14] from Operation: 58-44=14
Current State: 22:[70, 27, 14], Operations: ['58-44=14']
Exploring Operation: 70/14=5, Resulting Numbers: [27, 5]
Generated Node #3: [27, 5] from Operation: 70/14=5
Current State: 22:[27, 5], Operations: ['58-44=14', '70/14=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[44, 70, 58, 27], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [44, 27, 12]
Generated Node #0,0: 22:[44, 27, 12] Operation: 70-58=12
Moving to Node #0,0
Current State: 22:[44, 27, 12], Operations: ['70-58=12']
Exploring Operation: 44-27=17, Resulting Numbers: [12, 17]
Generated Node #0,0,0: 22:[12, 17] Operation: 44-27=17
Moving to Node #0,0,0
Current State: 22:[12, 17], Operations: ['70-58=12', '44-27=17']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,22 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
28,
64,
62
] | 79 | [
"75-28=47",
"64+62=126",
"126-47=79"
] | Current State: 79:[75, 28, 64, 62], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [64, 62, 47]
Generated Node #2: [64, 62, 47] from Operation: 75-28=47
Current State: 79:[64, 62, 47], Operations: ['75-28=47']
Exploring Operation: 64+62=126, Resulting Numbers: [47, 126]
Generated Node #3: [47, 126] from Operation: 64+62=126
Current State: 79:[47, 126], Operations: ['75-28=47', '64+62=126']
Exploring Operation: 126-47=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[75, 28, 64, 62], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [64, 62, 47]
Generated Node #0,0: 79:[64, 62, 47] Operation: 75-28=47
Exploring Operation: 28+62=90, Resulting Numbers: [75, 64, 90]
Generated Node #0,1: 79:[75, 64, 90] Operation: 28+62=90
Exploring Operation: 75+28=103, Resulting Numbers: [64, 62, 103]
Generated Node #0,2: 79:[64, 62, 103] Operation: 75+28=103
Exploring Operation: 28+64=92, Resulting Numbers: [75, 62, 92]
Generated Node #0,3: 79:[75, 62, 92] Operation: 28+64=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[75, 64, 90], Operations: ['28+62=90']
Exploring Operation: 75-64=11, Resulting Numbers: [90, 11]
Generated Node #0,1,0: 79:[90, 11] Operation: 75-64=11
Exploring Operation: 75+64=139, Resulting Numbers: [90, 139]
Generated Node #0,1,1: 79:[90, 139] Operation: 75+64=139
Exploring Operation: 90-64=26, Resulting Numbers: [75, 26]
Generated Node #0,1,2: 79:[75, 26] Operation: 90-64=26
Exploring Operation: 90-75=15, Resulting Numbers: [64, 15]
Generated Node #0,1,3: 79:[64, 15] Operation: 90-75=15
Moving to Node #0,1,2
Current State: 79:[75, 26], Operations: ['28+62=90', '90-64=26']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,79 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[90, 139], Operations: ['28+62=90', '75+64=139']
Exploring Operation: 90+139=229, Resulting Numbers: [229]
229,79 unequal: No Solution
Exploring Operation: 90*139=12510, Resulting Numbers: [12510]
12510,79 unequal: No Solution
Exploring Operation: 139-90=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[64, 15], Operations: ['28+62=90', '90-75=15']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,79 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[75, 28, 64, 62], Operations: []
Exploring Operation: 28+62=90, Resulting Numbers: [75, 64, 90]
Generated Node #0,1: 79:[75, 64, 90] Operation: 28+62=90
Moving to Node #0,1
Current State: 79:[75, 64, 90], Operations: ['28+62=90']
Exploring Operation: 90-75=15, Resulting Numbers: [64, 15]
Generated Node #0,1,3: 79:[64, 15] Operation: 90-75=15
Moving to Node #0,1,3
Current State: 79:[64, 15], Operations: ['28+62=90', '90-75=15']
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
16,
71,
94,
63
] | 56 | [
"16+71=87",
"94-63=31",
"87-31=56"
] | Current State: 56:[16, 71, 94, 63], Operations: []
Exploring Operation: 16+71=87, Resulting Numbers: [94, 63, 87]
Generated Node #2: [94, 63, 87] from Operation: 16+71=87
Current State: 56:[94, 63, 87], Operations: ['16+71=87']
Exploring Operation: 94-63=31, Resulting Numbers: [87, 31]
Generated Node #3: [87, 31] from Operation: 94-63=31
Current State: 56:[87, 31], Operations: ['16+71=87', '94-63=31']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[16, 71, 94, 63], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [16, 71, 31]
Generated Node #0,0: 56:[16, 71, 31] Operation: 94-63=31
Exploring Operation: 94-71=23, Resulting Numbers: [16, 63, 23]
Generated Node #0,1: 56:[16, 63, 23] Operation: 94-71=23
Exploring Operation: 94-16=78, Resulting Numbers: [71, 63, 78]
Generated Node #0,2: 56:[71, 63, 78] Operation: 94-16=78
Exploring Operation: 71-63=8, Resulting Numbers: [16, 94, 8]
Generated Node #0,3: 56:[16, 94, 8] Operation: 71-63=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[16, 63, 23], Operations: ['94-71=23']
Exploring Operation: 23-16=7, Resulting Numbers: [63, 7]
Generated Node #0,1,0: 56:[63, 7] Operation: 23-16=7
Exploring Operation: 63-23=40, Resulting Numbers: [16, 40]
Generated Node #0,1,1: 56:[16, 40] Operation: 63-23=40
Exploring Operation: 16+23=39, Resulting Numbers: [63, 39]
Generated Node #0,1,2: 56:[63, 39] Operation: 16+23=39
Exploring Operation: 63-16=47, Resulting Numbers: [23, 47]
Generated Node #0,1,3: 56:[23, 47] Operation: 63-16=47
Moving to Node #0,1,0
Current State: 56:[63, 7], Operations: ['94-71=23', '23-16=7']
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,56 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[16, 71, 94, 63], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [16, 63, 23]
Generated Node #0,1: 56:[16, 63, 23] Operation: 94-71=23
Moving to Node #0,1
Current State: 56:[16, 63, 23], Operations: ['94-71=23']
Exploring Operation: 23-16=7, Resulting Numbers: [63, 7]
Generated Node #0,1,0: 56:[63, 7] Operation: 23-16=7
Moving to Node #0,1,0
Current State: 56:[63, 7], Operations: ['94-71=23', '23-16=7']
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
27,
74,
34,
99
] | 18 | [
"74-27=47",
"99-34=65",
"65-47=18"
] | Current State: 18:[27, 74, 34, 99], Operations: []
Exploring Operation: 74-27=47, Resulting Numbers: [34, 99, 47]
Generated Node #2: [34, 99, 47] from Operation: 74-27=47
Current State: 18:[34, 99, 47], Operations: ['74-27=47']
Exploring Operation: 99-34=65, Resulting Numbers: [47, 65]
Generated Node #3: [47, 65] from Operation: 99-34=65
Current State: 18:[47, 65], Operations: ['74-27=47', '99-34=65']
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[27, 74, 34, 99], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [27, 99, 40]
Generated Node #0,0: 18:[27, 99, 40] Operation: 74-34=40
Exploring Operation: 99-34=65, Resulting Numbers: [27, 74, 65]
Generated Node #0,1: 18:[27, 74, 65] Operation: 99-34=65
Exploring Operation: 99-74=25, Resulting Numbers: [27, 34, 25]
Generated Node #0,2: 18:[27, 34, 25] Operation: 99-74=25
Moving to Node #0,2
Current State: 18:[27, 34, 25], Operations: ['99-74=25']
Exploring Operation: 34-27=7, Resulting Numbers: [25, 7]
Generated Node #0,2,0: 18:[25, 7] Operation: 34-27=7
Exploring Operation: 34-25=9, Resulting Numbers: [27, 9]
Generated Node #0,2,1: 18:[27, 9] Operation: 34-25=9
Exploring Operation: 27-25=2, Resulting Numbers: [34, 2]
Generated Node #0,2,2: 18:[34, 2] Operation: 27-25=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[25, 7], Operations: ['99-74=25', '34-27=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[27, 74, 34, 99], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [27, 34, 25]
Generated Node #0,2: 18:[27, 34, 25] Operation: 99-74=25
Moving to Node #0,2
Current State: 18:[27, 34, 25], Operations: ['99-74=25']
Exploring Operation: 34-27=7, Resulting Numbers: [25, 7]
Generated Node #0,2,0: 18:[25, 7] Operation: 34-27=7
Moving to Node #0,2,0
Current State: 18:[25, 7], Operations: ['99-74=25', '34-27=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
8,
3,
29,
36
] | 13 | [
"8-3=5",
"29+36=65",
"65/5=13"
] | Current State: 13:[8, 3, 29, 36], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [29, 36, 5]
Generated Node #2: [29, 36, 5] from Operation: 8-3=5
Current State: 13:[29, 36, 5], Operations: ['8-3=5']
Exploring Operation: 29+36=65, Resulting Numbers: [5, 65]
Generated Node #3: [5, 65] from Operation: 29+36=65
Current State: 13:[5, 65], Operations: ['8-3=5', '29+36=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[8, 3, 29, 36], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [8, 29, 12]
Generated Node #0,0: 13:[8, 29, 12] Operation: 36/3=12
Exploring Operation: 36-29=7, Resulting Numbers: [8, 3, 7]
Generated Node #0,1: 13:[8, 3, 7] Operation: 36-29=7
Moving to Node #0,1
Current State: 13:[8, 3, 7], Operations: ['36-29=7']
Exploring Operation: 8+3=11, Resulting Numbers: [7, 11]
Generated Node #0,1,0: 13:[7, 11] Operation: 8+3=11
Exploring Operation: 3+7=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 13:[8, 10] Operation: 3+7=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[7, 11], Operations: ['36-29=7', '8+3=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[8, 10], Operations: ['36-29=7', '3+7=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,13 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: 13:[8, 29, 12], Operations: ['36/3=12']
Exploring Operation: 29-12=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 13:[8, 17] Operation: 29-12=17
Exploring Operation: 29-8=21, Resulting Numbers: [12, 21]
Generated Node #0,0,1: 13:[12, 21] Operation: 29-8=21
Moving to Node #0,0,0
Current State: 13:[8, 17], Operations: ['36/3=12', '29-12=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[12, 21], Operations: ['36/3=12', '29-8=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
7,
46,
48
] | 58 | [
"7*48=336",
"336-46=290",
"290/5=58"
] | Current State: 58:[5, 7, 46, 48], Operations: []
Exploring Operation: 7*48=336, Resulting Numbers: [5, 46, 336]
Generated Node #2: [5, 46, 336] from Operation: 7*48=336
Current State: 58:[5, 46, 336], Operations: ['7*48=336']
Exploring Operation: 336-46=290, Resulting Numbers: [5, 290]
Generated Node #3: [5, 290] from Operation: 336-46=290
Current State: 58:[5, 290], Operations: ['7*48=336', '336-46=290']
Exploring Operation: 290/5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[5, 7, 46, 48], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [46, 48, 2]
Generated Node #0,0: 58:[46, 48, 2] Operation: 7-5=2
Exploring Operation: 48-46=2, Resulting Numbers: [5, 7, 2]
Generated Node #0,1: 58:[5, 7, 2] Operation: 48-46=2
Exploring Operation: 7+46=53, Resulting Numbers: [5, 48, 53]
Generated Node #0,2: 58:[5, 48, 53] Operation: 7+46=53
Exploring Operation: 7+48=55, Resulting Numbers: [5, 46, 55]
Generated Node #0,3: 58:[5, 46, 55] Operation: 7+48=55
Moving to Node #0,1
Current State: 58:[5, 7, 2], Operations: ['48-46=2']
Exploring Operation: 5-2=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 58:[7, 3] Operation: 5-2=3
Exploring Operation: 7-2=5, Resulting Numbers: [5, 5]
Generated Node #0,1,1: 58:[5, 5] Operation: 7-2=5
Exploring Operation: 5*7=35, Resulting Numbers: [2, 35]
Generated Node #0,1,2: 58:[2, 35] Operation: 5*7=35
Exploring Operation: 7-5=2, Resulting Numbers: [2, 2]
Generated Node #0,1,3: 58:[2, 2] Operation: 7-5=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[2, 2], Operations: ['48-46=2', '7-5=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,58 unequal: No Solution
No 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: 58:[7, 3], Operations: ['48-46=2', '5-2=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,58 unequal: No Solution
No 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: 58:[5, 5], Operations: ['48-46=2', '7-2=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,58 unequal: No Solution
No 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: 58:[2, 35], Operations: ['48-46=2', '5*7=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,58 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: 58:[5, 46, 55], Operations: ['7+48=55']
Exploring Operation: 46-5=41, Resulting Numbers: [55, 41]
Generated Node #0,3,0: 58:[55, 41] Operation: 46-5=41
Exploring Operation: 55-46=9, Resulting Numbers: [5, 9]
Generated Node #0,3,1: 58:[5, 9] Operation: 55-46=9
Exploring Operation: 5+55=60, Resulting Numbers: [46, 60]
Generated Node #0,3,2: 58:[46, 60] Operation: 5+55=60
Exploring Operation: 5+46=51, Resulting Numbers: [55, 51]
Generated Node #0,3,3: 58:[55, 51] Operation: 5+46=51
Moving to Node #0,2
Current State: 58:[5, 48, 53], Operations: ['7+46=53']
Exploring Operation: 53-48=5, Resulting Numbers: [5, 5]
Generated Node #0,2,0: 58:[5, 5] Operation: 53-48=5
Exploring Operation: 5+48=53, Resulting Numbers: [53, 53]
Generated Node #0,2,1: 58:[53, 53] Operation: 5+48=53
Exploring Operation: 5+53=58, Resulting Numbers: [48, 58]
Generated Node #0,2,2: 58:[48, 58] Operation: 5+53=58
Exploring Operation: 48-5=43, Resulting Numbers: [53, 43]
Generated Node #0,2,3: 58:[53, 43] Operation: 48-5=43
Moving to Node #0,0
Current State: 58:[46, 48, 2], Operations: ['7-5=2']
Exploring Operation: 46/2=23, Resulting Numbers: [48, 23]
Generated Node #0,0,0: 58:[48, 23] Operation: 46/2=23
Exploring Operation: 48-46=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 58:[2, 2] Operation: 48-46=2
Exploring Operation: 46+2=48, Resulting Numbers: [48, 48]
Generated Node #0,0,2: 58:[48, 48] Operation: 46+2=48
Exploring Operation: 48/2=24, Resulting Numbers: [46, 24]
Generated Node #0,0,3: 58:[46, 24] Operation: 48/2=24
Moving to Node #0,0,1
Current State: 58:[2, 2], Operations: ['7-5=2', '48-46=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[5, 5], Operations: ['7+46=53', '53-48=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[53, 53], Operations: ['7+46=53', '5+48=53']
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 53*53=2809, Resulting Numbers: [2809]
2809,58 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[48, 58], Operations: ['7+46=53', '5+53=58']
Exploring Operation: 48*58=2784, Resulting Numbers: [2784]
2784,58 unequal: No Solution
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[55, 51], Operations: ['7+48=55', '5+46=51']
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,58 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[5, 9], Operations: ['7+48=55', '55-46=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[46, 60], Operations: ['7+48=55', '5+55=60']
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,58 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[55, 41], Operations: ['7+48=55', '46-5=41']
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,58 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[48, 23], Operations: ['7-5=2', '46/2=23']
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,58 unequal: No Solution
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,58 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[46, 24], Operations: ['7-5=2', '48/2=24']
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,58 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[53, 43], Operations: ['7+46=53', '48-5=43']
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,58 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[48, 48], Operations: ['7-5=2', '46+2=48']
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,58 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,58 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
31,
76,
83,
85
] | 69 | [
"85-83=2",
"76/2=38",
"31+38=69"
] | Current State: 69:[31, 76, 83, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [31, 76, 2]
Generated Node #2: [31, 76, 2] from Operation: 85-83=2
Current State: 69:[31, 76, 2], Operations: ['85-83=2']
Exploring Operation: 76/2=38, Resulting Numbers: [31, 38]
Generated Node #3: [31, 38] from Operation: 76/2=38
Current State: 69:[31, 38], Operations: ['85-83=2', '76/2=38']
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[31, 76, 83, 85], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [31, 83, 9]
Generated Node #0,0: 69:[31, 83, 9] Operation: 85-76=9
Exploring Operation: 83-76=7, Resulting Numbers: [31, 85, 7]
Generated Node #0,1: 69:[31, 85, 7] Operation: 83-76=7
Exploring Operation: 85-83=2, Resulting Numbers: [31, 76, 2]
Generated Node #0,2: 69:[31, 76, 2] Operation: 85-83=2
Exploring Operation: 85-31=54, Resulting Numbers: [76, 83, 54]
Generated Node #0,3: 69:[76, 83, 54] Operation: 85-31=54
Moving to Node #0,2
Current State: 69:[31, 76, 2], Operations: ['85-83=2']
Exploring Operation: 76-2=74, Resulting Numbers: [31, 74]
Generated Node #0,2,0: 69:[31, 74] Operation: 76-2=74
Exploring Operation: 31*2=62, Resulting Numbers: [76, 62]
Generated Node #0,2,1: 69:[76, 62] Operation: 31*2=62
Exploring Operation: 31-2=29, Resulting Numbers: [76, 29]
Generated Node #0,2,2: 69:[76, 29] Operation: 31-2=29
Exploring Operation: 31+2=33, Resulting Numbers: [76, 33]
Generated Node #0,2,3: 69:[76, 33] Operation: 31+2=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[31, 74], Operations: ['85-83=2', '76-2=74']
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,69 unequal: No Solution
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[76, 29], Operations: ['85-83=2', '31-2=29']
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,69 unequal: No Solution
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[76, 62], Operations: ['85-83=2', '31*2=62']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 76+62=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 76*62=4712, Resulting Numbers: [4712]
4712,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 69:[76, 33], Operations: ['85-83=2', '31+2=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,69 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,69 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: 69:[31, 85, 7], Operations: ['83-76=7']
Exploring Operation: 85-7=78, Resulting Numbers: [31, 78]
Generated Node #0,1,0: 69:[31, 78] Operation: 85-7=78
Exploring Operation: 85-31=54, Resulting Numbers: [7, 54]
Generated Node #0,1,1: 69:[7, 54] Operation: 85-31=54
Exploring Operation: 31+7=38, Resulting Numbers: [85, 38]
Generated Node #0,1,2: 69:[85, 38] Operation: 31+7=38
Exploring Operation: 31-7=24, Resulting Numbers: [85, 24]
Generated Node #0,1,3: 69:[85, 24] Operation: 31-7=24
Moving to Node #0,0
Current State: 69:[31, 83, 9], Operations: ['85-76=9']
Exploring Operation: 83-31=52, Resulting Numbers: [9, 52]
Generated Node #0,0,0: 69:[9, 52] Operation: 83-31=52
Exploring Operation: 31-9=22, Resulting Numbers: [83, 22]
Generated Node #0,0,1: 69:[83, 22] Operation: 31-9=22
Exploring Operation: 83-9=74, Resulting Numbers: [31, 74]
Generated Node #0,0,2: 69:[31, 74] Operation: 83-9=74
Exploring Operation: 31+9=40, Resulting Numbers: [83, 40]
Generated Node #0,0,3: 69:[83, 40] Operation: 31+9=40
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[31, 74], Operations: ['85-76=9', '83-9=74']
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[83, 22], Operations: ['85-76=9', '31-9=22']
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,69 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[9, 52], Operations: ['85-76=9', '83-31=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[83, 40], Operations: ['85-76=9', '31+9=40']
Exploring Operation: 83*40=3320, Resulting Numbers: [3320]
3320,69 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 83+40=123, Resulting Numbers: [123]
123,69 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: 69:[76, 83, 54], Operations: ['85-31=54']
Exploring Operation: 76+54=130, Resulting Numbers: [83, 130]
Generated Node #0,3,0: 69:[83, 130] Operation: 76+54=130
Exploring Operation: 83-54=29, Resulting Numbers: [76, 29]
Generated Node #0,3,1: 69:[76, 29] Operation: 83-54=29
Exploring Operation: 76-54=22, Resulting Numbers: [83, 22]
Generated Node #0,3,2: 69:[83, 22] Operation: 76-54=22
Exploring Operation: 83-76=7, Resulting Numbers: [54, 7]
Generated Node #0,3,3: 69:[54, 7] Operation: 83-76=7
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[76, 29], Operations: ['85-31=54', '83-54=29']
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,69 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[83, 22], Operations: ['85-31=54', '76-54=22']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[54, 7], Operations: ['85-31=54', '83-76=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,69 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[83, 130], Operations: ['85-31=54', '76+54=130']
Exploring Operation: 130-83=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 83+130=213, Resulting Numbers: [213]
213,69 unequal: No Solution
Exploring Operation: 83*130=10790, Resulting Numbers: [10790]
10790,69 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: 69:[31, 78], Operations: ['83-76=7', '85-7=78']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 31*78=2418, Resulting Numbers: [2418]
2418,69 unequal: No Solution
Exploring Operation: 31+78=109, Resulting Numbers: [109]
109,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[85, 24], Operations: ['83-76=7', '31-7=24']
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,69 unequal: No Solution
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,69 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[7, 54], Operations: ['83-76=7', '85-31=54']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[85, 38], Operations: ['83-76=7', '31+7=38']
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,69 unequal: No Solution
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,69 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,69 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
45,
19,
69
] | 16 | [
"45-11=34",
"69-19=50",
"50-34=16"
] | Current State: 16:[11, 45, 19, 69], Operations: []
Exploring Operation: 45-11=34, Resulting Numbers: [19, 69, 34]
Generated Node #2: [19, 69, 34] from Operation: 45-11=34
Current State: 16:[19, 69, 34], Operations: ['45-11=34']
Exploring Operation: 69-19=50, Resulting Numbers: [34, 50]
Generated Node #3: [34, 50] from Operation: 69-19=50
Current State: 16:[34, 50], Operations: ['45-11=34', '69-19=50']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[11, 45, 19, 69], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [11, 19, 24]
Generated Node #0,0: 16:[11, 19, 24] Operation: 69-45=24
Exploring Operation: 45-19=26, Resulting Numbers: [11, 69, 26]
Generated Node #0,1: 16:[11, 69, 26] Operation: 45-19=26
Exploring Operation: 69-19=50, Resulting Numbers: [11, 45, 50]
Generated Node #0,2: 16:[11, 45, 50] Operation: 69-19=50
Exploring Operation: 45-11=34, Resulting Numbers: [19, 69, 34]
Generated Node #0,3: 16:[19, 69, 34] Operation: 45-11=34
Moving to Node #0,0
Current State: 16:[11, 19, 24], Operations: ['69-45=24']
Exploring Operation: 19-11=8, Resulting Numbers: [24, 8]
Generated Node #0,0,0: 16:[24, 8] Operation: 19-11=8
Exploring Operation: 24-19=5, Resulting Numbers: [11, 5]
Generated Node #0,0,1: 16:[11, 5] Operation: 24-19=5
Exploring Operation: 11+19=30, Resulting Numbers: [24, 30]
Generated Node #0,0,2: 16:[24, 30] Operation: 11+19=30
Exploring Operation: 24-11=13, Resulting Numbers: [19, 13]
Generated Node #0,0,3: 16:[19, 13] Operation: 24-11=13
Moving to Node #0,2
Current State: 16:[11, 45, 50], Operations: ['69-19=50']
Exploring Operation: 50-45=5, Resulting Numbers: [11, 5]
Generated Node #0,2,0: 16:[11, 5] Operation: 50-45=5
Exploring Operation: 50-11=39, Resulting Numbers: [45, 39]
Generated Node #0,2,1: 16:[45, 39] Operation: 50-11=39
Exploring Operation: 11+45=56, Resulting Numbers: [50, 56]
Generated Node #0,2,2: 16:[50, 56] Operation: 11+45=56
Exploring Operation: 45-11=34, Resulting Numbers: [50, 34]
Generated Node #0,2,3: 16:[50, 34] Operation: 45-11=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[11, 5], Operations: ['69-19=50', '50-45=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[11, 45, 19, 69], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [11, 45, 50]
Generated Node #0,2: 16:[11, 45, 50] Operation: 69-19=50
Moving to Node #0,2
Current State: 16:[11, 45, 50], Operations: ['69-19=50']
Exploring Operation: 50-45=5, Resulting Numbers: [11, 5]
Generated Node #0,2,0: 16:[11, 5] Operation: 50-45=5
Moving to Node #0,2,0
Current State: 16:[11, 5], Operations: ['69-19=50', '50-45=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
3,
25,
90,
32
] | 71 | [
"25+32=57",
"57/3=19",
"90-19=71"
] | Current State: 71:[3, 25, 90, 32], Operations: []
Exploring Operation: 25+32=57, Resulting Numbers: [3, 90, 57]
Generated Node #2: [3, 90, 57] from Operation: 25+32=57
Current State: 71:[3, 90, 57], Operations: ['25+32=57']
Exploring Operation: 57/3=19, Resulting Numbers: [90, 19]
Generated Node #3: [90, 19] from Operation: 57/3=19
Current State: 71:[90, 19], Operations: ['25+32=57', '57/3=19']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[3, 25, 90, 32], Operations: []
Exploring Operation: 3*32=96, Resulting Numbers: [25, 90, 96]
Generated Node #0,0: 71:[25, 90, 96] Operation: 3*32=96
Exploring Operation: 3*25=75, Resulting Numbers: [90, 32, 75]
Generated Node #0,1: 71:[90, 32, 75] Operation: 3*25=75
Moving to Node #0,1
Current State: 71:[90, 32, 75], Operations: ['3*25=75']
Exploring Operation: 90-32=58, Resulting Numbers: [75, 58]
Generated Node #0,1,0: 71:[75, 58] Operation: 90-32=58
Exploring Operation: 75-32=43, Resulting Numbers: [90, 43]
Generated Node #0,1,1: 71:[90, 43] Operation: 75-32=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[75, 58], Operations: ['3*25=75', '90-32=58']
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[90, 43], Operations: ['3*25=75', '75-32=43']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,71 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: 71:[25, 90, 96], Operations: ['3*32=96']
Exploring Operation: 96-25=71, Resulting Numbers: [90, 71]
Generated Node #0,0,0: 71:[90, 71] Operation: 96-25=71
Exploring Operation: 90-25=65, Resulting Numbers: [96, 65]
Generated Node #0,0,1: 71:[96, 65] Operation: 90-25=65
Moving to Node #0,0,0
Current State: 71:[90, 71], Operations: ['3*32=96', '96-25=71']
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,71 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[96, 65], Operations: ['3*32=96', '90-25=65']
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 96+65=161, Resulting Numbers: [161]
161,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
92,
22,
82,
93
] | 94 | [
"93-82=11",
"22/11=2",
"92+2=94"
] | Current State: 94:[92, 22, 82, 93], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [92, 22, 11]
Generated Node #2: [92, 22, 11] from Operation: 93-82=11
Current State: 94:[92, 22, 11], Operations: ['93-82=11']
Exploring Operation: 22/11=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 22/11=2
Current State: 94:[92, 2], Operations: ['93-82=11', '22/11=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[92, 22, 82, 93], Operations: []
Exploring Operation: 82-22=60, Resulting Numbers: [92, 93, 60]
Generated Node #0,0: 94:[92, 93, 60] Operation: 82-22=60
Exploring Operation: 22+82=104, Resulting Numbers: [92, 93, 104]
Generated Node #0,1: 94:[92, 93, 104] Operation: 22+82=104
Moving to Node #0,1
Current State: 94:[92, 93, 104], Operations: ['22+82=104']
Exploring Operation: 93-92=1, Resulting Numbers: [104, 1]
Generated Node #0,1,0: 94:[104, 1] Operation: 93-92=1
Exploring Operation: 104-92=12, Resulting Numbers: [93, 12]
Generated Node #0,1,1: 94:[93, 12] Operation: 104-92=12
Moving to Node #0,0
Current State: 94:[92, 93, 60], Operations: ['82-22=60']
Exploring Operation: 93-92=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 94:[60, 1] Operation: 93-92=1
Exploring Operation: 92-60=32, Resulting Numbers: [93, 32]
Generated Node #0,0,1: 94:[93, 32] Operation: 92-60=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[60, 1], Operations: ['82-22=60', '93-92=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,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:[93, 32], Operations: ['82-22=60', '92-60=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,94 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: 94:[104, 1], Operations: ['22+82=104', '93-92=1']
Exploring Operation: 104-1=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 104*1=104, Resulting Numbers: [104]
104,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[93, 12], Operations: ['22+82=104', '104-92=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,94 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
6,
4,
39
] | 59 | [
"96+6=102",
"4+39=43",
"102-43=59"
] | Current State: 59:[96, 6, 4, 39], Operations: []
Exploring Operation: 96+6=102, Resulting Numbers: [4, 39, 102]
Generated Node #2: [4, 39, 102] from Operation: 96+6=102
Current State: 59:[4, 39, 102], Operations: ['96+6=102']
Exploring Operation: 4+39=43, Resulting Numbers: [102, 43]
Generated Node #3: [102, 43] from Operation: 4+39=43
Current State: 59:[102, 43], Operations: ['96+6=102', '4+39=43']
Exploring Operation: 102-43=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[96, 6, 4, 39], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [4, 39, 90]
Generated Node #0,0: 59:[4, 39, 90] Operation: 96-6=90
Exploring Operation: 6*4=24, Resulting Numbers: [96, 39, 24]
Generated Node #0,1: 59:[96, 39, 24] Operation: 6*4=24
Moving to Node #0,1
Current State: 59:[96, 39, 24], Operations: ['6*4=24']
Exploring Operation: 96-24=72, Resulting Numbers: [39, 72]
Generated Node #0,1,0: 59:[39, 72] Operation: 96-24=72
Exploring Operation: 96-39=57, Resulting Numbers: [24, 57]
Generated Node #0,1,1: 59:[24, 57] Operation: 96-39=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[39, 72], Operations: ['6*4=24', '96-24=72']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[24, 57], Operations: ['6*4=24', '96-39=57']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,59 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: 59:[4, 39, 90], Operations: ['96-6=90']
Exploring Operation: 4+39=43, Resulting Numbers: [90, 43]
Generated Node #0,0,0: 59:[90, 43] Operation: 4+39=43
Exploring Operation: 90-4=86, Resulting Numbers: [39, 86]
Generated Node #0,0,1: 59:[39, 86] Operation: 90-4=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[90, 43], Operations: ['96-6=90', '4+39=43']
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[39, 86], Operations: ['96-6=90', '90-4=86']
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 39+86=125, Resulting Numbers: [125]
125,59 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 |
[
24,
21,
93,
99
] | 29 | [
"93+99=192",
"192/24=8",
"21+8=29"
] | Current State: 29:[24, 21, 93, 99], Operations: []
Exploring Operation: 93+99=192, Resulting Numbers: [24, 21, 192]
Generated Node #2: [24, 21, 192] from Operation: 93+99=192
Current State: 29:[24, 21, 192], Operations: ['93+99=192']
Exploring Operation: 192/24=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 192/24=8
Current State: 29:[21, 8], Operations: ['93+99=192', '192/24=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[24, 21, 93, 99], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [21, 93, 75]
Generated Node #0,0: 29:[21, 93, 75] Operation: 99-24=75
Exploring Operation: 99-93=6, Resulting Numbers: [24, 21, 6]
Generated Node #0,1: 29:[24, 21, 6] Operation: 99-93=6
Exploring Operation: 93-24=69, Resulting Numbers: [21, 99, 69]
Generated Node #0,2: 29:[21, 99, 69] Operation: 93-24=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[24, 21, 6], Operations: ['99-93=6']
Exploring Operation: 21+6=27, Resulting Numbers: [24, 27]
Generated Node #0,1,0: 29:[24, 27] Operation: 21+6=27
Exploring Operation: 24+6=30, Resulting Numbers: [21, 30]
Generated Node #0,1,1: 29:[21, 30] Operation: 24+6=30
Exploring Operation: 24-6=18, Resulting Numbers: [21, 18]
Generated Node #0,1,2: 29:[21, 18] Operation: 24-6=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[24, 27], Operations: ['99-93=6', '21+6=27']
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,29 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,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,1
Current State: 29:[21, 30], Operations: ['99-93=6', '24+6=30']
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,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:[21, 18], Operations: ['99-93=6', '24-6=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,29 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,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,0
Current State: 29:[21, 93, 75], Operations: ['99-24=75']
Exploring Operation: 75-21=54, Resulting Numbers: [93, 54]
Generated Node #0,0,0: 29:[93, 54] Operation: 75-21=54
Exploring Operation: 93-75=18, Resulting Numbers: [21, 18]
Generated Node #0,0,1: 29:[21, 18] Operation: 93-75=18
Exploring Operation: 93-21=72, Resulting Numbers: [75, 72]
Generated Node #0,0,2: 29:[75, 72] Operation: 93-21=72
Moving to Node #0,0,1
Current State: 29:[21, 18], Operations: ['99-24=75', '93-75=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[93, 54], Operations: ['99-24=75', '75-21=54']
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 93+54=147, Resulting Numbers: [147]
147,29 unequal: No Solution
Exploring Operation: 93*54=5022, Resulting Numbers: [5022]
5022,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[75, 72], Operations: ['99-24=75', '93-21=72']
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,29 unequal: No Solution
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[21, 99, 69], Operations: ['93-24=69']
Exploring Operation: 99-21=78, Resulting Numbers: [69, 78]
Generated Node #0,2,0: 29:[69, 78] Operation: 99-21=78
Exploring Operation: 99-69=30, Resulting Numbers: [21, 30]
Generated Node #0,2,1: 29:[21, 30] Operation: 99-69=30
Exploring Operation: 69-21=48, Resulting Numbers: [99, 48]
Generated Node #0,2,2: 29:[99, 48] Operation: 69-21=48
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[21, 30], Operations: ['93-24=69', '99-69=30']
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,29 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[69, 78], Operations: ['93-24=69', '99-21=78']
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 69+78=147, Resulting Numbers: [147]
147,29 unequal: No Solution
Exploring Operation: 69*78=5382, Resulting Numbers: [5382]
5382,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[99, 48], Operations: ['93-24=69', '69-21=48']
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,29 unequal: No Solution
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,29 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
23,
72,
73
] | 73 | [
"48+23=71",
"72-71=1",
"73*1=73"
] | Current State: 73:[48, 23, 72, 73], Operations: []
Exploring Operation: 48+23=71, Resulting Numbers: [72, 73, 71]
Generated Node #2: [72, 73, 71] from Operation: 48+23=71
Current State: 73:[72, 73, 71], Operations: ['48+23=71']
Exploring Operation: 72-71=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 72-71=1
Current State: 73:[73, 1], Operations: ['48+23=71', '72-71=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[48, 23, 72, 73], Operations: []
Exploring Operation: 23+72=95, Resulting Numbers: [48, 73, 95]
Generated Node #0,0: 73:[48, 73, 95] Operation: 23+72=95
Exploring Operation: 48-23=25, Resulting Numbers: [72, 73, 25]
Generated Node #0,1: 73:[72, 73, 25] Operation: 48-23=25
Exploring Operation: 48+23=71, Resulting Numbers: [72, 73, 71]
Generated Node #0,2: 73:[72, 73, 71] Operation: 48+23=71
Exploring Operation: 72-23=49, Resulting Numbers: [48, 73, 49]
Generated Node #0,3: 73:[48, 73, 49] Operation: 72-23=49
Moving to Node #0,2
Current State: 73:[72, 73, 71], Operations: ['48+23=71']
Exploring Operation: 72+71=143, Resulting Numbers: [73, 143]
Generated Node #0,2,0: 73:[73, 143] Operation: 72+71=143
Exploring Operation: 73-71=2, Resulting Numbers: [72, 2]
Generated Node #0,2,1: 73:[72, 2] Operation: 73-71=2
Exploring Operation: 72-71=1, Resulting Numbers: [73, 1]
Generated Node #0,2,2: 73:[73, 1] Operation: 72-71=1
Exploring Operation: 73+71=144, Resulting Numbers: [72, 144]
Generated Node #0,2,3: 73:[72, 144] Operation: 73+71=144
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[73, 143], Operations: ['48+23=71', '72+71=143']
Exploring Operation: 73+143=216, Resulting Numbers: [216]
216,73 unequal: No Solution
Exploring Operation: 143-73=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 73*143=10439, Resulting Numbers: [10439]
10439,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:[72, 2], Operations: ['48+23=71', '73-71=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[73, 1], Operations: ['48+23=71', '72-71=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[48, 23, 72, 73], Operations: []
Exploring Operation: 48+23=71, Resulting Numbers: [72, 73, 71]
Generated Node #0,2: 73:[72, 73, 71] Operation: 48+23=71
Moving to Node #0,2
Current State: 73:[72, 73, 71], Operations: ['48+23=71']
Exploring Operation: 72-71=1, Resulting Numbers: [73, 1]
Generated Node #0,2,2: 73:[73, 1] Operation: 72-71=1
Moving to Node #0,2,2
Current State: 73:[73, 1], Operations: ['48+23=71', '72-71=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
88,
23,
22,
46
] | 66 | [
"88*23=2024",
"2024/46=44",
"22+44=66"
] | Current State: 66:[88, 23, 22, 46], Operations: []
Exploring Operation: 88*23=2024, Resulting Numbers: [22, 46, 2024]
Generated Node #2: [22, 46, 2024] from Operation: 88*23=2024
Current State: 66:[22, 46, 2024], Operations: ['88*23=2024']
Exploring Operation: 2024/46=44, Resulting Numbers: [22, 44]
Generated Node #3: [22, 44] from Operation: 2024/46=44
Current State: 66:[22, 44], Operations: ['88*23=2024', '2024/46=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[88, 23, 22, 46], Operations: []
Exploring Operation: 88-46=42, Resulting Numbers: [23, 22, 42]
Generated Node #0,0: 66:[23, 22, 42] Operation: 88-46=42
Exploring Operation: 88-23=65, Resulting Numbers: [22, 46, 65]
Generated Node #0,1: 66:[22, 46, 65] Operation: 88-23=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[23, 22, 42], Operations: ['88-46=42']
Exploring Operation: 23+42=65, Resulting Numbers: [22, 65]
Generated Node #0,0,0: 66:[22, 65] Operation: 23+42=65
Exploring Operation: 42-23=19, Resulting Numbers: [22, 19]
Generated Node #0,0,1: 66:[22, 19] Operation: 42-23=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[22, 65], Operations: ['88-46=42', '23+42=65']
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,66 unequal: No Solution
No 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: 66:[22, 19], Operations: ['88-46=42', '42-23=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[22, 46, 65], Operations: ['88-23=65']
Exploring Operation: 46-22=24, Resulting Numbers: [65, 24]
Generated Node #0,1,0: 66:[65, 24] Operation: 46-22=24
Exploring Operation: 22+46=68, Resulting Numbers: [65, 68]
Generated Node #0,1,1: 66:[65, 68] Operation: 22+46=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[65, 24], Operations: ['88-23=65', '46-22=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,66 unequal: No Solution
No 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: 66:[65, 68], Operations: ['88-23=65', '22+46=68']
Exploring Operation: 65+68=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
80,
77,
28,
4
] | 100 | [
"80-77=3",
"28-3=25",
"4*25=100"
] | Current State: 100:[80, 77, 28, 4], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [28, 4, 3]
Generated Node #2: [28, 4, 3] from Operation: 80-77=3
Current State: 100:[28, 4, 3], Operations: ['80-77=3']
Exploring Operation: 28-3=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 28-3=25
Current State: 100:[4, 25], Operations: ['80-77=3', '28-3=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[80, 77, 28, 4], Operations: []
Exploring Operation: 77-28=49, Resulting Numbers: [80, 4, 49]
Generated Node #0,0: 100:[80, 4, 49] Operation: 77-28=49
Exploring Operation: 80-77=3, Resulting Numbers: [28, 4, 3]
Generated Node #0,1: 100:[28, 4, 3] Operation: 80-77=3
Exploring Operation: 80-28=52, Resulting Numbers: [77, 4, 52]
Generated Node #0,2: 100:[77, 4, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[28, 4, 3], Operations: ['80-77=3']
Exploring Operation: 28/4=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 100:[3, 7] Operation: 28/4=7
Exploring Operation: 28-3=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 100:[4, 25] Operation: 28-3=25
Exploring Operation: 28-4=24, Resulting Numbers: [3, 24]
Generated Node #0,1,2: 100:[3, 24] Operation: 28-4=24
Moving to Node #0,1,1
Current State: 100:[4, 25], Operations: ['80-77=3', '28-3=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[80, 77, 28, 4], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [28, 4, 3]
Generated Node #0,1: 100:[28, 4, 3] Operation: 80-77=3
Moving to Node #0,1
Current State: 100:[28, 4, 3], Operations: ['80-77=3']
Exploring Operation: 28-3=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 100:[4, 25] Operation: 28-3=25
Moving to Node #0,1,1
Current State: 100:[4, 25], Operations: ['80-77=3', '28-3=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
14,
80,
52,
18
] | 20 | [
"80-52=28",
"28/14=2",
"18+2=20"
] | Current State: 20:[14, 80, 52, 18], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [14, 18, 28]
Generated Node #2: [14, 18, 28] from Operation: 80-52=28
Current State: 20:[14, 18, 28], Operations: ['80-52=28']
Exploring Operation: 28/14=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 28/14=2
Current State: 20:[18, 2], Operations: ['80-52=28', '28/14=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[14, 80, 52, 18], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [14, 18, 28]
Generated Node #0,0: 20:[14, 18, 28] Operation: 80-52=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[14, 18, 28], Operations: ['80-52=28']
Exploring Operation: 28/14=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 20:[18, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[18, 2], Operations: ['80-52=28', '28/14=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[14, 80, 52, 18], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [14, 18, 28]
Generated Node #0,0: 20:[14, 18, 28] Operation: 80-52=28
Moving to Node #0,0
Current State: 20:[14, 18, 28], Operations: ['80-52=28']
Exploring Operation: 28/14=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 20:[18, 2] Operation: 28/14=2
Moving to Node #0,0,0
Current State: 20:[18, 2], Operations: ['80-52=28', '28/14=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
46,
40,
13,
48
] | 93 | [
"48-46=2",
"40*2=80",
"13+80=93"
] | Current State: 93:[46, 40, 13, 48], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [40, 13, 2]
Generated Node #2: [40, 13, 2] from Operation: 48-46=2
Current State: 93:[40, 13, 2], Operations: ['48-46=2']
Exploring Operation: 40*2=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 40*2=80
Current State: 93:[13, 80], Operations: ['48-46=2', '40*2=80']
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[46, 40, 13, 48], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [13, 48, 6]
Generated Node #0,0: 93:[13, 48, 6] Operation: 46-40=6
Exploring Operation: 48-46=2, Resulting Numbers: [40, 13, 2]
Generated Node #0,1: 93:[40, 13, 2] Operation: 48-46=2
Exploring Operation: 46-13=33, Resulting Numbers: [40, 48, 33]
Generated Node #0,2: 93:[40, 48, 33] Operation: 46-13=33
Exploring Operation: 46+48=94, Resulting Numbers: [40, 13, 94]
Generated Node #0,3: 93:[40, 13, 94] Operation: 46+48=94
Exploring Operation: 48-13=35, Resulting Numbers: [46, 40, 35]
Generated Node #0,4: 93:[46, 40, 35] Operation: 48-13=35
Moving to Node #0,1
Current State: 93:[40, 13, 2], Operations: ['48-46=2']
Exploring Operation: 40-2=38, Resulting Numbers: [13, 38]
Generated Node #0,1,0: 93:[13, 38] Operation: 40-2=38
Exploring Operation: 40-13=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 93:[2, 27] Operation: 40-13=27
Exploring Operation: 13*2=26, Resulting Numbers: [40, 26]
Generated Node #0,1,2: 93:[40, 26] Operation: 13*2=26
Exploring Operation: 40+2=42, Resulting Numbers: [13, 42]
Generated Node #0,1,3: 93:[13, 42] Operation: 40+2=42
Exploring Operation: 13-2=11, Resulting Numbers: [40, 11]
Generated Node #0,1,4: 93:[40, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[2, 27], Operations: ['48-46=2', '40-13=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No 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: 93:[40, 26], Operations: ['48-46=2', '13*2=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,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:[13, 38], Operations: ['48-46=2', '40-2=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,93 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,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,4
Current State: 93:[40, 11], Operations: ['48-46=2', '13-2=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,93 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,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,3
Current State: 93:[13, 42], Operations: ['48-46=2', '40+2=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,93 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: 93:[40, 13, 94], Operations: ['46+48=94']
Exploring Operation: 40+13=53, Resulting Numbers: [94, 53]
Generated Node #0,3,0: 93:[94, 53] Operation: 40+13=53
Exploring Operation: 94-40=54, Resulting Numbers: [13, 54]
Generated Node #0,3,1: 93:[13, 54] Operation: 94-40=54
Exploring Operation: 13+94=107, Resulting Numbers: [40, 107]
Generated Node #0,3,2: 93:[40, 107] Operation: 13+94=107
Exploring Operation: 40-13=27, Resulting Numbers: [94, 27]
Generated Node #0,3,3: 93:[94, 27] Operation: 40-13=27
Exploring Operation: 94-13=81, Resulting Numbers: [40, 81]
Generated Node #0,3,4: 93:[40, 81] Operation: 94-13=81
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[94, 27], Operations: ['46+48=94', '40-13=27']
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,93 unequal: No Solution
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 93:[40, 81], Operations: ['46+48=94', '94-13=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,93 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[94, 53], Operations: ['46+48=94', '40+13=53']
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 94+53=147, Resulting Numbers: [147]
147,93 unequal: No Solution
Exploring Operation: 94*53=4982, Resulting Numbers: [4982]
4982,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[40, 107], Operations: ['46+48=94', '13+94=107']
Exploring Operation: 40*107=4280, Resulting Numbers: [4280]
4280,93 unequal: No Solution
Exploring Operation: 107-40=67, Resulting Numbers: [67]
67,93 unequal: No Solution
Exploring Operation: 40+107=147, Resulting Numbers: [147]
147,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[13, 54], Operations: ['46+48=94', '94-40=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,93 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,93 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,93 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: 93:[40, 48, 33], Operations: ['46-13=33']
Exploring Operation: 40+48=88, Resulting Numbers: [33, 88]
Generated Node #0,2,0: 93:[33, 88] Operation: 40+48=88
Exploring Operation: 40-33=7, Resulting Numbers: [48, 7]
Generated Node #0,2,1: 93:[48, 7] Operation: 40-33=7
Exploring Operation: 48-33=15, Resulting Numbers: [40, 15]
Generated Node #0,2,2: 93:[40, 15] Operation: 48-33=15
Exploring Operation: 48-40=8, Resulting Numbers: [33, 8]
Generated Node #0,2,3: 93:[33, 8] Operation: 48-40=8
Exploring Operation: 48+33=81, Resulting Numbers: [40, 81]
Generated Node #0,2,4: 93:[40, 81] Operation: 48+33=81
Moving to Node #0,4
Current State: 93:[46, 40, 35], Operations: ['48-13=35']
Exploring Operation: 46+35=81, Resulting Numbers: [40, 81]
Generated Node #0,4,0: 93:[40, 81] Operation: 46+35=81
Exploring Operation: 40-35=5, Resulting Numbers: [46, 5]
Generated Node #0,4,1: 93:[46, 5] Operation: 40-35=5
Exploring Operation: 46+40=86, Resulting Numbers: [35, 86]
Generated Node #0,4,2: 93:[35, 86] Operation: 46+40=86
Exploring Operation: 46-40=6, Resulting Numbers: [35, 6]
Generated Node #0,4,3: 93:[35, 6] Operation: 46-40=6
Exploring Operation: 46-35=11, Resulting Numbers: [40, 11]
Generated Node #0,4,4: 93:[40, 11] Operation: 46-35=11
Moving to Node #0,0
Current State: 93:[13, 48, 6], Operations: ['46-40=6']
Exploring Operation: 48/6=8, Resulting Numbers: [13, 8]
Generated Node #0,0,0: 93:[13, 8] Operation: 48/6=8
Exploring Operation: 13+6=19, Resulting Numbers: [48, 19]
Generated Node #0,0,1: 93:[48, 19] Operation: 13+6=19
Exploring Operation: 48-6=42, Resulting Numbers: [13, 42]
Generated Node #0,0,2: 93:[13, 42] Operation: 48-6=42
Exploring Operation: 48-13=35, Resulting Numbers: [6, 35]
Generated Node #0,0,3: 93:[6, 35] Operation: 48-13=35
Exploring Operation: 13-6=7, Resulting Numbers: [48, 7]
Generated Node #0,0,4: 93:[48, 7] Operation: 13-6=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[6, 35], Operations: ['46-40=6', '48-13=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[13, 8], Operations: ['46-40=6', '48/6=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[13, 42], Operations: ['46-40=6', '48-6=42']
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,93 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 93:[48, 7], Operations: ['46-40=6', '13-6=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,93 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[48, 19], Operations: ['46-40=6', '13+6=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,93 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 93:[33, 88], Operations: ['46-13=33', '40+48=88']
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[35, 6], Operations: ['48-13=35', '46-40=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,93 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[33, 8], Operations: ['46-13=33', '48-40=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,93 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Moving to Node #0,4,2
Current State: 93:[35, 86], Operations: ['48-13=35', '46+40=86']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,93 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[46, 5], Operations: ['48-13=35', '40-35=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,93 unequal: No Solution
Moving to Node #0,4,4
Current State: 93:[40, 11], Operations: ['48-13=35', '46-35=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,93 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[40, 81], Operations: ['48-13=35', '46+35=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,93 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[48, 7], Operations: ['46-13=33', '40-33=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,93 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[40, 81], Operations: ['46-13=33', '48+33=81']
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,93 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[40, 15], Operations: ['46-13=33', '48-33=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,93 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,93 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
78,
12,
75
] | 78 | [
"14+12=26",
"78-75=3",
"26*3=78"
] | Current State: 78:[14, 78, 12, 75], Operations: []
Exploring Operation: 14+12=26, Resulting Numbers: [78, 75, 26]
Generated Node #2: [78, 75, 26] from Operation: 14+12=26
Current State: 78:[78, 75, 26], Operations: ['14+12=26']
Exploring Operation: 78-75=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 78-75=3
Current State: 78:[26, 3], Operations: ['14+12=26', '78-75=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[14, 78, 12, 75], Operations: []
Exploring Operation: 12+75=87, Resulting Numbers: [14, 78, 87]
Generated Node #0,0: 78:[14, 78, 87] Operation: 12+75=87
Exploring Operation: 14-12=2, Resulting Numbers: [78, 75, 2]
Generated Node #0,1: 78:[78, 75, 2] Operation: 14-12=2
Exploring Operation: 14+75=89, Resulting Numbers: [78, 12, 89]
Generated Node #0,2: 78:[78, 12, 89] Operation: 14+75=89
Exploring Operation: 14+12=26, Resulting Numbers: [78, 75, 26]
Generated Node #0,3: 78:[78, 75, 26] Operation: 14+12=26
Exploring Operation: 78-75=3, Resulting Numbers: [14, 12, 3]
Generated Node #0,4: 78:[14, 12, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[14, 12, 3], Operations: ['78-75=3']
Exploring Operation: 14+12=26, Resulting Numbers: [3, 26]
Generated Node #0,4,0: 78:[3, 26] Operation: 14+12=26
Exploring Operation: 12+3=15, Resulting Numbers: [14, 15]
Generated Node #0,4,1: 78:[14, 15] Operation: 12+3=15
Exploring Operation: 14-3=11, Resulting Numbers: [12, 11]
Generated Node #0,4,2: 78:[12, 11] Operation: 14-3=11
Exploring Operation: 12/3=4, Resulting Numbers: [14, 4]
Generated Node #0,4,3: 78:[14, 4] Operation: 12/3=4
Exploring Operation: 14-12=2, Resulting Numbers: [3, 2]
Generated Node #0,4,4: 78:[3, 2] Operation: 14-12=2
Moving to Node #0,4,0
Current State: 78:[3, 26], Operations: ['78-75=3', '14+12=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[14, 78, 12, 75], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [14, 12, 3]
Generated Node #0,4: 78:[14, 12, 3] Operation: 78-75=3
Moving to Node #0,4
Current State: 78:[14, 12, 3], Operations: ['78-75=3']
Exploring Operation: 14+12=26, Resulting Numbers: [3, 26]
Generated Node #0,4,0: 78:[3, 26] Operation: 14+12=26
Moving to Node #0,4,0
Current State: 78:[3, 26], Operations: ['78-75=3', '14+12=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
34,
90,
49,
23
] | 52 | [
"34+90=124",
"49+23=72",
"124-72=52"
] | Current State: 52:[34, 90, 49, 23], Operations: []
Exploring Operation: 34+90=124, Resulting Numbers: [49, 23, 124]
Generated Node #2: [49, 23, 124] from Operation: 34+90=124
Current State: 52:[49, 23, 124], Operations: ['34+90=124']
Exploring Operation: 49+23=72, Resulting Numbers: [124, 72]
Generated Node #3: [124, 72] from Operation: 49+23=72
Current State: 52:[124, 72], Operations: ['34+90=124', '49+23=72']
Exploring Operation: 124-72=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[34, 90, 49, 23], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [34, 23, 41]
Generated Node #0,0: 52:[34, 23, 41] Operation: 90-49=41
Exploring Operation: 90-23=67, Resulting Numbers: [34, 49, 67]
Generated Node #0,1: 52:[34, 49, 67] Operation: 90-23=67
Exploring Operation: 90-34=56, Resulting Numbers: [49, 23, 56]
Generated Node #0,2: 52:[49, 23, 56] Operation: 90-34=56
Moving to Node #0,2
Current State: 52:[49, 23, 56], Operations: ['90-34=56']
Exploring Operation: 56-23=33, Resulting Numbers: [49, 33]
Generated Node #0,2,0: 52:[49, 33] Operation: 56-23=33
Exploring Operation: 49-23=26, Resulting Numbers: [56, 26]
Generated Node #0,2,1: 52:[56, 26] Operation: 49-23=26
Exploring Operation: 56-49=7, Resulting Numbers: [23, 7]
Generated Node #0,2,2: 52:[23, 7] Operation: 56-49=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[56, 26], Operations: ['90-34=56', '49-23=26']
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,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,2,2
Current State: 52:[23, 7], Operations: ['90-34=56', '56-49=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,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,2,0
Current State: 52:[49, 33], Operations: ['90-34=56', '56-23=33']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,52 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: 52:[34, 23, 41], Operations: ['90-49=41']
Exploring Operation: 41-34=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 52:[23, 7] Operation: 41-34=7
Exploring Operation: 34-23=11, Resulting Numbers: [41, 11]
Generated Node #0,0,1: 52:[41, 11] Operation: 34-23=11
Exploring Operation: 41-23=18, Resulting Numbers: [34, 18]
Generated Node #0,0,2: 52:[34, 18] Operation: 41-23=18
Moving to Node #0,1
Current State: 52:[34, 49, 67], Operations: ['90-23=67']
Exploring Operation: 67-34=33, Resulting Numbers: [49, 33]
Generated Node #0,1,0: 52:[49, 33] Operation: 67-34=33
Exploring Operation: 67-49=18, Resulting Numbers: [34, 18]
Generated Node #0,1,1: 52:[34, 18] Operation: 67-49=18
Exploring Operation: 49-34=15, Resulting Numbers: [67, 15]
Generated Node #0,1,2: 52:[67, 15] Operation: 49-34=15
Moving to Node #0,0,0
Current State: 52:[23, 7], Operations: ['90-49=41', '41-34=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,52 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[49, 33], Operations: ['90-23=67', '67-34=33']
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,52 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[34, 18], Operations: ['90-49=41', '41-23=18']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[34, 90, 49, 23], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [34, 23, 41]
Generated Node #0,0: 52:[34, 23, 41] Operation: 90-49=41
Moving to Node #0,0
Current State: 52:[34, 23, 41], Operations: ['90-49=41']
Exploring Operation: 41-23=18, Resulting Numbers: [34, 18]
Generated Node #0,0,2: 52:[34, 18] Operation: 41-23=18
Moving to Node #0,0,2
Current State: 52:[34, 18], Operations: ['90-49=41', '41-23=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.971354 | hs_3 | sum_heuristic |
[
2,
58,
20,
62
] | 98 | [
"58-2=56",
"62-20=42",
"56+42=98"
] | Current State: 98:[2, 58, 20, 62], Operations: []
Exploring Operation: 58-2=56, Resulting Numbers: [20, 62, 56]
Generated Node #2: [20, 62, 56] from Operation: 58-2=56
Current State: 98:[20, 62, 56], Operations: ['58-2=56']
Exploring Operation: 62-20=42, Resulting Numbers: [56, 42]
Generated Node #3: [56, 42] from Operation: 62-20=42
Current State: 98:[56, 42], Operations: ['58-2=56', '62-20=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[2, 58, 20, 62], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [2, 20, 4]
Generated Node #0,0: 98:[2, 20, 4] Operation: 62-58=4
Exploring Operation: 58-20=38, Resulting Numbers: [2, 62, 38]
Generated Node #0,1: 98:[2, 62, 38] Operation: 58-20=38
Exploring Operation: 62-20=42, Resulting Numbers: [2, 58, 42]
Generated Node #0,2: 98:[2, 58, 42] Operation: 62-20=42
Exploring Operation: 20/2=10, Resulting Numbers: [58, 62, 10]
Generated Node #0,3: 98:[58, 62, 10] Operation: 20/2=10
Exploring Operation: 20+62=82, Resulting Numbers: [2, 58, 82]
Generated Node #0,4: 98:[2, 58, 82] Operation: 20+62=82
Moving to Node #0,0
Current State: 98:[2, 20, 4], Operations: ['62-58=4']
Exploring Operation: 20-2=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 98:[4, 18] Operation: 20-2=18
Exploring Operation: 4-2=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 98:[20, 2] Operation: 4-2=2
Exploring Operation: 20/4=5, Resulting Numbers: [2, 5]
Generated Node #0,0,2: 98:[2, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [2, 16]
Generated Node #0,0,3: 98:[2, 16] Operation: 20-4=16
Exploring Operation: 20/2=10, Resulting Numbers: [4, 10]
Generated Node #0,0,4: 98:[4, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[2, 5], Operations: ['62-58=4', '20/4=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 98:[2, 16], Operations: ['62-58=4', '20-4=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 98:[4, 10], Operations: ['62-58=4', '20/2=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[4, 18], Operations: ['62-58=4', '20-2=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[20, 2], Operations: ['62-58=4', '4-2=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,98 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: 98:[2, 58, 42], Operations: ['62-20=42']
Exploring Operation: 58-2=56, Resulting Numbers: [42, 56]
Generated Node #0,2,0: 98:[42, 56] Operation: 58-2=56
Exploring Operation: 42/2=21, Resulting Numbers: [58, 21]
Generated Node #0,2,1: 98:[58, 21] Operation: 42/2=21
Exploring Operation: 58+42=100, Resulting Numbers: [2, 100]
Generated Node #0,2,2: 98:[2, 100] Operation: 58+42=100
Exploring Operation: 58-42=16, Resulting Numbers: [2, 16]
Generated Node #0,2,3: 98:[2, 16] Operation: 58-42=16
Exploring Operation: 2+42=44, Resulting Numbers: [58, 44]
Generated Node #0,2,4: 98:[58, 44] Operation: 2+42=44
Moving to Node #0,1
Current State: 98:[2, 62, 38], Operations: ['58-20=38']
Exploring Operation: 62-38=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 98:[2, 24] Operation: 62-38=24
Exploring Operation: 2+38=40, Resulting Numbers: [62, 40]
Generated Node #0,1,1: 98:[62, 40] Operation: 2+38=40
Exploring Operation: 38/2=19, Resulting Numbers: [62, 19]
Generated Node #0,1,2: 98:[62, 19] Operation: 38/2=19
Exploring Operation: 62+38=100, Resulting Numbers: [2, 100]
Generated Node #0,1,3: 98:[2, 100] Operation: 62+38=100
Exploring Operation: 62-2=60, Resulting Numbers: [38, 60]
Generated Node #0,1,4: 98:[38, 60] Operation: 62-2=60
Moving to Node #0,3
Current State: 98:[58, 62, 10], Operations: ['20/2=10']
Exploring Operation: 62-10=52, Resulting Numbers: [58, 52]
Generated Node #0,3,0: 98:[58, 52] Operation: 62-10=52
Exploring Operation: 58+10=68, Resulting Numbers: [62, 68]
Generated Node #0,3,1: 98:[62, 68] Operation: 58+10=68
Exploring Operation: 58+62=120, Resulting Numbers: [10, 120]
Generated Node #0,3,2: 98:[10, 120] Operation: 58+62=120
Exploring Operation: 58-10=48, Resulting Numbers: [62, 48]
Generated Node #0,3,3: 98:[62, 48] Operation: 58-10=48
Exploring Operation: 62-58=4, Resulting Numbers: [10, 4]
Generated Node #0,3,4: 98:[10, 4] Operation: 62-58=4
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[10, 4], Operations: ['20/2=10', '62-58=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[58, 52], Operations: ['20/2=10', '62-10=52']
Exploring Operation: 58-52=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 58*52=3016, Resulting Numbers: [3016]
3016,98 unequal: No Solution
Exploring Operation: 58+52=110, Resulting Numbers: [110]
110,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[62, 48], Operations: ['20/2=10', '58-10=48']
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,98 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[10, 120], Operations: ['20/2=10', '58+62=120']
Exploring Operation: 10*120=1200, Resulting Numbers: [1200]
1200,98 unequal: No Solution
Exploring Operation: 120/10=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 120-10=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 10+120=130, Resulting Numbers: [130]
130,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[62, 68], Operations: ['20/2=10', '58+10=68']
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 62+68=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 62*68=4216, Resulting Numbers: [4216]
4216,98 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: 98:[2, 58, 82], Operations: ['20+62=82']
Exploring Operation: 2+58=60, Resulting Numbers: [82, 60]
Generated Node #0,4,0: 98:[82, 60] Operation: 2+58=60
Exploring Operation: 58-2=56, Resulting Numbers: [82, 56]
Generated Node #0,4,1: 98:[82, 56] Operation: 58-2=56
Exploring Operation: 82-58=24, Resulting Numbers: [2, 24]
Generated Node #0,4,2: 98:[2, 24] Operation: 82-58=24
Exploring Operation: 82/2=41, Resulting Numbers: [58, 41]
Generated Node #0,4,3: 98:[58, 41] Operation: 82/2=41
Exploring Operation: 2+82=84, Resulting Numbers: [58, 84]
Generated Node #0,4,4: 98:[58, 84] Operation: 2+82=84
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[2, 24], Operations: ['20+62=82', '82-58=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[58, 41], Operations: ['20+62=82', '82/2=41']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,98 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[82, 56], Operations: ['20+62=82', '58-2=56']
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,98 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,98 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 98:[58, 84], Operations: ['20+62=82', '2+82=84']
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,98 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[82, 60], Operations: ['20+62=82', '2+58=60']
Exploring Operation: 82*60=4920, Resulting Numbers: [4920]
4920,98 unequal: No Solution
Exploring Operation: 82+60=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 98:[2, 100], Operations: ['62-20=42', '58+42=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[2, 58, 20, 62], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [2, 58, 42]
Generated Node #0,2: 98:[2, 58, 42] Operation: 62-20=42
Moving to Node #0,2
Current State: 98:[2, 58, 42], Operations: ['62-20=42']
Exploring Operation: 58+42=100, Resulting Numbers: [2, 100]
Generated Node #0,2,2: 98:[2, 100] Operation: 58+42=100
Moving to Node #0,2,2
Current State: 98:[2, 100], Operations: ['62-20=42', '58+42=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.927083 | hs_5 | sum_heuristic |
[
40,
61,
59,
21
] | 60 | [
"61-40=21",
"21/21=1",
"59+1=60"
] | Current State: 60:[40, 61, 59, 21], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [59, 21, 21]
Generated Node #2: [59, 21, 21] from Operation: 61-40=21
Current State: 60:[59, 21, 21], Operations: ['61-40=21']
Exploring Operation: 21/21=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 21/21=1
Current State: 60:[59, 1], Operations: ['61-40=21', '21/21=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[40, 61, 59, 21], Operations: []
Exploring Operation: 59-40=19, Resulting Numbers: [61, 21, 19]
Generated Node #0,0: 60:[61, 21, 19] Operation: 59-40=19
Exploring Operation: 61-40=21, Resulting Numbers: [59, 21, 21]
Generated Node #0,1: 60:[59, 21, 21] Operation: 61-40=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[61, 21, 19], Operations: ['59-40=19']
Exploring Operation: 21-19=2, Resulting Numbers: [61, 2]
Generated Node #0,0,0: 60:[61, 2] Operation: 21-19=2
Exploring Operation: 61-21=40, Resulting Numbers: [19, 40]
Generated Node #0,0,1: 60:[19, 40] Operation: 61-21=40
Moving to Node #0,0,0
Current State: 60:[61, 2], Operations: ['59-40=19', '21-19=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[19, 40], Operations: ['59-40=19', '61-21=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[59, 21, 21], Operations: ['61-40=21']
Exploring Operation: 21/21=1, Resulting Numbers: [59, 1]
Generated Node #0,1,0: 60:[59, 1] Operation: 21/21=1
Exploring Operation: 21-21=0, Resulting Numbers: [59, 0]
Generated Node #0,1,1: 60:[59, 0] Operation: 21-21=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[59, 1], Operations: ['61-40=21', '21/21=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[40, 61, 59, 21], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [59, 21, 21]
Generated Node #0,1: 60:[59, 21, 21] Operation: 61-40=21
Moving to Node #0,1
Current State: 60:[59, 21, 21], Operations: ['61-40=21']
Exploring Operation: 21/21=1, Resulting Numbers: [59, 1]
Generated Node #0,1,0: 60:[59, 1] Operation: 21/21=1
Moving to Node #0,1,0
Current State: 60:[59, 1], Operations: ['61-40=21', '21/21=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
36,
42,
32,
63
] | 84 | [
"36-32=4",
"63-42=21",
"4*21=84"
] | Current State: 84:[36, 42, 32, 63], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [42, 63, 4]
Generated Node #2: [42, 63, 4] from Operation: 36-32=4
Current State: 84:[42, 63, 4], Operations: ['36-32=4']
Exploring Operation: 63-42=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 63-42=21
Current State: 84:[4, 21], Operations: ['36-32=4', '63-42=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[36, 42, 32, 63], Operations: []
Exploring Operation: 36+63=99, Resulting Numbers: [42, 32, 99]
Generated Node #0,0: 84:[42, 32, 99] Operation: 36+63=99
Exploring Operation: 63-32=31, Resulting Numbers: [36, 42, 31]
Generated Node #0,1: 84:[36, 42, 31] Operation: 63-32=31
Exploring Operation: 63-42=21, Resulting Numbers: [36, 32, 21]
Generated Node #0,2: 84:[36, 32, 21] Operation: 63-42=21
Exploring Operation: 63-36=27, Resulting Numbers: [42, 32, 27]
Generated Node #0,3: 84:[42, 32, 27] Operation: 63-36=27
Exploring Operation: 32+63=95, Resulting Numbers: [36, 42, 95]
Generated Node #0,4: 84:[36, 42, 95] Operation: 32+63=95
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[42, 32, 27], Operations: ['63-36=27']
Exploring Operation: 32-27=5, Resulting Numbers: [42, 5]
Generated Node #0,3,0: 84:[42, 5] Operation: 32-27=5
Exploring Operation: 42-27=15, Resulting Numbers: [32, 15]
Generated Node #0,3,1: 84:[32, 15] Operation: 42-27=15
Exploring Operation: 42-32=10, Resulting Numbers: [27, 10]
Generated Node #0,3,2: 84:[27, 10] Operation: 42-32=10
Exploring Operation: 32+27=59, Resulting Numbers: [42, 59]
Generated Node #0,3,3: 84:[42, 59] Operation: 32+27=59
Exploring Operation: 42+32=74, Resulting Numbers: [27, 74]
Generated Node #0,3,4: 84:[27, 74] Operation: 42+32=74
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 84:[42, 5], Operations: ['63-36=27', '32-27=5']
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,84 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 84:[27, 10], Operations: ['63-36=27', '42-32=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,84 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 84:[32, 15], Operations: ['63-36=27', '42-27=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,84 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 84:[27, 74], Operations: ['63-36=27', '42+32=74']
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,84 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[42, 59], Operations: ['63-36=27', '32+27=59']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,84 unequal: No Solution
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[36, 42, 31], Operations: ['63-32=31']
Exploring Operation: 42-31=11, Resulting Numbers: [36, 11]
Generated Node #0,1,0: 84:[36, 11] Operation: 42-31=11
Exploring Operation: 36-31=5, Resulting Numbers: [42, 5]
Generated Node #0,1,1: 84:[42, 5] Operation: 36-31=5
Exploring Operation: 36+31=67, Resulting Numbers: [42, 67]
Generated Node #0,1,2: 84:[42, 67] Operation: 36+31=67
Exploring Operation: 36+42=78, Resulting Numbers: [31, 78]
Generated Node #0,1,3: 84:[31, 78] Operation: 36+42=78
Exploring Operation: 42-36=6, Resulting Numbers: [31, 6]
Generated Node #0,1,4: 84:[31, 6] Operation: 42-36=6
Moving to Node #0,1,1
Current State: 84:[42, 5], Operations: ['63-32=31', '36-31=5']
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,84 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[31, 6], Operations: ['63-32=31', '42-36=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[36, 11], Operations: ['63-32=31', '42-31=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,84 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[31, 78], Operations: ['63-32=31', '36+42=78']
Exploring Operation: 31+78=109, Resulting Numbers: [109]
109,84 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 31*78=2418, Resulting Numbers: [2418]
2418,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[42, 67], Operations: ['63-32=31', '36+31=67']
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,84 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[36, 32, 21], Operations: ['63-42=21']
Exploring Operation: 36-32=4, Resulting Numbers: [21, 4]
Generated Node #0,2,0: 84:[21, 4] Operation: 36-32=4
Exploring Operation: 32+21=53, Resulting Numbers: [36, 53]
Generated Node #0,2,1: 84:[36, 53] Operation: 32+21=53
Exploring Operation: 36-21=15, Resulting Numbers: [32, 15]
Generated Node #0,2,2: 84:[32, 15] Operation: 36-21=15
Exploring Operation: 36+32=68, Resulting Numbers: [21, 68]
Generated Node #0,2,3: 84:[21, 68] Operation: 36+32=68
Exploring Operation: 32-21=11, Resulting Numbers: [36, 11]
Generated Node #0,2,4: 84:[36, 11] Operation: 32-21=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[21, 4], Operations: ['63-42=21', '36-32=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[36, 42, 32, 63], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [36, 32, 21]
Generated Node #0,2: 84:[36, 32, 21] Operation: 63-42=21
Moving to Node #0,2
Current State: 84:[36, 32, 21], Operations: ['63-42=21']
Exploring Operation: 36-32=4, Resulting Numbers: [21, 4]
Generated Node #0,2,0: 84:[21, 4] Operation: 36-32=4
Moving to Node #0,2,0
Current State: 84:[21, 4], Operations: ['63-42=21', '36-32=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_5 | mult_heuristic |
[
17,
15,
22,
38
] | 28 | [
"17+15=32",
"22+38=60",
"60-32=28"
] | Current State: 28:[17, 15, 22, 38], Operations: []
Exploring Operation: 17+15=32, Resulting Numbers: [22, 38, 32]
Generated Node #2: [22, 38, 32] from Operation: 17+15=32
Current State: 28:[22, 38, 32], Operations: ['17+15=32']
Exploring Operation: 22+38=60, Resulting Numbers: [32, 60]
Generated Node #3: [32, 60] from Operation: 22+38=60
Current State: 28:[32, 60], Operations: ['17+15=32', '22+38=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[17, 15, 22, 38], Operations: []
Exploring Operation: 38-22=16, Resulting Numbers: [17, 15, 16]
Generated Node #0,0: 28:[17, 15, 16] Operation: 38-22=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[17, 15, 16], Operations: ['38-22=16']
Exploring Operation: 17-15=2, Resulting Numbers: [16, 2]
Generated Node #0,0,0: 28:[16, 2] Operation: 17-15=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[16, 2], Operations: ['38-22=16', '17-15=2']
Exploring Operation: 16-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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
60,
39,
33,
54
] | 57 | [
"60+39=99",
"99/33=3",
"54+3=57"
] | Current State: 57:[60, 39, 33, 54], Operations: []
Exploring Operation: 60+39=99, Resulting Numbers: [33, 54, 99]
Generated Node #2: [33, 54, 99] from Operation: 60+39=99
Current State: 57:[33, 54, 99], Operations: ['60+39=99']
Exploring Operation: 99/33=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 99/33=3
Current State: 57:[54, 3], Operations: ['60+39=99', '99/33=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[60, 39, 33, 54], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [60, 54, 6]
Generated Node #0,0: 57:[60, 54, 6] Operation: 39-33=6
Moving to Node #0,0
Current State: 57:[60, 54, 6], Operations: ['39-33=6']
Exploring Operation: 60-54=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 57:[6, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[6, 6], Operations: ['39-33=6', '60-54=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,57 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 |
[
36,
90,
77,
96
] | 73 | [
"90-36=54",
"96-77=19",
"54+19=73"
] | Current State: 73:[36, 90, 77, 96], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [77, 96, 54]
Generated Node #2: [77, 96, 54] from Operation: 90-36=54
Current State: 73:[77, 96, 54], Operations: ['90-36=54']
Exploring Operation: 96-77=19, Resulting Numbers: [54, 19]
Generated Node #3: [54, 19] from Operation: 96-77=19
Current State: 73:[54, 19], Operations: ['90-36=54', '96-77=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[36, 90, 77, 96], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [90, 77, 60]
Generated Node #0,0: 73:[90, 77, 60] Operation: 96-36=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[90, 77, 60], Operations: ['96-36=60']
Exploring Operation: 90-60=30, Resulting Numbers: [77, 30]
Generated Node #0,0,0: 73:[77, 30] Operation: 90-60=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[77, 30], Operations: ['96-36=60', '90-60=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,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_1 | mult_heuristic |
[
44,
10,
22,
66
] | 50 | [
"44+66=110",
"10*110=1100",
"1100/22=50"
] | Current State: 50:[44, 10, 22, 66], Operations: []
Exploring Operation: 44+66=110, Resulting Numbers: [10, 22, 110]
Generated Node #2: [10, 22, 110] from Operation: 44+66=110
Current State: 50:[10, 22, 110], Operations: ['44+66=110']
Exploring Operation: 10*110=1100, Resulting Numbers: [22, 1100]
Generated Node #3: [22, 1100] from Operation: 10*110=1100
Current State: 50:[22, 1100], Operations: ['44+66=110', '10*110=1100']
Exploring Operation: 1100/22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[44, 10, 22, 66], Operations: []
Exploring Operation: 66-44=22, Resulting Numbers: [10, 22, 22]
Generated Node #0,0: 50:[10, 22, 22] Operation: 66-44=22
Exploring Operation: 66/22=3, Resulting Numbers: [44, 10, 3]
Generated Node #0,1: 50:[44, 10, 3] Operation: 66/22=3
Exploring Operation: 66-22=44, Resulting Numbers: [44, 10, 44]
Generated Node #0,2: 50:[44, 10, 44] Operation: 66-22=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[10, 22, 22], Operations: ['66-44=22']
Exploring Operation: 22-22=0, Resulting Numbers: [10, 0]
Generated Node #0,0,0: 50:[10, 0] Operation: 22-22=0
Exploring Operation: 22-10=12, Resulting Numbers: [22, 12]
Generated Node #0,0,1: 50:[22, 12] Operation: 22-10=12
Exploring Operation: 22/22=1, Resulting Numbers: [10, 1]
Generated Node #0,0,2: 50:[10, 1] Operation: 22/22=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[10, 1], Operations: ['66-44=22', '22/22=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No 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: 50:[10, 0], Operations: ['66-44=22', '22-22=0']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
No 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: 50:[22, 12], Operations: ['66-44=22', '22-10=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,50 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,50 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: 50:[44, 10, 3], Operations: ['66/22=3']
Exploring Operation: 44+10=54, Resulting Numbers: [3, 54]
Generated Node #0,1,0: 50:[3, 54] Operation: 44+10=54
Exploring Operation: 10-3=7, Resulting Numbers: [44, 7]
Generated Node #0,1,1: 50:[44, 7] Operation: 10-3=7
Exploring Operation: 44+3=47, Resulting Numbers: [10, 47]
Generated Node #0,1,2: 50:[10, 47] Operation: 44+3=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[10, 47], Operations: ['66/22=3', '44+3=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,50 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,50 unequal: No Solution
No 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: 50:[3, 54], Operations: ['66/22=3', '44+10=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,50 unequal: No Solution
No 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: 50:[44, 7], Operations: ['66/22=3', '10-3=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,50 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,50 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: 50:[44, 10, 44], Operations: ['66-22=44']
Exploring Operation: 44/44=1, Resulting Numbers: [10, 1]
Generated Node #0,2,0: 50:[10, 1] Operation: 44/44=1
Exploring Operation: 44+10=54, Resulting Numbers: [44, 54]
Generated Node #0,2,1: 50:[44, 54] Operation: 44+10=54
Exploring Operation: 44-44=0, Resulting Numbers: [10, 0]
Generated Node #0,2,2: 50:[10, 0] Operation: 44-44=0
Moving to Node #0,2,0
Current State: 50:[10, 1], Operations: ['66-22=44', '44/44=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[10, 0], Operations: ['66-22=44', '44-44=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[44, 54], Operations: ['66-22=44', '44+10=54']
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
61,
76,
69,
67
] | 72 | [
"69-61=8",
"76-67=9",
"8*9=72"
] | Current State: 72:[61, 76, 69, 67], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [76, 67, 8]
Generated Node #2: [76, 67, 8] from Operation: 69-61=8
Current State: 72:[76, 67, 8], Operations: ['69-61=8']
Exploring Operation: 76-67=9, Resulting Numbers: [8, 9]
Generated Node #3: [8, 9] from Operation: 76-67=9
Current State: 72:[8, 9], Operations: ['69-61=8', '76-67=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[61, 76, 69, 67], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [69, 67, 15]
Generated Node #0,0: 72:[69, 67, 15] Operation: 76-61=15
Exploring Operation: 69-61=8, Resulting Numbers: [76, 67, 8]
Generated Node #0,1: 72:[76, 67, 8] Operation: 69-61=8
Exploring Operation: 69-67=2, Resulting Numbers: [61, 76, 2]
Generated Node #0,2: 72:[61, 76, 2] Operation: 69-67=2
Exploring Operation: 76-67=9, Resulting Numbers: [61, 69, 9]
Generated Node #0,3: 72:[61, 69, 9] Operation: 76-67=9
Exploring Operation: 67-61=6, Resulting Numbers: [76, 69, 6]
Generated Node #0,4: 72:[76, 69, 6] Operation: 67-61=6
Moving to Node #0,4
Current State: 72:[76, 69, 6], Operations: ['67-61=6']
Exploring Operation: 69+6=75, Resulting Numbers: [76, 75]
Generated Node #0,4,0: 72:[76, 75] Operation: 69+6=75
Exploring Operation: 76+6=82, Resulting Numbers: [69, 82]
Generated Node #0,4,1: 72:[69, 82] Operation: 76+6=82
Exploring Operation: 69-6=63, Resulting Numbers: [76, 63]
Generated Node #0,4,2: 72:[76, 63] Operation: 69-6=63
Exploring Operation: 76-6=70, Resulting Numbers: [69, 70]
Generated Node #0,4,3: 72:[69, 70] Operation: 76-6=70
Exploring Operation: 76-69=7, Resulting Numbers: [6, 7]
Generated Node #0,4,4: 72:[6, 7] Operation: 76-69=7
Moving to Node #0,1
Current State: 72:[76, 67, 8], Operations: ['69-61=8']
Exploring Operation: 67-8=59, Resulting Numbers: [76, 59]
Generated Node #0,1,0: 72:[76, 59] Operation: 67-8=59
Exploring Operation: 76-67=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 72:[8, 9] Operation: 76-67=9
Exploring Operation: 67+8=75, Resulting Numbers: [76, 75]
Generated Node #0,1,2: 72:[76, 75] Operation: 67+8=75
Exploring Operation: 76-8=68, Resulting Numbers: [67, 68]
Generated Node #0,1,3: 72:[67, 68] Operation: 76-8=68
Exploring Operation: 76+8=84, Resulting Numbers: [67, 84]
Generated Node #0,1,4: 72:[67, 84] Operation: 76+8=84
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[8, 9], Operations: ['69-61=8', '76-67=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[61, 76, 69, 67], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [76, 67, 8]
Generated Node #0,1: 72:[76, 67, 8] Operation: 69-61=8
Moving to Node #0,1
Current State: 72:[76, 67, 8], Operations: ['69-61=8']
Exploring Operation: 76-67=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 72:[8, 9] Operation: 76-67=9
Moving to Node #0,1,1
Current State: 72:[8, 9], Operations: ['69-61=8', '76-67=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
55,
2,
42,
94
] | 34 | [
"55-42=13",
"94/2=47",
"47-13=34"
] | Current State: 34:[55, 2, 42, 94], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [2, 94, 13]
Generated Node #2: [2, 94, 13] from Operation: 55-42=13
Current State: 34:[2, 94, 13], Operations: ['55-42=13']
Exploring Operation: 94/2=47, Resulting Numbers: [13, 47]
Generated Node #3: [13, 47] from Operation: 94/2=47
Current State: 34:[13, 47], Operations: ['55-42=13', '94/2=47']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[55, 2, 42, 94], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [55, 42, 47]
Generated Node #0,0: 34:[55, 42, 47] Operation: 94/2=47
Exploring Operation: 94-42=52, Resulting Numbers: [55, 2, 52]
Generated Node #0,1: 34:[55, 2, 52] Operation: 94-42=52
Exploring Operation: 94-55=39, Resulting Numbers: [2, 42, 39]
Generated Node #0,2: 34:[2, 42, 39] Operation: 94-55=39
Moving to Node #0,2
Current State: 34:[2, 42, 39], Operations: ['94-55=39']
Exploring Operation: 42-2=40, Resulting Numbers: [39, 40]
Generated Node #0,2,0: 34:[39, 40] Operation: 42-2=40
Exploring Operation: 42-39=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 34:[2, 3] Operation: 42-39=3
Exploring Operation: 42/2=21, Resulting Numbers: [39, 21]
Generated Node #0,2,2: 34:[39, 21] Operation: 42/2=21
Moving to Node #0,1
Current State: 34:[55, 2, 52], Operations: ['94-42=52']
Exploring Operation: 55-2=53, Resulting Numbers: [52, 53]
Generated Node #0,1,0: 34:[52, 53] Operation: 55-2=53
Exploring Operation: 52/2=26, Resulting Numbers: [55, 26]
Generated Node #0,1,1: 34:[55, 26] Operation: 52/2=26
Exploring Operation: 55-52=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 34:[2, 3] Operation: 55-52=3
Moving to Node #0,0
Current State: 34:[55, 42, 47], Operations: ['94/2=47']
Exploring Operation: 55-47=8, Resulting Numbers: [42, 8]
Generated Node #0,0,0: 34:[42, 8] Operation: 55-47=8
Exploring Operation: 47-42=5, Resulting Numbers: [55, 5]
Generated Node #0,0,1: 34:[55, 5] Operation: 47-42=5
Exploring Operation: 55-42=13, Resulting Numbers: [47, 13]
Generated Node #0,0,2: 34:[47, 13] Operation: 55-42=13
Moving to Node #0,2,1
Current State: 34:[2, 3], Operations: ['94-55=39', '42-39=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[2, 3], Operations: ['94-42=52', '55-52=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[39, 21], Operations: ['94-55=39', '42/2=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[39, 40], Operations: ['94-55=39', '42-2=40']
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,34 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[42, 8], Operations: ['94/2=47', '55-47=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[55, 2, 42, 94], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [55, 42, 47]
Generated Node #0,0: 34:[55, 42, 47] Operation: 94/2=47
Moving to Node #0,0
Current State: 34:[55, 42, 47], Operations: ['94/2=47']
Exploring Operation: 55-47=8, Resulting Numbers: [42, 8]
Generated Node #0,0,0: 34:[42, 8] Operation: 55-47=8
Moving to Node #0,0,0
Current State: 34:[42, 8], Operations: ['94/2=47', '55-47=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
11,
3,
57,
65
] | 55 | [
"3+57=60",
"65-60=5",
"11*5=55"
] | Current State: 55:[11, 3, 57, 65], Operations: []
Exploring Operation: 3+57=60, Resulting Numbers: [11, 65, 60]
Generated Node #2: [11, 65, 60] from Operation: 3+57=60
Current State: 55:[11, 65, 60], Operations: ['3+57=60']
Exploring Operation: 65-60=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 65-60=5
Current State: 55:[11, 5], Operations: ['3+57=60', '65-60=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[11, 3, 57, 65], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [11, 3, 8]
Generated Node #0,0: 55:[11, 3, 8] Operation: 65-57=8
Exploring Operation: 65-11=54, Resulting Numbers: [3, 57, 54]
Generated Node #0,1: 55:[3, 57, 54] Operation: 65-11=54
Moving to Node #0,0
Current State: 55:[11, 3, 8], Operations: ['65-57=8']
Exploring Operation: 8-3=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 8-3=5
Exploring Operation: 3+8=11, Resulting Numbers: [11, 11]
Generated Node #0,0,1: 55:[11, 11] Operation: 3+8=11
Moving to Node #0,1
Current State: 55:[3, 57, 54], Operations: ['65-11=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57, 57]
Generated Node #0,1,0: 55:[57, 57] Operation: 3+54=57
Exploring Operation: 57-3=54, Resulting Numbers: [54, 54]
Generated Node #0,1,1: 55:[54, 54] Operation: 57-3=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[54, 54], Operations: ['65-11=54', '57-3=54']
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[57, 57], Operations: ['65-11=54', '3+54=57']
Exploring Operation: 57-57=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 57/57=1, Resulting Numbers: [1]
1,55 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: 55:[11, 5], Operations: ['65-57=8', '8-3=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[11, 3, 57, 65], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [11, 3, 8]
Generated Node #0,0: 55:[11, 3, 8] Operation: 65-57=8
Moving to Node #0,0
Current State: 55:[11, 3, 8], Operations: ['65-57=8']
Exploring Operation: 8-3=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 8-3=5
Moving to Node #0,0,0
Current State: 55:[11, 5], Operations: ['65-57=8', '8-3=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
23,
10,
31,
97
] | 43 | [
"23+97=120",
"120/10=12",
"31+12=43"
] | Current State: 43:[23, 10, 31, 97], Operations: []
Exploring Operation: 23+97=120, Resulting Numbers: [10, 31, 120]
Generated Node #2: [10, 31, 120] from Operation: 23+97=120
Current State: 43:[10, 31, 120], Operations: ['23+97=120']
Exploring Operation: 120/10=12, Resulting Numbers: [31, 12]
Generated Node #3: [31, 12] from Operation: 120/10=12
Current State: 43:[31, 12], Operations: ['23+97=120', '120/10=12']
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[23, 10, 31, 97], Operations: []
Exploring Operation: 97-31=66, Resulting Numbers: [23, 10, 66]
Generated Node #0,0: 43:[23, 10, 66] Operation: 97-31=66
Exploring Operation: 97-10=87, Resulting Numbers: [23, 31, 87]
Generated Node #0,1: 43:[23, 31, 87] Operation: 97-10=87
Exploring Operation: 10+31=41, Resulting Numbers: [23, 97, 41]
Generated Node #0,2: 43:[23, 97, 41] Operation: 10+31=41
Exploring Operation: 97-23=74, Resulting Numbers: [10, 31, 74]
Generated Node #0,3: 43:[10, 31, 74] Operation: 97-23=74
Exploring Operation: 23+10=33, Resulting Numbers: [31, 97, 33]
Generated Node #0,4: 43:[31, 97, 33] Operation: 23+10=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[23, 10, 66], Operations: ['97-31=66']
Exploring Operation: 66-10=56, Resulting Numbers: [23, 56]
Generated Node #0,0,0: 43:[23, 56] Operation: 66-10=56
Exploring Operation: 10+66=76, Resulting Numbers: [23, 76]
Generated Node #0,0,1: 43:[23, 76] Operation: 10+66=76
Exploring Operation: 23-10=13, Resulting Numbers: [66, 13]
Generated Node #0,0,2: 43:[66, 13] Operation: 23-10=13
Exploring Operation: 23+10=33, Resulting Numbers: [66, 33]
Generated Node #0,0,3: 43:[66, 33] Operation: 23+10=33
Exploring Operation: 66-23=43, Resulting Numbers: [10, 43]
Generated Node #0,0,4: 43:[10, 43] Operation: 66-23=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[23, 56], Operations: ['97-31=66', '66-10=56']
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,43 unequal: No Solution
No 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: 43:[66, 33], Operations: ['97-31=66', '23+10=33']
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 66*33=2178, Resulting Numbers: [2178]
2178,43 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,43 unequal: No Solution
No 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: 43:[10, 43], Operations: ['97-31=66', '66-23=43']
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,43 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,43 unequal: No Solution
No 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: 43:[23, 76], Operations: ['97-31=66', '10+66=76']
Exploring Operation: 23*76=1748, Resulting Numbers: [1748]
1748,43 unequal: No Solution
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,43 unequal: No Solution
No 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: 43:[66, 13], Operations: ['97-31=66', '23-10=13']
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,43 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,43 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: 43:[23, 31, 87], Operations: ['97-10=87']
Exploring Operation: 87-23=64, Resulting Numbers: [31, 64]
Generated Node #0,1,0: 43:[31, 64] Operation: 87-23=64
Exploring Operation: 23+31=54, Resulting Numbers: [87, 54]
Generated Node #0,1,1: 43:[87, 54] Operation: 23+31=54
Exploring Operation: 23+87=110, Resulting Numbers: [31, 110]
Generated Node #0,1,2: 43:[31, 110] Operation: 23+87=110
Exploring Operation: 31-23=8, Resulting Numbers: [87, 8]
Generated Node #0,1,3: 43:[87, 8] Operation: 31-23=8
Exploring Operation: 87-31=56, Resulting Numbers: [23, 56]
Generated Node #0,1,4: 43:[23, 56] Operation: 87-31=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[31, 64], Operations: ['97-10=87', '87-23=64']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,43 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,43 unequal: No Solution
No 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: 43:[23, 56], Operations: ['97-10=87', '87-31=56']
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,43 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,43 unequal: No Solution
No 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: 43:[87, 54], Operations: ['97-10=87', '23+31=54']
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 87*54=4698, Resulting Numbers: [4698]
4698,43 unequal: No Solution
Exploring Operation: 87+54=141, Resulting Numbers: [141]
141,43 unequal: No Solution
No 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: 43:[31, 110], Operations: ['97-10=87', '23+87=110']
Exploring Operation: 31*110=3410, Resulting Numbers: [3410]
3410,43 unequal: No Solution
Exploring Operation: 110-31=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 31+110=141, Resulting Numbers: [141]
141,43 unequal: No Solution
No 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: 43:[87, 8], Operations: ['97-10=87', '31-23=8']
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,43 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,43 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: 43:[23, 97, 41], Operations: ['10+31=41']
Exploring Operation: 41-23=18, Resulting Numbers: [97, 18]
Generated Node #0,2,0: 43:[97, 18] Operation: 41-23=18
Exploring Operation: 97-41=56, Resulting Numbers: [23, 56]
Generated Node #0,2,1: 43:[23, 56] Operation: 97-41=56
Exploring Operation: 97-23=74, Resulting Numbers: [41, 74]
Generated Node #0,2,2: 43:[41, 74] Operation: 97-23=74
Exploring Operation: 23+97=120, Resulting Numbers: [41, 120]
Generated Node #0,2,3: 43:[41, 120] Operation: 23+97=120
Exploring Operation: 23+41=64, Resulting Numbers: [97, 64]
Generated Node #0,2,4: 43:[97, 64] Operation: 23+41=64
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[23, 56], Operations: ['10+31=41', '97-41=56']
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,43 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,43 unequal: No Solution
No 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: 43:[41, 74], Operations: ['10+31=41', '97-23=74']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 41*74=3034, Resulting Numbers: [3034]
3034,43 unequal: No Solution
Exploring Operation: 41+74=115, Resulting Numbers: [115]
115,43 unequal: No Solution
No 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: 43:[97, 64], Operations: ['10+31=41', '23+41=64']
Exploring Operation: 97+64=161, Resulting Numbers: [161]
161,43 unequal: No Solution
Exploring Operation: 97-64=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 97*64=6208, Resulting Numbers: [6208]
6208,43 unequal: No Solution
No 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: 43:[97, 18], Operations: ['10+31=41', '41-23=18']
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,43 unequal: No Solution
No 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: 43:[41, 120], Operations: ['10+31=41', '23+97=120']
Exploring Operation: 41*120=4920, Resulting Numbers: [4920]
4920,43 unequal: No Solution
Exploring Operation: 41+120=161, Resulting Numbers: [161]
161,43 unequal: No Solution
Exploring Operation: 120-41=79, Resulting Numbers: [79]
79,43 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: 43:[10, 31, 74], Operations: ['97-23=74']
Exploring Operation: 74-31=43, Resulting Numbers: [10, 43]
Generated Node #0,3,0: 43:[10, 43] Operation: 74-31=43
Exploring Operation: 10+31=41, Resulting Numbers: [74, 41]
Generated Node #0,3,1: 43:[74, 41] Operation: 10+31=41
Exploring Operation: 31-10=21, Resulting Numbers: [74, 21]
Generated Node #0,3,2: 43:[74, 21] Operation: 31-10=21
Exploring Operation: 10+74=84, Resulting Numbers: [31, 84]
Generated Node #0,3,3: 43:[31, 84] Operation: 10+74=84
Exploring Operation: 74-10=64, Resulting Numbers: [31, 64]
Generated Node #0,3,4: 43:[31, 64] Operation: 74-10=64
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[10, 43], Operations: ['97-23=74', '74-31=43']
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,43 unequal: No Solution
No 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: 43:[74, 41], Operations: ['97-23=74', '10+31=41']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 74*41=3034, Resulting Numbers: [3034]
3034,43 unequal: No Solution
No 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: 43:[31, 64], Operations: ['97-23=74', '74-10=64']
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,43 unequal: No Solution
No 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: 43:[74, 21], Operations: ['97-23=74', '31-10=21']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,43 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,43 unequal: No Solution
No 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: 43:[31, 84], Operations: ['97-23=74', '10+74=84']
Exploring Operation: 31+84=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 31*84=2604, Resulting Numbers: [2604]
2604,43 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: 43:[31, 97, 33], Operations: ['23+10=33']
Exploring Operation: 97-33=64, Resulting Numbers: [31, 64]
Generated Node #0,4,0: 43:[31, 64] Operation: 97-33=64
Exploring Operation: 31+97=128, Resulting Numbers: [33, 128]
Generated Node #0,4,1: 43:[33, 128] Operation: 31+97=128
Exploring Operation: 33-31=2, Resulting Numbers: [97, 2]
Generated Node #0,4,2: 43:[97, 2] Operation: 33-31=2
Exploring Operation: 97-31=66, Resulting Numbers: [33, 66]
Generated Node #0,4,3: 43:[33, 66] Operation: 97-31=66
Exploring Operation: 31+33=64, Resulting Numbers: [97, 64]
Generated Node #0,4,4: 43:[97, 64] Operation: 31+33=64
Moving to Node #0,4,0
Current State: 43:[31, 64], Operations: ['23+10=33', '97-33=64']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[33, 66], Operations: ['23+10=33', '97-31=66']
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,43 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[97, 64], Operations: ['23+10=33', '31+33=64']
Exploring Operation: 97*64=6208, Resulting Numbers: [6208]
6208,43 unequal: No Solution
Exploring Operation: 97+64=161, Resulting Numbers: [161]
161,43 unequal: No Solution
Exploring Operation: 97-64=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[33, 128], Operations: ['23+10=33', '31+97=128']
Exploring Operation: 33+128=161, Resulting Numbers: [161]
161,43 unequal: No Solution
Exploring Operation: 128-33=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 33*128=4224, Resulting Numbers: [4224]
4224,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[97, 2], Operations: ['23+10=33', '33-31=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,43 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
4,
43,
13,
29
] | 43 | [
"43+13=56",
"56/4=14",
"29+14=43"
] | Current State: 43:[4, 43, 13, 29], Operations: []
Exploring Operation: 43+13=56, Resulting Numbers: [4, 29, 56]
Generated Node #2: [4, 29, 56] from Operation: 43+13=56
Current State: 43:[4, 29, 56], Operations: ['43+13=56']
Exploring Operation: 56/4=14, Resulting Numbers: [29, 14]
Generated Node #3: [29, 14] from Operation: 56/4=14
Current State: 43:[29, 14], Operations: ['43+13=56', '56/4=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[4, 43, 13, 29], Operations: []
Exploring Operation: 4*13=52, Resulting Numbers: [43, 29, 52]
Generated Node #0,0: 43:[43, 29, 52] Operation: 4*13=52
Exploring Operation: 4+13=17, Resulting Numbers: [43, 29, 17]
Generated Node #0,1: 43:[43, 29, 17] Operation: 4+13=17
Moving to Node #0,0
Current State: 43:[43, 29, 52], Operations: ['4*13=52']
Exploring Operation: 52-29=23, Resulting Numbers: [43, 23]
Generated Node #0,0,0: 43:[43, 23] Operation: 52-29=23
Exploring Operation: 43+29=72, Resulting Numbers: [52, 72]
Generated Node #0,0,1: 43:[52, 72] Operation: 43+29=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[43, 23], Operations: ['4*13=52', '52-29=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,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,0,1
Current State: 43:[52, 72], Operations: ['4*13=52', '43+29=72']
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 43:[43, 29, 17], Operations: ['4+13=17']
Exploring Operation: 29+17=46, Resulting Numbers: [43, 46]
Generated Node #0,1,0: 43:[43, 46] Operation: 29+17=46
Exploring Operation: 43+17=60, Resulting Numbers: [29, 60]
Generated Node #0,1,1: 43:[29, 60] Operation: 43+17=60
Moving to Node #0,1,0
Current State: 43:[43, 46], Operations: ['4+13=17', '29+17=46']
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[29, 60], Operations: ['4+13=17', '43+17=60']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,43 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
38,
51,
5
] | 65 | [
"5*38=190",
"51*5=255",
"255-190=65"
] | Current State: 65:[5, 38, 51, 5], Operations: []
Exploring Operation: 5*38=190, Resulting Numbers: [51, 190]
Generated Node #2: [51, 190] from Operation: 5*38=190
Current State: 65:[51, 190], Operations: ['5*38=190']
Exploring Operation: 51*5=255, Resulting Numbers: [190, 255]
Generated Node #3: [190, 255] from Operation: 51*5=255
Current State: 65:[190, 255], Operations: ['5*38=190', '51*5=255']
Exploring Operation: 255-190=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[5, 38, 51, 5], Operations: []
Exploring Operation: 51-38=13, Resulting Numbers: [5, 5, 13]
Generated Node #0,0: 65:[5, 5, 13] Operation: 51-38=13
Moving to Node #0,0
Current State: 65:[5, 5, 13], Operations: ['51-38=13']
Exploring Operation: 5*13=65, Resulting Numbers: [5, 65]
Generated Node #0,0,0: 65:[5, 65] Operation: 5*13=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[5, 65], Operations: ['51-38=13', '5*13=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,65 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 |
[
6,
87,
37,
29
] | 93 | [
"37-6=31",
"87/29=3",
"31*3=93"
] | Current State: 93:[6, 87, 37, 29], Operations: []
Exploring Operation: 37-6=31, Resulting Numbers: [87, 29, 31]
Generated Node #2: [87, 29, 31] from Operation: 37-6=31
Current State: 93:[87, 29, 31], Operations: ['37-6=31']
Exploring Operation: 87/29=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 87/29=3
Current State: 93:[31, 3], Operations: ['37-6=31', '87/29=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[6, 87, 37, 29], Operations: []
Exploring Operation: 37-6=31, Resulting Numbers: [87, 29, 31]
Generated Node #0,0: 93:[87, 29, 31] Operation: 37-6=31
Exploring Operation: 87/29=3, Resulting Numbers: [6, 37, 3]
Generated Node #0,1: 93:[6, 37, 3] Operation: 87/29=3
Exploring Operation: 6+87=93, Resulting Numbers: [37, 29, 93]
Generated Node #0,2: 93:[37, 29, 93] Operation: 6+87=93
Exploring Operation: 37-29=8, Resulting Numbers: [6, 87, 8]
Generated Node #0,3: 93:[6, 87, 8] Operation: 37-29=8
Moving to Node #0,0
Current State: 93:[87, 29, 31], Operations: ['37-6=31']
Exploring Operation: 31-29=2, Resulting Numbers: [87, 2]
Generated Node #0,0,0: 93:[87, 2] Operation: 31-29=2
Exploring Operation: 87+29=116, Resulting Numbers: [31, 116]
Generated Node #0,0,1: 93:[31, 116] Operation: 87+29=116
Exploring Operation: 87-29=58, Resulting Numbers: [31, 58]
Generated Node #0,0,2: 93:[31, 58] Operation: 87-29=58
Exploring Operation: 87/29=3, Resulting Numbers: [31, 3]
Generated Node #0,0,3: 93:[31, 3] Operation: 87/29=3
Moving to Node #0,2
Current State: 93:[37, 29, 93], Operations: ['6+87=93']
Exploring Operation: 37-29=8, Resulting Numbers: [93, 8]
Generated Node #0,2,0: 93:[93, 8] Operation: 37-29=8
Exploring Operation: 93-37=56, Resulting Numbers: [29, 56]
Generated Node #0,2,1: 93:[29, 56] Operation: 93-37=56
Exploring Operation: 29+93=122, Resulting Numbers: [37, 122]
Generated Node #0,2,2: 93:[37, 122] Operation: 29+93=122
Exploring Operation: 37+29=66, Resulting Numbers: [93, 66]
Generated Node #0,2,3: 93:[93, 66] Operation: 37+29=66
Moving to Node #0,1
Current State: 93:[6, 37, 3], Operations: ['87/29=3']
Exploring Operation: 6/3=2, Resulting Numbers: [37, 2]
Generated Node #0,1,0: 93:[37, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [37, 3]
Generated Node #0,1,1: 93:[37, 3] Operation: 6-3=3
Exploring Operation: 37-3=34, Resulting Numbers: [6, 34]
Generated Node #0,1,2: 93:[6, 34] Operation: 37-3=34
Exploring Operation: 37-6=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 93:[3, 31] Operation: 37-6=31
Moving to Node #0,3
Current State: 93:[6, 87, 8], Operations: ['37-29=8']
Exploring Operation: 87+8=95, Resulting Numbers: [6, 95]
Generated Node #0,3,0: 93:[6, 95] Operation: 87+8=95
Exploring Operation: 87-6=81, Resulting Numbers: [8, 81]
Generated Node #0,3,1: 93:[8, 81] Operation: 87-6=81
Exploring Operation: 8-6=2, Resulting Numbers: [87, 2]
Generated Node #0,3,2: 93:[87, 2] Operation: 8-6=2
Exploring Operation: 6+87=93, Resulting Numbers: [8, 93]
Generated Node #0,3,3: 93:[8, 93] Operation: 6+87=93
Moving to Node #0,0,3
Current State: 93:[31, 3], Operations: ['37-6=31', '87/29=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[6, 87, 37, 29], Operations: []
Exploring Operation: 37-6=31, Resulting Numbers: [87, 29, 31]
Generated Node #0,0: 93:[87, 29, 31] Operation: 37-6=31
Moving to Node #0,0
Current State: 93:[87, 29, 31], Operations: ['37-6=31']
Exploring Operation: 87/29=3, Resulting Numbers: [31, 3]
Generated Node #0,0,3: 93:[31, 3] Operation: 87/29=3
Moving to Node #0,0,3
Current State: 93:[31, 3], Operations: ['37-6=31', '87/29=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.978299 | hs_4 | mult_heuristic |
[
5,
75,
71,
17
] | 16 | [
"75-5=70",
"71-17=54",
"70-54=16"
] | Current State: 16:[5, 75, 71, 17], Operations: []
Exploring Operation: 75-5=70, Resulting Numbers: [71, 17, 70]
Generated Node #2: [71, 17, 70] from Operation: 75-5=70
Current State: 16:[71, 17, 70], Operations: ['75-5=70']
Exploring Operation: 71-17=54, Resulting Numbers: [70, 54]
Generated Node #3: [70, 54] from Operation: 71-17=54
Current State: 16:[70, 54], Operations: ['75-5=70', '71-17=54']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[5, 75, 71, 17], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [5, 17, 4]
Generated Node #0,0: 16:[5, 17, 4] Operation: 75-71=4
Exploring Operation: 75/5=15, Resulting Numbers: [71, 17, 15]
Generated Node #0,1: 16:[71, 17, 15] Operation: 75/5=15
Moving to Node #0,0
Current State: 16:[5, 17, 4], Operations: ['75-71=4']
Exploring Operation: 5+4=9, Resulting Numbers: [17, 9]
Generated Node #0,0,0: 16:[17, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [17, 1]
Generated Node #0,0,1: 16:[17, 1] Operation: 5-4=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[17, 9], Operations: ['75-71=4', '5+4=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[17, 1], Operations: ['75-71=4', '5-4=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[5, 75, 71, 17], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [5, 17, 4]
Generated Node #0,0: 16:[5, 17, 4] Operation: 75-71=4
Moving to Node #0,0
Current State: 16:[5, 17, 4], Operations: ['75-71=4']
Exploring Operation: 5-4=1, Resulting Numbers: [17, 1]
Generated Node #0,0,1: 16:[17, 1] Operation: 5-4=1
Moving to Node #0,0,1
Current State: 16:[17, 1], Operations: ['75-71=4', '5-4=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
32,
78,
53,
78
] | 71 | [
"78-32=46",
"78-53=25",
"46+25=71"
] | Current State: 71:[32, 78, 53, 78], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [53, 46]
Generated Node #2: [53, 46] from Operation: 78-32=46
Current State: 71:[53, 46], Operations: ['78-32=46']
Exploring Operation: 78-53=25, Resulting Numbers: [46, 25]
Generated Node #3: [46, 25] from Operation: 78-53=25
Current State: 71:[46, 25], Operations: ['78-32=46', '78-53=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[32, 78, 53, 78], Operations: []
Exploring Operation: 32+78=110, Resulting Numbers: [53, 78, 110]
Generated Node #0,0: 71:[53, 78, 110] Operation: 32+78=110
Exploring Operation: 32+53=85, Resulting Numbers: [78, 78, 85]
Generated Node #0,1: 71:[78, 78, 85] Operation: 32+53=85
Exploring Operation: 78-32=46, Resulting Numbers: [78, 53, 46]
Generated Node #0,2: 71:[78, 53, 46] Operation: 78-32=46
Exploring Operation: 78-32=46, Resulting Numbers: [53, 78, 46]
Generated Node #0,3: 71:[53, 78, 46] Operation: 78-32=46
Exploring Operation: 53-32=21, Resulting Numbers: [78, 78, 21]
Generated Node #0,4: 71:[78, 78, 21] Operation: 53-32=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[78, 78, 85], Operations: ['32+53=85']
Exploring Operation: 78-78=0, Resulting Numbers: [85, 0]
Generated Node #0,1,0: 71:[85, 0] Operation: 78-78=0
Exploring Operation: 85-78=7, Resulting Numbers: [78, 7]
Generated Node #0,1,1: 71:[78, 7] Operation: 85-78=7
Exploring Operation: 78/78=1, Resulting Numbers: [85, 1]
Generated Node #0,1,2: 71:[85, 1] Operation: 78/78=1
Exploring Operation: 78+78=156, Resulting Numbers: [85, 156]
Generated Node #0,1,3: 71:[85, 156] Operation: 78+78=156
Exploring Operation: 85-78=7, Resulting Numbers: [78, 7]
Generated Node #0,1,4: 71:[78, 7] Operation: 85-78=7
Moving to Node #0,1,1
Current State: 71:[78, 7], Operations: ['32+53=85', '85-78=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[32, 78, 53, 78], Operations: []
Exploring Operation: 32+53=85, Resulting Numbers: [78, 78, 85]
Generated Node #0,1: 71:[78, 78, 85] Operation: 32+53=85
Moving to Node #0,1
Current State: 71:[78, 78, 85], Operations: ['32+53=85']
Exploring Operation: 85-78=7, Resulting Numbers: [78, 7]
Generated Node #0,1,1: 71:[78, 7] Operation: 85-78=7
Moving to Node #0,1,1
Current State: 71:[78, 7], Operations: ['32+53=85', '85-78=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
42,
93,
28,
75
] | 88 | [
"42+93=135",
"75-28=47",
"135-47=88"
] | Current State: 88:[42, 93, 28, 75], Operations: []
Exploring Operation: 42+93=135, Resulting Numbers: [28, 75, 135]
Generated Node #2: [28, 75, 135] from Operation: 42+93=135
Current State: 88:[28, 75, 135], Operations: ['42+93=135']
Exploring Operation: 75-28=47, Resulting Numbers: [135, 47]
Generated Node #3: [135, 47] from Operation: 75-28=47
Current State: 88:[135, 47], Operations: ['42+93=135', '75-28=47']
Exploring Operation: 135-47=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[42, 93, 28, 75], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [42, 93, 47]
Generated Node #0,0: 88:[42, 93, 47] Operation: 75-28=47
Exploring Operation: 93-75=18, Resulting Numbers: [42, 28, 18]
Generated Node #0,1: 88:[42, 28, 18] Operation: 93-75=18
Exploring Operation: 42-28=14, Resulting Numbers: [93, 75, 14]
Generated Node #0,2: 88:[93, 75, 14] Operation: 42-28=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[42, 93, 47], Operations: ['75-28=47']
Exploring Operation: 47-42=5, Resulting Numbers: [93, 5]
Generated Node #0,0,0: 88:[93, 5] Operation: 47-42=5
Exploring Operation: 93-47=46, Resulting Numbers: [42, 46]
Generated Node #0,0,1: 88:[42, 46] Operation: 93-47=46
Exploring Operation: 42+47=89, Resulting Numbers: [93, 89]
Generated Node #0,0,2: 88:[93, 89] Operation: 42+47=89
Moving to Node #0,0,1
Current State: 88:[42, 46], Operations: ['75-28=47', '93-47=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[42, 93, 28, 75], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [42, 93, 47]
Generated Node #0,0: 88:[42, 93, 47] Operation: 75-28=47
Moving to Node #0,0
Current State: 88:[42, 93, 47], Operations: ['75-28=47']
Exploring Operation: 93-47=46, Resulting Numbers: [42, 46]
Generated Node #0,0,1: 88:[42, 46] Operation: 93-47=46
Moving to Node #0,0,1
Current State: 88:[42, 46], Operations: ['75-28=47', '93-47=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
92,
88,
29,
82
] | 94 | [
"92+82=174",
"174/29=6",
"88+6=94"
] | Current State: 94:[92, 88, 29, 82], Operations: []
Exploring Operation: 92+82=174, Resulting Numbers: [88, 29, 174]
Generated Node #2: [88, 29, 174] from Operation: 92+82=174
Current State: 94:[88, 29, 174], Operations: ['92+82=174']
Exploring Operation: 174/29=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 174/29=6
Current State: 94:[88, 6], Operations: ['92+82=174', '174/29=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[92, 88, 29, 82], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [92, 29, 6]
Generated Node #0,0: 94:[92, 29, 6] Operation: 88-82=6
Exploring Operation: 82-29=53, Resulting Numbers: [92, 88, 53]
Generated Node #0,1: 94:[92, 88, 53] Operation: 82-29=53
Exploring Operation: 29+82=111, Resulting Numbers: [92, 88, 111]
Generated Node #0,2: 94:[92, 88, 111] Operation: 29+82=111
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[92, 88, 53], Operations: ['82-29=53']
Exploring Operation: 92-53=39, Resulting Numbers: [88, 39]
Generated Node #0,1,0: 94:[88, 39] Operation: 92-53=39
Exploring Operation: 88-53=35, Resulting Numbers: [92, 35]
Generated Node #0,1,1: 94:[92, 35] Operation: 88-53=35
Exploring Operation: 92-88=4, Resulting Numbers: [53, 4]
Generated Node #0,1,2: 94:[53, 4] Operation: 92-88=4
Moving to Node #0,1,2
Current State: 94:[53, 4], Operations: ['82-29=53', '92-88=4']
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,94 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[88, 39], Operations: ['82-29=53', '92-53=39']
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,94 unequal: No Solution
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,94 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[92, 35], Operations: ['82-29=53', '88-53=35']
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,94 unequal: No Solution
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,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
Current State: 94:[92, 29, 6], Operations: ['88-82=6']
Exploring Operation: 92+6=98, Resulting Numbers: [29, 98]
Generated Node #0,0,0: 94:[29, 98] Operation: 92+6=98
Exploring Operation: 92-29=63, Resulting Numbers: [6, 63]
Generated Node #0,0,1: 94:[6, 63] Operation: 92-29=63
Exploring Operation: 29+6=35, Resulting Numbers: [92, 35]
Generated Node #0,0,2: 94:[92, 35] Operation: 29+6=35
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[92, 35], Operations: ['88-82=6', '29+6=35']
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,94 unequal: No Solution
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,94 unequal: No Solution
No 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: 94:[6, 63], Operations: ['88-82=6', '92-29=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,94 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,94 unequal: No Solution
No 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: 94:[29, 98], Operations: ['88-82=6', '92+6=98']
Exploring Operation: 29*98=2842, Resulting Numbers: [2842]
2842,94 unequal: No Solution
Exploring Operation: 29+98=127, Resulting Numbers: [127]
127,94 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,94 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: 94:[92, 88, 111], Operations: ['29+82=111']
Exploring Operation: 92-88=4, Resulting Numbers: [111, 4]
Generated Node #0,2,0: 94:[111, 4] Operation: 92-88=4
Exploring Operation: 111-88=23, Resulting Numbers: [92, 23]
Generated Node #0,2,1: 94:[92, 23] Operation: 111-88=23
Exploring Operation: 111-92=19, Resulting Numbers: [88, 19]
Generated Node #0,2,2: 94:[88, 19] Operation: 111-92=19
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[111, 4], Operations: ['29+82=111', '92-88=4']
Exploring Operation: 111*4=444, Resulting Numbers: [444]
444,94 unequal: No Solution
Exploring Operation: 111+4=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 111-4=107, Resulting Numbers: [107]
107,94 unequal: No Solution
No 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: 94:[92, 23], Operations: ['29+82=111', '111-88=23']
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 92+23=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,94 unequal: No Solution
No 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: 94:[88, 19], Operations: ['29+82=111', '111-92=19']
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,94 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,94 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 |
[
7,
1,
73,
4
] | 41 | [
"7+1=8",
"4*8=32",
"73-32=41"
] | Current State: 41:[7, 1, 73, 4], Operations: []
Exploring Operation: 7+1=8, Resulting Numbers: [73, 4, 8]
Generated Node #2: [73, 4, 8] from Operation: 7+1=8
Current State: 41:[73, 4, 8], Operations: ['7+1=8']
Exploring Operation: 4*8=32, Resulting Numbers: [73, 32]
Generated Node #3: [73, 32] from Operation: 4*8=32
Current State: 41:[73, 32], Operations: ['7+1=8', '4*8=32']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 1, 73, 4], Operations: []
Exploring Operation: 7+1=8, Resulting Numbers: [73, 4, 8]
Generated Node #0,0: 41:[73, 4, 8] Operation: 7+1=8
Exploring Operation: 7+4=11, Resulting Numbers: [1, 73, 11]
Generated Node #0,1: 41:[1, 73, 11] Operation: 7+4=11
Exploring Operation: 7*4=28, Resulting Numbers: [1, 73, 28]
Generated Node #0,2: 41:[1, 73, 28] Operation: 7*4=28
Exploring Operation: 73-1=72, Resulting Numbers: [7, 4, 72]
Generated Node #0,3: 41:[7, 4, 72] Operation: 73-1=72
Exploring Operation: 73-7=66, Resulting Numbers: [1, 4, 66]
Generated Node #0,4: 41:[1, 4, 66] Operation: 73-7=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[1, 73, 28], Operations: ['7*4=28']
Exploring Operation: 1*73=73, Resulting Numbers: [28, 73]
Generated Node #0,2,0: 41:[28, 73] Operation: 1*73=73
Exploring Operation: 73-1=72, Resulting Numbers: [28, 72]
Generated Node #0,2,1: 41:[28, 72] Operation: 73-1=72
Exploring Operation: 1+28=29, Resulting Numbers: [73, 29]
Generated Node #0,2,2: 41:[73, 29] Operation: 1+28=29
Exploring Operation: 73-28=45, Resulting Numbers: [1, 45]
Generated Node #0,2,3: 41:[1, 45] Operation: 73-28=45
Exploring Operation: 73/1=73, Resulting Numbers: [28, 73]
Generated Node #0,2,4: 41:[28, 73] Operation: 73/1=73
Moving to Node #0,2,1
Current State: 41:[28, 72], Operations: ['7*4=28', '73-1=72']
Exploring Operation: 28+72=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 28*72=2016, Resulting Numbers: [2016]
2016,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[1, 45], Operations: ['7*4=28', '73-28=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[73, 29], Operations: ['7*4=28', '1+28=29']
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 73*29=2117, Resulting Numbers: [2117]
2117,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[28, 73], Operations: ['7*4=28', '1*73=73']
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 28*73=2044, Resulting Numbers: [2044]
2044,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[28, 73], Operations: ['7*4=28', '73/1=73']
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 28*73=2044, Resulting Numbers: [2044]
2044,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[73, 4, 8], Operations: ['7+1=8']
Exploring Operation: 73-4=69, Resulting Numbers: [8, 69]
Generated Node #0,0,0: 41:[8, 69] Operation: 73-4=69
Exploring Operation: 73+4=77, Resulting Numbers: [8, 77]
Generated Node #0,0,1: 41:[8, 77] Operation: 73+4=77
Exploring Operation: 4*8=32, Resulting Numbers: [73, 32]
Generated Node #0,0,2: 41:[73, 32] Operation: 4*8=32
Exploring Operation: 4+8=12, Resulting Numbers: [73, 12]
Generated Node #0,0,3: 41:[73, 12] Operation: 4+8=12
Exploring Operation: 73-8=65, Resulting Numbers: [4, 65]
Generated Node #0,0,4: 41:[4, 65] Operation: 73-8=65
Moving to Node #0,0,2
Current State: 41:[73, 32], Operations: ['7+1=8', '4*8=32']
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,41 unequal: No Solution
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[7, 1, 73, 4], Operations: []
Exploring Operation: 7+1=8, Resulting Numbers: [73, 4, 8]
Generated Node #0,0: 41:[73, 4, 8] Operation: 7+1=8
Moving to Node #0,0
Current State: 41:[73, 4, 8], Operations: ['7+1=8']
Exploring Operation: 4*8=32, Resulting Numbers: [73, 32]
Generated Node #0,0,2: 41:[73, 32] Operation: 4*8=32
Moving to Node #0,0,2
Current State: 41:[73, 32], Operations: ['7+1=8', '4*8=32']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
28,
63,
3,
36
] | 43 | [
"28+36=64",
"63/3=21",
"64-21=43"
] | Current State: 43:[28, 63, 3, 36], Operations: []
Exploring Operation: 28+36=64, Resulting Numbers: [63, 3, 64]
Generated Node #2: [63, 3, 64] from Operation: 28+36=64
Current State: 43:[63, 3, 64], Operations: ['28+36=64']
Exploring Operation: 63/3=21, Resulting Numbers: [64, 21]
Generated Node #3: [64, 21] from Operation: 63/3=21
Current State: 43:[64, 21], Operations: ['28+36=64', '63/3=21']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[28, 63, 3, 36], Operations: []
Exploring Operation: 63/3=21, Resulting Numbers: [28, 36, 21]
Generated Node #0,0: 43:[28, 36, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [28, 36, 60]
Generated Node #0,1: 43:[28, 36, 60] Operation: 63-3=60
Exploring Operation: 28+3=31, Resulting Numbers: [63, 36, 31]
Generated Node #0,2: 43:[63, 36, 31] Operation: 28+3=31
Exploring Operation: 3+36=39, Resulting Numbers: [28, 63, 39]
Generated Node #0,3: 43:[28, 63, 39] Operation: 3+36=39
Moving to Node #0,1
Current State: 43:[28, 36, 60], Operations: ['63-3=60']
Exploring Operation: 36-28=8, Resulting Numbers: [60, 8]
Generated Node #0,1,0: 43:[60, 8] Operation: 36-28=8
Exploring Operation: 60-36=24, Resulting Numbers: [28, 24]
Generated Node #0,1,1: 43:[28, 24] Operation: 60-36=24
Exploring Operation: 60-28=32, Resulting Numbers: [36, 32]
Generated Node #0,1,2: 43:[36, 32] Operation: 60-28=32
Exploring Operation: 28+36=64, Resulting Numbers: [60, 64]
Generated Node #0,1,3: 43:[60, 64] Operation: 28+36=64
Moving to Node #0,3
Current State: 43:[28, 63, 39], Operations: ['3+36=39']
Exploring Operation: 63-39=24, Resulting Numbers: [28, 24]
Generated Node #0,3,0: 43:[28, 24] Operation: 63-39=24
Exploring Operation: 28+63=91, Resulting Numbers: [39, 91]
Generated Node #0,3,1: 43:[39, 91] Operation: 28+63=91
Exploring Operation: 63-28=35, Resulting Numbers: [39, 35]
Generated Node #0,3,2: 43:[39, 35] Operation: 63-28=35
Exploring Operation: 28+39=67, Resulting Numbers: [63, 67]
Generated Node #0,3,3: 43:[63, 67] Operation: 28+39=67
Moving to Node #0,2
Current State: 43:[63, 36, 31], Operations: ['28+3=31']
Exploring Operation: 63+31=94, Resulting Numbers: [36, 94]
Generated Node #0,2,0: 43:[36, 94] Operation: 63+31=94
Exploring Operation: 36+31=67, Resulting Numbers: [63, 67]
Generated Node #0,2,1: 43:[63, 67] Operation: 36+31=67
Exploring Operation: 63-36=27, Resulting Numbers: [31, 27]
Generated Node #0,2,2: 43:[31, 27] Operation: 63-36=27
Exploring Operation: 63-31=32, Resulting Numbers: [36, 32]
Generated Node #0,2,3: 43:[36, 32] Operation: 63-31=32
Moving to Node #0,0
Current State: 43:[28, 36, 21], Operations: ['63/3=21']
Exploring Operation: 36+21=57, Resulting Numbers: [28, 57]
Generated Node #0,0,0: 43:[28, 57] Operation: 36+21=57
Exploring Operation: 28+21=49, Resulting Numbers: [36, 49]
Generated Node #0,0,1: 43:[36, 49] Operation: 28+21=49
Exploring Operation: 28-21=7, Resulting Numbers: [36, 7]
Generated Node #0,0,2: 43:[36, 7] Operation: 28-21=7
Exploring Operation: 28+36=64, Resulting Numbers: [21, 64]
Generated Node #0,0,3: 43:[21, 64] Operation: 28+36=64
Moving to Node #0,3,2
Current State: 43:[39, 35], Operations: ['3+36=39', '63-28=35']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[36, 49], Operations: ['63/3=21', '28+21=49']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[36, 32], Operations: ['63-3=60', '60-28=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,43 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[36, 32], Operations: ['28+3=31', '63-31=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,43 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[31, 27], Operations: ['28+3=31', '63-36=27']
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,43 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[28, 57], Operations: ['63/3=21', '36+21=57']
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,43 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[28, 24], Operations: ['3+36=39', '63-39=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[28, 24], Operations: ['63-3=60', '60-36=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[60, 64], Operations: ['63-3=60', '28+36=64']
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,43 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[36, 7], Operations: ['63/3=21', '28-21=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,43 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[28, 63, 3, 36], Operations: []
Exploring Operation: 63/3=21, Resulting Numbers: [28, 36, 21]
Generated Node #0,0: 43:[28, 36, 21] Operation: 63/3=21
Moving to Node #0,0
Current State: 43:[28, 36, 21], Operations: ['63/3=21']
Exploring Operation: 28-21=7, Resulting Numbers: [36, 7]
Generated Node #0,0,2: 43:[36, 7] Operation: 28-21=7
Moving to Node #0,0,2
Current State: 43:[36, 7], Operations: ['63/3=21', '28-21=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.953125 | hs_4 | mult_heuristic |
[
57,
42,
10,
93
] | 27 | [
"57+93=150",
"150/10=15",
"42-15=27"
] | Current State: 27:[57, 42, 10, 93], Operations: []
Exploring Operation: 57+93=150, Resulting Numbers: [42, 10, 150]
Generated Node #2: [42, 10, 150] from Operation: 57+93=150
Current State: 27:[42, 10, 150], Operations: ['57+93=150']
Exploring Operation: 150/10=15, Resulting Numbers: [42, 15]
Generated Node #3: [42, 15] from Operation: 150/10=15
Current State: 27:[42, 15], Operations: ['57+93=150', '150/10=15']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[57, 42, 10, 93], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [57, 10, 51]
Generated Node #0,0: 27:[57, 10, 51] Operation: 93-42=51
Exploring Operation: 93-57=36, Resulting Numbers: [42, 10, 36]
Generated Node #0,1: 27:[42, 10, 36] Operation: 93-57=36
Moving to Node #0,1
Current State: 27:[42, 10, 36], Operations: ['93-57=36']
Exploring Operation: 42-10=32, Resulting Numbers: [36, 32]
Generated Node #0,1,0: 27:[36, 32] Operation: 42-10=32
Exploring Operation: 42-36=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 27:[10, 6] Operation: 42-36=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[10, 6], Operations: ['93-57=36', '42-36=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[36, 32], Operations: ['93-57=36', '42-10=32']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,27 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: 27:[57, 10, 51], Operations: ['93-42=51']
Exploring Operation: 57-10=47, Resulting Numbers: [51, 47]
Generated Node #0,0,0: 27:[51, 47] Operation: 57-10=47
Exploring Operation: 57-51=6, Resulting Numbers: [10, 6]
Generated Node #0,0,1: 27:[10, 6] Operation: 57-51=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[10, 6], Operations: ['93-42=51', '57-51=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[51, 47], Operations: ['93-42=51', '57-10=47']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
37,
34,
3,
51
] | 51 | [
"37-34=3",
"3+51=54",
"54-3=51"
] | Current State: 51:[37, 34, 3, 51], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [3, 51, 3]
Generated Node #2: [3, 51, 3] from Operation: 37-34=3
Current State: 51:[3, 51, 3], Operations: ['37-34=3']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,51 equal: Goal Reached
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[37, 34, 3, 51], Operations: []
Exploring Operation: 51-34=17, Resulting Numbers: [37, 3, 17]
Generated Node #0,0: 51:[37, 3, 17] Operation: 51-34=17
Exploring Operation: 37-34=3, Resulting Numbers: [3, 51, 3]
Generated Node #0,1: 51:[3, 51, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[3, 51, 3], Operations: ['37-34=3']
Exploring Operation: 51/3=17, Resulting Numbers: [3, 17]
Generated Node #0,1,0: 51:[3, 17] Operation: 51/3=17
Exploring Operation: 51/3=17, Resulting Numbers: [3, 17]
Generated Node #0,1,1: 51:[3, 17] Operation: 51/3=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[3, 17], Operations: ['37-34=3', '51/3=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[37, 34, 3, 51], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [3, 51, 3]
Generated Node #0,1: 51:[3, 51, 3] Operation: 37-34=3
Moving to Node #0,1
Current State: 51:[3, 51, 3], Operations: ['37-34=3']
Exploring Operation: 51/3=17, Resulting Numbers: [3, 17]
Generated Node #0,1,0: 51:[3, 17] Operation: 51/3=17
Moving to Node #0,1,0
Current State: 51:[3, 17], Operations: ['37-34=3', '51/3=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
45,
83,
24,
96
] | 42 | [
"83-45=38",
"96/24=4",
"38+4=42"
] | Current State: 42:[45, 83, 24, 96], Operations: []
Exploring Operation: 83-45=38, Resulting Numbers: [24, 96, 38]
Generated Node #2: [24, 96, 38] from Operation: 83-45=38
Current State: 42:[24, 96, 38], Operations: ['83-45=38']
Exploring Operation: 96/24=4, Resulting Numbers: [38, 4]
Generated Node #3: [38, 4] from Operation: 96/24=4
Current State: 42:[38, 4], Operations: ['83-45=38', '96/24=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[45, 83, 24, 96], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [45, 24, 13]
Generated Node #0,0: 42:[45, 24, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 42:[45, 24, 13], Operations: ['96-83=13']
Exploring Operation: 45-24=21, Resulting Numbers: [13, 21]
Generated Node #0,0,0: 42:[13, 21] Operation: 45-24=21
Moving to Node #0,0,0
Current State: 42:[13, 21], Operations: ['96-83=13', '45-24=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
66,
84,
29,
50
] | 32 | [
"66+84=150",
"150/50=3",
"29+3=32"
] | Current State: 32:[66, 84, 29, 50], Operations: []
Exploring Operation: 66+84=150, Resulting Numbers: [29, 50, 150]
Generated Node #2: [29, 50, 150] from Operation: 66+84=150
Current State: 32:[29, 50, 150], Operations: ['66+84=150']
Exploring Operation: 150/50=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 150/50=3
Current State: 32:[29, 3], Operations: ['66+84=150', '150/50=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[66, 84, 29, 50], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [29, 50, 18]
Generated Node #0,0: 32:[29, 50, 18] Operation: 84-66=18
Moving to Node #0,0
Current State: 32:[29, 50, 18], Operations: ['84-66=18']
Exploring Operation: 50-18=32, Resulting Numbers: [29, 32]
Generated Node #0,0,0: 32:[29, 32] Operation: 50-18=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[29, 32], Operations: ['84-66=18', '50-18=32']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,32 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 |
[
15,
99,
54,
42
] | 27 | [
"99-15=84",
"54*42=2268",
"2268/84=27"
] | Current State: 27:[15, 99, 54, 42], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [54, 42, 84]
Generated Node #2: [54, 42, 84] from Operation: 99-15=84
Current State: 27:[54, 42, 84], Operations: ['99-15=84']
Exploring Operation: 54*42=2268, Resulting Numbers: [84, 2268]
Generated Node #3: [84, 2268] from Operation: 54*42=2268
Current State: 27:[84, 2268], Operations: ['99-15=84', '54*42=2268']
Exploring Operation: 2268/84=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[15, 99, 54, 42], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [15, 42, 45]
Generated Node #0,0: 27:[15, 42, 45] Operation: 99-54=45
Exploring Operation: 54-15=39, Resulting Numbers: [99, 42, 39]
Generated Node #0,1: 27:[99, 42, 39] Operation: 54-15=39
Exploring Operation: 54-42=12, Resulting Numbers: [15, 99, 12]
Generated Node #0,2: 27:[15, 99, 12] Operation: 54-42=12
Exploring Operation: 99-42=57, Resulting Numbers: [15, 54, 57]
Generated Node #0,3: 27:[15, 54, 57] Operation: 99-42=57
Exploring Operation: 99-15=84, Resulting Numbers: [54, 42, 84]
Generated Node #0,4: 27:[54, 42, 84] Operation: 99-15=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[15, 42, 45], Operations: ['99-54=45']
Exploring Operation: 15+42=57, Resulting Numbers: [45, 57]
Generated Node #0,0,0: 27:[45, 57] Operation: 15+42=57
Exploring Operation: 45-15=30, Resulting Numbers: [42, 30]
Generated Node #0,0,1: 27:[42, 30] Operation: 45-15=30
Exploring Operation: 45/15=3, Resulting Numbers: [42, 3]
Generated Node #0,0,2: 27:[42, 3] Operation: 45/15=3
Exploring Operation: 45-42=3, Resulting Numbers: [15, 3]
Generated Node #0,0,3: 27:[15, 3] Operation: 45-42=3
Exploring Operation: 42-15=27, Resulting Numbers: [45, 27]
Generated Node #0,0,4: 27:[45, 27] Operation: 42-15=27
Moving to Node #0,0,3
Current State: 27:[15, 3], Operations: ['99-54=45', '45-42=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[42, 3], Operations: ['99-54=45', '45/15=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[42, 30], Operations: ['99-54=45', '45-15=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,27 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Moving to Node #0,0,4
Current State: 27:[45, 27], Operations: ['99-54=45', '42-15=27']
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,27 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[45, 57], Operations: ['99-54=45', '15+42=57']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,27 unequal: No Solution
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[15, 54, 57], Operations: ['99-42=57']
Exploring Operation: 15+54=69, Resulting Numbers: [57, 69]
Generated Node #0,3,0: 27:[57, 69] Operation: 15+54=69
Exploring Operation: 57-54=3, Resulting Numbers: [15, 3]
Generated Node #0,3,1: 27:[15, 3] Operation: 57-54=3
Exploring Operation: 15+57=72, Resulting Numbers: [54, 72]
Generated Node #0,3,2: 27:[54, 72] Operation: 15+57=72
Exploring Operation: 54-15=39, Resulting Numbers: [57, 39]
Generated Node #0,3,3: 27:[57, 39] Operation: 54-15=39
Exploring Operation: 57-15=42, Resulting Numbers: [54, 42]
Generated Node #0,3,4: 27:[54, 42] Operation: 57-15=42
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 27:[15, 3], Operations: ['99-42=57', '57-54=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 27:[57, 39], Operations: ['99-42=57', '54-15=39']
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,27 unequal: No Solution
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 27:[54, 42], Operations: ['99-42=57', '57-15=42']
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[57, 69], Operations: ['99-42=57', '15+54=69']
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,27 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[54, 72], Operations: ['99-42=57', '15+57=72']
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,27 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[15, 99, 12], Operations: ['54-42=12']
Exploring Operation: 15+99=114, Resulting Numbers: [12, 114]
Generated Node #0,2,0: 27:[12, 114] Operation: 15+99=114
Exploring Operation: 99-12=87, Resulting Numbers: [15, 87]
Generated Node #0,2,1: 27:[15, 87] Operation: 99-12=87
Exploring Operation: 99-15=84, Resulting Numbers: [12, 84]
Generated Node #0,2,2: 27:[12, 84] Operation: 99-15=84
Exploring Operation: 15+12=27, Resulting Numbers: [99, 27]
Generated Node #0,2,3: 27:[99, 27] Operation: 15+12=27
Exploring Operation: 15-12=3, Resulting Numbers: [99, 3]
Generated Node #0,2,4: 27:[99, 3] Operation: 15-12=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[12, 84], Operations: ['54-42=12', '99-15=84']
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 12*84=1008, Resulting Numbers: [1008]
1008,27 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[15, 87], Operations: ['54-42=12', '99-12=87']
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,27 unequal: No Solution
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 27:[99, 27], Operations: ['54-42=12', '15+12=27']
Exploring Operation: 99*27=2673, Resulting Numbers: [2673]
2673,27 unequal: No Solution
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 27:[99, 3], Operations: ['54-42=12', '15-12=3']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[12, 114], Operations: ['54-42=12', '15+99=114']
Exploring Operation: 12+114=126, Resulting Numbers: [126]
126,27 unequal: No Solution
Exploring Operation: 114-12=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Exploring Operation: 12*114=1368, Resulting Numbers: [1368]
1368,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[99, 42, 39], Operations: ['54-15=39']
Exploring Operation: 99-42=57, Resulting Numbers: [39, 57]
Generated Node #0,1,0: 27:[39, 57] Operation: 99-42=57
Exploring Operation: 99+42=141, Resulting Numbers: [39, 141]
Generated Node #0,1,1: 27:[39, 141] Operation: 99+42=141
Exploring Operation: 42-39=3, Resulting Numbers: [99, 3]
Generated Node #0,1,2: 27:[99, 3] Operation: 42-39=3
Exploring Operation: 99-39=60, Resulting Numbers: [42, 60]
Generated Node #0,1,3: 27:[42, 60] Operation: 99-39=60
Exploring Operation: 99+39=138, Resulting Numbers: [42, 138]
Generated Node #0,1,4: 27:[42, 138] Operation: 99+39=138
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[39, 57], Operations: ['54-15=39', '99-42=57']
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 39*57=2223, Resulting Numbers: [2223]
2223,27 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 27:[42, 60], Operations: ['54-15=39', '99-39=60']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 42+60=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Exploring Operation: 42*60=2520, Resulting Numbers: [2520]
2520,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[99, 3], Operations: ['54-15=39', '42-39=3']
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,27 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[39, 141], Operations: ['54-15=39', '99+42=141']
Exploring Operation: 39*141=5499, Resulting Numbers: [5499]
5499,27 unequal: No Solution
Exploring Operation: 39+141=180, Resulting Numbers: [180]
180,27 unequal: No Solution
Exploring Operation: 141-39=102, Resulting Numbers: [102]
102,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 27:[42, 138], Operations: ['54-15=39', '99+39=138']
Exploring Operation: 138-42=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 42*138=5796, Resulting Numbers: [5796]
5796,27 unequal: No Solution
Exploring Operation: 42+138=180, Resulting Numbers: [180]
180,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[54, 42, 84], Operations: ['99-15=84']
Exploring Operation: 54+42=96, Resulting Numbers: [84, 96]
Generated Node #0,4,0: 27:[84, 96] Operation: 54+42=96
Exploring Operation: 84-42=42, Resulting Numbers: [54, 42]
Generated Node #0,4,1: 27:[54, 42] Operation: 84-42=42
Exploring Operation: 54-42=12, Resulting Numbers: [84, 12]
Generated Node #0,4,2: 27:[84, 12] Operation: 54-42=12
Exploring Operation: 84/42=2, Resulting Numbers: [54, 2]
Generated Node #0,4,3: 27:[54, 2] Operation: 84/42=2
Exploring Operation: 84-54=30, Resulting Numbers: [42, 30]
Generated Node #0,4,4: 27:[42, 30] Operation: 84-54=30
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 27:[42, 30], Operations: ['99-15=84', '84-54=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,27 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 27:[54, 2], Operations: ['99-15=84', '84/42=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[15, 99, 54, 42], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [54, 42, 84]
Generated Node #0,4: 27:[54, 42, 84] Operation: 99-15=84
Moving to Node #0,4
Current State: 27:[54, 42, 84], Operations: ['99-15=84']
Exploring Operation: 84/42=2, Resulting Numbers: [54, 2]
Generated Node #0,4,3: 27:[54, 2] Operation: 84/42=2
Moving to Node #0,4,3
Current State: 27:[54, 2], Operations: ['99-15=84', '84/42=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.909722 | hs_5 | sum_heuristic |
[
96,
63,
6,
54
] | 99 | [
"96+63=159",
"6+54=60",
"159-60=99"
] | Current State: 99:[96, 63, 6, 54], Operations: []
Exploring Operation: 96+63=159, Resulting Numbers: [6, 54, 159]
Generated Node #2: [6, 54, 159] from Operation: 96+63=159
Current State: 99:[6, 54, 159], Operations: ['96+63=159']
Exploring Operation: 6+54=60, Resulting Numbers: [159, 60]
Generated Node #3: [159, 60] from Operation: 6+54=60
Current State: 99:[159, 60], Operations: ['96+63=159', '6+54=60']
Exploring Operation: 159-60=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[96, 63, 6, 54], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [96, 6, 9]
Generated Node #0,0: 99:[96, 6, 9] Operation: 63-54=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[96, 6, 9], Operations: ['63-54=9']
Exploring Operation: 96+6=102, Resulting Numbers: [9, 102]
Generated Node #0,0,0: 99:[9, 102] Operation: 96+6=102
Moving to Node #0,0,0
Current State: 99:[9, 102], Operations: ['63-54=9', '96+6=102']
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
50,
8,
84
] | 70 | [
"68-8=60",
"50*84=4200",
"4200/60=70"
] | Current State: 70:[68, 50, 8, 84], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [50, 84, 60]
Generated Node #2: [50, 84, 60] from Operation: 68-8=60
Current State: 70:[50, 84, 60], Operations: ['68-8=60']
Exploring Operation: 50*84=4200, Resulting Numbers: [60, 4200]
Generated Node #3: [60, 4200] from Operation: 50*84=4200
Current State: 70:[60, 4200], Operations: ['68-8=60', '50*84=4200']
Exploring Operation: 4200/60=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 50, 8, 84], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [68, 8, 34]
Generated Node #0,0: 70:[68, 8, 34] Operation: 84-50=34
Exploring Operation: 84-68=16, Resulting Numbers: [50, 8, 16]
Generated Node #0,1: 70:[50, 8, 16] Operation: 84-68=16
Moving to Node #0,0
Current State: 70:[68, 8, 34], Operations: ['84-50=34']
Exploring Operation: 68/34=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 70:[8, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [8, 34]
Generated Node #0,0,1: 70:[8, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[8, 2], Operations: ['84-50=34', '68/34=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[8, 34], Operations: ['84-50=34', '68-34=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[50, 8, 16], Operations: ['84-68=16']
Exploring Operation: 50+16=66, Resulting Numbers: [8, 66]
Generated Node #0,1,0: 70:[8, 66] Operation: 50+16=66
Exploring Operation: 50-16=34, Resulting Numbers: [8, 34]
Generated Node #0,1,1: 70:[8, 34] Operation: 50-16=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[8, 34], Operations: ['84-68=16', '50-16=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[8, 66], Operations: ['84-68=16', '50+16=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,70 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 |
[
60,
48,
24,
15
] | 48 | [
"60*24=1440",
"1440/15=96",
"96-48=48"
] | Current State: 48:[60, 48, 24, 15], Operations: []
Exploring Operation: 60*24=1440, Resulting Numbers: [48, 15, 1440]
Generated Node #2: [48, 15, 1440] from Operation: 60*24=1440
Current State: 48:[48, 15, 1440], Operations: ['60*24=1440']
Exploring Operation: 1440/15=96, Resulting Numbers: [48, 96]
Generated Node #3: [48, 96] from Operation: 1440/15=96
Current State: 48:[48, 96], Operations: ['60*24=1440', '1440/15=96']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[60, 48, 24, 15], Operations: []
Exploring Operation: 60-15=45, Resulting Numbers: [48, 24, 45]
Generated Node #0,0: 48:[48, 24, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [48, 24, 4]
Generated Node #0,1: 48:[48, 24, 4] Operation: 60/15=4
Exploring Operation: 60-48=12, Resulting Numbers: [24, 15, 12]
Generated Node #0,2: 48:[24, 15, 12] Operation: 60-48=12
Exploring Operation: 60-24=36, Resulting Numbers: [48, 15, 36]
Generated Node #0,3: 48:[48, 15, 36] Operation: 60-24=36
Moving to Node #0,1
Current State: 48:[48, 24, 4], Operations: ['60/15=4']
Exploring Operation: 48-24=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 48:[4, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 48:[4, 2] Operation: 48/24=2
Exploring Operation: 48/4=12, Resulting Numbers: [24, 12]
Generated Node #0,1,2: 48:[24, 12] Operation: 48/4=12
Exploring Operation: 24/4=6, Resulting Numbers: [48, 6]
Generated Node #0,1,3: 48:[48, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[4, 24], Operations: ['60/15=4', '48-24=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,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,1,1
Current State: 48:[4, 2], Operations: ['60/15=4', '48/24=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,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,1,2
Current State: 48:[24, 12], Operations: ['60/15=4', '48/4=12']
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,48 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,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,1,3
Current State: 48:[48, 6], Operations: ['60/15=4', '24/4=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,48 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,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:[24, 15, 12], Operations: ['60-48=12']
Exploring Operation: 15-12=3, Resulting Numbers: [24, 3]
Generated Node #0,2,0: 48:[24, 3] Operation: 15-12=3
Exploring Operation: 24/12=2, Resulting Numbers: [15, 2]
Generated Node #0,2,1: 48:[15, 2] Operation: 24/12=2
Exploring Operation: 24-15=9, Resulting Numbers: [12, 9]
Generated Node #0,2,2: 48:[12, 9] Operation: 24-15=9
Exploring Operation: 24-12=12, Resulting Numbers: [15, 12]
Generated Node #0,2,3: 48:[15, 12] Operation: 24-12=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[24, 3], Operations: ['60-48=12', '15-12=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,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:[15, 2], Operations: ['60-48=12', '24/12=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,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:[12, 9], Operations: ['60-48=12', '24-15=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,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:[15, 12], Operations: ['60-48=12', '24-12=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,48 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: 48:[48, 24, 45], Operations: ['60-15=45']
Exploring Operation: 48-24=24, Resulting Numbers: [45, 24]
Generated Node #0,0,0: 48:[45, 24] Operation: 48-24=24
Exploring Operation: 48-45=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 48:[24, 3] Operation: 48-45=3
Exploring Operation: 48/24=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 48:[45, 2] Operation: 48/24=2
Exploring Operation: 45-24=21, Resulting Numbers: [48, 21]
Generated Node #0,0,3: 48:[48, 21] Operation: 45-24=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[24, 3], Operations: ['60-15=45', '48-45=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,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,0,0
Current State: 48:[45, 24], Operations: ['60-15=45', '48-24=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,48 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,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,0,2
Current State: 48:[45, 2], Operations: ['60-15=45', '48/24=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,48 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,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,0,3
Current State: 48:[48, 21], Operations: ['60-15=45', '45-24=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,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, 15, 36], Operations: ['60-24=36']
Exploring Operation: 36-15=21, Resulting Numbers: [48, 21]
Generated Node #0,3,0: 48:[48, 21] Operation: 36-15=21
Exploring Operation: 15+36=51, Resulting Numbers: [48, 51]
Generated Node #0,3,1: 48:[48, 51] Operation: 15+36=51
Exploring Operation: 48-15=33, Resulting Numbers: [36, 33]
Generated Node #0,3,2: 48:[36, 33] Operation: 48-15=33
Exploring Operation: 48-36=12, Resulting Numbers: [15, 12]
Generated Node #0,3,3: 48:[15, 12] Operation: 48-36=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[15, 12], Operations: ['60-24=36', '48-36=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,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,3,0
Current State: 48:[48, 21], Operations: ['60-24=36', '36-15=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,48 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,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,3,1
Current State: 48:[48, 51], Operations: ['60-24=36', '15+36=51']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,48 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,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,3,2
Current State: 48:[36, 33], Operations: ['60-24=36', '48-15=33']
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,48 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,48 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 |
[
78,
9,
76,
48
] | 97 | [
"78-9=69",
"76-48=28",
"69+28=97"
] | Current State: 97:[78, 9, 76, 48], Operations: []
Exploring Operation: 78-9=69, Resulting Numbers: [76, 48, 69]
Generated Node #2: [76, 48, 69] from Operation: 78-9=69
Current State: 97:[76, 48, 69], Operations: ['78-9=69']
Exploring Operation: 76-48=28, Resulting Numbers: [69, 28]
Generated Node #3: [69, 28] from Operation: 76-48=28
Current State: 97:[69, 28], Operations: ['78-9=69', '76-48=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[78, 9, 76, 48], Operations: []
Exploring Operation: 78+9=87, Resulting Numbers: [76, 48, 87]
Generated Node #0,0: 97:[76, 48, 87] Operation: 78+9=87
Moving to Node #0,0
Current State: 97:[76, 48, 87], Operations: ['78+9=87']
Exploring Operation: 76+48=124, Resulting Numbers: [87, 124]
Generated Node #0,0,0: 97:[87, 124] Operation: 76+48=124
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[87, 124], Operations: ['78+9=87', '76+48=124']
Exploring Operation: 124-87=37, Resulting Numbers: [37]
37,97 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 |
[
65,
7,
37,
79
] | 16 | [
"65-7=58",
"79-37=42",
"58-42=16"
] | Current State: 16:[65, 7, 37, 79], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [37, 79, 58]
Generated Node #2: [37, 79, 58] from Operation: 65-7=58
Current State: 16:[37, 79, 58], Operations: ['65-7=58']
Exploring Operation: 79-37=42, Resulting Numbers: [58, 42]
Generated Node #3: [58, 42] from Operation: 79-37=42
Current State: 16:[58, 42], Operations: ['65-7=58', '79-37=42']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[65, 7, 37, 79], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [37, 79, 58]
Generated Node #0,0: 16:[37, 79, 58] Operation: 65-7=58
Exploring Operation: 79-65=14, Resulting Numbers: [7, 37, 14]
Generated Node #0,1: 16:[7, 37, 14] Operation: 79-65=14
Exploring Operation: 79-37=42, Resulting Numbers: [65, 7, 42]
Generated Node #0,2: 16:[65, 7, 42] Operation: 79-37=42
Exploring Operation: 65-37=28, Resulting Numbers: [7, 79, 28]
Generated Node #0,3: 16:[7, 79, 28] Operation: 65-37=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[7, 37, 14], Operations: ['79-65=14']
Exploring Operation: 37-7=30, Resulting Numbers: [14, 30]
Generated Node #0,1,0: 16:[14, 30] Operation: 37-7=30
Exploring Operation: 14/7=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 16:[37, 2] Operation: 14/7=2
Exploring Operation: 37-14=23, Resulting Numbers: [7, 23]
Generated Node #0,1,2: 16:[7, 23] Operation: 37-14=23
Exploring Operation: 14-7=7, Resulting Numbers: [37, 7]
Generated Node #0,1,3: 16:[37, 7] Operation: 14-7=7
Moving to Node #0,1,2
Current State: 16:[7, 23], Operations: ['79-65=14', '37-14=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[65, 7, 37, 79], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [7, 37, 14]
Generated Node #0,1: 16:[7, 37, 14] Operation: 79-65=14
Moving to Node #0,1
Current State: 16:[7, 37, 14], Operations: ['79-65=14']
Exploring Operation: 37-14=23, Resulting Numbers: [7, 23]
Generated Node #0,1,2: 16:[7, 23] Operation: 37-14=23
Moving to Node #0,1,2
Current State: 16:[7, 23], Operations: ['79-65=14', '37-14=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.