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 |
|---|---|---|---|---|---|---|---|---|
[
25,
32,
11,
18
] | 98 | [
"25*18=450",
"32*11=352",
"450-352=98"
] | Current State: 98:[25, 32, 11, 18], Operations: []
Exploring Operation: 25*18=450, Resulting Numbers: [32, 11, 450]
Generated Node #2: [32, 11, 450] from Operation: 25*18=450
Current State: 98:[32, 11, 450], Operations: ['25*18=450']
Exploring Operation: 32*11=352, Resulting Numbers: [450, 352]
Generated Node #3: [450, 352] from Operation: 32*11=352
Current State: 98:[450, 352], Operations: ['25*18=450', '32*11=352']
Exploring Operation: 450-352=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[25, 32, 11, 18], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [25, 11, 14]
Generated Node #0,0: 98:[25, 11, 14] Operation: 32-18=14
Exploring Operation: 32-25=7, Resulting Numbers: [11, 18, 7]
Generated Node #0,1: 98:[11, 18, 7] Operation: 32-25=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[11, 18, 7], Operations: ['32-25=7']
Exploring Operation: 18-11=7, Resulting Numbers: [7, 7]
Generated Node #0,1,0: 98:[7, 7] Operation: 18-11=7
Exploring Operation: 11-7=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 98:[18, 4] Operation: 11-7=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[7, 7], Operations: ['32-25=7', '18-11=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No 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: 98:[18, 4], Operations: ['32-25=7', '11-7=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,98 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: 98:[25, 11, 14], Operations: ['32-18=14']
Exploring Operation: 25-11=14, Resulting Numbers: [14, 14]
Generated Node #0,0,0: 98:[14, 14] Operation: 25-11=14
Exploring Operation: 25-14=11, Resulting Numbers: [11, 11]
Generated Node #0,0,1: 98:[11, 11] Operation: 25-14=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[14, 14], Operations: ['32-18=14', '25-11=14']
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,98 unequal: No Solution
No 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: 98:[11, 11], Operations: ['32-18=14', '25-14=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,98 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 |
[
65,
68,
8,
29
] | 40 | [
"68-65=3",
"8+29=37",
"3+37=40"
] | Current State: 40:[65, 68, 8, 29], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [8, 29, 3]
Generated Node #2: [8, 29, 3] from Operation: 68-65=3
Current State: 40:[8, 29, 3], Operations: ['68-65=3']
Exploring Operation: 8+29=37, Resulting Numbers: [3, 37]
Generated Node #3: [3, 37] from Operation: 8+29=37
Current State: 40:[3, 37], Operations: ['68-65=3', '8+29=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[65, 68, 8, 29], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [65, 8, 39]
Generated Node #0,0: 40:[65, 8, 39] Operation: 68-29=39
Exploring Operation: 65-8=57, Resulting Numbers: [68, 29, 57]
Generated Node #0,1: 40:[68, 29, 57] Operation: 65-8=57
Exploring Operation: 68-65=3, Resulting Numbers: [8, 29, 3]
Generated Node #0,2: 40:[8, 29, 3] Operation: 68-65=3
Exploring Operation: 65-29=36, Resulting Numbers: [68, 8, 36]
Generated Node #0,3: 40:[68, 8, 36] Operation: 65-29=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[8, 29, 3], Operations: ['68-65=3']
Exploring Operation: 29+3=32, Resulting Numbers: [8, 32]
Generated Node #0,2,0: 40:[8, 32] Operation: 29+3=32
Exploring Operation: 8+29=37, Resulting Numbers: [3, 37]
Generated Node #0,2,1: 40:[3, 37] Operation: 8+29=37
Exploring Operation: 29-3=26, Resulting Numbers: [8, 26]
Generated Node #0,2,2: 40:[8, 26] Operation: 29-3=26
Exploring Operation: 29-8=21, Resulting Numbers: [3, 21]
Generated Node #0,2,3: 40:[3, 21] Operation: 29-8=21
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 40:[3, 21], Operations: ['68-65=3', '29-8=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,40 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[3, 37], Operations: ['68-65=3', '8+29=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[65, 68, 8, 29], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [8, 29, 3]
Generated Node #0,2: 40:[8, 29, 3] Operation: 68-65=3
Moving to Node #0,2
Current State: 40:[8, 29, 3], Operations: ['68-65=3']
Exploring Operation: 8+29=37, Resulting Numbers: [3, 37]
Generated Node #0,2,1: 40:[3, 37] Operation: 8+29=37
Moving to Node #0,2,1
Current State: 40:[3, 37], Operations: ['68-65=3', '8+29=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
74,
19,
52,
9
] | 98 | [
"74-19=55",
"52-9=43",
"55+43=98"
] | Current State: 98:[74, 19, 52, 9], Operations: []
Exploring Operation: 74-19=55, Resulting Numbers: [52, 9, 55]
Generated Node #2: [52, 9, 55] from Operation: 74-19=55
Current State: 98:[52, 9, 55], Operations: ['74-19=55']
Exploring Operation: 52-9=43, Resulting Numbers: [55, 43]
Generated Node #3: [55, 43] from Operation: 52-9=43
Current State: 98:[55, 43], Operations: ['74-19=55', '52-9=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[74, 19, 52, 9], Operations: []
Exploring Operation: 74+19=93, Resulting Numbers: [52, 9, 93]
Generated Node #0,0: 98:[52, 9, 93] Operation: 74+19=93
Exploring Operation: 74-52=22, Resulting Numbers: [19, 9, 22]
Generated Node #0,1: 98:[19, 9, 22] Operation: 74-52=22
Exploring Operation: 74+9=83, Resulting Numbers: [19, 52, 83]
Generated Node #0,2: 98:[19, 52, 83] Operation: 74+9=83
Exploring Operation: 74-19=55, Resulting Numbers: [52, 9, 55]
Generated Node #0,3: 98:[52, 9, 55] Operation: 74-19=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[52, 9, 93], Operations: ['74+19=93']
Exploring Operation: 9+93=102, Resulting Numbers: [52, 102]
Generated Node #0,0,0: 98:[52, 102] Operation: 9+93=102
Exploring Operation: 52-9=43, Resulting Numbers: [93, 43]
Generated Node #0,0,1: 98:[93, 43] Operation: 52-9=43
Exploring Operation: 93-52=41, Resulting Numbers: [9, 41]
Generated Node #0,0,2: 98:[9, 41] Operation: 93-52=41
Exploring Operation: 52+9=61, Resulting Numbers: [93, 61]
Generated Node #0,0,3: 98:[93, 61] Operation: 52+9=61
Moving to Node #0,0,0
Current State: 98:[52, 102], Operations: ['74+19=93', '9+93=102']
Exploring Operation: 52+102=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 52*102=5304, Resulting Numbers: [5304]
5304,98 unequal: No Solution
Exploring Operation: 102-52=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[9, 41], Operations: ['74+19=93', '93-52=41']
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,98 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[93, 43], Operations: ['74+19=93', '52-9=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,98 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[93, 61], Operations: ['74+19=93', '52+9=61']
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,98 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,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
Current State: 98:[52, 9, 55], Operations: ['74-19=55']
Exploring Operation: 52-9=43, Resulting Numbers: [55, 43]
Generated Node #0,3,0: 98:[55, 43] Operation: 52-9=43
Exploring Operation: 52+55=107, Resulting Numbers: [9, 107]
Generated Node #0,3,1: 98:[9, 107] Operation: 52+55=107
Exploring Operation: 55-9=46, Resulting Numbers: [52, 46]
Generated Node #0,3,2: 98:[52, 46] Operation: 55-9=46
Exploring Operation: 55-52=3, Resulting Numbers: [9, 3]
Generated Node #0,3,3: 98:[9, 3] Operation: 55-52=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[9, 3], Operations: ['74-19=55', '55-52=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No 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: 98:[52, 46], Operations: ['74-19=55', '55-9=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[74, 19, 52, 9], Operations: []
Exploring Operation: 74-19=55, Resulting Numbers: [52, 9, 55]
Generated Node #0,3: 98:[52, 9, 55] Operation: 74-19=55
Moving to Node #0,3
Current State: 98:[52, 9, 55], Operations: ['74-19=55']
Exploring Operation: 55-9=46, Resulting Numbers: [52, 46]
Generated Node #0,3,2: 98:[52, 46] Operation: 55-9=46
Moving to Node #0,3,2
Current State: 98:[52, 46], Operations: ['74-19=55', '55-9=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
99,
96,
98,
90
] | 54 | [
"98-96=2",
"90/2=45",
"99-45=54"
] | Current State: 54:[99, 96, 98, 90], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [99, 90, 2]
Generated Node #2: [99, 90, 2] from Operation: 98-96=2
Current State: 54:[99, 90, 2], Operations: ['98-96=2']
Exploring Operation: 90/2=45, Resulting Numbers: [99, 45]
Generated Node #3: [99, 45] from Operation: 90/2=45
Current State: 54:[99, 45], Operations: ['98-96=2', '90/2=45']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[99, 96, 98, 90], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [99, 90, 2]
Generated Node #0,0: 54:[99, 90, 2] Operation: 98-96=2
Exploring Operation: 99-98=1, Resulting Numbers: [96, 90, 1]
Generated Node #0,1: 54:[96, 90, 1] Operation: 99-98=1
Exploring Operation: 99-90=9, Resulting Numbers: [96, 98, 9]
Generated Node #0,2: 54:[96, 98, 9] Operation: 99-90=9
Exploring Operation: 99-96=3, Resulting Numbers: [98, 90, 3]
Generated Node #0,3: 54:[98, 90, 3] Operation: 99-96=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[96, 90, 1], Operations: ['99-98=1']
Exploring Operation: 96*1=96, Resulting Numbers: [90, 96]
Generated Node #0,1,0: 54:[90, 96] Operation: 96*1=96
Exploring Operation: 96-1=95, Resulting Numbers: [90, 95]
Generated Node #0,1,1: 54:[90, 95] Operation: 96-1=95
Exploring Operation: 96-90=6, Resulting Numbers: [1, 6]
Generated Node #0,1,2: 54:[1, 6] Operation: 96-90=6
Exploring Operation: 90-1=89, Resulting Numbers: [96, 89]
Generated Node #0,1,3: 54:[96, 89] Operation: 90-1=89
Moving to Node #0,1,2
Current State: 54:[1, 6], Operations: ['99-98=1', '96-90=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[96, 89], Operations: ['99-98=1', '90-1=89']
Exploring Operation: 96+89=185, Resulting Numbers: [185]
185,54 unequal: No Solution
Exploring Operation: 96*89=8544, Resulting Numbers: [8544]
8544,54 unequal: No Solution
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[90, 95], Operations: ['99-98=1', '96-1=95']
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,54 unequal: No Solution
Exploring Operation: 90*95=8550, Resulting Numbers: [8550]
8550,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[90, 96], Operations: ['99-98=1', '96*1=96']
Exploring Operation: 90+96=186, Resulting Numbers: [186]
186,54 unequal: No Solution
Exploring Operation: 90*96=8640, Resulting Numbers: [8640]
8640,54 unequal: No Solution
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[98, 90, 3], Operations: ['99-96=3']
Exploring Operation: 90/3=30, Resulting Numbers: [98, 30]
Generated Node #0,3,0: 54:[98, 30] Operation: 90/3=30
Exploring Operation: 90-3=87, Resulting Numbers: [98, 87]
Generated Node #0,3,1: 54:[98, 87] Operation: 90-3=87
Exploring Operation: 98-90=8, Resulting Numbers: [3, 8]
Generated Node #0,3,2: 54:[3, 8] Operation: 98-90=8
Exploring Operation: 98-3=95, Resulting Numbers: [90, 95]
Generated Node #0,3,3: 54:[90, 95] Operation: 98-3=95
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[3, 8], Operations: ['99-96=3', '98-90=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No 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: 54:[98, 30], Operations: ['99-96=3', '90/3=30']
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,54 unequal: No Solution
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,54 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,54 unequal: No Solution
No 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: 54:[98, 87], Operations: ['99-96=3', '90-3=87']
Exploring Operation: 98*87=8526, Resulting Numbers: [8526]
8526,54 unequal: No Solution
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 98+87=185, Resulting Numbers: [185]
185,54 unequal: No Solution
No 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: 54:[90, 95], Operations: ['99-96=3', '98-3=95']
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,54 unequal: No Solution
Exploring Operation: 90*95=8550, Resulting Numbers: [8550]
8550,54 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: 54:[99, 90, 2], Operations: ['98-96=2']
Exploring Operation: 90/2=45, Resulting Numbers: [99, 45]
Generated Node #0,0,0: 54:[99, 45] Operation: 90/2=45
Exploring Operation: 99-2=97, Resulting Numbers: [90, 97]
Generated Node #0,0,1: 54:[90, 97] Operation: 99-2=97
Exploring Operation: 90-2=88, Resulting Numbers: [99, 88]
Generated Node #0,0,2: 54:[99, 88] Operation: 90-2=88
Exploring Operation: 99-90=9, Resulting Numbers: [2, 9]
Generated Node #0,0,3: 54:[2, 9] Operation: 99-90=9
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 54:[2, 9], Operations: ['98-96=2', '99-90=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,54 unequal: No Solution
No 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: 54:[99, 45], Operations: ['98-96=2', '90/2=45']
Exploring Operation: 99*45=4455, Resulting Numbers: [4455]
4455,54 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[99, 96, 98, 90], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [99, 90, 2]
Generated Node #0,0: 54:[99, 90, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 54:[99, 90, 2], Operations: ['98-96=2']
Exploring Operation: 90/2=45, Resulting Numbers: [99, 45]
Generated Node #0,0,0: 54:[99, 45] Operation: 90/2=45
Moving to Node #0,0,0
Current State: 54:[99, 45], Operations: ['98-96=2', '90/2=45']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
9,
2,
2,
42
] | 66 | [
"9*2=18",
"2*42=84",
"84-18=66"
] | Current State: 66:[9, 2, 2, 42], Operations: []
Exploring Operation: 9*2=18, Resulting Numbers: [42, 18]
Generated Node #2: [42, 18] from Operation: 9*2=18
Current State: 66:[42, 18], Operations: ['9*2=18']
Exploring Operation: 2*42=84, Resulting Numbers: [18, 84]
Generated Node #3: [18, 84] from Operation: 2*42=84
Current State: 66:[18, 84], Operations: ['9*2=18', '2*42=84']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[9, 2, 2, 42], Operations: []
Exploring Operation: 42-9=33, Resulting Numbers: [2, 2, 33]
Generated Node #0,0: 66:[2, 2, 33] Operation: 42-9=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[2, 2, 33], Operations: ['42-9=33']
Exploring Operation: 2*33=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 66:[2, 66] Operation: 2*33=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[2, 66], Operations: ['42-9=33', '2*33=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
71,
29,
76
] | 95 | [
"76-71=5",
"29*5=145",
"145-50=95"
] | Current State: 95:[50, 71, 29, 76], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [50, 29, 5]
Generated Node #2: [50, 29, 5] from Operation: 76-71=5
Current State: 95:[50, 29, 5], Operations: ['76-71=5']
Exploring Operation: 29*5=145, Resulting Numbers: [50, 145]
Generated Node #3: [50, 145] from Operation: 29*5=145
Current State: 95:[50, 145], Operations: ['76-71=5', '29*5=145']
Exploring Operation: 145-50=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[50, 71, 29, 76], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [50, 29, 5]
Generated Node #0,0: 95:[50, 29, 5] Operation: 76-71=5
Exploring Operation: 71-50=21, Resulting Numbers: [29, 76, 21]
Generated Node #0,1: 95:[29, 76, 21] Operation: 71-50=21
Exploring Operation: 76-50=26, Resulting Numbers: [71, 29, 26]
Generated Node #0,2: 95:[71, 29, 26] Operation: 76-50=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[29, 76, 21], Operations: ['71-50=21']
Exploring Operation: 29-21=8, Resulting Numbers: [76, 8]
Generated Node #0,1,0: 95:[76, 8] Operation: 29-21=8
Exploring Operation: 29+76=105, Resulting Numbers: [21, 105]
Generated Node #0,1,1: 95:[21, 105] Operation: 29+76=105
Exploring Operation: 76+21=97, Resulting Numbers: [29, 97]
Generated Node #0,1,2: 95:[29, 97] Operation: 76+21=97
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[21, 105], Operations: ['71-50=21', '29+76=105']
Exploring Operation: 21+105=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 105/21=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 105-21=84, Resulting Numbers: [84]
84,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[29, 97], Operations: ['71-50=21', '76+21=97']
Exploring Operation: 29+97=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 29*97=2813, Resulting Numbers: [2813]
2813,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[76, 8], Operations: ['71-50=21', '29-21=8']
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,95 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[50, 29, 5], Operations: ['76-71=5']
Exploring Operation: 50-29=21, Resulting Numbers: [5, 21]
Generated Node #0,0,0: 95:[5, 21] Operation: 50-29=21
Exploring Operation: 50/5=10, Resulting Numbers: [29, 10]
Generated Node #0,0,1: 95:[29, 10] Operation: 50/5=10
Exploring Operation: 50+29=79, Resulting Numbers: [5, 79]
Generated Node #0,0,2: 95:[5, 79] Operation: 50+29=79
Moving to Node #0,0,0
Current State: 95:[5, 21], Operations: ['76-71=5', '50-29=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[29, 10], Operations: ['76-71=5', '50/5=10']
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,95 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[5, 79], Operations: ['76-71=5', '50+29=79']
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,95 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[71, 29, 26], Operations: ['76-50=26']
Exploring Operation: 29-26=3, Resulting Numbers: [71, 3]
Generated Node #0,2,0: 95:[71, 3] Operation: 29-26=3
Exploring Operation: 71+26=97, Resulting Numbers: [29, 97]
Generated Node #0,2,1: 95:[29, 97] Operation: 71+26=97
Exploring Operation: 71+29=100, Resulting Numbers: [26, 100]
Generated Node #0,2,2: 95:[26, 100] Operation: 71+29=100
Moving to Node #0,2,1
Current State: 95:[29, 97], Operations: ['76-50=26', '71+26=97']
Exploring Operation: 29*97=2813, Resulting Numbers: [2813]
2813,95 unequal: No Solution
Exploring Operation: 29+97=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[26, 100], Operations: ['76-50=26', '71+29=100']
Exploring Operation: 26*100=2600, Resulting Numbers: [2600]
2600,95 unequal: No Solution
Exploring Operation: 100-26=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 26+100=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[71, 3], Operations: ['76-50=26', '29-26=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,95 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
77,
71,
40
] | 41 | [
"87-77=10",
"71-40=31",
"10+31=41"
] | Current State: 41:[87, 77, 71, 40], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [71, 40, 10]
Generated Node #2: [71, 40, 10] from Operation: 87-77=10
Current State: 41:[71, 40, 10], Operations: ['87-77=10']
Exploring Operation: 71-40=31, Resulting Numbers: [10, 31]
Generated Node #3: [10, 31] from Operation: 71-40=31
Current State: 41:[10, 31], Operations: ['87-77=10', '71-40=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[87, 77, 71, 40], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [77, 40, 16]
Generated Node #0,0: 41:[77, 40, 16] Operation: 87-71=16
Exploring Operation: 87-77=10, Resulting Numbers: [71, 40, 10]
Generated Node #0,1: 41:[71, 40, 10] Operation: 87-77=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[77, 40, 16], Operations: ['87-71=16']
Exploring Operation: 77-40=37, Resulting Numbers: [16, 37]
Generated Node #0,0,0: 41:[16, 37] Operation: 77-40=37
Exploring Operation: 77-16=61, Resulting Numbers: [40, 61]
Generated Node #0,0,1: 41:[40, 61] Operation: 77-16=61
Moving to Node #0,0,1
Current State: 41:[40, 61], Operations: ['87-71=16', '77-16=61']
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[16, 37], Operations: ['87-71=16', '77-40=37']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,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,1
Current State: 41:[71, 40, 10], Operations: ['87-77=10']
Exploring Operation: 71-10=61, Resulting Numbers: [40, 61]
Generated Node #0,1,0: 41:[40, 61] Operation: 71-10=61
Exploring Operation: 40+10=50, Resulting Numbers: [71, 50]
Generated Node #0,1,1: 41:[71, 50] Operation: 40+10=50
Moving to Node #0,1,0
Current State: 41:[40, 61], Operations: ['87-77=10', '71-10=61']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[71, 50], Operations: ['87-77=10', '40+10=50']
Exploring Operation: 71+50=121, Resulting Numbers: [121]
121,41 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,41 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 |
[
8,
35,
85,
13
] | 55 | [
"8+35=43",
"85+13=98",
"98-43=55"
] | Current State: 55:[8, 35, 85, 13], Operations: []
Exploring Operation: 8+35=43, Resulting Numbers: [85, 13, 43]
Generated Node #2: [85, 13, 43] from Operation: 8+35=43
Current State: 55:[85, 13, 43], Operations: ['8+35=43']
Exploring Operation: 85+13=98, Resulting Numbers: [43, 98]
Generated Node #3: [43, 98] from Operation: 85+13=98
Current State: 55:[43, 98], Operations: ['8+35=43', '85+13=98']
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[8, 35, 85, 13], Operations: []
Exploring Operation: 85-35=50, Resulting Numbers: [8, 13, 50]
Generated Node #0,0: 55:[8, 13, 50] Operation: 85-35=50
Exploring Operation: 35+13=48, Resulting Numbers: [8, 85, 48]
Generated Node #0,1: 55:[8, 85, 48] Operation: 35+13=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[8, 13, 50], Operations: ['85-35=50']
Exploring Operation: 13-8=5, Resulting Numbers: [50, 5]
Generated Node #0,0,0: 55:[50, 5] Operation: 13-8=5
Exploring Operation: 8+50=58, Resulting Numbers: [13, 58]
Generated Node #0,0,1: 55:[13, 58] Operation: 8+50=58
Moving to Node #0,0,0
Current State: 55:[50, 5], Operations: ['85-35=50', '13-8=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[8, 35, 85, 13], Operations: []
Exploring Operation: 85-35=50, Resulting Numbers: [8, 13, 50]
Generated Node #0,0: 55:[8, 13, 50] Operation: 85-35=50
Moving to Node #0,0
Current State: 55:[8, 13, 50], Operations: ['85-35=50']
Exploring Operation: 13-8=5, Resulting Numbers: [50, 5]
Generated Node #0,0,0: 55:[50, 5] Operation: 13-8=5
Moving to Node #0,0,0
Current State: 55:[50, 5], Operations: ['85-35=50', '13-8=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
54,
27,
29,
11
] | 20 | [
"54/27=2",
"29+11=40",
"40/2=20"
] | Current State: 20:[54, 27, 29, 11], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [29, 11, 2]
Generated Node #2: [29, 11, 2] from Operation: 54/27=2
Current State: 20:[29, 11, 2], Operations: ['54/27=2']
Exploring Operation: 29+11=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 29+11=40
Current State: 20:[2, 40], Operations: ['54/27=2', '29+11=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[54, 27, 29, 11], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [29, 11, 2]
Generated Node #0,0: 20:[29, 11, 2] Operation: 54/27=2
Moving to Node #0,0
Current State: 20:[29, 11, 2], Operations: ['54/27=2']
Exploring Operation: 29-11=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 20:[2, 18] Operation: 29-11=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[2, 18], Operations: ['54/27=2', '29-11=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[54, 27, 29, 11], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [29, 11, 2]
Generated Node #0,0: 20:[29, 11, 2] Operation: 54/27=2
Moving to Node #0,0
Current State: 20:[29, 11, 2], Operations: ['54/27=2']
Exploring Operation: 29-11=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 20:[2, 18] Operation: 29-11=18
Moving to Node #0,0,0
Current State: 20:[2, 18], Operations: ['54/27=2', '29-11=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
61,
63,
81,
3
] | 67 | [
"81-63=18",
"18/3=6",
"61+6=67"
] | Current State: 67:[61, 63, 81, 3], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [61, 3, 18]
Generated Node #2: [61, 3, 18] from Operation: 81-63=18
Current State: 67:[61, 3, 18], Operations: ['81-63=18']
Exploring Operation: 18/3=6, Resulting Numbers: [61, 6]
Generated Node #3: [61, 6] from Operation: 18/3=6
Current State: 67:[61, 6], Operations: ['81-63=18', '18/3=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[61, 63, 81, 3], Operations: []
Exploring Operation: 81-3=78, Resulting Numbers: [61, 63, 78]
Generated Node #0,0: 67:[61, 63, 78] Operation: 81-3=78
Exploring Operation: 61-3=58, Resulting Numbers: [63, 81, 58]
Generated Node #0,1: 67:[63, 81, 58] Operation: 61-3=58
Exploring Operation: 61+3=64, Resulting Numbers: [63, 81, 64]
Generated Node #0,2: 67:[63, 81, 64] Operation: 61+3=64
Exploring Operation: 63+3=66, Resulting Numbers: [61, 81, 66]
Generated Node #0,3: 67:[61, 81, 66] Operation: 63+3=66
Moving to Node #0,0
Current State: 67:[61, 63, 78], Operations: ['81-3=78']
Exploring Operation: 61+63=124, Resulting Numbers: [78, 124]
Generated Node #0,0,0: 67:[78, 124] Operation: 61+63=124
Exploring Operation: 63-61=2, Resulting Numbers: [78, 2]
Generated Node #0,0,1: 67:[78, 2] Operation: 63-61=2
Exploring Operation: 78-61=17, Resulting Numbers: [63, 17]
Generated Node #0,0,2: 67:[63, 17] Operation: 78-61=17
Exploring Operation: 78-63=15, Resulting Numbers: [61, 15]
Generated Node #0,0,3: 67:[61, 15] Operation: 78-63=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[63, 17], Operations: ['81-3=78', '78-61=17']
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,67 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,67 unequal: No Solution
No 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: 67:[61, 15], Operations: ['81-3=78', '78-63=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,67 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No 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: 67:[78, 124], Operations: ['81-3=78', '61+63=124']
Exploring Operation: 78*124=9672, Resulting Numbers: [9672]
9672,67 unequal: No Solution
Exploring Operation: 124-78=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 78+124=202, Resulting Numbers: [202]
202,67 unequal: No Solution
No 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: 67:[78, 2], Operations: ['81-3=78', '63-61=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,67 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,67 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: 67:[61, 81, 66], Operations: ['63+3=66']
Exploring Operation: 81-61=20, Resulting Numbers: [66, 20]
Generated Node #0,3,0: 67:[66, 20] Operation: 81-61=20
Exploring Operation: 81-66=15, Resulting Numbers: [61, 15]
Generated Node #0,3,1: 67:[61, 15] Operation: 81-66=15
Exploring Operation: 61+81=142, Resulting Numbers: [66, 142]
Generated Node #0,3,2: 67:[66, 142] Operation: 61+81=142
Exploring Operation: 61+66=127, Resulting Numbers: [81, 127]
Generated Node #0,3,3: 67:[81, 127] Operation: 61+66=127
Moving to Node #0,2
Current State: 67:[63, 81, 64], Operations: ['61+3=64']
Exploring Operation: 63+64=127, Resulting Numbers: [81, 127]
Generated Node #0,2,0: 67:[81, 127] Operation: 63+64=127
Exploring Operation: 81-63=18, Resulting Numbers: [64, 18]
Generated Node #0,2,1: 67:[64, 18] Operation: 81-63=18
Exploring Operation: 81-64=17, Resulting Numbers: [63, 17]
Generated Node #0,2,2: 67:[63, 17] Operation: 81-64=17
Exploring Operation: 63+81=144, Resulting Numbers: [64, 144]
Generated Node #0,2,3: 67:[64, 144] Operation: 63+81=144
Moving to Node #0,1
Current State: 67:[63, 81, 58], Operations: ['61-3=58']
Exploring Operation: 81-58=23, Resulting Numbers: [63, 23]
Generated Node #0,1,0: 67:[63, 23] Operation: 81-58=23
Exploring Operation: 63-58=5, Resulting Numbers: [81, 5]
Generated Node #0,1,1: 67:[81, 5] Operation: 63-58=5
Exploring Operation: 81-63=18, Resulting Numbers: [58, 18]
Generated Node #0,1,2: 67:[58, 18] Operation: 81-63=18
Exploring Operation: 63+58=121, Resulting Numbers: [81, 121]
Generated Node #0,1,3: 67:[81, 121] Operation: 63+58=121
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[63, 23], Operations: ['61-3=58', '81-58=23']
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,67 unequal: No Solution
No 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: 67:[58, 18], Operations: ['61-3=58', '81-63=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,67 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No 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: 67:[81, 121], Operations: ['61-3=58', '63+58=121']
Exploring Operation: 81*121=9801, Resulting Numbers: [9801]
9801,67 unequal: No Solution
Exploring Operation: 81+121=202, Resulting Numbers: [202]
202,67 unequal: No Solution
Exploring Operation: 121-81=40, Resulting Numbers: [40]
40,67 unequal: No Solution
No 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: 67:[81, 5], Operations: ['61-3=58', '63-58=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 67:[66, 20], Operations: ['63+3=66', '81-61=20']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,67 unequal: No Solution
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[64, 18], Operations: ['61+3=64', '81-63=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[63, 17], Operations: ['61+3=64', '81-64=17']
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,67 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[61, 15], Operations: ['63+3=66', '81-66=15']
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[81, 127], Operations: ['63+3=66', '61+66=127']
Exploring Operation: 81*127=10287, Resulting Numbers: [10287]
10287,67 unequal: No Solution
Exploring Operation: 127-81=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 81+127=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[81, 127], Operations: ['61+3=64', '63+64=127']
Exploring Operation: 127-81=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 81+127=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 81*127=10287, Resulting Numbers: [10287]
10287,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[66, 142], Operations: ['63+3=66', '61+81=142']
Exploring Operation: 142-66=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 66*142=9372, Resulting Numbers: [9372]
9372,67 unequal: No Solution
Exploring Operation: 66+142=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[64, 144], Operations: ['61+3=64', '63+81=144']
Exploring Operation: 64*144=9216, Resulting Numbers: [9216]
9216,67 unequal: No Solution
Exploring Operation: 144-64=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 64+144=208, Resulting Numbers: [208]
208,67 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
51,
77,
84,
30
] | 74 | [
"51+77=128",
"84-30=54",
"128-54=74"
] | Current State: 74:[51, 77, 84, 30], Operations: []
Exploring Operation: 51+77=128, Resulting Numbers: [84, 30, 128]
Generated Node #2: [84, 30, 128] from Operation: 51+77=128
Current State: 74:[84, 30, 128], Operations: ['51+77=128']
Exploring Operation: 84-30=54, Resulting Numbers: [128, 54]
Generated Node #3: [128, 54] from Operation: 84-30=54
Current State: 74:[128, 54], Operations: ['51+77=128', '84-30=54']
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[51, 77, 84, 30], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [77, 30, 33]
Generated Node #0,0: 74:[77, 30, 33] Operation: 84-51=33
Exploring Operation: 84-77=7, Resulting Numbers: [51, 30, 7]
Generated Node #0,1: 74:[51, 30, 7] Operation: 84-77=7
Exploring Operation: 77-51=26, Resulting Numbers: [84, 30, 26]
Generated Node #0,2: 74:[84, 30, 26] Operation: 77-51=26
Exploring Operation: 51+30=81, Resulting Numbers: [77, 84, 81]
Generated Node #0,3: 74:[77, 84, 81] Operation: 51+30=81
Moving to Node #0,0
Current State: 74:[77, 30, 33], Operations: ['84-51=33']
Exploring Operation: 30+33=63, Resulting Numbers: [77, 63]
Generated Node #0,0,0: 74:[77, 63] Operation: 30+33=63
Exploring Operation: 77-33=44, Resulting Numbers: [30, 44]
Generated Node #0,0,1: 74:[30, 44] Operation: 77-33=44
Exploring Operation: 33-30=3, Resulting Numbers: [77, 3]
Generated Node #0,0,2: 74:[77, 3] Operation: 33-30=3
Exploring Operation: 77-30=47, Resulting Numbers: [33, 47]
Generated Node #0,0,3: 74:[33, 47] Operation: 77-30=47
Moving to Node #0,3
Current State: 74:[77, 84, 81], Operations: ['51+30=81']
Exploring Operation: 84-81=3, Resulting Numbers: [77, 3]
Generated Node #0,3,0: 74:[77, 3] Operation: 84-81=3
Exploring Operation: 81-77=4, Resulting Numbers: [84, 4]
Generated Node #0,3,1: 74:[84, 4] Operation: 81-77=4
Exploring Operation: 77+84=161, Resulting Numbers: [81, 161]
Generated Node #0,3,2: 74:[81, 161] Operation: 77+84=161
Exploring Operation: 84-77=7, Resulting Numbers: [81, 7]
Generated Node #0,3,3: 74:[81, 7] Operation: 84-77=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[77, 3], Operations: ['51+30=81', '84-81=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[51, 77, 84, 30], Operations: []
Exploring Operation: 51+30=81, Resulting Numbers: [77, 84, 81]
Generated Node #0,3: 74:[77, 84, 81] Operation: 51+30=81
Moving to Node #0,3
Current State: 74:[77, 84, 81], Operations: ['51+30=81']
Exploring Operation: 84-81=3, Resulting Numbers: [77, 3]
Generated Node #0,3,0: 74:[77, 3] Operation: 84-81=3
Moving to Node #0,3,0
Current State: 74:[77, 3], Operations: ['51+30=81', '84-81=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
4,
17,
53,
42
] | 82 | [
"17-4=13",
"53+42=95",
"95-13=82"
] | Current State: 82:[4, 17, 53, 42], Operations: []
Exploring Operation: 17-4=13, Resulting Numbers: [53, 42, 13]
Generated Node #2: [53, 42, 13] from Operation: 17-4=13
Current State: 82:[53, 42, 13], Operations: ['17-4=13']
Exploring Operation: 53+42=95, Resulting Numbers: [13, 95]
Generated Node #3: [13, 95] from Operation: 53+42=95
Current State: 82:[13, 95], Operations: ['17-4=13', '53+42=95']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[4, 17, 53, 42], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [4, 17, 11]
Generated Node #0,0: 82:[4, 17, 11] Operation: 53-42=11
Exploring Operation: 53-17=36, Resulting Numbers: [4, 42, 36]
Generated Node #0,1: 82:[4, 42, 36] Operation: 53-17=36
Exploring Operation: 17+53=70, Resulting Numbers: [4, 42, 70]
Generated Node #0,2: 82:[4, 42, 70] Operation: 17+53=70
Exploring Operation: 17-4=13, Resulting Numbers: [53, 42, 13]
Generated Node #0,3: 82:[53, 42, 13] Operation: 17-4=13
Exploring Operation: 53-4=49, Resulting Numbers: [17, 42, 49]
Generated Node #0,4: 82:[17, 42, 49] Operation: 53-4=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[4, 42, 36], Operations: ['53-17=36']
Exploring Operation: 42-4=38, Resulting Numbers: [36, 38]
Generated Node #0,1,0: 82:[36, 38] Operation: 42-4=38
Exploring Operation: 4+36=40, Resulting Numbers: [42, 40]
Generated Node #0,1,1: 82:[42, 40] Operation: 4+36=40
Exploring Operation: 42+36=78, Resulting Numbers: [4, 78]
Generated Node #0,1,2: 82:[4, 78] Operation: 42+36=78
Exploring Operation: 42-36=6, Resulting Numbers: [4, 6]
Generated Node #0,1,3: 82:[4, 6] Operation: 42-36=6
Exploring Operation: 36/4=9, Resulting Numbers: [42, 9]
Generated Node #0,1,4: 82:[42, 9] Operation: 36/4=9
Moving to Node #0,1,1
Current State: 82:[42, 40], Operations: ['53-17=36', '4+36=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,82 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[4, 17, 53, 42], Operations: []
Exploring Operation: 53-17=36, Resulting Numbers: [4, 42, 36]
Generated Node #0,1: 82:[4, 42, 36] Operation: 53-17=36
Moving to Node #0,1
Current State: 82:[4, 42, 36], Operations: ['53-17=36']
Exploring Operation: 4+36=40, Resulting Numbers: [42, 40]
Generated Node #0,1,1: 82:[42, 40] Operation: 4+36=40
Moving to Node #0,1,1
Current State: 82:[42, 40], Operations: ['53-17=36', '4+36=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
94,
68,
24,
31
] | 19 | [
"94-68=26",
"31-24=7",
"26-7=19"
] | Current State: 19:[94, 68, 24, 31], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [24, 31, 26]
Generated Node #2: [24, 31, 26] from Operation: 94-68=26
Current State: 19:[24, 31, 26], Operations: ['94-68=26']
Exploring Operation: 31-24=7, Resulting Numbers: [26, 7]
Generated Node #3: [26, 7] from Operation: 31-24=7
Current State: 19:[26, 7], Operations: ['94-68=26', '31-24=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[94, 68, 24, 31], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [24, 31, 26]
Generated Node #0,0: 19:[24, 31, 26] Operation: 94-68=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[24, 31, 26], Operations: ['94-68=26']
Exploring Operation: 31-24=7, Resulting Numbers: [26, 7]
Generated Node #0,0,0: 19:[26, 7] Operation: 31-24=7
Moving to Node #0,0,0
Current State: 19:[26, 7], Operations: ['94-68=26', '31-24=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[94, 68, 24, 31], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [24, 31, 26]
Generated Node #0,0: 19:[24, 31, 26] Operation: 94-68=26
Moving to Node #0,0
Current State: 19:[24, 31, 26], Operations: ['94-68=26']
Exploring Operation: 31-24=7, Resulting Numbers: [26, 7]
Generated Node #0,0,0: 19:[26, 7] Operation: 31-24=7
Moving to Node #0,0,0
Current State: 19:[26, 7], Operations: ['94-68=26', '31-24=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
81,
7,
28,
54
] | 48 | [
"81-7=74",
"54-28=26",
"74-26=48"
] | Current State: 48:[81, 7, 28, 54], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [28, 54, 74]
Generated Node #2: [28, 54, 74] from Operation: 81-7=74
Current State: 48:[28, 54, 74], Operations: ['81-7=74']
Exploring Operation: 54-28=26, Resulting Numbers: [74, 26]
Generated Node #3: [74, 26] from Operation: 54-28=26
Current State: 48:[74, 26], Operations: ['81-7=74', '54-28=26']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[81, 7, 28, 54], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [28, 54, 74]
Generated Node #0,0: 48:[28, 54, 74] Operation: 81-7=74
Exploring Operation: 81-28=53, Resulting Numbers: [7, 54, 53]
Generated Node #0,1: 48:[7, 54, 53] Operation: 81-28=53
Exploring Operation: 81-54=27, Resulting Numbers: [7, 28, 27]
Generated Node #0,2: 48:[7, 28, 27] Operation: 81-54=27
Exploring Operation: 54-28=26, Resulting Numbers: [81, 7, 26]
Generated Node #0,3: 48:[81, 7, 26] Operation: 54-28=26
Moving to Node #0,2
Current State: 48:[7, 28, 27], Operations: ['81-54=27']
Exploring Operation: 28/7=4, Resulting Numbers: [27, 4]
Generated Node #0,2,0: 48:[27, 4] Operation: 28/7=4
Exploring Operation: 27-7=20, Resulting Numbers: [28, 20]
Generated Node #0,2,1: 48:[28, 20] Operation: 27-7=20
Exploring Operation: 28-27=1, Resulting Numbers: [7, 1]
Generated Node #0,2,2: 48:[7, 1] Operation: 28-27=1
Exploring Operation: 28-7=21, Resulting Numbers: [27, 21]
Generated Node #0,2,3: 48:[27, 21] Operation: 28-7=21
Moving to Node #0,1
Current State: 48:[7, 54, 53], Operations: ['81-28=53']
Exploring Operation: 53-7=46, Resulting Numbers: [54, 46]
Generated Node #0,1,0: 48:[54, 46] Operation: 53-7=46
Exploring Operation: 7+54=61, Resulting Numbers: [53, 61]
Generated Node #0,1,1: 48:[53, 61] Operation: 7+54=61
Exploring Operation: 54-7=47, Resulting Numbers: [53, 47]
Generated Node #0,1,2: 48:[53, 47] Operation: 54-7=47
Exploring Operation: 54-53=1, Resulting Numbers: [7, 1]
Generated Node #0,1,3: 48:[7, 1] Operation: 54-53=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[7, 1], Operations: ['81-28=53', '54-53=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,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:[53, 47], Operations: ['81-28=53', '54-7=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,48 unequal: No Solution
Exploring Operation: 53-47=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,0
Current State: 48:[54, 46], Operations: ['81-28=53', '53-7=46']
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,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:[53, 61], Operations: ['81-28=53', '7+54=61']
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,48 unequal: No Solution
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,48 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,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:[81, 7, 26], Operations: ['54-28=26']
Exploring Operation: 26-7=19, Resulting Numbers: [81, 19]
Generated Node #0,3,0: 48:[81, 19] Operation: 26-7=19
Exploring Operation: 81+7=88, Resulting Numbers: [26, 88]
Generated Node #0,3,1: 48:[26, 88] Operation: 81+7=88
Exploring Operation: 81-7=74, Resulting Numbers: [26, 74]
Generated Node #0,3,2: 48:[26, 74] Operation: 81-7=74
Exploring Operation: 81-26=55, Resulting Numbers: [7, 55]
Generated Node #0,3,3: 48:[7, 55] Operation: 81-26=55
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[7, 55], Operations: ['54-28=26', '81-26=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[81, 7, 28, 54], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [81, 7, 26]
Generated Node #0,3: 48:[81, 7, 26] Operation: 54-28=26
Moving to Node #0,3
Current State: 48:[81, 7, 26], Operations: ['54-28=26']
Exploring Operation: 81-26=55, Resulting Numbers: [7, 55]
Generated Node #0,3,3: 48:[7, 55] Operation: 81-26=55
Moving to Node #0,3,3
Current State: 48:[7, 55], Operations: ['54-28=26', '81-26=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
77,
80,
79,
87
] | 87 | [
"87-77=10",
"80/10=8",
"79+8=87"
] | Current State: 87:[77, 80, 79, 87], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [80, 79, 10]
Generated Node #2: [80, 79, 10] from Operation: 87-77=10
Current State: 87:[80, 79, 10], Operations: ['87-77=10']
Exploring Operation: 80/10=8, Resulting Numbers: [79, 8]
Generated Node #3: [79, 8] from Operation: 80/10=8
Current State: 87:[79, 8], Operations: ['87-77=10', '80/10=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[77, 80, 79, 87], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [79, 87, 3]
Generated Node #0,0: 87:[79, 87, 3] Operation: 80-77=3
Exploring Operation: 79-77=2, Resulting Numbers: [80, 87, 2]
Generated Node #0,1: 87:[80, 87, 2] Operation: 79-77=2
Exploring Operation: 87-77=10, Resulting Numbers: [80, 79, 10]
Generated Node #0,2: 87:[80, 79, 10] Operation: 87-77=10
Exploring Operation: 80-79=1, Resulting Numbers: [77, 87, 1]
Generated Node #0,3: 87:[77, 87, 1] Operation: 80-79=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[79, 87, 3], Operations: ['80-77=3']
Exploring Operation: 87-79=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 87:[3, 8] Operation: 87-79=8
Exploring Operation: 79-3=76, Resulting Numbers: [87, 76]
Generated Node #0,0,1: 87:[87, 76] Operation: 79-3=76
Exploring Operation: 87/3=29, Resulting Numbers: [79, 29]
Generated Node #0,0,2: 87:[79, 29] Operation: 87/3=29
Exploring Operation: 79+3=82, Resulting Numbers: [87, 82]
Generated Node #0,0,3: 87:[87, 82] Operation: 79+3=82
Moving to Node #0,0,0
Current State: 87:[3, 8], Operations: ['80-77=3', '87-79=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[87, 82], Operations: ['80-77=3', '79+3=82']
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 87+82=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 87*82=7134, Resulting Numbers: [7134]
7134,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[79, 29], Operations: ['80-77=3', '87/3=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,87 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,87 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[87, 76], Operations: ['80-77=3', '79-3=76']
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 87*76=6612, Resulting Numbers: [6612]
6612,87 unequal: No Solution
Exploring Operation: 87+76=163, Resulting Numbers: [163]
163,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[80, 87, 2], Operations: ['79-77=2']
Exploring Operation: 80-2=78, Resulting Numbers: [87, 78]
Generated Node #0,1,0: 87:[87, 78] Operation: 80-2=78
Exploring Operation: 87+2=89, Resulting Numbers: [80, 89]
Generated Node #0,1,1: 87:[80, 89] Operation: 87+2=89
Exploring Operation: 80+2=82, Resulting Numbers: [87, 82]
Generated Node #0,1,2: 87:[87, 82] Operation: 80+2=82
Exploring Operation: 87-80=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 87:[2, 7] Operation: 87-80=7
Moving to Node #0,1,2
Current State: 87:[87, 82], Operations: ['79-77=2', '80+2=82']
Exploring Operation: 87*82=7134, Resulting Numbers: [7134]
7134,87 unequal: No Solution
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 87+82=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[2, 7], Operations: ['79-77=2', '87-80=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[80, 89], Operations: ['79-77=2', '87+2=89']
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 80+89=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 80*89=7120, Resulting Numbers: [7120]
7120,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[87, 78], Operations: ['79-77=2', '80-2=78']
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 87+78=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Exploring Operation: 87*78=6786, Resulting Numbers: [6786]
6786,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[77, 87, 1], Operations: ['80-79=1']
Exploring Operation: 87-77=10, Resulting Numbers: [1, 10]
Generated Node #0,3,0: 87:[1, 10] Operation: 87-77=10
Exploring Operation: 77*1=77, Resulting Numbers: [87, 77]
Generated Node #0,3,1: 87:[87, 77] Operation: 77*1=77
Exploring Operation: 77/1=77, Resulting Numbers: [87, 77]
Generated Node #0,3,2: 87:[87, 77] Operation: 77/1=77
Exploring Operation: 77+1=78, Resulting Numbers: [87, 78]
Generated Node #0,3,3: 87:[87, 78] Operation: 77+1=78
Moving to Node #0,3,0
Current State: 87:[1, 10], Operations: ['80-79=1', '87-77=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[87, 78], Operations: ['80-79=1', '77+1=78']
Exploring Operation: 87+78=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Exploring Operation: 87*78=6786, Resulting Numbers: [6786]
6786,87 unequal: No Solution
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[87, 77], Operations: ['80-79=1', '77/1=77']
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,87 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[87, 77], Operations: ['80-79=1', '77*1=77']
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,87 unequal: No Solution
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[80, 79, 10], Operations: ['87-77=10']
Exploring Operation: 80/10=8, Resulting Numbers: [79, 8]
Generated Node #0,2,0: 87:[79, 8] Operation: 80/10=8
Exploring Operation: 79+10=89, Resulting Numbers: [80, 89]
Generated Node #0,2,1: 87:[80, 89] Operation: 79+10=89
Exploring Operation: 80+10=90, Resulting Numbers: [79, 90]
Generated Node #0,2,2: 87:[79, 90] Operation: 80+10=90
Exploring Operation: 80-79=1, Resulting Numbers: [10, 1]
Generated Node #0,2,3: 87:[10, 1] Operation: 80-79=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 87:[80, 89], Operations: ['87-77=10', '79+10=89']
Exploring Operation: 80*89=7120, Resulting Numbers: [7120]
7120,87 unequal: No Solution
Exploring Operation: 80+89=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 87:[10, 1], Operations: ['87-77=10', '80-79=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[79, 90], Operations: ['87-77=10', '80+10=90']
Exploring Operation: 79+90=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 79*90=7110, Resulting Numbers: [7110]
7110,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 87:[79, 8], Operations: ['87-77=10', '80/10=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[77, 80, 79, 87], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [80, 79, 10]
Generated Node #0,2: 87:[80, 79, 10] Operation: 87-77=10
Moving to Node #0,2
Current State: 87:[80, 79, 10], Operations: ['87-77=10']
Exploring Operation: 80/10=8, Resulting Numbers: [79, 8]
Generated Node #0,2,0: 87:[79, 8] Operation: 80/10=8
Moving to Node #0,2,0
Current State: 87:[79, 8], Operations: ['87-77=10', '80/10=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.9375 | hs_4 | mult_heuristic |
[
80,
13,
10,
80
] | 75 | [
"80-13=67",
"80/10=8",
"67+8=75"
] | Current State: 75:[80, 13, 10, 80], Operations: []
Exploring Operation: 80-13=67, Resulting Numbers: [10, 67]
Generated Node #2: [10, 67] from Operation: 80-13=67
Current State: 75:[10, 67], Operations: ['80-13=67']
Exploring Operation: 80/10=8, Resulting Numbers: [67, 8]
Generated Node #3: [67, 8] from Operation: 80/10=8
Current State: 75:[67, 8], Operations: ['80-13=67', '80/10=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[80, 13, 10, 80], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [13, 80, 8]
Generated Node #0,0: 75:[13, 80, 8] Operation: 80/10=8
Exploring Operation: 80/80=1, Resulting Numbers: [13, 10, 1]
Generated Node #0,1: 75:[13, 10, 1] Operation: 80/80=1
Exploring Operation: 80-80=0, Resulting Numbers: [13, 10, 0]
Generated Node #0,2: 75:[13, 10, 0] Operation: 80-80=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[13, 10, 1], Operations: ['80/80=1']
Exploring Operation: 13-10=3, Resulting Numbers: [1, 3]
Generated Node #0,1,0: 75:[1, 3] Operation: 13-10=3
Exploring Operation: 13+10=23, Resulting Numbers: [1, 23]
Generated Node #0,1,1: 75:[1, 23] Operation: 13+10=23
Exploring Operation: 13+1=14, Resulting Numbers: [10, 14]
Generated Node #0,1,2: 75:[10, 14] Operation: 13+1=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[1, 3], Operations: ['80/80=1', '13-10=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[1, 23], Operations: ['80/80=1', '13+10=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[10, 14], Operations: ['80/80=1', '13+1=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,75 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[13, 80, 8], Operations: ['80/10=8']
Exploring Operation: 13-8=5, Resulting Numbers: [80, 5]
Generated Node #0,0,0: 75:[80, 5] Operation: 13-8=5
Exploring Operation: 80/8=10, Resulting Numbers: [13, 10]
Generated Node #0,0,1: 75:[13, 10] Operation: 80/8=10
Exploring Operation: 80-8=72, Resulting Numbers: [13, 72]
Generated Node #0,0,2: 75:[13, 72] Operation: 80-8=72
Moving to Node #0,0,0
Current State: 75:[80, 5], Operations: ['80/10=8', '13-8=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[80, 13, 10, 80], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [13, 80, 8]
Generated Node #0,0: 75:[13, 80, 8] Operation: 80/10=8
Moving to Node #0,0
Current State: 75:[13, 80, 8], Operations: ['80/10=8']
Exploring Operation: 13-8=5, Resulting Numbers: [80, 5]
Generated Node #0,0,0: 75:[80, 5] Operation: 13-8=5
Moving to Node #0,0,0
Current State: 75:[80, 5], Operations: ['80/10=8', '13-8=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
14,
9,
43,
41
] | 16 | [
"43-41=2",
"14/2=7",
"9+7=16"
] | Current State: 16:[14, 9, 43, 41], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [14, 9, 2]
Generated Node #2: [14, 9, 2] from Operation: 43-41=2
Current State: 16:[14, 9, 2], Operations: ['43-41=2']
Exploring Operation: 14/2=7, Resulting Numbers: [9, 7]
Generated Node #3: [9, 7] from Operation: 14/2=7
Current State: 16:[9, 7], Operations: ['43-41=2', '14/2=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[14, 9, 43, 41], Operations: []
Exploring Operation: 43-14=29, Resulting Numbers: [9, 41, 29]
Generated Node #0,0: 16:[9, 41, 29] Operation: 43-14=29
Exploring Operation: 43-9=34, Resulting Numbers: [14, 41, 34]
Generated Node #0,1: 16:[14, 41, 34] Operation: 43-9=34
Exploring Operation: 43-41=2, Resulting Numbers: [14, 9, 2]
Generated Node #0,2: 16:[14, 9, 2] Operation: 43-41=2
Exploring Operation: 41-14=27, Resulting Numbers: [9, 43, 27]
Generated Node #0,3: 16:[9, 43, 27] Operation: 41-14=27
Moving to Node #0,2
Current State: 16:[14, 9, 2], Operations: ['43-41=2']
Exploring Operation: 14/2=7, Resulting Numbers: [9, 7]
Generated Node #0,2,0: 16:[9, 7] Operation: 14/2=7
Exploring Operation: 9-2=7, Resulting Numbers: [14, 7]
Generated Node #0,2,1: 16:[14, 7] Operation: 9-2=7
Exploring Operation: 14+2=16, Resulting Numbers: [9, 16]
Generated Node #0,2,2: 16:[9, 16] Operation: 14+2=16
Exploring Operation: 14-9=5, Resulting Numbers: [2, 5]
Generated Node #0,2,3: 16:[2, 5] Operation: 14-9=5
Moving to Node #0,3
Current State: 16:[9, 43, 27], Operations: ['41-14=27']
Exploring Operation: 27-9=18, Resulting Numbers: [43, 18]
Generated Node #0,3,0: 16:[43, 18] Operation: 27-9=18
Exploring Operation: 43-9=34, Resulting Numbers: [27, 34]
Generated Node #0,3,1: 16:[27, 34] Operation: 43-9=34
Exploring Operation: 27/9=3, Resulting Numbers: [43, 3]
Generated Node #0,3,2: 16:[43, 3] Operation: 27/9=3
Exploring Operation: 43-27=16, Resulting Numbers: [9, 16]
Generated Node #0,3,3: 16:[9, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[9, 16], Operations: ['41-14=27', '43-27=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,16 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[43, 3], Operations: ['41-14=27', '27/9=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,16 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[43, 18], Operations: ['41-14=27', '27-9=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[27, 34], Operations: ['41-14=27', '43-9=34']
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,16 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[9, 41, 29], Operations: ['43-14=29']
Exploring Operation: 41-9=32, Resulting Numbers: [29, 32]
Generated Node #0,0,0: 16:[29, 32] Operation: 41-9=32
Exploring Operation: 29-9=20, Resulting Numbers: [41, 20]
Generated Node #0,0,1: 16:[41, 20] Operation: 29-9=20
Exploring Operation: 41-29=12, Resulting Numbers: [9, 12]
Generated Node #0,0,2: 16:[9, 12] Operation: 41-29=12
Exploring Operation: 9+41=50, Resulting Numbers: [29, 50]
Generated Node #0,0,3: 16:[29, 50] Operation: 9+41=50
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[9, 12], Operations: ['43-14=29', '41-29=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,16 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[29, 32], Operations: ['43-14=29', '41-9=32']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,16 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,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:[41, 20], Operations: ['43-14=29', '29-9=20']
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,16 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,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,3
Current State: 16:[29, 50], Operations: ['43-14=29', '9+41=50']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,16 unequal: No Solution
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[14, 41, 34], Operations: ['43-9=34']
Exploring Operation: 34-14=20, Resulting Numbers: [41, 20]
Generated Node #0,1,0: 16:[41, 20] Operation: 34-14=20
Exploring Operation: 41-14=27, Resulting Numbers: [34, 27]
Generated Node #0,1,1: 16:[34, 27] Operation: 41-14=27
Exploring Operation: 41-34=7, Resulting Numbers: [14, 7]
Generated Node #0,1,2: 16:[14, 7] Operation: 41-34=7
Exploring Operation: 14+41=55, Resulting Numbers: [34, 55]
Generated Node #0,1,3: 16:[34, 55] Operation: 14+41=55
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[14, 7], Operations: ['43-9=34', '41-34=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,16 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[41, 20], Operations: ['43-9=34', '34-14=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,16 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[34, 27], Operations: ['43-9=34', '41-14=27']
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,16 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[34, 55], Operations: ['43-9=34', '14+41=55']
Exploring Operation: 34*55=1870, Resulting Numbers: [1870]
1870,16 unequal: No Solution
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 34+55=89, Resulting Numbers: [89]
89,16 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: 16:[9, 16], Operations: ['43-41=2', '14+2=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,16 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[2, 5], Operations: ['43-41=2', '14-9=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[9, 7], Operations: ['43-41=2', '14/2=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[14, 9, 43, 41], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [14, 9, 2]
Generated Node #0,2: 16:[14, 9, 2] Operation: 43-41=2
Moving to Node #0,2
Current State: 16:[14, 9, 2], Operations: ['43-41=2']
Exploring Operation: 14/2=7, Resulting Numbers: [9, 7]
Generated Node #0,2,0: 16:[9, 7] Operation: 14/2=7
Moving to Node #0,2,0
Current State: 16:[9, 7], Operations: ['43-41=2', '14/2=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.939236 | hs_4 | sum_heuristic |
[
4,
9,
52,
93
] | 77 | [
"4*9=36",
"93-52=41",
"36+41=77"
] | Current State: 77:[4, 9, 52, 93], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [52, 93, 36]
Generated Node #2: [52, 93, 36] from Operation: 4*9=36
Current State: 77:[52, 93, 36], Operations: ['4*9=36']
Exploring Operation: 93-52=41, Resulting Numbers: [36, 41]
Generated Node #3: [36, 41] from Operation: 93-52=41
Current State: 77:[36, 41], Operations: ['4*9=36', '93-52=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[4, 9, 52, 93], Operations: []
Exploring Operation: 9+52=61, Resulting Numbers: [4, 93, 61]
Generated Node #0,0: 77:[4, 93, 61] Operation: 9+52=61
Exploring Operation: 93-9=84, Resulting Numbers: [4, 52, 84]
Generated Node #0,1: 77:[4, 52, 84] Operation: 93-9=84
Exploring Operation: 52/4=13, Resulting Numbers: [9, 93, 13]
Generated Node #0,2: 77:[9, 93, 13] Operation: 52/4=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[9, 93, 13], Operations: ['52/4=13']
Exploring Operation: 93-9=84, Resulting Numbers: [13, 84]
Generated Node #0,2,0: 77:[13, 84] Operation: 93-9=84
Exploring Operation: 93-13=80, Resulting Numbers: [9, 80]
Generated Node #0,2,1: 77:[9, 80] Operation: 93-13=80
Exploring Operation: 13-9=4, Resulting Numbers: [93, 4]
Generated Node #0,2,2: 77:[93, 4] Operation: 13-9=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[9, 80], Operations: ['52/4=13', '93-13=80']
Exploring Operation: 9+80=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 9*80=720, Resulting Numbers: [720]
720,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[13, 84], Operations: ['52/4=13', '93-9=84']
Exploring Operation: 13*84=1092, Resulting Numbers: [1092]
1092,77 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[93, 4], Operations: ['52/4=13', '13-9=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,77 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: 77:[4, 93, 61], Operations: ['9+52=61']
Exploring Operation: 4+61=65, Resulting Numbers: [93, 65]
Generated Node #0,0,0: 77:[93, 65] Operation: 4+61=65
Exploring Operation: 93-61=32, Resulting Numbers: [4, 32]
Generated Node #0,0,1: 77:[4, 32] Operation: 93-61=32
Exploring Operation: 93-4=89, Resulting Numbers: [61, 89]
Generated Node #0,0,2: 77:[61, 89] Operation: 93-4=89
Moving to Node #0,0,1
Current State: 77:[4, 32], Operations: ['9+52=61', '93-61=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[93, 65], Operations: ['9+52=61', '4+61=65']
Exploring Operation: 93*65=6045, Resulting Numbers: [6045]
6045,77 unequal: No Solution
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 93+65=158, Resulting Numbers: [158]
158,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[61, 89], Operations: ['9+52=61', '93-4=89']
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,77 unequal: No Solution
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No 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: 77:[4, 52, 84], Operations: ['93-9=84']
Exploring Operation: 84-52=32, Resulting Numbers: [4, 32]
Generated Node #0,1,0: 77:[4, 32] Operation: 84-52=32
Exploring Operation: 52/4=13, Resulting Numbers: [84, 13]
Generated Node #0,1,1: 77:[84, 13] Operation: 52/4=13
Exploring Operation: 4+52=56, Resulting Numbers: [84, 56]
Generated Node #0,1,2: 77:[84, 56] Operation: 4+52=56
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[84, 13], Operations: ['93-9=84', '52/4=13']
Exploring Operation: 84*13=1092, Resulting Numbers: [1092]
1092,77 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[4, 32], Operations: ['93-9=84', '84-52=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[84, 56], Operations: ['93-9=84', '4+52=56']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,77 unequal: No Solution
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,77 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 |
[
82,
28,
28,
43
] | 82 | [
"28-28=0",
"43*0=0",
"82+0=82"
] | Current State: 82:[82, 28, 28, 43], Operations: []
Exploring Operation: 28-28=0, Resulting Numbers: [82, 43, 0]
Generated Node #2: [82, 43, 0] from Operation: 28-28=0
Current State: 82:[82, 43, 0], Operations: ['28-28=0']
Exploring Operation: 43*0=0, Resulting Numbers: [82, 0]
Generated Node #3: [82, 0] from Operation: 43*0=0
Current State: 82:[82, 0], Operations: ['28-28=0', '43*0=0']
Exploring Operation: 82+0=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[82, 28, 28, 43], Operations: []
Exploring Operation: 28/28=1, Resulting Numbers: [82, 43, 1]
Generated Node #0,0: 82:[82, 43, 1] Operation: 28/28=1
Exploring Operation: 28+43=71, Resulting Numbers: [82, 28, 71]
Generated Node #0,1: 82:[82, 28, 71] Operation: 28+43=71
Exploring Operation: 28+28=56, Resulting Numbers: [82, 43, 56]
Generated Node #0,2: 82:[82, 43, 56] Operation: 28+28=56
Exploring Operation: 28-28=0, Resulting Numbers: [82, 43, 0]
Generated Node #0,3: 82:[82, 43, 0] Operation: 28-28=0
Moving to Node #0,0
Current State: 82:[82, 43, 1], Operations: ['28/28=1']
Exploring Operation: 43-1=42, Resulting Numbers: [82, 42]
Generated Node #0,0,0: 82:[82, 42] Operation: 43-1=42
Exploring Operation: 43*1=43, Resulting Numbers: [82, 43]
Generated Node #0,0,1: 82:[82, 43] Operation: 43*1=43
Exploring Operation: 82/1=82, Resulting Numbers: [43, 82]
Generated Node #0,0,2: 82:[43, 82] Operation: 82/1=82
Exploring Operation: 82*1=82, Resulting Numbers: [43, 82]
Generated Node #0,0,3: 82:[43, 82] Operation: 82*1=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[82, 42], Operations: ['28/28=1', '43-1=42']
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,82 unequal: No Solution
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[82, 43], Operations: ['28/28=1', '43*1=43']
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,82 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[43, 82], Operations: ['28/28=1', '82/1=82']
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,82 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 82:[43, 82], Operations: ['28/28=1', '82*1=82']
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,82 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: 82:[82, 43, 0], Operations: ['28-28=0']
Exploring Operation: 82-0=82, Resulting Numbers: [43, 82]
Generated Node #0,3,0: 82:[43, 82] Operation: 82-0=82
Exploring Operation: 43+0=43, Resulting Numbers: [82, 43]
Generated Node #0,3,1: 82:[82, 43] Operation: 43+0=43
Exploring Operation: 43*0=0, Resulting Numbers: [82, 0]
Generated Node #0,3,2: 82:[82, 0] Operation: 43*0=0
Exploring Operation: 82+0=82, Resulting Numbers: [43, 82]
Generated Node #0,3,3: 82:[43, 82] Operation: 82+0=82
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[43, 82], Operations: ['28-28=0', '82-0=82']
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[82, 43], Operations: ['28-28=0', '43+0=43']
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[82, 0], Operations: ['28-28=0', '43*0=0']
Exploring Operation: 82*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 82+0=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[82, 28, 28, 43], Operations: []
Exploring Operation: 28-28=0, Resulting Numbers: [82, 43, 0]
Generated Node #0,3: 82:[82, 43, 0] Operation: 28-28=0
Moving to Node #0,3
Current State: 82:[82, 43, 0], Operations: ['28-28=0']
Exploring Operation: 43*0=0, Resulting Numbers: [82, 0]
Generated Node #0,3,2: 82:[82, 0] Operation: 43*0=0
Moving to Node #0,3,2
Current State: 82:[82, 0], Operations: ['28-28=0', '43*0=0']
Exploring Operation: 82+0=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
8,
50,
33,
42
] | 50 | [
"8+33=41",
"42-41=1",
"50*1=50"
] | Current State: 50:[8, 50, 33, 42], Operations: []
Exploring Operation: 8+33=41, Resulting Numbers: [50, 42, 41]
Generated Node #2: [50, 42, 41] from Operation: 8+33=41
Current State: 50:[50, 42, 41], Operations: ['8+33=41']
Exploring Operation: 42-41=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 42-41=1
Current State: 50:[50, 1], Operations: ['8+33=41', '42-41=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[8, 50, 33, 42], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [8, 33, 8]
Generated Node #0,0: 50:[8, 33, 8] Operation: 50-42=8
Exploring Operation: 33-8=25, Resulting Numbers: [50, 42, 25]
Generated Node #0,1: 50:[50, 42, 25] Operation: 33-8=25
Exploring Operation: 8+33=41, Resulting Numbers: [50, 42, 41]
Generated Node #0,2: 50:[50, 42, 41] Operation: 8+33=41
Exploring Operation: 42-33=9, Resulting Numbers: [8, 50, 9]
Generated Node #0,3: 50:[8, 50, 9] Operation: 42-33=9
Exploring Operation: 8+42=50, Resulting Numbers: [50, 33, 50]
Generated Node #0,4: 50:[50, 33, 50] Operation: 8+42=50
Moving to Node #0,3
Current State: 50:[8, 50, 9], Operations: ['42-33=9']
Exploring Operation: 50-8=42, Resulting Numbers: [9, 42]
Generated Node #0,3,0: 50:[9, 42] Operation: 50-8=42
Exploring Operation: 50+9=59, Resulting Numbers: [8, 59]
Generated Node #0,3,1: 50:[8, 59] Operation: 50+9=59
Exploring Operation: 8+50=58, Resulting Numbers: [9, 58]
Generated Node #0,3,2: 50:[9, 58] Operation: 8+50=58
Exploring Operation: 9-8=1, Resulting Numbers: [50, 1]
Generated Node #0,3,3: 50:[50, 1] Operation: 9-8=1
Exploring Operation: 8+9=17, Resulting Numbers: [50, 17]
Generated Node #0,3,4: 50:[50, 17] Operation: 8+9=17
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[50, 1], Operations: ['42-33=9', '9-8=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[8, 50, 33, 42], Operations: []
Exploring Operation: 42-33=9, Resulting Numbers: [8, 50, 9]
Generated Node #0,3: 50:[8, 50, 9] Operation: 42-33=9
Moving to Node #0,3
Current State: 50:[8, 50, 9], Operations: ['42-33=9']
Exploring Operation: 9-8=1, Resulting Numbers: [50, 1]
Generated Node #0,3,3: 50:[50, 1] Operation: 9-8=1
Moving to Node #0,3,3
Current State: 50:[50, 1], Operations: ['42-33=9', '9-8=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
39,
99,
50,
30
] | 80 | [
"99-39=60",
"50-30=20",
"60+20=80"
] | Current State: 80:[39, 99, 50, 30], Operations: []
Exploring Operation: 99-39=60, Resulting Numbers: [50, 30, 60]
Generated Node #2: [50, 30, 60] from Operation: 99-39=60
Current State: 80:[50, 30, 60], Operations: ['99-39=60']
Exploring Operation: 50-30=20, Resulting Numbers: [60, 20]
Generated Node #3: [60, 20] from Operation: 50-30=20
Current State: 80:[60, 20], Operations: ['99-39=60', '50-30=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[39, 99, 50, 30], Operations: []
Exploring Operation: 99-30=69, Resulting Numbers: [39, 50, 69]
Generated Node #0,0: 80:[39, 50, 69] Operation: 99-30=69
Exploring Operation: 50-30=20, Resulting Numbers: [39, 99, 20]
Generated Node #0,1: 80:[39, 99, 20] Operation: 50-30=20
Exploring Operation: 99-50=49, Resulting Numbers: [39, 30, 49]
Generated Node #0,2: 80:[39, 30, 49] Operation: 99-50=49
Exploring Operation: 50+30=80, Resulting Numbers: [39, 99, 80]
Generated Node #0,3: 80:[39, 99, 80] Operation: 50+30=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[39, 99, 20], Operations: ['50-30=20']
Exploring Operation: 99-20=79, Resulting Numbers: [39, 79]
Generated Node #0,1,0: 80:[39, 79] Operation: 99-20=79
Exploring Operation: 39-20=19, Resulting Numbers: [99, 19]
Generated Node #0,1,1: 80:[99, 19] Operation: 39-20=19
Exploring Operation: 39+20=59, Resulting Numbers: [99, 59]
Generated Node #0,1,2: 80:[99, 59] Operation: 39+20=59
Exploring Operation: 99-39=60, Resulting Numbers: [20, 60]
Generated Node #0,1,3: 80:[20, 60] Operation: 99-39=60
Moving to Node #0,1,0
Current State: 80:[39, 79], Operations: ['50-30=20', '99-20=79']
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[20, 60], Operations: ['50-30=20', '99-39=60']
Exploring Operation: 20+60=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[39, 99, 50, 30], Operations: []
Exploring Operation: 50-30=20, Resulting Numbers: [39, 99, 20]
Generated Node #0,1: 80:[39, 99, 20] Operation: 50-30=20
Moving to Node #0,1
Current State: 80:[39, 99, 20], Operations: ['50-30=20']
Exploring Operation: 99-39=60, Resulting Numbers: [20, 60]
Generated Node #0,1,3: 80:[20, 60] Operation: 99-39=60
Moving to Node #0,1,3
Current State: 80:[20, 60], Operations: ['50-30=20', '99-39=60']
Exploring Operation: 20+60=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
19,
49,
5,
5
] | 71 | [
"19+5=24",
"5*24=120",
"120-49=71"
] | Current State: 71:[19, 49, 5, 5], Operations: []
Exploring Operation: 19+5=24, Resulting Numbers: [49, 24]
Generated Node #2: [49, 24] from Operation: 19+5=24
Current State: 71:[49, 24], Operations: ['19+5=24']
Exploring Operation: 5*24=120, Resulting Numbers: [49, 120]
Generated Node #3: [49, 120] from Operation: 5*24=120
Current State: 71:[49, 120], Operations: ['19+5=24', '5*24=120']
Exploring Operation: 120-49=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[19, 49, 5, 5], Operations: []
Exploring Operation: 19*5=95, Resulting Numbers: [49, 5, 95]
Generated Node #0,0: 71:[49, 5, 95] Operation: 19*5=95
Exploring Operation: 19*5=95, Resulting Numbers: [49, 5, 95]
Generated Node #0,1: 71:[49, 5, 95] Operation: 19*5=95
Exploring Operation: 5*5=25, Resulting Numbers: [19, 49, 25]
Generated Node #0,2: 71:[19, 49, 25] Operation: 5*5=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[49, 5, 95], Operations: ['19*5=95']
Exploring Operation: 49-5=44, Resulting Numbers: [95, 44]
Generated Node #0,0,0: 71:[95, 44] Operation: 49-5=44
Exploring Operation: 49+5=54, Resulting Numbers: [95, 54]
Generated Node #0,0,1: 71:[95, 54] Operation: 49+5=54
Exploring Operation: 95-5=90, Resulting Numbers: [49, 90]
Generated Node #0,0,2: 71:[49, 90] Operation: 95-5=90
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[95, 54], Operations: ['19*5=95', '49+5=54']
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 95*54=5130, Resulting Numbers: [5130]
5130,71 unequal: No Solution
Exploring Operation: 95+54=149, Resulting Numbers: [149]
149,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[49, 90], Operations: ['19*5=95', '95-5=90']
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,71 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[95, 44], Operations: ['19*5=95', '49-5=44']
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,71 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,71 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: 71:[49, 5, 95], Operations: ['19*5=95']
Exploring Operation: 95-5=90, Resulting Numbers: [49, 90]
Generated Node #0,1,0: 71:[49, 90] Operation: 95-5=90
Exploring Operation: 49+5=54, Resulting Numbers: [95, 54]
Generated Node #0,1,1: 71:[95, 54] Operation: 49+5=54
Exploring Operation: 49-5=44, Resulting Numbers: [95, 44]
Generated Node #0,1,2: 71:[95, 44] Operation: 49-5=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[49, 90], Operations: ['19*5=95', '95-5=90']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[95, 54], Operations: ['19*5=95', '49+5=54']
Exploring Operation: 95+54=149, Resulting Numbers: [149]
149,71 unequal: No Solution
Exploring Operation: 95*54=5130, Resulting Numbers: [5130]
5130,71 unequal: No Solution
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[95, 44], Operations: ['19*5=95', '49-5=44']
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,71 unequal: No Solution
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,71 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: 71:[19, 49, 25], Operations: ['5*5=25']
Exploring Operation: 19+25=44, Resulting Numbers: [49, 44]
Generated Node #0,2,0: 71:[49, 44] Operation: 19+25=44
Exploring Operation: 19+49=68, Resulting Numbers: [25, 68]
Generated Node #0,2,1: 71:[25, 68] Operation: 19+49=68
Exploring Operation: 49+25=74, Resulting Numbers: [19, 74]
Generated Node #0,2,2: 71:[19, 74] Operation: 49+25=74
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[49, 44], Operations: ['5*5=25', '19+25=44']
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[25, 68], Operations: ['5*5=25', '19+49=68']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,71 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[19, 74], Operations: ['5*5=25', '49+25=74']
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,71 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 |
[
29,
24,
6,
86
] | 61 | [
"86-29=57",
"24/6=4",
"57+4=61"
] | Current State: 61:[29, 24, 6, 86], Operations: []
Exploring Operation: 86-29=57, Resulting Numbers: [24, 6, 57]
Generated Node #2: [24, 6, 57] from Operation: 86-29=57
Current State: 61:[24, 6, 57], Operations: ['86-29=57']
Exploring Operation: 24/6=4, Resulting Numbers: [57, 4]
Generated Node #3: [57, 4] from Operation: 24/6=4
Current State: 61:[57, 4], Operations: ['86-29=57', '24/6=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[29, 24, 6, 86], Operations: []
Exploring Operation: 24+6=30, Resulting Numbers: [29, 86, 30]
Generated Node #0,0: 61:[29, 86, 30] Operation: 24+6=30
Exploring Operation: 29+6=35, Resulting Numbers: [24, 86, 35]
Generated Node #0,1: 61:[24, 86, 35] Operation: 29+6=35
Exploring Operation: 29+24=53, Resulting Numbers: [6, 86, 53]
Generated Node #0,2: 61:[6, 86, 53] Operation: 29+24=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[29, 86, 30], Operations: ['24+6=30']
Exploring Operation: 86-30=56, Resulting Numbers: [29, 56]
Generated Node #0,0,0: 61:[29, 56] Operation: 86-30=56
Exploring Operation: 29+30=59, Resulting Numbers: [86, 59]
Generated Node #0,0,1: 61:[86, 59] Operation: 29+30=59
Exploring Operation: 86-29=57, Resulting Numbers: [30, 57]
Generated Node #0,0,2: 61:[30, 57] Operation: 86-29=57
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[86, 59], Operations: ['24+6=30', '29+30=59']
Exploring Operation: 86*59=5074, Resulting Numbers: [5074]
5074,61 unequal: No Solution
Exploring Operation: 86+59=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[30, 57], Operations: ['24+6=30', '86-29=57']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,61 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[29, 56], Operations: ['24+6=30', '86-30=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[24, 86, 35], Operations: ['29+6=35']
Exploring Operation: 86-35=51, Resulting Numbers: [24, 51]
Generated Node #0,1,0: 61:[24, 51] Operation: 86-35=51
Exploring Operation: 24+35=59, Resulting Numbers: [86, 59]
Generated Node #0,1,1: 61:[86, 59] Operation: 24+35=59
Exploring Operation: 86-24=62, Resulting Numbers: [35, 62]
Generated Node #0,1,2: 61:[35, 62] Operation: 86-24=62
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[86, 59], Operations: ['29+6=35', '24+35=59']
Exploring Operation: 86+59=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 86*59=5074, Resulting Numbers: [5074]
5074,61 unequal: No Solution
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[35, 62], Operations: ['29+6=35', '86-24=62']
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,61 unequal: No Solution
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[24, 51], Operations: ['29+6=35', '86-35=51']
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[6, 86, 53], Operations: ['29+24=53']
Exploring Operation: 86-6=80, Resulting Numbers: [53, 80]
Generated Node #0,2,0: 61:[53, 80] Operation: 86-6=80
Exploring Operation: 6+53=59, Resulting Numbers: [86, 59]
Generated Node #0,2,1: 61:[86, 59] Operation: 6+53=59
Exploring Operation: 6+86=92, Resulting Numbers: [53, 92]
Generated Node #0,2,2: 61:[53, 92] Operation: 6+86=92
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[53, 80], Operations: ['29+24=53', '86-6=80']
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,61 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 53*80=4240, Resulting Numbers: [4240]
4240,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[86, 59], Operations: ['29+24=53', '6+53=59']
Exploring Operation: 86+59=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 86*59=5074, Resulting Numbers: [5074]
5074,61 unequal: No Solution
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[53, 92], Operations: ['29+24=53', '6+86=92']
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,61 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
1,
76,
66,
6
] | 61 | [
"76-66=10",
"6*10=60",
"1+60=61"
] | Current State: 61:[1, 76, 66, 6], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [1, 6, 10]
Generated Node #2: [1, 6, 10] from Operation: 76-66=10
Current State: 61:[1, 6, 10], Operations: ['76-66=10']
Exploring Operation: 6*10=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 6*10=60
Current State: 61:[1, 60], Operations: ['76-66=10', '6*10=60']
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[1, 76, 66, 6], Operations: []
Exploring Operation: 76-1=75, Resulting Numbers: [66, 6, 75]
Generated Node #0,0: 61:[66, 6, 75] Operation: 76-1=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[66, 6, 75], Operations: ['76-1=75']
Exploring Operation: 75-6=69, Resulting Numbers: [66, 69]
Generated Node #0,0,0: 61:[66, 69] Operation: 75-6=69
Moving to Node #0,0,0
Current State: 61:[66, 69], Operations: ['76-1=75', '75-6=69']
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,61 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 |
[
60,
2,
57,
56
] | 84 | [
"60-57=3",
"56/2=28",
"3*28=84"
] | Current State: 84:[60, 2, 57, 56], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [2, 56, 3]
Generated Node #2: [2, 56, 3] from Operation: 60-57=3
Current State: 84:[2, 56, 3], Operations: ['60-57=3']
Exploring Operation: 56/2=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 56/2=28
Current State: 84:[3, 28], Operations: ['60-57=3', '56/2=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[60, 2, 57, 56], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [2, 57, 4]
Generated Node #0,0: 84:[2, 57, 4] Operation: 60-56=4
Exploring Operation: 60-57=3, Resulting Numbers: [2, 56, 3]
Generated Node #0,1: 84:[2, 56, 3] Operation: 60-57=3
Moving to Node #0,1
Current State: 84:[2, 56, 3], Operations: ['60-57=3']
Exploring Operation: 56-3=53, Resulting Numbers: [2, 53]
Generated Node #0,1,0: 84:[2, 53] Operation: 56-3=53
Exploring Operation: 56/2=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 84:[3, 28] Operation: 56/2=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[3, 28], Operations: ['60-57=3', '56/2=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[60, 2, 57, 56], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [2, 56, 3]
Generated Node #0,1: 84:[2, 56, 3] Operation: 60-57=3
Moving to Node #0,1
Current State: 84:[2, 56, 3], Operations: ['60-57=3']
Exploring Operation: 56/2=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 84:[3, 28] Operation: 56/2=28
Moving to Node #0,1,1
Current State: 84:[3, 28], Operations: ['60-57=3', '56/2=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
62,
49,
70,
44
] | 48 | [
"49-44=5",
"70/5=14",
"62-14=48"
] | Current State: 48:[62, 49, 70, 44], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [62, 70, 5]
Generated Node #2: [62, 70, 5] from Operation: 49-44=5
Current State: 48:[62, 70, 5], Operations: ['49-44=5']
Exploring Operation: 70/5=14, Resulting Numbers: [62, 14]
Generated Node #3: [62, 14] from Operation: 70/5=14
Current State: 48:[62, 14], Operations: ['49-44=5', '70/5=14']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[62, 49, 70, 44], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [62, 44, 21]
Generated Node #0,0: 48:[62, 44, 21] Operation: 70-49=21
Exploring Operation: 70-62=8, Resulting Numbers: [49, 44, 8]
Generated Node #0,1: 48:[49, 44, 8] Operation: 70-62=8
Exploring Operation: 62-44=18, Resulting Numbers: [49, 70, 18]
Generated Node #0,2: 48:[49, 70, 18] Operation: 62-44=18
Exploring Operation: 62-49=13, Resulting Numbers: [70, 44, 13]
Generated Node #0,3: 48:[70, 44, 13] Operation: 62-49=13
Exploring Operation: 70-44=26, Resulting Numbers: [62, 49, 26]
Generated Node #0,4: 48:[62, 49, 26] Operation: 70-44=26
Moving to Node #0,1
Current State: 48:[49, 44, 8], Operations: ['70-62=8']
Exploring Operation: 44-8=36, Resulting Numbers: [49, 36]
Generated Node #0,1,0: 48:[49, 36] Operation: 44-8=36
Exploring Operation: 44+8=52, Resulting Numbers: [49, 52]
Generated Node #0,1,1: 48:[49, 52] Operation: 44+8=52
Exploring Operation: 49+8=57, Resulting Numbers: [44, 57]
Generated Node #0,1,2: 48:[44, 57] Operation: 49+8=57
Exploring Operation: 49-8=41, Resulting Numbers: [44, 41]
Generated Node #0,1,3: 48:[44, 41] Operation: 49-8=41
Exploring Operation: 49-44=5, Resulting Numbers: [8, 5]
Generated Node #0,1,4: 48:[8, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[8, 5], Operations: ['70-62=8', '49-44=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,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:[49, 52], Operations: ['70-62=8', '44+8=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,48 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[44, 41], Operations: ['70-62=8', '49-8=41']
Exploring Operation: 44*41=1804, Resulting Numbers: [1804]
1804,48 unequal: No Solution
Exploring Operation: 44+41=85, Resulting Numbers: [85]
85,48 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[49, 36], Operations: ['70-62=8', '44-8=36']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 49*36=1764, Resulting Numbers: [1764]
1764,48 unequal: No Solution
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,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:[44, 57], Operations: ['70-62=8', '49+8=57']
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,48 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,48 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: 48:[62, 49, 26], Operations: ['70-44=26']
Exploring Operation: 62-26=36, Resulting Numbers: [49, 36]
Generated Node #0,4,0: 48:[49, 36] Operation: 62-26=36
Exploring Operation: 62-49=13, Resulting Numbers: [26, 13]
Generated Node #0,4,1: 48:[26, 13] Operation: 62-49=13
Exploring Operation: 49-26=23, Resulting Numbers: [62, 23]
Generated Node #0,4,2: 48:[62, 23] Operation: 49-26=23
Exploring Operation: 62+26=88, Resulting Numbers: [49, 88]
Generated Node #0,4,3: 48:[49, 88] Operation: 62+26=88
Exploring Operation: 49+26=75, Resulting Numbers: [62, 75]
Generated Node #0,4,4: 48:[62, 75] Operation: 49+26=75
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[26, 13], Operations: ['70-44=26', '62-49=13']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,48 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[49, 36], Operations: ['70-44=26', '62-26=36']
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,48 unequal: No Solution
Exploring Operation: 49*36=1764, Resulting Numbers: [1764]
1764,48 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 48:[62, 23], Operations: ['70-44=26', '49-26=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,48 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[49, 88], Operations: ['70-44=26', '62+26=88']
Exploring Operation: 49*88=4312, Resulting Numbers: [4312]
4312,48 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 49+88=137, Resulting Numbers: [137]
137,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 48:[62, 75], Operations: ['70-44=26', '49+26=75']
Exploring Operation: 62+75=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 62*75=4650, Resulting Numbers: [4650]
4650,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:[62, 44, 21], Operations: ['70-49=21']
Exploring Operation: 62-44=18, Resulting Numbers: [21, 18]
Generated Node #0,0,0: 48:[21, 18] Operation: 62-44=18
Exploring Operation: 62+21=83, Resulting Numbers: [44, 83]
Generated Node #0,0,1: 48:[44, 83] Operation: 62+21=83
Exploring Operation: 44+21=65, Resulting Numbers: [62, 65]
Generated Node #0,0,2: 48:[62, 65] Operation: 44+21=65
Exploring Operation: 62-21=41, Resulting Numbers: [44, 41]
Generated Node #0,0,3: 48:[44, 41] Operation: 62-21=41
Exploring Operation: 44-21=23, Resulting Numbers: [62, 23]
Generated Node #0,0,4: 48:[62, 23] Operation: 44-21=23
Moving to Node #0,2
Current State: 48:[49, 70, 18], Operations: ['62-44=18']
Exploring Operation: 70-18=52, Resulting Numbers: [49, 52]
Generated Node #0,2,0: 48:[49, 52] Operation: 70-18=52
Exploring Operation: 70+18=88, Resulting Numbers: [49, 88]
Generated Node #0,2,1: 48:[49, 88] Operation: 70+18=88
Exploring Operation: 49+18=67, Resulting Numbers: [70, 67]
Generated Node #0,2,2: 48:[70, 67] Operation: 49+18=67
Exploring Operation: 49-18=31, Resulting Numbers: [70, 31]
Generated Node #0,2,3: 48:[70, 31] Operation: 49-18=31
Exploring Operation: 70-49=21, Resulting Numbers: [18, 21]
Generated Node #0,2,4: 48:[18, 21] Operation: 70-49=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[49, 52], Operations: ['62-44=18', '70-18=52']
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,48 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 48:[18, 21], Operations: ['62-44=18', '70-49=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,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:[70, 31], Operations: ['62-44=18', '49-18=31']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,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:[49, 88], Operations: ['62-44=18', '70+18=88']
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 49*88=4312, Resulting Numbers: [4312]
4312,48 unequal: No Solution
Exploring Operation: 49+88=137, Resulting Numbers: [137]
137,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:[70, 67], Operations: ['62-44=18', '49+18=67']
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,48 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,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:[70, 44, 13], Operations: ['62-49=13']
Exploring Operation: 44+13=57, Resulting Numbers: [70, 57]
Generated Node #0,3,0: 48:[70, 57] Operation: 44+13=57
Exploring Operation: 70-13=57, Resulting Numbers: [44, 57]
Generated Node #0,3,1: 48:[44, 57] Operation: 70-13=57
Exploring Operation: 70+13=83, Resulting Numbers: [44, 83]
Generated Node #0,3,2: 48:[44, 83] Operation: 70+13=83
Exploring Operation: 44-13=31, Resulting Numbers: [70, 31]
Generated Node #0,3,3: 48:[70, 31] Operation: 44-13=31
Exploring Operation: 70-44=26, Resulting Numbers: [13, 26]
Generated Node #0,3,4: 48:[13, 26] Operation: 70-44=26
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 48:[13, 26], Operations: ['62-49=13', '70-44=26']
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,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:[44, 57], Operations: ['62-49=13', '70-13=57']
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,48 unequal: No Solution
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,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,3
Current State: 48:[70, 31], Operations: ['62-49=13', '44-13=31']
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,48 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,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:[70, 57], Operations: ['62-49=13', '44+13=57']
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 70+57=127, Resulting Numbers: [127]
127,48 unequal: No Solution
Exploring Operation: 70*57=3990, Resulting Numbers: [3990]
3990,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:[44, 83], Operations: ['62-49=13', '70+13=83']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,48 unequal: No Solution
Exploring Operation: 44*83=3652, Resulting Numbers: [3652]
3652,48 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: 48:[21, 18], Operations: ['70-49=21', '62-44=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,48 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[44, 41], Operations: ['70-49=21', '62-21=41']
Exploring Operation: 44+41=85, Resulting Numbers: [85]
85,48 unequal: No Solution
Exploring Operation: 44*41=1804, Resulting Numbers: [1804]
1804,48 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,0,4
Current State: 48:[62, 23], Operations: ['70-49=21', '44-21=23']
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,48 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[62, 65], Operations: ['70-49=21', '44+21=65']
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 62*65=4030, Resulting Numbers: [4030]
4030,48 unequal: No Solution
Exploring Operation: 62+65=127, Resulting Numbers: [127]
127,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[44, 83], Operations: ['70-49=21', '62+21=83']
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,48 unequal: No Solution
Exploring Operation: 44*83=3652, Resulting Numbers: [3652]
3652,48 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,48 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
43,
93,
47,
46
] | 78 | [
"46-43=3",
"93/3=31",
"47+31=78"
] | Current State: 78:[43, 93, 47, 46], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [93, 47, 3]
Generated Node #2: [93, 47, 3] from Operation: 46-43=3
Current State: 78:[93, 47, 3], Operations: ['46-43=3']
Exploring Operation: 93/3=31, Resulting Numbers: [47, 31]
Generated Node #3: [47, 31] from Operation: 93/3=31
Current State: 78:[47, 31], Operations: ['46-43=3', '93/3=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[43, 93, 47, 46], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [43, 46, 46]
Generated Node #0,0: 78:[43, 46, 46] Operation: 93-47=46
Moving to Node #0,0
Current State: 78:[43, 46, 46], Operations: ['93-47=46']
Exploring Operation: 46/46=1, Resulting Numbers: [43, 1]
Generated Node #0,0,0: 78:[43, 1] Operation: 46/46=1
Moving to Node #0,0,0
Current State: 78:[43, 1], Operations: ['93-47=46', '46/46=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,78 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
91,
93,
27,
66
] | 12 | [
"93-91=2",
"27*2=54",
"66-54=12"
] | Current State: 12:[91, 93, 27, 66], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [27, 66, 2]
Generated Node #2: [27, 66, 2] from Operation: 93-91=2
Current State: 12:[27, 66, 2], Operations: ['93-91=2']
Exploring Operation: 27*2=54, Resulting Numbers: [66, 54]
Generated Node #3: [66, 54] from Operation: 27*2=54
Current State: 12:[66, 54], Operations: ['93-91=2', '27*2=54']
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[91, 93, 27, 66], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [27, 66, 2]
Generated Node #0,0: 12:[27, 66, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 12:[27, 66, 2], Operations: ['93-91=2']
Exploring Operation: 66-27=39, Resulting Numbers: [2, 39]
Generated Node #0,0,0: 12:[2, 39] Operation: 66-27=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[2, 39], Operations: ['93-91=2', '66-27=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,12 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,
68,
42,
82
] | 74 | [
"68-42=26",
"6*26=156",
"156-82=74"
] | Current State: 74:[6, 68, 42, 82], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [6, 82, 26]
Generated Node #2: [6, 82, 26] from Operation: 68-42=26
Current State: 74:[6, 82, 26], Operations: ['68-42=26']
Exploring Operation: 6*26=156, Resulting Numbers: [82, 156]
Generated Node #3: [82, 156] from Operation: 6*26=156
Current State: 74:[82, 156], Operations: ['68-42=26', '6*26=156']
Exploring Operation: 156-82=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[6, 68, 42, 82], Operations: []
Exploring Operation: 6+68=74, Resulting Numbers: [42, 82, 74]
Generated Node #0,0: 74:[42, 82, 74] Operation: 6+68=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[42, 82, 74], Operations: ['6+68=74']
Exploring Operation: 82-42=40, Resulting Numbers: [74, 40]
Generated Node #0,0,0: 74:[74, 40] Operation: 82-42=40
Moving to Node #0,0,0
Current State: 74:[74, 40], Operations: ['6+68=74', '82-42=40']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,74 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 |
[
7,
23,
37,
57
] | 59 | [
"37-23=14",
"14/7=2",
"57+2=59"
] | Current State: 59:[7, 23, 37, 57], Operations: []
Exploring Operation: 37-23=14, Resulting Numbers: [7, 57, 14]
Generated Node #2: [7, 57, 14] from Operation: 37-23=14
Current State: 59:[7, 57, 14], Operations: ['37-23=14']
Exploring Operation: 14/7=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 14/7=2
Current State: 59:[57, 2], Operations: ['37-23=14', '14/7=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[7, 23, 37, 57], Operations: []
Exploring Operation: 7+37=44, Resulting Numbers: [23, 57, 44]
Generated Node #0,0: 59:[23, 57, 44] Operation: 7+37=44
Exploring Operation: 7+23=30, Resulting Numbers: [37, 57, 30]
Generated Node #0,1: 59:[37, 57, 30] Operation: 7+23=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[23, 57, 44], Operations: ['7+37=44']
Exploring Operation: 23+57=80, Resulting Numbers: [44, 80]
Generated Node #0,0,0: 59:[44, 80] Operation: 23+57=80
Exploring Operation: 23+44=67, Resulting Numbers: [57, 67]
Generated Node #0,0,1: 59:[57, 67] Operation: 23+44=67
Moving to Node #0,0,1
Current State: 59:[57, 67], Operations: ['7+37=44', '23+44=67']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 57+67=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[44, 80], Operations: ['7+37=44', '23+57=80']
Exploring Operation: 44+80=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,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
Current State: 59:[37, 57, 30], Operations: ['7+23=30']
Exploring Operation: 37+30=67, Resulting Numbers: [57, 67]
Generated Node #0,1,0: 59:[57, 67] Operation: 37+30=67
Exploring Operation: 57+30=87, Resulting Numbers: [37, 87]
Generated Node #0,1,1: 59:[37, 87] Operation: 57+30=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[57, 67], Operations: ['7+23=30', '37+30=67']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 57+67=124, Resulting Numbers: [124]
124,59 unequal: No Solution
No 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: 59:[37, 87], Operations: ['7+23=30', '57+30=87']
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
35,
29,
40
] | 27 | [
"3+35=38",
"40-29=11",
"38-11=27"
] | Current State: 27:[3, 35, 29, 40], Operations: []
Exploring Operation: 3+35=38, Resulting Numbers: [29, 40, 38]
Generated Node #2: [29, 40, 38] from Operation: 3+35=38
Current State: 27:[29, 40, 38], Operations: ['3+35=38']
Exploring Operation: 40-29=11, Resulting Numbers: [38, 11]
Generated Node #3: [38, 11] from Operation: 40-29=11
Current State: 27:[38, 11], Operations: ['3+35=38', '40-29=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[3, 35, 29, 40], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [3, 35, 11]
Generated Node #0,0: 27:[3, 35, 11] Operation: 40-29=11
Exploring Operation: 35-29=6, Resulting Numbers: [3, 40, 6]
Generated Node #0,1: 27:[3, 40, 6] Operation: 35-29=6
Exploring Operation: 40-35=5, Resulting Numbers: [3, 29, 5]
Generated Node #0,2: 27:[3, 29, 5] Operation: 40-35=5
Exploring Operation: 35-3=32, Resulting Numbers: [29, 40, 32]
Generated Node #0,3: 27:[29, 40, 32] Operation: 35-3=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[3, 29, 5], Operations: ['40-35=5']
Exploring Operation: 5-3=2, Resulting Numbers: [29, 2]
Generated Node #0,2,0: 27:[29, 2] Operation: 5-3=2
Exploring Operation: 29-3=26, Resulting Numbers: [5, 26]
Generated Node #0,2,1: 27:[5, 26] Operation: 29-3=26
Exploring Operation: 3+5=8, Resulting Numbers: [29, 8]
Generated Node #0,2,2: 27:[29, 8] Operation: 3+5=8
Exploring Operation: 29-5=24, Resulting Numbers: [3, 24]
Generated Node #0,2,3: 27:[3, 24] Operation: 29-5=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[29, 2], Operations: ['40-35=5', '5-3=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[3, 35, 29, 40], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [3, 29, 5]
Generated Node #0,2: 27:[3, 29, 5] Operation: 40-35=5
Moving to Node #0,2
Current State: 27:[3, 29, 5], Operations: ['40-35=5']
Exploring Operation: 5-3=2, Resulting Numbers: [29, 2]
Generated Node #0,2,0: 27:[29, 2] Operation: 5-3=2
Moving to Node #0,2,0
Current State: 27:[29, 2], Operations: ['40-35=5', '5-3=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
69,
10,
23,
48
] | 55 | [
"69/23=3",
"10+48=58",
"58-3=55"
] | Current State: 55:[69, 10, 23, 48], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [10, 48, 3]
Generated Node #2: [10, 48, 3] from Operation: 69/23=3
Current State: 55:[10, 48, 3], Operations: ['69/23=3']
Exploring Operation: 10+48=58, Resulting Numbers: [3, 58]
Generated Node #3: [3, 58] from Operation: 10+48=58
Current State: 55:[3, 58], Operations: ['69/23=3', '10+48=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[69, 10, 23, 48], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [10, 48, 3]
Generated Node #0,0: 55:[10, 48, 3] Operation: 69/23=3
Exploring Operation: 69-48=21, Resulting Numbers: [10, 23, 21]
Generated Node #0,1: 55:[10, 23, 21] Operation: 69-48=21
Exploring Operation: 69-10=59, Resulting Numbers: [23, 48, 59]
Generated Node #0,2: 55:[23, 48, 59] Operation: 69-10=59
Exploring Operation: 69-23=46, Resulting Numbers: [10, 48, 46]
Generated Node #0,3: 55:[10, 48, 46] Operation: 69-23=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[10, 48, 3], Operations: ['69/23=3']
Exploring Operation: 48+3=51, Resulting Numbers: [10, 51]
Generated Node #0,0,0: 55:[10, 51] Operation: 48+3=51
Exploring Operation: 10+3=13, Resulting Numbers: [48, 13]
Generated Node #0,0,1: 55:[48, 13] Operation: 10+3=13
Exploring Operation: 48/3=16, Resulting Numbers: [10, 16]
Generated Node #0,0,2: 55:[10, 16] Operation: 48/3=16
Exploring Operation: 10+48=58, Resulting Numbers: [3, 58]
Generated Node #0,0,3: 55:[3, 58] Operation: 10+48=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[10, 51], Operations: ['69/23=3', '48+3=51']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,55 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,55 unequal: No Solution
No 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: 55:[3, 58], Operations: ['69/23=3', '10+48=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[69, 10, 23, 48], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [10, 48, 3]
Generated Node #0,0: 55:[10, 48, 3] Operation: 69/23=3
Moving to Node #0,0
Current State: 55:[10, 48, 3], Operations: ['69/23=3']
Exploring Operation: 10+48=58, Resulting Numbers: [3, 58]
Generated Node #0,0,3: 55:[3, 58] Operation: 10+48=58
Moving to Node #0,0,3
Current State: 55:[3, 58], Operations: ['69/23=3', '10+48=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
19,
14,
83,
25
] | 25 | [
"19+14=33",
"83-25=58",
"58-33=25"
] | Current State: 25:[19, 14, 83, 25], Operations: []
Exploring Operation: 19+14=33, Resulting Numbers: [83, 25, 33]
Generated Node #2: [83, 25, 33] from Operation: 19+14=33
Current State: 25:[83, 25, 33], Operations: ['19+14=33']
Exploring Operation: 83-25=58, Resulting Numbers: [33, 58]
Generated Node #3: [33, 58] from Operation: 83-25=58
Current State: 25:[33, 58], Operations: ['19+14=33', '83-25=58']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[19, 14, 83, 25], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [14, 25, 64]
Generated Node #0,0: 25:[14, 25, 64] Operation: 83-19=64
Moving to Node #0,0
Current State: 25:[14, 25, 64], Operations: ['83-19=64']
Exploring Operation: 64-25=39, Resulting Numbers: [14, 39]
Generated Node #0,0,0: 25:[14, 39] Operation: 64-25=39
Moving to Node #0,0,0
Current State: 25:[14, 39], Operations: ['83-19=64', '64-25=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[19, 14, 83, 25], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [14, 25, 64]
Generated Node #0,0: 25:[14, 25, 64] Operation: 83-19=64
Moving to Node #0,0
Current State: 25:[14, 25, 64], Operations: ['83-19=64']
Exploring Operation: 64-25=39, Resulting Numbers: [14, 39]
Generated Node #0,0,0: 25:[14, 39] Operation: 64-25=39
Moving to Node #0,0,0
Current State: 25:[14, 39], Operations: ['83-19=64', '64-25=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
8,
30,
2,
83
] | 94 | [
"30-8=22",
"22/2=11",
"83+11=94"
] | Current State: 94:[8, 30, 2, 83], Operations: []
Exploring Operation: 30-8=22, Resulting Numbers: [2, 83, 22]
Generated Node #2: [2, 83, 22] from Operation: 30-8=22
Current State: 94:[2, 83, 22], Operations: ['30-8=22']
Exploring Operation: 22/2=11, Resulting Numbers: [83, 11]
Generated Node #3: [83, 11] from Operation: 22/2=11
Current State: 94:[83, 11], Operations: ['30-8=22', '22/2=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[8, 30, 2, 83], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [8, 2, 53]
Generated Node #0,0: 94:[8, 2, 53] Operation: 83-30=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[8, 2, 53], Operations: ['83-30=53']
Exploring Operation: 53-8=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 94:[2, 45] Operation: 53-8=45
Moving to Node #0,0,0
Current State: 94:[2, 45], Operations: ['83-30=53', '53-8=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
46,
41,
83
] | 84 | [
"46/23=2",
"83-41=42",
"2*42=84"
] | Current State: 84:[23, 46, 41, 83], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [41, 83, 2]
Generated Node #2: [41, 83, 2] from Operation: 46/23=2
Current State: 84:[41, 83, 2], Operations: ['46/23=2']
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 83-41=42
Current State: 84:[2, 42], Operations: ['46/23=2', '83-41=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[23, 46, 41, 83], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [41, 83, 2]
Generated Node #0,0: 84:[41, 83, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [41, 83, 23]
Generated Node #0,1: 84:[41, 83, 23] Operation: 46-23=23
Exploring Operation: 46-41=5, Resulting Numbers: [23, 83, 5]
Generated Node #0,2: 84:[23, 83, 5] Operation: 46-41=5
Exploring Operation: 46+41=87, Resulting Numbers: [23, 83, 87]
Generated Node #0,3: 84:[23, 83, 87] Operation: 46+41=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[41, 83, 2], Operations: ['46/23=2']
Exploring Operation: 41*2=82, Resulting Numbers: [83, 82]
Generated Node #0,0,0: 84:[83, 82] Operation: 41*2=82
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #0,0,1: 84:[2, 42] Operation: 83-41=42
Exploring Operation: 41+2=43, Resulting Numbers: [83, 43]
Generated Node #0,0,2: 84:[83, 43] Operation: 41+2=43
Exploring Operation: 83+2=85, Resulting Numbers: [41, 85]
Generated Node #0,0,3: 84:[41, 85] Operation: 83+2=85
Moving to Node #0,0,1
Current State: 84:[2, 42], Operations: ['46/23=2', '83-41=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[23, 46, 41, 83], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [41, 83, 2]
Generated Node #0,0: 84:[41, 83, 2] Operation: 46/23=2
Moving to Node #0,0
Current State: 84:[41, 83, 2], Operations: ['46/23=2']
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #0,0,1: 84:[2, 42] Operation: 83-41=42
Moving to Node #0,0,1
Current State: 84:[2, 42], Operations: ['46/23=2', '83-41=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
39,
22,
50,
22
] | 90 | [
"39+50=89",
"22/22=1",
"89+1=90"
] | Current State: 90:[39, 22, 50, 22], Operations: []
Exploring Operation: 39+50=89, Resulting Numbers: [22, 22, 89]
Generated Node #2: [22, 22, 89] from Operation: 39+50=89
Current State: 90:[22, 22, 89], Operations: ['39+50=89']
Exploring Operation: 22/22=1, Resulting Numbers: [89, 1]
Generated Node #3: [89, 1] from Operation: 22/22=1
Current State: 90:[89, 1], Operations: ['39+50=89', '22/22=1']
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[39, 22, 50, 22], Operations: []
Exploring Operation: 50-22=28, Resulting Numbers: [39, 22, 28]
Generated Node #0,0: 90:[39, 22, 28] Operation: 50-22=28
Exploring Operation: 39-22=17, Resulting Numbers: [50, 22, 17]
Generated Node #0,1: 90:[50, 22, 17] Operation: 39-22=17
Exploring Operation: 39-22=17, Resulting Numbers: [22, 50, 17]
Generated Node #0,2: 90:[22, 50, 17] Operation: 39-22=17
Exploring Operation: 50-39=11, Resulting Numbers: [22, 22, 11]
Generated Node #0,3: 90:[22, 22, 11] Operation: 50-39=11
Exploring Operation: 39+50=89, Resulting Numbers: [22, 22, 89]
Generated Node #0,4: 90:[22, 22, 89] Operation: 39+50=89
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[22, 22, 11], Operations: ['50-39=11']
Exploring Operation: 22-22=0, Resulting Numbers: [11, 0]
Generated Node #0,3,0: 90:[11, 0] Operation: 22-22=0
Exploring Operation: 22+22=44, Resulting Numbers: [11, 44]
Generated Node #0,3,1: 90:[11, 44] Operation: 22+22=44
Exploring Operation: 22/11=2, Resulting Numbers: [22, 2]
Generated Node #0,3,2: 90:[22, 2] Operation: 22/11=2
Exploring Operation: 22/11=2, Resulting Numbers: [22, 2]
Generated Node #0,3,3: 90:[22, 2] Operation: 22/11=2
Exploring Operation: 22/22=1, Resulting Numbers: [11, 1]
Generated Node #0,3,4: 90:[11, 1] Operation: 22/22=1
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[11, 44], Operations: ['50-39=11', '22+22=44']
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,90 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,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,3,4
Current State: 90:[11, 1], Operations: ['50-39=11', '22/22=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,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,3,0
Current State: 90:[11, 0], Operations: ['50-39=11', '22-22=0']
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,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,3,2
Current State: 90:[22, 2], Operations: ['50-39=11', '22/11=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,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,3,3
Current State: 90:[22, 2], Operations: ['50-39=11', '22/11=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[22, 22, 89], Operations: ['39+50=89']
Exploring Operation: 22-22=0, Resulting Numbers: [89, 0]
Generated Node #0,4,0: 90:[89, 0] Operation: 22-22=0
Exploring Operation: 22+22=44, Resulting Numbers: [89, 44]
Generated Node #0,4,1: 90:[89, 44] Operation: 22+22=44
Exploring Operation: 22+89=111, Resulting Numbers: [22, 111]
Generated Node #0,4,2: 90:[22, 111] Operation: 22+89=111
Exploring Operation: 22/22=1, Resulting Numbers: [89, 1]
Generated Node #0,4,3: 90:[89, 1] Operation: 22/22=1
Exploring Operation: 22+89=111, Resulting Numbers: [22, 111]
Generated Node #0,4,4: 90:[22, 111] Operation: 22+89=111
Moving to Node #0,4,1
Current State: 90:[89, 44], Operations: ['39+50=89', '22+22=44']
Exploring Operation: 89*44=3916, Resulting Numbers: [3916]
3916,90 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[89, 1], Operations: ['39+50=89', '22/22=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,90 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[39, 22, 50, 22], Operations: []
Exploring Operation: 39+50=89, Resulting Numbers: [22, 22, 89]
Generated Node #0,4: 90:[22, 22, 89] Operation: 39+50=89
Moving to Node #0,4
Current State: 90:[22, 22, 89], Operations: ['39+50=89']
Exploring Operation: 22/22=1, Resulting Numbers: [89, 1]
Generated Node #0,4,3: 90:[89, 1] Operation: 22/22=1
Moving to Node #0,4,3
Current State: 90:[89, 1], Operations: ['39+50=89', '22/22=1']
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | mult_heuristic |
[
43,
9,
8,
99
] | 39 | [
"43+9=52",
"99-8=91",
"91-52=39"
] | Current State: 39:[43, 9, 8, 99], Operations: []
Exploring Operation: 43+9=52, Resulting Numbers: [8, 99, 52]
Generated Node #2: [8, 99, 52] from Operation: 43+9=52
Current State: 39:[8, 99, 52], Operations: ['43+9=52']
Exploring Operation: 99-8=91, Resulting Numbers: [52, 91]
Generated Node #3: [52, 91] from Operation: 99-8=91
Current State: 39:[52, 91], Operations: ['43+9=52', '99-8=91']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[43, 9, 8, 99], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [43, 8, 11]
Generated Node #0,0: 39:[43, 8, 11] Operation: 99/9=11
Exploring Operation: 99-9=90, Resulting Numbers: [43, 8, 90]
Generated Node #0,1: 39:[43, 8, 90] Operation: 99-9=90
Exploring Operation: 99-43=56, Resulting Numbers: [9, 8, 56]
Generated Node #0,2: 39:[9, 8, 56] Operation: 99-43=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[43, 8, 11], Operations: ['99/9=11']
Exploring Operation: 11-8=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 39:[43, 3] Operation: 11-8=3
Exploring Operation: 43-8=35, Resulting Numbers: [11, 35]
Generated Node #0,0,1: 39:[11, 35] Operation: 43-8=35
Exploring Operation: 8+11=19, Resulting Numbers: [43, 19]
Generated Node #0,0,2: 39:[43, 19] Operation: 8+11=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[43, 3], Operations: ['99/9=11', '11-8=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,39 unequal: No Solution
No 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: 39:[11, 35], Operations: ['99/9=11', '43-8=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,39 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,39 unequal: No Solution
No 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: 39:[43, 19], Operations: ['99/9=11', '8+11=19']
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,39 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[9, 8, 56], Operations: ['99-43=56']
Exploring Operation: 56/8=7, Resulting Numbers: [9, 7]
Generated Node #0,2,0: 39:[9, 7] Operation: 56/8=7
Exploring Operation: 56-8=48, Resulting Numbers: [9, 48]
Generated Node #0,2,1: 39:[9, 48] Operation: 56-8=48
Exploring Operation: 56-9=47, Resulting Numbers: [8, 47]
Generated Node #0,2,2: 39:[8, 47] Operation: 56-9=47
Moving to Node #0,2,0
Current State: 39:[9, 7], Operations: ['99-43=56', '56/8=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[9, 48], Operations: ['99-43=56', '56-8=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[43, 9, 8, 99], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [9, 8, 56]
Generated Node #0,2: 39:[9, 8, 56] Operation: 99-43=56
Moving to Node #0,2
Current State: 39:[9, 8, 56], Operations: ['99-43=56']
Exploring Operation: 56-8=48, Resulting Numbers: [9, 48]
Generated Node #0,2,1: 39:[9, 48] Operation: 56-8=48
Moving to Node #0,2,1
Current State: 39:[9, 48], Operations: ['99-43=56', '56-8=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
32,
80,
76,
8
] | 82 | [
"80-32=48",
"48/8=6",
"76+6=82"
] | Current State: 82:[32, 80, 76, 8], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [76, 8, 48]
Generated Node #2: [76, 8, 48] from Operation: 80-32=48
Current State: 82:[76, 8, 48], Operations: ['80-32=48']
Exploring Operation: 48/8=6, Resulting Numbers: [76, 6]
Generated Node #3: [76, 6] from Operation: 48/8=6
Current State: 82:[76, 6], Operations: ['80-32=48', '48/8=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[32, 80, 76, 8], Operations: []
Exploring Operation: 76+8=84, Resulting Numbers: [32, 80, 84]
Generated Node #0,0: 82:[32, 80, 84] Operation: 76+8=84
Exploring Operation: 76-32=44, Resulting Numbers: [80, 8, 44]
Generated Node #0,1: 82:[80, 8, 44] Operation: 76-32=44
Exploring Operation: 32/8=4, Resulting Numbers: [80, 76, 4]
Generated Node #0,2: 82:[80, 76, 4] Operation: 32/8=4
Exploring Operation: 32+8=40, Resulting Numbers: [80, 76, 40]
Generated Node #0,3: 82:[80, 76, 40] Operation: 32+8=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[80, 76, 40], Operations: ['32+8=40']
Exploring Operation: 76-40=36, Resulting Numbers: [80, 36]
Generated Node #0,3,0: 82:[80, 36] Operation: 76-40=36
Exploring Operation: 80/40=2, Resulting Numbers: [76, 2]
Generated Node #0,3,1: 82:[76, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [76, 40]
Generated Node #0,3,2: 82:[76, 40] Operation: 80-40=40
Exploring Operation: 80-76=4, Resulting Numbers: [40, 4]
Generated Node #0,3,3: 82:[40, 4] Operation: 80-76=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[40, 4], Operations: ['32+8=40', '80-76=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,82 unequal: No Solution
No 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: 82:[76, 2], Operations: ['32+8=40', '80/40=2']
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,82 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,82 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No 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: 82:[80, 36], Operations: ['32+8=40', '76-40=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,82 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,82 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,82 unequal: No Solution
No 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: 82:[76, 40], Operations: ['32+8=40', '80-40=40']
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,82 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,82 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: 82:[80, 76, 4], Operations: ['32/8=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80, 80]
Generated Node #0,2,0: 82:[80, 80] Operation: 76+4=80
Exploring Operation: 80-76=4, Resulting Numbers: [4, 4]
Generated Node #0,2,1: 82:[4, 4] Operation: 80-76=4
Exploring Operation: 80+4=84, Resulting Numbers: [76, 84]
Generated Node #0,2,2: 82:[76, 84] Operation: 80+4=84
Exploring Operation: 80-4=76, Resulting Numbers: [76, 76]
Generated Node #0,2,3: 82:[76, 76] Operation: 80-4=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[80, 80], Operations: ['32/8=4', '76+4=80']
Exploring Operation: 80*80=6400, Resulting Numbers: [6400]
6400,82 unequal: No Solution
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,82 unequal: No Solution
No 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: 82:[4, 4], Operations: ['32/8=4', '80-76=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No 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: 82:[76, 84], Operations: ['32/8=4', '80+4=84']
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 76*84=6384, Resulting Numbers: [6384]
6384,82 unequal: No Solution
No 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: 82:[76, 76], Operations: ['32/8=4', '80-4=76']
Exploring Operation: 76/76=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 76+76=152, Resulting Numbers: [152]
152,82 unequal: No Solution
Exploring Operation: 76-76=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 76*76=5776, Resulting Numbers: [5776]
5776,82 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: 82:[80, 8, 44], Operations: ['76-32=44']
Exploring Operation: 80/8=10, Resulting Numbers: [44, 10]
Generated Node #0,1,0: 82:[44, 10] Operation: 80/8=10
Exploring Operation: 80-44=36, Resulting Numbers: [8, 36]
Generated Node #0,1,1: 82:[8, 36] Operation: 80-44=36
Exploring Operation: 80+8=88, Resulting Numbers: [44, 88]
Generated Node #0,1,2: 82:[44, 88] Operation: 80+8=88
Exploring Operation: 44-8=36, Resulting Numbers: [80, 36]
Generated Node #0,1,3: 82:[80, 36] Operation: 44-8=36
Moving to Node #0,1,3
Current State: 82:[80, 36], Operations: ['76-32=44', '44-8=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,82 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,82 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[44, 88], Operations: ['76-32=44', '80+8=88']
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,82 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[8, 36], Operations: ['76-32=44', '80-44=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,82 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[44, 10], Operations: ['76-32=44', '80/8=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,82 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[32, 80, 84], Operations: ['76+8=84']
Exploring Operation: 80-32=48, Resulting Numbers: [84, 48]
Generated Node #0,0,0: 82:[84, 48] Operation: 80-32=48
Exploring Operation: 84-80=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 82:[32, 4] Operation: 84-80=4
Exploring Operation: 32+80=112, Resulting Numbers: [84, 112]
Generated Node #0,0,2: 82:[84, 112] Operation: 32+80=112
Exploring Operation: 84-32=52, Resulting Numbers: [80, 52]
Generated Node #0,0,3: 82:[80, 52] Operation: 84-32=52
Moving to Node #0,0,0
Current State: 82:[84, 48], Operations: ['76+8=84', '80-32=48']
Exploring Operation: 84+48=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 84*48=4032, Resulting Numbers: [4032]
4032,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[32, 4], Operations: ['76+8=84', '84-80=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,82 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[80, 52], Operations: ['76+8=84', '84-32=52']
Exploring Operation: 80+52=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 80*52=4160, Resulting Numbers: [4160]
4160,82 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[84, 112], Operations: ['76+8=84', '32+80=112']
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 84+112=196, Resulting Numbers: [196]
196,82 unequal: No Solution
Exploring Operation: 84*112=9408, Resulting Numbers: [9408]
9408,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
57,
9,
53,
4
] | 40 | [
"57-53=4",
"9*4=36",
"4+36=40"
] | Current State: 40:[57, 9, 53, 4], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [9, 4, 4]
Generated Node #2: [9, 4, 4] from Operation: 57-53=4
Current State: 40:[9, 4, 4], Operations: ['57-53=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,40 equal: Goal Reached
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[57, 9, 53, 4], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [57, 4, 44]
Generated Node #0,0: 40:[57, 4, 44] Operation: 53-9=44
Exploring Operation: 57-4=53, Resulting Numbers: [9, 53, 53]
Generated Node #0,1: 40:[9, 53, 53] Operation: 57-4=53
Exploring Operation: 57-53=4, Resulting Numbers: [9, 4, 4]
Generated Node #0,2: 40:[9, 4, 4] Operation: 57-53=4
Exploring Operation: 57-9=48, Resulting Numbers: [53, 4, 48]
Generated Node #0,3: 40:[53, 4, 48] Operation: 57-9=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[9, 4, 4], Operations: ['57-53=4']
Exploring Operation: 4/4=1, Resulting Numbers: [9, 1]
Generated Node #0,2,0: 40:[9, 1] Operation: 4/4=1
Exploring Operation: 4+4=8, Resulting Numbers: [9, 8]
Generated Node #0,2,1: 40:[9, 8] Operation: 4+4=8
Exploring Operation: 9-4=5, Resulting Numbers: [4, 5]
Generated Node #0,2,2: 40:[4, 5] Operation: 9-4=5
Exploring Operation: 9-4=5, Resulting Numbers: [4, 5]
Generated Node #0,2,3: 40:[4, 5] Operation: 9-4=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 40:[4, 5], Operations: ['57-53=4', '9-4=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 40:[4, 5], Operations: ['57-53=4', '9-4=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[9, 8], Operations: ['57-53=4', '4+4=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[9, 1], Operations: ['57-53=4', '4/4=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[57, 4, 44], Operations: ['53-9=44']
Exploring Operation: 57-4=53, Resulting Numbers: [44, 53]
Generated Node #0,0,0: 40:[44, 53] Operation: 57-4=53
Exploring Operation: 44/4=11, Resulting Numbers: [57, 11]
Generated Node #0,0,1: 40:[57, 11] Operation: 44/4=11
Exploring Operation: 57-44=13, Resulting Numbers: [4, 13]
Generated Node #0,0,2: 40:[4, 13] Operation: 57-44=13
Exploring Operation: 44-4=40, Resulting Numbers: [57, 40]
Generated Node #0,0,3: 40:[57, 40] Operation: 44-4=40
Moving to Node #0,0,2
Current State: 40:[4, 13], Operations: ['53-9=44', '57-44=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,40 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[57, 40], Operations: ['53-9=44', '44-4=40']
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,40 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,40 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[44, 53], Operations: ['53-9=44', '57-4=53']
Exploring Operation: 44*53=2332, Resulting Numbers: [2332]
2332,40 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[57, 11], Operations: ['53-9=44', '44/4=11']
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,40 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[53, 4, 48], Operations: ['57-9=48']
Exploring Operation: 53-48=5, Resulting Numbers: [4, 5]
Generated Node #0,3,0: 40:[4, 5] Operation: 53-48=5
Exploring Operation: 48-4=44, Resulting Numbers: [53, 44]
Generated Node #0,3,1: 40:[53, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [53, 12]
Generated Node #0,3,2: 40:[53, 12] Operation: 48/4=12
Exploring Operation: 53-4=49, Resulting Numbers: [48, 49]
Generated Node #0,3,3: 40:[48, 49] Operation: 53-4=49
Moving to Node #0,3,0
Current State: 40:[4, 5], Operations: ['57-9=48', '53-48=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[53, 12], Operations: ['57-9=48', '48/4=12']
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[48, 49], Operations: ['57-9=48', '53-4=49']
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,40 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[53, 44], Operations: ['57-9=48', '48-4=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[9, 53, 53], Operations: ['57-4=53']
Exploring Operation: 53-9=44, Resulting Numbers: [53, 44]
Generated Node #0,1,0: 40:[53, 44] Operation: 53-9=44
Exploring Operation: 53/53=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 40:[9, 1] Operation: 53/53=1
Exploring Operation: 53-53=0, Resulting Numbers: [9, 0]
Generated Node #0,1,2: 40:[9, 0] Operation: 53-53=0
Exploring Operation: 53-9=44, Resulting Numbers: [53, 44]
Generated Node #0,1,3: 40:[53, 44] Operation: 53-9=44
Moving to Node #0,1,1
Current State: 40:[9, 1], Operations: ['57-4=53', '53/53=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[9, 0], Operations: ['57-4=53', '53-53=0']
Exploring Operation: 9*0=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 9+0=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 9-0=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[53, 44], Operations: ['57-4=53', '53-9=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,40 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[53, 44], Operations: ['57-4=53', '53-9=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,40 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,40 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 |
[
85,
83,
63,
7
] | 87 | [
"85+83=168",
"168/7=24",
"63+24=87"
] | Current State: 87:[85, 83, 63, 7], Operations: []
Exploring Operation: 85+83=168, Resulting Numbers: [63, 7, 168]
Generated Node #2: [63, 7, 168] from Operation: 85+83=168
Current State: 87:[63, 7, 168], Operations: ['85+83=168']
Exploring Operation: 168/7=24, Resulting Numbers: [63, 24]
Generated Node #3: [63, 24] from Operation: 168/7=24
Current State: 87:[63, 24], Operations: ['85+83=168', '168/7=24']
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[85, 83, 63, 7], Operations: []
Exploring Operation: 85-63=22, Resulting Numbers: [83, 7, 22]
Generated Node #0,0: 87:[83, 7, 22] Operation: 85-63=22
Exploring Operation: 83-63=20, Resulting Numbers: [85, 7, 20]
Generated Node #0,1: 87:[85, 7, 20] Operation: 83-63=20
Exploring Operation: 63/7=9, Resulting Numbers: [85, 83, 9]
Generated Node #0,2: 87:[85, 83, 9] Operation: 63/7=9
Moving to Node #0,2
Current State: 87:[85, 83, 9], Operations: ['63/7=9']
Exploring Operation: 85+9=94, Resulting Numbers: [83, 94]
Generated Node #0,2,0: 87:[83, 94] Operation: 85+9=94
Exploring Operation: 83+9=92, Resulting Numbers: [85, 92]
Generated Node #0,2,1: 87:[85, 92] Operation: 83+9=92
Exploring Operation: 85-83=2, Resulting Numbers: [9, 2]
Generated Node #0,2,2: 87:[9, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 87:[83, 7, 22], Operations: ['85-63=22']
Exploring Operation: 22-7=15, Resulting Numbers: [83, 15]
Generated Node #0,0,0: 87:[83, 15] Operation: 22-7=15
Exploring Operation: 83+7=90, Resulting Numbers: [22, 90]
Generated Node #0,0,1: 87:[22, 90] Operation: 83+7=90
Exploring Operation: 7+22=29, Resulting Numbers: [83, 29]
Generated Node #0,0,2: 87:[83, 29] Operation: 7+22=29
Moving to Node #0,1
Current State: 87:[85, 7, 20], Operations: ['83-63=20']
Exploring Operation: 7+20=27, Resulting Numbers: [85, 27]
Generated Node #0,1,0: 87:[85, 27] Operation: 7+20=27
Exploring Operation: 20-7=13, Resulting Numbers: [85, 13]
Generated Node #0,1,1: 87:[85, 13] Operation: 20-7=13
Exploring Operation: 85+7=92, Resulting Numbers: [20, 92]
Generated Node #0,1,2: 87:[20, 92] Operation: 85+7=92
Moving to Node #0,0,2
Current State: 87:[83, 29], Operations: ['85-63=22', '7+22=29']
Exploring Operation: 83*29=2407, Resulting Numbers: [2407]
2407,87 unequal: No Solution
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[85, 27], Operations: ['83-63=20', '7+20=27']
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,87 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[85, 92], Operations: ['63/7=9', '83+9=92']
Exploring Operation: 85*92=7820, Resulting Numbers: [7820]
7820,87 unequal: No Solution
Exploring Operation: 85+92=177, Resulting Numbers: [177]
177,87 unequal: No Solution
Exploring Operation: 92-85=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[9, 2], Operations: ['63/7=9', '85-83=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[22, 90], Operations: ['85-63=22', '83+7=90']
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 22+90=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 22*90=1980, Resulting Numbers: [1980]
1980,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[83, 94], Operations: ['63/7=9', '85+9=94']
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,87 unequal: No Solution
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,87 unequal: No Solution
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[85, 13], Operations: ['83-63=20', '20-7=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[20, 92], Operations: ['83-63=20', '85+7=92']
Exploring Operation: 20+92=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 20*92=1840, Resulting Numbers: [1840]
1840,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[83, 15], Operations: ['85-63=22', '22-7=15']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,87 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
20,
40,
95
] | 65 | [
"10*20=200",
"40+95=135",
"200-135=65"
] | Current State: 65:[10, 20, 40, 95], Operations: []
Exploring Operation: 10*20=200, Resulting Numbers: [40, 95, 200]
Generated Node #2: [40, 95, 200] from Operation: 10*20=200
Current State: 65:[40, 95, 200], Operations: ['10*20=200']
Exploring Operation: 40+95=135, Resulting Numbers: [200, 135]
Generated Node #3: [200, 135] from Operation: 40+95=135
Current State: 65:[200, 135], Operations: ['10*20=200', '40+95=135']
Exploring Operation: 200-135=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[10, 20, 40, 95], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [10, 20, 55]
Generated Node #0,0: 65:[10, 20, 55] Operation: 95-40=55
Exploring Operation: 40/20=2, Resulting Numbers: [10, 95, 2]
Generated Node #0,1: 65:[10, 95, 2] Operation: 40/20=2
Exploring Operation: 40/10=4, Resulting Numbers: [20, 95, 4]
Generated Node #0,2: 65:[20, 95, 4] Operation: 40/10=4
Moving to Node #0,0
Current State: 65:[10, 20, 55], Operations: ['95-40=55']
Exploring Operation: 20/10=2, Resulting Numbers: [55, 2]
Generated Node #0,0,0: 65:[55, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [55, 10]
Generated Node #0,0,1: 65:[55, 10] Operation: 20-10=10
Exploring Operation: 10+55=65, Resulting Numbers: [20, 65]
Generated Node #0,0,2: 65:[20, 65] Operation: 10+55=65
Moving to Node #0,1
Current State: 65:[10, 95, 2], Operations: ['40/20=2']
Exploring Operation: 95-10=85, Resulting Numbers: [2, 85]
Generated Node #0,1,0: 65:[2, 85] Operation: 95-10=85
Exploring Operation: 10+2=12, Resulting Numbers: [95, 12]
Generated Node #0,1,1: 65:[95, 12] Operation: 10+2=12
Exploring Operation: 10/2=5, Resulting Numbers: [95, 5]
Generated Node #0,1,2: 65:[95, 5] Operation: 10/2=5
Moving to Node #0,2
Current State: 65:[20, 95, 4], Operations: ['40/10=4']
Exploring Operation: 20/4=5, Resulting Numbers: [95, 5]
Generated Node #0,2,0: 65:[95, 5] Operation: 20/4=5
Exploring Operation: 95-20=75, Resulting Numbers: [4, 75]
Generated Node #0,2,1: 65:[4, 75] Operation: 95-20=75
Exploring Operation: 20-4=16, Resulting Numbers: [95, 16]
Generated Node #0,2,2: 65:[95, 16] Operation: 20-4=16
Moving to Node #0,0,2
Current State: 65:[20, 65], Operations: ['95-40=55', '10+55=65']
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,65 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,65 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[4, 75], Operations: ['40/10=4', '95-20=75']
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,65 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[55, 10], Operations: ['95-40=55', '20-10=10']
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,65 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[10, 20, 40, 95], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [10, 20, 55]
Generated Node #0,0: 65:[10, 20, 55] Operation: 95-40=55
Moving to Node #0,0
Current State: 65:[10, 20, 55], Operations: ['95-40=55']
Exploring Operation: 20-10=10, Resulting Numbers: [55, 10]
Generated Node #0,0,1: 65:[55, 10] Operation: 20-10=10
Moving to Node #0,0,1
Current State: 65:[55, 10], Operations: ['95-40=55', '20-10=10']
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
3,
56,
52,
81
] | 24 | [
"56-3=53",
"81-52=29",
"53-29=24"
] | Current State: 24:[3, 56, 52, 81], Operations: []
Exploring Operation: 56-3=53, Resulting Numbers: [52, 81, 53]
Generated Node #2: [52, 81, 53] from Operation: 56-3=53
Current State: 24:[52, 81, 53], Operations: ['56-3=53']
Exploring Operation: 81-52=29, Resulting Numbers: [53, 29]
Generated Node #3: [53, 29] from Operation: 81-52=29
Current State: 24:[53, 29], Operations: ['56-3=53', '81-52=29']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[3, 56, 52, 81], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [3, 52, 25]
Generated Node #0,0: 24:[3, 52, 25] Operation: 81-56=25
Exploring Operation: 81-52=29, Resulting Numbers: [3, 56, 29]
Generated Node #0,1: 24:[3, 56, 29] Operation: 81-52=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[3, 52, 25], Operations: ['81-56=25']
Exploring Operation: 52-25=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 24:[3, 27] Operation: 52-25=27
Exploring Operation: 52-3=49, Resulting Numbers: [25, 49]
Generated Node #0,0,1: 24:[25, 49] Operation: 52-3=49
Moving to Node #0,0,0
Current State: 24:[3, 27], Operations: ['81-56=25', '52-25=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[3, 56, 52, 81], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [3, 52, 25]
Generated Node #0,0: 24:[3, 52, 25] Operation: 81-56=25
Moving to Node #0,0
Current State: 24:[3, 52, 25], Operations: ['81-56=25']
Exploring Operation: 52-25=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 24:[3, 27] Operation: 52-25=27
Moving to Node #0,0,0
Current State: 24:[3, 27], Operations: ['81-56=25', '52-25=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
96,
51,
70,
98
] | 86 | [
"98-96=2",
"70/2=35",
"51+35=86"
] | Current State: 86:[96, 51, 70, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [51, 70, 2]
Generated Node #2: [51, 70, 2] from Operation: 98-96=2
Current State: 86:[51, 70, 2], Operations: ['98-96=2']
Exploring Operation: 70/2=35, Resulting Numbers: [51, 35]
Generated Node #3: [51, 35] from Operation: 70/2=35
Current State: 86:[51, 35], Operations: ['98-96=2', '70/2=35']
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[96, 51, 70, 98], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [51, 98, 26]
Generated Node #0,0: 86:[51, 98, 26] Operation: 96-70=26
Exploring Operation: 96-51=45, Resulting Numbers: [70, 98, 45]
Generated Node #0,1: 86:[70, 98, 45] Operation: 96-51=45
Exploring Operation: 98-51=47, Resulting Numbers: [96, 70, 47]
Generated Node #0,2: 86:[96, 70, 47] Operation: 98-51=47
Exploring Operation: 98-96=2, Resulting Numbers: [51, 70, 2]
Generated Node #0,3: 86:[51, 70, 2] Operation: 98-96=2
Exploring Operation: 98-70=28, Resulting Numbers: [96, 51, 28]
Generated Node #0,4: 86:[96, 51, 28] Operation: 98-70=28
Moving to Node #0,3
Current State: 86:[51, 70, 2], Operations: ['98-96=2']
Exploring Operation: 70/2=35, Resulting Numbers: [51, 35]
Generated Node #0,3,0: 86:[51, 35] Operation: 70/2=35
Exploring Operation: 70+2=72, Resulting Numbers: [51, 72]
Generated Node #0,3,1: 86:[51, 72] Operation: 70+2=72
Exploring Operation: 51-2=49, Resulting Numbers: [70, 49]
Generated Node #0,3,2: 86:[70, 49] Operation: 51-2=49
Exploring Operation: 51+2=53, Resulting Numbers: [70, 53]
Generated Node #0,3,3: 86:[70, 53] Operation: 51+2=53
Exploring Operation: 70-51=19, Resulting Numbers: [2, 19]
Generated Node #0,3,4: 86:[2, 19] Operation: 70-51=19
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[51, 35], Operations: ['98-96=2', '70/2=35']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,86 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[96, 51, 70, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [51, 70, 2]
Generated Node #0,3: 86:[51, 70, 2] Operation: 98-96=2
Moving to Node #0,3
Current State: 86:[51, 70, 2], Operations: ['98-96=2']
Exploring Operation: 70/2=35, Resulting Numbers: [51, 35]
Generated Node #0,3,0: 86:[51, 35] Operation: 70/2=35
Moving to Node #0,3,0
Current State: 86:[51, 35], Operations: ['98-96=2', '70/2=35']
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
3,
84,
8,
11
] | 29 | [
"3+84=87",
"11-8=3",
"87/3=29"
] | Current State: 29:[3, 84, 8, 11], Operations: []
Exploring Operation: 3+84=87, Resulting Numbers: [8, 11, 87]
Generated Node #2: [8, 11, 87] from Operation: 3+84=87
Current State: 29:[8, 11, 87], Operations: ['3+84=87']
Exploring Operation: 11-8=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 11-8=3
Current State: 29:[87, 3], Operations: ['3+84=87', '11-8=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[3, 84, 8, 11], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [8, 11, 28]
Generated Node #0,0: 29:[8, 11, 28] Operation: 84/3=28
Exploring Operation: 3*8=24, Resulting Numbers: [84, 11, 24]
Generated Node #0,1: 29:[84, 11, 24] Operation: 3*8=24
Moving to Node #0,0
Current State: 29:[8, 11, 28], Operations: ['84/3=28']
Exploring Operation: 8+11=19, Resulting Numbers: [28, 19]
Generated Node #0,0,0: 29:[28, 19] Operation: 8+11=19
Exploring Operation: 8+28=36, Resulting Numbers: [11, 36]
Generated Node #0,0,1: 29:[11, 36] Operation: 8+28=36
Moving to Node #0,1
Current State: 29:[84, 11, 24], Operations: ['3*8=24']
Exploring Operation: 84-24=60, Resulting Numbers: [11, 60]
Generated Node #0,1,0: 29:[11, 60] Operation: 84-24=60
Exploring Operation: 84-11=73, Resulting Numbers: [24, 73]
Generated Node #0,1,1: 29:[24, 73] Operation: 84-11=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[11, 60], Operations: ['3*8=24', '84-24=60']
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,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,1,1
Current State: 29:[24, 73], Operations: ['3*8=24', '84-11=73']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,29 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: 29:[28, 19], Operations: ['84/3=28', '8+11=19']
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[11, 36], Operations: ['84/3=28', '8+28=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
84,
9,
5,
6
] | 79 | [
"84*5=420",
"420/6=70",
"9+70=79"
] | Current State: 79:[84, 9, 5, 6], Operations: []
Exploring Operation: 84*5=420, Resulting Numbers: [9, 6, 420]
Generated Node #2: [9, 6, 420] from Operation: 84*5=420
Current State: 79:[9, 6, 420], Operations: ['84*5=420']
Exploring Operation: 420/6=70, Resulting Numbers: [9, 70]
Generated Node #3: [9, 70] from Operation: 420/6=70
Current State: 79:[9, 70], Operations: ['84*5=420', '420/6=70']
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[84, 9, 5, 6], Operations: []
Exploring Operation: 9*6=54, Resulting Numbers: [84, 5, 54]
Generated Node #0,0: 79:[84, 5, 54] Operation: 9*6=54
Moving to Node #0,0
Current State: 79:[84, 5, 54], Operations: ['9*6=54']
Exploring Operation: 84-5=79, Resulting Numbers: [54, 79]
Generated Node #0,0,0: 79:[54, 79] Operation: 84-5=79
Moving to Node #0,0,0
Current State: 79:[54, 79], Operations: ['9*6=54', '84-5=79']
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,79 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
39,
36,
63,
91
] | 47 | [
"39+36=75",
"91-63=28",
"75-28=47"
] | Current State: 47:[39, 36, 63, 91], Operations: []
Exploring Operation: 39+36=75, Resulting Numbers: [63, 91, 75]
Generated Node #2: [63, 91, 75] from Operation: 39+36=75
Current State: 47:[63, 91, 75], Operations: ['39+36=75']
Exploring Operation: 91-63=28, Resulting Numbers: [75, 28]
Generated Node #3: [75, 28] from Operation: 91-63=28
Current State: 47:[75, 28], Operations: ['39+36=75', '91-63=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[39, 36, 63, 91], Operations: []
Exploring Operation: 91-39=52, Resulting Numbers: [36, 63, 52]
Generated Node #0,0: 47:[36, 63, 52] Operation: 91-39=52
Moving to Node #0,0
Current State: 47:[36, 63, 52], Operations: ['91-39=52']
Exploring Operation: 63-36=27, Resulting Numbers: [52, 27]
Generated Node #0,0,0: 47:[52, 27] Operation: 63-36=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[52, 27], Operations: ['91-39=52', '63-36=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
6,
27,
44
] | 76 | [
"87+6=93",
"44-27=17",
"93-17=76"
] | Current State: 76:[87, 6, 27, 44], Operations: []
Exploring Operation: 87+6=93, Resulting Numbers: [27, 44, 93]
Generated Node #2: [27, 44, 93] from Operation: 87+6=93
Current State: 76:[27, 44, 93], Operations: ['87+6=93']
Exploring Operation: 44-27=17, Resulting Numbers: [93, 17]
Generated Node #3: [93, 17] from Operation: 44-27=17
Current State: 76:[93, 17], Operations: ['87+6=93', '44-27=17']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[87, 6, 27, 44], Operations: []
Exploring Operation: 44-27=17, Resulting Numbers: [87, 6, 17]
Generated Node #0,0: 76:[87, 6, 17] Operation: 44-27=17
Exploring Operation: 87-6=81, Resulting Numbers: [27, 44, 81]
Generated Node #0,1: 76:[27, 44, 81] Operation: 87-6=81
Exploring Operation: 87-44=43, Resulting Numbers: [6, 27, 43]
Generated Node #0,2: 76:[6, 27, 43] Operation: 87-44=43
Exploring Operation: 27+44=71, Resulting Numbers: [87, 6, 71]
Generated Node #0,3: 76:[87, 6, 71] Operation: 27+44=71
Moving to Node #0,0
Current State: 76:[87, 6, 17], Operations: ['44-27=17']
Exploring Operation: 87-6=81, Resulting Numbers: [17, 81]
Generated Node #0,0,0: 76:[17, 81] Operation: 87-6=81
Exploring Operation: 87-17=70, Resulting Numbers: [6, 70]
Generated Node #0,0,1: 76:[6, 70] Operation: 87-17=70
Exploring Operation: 17-6=11, Resulting Numbers: [87, 11]
Generated Node #0,0,2: 76:[87, 11] Operation: 17-6=11
Exploring Operation: 6+17=23, Resulting Numbers: [87, 23]
Generated Node #0,0,3: 76:[87, 23] Operation: 6+17=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[17, 81], Operations: ['44-27=17', '87-6=81']
Exploring Operation: 17*81=1377, Resulting Numbers: [1377]
1377,76 unequal: No Solution
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,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,0,1
Current State: 76:[6, 70], Operations: ['44-27=17', '87-17=70']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[87, 6, 27, 44], Operations: []
Exploring Operation: 44-27=17, Resulting Numbers: [87, 6, 17]
Generated Node #0,0: 76:[87, 6, 17] Operation: 44-27=17
Moving to Node #0,0
Current State: 76:[87, 6, 17], Operations: ['44-27=17']
Exploring Operation: 87-17=70, Resulting Numbers: [6, 70]
Generated Node #0,0,1: 76:[6, 70] Operation: 87-17=70
Moving to Node #0,0,1
Current State: 76:[6, 70], Operations: ['44-27=17', '87-17=70']
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
60,
10,
58,
68
] | 59 | [
"10+58=68",
"68/68=1",
"60-1=59"
] | Current State: 59:[60, 10, 58, 68], Operations: []
Exploring Operation: 10+58=68, Resulting Numbers: [60, 68, 68]
Generated Node #2: [60, 68, 68] from Operation: 10+58=68
Current State: 59:[60, 68, 68], Operations: ['10+58=68']
Exploring Operation: 68/68=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 68/68=1
Current State: 59:[60, 1], Operations: ['10+58=68', '68/68=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[60, 10, 58, 68], Operations: []
Exploring Operation: 60-10=50, Resulting Numbers: [58, 68, 50]
Generated Node #0,0: 59:[58, 68, 50] Operation: 60-10=50
Exploring Operation: 68-10=58, Resulting Numbers: [60, 58, 58]
Generated Node #0,1: 59:[60, 58, 58] Operation: 68-10=58
Moving to Node #0,1
Current State: 59:[60, 58, 58], Operations: ['68-10=58']
Exploring Operation: 60-58=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 59:[58, 2] Operation: 60-58=2
Exploring Operation: 60-58=2, Resulting Numbers: [58, 2]
Generated Node #0,1,1: 59:[58, 2] Operation: 60-58=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[58, 2], Operations: ['68-10=58', '60-58=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,59 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,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:[58, 2], Operations: ['68-10=58', '60-58=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,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:[58, 68, 50], Operations: ['60-10=50']
Exploring Operation: 68-50=18, Resulting Numbers: [58, 18]
Generated Node #0,0,0: 59:[58, 18] Operation: 68-50=18
Exploring Operation: 68-58=10, Resulting Numbers: [50, 10]
Generated Node #0,0,1: 59:[50, 10] Operation: 68-58=10
Moving to Node #0,0,0
Current State: 59:[58, 18], Operations: ['60-10=50', '68-50=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[50, 10], Operations: ['60-10=50', '68-58=10']
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,59 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
13,
39,
51
] | 71 | [
"39/13=3",
"51/3=17",
"54+17=71"
] | Current State: 71:[54, 13, 39, 51], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [54, 51, 3]
Generated Node #2: [54, 51, 3] from Operation: 39/13=3
Current State: 71:[54, 51, 3], Operations: ['39/13=3']
Exploring Operation: 51/3=17, Resulting Numbers: [54, 17]
Generated Node #3: [54, 17] from Operation: 51/3=17
Current State: 71:[54, 17], Operations: ['39/13=3', '51/3=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[54, 13, 39, 51], Operations: []
Exploring Operation: 13+39=52, Resulting Numbers: [54, 51, 52]
Generated Node #0,0: 71:[54, 51, 52] Operation: 13+39=52
Exploring Operation: 54+13=67, Resulting Numbers: [39, 51, 67]
Generated Node #0,1: 71:[39, 51, 67] Operation: 54+13=67
Moving to Node #0,0
Current State: 71:[54, 51, 52], Operations: ['13+39=52']
Exploring Operation: 51+52=103, Resulting Numbers: [54, 103]
Generated Node #0,0,0: 71:[54, 103] Operation: 51+52=103
Exploring Operation: 54+51=105, Resulting Numbers: [52, 105]
Generated Node #0,0,1: 71:[52, 105] Operation: 54+51=105
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[54, 103], Operations: ['13+39=52', '51+52=103']
Exploring Operation: 103-54=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 54+103=157, Resulting Numbers: [157]
157,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,0,1
Current State: 71:[52, 105], Operations: ['13+39=52', '54+51=105']
Exploring Operation: 105-52=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 52+105=157, Resulting Numbers: [157]
157,71 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: 71:[39, 51, 67], Operations: ['54+13=67']
Exploring Operation: 39+51=90, Resulting Numbers: [67, 90]
Generated Node #0,1,0: 71:[67, 90] Operation: 39+51=90
Exploring Operation: 39+67=106, Resulting Numbers: [51, 106]
Generated Node #0,1,1: 71:[51, 106] Operation: 39+67=106
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[67, 90], Operations: ['54+13=67', '39+51=90']
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,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:[51, 106], Operations: ['54+13=67', '39+67=106']
Exploring Operation: 106-51=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 51+106=157, Resulting Numbers: [157]
157,71 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 |
[
1,
56,
54,
55
] | 27 | [
"1+56=57",
"57-55=2",
"54/2=27"
] | Current State: 27:[1, 56, 54, 55], Operations: []
Exploring Operation: 1+56=57, Resulting Numbers: [54, 55, 57]
Generated Node #2: [54, 55, 57] from Operation: 1+56=57
Current State: 27:[54, 55, 57], Operations: ['1+56=57']
Exploring Operation: 57-55=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 57-55=2
Current State: 27:[54, 2], Operations: ['1+56=57', '57-55=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[1, 56, 54, 55], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [1, 55, 2]
Generated Node #0,0: 27:[1, 55, 2] Operation: 56-54=2
Exploring Operation: 56-55=1, Resulting Numbers: [1, 54, 1]
Generated Node #0,1: 27:[1, 54, 1] Operation: 56-55=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[1, 55, 2], Operations: ['56-54=2']
Exploring Operation: 1+2=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 27:[55, 3] Operation: 1+2=3
Exploring Operation: 55-1=54, Resulting Numbers: [2, 54]
Generated Node #0,0,1: 27:[2, 54] Operation: 55-1=54
Moving to Node #0,0,0
Current State: 27:[55, 3], Operations: ['56-54=2', '1+2=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[2, 54], Operations: ['56-54=2', '55-1=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[1, 56, 54, 55], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [1, 55, 2]
Generated Node #0,0: 27:[1, 55, 2] Operation: 56-54=2
Moving to Node #0,0
Current State: 27:[1, 55, 2], Operations: ['56-54=2']
Exploring Operation: 55-1=54, Resulting Numbers: [2, 54]
Generated Node #0,0,1: 27:[2, 54] Operation: 55-1=54
Moving to Node #0,0,1
Current State: 27:[2, 54], Operations: ['56-54=2', '55-1=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
2,
43,
5,
94
] | 27 | [
"43-2=41",
"94+41=135",
"135/5=27"
] | Current State: 27:[2, 43, 5, 94], Operations: []
Exploring Operation: 43-2=41, Resulting Numbers: [5, 94, 41]
Generated Node #2: [5, 94, 41] from Operation: 43-2=41
Current State: 27:[5, 94, 41], Operations: ['43-2=41']
Exploring Operation: 94+41=135, Resulting Numbers: [5, 135]
Generated Node #3: [5, 135] from Operation: 94+41=135
Current State: 27:[5, 135], Operations: ['43-2=41', '94+41=135']
Exploring Operation: 135/5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[2, 43, 5, 94], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [2, 5, 51]
Generated Node #0,0: 27:[2, 5, 51] Operation: 94-43=51
Exploring Operation: 94/2=47, Resulting Numbers: [43, 5, 47]
Generated Node #0,1: 27:[43, 5, 47] Operation: 94/2=47
Exploring Operation: 43-5=38, Resulting Numbers: [2, 94, 38]
Generated Node #0,2: 27:[2, 94, 38] Operation: 43-5=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[2, 5, 51], Operations: ['94-43=51']
Exploring Operation: 51-5=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 27:[2, 46] Operation: 51-5=46
Exploring Operation: 5-2=3, Resulting Numbers: [51, 3]
Generated Node #0,0,1: 27:[51, 3] Operation: 5-2=3
Exploring Operation: 51-2=49, Resulting Numbers: [5, 49]
Generated Node #0,0,2: 27:[5, 49] Operation: 51-2=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 46], Operations: ['94-43=51', '51-5=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,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,0,1
Current State: 27:[51, 3], Operations: ['94-43=51', '5-2=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,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,0,2
Current State: 27:[5, 49], Operations: ['94-43=51', '51-2=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,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:[43, 5, 47], Operations: ['94/2=47']
Exploring Operation: 47-5=42, Resulting Numbers: [43, 42]
Generated Node #0,1,0: 27:[43, 42] Operation: 47-5=42
Exploring Operation: 43-5=38, Resulting Numbers: [47, 38]
Generated Node #0,1,1: 27:[47, 38] Operation: 43-5=38
Exploring Operation: 47-43=4, Resulting Numbers: [5, 4]
Generated Node #0,1,2: 27:[5, 4] Operation: 47-43=4
Moving to Node #0,1,2
Current State: 27:[5, 4], Operations: ['94/2=47', '47-43=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[43, 42], Operations: ['94/2=47', '47-5=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[47, 38], Operations: ['94/2=47', '43-5=38']
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,27 unequal: No Solution
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[2, 94, 38], Operations: ['43-5=38']
Exploring Operation: 94/2=47, Resulting Numbers: [38, 47]
Generated Node #0,2,0: 27:[38, 47] Operation: 94/2=47
Exploring Operation: 38/2=19, Resulting Numbers: [94, 19]
Generated Node #0,2,1: 27:[94, 19] Operation: 38/2=19
Exploring Operation: 94-38=56, Resulting Numbers: [2, 56]
Generated Node #0,2,2: 27:[2, 56] Operation: 94-38=56
Moving to Node #0,2,2
Current State: 27:[2, 56], Operations: ['43-5=38', '94-38=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[38, 47], Operations: ['43-5=38', '94/2=47']
Exploring Operation: 38*47=1786, Resulting Numbers: [1786]
1786,27 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[94, 19], Operations: ['43-5=38', '38/2=19']
Exploring Operation: 94*19=1786, Resulting Numbers: [1786]
1786,27 unequal: No Solution
Exploring Operation: 94+19=113, Resulting Numbers: [113]
113,27 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,27 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 |
[
18,
76,
48,
13
] | 93 | [
"76-18=58",
"48-13=35",
"58+35=93"
] | Current State: 93:[18, 76, 48, 13], Operations: []
Exploring Operation: 76-18=58, Resulting Numbers: [48, 13, 58]
Generated Node #2: [48, 13, 58] from Operation: 76-18=58
Current State: 93:[48, 13, 58], Operations: ['76-18=58']
Exploring Operation: 48-13=35, Resulting Numbers: [58, 35]
Generated Node #3: [58, 35] from Operation: 48-13=35
Current State: 93:[58, 35], Operations: ['76-18=58', '48-13=35']
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[18, 76, 48, 13], Operations: []
Exploring Operation: 18+76=94, Resulting Numbers: [48, 13, 94]
Generated Node #0,0: 93:[48, 13, 94] Operation: 18+76=94
Exploring Operation: 76-48=28, Resulting Numbers: [18, 13, 28]
Generated Node #0,1: 93:[18, 13, 28] Operation: 76-48=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[18, 13, 28], Operations: ['76-48=28']
Exploring Operation: 18-13=5, Resulting Numbers: [28, 5]
Generated Node #0,1,0: 93:[28, 5] Operation: 18-13=5
Exploring Operation: 18+13=31, Resulting Numbers: [28, 31]
Generated Node #0,1,1: 93:[28, 31] Operation: 18+13=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[28, 31], Operations: ['76-48=28', '18+13=31']
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[28, 5], Operations: ['76-48=28', '18-13=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,93 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: 93:[48, 13, 94], Operations: ['18+76=94']
Exploring Operation: 48-13=35, Resulting Numbers: [94, 35]
Generated Node #0,0,0: 93:[94, 35] Operation: 48-13=35
Exploring Operation: 94-48=46, Resulting Numbers: [13, 46]
Generated Node #0,0,1: 93:[13, 46] Operation: 94-48=46
Moving to Node #0,0,0
Current State: 93:[94, 35], Operations: ['18+76=94', '48-13=35']
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,93 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[13, 46], Operations: ['18+76=94', '94-48=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,93 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 |
[
5,
76,
70,
76
] | 66 | [
"70-5=65",
"76/76=1",
"65+1=66"
] | Current State: 66:[5, 76, 70, 76], Operations: []
Exploring Operation: 70-5=65, Resulting Numbers: [76, 76, 65]
Generated Node #2: [76, 76, 65] from Operation: 70-5=65
Current State: 66:[76, 76, 65], Operations: ['70-5=65']
Exploring Operation: 76/76=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 76/76=1
Current State: 66:[65, 1], Operations: ['70-5=65', '76/76=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[5, 76, 70, 76], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [5, 70, 1]
Generated Node #0,0: 66:[5, 70, 1] Operation: 76/76=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[5, 70, 1], Operations: ['76/76=1']
Exploring Operation: 70-5=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 70-5=65
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[1, 65], Operations: ['76/76=1', '70-5=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[5, 76, 70, 76], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [5, 70, 1]
Generated Node #0,0: 66:[5, 70, 1] Operation: 76/76=1
Moving to Node #0,0
Current State: 66:[5, 70, 1], Operations: ['76/76=1']
Exploring Operation: 70-5=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 70-5=65
Moving to Node #0,0,0
Current State: 66:[1, 65], Operations: ['76/76=1', '70-5=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
53,
35,
71,
33
] | 89 | [
"35-33=2",
"71*2=142",
"142-53=89"
] | Current State: 89:[53, 35, 71, 33], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [53, 71, 2]
Generated Node #2: [53, 71, 2] from Operation: 35-33=2
Current State: 89:[53, 71, 2], Operations: ['35-33=2']
Exploring Operation: 71*2=142, Resulting Numbers: [53, 142]
Generated Node #3: [53, 142] from Operation: 71*2=142
Current State: 89:[53, 142], Operations: ['35-33=2', '71*2=142']
Exploring Operation: 142-53=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[53, 35, 71, 33], Operations: []
Exploring Operation: 53+35=88, Resulting Numbers: [71, 33, 88]
Generated Node #0,0: 89:[71, 33, 88] Operation: 53+35=88
Exploring Operation: 53+33=86, Resulting Numbers: [35, 71, 86]
Generated Node #0,1: 89:[35, 71, 86] Operation: 53+33=86
Moving to Node #0,0
Current State: 89:[71, 33, 88], Operations: ['53+35=88']
Exploring Operation: 71+33=104, Resulting Numbers: [88, 104]
Generated Node #0,0,0: 89:[88, 104] Operation: 71+33=104
Exploring Operation: 33+88=121, Resulting Numbers: [71, 121]
Generated Node #0,0,1: 89:[71, 121] Operation: 33+88=121
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[88, 104], Operations: ['53+35=88', '71+33=104']
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,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,1
Current State: 89:[71, 121], Operations: ['53+35=88', '33+88=121']
Exploring Operation: 71+121=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Exploring Operation: 121-71=50, Resulting Numbers: [50]
50,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[35, 71, 86], Operations: ['53+33=86']
Exploring Operation: 35+86=121, Resulting Numbers: [71, 121]
Generated Node #0,1,0: 89:[71, 121] Operation: 35+86=121
Exploring Operation: 35+71=106, Resulting Numbers: [86, 106]
Generated Node #0,1,1: 89:[86, 106] Operation: 35+71=106
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[86, 106], Operations: ['53+33=86', '35+71=106']
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 86+106=192, Resulting Numbers: [192]
192,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[71, 121], Operations: ['53+33=86', '35+86=121']
Exploring Operation: 71+121=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Exploring Operation: 121-71=50, Resulting Numbers: [50]
50,89 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 |
[
9,
2,
24,
83
] | 77 | [
"9*2=18",
"83-24=59",
"18+59=77"
] | Current State: 77:[9, 2, 24, 83], Operations: []
Exploring Operation: 9*2=18, Resulting Numbers: [24, 83, 18]
Generated Node #2: [24, 83, 18] from Operation: 9*2=18
Current State: 77:[24, 83, 18], Operations: ['9*2=18']
Exploring Operation: 83-24=59, Resulting Numbers: [18, 59]
Generated Node #3: [18, 59] from Operation: 83-24=59
Current State: 77:[18, 59], Operations: ['9*2=18', '83-24=59']
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[9, 2, 24, 83], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [2, 83, 15]
Generated Node #0,0: 77:[2, 83, 15] Operation: 24-9=15
Exploring Operation: 9+2=11, Resulting Numbers: [24, 83, 11]
Generated Node #0,1: 77:[24, 83, 11] Operation: 9+2=11
Exploring Operation: 24/2=12, Resulting Numbers: [9, 83, 12]
Generated Node #0,2: 77:[9, 83, 12] Operation: 24/2=12
Moving to Node #0,2
Current State: 77:[9, 83, 12], Operations: ['24/2=12']
Exploring Operation: 83-9=74, Resulting Numbers: [12, 74]
Generated Node #0,2,0: 77:[12, 74] Operation: 83-9=74
Exploring Operation: 12-9=3, Resulting Numbers: [83, 3]
Generated Node #0,2,1: 77:[83, 3] Operation: 12-9=3
Exploring Operation: 83-12=71, Resulting Numbers: [9, 71]
Generated Node #0,2,2: 77:[9, 71] Operation: 83-12=71
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[12, 74], Operations: ['24/2=12', '83-9=74']
Exploring Operation: 12*74=888, Resulting Numbers: [888]
888,77 unequal: No Solution
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,77 unequal: No Solution
No 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: 77:[9, 71], Operations: ['24/2=12', '83-12=71']
Exploring Operation: 9*71=639, Resulting Numbers: [639]
639,77 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 9+71=80, Resulting Numbers: [80]
80,77 unequal: No Solution
No 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: 77:[83, 3], Operations: ['24/2=12', '12-9=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,77 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,77 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: 77:[2, 83, 15], Operations: ['24-9=15']
Exploring Operation: 83-2=81, Resulting Numbers: [15, 81]
Generated Node #0,0,0: 77:[15, 81] Operation: 83-2=81
Exploring Operation: 15-2=13, Resulting Numbers: [83, 13]
Generated Node #0,0,1: 77:[83, 13] Operation: 15-2=13
Exploring Operation: 2+83=85, Resulting Numbers: [15, 85]
Generated Node #0,0,2: 77:[15, 85] Operation: 2+83=85
Moving to Node #0,1
Current State: 77:[24, 83, 11], Operations: ['9+2=11']
Exploring Operation: 24-11=13, Resulting Numbers: [83, 13]
Generated Node #0,1,0: 77:[83, 13] Operation: 24-11=13
Exploring Operation: 83-24=59, Resulting Numbers: [11, 59]
Generated Node #0,1,1: 77:[11, 59] Operation: 83-24=59
Exploring Operation: 83-11=72, Resulting Numbers: [24, 72]
Generated Node #0,1,2: 77:[24, 72] Operation: 83-11=72
Moving to Node #0,0,0
Current State: 77:[15, 81], Operations: ['24-9=15', '83-2=81']
Exploring Operation: 15+81=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 15*81=1215, Resulting Numbers: [1215]
1215,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[83, 13], Operations: ['24-9=15', '15-2=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,77 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[83, 13], Operations: ['9+2=11', '24-11=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,77 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[15, 85], Operations: ['24-9=15', '2+83=85']
Exploring Operation: 15+85=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 15*85=1275, Resulting Numbers: [1275]
1275,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[24, 72], Operations: ['9+2=11', '83-11=72']
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[11, 59], Operations: ['9+2=11', '83-24=59']
Exploring Operation: 11*59=649, Resulting Numbers: [649]
649,77 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,77 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
5,
79,
4
] | 35 | [
"41+79=120",
"120/4=30",
"5+30=35"
] | Current State: 35:[41, 5, 79, 4], Operations: []
Exploring Operation: 41+79=120, Resulting Numbers: [5, 4, 120]
Generated Node #2: [5, 4, 120] from Operation: 41+79=120
Current State: 35:[5, 4, 120], Operations: ['41+79=120']
Exploring Operation: 120/4=30, Resulting Numbers: [5, 30]
Generated Node #3: [5, 30] from Operation: 120/4=30
Current State: 35:[5, 30], Operations: ['41+79=120', '120/4=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[41, 5, 79, 4], Operations: []
Exploring Operation: 41-5=36, Resulting Numbers: [79, 4, 36]
Generated Node #0,0: 35:[79, 4, 36] Operation: 41-5=36
Exploring Operation: 79-5=74, Resulting Numbers: [41, 4, 74]
Generated Node #0,1: 35:[41, 4, 74] Operation: 79-5=74
Exploring Operation: 79-41=38, Resulting Numbers: [5, 4, 38]
Generated Node #0,2: 35:[5, 4, 38] Operation: 79-41=38
Exploring Operation: 41-4=37, Resulting Numbers: [5, 79, 37]
Generated Node #0,3: 35:[5, 79, 37] Operation: 41-4=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[5, 4, 38], Operations: ['79-41=38']
Exploring Operation: 5-4=1, Resulting Numbers: [38, 1]
Generated Node #0,2,0: 35:[38, 1] Operation: 5-4=1
Exploring Operation: 5+4=9, Resulting Numbers: [38, 9]
Generated Node #0,2,1: 35:[38, 9] Operation: 5+4=9
Exploring Operation: 38-5=33, Resulting Numbers: [4, 33]
Generated Node #0,2,2: 35:[4, 33] Operation: 38-5=33
Exploring Operation: 38-4=34, Resulting Numbers: [5, 34]
Generated Node #0,2,3: 35:[5, 34] Operation: 38-4=34
Moving to Node #0,2,3
Current State: 35:[5, 34], Operations: ['79-41=38', '38-4=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,35 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[4, 33], Operations: ['79-41=38', '38-5=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[38, 9], Operations: ['79-41=38', '5+4=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[38, 1], Operations: ['79-41=38', '5-4=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[79, 4, 36], Operations: ['41-5=36']
Exploring Operation: 79-4=75, Resulting Numbers: [36, 75]
Generated Node #0,0,0: 35:[36, 75] Operation: 79-4=75
Exploring Operation: 36-4=32, Resulting Numbers: [79, 32]
Generated Node #0,0,1: 35:[79, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [79, 9]
Generated Node #0,0,2: 35:[79, 9] Operation: 36/4=9
Exploring Operation: 79-36=43, Resulting Numbers: [4, 43]
Generated Node #0,0,3: 35:[4, 43] Operation: 79-36=43
Moving to Node #0,0,3
Current State: 35:[4, 43], Operations: ['41-5=36', '79-36=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,35 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[36, 75], Operations: ['41-5=36', '79-4=75']
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,35 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[79, 9], Operations: ['41-5=36', '36/4=9']
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[79, 32], Operations: ['41-5=36', '36-4=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,35 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[41, 4, 74], Operations: ['79-5=74']
Exploring Operation: 41-4=37, Resulting Numbers: [74, 37]
Generated Node #0,1,0: 35:[74, 37] Operation: 41-4=37
Exploring Operation: 74-4=70, Resulting Numbers: [41, 70]
Generated Node #0,1,1: 35:[41, 70] Operation: 74-4=70
Exploring Operation: 74-41=33, Resulting Numbers: [4, 33]
Generated Node #0,1,2: 35:[4, 33] Operation: 74-41=33
Exploring Operation: 41+4=45, Resulting Numbers: [74, 45]
Generated Node #0,1,3: 35:[74, 45] Operation: 41+4=45
Moving to Node #0,1,2
Current State: 35:[4, 33], Operations: ['79-5=74', '74-41=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[41, 70], Operations: ['79-5=74', '74-4=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[74, 37], Operations: ['79-5=74', '41-4=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,35 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[74, 45], Operations: ['79-5=74', '41+4=45']
Exploring Operation: 74*45=3330, Resulting Numbers: [3330]
3330,35 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[5, 79, 37], Operations: ['41-4=37']
Exploring Operation: 37-5=32, Resulting Numbers: [79, 32]
Generated Node #0,3,0: 35:[79, 32] Operation: 37-5=32
Exploring Operation: 79-5=74, Resulting Numbers: [37, 74]
Generated Node #0,3,1: 35:[37, 74] Operation: 79-5=74
Exploring Operation: 79-37=42, Resulting Numbers: [5, 42]
Generated Node #0,3,2: 35:[5, 42] Operation: 79-37=42
Exploring Operation: 5+79=84, Resulting Numbers: [37, 84]
Generated Node #0,3,3: 35:[37, 84] Operation: 5+79=84
Moving to Node #0,3,2
Current State: 35:[5, 42], Operations: ['41-4=37', '79-37=42']
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,35 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[37, 74], Operations: ['41-4=37', '79-5=74']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 37*74=2738, Resulting Numbers: [2738]
2738,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[79, 32], Operations: ['41-4=37', '37-5=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,35 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[37, 84], Operations: ['41-4=37', '5+79=84']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,35 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,35 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 |
[
74,
92,
10,
18
] | 63 | [
"92+18=110",
"110/10=11",
"74-11=63"
] | Current State: 63:[74, 92, 10, 18], Operations: []
Exploring Operation: 92+18=110, Resulting Numbers: [74, 10, 110]
Generated Node #2: [74, 10, 110] from Operation: 92+18=110
Current State: 63:[74, 10, 110], Operations: ['92+18=110']
Exploring Operation: 110/10=11, Resulting Numbers: [74, 11]
Generated Node #3: [74, 11] from Operation: 110/10=11
Current State: 63:[74, 11], Operations: ['92+18=110', '110/10=11']
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[74, 92, 10, 18], Operations: []
Exploring Operation: 74-10=64, Resulting Numbers: [92, 18, 64]
Generated Node #0,0: 63:[92, 18, 64] Operation: 74-10=64
Exploring Operation: 92-10=82, Resulting Numbers: [74, 18, 82]
Generated Node #0,1: 63:[74, 18, 82] Operation: 92-10=82
Exploring Operation: 74-18=56, Resulting Numbers: [92, 10, 56]
Generated Node #0,2: 63:[92, 10, 56] Operation: 74-18=56
Exploring Operation: 92-74=18, Resulting Numbers: [10, 18, 18]
Generated Node #0,3: 63:[10, 18, 18] Operation: 92-74=18
Exploring Operation: 92-18=74, Resulting Numbers: [74, 10, 74]
Generated Node #0,4: 63:[74, 10, 74] Operation: 92-18=74
Moving to Node #0,3
Current State: 63:[10, 18, 18], Operations: ['92-74=18']
Exploring Operation: 18/18=1, Resulting Numbers: [10, 1]
Generated Node #0,3,0: 63:[10, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [10, 0]
Generated Node #0,3,1: 63:[10, 0] Operation: 18-18=0
Exploring Operation: 18-10=8, Resulting Numbers: [18, 8]
Generated Node #0,3,2: 63:[18, 8] Operation: 18-10=8
Exploring Operation: 10+18=28, Resulting Numbers: [18, 28]
Generated Node #0,3,3: 63:[18, 28] Operation: 10+18=28
Exploring Operation: 18-10=8, Resulting Numbers: [18, 8]
Generated Node #0,3,4: 63:[18, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[10, 1], Operations: ['92-74=18', '18/18=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[10, 0], Operations: ['92-74=18', '18-18=0']
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[18, 8], Operations: ['92-74=18', '18-10=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 63:[18, 8], Operations: ['92-74=18', '18-10=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[18, 28], Operations: ['92-74=18', '10+18=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,63 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 63:[74, 10, 74], Operations: ['92-18=74']
Exploring Operation: 74-10=64, Resulting Numbers: [74, 64]
Generated Node #0,4,0: 63:[74, 64] Operation: 74-10=64
Exploring Operation: 74/74=1, Resulting Numbers: [10, 1]
Generated Node #0,4,1: 63:[10, 1] Operation: 74/74=1
Exploring Operation: 74+10=84, Resulting Numbers: [74, 84]
Generated Node #0,4,2: 63:[74, 84] Operation: 74+10=84
Exploring Operation: 74-10=64, Resulting Numbers: [74, 64]
Generated Node #0,4,3: 63:[74, 64] Operation: 74-10=64
Exploring Operation: 74-74=0, Resulting Numbers: [10, 0]
Generated Node #0,4,4: 63:[10, 0] Operation: 74-74=0
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 63:[10, 1], Operations: ['92-18=74', '74/74=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 63:[10, 0], Operations: ['92-18=74', '74-74=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 63:[74, 64], Operations: ['92-18=74', '74-10=64']
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 74*64=4736, Resulting Numbers: [4736]
4736,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,4,3
Current State: 63:[74, 64], Operations: ['92-18=74', '74-10=64']
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 74*64=4736, Resulting Numbers: [4736]
4736,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,4,2
Current State: 63:[74, 84], Operations: ['92-18=74', '74+10=84']
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,63 unequal: No Solution
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,63 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 63:[92, 18, 64], Operations: ['74-10=64']
Exploring Operation: 64-18=46, Resulting Numbers: [92, 46]
Generated Node #0,0,0: 63:[92, 46] Operation: 64-18=46
Exploring Operation: 92-64=28, Resulting Numbers: [18, 28]
Generated Node #0,0,1: 63:[18, 28] Operation: 92-64=28
Exploring Operation: 18+64=82, Resulting Numbers: [92, 82]
Generated Node #0,0,2: 63:[92, 82] Operation: 18+64=82
Exploring Operation: 92+18=110, Resulting Numbers: [64, 110]
Generated Node #0,0,3: 63:[64, 110] Operation: 92+18=110
Exploring Operation: 92-18=74, Resulting Numbers: [64, 74]
Generated Node #0,0,4: 63:[64, 74] Operation: 92-18=74
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[18, 28], Operations: ['74-10=64', '92-64=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[64, 74], Operations: ['74-10=64', '92-18=74']
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,63 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[92, 46], Operations: ['74-10=64', '64-18=46']
Exploring Operation: 92-46=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 92/46=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 92+46=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 92*46=4232, Resulting Numbers: [4232]
4232,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[92, 82], Operations: ['74-10=64', '18+64=82']
Exploring Operation: 92*82=7544, Resulting Numbers: [7544]
7544,63 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 92+82=174, Resulting Numbers: [174]
174,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[64, 110], Operations: ['74-10=64', '92+18=110']
Exploring Operation: 64+110=174, Resulting Numbers: [174]
174,63 unequal: No Solution
Exploring Operation: 64*110=7040, Resulting Numbers: [7040]
7040,63 unequal: No Solution
Exploring Operation: 110-64=46, Resulting Numbers: [46]
46,63 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: 63:[74, 18, 82], Operations: ['92-10=82']
Exploring Operation: 82-18=64, Resulting Numbers: [74, 64]
Generated Node #0,1,0: 63:[74, 64] Operation: 82-18=64
Exploring Operation: 74+18=92, Resulting Numbers: [82, 92]
Generated Node #0,1,1: 63:[82, 92] Operation: 74+18=92
Exploring Operation: 82-74=8, Resulting Numbers: [18, 8]
Generated Node #0,1,2: 63:[18, 8] Operation: 82-74=8
Exploring Operation: 18+82=100, Resulting Numbers: [74, 100]
Generated Node #0,1,3: 63:[74, 100] Operation: 18+82=100
Exploring Operation: 74-18=56, Resulting Numbers: [82, 56]
Generated Node #0,1,4: 63:[82, 56] Operation: 74-18=56
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[18, 8], Operations: ['92-10=82', '82-74=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,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,0
Current State: 63:[74, 64], Operations: ['92-10=82', '82-18=64']
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 74*64=4736, Resulting Numbers: [4736]
4736,63 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 63:[82, 56], Operations: ['92-10=82', '74-18=56']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,63 unequal: No Solution
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[82, 92], Operations: ['92-10=82', '74+18=92']
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,63 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,63 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[74, 100], Operations: ['92-10=82', '18+82=100']
Exploring Operation: 74+100=174, Resulting Numbers: [174]
174,63 unequal: No Solution
Exploring Operation: 74*100=7400, Resulting Numbers: [7400]
7400,63 unequal: No Solution
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 63:[92, 10, 56], Operations: ['74-18=56']
Exploring Operation: 56-10=46, Resulting Numbers: [92, 46]
Generated Node #0,2,0: 63:[92, 46] Operation: 56-10=46
Exploring Operation: 10+56=66, Resulting Numbers: [92, 66]
Generated Node #0,2,1: 63:[92, 66] Operation: 10+56=66
Exploring Operation: 92-10=82, Resulting Numbers: [56, 82]
Generated Node #0,2,2: 63:[56, 82] Operation: 92-10=82
Exploring Operation: 92-56=36, Resulting Numbers: [10, 36]
Generated Node #0,2,3: 63:[10, 36] Operation: 92-56=36
Exploring Operation: 92+10=102, Resulting Numbers: [56, 102]
Generated Node #0,2,4: 63:[56, 102] Operation: 92+10=102
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[10, 36], Operations: ['74-18=56', '92-56=36']
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[56, 82], Operations: ['74-18=56', '92-10=82']
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 56*82=4592, Resulting Numbers: [4592]
4592,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[92, 66], Operations: ['74-18=56', '10+56=66']
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,63 unequal: No Solution
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,63 unequal: No Solution
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[92, 46], Operations: ['74-18=56', '56-10=46']
Exploring Operation: 92-46=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 92+46=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 92*46=4232, Resulting Numbers: [4232]
4232,63 unequal: No Solution
Exploring Operation: 92/46=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 63:[56, 102], Operations: ['74-18=56', '92+10=102']
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,63 unequal: No Solution
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,63 unequal: No Solution
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
40,
43,
50
] | 55 | [
"15*40=600",
"600/50=12",
"43+12=55"
] | Current State: 55:[15, 40, 43, 50], Operations: []
Exploring Operation: 15*40=600, Resulting Numbers: [43, 50, 600]
Generated Node #2: [43, 50, 600] from Operation: 15*40=600
Current State: 55:[43, 50, 600], Operations: ['15*40=600']
Exploring Operation: 600/50=12, Resulting Numbers: [43, 12]
Generated Node #3: [43, 12] from Operation: 600/50=12
Current State: 55:[43, 12], Operations: ['15*40=600', '600/50=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[15, 40, 43, 50], Operations: []
Exploring Operation: 15+40=55, Resulting Numbers: [43, 50, 55]
Generated Node #0,0: 55:[43, 50, 55] Operation: 15+40=55
Exploring Operation: 43-40=3, Resulting Numbers: [15, 50, 3]
Generated Node #0,1: 55:[15, 50, 3] Operation: 43-40=3
Exploring Operation: 50-40=10, Resulting Numbers: [15, 43, 10]
Generated Node #0,2: 55:[15, 43, 10] Operation: 50-40=10
Moving to Node #0,1
Current State: 55:[15, 50, 3], Operations: ['43-40=3']
Exploring Operation: 50+3=53, Resulting Numbers: [15, 53]
Generated Node #0,1,0: 55:[15, 53] Operation: 50+3=53
Exploring Operation: 15-3=12, Resulting Numbers: [50, 12]
Generated Node #0,1,1: 55:[50, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [50, 5]
Generated Node #0,1,2: 55:[50, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[50, 5], Operations: ['43-40=3', '15/3=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[15, 40, 43, 50], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [15, 50, 3]
Generated Node #0,1: 55:[15, 50, 3] Operation: 43-40=3
Moving to Node #0,1
Current State: 55:[15, 50, 3], Operations: ['43-40=3']
Exploring Operation: 15/3=5, Resulting Numbers: [50, 5]
Generated Node #0,1,2: 55:[50, 5] Operation: 15/3=5
Moving to Node #0,1,2
Current State: 55:[50, 5], Operations: ['43-40=3', '15/3=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
61,
70,
47,
4
] | 42 | [
"70-61=9",
"47+4=51",
"51-9=42"
] | Current State: 42:[61, 70, 47, 4], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [47, 4, 9]
Generated Node #2: [47, 4, 9] from Operation: 70-61=9
Current State: 42:[47, 4, 9], Operations: ['70-61=9']
Exploring Operation: 47+4=51, Resulting Numbers: [9, 51]
Generated Node #3: [9, 51] from Operation: 47+4=51
Current State: 42:[9, 51], Operations: ['70-61=9', '47+4=51']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[61, 70, 47, 4], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [70, 4, 14]
Generated Node #0,0: 42:[70, 4, 14] Operation: 61-47=14
Exploring Operation: 70-47=23, Resulting Numbers: [61, 4, 23]
Generated Node #0,1: 42:[61, 4, 23] Operation: 70-47=23
Exploring Operation: 70-61=9, Resulting Numbers: [47, 4, 9]
Generated Node #0,2: 42:[47, 4, 9] Operation: 70-61=9
Moving to Node #0,2
Current State: 42:[47, 4, 9], Operations: ['70-61=9']
Exploring Operation: 47-9=38, Resulting Numbers: [4, 38]
Generated Node #0,2,0: 42:[4, 38] Operation: 47-9=38
Exploring Operation: 4+9=13, Resulting Numbers: [47, 13]
Generated Node #0,2,1: 42:[47, 13] Operation: 4+9=13
Exploring Operation: 47-4=43, Resulting Numbers: [9, 43]
Generated Node #0,2,2: 42:[9, 43] Operation: 47-4=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[9, 43], Operations: ['70-61=9', '47-4=43']
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,42 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[4, 38], Operations: ['70-61=9', '47-9=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[61, 70, 47, 4], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [47, 4, 9]
Generated Node #0,2: 42:[47, 4, 9] Operation: 70-61=9
Moving to Node #0,2
Current State: 42:[47, 4, 9], Operations: ['70-61=9']
Exploring Operation: 47-9=38, Resulting Numbers: [4, 38]
Generated Node #0,2,0: 42:[4, 38] Operation: 47-9=38
Moving to Node #0,2,0
Current State: 42:[4, 38], Operations: ['70-61=9', '47-9=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
73,
45,
23,
67
] | 75 | [
"23+67=90",
"90/45=2",
"73+2=75"
] | Current State: 75:[73, 45, 23, 67], Operations: []
Exploring Operation: 23+67=90, Resulting Numbers: [73, 45, 90]
Generated Node #2: [73, 45, 90] from Operation: 23+67=90
Current State: 75:[73, 45, 90], Operations: ['23+67=90']
Exploring Operation: 90/45=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 90/45=2
Current State: 75:[73, 2], Operations: ['23+67=90', '90/45=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[73, 45, 23, 67], Operations: []
Exploring Operation: 45+23=68, Resulting Numbers: [73, 67, 68]
Generated Node #0,0: 75:[73, 67, 68] Operation: 45+23=68
Exploring Operation: 45-23=22, Resulting Numbers: [73, 67, 22]
Generated Node #0,1: 75:[73, 67, 22] Operation: 45-23=22
Exploring Operation: 73-45=28, Resulting Numbers: [23, 67, 28]
Generated Node #0,2: 75:[23, 67, 28] Operation: 73-45=28
Exploring Operation: 67-45=22, Resulting Numbers: [73, 23, 22]
Generated Node #0,3: 75:[73, 23, 22] Operation: 67-45=22
Moving to Node #0,3
Current State: 75:[73, 23, 22], Operations: ['67-45=22']
Exploring Operation: 23-22=1, Resulting Numbers: [73, 1]
Generated Node #0,3,0: 75:[73, 1] Operation: 23-22=1
Exploring Operation: 23+22=45, Resulting Numbers: [73, 45]
Generated Node #0,3,1: 75:[73, 45] Operation: 23+22=45
Exploring Operation: 73+22=95, Resulting Numbers: [23, 95]
Generated Node #0,3,2: 75:[23, 95] Operation: 73+22=95
Exploring Operation: 73+23=96, Resulting Numbers: [22, 96]
Generated Node #0,3,3: 75:[22, 96] Operation: 73+23=96
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[73, 1], Operations: ['67-45=22', '23-22=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[73, 45], Operations: ['67-45=22', '23+22=45']
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,75 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[23, 95], Operations: ['67-45=22', '73+22=95']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 23*95=2185, Resulting Numbers: [2185]
2185,75 unequal: No Solution
Exploring Operation: 23+95=118, Resulting Numbers: [118]
118,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[22, 96], Operations: ['67-45=22', '73+23=96']
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,75 unequal: No Solution
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 75:[23, 67, 28], Operations: ['73-45=28']
Exploring Operation: 67-28=39, Resulting Numbers: [23, 39]
Generated Node #0,2,0: 75:[23, 39] Operation: 67-28=39
Exploring Operation: 67-23=44, Resulting Numbers: [28, 44]
Generated Node #0,2,1: 75:[28, 44] Operation: 67-23=44
Exploring Operation: 23+67=90, Resulting Numbers: [28, 90]
Generated Node #0,2,2: 75:[28, 90] Operation: 23+67=90
Exploring Operation: 28-23=5, Resulting Numbers: [67, 5]
Generated Node #0,2,3: 75:[67, 5] Operation: 28-23=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 75:[67, 5], Operations: ['73-45=28', '28-23=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,75 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[23, 39], Operations: ['73-45=28', '67-28=39']
Exploring Operation: 23*39=897, Resulting Numbers: [897]
897,75 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[28, 90], Operations: ['73-45=28', '23+67=90']
Exploring Operation: 28+90=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Exploring Operation: 28*90=2520, Resulting Numbers: [2520]
2520,75 unequal: No Solution
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[28, 44], Operations: ['73-45=28', '67-23=44']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,75 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[73, 67, 22], Operations: ['45-23=22']
Exploring Operation: 73+22=95, Resulting Numbers: [67, 95]
Generated Node #0,1,0: 75:[67, 95] Operation: 73+22=95
Exploring Operation: 73-67=6, Resulting Numbers: [22, 6]
Generated Node #0,1,1: 75:[22, 6] Operation: 73-67=6
Exploring Operation: 67-22=45, Resulting Numbers: [73, 45]
Generated Node #0,1,2: 75:[73, 45] Operation: 67-22=45
Exploring Operation: 67+22=89, Resulting Numbers: [73, 89]
Generated Node #0,1,3: 75:[73, 89] Operation: 67+22=89
Moving to Node #0,0
Current State: 75:[73, 67, 68], Operations: ['45+23=68']
Exploring Operation: 68-67=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 75:[73, 1] Operation: 68-67=1
Exploring Operation: 67+68=135, Resulting Numbers: [73, 135]
Generated Node #0,0,1: 75:[73, 135] Operation: 67+68=135
Exploring Operation: 73-67=6, Resulting Numbers: [68, 6]
Generated Node #0,0,2: 75:[68, 6] Operation: 73-67=6
Exploring Operation: 73-68=5, Resulting Numbers: [67, 5]
Generated Node #0,0,3: 75:[67, 5] Operation: 73-68=5
Moving to Node #0,1,1
Current State: 75:[22, 6], Operations: ['45-23=22', '73-67=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[73, 1], Operations: ['45+23=68', '68-67=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[68, 6], Operations: ['45+23=68', '73-67=6']
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[67, 5], Operations: ['45+23=68', '73-68=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[73, 89], Operations: ['45-23=22', '67+22=89']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,75 unequal: No Solution
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[73, 45], Operations: ['45-23=22', '67-22=45']
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,75 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[67, 95], Operations: ['45-23=22', '73+22=95']
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 67*95=6365, Resulting Numbers: [6365]
6365,75 unequal: No Solution
Exploring Operation: 67+95=162, Resulting Numbers: [162]
162,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[73, 135], Operations: ['45+23=68', '67+68=135']
Exploring Operation: 73+135=208, Resulting Numbers: [208]
208,75 unequal: No Solution
Exploring Operation: 73*135=9855, Resulting Numbers: [9855]
9855,75 unequal: No Solution
Exploring Operation: 135-73=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
43,
85,
94
] | 55 | [
"3+43=46",
"94-85=9",
"46+9=55"
] | Current State: 55:[3, 43, 85, 94], Operations: []
Exploring Operation: 3+43=46, Resulting Numbers: [85, 94, 46]
Generated Node #2: [85, 94, 46] from Operation: 3+43=46
Current State: 55:[85, 94, 46], Operations: ['3+43=46']
Exploring Operation: 94-85=9, Resulting Numbers: [46, 9]
Generated Node #3: [46, 9] from Operation: 94-85=9
Current State: 55:[46, 9], Operations: ['3+43=46', '94-85=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[3, 43, 85, 94], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [3, 43, 9]
Generated Node #0,0: 55:[3, 43, 9] Operation: 94-85=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[3, 43, 9], Operations: ['94-85=9']
Exploring Operation: 43+9=52, Resulting Numbers: [3, 52]
Generated Node #0,0,0: 55:[3, 52] Operation: 43+9=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[3, 52], Operations: ['94-85=9', '43+9=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[3, 43, 85, 94], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [3, 43, 9]
Generated Node #0,0: 55:[3, 43, 9] Operation: 94-85=9
Moving to Node #0,0
Current State: 55:[3, 43, 9], Operations: ['94-85=9']
Exploring Operation: 43+9=52, Resulting Numbers: [3, 52]
Generated Node #0,0,0: 55:[3, 52] Operation: 43+9=52
Moving to Node #0,0,0
Current State: 55:[3, 52], Operations: ['94-85=9', '43+9=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
46,
47,
94,
97
] | 44 | [
"46*97=4462",
"47*94=4418",
"4462-4418=44"
] | Current State: 44:[46, 47, 94, 97], Operations: []
Exploring Operation: 46*97=4462, Resulting Numbers: [47, 94, 4462]
Generated Node #2: [47, 94, 4462] from Operation: 46*97=4462
Current State: 44:[47, 94, 4462], Operations: ['46*97=4462']
Exploring Operation: 47*94=4418, Resulting Numbers: [4462, 4418]
Generated Node #3: [4462, 4418] from Operation: 47*94=4418
Current State: 44:[4462, 4418], Operations: ['46*97=4462', '47*94=4418']
Exploring Operation: 4462-4418=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[46, 47, 94, 97], Operations: []
Exploring Operation: 94-47=47, Resulting Numbers: [46, 97, 47]
Generated Node #0,0: 44:[46, 97, 47] Operation: 94-47=47
Exploring Operation: 97-94=3, Resulting Numbers: [46, 47, 3]
Generated Node #0,1: 44:[46, 47, 3] Operation: 97-94=3
Exploring Operation: 97-47=50, Resulting Numbers: [46, 94, 50]
Generated Node #0,2: 44:[46, 94, 50] Operation: 97-47=50
Exploring Operation: 94/47=2, Resulting Numbers: [46, 97, 2]
Generated Node #0,3: 44:[46, 97, 2] Operation: 94/47=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[46, 47, 3], Operations: ['97-94=3']
Exploring Operation: 46-3=43, Resulting Numbers: [47, 43]
Generated Node #0,1,0: 44:[47, 43] Operation: 46-3=43
Exploring Operation: 46+3=49, Resulting Numbers: [47, 49]
Generated Node #0,1,1: 44:[47, 49] Operation: 46+3=49
Exploring Operation: 47-3=44, Resulting Numbers: [46, 44]
Generated Node #0,1,2: 44:[46, 44] Operation: 47-3=44
Exploring Operation: 47-46=1, Resulting Numbers: [3, 1]
Generated Node #0,1,3: 44:[3, 1] Operation: 47-46=1
Moving to Node #0,1,2
Current State: 44:[46, 44], Operations: ['97-94=3', '47-3=44']
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[3, 1], Operations: ['97-94=3', '47-46=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[47, 43], Operations: ['97-94=3', '46-3=43']
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[47, 49], Operations: ['97-94=3', '46+3=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,44 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[46, 97, 2], Operations: ['94/47=2']
Exploring Operation: 46/2=23, Resulting Numbers: [97, 23]
Generated Node #0,3,0: 44:[97, 23] Operation: 46/2=23
Exploring Operation: 97-46=51, Resulting Numbers: [2, 51]
Generated Node #0,3,1: 44:[2, 51] Operation: 97-46=51
Exploring Operation: 97-2=95, Resulting Numbers: [46, 95]
Generated Node #0,3,2: 44:[46, 95] Operation: 97-2=95
Exploring Operation: 46-2=44, Resulting Numbers: [97, 44]
Generated Node #0,3,3: 44:[97, 44] Operation: 46-2=44
Moving to Node #0,3,1
Current State: 44:[2, 51], Operations: ['94/47=2', '97-46=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,44 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[97, 44], Operations: ['94/47=2', '46-2=44']
Exploring Operation: 97*44=4268, Resulting Numbers: [4268]
4268,44 unequal: No Solution
Exploring Operation: 97+44=141, Resulting Numbers: [141]
141,44 unequal: No Solution
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[46, 95], Operations: ['94/47=2', '97-2=95']
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,44 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[97, 23], Operations: ['94/47=2', '46/2=23']
Exploring Operation: 97+23=120, Resulting Numbers: [120]
120,44 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 97*23=2231, Resulting Numbers: [2231]
2231,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[46, 97, 47], Operations: ['94-47=47']
Exploring Operation: 47-46=1, Resulting Numbers: [97, 1]
Generated Node #0,0,0: 44:[97, 1] Operation: 47-46=1
Exploring Operation: 97-47=50, Resulting Numbers: [46, 50]
Generated Node #0,0,1: 44:[46, 50] Operation: 97-47=50
Exploring Operation: 46+97=143, Resulting Numbers: [47, 143]
Generated Node #0,0,2: 44:[47, 143] Operation: 46+97=143
Exploring Operation: 97-46=51, Resulting Numbers: [47, 51]
Generated Node #0,0,3: 44:[47, 51] Operation: 97-46=51
Moving to Node #0,0,1
Current State: 44:[46, 50], Operations: ['94-47=47', '97-47=50']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[47, 51], Operations: ['94-47=47', '97-46=51']
Exploring Operation: 47*51=2397, Resulting Numbers: [2397]
2397,44 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[97, 1], Operations: ['94-47=47', '47-46=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[47, 143], Operations: ['94-47=47', '46+97=143']
Exploring Operation: 47+143=190, Resulting Numbers: [190]
190,44 unequal: No Solution
Exploring Operation: 143-47=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 47*143=6721, Resulting Numbers: [6721]
6721,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[46, 94, 50], Operations: ['97-47=50']
Exploring Operation: 94-46=48, Resulting Numbers: [50, 48]
Generated Node #0,2,0: 44:[50, 48] Operation: 94-46=48
Exploring Operation: 94-50=44, Resulting Numbers: [46, 44]
Generated Node #0,2,1: 44:[46, 44] Operation: 94-50=44
Exploring Operation: 46+94=140, Resulting Numbers: [50, 140]
Generated Node #0,2,2: 44:[50, 140] Operation: 46+94=140
Exploring Operation: 50-46=4, Resulting Numbers: [94, 4]
Generated Node #0,2,3: 44:[94, 4] Operation: 50-46=4
Moving to Node #0,2,1
Current State: 44:[46, 44], Operations: ['97-47=50', '94-50=44']
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[50, 48], Operations: ['97-47=50', '94-46=48']
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,44 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,44 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[94, 4], Operations: ['97-47=50', '50-46=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,44 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[50, 140], Operations: ['97-47=50', '46+94=140']
Exploring Operation: 50*140=7000, Resulting Numbers: [7000]
7000,44 unequal: No Solution
Exploring Operation: 50+140=190, Resulting Numbers: [190]
190,44 unequal: No Solution
Exploring Operation: 140-50=90, Resulting Numbers: [90]
90,44 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 |
[
85,
1,
33,
58
] | 59 | [
"85-1=84",
"58-33=25",
"84-25=59"
] | Current State: 59:[85, 1, 33, 58], Operations: []
Exploring Operation: 85-1=84, Resulting Numbers: [33, 58, 84]
Generated Node #2: [33, 58, 84] from Operation: 85-1=84
Current State: 59:[33, 58, 84], Operations: ['85-1=84']
Exploring Operation: 58-33=25, Resulting Numbers: [84, 25]
Generated Node #3: [84, 25] from Operation: 58-33=25
Current State: 59:[84, 25], Operations: ['85-1=84', '58-33=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[85, 1, 33, 58], Operations: []
Exploring Operation: 85-1=84, Resulting Numbers: [33, 58, 84]
Generated Node #0,0: 59:[33, 58, 84] Operation: 85-1=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[33, 58, 84], Operations: ['85-1=84']
Exploring Operation: 84-33=51, Resulting Numbers: [58, 51]
Generated Node #0,0,0: 59:[58, 51] Operation: 84-33=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[58, 51], Operations: ['85-1=84', '84-33=51']
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,59 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 |
[
25,
4,
42,
93
] | 100 | [
"93-25=68",
"4*42=168",
"168-68=100"
] | Current State: 100:[25, 4, 42, 93], Operations: []
Exploring Operation: 93-25=68, Resulting Numbers: [4, 42, 68]
Generated Node #2: [4, 42, 68] from Operation: 93-25=68
Current State: 100:[4, 42, 68], Operations: ['93-25=68']
Exploring Operation: 4*42=168, Resulting Numbers: [68, 168]
Generated Node #3: [68, 168] from Operation: 4*42=168
Current State: 100:[68, 168], Operations: ['93-25=68', '4*42=168']
Exploring Operation: 168-68=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[25, 4, 42, 93], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [25, 4, 51]
Generated Node #0,0: 100:[25, 4, 51] Operation: 93-42=51
Exploring Operation: 4+93=97, Resulting Numbers: [25, 42, 97]
Generated Node #0,1: 100:[25, 42, 97] Operation: 4+93=97
Exploring Operation: 42-25=17, Resulting Numbers: [4, 93, 17]
Generated Node #0,2: 100:[4, 93, 17] Operation: 42-25=17
Exploring Operation: 4+42=46, Resulting Numbers: [25, 93, 46]
Generated Node #0,3: 100:[25, 93, 46] Operation: 4+42=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[25, 4, 51], Operations: ['93-42=51']
Exploring Operation: 51-4=47, Resulting Numbers: [25, 47]
Generated Node #0,0,0: 100:[25, 47] Operation: 51-4=47
Exploring Operation: 51-25=26, Resulting Numbers: [4, 26]
Generated Node #0,0,1: 100:[4, 26] Operation: 51-25=26
Exploring Operation: 25-4=21, Resulting Numbers: [51, 21]
Generated Node #0,0,2: 100:[51, 21] Operation: 25-4=21
Exploring Operation: 25*4=100, Resulting Numbers: [51, 100]
Generated Node #0,0,3: 100:[51, 100] Operation: 25*4=100
Moving to Node #0,0,1
Current State: 100:[4, 26], Operations: ['93-42=51', '51-25=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[51, 100], Operations: ['93-42=51', '25*4=100']
Exploring Operation: 51*100=5100, Resulting Numbers: [5100]
5100,100 unequal: No Solution
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,100 unequal: No Solution
Exploring Operation: 51+100=151, Resulting Numbers: [151]
151,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[51, 21], Operations: ['93-42=51', '25-4=21']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[25, 47], Operations: ['93-42=51', '51-4=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,100 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[4, 93, 17], Operations: ['42-25=17']
Exploring Operation: 17-4=13, Resulting Numbers: [93, 13]
Generated Node #0,2,0: 100:[93, 13] Operation: 17-4=13
Exploring Operation: 93+17=110, Resulting Numbers: [4, 110]
Generated Node #0,2,1: 100:[4, 110] Operation: 93+17=110
Exploring Operation: 4+17=21, Resulting Numbers: [93, 21]
Generated Node #0,2,2: 100:[93, 21] Operation: 4+17=21
Exploring Operation: 4+93=97, Resulting Numbers: [17, 97]
Generated Node #0,2,3: 100:[17, 97] Operation: 4+93=97
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[17, 97], Operations: ['42-25=17', '4+93=97']
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 17*97=1649, Resulting Numbers: [1649]
1649,100 unequal: No Solution
Exploring Operation: 17+97=114, Resulting Numbers: [114]
114,100 unequal: No Solution
No 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: 100:[93, 21], Operations: ['42-25=17', '4+17=21']
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,100 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,100 unequal: No Solution
No 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: 100:[93, 13], Operations: ['42-25=17', '17-4=13']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,100 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,100 unequal: No Solution
No 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: 100:[4, 110], Operations: ['42-25=17', '93+17=110']
Exploring Operation: 110-4=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 4+110=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 4*110=440, Resulting Numbers: [440]
440,100 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: 100:[25, 42, 97], Operations: ['4+93=97']
Exploring Operation: 25+97=122, Resulting Numbers: [42, 122]
Generated Node #0,1,0: 100:[42, 122] Operation: 25+97=122
Exploring Operation: 97-42=55, Resulting Numbers: [25, 55]
Generated Node #0,1,1: 100:[25, 55] Operation: 97-42=55
Exploring Operation: 42-25=17, Resulting Numbers: [97, 17]
Generated Node #0,1,2: 100:[97, 17] Operation: 42-25=17
Exploring Operation: 25+42=67, Resulting Numbers: [97, 67]
Generated Node #0,1,3: 100:[97, 67] Operation: 25+42=67
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[25, 55], Operations: ['4+93=97', '97-42=55']
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,100 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,100 unequal: No Solution
No 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: 100:[97, 17], Operations: ['4+93=97', '42-25=17']
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,100 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,100 unequal: No Solution
No 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: 100:[97, 67], Operations: ['4+93=97', '25+42=67']
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 97*67=6499, Resulting Numbers: [6499]
6499,100 unequal: No Solution
Exploring Operation: 97+67=164, Resulting Numbers: [164]
164,100 unequal: No Solution
No 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: 100:[42, 122], Operations: ['4+93=97', '25+97=122']
Exploring Operation: 122-42=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 42+122=164, Resulting Numbers: [164]
164,100 unequal: No Solution
Exploring Operation: 42*122=5124, Resulting Numbers: [5124]
5124,100 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: 100:[25, 93, 46], Operations: ['4+42=46']
Exploring Operation: 46-25=21, Resulting Numbers: [93, 21]
Generated Node #0,3,0: 100:[93, 21] Operation: 46-25=21
Exploring Operation: 93-25=68, Resulting Numbers: [46, 68]
Generated Node #0,3,1: 100:[46, 68] Operation: 93-25=68
Exploring Operation: 93-46=47, Resulting Numbers: [25, 47]
Generated Node #0,3,2: 100:[25, 47] Operation: 93-46=47
Exploring Operation: 25+93=118, Resulting Numbers: [46, 118]
Generated Node #0,3,3: 100:[46, 118] Operation: 25+93=118
Moving to Node #0,3,2
Current State: 100:[25, 47], Operations: ['4+42=46', '93-46=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[93, 21], Operations: ['4+42=46', '46-25=21']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,100 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[46, 118], Operations: ['4+42=46', '25+93=118']
Exploring Operation: 118-46=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 46+118=164, Resulting Numbers: [164]
164,100 unequal: No Solution
Exploring Operation: 46*118=5428, Resulting Numbers: [5428]
5428,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[46, 68], Operations: ['4+42=46', '93-25=68']
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,100 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 |
[
13,
71,
7,
2
] | 72 | [
"71-13=58",
"7*2=14",
"58+14=72"
] | Current State: 72:[13, 71, 7, 2], Operations: []
Exploring Operation: 71-13=58, Resulting Numbers: [7, 2, 58]
Generated Node #2: [7, 2, 58] from Operation: 71-13=58
Current State: 72:[7, 2, 58], Operations: ['71-13=58']
Exploring Operation: 7*2=14, Resulting Numbers: [58, 14]
Generated Node #3: [58, 14] from Operation: 7*2=14
Current State: 72:[58, 14], Operations: ['71-13=58', '7*2=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[13, 71, 7, 2], Operations: []
Exploring Operation: 7+2=9, Resulting Numbers: [13, 71, 9]
Generated Node #0,0: 72:[13, 71, 9] Operation: 7+2=9
Exploring Operation: 13-7=6, Resulting Numbers: [71, 2, 6]
Generated Node #0,1: 72:[71, 2, 6] Operation: 13-7=6
Exploring Operation: 13-2=11, Resulting Numbers: [71, 7, 11]
Generated Node #0,2: 72:[71, 7, 11] Operation: 13-2=11
Exploring Operation: 13+7=20, Resulting Numbers: [71, 2, 20]
Generated Node #0,3: 72:[71, 2, 20] Operation: 13+7=20
Moving to Node #0,1
Current State: 72:[71, 2, 6], Operations: ['13-7=6']
Exploring Operation: 71+2=73, Resulting Numbers: [6, 73]
Generated Node #0,1,0: 72:[6, 73] Operation: 71+2=73
Exploring Operation: 2+6=8, Resulting Numbers: [71, 8]
Generated Node #0,1,1: 72:[71, 8] Operation: 2+6=8
Exploring Operation: 6-2=4, Resulting Numbers: [71, 4]
Generated Node #0,1,2: 72:[71, 4] Operation: 6-2=4
Exploring Operation: 2*6=12, Resulting Numbers: [71, 12]
Generated Node #0,1,3: 72:[71, 12] Operation: 2*6=12
Moving to Node #0,0
Current State: 72:[13, 71, 9], Operations: ['7+2=9']
Exploring Operation: 71+9=80, Resulting Numbers: [13, 80]
Generated Node #0,0,0: 72:[13, 80] Operation: 71+9=80
Exploring Operation: 71-9=62, Resulting Numbers: [13, 62]
Generated Node #0,0,1: 72:[13, 62] Operation: 71-9=62
Exploring Operation: 13-9=4, Resulting Numbers: [71, 4]
Generated Node #0,0,2: 72:[71, 4] Operation: 13-9=4
Exploring Operation: 13+9=22, Resulting Numbers: [71, 22]
Generated Node #0,0,3: 72:[71, 22] Operation: 13+9=22
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[71, 4], Operations: ['7+2=9', '13-9=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,72 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[71, 22], Operations: ['7+2=9', '13+9=22']
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,72 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[13, 80], Operations: ['7+2=9', '71+9=80']
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,72 unequal: No Solution
Exploring Operation: 13*80=1040, Resulting Numbers: [1040]
1040,72 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[13, 62], Operations: ['7+2=9', '71-9=62']
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 13*62=806, Resulting Numbers: [806]
806,72 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: 72:[71, 2, 20], Operations: ['13+7=20']
Exploring Operation: 20/2=10, Resulting Numbers: [71, 10]
Generated Node #0,3,0: 72:[71, 10] Operation: 20/2=10
Exploring Operation: 71+2=73, Resulting Numbers: [20, 73]
Generated Node #0,3,1: 72:[20, 73] Operation: 71+2=73
Exploring Operation: 2+20=22, Resulting Numbers: [71, 22]
Generated Node #0,3,2: 72:[71, 22] Operation: 2+20=22
Exploring Operation: 20-2=18, Resulting Numbers: [71, 18]
Generated Node #0,3,3: 72:[71, 18] Operation: 20-2=18
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 72:[71, 18], Operations: ['13+7=20', '20-2=18']
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,72 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,72 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 72:[71, 10], Operations: ['13+7=20', '20/2=10']
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,72 unequal: No Solution
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 72:[20, 73], Operations: ['13+7=20', '71+2=73']
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,72 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[71, 22], Operations: ['13+7=20', '2+20=22']
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,72 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,72 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: 72:[71, 7, 11], Operations: ['13-2=11']
Exploring Operation: 7*11=77, Resulting Numbers: [71, 77]
Generated Node #0,2,0: 72:[71, 77] Operation: 7*11=77
Exploring Operation: 7+11=18, Resulting Numbers: [71, 18]
Generated Node #0,2,1: 72:[71, 18] Operation: 7+11=18
Exploring Operation: 11-7=4, Resulting Numbers: [71, 4]
Generated Node #0,2,2: 72:[71, 4] Operation: 11-7=4
Exploring Operation: 71+7=78, Resulting Numbers: [11, 78]
Generated Node #0,2,3: 72:[11, 78] Operation: 71+7=78
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[71, 18], Operations: ['13-2=11', '7+11=18']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,72 unequal: No Solution
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[71, 4], Operations: ['13-2=11', '11-7=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,72 unequal: No Solution
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[71, 77], Operations: ['13-2=11', '7*11=77']
Exploring Operation: 77-71=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 71+77=148, Resulting Numbers: [148]
148,72 unequal: No Solution
Exploring Operation: 71*77=5467, Resulting Numbers: [5467]
5467,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 72:[11, 78], Operations: ['13-2=11', '71+7=78']
Exploring Operation: 11+78=89, Resulting Numbers: [89]
89,72 unequal: No Solution
Exploring Operation: 11*78=858, Resulting Numbers: [858]
858,72 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,72 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: 72:[6, 73], Operations: ['13-7=6', '71+2=73']
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,72 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[71, 4], Operations: ['13-7=6', '6-2=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,72 unequal: No Solution
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[71, 8], Operations: ['13-7=6', '2+6=8']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 71*8=568, Resulting Numbers: [568]
568,72 unequal: No Solution
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[71, 12], Operations: ['13-7=6', '2*6=12']
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,72 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
36,
28,
10,
14
] | 32 | [
"36-28=8",
"10+14=24",
"8+24=32"
] | Current State: 32:[36, 28, 10, 14], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [10, 14, 8]
Generated Node #2: [10, 14, 8] from Operation: 36-28=8
Current State: 32:[10, 14, 8], Operations: ['36-28=8']
Exploring Operation: 10+14=24, Resulting Numbers: [8, 24]
Generated Node #3: [8, 24] from Operation: 10+14=24
Current State: 32:[8, 24], Operations: ['36-28=8', '10+14=24']
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[36, 28, 10, 14], Operations: []
Exploring Operation: 28-14=14, Resulting Numbers: [36, 10, 14]
Generated Node #0,0: 32:[36, 10, 14] Operation: 28-14=14
Exploring Operation: 36-28=8, Resulting Numbers: [10, 14, 8]
Generated Node #0,1: 32:[10, 14, 8] Operation: 36-28=8
Exploring Operation: 14-10=4, Resulting Numbers: [36, 28, 4]
Generated Node #0,2: 32:[36, 28, 4] Operation: 14-10=4
Exploring Operation: 28-10=18, Resulting Numbers: [36, 14, 18]
Generated Node #0,3: 32:[36, 14, 18] Operation: 28-10=18
Exploring Operation: 28/14=2, Resulting Numbers: [36, 10, 2]
Generated Node #0,4: 32:[36, 10, 2] Operation: 28/14=2
Moving to Node #0,1
Current State: 32:[10, 14, 8], Operations: ['36-28=8']
Exploring Operation: 10+14=24, Resulting Numbers: [8, 24]
Generated Node #0,1,0: 32:[8, 24] Operation: 10+14=24
Exploring Operation: 14-10=4, Resulting Numbers: [8, 4]
Generated Node #0,1,1: 32:[8, 4] Operation: 14-10=4
Exploring Operation: 10-8=2, Resulting Numbers: [14, 2]
Generated Node #0,1,2: 32:[14, 2] Operation: 10-8=2
Exploring Operation: 10+8=18, Resulting Numbers: [14, 18]
Generated Node #0,1,3: 32:[14, 18] Operation: 10+8=18
Exploring Operation: 14-8=6, Resulting Numbers: [10, 6]
Generated Node #0,1,4: 32:[10, 6] Operation: 14-8=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[8, 4], Operations: ['36-28=8', '14-10=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[36, 28, 10, 14], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [10, 14, 8]
Generated Node #0,1: 32:[10, 14, 8] Operation: 36-28=8
Moving to Node #0,1
Current State: 32:[10, 14, 8], Operations: ['36-28=8']
Exploring Operation: 14-10=4, Resulting Numbers: [8, 4]
Generated Node #0,1,1: 32:[8, 4] Operation: 14-10=4
Moving to Node #0,1,1
Current State: 32:[8, 4], Operations: ['36-28=8', '14-10=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
31,
7,
16,
10
] | 30 | [
"31-7=24",
"16-10=6",
"24+6=30"
] | Current State: 30:[31, 7, 16, 10], Operations: []
Exploring Operation: 31-7=24, Resulting Numbers: [16, 10, 24]
Generated Node #2: [16, 10, 24] from Operation: 31-7=24
Current State: 30:[16, 10, 24], Operations: ['31-7=24']
Exploring Operation: 16-10=6, Resulting Numbers: [24, 6]
Generated Node #3: [24, 6] from Operation: 16-10=6
Current State: 30:[24, 6], Operations: ['31-7=24', '16-10=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[31, 7, 16, 10], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [31, 16, 3]
Generated Node #0,0: 30:[31, 16, 3] Operation: 10-7=3
Exploring Operation: 16-7=9, Resulting Numbers: [31, 10, 9]
Generated Node #0,1: 30:[31, 10, 9] Operation: 16-7=9
Exploring Operation: 31-16=15, Resulting Numbers: [7, 10, 15]
Generated Node #0,2: 30:[7, 10, 15] Operation: 31-16=15
Moving to Node #0,2
Current State: 30:[7, 10, 15], Operations: ['31-16=15']
Exploring Operation: 10-7=3, Resulting Numbers: [15, 3]
Generated Node #0,2,0: 30:[15, 3] Operation: 10-7=3
Exploring Operation: 15-10=5, Resulting Numbers: [7, 5]
Generated Node #0,2,1: 30:[7, 5] Operation: 15-10=5
Exploring Operation: 7+10=17, Resulting Numbers: [15, 17]
Generated Node #0,2,2: 30:[15, 17] Operation: 7+10=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[15, 3], Operations: ['31-16=15', '10-7=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[7, 5], Operations: ['31-16=15', '15-10=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[15, 17], Operations: ['31-16=15', '7+10=17']
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,30 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,30 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: 30:[31, 16, 3], Operations: ['10-7=3']
Exploring Operation: 31-3=28, Resulting Numbers: [16, 28]
Generated Node #0,0,0: 30:[16, 28] Operation: 31-3=28
Exploring Operation: 31-16=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 30:[3, 15] Operation: 31-16=15
Exploring Operation: 16-3=13, Resulting Numbers: [31, 13]
Generated Node #0,0,2: 30:[31, 13] Operation: 16-3=13
Moving to Node #0,1
Current State: 30:[31, 10, 9], Operations: ['16-7=9']
Exploring Operation: 10-9=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 30:[31, 1] Operation: 10-9=1
Exploring Operation: 31-10=21, Resulting Numbers: [9, 21]
Generated Node #0,1,1: 30:[9, 21] Operation: 31-10=21
Exploring Operation: 10+9=19, Resulting Numbers: [31, 19]
Generated Node #0,1,2: 30:[31, 19] Operation: 10+9=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[31, 1], Operations: ['16-7=9', '10-9=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[31, 7, 16, 10], Operations: []
Exploring Operation: 16-7=9, Resulting Numbers: [31, 10, 9]
Generated Node #0,1: 30:[31, 10, 9] Operation: 16-7=9
Moving to Node #0,1
Current State: 30:[31, 10, 9], Operations: ['16-7=9']
Exploring Operation: 10-9=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 30:[31, 1] Operation: 10-9=1
Moving to Node #0,1,0
Current State: 30:[31, 1], Operations: ['16-7=9', '10-9=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
26,
11,
1,
33
] | 48 | [
"26-11=15",
"1*33=33",
"15+33=48"
] | Current State: 48:[26, 11, 1, 33], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [1, 33, 15]
Generated Node #2: [1, 33, 15] from Operation: 26-11=15
Current State: 48:[1, 33, 15], Operations: ['26-11=15']
Exploring Operation: 1*33=33, Resulting Numbers: [15, 33]
Generated Node #3: [15, 33] from Operation: 1*33=33
Current State: 48:[15, 33], Operations: ['26-11=15', '1*33=33']
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[26, 11, 1, 33], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [11, 1, 7]
Generated Node #0,0: 48:[11, 1, 7] Operation: 33-26=7
Moving to Node #0,0
Current State: 48:[11, 1, 7], Operations: ['33-26=7']
Exploring Operation: 11+1=12, Resulting Numbers: [7, 12]
Generated Node #0,0,0: 48:[7, 12] Operation: 11+1=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[7, 12], Operations: ['33-26=7', '11+1=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
73,
68,
24
] | 77 | [
"68-62=6",
"24/6=4",
"73+4=77"
] | Current State: 77:[62, 73, 68, 24], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [73, 24, 6]
Generated Node #2: [73, 24, 6] from Operation: 68-62=6
Current State: 77:[73, 24, 6], Operations: ['68-62=6']
Exploring Operation: 24/6=4, Resulting Numbers: [73, 4]
Generated Node #3: [73, 4] from Operation: 24/6=4
Current State: 77:[73, 4], Operations: ['68-62=6', '24/6=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[62, 73, 68, 24], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [73, 24, 6]
Generated Node #0,0: 77:[73, 24, 6] Operation: 68-62=6
Moving to Node #0,0
Current State: 77:[73, 24, 6], Operations: ['68-62=6']
Exploring Operation: 24/6=4, Resulting Numbers: [73, 4]
Generated Node #0,0,0: 77:[73, 4] Operation: 24/6=4
Moving to Node #0,0,0
Current State: 77:[73, 4], Operations: ['68-62=6', '24/6=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[62, 73, 68, 24], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [73, 24, 6]
Generated Node #0,0: 77:[73, 24, 6] Operation: 68-62=6
Moving to Node #0,0
Current State: 77:[73, 24, 6], Operations: ['68-62=6']
Exploring Operation: 24/6=4, Resulting Numbers: [73, 4]
Generated Node #0,0,0: 77:[73, 4] Operation: 24/6=4
Moving to Node #0,0,0
Current State: 77:[73, 4], Operations: ['68-62=6', '24/6=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
90,
61,
48,
87
] | 51 | [
"90-61=29",
"87/29=3",
"48+3=51"
] | Current State: 51:[90, 61, 48, 87], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [48, 87, 29]
Generated Node #2: [48, 87, 29] from Operation: 90-61=29
Current State: 51:[48, 87, 29], Operations: ['90-61=29']
Exploring Operation: 87/29=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 87/29=3
Current State: 51:[48, 3], Operations: ['90-61=29', '87/29=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[90, 61, 48, 87], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [48, 87, 29]
Generated Node #0,0: 51:[48, 87, 29] Operation: 90-61=29
Exploring Operation: 90-87=3, Resulting Numbers: [61, 48, 3]
Generated Node #0,1: 51:[61, 48, 3] Operation: 90-87=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[61, 48, 3], Operations: ['90-87=3']
Exploring Operation: 61-3=58, Resulting Numbers: [48, 58]
Generated Node #0,1,0: 51:[48, 58] Operation: 61-3=58
Exploring Operation: 61-48=13, Resulting Numbers: [3, 13]
Generated Node #0,1,1: 51:[3, 13] Operation: 61-48=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[3, 13], Operations: ['90-87=3', '61-48=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[48, 58], Operations: ['90-87=3', '61-3=58']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[48, 87, 29], Operations: ['90-61=29']
Exploring Operation: 87-29=58, Resulting Numbers: [48, 58]
Generated Node #0,0,0: 51:[48, 58] Operation: 87-29=58
Exploring Operation: 87/29=3, Resulting Numbers: [48, 3]
Generated Node #0,0,1: 51:[48, 3] Operation: 87/29=3
Moving to Node #0,0,1
Current State: 51:[48, 3], Operations: ['90-61=29', '87/29=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[90, 61, 48, 87], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [48, 87, 29]
Generated Node #0,0: 51:[48, 87, 29] Operation: 90-61=29
Moving to Node #0,0
Current State: 51:[48, 87, 29], Operations: ['90-61=29']
Exploring Operation: 87/29=3, Resulting Numbers: [48, 3]
Generated Node #0,0,1: 51:[48, 3] Operation: 87/29=3
Moving to Node #0,0,1
Current State: 51:[48, 3], Operations: ['90-61=29', '87/29=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
2,
10,
62,
73
] | 23 | [
"2+10=12",
"73-62=11",
"12+11=23"
] | Current State: 23:[2, 10, 62, 73], Operations: []
Exploring Operation: 2+10=12, Resulting Numbers: [62, 73, 12]
Generated Node #2: [62, 73, 12] from Operation: 2+10=12
Current State: 23:[62, 73, 12], Operations: ['2+10=12']
Exploring Operation: 73-62=11, Resulting Numbers: [12, 11]
Generated Node #3: [12, 11] from Operation: 73-62=11
Current State: 23:[12, 11], Operations: ['2+10=12', '73-62=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[2, 10, 62, 73], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [2, 10, 11]
Generated Node #0,0: 23:[2, 10, 11] Operation: 73-62=11
Exploring Operation: 62/2=31, Resulting Numbers: [10, 73, 31]
Generated Node #0,1: 23:[10, 73, 31] Operation: 62/2=31
Exploring Operation: 2*10=20, Resulting Numbers: [62, 73, 20]
Generated Node #0,2: 23:[62, 73, 20] Operation: 2*10=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[2, 10, 11], Operations: ['73-62=11']
Exploring Operation: 2+10=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 23:[11, 12] Operation: 2+10=12
Exploring Operation: 2*10=20, Resulting Numbers: [11, 20]
Generated Node #0,0,1: 23:[11, 20] Operation: 2*10=20
Exploring Operation: 2*11=22, Resulting Numbers: [10, 22]
Generated Node #0,0,2: 23:[10, 22] Operation: 2*11=22
Moving to Node #0,0,2
Current State: 23:[10, 22], Operations: ['73-62=11', '2*11=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,23 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[11, 20], Operations: ['73-62=11', '2*10=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[11, 12], Operations: ['73-62=11', '2+10=12']
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[2, 10, 62, 73], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [2, 10, 11]
Generated Node #0,0: 23:[2, 10, 11] Operation: 73-62=11
Moving to Node #0,0
Current State: 23:[2, 10, 11], Operations: ['73-62=11']
Exploring Operation: 2+10=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 23:[11, 12] Operation: 2+10=12
Moving to Node #0,0,0
Current State: 23:[11, 12], Operations: ['73-62=11', '2+10=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
74,
76,
13,
88
] | 75 | [
"74+76=150",
"88-13=75",
"150-75=75"
] | Current State: 75:[74, 76, 13, 88], Operations: []
Exploring Operation: 74+76=150, Resulting Numbers: [13, 88, 150]
Generated Node #2: [13, 88, 150] from Operation: 74+76=150
Current State: 75:[13, 88, 150], Operations: ['74+76=150']
Exploring Operation: 88-13=75, Resulting Numbers: [150, 75]
Generated Node #3: [150, 75] from Operation: 88-13=75
Current State: 75:[150, 75], Operations: ['74+76=150', '88-13=75']
Exploring Operation: 150-75=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[74, 76, 13, 88], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [76, 13, 14]
Generated Node #0,0: 75:[76, 13, 14] Operation: 88-74=14
Exploring Operation: 88-13=75, Resulting Numbers: [74, 76, 75]
Generated Node #0,1: 75:[74, 76, 75] Operation: 88-13=75
Moving to Node #0,1
Current State: 75:[74, 76, 75], Operations: ['88-13=75']
Exploring Operation: 75-74=1, Resulting Numbers: [76, 1]
Generated Node #0,1,0: 75:[76, 1] Operation: 75-74=1
Exploring Operation: 76-74=2, Resulting Numbers: [75, 2]
Generated Node #0,1,1: 75:[75, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 75:[76, 13, 14], Operations: ['88-74=14']
Exploring Operation: 14-13=1, Resulting Numbers: [76, 1]
Generated Node #0,0,0: 75:[76, 1] Operation: 14-13=1
Exploring Operation: 13+14=27, Resulting Numbers: [76, 27]
Generated Node #0,0,1: 75:[76, 27] Operation: 13+14=27
Moving to Node #0,1,1
Current State: 75:[75, 2], Operations: ['88-13=75', '76-74=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[76, 1], Operations: ['88-74=14', '14-13=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[74, 76, 13, 88], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [76, 13, 14]
Generated Node #0,0: 75:[76, 13, 14] Operation: 88-74=14
Moving to Node #0,0
Current State: 75:[76, 13, 14], Operations: ['88-74=14']
Exploring Operation: 14-13=1, Resulting Numbers: [76, 1]
Generated Node #0,0,0: 75:[76, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 75:[76, 1], Operations: ['88-74=14', '14-13=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
87,
4,
45,
5
] | 28 | [
"87+45=132",
"132/4=33",
"33-5=28"
] | Current State: 28:[87, 4, 45, 5], Operations: []
Exploring Operation: 87+45=132, Resulting Numbers: [4, 5, 132]
Generated Node #2: [4, 5, 132] from Operation: 87+45=132
Current State: 28:[4, 5, 132], Operations: ['87+45=132']
Exploring Operation: 132/4=33, Resulting Numbers: [5, 33]
Generated Node #3: [5, 33] from Operation: 132/4=33
Current State: 28:[5, 33], Operations: ['87+45=132', '132/4=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[87, 4, 45, 5], Operations: []
Exploring Operation: 87-5=82, Resulting Numbers: [4, 45, 82]
Generated Node #0,0: 28:[4, 45, 82] Operation: 87-5=82
Exploring Operation: 45/5=9, Resulting Numbers: [87, 4, 9]
Generated Node #0,1: 28:[87, 4, 9] Operation: 45/5=9
Exploring Operation: 87-45=42, Resulting Numbers: [4, 5, 42]
Generated Node #0,2: 28:[4, 5, 42] Operation: 87-45=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[4, 5, 42], Operations: ['87-45=42']
Exploring Operation: 42-4=38, Resulting Numbers: [5, 38]
Generated Node #0,2,0: 28:[5, 38] Operation: 42-4=38
Exploring Operation: 42-5=37, Resulting Numbers: [4, 37]
Generated Node #0,2,1: 28:[4, 37] Operation: 42-5=37
Exploring Operation: 5-4=1, Resulting Numbers: [42, 1]
Generated Node #0,2,2: 28:[42, 1] Operation: 5-4=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 28:[4, 37], Operations: ['87-45=42', '42-5=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,28 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[5, 38], Operations: ['87-45=42', '42-4=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,28 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 28:[42, 1], Operations: ['87-45=42', '5-4=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[87, 4, 9], Operations: ['45/5=9']
Exploring Operation: 87-4=83, Resulting Numbers: [9, 83]
Generated Node #0,1,0: 28:[9, 83] Operation: 87-4=83
Exploring Operation: 4+9=13, Resulting Numbers: [87, 13]
Generated Node #0,1,1: 28:[87, 13] Operation: 4+9=13
Exploring Operation: 87-9=78, Resulting Numbers: [4, 78]
Generated Node #0,1,2: 28:[4, 78] Operation: 87-9=78
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[4, 78], Operations: ['45/5=9', '87-9=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,28 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[9, 83], Operations: ['45/5=9', '87-4=83']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Exploring Operation: 9*83=747, Resulting Numbers: [747]
747,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[87, 13], Operations: ['45/5=9', '4+9=13']
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,28 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[4, 45, 82], Operations: ['87-5=82']
Exploring Operation: 82-4=78, Resulting Numbers: [45, 78]
Generated Node #0,0,0: 28:[45, 78] Operation: 82-4=78
Exploring Operation: 45-4=41, Resulting Numbers: [82, 41]
Generated Node #0,0,1: 28:[82, 41] Operation: 45-4=41
Exploring Operation: 82-45=37, Resulting Numbers: [4, 37]
Generated Node #0,0,2: 28:[4, 37] Operation: 82-45=37
Moving to Node #0,0,2
Current State: 28:[4, 37], Operations: ['87-5=82', '82-45=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,28 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[45, 78], Operations: ['87-5=82', '82-4=78']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 45+78=123, Resulting Numbers: [123]
123,28 unequal: No Solution
Exploring Operation: 45*78=3510, Resulting Numbers: [3510]
3510,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[82, 41], Operations: ['87-5=82', '45-4=41']
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,28 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,28 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 |
[
13,
20,
12,
80
] | 18 | [
"80-20=60",
"60/12=5",
"13+5=18"
] | Current State: 18:[13, 20, 12, 80], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [13, 12, 60]
Generated Node #2: [13, 12, 60] from Operation: 80-20=60
Current State: 18:[13, 12, 60], Operations: ['80-20=60']
Exploring Operation: 60/12=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 60/12=5
Current State: 18:[13, 5], Operations: ['80-20=60', '60/12=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[13, 20, 12, 80], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [13, 12, 4]
Generated Node #0,0: 18:[13, 12, 4] Operation: 80/20=4
Exploring Operation: 80-13=67, Resulting Numbers: [20, 12, 67]
Generated Node #0,1: 18:[20, 12, 67] Operation: 80-13=67
Exploring Operation: 80-20=60, Resulting Numbers: [13, 12, 60]
Generated Node #0,2: 18:[13, 12, 60] Operation: 80-20=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[13, 12, 4], Operations: ['80/20=4']
Exploring Operation: 13-12=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 18:[4, 1] Operation: 13-12=1
Exploring Operation: 13+4=17, Resulting Numbers: [12, 17]
Generated Node #0,0,1: 18:[12, 17] Operation: 13+4=17
Exploring Operation: 13-4=9, Resulting Numbers: [12, 9]
Generated Node #0,0,2: 18:[12, 9] Operation: 13-4=9
Moving to Node #0,0,0
Current State: 18:[4, 1], Operations: ['80/20=4', '13-12=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[12, 9], Operations: ['80/20=4', '13-4=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,18 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[12, 17], Operations: ['80/20=4', '13+4=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[13, 12, 60], Operations: ['80-20=60']
Exploring Operation: 60-12=48, Resulting Numbers: [13, 48]
Generated Node #0,2,0: 18:[13, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [13, 5]
Generated Node #0,2,1: 18:[13, 5] Operation: 60/12=5
Exploring Operation: 60-13=47, Resulting Numbers: [12, 47]
Generated Node #0,2,2: 18:[12, 47] Operation: 60-13=47
Moving to Node #0,2,1
Current State: 18:[13, 5], Operations: ['80-20=60', '60/12=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[13, 20, 12, 80], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [13, 12, 60]
Generated Node #0,2: 18:[13, 12, 60] Operation: 80-20=60
Moving to Node #0,2
Current State: 18:[13, 12, 60], Operations: ['80-20=60']
Exploring Operation: 60/12=5, Resulting Numbers: [13, 5]
Generated Node #0,2,1: 18:[13, 5] Operation: 60/12=5
Moving to Node #0,2,1
Current State: 18:[13, 5], Operations: ['80-20=60', '60/12=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
44,
21,
10,
49
] | 95 | [
"49-44=5",
"21*5=105",
"105-10=95"
] | Current State: 95:[44, 21, 10, 49], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [21, 10, 5]
Generated Node #2: [21, 10, 5] from Operation: 49-44=5
Current State: 95:[21, 10, 5], Operations: ['49-44=5']
Exploring Operation: 21*5=105, Resulting Numbers: [10, 105]
Generated Node #3: [10, 105] from Operation: 21*5=105
Current State: 95:[10, 105], Operations: ['49-44=5', '21*5=105']
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[44, 21, 10, 49], Operations: []
Exploring Operation: 44+49=93, Resulting Numbers: [21, 10, 93]
Generated Node #0,0: 95:[21, 10, 93] Operation: 44+49=93
Exploring Operation: 49-44=5, Resulting Numbers: [21, 10, 5]
Generated Node #0,1: 95:[21, 10, 5] Operation: 49-44=5
Exploring Operation: 44-21=23, Resulting Numbers: [10, 49, 23]
Generated Node #0,2: 95:[10, 49, 23] Operation: 44-21=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[21, 10, 5], Operations: ['49-44=5']
Exploring Operation: 10/5=2, Resulting Numbers: [21, 2]
Generated Node #0,1,0: 95:[21, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [21, 5]
Generated Node #0,1,1: 95:[21, 5] Operation: 10-5=5
Exploring Operation: 21-10=11, Resulting Numbers: [5, 11]
Generated Node #0,1,2: 95:[5, 11] Operation: 21-10=11
Moving to Node #0,1,1
Current State: 95:[21, 5], Operations: ['49-44=5', '10-5=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[21, 2], Operations: ['49-44=5', '10/5=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[5, 11], Operations: ['49-44=5', '21-10=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[21, 10, 93], Operations: ['44+49=93']
Exploring Operation: 21-10=11, Resulting Numbers: [93, 11]
Generated Node #0,0,0: 95:[93, 11] Operation: 21-10=11
Exploring Operation: 21+10=31, Resulting Numbers: [93, 31]
Generated Node #0,0,1: 95:[93, 31] Operation: 21+10=31
Exploring Operation: 10+93=103, Resulting Numbers: [21, 103]
Generated Node #0,0,2: 95:[21, 103] Operation: 10+93=103
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[93, 11], Operations: ['44+49=93', '21-10=11']
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,95 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[21, 103], Operations: ['44+49=93', '10+93=103']
Exploring Operation: 103-21=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 21*103=2163, Resulting Numbers: [2163]
2163,95 unequal: No Solution
Exploring Operation: 21+103=124, Resulting Numbers: [124]
124,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[93, 31], Operations: ['44+49=93', '21+10=31']
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[10, 49, 23], Operations: ['44-21=23']
Exploring Operation: 49-23=26, Resulting Numbers: [10, 26]
Generated Node #0,2,0: 95:[10, 26] Operation: 49-23=26
Exploring Operation: 49+23=72, Resulting Numbers: [10, 72]
Generated Node #0,2,1: 95:[10, 72] Operation: 49+23=72
Exploring Operation: 49-10=39, Resulting Numbers: [23, 39]
Generated Node #0,2,2: 95:[23, 39] Operation: 49-10=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[10, 26], Operations: ['44-21=23', '49-23=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,95 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[23, 39], Operations: ['44-21=23', '49-10=39']
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 23*39=897, Resulting Numbers: [897]
897,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[10, 72], Operations: ['44-21=23', '49+23=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,95 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
91,
94,
5,
23
] | 31 | [
"94-91=3",
"5+23=28",
"3+28=31"
] | Current State: 31:[91, 94, 5, 23], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [5, 23, 3]
Generated Node #2: [5, 23, 3] from Operation: 94-91=3
Current State: 31:[5, 23, 3], Operations: ['94-91=3']
Exploring Operation: 5+23=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 5+23=28
Current State: 31:[3, 28], Operations: ['94-91=3', '5+23=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[91, 94, 5, 23], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [5, 23, 3]
Generated Node #0,0: 31:[5, 23, 3] Operation: 94-91=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[5, 23, 3], Operations: ['94-91=3']
Exploring Operation: 5*3=15, Resulting Numbers: [23, 15]
Generated Node #0,0,0: 31:[23, 15] Operation: 5*3=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[23, 15], Operations: ['94-91=3', '5*3=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
11,
97,
8
] | 96 | [
"11-2=9",
"97+8=105",
"105-9=96"
] | Current State: 96:[2, 11, 97, 8], Operations: []
Exploring Operation: 11-2=9, Resulting Numbers: [97, 8, 9]
Generated Node #2: [97, 8, 9] from Operation: 11-2=9
Current State: 96:[97, 8, 9], Operations: ['11-2=9']
Exploring Operation: 97+8=105, Resulting Numbers: [9, 105]
Generated Node #3: [9, 105] from Operation: 97+8=105
Current State: 96:[9, 105], Operations: ['11-2=9', '97+8=105']
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[2, 11, 97, 8], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [2, 97, 3]
Generated Node #0,0: 96:[2, 97, 3] Operation: 11-8=3
Moving to Node #0,0
Current State: 96:[2, 97, 3], Operations: ['11-8=3']
Exploring Operation: 97-2=95, Resulting Numbers: [3, 95]
Generated Node #0,0,0: 96:[3, 95] Operation: 97-2=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[3, 95], Operations: ['11-8=3', '97-2=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
5,
58,
25
] | 59 | [
"20+5=25",
"25/25=1",
"58+1=59"
] | Current State: 59:[20, 5, 58, 25], Operations: []
Exploring Operation: 20+5=25, Resulting Numbers: [58, 25, 25]
Generated Node #2: [58, 25, 25] from Operation: 20+5=25
Current State: 59:[58, 25, 25], Operations: ['20+5=25']
Exploring Operation: 25/25=1, Resulting Numbers: [58, 1]
Generated Node #3: [58, 1] from Operation: 25/25=1
Current State: 59:[58, 1], Operations: ['20+5=25', '25/25=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[20, 5, 58, 25], Operations: []
Exploring Operation: 5+58=63, Resulting Numbers: [20, 25, 63]
Generated Node #0,0: 59:[20, 25, 63] Operation: 5+58=63
Exploring Operation: 5+25=30, Resulting Numbers: [20, 58, 30]
Generated Node #0,1: 59:[20, 58, 30] Operation: 5+25=30
Exploring Operation: 20+5=25, Resulting Numbers: [58, 25, 25]
Generated Node #0,2: 59:[58, 25, 25] Operation: 20+5=25
Exploring Operation: 20+25=45, Resulting Numbers: [5, 58, 45]
Generated Node #0,3: 59:[5, 58, 45] Operation: 20+25=45
Exploring Operation: 20*5=100, Resulting Numbers: [58, 25, 100]
Generated Node #0,4: 59:[58, 25, 100] Operation: 20*5=100
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[20, 58, 30], Operations: ['5+25=30']
Exploring Operation: 20+30=50, Resulting Numbers: [58, 50]
Generated Node #0,1,0: 59:[58, 50] Operation: 20+30=50
Exploring Operation: 30-20=10, Resulting Numbers: [58, 10]
Generated Node #0,1,1: 59:[58, 10] Operation: 30-20=10
Exploring Operation: 20+58=78, Resulting Numbers: [30, 78]
Generated Node #0,1,2: 59:[30, 78] Operation: 20+58=78
Exploring Operation: 58-20=38, Resulting Numbers: [30, 38]
Generated Node #0,1,3: 59:[30, 38] Operation: 58-20=38
Exploring Operation: 58+30=88, Resulting Numbers: [20, 88]
Generated Node #0,1,4: 59:[20, 88] Operation: 58+30=88
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[58, 50], Operations: ['5+25=30', '20+30=50']
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 58*50=2900, Resulting Numbers: [2900]
2900,59 unequal: No Solution
Exploring Operation: 58+50=108, Resulting Numbers: [108]
108,59 unequal: No Solution
No 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: 59:[30, 78], Operations: ['5+25=30', '20+58=78']
Exploring Operation: 30+78=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 30*78=2340, Resulting Numbers: [2340]
2340,59 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,59 unequal: No Solution
No 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: 59:[58, 10], Operations: ['5+25=30', '30-20=10']
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,59 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,59 unequal: No Solution
No 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: 59:[30, 38], Operations: ['5+25=30', '58-20=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,59 unequal: No Solution
No 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: 59:[20, 88], Operations: ['5+25=30', '58+30=88']
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,59 unequal: No Solution
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,59 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: 59:[58, 25, 25], Operations: ['20+5=25']
Exploring Operation: 58-25=33, Resulting Numbers: [25, 33]
Generated Node #0,2,0: 59:[25, 33] Operation: 58-25=33
Exploring Operation: 58+25=83, Resulting Numbers: [25, 83]
Generated Node #0,2,1: 59:[25, 83] Operation: 58+25=83
Exploring Operation: 25/25=1, Resulting Numbers: [58, 1]
Generated Node #0,2,2: 59:[58, 1] Operation: 25/25=1
Exploring Operation: 58+25=83, Resulting Numbers: [25, 83]
Generated Node #0,2,3: 59:[25, 83] Operation: 58+25=83
Exploring Operation: 25+25=50, Resulting Numbers: [58, 50]
Generated Node #0,2,4: 59:[58, 50] Operation: 25+25=50
Moving to Node #0,2,4
Current State: 59:[58, 50], Operations: ['20+5=25', '25+25=50']
Exploring Operation: 58*50=2900, Resulting Numbers: [2900]
2900,59 unequal: No Solution
Exploring Operation: 58+50=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[25, 83], Operations: ['20+5=25', '58+25=83']
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,59 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[25, 83], Operations: ['20+5=25', '58+25=83']
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,59 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[58, 1], Operations: ['20+5=25', '25/25=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[20, 5, 58, 25], Operations: []
Exploring Operation: 20+5=25, Resulting Numbers: [58, 25, 25]
Generated Node #0,2: 59:[58, 25, 25] Operation: 20+5=25
Moving to Node #0,2
Current State: 59:[58, 25, 25], Operations: ['20+5=25']
Exploring Operation: 25/25=1, Resulting Numbers: [58, 1]
Generated Node #0,2,2: 59:[58, 1] Operation: 25/25=1
Moving to Node #0,2,2
Current State: 59:[58, 1], Operations: ['20+5=25', '25/25=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | sum_heuristic |
[
96,
23,
3,
96
] | 25 | [
"96/96=1",
"23+3=26",
"26-1=25"
] | Current State: 25:[96, 23, 3, 96], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [23, 3, 1]
Generated Node #2: [23, 3, 1] from Operation: 96/96=1
Current State: 25:[23, 3, 1], Operations: ['96/96=1']
Exploring Operation: 23+3=26, Resulting Numbers: [1, 26]
Generated Node #3: [1, 26] from Operation: 23+3=26
Current State: 25:[1, 26], Operations: ['96/96=1', '23+3=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[96, 23, 3, 96], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [23, 3, 1]
Generated Node #0,0: 25:[23, 3, 1] Operation: 96/96=1
Exploring Operation: 96/3=32, Resulting Numbers: [96, 23, 32]
Generated Node #0,1: 25:[96, 23, 32] Operation: 96/3=32
Exploring Operation: 96/3=32, Resulting Numbers: [23, 96, 32]
Generated Node #0,2: 25:[23, 96, 32] Operation: 96/3=32
Exploring Operation: 96-96=0, Resulting Numbers: [23, 3, 0]
Generated Node #0,3: 25:[23, 3, 0] Operation: 96-96=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[23, 3, 1], Operations: ['96/96=1']
Exploring Operation: 3+1=4, Resulting Numbers: [23, 4]
Generated Node #0,0,0: 25:[23, 4] Operation: 3+1=4
Exploring Operation: 23+1=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 25:[3, 24] Operation: 23+1=24
Exploring Operation: 23/1=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 25:[3, 23] Operation: 23/1=23
Exploring Operation: 23*1=23, Resulting Numbers: [3, 23]
Generated Node #0,0,3: 25:[3, 23] Operation: 23*1=23
Moving to Node #0,0,0
Current State: 25:[23, 4], Operations: ['96/96=1', '3+1=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[3, 24], Operations: ['96/96=1', '23+1=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[3, 23], Operations: ['96/96=1', '23*1=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[3, 23], Operations: ['96/96=1', '23/1=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,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,3
Current State: 25:[23, 3, 0], Operations: ['96-96=0']
Exploring Operation: 3+0=3, Resulting Numbers: [23, 3]
Generated Node #0,3,0: 25:[23, 3] Operation: 3+0=3
Exploring Operation: 23+0=23, Resulting Numbers: [3, 23]
Generated Node #0,3,1: 25:[3, 23] Operation: 23+0=23
Exploring Operation: 3-0=3, Resulting Numbers: [23, 3]
Generated Node #0,3,2: 25:[23, 3] Operation: 3-0=3
Exploring Operation: 23-0=23, Resulting Numbers: [3, 23]
Generated Node #0,3,3: 25:[3, 23] Operation: 23-0=23
Moving to Node #0,3,0
Current State: 25:[23, 3], Operations: ['96-96=0', '3+0=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[23, 3], Operations: ['96-96=0', '3-0=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[3, 23], Operations: ['96-96=0', '23+0=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[3, 23], Operations: ['96-96=0', '23-0=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[96, 23, 32], Operations: ['96/3=32']
Exploring Operation: 32-23=9, Resulting Numbers: [96, 9]
Generated Node #0,1,0: 25:[96, 9] Operation: 32-23=9
Exploring Operation: 96/32=3, Resulting Numbers: [23, 3]
Generated Node #0,1,1: 25:[23, 3] Operation: 96/32=3
Exploring Operation: 96-23=73, Resulting Numbers: [32, 73]
Generated Node #0,1,2: 25:[32, 73] Operation: 96-23=73
Exploring Operation: 96-32=64, Resulting Numbers: [23, 64]
Generated Node #0,1,3: 25:[23, 64] Operation: 96-32=64
Moving to Node #0,1,1
Current State: 25:[23, 3], Operations: ['96/3=32', '96/32=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[23, 64], Operations: ['96/3=32', '96-32=64']
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,25 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[32, 73], Operations: ['96/3=32', '96-23=73']
Exploring Operation: 32+73=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 32*73=2336, Resulting Numbers: [2336]
2336,25 unequal: No Solution
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[96, 9], Operations: ['96/3=32', '32-23=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,25 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,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:[23, 96, 32], Operations: ['96/3=32']
Exploring Operation: 96/32=3, Resulting Numbers: [23, 3]
Generated Node #0,2,0: 25:[23, 3] Operation: 96/32=3
Exploring Operation: 32-23=9, Resulting Numbers: [96, 9]
Generated Node #0,2,1: 25:[96, 9] Operation: 32-23=9
Exploring Operation: 96-23=73, Resulting Numbers: [32, 73]
Generated Node #0,2,2: 25:[32, 73] Operation: 96-23=73
Exploring Operation: 96-32=64, Resulting Numbers: [23, 64]
Generated Node #0,2,3: 25:[23, 64] Operation: 96-32=64
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[23, 3], Operations: ['96/3=32', '96/32=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,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,2,3
Current State: 25:[23, 64], Operations: ['96/3=32', '96-32=64']
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,25 unequal: No Solution
Exploring Operation: 64-23=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,2,2
Current State: 25:[32, 73], Operations: ['96/3=32', '96-23=73']
Exploring Operation: 32*73=2336, Resulting Numbers: [2336]
2336,25 unequal: No Solution
Exploring Operation: 32+73=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 73-32=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,2,1
Current State: 25:[96, 9], Operations: ['96/3=32', '32-23=9']
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
37,
22,
7,
72
] | 91 | [
"37+22=59",
"72-59=13",
"7*13=91"
] | Current State: 91:[37, 22, 7, 72], Operations: []
Exploring Operation: 37+22=59, Resulting Numbers: [7, 72, 59]
Generated Node #2: [7, 72, 59] from Operation: 37+22=59
Current State: 91:[7, 72, 59], Operations: ['37+22=59']
Exploring Operation: 72-59=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 72-59=13
Current State: 91:[7, 13], Operations: ['37+22=59', '72-59=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[37, 22, 7, 72], Operations: []
Exploring Operation: 37+72=109, Resulting Numbers: [22, 7, 109]
Generated Node #0,0: 91:[22, 7, 109] Operation: 37+72=109
Exploring Operation: 37-22=15, Resulting Numbers: [7, 72, 15]
Generated Node #0,1: 91:[7, 72, 15] Operation: 37-22=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[7, 72, 15], Operations: ['37-22=15']
Exploring Operation: 7+72=79, Resulting Numbers: [15, 79]
Generated Node #0,1,0: 91:[15, 79] Operation: 7+72=79
Exploring Operation: 72+15=87, Resulting Numbers: [7, 87]
Generated Node #0,1,1: 91:[7, 87] Operation: 72+15=87
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[7, 87], Operations: ['37-22=15', '72+15=87']
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,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:[15, 79], Operations: ['37-22=15', '7+72=79']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 15+79=94, Resulting Numbers: [94]
94,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:[22, 7, 109], Operations: ['37+72=109']
Exploring Operation: 22-7=15, Resulting Numbers: [109, 15]
Generated Node #0,0,0: 91:[109, 15] Operation: 22-7=15
Exploring Operation: 109-22=87, Resulting Numbers: [7, 87]
Generated Node #0,0,1: 91:[7, 87] Operation: 109-22=87
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[7, 87], Operations: ['37+72=109', '109-22=87']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[109, 15], Operations: ['37+72=109', '22-7=15']
Exploring Operation: 109-15=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 109+15=124, Resulting Numbers: [124]
124,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
36,
33,
38
] | 40 | [
"33-13=20",
"38-36=2",
"20*2=40"
] | Current State: 40:[13, 36, 33, 38], Operations: []
Exploring Operation: 33-13=20, Resulting Numbers: [36, 38, 20]
Generated Node #2: [36, 38, 20] from Operation: 33-13=20
Current State: 40:[36, 38, 20], Operations: ['33-13=20']
Exploring Operation: 38-36=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 38-36=2
Current State: 40:[20, 2], Operations: ['33-13=20', '38-36=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[13, 36, 33, 38], Operations: []
Exploring Operation: 33-13=20, Resulting Numbers: [36, 38, 20]
Generated Node #0,0: 40:[36, 38, 20] Operation: 33-13=20
Exploring Operation: 38-33=5, Resulting Numbers: [13, 36, 5]
Generated Node #0,1: 40:[13, 36, 5] Operation: 38-33=5
Exploring Operation: 36-33=3, Resulting Numbers: [13, 38, 3]
Generated Node #0,2: 40:[13, 38, 3] Operation: 36-33=3
Moving to Node #0,0
Current State: 40:[36, 38, 20], Operations: ['33-13=20']
Exploring Operation: 38-20=18, Resulting Numbers: [36, 18]
Generated Node #0,0,0: 40:[36, 18] Operation: 38-20=18
Exploring Operation: 38-36=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 40:[20, 2] Operation: 38-36=2
Exploring Operation: 36-20=16, Resulting Numbers: [38, 16]
Generated Node #0,0,2: 40:[38, 16] Operation: 36-20=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[20, 2], Operations: ['33-13=20', '38-36=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[13, 36, 33, 38], Operations: []
Exploring Operation: 33-13=20, Resulting Numbers: [36, 38, 20]
Generated Node #0,0: 40:[36, 38, 20] Operation: 33-13=20
Moving to Node #0,0
Current State: 40:[36, 38, 20], Operations: ['33-13=20']
Exploring Operation: 38-36=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 40:[20, 2] Operation: 38-36=2
Moving to Node #0,0,1
Current State: 40:[20, 2], Operations: ['33-13=20', '38-36=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
65,
3,
14,
7
] | 16 | [
"65-7=58",
"3*14=42",
"58-42=16"
] | Current State: 16:[65, 3, 14, 7], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [3, 14, 58]
Generated Node #2: [3, 14, 58] from Operation: 65-7=58
Current State: 16:[3, 14, 58], Operations: ['65-7=58']
Exploring Operation: 3*14=42, Resulting Numbers: [58, 42]
Generated Node #3: [58, 42] from Operation: 3*14=42
Current State: 16:[58, 42], Operations: ['65-7=58', '3*14=42']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[65, 3, 14, 7], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [65, 3, 2]
Generated Node #0,0: 16:[65, 3, 2] Operation: 14/7=2
Exploring Operation: 65-7=58, Resulting Numbers: [3, 14, 58]
Generated Node #0,1: 16:[3, 14, 58] Operation: 65-7=58
Exploring Operation: 65-3=62, Resulting Numbers: [14, 7, 62]
Generated Node #0,2: 16:[14, 7, 62] Operation: 65-3=62
Exploring Operation: 65-14=51, Resulting Numbers: [3, 7, 51]
Generated Node #0,3: 16:[3, 7, 51] Operation: 65-14=51
Exploring Operation: 3+14=17, Resulting Numbers: [65, 7, 17]
Generated Node #0,4: 16:[65, 7, 17] Operation: 3+14=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[3, 7, 51], Operations: ['65-14=51']
Exploring Operation: 51-7=44, Resulting Numbers: [3, 44]
Generated Node #0,3,0: 16:[3, 44] Operation: 51-7=44
Exploring Operation: 51/3=17, Resulting Numbers: [7, 17]
Generated Node #0,3,1: 16:[7, 17] Operation: 51/3=17
Exploring Operation: 7-3=4, Resulting Numbers: [51, 4]
Generated Node #0,3,2: 16:[51, 4] Operation: 7-3=4
Exploring Operation: 51-3=48, Resulting Numbers: [7, 48]
Generated Node #0,3,3: 16:[7, 48] Operation: 51-3=48
Exploring Operation: 3+7=10, Resulting Numbers: [51, 10]
Generated Node #0,3,4: 16:[51, 10] Operation: 3+7=10
Moving to Node #0,3,1
Current State: 16:[7, 17], Operations: ['65-14=51', '51/3=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,16 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[3, 44], Operations: ['65-14=51', '51-7=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[7, 48], Operations: ['65-14=51', '51-3=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[51, 4], Operations: ['65-14=51', '7-3=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,16 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[51, 10], Operations: ['65-14=51', '3+7=10']
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,16 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[3, 14, 58], Operations: ['65-7=58']
Exploring Operation: 58-14=44, Resulting Numbers: [3, 44]
Generated Node #0,1,0: 16:[3, 44] Operation: 58-14=44
Exploring Operation: 3+14=17, Resulting Numbers: [58, 17]
Generated Node #0,1,1: 16:[58, 17] Operation: 3+14=17
Exploring Operation: 3+58=61, Resulting Numbers: [14, 61]
Generated Node #0,1,2: 16:[14, 61] Operation: 3+58=61
Exploring Operation: 58-3=55, Resulting Numbers: [14, 55]
Generated Node #0,1,3: 16:[14, 55] Operation: 58-3=55
Exploring Operation: 14-3=11, Resulting Numbers: [58, 11]
Generated Node #0,1,4: 16:[58, 11] Operation: 14-3=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[3, 44], Operations: ['65-7=58', '58-14=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[14, 55], Operations: ['65-7=58', '58-3=55']
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,16 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[58, 17], Operations: ['65-7=58', '3+14=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,16 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 16:[58, 11], Operations: ['65-7=58', '14-3=11']
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,16 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[14, 61], Operations: ['65-7=58', '3+58=61']
Exploring Operation: 14*61=854, Resulting Numbers: [854]
854,16 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[14, 7, 62], Operations: ['65-3=62']
Exploring Operation: 14+7=21, Resulting Numbers: [62, 21]
Generated Node #0,2,0: 16:[62, 21] Operation: 14+7=21
Exploring Operation: 62-14=48, Resulting Numbers: [7, 48]
Generated Node #0,2,1: 16:[7, 48] Operation: 62-14=48
Exploring Operation: 62-7=55, Resulting Numbers: [14, 55]
Generated Node #0,2,2: 16:[14, 55] Operation: 62-7=55
Exploring Operation: 14/7=2, Resulting Numbers: [62, 2]
Generated Node #0,2,3: 16:[62, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [62, 7]
Generated Node #0,2,4: 16:[62, 7] Operation: 14-7=7
Moving to Node #0,2,1
Current State: 16:[7, 48], Operations: ['65-3=62', '62-14=48']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[14, 55], Operations: ['65-3=62', '62-7=55']
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,16 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[62, 2], Operations: ['65-3=62', '14/7=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,16 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[62, 7], Operations: ['65-3=62', '14-7=7']
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,16 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[62, 21], Operations: ['65-3=62', '14+7=21']
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,16 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,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
Current State: 16:[65, 3, 2], Operations: ['14/7=2']
Exploring Operation: 3-2=1, Resulting Numbers: [65, 1]
Generated Node #0,0,0: 16:[65, 1] Operation: 3-2=1
Exploring Operation: 3*2=6, Resulting Numbers: [65, 6]
Generated Node #0,0,1: 16:[65, 6] Operation: 3*2=6
Exploring Operation: 65-2=63, Resulting Numbers: [3, 63]
Generated Node #0,0,2: 16:[3, 63] Operation: 65-2=63
Exploring Operation: 65-3=62, Resulting Numbers: [2, 62]
Generated Node #0,0,3: 16:[2, 62] Operation: 65-3=62
Exploring Operation: 3+2=5, Resulting Numbers: [65, 5]
Generated Node #0,0,4: 16:[65, 5] Operation: 3+2=5
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 16:[2, 62], Operations: ['14/7=2', '65-3=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,16 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[3, 63], Operations: ['14/7=2', '65-2=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,16 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[65, 1], Operations: ['14/7=2', '3-2=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 16:[65, 5], Operations: ['14/7=2', '3+2=5']
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,16 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,16 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[65, 6], Operations: ['14/7=2', '3*2=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,16 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[65, 7, 17], Operations: ['3+14=17']
Exploring Operation: 65-7=58, Resulting Numbers: [17, 58]
Generated Node #0,4,0: 16:[17, 58] Operation: 65-7=58
Exploring Operation: 7+17=24, Resulting Numbers: [65, 24]
Generated Node #0,4,1: 16:[65, 24] Operation: 7+17=24
Exploring Operation: 65-17=48, Resulting Numbers: [7, 48]
Generated Node #0,4,2: 16:[7, 48] Operation: 65-17=48
Exploring Operation: 17-7=10, Resulting Numbers: [65, 10]
Generated Node #0,4,3: 16:[65, 10] Operation: 17-7=10
Exploring Operation: 65+7=72, Resulting Numbers: [17, 72]
Generated Node #0,4,4: 16:[17, 72] Operation: 65+7=72
Moving to Node #0,4,2
Current State: 16:[7, 48], Operations: ['3+14=17', '65-17=48']
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,16 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[17, 58], Operations: ['3+14=17', '65-7=58']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,16 unequal: No Solution
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[65, 10], Operations: ['3+14=17', '17-7=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,16 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[65, 24], Operations: ['3+14=17', '7+17=24']
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,16 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[17, 72], Operations: ['3+14=17', '65+7=72']
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 17*72=1224, Resulting Numbers: [1224]
1224,16 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 |
[
17,
63,
8,
71
] | 52 | [
"17+71=88",
"88/8=11",
"63-11=52"
] | Current State: 52:[17, 63, 8, 71], Operations: []
Exploring Operation: 17+71=88, Resulting Numbers: [63, 8, 88]
Generated Node #2: [63, 8, 88] from Operation: 17+71=88
Current State: 52:[63, 8, 88], Operations: ['17+71=88']
Exploring Operation: 88/8=11, Resulting Numbers: [63, 11]
Generated Node #3: [63, 11] from Operation: 88/8=11
Current State: 52:[63, 11], Operations: ['17+71=88', '88/8=11']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[17, 63, 8, 71], Operations: []
Exploring Operation: 63-8=55, Resulting Numbers: [17, 71, 55]
Generated Node #0,0: 52:[17, 71, 55] Operation: 63-8=55
Exploring Operation: 71-17=54, Resulting Numbers: [63, 8, 54]
Generated Node #0,1: 52:[63, 8, 54] Operation: 71-17=54
Exploring Operation: 71-63=8, Resulting Numbers: [17, 8, 8]
Generated Node #0,2: 52:[17, 8, 8] Operation: 71-63=8
Exploring Operation: 71-8=63, Resulting Numbers: [17, 63, 63]
Generated Node #0,3: 52:[17, 63, 63] Operation: 71-8=63
Exploring Operation: 63-17=46, Resulting Numbers: [8, 71, 46]
Generated Node #0,4: 52:[8, 71, 46] Operation: 63-17=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[17, 8, 8], Operations: ['71-63=8']
Exploring Operation: 8-8=0, Resulting Numbers: [17, 0]
Generated Node #0,2,0: 52:[17, 0] Operation: 8-8=0
Exploring Operation: 17+8=25, Resulting Numbers: [8, 25]
Generated Node #0,2,1: 52:[8, 25] Operation: 17+8=25
Exploring Operation: 8/8=1, Resulting Numbers: [17, 1]
Generated Node #0,2,2: 52:[17, 1] Operation: 8/8=1
Exploring Operation: 17+8=25, Resulting Numbers: [8, 25]
Generated Node #0,2,3: 52:[8, 25] Operation: 17+8=25
Exploring Operation: 8+8=16, Resulting Numbers: [17, 16]
Generated Node #0,2,4: 52:[17, 16] Operation: 8+8=16
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[8, 25], Operations: ['71-63=8', '17+8=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,52 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[17, 1], Operations: ['71-63=8', '8/8=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[8, 25], Operations: ['71-63=8', '17+8=25']
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,52 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[17, 0], Operations: ['71-63=8', '8-8=0']
Exploring Operation: 17*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 17-0=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 17+0=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 52:[17, 16], Operations: ['71-63=8', '8+8=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[63, 8, 54], Operations: ['71-17=54']
Exploring Operation: 54-8=46, Resulting Numbers: [63, 46]
Generated Node #0,1,0: 52:[63, 46] Operation: 54-8=46
Exploring Operation: 8+54=62, Resulting Numbers: [63, 62]
Generated Node #0,1,1: 52:[63, 62] Operation: 8+54=62
Exploring Operation: 63+8=71, Resulting Numbers: [54, 71]
Generated Node #0,1,2: 52:[54, 71] Operation: 63+8=71
Exploring Operation: 63-8=55, Resulting Numbers: [54, 55]
Generated Node #0,1,3: 52:[54, 55] Operation: 63-8=55
Exploring Operation: 63-54=9, Resulting Numbers: [8, 9]
Generated Node #0,1,4: 52:[8, 9] Operation: 63-54=9
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[54, 55], Operations: ['71-17=54', '63-8=55']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,52 unequal: No Solution
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 52:[8, 9], Operations: ['71-17=54', '63-54=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[63, 46], Operations: ['71-17=54', '54-8=46']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[63, 62], Operations: ['71-17=54', '8+54=62']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 63*62=3906, Resulting Numbers: [3906]
3906,52 unequal: No Solution
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[54, 71], Operations: ['71-17=54', '63+8=71']
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,52 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[17, 71, 55], Operations: ['63-8=55']
Exploring Operation: 17+71=88, Resulting Numbers: [55, 88]
Generated Node #0,0,0: 52:[55, 88] Operation: 17+71=88
Exploring Operation: 55-17=38, Resulting Numbers: [71, 38]
Generated Node #0,0,1: 52:[71, 38] Operation: 55-17=38
Exploring Operation: 71-55=16, Resulting Numbers: [17, 16]
Generated Node #0,0,2: 52:[17, 16] Operation: 71-55=16
Exploring Operation: 71-17=54, Resulting Numbers: [55, 54]
Generated Node #0,0,3: 52:[55, 54] Operation: 71-17=54
Exploring Operation: 17+55=72, Resulting Numbers: [71, 72]
Generated Node #0,0,4: 52:[71, 72] Operation: 17+55=72
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[55, 54], Operations: ['63-8=55', '71-17=54']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,52 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[17, 16], Operations: ['63-8=55', '71-55=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[71, 38], Operations: ['63-8=55', '55-17=38']
Exploring Operation: 71+38=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 71*38=2698, Resulting Numbers: [2698]
2698,52 unequal: No Solution
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[55, 88], Operations: ['63-8=55', '17+71=88']
Exploring Operation: 55*88=4840, Resulting Numbers: [4840]
4840,52 unequal: No Solution
Exploring Operation: 55+88=143, Resulting Numbers: [143]
143,52 unequal: No Solution
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 52:[71, 72], Operations: ['63-8=55', '17+55=72']
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,52 unequal: No Solution
Exploring Operation: 71*72=5112, Resulting Numbers: [5112]
5112,52 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[17, 63, 63], Operations: ['71-8=63']
Exploring Operation: 63-17=46, Resulting Numbers: [63, 46]
Generated Node #0,3,0: 52:[63, 46] Operation: 63-17=46
Exploring Operation: 63-17=46, Resulting Numbers: [63, 46]
Generated Node #0,3,1: 52:[63, 46] Operation: 63-17=46
Exploring Operation: 63/63=1, Resulting Numbers: [17, 1]
Generated Node #0,3,2: 52:[17, 1] Operation: 63/63=1
Exploring Operation: 17+63=80, Resulting Numbers: [63, 80]
Generated Node #0,3,3: 52:[63, 80] Operation: 17+63=80
Exploring Operation: 63-63=0, Resulting Numbers: [17, 0]
Generated Node #0,3,4: 52:[17, 0] Operation: 63-63=0
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 52:[17, 1], Operations: ['71-8=63', '63/63=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 52:[17, 0], Operations: ['71-8=63', '63-63=0']
Exploring Operation: 17-0=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 17+0=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 17*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[63, 46], Operations: ['71-8=63', '63-17=46']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,52 unequal: No Solution
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 52:[63, 46], Operations: ['71-8=63', '63-17=46']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[63, 80], Operations: ['71-8=63', '17+63=80']
Exploring Operation: 63+80=143, Resulting Numbers: [143]
143,52 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 63*80=5040, Resulting Numbers: [5040]
5040,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[8, 71, 46], Operations: ['63-17=46']
Exploring Operation: 71-8=63, Resulting Numbers: [46, 63]
Generated Node #0,4,0: 52:[46, 63] Operation: 71-8=63
Exploring Operation: 46-8=38, Resulting Numbers: [71, 38]
Generated Node #0,4,1: 52:[71, 38] Operation: 46-8=38
Exploring Operation: 71-46=25, Resulting Numbers: [8, 25]
Generated Node #0,4,2: 52:[8, 25] Operation: 71-46=25
Exploring Operation: 8+71=79, Resulting Numbers: [46, 79]
Generated Node #0,4,3: 52:[46, 79] Operation: 8+71=79
Exploring Operation: 8+46=54, Resulting Numbers: [71, 54]
Generated Node #0,4,4: 52:[71, 54] Operation: 8+46=54
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 52:[8, 25], Operations: ['63-17=46', '71-46=25']
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,52 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 52:[46, 63], Operations: ['63-17=46', '71-8=63']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 52:[71, 54], Operations: ['63-17=46', '8+46=54']
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,52 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,52 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 52:[71, 38], Operations: ['63-17=46', '46-8=38']
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 71*38=2698, Resulting Numbers: [2698]
2698,52 unequal: No Solution
Exploring Operation: 71+38=109, Resulting Numbers: [109]
109,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 52:[46, 79], Operations: ['63-17=46', '8+71=79']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 46*79=3634, Resulting Numbers: [3634]
3634,52 unequal: No Solution
Exploring Operation: 46+79=125, Resulting Numbers: [125]
125,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
35,
45,
60
] | 12 | [
"35+45=80",
"9*80=720",
"720/60=12"
] | Current State: 12:[9, 35, 45, 60], Operations: []
Exploring Operation: 35+45=80, Resulting Numbers: [9, 60, 80]
Generated Node #2: [9, 60, 80] from Operation: 35+45=80
Current State: 12:[9, 60, 80], Operations: ['35+45=80']
Exploring Operation: 9*80=720, Resulting Numbers: [60, 720]
Generated Node #3: [60, 720] from Operation: 9*80=720
Current State: 12:[60, 720], Operations: ['35+45=80', '9*80=720']
Exploring Operation: 720/60=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[9, 35, 45, 60], Operations: []
Exploring Operation: 60-35=25, Resulting Numbers: [9, 45, 25]
Generated Node #0,0: 12:[9, 45, 25] Operation: 60-35=25
Exploring Operation: 60-45=15, Resulting Numbers: [9, 35, 15]
Generated Node #0,1: 12:[9, 35, 15] Operation: 60-45=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[9, 35, 15], Operations: ['60-45=15']
Exploring Operation: 35-9=26, Resulting Numbers: [15, 26]
Generated Node #0,1,0: 12:[15, 26] Operation: 35-9=26
Exploring Operation: 35-15=20, Resulting Numbers: [9, 20]
Generated Node #0,1,1: 12:[9, 20] Operation: 35-15=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[9, 20], Operations: ['60-45=15', '35-15=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[15, 26], Operations: ['60-45=15', '35-9=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[9, 45, 25], Operations: ['60-35=25']
Exploring Operation: 45-25=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 12:[9, 20] Operation: 45-25=20
Exploring Operation: 45/9=5, Resulting Numbers: [25, 5]
Generated Node #0,0,1: 12:[25, 5] Operation: 45/9=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[9, 20], Operations: ['60-35=25', '45-25=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[25, 5], Operations: ['60-35=25', '45/9=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
26,
1,
53
] | 100 | [
"57-53=4",
"26-1=25",
"4*25=100"
] | Current State: 100:[57, 26, 1, 53], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [26, 1, 4]
Generated Node #2: [26, 1, 4] from Operation: 57-53=4
Current State: 100:[26, 1, 4], Operations: ['57-53=4']
Exploring Operation: 26-1=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 26-1=25
Current State: 100:[4, 25], Operations: ['57-53=4', '26-1=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[57, 26, 1, 53], Operations: []
Exploring Operation: 57-26=31, Resulting Numbers: [1, 53, 31]
Generated Node #0,0: 100:[1, 53, 31] Operation: 57-26=31
Exploring Operation: 57-1=56, Resulting Numbers: [26, 53, 56]
Generated Node #0,1: 100:[26, 53, 56] Operation: 57-1=56
Exploring Operation: 57-53=4, Resulting Numbers: [26, 1, 4]
Generated Node #0,2: 100:[26, 1, 4] Operation: 57-53=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[26, 1, 4], Operations: ['57-53=4']
Exploring Operation: 26/1=26, Resulting Numbers: [4, 26]
Generated Node #0,2,0: 100:[4, 26] Operation: 26/1=26
Exploring Operation: 26*1=26, Resulting Numbers: [4, 26]
Generated Node #0,2,1: 100:[4, 26] Operation: 26*1=26
Exploring Operation: 26-1=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 100:[4, 25] Operation: 26-1=25
Moving to Node #0,2,2
Current State: 100:[4, 25], Operations: ['57-53=4', '26-1=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[57, 26, 1, 53], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [26, 1, 4]
Generated Node #0,2: 100:[26, 1, 4] Operation: 57-53=4
Moving to Node #0,2
Current State: 100:[26, 1, 4], Operations: ['57-53=4']
Exploring Operation: 26-1=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 100:[4, 25] Operation: 26-1=25
Moving to Node #0,2,2
Current State: 100:[4, 25], Operations: ['57-53=4', '26-1=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
6,
20,
25,
84
] | 70 | [
"84/6=14",
"25-20=5",
"14*5=70"
] | Current State: 70:[6, 20, 25, 84], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [20, 25, 14]
Generated Node #2: [20, 25, 14] from Operation: 84/6=14
Current State: 70:[20, 25, 14], Operations: ['84/6=14']
Exploring Operation: 25-20=5, Resulting Numbers: [14, 5]
Generated Node #3: [14, 5] from Operation: 25-20=5
Current State: 70:[14, 5], Operations: ['84/6=14', '25-20=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[6, 20, 25, 84], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [6, 20, 59]
Generated Node #0,0: 70:[6, 20, 59] Operation: 84-25=59
Exploring Operation: 84/6=14, Resulting Numbers: [20, 25, 14]
Generated Node #0,1: 70:[20, 25, 14] Operation: 84/6=14
Exploring Operation: 25-20=5, Resulting Numbers: [6, 84, 5]
Generated Node #0,2: 70:[6, 84, 5] Operation: 25-20=5
Exploring Operation: 84-20=64, Resulting Numbers: [6, 25, 64]
Generated Node #0,3: 70:[6, 25, 64] Operation: 84-20=64
Exploring Operation: 20-6=14, Resulting Numbers: [25, 84, 14]
Generated Node #0,4: 70:[25, 84, 14] Operation: 20-6=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[6, 84, 5], Operations: ['25-20=5']
Exploring Operation: 84-5=79, Resulting Numbers: [6, 79]
Generated Node #0,2,0: 70:[6, 79] Operation: 84-5=79
Exploring Operation: 6-5=1, Resulting Numbers: [84, 1]
Generated Node #0,2,1: 70:[84, 1] Operation: 6-5=1
Exploring Operation: 84/6=14, Resulting Numbers: [5, 14]
Generated Node #0,2,2: 70:[5, 14] Operation: 84/6=14
Exploring Operation: 6+5=11, Resulting Numbers: [84, 11]
Generated Node #0,2,3: 70:[84, 11] Operation: 6+5=11
Exploring Operation: 84-6=78, Resulting Numbers: [5, 78]
Generated Node #0,2,4: 70:[5, 78] Operation: 84-6=78
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[5, 14], Operations: ['25-20=5', '84/6=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[6, 20, 25, 84], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [6, 84, 5]
Generated Node #0,2: 70:[6, 84, 5] Operation: 25-20=5
Moving to Node #0,2
Current State: 70:[6, 84, 5], Operations: ['25-20=5']
Exploring Operation: 84/6=14, Resulting Numbers: [5, 14]
Generated Node #0,2,2: 70:[5, 14] Operation: 84/6=14
Moving to Node #0,2,2
Current State: 70:[5, 14], Operations: ['25-20=5', '84/6=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
91,
97,
93,
43
] | 70 | [
"93-91=2",
"97+43=140",
"140/2=70"
] | Current State: 70:[91, 97, 93, 43], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [97, 43, 2]
Generated Node #2: [97, 43, 2] from Operation: 93-91=2
Current State: 70:[97, 43, 2], Operations: ['93-91=2']
Exploring Operation: 97+43=140, Resulting Numbers: [2, 140]
Generated Node #3: [2, 140] from Operation: 97+43=140
Current State: 70:[2, 140], Operations: ['93-91=2', '97+43=140']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[91, 97, 93, 43], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [93, 43, 6]
Generated Node #0,0: 70:[93, 43, 6] Operation: 97-91=6
Exploring Operation: 97-93=4, Resulting Numbers: [91, 43, 4]
Generated Node #0,1: 70:[91, 43, 4] Operation: 97-93=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[91, 43, 4], Operations: ['97-93=4']
Exploring Operation: 91-4=87, Resulting Numbers: [43, 87]
Generated Node #0,1,0: 70:[43, 87] Operation: 91-4=87
Exploring Operation: 91-43=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 70:[4, 48] Operation: 91-43=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[4, 48], Operations: ['97-93=4', '91-43=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[43, 87], Operations: ['97-93=4', '91-4=87']
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,70 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[93, 43, 6], Operations: ['97-91=6']
Exploring Operation: 93-6=87, Resulting Numbers: [43, 87]
Generated Node #0,0,0: 70:[43, 87] Operation: 93-6=87
Exploring Operation: 93-43=50, Resulting Numbers: [6, 50]
Generated Node #0,0,1: 70:[6, 50] Operation: 93-43=50
Moving to Node #0,0,1
Current State: 70:[6, 50], Operations: ['97-91=6', '93-43=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[43, 87], Operations: ['97-91=6', '93-6=87']
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,70 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,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 |
[
36,
3,
44,
40
] | 40 | [
"36+44=80",
"3*40=120",
"120-80=40"
] | Current State: 40:[36, 3, 44, 40], Operations: []
Exploring Operation: 36+44=80, Resulting Numbers: [3, 40, 80]
Generated Node #2: [3, 40, 80] from Operation: 36+44=80
Current State: 40:[3, 40, 80], Operations: ['36+44=80']
Exploring Operation: 3*40=120, Resulting Numbers: [80, 120]
Generated Node #3: [80, 120] from Operation: 3*40=120
Current State: 40:[80, 120], Operations: ['36+44=80', '3*40=120']
Exploring Operation: 120-80=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[36, 3, 44, 40], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [3, 40, 8]
Generated Node #0,0: 40:[3, 40, 8] Operation: 44-36=8
Exploring Operation: 44-3=41, Resulting Numbers: [36, 40, 41]
Generated Node #0,1: 40:[36, 40, 41] Operation: 44-3=41
Exploring Operation: 36+3=39, Resulting Numbers: [44, 40, 39]
Generated Node #0,2: 40:[44, 40, 39] Operation: 36+3=39
Exploring Operation: 40-36=4, Resulting Numbers: [3, 44, 4]
Generated Node #0,3: 40:[3, 44, 4] Operation: 40-36=4
Moving to Node #0,0
Current State: 40:[3, 40, 8], Operations: ['44-36=8']
Exploring Operation: 40/8=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 40:[3, 5] Operation: 40/8=5
Exploring Operation: 3+40=43, Resulting Numbers: [8, 43]
Generated Node #0,0,1: 40:[8, 43] Operation: 3+40=43
Exploring Operation: 3+8=11, Resulting Numbers: [40, 11]
Generated Node #0,0,2: 40:[40, 11] Operation: 3+8=11
Exploring Operation: 8-3=5, Resulting Numbers: [40, 5]
Generated Node #0,0,3: 40:[40, 5] Operation: 8-3=5
Moving to Node #0,2
Current State: 40:[44, 40, 39], Operations: ['36+3=39']
Exploring Operation: 44-39=5, Resulting Numbers: [40, 5]
Generated Node #0,2,0: 40:[40, 5] Operation: 44-39=5
Exploring Operation: 40-39=1, Resulting Numbers: [44, 1]
Generated Node #0,2,1: 40:[44, 1] Operation: 40-39=1
Exploring Operation: 44-40=4, Resulting Numbers: [39, 4]
Generated Node #0,2,2: 40:[39, 4] Operation: 44-40=4
Exploring Operation: 44+39=83, Resulting Numbers: [40, 83]
Generated Node #0,2,3: 40:[40, 83] Operation: 44+39=83
Moving to Node #0,1
Current State: 40:[36, 40, 41], Operations: ['44-3=41']
Exploring Operation: 36+40=76, Resulting Numbers: [41, 76]
Generated Node #0,1,0: 40:[41, 76] Operation: 36+40=76
Exploring Operation: 41-40=1, Resulting Numbers: [36, 1]
Generated Node #0,1,1: 40:[36, 1] Operation: 41-40=1
Exploring Operation: 41-36=5, Resulting Numbers: [40, 5]
Generated Node #0,1,2: 40:[40, 5] Operation: 41-36=5
Exploring Operation: 40-36=4, Resulting Numbers: [41, 4]
Generated Node #0,1,3: 40:[41, 4] Operation: 40-36=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[40, 5], Operations: ['44-3=41', '41-36=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,40 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[41, 4], Operations: ['44-3=41', '40-36=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[36, 1], Operations: ['44-3=41', '41-40=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[41, 76], Operations: ['44-3=41', '36+40=76']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 41+76=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 41*76=3116, Resulting Numbers: [3116]
3116,40 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: 40:[3, 44, 4], Operations: ['40-36=4']
Exploring Operation: 44/4=11, Resulting Numbers: [3, 11]
Generated Node #0,3,0: 40:[3, 11] Operation: 44/4=11
Exploring Operation: 3+4=7, Resulting Numbers: [44, 7]
Generated Node #0,3,1: 40:[44, 7] Operation: 3+4=7
Exploring Operation: 44-3=41, Resulting Numbers: [4, 41]
Generated Node #0,3,2: 40:[4, 41] Operation: 44-3=41
Exploring Operation: 44-4=40, Resulting Numbers: [3, 40]
Generated Node #0,3,3: 40:[3, 40] Operation: 44-4=40
Moving to Node #0,0,3
Current State: 40:[40, 5], Operations: ['44-36=8', '8-3=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,40 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[40, 5], Operations: ['36+3=39', '44-39=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[40, 11], Operations: ['44-36=8', '3+8=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,40 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[39, 4], Operations: ['36+3=39', '44-40=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,40 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[3, 5], Operations: ['44-36=8', '40/8=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[3, 40], Operations: ['40-36=4', '44-4=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,40 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[4, 41], Operations: ['40-36=4', '44-3=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,40 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[3, 11], Operations: ['40-36=4', '44/4=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[8, 43], Operations: ['44-36=8', '3+40=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[44, 7], Operations: ['40-36=4', '3+4=7']
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[44, 1], Operations: ['36+3=39', '40-39=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[40, 83], Operations: ['36+3=39', '44+39=83']
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 40+83=123, Resulting Numbers: [123]
123,40 unequal: No Solution
Exploring Operation: 40*83=3320, Resulting Numbers: [3320]
3320,40 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
37,
10,
95
] | 76 | [
"37-8=29",
"10+95=105",
"105-29=76"
] | Current State: 76:[8, 37, 10, 95], Operations: []
Exploring Operation: 37-8=29, Resulting Numbers: [10, 95, 29]
Generated Node #2: [10, 95, 29] from Operation: 37-8=29
Current State: 76:[10, 95, 29], Operations: ['37-8=29']
Exploring Operation: 10+95=105, Resulting Numbers: [29, 105]
Generated Node #3: [29, 105] from Operation: 10+95=105
Current State: 76:[29, 105], Operations: ['37-8=29', '10+95=105']
Exploring Operation: 105-29=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[8, 37, 10, 95], Operations: []
Exploring Operation: 95-10=85, Resulting Numbers: [8, 37, 85]
Generated Node #0,0: 76:[8, 37, 85] Operation: 95-10=85
Exploring Operation: 95-8=87, Resulting Numbers: [37, 10, 87]
Generated Node #0,1: 76:[37, 10, 87] Operation: 95-8=87
Exploring Operation: 10-8=2, Resulting Numbers: [37, 95, 2]
Generated Node #0,2: 76:[37, 95, 2] Operation: 10-8=2
Moving to Node #0,0
Current State: 76:[8, 37, 85], Operations: ['95-10=85']
Exploring Operation: 8+37=45, Resulting Numbers: [85, 45]
Generated Node #0,0,0: 76:[85, 45] Operation: 8+37=45
Exploring Operation: 85-8=77, Resulting Numbers: [37, 77]
Generated Node #0,0,1: 76:[37, 77] Operation: 85-8=77
Exploring Operation: 85-37=48, Resulting Numbers: [8, 48]
Generated Node #0,0,2: 76:[8, 48] Operation: 85-37=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[37, 77], Operations: ['95-10=85', '85-8=77']
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,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,0,2
Current State: 76:[8, 48], Operations: ['95-10=85', '85-37=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,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,0,0
Current State: 76:[85, 45], Operations: ['95-10=85', '8+37=45']
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,76 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,76 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: 76:[37, 10, 87], Operations: ['95-8=87']
Exploring Operation: 87-37=50, Resulting Numbers: [10, 50]
Generated Node #0,1,0: 76:[10, 50] Operation: 87-37=50
Exploring Operation: 37-10=27, Resulting Numbers: [87, 27]
Generated Node #0,1,1: 76:[87, 27] Operation: 37-10=27
Exploring Operation: 87-10=77, Resulting Numbers: [37, 77]
Generated Node #0,1,2: 76:[37, 77] Operation: 87-10=77
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[37, 77], Operations: ['95-8=87', '87-10=77']
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,76 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[10, 50], Operations: ['95-8=87', '87-37=50']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[87, 27], Operations: ['95-8=87', '37-10=27']
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,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:[37, 95, 2], Operations: ['10-8=2']
Exploring Operation: 37+2=39, Resulting Numbers: [95, 39]
Generated Node #0,2,0: 76:[95, 39] Operation: 37+2=39
Exploring Operation: 95-37=58, Resulting Numbers: [2, 58]
Generated Node #0,2,1: 76:[2, 58] Operation: 95-37=58
Exploring Operation: 95-2=93, Resulting Numbers: [37, 93]
Generated Node #0,2,2: 76:[37, 93] Operation: 95-2=93
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[2, 58], Operations: ['10-8=2', '95-37=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,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:[37, 93], Operations: ['10-8=2', '95-2=93']
Exploring Operation: 37*93=3441, Resulting Numbers: [3441]
3441,76 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Exploring Operation: 37+93=130, Resulting Numbers: [130]
130,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:[95, 39], Operations: ['10-8=2', '37+2=39']
Exploring Operation: 95+39=134, Resulting Numbers: [134]
134,76 unequal: No Solution
Exploring Operation: 95*39=3705, Resulting Numbers: [3705]
3705,76 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
99,
39,
50
] | 21 | [
"50-39=11",
"99/11=9",
"30-9=21"
] | Current State: 21:[30, 99, 39, 50], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [30, 99, 11]
Generated Node #2: [30, 99, 11] from Operation: 50-39=11
Current State: 21:[30, 99, 11], Operations: ['50-39=11']
Exploring Operation: 99/11=9, Resulting Numbers: [30, 9]
Generated Node #3: [30, 9] from Operation: 99/11=9
Current State: 21:[30, 9], Operations: ['50-39=11', '99/11=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[30, 99, 39, 50], Operations: []
Exploring Operation: 99-50=49, Resulting Numbers: [30, 39, 49]
Generated Node #0,0: 21:[30, 39, 49] Operation: 99-50=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[30, 39, 49], Operations: ['99-50=49']
Exploring Operation: 49-39=10, Resulting Numbers: [30, 10]
Generated Node #0,0,0: 21:[30, 10] Operation: 49-39=10
Moving to Node #0,0,0
Current State: 21:[30, 10], Operations: ['99-50=49', '49-39=10']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
69,
9,
5,
36
] | 91 | [
"69-9=60",
"36-5=31",
"60+31=91"
] | Current State: 91:[69, 9, 5, 36], Operations: []
Exploring Operation: 69-9=60, Resulting Numbers: [5, 36, 60]
Generated Node #2: [5, 36, 60] from Operation: 69-9=60
Current State: 91:[5, 36, 60], Operations: ['69-9=60']
Exploring Operation: 36-5=31, Resulting Numbers: [60, 31]
Generated Node #3: [60, 31] from Operation: 36-5=31
Current State: 91:[60, 31], Operations: ['69-9=60', '36-5=31']
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[69, 9, 5, 36], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [69, 5, 4]
Generated Node #0,0: 91:[69, 5, 4] Operation: 36/9=4
Exploring Operation: 69+36=105, Resulting Numbers: [9, 5, 105]
Generated Node #0,1: 91:[9, 5, 105] Operation: 69+36=105
Exploring Operation: 69-36=33, Resulting Numbers: [9, 5, 33]
Generated Node #0,2: 91:[9, 5, 33] Operation: 69-36=33
Moving to Node #0,1
Current State: 91:[9, 5, 105], Operations: ['69+36=105']
Exploring Operation: 105-5=100, Resulting Numbers: [9, 100]
Generated Node #0,1,0: 91:[9, 100] Operation: 105-5=100
Exploring Operation: 105/5=21, Resulting Numbers: [9, 21]
Generated Node #0,1,1: 91:[9, 21] Operation: 105/5=21
Exploring Operation: 105-9=96, Resulting Numbers: [5, 96]
Generated Node #0,1,2: 91:[5, 96] Operation: 105-9=96
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[5, 96], Operations: ['69+36=105', '105-9=96']
Exploring Operation: 5+96=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 5*96=480, Resulting Numbers: [480]
480,91 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[69, 9, 5, 36], Operations: []
Exploring Operation: 69+36=105, Resulting Numbers: [9, 5, 105]
Generated Node #0,1: 91:[9, 5, 105] Operation: 69+36=105
Moving to Node #0,1
Current State: 91:[9, 5, 105], Operations: ['69+36=105']
Exploring Operation: 105-9=96, Resulting Numbers: [5, 96]
Generated Node #0,1,2: 91:[5, 96] Operation: 105-9=96
Moving to Node #0,1,2
Current State: 91:[5, 96], Operations: ['69+36=105', '105-9=96']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
63,
76,
97,
5
] | 37 | [
"63+76=139",
"97+5=102",
"139-102=37"
] | Current State: 37:[63, 76, 97, 5], Operations: []
Exploring Operation: 63+76=139, Resulting Numbers: [97, 5, 139]
Generated Node #2: [97, 5, 139] from Operation: 63+76=139
Current State: 37:[97, 5, 139], Operations: ['63+76=139']
Exploring Operation: 97+5=102, Resulting Numbers: [139, 102]
Generated Node #3: [139, 102] from Operation: 97+5=102
Current State: 37:[139, 102], Operations: ['63+76=139', '97+5=102']
Exploring Operation: 139-102=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[63, 76, 97, 5], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [76, 5, 34]
Generated Node #0,0: 37:[76, 5, 34] Operation: 97-63=34
Exploring Operation: 97-76=21, Resulting Numbers: [63, 5, 21]
Generated Node #0,1: 37:[63, 5, 21] Operation: 97-76=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[76, 5, 34], Operations: ['97-63=34']
Exploring Operation: 76-34=42, Resulting Numbers: [5, 42]
Generated Node #0,0,0: 37:[5, 42] Operation: 76-34=42
Exploring Operation: 76-5=71, Resulting Numbers: [34, 71]
Generated Node #0,0,1: 37:[34, 71] Operation: 76-5=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[5, 42], Operations: ['97-63=34', '76-34=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[63, 76, 97, 5], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [76, 5, 34]
Generated Node #0,0: 37:[76, 5, 34] Operation: 97-63=34
Moving to Node #0,0
Current State: 37:[76, 5, 34], Operations: ['97-63=34']
Exploring Operation: 76-34=42, Resulting Numbers: [5, 42]
Generated Node #0,0,0: 37:[5, 42] Operation: 76-34=42
Moving to Node #0,0,0
Current State: 37:[5, 42], Operations: ['97-63=34', '76-34=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
13,
71,
32,
2
] | 58 | [
"13+71=84",
"32+84=116",
"116/2=58"
] | Current State: 58:[13, 71, 32, 2], Operations: []
Exploring Operation: 13+71=84, Resulting Numbers: [32, 2, 84]
Generated Node #2: [32, 2, 84] from Operation: 13+71=84
Current State: 58:[32, 2, 84], Operations: ['13+71=84']
Exploring Operation: 32+84=116, Resulting Numbers: [2, 116]
Generated Node #3: [2, 116] from Operation: 32+84=116
Current State: 58:[2, 116], Operations: ['13+71=84', '32+84=116']
Exploring Operation: 116/2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[13, 71, 32, 2], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [71, 32, 26]
Generated Node #0,0: 58:[71, 32, 26] Operation: 13*2=26
Exploring Operation: 71-13=58, Resulting Numbers: [32, 2, 58]
Generated Node #0,1: 58:[32, 2, 58] Operation: 71-13=58
Exploring Operation: 71-32=39, Resulting Numbers: [13, 2, 39]
Generated Node #0,2: 58:[13, 2, 39] Operation: 71-32=39
Moving to Node #0,1
Current State: 58:[32, 2, 58], Operations: ['71-13=58']
Exploring Operation: 58/2=29, Resulting Numbers: [32, 29]
Generated Node #0,1,0: 58:[32, 29] Operation: 58/2=29
Exploring Operation: 58-32=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 58:[2, 26] Operation: 58-32=26
Exploring Operation: 32-2=30, Resulting Numbers: [58, 30]
Generated Node #0,1,2: 58:[58, 30] Operation: 32-2=30
Moving to Node #0,0
Current State: 58:[71, 32, 26], Operations: ['13*2=26']
Exploring Operation: 71-32=39, Resulting Numbers: [26, 39]
Generated Node #0,0,0: 58:[26, 39] Operation: 71-32=39
Exploring Operation: 71-26=45, Resulting Numbers: [32, 45]
Generated Node #0,0,1: 58:[32, 45] Operation: 71-26=45
Exploring Operation: 32+26=58, Resulting Numbers: [71, 58]
Generated Node #0,0,2: 58:[71, 58] Operation: 32+26=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[26, 39], Operations: ['13*2=26', '71-32=39']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,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,0,2
Current State: 58:[71, 58], Operations: ['13*2=26', '32+26=58']
Exploring Operation: 71+58=129, Resulting Numbers: [129]
129,58 unequal: No Solution
Exploring Operation: 71*58=4118, Resulting Numbers: [4118]
4118,58 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,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,0,1
Current State: 58:[32, 45], Operations: ['13*2=26', '71-26=45']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,58 unequal: No Solution
Exploring Operation: 32*45=1440, Resulting Numbers: [1440]
1440,58 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: 58:[13, 2, 39], Operations: ['71-32=39']
Exploring Operation: 39/13=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 58:[2, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [2, 26]
Generated Node #0,2,1: 58:[2, 26] Operation: 39-13=26
Exploring Operation: 13+39=52, Resulting Numbers: [2, 52]
Generated Node #0,2,2: 58:[2, 52] Operation: 13+39=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[2, 3], Operations: ['71-32=39', '39/13=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,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,2,1
Current State: 58:[2, 26], Operations: ['71-32=39', '39-13=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,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,2,2
Current State: 58:[2, 52], Operations: ['71-32=39', '13+39=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,58 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: 58:[58, 30], Operations: ['71-13=58', '32-2=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,58 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[32, 29], Operations: ['71-13=58', '58/2=29']
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,58 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[2, 26], Operations: ['71-13=58', '58-32=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,58 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
16,
8,
45
] | 46 | [
"25-16=9",
"45-8=37",
"9+37=46"
] | Current State: 46:[25, 16, 8, 45], Operations: []
Exploring Operation: 25-16=9, Resulting Numbers: [8, 45, 9]
Generated Node #2: [8, 45, 9] from Operation: 25-16=9
Current State: 46:[8, 45, 9], Operations: ['25-16=9']
Exploring Operation: 45-8=37, Resulting Numbers: [9, 37]
Generated Node #3: [9, 37] from Operation: 45-8=37
Current State: 46:[9, 37], Operations: ['25-16=9', '45-8=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[25, 16, 8, 45], Operations: []
Exploring Operation: 16+8=24, Resulting Numbers: [25, 45, 24]
Generated Node #0,0: 46:[25, 45, 24] Operation: 16+8=24
Exploring Operation: 25+16=41, Resulting Numbers: [8, 45, 41]
Generated Node #0,1: 46:[8, 45, 41] Operation: 25+16=41
Exploring Operation: 16-8=8, Resulting Numbers: [25, 45, 8]
Generated Node #0,2: 46:[25, 45, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [25, 45, 2]
Generated Node #0,3: 46:[25, 45, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[25, 45, 2], Operations: ['16/8=2']
Exploring Operation: 25+2=27, Resulting Numbers: [45, 27]
Generated Node #0,3,0: 46:[45, 27] Operation: 25+2=27
Exploring Operation: 45+2=47, Resulting Numbers: [25, 47]
Generated Node #0,3,1: 46:[25, 47] Operation: 45+2=47
Exploring Operation: 25-2=23, Resulting Numbers: [45, 23]
Generated Node #0,3,2: 46:[45, 23] Operation: 25-2=23
Exploring Operation: 45-25=20, Resulting Numbers: [2, 20]
Generated Node #0,3,3: 46:[2, 20] Operation: 45-25=20
Moving to Node #0,3,2
Current State: 46:[45, 23], Operations: ['16/8=2', '25-2=23']
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,46 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[2, 20], Operations: ['16/8=2', '45-25=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[25, 47], Operations: ['16/8=2', '45+2=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,46 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[45, 27], Operations: ['16/8=2', '25+2=27']
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,46 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,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
Current State: 46:[25, 45, 24], Operations: ['16+8=24']
Exploring Operation: 45-24=21, Resulting Numbers: [25, 21]
Generated Node #0,0,0: 46:[25, 21] Operation: 45-24=21
Exploring Operation: 25-24=1, Resulting Numbers: [45, 1]
Generated Node #0,0,1: 46:[45, 1] Operation: 25-24=1
Exploring Operation: 45-25=20, Resulting Numbers: [24, 20]
Generated Node #0,0,2: 46:[24, 20] Operation: 45-25=20
Exploring Operation: 25+24=49, Resulting Numbers: [45, 49]
Generated Node #0,0,3: 46:[45, 49] Operation: 25+24=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[45, 1], Operations: ['16+8=24', '25-24=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[25, 16, 8, 45], Operations: []
Exploring Operation: 16+8=24, Resulting Numbers: [25, 45, 24]
Generated Node #0,0: 46:[25, 45, 24] Operation: 16+8=24
Moving to Node #0,0
Current State: 46:[25, 45, 24], Operations: ['16+8=24']
Exploring Operation: 25-24=1, Resulting Numbers: [45, 1]
Generated Node #0,0,1: 46:[45, 1] Operation: 25-24=1
Moving to Node #0,0,1
Current State: 46:[45, 1], Operations: ['16+8=24', '25-24=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
51,
80,
34,
44
] | 59 | [
"44-34=10",
"80/10=8",
"51+8=59"
] | Current State: 59:[51, 80, 34, 44], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [51, 80, 10]
Generated Node #2: [51, 80, 10] from Operation: 44-34=10
Current State: 59:[51, 80, 10], Operations: ['44-34=10']
Exploring Operation: 80/10=8, Resulting Numbers: [51, 8]
Generated Node #3: [51, 8] from Operation: 80/10=8
Current State: 59:[51, 8], Operations: ['44-34=10', '80/10=8']
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[51, 80, 34, 44], Operations: []
Exploring Operation: 51+34=85, Resulting Numbers: [80, 44, 85]
Generated Node #0,0: 59:[80, 44, 85] Operation: 51+34=85
Exploring Operation: 80-44=36, Resulting Numbers: [51, 34, 36]
Generated Node #0,1: 59:[51, 34, 36] Operation: 80-44=36
Exploring Operation: 34+44=78, Resulting Numbers: [51, 80, 78]
Generated Node #0,2: 59:[51, 80, 78] Operation: 34+44=78
Exploring Operation: 80-34=46, Resulting Numbers: [51, 44, 46]
Generated Node #0,3: 59:[51, 44, 46] Operation: 80-34=46
Moving to Node #0,3
Current State: 59:[51, 44, 46], Operations: ['80-34=46']
Exploring Operation: 51+46=97, Resulting Numbers: [44, 97]
Generated Node #0,3,0: 59:[44, 97] Operation: 51+46=97
Exploring Operation: 44+46=90, Resulting Numbers: [51, 90]
Generated Node #0,3,1: 59:[51, 90] Operation: 44+46=90
Exploring Operation: 51+44=95, Resulting Numbers: [46, 95]
Generated Node #0,3,2: 59:[46, 95] Operation: 51+44=95
Exploring Operation: 51-44=7, Resulting Numbers: [46, 7]
Generated Node #0,3,3: 59:[46, 7] Operation: 51-44=7
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[51, 90], Operations: ['80-34=46', '44+46=90']
Exploring Operation: 51*90=4590, Resulting Numbers: [4590]
4590,59 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,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,3,2
Current State: 59:[46, 95], Operations: ['80-34=46', '51+44=95']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,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,3,0
Current State: 59:[44, 97], Operations: ['80-34=46', '51+46=97']
Exploring Operation: 44*97=4268, Resulting Numbers: [4268]
4268,59 unequal: No Solution
Exploring Operation: 44+97=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,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,3,3
Current State: 59:[46, 7], Operations: ['80-34=46', '51-44=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,59 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: 59:[51, 80, 78], Operations: ['34+44=78']
Exploring Operation: 80-51=29, Resulting Numbers: [78, 29]
Generated Node #0,2,0: 59:[78, 29] Operation: 80-51=29
Exploring Operation: 51+80=131, Resulting Numbers: [78, 131]
Generated Node #0,2,1: 59:[78, 131] Operation: 51+80=131
Exploring Operation: 78-51=27, Resulting Numbers: [80, 27]
Generated Node #0,2,2: 59:[80, 27] Operation: 78-51=27
Exploring Operation: 80-78=2, Resulting Numbers: [51, 2]
Generated Node #0,2,3: 59:[51, 2] Operation: 80-78=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[78, 29], Operations: ['34+44=78', '80-51=29']
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[80, 27], Operations: ['34+44=78', '78-51=27']
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 80*27=2160, Resulting Numbers: [2160]
2160,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[51, 2], Operations: ['34+44=78', '80-78=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[78, 131], Operations: ['34+44=78', '51+80=131']
Exploring Operation: 78+131=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 78*131=10218, Resulting Numbers: [10218]
10218,59 unequal: No Solution
Exploring Operation: 131-78=53, Resulting Numbers: [53]
53,59 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: 59:[51, 34, 36], Operations: ['80-44=36']
Exploring Operation: 34+36=70, Resulting Numbers: [51, 70]
Generated Node #0,1,0: 59:[51, 70] Operation: 34+36=70
Exploring Operation: 51-34=17, Resulting Numbers: [36, 17]
Generated Node #0,1,1: 59:[36, 17] Operation: 51-34=17
Exploring Operation: 51+36=87, Resulting Numbers: [34, 87]
Generated Node #0,1,2: 59:[34, 87] Operation: 51+36=87
Exploring Operation: 51+34=85, Resulting Numbers: [36, 85]
Generated Node #0,1,3: 59:[36, 85] Operation: 51+34=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[51, 70], Operations: ['80-44=36', '34+36=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,59 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,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,3
Current State: 59:[36, 85], Operations: ['80-44=36', '51+34=85']
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,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,2
Current State: 59:[34, 87], Operations: ['80-44=36', '51+36=87']
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,59 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,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:[36, 17], Operations: ['80-44=36', '51-34=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,59 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,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:[80, 44, 85], Operations: ['51+34=85']
Exploring Operation: 85-44=41, Resulting Numbers: [80, 41]
Generated Node #0,0,0: 59:[80, 41] Operation: 85-44=41
Exploring Operation: 85-80=5, Resulting Numbers: [44, 5]
Generated Node #0,0,1: 59:[44, 5] Operation: 85-80=5
Exploring Operation: 80-44=36, Resulting Numbers: [85, 36]
Generated Node #0,0,2: 59:[85, 36] Operation: 80-44=36
Exploring Operation: 80+44=124, Resulting Numbers: [85, 124]
Generated Node #0,0,3: 59:[85, 124] Operation: 80+44=124
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[80, 41], Operations: ['51+34=85', '85-44=41']
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,59 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,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,2
Current State: 59:[85, 36], Operations: ['51+34=85', '80-44=36']
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 85*36=3060, Resulting Numbers: [3060]
3060,59 unequal: No Solution
Exploring Operation: 85+36=121, Resulting Numbers: [121]
121,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:[44, 5], Operations: ['51+34=85', '85-80=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,59 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,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,3
Current State: 59:[85, 124], Operations: ['51+34=85', '80+44=124']
Exploring Operation: 85*124=10540, Resulting Numbers: [10540]
10540,59 unequal: No Solution
Exploring Operation: 85+124=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 124-85=39, Resulting Numbers: [39]
39,59 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 |
[
40,
23,
43,
86
] | 34 | [
"40-23=17",
"86/43=2",
"17*2=34"
] | Current State: 34:[40, 23, 43, 86], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [43, 86, 17]
Generated Node #2: [43, 86, 17] from Operation: 40-23=17
Current State: 34:[43, 86, 17], Operations: ['40-23=17']
Exploring Operation: 86/43=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 86/43=2
Current State: 34:[17, 2], Operations: ['40-23=17', '86/43=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[40, 23, 43, 86], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [40, 23, 2]
Generated Node #0,0: 34:[40, 23, 2] Operation: 86/43=2
Moving to Node #0,0
Current State: 34:[40, 23, 2], Operations: ['86/43=2']
Exploring Operation: 40-23=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 34:[2, 17] Operation: 40-23=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[2, 17], Operations: ['86/43=2', '40-23=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[40, 23, 43, 86], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [40, 23, 2]
Generated Node #0,0: 34:[40, 23, 2] Operation: 86/43=2
Moving to Node #0,0
Current State: 34:[40, 23, 2], Operations: ['86/43=2']
Exploring Operation: 40-23=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 34:[2, 17] Operation: 40-23=17
Moving to Node #0,0,0
Current State: 34:[2, 17], Operations: ['86/43=2', '40-23=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
24,
36,
78,
14
] | 47 | [
"78*14=1092",
"36+1092=1128",
"1128/24=47"
] | Current State: 47:[24, 36, 78, 14], Operations: []
Exploring Operation: 78*14=1092, Resulting Numbers: [24, 36, 1092]
Generated Node #2: [24, 36, 1092] from Operation: 78*14=1092
Current State: 47:[24, 36, 1092], Operations: ['78*14=1092']
Exploring Operation: 36+1092=1128, Resulting Numbers: [24, 1128]
Generated Node #3: [24, 1128] from Operation: 36+1092=1128
Current State: 47:[24, 1128], Operations: ['78*14=1092', '36+1092=1128']
Exploring Operation: 1128/24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[24, 36, 78, 14], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [24, 14, 42]
Generated Node #0,0: 47:[24, 14, 42] Operation: 78-36=42
Exploring Operation: 36+14=50, Resulting Numbers: [24, 78, 50]
Generated Node #0,1: 47:[24, 78, 50] Operation: 36+14=50
Exploring Operation: 78-14=64, Resulting Numbers: [24, 36, 64]
Generated Node #0,2: 47:[24, 36, 64] Operation: 78-14=64
Exploring Operation: 24+14=38, Resulting Numbers: [36, 78, 38]
Generated Node #0,3: 47:[36, 78, 38] Operation: 24+14=38
Exploring Operation: 78-24=54, Resulting Numbers: [36, 14, 54]
Generated Node #0,4: 47:[36, 14, 54] Operation: 78-24=54
Moving to Node #0,2
Current State: 47:[24, 36, 64], Operations: ['78-14=64']
Exploring Operation: 24+36=60, Resulting Numbers: [64, 60]
Generated Node #0,2,0: 47:[64, 60] Operation: 24+36=60
Exploring Operation: 64-24=40, Resulting Numbers: [36, 40]
Generated Node #0,2,1: 47:[36, 40] Operation: 64-24=40
Exploring Operation: 24+64=88, Resulting Numbers: [36, 88]
Generated Node #0,2,2: 47:[36, 88] Operation: 24+64=88
Exploring Operation: 64-36=28, Resulting Numbers: [24, 28]
Generated Node #0,2,3: 47:[24, 28] Operation: 64-36=28
Exploring Operation: 36-24=12, Resulting Numbers: [64, 12]
Generated Node #0,2,4: 47:[64, 12] Operation: 36-24=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[36, 40], Operations: ['78-14=64', '64-24=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,47 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[64, 60], Operations: ['78-14=64', '24+36=60']
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,47 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[24, 28], Operations: ['78-14=64', '64-36=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[36, 88], Operations: ['78-14=64', '24+64=88']
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,47 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 47:[64, 12], Operations: ['78-14=64', '36-24=12']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,47 unequal: No Solution
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,47 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: 47:[36, 14, 54], Operations: ['78-24=54']
Exploring Operation: 54-36=18, Resulting Numbers: [14, 18]
Generated Node #0,4,0: 47:[14, 18] Operation: 54-36=18
Exploring Operation: 14+54=68, Resulting Numbers: [36, 68]
Generated Node #0,4,1: 47:[36, 68] Operation: 14+54=68
Exploring Operation: 54-14=40, Resulting Numbers: [36, 40]
Generated Node #0,4,2: 47:[36, 40] Operation: 54-14=40
Exploring Operation: 36-14=22, Resulting Numbers: [54, 22]
Generated Node #0,4,3: 47:[54, 22] Operation: 36-14=22
Exploring Operation: 36+14=50, Resulting Numbers: [54, 50]
Generated Node #0,4,4: 47:[54, 50] Operation: 36+14=50
Moving to Node #0,3
Current State: 47:[36, 78, 38], Operations: ['24+14=38']
Exploring Operation: 38-36=2, Resulting Numbers: [78, 2]
Generated Node #0,3,0: 47:[78, 2] Operation: 38-36=2
Exploring Operation: 36+38=74, Resulting Numbers: [78, 74]
Generated Node #0,3,1: 47:[78, 74] Operation: 36+38=74
Exploring Operation: 36+78=114, Resulting Numbers: [38, 114]
Generated Node #0,3,2: 47:[38, 114] Operation: 36+78=114
Exploring Operation: 78-38=40, Resulting Numbers: [36, 40]
Generated Node #0,3,3: 47:[36, 40] Operation: 78-38=40
Exploring Operation: 78-36=42, Resulting Numbers: [38, 42]
Generated Node #0,3,4: 47:[38, 42] Operation: 78-36=42
Moving to Node #0,1
Current State: 47:[24, 78, 50], Operations: ['36+14=50']
Exploring Operation: 24+78=102, Resulting Numbers: [50, 102]
Generated Node #0,1,0: 47:[50, 102] Operation: 24+78=102
Exploring Operation: 24+50=74, Resulting Numbers: [78, 74]
Generated Node #0,1,1: 47:[78, 74] Operation: 24+50=74
Exploring Operation: 78-24=54, Resulting Numbers: [50, 54]
Generated Node #0,1,2: 47:[50, 54] Operation: 78-24=54
Exploring Operation: 78-50=28, Resulting Numbers: [24, 28]
Generated Node #0,1,3: 47:[24, 28] Operation: 78-50=28
Exploring Operation: 50-24=26, Resulting Numbers: [78, 26]
Generated Node #0,1,4: 47:[78, 26] Operation: 50-24=26
Moving to Node #0,0
Current State: 47:[24, 14, 42], Operations: ['78-36=42']
Exploring Operation: 24+14=38, Resulting Numbers: [42, 38]
Generated Node #0,0,0: 47:[42, 38] Operation: 24+14=38
Exploring Operation: 14+42=56, Resulting Numbers: [24, 56]
Generated Node #0,0,1: 47:[24, 56] Operation: 14+42=56
Exploring Operation: 24-14=10, Resulting Numbers: [42, 10]
Generated Node #0,0,2: 47:[42, 10] Operation: 24-14=10
Exploring Operation: 24+42=66, Resulting Numbers: [14, 66]
Generated Node #0,0,3: 47:[14, 66] Operation: 24+42=66
Exploring Operation: 42-14=28, Resulting Numbers: [24, 28]
Generated Node #0,0,4: 47:[24, 28] Operation: 42-14=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[42, 38], Operations: ['78-36=42', '24+14=38']
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,47 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[24, 56], Operations: ['78-36=42', '14+42=56']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[42, 10], Operations: ['78-36=42', '24-14=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,47 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 47:[24, 28], Operations: ['78-36=42', '42-14=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[14, 66], Operations: ['78-36=42', '24+42=66']
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,47 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 47:[54, 50], Operations: ['78-24=54', '36+14=50']
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,47 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[50, 54], Operations: ['36+14=50', '78-24=54']
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,47 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[38, 42], Operations: ['24+14=38', '78-36=42']
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,47 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[36, 40], Operations: ['24+14=38', '78-38=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,47 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[36, 40], Operations: ['78-24=54', '54-14=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[36, 68], Operations: ['78-24=54', '14+54=68']
Exploring Operation: 36*68=2448, Resulting Numbers: [2448]
2448,47 unequal: No Solution
Exploring Operation: 36+68=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[54, 22], Operations: ['78-24=54', '36-14=22']
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,47 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[24, 28], Operations: ['36+14=50', '78-50=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[78, 26], Operations: ['36+14=50', '50-24=26']
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[50, 102], Operations: ['36+14=50', '24+78=102']
Exploring Operation: 102-50=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 50+102=152, Resulting Numbers: [152]
152,47 unequal: No Solution
Exploring Operation: 50*102=5100, Resulting Numbers: [5100]
5100,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[78, 74], Operations: ['36+14=50', '24+50=74']
Exploring Operation: 78*74=5772, Resulting Numbers: [5772]
5772,47 unequal: No Solution
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 78+74=152, Resulting Numbers: [152]
152,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[78, 74], Operations: ['24+14=38', '36+38=74']
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 78*74=5772, Resulting Numbers: [5772]
5772,47 unequal: No Solution
Exploring Operation: 78+74=152, Resulting Numbers: [152]
152,47 unequal: No Solution
Moving to Node #0,4,0
Current State: 47:[14, 18], Operations: ['78-24=54', '54-36=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,47 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[78, 2], Operations: ['24+14=38', '38-36=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,47 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[38, 114], Operations: ['24+14=38', '36+78=114']
Exploring Operation: 38*114=4332, Resulting Numbers: [4332]
4332,47 unequal: No Solution
Exploring Operation: 114-38=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 38+114=152, Resulting Numbers: [152]
152,47 unequal: No Solution
Exploring Operation: 114/38=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
88,
41,
39
] | 48 | [
"41-39=2",
"68*2=136",
"136-88=48"
] | Current State: 48:[68, 88, 41, 39], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [68, 88, 2]
Generated Node #2: [68, 88, 2] from Operation: 41-39=2
Current State: 48:[68, 88, 2], Operations: ['41-39=2']
Exploring Operation: 68*2=136, Resulting Numbers: [88, 136]
Generated Node #3: [88, 136] from Operation: 68*2=136
Current State: 48:[88, 136], Operations: ['41-39=2', '68*2=136']
Exploring Operation: 136-88=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[68, 88, 41, 39], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [88, 41, 29]
Generated Node #0,0: 48:[88, 41, 29] Operation: 68-39=29
Exploring Operation: 88-41=47, Resulting Numbers: [68, 39, 47]
Generated Node #0,1: 48:[68, 39, 47] Operation: 88-41=47
Exploring Operation: 68-41=27, Resulting Numbers: [88, 39, 27]
Generated Node #0,2: 48:[88, 39, 27] Operation: 68-41=27
Exploring Operation: 88-68=20, Resulting Numbers: [41, 39, 20]
Generated Node #0,3: 48:[41, 39, 20] Operation: 88-68=20
Exploring Operation: 88-39=49, Resulting Numbers: [68, 41, 49]
Generated Node #0,4: 48:[68, 41, 49] Operation: 88-39=49
Moving to Node #0,3
Current State: 48:[41, 39, 20], Operations: ['88-68=20']
Exploring Operation: 41+20=61, Resulting Numbers: [39, 61]
Generated Node #0,3,0: 48:[39, 61] Operation: 41+20=61
Exploring Operation: 39+20=59, Resulting Numbers: [41, 59]
Generated Node #0,3,1: 48:[41, 59] Operation: 39+20=59
Exploring Operation: 39-20=19, Resulting Numbers: [41, 19]
Generated Node #0,3,2: 48:[41, 19] Operation: 39-20=19
Exploring Operation: 41-20=21, Resulting Numbers: [39, 21]
Generated Node #0,3,3: 48:[39, 21] Operation: 41-20=21
Exploring Operation: 41-39=2, Resulting Numbers: [20, 2]
Generated Node #0,3,4: 48:[20, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 48:[20, 2], Operations: ['88-68=20', '41-39=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,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:[41, 19], Operations: ['88-68=20', '39-20=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,48 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,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,3
Current State: 48:[39, 21], Operations: ['88-68=20', '41-20=21']
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,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:[41, 59], Operations: ['88-68=20', '39+20=59']
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 41*59=2419, Resulting Numbers: [2419]
2419,48 unequal: No Solution
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,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:[39, 61], Operations: ['88-68=20', '41+20=61']
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,48 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,48 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: 48:[68, 41, 49], Operations: ['88-39=49']
Exploring Operation: 49-41=8, Resulting Numbers: [68, 8]
Generated Node #0,4,0: 48:[68, 8] Operation: 49-41=8
Exploring Operation: 68+41=109, Resulting Numbers: [49, 109]
Generated Node #0,4,1: 48:[49, 109] Operation: 68+41=109
Exploring Operation: 68-41=27, Resulting Numbers: [49, 27]
Generated Node #0,4,2: 48:[49, 27] Operation: 68-41=27
Exploring Operation: 68-49=19, Resulting Numbers: [41, 19]
Generated Node #0,4,3: 48:[41, 19] Operation: 68-49=19
Exploring Operation: 41+49=90, Resulting Numbers: [68, 90]
Generated Node #0,4,4: 48:[68, 90] Operation: 41+49=90
Moving to Node #0,1
Current State: 48:[68, 39, 47], Operations: ['88-41=47']
Exploring Operation: 39+47=86, Resulting Numbers: [68, 86]
Generated Node #0,1,0: 48:[68, 86] Operation: 39+47=86
Exploring Operation: 68+39=107, Resulting Numbers: [47, 107]
Generated Node #0,1,1: 48:[47, 107] Operation: 68+39=107
Exploring Operation: 47-39=8, Resulting Numbers: [68, 8]
Generated Node #0,1,2: 48:[68, 8] Operation: 47-39=8
Exploring Operation: 68-47=21, Resulting Numbers: [39, 21]
Generated Node #0,1,3: 48:[39, 21] Operation: 68-47=21
Exploring Operation: 68-39=29, Resulting Numbers: [47, 29]
Generated Node #0,1,4: 48:[47, 29] Operation: 68-39=29
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[47, 29], Operations: ['88-41=47', '68-39=29']
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,48 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,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:[39, 21], Operations: ['88-41=47', '68-47=21']
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,48 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,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:[68, 8], Operations: ['88-41=47', '47-39=8']
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,48 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,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,0
Current State: 48:[68, 86], Operations: ['88-41=47', '39+47=86']
Exploring Operation: 68+86=154, Resulting Numbers: [154]
154,48 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 68*86=5848, Resulting Numbers: [5848]
5848,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:[47, 107], Operations: ['88-41=47', '68+39=107']
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,48 unequal: No Solution
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,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:[88, 41, 29], Operations: ['68-39=29']
Exploring Operation: 88-41=47, Resulting Numbers: [29, 47]
Generated Node #0,0,0: 48:[29, 47] Operation: 88-41=47
Exploring Operation: 88+29=117, Resulting Numbers: [41, 117]
Generated Node #0,0,1: 48:[41, 117] Operation: 88+29=117
Exploring Operation: 41-29=12, Resulting Numbers: [88, 12]
Generated Node #0,0,2: 48:[88, 12] Operation: 41-29=12
Exploring Operation: 88-29=59, Resulting Numbers: [41, 59]
Generated Node #0,0,3: 48:[41, 59] Operation: 88-29=59
Exploring Operation: 41+29=70, Resulting Numbers: [88, 70]
Generated Node #0,0,4: 48:[88, 70] Operation: 41+29=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[29, 47], Operations: ['68-39=29', '88-41=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,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:[41, 59], Operations: ['68-39=29', '88-29=59']
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 41*59=2419, Resulting Numbers: [2419]
2419,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:[88, 12], Operations: ['68-39=29', '41-29=12']
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,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,4
Current State: 48:[88, 70], Operations: ['68-39=29', '41+29=70']
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,48 unequal: No Solution
Exploring Operation: 88*70=6160, Resulting Numbers: [6160]
6160,48 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,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,1
Current State: 48:[41, 117], Operations: ['68-39=29', '88+29=117']
Exploring Operation: 117-41=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 41+117=158, Resulting Numbers: [158]
158,48 unequal: No Solution
Exploring Operation: 41*117=4797, Resulting Numbers: [4797]
4797,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:[88, 39, 27], Operations: ['68-41=27']
Exploring Operation: 88-39=49, Resulting Numbers: [27, 49]
Generated Node #0,2,0: 48:[27, 49] Operation: 88-39=49
Exploring Operation: 88+27=115, Resulting Numbers: [39, 115]
Generated Node #0,2,1: 48:[39, 115] Operation: 88+27=115
Exploring Operation: 39+27=66, Resulting Numbers: [88, 66]
Generated Node #0,2,2: 48:[88, 66] Operation: 39+27=66
Exploring Operation: 39-27=12, Resulting Numbers: [88, 12]
Generated Node #0,2,3: 48:[88, 12] Operation: 39-27=12
Exploring Operation: 88-27=61, Resulting Numbers: [39, 61]
Generated Node #0,2,4: 48:[39, 61] Operation: 88-27=61
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[27, 49], Operations: ['68-41=27', '88-39=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,48 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 48:[39, 61], Operations: ['68-41=27', '88-27=61']
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,48 unequal: No Solution
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,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:[88, 12], Operations: ['68-41=27', '39-27=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,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:[88, 66], Operations: ['68-41=27', '39+27=66']
Exploring Operation: 88*66=5808, Resulting Numbers: [5808]
5808,48 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 88+66=154, Resulting Numbers: [154]
154,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:[39, 115], Operations: ['68-41=27', '88+27=115']
Exploring Operation: 39*115=4485, Resulting Numbers: [4485]
4485,48 unequal: No Solution
Exploring Operation: 115-39=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 39+115=154, Resulting Numbers: [154]
154,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 48:[49, 27], Operations: ['88-39=49', '68-41=27']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,48 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Moving to Node #0,4,3
Current State: 48:[41, 19], Operations: ['88-39=49', '68-49=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,48 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Moving to Node #0,4,0
Current State: 48:[68, 8], Operations: ['88-39=49', '49-41=8']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,48 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Moving to Node #0,4,1
Current State: 48:[49, 109], Operations: ['88-39=49', '68+41=109']
Exploring Operation: 49*109=5341, Resulting Numbers: [5341]
5341,48 unequal: No Solution
Exploring Operation: 49+109=158, Resulting Numbers: [158]
158,48 unequal: No Solution
Exploring Operation: 109-49=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Moving to Node #0,4,4
Current State: 48:[68, 90], Operations: ['88-39=49', '41+49=90']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,48 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,48 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
20,
15,
13
] | 53 | [
"19*13=247",
"20*15=300",
"300-247=53"
] | Current State: 53:[19, 20, 15, 13], Operations: []
Exploring Operation: 19*13=247, Resulting Numbers: [20, 15, 247]
Generated Node #2: [20, 15, 247] from Operation: 19*13=247
Current State: 53:[20, 15, 247], Operations: ['19*13=247']
Exploring Operation: 20*15=300, Resulting Numbers: [247, 300]
Generated Node #3: [247, 300] from Operation: 20*15=300
Current State: 53:[247, 300], Operations: ['19*13=247', '20*15=300']
Exploring Operation: 300-247=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[19, 20, 15, 13], Operations: []
Exploring Operation: 19+15=34, Resulting Numbers: [20, 13, 34]
Generated Node #0,0: 53:[20, 13, 34] Operation: 19+15=34
Exploring Operation: 19+20=39, Resulting Numbers: [15, 13, 39]
Generated Node #0,1: 53:[15, 13, 39] Operation: 19+20=39
Exploring Operation: 20+15=35, Resulting Numbers: [19, 13, 35]
Generated Node #0,2: 53:[19, 13, 35] Operation: 20+15=35
Exploring Operation: 19+13=32, Resulting Numbers: [20, 15, 32]
Generated Node #0,3: 53:[20, 15, 32] Operation: 19+13=32
Exploring Operation: 20+13=33, Resulting Numbers: [19, 15, 33]
Generated Node #0,4: 53:[19, 15, 33] Operation: 20+13=33
Moving to Node #0,0
Current State: 53:[20, 13, 34], Operations: ['19+15=34']
Exploring Operation: 20+34=54, Resulting Numbers: [13, 54]
Generated Node #0,0,0: 53:[13, 54] Operation: 20+34=54
Exploring Operation: 20+13=33, Resulting Numbers: [34, 33]
Generated Node #0,0,1: 53:[34, 33] Operation: 20+13=33
Exploring Operation: 13+34=47, Resulting Numbers: [20, 47]
Generated Node #0,0,2: 53:[20, 47] Operation: 13+34=47
Exploring Operation: 34-13=21, Resulting Numbers: [20, 21]
Generated Node #0,0,3: 53:[20, 21] Operation: 34-13=21
Exploring Operation: 20-13=7, Resulting Numbers: [34, 7]
Generated Node #0,0,4: 53:[34, 7] Operation: 20-13=7
Moving to Node #0,2
Current State: 53:[19, 13, 35], Operations: ['20+15=35']
Exploring Operation: 19+35=54, Resulting Numbers: [13, 54]
Generated Node #0,2,0: 53:[13, 54] Operation: 19+35=54
Exploring Operation: 13+35=48, Resulting Numbers: [19, 48]
Generated Node #0,2,1: 53:[19, 48] Operation: 13+35=48
Exploring Operation: 19-13=6, Resulting Numbers: [35, 6]
Generated Node #0,2,2: 53:[35, 6] Operation: 19-13=6
Exploring Operation: 35-13=22, Resulting Numbers: [19, 22]
Generated Node #0,2,3: 53:[19, 22] Operation: 35-13=22
Exploring Operation: 19+13=32, Resulting Numbers: [35, 32]
Generated Node #0,2,4: 53:[35, 32] Operation: 19+13=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[19, 48], Operations: ['20+15=35', '13+35=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,53 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[35, 32], Operations: ['20+15=35', '19+13=32']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,53 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[13, 54], Operations: ['20+15=35', '19+35=54']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[35, 6], Operations: ['20+15=35', '19-13=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[19, 22], Operations: ['20+15=35', '35-13=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,53 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,53 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: 53:[19, 15, 33], Operations: ['20+13=33']
Exploring Operation: 19+33=52, Resulting Numbers: [15, 52]
Generated Node #0,4,0: 53:[15, 52] Operation: 19+33=52
Exploring Operation: 19-15=4, Resulting Numbers: [33, 4]
Generated Node #0,4,1: 53:[33, 4] Operation: 19-15=4
Exploring Operation: 33-15=18, Resulting Numbers: [19, 18]
Generated Node #0,4,2: 53:[19, 18] Operation: 33-15=18
Exploring Operation: 19+15=34, Resulting Numbers: [33, 34]
Generated Node #0,4,3: 53:[33, 34] Operation: 19+15=34
Exploring Operation: 15+33=48, Resulting Numbers: [19, 48]
Generated Node #0,4,4: 53:[19, 48] Operation: 15+33=48
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[15, 52], Operations: ['20+13=33', '19+33=52']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 15*52=780, Resulting Numbers: [780]
780,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[33, 34], Operations: ['20+13=33', '19+15=34']
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,53 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[19, 48], Operations: ['20+13=33', '15+33=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,53 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[33, 4], Operations: ['20+13=33', '19-15=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[19, 18], Operations: ['20+13=33', '33-15=18']
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,53 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,53 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: 53:[15, 13, 39], Operations: ['19+20=39']
Exploring Operation: 15+39=54, Resulting Numbers: [13, 54]
Generated Node #0,1,0: 53:[13, 54] Operation: 15+39=54
Exploring Operation: 39-13=26, Resulting Numbers: [15, 26]
Generated Node #0,1,1: 53:[15, 26] Operation: 39-13=26
Exploring Operation: 13+39=52, Resulting Numbers: [15, 52]
Generated Node #0,1,2: 53:[15, 52] Operation: 13+39=52
Exploring Operation: 15-13=2, Resulting Numbers: [39, 2]
Generated Node #0,1,3: 53:[39, 2] Operation: 15-13=2
Exploring Operation: 15+13=28, Resulting Numbers: [39, 28]
Generated Node #0,1,4: 53:[39, 28] Operation: 15+13=28
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[15, 52], Operations: ['19+20=39', '13+39=52']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 15*52=780, Resulting Numbers: [780]
780,53 unequal: No Solution
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 53:[39, 28], Operations: ['19+20=39', '15+13=28']
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[13, 54], Operations: ['19+20=39', '15+39=54']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,53 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[15, 26], Operations: ['19+20=39', '39-13=26']
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,53 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[39, 2], Operations: ['19+20=39', '15-13=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,53 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: 53:[20, 15, 32], Operations: ['19+13=32']
Exploring Operation: 15+32=47, Resulting Numbers: [20, 47]
Generated Node #0,3,0: 53:[20, 47] Operation: 15+32=47
Exploring Operation: 32-15=17, Resulting Numbers: [20, 17]
Generated Node #0,3,1: 53:[20, 17] Operation: 32-15=17
Exploring Operation: 20-15=5, Resulting Numbers: [32, 5]
Generated Node #0,3,2: 53:[32, 5] Operation: 20-15=5
Exploring Operation: 20+32=52, Resulting Numbers: [15, 52]
Generated Node #0,3,3: 53:[15, 52] Operation: 20+32=52
Exploring Operation: 20+15=35, Resulting Numbers: [32, 35]
Generated Node #0,3,4: 53:[32, 35] Operation: 20+15=35
Moving to Node #0,0,1
Current State: 53:[34, 33], Operations: ['19+15=34', '20+13=33']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,53 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[20, 47], Operations: ['19+13=32', '15+32=47']
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,53 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[15, 52], Operations: ['19+13=32', '20+32=52']
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 15*52=780, Resulting Numbers: [780]
780,53 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[20, 47], Operations: ['19+15=34', '13+34=47']
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,53 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[32, 35], Operations: ['19+13=32', '20+15=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[13, 54], Operations: ['19+15=34', '20+34=54']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,53 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[34, 7], Operations: ['19+15=34', '20-13=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,53 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[20, 21], Operations: ['19+15=34', '34-13=21']
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,53 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[32, 5], Operations: ['19+13=32', '20-15=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[20, 17], Operations: ['19+13=32', '32-15=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,53 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,53 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
56,
8,
80,
16
] | 66 | [
"16-8=8",
"80/8=10",
"56+10=66"
] | Current State: 66:[56, 8, 80, 16], Operations: []
Exploring Operation: 16-8=8, Resulting Numbers: [56, 80, 8]
Generated Node #2: [56, 80, 8] from Operation: 16-8=8
Current State: 66:[56, 80, 8], Operations: ['16-8=8']
Exploring Operation: 80/8=10, Resulting Numbers: [56, 10]
Generated Node #3: [56, 10] from Operation: 80/8=10
Current State: 66:[56, 10], Operations: ['16-8=8', '80/8=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[56, 8, 80, 16], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [56, 8, 5]
Generated Node #0,0: 66:[56, 8, 5] Operation: 80/16=5
Exploring Operation: 80-56=24, Resulting Numbers: [8, 16, 24]
Generated Node #0,1: 66:[8, 16, 24] Operation: 80-56=24
Moving to Node #0,1
Current State: 66:[8, 16, 24], Operations: ['80-56=24']
Exploring Operation: 16/8=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 66:[24, 2] Operation: 16/8=2
Exploring Operation: 8+16=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 66:[24, 24] Operation: 8+16=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[24, 2], Operations: ['80-56=24', '16/8=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,66 unequal: No Solution
No 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: 66:[24, 24], Operations: ['80-56=24', '8+16=24']
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,66 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: 66:[56, 8, 5], Operations: ['80/16=5']
Exploring Operation: 56/8=7, Resulting Numbers: [5, 7]
Generated Node #0,0,0: 66:[5, 7] Operation: 56/8=7
Exploring Operation: 56+8=64, Resulting Numbers: [5, 64]
Generated Node #0,0,1: 66:[5, 64] Operation: 56+8=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[5, 7], Operations: ['80/16=5', '56/8=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,66 unequal: No Solution
No 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: 66:[5, 64], Operations: ['80/16=5', '56+8=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,66 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.