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 |
---|---|---|---|---|---|---|---|---|
[
30,
49,
98,
55
] | 50 |
[
"55-30=25",
"98/49=2",
"25*2=50"
] |
Current State: 50:[30, 49, 98, 55], Operations: []
Exploring Operation: 55-30=25, Resulting Numbers: [49, 98, 25]
Generated Node #2: [49, 98, 25] from Operation: 55-30=25
Current State: 50:[49, 98, 25], Operations: ['55-30=25']
Exploring Operation: 98/49=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 98/49=2
Current State: 50:[25, 2], Operations: ['55-30=25', '98/49=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[30, 49, 98, 55], Operations: []
Exploring Operation: 55-30=25, Resulting Numbers: [49, 98, 25]
Generated Node #0,0: 50:[49, 98, 25] Operation: 55-30=25
Exploring Operation: 98-30=68, Resulting Numbers: [49, 55, 68]
Generated Node #0,1: 50:[49, 55, 68] Operation: 98-30=68
Exploring Operation: 98/49=2, Resulting Numbers: [30, 55, 2]
Generated Node #0,2: 50:[30, 55, 2] Operation: 98/49=2
Exploring Operation: 98-49=49, Resulting Numbers: [30, 55, 49]
Generated Node #0,3: 50:[30, 55, 49] Operation: 98-49=49
Exploring Operation: 98-55=43, Resulting Numbers: [30, 49, 43]
Generated Node #0,4: 50:[30, 49, 43] Operation: 98-55=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[30, 55, 2], Operations: ['98/49=2']
Exploring Operation: 30+2=32, Resulting Numbers: [55, 32]
Generated Node #0,2,0: 50:[55, 32] Operation: 30+2=32
Exploring Operation: 30-2=28, Resulting Numbers: [55, 28]
Generated Node #0,2,1: 50:[55, 28] Operation: 30-2=28
Exploring Operation: 55-30=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 50:[2, 25] Operation: 55-30=25
Exploring Operation: 30/2=15, Resulting Numbers: [55, 15]
Generated Node #0,2,3: 50:[55, 15] Operation: 30/2=15
Exploring Operation: 55-2=53, Resulting Numbers: [30, 53]
Generated Node #0,2,4: 50:[30, 53] Operation: 55-2=53
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[2, 25], Operations: ['98/49=2', '55-30=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[30, 49, 98, 55], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [30, 55, 2]
Generated Node #0,2: 50:[30, 55, 2] Operation: 98/49=2
Moving to Node #0,2
Current State: 50:[30, 55, 2], Operations: ['98/49=2']
Exploring Operation: 55-30=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 50:[2, 25] Operation: 55-30=25
Moving to Node #0,2,2
Current State: 50:[2, 25], Operations: ['98/49=2', '55-30=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
7,
26,
3,
96
] | 43 |
[
"7+26=33",
"96+33=129",
"129/3=43"
] |
Current State: 43:[7, 26, 3, 96], Operations: []
Exploring Operation: 7+26=33, Resulting Numbers: [3, 96, 33]
Generated Node #2: [3, 96, 33] from Operation: 7+26=33
Current State: 43:[3, 96, 33], Operations: ['7+26=33']
Exploring Operation: 96+33=129, Resulting Numbers: [3, 129]
Generated Node #3: [3, 129] from Operation: 96+33=129
Current State: 43:[3, 129], Operations: ['7+26=33', '96+33=129']
Exploring Operation: 129/3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[7, 26, 3, 96], Operations: []
Exploring Operation: 7+3=10, Resulting Numbers: [26, 96, 10]
Generated Node #0,0: 43:[26, 96, 10] Operation: 7+3=10
Exploring Operation: 96/3=32, Resulting Numbers: [7, 26, 32]
Generated Node #0,1: 43:[7, 26, 32] Operation: 96/3=32
Exploring Operation: 7+26=33, Resulting Numbers: [3, 96, 33]
Generated Node #0,2: 43:[3, 96, 33] Operation: 7+26=33
Exploring Operation: 7*3=21, Resulting Numbers: [26, 96, 21]
Generated Node #0,3: 43:[26, 96, 21] Operation: 7*3=21
Moving to Node #0,1
Current State: 43:[7, 26, 32], Operations: ['96/3=32']
Exploring Operation: 32-7=25, Resulting Numbers: [26, 25]
Generated Node #0,1,0: 43:[26, 25] Operation: 32-7=25
Exploring Operation: 7+32=39, Resulting Numbers: [26, 39]
Generated Node #0,1,1: 43:[26, 39] Operation: 7+32=39
Exploring Operation: 7+26=33, Resulting Numbers: [32, 33]
Generated Node #0,1,2: 43:[32, 33] Operation: 7+26=33
Exploring Operation: 26-7=19, Resulting Numbers: [32, 19]
Generated Node #0,1,3: 43:[32, 19] Operation: 26-7=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[26, 39], Operations: ['96/3=32', '7+32=39']
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,43 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[32, 33], Operations: ['96/3=32', '7+26=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,43 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[26, 25], Operations: ['96/3=32', '32-7=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,43 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[32, 19], Operations: ['96/3=32', '26-7=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,43 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,43 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: 43:[26, 96, 21], Operations: ['7*3=21']
Exploring Operation: 26+21=47, Resulting Numbers: [96, 47]
Generated Node #0,3,0: 43:[96, 47] Operation: 26+21=47
Exploring Operation: 26-21=5, Resulting Numbers: [96, 5]
Generated Node #0,3,1: 43:[96, 5] Operation: 26-21=5
Exploring Operation: 96-21=75, Resulting Numbers: [26, 75]
Generated Node #0,3,2: 43:[26, 75] Operation: 96-21=75
Exploring Operation: 96-26=70, Resulting Numbers: [21, 70]
Generated Node #0,3,3: 43:[21, 70] Operation: 96-26=70
Moving to Node #0,2
Current State: 43:[3, 96, 33], Operations: ['7+26=33']
Exploring Operation: 96-3=93, Resulting Numbers: [33, 93]
Generated Node #0,2,0: 43:[33, 93] Operation: 96-3=93
Exploring Operation: 96/3=32, Resulting Numbers: [33, 32]
Generated Node #0,2,1: 43:[33, 32] Operation: 96/3=32
Exploring Operation: 96-33=63, Resulting Numbers: [3, 63]
Generated Node #0,2,2: 43:[3, 63] Operation: 96-33=63
Exploring Operation: 3+33=36, Resulting Numbers: [96, 36]
Generated Node #0,2,3: 43:[96, 36] Operation: 3+33=36
Moving to Node #0,0
Current State: 43:[26, 96, 10], Operations: ['7+3=10']
Exploring Operation: 26+10=36, Resulting Numbers: [96, 36]
Generated Node #0,0,0: 43:[96, 36] Operation: 26+10=36
Exploring Operation: 96-26=70, Resulting Numbers: [10, 70]
Generated Node #0,0,1: 43:[10, 70] Operation: 96-26=70
Exploring Operation: 26-10=16, Resulting Numbers: [96, 16]
Generated Node #0,0,2: 43:[96, 16] Operation: 26-10=16
Exploring Operation: 96-10=86, Resulting Numbers: [26, 86]
Generated Node #0,0,3: 43:[26, 86] Operation: 96-10=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[96, 36], Operations: ['7+3=10', '26+10=36']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,43 unequal: No Solution
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[10, 70], Operations: ['7+3=10', '96-26=70']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,43 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[26, 86], Operations: ['7+3=10', '96-10=86']
Exploring Operation: 26+86=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 26*86=2236, Resulting Numbers: [2236]
2236,43 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[96, 16], Operations: ['7+3=10', '26-10=16']
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 96*16=1536, Resulting Numbers: [1536]
1536,43 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 43:[33, 32], Operations: ['7+26=33', '96/3=32']
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,43 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[26, 75], Operations: ['7*3=21', '96-21=75']
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,43 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[21, 70], Operations: ['7*3=21', '96-26=70']
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,43 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[96, 47], Operations: ['7*3=21', '26+21=47']
Exploring Operation: 96*47=4512, Resulting Numbers: [4512]
4512,43 unequal: No Solution
Exploring Operation: 96+47=143, Resulting Numbers: [143]
143,43 unequal: No Solution
Exploring Operation: 96-47=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[33, 93], Operations: ['7+26=33', '96-3=93']
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,43 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[96, 36], Operations: ['7+26=33', '3+33=36']
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,43 unequal: No Solution
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[3, 63], Operations: ['7+26=33', '96-33=63']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,43 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[96, 5], Operations: ['7*3=21', '26-21=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 96*5=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Exploring Operation: 96+5=101, Resulting Numbers: [101]
101,43 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
48,
43,
28,
84
] | 15 |
[
"48-43=5",
"84/28=3",
"5*3=15"
] |
Current State: 15:[48, 43, 28, 84], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [28, 84, 5]
Generated Node #2: [28, 84, 5] from Operation: 48-43=5
Current State: 15:[28, 84, 5], Operations: ['48-43=5']
Exploring Operation: 84/28=3, Resulting Numbers: [5, 3]
Generated Node #3: [5, 3] from Operation: 84/28=3
Current State: 15:[5, 3], Operations: ['48-43=5', '84/28=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[48, 43, 28, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [48, 43, 3]
Generated Node #0,0: 15:[48, 43, 3] Operation: 84/28=3
Exploring Operation: 84-48=36, Resulting Numbers: [43, 28, 36]
Generated Node #0,1: 15:[43, 28, 36] Operation: 84-48=36
Exploring Operation: 84-43=41, Resulting Numbers: [48, 28, 41]
Generated Node #0,2: 15:[48, 28, 41] Operation: 84-43=41
Exploring Operation: 48-43=5, Resulting Numbers: [28, 84, 5]
Generated Node #0,3: 15:[28, 84, 5] Operation: 48-43=5
Moving to Node #0,0
Current State: 15:[48, 43, 3], Operations: ['84/28=3']
Exploring Operation: 48/3=16, Resulting Numbers: [43, 16]
Generated Node #0,0,0: 15:[43, 16] Operation: 48/3=16
Exploring Operation: 43-3=40, Resulting Numbers: [48, 40]
Generated Node #0,0,1: 15:[48, 40] Operation: 43-3=40
Exploring Operation: 48-3=45, Resulting Numbers: [43, 45]
Generated Node #0,0,2: 15:[43, 45] Operation: 48-3=45
Exploring Operation: 48-43=5, Resulting Numbers: [3, 5]
Generated Node #0,0,3: 15:[3, 5] Operation: 48-43=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[3, 5], Operations: ['84/28=3', '48-43=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[48, 43, 28, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [48, 43, 3]
Generated Node #0,0: 15:[48, 43, 3] Operation: 84/28=3
Moving to Node #0,0
Current State: 15:[48, 43, 3], Operations: ['84/28=3']
Exploring Operation: 48-43=5, Resulting Numbers: [3, 5]
Generated Node #0,0,3: 15:[3, 5] Operation: 48-43=5
Moving to Node #0,0,3
Current State: 15:[3, 5], Operations: ['84/28=3', '48-43=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
sum_heuristic
|
[
36,
56,
52,
75
] | 84 |
[
"56-52=4",
"36/4=9",
"75+9=84"
] |
Current State: 84:[36, 56, 52, 75], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [36, 75, 4]
Generated Node #2: [36, 75, 4] from Operation: 56-52=4
Current State: 84:[36, 75, 4], Operations: ['56-52=4']
Exploring Operation: 36/4=9, Resulting Numbers: [75, 9]
Generated Node #3: [75, 9] from Operation: 36/4=9
Current State: 84:[75, 9], Operations: ['56-52=4', '36/4=9']
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[36, 56, 52, 75], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [36, 75, 4]
Generated Node #0,0: 84:[36, 75, 4] Operation: 56-52=4
Exploring Operation: 75-52=23, Resulting Numbers: [36, 56, 23]
Generated Node #0,1: 84:[36, 56, 23] Operation: 75-52=23
Exploring Operation: 52-36=16, Resulting Numbers: [56, 75, 16]
Generated Node #0,2: 84:[56, 75, 16] Operation: 52-36=16
Exploring Operation: 56-36=20, Resulting Numbers: [52, 75, 20]
Generated Node #0,3: 84:[52, 75, 20] Operation: 56-36=20
Exploring Operation: 75-56=19, Resulting Numbers: [36, 52, 19]
Generated Node #0,4: 84:[36, 52, 19] Operation: 75-56=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[36, 75, 4], Operations: ['56-52=4']
Exploring Operation: 36+4=40, Resulting Numbers: [75, 40]
Generated Node #0,0,0: 84:[75, 40] Operation: 36+4=40
Exploring Operation: 75-36=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 84:[4, 39] Operation: 75-36=39
Exploring Operation: 36/4=9, Resulting Numbers: [75, 9]
Generated Node #0,0,2: 84:[75, 9] Operation: 36/4=9
Exploring Operation: 75+4=79, Resulting Numbers: [36, 79]
Generated Node #0,0,3: 84:[36, 79] Operation: 75+4=79
Exploring Operation: 36-4=32, Resulting Numbers: [75, 32]
Generated Node #0,0,4: 84:[75, 32] Operation: 36-4=32
Moving to Node #0,0,1
Current State: 84:[4, 39], Operations: ['56-52=4', '75-36=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,84 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[75, 9], Operations: ['56-52=4', '36/4=9']
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,84 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[36, 56, 52, 75], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [36, 75, 4]
Generated Node #0,0: 84:[36, 75, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 84:[36, 75, 4], Operations: ['56-52=4']
Exploring Operation: 36/4=9, Resulting Numbers: [75, 9]
Generated Node #0,0,2: 84:[75, 9] Operation: 36/4=9
Moving to Node #0,0,2
Current State: 84:[75, 9], Operations: ['56-52=4', '36/4=9']
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
sum_heuristic
|
[
96,
95,
82,
16
] | 99 |
[
"96-95=1",
"82+16=98",
"1+98=99"
] |
Current State: 99:[96, 95, 82, 16], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [82, 16, 1]
Generated Node #2: [82, 16, 1] from Operation: 96-95=1
Current State: 99:[82, 16, 1], Operations: ['96-95=1']
Exploring Operation: 82+16=98, Resulting Numbers: [1, 98]
Generated Node #3: [1, 98] from Operation: 82+16=98
Current State: 99:[1, 98], Operations: ['96-95=1', '82+16=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[96, 95, 82, 16], Operations: []
Exploring Operation: 82+16=98, Resulting Numbers: [96, 95, 98]
Generated Node #0,0: 99:[96, 95, 98] Operation: 82+16=98
Exploring Operation: 96-82=14, Resulting Numbers: [95, 16, 14]
Generated Node #0,1: 99:[95, 16, 14] Operation: 96-82=14
Exploring Operation: 95-82=13, Resulting Numbers: [96, 16, 13]
Generated Node #0,2: 99:[96, 16, 13] Operation: 95-82=13
Moving to Node #0,0
Current State: 99:[96, 95, 98], Operations: ['82+16=98']
Exploring Operation: 98-95=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 98-95=3
Exploring Operation: 96-95=1, Resulting Numbers: [98, 1]
Generated Node #0,0,1: 99:[98, 1] Operation: 96-95=1
Exploring Operation: 98-96=2, Resulting Numbers: [95, 2]
Generated Node #0,0,2: 99:[95, 2] Operation: 98-96=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['82+16=98', '98-95=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[96, 95, 82, 16], Operations: []
Exploring Operation: 82+16=98, Resulting Numbers: [96, 95, 98]
Generated Node #0,0: 99:[96, 95, 98] Operation: 82+16=98
Moving to Node #0,0
Current State: 99:[96, 95, 98], Operations: ['82+16=98']
Exploring Operation: 98-95=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 98-95=3
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['82+16=98', '98-95=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
61,
9,
68,
85
] | 53 |
[
"61+9=70",
"85-68=17",
"70-17=53"
] |
Current State: 53:[61, 9, 68, 85], Operations: []
Exploring Operation: 61+9=70, Resulting Numbers: [68, 85, 70]
Generated Node #2: [68, 85, 70] from Operation: 61+9=70
Current State: 53:[68, 85, 70], Operations: ['61+9=70']
Exploring Operation: 85-68=17, Resulting Numbers: [70, 17]
Generated Node #3: [70, 17] from Operation: 85-68=17
Current State: 53:[70, 17], Operations: ['61+9=70', '85-68=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[61, 9, 68, 85], Operations: []
Exploring Operation: 61-9=52, Resulting Numbers: [68, 85, 52]
Generated Node #0,0: 53:[68, 85, 52] Operation: 61-9=52
Exploring Operation: 68-9=59, Resulting Numbers: [61, 85, 59]
Generated Node #0,1: 53:[61, 85, 59] Operation: 68-9=59
Exploring Operation: 9+68=77, Resulting Numbers: [61, 85, 77]
Generated Node #0,2: 53:[61, 85, 77] Operation: 9+68=77
Exploring Operation: 61+9=70, Resulting Numbers: [68, 85, 70]
Generated Node #0,3: 53:[68, 85, 70] Operation: 61+9=70
Exploring Operation: 85-9=76, Resulting Numbers: [61, 68, 76]
Generated Node #0,4: 53:[61, 68, 76] Operation: 85-9=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[61, 85, 59], Operations: ['68-9=59']
Exploring Operation: 61-59=2, Resulting Numbers: [85, 2]
Generated Node #0,1,0: 53:[85, 2] Operation: 61-59=2
Exploring Operation: 61+85=146, Resulting Numbers: [59, 146]
Generated Node #0,1,1: 53:[59, 146] Operation: 61+85=146
Exploring Operation: 85-59=26, Resulting Numbers: [61, 26]
Generated Node #0,1,2: 53:[61, 26] Operation: 85-59=26
Exploring Operation: 85-61=24, Resulting Numbers: [59, 24]
Generated Node #0,1,3: 53:[59, 24] Operation: 85-61=24
Exploring Operation: 61+59=120, Resulting Numbers: [85, 120]
Generated Node #0,1,4: 53:[85, 120] Operation: 61+59=120
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[61, 26], Operations: ['68-9=59', '85-59=26']
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,53 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,53 unequal: No Solution
No 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: 53:[59, 24], Operations: ['68-9=59', '85-61=24']
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,53 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,53 unequal: No Solution
No 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: 53:[85, 2], Operations: ['68-9=59', '61-59=2']
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,53 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,53 unequal: No Solution
No 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: 53:[59, 146], Operations: ['68-9=59', '61+85=146']
Exploring Operation: 59*146=8614, Resulting Numbers: [8614]
8614,53 unequal: No Solution
Exploring Operation: 146-59=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 59+146=205, Resulting Numbers: [205]
205,53 unequal: No Solution
No 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: 53:[85, 120], Operations: ['68-9=59', '61+59=120']
Exploring Operation: 85*120=10200, Resulting Numbers: [10200]
10200,53 unequal: No Solution
Exploring Operation: 120-85=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 85+120=205, Resulting Numbers: [205]
205,53 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: 53:[61, 68, 76], Operations: ['85-9=76']
Exploring Operation: 61+76=137, Resulting Numbers: [68, 137]
Generated Node #0,4,0: 53:[68, 137] Operation: 61+76=137
Exploring Operation: 61+68=129, Resulting Numbers: [76, 129]
Generated Node #0,4,1: 53:[76, 129] Operation: 61+68=129
Exploring Operation: 76-61=15, Resulting Numbers: [68, 15]
Generated Node #0,4,2: 53:[68, 15] Operation: 76-61=15
Exploring Operation: 76-68=8, Resulting Numbers: [61, 8]
Generated Node #0,4,3: 53:[61, 8] Operation: 76-68=8
Exploring Operation: 68-61=7, Resulting Numbers: [76, 7]
Generated Node #0,4,4: 53:[76, 7] Operation: 68-61=7
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 53:[68, 15], Operations: ['85-9=76', '76-61=15']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[61, 9, 68, 85], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [61, 68, 76]
Generated Node #0,4: 53:[61, 68, 76] Operation: 85-9=76
Moving to Node #0,4
Current State: 53:[61, 68, 76], Operations: ['85-9=76']
Exploring Operation: 76-61=15, Resulting Numbers: [68, 15]
Generated Node #0,4,2: 53:[68, 15] Operation: 76-61=15
Moving to Node #0,4,2
Current State: 53:[68, 15], Operations: ['85-9=76', '76-61=15']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 |
hs_5
|
mult_heuristic
|
[
31,
19,
24,
48
] | 28 |
[
"31-19=12",
"48/12=4",
"24+4=28"
] |
Current State: 28:[31, 19, 24, 48], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [24, 48, 12]
Generated Node #2: [24, 48, 12] from Operation: 31-19=12
Current State: 28:[24, 48, 12], Operations: ['31-19=12']
Exploring Operation: 48/12=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 48/12=4
Current State: 28:[24, 4], Operations: ['31-19=12', '48/12=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[31, 19, 24, 48], Operations: []
Exploring Operation: 48-19=29, Resulting Numbers: [31, 24, 29]
Generated Node #0,0: 28:[31, 24, 29] Operation: 48-19=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[31, 24, 29], Operations: ['48-19=29']
Exploring Operation: 31-24=7, Resulting Numbers: [29, 7]
Generated Node #0,0,0: 28:[29, 7] Operation: 31-24=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[29, 7], Operations: ['48-19=29', '31-24=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
59,
12,
11,
55
] | 42 |
[
"59-12=47",
"55/11=5",
"47-5=42"
] |
Current State: 42:[59, 12, 11, 55], Operations: []
Exploring Operation: 59-12=47, Resulting Numbers: [11, 55, 47]
Generated Node #2: [11, 55, 47] from Operation: 59-12=47
Current State: 42:[11, 55, 47], Operations: ['59-12=47']
Exploring Operation: 55/11=5, Resulting Numbers: [47, 5]
Generated Node #3: [47, 5] from Operation: 55/11=5
Current State: 42:[47, 5], Operations: ['59-12=47', '55/11=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[59, 12, 11, 55], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [59, 12, 5]
Generated Node #0,0: 42:[59, 12, 5] Operation: 55/11=5
Exploring Operation: 59-55=4, Resulting Numbers: [12, 11, 4]
Generated Node #0,1: 42:[12, 11, 4] Operation: 59-55=4
Exploring Operation: 59-12=47, Resulting Numbers: [11, 55, 47]
Generated Node #0,2: 42:[11, 55, 47] Operation: 59-12=47
Moving to Node #0,1
Current State: 42:[12, 11, 4], Operations: ['59-55=4']
Exploring Operation: 12+11=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 42:[4, 23] Operation: 12+11=23
Exploring Operation: 11-4=7, Resulting Numbers: [12, 7]
Generated Node #0,1,1: 42:[12, 7] Operation: 11-4=7
Exploring Operation: 12-11=1, Resulting Numbers: [4, 1]
Generated Node #0,1,2: 42:[4, 1] Operation: 12-11=1
Moving to Node #0,0
Current State: 42:[59, 12, 5], Operations: ['55/11=5']
Exploring Operation: 12-5=7, Resulting Numbers: [59, 7]
Generated Node #0,0,0: 42:[59, 7] Operation: 12-5=7
Exploring Operation: 59-5=54, Resulting Numbers: [12, 54]
Generated Node #0,0,1: 42:[12, 54] Operation: 59-5=54
Exploring Operation: 59-12=47, Resulting Numbers: [5, 47]
Generated Node #0,0,2: 42:[5, 47] Operation: 59-12=47
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[5, 47], Operations: ['55/11=5', '59-12=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,42 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[59, 12, 11, 55], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [59, 12, 5]
Generated Node #0,0: 42:[59, 12, 5] Operation: 55/11=5
Moving to Node #0,0
Current State: 42:[59, 12, 5], Operations: ['55/11=5']
Exploring Operation: 59-12=47, Resulting Numbers: [5, 47]
Generated Node #0,0,2: 42:[5, 47] Operation: 59-12=47
Moving to Node #0,0,2
Current State: 42:[5, 47], Operations: ['55/11=5', '59-12=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
mult_heuristic
|
[
68,
57,
66,
47
] | 67 |
[
"68-66=2",
"57*2=114",
"114-47=67"
] |
Current State: 67:[68, 57, 66, 47], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [57, 47, 2]
Generated Node #2: [57, 47, 2] from Operation: 68-66=2
Current State: 67:[57, 47, 2], Operations: ['68-66=2']
Exploring Operation: 57*2=114, Resulting Numbers: [47, 114]
Generated Node #3: [47, 114] from Operation: 57*2=114
Current State: 67:[47, 114], Operations: ['68-66=2', '57*2=114']
Exploring Operation: 114-47=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[68, 57, 66, 47], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [57, 66, 21]
Generated Node #0,0: 67:[57, 66, 21] Operation: 68-47=21
Exploring Operation: 57+47=104, Resulting Numbers: [68, 66, 104]
Generated Node #0,1: 67:[68, 66, 104] Operation: 57+47=104
Exploring Operation: 66+47=113, Resulting Numbers: [68, 57, 113]
Generated Node #0,2: 67:[68, 57, 113] Operation: 66+47=113
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[68, 66, 104], Operations: ['57+47=104']
Exploring Operation: 68-66=2, Resulting Numbers: [104, 2]
Generated Node #0,1,0: 67:[104, 2] Operation: 68-66=2
Exploring Operation: 104-66=38, Resulting Numbers: [68, 38]
Generated Node #0,1,1: 67:[68, 38] Operation: 104-66=38
Exploring Operation: 104-68=36, Resulting Numbers: [66, 36]
Generated Node #0,1,2: 67:[66, 36] Operation: 104-68=36
Moving to Node #0,1,1
Current State: 67:[68, 38], Operations: ['57+47=104', '104-66=38']
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,67 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[66, 36], Operations: ['57+47=104', '104-68=36']
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[104, 2], Operations: ['57+47=104', '68-66=2']
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 104+2=106, Resulting Numbers: [106]
106,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
Current State: 67:[57, 66, 21], Operations: ['68-47=21']
Exploring Operation: 57+21=78, Resulting Numbers: [66, 78]
Generated Node #0,0,0: 67:[66, 78] Operation: 57+21=78
Exploring Operation: 66+21=87, Resulting Numbers: [57, 87]
Generated Node #0,0,1: 67:[57, 87] Operation: 66+21=87
Exploring Operation: 57-21=36, Resulting Numbers: [66, 36]
Generated Node #0,0,2: 67:[66, 36] Operation: 57-21=36
Moving to Node #0,0,0
Current State: 67:[66, 78], Operations: ['68-47=21', '57+21=78']
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 66*78=5148, Resulting Numbers: [5148]
5148,67 unequal: No Solution
Exploring Operation: 66+78=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[57, 87], Operations: ['68-47=21', '66+21=87']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 57*87=4959, Resulting Numbers: [4959]
4959,67 unequal: No Solution
Exploring Operation: 57+87=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[66, 36], Operations: ['68-47=21', '57-21=36']
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,67 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,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,2
Current State: 67:[68, 57, 113], Operations: ['66+47=113']
Exploring Operation: 113-57=56, Resulting Numbers: [68, 56]
Generated Node #0,2,0: 67:[68, 56] Operation: 113-57=56
Exploring Operation: 68-57=11, Resulting Numbers: [113, 11]
Generated Node #0,2,1: 67:[113, 11] Operation: 68-57=11
Exploring Operation: 113-68=45, Resulting Numbers: [57, 45]
Generated Node #0,2,2: 67:[57, 45] Operation: 113-68=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[68, 56], Operations: ['66+47=113', '113-57=56']
Exploring Operation: 68+56=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 68*56=3808, Resulting Numbers: [3808]
3808,67 unequal: No Solution
No 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: 67:[57, 45], Operations: ['66+47=113', '113-68=45']
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 57*45=2565, Resulting Numbers: [2565]
2565,67 unequal: No Solution
No 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: 67:[113, 11], Operations: ['66+47=113', '68-57=11']
Exploring Operation: 113*11=1243, Resulting Numbers: [1243]
1243,67 unequal: No Solution
Exploring Operation: 113-11=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 113+11=124, Resulting Numbers: [124]
124,67 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
|
[
46,
92,
44,
14
] | 13 |
[
"46+92=138",
"44+138=182",
"182/14=13"
] |
Current State: 13:[46, 92, 44, 14], Operations: []
Exploring Operation: 46+92=138, Resulting Numbers: [44, 14, 138]
Generated Node #2: [44, 14, 138] from Operation: 46+92=138
Current State: 13:[44, 14, 138], Operations: ['46+92=138']
Exploring Operation: 44+138=182, Resulting Numbers: [14, 182]
Generated Node #3: [14, 182] from Operation: 44+138=182
Current State: 13:[14, 182], Operations: ['46+92=138', '44+138=182']
Exploring Operation: 182/14=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[46, 92, 44, 14], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [44, 14, 2]
Generated Node #0,0: 13:[44, 14, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [44, 14, 46]
Generated Node #0,1: 13:[44, 14, 46] Operation: 92-46=46
Exploring Operation: 92-44=48, Resulting Numbers: [46, 14, 48]
Generated Node #0,2: 13:[46, 14, 48] Operation: 92-44=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[44, 14, 2], Operations: ['92/46=2']
Exploring Operation: 44/2=22, Resulting Numbers: [14, 22]
Generated Node #0,0,0: 13:[14, 22] Operation: 44/2=22
Exploring Operation: 44-14=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 13:[2, 30] Operation: 44-14=30
Exploring Operation: 44-2=42, Resulting Numbers: [14, 42]
Generated Node #0,0,2: 13:[14, 42] Operation: 44-2=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[14, 22], Operations: ['92/46=2', '44/2=22']
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,13 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[2, 30], Operations: ['92/46=2', '44-14=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[14, 42], Operations: ['92/46=2', '44-2=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[44, 14, 46], Operations: ['92-46=46']
Exploring Operation: 46-14=32, Resulting Numbers: [44, 32]
Generated Node #0,1,0: 13:[44, 32] Operation: 46-14=32
Exploring Operation: 46-44=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 13:[14, 2] Operation: 46-44=2
Exploring Operation: 44-14=30, Resulting Numbers: [46, 30]
Generated Node #0,1,2: 13:[46, 30] Operation: 44-14=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[14, 2], Operations: ['92-46=46', '46-44=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[44, 32], Operations: ['92-46=46', '46-14=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,13 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[46, 30], Operations: ['92-46=46', '44-14=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,13 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[46, 14, 48], Operations: ['92-44=48']
Exploring Operation: 48-14=34, Resulting Numbers: [46, 34]
Generated Node #0,2,0: 13:[46, 34] Operation: 48-14=34
Exploring Operation: 48-46=2, Resulting Numbers: [14, 2]
Generated Node #0,2,1: 13:[14, 2] Operation: 48-46=2
Exploring Operation: 46-14=32, Resulting Numbers: [48, 32]
Generated Node #0,2,2: 13:[48, 32] Operation: 46-14=32
Moving to Node #0,2,1
Current State: 13:[14, 2], Operations: ['92-44=48', '48-46=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[46, 34], Operations: ['92-44=48', '48-14=34']
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,13 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[48, 32], Operations: ['92-44=48', '46-14=32']
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,13 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
20,
26,
4,
72
] | 51 |
[
"20/4=5",
"72-26=46",
"5+46=51"
] |
Current State: 51:[20, 26, 4, 72], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [26, 72, 5]
Generated Node #2: [26, 72, 5] from Operation: 20/4=5
Current State: 51:[26, 72, 5], Operations: ['20/4=5']
Exploring Operation: 72-26=46, Resulting Numbers: [5, 46]
Generated Node #3: [5, 46] from Operation: 72-26=46
Current State: 51:[5, 46], Operations: ['20/4=5', '72-26=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[20, 26, 4, 72], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [20, 26, 18]
Generated Node #0,0: 51:[20, 26, 18] Operation: 72/4=18
Exploring Operation: 72-20=52, Resulting Numbers: [26, 4, 52]
Generated Node #0,1: 51:[26, 4, 52] Operation: 72-20=52
Exploring Operation: 72-26=46, Resulting Numbers: [20, 4, 46]
Generated Node #0,2: 51:[20, 4, 46] Operation: 72-26=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[20, 4, 46], Operations: ['72-26=46']
Exploring Operation: 20/4=5, Resulting Numbers: [46, 5]
Generated Node #0,2,0: 51:[46, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [46, 16]
Generated Node #0,2,1: 51:[46, 16] Operation: 20-4=16
Exploring Operation: 4+46=50, Resulting Numbers: [20, 50]
Generated Node #0,2,2: 51:[20, 50] Operation: 4+46=50
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[20, 50], Operations: ['72-26=46', '4+46=50']
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,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,2,1
Current State: 51:[46, 16], Operations: ['72-26=46', '20-4=16']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,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,2,0
Current State: 51:[46, 5], Operations: ['72-26=46', '20/4=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,51 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[20, 26, 4, 72], Operations: []
Exploring Operation: 72-26=46, Resulting Numbers: [20, 4, 46]
Generated Node #0,2: 51:[20, 4, 46] Operation: 72-26=46
Moving to Node #0,2
Current State: 51:[20, 4, 46], Operations: ['72-26=46']
Exploring Operation: 20/4=5, Resulting Numbers: [46, 5]
Generated Node #0,2,0: 51:[46, 5] Operation: 20/4=5
Moving to Node #0,2,0
Current State: 51:[46, 5], Operations: ['72-26=46', '20/4=5']
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
mult_heuristic
|
[
44,
34,
50,
33
] | 95 |
[
"44+34=78",
"50-33=17",
"78+17=95"
] |
Current State: 95:[44, 34, 50, 33], Operations: []
Exploring Operation: 44+34=78, Resulting Numbers: [50, 33, 78]
Generated Node #2: [50, 33, 78] from Operation: 44+34=78
Current State: 95:[50, 33, 78], Operations: ['44+34=78']
Exploring Operation: 50-33=17, Resulting Numbers: [78, 17]
Generated Node #3: [78, 17] from Operation: 50-33=17
Current State: 95:[78, 17], Operations: ['44+34=78', '50-33=17']
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[44, 34, 50, 33], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [34, 33, 6]
Generated Node #0,0: 95:[34, 33, 6] Operation: 50-44=6
Exploring Operation: 50-34=16, Resulting Numbers: [44, 33, 16]
Generated Node #0,1: 95:[44, 33, 16] Operation: 50-34=16
Exploring Operation: 44+50=94, Resulting Numbers: [34, 33, 94]
Generated Node #0,2: 95:[34, 33, 94] Operation: 44+50=94
Moving to Node #0,0
Current State: 95:[34, 33, 6], Operations: ['50-44=6']
Exploring Operation: 33-6=27, Resulting Numbers: [34, 27]
Generated Node #0,0,0: 95:[34, 27] Operation: 33-6=27
Exploring Operation: 34-6=28, Resulting Numbers: [33, 28]
Generated Node #0,0,1: 95:[33, 28] Operation: 34-6=28
Exploring Operation: 34-33=1, Resulting Numbers: [6, 1]
Generated Node #0,0,2: 95:[6, 1] Operation: 34-33=1
Moving to Node #0,2
Current State: 95:[34, 33, 94], Operations: ['44+50=94']
Exploring Operation: 34-33=1, Resulting Numbers: [94, 1]
Generated Node #0,2,0: 95:[94, 1] Operation: 34-33=1
Exploring Operation: 34+33=67, Resulting Numbers: [94, 67]
Generated Node #0,2,1: 95:[94, 67] Operation: 34+33=67
Exploring Operation: 34+94=128, Resulting Numbers: [33, 128]
Generated Node #0,2,2: 95:[33, 128] Operation: 34+94=128
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[94, 1], Operations: ['44+50=94', '34-33=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[44, 34, 50, 33], Operations: []
Exploring Operation: 44+50=94, Resulting Numbers: [34, 33, 94]
Generated Node #0,2: 95:[34, 33, 94] Operation: 44+50=94
Moving to Node #0,2
Current State: 95:[34, 33, 94], Operations: ['44+50=94']
Exploring Operation: 34-33=1, Resulting Numbers: [94, 1]
Generated Node #0,2,0: 95:[94, 1] Operation: 34-33=1
Moving to Node #0,2,0
Current State: 95:[94, 1], Operations: ['44+50=94', '34-33=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
sum_heuristic
|
[
39,
39,
36,
34
] | 15 |
[
"39+36=75",
"39-34=5",
"75/5=15"
] |
Current State: 15:[39, 39, 36, 34], Operations: []
Exploring Operation: 39+36=75, Resulting Numbers: [34, 75]
Generated Node #2: [34, 75] from Operation: 39+36=75
Current State: 15:[34, 75], Operations: ['39+36=75']
Exploring Operation: 39-34=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 39-34=5
Current State: 15:[75, 5], Operations: ['39+36=75', '39-34=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[39, 39, 36, 34], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [39, 34, 3]
Generated Node #0,0: 15:[39, 34, 3] Operation: 39-36=3
Exploring Operation: 39/39=1, Resulting Numbers: [36, 34, 1]
Generated Node #0,1: 15:[36, 34, 1] Operation: 39/39=1
Exploring Operation: 39-36=3, Resulting Numbers: [39, 34, 3]
Generated Node #0,2: 15:[39, 34, 3] Operation: 39-36=3
Exploring Operation: 39-39=0, Resulting Numbers: [36, 34, 0]
Generated Node #0,3: 15:[36, 34, 0] Operation: 39-39=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[36, 34, 1], Operations: ['39/39=1']
Exploring Operation: 36-34=2, Resulting Numbers: [1, 2]
Generated Node #0,1,0: 15:[1, 2] Operation: 36-34=2
Exploring Operation: 36*1=36, Resulting Numbers: [34, 36]
Generated Node #0,1,1: 15:[34, 36] Operation: 36*1=36
Exploring Operation: 34-1=33, Resulting Numbers: [36, 33]
Generated Node #0,1,2: 15:[36, 33] Operation: 34-1=33
Exploring Operation: 36-1=35, Resulting Numbers: [34, 35]
Generated Node #0,1,3: 15:[34, 35] Operation: 36-1=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[1, 2], Operations: ['39/39=1', '36-34=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[36, 33], Operations: ['39/39=1', '34-1=33']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 15:[34, 35], Operations: ['39/39=1', '36-1=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,15 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[34, 36], Operations: ['39/39=1', '36*1=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,15 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[39, 34, 3], Operations: ['39-36=3']
Exploring Operation: 39-3=36, Resulting Numbers: [34, 36]
Generated Node #0,0,0: 15:[34, 36] Operation: 39-3=36
Exploring Operation: 34-3=31, Resulting Numbers: [39, 31]
Generated Node #0,0,1: 15:[39, 31] Operation: 34-3=31
Exploring Operation: 39/3=13, Resulting Numbers: [34, 13]
Generated Node #0,0,2: 15:[34, 13] Operation: 39/3=13
Exploring Operation: 39-34=5, Resulting Numbers: [3, 5]
Generated Node #0,0,3: 15:[3, 5] Operation: 39-34=5
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 15:[3, 5], Operations: ['39-36=3', '39-34=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[39, 39, 36, 34], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [39, 34, 3]
Generated Node #0,0: 15:[39, 34, 3] Operation: 39-36=3
Moving to Node #0,0
Current State: 15:[39, 34, 3], Operations: ['39-36=3']
Exploring Operation: 39-34=5, Resulting Numbers: [3, 5]
Generated Node #0,0,3: 15:[3, 5] Operation: 39-34=5
Moving to Node #0,0,3
Current State: 15:[3, 5], Operations: ['39-36=3', '39-34=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 |
hs_4
|
sum_heuristic
|
[
31,
37,
77,
23
] | 94 |
[
"37-31=6",
"77+23=100",
"100-6=94"
] |
Current State: 94:[31, 37, 77, 23], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [77, 23, 6]
Generated Node #2: [77, 23, 6] from Operation: 37-31=6
Current State: 94:[77, 23, 6], Operations: ['37-31=6']
Exploring Operation: 77+23=100, Resulting Numbers: [6, 100]
Generated Node #3: [6, 100] from Operation: 77+23=100
Current State: 94:[6, 100], Operations: ['37-31=6', '77+23=100']
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[31, 37, 77, 23], Operations: []
Exploring Operation: 77-23=54, Resulting Numbers: [31, 37, 54]
Generated Node #0,0: 94:[31, 37, 54] Operation: 77-23=54
Exploring Operation: 31+23=54, Resulting Numbers: [37, 77, 54]
Generated Node #0,1: 94:[37, 77, 54] Operation: 31+23=54
Exploring Operation: 77+23=100, Resulting Numbers: [31, 37, 100]
Generated Node #0,2: 94:[31, 37, 100] Operation: 77+23=100
Exploring Operation: 77-31=46, Resulting Numbers: [37, 23, 46]
Generated Node #0,3: 94:[37, 23, 46] Operation: 77-31=46
Exploring Operation: 31-23=8, Resulting Numbers: [37, 77, 8]
Generated Node #0,4: 94:[37, 77, 8] Operation: 31-23=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[31, 37, 100], Operations: ['77+23=100']
Exploring Operation: 31+37=68, Resulting Numbers: [100, 68]
Generated Node #0,2,0: 94:[100, 68] Operation: 31+37=68
Exploring Operation: 37-31=6, Resulting Numbers: [100, 6]
Generated Node #0,2,1: 94:[100, 6] Operation: 37-31=6
Exploring Operation: 100-37=63, Resulting Numbers: [31, 63]
Generated Node #0,2,2: 94:[31, 63] Operation: 100-37=63
Exploring Operation: 100-31=69, Resulting Numbers: [37, 69]
Generated Node #0,2,3: 94:[37, 69] Operation: 100-31=69
Exploring Operation: 31+100=131, Resulting Numbers: [37, 131]
Generated Node #0,2,4: 94:[37, 131] Operation: 31+100=131
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[100, 6], Operations: ['77+23=100', '37-31=6']
Exploring Operation: 100+6=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[31, 37, 77, 23], Operations: []
Exploring Operation: 77+23=100, Resulting Numbers: [31, 37, 100]
Generated Node #0,2: 94:[31, 37, 100] Operation: 77+23=100
Moving to Node #0,2
Current State: 94:[31, 37, 100], Operations: ['77+23=100']
Exploring Operation: 37-31=6, Resulting Numbers: [100, 6]
Generated Node #0,2,1: 94:[100, 6] Operation: 37-31=6
Moving to Node #0,2,1
Current State: 94:[100, 6], Operations: ['77+23=100', '37-31=6']
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
30,
2,
63,
50
] | 19 |
[
"30+2=32",
"63-50=13",
"32-13=19"
] |
Current State: 19:[30, 2, 63, 50], Operations: []
Exploring Operation: 30+2=32, Resulting Numbers: [63, 50, 32]
Generated Node #2: [63, 50, 32] from Operation: 30+2=32
Current State: 19:[63, 50, 32], Operations: ['30+2=32']
Exploring Operation: 63-50=13, Resulting Numbers: [32, 13]
Generated Node #3: [32, 13] from Operation: 63-50=13
Current State: 19:[32, 13], Operations: ['30+2=32', '63-50=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[30, 2, 63, 50], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [30, 2, 13]
Generated Node #0,0: 19:[30, 2, 13] Operation: 63-50=13
Moving to Node #0,0
Current State: 19:[30, 2, 13], Operations: ['63-50=13']
Exploring Operation: 30/2=15, Resulting Numbers: [13, 15]
Generated Node #0,0,0: 19:[13, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[13, 15], Operations: ['63-50=13', '30/2=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
47,
10,
3,
18
] | 59 |
[
"47-18=29",
"10*3=30",
"29+30=59"
] |
Current State: 59:[47, 10, 3, 18], Operations: []
Exploring Operation: 47-18=29, Resulting Numbers: [10, 3, 29]
Generated Node #2: [10, 3, 29] from Operation: 47-18=29
Current State: 59:[10, 3, 29], Operations: ['47-18=29']
Exploring Operation: 10*3=30, Resulting Numbers: [29, 30]
Generated Node #3: [29, 30] from Operation: 10*3=30
Current State: 59:[29, 30], Operations: ['47-18=29', '10*3=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[47, 10, 3, 18], Operations: []
Exploring Operation: 10*3=30, Resulting Numbers: [47, 18, 30]
Generated Node #0,0: 59:[47, 18, 30] Operation: 10*3=30
Exploring Operation: 3*18=54, Resulting Numbers: [47, 10, 54]
Generated Node #0,1: 59:[47, 10, 54] Operation: 3*18=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[47, 10, 54], Operations: ['3*18=54']
Exploring Operation: 10+54=64, Resulting Numbers: [47, 64]
Generated Node #0,1,0: 59:[47, 64] Operation: 10+54=64
Exploring Operation: 47+10=57, Resulting Numbers: [54, 57]
Generated Node #0,1,1: 59:[54, 57] Operation: 47+10=57
Moving to Node #0,1,1
Current State: 59:[54, 57], Operations: ['3*18=54', '47+10=57']
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[47, 64], Operations: ['3*18=54', '10+54=64']
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,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
Current State: 59:[47, 18, 30], Operations: ['10*3=30']
Exploring Operation: 18+30=48, Resulting Numbers: [47, 48]
Generated Node #0,0,0: 59:[47, 48] Operation: 18+30=48
Exploring Operation: 47+18=65, Resulting Numbers: [30, 65]
Generated Node #0,0,1: 59:[30, 65] Operation: 47+18=65
Moving to Node #0,0,0
Current State: 59:[47, 48], Operations: ['10*3=30', '18+30=48']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[30, 65], Operations: ['10*3=30', '47+18=65']
Exploring Operation: 30+65=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
39,
79,
88,
91
] | 37 |
[
"79-39=40",
"91-88=3",
"40-3=37"
] |
Current State: 37:[39, 79, 88, 91], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [88, 91, 40]
Generated Node #2: [88, 91, 40] from Operation: 79-39=40
Current State: 37:[88, 91, 40], Operations: ['79-39=40']
Exploring Operation: 91-88=3, Resulting Numbers: [40, 3]
Generated Node #3: [40, 3] from Operation: 91-88=3
Current State: 37:[40, 3], Operations: ['79-39=40', '91-88=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[39, 79, 88, 91], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [39, 88, 12]
Generated Node #0,0: 37:[39, 88, 12] Operation: 91-79=12
Moving to Node #0,0
Current State: 37:[39, 88, 12], Operations: ['91-79=12']
Exploring Operation: 88-39=49, Resulting Numbers: [12, 49]
Generated Node #0,0,0: 37:[12, 49] Operation: 88-39=49
Moving to Node #0,0,0
Current State: 37:[12, 49], Operations: ['91-79=12', '88-39=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[39, 79, 88, 91], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [39, 88, 12]
Generated Node #0,0: 37:[39, 88, 12] Operation: 91-79=12
Moving to Node #0,0
Current State: 37:[39, 88, 12], Operations: ['91-79=12']
Exploring Operation: 88-39=49, Resulting Numbers: [12, 49]
Generated Node #0,0,0: 37:[12, 49] Operation: 88-39=49
Moving to Node #0,0,0
Current State: 37:[12, 49], Operations: ['91-79=12', '88-39=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
48,
29,
75,
32
] | 34 |
[
"48+29=77",
"75-32=43",
"77-43=34"
] |
Current State: 34:[48, 29, 75, 32], Operations: []
Exploring Operation: 48+29=77, Resulting Numbers: [75, 32, 77]
Generated Node #2: [75, 32, 77] from Operation: 48+29=77
Current State: 34:[75, 32, 77], Operations: ['48+29=77']
Exploring Operation: 75-32=43, Resulting Numbers: [77, 43]
Generated Node #3: [77, 43] from Operation: 75-32=43
Current State: 34:[77, 43], Operations: ['48+29=77', '75-32=43']
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[48, 29, 75, 32], Operations: []
Exploring Operation: 75-29=46, Resulting Numbers: [48, 32, 46]
Generated Node #0,0: 34:[48, 32, 46] Operation: 75-29=46
Exploring Operation: 75-48=27, Resulting Numbers: [29, 32, 27]
Generated Node #0,1: 34:[29, 32, 27] Operation: 75-48=27
Moving to Node #0,1
Current State: 34:[29, 32, 27], Operations: ['75-48=27']
Exploring Operation: 29-27=2, Resulting Numbers: [32, 2]
Generated Node #0,1,0: 34:[32, 2] Operation: 29-27=2
Exploring Operation: 32-29=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 34:[27, 3] Operation: 32-29=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[32, 2], Operations: ['75-48=27', '29-27=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[48, 29, 75, 32], Operations: []
Exploring Operation: 75-48=27, Resulting Numbers: [29, 32, 27]
Generated Node #0,1: 34:[29, 32, 27] Operation: 75-48=27
Moving to Node #0,1
Current State: 34:[29, 32, 27], Operations: ['75-48=27']
Exploring Operation: 29-27=2, Resulting Numbers: [32, 2]
Generated Node #0,1,0: 34:[32, 2] Operation: 29-27=2
Moving to Node #0,1,0
Current State: 34:[32, 2], Operations: ['75-48=27', '29-27=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
88,
25,
30,
45
] | 98 |
[
"88+25=113",
"45-30=15",
"113-15=98"
] |
Current State: 98:[88, 25, 30, 45], Operations: []
Exploring Operation: 88+25=113, Resulting Numbers: [30, 45, 113]
Generated Node #2: [30, 45, 113] from Operation: 88+25=113
Current State: 98:[30, 45, 113], Operations: ['88+25=113']
Exploring Operation: 45-30=15, Resulting Numbers: [113, 15]
Generated Node #3: [113, 15] from Operation: 45-30=15
Current State: 98:[113, 15], Operations: ['88+25=113', '45-30=15']
Exploring Operation: 113-15=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[88, 25, 30, 45], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [88, 25, 15]
Generated Node #0,0: 98:[88, 25, 15] Operation: 45-30=15
Exploring Operation: 25+30=55, Resulting Numbers: [88, 45, 55]
Generated Node #0,1: 98:[88, 45, 55] Operation: 25+30=55
Exploring Operation: 88-30=58, Resulting Numbers: [25, 45, 58]
Generated Node #0,2: 98:[25, 45, 58] Operation: 88-30=58
Exploring Operation: 45-25=20, Resulting Numbers: [88, 30, 20]
Generated Node #0,3: 98:[88, 30, 20] Operation: 45-25=20
Exploring Operation: 30-25=5, Resulting Numbers: [88, 45, 5]
Generated Node #0,4: 98:[88, 45, 5] Operation: 30-25=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[88, 45, 5], Operations: ['30-25=5']
Exploring Operation: 45+5=50, Resulting Numbers: [88, 50]
Generated Node #0,4,0: 98:[88, 50] Operation: 45+5=50
Exploring Operation: 88-5=83, Resulting Numbers: [45, 83]
Generated Node #0,4,1: 98:[45, 83] Operation: 88-5=83
Exploring Operation: 88-45=43, Resulting Numbers: [5, 43]
Generated Node #0,4,2: 98:[5, 43] Operation: 88-45=43
Exploring Operation: 45/5=9, Resulting Numbers: [88, 9]
Generated Node #0,4,3: 98:[88, 9] Operation: 45/5=9
Exploring Operation: 88+5=93, Resulting Numbers: [45, 93]
Generated Node #0,4,4: 98:[45, 93] Operation: 88+5=93
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 98:[5, 43], Operations: ['30-25=5', '88-45=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,98 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,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,4,4
Current State: 98:[45, 93], Operations: ['30-25=5', '88+5=93']
Exploring Operation: 45+93=138, Resulting Numbers: [138]
138,98 unequal: No Solution
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 45*93=4185, Resulting Numbers: [4185]
4185,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,4,0
Current State: 98:[88, 50], Operations: ['30-25=5', '45+5=50']
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,98 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,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,4,3
Current State: 98:[88, 9], Operations: ['30-25=5', '45/5=9']
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 88*9=792, Resulting Numbers: [792]
792,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,4,1
Current State: 98:[45, 83], Operations: ['30-25=5', '88-5=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,98 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,98 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,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,1
Current State: 98:[88, 45, 55], Operations: ['25+30=55']
Exploring Operation: 88-55=33, Resulting Numbers: [45, 33]
Generated Node #0,1,0: 98:[45, 33] Operation: 88-55=33
Exploring Operation: 45+55=100, Resulting Numbers: [88, 100]
Generated Node #0,1,1: 98:[88, 100] Operation: 45+55=100
Exploring Operation: 88+45=133, Resulting Numbers: [55, 133]
Generated Node #0,1,2: 98:[55, 133] Operation: 88+45=133
Exploring Operation: 88-45=43, Resulting Numbers: [55, 43]
Generated Node #0,1,3: 98:[55, 43] Operation: 88-45=43
Exploring Operation: 55-45=10, Resulting Numbers: [88, 10]
Generated Node #0,1,4: 98:[88, 10] Operation: 55-45=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[88, 100], Operations: ['25+30=55', '45+55=100']
Exploring Operation: 88*100=8800, Resulting Numbers: [8800]
8800,98 unequal: No Solution
Exploring Operation: 100-88=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 88+100=188, Resulting Numbers: [188]
188,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,3
Current State: 98:[55, 43], Operations: ['25+30=55', '88-45=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[88, 25, 30, 45], Operations: []
Exploring Operation: 25+30=55, Resulting Numbers: [88, 45, 55]
Generated Node #0,1: 98:[88, 45, 55] Operation: 25+30=55
Moving to Node #0,1
Current State: 98:[88, 45, 55], Operations: ['25+30=55']
Exploring Operation: 88-45=43, Resulting Numbers: [55, 43]
Generated Node #0,1,3: 98:[55, 43] Operation: 88-45=43
Moving to Node #0,1,3
Current State: 98:[55, 43], Operations: ['25+30=55', '88-45=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 |
hs_5
|
mult_heuristic
|
[
76,
72,
3,
65
] | 47 |
[
"76+72=148",
"3*65=195",
"195-148=47"
] |
Current State: 47:[76, 72, 3, 65], Operations: []
Exploring Operation: 76+72=148, Resulting Numbers: [3, 65, 148]
Generated Node #2: [3, 65, 148] from Operation: 76+72=148
Current State: 47:[3, 65, 148], Operations: ['76+72=148']
Exploring Operation: 3*65=195, Resulting Numbers: [148, 195]
Generated Node #3: [148, 195] from Operation: 3*65=195
Current State: 47:[148, 195], Operations: ['76+72=148', '3*65=195']
Exploring Operation: 195-148=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[76, 72, 3, 65], Operations: []
Exploring Operation: 76-3=73, Resulting Numbers: [72, 65, 73]
Generated Node #0,0: 47:[72, 65, 73] Operation: 76-3=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[72, 65, 73], Operations: ['76-3=73']
Exploring Operation: 73-72=1, Resulting Numbers: [65, 1]
Generated Node #0,0,0: 47:[65, 1] Operation: 73-72=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[65, 1], Operations: ['76-3=73', '73-72=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,47 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
|
[
28,
56,
21,
50
] | 92 |
[
"56/28=2",
"21*2=42",
"50+42=92"
] |
Current State: 92:[28, 56, 21, 50], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [21, 50, 2]
Generated Node #2: [21, 50, 2] from Operation: 56/28=2
Current State: 92:[21, 50, 2], Operations: ['56/28=2']
Exploring Operation: 21*2=42, Resulting Numbers: [50, 42]
Generated Node #3: [50, 42] from Operation: 21*2=42
Current State: 92:[50, 42], Operations: ['56/28=2', '21*2=42']
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[28, 56, 21, 50], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [28, 21, 6]
Generated Node #0,0: 92:[28, 21, 6] Operation: 56-50=6
Exploring Operation: 56/28=2, Resulting Numbers: [21, 50, 2]
Generated Node #0,1: 92:[21, 50, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[21, 50, 2], Operations: ['56/28=2']
Exploring Operation: 50-2=48, Resulting Numbers: [21, 48]
Generated Node #0,1,0: 92:[21, 48] Operation: 50-2=48
Exploring Operation: 21+2=23, Resulting Numbers: [50, 23]
Generated Node #0,1,1: 92:[50, 23] Operation: 21+2=23
Moving to Node #0,1,0
Current State: 92:[21, 48], Operations: ['56/28=2', '50-2=48']
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[50, 23], Operations: ['56/28=2', '21+2=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,92 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[28, 21, 6], Operations: ['56-50=6']
Exploring Operation: 28-6=22, Resulting Numbers: [21, 22]
Generated Node #0,0,0: 92:[21, 22] Operation: 28-6=22
Exploring Operation: 28+21=49, Resulting Numbers: [6, 49]
Generated Node #0,0,1: 92:[6, 49] Operation: 28+21=49
Moving to Node #0,0,0
Current State: 92:[21, 22], Operations: ['56-50=6', '28-6=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[6, 49], Operations: ['56-50=6', '28+21=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
26,
3,
6,
7
] | 21 |
[
"26-7=19",
"6/3=2",
"19+2=21"
] |
Current State: 21:[26, 3, 6, 7], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [3, 6, 19]
Generated Node #2: [3, 6, 19] from Operation: 26-7=19
Current State: 21:[3, 6, 19], Operations: ['26-7=19']
Exploring Operation: 6/3=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 6/3=2
Current State: 21:[19, 2], Operations: ['26-7=19', '6/3=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[26, 3, 6, 7], Operations: []
Exploring Operation: 26-6=20, Resulting Numbers: [3, 7, 20]
Generated Node #0,0: 21:[3, 7, 20] Operation: 26-6=20
Exploring Operation: 6-3=3, Resulting Numbers: [26, 7, 3]
Generated Node #0,1: 21:[26, 7, 3] Operation: 6-3=3
Exploring Operation: 26-7=19, Resulting Numbers: [3, 6, 19]
Generated Node #0,2: 21:[3, 6, 19] Operation: 26-7=19
Exploring Operation: 26-3=23, Resulting Numbers: [6, 7, 23]
Generated Node #0,3: 21:[6, 7, 23] Operation: 26-3=23
Exploring Operation: 6/3=2, Resulting Numbers: [26, 7, 2]
Generated Node #0,4: 21:[26, 7, 2] Operation: 6/3=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[3, 7, 20], Operations: ['26-6=20']
Exploring Operation: 3+20=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 21:[7, 23] Operation: 3+20=23
Exploring Operation: 3+7=10, Resulting Numbers: [20, 10]
Generated Node #0,0,1: 21:[20, 10] Operation: 3+7=10
Exploring Operation: 3*7=21, Resulting Numbers: [20, 21]
Generated Node #0,0,2: 21:[20, 21] Operation: 3*7=21
Exploring Operation: 20-3=17, Resulting Numbers: [7, 17]
Generated Node #0,0,3: 21:[7, 17] Operation: 20-3=17
Exploring Operation: 7-3=4, Resulting Numbers: [20, 4]
Generated Node #0,0,4: 21:[20, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[20, 21], Operations: ['26-6=20', '3*7=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,21 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No 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: 21:[7, 23], Operations: ['26-6=20', '3+20=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,21 unequal: No Solution
No 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: 21:[20, 4], Operations: ['26-6=20', '7-3=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,21 unequal: No Solution
No 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: 21:[20, 10], Operations: ['26-6=20', '3+7=10']
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,21 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No 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: 21:[7, 17], Operations: ['26-6=20', '20-3=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,21 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,21 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: 21:[3, 6, 19], Operations: ['26-7=19']
Exploring Operation: 3+6=9, Resulting Numbers: [19, 9]
Generated Node #0,2,0: 21:[19, 9] Operation: 3+6=9
Exploring Operation: 6/3=2, Resulting Numbers: [19, 2]
Generated Node #0,2,1: 21:[19, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [19, 3]
Generated Node #0,2,2: 21:[19, 3] Operation: 6-3=3
Exploring Operation: 6+19=25, Resulting Numbers: [3, 25]
Generated Node #0,2,3: 21:[3, 25] Operation: 6+19=25
Exploring Operation: 3+19=22, Resulting Numbers: [6, 22]
Generated Node #0,2,4: 21:[6, 22] Operation: 3+19=22
Moving to Node #0,2,2
Current State: 21:[19, 3], Operations: ['26-7=19', '6-3=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Moving to Node #0,2,4
Current State: 21:[6, 22], Operations: ['26-7=19', '3+19=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[19, 2], Operations: ['26-7=19', '6/3=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[26, 3, 6, 7], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [3, 6, 19]
Generated Node #0,2: 21:[3, 6, 19] Operation: 26-7=19
Moving to Node #0,2
Current State: 21:[3, 6, 19], Operations: ['26-7=19']
Exploring Operation: 6/3=2, Resulting Numbers: [19, 2]
Generated Node #0,2,1: 21:[19, 2] Operation: 6/3=2
Moving to Node #0,2,1
Current State: 21:[19, 2], Operations: ['26-7=19', '6/3=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 |
hs_5
|
sum_heuristic
|
[
71,
88,
23,
2
] | 10 |
[
"71*2=142",
"88+142=230",
"230/23=10"
] |
Current State: 10:[71, 88, 23, 2], Operations: []
Exploring Operation: 71*2=142, Resulting Numbers: [88, 23, 142]
Generated Node #2: [88, 23, 142] from Operation: 71*2=142
Current State: 10:[88, 23, 142], Operations: ['71*2=142']
Exploring Operation: 88+142=230, Resulting Numbers: [23, 230]
Generated Node #3: [23, 230] from Operation: 88+142=230
Current State: 10:[23, 230], Operations: ['71*2=142', '88+142=230']
Exploring Operation: 230/23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[71, 88, 23, 2], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [71, 23, 44]
Generated Node #0,0: 10:[71, 23, 44] Operation: 88/2=44
Exploring Operation: 71-23=48, Resulting Numbers: [88, 2, 48]
Generated Node #0,1: 10:[88, 2, 48] Operation: 71-23=48
Exploring Operation: 88-71=17, Resulting Numbers: [23, 2, 17]
Generated Node #0,2: 10:[23, 2, 17] Operation: 88-71=17
Exploring Operation: 88-23=65, Resulting Numbers: [71, 2, 65]
Generated Node #0,3: 10:[71, 2, 65] Operation: 88-23=65
Exploring Operation: 71-2=69, Resulting Numbers: [88, 23, 69]
Generated Node #0,4: 10:[88, 23, 69] Operation: 71-2=69
Moving to Node #0,2
Current State: 10:[23, 2, 17], Operations: ['88-71=17']
Exploring Operation: 2+17=19, Resulting Numbers: [23, 19]
Generated Node #0,2,0: 10:[23, 19] Operation: 2+17=19
Exploring Operation: 23-2=21, Resulting Numbers: [17, 21]
Generated Node #0,2,1: 10:[17, 21] Operation: 23-2=21
Exploring Operation: 23-17=6, Resulting Numbers: [2, 6]
Generated Node #0,2,2: 10:[2, 6] Operation: 23-17=6
Exploring Operation: 23+2=25, Resulting Numbers: [17, 25]
Generated Node #0,2,3: 10:[17, 25] Operation: 23+2=25
Exploring Operation: 17-2=15, Resulting Numbers: [23, 15]
Generated Node #0,2,4: 10:[23, 15] Operation: 17-2=15
Moving to Node #0,0
Current State: 10:[71, 23, 44], Operations: ['88/2=44']
Exploring Operation: 71+44=115, Resulting Numbers: [23, 115]
Generated Node #0,0,0: 10:[23, 115] Operation: 71+44=115
Exploring Operation: 71-23=48, Resulting Numbers: [44, 48]
Generated Node #0,0,1: 10:[44, 48] Operation: 71-23=48
Exploring Operation: 44-23=21, Resulting Numbers: [71, 21]
Generated Node #0,0,2: 10:[71, 21] Operation: 44-23=21
Exploring Operation: 71-44=27, Resulting Numbers: [23, 27]
Generated Node #0,0,3: 10:[23, 27] Operation: 71-44=27
Exploring Operation: 71+23=94, Resulting Numbers: [44, 94]
Generated Node #0,0,4: 10:[44, 94] Operation: 71+23=94
Moving to Node #0,1
Current State: 10:[88, 2, 48], Operations: ['71-23=48']
Exploring Operation: 88-48=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 10:[2, 40] Operation: 88-48=40
Exploring Operation: 88/2=44, Resulting Numbers: [48, 44]
Generated Node #0,1,1: 10:[48, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [48, 86]
Generated Node #0,1,2: 10:[48, 86] Operation: 88-2=86
Exploring Operation: 48-2=46, Resulting Numbers: [88, 46]
Generated Node #0,1,3: 10:[88, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [88, 24]
Generated Node #0,1,4: 10:[88, 24] Operation: 48/2=24
Moving to Node #0,3
Current State: 10:[71, 2, 65], Operations: ['88-23=65']
Exploring Operation: 2+65=67, Resulting Numbers: [71, 67]
Generated Node #0,3,0: 10:[71, 67] Operation: 2+65=67
Exploring Operation: 71+2=73, Resulting Numbers: [65, 73]
Generated Node #0,3,1: 10:[65, 73] Operation: 71+2=73
Exploring Operation: 65-2=63, Resulting Numbers: [71, 63]
Generated Node #0,3,2: 10:[71, 63] Operation: 65-2=63
Exploring Operation: 71-2=69, Resulting Numbers: [65, 69]
Generated Node #0,3,3: 10:[65, 69] Operation: 71-2=69
Exploring Operation: 71-65=6, Resulting Numbers: [2, 6]
Generated Node #0,3,4: 10:[2, 6] Operation: 71-65=6
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[2, 6], Operations: ['88-23=65', '71-65=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[71, 63], Operations: ['88-23=65', '65-2=63']
Exploring Operation: 71+63=134, Resulting Numbers: [134]
134,10 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 71*63=4473, Resulting Numbers: [4473]
4473,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[65, 69], Operations: ['88-23=65', '71-2=69']
Exploring Operation: 65*69=4485, Resulting Numbers: [4485]
4485,10 unequal: No Solution
Exploring Operation: 65+69=134, Resulting Numbers: [134]
134,10 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[71, 67], Operations: ['88-23=65', '2+65=67']
Exploring Operation: 71+67=138, Resulting Numbers: [138]
138,10 unequal: No Solution
Exploring Operation: 71*67=4757, Resulting Numbers: [4757]
4757,10 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[65, 73], Operations: ['88-23=65', '71+2=73']
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 65*73=4745, Resulting Numbers: [4745]
4745,10 unequal: No Solution
Exploring Operation: 65+73=138, Resulting Numbers: [138]
138,10 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: 10:[88, 23, 69], Operations: ['71-2=69']
Exploring Operation: 88+23=111, Resulting Numbers: [69, 111]
Generated Node #0,4,0: 10:[69, 111] Operation: 88+23=111
Exploring Operation: 88-69=19, Resulting Numbers: [23, 19]
Generated Node #0,4,1: 10:[23, 19] Operation: 88-69=19
Exploring Operation: 69/23=3, Resulting Numbers: [88, 3]
Generated Node #0,4,2: 10:[88, 3] Operation: 69/23=3
Exploring Operation: 88-23=65, Resulting Numbers: [69, 65]
Generated Node #0,4,3: 10:[69, 65] Operation: 88-23=65
Exploring Operation: 69-23=46, Resulting Numbers: [88, 46]
Generated Node #0,4,4: 10:[88, 46] Operation: 69-23=46
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[23, 19], Operations: ['71-2=69', '88-69=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,10 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 10:[88, 3], Operations: ['71-2=69', '69/23=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 10:[69, 65], Operations: ['71-2=69', '88-23=65']
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,10 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[88, 46], Operations: ['71-2=69', '69-23=46']
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,10 unequal: No Solution
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 10:[69, 111], Operations: ['71-2=69', '88+23=111']
Exploring Operation: 111-69=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 69+111=180, Resulting Numbers: [180]
180,10 unequal: No Solution
Exploring Operation: 69*111=7659, Resulting Numbers: [7659]
7659,10 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: 10:[2, 6], Operations: ['88-71=17', '23-17=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[23, 15], Operations: ['88-71=17', '17-2=15']
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,10 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[17, 21], Operations: ['88-71=17', '23-2=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,10 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[17, 25], Operations: ['88-71=17', '23+2=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,10 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[23, 19], Operations: ['88-71=17', '2+17=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[23, 27], Operations: ['88/2=44', '71-44=27']
Exploring Operation: 23*27=621, Resulting Numbers: [621]
621,10 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[2, 40], Operations: ['71-23=48', '88-48=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[44, 48], Operations: ['88/2=44', '71-23=48']
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,10 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,10 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[48, 44], Operations: ['71-23=48', '88/2=44']
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,10 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[71, 21], Operations: ['88/2=44', '44-23=21']
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,10 unequal: No Solution
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,10 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[88, 24], Operations: ['71-23=48', '48/2=24']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 88+24=112, Resulting Numbers: [112]
112,10 unequal: No Solution
Exploring Operation: 88*24=2112, Resulting Numbers: [2112]
2112,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[88, 46], Operations: ['71-23=48', '48-2=46']
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,10 unequal: No Solution
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,10 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[48, 86], Operations: ['71-23=48', '88-2=86']
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 48+86=134, Resulting Numbers: [134]
134,10 unequal: No Solution
Exploring Operation: 48*86=4128, Resulting Numbers: [4128]
4128,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[44, 94], Operations: ['88/2=44', '71+23=94']
Exploring Operation: 44+94=138, Resulting Numbers: [138]
138,10 unequal: No Solution
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 44*94=4136, Resulting Numbers: [4136]
4136,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[23, 115], Operations: ['88/2=44', '71+44=115']
Exploring Operation: 115-23=92, Resulting Numbers: [92]
92,10 unequal: No Solution
Exploring Operation: 115/23=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 23*115=2645, Resulting Numbers: [2645]
2645,10 unequal: No Solution
Exploring Operation: 23+115=138, Resulting Numbers: [138]
138,10 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
18,
50,
5,
13
] | 76 |
[
"18+50=68",
"13-5=8",
"68+8=76"
] |
Current State: 76:[18, 50, 5, 13], Operations: []
Exploring Operation: 18+50=68, Resulting Numbers: [5, 13, 68]
Generated Node #2: [5, 13, 68] from Operation: 18+50=68
Current State: 76:[5, 13, 68], Operations: ['18+50=68']
Exploring Operation: 13-5=8, Resulting Numbers: [68, 8]
Generated Node #3: [68, 8] from Operation: 13-5=8
Current State: 76:[68, 8], Operations: ['18+50=68', '13-5=8']
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[18, 50, 5, 13], Operations: []
Exploring Operation: 50-13=37, Resulting Numbers: [18, 5, 37]
Generated Node #0,0: 76:[18, 5, 37] Operation: 50-13=37
Exploring Operation: 50-18=32, Resulting Numbers: [5, 13, 32]
Generated Node #0,1: 76:[5, 13, 32] Operation: 50-18=32
Moving to Node #0,0
Current State: 76:[18, 5, 37], Operations: ['50-13=37']
Exploring Operation: 18+5=23, Resulting Numbers: [37, 23]
Generated Node #0,0,0: 76:[37, 23] Operation: 18+5=23
Exploring Operation: 37-18=19, Resulting Numbers: [5, 19]
Generated Node #0,0,1: 76:[5, 19] Operation: 37-18=19
Moving to Node #0,1
Current State: 76:[5, 13, 32], Operations: ['50-18=32']
Exploring Operation: 5+13=18, Resulting Numbers: [32, 18]
Generated Node #0,1,0: 76:[32, 18] Operation: 5+13=18
Exploring Operation: 32-13=19, Resulting Numbers: [5, 19]
Generated Node #0,1,1: 76:[5, 19] Operation: 32-13=19
Moving to Node #0,0,1
Current State: 76:[5, 19], Operations: ['50-13=37', '37-18=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[5, 19], Operations: ['50-18=32', '32-13=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[37, 23], Operations: ['50-13=37', '18+5=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[32, 18], Operations: ['50-18=32', '5+13=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,76 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
24,
21,
51,
40
] | 46 |
[
"24+21=45",
"51+40=91",
"91-45=46"
] |
Current State: 46:[24, 21, 51, 40], Operations: []
Exploring Operation: 24+21=45, Resulting Numbers: [51, 40, 45]
Generated Node #2: [51, 40, 45] from Operation: 24+21=45
Current State: 46:[51, 40, 45], Operations: ['24+21=45']
Exploring Operation: 51+40=91, Resulting Numbers: [45, 91]
Generated Node #3: [45, 91] from Operation: 51+40=91
Current State: 46:[45, 91], Operations: ['24+21=45', '51+40=91']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[24, 21, 51, 40], Operations: []
Exploring Operation: 40-21=19, Resulting Numbers: [24, 51, 19]
Generated Node #0,0: 46:[24, 51, 19] Operation: 40-21=19
Moving to Node #0,0
Current State: 46:[24, 51, 19], Operations: ['40-21=19']
Exploring Operation: 51-24=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 46:[19, 27] Operation: 51-24=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[19, 27], Operations: ['40-21=19', '51-24=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[24, 21, 51, 40], Operations: []
Exploring Operation: 40-21=19, Resulting Numbers: [24, 51, 19]
Generated Node #0,0: 46:[24, 51, 19] Operation: 40-21=19
Moving to Node #0,0
Current State: 46:[24, 51, 19], Operations: ['40-21=19']
Exploring Operation: 51-24=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 46:[19, 27] Operation: 51-24=27
Moving to Node #0,0,0
Current State: 46:[19, 27], Operations: ['40-21=19', '51-24=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
2,
37,
2,
55
] | 36 |
[
"2*37=74",
"2*55=110",
"110-74=36"
] |
Current State: 36:[2, 37, 2, 55], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [55, 74]
Generated Node #2: [55, 74] from Operation: 2*37=74
Current State: 36:[55, 74], Operations: ['2*37=74']
Exploring Operation: 2*55=110, Resulting Numbers: [74, 110]
Generated Node #3: [74, 110] from Operation: 2*55=110
Current State: 36:[74, 110], Operations: ['2*37=74', '2*55=110']
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[2, 37, 2, 55], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [37, 2, 53]
Generated Node #0,0: 36:[37, 2, 53] Operation: 55-2=53
Exploring Operation: 55-37=18, Resulting Numbers: [2, 2, 18]
Generated Node #0,1: 36:[2, 2, 18] Operation: 55-37=18
Exploring Operation: 55-2=53, Resulting Numbers: [2, 37, 53]
Generated Node #0,2: 36:[2, 37, 53] Operation: 55-2=53
Moving to Node #0,1
Current State: 36:[2, 2, 18], Operations: ['55-37=18']
Exploring Operation: 2+2=4, Resulting Numbers: [18, 4]
Generated Node #0,1,0: 36:[18, 4] Operation: 2+2=4
Exploring Operation: 2*18=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 36:[2, 36] Operation: 2*18=36
Exploring Operation: 2*2=4, Resulting Numbers: [18, 4]
Generated Node #0,1,2: 36:[18, 4] Operation: 2*2=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[18, 4], Operations: ['55-37=18', '2+2=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[2, 36], Operations: ['55-37=18', '2*18=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[18, 4], Operations: ['55-37=18', '2*2=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,36 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: 36:[37, 2, 53], Operations: ['55-2=53']
Exploring Operation: 53-37=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 36:[2, 16] Operation: 53-37=16
Exploring Operation: 53-2=51, Resulting Numbers: [37, 51]
Generated Node #0,0,1: 36:[37, 51] Operation: 53-2=51
Exploring Operation: 37-2=35, Resulting Numbers: [53, 35]
Generated Node #0,0,2: 36:[53, 35] Operation: 37-2=35
Moving to Node #0,2
Current State: 36:[2, 37, 53], Operations: ['55-2=53']
Exploring Operation: 53-37=16, Resulting Numbers: [2, 16]
Generated Node #0,2,0: 36:[2, 16] Operation: 53-37=16
Exploring Operation: 53-2=51, Resulting Numbers: [37, 51]
Generated Node #0,2,1: 36:[37, 51] Operation: 53-2=51
Exploring Operation: 37-2=35, Resulting Numbers: [53, 35]
Generated Node #0,2,2: 36:[53, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[2, 16], Operations: ['55-2=53', '53-37=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[37, 51], Operations: ['55-2=53', '53-2=51']
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,36 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[53, 35], Operations: ['55-2=53', '37-2=35']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,36 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: 36:[2, 16], Operations: ['55-2=53', '53-37=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[37, 51], Operations: ['55-2=53', '53-2=51']
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,36 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[53, 35], Operations: ['55-2=53', '37-2=35']
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,36 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,36 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
46,
5,
55,
20
] | 61 |
[
"55+20=75",
"75/5=15",
"46+15=61"
] |
Current State: 61:[46, 5, 55, 20], Operations: []
Exploring Operation: 55+20=75, Resulting Numbers: [46, 5, 75]
Generated Node #2: [46, 5, 75] from Operation: 55+20=75
Current State: 61:[46, 5, 75], Operations: ['55+20=75']
Exploring Operation: 75/5=15, Resulting Numbers: [46, 15]
Generated Node #3: [46, 15] from Operation: 75/5=15
Current State: 61:[46, 15], Operations: ['55+20=75', '75/5=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[46, 5, 55, 20], Operations: []
Exploring Operation: 46-5=41, Resulting Numbers: [55, 20, 41]
Generated Node #0,0: 61:[55, 20, 41] Operation: 46-5=41
Exploring Operation: 5+20=25, Resulting Numbers: [46, 55, 25]
Generated Node #0,1: 61:[46, 55, 25] Operation: 5+20=25
Exploring Operation: 5+55=60, Resulting Numbers: [46, 20, 60]
Generated Node #0,2: 61:[46, 20, 60] Operation: 5+55=60
Exploring Operation: 5*20=100, Resulting Numbers: [46, 55, 100]
Generated Node #0,3: 61:[46, 55, 100] Operation: 5*20=100
Exploring Operation: 46+5=51, Resulting Numbers: [55, 20, 51]
Generated Node #0,4: 61:[55, 20, 51] Operation: 46+5=51
Moving to Node #0,1
Current State: 61:[46, 55, 25], Operations: ['5+20=25']
Exploring Operation: 46-25=21, Resulting Numbers: [55, 21]
Generated Node #0,1,0: 61:[55, 21] Operation: 46-25=21
Exploring Operation: 46+55=101, Resulting Numbers: [25, 101]
Generated Node #0,1,1: 61:[25, 101] Operation: 46+55=101
Exploring Operation: 55+25=80, Resulting Numbers: [46, 80]
Generated Node #0,1,2: 61:[46, 80] Operation: 55+25=80
Exploring Operation: 55-25=30, Resulting Numbers: [46, 30]
Generated Node #0,1,3: 61:[46, 30] Operation: 55-25=30
Exploring Operation: 46+25=71, Resulting Numbers: [55, 71]
Generated Node #0,1,4: 61:[55, 71] Operation: 46+25=71
Moving to Node #0,4
Current State: 61:[55, 20, 51], Operations: ['46+5=51']
Exploring Operation: 55+20=75, Resulting Numbers: [51, 75]
Generated Node #0,4,0: 61:[51, 75] Operation: 55+20=75
Exploring Operation: 51-20=31, Resulting Numbers: [55, 31]
Generated Node #0,4,1: 61:[55, 31] Operation: 51-20=31
Exploring Operation: 20+51=71, Resulting Numbers: [55, 71]
Generated Node #0,4,2: 61:[55, 71] Operation: 20+51=71
Exploring Operation: 55+51=106, Resulting Numbers: [20, 106]
Generated Node #0,4,3: 61:[20, 106] Operation: 55+51=106
Exploring Operation: 55-20=35, Resulting Numbers: [51, 35]
Generated Node #0,4,4: 61:[51, 35] Operation: 55-20=35
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 61:[55, 71], Operations: ['46+5=51', '20+51=71']
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,61 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,61 unequal: No Solution
No 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: 61:[51, 75], Operations: ['46+5=51', '55+20=75']
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,61 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,61 unequal: No Solution
No 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: 61:[55, 31], Operations: ['46+5=51', '51-20=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,61 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No 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: 61:[51, 35], Operations: ['46+5=51', '55-20=35']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,61 unequal: No Solution
No 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: 61:[20, 106], Operations: ['46+5=51', '55+51=106']
Exploring Operation: 106-20=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 20*106=2120, Resulting Numbers: [2120]
2120,61 unequal: No Solution
Exploring Operation: 20+106=126, Resulting Numbers: [126]
126,61 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: 61:[46, 20, 60], Operations: ['5+55=60']
Exploring Operation: 60/20=3, Resulting Numbers: [46, 3]
Generated Node #0,2,0: 61:[46, 3] Operation: 60/20=3
Exploring Operation: 20+60=80, Resulting Numbers: [46, 80]
Generated Node #0,2,1: 61:[46, 80] Operation: 20+60=80
Exploring Operation: 60-20=40, Resulting Numbers: [46, 40]
Generated Node #0,2,2: 61:[46, 40] Operation: 60-20=40
Exploring Operation: 46-20=26, Resulting Numbers: [60, 26]
Generated Node #0,2,3: 61:[60, 26] Operation: 46-20=26
Exploring Operation: 46+20=66, Resulting Numbers: [60, 66]
Generated Node #0,2,4: 61:[60, 66] Operation: 46+20=66
Moving to Node #0,3
Current State: 61:[46, 55, 100], Operations: ['5*20=100']
Exploring Operation: 46+55=101, Resulting Numbers: [100, 101]
Generated Node #0,3,0: 61:[100, 101] Operation: 46+55=101
Exploring Operation: 100-46=54, Resulting Numbers: [55, 54]
Generated Node #0,3,1: 61:[55, 54] Operation: 100-46=54
Exploring Operation: 46+100=146, Resulting Numbers: [55, 146]
Generated Node #0,3,2: 61:[55, 146] Operation: 46+100=146
Exploring Operation: 100-55=45, Resulting Numbers: [46, 45]
Generated Node #0,3,3: 61:[46, 45] Operation: 100-55=45
Exploring Operation: 55-46=9, Resulting Numbers: [100, 9]
Generated Node #0,3,4: 61:[100, 9] Operation: 55-46=9
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[55, 54], Operations: ['5*20=100', '100-46=54']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,61 unequal: No Solution
No 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: 61:[46, 45], Operations: ['5*20=100', '100-55=45']
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,61 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No 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: 61:[100, 101], Operations: ['5*20=100', '46+55=101']
Exploring Operation: 101-100=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 100+101=201, Resulting Numbers: [201]
201,61 unequal: No Solution
Exploring Operation: 100*101=10100, Resulting Numbers: [10100]
10100,61 unequal: No Solution
No 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: 61:[55, 146], Operations: ['5*20=100', '46+100=146']
Exploring Operation: 146-55=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 55+146=201, Resulting Numbers: [201]
201,61 unequal: No Solution
Exploring Operation: 55*146=8030, Resulting Numbers: [8030]
8030,61 unequal: No Solution
No 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: 61:[100, 9], Operations: ['5*20=100', '55-46=9']
Exploring Operation: 100*9=900, Resulting Numbers: [900]
900,61 unequal: No Solution
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 100+9=109, Resulting Numbers: [109]
109,61 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: 61:[55, 20, 41], Operations: ['46-5=41']
Exploring Operation: 55+41=96, Resulting Numbers: [20, 96]
Generated Node #0,0,0: 61:[20, 96] Operation: 55+41=96
Exploring Operation: 41-20=21, Resulting Numbers: [55, 21]
Generated Node #0,0,1: 61:[55, 21] Operation: 41-20=21
Exploring Operation: 55-20=35, Resulting Numbers: [41, 35]
Generated Node #0,0,2: 61:[41, 35] Operation: 55-20=35
Exploring Operation: 20+41=61, Resulting Numbers: [55, 61]
Generated Node #0,0,3: 61:[55, 61] Operation: 20+41=61
Exploring Operation: 55+20=75, Resulting Numbers: [41, 75]
Generated Node #0,0,4: 61:[41, 75] Operation: 55+20=75
Moving to Node #0,2,4
Current State: 61:[60, 66], Operations: ['5+55=60', '46+20=66']
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,61 unequal: No Solution
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[55, 61], Operations: ['46-5=41', '20+41=61']
Exploring Operation: 55+61=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 55*61=3355, Resulting Numbers: [3355]
3355,61 unequal: No Solution
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[55, 71], Operations: ['5+20=25', '46+25=71']
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,61 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,61 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[46, 80], Operations: ['5+55=60', '20+60=80']
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,61 unequal: No Solution
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[41, 75], Operations: ['46-5=41', '55+20=75']
Exploring Operation: 41*75=3075, Resulting Numbers: [3075]
3075,61 unequal: No Solution
Exploring Operation: 41+75=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[46, 80], Operations: ['5+20=25', '55+25=80']
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,61 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[46, 40], Operations: ['5+55=60', '60-20=40']
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,61 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[60, 26], Operations: ['5+55=60', '46-20=26']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 60*26=1560, Resulting Numbers: [1560]
1560,61 unequal: No Solution
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[41, 35], Operations: ['46-5=41', '55-20=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,61 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[55, 21], Operations: ['46-5=41', '41-20=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,61 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[55, 21], Operations: ['5+20=25', '46-25=21']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,61 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[46, 30], Operations: ['5+20=25', '55-25=30']
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[46, 3], Operations: ['5+55=60', '60/20=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,61 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[25, 101], Operations: ['5+20=25', '46+55=101']
Exploring Operation: 25+101=126, Resulting Numbers: [126]
126,61 unequal: No Solution
Exploring Operation: 25*101=2525, Resulting Numbers: [2525]
2525,61 unequal: No Solution
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[20, 96], Operations: ['46-5=41', '55+41=96']
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,61 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
92,
84,
93,
7
] | 92 |
[
"92-84=8",
"93+7=100",
"100-8=92"
] |
Current State: 92:[92, 84, 93, 7], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [93, 7, 8]
Generated Node #2: [93, 7, 8] from Operation: 92-84=8
Current State: 92:[93, 7, 8], Operations: ['92-84=8']
Exploring Operation: 93+7=100, Resulting Numbers: [8, 100]
Generated Node #3: [8, 100] from Operation: 93+7=100
Current State: 92:[8, 100], Operations: ['92-84=8', '93+7=100']
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[92, 84, 93, 7], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [92, 93, 12]
Generated Node #0,0: 92:[92, 93, 12] Operation: 84/7=12
Exploring Operation: 92-84=8, Resulting Numbers: [93, 7, 8]
Generated Node #0,1: 92:[93, 7, 8] Operation: 92-84=8
Exploring Operation: 93-84=9, Resulting Numbers: [92, 7, 9]
Generated Node #0,2: 92:[92, 7, 9] Operation: 93-84=9
Exploring Operation: 93-92=1, Resulting Numbers: [84, 7, 1]
Generated Node #0,3: 92:[84, 7, 1] Operation: 93-92=1
Exploring Operation: 84+7=91, Resulting Numbers: [92, 93, 91]
Generated Node #0,4: 92:[92, 93, 91] Operation: 84+7=91
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[92, 93, 91], Operations: ['84+7=91']
Exploring Operation: 92-91=1, Resulting Numbers: [93, 1]
Generated Node #0,4,0: 92:[93, 1] Operation: 92-91=1
Exploring Operation: 93-91=2, Resulting Numbers: [92, 2]
Generated Node #0,4,1: 92:[92, 2] Operation: 93-91=2
Exploring Operation: 92+91=183, Resulting Numbers: [93, 183]
Generated Node #0,4,2: 92:[93, 183] Operation: 92+91=183
Exploring Operation: 93-92=1, Resulting Numbers: [91, 1]
Generated Node #0,4,3: 92:[91, 1] Operation: 93-92=1
Exploring Operation: 93+91=184, Resulting Numbers: [92, 184]
Generated Node #0,4,4: 92:[92, 184] Operation: 93+91=184
Moving to Node #0,4,1
Current State: 92:[92, 2], Operations: ['84+7=91', '93-91=2']
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,92 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[91, 1], Operations: ['84+7=91', '93-92=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[92, 84, 93, 7], Operations: []
Exploring Operation: 84+7=91, Resulting Numbers: [92, 93, 91]
Generated Node #0,4: 92:[92, 93, 91] Operation: 84+7=91
Moving to Node #0,4
Current State: 92:[92, 93, 91], Operations: ['84+7=91']
Exploring Operation: 93-92=1, Resulting Numbers: [91, 1]
Generated Node #0,4,3: 92:[91, 1] Operation: 93-92=1
Moving to Node #0,4,3
Current State: 92:[91, 1], Operations: ['84+7=91', '93-92=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
mult_heuristic
|
[
9,
86,
34,
13
] | 15 |
[
"9+34=43",
"86/43=2",
"13+2=15"
] |
Current State: 15:[9, 86, 34, 13], Operations: []
Exploring Operation: 9+34=43, Resulting Numbers: [86, 13, 43]
Generated Node #2: [86, 13, 43] from Operation: 9+34=43
Current State: 15:[86, 13, 43], Operations: ['9+34=43']
Exploring Operation: 86/43=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 86/43=2
Current State: 15:[13, 2], Operations: ['9+34=43', '86/43=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[9, 86, 34, 13], Operations: []
Exploring Operation: 86-13=73, Resulting Numbers: [9, 34, 73]
Generated Node #0,0: 15:[9, 34, 73] Operation: 86-13=73
Exploring Operation: 86-34=52, Resulting Numbers: [9, 13, 52]
Generated Node #0,1: 15:[9, 13, 52] Operation: 86-34=52
Exploring Operation: 86-9=77, Resulting Numbers: [34, 13, 77]
Generated Node #0,2: 15:[34, 13, 77] Operation: 86-9=77
Exploring Operation: 34-9=25, Resulting Numbers: [86, 13, 25]
Generated Node #0,3: 15:[86, 13, 25] Operation: 34-9=25
Exploring Operation: 34-13=21, Resulting Numbers: [9, 86, 21]
Generated Node #0,4: 15:[9, 86, 21] Operation: 34-13=21
Moving to Node #0,1
Current State: 15:[9, 13, 52], Operations: ['86-34=52']
Exploring Operation: 9+13=22, Resulting Numbers: [52, 22]
Generated Node #0,1,0: 15:[52, 22] Operation: 9+13=22
Exploring Operation: 13-9=4, Resulting Numbers: [52, 4]
Generated Node #0,1,1: 15:[52, 4] Operation: 13-9=4
Exploring Operation: 52-9=43, Resulting Numbers: [13, 43]
Generated Node #0,1,2: 15:[13, 43] Operation: 52-9=43
Exploring Operation: 52-13=39, Resulting Numbers: [9, 39]
Generated Node #0,1,3: 15:[9, 39] Operation: 52-13=39
Exploring Operation: 52/13=4, Resulting Numbers: [9, 4]
Generated Node #0,1,4: 15:[9, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 15:[9, 4], Operations: ['86-34=52', '52/13=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No 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: 15:[9, 39], Operations: ['86-34=52', '52-13=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,15 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,15 unequal: No Solution
No 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: 15:[13, 43], Operations: ['86-34=52', '52-9=43']
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,15 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,15 unequal: No Solution
No 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: 15:[52, 4], Operations: ['86-34=52', '13-9=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,15 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,15 unequal: No Solution
No 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: 15:[52, 22], Operations: ['86-34=52', '9+13=22']
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,15 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,15 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: 15:[9, 86, 21], Operations: ['34-13=21']
Exploring Operation: 86-9=77, Resulting Numbers: [21, 77]
Generated Node #0,4,0: 15:[21, 77] Operation: 86-9=77
Exploring Operation: 9+21=30, Resulting Numbers: [86, 30]
Generated Node #0,4,1: 15:[86, 30] Operation: 9+21=30
Exploring Operation: 21-9=12, Resulting Numbers: [86, 12]
Generated Node #0,4,2: 15:[86, 12] Operation: 21-9=12
Exploring Operation: 86-21=65, Resulting Numbers: [9, 65]
Generated Node #0,4,3: 15:[9, 65] Operation: 86-21=65
Exploring Operation: 9+86=95, Resulting Numbers: [21, 95]
Generated Node #0,4,4: 15:[21, 95] Operation: 9+86=95
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 15:[9, 65], Operations: ['34-13=21', '86-21=65']
Exploring Operation: 9+65=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 9*65=585, Resulting Numbers: [585]
585,15 unequal: No Solution
No 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: 15:[21, 77], Operations: ['34-13=21', '86-9=77']
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 21*77=1617, Resulting Numbers: [1617]
1617,15 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,15 unequal: No Solution
No 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: 15:[86, 12], Operations: ['34-13=21', '21-9=12']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,15 unequal: No Solution
No 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: 15:[86, 30], Operations: ['34-13=21', '9+21=30']
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 86+30=116, Resulting Numbers: [116]
116,15 unequal: No Solution
Exploring Operation: 86*30=2580, Resulting Numbers: [2580]
2580,15 unequal: No Solution
No 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: 15:[21, 95], Operations: ['34-13=21', '9+86=95']
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 21*95=1995, Resulting Numbers: [1995]
1995,15 unequal: No Solution
Exploring Operation: 21+95=116, Resulting Numbers: [116]
116,15 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: 15:[9, 34, 73], Operations: ['86-13=73']
Exploring Operation: 9+34=43, Resulting Numbers: [73, 43]
Generated Node #0,0,0: 15:[73, 43] Operation: 9+34=43
Exploring Operation: 34-9=25, Resulting Numbers: [73, 25]
Generated Node #0,0,1: 15:[73, 25] Operation: 34-9=25
Exploring Operation: 73-9=64, Resulting Numbers: [34, 64]
Generated Node #0,0,2: 15:[34, 64] Operation: 73-9=64
Exploring Operation: 9+73=82, Resulting Numbers: [34, 82]
Generated Node #0,0,3: 15:[34, 82] Operation: 9+73=82
Exploring Operation: 73-34=39, Resulting Numbers: [9, 39]
Generated Node #0,0,4: 15:[9, 39] Operation: 73-34=39
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 15:[9, 39], Operations: ['86-13=73', '73-34=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,15 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,15 unequal: No Solution
No 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: 15:[73, 25], Operations: ['86-13=73', '34-9=25']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,15 unequal: No Solution
No 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: 15:[34, 64], Operations: ['86-13=73', '73-9=64']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 34*64=2176, Resulting Numbers: [2176]
2176,15 unequal: No Solution
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,15 unequal: No Solution
No 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: 15:[73, 43], Operations: ['86-13=73', '9+34=43']
Exploring Operation: 73+43=116, Resulting Numbers: [116]
116,15 unequal: No Solution
Exploring Operation: 73*43=3139, Resulting Numbers: [3139]
3139,15 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,15 unequal: No Solution
No 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: 15:[34, 82], Operations: ['86-13=73', '9+73=82']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,15 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,15 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: 15:[34, 13, 77], Operations: ['86-9=77']
Exploring Operation: 77-13=64, Resulting Numbers: [34, 64]
Generated Node #0,2,0: 15:[34, 64] Operation: 77-13=64
Exploring Operation: 13+77=90, Resulting Numbers: [34, 90]
Generated Node #0,2,1: 15:[34, 90] Operation: 13+77=90
Exploring Operation: 34-13=21, Resulting Numbers: [77, 21]
Generated Node #0,2,2: 15:[77, 21] Operation: 34-13=21
Exploring Operation: 34+13=47, Resulting Numbers: [77, 47]
Generated Node #0,2,3: 15:[77, 47] Operation: 34+13=47
Exploring Operation: 77-34=43, Resulting Numbers: [13, 43]
Generated Node #0,2,4: 15:[13, 43] Operation: 77-34=43
Moving to Node #0,3
Current State: 15:[86, 13, 25], Operations: ['34-9=25']
Exploring Operation: 25-13=12, Resulting Numbers: [86, 12]
Generated Node #0,3,0: 15:[86, 12] Operation: 25-13=12
Exploring Operation: 13+25=38, Resulting Numbers: [86, 38]
Generated Node #0,3,1: 15:[86, 38] Operation: 13+25=38
Exploring Operation: 86+13=99, Resulting Numbers: [25, 99]
Generated Node #0,3,2: 15:[25, 99] Operation: 86+13=99
Exploring Operation: 86-13=73, Resulting Numbers: [25, 73]
Generated Node #0,3,3: 15:[25, 73] Operation: 86-13=73
Exploring Operation: 86-25=61, Resulting Numbers: [13, 61]
Generated Node #0,3,4: 15:[13, 61] Operation: 86-25=61
Moving to Node #0,2,4
Current State: 15:[13, 43], Operations: ['86-9=77', '77-34=43']
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,15 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Moving to Node #0,3,4
Current State: 15:[13, 61], Operations: ['34-9=25', '86-25=61']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 13*61=793, Resulting Numbers: [793]
793,15 unequal: No Solution
Exploring Operation: 13+61=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[25, 73], Operations: ['34-9=25', '86-13=73']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 25+73=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 25*73=1825, Resulting Numbers: [1825]
1825,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[77, 21], Operations: ['86-9=77', '34-13=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,15 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[34, 64], Operations: ['86-9=77', '77-13=64']
Exploring Operation: 34*64=2176, Resulting Numbers: [2176]
2176,15 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[86, 12], Operations: ['34-9=25', '25-13=12']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,15 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[25, 99], Operations: ['34-9=25', '86+13=99']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 25*99=2475, Resulting Numbers: [2475]
2475,15 unequal: No Solution
Exploring Operation: 25+99=124, Resulting Numbers: [124]
124,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[86, 38], Operations: ['34-9=25', '13+25=38']
Exploring Operation: 86+38=124, Resulting Numbers: [124]
124,15 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 86*38=3268, Resulting Numbers: [3268]
3268,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[77, 47], Operations: ['86-9=77', '34+13=47']
Exploring Operation: 77*47=3619, Resulting Numbers: [3619]
3619,15 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 77+47=124, Resulting Numbers: [124]
124,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[34, 90], Operations: ['86-9=77', '13+77=90']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 34*90=3060, Resulting Numbers: [3060]
3060,15 unequal: No Solution
Exploring Operation: 34+90=124, Resulting Numbers: [124]
124,15 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
6,
10,
9,
74
] | 56 |
[
"10+74=84",
"6*84=504",
"504/9=56"
] |
Current State: 56:[6, 10, 9, 74], Operations: []
Exploring Operation: 10+74=84, Resulting Numbers: [6, 9, 84]
Generated Node #2: [6, 9, 84] from Operation: 10+74=84
Current State: 56:[6, 9, 84], Operations: ['10+74=84']
Exploring Operation: 6*84=504, Resulting Numbers: [9, 504]
Generated Node #3: [9, 504] from Operation: 6*84=504
Current State: 56:[9, 504], Operations: ['10+74=84', '6*84=504']
Exploring Operation: 504/9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[6, 10, 9, 74], Operations: []
Exploring Operation: 74-9=65, Resulting Numbers: [6, 10, 65]
Generated Node #0,0: 56:[6, 10, 65] Operation: 74-9=65
Exploring Operation: 74-6=68, Resulting Numbers: [10, 9, 68]
Generated Node #0,1: 56:[10, 9, 68] Operation: 74-6=68
Exploring Operation: 74-10=64, Resulting Numbers: [6, 9, 64]
Generated Node #0,2: 56:[6, 9, 64] Operation: 74-10=64
Exploring Operation: 10-6=4, Resulting Numbers: [9, 74, 4]
Generated Node #0,3: 56:[9, 74, 4] Operation: 10-6=4
Moving to Node #0,2
Current State: 56:[6, 9, 64], Operations: ['74-10=64']
Exploring Operation: 64-9=55, Resulting Numbers: [6, 55]
Generated Node #0,2,0: 56:[6, 55] Operation: 64-9=55
Exploring Operation: 9-6=3, Resulting Numbers: [64, 3]
Generated Node #0,2,1: 56:[64, 3] Operation: 9-6=3
Exploring Operation: 6+9=15, Resulting Numbers: [64, 15]
Generated Node #0,2,2: 56:[64, 15] Operation: 6+9=15
Exploring Operation: 64-6=58, Resulting Numbers: [9, 58]
Generated Node #0,2,3: 56:[9, 58] Operation: 64-6=58
Moving to Node #0,0
Current State: 56:[6, 10, 65], Operations: ['74-9=65']
Exploring Operation: 10-6=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 56:[65, 4] Operation: 10-6=4
Exploring Operation: 65-6=59, Resulting Numbers: [10, 59]
Generated Node #0,0,1: 56:[10, 59] Operation: 65-6=59
Exploring Operation: 6+10=16, Resulting Numbers: [65, 16]
Generated Node #0,0,2: 56:[65, 16] Operation: 6+10=16
Exploring Operation: 65-10=55, Resulting Numbers: [6, 55]
Generated Node #0,0,3: 56:[6, 55] Operation: 65-10=55
Moving to Node #0,1
Current State: 56:[10, 9, 68], Operations: ['74-6=68']
Exploring Operation: 10+9=19, Resulting Numbers: [68, 19]
Generated Node #0,1,0: 56:[68, 19] Operation: 10+9=19
Exploring Operation: 68-10=58, Resulting Numbers: [9, 58]
Generated Node #0,1,1: 56:[9, 58] Operation: 68-10=58
Exploring Operation: 10-9=1, Resulting Numbers: [68, 1]
Generated Node #0,1,2: 56:[68, 1] Operation: 10-9=1
Exploring Operation: 68-9=59, Resulting Numbers: [10, 59]
Generated Node #0,1,3: 56:[10, 59] Operation: 68-9=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[9, 58], Operations: ['74-6=68', '68-10=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,56 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[10, 59], Operations: ['74-6=68', '68-9=59']
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,56 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[68, 1], Operations: ['74-6=68', '10-9=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[68, 19], Operations: ['74-6=68', '10+9=19']
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,56 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,56 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: 56:[9, 74, 4], Operations: ['10-6=4']
Exploring Operation: 9-4=5, Resulting Numbers: [74, 5]
Generated Node #0,3,0: 56:[74, 5] Operation: 9-4=5
Exploring Operation: 9+4=13, Resulting Numbers: [74, 13]
Generated Node #0,3,1: 56:[74, 13] Operation: 9+4=13
Exploring Operation: 74-9=65, Resulting Numbers: [4, 65]
Generated Node #0,3,2: 56:[4, 65] Operation: 74-9=65
Exploring Operation: 74-4=70, Resulting Numbers: [9, 70]
Generated Node #0,3,3: 56:[9, 70] Operation: 74-4=70
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[4, 65], Operations: ['10-6=4', '74-9=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[9, 70], Operations: ['10-6=4', '74-4=70']
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,56 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[74, 5], Operations: ['10-6=4', '9-4=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[74, 13], Operations: ['10-6=4', '9+4=13']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,56 unequal: No Solution
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 56:[6, 55], Operations: ['74-10=64', '64-9=55']
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,56 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[6, 55], Operations: ['74-9=65', '65-10=55']
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,56 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[9, 58], Operations: ['74-10=64', '64-6=58']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,56 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[10, 59], Operations: ['74-9=65', '65-6=59']
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[64, 3], Operations: ['74-10=64', '9-6=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,56 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[64, 15], Operations: ['74-10=64', '6+9=15']
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,56 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[65, 4], Operations: ['74-9=65', '10-6=4']
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[65, 16], Operations: ['74-9=65', '6+10=16']
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,56 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,56 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
62,
4,
40,
5
] | 31 |
[
"62+4=66",
"40-5=35",
"66-35=31"
] |
Current State: 31:[62, 4, 40, 5], Operations: []
Exploring Operation: 62+4=66, Resulting Numbers: [40, 5, 66]
Generated Node #2: [40, 5, 66] from Operation: 62+4=66
Current State: 31:[40, 5, 66], Operations: ['62+4=66']
Exploring Operation: 40-5=35, Resulting Numbers: [66, 35]
Generated Node #3: [66, 35] from Operation: 40-5=35
Current State: 31:[66, 35], Operations: ['62+4=66', '40-5=35']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[62, 4, 40, 5], Operations: []
Exploring Operation: 4*5=20, Resulting Numbers: [62, 40, 20]
Generated Node #0,0: 31:[62, 40, 20] Operation: 4*5=20
Moving to Node #0,0
Current State: 31:[62, 40, 20], Operations: ['4*5=20']
Exploring Operation: 62-40=22, Resulting Numbers: [20, 22]
Generated Node #0,0,0: 31:[20, 22] Operation: 62-40=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[20, 22], Operations: ['4*5=20', '62-40=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,31 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
|
[
78,
23,
39,
80
] | 96 |
[
"78-23=55",
"80-39=41",
"55+41=96"
] |
Current State: 96:[78, 23, 39, 80], Operations: []
Exploring Operation: 78-23=55, Resulting Numbers: [39, 80, 55]
Generated Node #2: [39, 80, 55] from Operation: 78-23=55
Current State: 96:[39, 80, 55], Operations: ['78-23=55']
Exploring Operation: 80-39=41, Resulting Numbers: [55, 41]
Generated Node #3: [55, 41] from Operation: 80-39=41
Current State: 96:[55, 41], Operations: ['78-23=55', '80-39=41']
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[78, 23, 39, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [23, 39, 2]
Generated Node #0,0: 96:[23, 39, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 96:[23, 39, 2], Operations: ['80-78=2']
Exploring Operation: 39-23=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 96:[2, 16] Operation: 39-23=16
Moving to Node #0,0,0
Current State: 96:[2, 16], Operations: ['80-78=2', '39-23=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,96 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
21,
1,
60,
83
] | 86 |
[
"21-1=20",
"60/20=3",
"83+3=86"
] |
Current State: 86:[21, 1, 60, 83], Operations: []
Exploring Operation: 21-1=20, Resulting Numbers: [60, 83, 20]
Generated Node #2: [60, 83, 20] from Operation: 21-1=20
Current State: 86:[60, 83, 20], Operations: ['21-1=20']
Exploring Operation: 60/20=3, Resulting Numbers: [83, 3]
Generated Node #3: [83, 3] from Operation: 60/20=3
Current State: 86:[83, 3], Operations: ['21-1=20', '60/20=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[21, 1, 60, 83], Operations: []
Exploring Operation: 21+60=81, Resulting Numbers: [1, 83, 81]
Generated Node #0,0: 86:[1, 83, 81] Operation: 21+60=81
Exploring Operation: 21+83=104, Resulting Numbers: [1, 60, 104]
Generated Node #0,1: 86:[1, 60, 104] Operation: 21+83=104
Exploring Operation: 21-1=20, Resulting Numbers: [60, 83, 20]
Generated Node #0,2: 86:[60, 83, 20] Operation: 21-1=20
Exploring Operation: 60-21=39, Resulting Numbers: [1, 83, 39]
Generated Node #0,3: 86:[1, 83, 39] Operation: 60-21=39
Exploring Operation: 83-21=62, Resulting Numbers: [1, 60, 62]
Generated Node #0,4: 86:[1, 60, 62] Operation: 83-21=62
Moving to Node #0,3
Current State: 86:[1, 83, 39], Operations: ['60-21=39']
Exploring Operation: 1+39=40, Resulting Numbers: [83, 40]
Generated Node #0,3,0: 86:[83, 40] Operation: 1+39=40
Exploring Operation: 83/1=83, Resulting Numbers: [39, 83]
Generated Node #0,3,1: 86:[39, 83] Operation: 83/1=83
Exploring Operation: 1+83=84, Resulting Numbers: [39, 84]
Generated Node #0,3,2: 86:[39, 84] Operation: 1+83=84
Exploring Operation: 83-39=44, Resulting Numbers: [1, 44]
Generated Node #0,3,3: 86:[1, 44] Operation: 83-39=44
Exploring Operation: 1*83=83, Resulting Numbers: [39, 83]
Generated Node #0,3,4: 86:[39, 83] Operation: 1*83=83
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[1, 44], Operations: ['60-21=39', '83-39=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[83, 40], Operations: ['60-21=39', '1+39=40']
Exploring Operation: 83+40=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 83*40=3320, Resulting Numbers: [3320]
3320,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[39, 84], Operations: ['60-21=39', '1+83=84']
Exploring Operation: 39*84=3276, Resulting Numbers: [3276]
3276,86 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[39, 83], Operations: ['60-21=39', '83/1=83']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 39*83=3237, Resulting Numbers: [3237]
3237,86 unequal: No Solution
Exploring Operation: 39+83=122, Resulting Numbers: [122]
122,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 86:[39, 83], Operations: ['60-21=39', '1*83=83']
Exploring Operation: 39*83=3237, Resulting Numbers: [3237]
3237,86 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 39+83=122, Resulting Numbers: [122]
122,86 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: 86:[1, 83, 81], Operations: ['21+60=81']
Exploring Operation: 83/1=83, Resulting Numbers: [81, 83]
Generated Node #0,0,0: 86:[81, 83] Operation: 83/1=83
Exploring Operation: 1+81=82, Resulting Numbers: [83, 82]
Generated Node #0,0,1: 86:[83, 82] Operation: 1+81=82
Exploring Operation: 1+83=84, Resulting Numbers: [81, 84]
Generated Node #0,0,2: 86:[81, 84] Operation: 1+83=84
Exploring Operation: 83-81=2, Resulting Numbers: [1, 2]
Generated Node #0,0,3: 86:[1, 2] Operation: 83-81=2
Exploring Operation: 1*83=83, Resulting Numbers: [81, 83]
Generated Node #0,0,4: 86:[81, 83] Operation: 1*83=83
Moving to Node #0,1
Current State: 86:[1, 60, 104], Operations: ['21+83=104']
Exploring Operation: 60/1=60, Resulting Numbers: [104, 60]
Generated Node #0,1,0: 86:[104, 60] Operation: 60/1=60
Exploring Operation: 1*60=60, Resulting Numbers: [104, 60]
Generated Node #0,1,1: 86:[104, 60] Operation: 1*60=60
Exploring Operation: 104-60=44, Resulting Numbers: [1, 44]
Generated Node #0,1,2: 86:[1, 44] Operation: 104-60=44
Exploring Operation: 60-1=59, Resulting Numbers: [104, 59]
Generated Node #0,1,3: 86:[104, 59] Operation: 60-1=59
Exploring Operation: 104-1=103, Resulting Numbers: [60, 103]
Generated Node #0,1,4: 86:[60, 103] Operation: 104-1=103
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[1, 44], Operations: ['21+83=104', '104-60=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[104, 59], Operations: ['21+83=104', '60-1=59']
Exploring Operation: 104+59=163, Resulting Numbers: [163]
163,86 unequal: No Solution
Exploring Operation: 104*59=6136, Resulting Numbers: [6136]
6136,86 unequal: No Solution
Exploring Operation: 104-59=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[60, 103], Operations: ['21+83=104', '104-1=103']
Exploring Operation: 60*103=6180, Resulting Numbers: [6180]
6180,86 unequal: No Solution
Exploring Operation: 103-60=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 60+103=163, Resulting Numbers: [163]
163,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[104, 60], Operations: ['21+83=104', '60/1=60']
Exploring Operation: 104+60=164, Resulting Numbers: [164]
164,86 unequal: No Solution
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 104*60=6240, Resulting Numbers: [6240]
6240,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[104, 60], Operations: ['21+83=104', '1*60=60']
Exploring Operation: 104+60=164, Resulting Numbers: [164]
164,86 unequal: No Solution
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 104*60=6240, Resulting Numbers: [6240]
6240,86 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: 86:[1, 60, 62], Operations: ['83-21=62']
Exploring Operation: 1*60=60, Resulting Numbers: [62, 60]
Generated Node #0,4,0: 86:[62, 60] Operation: 1*60=60
Exploring Operation: 62-1=61, Resulting Numbers: [60, 61]
Generated Node #0,4,1: 86:[60, 61] Operation: 62-1=61
Exploring Operation: 60-1=59, Resulting Numbers: [62, 59]
Generated Node #0,4,2: 86:[62, 59] Operation: 60-1=59
Exploring Operation: 62-60=2, Resulting Numbers: [1, 2]
Generated Node #0,4,3: 86:[1, 2] Operation: 62-60=2
Exploring Operation: 60/1=60, Resulting Numbers: [62, 60]
Generated Node #0,4,4: 86:[62, 60] Operation: 60/1=60
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 86:[1, 2], Operations: ['83-21=62', '62-60=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 86:[60, 61], Operations: ['83-21=62', '62-1=61']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 60+61=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 60*61=3660, Resulting Numbers: [3660]
3660,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 86:[62, 59], Operations: ['83-21=62', '60-1=59']
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 86:[62, 60], Operations: ['83-21=62', '1*60=60']
Exploring Operation: 62+60=122, Resulting Numbers: [122]
122,86 unequal: No Solution
Exploring Operation: 62*60=3720, Resulting Numbers: [3720]
3720,86 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 86:[62, 60], Operations: ['83-21=62', '60/1=60']
Exploring Operation: 62*60=3720, Resulting Numbers: [3720]
3720,86 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 62+60=122, Resulting Numbers: [122]
122,86 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: 86:[60, 83, 20], Operations: ['21-1=20']
Exploring Operation: 60+20=80, Resulting Numbers: [83, 80]
Generated Node #0,2,0: 86:[83, 80] Operation: 60+20=80
Exploring Operation: 60/20=3, Resulting Numbers: [83, 3]
Generated Node #0,2,1: 86:[83, 3] Operation: 60/20=3
Exploring Operation: 83-20=63, Resulting Numbers: [60, 63]
Generated Node #0,2,2: 86:[60, 63] Operation: 83-20=63
Exploring Operation: 60-20=40, Resulting Numbers: [83, 40]
Generated Node #0,2,3: 86:[83, 40] Operation: 60-20=40
Exploring Operation: 83+20=103, Resulting Numbers: [60, 103]
Generated Node #0,2,4: 86:[60, 103] Operation: 83+20=103
Moving to Node #0,0,3
Current State: 86:[1, 2], Operations: ['21+60=81', '83-81=2']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[83, 3], Operations: ['21-1=20', '60/20=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,86 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[21, 1, 60, 83], Operations: []
Exploring Operation: 21-1=20, Resulting Numbers: [60, 83, 20]
Generated Node #0,2: 86:[60, 83, 20] Operation: 21-1=20
Moving to Node #0,2
Current State: 86:[60, 83, 20], Operations: ['21-1=20']
Exploring Operation: 60/20=3, Resulting Numbers: [83, 3]
Generated Node #0,2,1: 86:[83, 3] Operation: 60/20=3
Moving to Node #0,2,1
Current State: 86:[83, 3], Operations: ['21-1=20', '60/20=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.922743 |
hs_5
|
sum_heuristic
|
[
24,
96,
57,
19
] | 19 |
[
"96/24=4",
"57+19=76",
"76/4=19"
] |
Current State: 19:[24, 96, 57, 19], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [57, 19, 4]
Generated Node #2: [57, 19, 4] from Operation: 96/24=4
Current State: 19:[57, 19, 4], Operations: ['96/24=4']
Exploring Operation: 57+19=76, Resulting Numbers: [4, 76]
Generated Node #3: [4, 76] from Operation: 57+19=76
Current State: 19:[4, 76], Operations: ['96/24=4', '57+19=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[24, 96, 57, 19], Operations: []
Exploring Operation: 96-57=39, Resulting Numbers: [24, 19, 39]
Generated Node #0,0: 19:[24, 19, 39] Operation: 96-57=39
Moving to Node #0,0
Current State: 19:[24, 19, 39], Operations: ['96-57=39']
Exploring Operation: 39-24=15, Resulting Numbers: [19, 15]
Generated Node #0,0,0: 19:[19, 15] Operation: 39-24=15
Moving to Node #0,0,0
Current State: 19:[19, 15], Operations: ['96-57=39', '39-24=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
25,
8,
88,
37
] | 18 |
[
"25+8=33",
"88-37=51",
"51-33=18"
] |
Current State: 18:[25, 8, 88, 37], Operations: []
Exploring Operation: 25+8=33, Resulting Numbers: [88, 37, 33]
Generated Node #2: [88, 37, 33] from Operation: 25+8=33
Current State: 18:[88, 37, 33], Operations: ['25+8=33']
Exploring Operation: 88-37=51, Resulting Numbers: [33, 51]
Generated Node #3: [33, 51] from Operation: 88-37=51
Current State: 18:[33, 51], Operations: ['25+8=33', '88-37=51']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[25, 8, 88, 37], Operations: []
Exploring Operation: 88-25=63, Resulting Numbers: [8, 37, 63]
Generated Node #0,0: 18:[8, 37, 63] Operation: 88-25=63
Exploring Operation: 88-37=51, Resulting Numbers: [25, 8, 51]
Generated Node #0,1: 18:[25, 8, 51] Operation: 88-37=51
Exploring Operation: 88/8=11, Resulting Numbers: [25, 37, 11]
Generated Node #0,2: 18:[25, 37, 11] Operation: 88/8=11
Moving to Node #0,2
Current State: 18:[25, 37, 11], Operations: ['88/8=11']
Exploring Operation: 37-11=26, Resulting Numbers: [25, 26]
Generated Node #0,2,0: 18:[25, 26] Operation: 37-11=26
Exploring Operation: 25-11=14, Resulting Numbers: [37, 14]
Generated Node #0,2,1: 18:[37, 14] Operation: 25-11=14
Exploring Operation: 37-25=12, Resulting Numbers: [11, 12]
Generated Node #0,2,2: 18:[11, 12] Operation: 37-25=12
Moving to Node #0,1
Current State: 18:[25, 8, 51], Operations: ['88-37=51']
Exploring Operation: 51-8=43, Resulting Numbers: [25, 43]
Generated Node #0,1,0: 18:[25, 43] Operation: 51-8=43
Exploring Operation: 51-25=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 18:[8, 26] Operation: 51-25=26
Exploring Operation: 25-8=17, Resulting Numbers: [51, 17]
Generated Node #0,1,2: 18:[51, 17] Operation: 25-8=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[8, 26], Operations: ['88-37=51', '51-25=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[25, 8, 88, 37], Operations: []
Exploring Operation: 88-37=51, Resulting Numbers: [25, 8, 51]
Generated Node #0,1: 18:[25, 8, 51] Operation: 88-37=51
Moving to Node #0,1
Current State: 18:[25, 8, 51], Operations: ['88-37=51']
Exploring Operation: 51-25=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 18:[8, 26] Operation: 51-25=26
Moving to Node #0,1,1
Current State: 18:[8, 26], Operations: ['88-37=51', '51-25=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_3
|
mult_heuristic
|
[
32,
95,
80,
10
] | 48 |
[
"32*95=3040",
"3040/80=38",
"10+38=48"
] |
Current State: 48:[32, 95, 80, 10], Operations: []
Exploring Operation: 32*95=3040, Resulting Numbers: [80, 10, 3040]
Generated Node #2: [80, 10, 3040] from Operation: 32*95=3040
Current State: 48:[80, 10, 3040], Operations: ['32*95=3040']
Exploring Operation: 3040/80=38, Resulting Numbers: [10, 38]
Generated Node #3: [10, 38] from Operation: 3040/80=38
Current State: 48:[10, 38], Operations: ['32*95=3040', '3040/80=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[32, 95, 80, 10], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [32, 10, 15]
Generated Node #0,0: 48:[32, 10, 15] Operation: 95-80=15
Exploring Operation: 95-32=63, Resulting Numbers: [80, 10, 63]
Generated Node #0,1: 48:[80, 10, 63] Operation: 95-32=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[32, 10, 15], Operations: ['95-80=15']
Exploring Operation: 32-10=22, Resulting Numbers: [15, 22]
Generated Node #0,0,0: 48:[15, 22] Operation: 32-10=22
Exploring Operation: 32+15=47, Resulting Numbers: [10, 47]
Generated Node #0,0,1: 48:[10, 47] Operation: 32+15=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[15, 22], Operations: ['95-80=15', '32-10=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,48 unequal: No Solution
No 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: 48:[10, 47], Operations: ['95-80=15', '32+15=47']
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,48 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: 48:[80, 10, 63], Operations: ['95-32=63']
Exploring Operation: 80-63=17, Resulting Numbers: [10, 17]
Generated Node #0,1,0: 48:[10, 17] Operation: 80-63=17
Exploring Operation: 80/10=8, Resulting Numbers: [63, 8]
Generated Node #0,1,1: 48:[63, 8] Operation: 80/10=8
Moving to Node #0,1,0
Current State: 48:[10, 17], Operations: ['95-32=63', '80-63=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[63, 8], Operations: ['95-32=63', '80/10=8']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
89,
5,
7,
11
] | 21 |
[
"89-5=84",
"11-7=4",
"84/4=21"
] |
Current State: 21:[89, 5, 7, 11], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [7, 11, 84]
Generated Node #2: [7, 11, 84] from Operation: 89-5=84
Current State: 21:[7, 11, 84], Operations: ['89-5=84']
Exploring Operation: 11-7=4, Resulting Numbers: [84, 4]
Generated Node #3: [84, 4] from Operation: 11-7=4
Current State: 21:[84, 4], Operations: ['89-5=84', '11-7=4']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[89, 5, 7, 11], Operations: []
Exploring Operation: 11-5=6, Resulting Numbers: [89, 7, 6]
Generated Node #0,0: 21:[89, 7, 6] Operation: 11-5=6
Exploring Operation: 11-7=4, Resulting Numbers: [89, 5, 4]
Generated Node #0,1: 21:[89, 5, 4] Operation: 11-7=4
Exploring Operation: 89-5=84, Resulting Numbers: [7, 11, 84]
Generated Node #0,2: 21:[7, 11, 84] Operation: 89-5=84
Exploring Operation: 89-11=78, Resulting Numbers: [5, 7, 78]
Generated Node #0,3: 21:[5, 7, 78] Operation: 89-11=78
Exploring Operation: 89-7=82, Resulting Numbers: [5, 11, 82]
Generated Node #0,4: 21:[5, 11, 82] Operation: 89-7=82
Moving to Node #0,3
Current State: 21:[5, 7, 78], Operations: ['89-11=78']
Exploring Operation: 7-5=2, Resulting Numbers: [78, 2]
Generated Node #0,3,0: 21:[78, 2] Operation: 7-5=2
Exploring Operation: 78-5=73, Resulting Numbers: [7, 73]
Generated Node #0,3,1: 21:[7, 73] Operation: 78-5=73
Exploring Operation: 5+78=83, Resulting Numbers: [7, 83]
Generated Node #0,3,2: 21:[7, 83] Operation: 5+78=83
Exploring Operation: 78-7=71, Resulting Numbers: [5, 71]
Generated Node #0,3,3: 21:[5, 71] Operation: 78-7=71
Exploring Operation: 5+7=12, Resulting Numbers: [78, 12]
Generated Node #0,3,4: 21:[78, 12] Operation: 5+7=12
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[7, 73], Operations: ['89-11=78', '78-5=73']
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,21 unequal: No Solution
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[5, 71], Operations: ['89-11=78', '78-7=71']
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,21 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[78, 2], Operations: ['89-11=78', '7-5=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,21 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[7, 83], Operations: ['89-11=78', '5+78=83']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 7*83=581, Resulting Numbers: [581]
581,21 unequal: No Solution
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 21:[78, 12], Operations: ['89-11=78', '5+7=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,21 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,21 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: 21:[5, 11, 82], Operations: ['89-7=82']
Exploring Operation: 5+82=87, Resulting Numbers: [11, 87]
Generated Node #0,4,0: 21:[11, 87] Operation: 5+82=87
Exploring Operation: 82-11=71, Resulting Numbers: [5, 71]
Generated Node #0,4,1: 21:[5, 71] Operation: 82-11=71
Exploring Operation: 82-5=77, Resulting Numbers: [11, 77]
Generated Node #0,4,2: 21:[11, 77] Operation: 82-5=77
Exploring Operation: 5+11=16, Resulting Numbers: [82, 16]
Generated Node #0,4,3: 21:[82, 16] Operation: 5+11=16
Exploring Operation: 11-5=6, Resulting Numbers: [82, 6]
Generated Node #0,4,4: 21:[82, 6] Operation: 11-5=6
Moving to Node #0,2
Current State: 21:[7, 11, 84], Operations: ['89-5=84']
Exploring Operation: 84-11=73, Resulting Numbers: [7, 73]
Generated Node #0,2,0: 21:[7, 73] Operation: 84-11=73
Exploring Operation: 84/7=12, Resulting Numbers: [11, 12]
Generated Node #0,2,1: 21:[11, 12] Operation: 84/7=12
Exploring Operation: 84-7=77, Resulting Numbers: [11, 77]
Generated Node #0,2,2: 21:[11, 77] Operation: 84-7=77
Exploring Operation: 11-7=4, Resulting Numbers: [84, 4]
Generated Node #0,2,3: 21:[84, 4] Operation: 11-7=4
Exploring Operation: 7+11=18, Resulting Numbers: [84, 18]
Generated Node #0,2,4: 21:[84, 18] Operation: 7+11=18
Moving to Node #0,0
Current State: 21:[89, 7, 6], Operations: ['11-5=6']
Exploring Operation: 89-7=82, Resulting Numbers: [6, 82]
Generated Node #0,0,0: 21:[6, 82] Operation: 89-7=82
Exploring Operation: 89+6=95, Resulting Numbers: [7, 95]
Generated Node #0,0,1: 21:[7, 95] Operation: 89+6=95
Exploring Operation: 89-6=83, Resulting Numbers: [7, 83]
Generated Node #0,0,2: 21:[7, 83] Operation: 89-6=83
Exploring Operation: 7+6=13, Resulting Numbers: [89, 13]
Generated Node #0,0,3: 21:[89, 13] Operation: 7+6=13
Exploring Operation: 7-6=1, Resulting Numbers: [89, 1]
Generated Node #0,0,4: 21:[89, 1] Operation: 7-6=1
Moving to Node #0,1
Current State: 21:[89, 5, 4], Operations: ['11-7=4']
Exploring Operation: 5-4=1, Resulting Numbers: [89, 1]
Generated Node #0,1,0: 21:[89, 1] Operation: 5-4=1
Exploring Operation: 89-4=85, Resulting Numbers: [5, 85]
Generated Node #0,1,1: 21:[5, 85] Operation: 89-4=85
Exploring Operation: 5+4=9, Resulting Numbers: [89, 9]
Generated Node #0,1,2: 21:[89, 9] Operation: 5+4=9
Exploring Operation: 5*4=20, Resulting Numbers: [89, 20]
Generated Node #0,1,3: 21:[89, 20] Operation: 5*4=20
Exploring Operation: 89-5=84, Resulting Numbers: [4, 84]
Generated Node #0,1,4: 21:[4, 84] Operation: 89-5=84
Moving to Node #0,2,1
Current State: 21:[11, 12], Operations: ['89-5=84', '84/7=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Moving to Node #0,4,1
Current State: 21:[5, 71], Operations: ['89-7=82', '82-11=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,21 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[7, 73], Operations: ['89-5=84', '84-11=73']
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,21 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Moving to Node #0,4,2
Current State: 21:[11, 77], Operations: ['89-7=82', '82-5=77']
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 11*77=847, Resulting Numbers: [847]
847,21 unequal: No Solution
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[11, 77], Operations: ['89-5=84', '84-7=77']
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 11*77=847, Resulting Numbers: [847]
847,21 unequal: No Solution
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Moving to Node #0,4,4
Current State: 21:[82, 6], Operations: ['89-7=82', '11-5=6']
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,21 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[7, 83], Operations: ['11-5=6', '89-6=83']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Exploring Operation: 7*83=581, Resulting Numbers: [581]
581,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[6, 82], Operations: ['11-5=6', '89-7=82']
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 6*82=492, Resulting Numbers: [492]
492,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[84, 4], Operations: ['89-5=84', '11-7=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[89, 5, 7, 11], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [7, 11, 84]
Generated Node #0,2: 21:[7, 11, 84] Operation: 89-5=84
Moving to Node #0,2
Current State: 21:[7, 11, 84], Operations: ['89-5=84']
Exploring Operation: 11-7=4, Resulting Numbers: [84, 4]
Generated Node #0,2,3: 21:[84, 4] Operation: 11-7=4
Moving to Node #0,2,3
Current State: 21:[84, 4], Operations: ['89-5=84', '11-7=4']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.932292 |
hs_5
|
sum_heuristic
|
[
38,
19,
25,
23
] | 19 |
[
"19*25=475",
"475-38=437",
"437/23=19"
] |
Current State: 19:[38, 19, 25, 23], Operations: []
Exploring Operation: 19*25=475, Resulting Numbers: [38, 23, 475]
Generated Node #2: [38, 23, 475] from Operation: 19*25=475
Current State: 19:[38, 23, 475], Operations: ['19*25=475']
Exploring Operation: 475-38=437, Resulting Numbers: [23, 437]
Generated Node #3: [23, 437] from Operation: 475-38=437
Current State: 19:[23, 437], Operations: ['19*25=475', '475-38=437']
Exploring Operation: 437/23=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[38, 19, 25, 23], Operations: []
Exploring Operation: 38-19=19, Resulting Numbers: [25, 23, 19]
Generated Node #0,0: 19:[25, 23, 19] Operation: 38-19=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[25, 23, 19], Operations: ['38-19=19']
Exploring Operation: 25-23=2, Resulting Numbers: [19, 2]
Generated Node #0,0,0: 19:[19, 2] Operation: 25-23=2
Moving to Node #0,0,0
Current State: 19:[19, 2], Operations: ['38-19=19', '25-23=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
75,
49,
85,
15
] | 66 |
[
"75/15=5",
"85/5=17",
"49+17=66"
] |
Current State: 66:[75, 49, 85, 15], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [49, 85, 5]
Generated Node #2: [49, 85, 5] from Operation: 75/15=5
Current State: 66:[49, 85, 5], Operations: ['75/15=5']
Exploring Operation: 85/5=17, Resulting Numbers: [49, 17]
Generated Node #3: [49, 17] from Operation: 85/5=17
Current State: 66:[49, 17], Operations: ['75/15=5', '85/5=17']
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[75, 49, 85, 15], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [75, 15, 36]
Generated Node #0,0: 66:[75, 15, 36] Operation: 85-49=36
Moving to Node #0,0
Current State: 66:[75, 15, 36], Operations: ['85-49=36']
Exploring Operation: 75/15=5, Resulting Numbers: [36, 5]
Generated Node #0,0,0: 66:[36, 5] Operation: 75/15=5
Moving to Node #0,0,0
Current State: 66:[36, 5], Operations: ['85-49=36', '75/15=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,66 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
6,
82,
72,
96
] | 64 |
[
"6+82=88",
"96-72=24",
"88-24=64"
] |
Current State: 64:[6, 82, 72, 96], Operations: []
Exploring Operation: 6+82=88, Resulting Numbers: [72, 96, 88]
Generated Node #2: [72, 96, 88] from Operation: 6+82=88
Current State: 64:[72, 96, 88], Operations: ['6+82=88']
Exploring Operation: 96-72=24, Resulting Numbers: [88, 24]
Generated Node #3: [88, 24] from Operation: 96-72=24
Current State: 64:[88, 24], Operations: ['6+82=88', '96-72=24']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[6, 82, 72, 96], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [6, 82, 24]
Generated Node #0,0: 64:[6, 82, 24] Operation: 96-72=24
Exploring Operation: 96/6=16, Resulting Numbers: [82, 72, 16]
Generated Node #0,1: 64:[82, 72, 16] Operation: 96/6=16
Exploring Operation: 96-82=14, Resulting Numbers: [6, 72, 14]
Generated Node #0,2: 64:[6, 72, 14] Operation: 96-82=14
Moving to Node #0,2
Current State: 64:[6, 72, 14], Operations: ['96-82=14']
Exploring Operation: 14-6=8, Resulting Numbers: [72, 8]
Generated Node #0,2,0: 64:[72, 8] Operation: 14-6=8
Exploring Operation: 72/6=12, Resulting Numbers: [14, 12]
Generated Node #0,2,1: 64:[14, 12] Operation: 72/6=12
Exploring Operation: 72-6=66, Resulting Numbers: [14, 66]
Generated Node #0,2,2: 64:[14, 66] Operation: 72-6=66
Moving to Node #0,1
Current State: 64:[82, 72, 16], Operations: ['96/6=16']
Exploring Operation: 82-16=66, Resulting Numbers: [72, 66]
Generated Node #0,1,0: 64:[72, 66] Operation: 82-16=66
Exploring Operation: 72-16=56, Resulting Numbers: [82, 56]
Generated Node #0,1,1: 64:[82, 56] Operation: 72-16=56
Exploring Operation: 82-72=10, Resulting Numbers: [16, 10]
Generated Node #0,1,2: 64:[16, 10] Operation: 82-72=10
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[16, 10], Operations: ['96/6=16', '82-72=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,64 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[72, 66], Operations: ['96/6=16', '82-16=66']
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,64 unequal: No Solution
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[82, 56], Operations: ['96/6=16', '72-16=56']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,64 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 64:[6, 82, 24], Operations: ['96-72=24']
Exploring Operation: 82-24=58, Resulting Numbers: [6, 58]
Generated Node #0,0,0: 64:[6, 58] Operation: 82-24=58
Exploring Operation: 24/6=4, Resulting Numbers: [82, 4]
Generated Node #0,0,1: 64:[82, 4] Operation: 24/6=4
Exploring Operation: 82-6=76, Resulting Numbers: [24, 76]
Generated Node #0,0,2: 64:[24, 76] Operation: 82-6=76
Moving to Node #0,2,2
Current State: 64:[14, 66], Operations: ['96-82=14', '72-6=66']
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[14, 12], Operations: ['96-82=14', '72/6=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[72, 8], Operations: ['96-82=14', '14-6=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[6, 82, 72, 96], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [6, 72, 14]
Generated Node #0,2: 64:[6, 72, 14] Operation: 96-82=14
Moving to Node #0,2
Current State: 64:[6, 72, 14], Operations: ['96-82=14']
Exploring Operation: 14-6=8, Resulting Numbers: [72, 8]
Generated Node #0,2,0: 64:[72, 8] Operation: 14-6=8
Moving to Node #0,2,0
Current State: 64:[72, 8], Operations: ['96-82=14', '14-6=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.972222 |
hs_3
|
sum_heuristic
|
[
10,
11,
54,
93
] | 89 |
[
"54-10=44",
"44/11=4",
"93-4=89"
] |
Current State: 89:[10, 11, 54, 93], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [11, 93, 44]
Generated Node #2: [11, 93, 44] from Operation: 54-10=44
Current State: 89:[11, 93, 44], Operations: ['54-10=44']
Exploring Operation: 44/11=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 44/11=4
Current State: 89:[93, 4], Operations: ['54-10=44', '44/11=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[10, 11, 54, 93], Operations: []
Exploring Operation: 10*11=110, Resulting Numbers: [54, 93, 110]
Generated Node #0,0: 89:[54, 93, 110] Operation: 10*11=110
Exploring Operation: 10+54=64, Resulting Numbers: [11, 93, 64]
Generated Node #0,1: 89:[11, 93, 64] Operation: 10+54=64
Exploring Operation: 10+11=21, Resulting Numbers: [54, 93, 21]
Generated Node #0,2: 89:[54, 93, 21] Operation: 10+11=21
Moving to Node #0,0
Current State: 89:[54, 93, 110], Operations: ['10*11=110']
Exploring Operation: 54+93=147, Resulting Numbers: [110, 147]
Generated Node #0,0,0: 89:[110, 147] Operation: 54+93=147
Exploring Operation: 93-54=39, Resulting Numbers: [110, 39]
Generated Node #0,0,1: 89:[110, 39] Operation: 93-54=39
Exploring Operation: 110-54=56, Resulting Numbers: [93, 56]
Generated Node #0,0,2: 89:[93, 56] Operation: 110-54=56
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[93, 56], Operations: ['10*11=110', '110-54=56']
Exploring Operation: 93+56=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 93*56=5208, Resulting Numbers: [5208]
5208,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:[110, 39], Operations: ['10*11=110', '93-54=39']
Exploring Operation: 110*39=4290, Resulting Numbers: [4290]
4290,89 unequal: No Solution
Exploring Operation: 110+39=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 110-39=71, Resulting Numbers: [71]
71,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[110, 147], Operations: ['10*11=110', '54+93=147']
Exploring Operation: 110+147=257, Resulting Numbers: [257]
257,89 unequal: No Solution
Exploring Operation: 110*147=16170, Resulting Numbers: [16170]
16170,89 unequal: No Solution
Exploring Operation: 147-110=37, Resulting Numbers: [37]
37,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:[11, 93, 64], Operations: ['10+54=64']
Exploring Operation: 11+64=75, Resulting Numbers: [93, 75]
Generated Node #0,1,0: 89:[93, 75] Operation: 11+64=75
Exploring Operation: 11+93=104, Resulting Numbers: [64, 104]
Generated Node #0,1,1: 89:[64, 104] Operation: 11+93=104
Exploring Operation: 93-11=82, Resulting Numbers: [64, 82]
Generated Node #0,1,2: 89:[64, 82] Operation: 93-11=82
Moving to Node #0,2
Current State: 89:[54, 93, 21], Operations: ['10+11=21']
Exploring Operation: 54+21=75, Resulting Numbers: [93, 75]
Generated Node #0,2,0: 89:[93, 75] Operation: 54+21=75
Exploring Operation: 54-21=33, Resulting Numbers: [93, 33]
Generated Node #0,2,1: 89:[93, 33] Operation: 54-21=33
Exploring Operation: 93-21=72, Resulting Numbers: [54, 72]
Generated Node #0,2,2: 89:[54, 72] Operation: 93-21=72
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[93, 75], Operations: ['10+11=21', '54+21=75']
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,89 unequal: No Solution
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[54, 72], Operations: ['10+11=21', '93-21=72']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[93, 33], Operations: ['10+11=21', '54-21=33']
Exploring Operation: 93+33=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 93*33=3069, Resulting Numbers: [3069]
3069,89 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,89 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: 89:[93, 75], Operations: ['10+54=64', '11+64=75']
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,89 unequal: No Solution
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[64, 82], Operations: ['10+54=64', '93-11=82']
Exploring Operation: 64+82=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 64*82=5248, Resulting Numbers: [5248]
5248,89 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[64, 104], Operations: ['10+54=64', '11+93=104']
Exploring Operation: 64*104=6656, Resulting Numbers: [6656]
6656,89 unequal: No Solution
Exploring Operation: 64+104=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 104-64=40, Resulting Numbers: [40]
40,89 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
26,
25,
31,
36
] | 94 |
[
"26*31=806",
"25*36=900",
"900-806=94"
] |
Current State: 94:[26, 25, 31, 36], Operations: []
Exploring Operation: 26*31=806, Resulting Numbers: [25, 36, 806]
Generated Node #2: [25, 36, 806] from Operation: 26*31=806
Current State: 94:[25, 36, 806], Operations: ['26*31=806']
Exploring Operation: 25*36=900, Resulting Numbers: [806, 900]
Generated Node #3: [806, 900] from Operation: 25*36=900
Current State: 94:[806, 900], Operations: ['26*31=806', '25*36=900']
Exploring Operation: 900-806=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[26, 25, 31, 36], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [31, 36, 51]
Generated Node #0,0: 94:[31, 36, 51] Operation: 26+25=51
Exploring Operation: 26-25=1, Resulting Numbers: [31, 36, 1]
Generated Node #0,1: 94:[31, 36, 1] Operation: 26-25=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[31, 36, 1], Operations: ['26-25=1']
Exploring Operation: 31+36=67, Resulting Numbers: [1, 67]
Generated Node #0,1,0: 94:[1, 67] Operation: 31+36=67
Exploring Operation: 36-31=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 94:[1, 5] Operation: 36-31=5
Moving to Node #0,1,1
Current State: 94:[1, 5], Operations: ['26-25=1', '36-31=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[1, 67], Operations: ['26-25=1', '31+36=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[31, 36, 51], Operations: ['26+25=51']
Exploring Operation: 36-31=5, Resulting Numbers: [51, 5]
Generated Node #0,0,0: 94:[51, 5] Operation: 36-31=5
Exploring Operation: 31+51=82, Resulting Numbers: [36, 82]
Generated Node #0,0,1: 94:[36, 82] Operation: 31+51=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[51, 5], Operations: ['26+25=51', '36-31=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[36, 82], Operations: ['26+25=51', '31+51=82']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
94,
7,
52,
80
] | 45 |
[
"94-7=87",
"52+80=132",
"132-87=45"
] |
Current State: 45:[94, 7, 52, 80], Operations: []
Exploring Operation: 94-7=87, Resulting Numbers: [52, 80, 87]
Generated Node #2: [52, 80, 87] from Operation: 94-7=87
Current State: 45:[52, 80, 87], Operations: ['94-7=87']
Exploring Operation: 52+80=132, Resulting Numbers: [87, 132]
Generated Node #3: [87, 132] from Operation: 52+80=132
Current State: 45:[87, 132], Operations: ['94-7=87', '52+80=132']
Exploring Operation: 132-87=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[94, 7, 52, 80], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [7, 80, 42]
Generated Node #0,0: 45:[7, 80, 42] Operation: 94-52=42
Exploring Operation: 94-80=14, Resulting Numbers: [7, 52, 14]
Generated Node #0,1: 45:[7, 52, 14] Operation: 94-80=14
Moving to Node #0,1
Current State: 45:[7, 52, 14], Operations: ['94-80=14']
Exploring Operation: 52-7=45, Resulting Numbers: [14, 45]
Generated Node #0,1,0: 45:[14, 45] Operation: 52-7=45
Exploring Operation: 14/7=2, Resulting Numbers: [52, 2]
Generated Node #0,1,1: 45:[52, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[14, 45], Operations: ['94-80=14', '52-7=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[52, 2], Operations: ['94-80=14', '14/7=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 45:[7, 80, 42], Operations: ['94-52=42']
Exploring Operation: 80-7=73, Resulting Numbers: [42, 73]
Generated Node #0,0,0: 45:[42, 73] Operation: 80-7=73
Exploring Operation: 80-42=38, Resulting Numbers: [7, 38]
Generated Node #0,0,1: 45:[7, 38] Operation: 80-42=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[7, 38], Operations: ['94-52=42', '80-42=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[94, 7, 52, 80], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [7, 80, 42]
Generated Node #0,0: 45:[7, 80, 42] Operation: 94-52=42
Moving to Node #0,0
Current State: 45:[7, 80, 42], Operations: ['94-52=42']
Exploring Operation: 80-42=38, Resulting Numbers: [7, 38]
Generated Node #0,0,1: 45:[7, 38] Operation: 80-42=38
Moving to Node #0,0,1
Current State: 45:[7, 38], Operations: ['94-52=42', '80-42=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_2
|
sum_heuristic
|
[
96,
25,
60,
77
] | 54 |
[
"96-25=71",
"77-60=17",
"71-17=54"
] |
Current State: 54:[96, 25, 60, 77], Operations: []
Exploring Operation: 96-25=71, Resulting Numbers: [60, 77, 71]
Generated Node #2: [60, 77, 71] from Operation: 96-25=71
Current State: 54:[60, 77, 71], Operations: ['96-25=71']
Exploring Operation: 77-60=17, Resulting Numbers: [71, 17]
Generated Node #3: [71, 17] from Operation: 77-60=17
Current State: 54:[71, 17], Operations: ['96-25=71', '77-60=17']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[96, 25, 60, 77], Operations: []
Exploring Operation: 96-60=36, Resulting Numbers: [25, 77, 36]
Generated Node #0,0: 54:[25, 77, 36] Operation: 96-60=36
Exploring Operation: 96-25=71, Resulting Numbers: [60, 77, 71]
Generated Node #0,1: 54:[60, 77, 71] Operation: 96-25=71
Exploring Operation: 77-25=52, Resulting Numbers: [96, 60, 52]
Generated Node #0,2: 54:[96, 60, 52] Operation: 77-25=52
Exploring Operation: 77-60=17, Resulting Numbers: [96, 25, 17]
Generated Node #0,3: 54:[96, 25, 17] Operation: 77-60=17
Exploring Operation: 96-77=19, Resulting Numbers: [25, 60, 19]
Generated Node #0,4: 54:[25, 60, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[25, 60, 19], Operations: ['96-77=19']
Exploring Operation: 25+19=44, Resulting Numbers: [60, 44]
Generated Node #0,4,0: 54:[60, 44] Operation: 25+19=44
Exploring Operation: 60-19=41, Resulting Numbers: [25, 41]
Generated Node #0,4,1: 54:[25, 41] Operation: 60-19=41
Exploring Operation: 25-19=6, Resulting Numbers: [60, 6]
Generated Node #0,4,2: 54:[60, 6] Operation: 25-19=6
Exploring Operation: 60-25=35, Resulting Numbers: [19, 35]
Generated Node #0,4,3: 54:[19, 35] Operation: 60-25=35
Exploring Operation: 60+19=79, Resulting Numbers: [25, 79]
Generated Node #0,4,4: 54:[25, 79] Operation: 60+19=79
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 54:[60, 6], Operations: ['96-77=19', '25-19=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[96, 25, 60, 77], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [25, 60, 19]
Generated Node #0,4: 54:[25, 60, 19] Operation: 96-77=19
Moving to Node #0,4
Current State: 54:[25, 60, 19], Operations: ['96-77=19']
Exploring Operation: 25-19=6, Resulting Numbers: [60, 6]
Generated Node #0,4,2: 54:[60, 6] Operation: 25-19=6
Moving to Node #0,4,2
Current State: 54:[60, 6], Operations: ['96-77=19', '25-19=6']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
38,
23,
77,
54
] | 81 |
[
"38+54=92",
"92/23=4",
"77+4=81"
] |
Current State: 81:[38, 23, 77, 54], Operations: []
Exploring Operation: 38+54=92, Resulting Numbers: [23, 77, 92]
Generated Node #2: [23, 77, 92] from Operation: 38+54=92
Current State: 81:[23, 77, 92], Operations: ['38+54=92']
Exploring Operation: 92/23=4, Resulting Numbers: [77, 4]
Generated Node #3: [77, 4] from Operation: 92/23=4
Current State: 81:[77, 4], Operations: ['38+54=92', '92/23=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[38, 23, 77, 54], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [23, 77, 16]
Generated Node #0,0: 81:[23, 77, 16] Operation: 54-38=16
Exploring Operation: 38+54=92, Resulting Numbers: [23, 77, 92]
Generated Node #0,1: 81:[23, 77, 92] Operation: 38+54=92
Exploring Operation: 23+54=77, Resulting Numbers: [38, 77, 77]
Generated Node #0,2: 81:[38, 77, 77] Operation: 23+54=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[23, 77, 16], Operations: ['54-38=16']
Exploring Operation: 77+16=93, Resulting Numbers: [23, 93]
Generated Node #0,0,0: 81:[23, 93] Operation: 77+16=93
Exploring Operation: 23+16=39, Resulting Numbers: [77, 39]
Generated Node #0,0,1: 81:[77, 39] Operation: 23+16=39
Exploring Operation: 23-16=7, Resulting Numbers: [77, 7]
Generated Node #0,0,2: 81:[77, 7] Operation: 23-16=7
Moving to Node #0,0,2
Current State: 81:[77, 7], Operations: ['54-38=16', '23-16=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[23, 93], Operations: ['54-38=16', '77+16=93']
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,81 unequal: No Solution
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[77, 39], Operations: ['54-38=16', '23+16=39']
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,81 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[23, 77, 92], Operations: ['38+54=92']
Exploring Operation: 92/23=4, Resulting Numbers: [77, 4]
Generated Node #0,1,0: 81:[77, 4] Operation: 92/23=4
Exploring Operation: 92-23=69, Resulting Numbers: [77, 69]
Generated Node #0,1,1: 81:[77, 69] Operation: 92-23=69
Exploring Operation: 92-77=15, Resulting Numbers: [23, 15]
Generated Node #0,1,2: 81:[23, 15] Operation: 92-77=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[77, 4], Operations: ['38+54=92', '92/23=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,81 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[38, 23, 77, 54], Operations: []
Exploring Operation: 38+54=92, Resulting Numbers: [23, 77, 92]
Generated Node #0,1: 81:[23, 77, 92] Operation: 38+54=92
Moving to Node #0,1
Current State: 81:[23, 77, 92], Operations: ['38+54=92']
Exploring Operation: 92/23=4, Resulting Numbers: [77, 4]
Generated Node #0,1,0: 81:[77, 4] Operation: 92/23=4
Moving to Node #0,1,0
Current State: 81:[77, 4], Operations: ['38+54=92', '92/23=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 |
hs_3
|
mult_heuristic
|
[
2,
69,
18,
51
] | 51 |
[
"2*51=102",
"69-18=51",
"102-51=51"
] |
Current State: 51:[2, 69, 18, 51], Operations: []
Exploring Operation: 2*51=102, Resulting Numbers: [69, 18, 102]
Generated Node #2: [69, 18, 102] from Operation: 2*51=102
Current State: 51:[69, 18, 102], Operations: ['2*51=102']
Exploring Operation: 69-18=51, Resulting Numbers: [102, 51]
Generated Node #3: [102, 51] from Operation: 69-18=51
Current State: 51:[102, 51], Operations: ['2*51=102', '69-18=51']
Exploring Operation: 102-51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[2, 69, 18, 51], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [2, 18, 18]
Generated Node #0,0: 51:[2, 18, 18] Operation: 69-51=18
Exploring Operation: 69-2=67, Resulting Numbers: [18, 51, 67]
Generated Node #0,1: 51:[18, 51, 67] Operation: 69-2=67
Exploring Operation: 69-18=51, Resulting Numbers: [2, 51, 51]
Generated Node #0,2: 51:[2, 51, 51] Operation: 69-18=51
Moving to Node #0,2
Current State: 51:[2, 51, 51], Operations: ['69-18=51']
Exploring Operation: 2+51=53, Resulting Numbers: [51, 53]
Generated Node #0,2,0: 51:[51, 53] Operation: 2+51=53
Exploring Operation: 2+51=53, Resulting Numbers: [51, 53]
Generated Node #0,2,1: 51:[51, 53] Operation: 2+51=53
Exploring Operation: 51-2=49, Resulting Numbers: [51, 49]
Generated Node #0,2,2: 51:[51, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[51, 53], Operations: ['69-18=51', '2+51=53']
Exploring Operation: 51+53=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51*53=2703, Resulting Numbers: [2703]
2703,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[51, 53], Operations: ['69-18=51', '2+51=53']
Exploring Operation: 51*53=2703, Resulting Numbers: [2703]
2703,51 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51+53=104, Resulting Numbers: [104]
104,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[51, 49], Operations: ['69-18=51', '51-2=49']
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,51 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: 51:[2, 18, 18], Operations: ['69-51=18']
Exploring Operation: 18-2=16, Resulting Numbers: [18, 16]
Generated Node #0,0,0: 51:[18, 16] Operation: 18-2=16
Exploring Operation: 18/18=1, Resulting Numbers: [2, 1]
Generated Node #0,0,1: 51:[2, 1] Operation: 18/18=1
Exploring Operation: 18-2=16, Resulting Numbers: [18, 16]
Generated Node #0,0,2: 51:[18, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[18, 16], Operations: ['69-51=18', '18-2=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,51 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[18, 16], Operations: ['69-51=18', '18-2=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,51 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[2, 1], Operations: ['69-51=18', '18/18=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,51 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: 51:[18, 51, 67], Operations: ['69-2=67']
Exploring Operation: 51-18=33, Resulting Numbers: [67, 33]
Generated Node #0,1,0: 51:[67, 33] Operation: 51-18=33
Exploring Operation: 67-51=16, Resulting Numbers: [18, 16]
Generated Node #0,1,1: 51:[18, 16] Operation: 67-51=16
Exploring Operation: 67-18=49, Resulting Numbers: [51, 49]
Generated Node #0,1,2: 51:[51, 49] Operation: 67-18=49
Moving to Node #0,1,1
Current State: 51:[18, 16], Operations: ['69-2=67', '67-51=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,51 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[51, 49], Operations: ['69-2=67', '67-18=49']
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[67, 33], Operations: ['69-2=67', '51-18=33']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,51 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
90,
65,
1,
4
] | 39 |
[
"90+65=155",
"1+155=156",
"156/4=39"
] |
Current State: 39:[90, 65, 1, 4], Operations: []
Exploring Operation: 90+65=155, Resulting Numbers: [1, 4, 155]
Generated Node #2: [1, 4, 155] from Operation: 90+65=155
Current State: 39:[1, 4, 155], Operations: ['90+65=155']
Exploring Operation: 1+155=156, Resulting Numbers: [4, 156]
Generated Node #3: [4, 156] from Operation: 1+155=156
Current State: 39:[4, 156], Operations: ['90+65=155', '1+155=156']
Exploring Operation: 156/4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[90, 65, 1, 4], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [1, 4, 25]
Generated Node #0,0: 39:[1, 4, 25] Operation: 90-65=25
Exploring Operation: 65-4=61, Resulting Numbers: [90, 1, 61]
Generated Node #0,1: 39:[90, 1, 61] Operation: 65-4=61
Exploring Operation: 90-4=86, Resulting Numbers: [65, 1, 86]
Generated Node #0,2: 39:[65, 1, 86] Operation: 90-4=86
Moving to Node #0,0
Current State: 39:[1, 4, 25], Operations: ['90-65=25']
Exploring Operation: 25-1=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 39:[4, 24] Operation: 25-1=24
Exploring Operation: 4-1=3, Resulting Numbers: [25, 3]
Generated Node #0,0,1: 39:[25, 3] Operation: 4-1=3
Exploring Operation: 25-4=21, Resulting Numbers: [1, 21]
Generated Node #0,0,2: 39:[1, 21] Operation: 25-4=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[1, 21], Operations: ['90-65=25', '25-4=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No 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: 39:[4, 24], Operations: ['90-65=25', '25-1=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No 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: 39:[25, 3], Operations: ['90-65=25', '4-1=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,39 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: 39:[90, 1, 61], Operations: ['65-4=61']
Exploring Operation: 61-1=60, Resulting Numbers: [90, 60]
Generated Node #0,1,0: 39:[90, 60] Operation: 61-1=60
Exploring Operation: 90-61=29, Resulting Numbers: [1, 29]
Generated Node #0,1,1: 39:[1, 29] Operation: 90-61=29
Exploring Operation: 90-1=89, Resulting Numbers: [61, 89]
Generated Node #0,1,2: 39:[61, 89] Operation: 90-1=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[1, 29], Operations: ['65-4=61', '90-61=29']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No 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: 39:[90, 60], Operations: ['65-4=61', '61-1=60']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,39 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,39 unequal: No Solution
No 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: 39:[61, 89], Operations: ['65-4=61', '90-1=89']
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,39 unequal: No Solution
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,39 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: 39:[65, 1, 86], Operations: ['90-4=86']
Exploring Operation: 65-1=64, Resulting Numbers: [86, 64]
Generated Node #0,2,0: 39:[86, 64] Operation: 65-1=64
Exploring Operation: 86-65=21, Resulting Numbers: [1, 21]
Generated Node #0,2,1: 39:[1, 21] Operation: 86-65=21
Exploring Operation: 86-1=85, Resulting Numbers: [65, 85]
Generated Node #0,2,2: 39:[65, 85] Operation: 86-1=85
Moving to Node #0,2,1
Current State: 39:[1, 21], Operations: ['90-4=86', '86-65=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[86, 64], Operations: ['90-4=86', '65-1=64']
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,39 unequal: No Solution
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[65, 85], Operations: ['90-4=86', '86-1=85']
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,39 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,39 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
55,
36,
17,
11
] | 85 |
[
"55+36=91",
"17-11=6",
"91-6=85"
] |
Current State: 85:[55, 36, 17, 11], Operations: []
Exploring Operation: 55+36=91, Resulting Numbers: [17, 11, 91]
Generated Node #2: [17, 11, 91] from Operation: 55+36=91
Current State: 85:[17, 11, 91], Operations: ['55+36=91']
Exploring Operation: 17-11=6, Resulting Numbers: [91, 6]
Generated Node #3: [91, 6] from Operation: 17-11=6
Current State: 85:[91, 6], Operations: ['55+36=91', '17-11=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[55, 36, 17, 11], Operations: []
Exploring Operation: 55+36=91, Resulting Numbers: [17, 11, 91]
Generated Node #0,0: 85:[17, 11, 91] Operation: 55+36=91
Exploring Operation: 55-36=19, Resulting Numbers: [17, 11, 19]
Generated Node #0,1: 85:[17, 11, 19] Operation: 55-36=19
Exploring Operation: 55/11=5, Resulting Numbers: [36, 17, 5]
Generated Node #0,2: 85:[36, 17, 5] Operation: 55/11=5
Moving to Node #0,1
Current State: 85:[17, 11, 19], Operations: ['55-36=19']
Exploring Operation: 17-11=6, Resulting Numbers: [19, 6]
Generated Node #0,1,0: 85:[19, 6] Operation: 17-11=6
Exploring Operation: 19-11=8, Resulting Numbers: [17, 8]
Generated Node #0,1,1: 85:[17, 8] Operation: 19-11=8
Exploring Operation: 19-17=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 85:[11, 2] Operation: 19-17=2
Moving to Node #0,0
Current State: 85:[17, 11, 91], Operations: ['55+36=91']
Exploring Operation: 17+11=28, Resulting Numbers: [91, 28]
Generated Node #0,0,0: 85:[91, 28] Operation: 17+11=28
Exploring Operation: 91-11=80, Resulting Numbers: [17, 80]
Generated Node #0,0,1: 85:[17, 80] Operation: 91-11=80
Exploring Operation: 17-11=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 85:[91, 6] Operation: 17-11=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[17, 80], Operations: ['55+36=91', '91-11=80']
Exploring Operation: 17*80=1360, Resulting Numbers: [1360]
1360,85 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[91, 6], Operations: ['55+36=91', '17-11=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[55, 36, 17, 11], Operations: []
Exploring Operation: 55+36=91, Resulting Numbers: [17, 11, 91]
Generated Node #0,0: 85:[17, 11, 91] Operation: 55+36=91
Moving to Node #0,0
Current State: 85:[17, 11, 91], Operations: ['55+36=91']
Exploring Operation: 17-11=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 85:[91, 6] Operation: 17-11=6
Moving to Node #0,0,2
Current State: 85:[91, 6], Operations: ['55+36=91', '17-11=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
sum_heuristic
|
[
22,
98,
80,
88
] | 48 |
[
"22+98=120",
"80+88=168",
"168-120=48"
] |
Current State: 48:[22, 98, 80, 88], Operations: []
Exploring Operation: 22+98=120, Resulting Numbers: [80, 88, 120]
Generated Node #2: [80, 88, 120] from Operation: 22+98=120
Current State: 48:[80, 88, 120], Operations: ['22+98=120']
Exploring Operation: 80+88=168, Resulting Numbers: [120, 168]
Generated Node #3: [120, 168] from Operation: 80+88=168
Current State: 48:[120, 168], Operations: ['22+98=120', '80+88=168']
Exploring Operation: 168-120=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[22, 98, 80, 88], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [22, 88, 18]
Generated Node #0,0: 48:[22, 88, 18] Operation: 98-80=18
Exploring Operation: 88/22=4, Resulting Numbers: [98, 80, 4]
Generated Node #0,1: 48:[98, 80, 4] Operation: 88/22=4
Exploring Operation: 88-80=8, Resulting Numbers: [22, 98, 8]
Generated Node #0,2: 48:[22, 98, 8] Operation: 88-80=8
Exploring Operation: 98-88=10, Resulting Numbers: [22, 80, 10]
Generated Node #0,3: 48:[22, 80, 10] Operation: 98-88=10
Moving to Node #0,3
Current State: 48:[22, 80, 10], Operations: ['98-88=10']
Exploring Operation: 80-10=70, Resulting Numbers: [22, 70]
Generated Node #0,3,0: 48:[22, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [22, 8]
Generated Node #0,3,1: 48:[22, 8] Operation: 80/10=8
Exploring Operation: 22-10=12, Resulting Numbers: [80, 12]
Generated Node #0,3,2: 48:[80, 12] Operation: 22-10=12
Exploring Operation: 80-22=58, Resulting Numbers: [10, 58]
Generated Node #0,3,3: 48:[10, 58] Operation: 80-22=58
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[22, 8], Operations: ['98-88=10', '80/10=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,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:[10, 58], Operations: ['98-88=10', '80-22=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,48 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[22, 98, 80, 88], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [22, 80, 10]
Generated Node #0,3: 48:[22, 80, 10] Operation: 98-88=10
Moving to Node #0,3
Current State: 48:[22, 80, 10], Operations: ['98-88=10']
Exploring Operation: 80-22=58, Resulting Numbers: [10, 58]
Generated Node #0,3,3: 48:[10, 58] Operation: 80-22=58
Moving to Node #0,3,3
Current State: 48:[10, 58], Operations: ['98-88=10', '80-22=58']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_4
|
mult_heuristic
|
[
32,
96,
74,
8
] | 30 |
[
"74-32=42",
"96/8=12",
"42-12=30"
] |
Current State: 30:[32, 96, 74, 8], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [96, 8, 42]
Generated Node #2: [96, 8, 42] from Operation: 74-32=42
Current State: 30:[96, 8, 42], Operations: ['74-32=42']
Exploring Operation: 96/8=12, Resulting Numbers: [42, 12]
Generated Node #3: [42, 12] from Operation: 96/8=12
Current State: 30:[42, 12], Operations: ['74-32=42', '96/8=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[32, 96, 74, 8], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [32, 8, 22]
Generated Node #0,0: 30:[32, 8, 22] Operation: 96-74=22
Exploring Operation: 96-32=64, Resulting Numbers: [74, 8, 64]
Generated Node #0,1: 30:[74, 8, 64] Operation: 96-32=64
Exploring Operation: 96/8=12, Resulting Numbers: [32, 74, 12]
Generated Node #0,2: 30:[32, 74, 12] Operation: 96/8=12
Exploring Operation: 96/32=3, Resulting Numbers: [74, 8, 3]
Generated Node #0,3: 30:[74, 8, 3] Operation: 96/32=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[32, 8, 22], Operations: ['96-74=22']
Exploring Operation: 32-22=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 30:[8, 10] Operation: 32-22=10
Exploring Operation: 32/8=4, Resulting Numbers: [22, 4]
Generated Node #0,0,1: 30:[22, 4] Operation: 32/8=4
Exploring Operation: 8+22=30, Resulting Numbers: [32, 30]
Generated Node #0,0,2: 30:[32, 30] Operation: 8+22=30
Exploring Operation: 22-8=14, Resulting Numbers: [32, 14]
Generated Node #0,0,3: 30:[32, 14] Operation: 22-8=14
Moving to Node #0,0,0
Current State: 30:[8, 10], Operations: ['96-74=22', '32-22=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[32, 30], Operations: ['96-74=22', '8+22=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,30 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[32, 14], Operations: ['96-74=22', '22-8=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[22, 4], Operations: ['96-74=22', '32/8=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,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,3
Current State: 30:[74, 8, 3], Operations: ['96/32=3']
Exploring Operation: 74-3=71, Resulting Numbers: [8, 71]
Generated Node #0,3,0: 30:[8, 71] Operation: 74-3=71
Exploring Operation: 8-3=5, Resulting Numbers: [74, 5]
Generated Node #0,3,1: 30:[74, 5] Operation: 8-3=5
Exploring Operation: 74-8=66, Resulting Numbers: [3, 66]
Generated Node #0,3,2: 30:[3, 66] Operation: 74-8=66
Exploring Operation: 8+3=11, Resulting Numbers: [74, 11]
Generated Node #0,3,3: 30:[74, 11] Operation: 8+3=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[3, 66], Operations: ['96/32=3', '74-8=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,30 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,30 unequal: No Solution
No 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: 30:[8, 71], Operations: ['96/32=3', '74-3=71']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 8*71=568, Resulting Numbers: [568]
568,30 unequal: No Solution
Exploring Operation: 8+71=79, Resulting Numbers: [79]
79,30 unequal: No Solution
No 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: 30:[74, 5], Operations: ['96/32=3', '8-3=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,30 unequal: No Solution
No 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: 30:[74, 11], Operations: ['96/32=3', '8+3=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,30 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 74*11=814, Resulting Numbers: [814]
814,30 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: 30:[32, 74, 12], Operations: ['96/8=12']
Exploring Operation: 74-12=62, Resulting Numbers: [32, 62]
Generated Node #0,2,0: 30:[32, 62] Operation: 74-12=62
Exploring Operation: 32+12=44, Resulting Numbers: [74, 44]
Generated Node #0,2,1: 30:[74, 44] Operation: 32+12=44
Exploring Operation: 74-32=42, Resulting Numbers: [12, 42]
Generated Node #0,2,2: 30:[12, 42] Operation: 74-32=42
Exploring Operation: 32-12=20, Resulting Numbers: [74, 20]
Generated Node #0,2,3: 30:[74, 20] Operation: 32-12=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 30:[12, 42], Operations: ['96/8=12', '74-32=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[32, 96, 74, 8], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [32, 74, 12]
Generated Node #0,2: 30:[32, 74, 12] Operation: 96/8=12
Moving to Node #0,2
Current State: 30:[32, 74, 12], Operations: ['96/8=12']
Exploring Operation: 74-32=42, Resulting Numbers: [12, 42]
Generated Node #0,2,2: 30:[12, 42] Operation: 74-32=42
Moving to Node #0,2,2
Current State: 30:[12, 42], Operations: ['96/8=12', '74-32=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 |
hs_4
|
mult_heuristic
|
[
63,
83,
20,
57
] | 77 |
[
"63+57=120",
"120/20=6",
"83-6=77"
] |
Current State: 77:[63, 83, 20, 57], Operations: []
Exploring Operation: 63+57=120, Resulting Numbers: [83, 20, 120]
Generated Node #2: [83, 20, 120] from Operation: 63+57=120
Current State: 77:[83, 20, 120], Operations: ['63+57=120']
Exploring Operation: 120/20=6, Resulting Numbers: [83, 6]
Generated Node #3: [83, 6] from Operation: 120/20=6
Current State: 77:[83, 6], Operations: ['63+57=120', '120/20=6']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[63, 83, 20, 57], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [83, 20, 6]
Generated Node #0,0: 77:[83, 20, 6] Operation: 63-57=6
Exploring Operation: 63+20=83, Resulting Numbers: [83, 57, 83]
Generated Node #0,1: 77:[83, 57, 83] Operation: 63+20=83
Exploring Operation: 20+57=77, Resulting Numbers: [63, 83, 77]
Generated Node #0,2: 77:[63, 83, 77] Operation: 20+57=77
Exploring Operation: 83-63=20, Resulting Numbers: [20, 57, 20]
Generated Node #0,3: 77:[20, 57, 20] Operation: 83-63=20
Exploring Operation: 83-57=26, Resulting Numbers: [63, 20, 26]
Generated Node #0,4: 77:[63, 20, 26] Operation: 83-57=26
Moving to Node #0,0
Current State: 77:[83, 20, 6], Operations: ['63-57=6']
Exploring Operation: 20-6=14, Resulting Numbers: [83, 14]
Generated Node #0,0,0: 77:[83, 14] Operation: 20-6=14
Exploring Operation: 83-20=63, Resulting Numbers: [6, 63]
Generated Node #0,0,1: 77:[6, 63] Operation: 83-20=63
Exploring Operation: 20+6=26, Resulting Numbers: [83, 26]
Generated Node #0,0,2: 77:[83, 26] Operation: 20+6=26
Exploring Operation: 83+6=89, Resulting Numbers: [20, 89]
Generated Node #0,0,3: 77:[20, 89] Operation: 83+6=89
Exploring Operation: 83-6=77, Resulting Numbers: [20, 77]
Generated Node #0,0,4: 77:[20, 77] Operation: 83-6=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[83, 14], Operations: ['63-57=6', '20-6=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,77 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,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,0,4
Current State: 77:[20, 77], Operations: ['63-57=6', '83-6=77']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,77 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,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,0,1
Current State: 77:[6, 63], Operations: ['63-57=6', '83-20=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,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,0,2
Current State: 77:[83, 26], Operations: ['63-57=6', '20+6=26']
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,77 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,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,0,3
Current State: 77:[20, 89], Operations: ['63-57=6', '83+6=89']
Exploring Operation: 20*89=1780, Resulting Numbers: [1780]
1780,77 unequal: No Solution
Exploring Operation: 20+89=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,77 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: 77:[63, 83, 77], Operations: ['20+57=77']
Exploring Operation: 63+77=140, Resulting Numbers: [83, 140]
Generated Node #0,2,0: 77:[83, 140] Operation: 63+77=140
Exploring Operation: 83-77=6, Resulting Numbers: [63, 6]
Generated Node #0,2,1: 77:[63, 6] Operation: 83-77=6
Exploring Operation: 77-63=14, Resulting Numbers: [83, 14]
Generated Node #0,2,2: 77:[83, 14] Operation: 77-63=14
Exploring Operation: 83-63=20, Resulting Numbers: [77, 20]
Generated Node #0,2,3: 77:[77, 20] Operation: 83-63=20
Exploring Operation: 63+83=146, Resulting Numbers: [77, 146]
Generated Node #0,2,4: 77:[77, 146] Operation: 63+83=146
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[83, 14], Operations: ['20+57=77', '77-63=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,77 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,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,3
Current State: 77:[77, 20], Operations: ['20+57=77', '83-63=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,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:[63, 6], Operations: ['20+57=77', '83-77=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,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,0
Current State: 77:[83, 140], Operations: ['20+57=77', '63+77=140']
Exploring Operation: 83*140=11620, Resulting Numbers: [11620]
11620,77 unequal: No Solution
Exploring Operation: 140-83=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 83+140=223, Resulting Numbers: [223]
223,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,4
Current State: 77:[77, 146], Operations: ['20+57=77', '63+83=146']
Exploring Operation: 77*146=11242, Resulting Numbers: [11242]
11242,77 unequal: No Solution
Exploring Operation: 146-77=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 77+146=223, Resulting Numbers: [223]
223,77 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: 77:[83, 57, 83], Operations: ['63+20=83']
Exploring Operation: 83/83=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 77:[57, 1] Operation: 83/83=1
Exploring Operation: 83+57=140, Resulting Numbers: [83, 140]
Generated Node #0,1,1: 77:[83, 140] Operation: 83+57=140
Exploring Operation: 83-57=26, Resulting Numbers: [83, 26]
Generated Node #0,1,2: 77:[83, 26] Operation: 83-57=26
Exploring Operation: 83-57=26, Resulting Numbers: [83, 26]
Generated Node #0,1,3: 77:[83, 26] Operation: 83-57=26
Exploring Operation: 83-83=0, Resulting Numbers: [57, 0]
Generated Node #0,1,4: 77:[57, 0] Operation: 83-83=0
Moving to Node #0,3
Current State: 77:[20, 57, 20], Operations: ['83-63=20']
Exploring Operation: 57+20=77, Resulting Numbers: [20, 77]
Generated Node #0,3,0: 77:[20, 77] Operation: 57+20=77
Exploring Operation: 20/20=1, Resulting Numbers: [57, 1]
Generated Node #0,3,1: 77:[57, 1] Operation: 20/20=1
Exploring Operation: 57-20=37, Resulting Numbers: [20, 37]
Generated Node #0,3,2: 77:[20, 37] Operation: 57-20=37
Exploring Operation: 20-20=0, Resulting Numbers: [57, 0]
Generated Node #0,3,3: 77:[57, 0] Operation: 20-20=0
Exploring Operation: 20+57=77, Resulting Numbers: [20, 77]
Generated Node #0,3,4: 77:[20, 77] Operation: 20+57=77
Moving to Node #0,4
Current State: 77:[63, 20, 26], Operations: ['83-57=26']
Exploring Operation: 63+20=83, Resulting Numbers: [26, 83]
Generated Node #0,4,0: 77:[26, 83] Operation: 63+20=83
Exploring Operation: 20+26=46, Resulting Numbers: [63, 46]
Generated Node #0,4,1: 77:[63, 46] Operation: 20+26=46
Exploring Operation: 63-26=37, Resulting Numbers: [20, 37]
Generated Node #0,4,2: 77:[20, 37] Operation: 63-26=37
Exploring Operation: 63+26=89, Resulting Numbers: [20, 89]
Generated Node #0,4,3: 77:[20, 89] Operation: 63+26=89
Exploring Operation: 26-20=6, Resulting Numbers: [63, 6]
Generated Node #0,4,4: 77:[63, 6] Operation: 26-20=6
Moving to Node #0,3,0
Current State: 77:[20, 77], Operations: ['83-63=20', '57+20=77']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[20, 77], Operations: ['83-63=20', '20+57=77']
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,77 unequal: No Solution
Moving to Node #0,4,4
Current State: 77:[63, 6], Operations: ['83-57=26', '26-20=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[83, 26], Operations: ['63+20=83', '83-57=26']
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[26, 83], Operations: ['83-57=26', '63+20=83']
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[20, 89], Operations: ['83-57=26', '63+26=89']
Exploring Operation: 20+89=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 20*89=1780, Resulting Numbers: [1780]
1780,77 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[83, 26], Operations: ['63+20=83', '83-57=26']
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[57, 1], Operations: ['63+20=83', '83/83=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[57, 1], Operations: ['83-63=20', '20/20=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[57, 0], Operations: ['83-63=20', '20-20=0']
Exploring Operation: 57*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 57-0=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[57, 0], Operations: ['63+20=83', '83-83=0']
Exploring Operation: 57-0=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 57*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[20, 37], Operations: ['83-57=26', '63-26=37']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,77 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[20, 37], Operations: ['83-63=20', '57-20=37']
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,77 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[63, 46], Operations: ['83-57=26', '20+26=46']
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,77 unequal: No Solution
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[83, 140], Operations: ['63+20=83', '83+57=140']
Exploring Operation: 83+140=223, Resulting Numbers: [223]
223,77 unequal: No Solution
Exploring Operation: 83*140=11620, Resulting Numbers: [11620]
11620,77 unequal: No Solution
Exploring Operation: 140-83=57, Resulting Numbers: [57]
57,77 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
72,
15,
22,
25
] | 84 |
[
"72+15=87",
"25-22=3",
"87-3=84"
] |
Current State: 84:[72, 15, 22, 25], Operations: []
Exploring Operation: 72+15=87, Resulting Numbers: [22, 25, 87]
Generated Node #2: [22, 25, 87] from Operation: 72+15=87
Current State: 84:[22, 25, 87], Operations: ['72+15=87']
Exploring Operation: 25-22=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 25-22=3
Current State: 84:[87, 3], Operations: ['72+15=87', '25-22=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[72, 15, 22, 25], Operations: []
Exploring Operation: 72-22=50, Resulting Numbers: [15, 25, 50]
Generated Node #0,0: 84:[15, 25, 50] Operation: 72-22=50
Exploring Operation: 72-25=47, Resulting Numbers: [15, 22, 47]
Generated Node #0,1: 84:[15, 22, 47] Operation: 72-25=47
Exploring Operation: 72+15=87, Resulting Numbers: [22, 25, 87]
Generated Node #0,2: 84:[22, 25, 87] Operation: 72+15=87
Moving to Node #0,1
Current State: 84:[15, 22, 47], Operations: ['72-25=47']
Exploring Operation: 47-22=25, Resulting Numbers: [15, 25]
Generated Node #0,1,0: 84:[15, 25] Operation: 47-22=25
Exploring Operation: 22-15=7, Resulting Numbers: [47, 7]
Generated Node #0,1,1: 84:[47, 7] Operation: 22-15=7
Exploring Operation: 47-15=32, Resulting Numbers: [22, 32]
Generated Node #0,1,2: 84:[22, 32] Operation: 47-15=32
Moving to Node #0,2
Current State: 84:[22, 25, 87], Operations: ['72+15=87']
Exploring Operation: 25-22=3, Resulting Numbers: [87, 3]
Generated Node #0,2,0: 84:[87, 3] Operation: 25-22=3
Exploring Operation: 87-25=62, Resulting Numbers: [22, 62]
Generated Node #0,2,1: 84:[22, 62] Operation: 87-25=62
Exploring Operation: 22+25=47, Resulting Numbers: [87, 47]
Generated Node #0,2,2: 84:[87, 47] Operation: 22+25=47
Moving to Node #0,0
Current State: 84:[15, 25, 50], Operations: ['72-22=50']
Exploring Operation: 50-25=25, Resulting Numbers: [15, 25]
Generated Node #0,0,0: 84:[15, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [15, 2]
Generated Node #0,0,1: 84:[15, 2] Operation: 50/25=2
Exploring Operation: 15+25=40, Resulting Numbers: [50, 40]
Generated Node #0,0,2: 84:[50, 40] Operation: 15+25=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[15, 2], Operations: ['72-22=50', '50/25=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[15, 25], Operations: ['72-22=50', '50-25=25']
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,84 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[50, 40], Operations: ['72-22=50', '15+25=40']
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,84 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 84:[87, 3], Operations: ['72+15=87', '25-22=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[72, 15, 22, 25], Operations: []
Exploring Operation: 72+15=87, Resulting Numbers: [22, 25, 87]
Generated Node #0,2: 84:[22, 25, 87] Operation: 72+15=87
Moving to Node #0,2
Current State: 84:[22, 25, 87], Operations: ['72+15=87']
Exploring Operation: 25-22=3, Resulting Numbers: [87, 3]
Generated Node #0,2,0: 84:[87, 3] Operation: 25-22=3
Moving to Node #0,2,0
Current State: 84:[87, 3], Operations: ['72+15=87', '25-22=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.977431 |
hs_3
|
mult_heuristic
|
[
31,
68,
26,
59
] | 34 |
[
"31+26=57",
"59-57=2",
"68/2=34"
] |
Current State: 34:[31, 68, 26, 59], Operations: []
Exploring Operation: 31+26=57, Resulting Numbers: [68, 59, 57]
Generated Node #2: [68, 59, 57] from Operation: 31+26=57
Current State: 34:[68, 59, 57], Operations: ['31+26=57']
Exploring Operation: 59-57=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 59-57=2
Current State: 34:[68, 2], Operations: ['31+26=57', '59-57=2']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[31, 68, 26, 59], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [26, 59, 37]
Generated Node #0,0: 34:[26, 59, 37] Operation: 68-31=37
Exploring Operation: 68-26=42, Resulting Numbers: [31, 59, 42]
Generated Node #0,1: 34:[31, 59, 42] Operation: 68-26=42
Exploring Operation: 59-26=33, Resulting Numbers: [31, 68, 33]
Generated Node #0,2: 34:[31, 68, 33] Operation: 59-26=33
Exploring Operation: 68-59=9, Resulting Numbers: [31, 26, 9]
Generated Node #0,3: 34:[31, 26, 9] Operation: 68-59=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[31, 26, 9], Operations: ['68-59=9']
Exploring Operation: 26+9=35, Resulting Numbers: [31, 35]
Generated Node #0,3,0: 34:[31, 35] Operation: 26+9=35
Exploring Operation: 31-9=22, Resulting Numbers: [26, 22]
Generated Node #0,3,1: 34:[26, 22] Operation: 31-9=22
Exploring Operation: 31-26=5, Resulting Numbers: [9, 5]
Generated Node #0,3,2: 34:[9, 5] Operation: 31-26=5
Exploring Operation: 26-9=17, Resulting Numbers: [31, 17]
Generated Node #0,3,3: 34:[31, 17] Operation: 26-9=17
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[31, 17], Operations: ['68-59=9', '26-9=17']
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,34 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[31, 35], Operations: ['68-59=9', '26+9=35']
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,34 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[9, 5], Operations: ['68-59=9', '31-26=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[26, 22], Operations: ['68-59=9', '31-9=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[26, 59, 37], Operations: ['68-31=37']
Exploring Operation: 59-37=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 34:[26, 22] Operation: 59-37=22
Exploring Operation: 37-26=11, Resulting Numbers: [59, 11]
Generated Node #0,0,1: 34:[59, 11] Operation: 37-26=11
Exploring Operation: 59-26=33, Resulting Numbers: [37, 33]
Generated Node #0,0,2: 34:[37, 33] Operation: 59-26=33
Exploring Operation: 26+59=85, Resulting Numbers: [37, 85]
Generated Node #0,0,3: 34:[37, 85] Operation: 26+59=85
Moving to Node #0,0,2
Current State: 34:[37, 33], Operations: ['68-31=37', '59-26=33']
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,34 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[26, 22], Operations: ['68-31=37', '59-37=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,34 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[59, 11], Operations: ['68-31=37', '37-26=11']
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[37, 85], Operations: ['68-31=37', '26+59=85']
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 37*85=3145, Resulting Numbers: [3145]
3145,34 unequal: No Solution
Exploring Operation: 37+85=122, Resulting Numbers: [122]
122,34 unequal: No Solution
No 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: 34:[31, 59, 42], Operations: ['68-26=42']
Exploring Operation: 59-42=17, Resulting Numbers: [31, 17]
Generated Node #0,1,0: 34:[31, 17] Operation: 59-42=17
Exploring Operation: 31+59=90, Resulting Numbers: [42, 90]
Generated Node #0,1,1: 34:[42, 90] Operation: 31+59=90
Exploring Operation: 42-31=11, Resulting Numbers: [59, 11]
Generated Node #0,1,2: 34:[59, 11] Operation: 42-31=11
Exploring Operation: 59-31=28, Resulting Numbers: [42, 28]
Generated Node #0,1,3: 34:[42, 28] Operation: 59-31=28
Moving to Node #0,1,0
Current State: 34:[31, 17], Operations: ['68-26=42', '59-42=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[42, 28], Operations: ['68-26=42', '59-31=28']
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,34 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[59, 11], Operations: ['68-26=42', '42-31=11']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,34 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[42, 90], Operations: ['68-26=42', '31+59=90']
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,34 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,34 unequal: No Solution
No 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: 34:[31, 68, 33], Operations: ['59-26=33']
Exploring Operation: 33-31=2, Resulting Numbers: [68, 2]
Generated Node #0,2,0: 34:[68, 2] Operation: 33-31=2
Exploring Operation: 68-31=37, Resulting Numbers: [33, 37]
Generated Node #0,2,1: 34:[33, 37] Operation: 68-31=37
Exploring Operation: 68-33=35, Resulting Numbers: [31, 35]
Generated Node #0,2,2: 34:[31, 35] Operation: 68-33=35
Exploring Operation: 31+33=64, Resulting Numbers: [68, 64]
Generated Node #0,2,3: 34:[68, 64] Operation: 31+33=64
Moving to Node #0,2,1
Current State: 34:[33, 37], Operations: ['59-26=33', '68-31=37']
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,34 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[31, 35], Operations: ['59-26=33', '68-33=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[68, 2], Operations: ['59-26=33', '33-31=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[31, 68, 26, 59], Operations: []
Exploring Operation: 59-26=33, Resulting Numbers: [31, 68, 33]
Generated Node #0,2: 34:[31, 68, 33] Operation: 59-26=33
Moving to Node #0,2
Current State: 34:[31, 68, 33], Operations: ['59-26=33']
Exploring Operation: 33-31=2, Resulting Numbers: [68, 2]
Generated Node #0,2,0: 34:[68, 2] Operation: 33-31=2
Moving to Node #0,2,0
Current State: 34:[68, 2], Operations: ['59-26=33', '33-31=2']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 |
hs_4
|
sum_heuristic
|
[
60,
22,
59,
68
] | 91 |
[
"60+22=82",
"68-59=9",
"82+9=91"
] |
Current State: 91:[60, 22, 59, 68], Operations: []
Exploring Operation: 60+22=82, Resulting Numbers: [59, 68, 82]
Generated Node #2: [59, 68, 82] from Operation: 60+22=82
Current State: 91:[59, 68, 82], Operations: ['60+22=82']
Exploring Operation: 68-59=9, Resulting Numbers: [82, 9]
Generated Node #3: [82, 9] from Operation: 68-59=9
Current State: 91:[82, 9], Operations: ['60+22=82', '68-59=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[60, 22, 59, 68], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [22, 68, 1]
Generated Node #0,0: 91:[22, 68, 1] Operation: 60-59=1
Exploring Operation: 68-59=9, Resulting Numbers: [60, 22, 9]
Generated Node #0,1: 91:[60, 22, 9] Operation: 68-59=9
Exploring Operation: 68-60=8, Resulting Numbers: [22, 59, 8]
Generated Node #0,2: 91:[22, 59, 8] Operation: 68-60=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[22, 68, 1], Operations: ['60-59=1']
Exploring Operation: 22-1=21, Resulting Numbers: [68, 21]
Generated Node #0,0,0: 91:[68, 21] Operation: 22-1=21
Exploring Operation: 22+68=90, Resulting Numbers: [1, 90]
Generated Node #0,0,1: 91:[1, 90] Operation: 22+68=90
Exploring Operation: 68+1=69, Resulting Numbers: [22, 69]
Generated Node #0,0,2: 91:[22, 69] Operation: 68+1=69
Moving to Node #0,0,1
Current State: 91:[1, 90], Operations: ['60-59=1', '22+68=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[60, 22, 59, 68], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [22, 68, 1]
Generated Node #0,0: 91:[22, 68, 1] Operation: 60-59=1
Moving to Node #0,0
Current State: 91:[22, 68, 1], Operations: ['60-59=1']
Exploring Operation: 22+68=90, Resulting Numbers: [1, 90]
Generated Node #0,0,1: 91:[1, 90] Operation: 22+68=90
Moving to Node #0,0,1
Current State: 91:[1, 90], Operations: ['60-59=1', '22+68=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
1,
83,
97,
29
] | 14 |
[
"83-1=82",
"97-29=68",
"82-68=14"
] |
Current State: 14:[1, 83, 97, 29], Operations: []
Exploring Operation: 83-1=82, Resulting Numbers: [97, 29, 82]
Generated Node #2: [97, 29, 82] from Operation: 83-1=82
Current State: 14:[97, 29, 82], Operations: ['83-1=82']
Exploring Operation: 97-29=68, Resulting Numbers: [82, 68]
Generated Node #3: [82, 68] from Operation: 97-29=68
Current State: 14:[82, 68], Operations: ['83-1=82', '97-29=68']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[1, 83, 97, 29], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [1, 29, 14]
Generated Node #0,0: 14:[1, 29, 14] Operation: 97-83=14
Exploring Operation: 83-1=82, Resulting Numbers: [97, 29, 82]
Generated Node #0,1: 14:[97, 29, 82] Operation: 83-1=82
Exploring Operation: 97-29=68, Resulting Numbers: [1, 83, 68]
Generated Node #0,2: 14:[1, 83, 68] Operation: 97-29=68
Exploring Operation: 83-29=54, Resulting Numbers: [1, 97, 54]
Generated Node #0,3: 14:[1, 97, 54] Operation: 83-29=54
Exploring Operation: 97-1=96, Resulting Numbers: [83, 29, 96]
Generated Node #0,4: 14:[83, 29, 96] Operation: 97-1=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[1, 29, 14], Operations: ['97-83=14']
Exploring Operation: 29/1=29, Resulting Numbers: [14, 29]
Generated Node #0,0,0: 14:[14, 29] Operation: 29/1=29
Exploring Operation: 1*14=14, Resulting Numbers: [29, 14]
Generated Node #0,0,1: 14:[29, 14] Operation: 1*14=14
Exploring Operation: 1*29=29, Resulting Numbers: [14, 29]
Generated Node #0,0,2: 14:[14, 29] Operation: 1*29=29
Exploring Operation: 29-1=28, Resulting Numbers: [14, 28]
Generated Node #0,0,3: 14:[14, 28] Operation: 29-1=28
Exploring Operation: 29-14=15, Resulting Numbers: [1, 15]
Generated Node #0,0,4: 14:[1, 15] Operation: 29-14=15
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 14:[1, 15], Operations: ['97-83=14', '29-14=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[1, 83, 97, 29], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [1, 29, 14]
Generated Node #0,0: 14:[1, 29, 14] Operation: 97-83=14
Moving to Node #0,0
Current State: 14:[1, 29, 14], Operations: ['97-83=14']
Exploring Operation: 29-14=15, Resulting Numbers: [1, 15]
Generated Node #0,0,4: 14:[1, 15] Operation: 29-14=15
Moving to Node #0,0,4
Current State: 14:[1, 15], Operations: ['97-83=14', '29-14=15']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
sum_heuristic
|
[
8,
89,
66,
25
] | 74 |
[
"89-25=64",
"64/8=8",
"66+8=74"
] |
Current State: 74:[8, 89, 66, 25], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [8, 66, 64]
Generated Node #2: [8, 66, 64] from Operation: 89-25=64
Current State: 74:[8, 66, 64], Operations: ['89-25=64']
Exploring Operation: 64/8=8, Resulting Numbers: [66, 8]
Generated Node #3: [66, 8] from Operation: 64/8=8
Current State: 74:[66, 8], Operations: ['89-25=64', '64/8=8']
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[8, 89, 66, 25], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [8, 66, 64]
Generated Node #0,0: 74:[8, 66, 64] Operation: 89-25=64
Moving to Node #0,0
Current State: 74:[8, 66, 64], Operations: ['89-25=64']
Exploring Operation: 66-64=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 74:[8, 2] Operation: 66-64=2
Moving to Node #0,0,0
Current State: 74:[8, 2], Operations: ['89-25=64', '66-64=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
67,
74,
22,
14
] | 11 |
[
"74-67=7",
"22*7=154",
"154/14=11"
] |
Current State: 11:[67, 74, 22, 14], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [22, 14, 7]
Generated Node #2: [22, 14, 7] from Operation: 74-67=7
Current State: 11:[22, 14, 7], Operations: ['74-67=7']
Exploring Operation: 22*7=154, Resulting Numbers: [14, 154]
Generated Node #3: [14, 154] from Operation: 22*7=154
Current State: 11:[14, 154], Operations: ['74-67=7', '22*7=154']
Exploring Operation: 154/14=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[67, 74, 22, 14], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [22, 14, 7]
Generated Node #0,0: 11:[22, 14, 7] Operation: 74-67=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[22, 14, 7], Operations: ['74-67=7']
Exploring Operation: 22-14=8, Resulting Numbers: [7, 8]
Generated Node #0,0,0: 11:[7, 8] Operation: 22-14=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[7, 8], Operations: ['74-67=7', '22-14=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
23,
41,
44,
70
] | 50 |
[
"23+41=64",
"44+70=114",
"114-64=50"
] |
Current State: 50:[23, 41, 44, 70], Operations: []
Exploring Operation: 23+41=64, Resulting Numbers: [44, 70, 64]
Generated Node #2: [44, 70, 64] from Operation: 23+41=64
Current State: 50:[44, 70, 64], Operations: ['23+41=64']
Exploring Operation: 44+70=114, Resulting Numbers: [64, 114]
Generated Node #3: [64, 114] from Operation: 44+70=114
Current State: 50:[64, 114], Operations: ['23+41=64', '44+70=114']
Exploring Operation: 114-64=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[23, 41, 44, 70], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [23, 44, 29]
Generated Node #0,0: 50:[23, 44, 29] Operation: 70-41=29
Exploring Operation: 44-41=3, Resulting Numbers: [23, 70, 3]
Generated Node #0,1: 50:[23, 70, 3] Operation: 44-41=3
Exploring Operation: 41-23=18, Resulting Numbers: [44, 70, 18]
Generated Node #0,2: 50:[44, 70, 18] Operation: 41-23=18
Exploring Operation: 70-23=47, Resulting Numbers: [41, 44, 47]
Generated Node #0,3: 50:[41, 44, 47] Operation: 70-23=47
Exploring Operation: 70-44=26, Resulting Numbers: [23, 41, 26]
Generated Node #0,4: 50:[23, 41, 26] Operation: 70-44=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[23, 44, 29], Operations: ['70-41=29']
Exploring Operation: 23+44=67, Resulting Numbers: [29, 67]
Generated Node #0,0,0: 50:[29, 67] Operation: 23+44=67
Exploring Operation: 23+29=52, Resulting Numbers: [44, 52]
Generated Node #0,0,1: 50:[44, 52] Operation: 23+29=52
Exploring Operation: 44-29=15, Resulting Numbers: [23, 15]
Generated Node #0,0,2: 50:[23, 15] Operation: 44-29=15
Exploring Operation: 29-23=6, Resulting Numbers: [44, 6]
Generated Node #0,0,3: 50:[44, 6] Operation: 29-23=6
Exploring Operation: 44-23=21, Resulting Numbers: [29, 21]
Generated Node #0,0,4: 50:[29, 21] Operation: 44-23=21
Moving to Node #0,0,2
Current State: 50:[23, 15], Operations: ['70-41=29', '44-29=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[44, 6], Operations: ['70-41=29', '29-23=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[23, 41, 44, 70], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [23, 44, 29]
Generated Node #0,0: 50:[23, 44, 29] Operation: 70-41=29
Moving to Node #0,0
Current State: 50:[23, 44, 29], Operations: ['70-41=29']
Exploring Operation: 29-23=6, Resulting Numbers: [44, 6]
Generated Node #0,0,3: 50:[44, 6] Operation: 29-23=6
Moving to Node #0,0,3
Current State: 50:[44, 6], Operations: ['70-41=29', '29-23=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_5
|
mult_heuristic
|
[
11,
92,
11,
54
] | 83 |
[
"11*11=121",
"92-54=38",
"121-38=83"
] |
Current State: 83:[11, 92, 11, 54], Operations: []
Exploring Operation: 11*11=121, Resulting Numbers: [92, 54, 121]
Generated Node #2: [92, 54, 121] from Operation: 11*11=121
Current State: 83:[92, 54, 121], Operations: ['11*11=121']
Exploring Operation: 92-54=38, Resulting Numbers: [121, 38]
Generated Node #3: [121, 38] from Operation: 92-54=38
Current State: 83:[121, 38], Operations: ['11*11=121', '92-54=38']
Exploring Operation: 121-38=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[11, 92, 11, 54], Operations: []
Exploring Operation: 11*11=121, Resulting Numbers: [92, 54, 121]
Generated Node #0,0: 83:[92, 54, 121] Operation: 11*11=121
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[92, 54, 121], Operations: ['11*11=121']
Exploring Operation: 121-54=67, Resulting Numbers: [92, 67]
Generated Node #0,0,0: 83:[92, 67] Operation: 121-54=67
Moving to Node #0,0,0
Current State: 83:[92, 67], Operations: ['11*11=121', '121-54=67']
Exploring Operation: 92-67=25, Resulting Numbers: [25]
25,83 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
|
[
64,
72,
67,
75
] | 49 |
[
"67-64=3",
"72+75=147",
"147/3=49"
] |
Current State: 49:[64, 72, 67, 75], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [72, 75, 3]
Generated Node #2: [72, 75, 3] from Operation: 67-64=3
Current State: 49:[72, 75, 3], Operations: ['67-64=3']
Exploring Operation: 72+75=147, Resulting Numbers: [3, 147]
Generated Node #3: [3, 147] from Operation: 72+75=147
Current State: 49:[3, 147], Operations: ['67-64=3', '72+75=147']
Exploring Operation: 147/3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[64, 72, 67, 75], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [64, 72, 8]
Generated Node #0,0: 49:[64, 72, 8] Operation: 75-67=8
Exploring Operation: 75-72=3, Resulting Numbers: [64, 67, 3]
Generated Node #0,1: 49:[64, 67, 3] Operation: 75-72=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[64, 67, 3], Operations: ['75-72=3']
Exploring Operation: 67-64=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 49:[3, 3] Operation: 67-64=3
Exploring Operation: 64-3=61, Resulting Numbers: [67, 61]
Generated Node #0,1,1: 49:[67, 61] Operation: 64-3=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[3, 3], Operations: ['75-72=3', '67-64=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,49 unequal: No Solution
No 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: 49:[67, 61], Operations: ['75-72=3', '64-3=61']
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,49 unequal: No Solution
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,49 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: 49:[64, 72, 8], Operations: ['75-67=8']
Exploring Operation: 72-64=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 49:[8, 8] Operation: 72-64=8
Exploring Operation: 72/8=9, Resulting Numbers: [64, 9]
Generated Node #0,0,1: 49:[64, 9] Operation: 72/8=9
Moving to Node #0,0,0
Current State: 49:[8, 8], Operations: ['75-67=8', '72-64=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[64, 9], Operations: ['75-67=8', '72/8=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,49 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
|
[
34,
36,
26,
66
] | 23 |
[
"36+66=102",
"102/34=3",
"26-3=23"
] |
Current State: 23:[34, 36, 26, 66], Operations: []
Exploring Operation: 36+66=102, Resulting Numbers: [34, 26, 102]
Generated Node #2: [34, 26, 102] from Operation: 36+66=102
Current State: 23:[34, 26, 102], Operations: ['36+66=102']
Exploring Operation: 102/34=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 102/34=3
Current State: 23:[26, 3], Operations: ['36+66=102', '102/34=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[34, 36, 26, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [34, 26, 30]
Generated Node #0,0: 23:[34, 26, 30] Operation: 66-36=30
Exploring Operation: 66-34=32, Resulting Numbers: [36, 26, 32]
Generated Node #0,1: 23:[36, 26, 32] Operation: 66-34=32
Exploring Operation: 36-34=2, Resulting Numbers: [26, 66, 2]
Generated Node #0,2: 23:[26, 66, 2] Operation: 36-34=2
Exploring Operation: 66-26=40, Resulting Numbers: [34, 36, 40]
Generated Node #0,3: 23:[34, 36, 40] Operation: 66-26=40
Moving to Node #0,0
Current State: 23:[34, 26, 30], Operations: ['66-36=30']
Exploring Operation: 34+26=60, Resulting Numbers: [30, 60]
Generated Node #0,0,0: 23:[30, 60] Operation: 34+26=60
Exploring Operation: 34-26=8, Resulting Numbers: [30, 8]
Generated Node #0,0,1: 23:[30, 8] Operation: 34-26=8
Exploring Operation: 34-30=4, Resulting Numbers: [26, 4]
Generated Node #0,0,2: 23:[26, 4] Operation: 34-30=4
Exploring Operation: 30-26=4, Resulting Numbers: [34, 4]
Generated Node #0,0,3: 23:[34, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[30, 8], Operations: ['66-36=30', '34-26=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No 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: 23:[26, 4], Operations: ['66-36=30', '34-30=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,23 unequal: No Solution
No 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: 23:[34, 4], Operations: ['66-36=30', '30-26=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,23 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No 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: 23:[30, 60], Operations: ['66-36=30', '34+26=60']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,23 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,23 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: 23:[36, 26, 32], Operations: ['66-34=32']
Exploring Operation: 36-32=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 23:[26, 4] Operation: 36-32=4
Exploring Operation: 36+26=62, Resulting Numbers: [32, 62]
Generated Node #0,1,1: 23:[32, 62] Operation: 36+26=62
Exploring Operation: 36-26=10, Resulting Numbers: [32, 10]
Generated Node #0,1,2: 23:[32, 10] Operation: 36-26=10
Exploring Operation: 32-26=6, Resulting Numbers: [36, 6]
Generated Node #0,1,3: 23:[36, 6] Operation: 32-26=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[26, 4], Operations: ['66-34=32', '36-32=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No 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: 23:[32, 10], Operations: ['66-34=32', '36-26=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,23 unequal: No Solution
No 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: 23:[36, 6], Operations: ['66-34=32', '32-26=6']
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,23 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,23 unequal: No Solution
No 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: 23:[32, 62], Operations: ['66-34=32', '36+26=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,23 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,23 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: 23:[34, 36, 40], Operations: ['66-26=40']
Exploring Operation: 40-36=4, Resulting Numbers: [34, 4]
Generated Node #0,3,0: 23:[34, 4] Operation: 40-36=4
Exploring Operation: 36-34=2, Resulting Numbers: [40, 2]
Generated Node #0,3,1: 23:[40, 2] Operation: 36-34=2
Exploring Operation: 34+36=70, Resulting Numbers: [40, 70]
Generated Node #0,3,2: 23:[40, 70] Operation: 34+36=70
Exploring Operation: 40-34=6, Resulting Numbers: [36, 6]
Generated Node #0,3,3: 23:[36, 6] Operation: 40-34=6
Moving to Node #0,2
Current State: 23:[26, 66, 2], Operations: ['36-34=2']
Exploring Operation: 26-2=24, Resulting Numbers: [66, 24]
Generated Node #0,2,0: 23:[66, 24] Operation: 26-2=24
Exploring Operation: 66-26=40, Resulting Numbers: [2, 40]
Generated Node #0,2,1: 23:[2, 40] Operation: 66-26=40
Exploring Operation: 66/2=33, Resulting Numbers: [26, 33]
Generated Node #0,2,2: 23:[26, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [26, 64]
Generated Node #0,2,3: 23:[26, 64] Operation: 66-2=64
Moving to Node #0,2,2
Current State: 23:[26, 33], Operations: ['36-34=2', '66/2=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[34, 4], Operations: ['66-26=40', '40-36=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,23 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[36, 6], Operations: ['66-26=40', '40-34=6']
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,23 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[40, 2], Operations: ['66-26=40', '36-34=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,23 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[2, 40], Operations: ['36-34=2', '66-26=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,23 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[26, 64], Operations: ['36-34=2', '66-2=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[66, 24], Operations: ['36-34=2', '26-2=24']
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,23 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[40, 70], Operations: ['66-26=40', '34+36=70']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,23 unequal: No Solution
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,23 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
42,
63,
47,
24
] | 50 |
[
"63-42=21",
"47+24=71",
"71-21=50"
] |
Current State: 50:[42, 63, 47, 24], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [47, 24, 21]
Generated Node #2: [47, 24, 21] from Operation: 63-42=21
Current State: 50:[47, 24, 21], Operations: ['63-42=21']
Exploring Operation: 47+24=71, Resulting Numbers: [21, 71]
Generated Node #3: [21, 71] from Operation: 47+24=71
Current State: 50:[21, 71], Operations: ['63-42=21', '47+24=71']
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[42, 63, 47, 24], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [47, 24, 21]
Generated Node #0,0: 50:[47, 24, 21] Operation: 63-42=21
Exploring Operation: 47-42=5, Resulting Numbers: [63, 24, 5]
Generated Node #0,1: 50:[63, 24, 5] Operation: 47-42=5
Moving to Node #0,0
Current State: 50:[47, 24, 21], Operations: ['63-42=21']
Exploring Operation: 47-21=26, Resulting Numbers: [24, 26]
Generated Node #0,0,0: 50:[24, 26] Operation: 47-21=26
Exploring Operation: 24-21=3, Resulting Numbers: [47, 3]
Generated Node #0,0,1: 50:[47, 3] Operation: 24-21=3
Moving to Node #0,1
Current State: 50:[63, 24, 5], Operations: ['47-42=5']
Exploring Operation: 63-5=58, Resulting Numbers: [24, 58]
Generated Node #0,1,0: 50:[24, 58] Operation: 63-5=58
Exploring Operation: 63-24=39, Resulting Numbers: [5, 39]
Generated Node #0,1,1: 50:[5, 39] Operation: 63-24=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[24, 58], Operations: ['47-42=5', '63-5=58']
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[5, 39], Operations: ['47-42=5', '63-24=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,50 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: 50:[24, 26], Operations: ['63-42=21', '47-21=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[42, 63, 47, 24], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [47, 24, 21]
Generated Node #0,0: 50:[47, 24, 21] Operation: 63-42=21
Moving to Node #0,0
Current State: 50:[47, 24, 21], Operations: ['63-42=21']
Exploring Operation: 47-21=26, Resulting Numbers: [24, 26]
Generated Node #0,0,0: 50:[24, 26] Operation: 47-21=26
Moving to Node #0,0,0
Current State: 50:[24, 26], Operations: ['63-42=21', '47-21=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986111 |
hs_2
|
sum_heuristic
|
[
31,
18,
54,
4
] | 49 |
[
"54-31=23",
"18*4=72",
"72-23=49"
] |
Current State: 49:[31, 18, 54, 4], Operations: []
Exploring Operation: 54-31=23, Resulting Numbers: [18, 4, 23]
Generated Node #2: [18, 4, 23] from Operation: 54-31=23
Current State: 49:[18, 4, 23], Operations: ['54-31=23']
Exploring Operation: 18*4=72, Resulting Numbers: [23, 72]
Generated Node #3: [23, 72] from Operation: 18*4=72
Current State: 49:[23, 72], Operations: ['54-31=23', '18*4=72']
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[31, 18, 54, 4], Operations: []
Exploring Operation: 31+4=35, Resulting Numbers: [18, 54, 35]
Generated Node #0,0: 49:[18, 54, 35] Operation: 31+4=35
Exploring Operation: 54/18=3, Resulting Numbers: [31, 4, 3]
Generated Node #0,1: 49:[31, 4, 3] Operation: 54/18=3
Exploring Operation: 31-18=13, Resulting Numbers: [54, 4, 13]
Generated Node #0,2: 49:[54, 4, 13] Operation: 31-18=13
Exploring Operation: 31+18=49, Resulting Numbers: [54, 4, 49]
Generated Node #0,3: 49:[54, 4, 49] Operation: 31+18=49
Exploring Operation: 54-31=23, Resulting Numbers: [18, 4, 23]
Generated Node #0,4: 49:[18, 4, 23] Operation: 54-31=23
Moving to Node #0,3
Current State: 49:[54, 4, 49], Operations: ['31+18=49']
Exploring Operation: 49-4=45, Resulting Numbers: [54, 45]
Generated Node #0,3,0: 49:[54, 45] Operation: 49-4=45
Exploring Operation: 54-49=5, Resulting Numbers: [4, 5]
Generated Node #0,3,1: 49:[4, 5] Operation: 54-49=5
Exploring Operation: 54-4=50, Resulting Numbers: [49, 50]
Generated Node #0,3,2: 49:[49, 50] Operation: 54-4=50
Exploring Operation: 54+4=58, Resulting Numbers: [49, 58]
Generated Node #0,3,3: 49:[49, 58] Operation: 54+4=58
Exploring Operation: 4+49=53, Resulting Numbers: [54, 53]
Generated Node #0,3,4: 49:[54, 53] Operation: 4+49=53
Moving to Node #0,2
Current State: 49:[54, 4, 13], Operations: ['31-18=13']
Exploring Operation: 13-4=9, Resulting Numbers: [54, 9]
Generated Node #0,2,0: 49:[54, 9] Operation: 13-4=9
Exploring Operation: 4*13=52, Resulting Numbers: [54, 52]
Generated Node #0,2,1: 49:[54, 52] Operation: 4*13=52
Exploring Operation: 54-13=41, Resulting Numbers: [4, 41]
Generated Node #0,2,2: 49:[4, 41] Operation: 54-13=41
Exploring Operation: 54-4=50, Resulting Numbers: [13, 50]
Generated Node #0,2,3: 49:[13, 50] Operation: 54-4=50
Exploring Operation: 54+4=58, Resulting Numbers: [13, 58]
Generated Node #0,2,4: 49:[13, 58] Operation: 54+4=58
Moving to Node #0,1
Current State: 49:[31, 4, 3], Operations: ['54/18=3']
Exploring Operation: 31+4=35, Resulting Numbers: [3, 35]
Generated Node #0,1,0: 49:[3, 35] Operation: 31+4=35
Exploring Operation: 31+3=34, Resulting Numbers: [4, 34]
Generated Node #0,1,1: 49:[4, 34] Operation: 31+3=34
Exploring Operation: 4*3=12, Resulting Numbers: [31, 12]
Generated Node #0,1,2: 49:[31, 12] Operation: 4*3=12
Exploring Operation: 31-4=27, Resulting Numbers: [3, 27]
Generated Node #0,1,3: 49:[3, 27] Operation: 31-4=27
Exploring Operation: 4+3=7, Resulting Numbers: [31, 7]
Generated Node #0,1,4: 49:[31, 7] Operation: 4+3=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[3, 35], Operations: ['54/18=3', '31+4=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,49 unequal: No Solution
No 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: 49:[4, 34], Operations: ['54/18=3', '31+3=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,49 unequal: No Solution
No 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: 49:[31, 7], Operations: ['54/18=3', '4+3=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,49 unequal: No Solution
No 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: 49:[31, 12], Operations: ['54/18=3', '4*3=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,49 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,49 unequal: No Solution
No 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: 49:[3, 27], Operations: ['54/18=3', '31-4=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,49 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: 49:[18, 54, 35], Operations: ['31+4=35']
Exploring Operation: 54/18=3, Resulting Numbers: [35, 3]
Generated Node #0,0,0: 49:[35, 3] Operation: 54/18=3
Exploring Operation: 18+35=53, Resulting Numbers: [54, 53]
Generated Node #0,0,1: 49:[54, 53] Operation: 18+35=53
Exploring Operation: 35-18=17, Resulting Numbers: [54, 17]
Generated Node #0,0,2: 49:[54, 17] Operation: 35-18=17
Exploring Operation: 54-35=19, Resulting Numbers: [18, 19]
Generated Node #0,0,3: 49:[18, 19] Operation: 54-35=19
Exploring Operation: 54-18=36, Resulting Numbers: [35, 36]
Generated Node #0,0,4: 49:[35, 36] Operation: 54-18=36
Moving to Node #0,4
Current State: 49:[18, 4, 23], Operations: ['54-31=23']
Exploring Operation: 18+23=41, Resulting Numbers: [4, 41]
Generated Node #0,4,0: 49:[4, 41] Operation: 18+23=41
Exploring Operation: 23-18=5, Resulting Numbers: [4, 5]
Generated Node #0,4,1: 49:[4, 5] Operation: 23-18=5
Exploring Operation: 23-4=19, Resulting Numbers: [18, 19]
Generated Node #0,4,2: 49:[18, 19] Operation: 23-4=19
Exploring Operation: 18-4=14, Resulting Numbers: [23, 14]
Generated Node #0,4,3: 49:[23, 14] Operation: 18-4=14
Exploring Operation: 18+4=22, Resulting Numbers: [23, 22]
Generated Node #0,4,4: 49:[23, 22] Operation: 18+4=22
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[4, 5], Operations: ['54-31=23', '23-18=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,49 unequal: No Solution
No 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: 49:[4, 41], Operations: ['54-31=23', '18+23=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,49 unequal: No Solution
No 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: 49:[18, 19], Operations: ['54-31=23', '23-4=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,49 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,49 unequal: No Solution
No 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: 49:[23, 14], Operations: ['54-31=23', '18-4=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,49 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,49 unequal: No Solution
No 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: 49:[23, 22], Operations: ['54-31=23', '18+4=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,49 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 49:[49, 50], Operations: ['31+18=49', '54-4=50']
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,49 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[4, 5], Operations: ['31+18=49', '54-49=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[54, 9], Operations: ['31-18=13', '13-4=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,49 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[13, 50], Operations: ['31-18=13', '54-4=50']
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,49 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[54, 52], Operations: ['31-18=13', '4*13=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[54, 45], Operations: ['31+18=49', '49-4=45']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,49 unequal: No Solution
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[54, 53], Operations: ['31+18=49', '4+49=53']
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,49 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[54, 53], Operations: ['31+4=35', '18+35=53']
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,49 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[49, 58], Operations: ['31+18=49', '54+4=58']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[4, 41], Operations: ['31-18=13', '54-13=41']
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,49 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[54, 17], Operations: ['31+4=35', '35-18=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[13, 58], Operations: ['31-18=13', '54+4=58']
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,49 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[35, 3], Operations: ['31+4=35', '54/18=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[18, 19], Operations: ['31+4=35', '54-35=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,49 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[35, 36], Operations: ['31+4=35', '54-18=36']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,49 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,49 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
87,
90,
3,
98
] | 98 |
[
"90-87=3",
"3+98=101",
"101-3=98"
] |
Current State: 98:[87, 90, 3, 98], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [3, 98, 3]
Generated Node #2: [3, 98, 3] from Operation: 90-87=3
Current State: 98:[3, 98, 3], Operations: ['90-87=3']
Exploring Operation: 3+98=101, Resulting Numbers: [101]
101,98 equal: Goal Reached
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[87, 90, 3, 98], Operations: []
Exploring Operation: 87+3=90, Resulting Numbers: [90, 98, 90]
Generated Node #0,0: 98:[90, 98, 90] Operation: 87+3=90
Exploring Operation: 98-90=8, Resulting Numbers: [87, 3, 8]
Generated Node #0,1: 98:[87, 3, 8] Operation: 98-90=8
Exploring Operation: 90+3=93, Resulting Numbers: [87, 98, 93]
Generated Node #0,2: 98:[87, 98, 93] Operation: 90+3=93
Exploring Operation: 90-87=3, Resulting Numbers: [3, 98, 3]
Generated Node #0,3: 98:[3, 98, 3] Operation: 90-87=3
Exploring Operation: 98-87=11, Resulting Numbers: [90, 3, 11]
Generated Node #0,4: 98:[90, 3, 11] Operation: 98-87=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[3, 98, 3], Operations: ['90-87=3']
Exploring Operation: 3-3=0, Resulting Numbers: [98, 0]
Generated Node #0,3,0: 98:[98, 0] Operation: 3-3=0
Exploring Operation: 3/3=1, Resulting Numbers: [98, 1]
Generated Node #0,3,1: 98:[98, 1] Operation: 3/3=1
Exploring Operation: 3*3=9, Resulting Numbers: [98, 9]
Generated Node #0,3,2: 98:[98, 9] Operation: 3*3=9
Exploring Operation: 3+3=6, Resulting Numbers: [98, 6]
Generated Node #0,3,3: 98:[98, 6] Operation: 3+3=6
Exploring Operation: 3+98=101, Resulting Numbers: [3, 101]
Generated Node #0,3,4: 98:[3, 101] Operation: 3+98=101
Moving to Node #0,3,1
Current State: 98:[98, 1], Operations: ['90-87=3', '3/3=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[87, 90, 3, 98], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [3, 98, 3]
Generated Node #0,3: 98:[3, 98, 3] Operation: 90-87=3
Moving to Node #0,3
Current State: 98:[3, 98, 3], Operations: ['90-87=3']
Exploring Operation: 3/3=1, Resulting Numbers: [98, 1]
Generated Node #0,3,1: 98:[98, 1] Operation: 3/3=1
Moving to Node #0,3,1
Current State: 98:[98, 1], Operations: ['90-87=3', '3/3=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
sum_heuristic
|
[
4,
25,
79,
86
] | 75 |
[
"4+79=83",
"86-83=3",
"25*3=75"
] |
Current State: 75:[4, 25, 79, 86], Operations: []
Exploring Operation: 4+79=83, Resulting Numbers: [25, 86, 83]
Generated Node #2: [25, 86, 83] from Operation: 4+79=83
Current State: 75:[25, 86, 83], Operations: ['4+79=83']
Exploring Operation: 86-83=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 86-83=3
Current State: 75:[25, 3], Operations: ['4+79=83', '86-83=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[4, 25, 79, 86], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [4, 25, 7]
Generated Node #0,0: 75:[4, 25, 7] Operation: 86-79=7
Exploring Operation: 79-4=75, Resulting Numbers: [25, 86, 75]
Generated Node #0,1: 75:[25, 86, 75] Operation: 79-4=75
Exploring Operation: 86-4=82, Resulting Numbers: [25, 79, 82]
Generated Node #0,2: 75:[25, 79, 82] Operation: 86-4=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[4, 25, 7], Operations: ['86-79=7']
Exploring Operation: 4+7=11, Resulting Numbers: [25, 11]
Generated Node #0,0,0: 75:[25, 11] Operation: 4+7=11
Exploring Operation: 7-4=3, Resulting Numbers: [25, 3]
Generated Node #0,0,1: 75:[25, 3] Operation: 7-4=3
Exploring Operation: 4*7=28, Resulting Numbers: [25, 28]
Generated Node #0,0,2: 75:[25, 28] Operation: 4*7=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[25, 3], Operations: ['86-79=7', '7-4=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[4, 25, 79, 86], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [4, 25, 7]
Generated Node #0,0: 75:[4, 25, 7] Operation: 86-79=7
Moving to Node #0,0
Current State: 75:[4, 25, 7], Operations: ['86-79=7']
Exploring Operation: 7-4=3, Resulting Numbers: [25, 3]
Generated Node #0,0,1: 75:[25, 3] Operation: 7-4=3
Moving to Node #0,0,1
Current State: 75:[25, 3], Operations: ['86-79=7', '7-4=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
99,
75,
87,
72
] | 69 |
[
"99-87=12",
"72/12=6",
"75-6=69"
] |
Current State: 69:[99, 75, 87, 72], Operations: []
Exploring Operation: 99-87=12, Resulting Numbers: [75, 72, 12]
Generated Node #2: [75, 72, 12] from Operation: 99-87=12
Current State: 69:[75, 72, 12], Operations: ['99-87=12']
Exploring Operation: 72/12=6, Resulting Numbers: [75, 6]
Generated Node #3: [75, 6] from Operation: 72/12=6
Current State: 69:[75, 6], Operations: ['99-87=12', '72/12=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[99, 75, 87, 72], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [87, 72, 24]
Generated Node #0,0: 69:[87, 72, 24] Operation: 99-75=24
Exploring Operation: 99-87=12, Resulting Numbers: [75, 72, 12]
Generated Node #0,1: 69:[75, 72, 12] Operation: 99-87=12
Moving to Node #0,1
Current State: 69:[75, 72, 12], Operations: ['99-87=12']
Exploring Operation: 75-12=63, Resulting Numbers: [72, 63]
Generated Node #0,1,0: 69:[72, 63] Operation: 75-12=63
Exploring Operation: 75-72=3, Resulting Numbers: [12, 3]
Generated Node #0,1,1: 69:[12, 3] Operation: 75-72=3
Moving to Node #0,0
Current State: 69:[87, 72, 24], Operations: ['99-75=24']
Exploring Operation: 87-72=15, Resulting Numbers: [24, 15]
Generated Node #0,0,0: 69:[24, 15] Operation: 87-72=15
Exploring Operation: 87-24=63, Resulting Numbers: [72, 63]
Generated Node #0,0,1: 69:[72, 63] Operation: 87-24=63
Moving to Node #0,1,0
Current State: 69:[72, 63], Operations: ['99-87=12', '75-12=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[24, 15], Operations: ['99-75=24', '87-72=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[12, 3], Operations: ['99-87=12', '75-72=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[72, 63], Operations: ['99-75=24', '87-24=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,69 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
44,
82,
4,
31
] | 62 |
[
"44/4=11",
"82-31=51",
"11+51=62"
] |
Current State: 62:[44, 82, 4, 31], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [82, 31, 11]
Generated Node #2: [82, 31, 11] from Operation: 44/4=11
Current State: 62:[82, 31, 11], Operations: ['44/4=11']
Exploring Operation: 82-31=51, Resulting Numbers: [11, 51]
Generated Node #3: [11, 51] from Operation: 82-31=51
Current State: 62:[11, 51], Operations: ['44/4=11', '82-31=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[44, 82, 4, 31], Operations: []
Exploring Operation: 44-4=40, Resulting Numbers: [82, 31, 40]
Generated Node #0,0: 62:[82, 31, 40] Operation: 44-4=40
Exploring Operation: 44/4=11, Resulting Numbers: [82, 31, 11]
Generated Node #0,1: 62:[82, 31, 11] Operation: 44/4=11
Exploring Operation: 82-31=51, Resulting Numbers: [44, 4, 51]
Generated Node #0,2: 62:[44, 4, 51] Operation: 82-31=51
Exploring Operation: 82-44=38, Resulting Numbers: [4, 31, 38]
Generated Node #0,3: 62:[4, 31, 38] Operation: 82-44=38
Moving to Node #0,3
Current State: 62:[4, 31, 38], Operations: ['82-44=38']
Exploring Operation: 31+38=69, Resulting Numbers: [4, 69]
Generated Node #0,3,0: 62:[4, 69] Operation: 31+38=69
Exploring Operation: 38-4=34, Resulting Numbers: [31, 34]
Generated Node #0,3,1: 62:[31, 34] Operation: 38-4=34
Exploring Operation: 38-31=7, Resulting Numbers: [4, 7]
Generated Node #0,3,2: 62:[4, 7] Operation: 38-31=7
Exploring Operation: 4+31=35, Resulting Numbers: [38, 35]
Generated Node #0,3,3: 62:[38, 35] Operation: 4+31=35
Moving to Node #0,2
Current State: 62:[44, 4, 51], Operations: ['82-31=51']
Exploring Operation: 4+51=55, Resulting Numbers: [44, 55]
Generated Node #0,2,0: 62:[44, 55] Operation: 4+51=55
Exploring Operation: 44/4=11, Resulting Numbers: [51, 11]
Generated Node #0,2,1: 62:[51, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [51, 40]
Generated Node #0,2,2: 62:[51, 40] Operation: 44-4=40
Exploring Operation: 51-44=7, Resulting Numbers: [4, 7]
Generated Node #0,2,3: 62:[4, 7] Operation: 51-44=7
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[4, 7], Operations: ['82-31=51', '51-44=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[44, 55], Operations: ['82-31=51', '4+51=55']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[51, 11], Operations: ['82-31=51', '44/4=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,62 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[44, 82, 4, 31], Operations: []
Exploring Operation: 82-31=51, Resulting Numbers: [44, 4, 51]
Generated Node #0,2: 62:[44, 4, 51] Operation: 82-31=51
Moving to Node #0,2
Current State: 62:[44, 4, 51], Operations: ['82-31=51']
Exploring Operation: 44/4=11, Resulting Numbers: [51, 11]
Generated Node #0,2,1: 62:[51, 11] Operation: 44/4=11
Moving to Node #0,2,1
Current State: 62:[51, 11], Operations: ['82-31=51', '44/4=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 |
hs_4
|
sum_heuristic
|
[
47,
3,
52,
91
] | 77 |
[
"47-3=44",
"91*44=4004",
"4004/52=77"
] |
Current State: 77:[47, 3, 52, 91], Operations: []
Exploring Operation: 47-3=44, Resulting Numbers: [52, 91, 44]
Generated Node #2: [52, 91, 44] from Operation: 47-3=44
Current State: 77:[52, 91, 44], Operations: ['47-3=44']
Exploring Operation: 91*44=4004, Resulting Numbers: [52, 4004]
Generated Node #3: [52, 4004] from Operation: 91*44=4004
Current State: 77:[52, 4004], Operations: ['47-3=44', '91*44=4004']
Exploring Operation: 4004/52=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[47, 3, 52, 91], Operations: []
Exploring Operation: 47+52=99, Resulting Numbers: [3, 91, 99]
Generated Node #0,0: 77:[3, 91, 99] Operation: 47+52=99
Exploring Operation: 91-52=39, Resulting Numbers: [47, 3, 39]
Generated Node #0,1: 77:[47, 3, 39] Operation: 91-52=39
Exploring Operation: 52-47=5, Resulting Numbers: [3, 91, 5]
Generated Node #0,2: 77:[3, 91, 5] Operation: 52-47=5
Exploring Operation: 91-47=44, Resulting Numbers: [3, 52, 44]
Generated Node #0,3: 77:[3, 52, 44] Operation: 91-47=44
Moving to Node #0,2
Current State: 77:[3, 91, 5], Operations: ['52-47=5']
Exploring Operation: 91-3=88, Resulting Numbers: [5, 88]
Generated Node #0,2,0: 77:[5, 88] Operation: 91-3=88
Exploring Operation: 91-5=86, Resulting Numbers: [3, 86]
Generated Node #0,2,1: 77:[3, 86] Operation: 91-5=86
Exploring Operation: 3+5=8, Resulting Numbers: [91, 8]
Generated Node #0,2,2: 77:[91, 8] Operation: 3+5=8
Exploring Operation: 3*5=15, Resulting Numbers: [91, 15]
Generated Node #0,2,3: 77:[91, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[5, 88], Operations: ['52-47=5', '91-3=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,77 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,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:[3, 86], Operations: ['52-47=5', '91-5=86']
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,77 unequal: No Solution
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,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:[91, 8], Operations: ['52-47=5', '3+5=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,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,3
Current State: 77:[91, 15], Operations: ['52-47=5', '3*5=15']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,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:[3, 91, 99], Operations: ['47+52=99']
Exploring Operation: 99/3=33, Resulting Numbers: [91, 33]
Generated Node #0,0,0: 77:[91, 33] Operation: 99/3=33
Exploring Operation: 91-3=88, Resulting Numbers: [99, 88]
Generated Node #0,0,1: 77:[99, 88] Operation: 91-3=88
Exploring Operation: 99-3=96, Resulting Numbers: [91, 96]
Generated Node #0,0,2: 77:[91, 96] Operation: 99-3=96
Exploring Operation: 99-91=8, Resulting Numbers: [3, 8]
Generated Node #0,0,3: 77:[3, 8] Operation: 99-91=8
Moving to Node #0,3
Current State: 77:[3, 52, 44], Operations: ['91-47=44']
Exploring Operation: 3+52=55, Resulting Numbers: [44, 55]
Generated Node #0,3,0: 77:[44, 55] Operation: 3+52=55
Exploring Operation: 52+44=96, Resulting Numbers: [3, 96]
Generated Node #0,3,1: 77:[3, 96] Operation: 52+44=96
Exploring Operation: 52-44=8, Resulting Numbers: [3, 8]
Generated Node #0,3,2: 77:[3, 8] Operation: 52-44=8
Exploring Operation: 3+44=47, Resulting Numbers: [52, 47]
Generated Node #0,3,3: 77:[52, 47] Operation: 3+44=47
Moving to Node #0,1
Current State: 77:[47, 3, 39], Operations: ['91-52=39']
Exploring Operation: 47+39=86, Resulting Numbers: [3, 86]
Generated Node #0,1,0: 77:[3, 86] Operation: 47+39=86
Exploring Operation: 47-39=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 77:[3, 8] Operation: 47-39=8
Exploring Operation: 47+3=50, Resulting Numbers: [39, 50]
Generated Node #0,1,2: 77:[39, 50] Operation: 47+3=50
Exploring Operation: 39/3=13, Resulting Numbers: [47, 13]
Generated Node #0,1,3: 77:[47, 13] Operation: 39/3=13
Moving to Node #0,0,3
Current State: 77:[3, 8], Operations: ['47+52=99', '99-91=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[3, 8], Operations: ['91-47=44', '52-44=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[3, 8], Operations: ['91-52=39', '47-39=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[3, 86], Operations: ['91-52=39', '47+39=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[3, 96], Operations: ['91-47=44', '52+44=96']
Exploring Operation: 3*96=288, Resulting Numbers: [288]
288,77 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[47, 13], Operations: ['91-52=39', '39/3=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[91, 96], Operations: ['47+52=99', '99-3=96']
Exploring Operation: 91*96=8736, Resulting Numbers: [8736]
8736,77 unequal: No Solution
Exploring Operation: 91+96=187, Resulting Numbers: [187]
187,77 unequal: No Solution
Exploring Operation: 96-91=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[99, 88], Operations: ['47+52=99', '91-3=88']
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,77 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[91, 33], Operations: ['47+52=99', '99/3=33']
Exploring Operation: 91+33=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 91*33=3003, Resulting Numbers: [3003]
3003,77 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[39, 50], Operations: ['91-52=39', '47+3=50']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[44, 55], Operations: ['91-47=44', '3+52=55']
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,77 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[52, 47], Operations: ['91-47=44', '3+44=47']
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,77 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,77 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
45,
50,
15,
18
] | 63 |
[
"50*18=900",
"45+900=945",
"945/15=63"
] |
Current State: 63:[45, 50, 15, 18], Operations: []
Exploring Operation: 50*18=900, Resulting Numbers: [45, 15, 900]
Generated Node #2: [45, 15, 900] from Operation: 50*18=900
Current State: 63:[45, 15, 900], Operations: ['50*18=900']
Exploring Operation: 45+900=945, Resulting Numbers: [15, 945]
Generated Node #3: [15, 945] from Operation: 45+900=945
Current State: 63:[15, 945], Operations: ['50*18=900', '45+900=945']
Exploring Operation: 945/15=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[45, 50, 15, 18], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [50, 18, 3]
Generated Node #0,0: 63:[50, 18, 3] Operation: 45/15=3
Exploring Operation: 45+15=60, Resulting Numbers: [50, 18, 60]
Generated Node #0,1: 63:[50, 18, 60] Operation: 45+15=60
Exploring Operation: 45+18=63, Resulting Numbers: [50, 15, 63]
Generated Node #0,2: 63:[50, 15, 63] Operation: 45+18=63
Exploring Operation: 50-45=5, Resulting Numbers: [15, 18, 5]
Generated Node #0,3: 63:[15, 18, 5] Operation: 50-45=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[15, 18, 5], Operations: ['50-45=5']
Exploring Operation: 15-5=10, Resulting Numbers: [18, 10]
Generated Node #0,3,0: 63:[18, 10] Operation: 15-5=10
Exploring Operation: 18-15=3, Resulting Numbers: [5, 3]
Generated Node #0,3,1: 63:[5, 3] Operation: 18-15=3
Exploring Operation: 15+5=20, Resulting Numbers: [18, 20]
Generated Node #0,3,2: 63:[18, 20] Operation: 15+5=20
Exploring Operation: 15/5=3, Resulting Numbers: [18, 3]
Generated Node #0,3,3: 63:[18, 3] Operation: 15/5=3
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[5, 3], Operations: ['50-45=5', '18-15=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[18, 3], Operations: ['50-45=5', '15/5=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[18, 10], Operations: ['50-45=5', '15-5=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 63:[18, 20], Operations: ['50-45=5', '15+5=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[50, 18, 3], Operations: ['45/15=3']
Exploring Operation: 50+3=53, Resulting Numbers: [18, 53]
Generated Node #0,0,0: 63:[18, 53] Operation: 50+3=53
Exploring Operation: 18+3=21, Resulting Numbers: [50, 21]
Generated Node #0,0,1: 63:[50, 21] Operation: 18+3=21
Exploring Operation: 50-18=32, Resulting Numbers: [3, 32]
Generated Node #0,0,2: 63:[3, 32] Operation: 50-18=32
Exploring Operation: 50+18=68, Resulting Numbers: [3, 68]
Generated Node #0,0,3: 63:[3, 68] Operation: 50+18=68
Moving to Node #0,0,3
Current State: 63:[3, 68], Operations: ['45/15=3', '50+18=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[3, 32], Operations: ['45/15=3', '50-18=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[50, 21], Operations: ['45/15=3', '18+3=21']
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,63 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[18, 53], Operations: ['45/15=3', '50+3=53']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[50, 18, 60], Operations: ['45+15=60']
Exploring Operation: 60-50=10, Resulting Numbers: [18, 10]
Generated Node #0,1,0: 63:[18, 10] Operation: 60-50=10
Exploring Operation: 18+60=78, Resulting Numbers: [50, 78]
Generated Node #0,1,1: 63:[50, 78] Operation: 18+60=78
Exploring Operation: 50+18=68, Resulting Numbers: [60, 68]
Generated Node #0,1,2: 63:[60, 68] Operation: 50+18=68
Exploring Operation: 50-18=32, Resulting Numbers: [60, 32]
Generated Node #0,1,3: 63:[60, 32] Operation: 50-18=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[18, 10], Operations: ['45+15=60', '60-50=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[60, 68], Operations: ['45+15=60', '50+18=68']
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,63 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 60*68=4080, Resulting Numbers: [4080]
4080,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 63:[60, 32], Operations: ['45+15=60', '50-18=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,63 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[50, 78], Operations: ['45+15=60', '18+60=78']
Exploring Operation: 50+78=128, Resulting Numbers: [128]
128,63 unequal: No Solution
Exploring Operation: 50*78=3900, Resulting Numbers: [3900]
3900,63 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[50, 15, 63], Operations: ['45+18=63']
Exploring Operation: 63-50=13, Resulting Numbers: [15, 13]
Generated Node #0,2,0: 63:[15, 13] Operation: 63-50=13
Exploring Operation: 50-15=35, Resulting Numbers: [63, 35]
Generated Node #0,2,1: 63:[63, 35] Operation: 50-15=35
Exploring Operation: 50+15=65, Resulting Numbers: [63, 65]
Generated Node #0,2,2: 63:[63, 65] Operation: 50+15=65
Exploring Operation: 15+63=78, Resulting Numbers: [50, 78]
Generated Node #0,2,3: 63:[50, 78] Operation: 15+63=78
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[63, 65], Operations: ['45+18=63', '50+15=65']
Exploring Operation: 63+65=128, Resulting Numbers: [128]
128,63 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 63*65=4095, Resulting Numbers: [4095]
4095,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 63:[15, 13], Operations: ['45+18=63', '63-50=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,63 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[63, 35], Operations: ['45+18=63', '50-15=35']
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,63 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 63:[50, 78], Operations: ['45+18=63', '15+63=78']
Exploring Operation: 50*78=3900, Resulting Numbers: [3900]
3900,63 unequal: No Solution
Exploring Operation: 50+78=128, Resulting Numbers: [128]
128,63 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
36,
25,
14,
35
] | 39 |
[
"36-35=1",
"25+14=39",
"1*39=39"
] |
Current State: 39:[36, 25, 14, 35], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [25, 14, 1]
Generated Node #2: [25, 14, 1] from Operation: 36-35=1
Current State: 39:[25, 14, 1], Operations: ['36-35=1']
Exploring Operation: 25+14=39, Resulting Numbers: [1, 39]
Generated Node #3: [1, 39] from Operation: 25+14=39
Current State: 39:[1, 39], Operations: ['36-35=1', '25+14=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[36, 25, 14, 35], Operations: []
Exploring Operation: 36-25=11, Resulting Numbers: [14, 35, 11]
Generated Node #0,0: 39:[14, 35, 11] Operation: 36-25=11
Exploring Operation: 35-25=10, Resulting Numbers: [36, 14, 10]
Generated Node #0,1: 39:[36, 14, 10] Operation: 35-25=10
Exploring Operation: 25+14=39, Resulting Numbers: [36, 35, 39]
Generated Node #0,2: 39:[36, 35, 39] Operation: 25+14=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[14, 35, 11], Operations: ['36-25=11']
Exploring Operation: 35+11=46, Resulting Numbers: [14, 46]
Generated Node #0,0,0: 39:[14, 46] Operation: 35+11=46
Exploring Operation: 14-11=3, Resulting Numbers: [35, 3]
Generated Node #0,0,1: 39:[35, 3] Operation: 14-11=3
Exploring Operation: 35-14=21, Resulting Numbers: [11, 21]
Generated Node #0,0,2: 39:[11, 21] Operation: 35-14=21
Moving to Node #0,0,1
Current State: 39:[35, 3], Operations: ['36-25=11', '14-11=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,39 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[14, 46], Operations: ['36-25=11', '35+11=46']
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[11, 21], Operations: ['36-25=11', '35-14=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,39 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,39 unequal: No Solution
No 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: 39:[36, 14, 10], Operations: ['35-25=10']
Exploring Operation: 36+10=46, Resulting Numbers: [14, 46]
Generated Node #0,1,0: 39:[14, 46] Operation: 36+10=46
Exploring Operation: 36-14=22, Resulting Numbers: [10, 22]
Generated Node #0,1,1: 39:[10, 22] Operation: 36-14=22
Exploring Operation: 14-10=4, Resulting Numbers: [36, 4]
Generated Node #0,1,2: 39:[36, 4] Operation: 14-10=4
Moving to Node #0,1,2
Current State: 39:[36, 4], Operations: ['35-25=10', '14-10=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[14, 46], Operations: ['35-25=10', '36+10=46']
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,39 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[10, 22], Operations: ['35-25=10', '36-14=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,39 unequal: No Solution
No 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:[36, 35, 39], Operations: ['25+14=39']
Exploring Operation: 39-35=4, Resulting Numbers: [36, 4]
Generated Node #0,2,0: 39:[36, 4] Operation: 39-35=4
Exploring Operation: 39-36=3, Resulting Numbers: [35, 3]
Generated Node #0,2,1: 39:[35, 3] Operation: 39-36=3
Exploring Operation: 36-35=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 39:[39, 1] Operation: 36-35=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[39, 1], Operations: ['25+14=39', '36-35=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[36, 25, 14, 35], Operations: []
Exploring Operation: 25+14=39, Resulting Numbers: [36, 35, 39]
Generated Node #0,2: 39:[36, 35, 39] Operation: 25+14=39
Moving to Node #0,2
Current State: 39:[36, 35, 39], Operations: ['25+14=39']
Exploring Operation: 36-35=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 39:[39, 1] Operation: 36-35=1
Moving to Node #0,2,2
Current State: 39:[39, 1], Operations: ['25+14=39', '36-35=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 |
hs_3
|
sum_heuristic
|
[
1,
98,
3,
74
] | 41 |
[
"1+98=99",
"99/3=33",
"74-33=41"
] |
Current State: 41:[1, 98, 3, 74], Operations: []
Exploring Operation: 1+98=99, Resulting Numbers: [3, 74, 99]
Generated Node #2: [3, 74, 99] from Operation: 1+98=99
Current State: 41:[3, 74, 99], Operations: ['1+98=99']
Exploring Operation: 99/3=33, Resulting Numbers: [74, 33]
Generated Node #3: [74, 33] from Operation: 99/3=33
Current State: 41:[74, 33], Operations: ['1+98=99', '99/3=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[1, 98, 3, 74], Operations: []
Exploring Operation: 1+3=4, Resulting Numbers: [98, 74, 4]
Generated Node #0,0: 41:[98, 74, 4] Operation: 1+3=4
Exploring Operation: 98-1=97, Resulting Numbers: [3, 74, 97]
Generated Node #0,1: 41:[3, 74, 97] Operation: 98-1=97
Exploring Operation: 74-1=73, Resulting Numbers: [98, 3, 73]
Generated Node #0,2: 41:[98, 3, 73] Operation: 74-1=73
Exploring Operation: 98-74=24, Resulting Numbers: [1, 3, 24]
Generated Node #0,3: 41:[1, 3, 24] Operation: 98-74=24
Exploring Operation: 98-3=95, Resulting Numbers: [1, 74, 95]
Generated Node #0,4: 41:[1, 74, 95] Operation: 98-3=95
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[1, 3, 24], Operations: ['98-74=24']
Exploring Operation: 3/1=3, Resulting Numbers: [24, 3]
Generated Node #0,3,0: 41:[24, 3] Operation: 3/1=3
Exploring Operation: 3+24=27, Resulting Numbers: [1, 27]
Generated Node #0,3,1: 41:[1, 27] Operation: 3+24=27
Exploring Operation: 1+24=25, Resulting Numbers: [3, 25]
Generated Node #0,3,2: 41:[3, 25] Operation: 1+24=25
Exploring Operation: 1+3=4, Resulting Numbers: [24, 4]
Generated Node #0,3,3: 41:[24, 4] Operation: 1+3=4
Exploring Operation: 1*3=3, Resulting Numbers: [24, 3]
Generated Node #0,3,4: 41:[24, 3] Operation: 1*3=3
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 41:[1, 27], Operations: ['98-74=24', '3+24=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 41:[3, 25], Operations: ['98-74=24', '1+24=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 41:[24, 4], Operations: ['98-74=24', '1+3=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 41:[24, 3], Operations: ['98-74=24', '3/1=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 41:[24, 3], Operations: ['98-74=24', '1*3=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[98, 74, 4], Operations: ['1+3=4']
Exploring Operation: 98+4=102, Resulting Numbers: [74, 102]
Generated Node #0,0,0: 41:[74, 102] Operation: 98+4=102
Exploring Operation: 74+4=78, Resulting Numbers: [98, 78]
Generated Node #0,0,1: 41:[98, 78] Operation: 74+4=78
Exploring Operation: 98-74=24, Resulting Numbers: [4, 24]
Generated Node #0,0,2: 41:[4, 24] Operation: 98-74=24
Exploring Operation: 74-4=70, Resulting Numbers: [98, 70]
Generated Node #0,0,3: 41:[98, 70] Operation: 74-4=70
Exploring Operation: 98-4=94, Resulting Numbers: [74, 94]
Generated Node #0,0,4: 41:[74, 94] Operation: 98-4=94
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[4, 24], Operations: ['1+3=4', '98-74=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 41:[98, 70], Operations: ['1+3=4', '74-4=70']
Exploring Operation: 98*70=6860, Resulting Numbers: [6860]
6860,41 unequal: No Solution
Exploring Operation: 98+70=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 41:[74, 94], Operations: ['1+3=4', '98-4=94']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[74, 102], Operations: ['1+3=4', '98+4=102']
Exploring Operation: 74+102=176, Resulting Numbers: [176]
176,41 unequal: No Solution
Exploring Operation: 74*102=7548, Resulting Numbers: [7548]
7548,41 unequal: No Solution
Exploring Operation: 102-74=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[98, 78], Operations: ['1+3=4', '74+4=78']
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 98+78=176, Resulting Numbers: [176]
176,41 unequal: No Solution
Exploring Operation: 98*78=7644, Resulting Numbers: [7644]
7644,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[3, 74, 97], Operations: ['98-1=97']
Exploring Operation: 97-74=23, Resulting Numbers: [3, 23]
Generated Node #0,1,0: 41:[3, 23] Operation: 97-74=23
Exploring Operation: 3+74=77, Resulting Numbers: [97, 77]
Generated Node #0,1,1: 41:[97, 77] Operation: 3+74=77
Exploring Operation: 74-3=71, Resulting Numbers: [97, 71]
Generated Node #0,1,2: 41:[97, 71] Operation: 74-3=71
Exploring Operation: 3+97=100, Resulting Numbers: [74, 100]
Generated Node #0,1,3: 41:[74, 100] Operation: 3+97=100
Exploring Operation: 97-3=94, Resulting Numbers: [74, 94]
Generated Node #0,1,4: 41:[74, 94] Operation: 97-3=94
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[3, 23], Operations: ['98-1=97', '97-74=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[97, 71], Operations: ['98-1=97', '74-3=71']
Exploring Operation: 97*71=6887, Resulting Numbers: [6887]
6887,41 unequal: No Solution
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 97+71=168, Resulting Numbers: [168]
168,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 41:[74, 94], Operations: ['98-1=97', '97-3=94']
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[97, 77], Operations: ['98-1=97', '3+74=77']
Exploring Operation: 97+77=174, Resulting Numbers: [174]
174,41 unequal: No Solution
Exploring Operation: 97*77=7469, Resulting Numbers: [7469]
7469,41 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[74, 100], Operations: ['98-1=97', '3+97=100']
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 74+100=174, Resulting Numbers: [174]
174,41 unequal: No Solution
Exploring Operation: 74*100=7400, Resulting Numbers: [7400]
7400,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[98, 3, 73], Operations: ['74-1=73']
Exploring Operation: 98-73=25, Resulting Numbers: [3, 25]
Generated Node #0,2,0: 41:[3, 25] Operation: 98-73=25
Exploring Operation: 98+3=101, Resulting Numbers: [73, 101]
Generated Node #0,2,1: 41:[73, 101] Operation: 98+3=101
Exploring Operation: 98-3=95, Resulting Numbers: [73, 95]
Generated Node #0,2,2: 41:[73, 95] Operation: 98-3=95
Exploring Operation: 3+73=76, Resulting Numbers: [98, 76]
Generated Node #0,2,3: 41:[98, 76] Operation: 3+73=76
Exploring Operation: 73-3=70, Resulting Numbers: [98, 70]
Generated Node #0,2,4: 41:[98, 70] Operation: 73-3=70
Moving to Node #0,2,0
Current State: 41:[3, 25], Operations: ['74-1=73', '98-73=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[98, 70], Operations: ['74-1=73', '73-3=70']
Exploring Operation: 98*70=6860, Resulting Numbers: [6860]
6860,41 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 98+70=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[73, 95], Operations: ['74-1=73', '98-3=95']
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 73+95=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Exploring Operation: 73*95=6935, Resulting Numbers: [6935]
6935,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[73, 101], Operations: ['74-1=73', '98+3=101']
Exploring Operation: 73*101=7373, Resulting Numbers: [7373]
7373,41 unequal: No Solution
Exploring Operation: 73+101=174, Resulting Numbers: [174]
174,41 unequal: No Solution
Exploring Operation: 101-73=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[98, 76], Operations: ['74-1=73', '3+73=76']
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 98*76=7448, Resulting Numbers: [7448]
7448,41 unequal: No Solution
Exploring Operation: 98+76=174, Resulting Numbers: [174]
174,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,4
Current State: 41:[1, 74, 95], Operations: ['98-3=95']
Exploring Operation: 1*74=74, Resulting Numbers: [95, 74]
Generated Node #0,4,0: 41:[95, 74] Operation: 1*74=74
Exploring Operation: 95-74=21, Resulting Numbers: [1, 21]
Generated Node #0,4,1: 41:[1, 21] Operation: 95-74=21
Exploring Operation: 74-1=73, Resulting Numbers: [95, 73]
Generated Node #0,4,2: 41:[95, 73] Operation: 74-1=73
Exploring Operation: 95-1=94, Resulting Numbers: [74, 94]
Generated Node #0,4,3: 41:[74, 94] Operation: 95-1=94
Exploring Operation: 74/1=74, Resulting Numbers: [95, 74]
Generated Node #0,4,4: 41:[95, 74] Operation: 74/1=74
Moving to Node #0,4,1
Current State: 41:[1, 21], Operations: ['98-3=95', '95-74=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[74, 94], Operations: ['98-3=95', '95-1=94']
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,41 unequal: No Solution
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[95, 73], Operations: ['98-3=95', '74-1=73']
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 95+73=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Exploring Operation: 95*73=6935, Resulting Numbers: [6935]
6935,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[95, 74], Operations: ['98-3=95', '1*74=74']
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 95*74=7030, Resulting Numbers: [7030]
7030,41 unequal: No Solution
Exploring Operation: 95+74=169, Resulting Numbers: [169]
169,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[95, 74], Operations: ['98-3=95', '74/1=74']
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 95+74=169, Resulting Numbers: [169]
169,41 unequal: No Solution
Exploring Operation: 95*74=7030, Resulting Numbers: [7030]
7030,41 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
|
[
25,
61,
30,
91
] | 26 |
[
"61+30=91",
"91/91=1",
"25+1=26"
] |
Current State: 26:[25, 61, 30, 91], Operations: []
Exploring Operation: 61+30=91, Resulting Numbers: [25, 91, 91]
Generated Node #2: [25, 91, 91] from Operation: 61+30=91
Current State: 26:[25, 91, 91], Operations: ['61+30=91']
Exploring Operation: 91/91=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 91/91=1
Current State: 26:[25, 1], Operations: ['61+30=91', '91/91=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[25, 61, 30, 91], Operations: []
Exploring Operation: 61-30=31, Resulting Numbers: [25, 91, 31]
Generated Node #0,0: 26:[25, 91, 31] Operation: 61-30=31
Exploring Operation: 91-61=30, Resulting Numbers: [25, 30, 30]
Generated Node #0,1: 26:[25, 30, 30] Operation: 91-61=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[25, 30, 30], Operations: ['91-61=30']
Exploring Operation: 30/30=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 26:[25, 1] Operation: 30/30=1
Exploring Operation: 30-30=0, Resulting Numbers: [25, 0]
Generated Node #0,1,1: 26:[25, 0] Operation: 30-30=0
Moving to Node #0,1,0
Current State: 26:[25, 1], Operations: ['91-61=30', '30/30=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[25, 61, 30, 91], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [25, 30, 30]
Generated Node #0,1: 26:[25, 30, 30] Operation: 91-61=30
Moving to Node #0,1
Current State: 26:[25, 30, 30], Operations: ['91-61=30']
Exploring Operation: 30/30=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 26:[25, 1] Operation: 30/30=1
Moving to Node #0,1,0
Current State: 26:[25, 1], Operations: ['91-61=30', '30/30=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
73,
58,
85,
13
] | 87 |
[
"73-58=15",
"85-13=72",
"15+72=87"
] |
Current State: 87:[73, 58, 85, 13], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [85, 13, 15]
Generated Node #2: [85, 13, 15] from Operation: 73-58=15
Current State: 87:[85, 13, 15], Operations: ['73-58=15']
Exploring Operation: 85-13=72, Resulting Numbers: [15, 72]
Generated Node #3: [15, 72] from Operation: 85-13=72
Current State: 87:[15, 72], Operations: ['73-58=15', '85-13=72']
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[73, 58, 85, 13], Operations: []
Exploring Operation: 58+13=71, Resulting Numbers: [73, 85, 71]
Generated Node #0,0: 87:[73, 85, 71] Operation: 58+13=71
Exploring Operation: 85-58=27, Resulting Numbers: [73, 13, 27]
Generated Node #0,1: 87:[73, 13, 27] Operation: 85-58=27
Exploring Operation: 73+13=86, Resulting Numbers: [58, 85, 86]
Generated Node #0,2: 87:[58, 85, 86] Operation: 73+13=86
Exploring Operation: 73-58=15, Resulting Numbers: [85, 13, 15]
Generated Node #0,3: 87:[85, 13, 15] Operation: 73-58=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[85, 13, 15], Operations: ['73-58=15']
Exploring Operation: 15-13=2, Resulting Numbers: [85, 2]
Generated Node #0,3,0: 87:[85, 2] Operation: 15-13=2
Exploring Operation: 13+15=28, Resulting Numbers: [85, 28]
Generated Node #0,3,1: 87:[85, 28] Operation: 13+15=28
Exploring Operation: 85+15=100, Resulting Numbers: [13, 100]
Generated Node #0,3,2: 87:[13, 100] Operation: 85+15=100
Exploring Operation: 85+13=98, Resulting Numbers: [15, 98]
Generated Node #0,3,3: 87:[15, 98] Operation: 85+13=98
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[85, 2], Operations: ['73-58=15', '15-13=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[73, 58, 85, 13], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [85, 13, 15]
Generated Node #0,3: 87:[85, 13, 15] Operation: 73-58=15
Moving to Node #0,3
Current State: 87:[85, 13, 15], Operations: ['73-58=15']
Exploring Operation: 15-13=2, Resulting Numbers: [85, 2]
Generated Node #0,3,0: 87:[85, 2] Operation: 15-13=2
Moving to Node #0,3,0
Current State: 87:[85, 2], Operations: ['73-58=15', '15-13=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
mult_heuristic
|
[
11,
29,
67,
98
] | 49 |
[
"29-11=18",
"98-67=31",
"18+31=49"
] |
Current State: 49:[11, 29, 67, 98], Operations: []
Exploring Operation: 29-11=18, Resulting Numbers: [67, 98, 18]
Generated Node #2: [67, 98, 18] from Operation: 29-11=18
Current State: 49:[67, 98, 18], Operations: ['29-11=18']
Exploring Operation: 98-67=31, Resulting Numbers: [18, 31]
Generated Node #3: [18, 31] from Operation: 98-67=31
Current State: 49:[18, 31], Operations: ['29-11=18', '98-67=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[11, 29, 67, 98], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [11, 29, 31]
Generated Node #0,0: 49:[11, 29, 31] Operation: 98-67=31
Exploring Operation: 98-29=69, Resulting Numbers: [11, 67, 69]
Generated Node #0,1: 49:[11, 67, 69] Operation: 98-29=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[11, 29, 31], Operations: ['98-67=31']
Exploring Operation: 31-29=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 49:[11, 2] Operation: 31-29=2
Exploring Operation: 29+31=60, Resulting Numbers: [11, 60]
Generated Node #0,0,1: 49:[11, 60] Operation: 29+31=60
Moving to Node #0,0,0
Current State: 49:[11, 2], Operations: ['98-67=31', '31-29=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[11, 60], Operations: ['98-67=31', '29+31=60']
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[11, 29, 67, 98], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [11, 29, 31]
Generated Node #0,0: 49:[11, 29, 31] Operation: 98-67=31
Moving to Node #0,0
Current State: 49:[11, 29, 31], Operations: ['98-67=31']
Exploring Operation: 29+31=60, Resulting Numbers: [11, 60]
Generated Node #0,0,1: 49:[11, 60] Operation: 29+31=60
Moving to Node #0,0,1
Current State: 49:[11, 60], Operations: ['98-67=31', '29+31=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
sum_heuristic
|
[
36,
67,
40,
2
] | 75 |
[
"40-36=4",
"2*4=8",
"67+8=75"
] |
Current State: 75:[36, 67, 40, 2], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [67, 2, 4]
Generated Node #2: [67, 2, 4] from Operation: 40-36=4
Current State: 75:[67, 2, 4], Operations: ['40-36=4']
Exploring Operation: 2*4=8, Resulting Numbers: [67, 8]
Generated Node #3: [67, 8] from Operation: 2*4=8
Current State: 75:[67, 8], Operations: ['40-36=4', '2*4=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[36, 67, 40, 2], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [67, 2, 4]
Generated Node #0,0: 75:[67, 2, 4] Operation: 40-36=4
Exploring Operation: 36+40=76, Resulting Numbers: [67, 2, 76]
Generated Node #0,1: 75:[67, 2, 76] Operation: 36+40=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[67, 2, 4], Operations: ['40-36=4']
Exploring Operation: 67+2=69, Resulting Numbers: [4, 69]
Generated Node #0,0,0: 75:[4, 69] Operation: 67+2=69
Exploring Operation: 67+4=71, Resulting Numbers: [2, 71]
Generated Node #0,0,1: 75:[2, 71] Operation: 67+4=71
Moving to Node #0,0,1
Current State: 75:[2, 71], Operations: ['40-36=4', '67+4=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[4, 69], Operations: ['40-36=4', '67+2=69']
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,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,1
Current State: 75:[67, 2, 76], Operations: ['36+40=76']
Exploring Operation: 76-67=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 75:[2, 9] Operation: 76-67=9
Exploring Operation: 67+2=69, Resulting Numbers: [76, 69]
Generated Node #0,1,1: 75:[76, 69] Operation: 67+2=69
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[2, 9], Operations: ['36+40=76', '76-67=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,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:[76, 69], Operations: ['36+40=76', '67+2=69']
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,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
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
95,
43,
6,
86
] | 63 |
[
"95+43=138",
"138/6=23",
"86-23=63"
] |
Current State: 63:[95, 43, 6, 86], Operations: []
Exploring Operation: 95+43=138, Resulting Numbers: [6, 86, 138]
Generated Node #2: [6, 86, 138] from Operation: 95+43=138
Current State: 63:[6, 86, 138], Operations: ['95+43=138']
Exploring Operation: 138/6=23, Resulting Numbers: [86, 23]
Generated Node #3: [86, 23] from Operation: 138/6=23
Current State: 63:[86, 23], Operations: ['95+43=138', '138/6=23']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[95, 43, 6, 86], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [6, 86, 52]
Generated Node #0,0: 63:[6, 86, 52] Operation: 95-43=52
Exploring Operation: 86-43=43, Resulting Numbers: [95, 6, 43]
Generated Node #0,1: 63:[95, 6, 43] Operation: 86-43=43
Exploring Operation: 86/43=2, Resulting Numbers: [95, 6, 2]
Generated Node #0,2: 63:[95, 6, 2] Operation: 86/43=2
Exploring Operation: 95-86=9, Resulting Numbers: [43, 6, 9]
Generated Node #0,3: 63:[43, 6, 9] Operation: 95-86=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[43, 6, 9], Operations: ['95-86=9']
Exploring Operation: 43-6=37, Resulting Numbers: [9, 37]
Generated Node #0,3,0: 63:[9, 37] Operation: 43-6=37
Exploring Operation: 43+9=52, Resulting Numbers: [6, 52]
Generated Node #0,3,1: 63:[6, 52] Operation: 43+9=52
Exploring Operation: 43+6=49, Resulting Numbers: [9, 49]
Generated Node #0,3,2: 63:[9, 49] Operation: 43+6=49
Exploring Operation: 43-9=34, Resulting Numbers: [6, 34]
Generated Node #0,3,3: 63:[6, 34] Operation: 43-9=34
Moving to Node #0,3,1
Current State: 63:[6, 52], Operations: ['95-86=9', '43+9=52']
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,63 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[6, 34], Operations: ['95-86=9', '43-9=34']
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,63 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[9, 49], Operations: ['95-86=9', '43+6=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,63 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[9, 37], Operations: ['95-86=9', '43-6=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,63 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,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
Current State: 63:[95, 6, 2], Operations: ['86/43=2']
Exploring Operation: 6/2=3, Resulting Numbers: [95, 3]
Generated Node #0,2,0: 63:[95, 3] Operation: 6/2=3
Exploring Operation: 6+2=8, Resulting Numbers: [95, 8]
Generated Node #0,2,1: 63:[95, 8] Operation: 6+2=8
Exploring Operation: 95-6=89, Resulting Numbers: [2, 89]
Generated Node #0,2,2: 63:[2, 89] Operation: 95-6=89
Exploring Operation: 95-2=93, Resulting Numbers: [6, 93]
Generated Node #0,2,3: 63:[6, 93] Operation: 95-2=93
Moving to Node #0,2,2
Current State: 63:[2, 89], Operations: ['86/43=2', '95-6=89']
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,63 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,63 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[6, 93], Operations: ['86/43=2', '95-2=93']
Exploring Operation: 6*93=558, Resulting Numbers: [558]
558,63 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,63 unequal: No Solution
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[95, 3], Operations: ['86/43=2', '6/2=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,63 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[95, 8], Operations: ['86/43=2', '6+2=8']
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,63 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,63 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,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
Current State: 63:[6, 86, 52], Operations: ['95-43=52']
Exploring Operation: 6+52=58, Resulting Numbers: [86, 58]
Generated Node #0,0,0: 63:[86, 58] Operation: 6+52=58
Exploring Operation: 6+86=92, Resulting Numbers: [52, 92]
Generated Node #0,0,1: 63:[52, 92] Operation: 6+86=92
Exploring Operation: 86-52=34, Resulting Numbers: [6, 34]
Generated Node #0,0,2: 63:[6, 34] Operation: 86-52=34
Exploring Operation: 86-6=80, Resulting Numbers: [52, 80]
Generated Node #0,0,3: 63:[52, 80] Operation: 86-6=80
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[6, 34], Operations: ['95-43=52', '86-52=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[86, 58], Operations: ['95-43=52', '6+52=58']
Exploring Operation: 86*58=4988, Resulting Numbers: [4988]
4988,63 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 86+58=144, Resulting Numbers: [144]
144,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[52, 80], Operations: ['95-43=52', '86-6=80']
Exploring Operation: 52*80=4160, Resulting Numbers: [4160]
4160,63 unequal: No Solution
Exploring Operation: 52+80=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[52, 92], Operations: ['95-43=52', '6+86=92']
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 52+92=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Exploring Operation: 52*92=4784, Resulting Numbers: [4784]
4784,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[95, 6, 43], Operations: ['86-43=43']
Exploring Operation: 6+43=49, Resulting Numbers: [95, 49]
Generated Node #0,1,0: 63:[95, 49] Operation: 6+43=49
Exploring Operation: 95-6=89, Resulting Numbers: [43, 89]
Generated Node #0,1,1: 63:[43, 89] Operation: 95-6=89
Exploring Operation: 95-43=52, Resulting Numbers: [6, 52]
Generated Node #0,1,2: 63:[6, 52] Operation: 95-43=52
Exploring Operation: 43-6=37, Resulting Numbers: [95, 37]
Generated Node #0,1,3: 63:[95, 37] Operation: 43-6=37
Moving to Node #0,1,2
Current State: 63:[6, 52], Operations: ['86-43=43', '95-43=52']
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,63 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[43, 89], Operations: ['86-43=43', '95-6=89']
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 43*89=3827, Resulting Numbers: [3827]
3827,63 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[95, 49], Operations: ['86-43=43', '6+43=49']
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[95, 37], Operations: ['86-43=43', '43-6=37']
Exploring Operation: 95*37=3515, Resulting Numbers: [3515]
3515,63 unequal: No Solution
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 95+37=132, Resulting Numbers: [132]
132,63 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
|
[
72,
40,
98,
2
] | 28 |
[
"72+40=112",
"112-98=14",
"2*14=28"
] |
Current State: 28:[72, 40, 98, 2], Operations: []
Exploring Operation: 72+40=112, Resulting Numbers: [98, 2, 112]
Generated Node #2: [98, 2, 112] from Operation: 72+40=112
Current State: 28:[98, 2, 112], Operations: ['72+40=112']
Exploring Operation: 112-98=14, Resulting Numbers: [2, 14]
Generated Node #3: [2, 14] from Operation: 112-98=14
Current State: 28:[2, 14], Operations: ['72+40=112', '112-98=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[72, 40, 98, 2], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [40, 2, 26]
Generated Node #0,0: 28:[40, 2, 26] Operation: 98-72=26
Moving to Node #0,0
Current State: 28:[40, 2, 26], Operations: ['98-72=26']
Exploring Operation: 40-26=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 28:[2, 14] Operation: 40-26=14
Moving to Node #0,0,0
Current State: 28:[2, 14], Operations: ['98-72=26', '40-26=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[72, 40, 98, 2], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [40, 2, 26]
Generated Node #0,0: 28:[40, 2, 26] Operation: 98-72=26
Moving to Node #0,0
Current State: 28:[40, 2, 26], Operations: ['98-72=26']
Exploring Operation: 40-26=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 28:[2, 14] Operation: 40-26=14
Moving to Node #0,0,0
Current State: 28:[2, 14], Operations: ['98-72=26', '40-26=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
32,
10,
91,
84
] | 96 |
[
"91-10=81",
"84-81=3",
"32*3=96"
] |
Current State: 96:[32, 10, 91, 84], Operations: []
Exploring Operation: 91-10=81, Resulting Numbers: [32, 84, 81]
Generated Node #2: [32, 84, 81] from Operation: 91-10=81
Current State: 96:[32, 84, 81], Operations: ['91-10=81']
Exploring Operation: 84-81=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 84-81=3
Current State: 96:[32, 3], Operations: ['91-10=81', '84-81=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[32, 10, 91, 84], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [32, 10, 7]
Generated Node #0,0: 96:[32, 10, 7] Operation: 91-84=7
Exploring Operation: 10+84=94, Resulting Numbers: [32, 91, 94]
Generated Node #0,1: 96:[32, 91, 94] Operation: 10+84=94
Moving to Node #0,0
Current State: 96:[32, 10, 7], Operations: ['91-84=7']
Exploring Operation: 10-7=3, Resulting Numbers: [32, 3]
Generated Node #0,0,0: 96:[32, 3] Operation: 10-7=3
Exploring Operation: 10+7=17, Resulting Numbers: [32, 17]
Generated Node #0,0,1: 96:[32, 17] Operation: 10+7=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[32, 3], Operations: ['91-84=7', '10-7=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[32, 10, 91, 84], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [32, 10, 7]
Generated Node #0,0: 96:[32, 10, 7] Operation: 91-84=7
Moving to Node #0,0
Current State: 96:[32, 10, 7], Operations: ['91-84=7']
Exploring Operation: 10-7=3, Resulting Numbers: [32, 3]
Generated Node #0,0,0: 96:[32, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 96:[32, 3], Operations: ['91-84=7', '10-7=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
42,
50,
74,
53
] | 35 |
[
"42+50=92",
"74+53=127",
"127-92=35"
] |
Current State: 35:[42, 50, 74, 53], Operations: []
Exploring Operation: 42+50=92, Resulting Numbers: [74, 53, 92]
Generated Node #2: [74, 53, 92] from Operation: 42+50=92
Current State: 35:[74, 53, 92], Operations: ['42+50=92']
Exploring Operation: 74+53=127, Resulting Numbers: [92, 127]
Generated Node #3: [92, 127] from Operation: 74+53=127
Current State: 35:[92, 127], Operations: ['42+50=92', '74+53=127']
Exploring Operation: 127-92=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[42, 50, 74, 53], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [50, 53, 32]
Generated Node #0,0: 35:[50, 53, 32] Operation: 74-42=32
Moving to Node #0,0
Current State: 35:[50, 53, 32], Operations: ['74-42=32']
Exploring Operation: 53-50=3, Resulting Numbers: [32, 3]
Generated Node #0,0,0: 35:[32, 3] Operation: 53-50=3
Moving to Node #0,0,0
Current State: 35:[32, 3], Operations: ['74-42=32', '53-50=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[42, 50, 74, 53], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [50, 53, 32]
Generated Node #0,0: 35:[50, 53, 32] Operation: 74-42=32
Moving to Node #0,0
Current State: 35:[50, 53, 32], Operations: ['74-42=32']
Exploring Operation: 53-50=3, Resulting Numbers: [32, 3]
Generated Node #0,0,0: 35:[32, 3] Operation: 53-50=3
Moving to Node #0,0,0
Current State: 35:[32, 3], Operations: ['74-42=32', '53-50=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
9,
47,
52,
7
] | 57 |
[
"9-7=2",
"52*2=104",
"104-47=57"
] |
Current State: 57:[9, 47, 52, 7], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [47, 52, 2]
Generated Node #2: [47, 52, 2] from Operation: 9-7=2
Current State: 57:[47, 52, 2], Operations: ['9-7=2']
Exploring Operation: 52*2=104, Resulting Numbers: [47, 104]
Generated Node #3: [47, 104] from Operation: 52*2=104
Current State: 57:[47, 104], Operations: ['9-7=2', '52*2=104']
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[9, 47, 52, 7], Operations: []
Exploring Operation: 9+47=56, Resulting Numbers: [52, 7, 56]
Generated Node #0,0: 57:[52, 7, 56] Operation: 9+47=56
Moving to Node #0,0
Current State: 57:[52, 7, 56], Operations: ['9+47=56']
Exploring Operation: 52+7=59, Resulting Numbers: [56, 59]
Generated Node #0,0,0: 57:[56, 59] Operation: 52+7=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[56, 59], Operations: ['9+47=56', '52+7=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
9,
1,
53,
85
] | 41 |
[
"9*1=9",
"85-53=32",
"9+32=41"
] |
Current State: 41:[9, 1, 53, 85], Operations: []
Exploring Operation: 9*1=9, Resulting Numbers: [53, 85, 9]
Generated Node #2: [53, 85, 9] from Operation: 9*1=9
Current State: 41:[53, 85, 9], Operations: ['9*1=9']
Exploring Operation: 85-53=32, Resulting Numbers: [9, 32]
Generated Node #3: [9, 32] from Operation: 85-53=32
Current State: 41:[9, 32], Operations: ['9*1=9', '85-53=32']
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[9, 1, 53, 85], Operations: []
Exploring Operation: 9+1=10, Resulting Numbers: [53, 85, 10]
Generated Node #0,0: 41:[53, 85, 10] Operation: 9+1=10
Exploring Operation: 85-53=32, Resulting Numbers: [9, 1, 32]
Generated Node #0,1: 41:[9, 1, 32] Operation: 85-53=32
Exploring Operation: 53-9=44, Resulting Numbers: [1, 85, 44]
Generated Node #0,2: 41:[1, 85, 44] Operation: 53-9=44
Moving to Node #0,1
Current State: 41:[9, 1, 32], Operations: ['85-53=32']
Exploring Operation: 9+32=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 41:[1, 41] Operation: 9+32=41
Exploring Operation: 1+32=33, Resulting Numbers: [9, 33]
Generated Node #0,1,1: 41:[9, 33] Operation: 1+32=33
Exploring Operation: 9+1=10, Resulting Numbers: [32, 10]
Generated Node #0,1,2: 41:[32, 10] Operation: 9+1=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[1, 41], Operations: ['85-53=32', '9+32=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[9, 1, 53, 85], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [9, 1, 32]
Generated Node #0,1: 41:[9, 1, 32] Operation: 85-53=32
Moving to Node #0,1
Current State: 41:[9, 1, 32], Operations: ['85-53=32']
Exploring Operation: 9+32=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 41:[1, 41] Operation: 9+32=41
Moving to Node #0,1,0
Current State: 41:[1, 41], Operations: ['85-53=32', '9+32=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
27,
90,
11,
26
] | 33 |
[
"26-11=15",
"90/15=6",
"27+6=33"
] |
Current State: 33:[27, 90, 11, 26], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [27, 90, 15]
Generated Node #2: [27, 90, 15] from Operation: 26-11=15
Current State: 33:[27, 90, 15], Operations: ['26-11=15']
Exploring Operation: 90/15=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 90/15=6
Current State: 33:[27, 6], Operations: ['26-11=15', '90/15=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[27, 90, 11, 26], Operations: []
Exploring Operation: 90-26=64, Resulting Numbers: [27, 11, 64]
Generated Node #0,0: 33:[27, 11, 64] Operation: 90-26=64
Exploring Operation: 90-27=63, Resulting Numbers: [11, 26, 63]
Generated Node #0,1: 33:[11, 26, 63] Operation: 90-27=63
Exploring Operation: 27-26=1, Resulting Numbers: [90, 11, 1]
Generated Node #0,2: 33:[90, 11, 1] Operation: 27-26=1
Exploring Operation: 90-11=79, Resulting Numbers: [27, 26, 79]
Generated Node #0,3: 33:[27, 26, 79] Operation: 90-11=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[27, 11, 64], Operations: ['90-26=64']
Exploring Operation: 64-11=53, Resulting Numbers: [27, 53]
Generated Node #0,0,0: 33:[27, 53] Operation: 64-11=53
Exploring Operation: 64-27=37, Resulting Numbers: [11, 37]
Generated Node #0,0,1: 33:[11, 37] Operation: 64-27=37
Exploring Operation: 27+11=38, Resulting Numbers: [64, 38]
Generated Node #0,0,2: 33:[64, 38] Operation: 27+11=38
Exploring Operation: 27-11=16, Resulting Numbers: [64, 16]
Generated Node #0,0,3: 33:[64, 16] Operation: 27-11=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[11, 37], Operations: ['90-26=64', '64-27=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,33 unequal: No Solution
No 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: 33:[27, 53], Operations: ['90-26=64', '64-11=53']
Exploring Operation: 27+53=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 27*53=1431, Resulting Numbers: [1431]
1431,33 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No 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: 33:[64, 38], Operations: ['90-26=64', '27+11=38']
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 64*38=2432, Resulting Numbers: [2432]
2432,33 unequal: No Solution
Exploring Operation: 64+38=102, Resulting Numbers: [102]
102,33 unequal: No Solution
No 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: 33:[64, 16], Operations: ['90-26=64', '27-11=16']
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,33 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: 33:[11, 26, 63], Operations: ['90-27=63']
Exploring Operation: 63-26=37, Resulting Numbers: [11, 37]
Generated Node #0,1,0: 33:[11, 37] Operation: 63-26=37
Exploring Operation: 11+26=37, Resulting Numbers: [63, 37]
Generated Node #0,1,1: 33:[63, 37] Operation: 11+26=37
Exploring Operation: 26-11=15, Resulting Numbers: [63, 15]
Generated Node #0,1,2: 33:[63, 15] Operation: 26-11=15
Exploring Operation: 63-11=52, Resulting Numbers: [26, 52]
Generated Node #0,1,3: 33:[26, 52] Operation: 63-11=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[11, 37], Operations: ['90-27=63', '63-26=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,33 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,33 unequal: No Solution
No 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: 33:[26, 52], Operations: ['90-27=63', '63-11=52']
Exploring Operation: 26*52=1352, Resulting Numbers: [1352]
1352,33 unequal: No Solution
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No 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: 33:[63, 37], Operations: ['90-27=63', '11+26=37']
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 63*37=2331, Resulting Numbers: [2331]
2331,33 unequal: No Solution
No 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: 33:[63, 15], Operations: ['90-27=63', '26-11=15']
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,33 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,33 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: 33:[90, 11, 1], Operations: ['27-26=1']
Exploring Operation: 90*1=90, Resulting Numbers: [11, 90]
Generated Node #0,2,0: 33:[11, 90] Operation: 90*1=90
Exploring Operation: 90/1=90, Resulting Numbers: [11, 90]
Generated Node #0,2,1: 33:[11, 90] Operation: 90/1=90
Exploring Operation: 90-1=89, Resulting Numbers: [11, 89]
Generated Node #0,2,2: 33:[11, 89] Operation: 90-1=89
Exploring Operation: 90-11=79, Resulting Numbers: [1, 79]
Generated Node #0,2,3: 33:[1, 79] Operation: 90-11=79
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 33:[1, 79], Operations: ['27-26=1', '90-11=79']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,33 unequal: No Solution
No 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: 33:[11, 89], Operations: ['27-26=1', '90-1=89']
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 11+89=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 11*89=979, Resulting Numbers: [979]
979,33 unequal: No Solution
No 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: 33:[11, 90], Operations: ['27-26=1', '90*1=90']
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,33 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,33 unequal: No Solution
No 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: 33:[11, 90], Operations: ['27-26=1', '90/1=90']
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,33 unequal: No Solution
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,33 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,33 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: 33:[27, 26, 79], Operations: ['90-11=79']
Exploring Operation: 27-26=1, Resulting Numbers: [79, 1]
Generated Node #0,3,0: 33:[79, 1] Operation: 27-26=1
Exploring Operation: 27+26=53, Resulting Numbers: [79, 53]
Generated Node #0,3,1: 33:[79, 53] Operation: 27+26=53
Exploring Operation: 79-26=53, Resulting Numbers: [27, 53]
Generated Node #0,3,2: 33:[27, 53] Operation: 79-26=53
Exploring Operation: 79-27=52, Resulting Numbers: [26, 52]
Generated Node #0,3,3: 33:[26, 52] Operation: 79-27=52
Moving to Node #0,3,2
Current State: 33:[27, 53], Operations: ['90-11=79', '79-26=53']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 27*53=1431, Resulting Numbers: [1431]
1431,33 unequal: No Solution
Exploring Operation: 27+53=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[26, 52], Operations: ['90-11=79', '79-27=52']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 26*52=1352, Resulting Numbers: [1352]
1352,33 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[79, 1], Operations: ['90-11=79', '27-26=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[79, 53], Operations: ['90-11=79', '27+26=53']
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 79*53=4187, Resulting Numbers: [4187]
4187,33 unequal: No Solution
Exploring Operation: 79+53=132, Resulting Numbers: [132]
132,33 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
|
[
21,
31,
40,
18
] | 69 |
[
"21*31=651",
"40*18=720",
"720-651=69"
] |
Current State: 69:[21, 31, 40, 18], Operations: []
Exploring Operation: 21*31=651, Resulting Numbers: [40, 18, 651]
Generated Node #2: [40, 18, 651] from Operation: 21*31=651
Current State: 69:[40, 18, 651], Operations: ['21*31=651']
Exploring Operation: 40*18=720, Resulting Numbers: [651, 720]
Generated Node #3: [651, 720] from Operation: 40*18=720
Current State: 69:[651, 720], Operations: ['21*31=651', '40*18=720']
Exploring Operation: 720-651=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[21, 31, 40, 18], Operations: []
Exploring Operation: 31+40=71, Resulting Numbers: [21, 18, 71]
Generated Node #0,0: 69:[21, 18, 71] Operation: 31+40=71
Moving to Node #0,0
Current State: 69:[21, 18, 71], Operations: ['31+40=71']
Exploring Operation: 21-18=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 69:[71, 3] Operation: 21-18=3
Moving to Node #0,0,0
Current State: 69:[71, 3], Operations: ['31+40=71', '21-18=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,69 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
69,
37,
27,
93
] | 42 |
[
"69*37=2553",
"27*93=2511",
"2553-2511=42"
] |
Current State: 42:[69, 37, 27, 93], Operations: []
Exploring Operation: 69*37=2553, Resulting Numbers: [27, 93, 2553]
Generated Node #2: [27, 93, 2553] from Operation: 69*37=2553
Current State: 42:[27, 93, 2553], Operations: ['69*37=2553']
Exploring Operation: 27*93=2511, Resulting Numbers: [2553, 2511]
Generated Node #3: [2553, 2511] from Operation: 27*93=2511
Current State: 42:[2553, 2511], Operations: ['69*37=2553', '27*93=2511']
Exploring Operation: 2553-2511=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[69, 37, 27, 93], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [27, 93, 32]
Generated Node #0,0: 42:[27, 93, 32] Operation: 69-37=32
Exploring Operation: 93-69=24, Resulting Numbers: [37, 27, 24]
Generated Node #0,1: 42:[37, 27, 24] Operation: 93-69=24
Exploring Operation: 69-27=42, Resulting Numbers: [37, 93, 42]
Generated Node #0,2: 42:[37, 93, 42] Operation: 69-27=42
Exploring Operation: 93-27=66, Resulting Numbers: [69, 37, 66]
Generated Node #0,3: 42:[69, 37, 66] Operation: 93-27=66
Exploring Operation: 93-37=56, Resulting Numbers: [69, 27, 56]
Generated Node #0,4: 42:[69, 27, 56] Operation: 93-37=56
Moving to Node #0,1
Current State: 42:[37, 27, 24], Operations: ['93-69=24']
Exploring Operation: 27+24=51, Resulting Numbers: [37, 51]
Generated Node #0,1,0: 42:[37, 51] Operation: 27+24=51
Exploring Operation: 37-24=13, Resulting Numbers: [27, 13]
Generated Node #0,1,1: 42:[27, 13] Operation: 37-24=13
Exploring Operation: 27-24=3, Resulting Numbers: [37, 3]
Generated Node #0,1,2: 42:[37, 3] Operation: 27-24=3
Exploring Operation: 37+27=64, Resulting Numbers: [24, 64]
Generated Node #0,1,3: 42:[24, 64] Operation: 37+27=64
Exploring Operation: 37-27=10, Resulting Numbers: [24, 10]
Generated Node #0,1,4: 42:[24, 10] Operation: 37-27=10
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[37, 3], Operations: ['93-69=24', '27-24=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[24, 10], Operations: ['93-69=24', '37-27=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[27, 13], Operations: ['93-69=24', '37-24=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[37, 51], Operations: ['93-69=24', '27+24=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,42 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[24, 64], Operations: ['93-69=24', '37+27=64']
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,42 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,42 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: 42:[69, 27, 56], Operations: ['93-37=56']
Exploring Operation: 69-27=42, Resulting Numbers: [56, 42]
Generated Node #0,4,0: 42:[56, 42] Operation: 69-27=42
Exploring Operation: 27+56=83, Resulting Numbers: [69, 83]
Generated Node #0,4,1: 42:[69, 83] Operation: 27+56=83
Exploring Operation: 69+27=96, Resulting Numbers: [56, 96]
Generated Node #0,4,2: 42:[56, 96] Operation: 69+27=96
Exploring Operation: 69-56=13, Resulting Numbers: [27, 13]
Generated Node #0,4,3: 42:[27, 13] Operation: 69-56=13
Exploring Operation: 56-27=29, Resulting Numbers: [69, 29]
Generated Node #0,4,4: 42:[69, 29] Operation: 56-27=29
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 42:[27, 13], Operations: ['93-37=56', '69-56=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,42 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 42:[56, 42], Operations: ['93-37=56', '69-27=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 42:[69, 29], Operations: ['93-37=56', '56-27=29']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,42 unequal: No Solution
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 42:[69, 83], Operations: ['93-37=56', '27+56=83']
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 69*83=5727, Resulting Numbers: [5727]
5727,42 unequal: No Solution
Exploring Operation: 69+83=152, Resulting Numbers: [152]
152,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 42:[56, 96], Operations: ['93-37=56', '69+27=96']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 56+96=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 56*96=5376, Resulting Numbers: [5376]
5376,42 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: 42:[37, 93, 42], Operations: ['69-27=42']
Exploring Operation: 42-37=5, Resulting Numbers: [93, 5]
Generated Node #0,2,0: 42:[93, 5] Operation: 42-37=5
Exploring Operation: 93-37=56, Resulting Numbers: [42, 56]
Generated Node #0,2,1: 42:[42, 56] Operation: 93-37=56
Exploring Operation: 37+93=130, Resulting Numbers: [42, 130]
Generated Node #0,2,2: 42:[42, 130] Operation: 37+93=130
Exploring Operation: 37+42=79, Resulting Numbers: [93, 79]
Generated Node #0,2,3: 42:[93, 79] Operation: 37+42=79
Exploring Operation: 93-42=51, Resulting Numbers: [37, 51]
Generated Node #0,2,4: 42:[37, 51] Operation: 93-42=51
Moving to Node #0,3
Current State: 42:[69, 37, 66], Operations: ['93-27=66']
Exploring Operation: 66-37=29, Resulting Numbers: [69, 29]
Generated Node #0,3,0: 42:[69, 29] Operation: 66-37=29
Exploring Operation: 69+37=106, Resulting Numbers: [66, 106]
Generated Node #0,3,1: 42:[66, 106] Operation: 69+37=106
Exploring Operation: 69-37=32, Resulting Numbers: [66, 32]
Generated Node #0,3,2: 42:[66, 32] Operation: 69-37=32
Exploring Operation: 69-66=3, Resulting Numbers: [37, 3]
Generated Node #0,3,3: 42:[37, 3] Operation: 69-66=3
Exploring Operation: 37+66=103, Resulting Numbers: [69, 103]
Generated Node #0,3,4: 42:[69, 103] Operation: 37+66=103
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[37, 3], Operations: ['93-27=66', '69-66=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[66, 32], Operations: ['93-27=66', '69-37=32']
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[69, 29], Operations: ['93-27=66', '66-37=29']
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,42 unequal: No Solution
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[66, 106], Operations: ['93-27=66', '69+37=106']
Exploring Operation: 66*106=6996, Resulting Numbers: [6996]
6996,42 unequal: No Solution
Exploring Operation: 106-66=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 66+106=172, Resulting Numbers: [172]
172,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 42:[69, 103], Operations: ['93-27=66', '37+66=103']
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 69+103=172, Resulting Numbers: [172]
172,42 unequal: No Solution
Exploring Operation: 69*103=7107, Resulting Numbers: [7107]
7107,42 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: 42:[27, 93, 32], Operations: ['69-37=32']
Exploring Operation: 27+32=59, Resulting Numbers: [93, 59]
Generated Node #0,0,0: 42:[93, 59] Operation: 27+32=59
Exploring Operation: 93-32=61, Resulting Numbers: [27, 61]
Generated Node #0,0,1: 42:[27, 61] Operation: 93-32=61
Exploring Operation: 93-27=66, Resulting Numbers: [32, 66]
Generated Node #0,0,2: 42:[32, 66] Operation: 93-27=66
Exploring Operation: 27+93=120, Resulting Numbers: [32, 120]
Generated Node #0,0,3: 42:[32, 120] Operation: 27+93=120
Exploring Operation: 32-27=5, Resulting Numbers: [93, 5]
Generated Node #0,0,4: 42:[93, 5] Operation: 32-27=5
Moving to Node #0,2,1
Current State: 42:[42, 56], Operations: ['69-27=42', '93-37=56']
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[37, 51], Operations: ['69-27=42', '93-42=51']
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[27, 61], Operations: ['69-37=32', '93-32=61']
Exploring Operation: 27+61=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 27*61=1647, Resulting Numbers: [1647]
1647,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[32, 66], Operations: ['69-37=32', '93-27=66']
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,42 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[93, 5], Operations: ['69-27=42', '42-37=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,42 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[93, 5], Operations: ['69-37=32', '32-27=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[93, 59], Operations: ['69-37=32', '27+32=59']
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,42 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[42, 130], Operations: ['69-27=42', '37+93=130']
Exploring Operation: 130-42=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 42*130=5460, Resulting Numbers: [5460]
5460,42 unequal: No Solution
Exploring Operation: 42+130=172, Resulting Numbers: [172]
172,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[32, 120], Operations: ['69-37=32', '27+93=120']
Exploring Operation: 32*120=3840, Resulting Numbers: [3840]
3840,42 unequal: No Solution
Exploring Operation: 32+120=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 120-32=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[93, 79], Operations: ['69-27=42', '37+42=79']
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 93*79=7347, Resulting Numbers: [7347]
7347,42 unequal: No Solution
Exploring Operation: 93+79=172, Resulting Numbers: [172]
172,42 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
71,
45,
7,
61
] | 80 |
[
"71-45=26",
"61-7=54",
"26+54=80"
] |
Current State: 80:[71, 45, 7, 61], Operations: []
Exploring Operation: 71-45=26, Resulting Numbers: [7, 61, 26]
Generated Node #2: [7, 61, 26] from Operation: 71-45=26
Current State: 80:[7, 61, 26], Operations: ['71-45=26']
Exploring Operation: 61-7=54, Resulting Numbers: [26, 54]
Generated Node #3: [26, 54] from Operation: 61-7=54
Current State: 80:[26, 54], Operations: ['71-45=26', '61-7=54']
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[71, 45, 7, 61], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [71, 7, 16]
Generated Node #0,0: 80:[71, 7, 16] Operation: 61-45=16
Exploring Operation: 71+7=78, Resulting Numbers: [45, 61, 78]
Generated Node #0,1: 80:[45, 61, 78] Operation: 71+7=78
Exploring Operation: 71-61=10, Resulting Numbers: [45, 7, 10]
Generated Node #0,2: 80:[45, 7, 10] Operation: 71-61=10
Exploring Operation: 71-45=26, Resulting Numbers: [7, 61, 26]
Generated Node #0,3: 80:[7, 61, 26] Operation: 71-45=26
Moving to Node #0,2
Current State: 80:[45, 7, 10], Operations: ['71-61=10']
Exploring Operation: 45-10=35, Resulting Numbers: [7, 35]
Generated Node #0,2,0: 80:[7, 35] Operation: 45-10=35
Exploring Operation: 45-7=38, Resulting Numbers: [10, 38]
Generated Node #0,2,1: 80:[10, 38] Operation: 45-7=38
Exploring Operation: 7+10=17, Resulting Numbers: [45, 17]
Generated Node #0,2,2: 80:[45, 17] Operation: 7+10=17
Exploring Operation: 10-7=3, Resulting Numbers: [45, 3]
Generated Node #0,2,3: 80:[45, 3] Operation: 10-7=3
Moving to Node #0,0
Current State: 80:[71, 7, 16], Operations: ['61-45=16']
Exploring Operation: 71+7=78, Resulting Numbers: [16, 78]
Generated Node #0,0,0: 80:[16, 78] Operation: 71+7=78
Exploring Operation: 7+16=23, Resulting Numbers: [71, 23]
Generated Node #0,0,1: 80:[71, 23] Operation: 7+16=23
Exploring Operation: 16-7=9, Resulting Numbers: [71, 9]
Generated Node #0,0,2: 80:[71, 9] Operation: 16-7=9
Exploring Operation: 71+16=87, Resulting Numbers: [7, 87]
Generated Node #0,0,3: 80:[7, 87] Operation: 71+16=87
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[16, 78], Operations: ['61-45=16', '71+7=78']
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,80 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[7, 87], Operations: ['61-45=16', '71+16=87']
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,80 unequal: No Solution
Exploring Operation: 7*87=609, Resulting Numbers: [609]
609,80 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[71, 45, 7, 61], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [71, 7, 16]
Generated Node #0,0: 80:[71, 7, 16] Operation: 61-45=16
Moving to Node #0,0
Current State: 80:[71, 7, 16], Operations: ['61-45=16']
Exploring Operation: 71+16=87, Resulting Numbers: [7, 87]
Generated Node #0,0,3: 80:[7, 87] Operation: 71+16=87
Moving to Node #0,0,3
Current State: 80:[7, 87], Operations: ['61-45=16', '71+16=87']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_4
|
mult_heuristic
|
[
82,
66,
21,
80
] | 85 |
[
"82-66=16",
"21+80=101",
"101-16=85"
] |
Current State: 85:[82, 66, 21, 80], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [21, 80, 16]
Generated Node #2: [21, 80, 16] from Operation: 82-66=16
Current State: 85:[21, 80, 16], Operations: ['82-66=16']
Exploring Operation: 21+80=101, Resulting Numbers: [16, 101]
Generated Node #3: [16, 101] from Operation: 21+80=101
Current State: 85:[16, 101], Operations: ['82-66=16', '21+80=101']
Exploring Operation: 101-16=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[82, 66, 21, 80], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [21, 80, 16]
Generated Node #0,0: 85:[21, 80, 16] Operation: 82-66=16
Exploring Operation: 66+21=87, Resulting Numbers: [82, 80, 87]
Generated Node #0,1: 85:[82, 80, 87] Operation: 66+21=87
Exploring Operation: 80-66=14, Resulting Numbers: [82, 21, 14]
Generated Node #0,2: 85:[82, 21, 14] Operation: 80-66=14
Moving to Node #0,0
Current State: 85:[21, 80, 16], Operations: ['82-66=16']
Exploring Operation: 80+16=96, Resulting Numbers: [21, 96]
Generated Node #0,0,0: 85:[21, 96] Operation: 80+16=96
Exploring Operation: 80/16=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 85:[21, 5] Operation: 80/16=5
Exploring Operation: 21-16=5, Resulting Numbers: [80, 5]
Generated Node #0,0,2: 85:[80, 5] Operation: 21-16=5
Moving to Node #0,1
Current State: 85:[82, 80, 87], Operations: ['66+21=87']
Exploring Operation: 82-80=2, Resulting Numbers: [87, 2]
Generated Node #0,1,0: 85:[87, 2] Operation: 82-80=2
Exploring Operation: 87-80=7, Resulting Numbers: [82, 7]
Generated Node #0,1,1: 85:[82, 7] Operation: 87-80=7
Exploring Operation: 87-82=5, Resulting Numbers: [80, 5]
Generated Node #0,1,2: 85:[80, 5] Operation: 87-82=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[87, 2], Operations: ['66+21=87', '82-80=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[82, 66, 21, 80], Operations: []
Exploring Operation: 66+21=87, Resulting Numbers: [82, 80, 87]
Generated Node #0,1: 85:[82, 80, 87] Operation: 66+21=87
Moving to Node #0,1
Current State: 85:[82, 80, 87], Operations: ['66+21=87']
Exploring Operation: 82-80=2, Resulting Numbers: [87, 2]
Generated Node #0,1,0: 85:[87, 2] Operation: 82-80=2
Moving to Node #0,1,0
Current State: 85:[87, 2], Operations: ['66+21=87', '82-80=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
sum_heuristic
|
[
1,
9,
57,
88
] | 46 |
[
"9-1=8",
"88/8=11",
"57-11=46"
] |
Current State: 46:[1, 9, 57, 88], Operations: []
Exploring Operation: 9-1=8, Resulting Numbers: [57, 88, 8]
Generated Node #2: [57, 88, 8] from Operation: 9-1=8
Current State: 46:[57, 88, 8], Operations: ['9-1=8']
Exploring Operation: 88/8=11, Resulting Numbers: [57, 11]
Generated Node #3: [57, 11] from Operation: 88/8=11
Current State: 46:[57, 11], Operations: ['9-1=8', '88/8=11']
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[1, 9, 57, 88], Operations: []
Exploring Operation: 88-57=31, Resulting Numbers: [1, 9, 31]
Generated Node #0,0: 46:[1, 9, 31] Operation: 88-57=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[1, 9, 31], Operations: ['88-57=31']
Exploring Operation: 31-9=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 46:[1, 22] Operation: 31-9=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[1, 22], Operations: ['88-57=31', '31-9=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,46 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
|
[
9,
36,
70,
51
] | 76 |
[
"9+36=45",
"70+51=121",
"121-45=76"
] |
Current State: 76:[9, 36, 70, 51], Operations: []
Exploring Operation: 9+36=45, Resulting Numbers: [70, 51, 45]
Generated Node #2: [70, 51, 45] from Operation: 9+36=45
Current State: 76:[70, 51, 45], Operations: ['9+36=45']
Exploring Operation: 70+51=121, Resulting Numbers: [45, 121]
Generated Node #3: [45, 121] from Operation: 70+51=121
Current State: 76:[45, 121], Operations: ['9+36=45', '70+51=121']
Exploring Operation: 121-45=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[9, 36, 70, 51], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [36, 70, 42]
Generated Node #0,0: 76:[36, 70, 42] Operation: 51-9=42
Exploring Operation: 70-51=19, Resulting Numbers: [9, 36, 19]
Generated Node #0,1: 76:[9, 36, 19] Operation: 70-51=19
Moving to Node #0,1
Current State: 76:[9, 36, 19], Operations: ['70-51=19']
Exploring Operation: 9+36=45, Resulting Numbers: [19, 45]
Generated Node #0,1,0: 76:[19, 45] Operation: 9+36=45
Exploring Operation: 36/9=4, Resulting Numbers: [19, 4]
Generated Node #0,1,1: 76:[19, 4] Operation: 36/9=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[19, 4], Operations: ['70-51=19', '36/9=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[9, 36, 70, 51], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [9, 36, 19]
Generated Node #0,1: 76:[9, 36, 19] Operation: 70-51=19
Moving to Node #0,1
Current State: 76:[9, 36, 19], Operations: ['70-51=19']
Exploring Operation: 36/9=4, Resulting Numbers: [19, 4]
Generated Node #0,1,1: 76:[19, 4] Operation: 36/9=4
Moving to Node #0,1,1
Current State: 76:[19, 4], Operations: ['70-51=19', '36/9=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
40,
36,
43,
2
] | 75 |
[
"43-40=3",
"36*2=72",
"3+72=75"
] |
Current State: 75:[40, 36, 43, 2], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [36, 2, 3]
Generated Node #2: [36, 2, 3] from Operation: 43-40=3
Current State: 75:[36, 2, 3], Operations: ['43-40=3']
Exploring Operation: 36*2=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 36*2=72
Current State: 75:[3, 72], Operations: ['43-40=3', '36*2=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[40, 36, 43, 2], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [36, 2, 3]
Generated Node #0,0: 75:[36, 2, 3] Operation: 43-40=3
Exploring Operation: 43-36=7, Resulting Numbers: [40, 2, 7]
Generated Node #0,1: 75:[40, 2, 7] Operation: 43-36=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[36, 2, 3], Operations: ['43-40=3']
Exploring Operation: 36*2=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 75:[3, 72] Operation: 36*2=72
Exploring Operation: 36/2=18, Resulting Numbers: [3, 18]
Generated Node #0,0,1: 75:[3, 18] Operation: 36/2=18
Moving to Node #0,0,0
Current State: 75:[3, 72], Operations: ['43-40=3', '36*2=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[40, 36, 43, 2], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [36, 2, 3]
Generated Node #0,0: 75:[36, 2, 3] Operation: 43-40=3
Moving to Node #0,0
Current State: 75:[36, 2, 3], Operations: ['43-40=3']
Exploring Operation: 36*2=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 75:[3, 72] Operation: 36*2=72
Moving to Node #0,0,0
Current State: 75:[3, 72], Operations: ['43-40=3', '36*2=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
79,
95,
74,
86
] | 14 |
[
"79+95=174",
"74+86=160",
"174-160=14"
] |
Current State: 14:[79, 95, 74, 86], Operations: []
Exploring Operation: 79+95=174, Resulting Numbers: [74, 86, 174]
Generated Node #2: [74, 86, 174] from Operation: 79+95=174
Current State: 14:[74, 86, 174], Operations: ['79+95=174']
Exploring Operation: 74+86=160, Resulting Numbers: [174, 160]
Generated Node #3: [174, 160] from Operation: 74+86=160
Current State: 14:[174, 160], Operations: ['79+95=174', '74+86=160']
Exploring Operation: 174-160=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[79, 95, 74, 86], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [79, 74, 9]
Generated Node #0,0: 14:[79, 74, 9] Operation: 95-86=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[79, 74, 9], Operations: ['95-86=9']
Exploring Operation: 79-74=5, Resulting Numbers: [9, 5]
Generated Node #0,0,0: 14:[9, 5] Operation: 79-74=5
Moving to Node #0,0,0
Current State: 14:[9, 5], Operations: ['95-86=9', '79-74=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[79, 95, 74, 86], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [79, 74, 9]
Generated Node #0,0: 14:[79, 74, 9] Operation: 95-86=9
Moving to Node #0,0
Current State: 14:[79, 74, 9], Operations: ['95-86=9']
Exploring Operation: 79-74=5, Resulting Numbers: [9, 5]
Generated Node #0,0,0: 14:[9, 5] Operation: 79-74=5
Moving to Node #0,0,0
Current State: 14:[9, 5], Operations: ['95-86=9', '79-74=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
73,
71,
64,
75
] | 86 |
[
"73-71=2",
"75*2=150",
"150-64=86"
] |
Current State: 86:[73, 71, 64, 75], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [64, 75, 2]
Generated Node #2: [64, 75, 2] from Operation: 73-71=2
Current State: 86:[64, 75, 2], Operations: ['73-71=2']
Exploring Operation: 75*2=150, Resulting Numbers: [64, 150]
Generated Node #3: [64, 150] from Operation: 75*2=150
Current State: 86:[64, 150], Operations: ['73-71=2', '75*2=150']
Exploring Operation: 150-64=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[73, 71, 64, 75], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [73, 75, 7]
Generated Node #0,0: 86:[73, 75, 7] Operation: 71-64=7
Exploring Operation: 73-71=2, Resulting Numbers: [64, 75, 2]
Generated Node #0,1: 86:[64, 75, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 86:[73, 75, 7], Operations: ['71-64=7']
Exploring Operation: 75-73=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 86:[7, 2] Operation: 75-73=2
Exploring Operation: 73+7=80, Resulting Numbers: [75, 80]
Generated Node #0,0,1: 86:[75, 80] Operation: 73+7=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[7, 2], Operations: ['71-64=7', '75-73=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[75, 80], Operations: ['71-64=7', '73+7=80']
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,86 unequal: No Solution
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,86 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: 86:[64, 75, 2], Operations: ['73-71=2']
Exploring Operation: 75-64=11, Resulting Numbers: [2, 11]
Generated Node #0,1,0: 86:[2, 11] Operation: 75-64=11
Exploring Operation: 64/2=32, Resulting Numbers: [75, 32]
Generated Node #0,1,1: 86:[75, 32] Operation: 64/2=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[2, 11], Operations: ['73-71=2', '75-64=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[75, 32], Operations: ['73-71=2', '64/2=32']
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,86 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,86 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
|
[
11,
12,
33,
39
] | 77 |
[
"39-11=28",
"33*28=924",
"924/12=77"
] |
Current State: 77:[11, 12, 33, 39], Operations: []
Exploring Operation: 39-11=28, Resulting Numbers: [12, 33, 28]
Generated Node #2: [12, 33, 28] from Operation: 39-11=28
Current State: 77:[12, 33, 28], Operations: ['39-11=28']
Exploring Operation: 33*28=924, Resulting Numbers: [12, 924]
Generated Node #3: [12, 924] from Operation: 33*28=924
Current State: 77:[12, 924], Operations: ['39-11=28', '33*28=924']
Exploring Operation: 924/12=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[11, 12, 33, 39], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [12, 39, 3]
Generated Node #0,0: 77:[12, 39, 3] Operation: 33/11=3
Exploring Operation: 33+39=72, Resulting Numbers: [11, 12, 72]
Generated Node #0,1: 77:[11, 12, 72] Operation: 33+39=72
Exploring Operation: 39-12=27, Resulting Numbers: [11, 33, 27]
Generated Node #0,2: 77:[11, 33, 27] Operation: 39-12=27
Exploring Operation: 39-33=6, Resulting Numbers: [11, 12, 6]
Generated Node #0,3: 77:[11, 12, 6] Operation: 39-33=6
Exploring Operation: 33-12=21, Resulting Numbers: [11, 39, 21]
Generated Node #0,4: 77:[11, 39, 21] Operation: 33-12=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[11, 12, 6], Operations: ['39-33=6']
Exploring Operation: 12*6=72, Resulting Numbers: [11, 72]
Generated Node #0,3,0: 77:[11, 72] Operation: 12*6=72
Exploring Operation: 11-6=5, Resulting Numbers: [12, 5]
Generated Node #0,3,1: 77:[12, 5] Operation: 11-6=5
Exploring Operation: 12/6=2, Resulting Numbers: [11, 2]
Generated Node #0,3,2: 77:[11, 2] Operation: 12/6=2
Exploring Operation: 12-11=1, Resulting Numbers: [6, 1]
Generated Node #0,3,3: 77:[6, 1] Operation: 12-11=1
Exploring Operation: 12-6=6, Resulting Numbers: [11, 6]
Generated Node #0,3,4: 77:[11, 6] Operation: 12-6=6
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 77:[11, 6], Operations: ['39-33=6', '12-6=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,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,3,1
Current State: 77:[12, 5], Operations: ['39-33=6', '11-6=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,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,3,0
Current State: 77:[11, 72], Operations: ['39-33=6', '12*6=72']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,77 unequal: No Solution
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,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,3,2
Current State: 77:[11, 2], Operations: ['39-33=6', '12/6=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,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,3,3
Current State: 77:[6, 1], Operations: ['39-33=6', '12-11=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,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,1
Current State: 77:[11, 12, 72], Operations: ['33+39=72']
Exploring Operation: 11+72=83, Resulting Numbers: [12, 83]
Generated Node #0,1,0: 77:[12, 83] Operation: 11+72=83
Exploring Operation: 11+12=23, Resulting Numbers: [72, 23]
Generated Node #0,1,1: 77:[72, 23] Operation: 11+12=23
Exploring Operation: 12+72=84, Resulting Numbers: [11, 84]
Generated Node #0,1,2: 77:[11, 84] Operation: 12+72=84
Exploring Operation: 12-11=1, Resulting Numbers: [72, 1]
Generated Node #0,1,3: 77:[72, 1] Operation: 12-11=1
Exploring Operation: 72/12=6, Resulting Numbers: [11, 6]
Generated Node #0,1,4: 77:[11, 6] Operation: 72/12=6
Moving to Node #0,1,4
Current State: 77:[11, 6], Operations: ['33+39=72', '72/12=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[11, 84], Operations: ['33+39=72', '12+72=84']
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 11*84=924, Resulting Numbers: [924]
924,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[12, 83], Operations: ['33+39=72', '11+72=83']
Exploring Operation: 12+83=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 12*83=996, Resulting Numbers: [996]
996,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[72, 1], Operations: ['33+39=72', '12-11=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[72, 23], Operations: ['33+39=72', '11+12=23']
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,77 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,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,0
Current State: 77:[12, 39, 3], Operations: ['33/11=3']
Exploring Operation: 39-3=36, Resulting Numbers: [12, 36]
Generated Node #0,0,0: 77:[12, 36] Operation: 39-3=36
Exploring Operation: 12-3=9, Resulting Numbers: [39, 9]
Generated Node #0,0,1: 77:[39, 9] Operation: 12-3=9
Exploring Operation: 12+39=51, Resulting Numbers: [3, 51]
Generated Node #0,0,2: 77:[3, 51] Operation: 12+39=51
Exploring Operation: 39/3=13, Resulting Numbers: [12, 13]
Generated Node #0,0,3: 77:[12, 13] Operation: 39/3=13
Exploring Operation: 39-12=27, Resulting Numbers: [3, 27]
Generated Node #0,0,4: 77:[3, 27] Operation: 39-12=27
Moving to Node #0,0,3
Current State: 77:[12, 13], Operations: ['33/11=3', '39/3=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[3, 27], Operations: ['33/11=3', '39-12=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[12, 36], Operations: ['33/11=3', '39-3=36']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,77 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[39, 9], Operations: ['33/11=3', '12-3=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[3, 51], Operations: ['33/11=3', '12+39=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,77 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,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
Current State: 77:[11, 33, 27], Operations: ['39-12=27']
Exploring Operation: 33-11=22, Resulting Numbers: [27, 22]
Generated Node #0,2,0: 77:[27, 22] Operation: 33-11=22
Exploring Operation: 27-11=16, Resulting Numbers: [33, 16]
Generated Node #0,2,1: 77:[33, 16] Operation: 27-11=16
Exploring Operation: 33/11=3, Resulting Numbers: [27, 3]
Generated Node #0,2,2: 77:[27, 3] Operation: 33/11=3
Exploring Operation: 33-27=6, Resulting Numbers: [11, 6]
Generated Node #0,2,3: 77:[11, 6] Operation: 33-27=6
Exploring Operation: 33+27=60, Resulting Numbers: [11, 60]
Generated Node #0,2,4: 77:[11, 60] Operation: 33+27=60
Moving to Node #0,2,3
Current State: 77:[11, 6], Operations: ['39-12=27', '33-27=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[11, 60], Operations: ['39-12=27', '33+27=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[27, 3], Operations: ['39-12=27', '33/11=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[27, 22], Operations: ['39-12=27', '33-11=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[33, 16], Operations: ['39-12=27', '27-11=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,77 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,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,4
Current State: 77:[11, 39, 21], Operations: ['33-12=21']
Exploring Operation: 11+39=50, Resulting Numbers: [21, 50]
Generated Node #0,4,0: 77:[21, 50] Operation: 11+39=50
Exploring Operation: 21-11=10, Resulting Numbers: [39, 10]
Generated Node #0,4,1: 77:[39, 10] Operation: 21-11=10
Exploring Operation: 39-11=28, Resulting Numbers: [21, 28]
Generated Node #0,4,2: 77:[21, 28] Operation: 39-11=28
Exploring Operation: 39-21=18, Resulting Numbers: [11, 18]
Generated Node #0,4,3: 77:[11, 18] Operation: 39-21=18
Exploring Operation: 39+21=60, Resulting Numbers: [11, 60]
Generated Node #0,4,4: 77:[11, 60] Operation: 39+21=60
Moving to Node #0,4,3
Current State: 77:[11, 18], Operations: ['33-12=21', '39-21=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,77 unequal: No Solution
Moving to Node #0,4,4
Current State: 77:[11, 60], Operations: ['33-12=21', '39+21=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,77 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[21, 28], Operations: ['33-12=21', '39-11=28']
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,77 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[39, 10], Operations: ['33-12=21', '21-11=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,77 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[21, 50], Operations: ['33-12=21', '11+39=50']
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,77 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,77 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
|
[
25,
37,
42,
39
] | 70 |
[
"39-25=14",
"42-37=5",
"14*5=70"
] |
Current State: 70:[25, 37, 42, 39], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [37, 42, 14]
Generated Node #2: [37, 42, 14] from Operation: 39-25=14
Current State: 70:[37, 42, 14], Operations: ['39-25=14']
Exploring Operation: 42-37=5, Resulting Numbers: [14, 5]
Generated Node #3: [14, 5] from Operation: 42-37=5
Current State: 70:[14, 5], Operations: ['39-25=14', '42-37=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[25, 37, 42, 39], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [37, 42, 14]
Generated Node #0,0: 70:[37, 42, 14] Operation: 39-25=14
Exploring Operation: 25+42=67, Resulting Numbers: [37, 39, 67]
Generated Node #0,1: 70:[37, 39, 67] Operation: 25+42=67
Exploring Operation: 42-25=17, Resulting Numbers: [37, 39, 17]
Generated Node #0,2: 70:[37, 39, 17] Operation: 42-25=17
Exploring Operation: 42-39=3, Resulting Numbers: [25, 37, 3]
Generated Node #0,3: 70:[25, 37, 3] Operation: 42-39=3
Exploring Operation: 37-25=12, Resulting Numbers: [42, 39, 12]
Generated Node #0,4: 70:[42, 39, 12] Operation: 37-25=12
Moving to Node #0,0
Current State: 70:[37, 42, 14], Operations: ['39-25=14']
Exploring Operation: 42-14=28, Resulting Numbers: [37, 28]
Generated Node #0,0,0: 70:[37, 28] Operation: 42-14=28
Exploring Operation: 42/14=3, Resulting Numbers: [37, 3]
Generated Node #0,0,1: 70:[37, 3] Operation: 42/14=3
Exploring Operation: 37-14=23, Resulting Numbers: [42, 23]
Generated Node #0,0,2: 70:[42, 23] Operation: 37-14=23
Exploring Operation: 37+42=79, Resulting Numbers: [14, 79]
Generated Node #0,0,3: 70:[14, 79] Operation: 37+42=79
Exploring Operation: 42-37=5, Resulting Numbers: [14, 5]
Generated Node #0,0,4: 70:[14, 5] Operation: 42-37=5
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 70:[14, 5], Operations: ['39-25=14', '42-37=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[25, 37, 42, 39], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [37, 42, 14]
Generated Node #0,0: 70:[37, 42, 14] Operation: 39-25=14
Moving to Node #0,0
Current State: 70:[37, 42, 14], Operations: ['39-25=14']
Exploring Operation: 42-37=5, Resulting Numbers: [14, 5]
Generated Node #0,0,4: 70:[14, 5] Operation: 42-37=5
Moving to Node #0,0,4
Current State: 70:[14, 5], Operations: ['39-25=14', '42-37=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
42,
38,
53,
70
] | 63 |
[
"42+38=80",
"70-53=17",
"80-17=63"
] |
Current State: 63:[42, 38, 53, 70], Operations: []
Exploring Operation: 42+38=80, Resulting Numbers: [53, 70, 80]
Generated Node #2: [53, 70, 80] from Operation: 42+38=80
Current State: 63:[53, 70, 80], Operations: ['42+38=80']
Exploring Operation: 70-53=17, Resulting Numbers: [80, 17]
Generated Node #3: [80, 17] from Operation: 70-53=17
Current State: 63:[80, 17], Operations: ['42+38=80', '70-53=17']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[42, 38, 53, 70], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [53, 70, 4]
Generated Node #0,0: 63:[53, 70, 4] Operation: 42-38=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[53, 70, 4], Operations: ['42-38=4']
Exploring Operation: 70-53=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 63:[4, 17] Operation: 70-53=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[4, 17], Operations: ['42-38=4', '70-53=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
21,
62,
76,
83
] | 59 |
[
"83-76=7",
"21/7=3",
"62-3=59"
] |
Current State: 59:[21, 62, 76, 83], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [21, 62, 7]
Generated Node #2: [21, 62, 7] from Operation: 83-76=7
Current State: 59:[21, 62, 7], Operations: ['83-76=7']
Exploring Operation: 21/7=3, Resulting Numbers: [62, 3]
Generated Node #3: [62, 3] from Operation: 21/7=3
Current State: 59:[62, 3], Operations: ['83-76=7', '21/7=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[21, 62, 76, 83], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [76, 83, 41]
Generated Node #0,0: 59:[76, 83, 41] Operation: 62-21=41
Exploring Operation: 83-21=62, Resulting Numbers: [62, 76, 62]
Generated Node #0,1: 59:[62, 76, 62] Operation: 83-21=62
Exploring Operation: 21+62=83, Resulting Numbers: [76, 83, 83]
Generated Node #0,2: 59:[76, 83, 83] Operation: 21+62=83
Exploring Operation: 76-21=55, Resulting Numbers: [62, 83, 55]
Generated Node #0,3: 59:[62, 83, 55] Operation: 76-21=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[62, 76, 62], Operations: ['83-21=62']
Exploring Operation: 62/62=1, Resulting Numbers: [76, 1]
Generated Node #0,1,0: 59:[76, 1] Operation: 62/62=1
Exploring Operation: 76-62=14, Resulting Numbers: [62, 14]
Generated Node #0,1,1: 59:[62, 14] Operation: 76-62=14
Exploring Operation: 62-62=0, Resulting Numbers: [76, 0]
Generated Node #0,1,2: 59:[76, 0] Operation: 62-62=0
Exploring Operation: 76-62=14, Resulting Numbers: [62, 14]
Generated Node #0,1,3: 59:[62, 14] Operation: 76-62=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[62, 14], Operations: ['83-21=62', '76-62=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,59 unequal: No Solution
Exploring Operation: 62-14=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:[62, 14], Operations: ['83-21=62', '76-62=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,59 unequal: No Solution
Exploring Operation: 62-14=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,0
Current State: 59:[76, 1], Operations: ['83-21=62', '62/62=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,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:[76, 0], Operations: ['83-21=62', '62-62=0']
Exploring Operation: 76*0=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 76+0=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 76-0=76, Resulting Numbers: [76]
76,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,3
Current State: 59:[62, 83, 55], Operations: ['76-21=55']
Exploring Operation: 62-55=7, Resulting Numbers: [83, 7]
Generated Node #0,3,0: 59:[83, 7] Operation: 62-55=7
Exploring Operation: 83-55=28, Resulting Numbers: [62, 28]
Generated Node #0,3,1: 59:[62, 28] Operation: 83-55=28
Exploring Operation: 62+55=117, Resulting Numbers: [83, 117]
Generated Node #0,3,2: 59:[83, 117] Operation: 62+55=117
Exploring Operation: 83-62=21, Resulting Numbers: [55, 21]
Generated Node #0,3,3: 59:[55, 21] Operation: 83-62=21
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[62, 28], Operations: ['76-21=55', '83-55=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,59 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,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,3,3
Current State: 59:[55, 21], Operations: ['76-21=55', '83-62=21']
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,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,3,0
Current State: 59:[83, 7], Operations: ['76-21=55', '62-55=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,59 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,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,3,2
Current State: 59:[83, 117], Operations: ['76-21=55', '62+55=117']
Exploring Operation: 117-83=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 83+117=200, Resulting Numbers: [200]
200,59 unequal: No Solution
Exploring Operation: 83*117=9711, Resulting Numbers: [9711]
9711,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,0
Current State: 59:[76, 83, 41], Operations: ['62-21=41']
Exploring Operation: 83-76=7, Resulting Numbers: [41, 7]
Generated Node #0,0,0: 59:[41, 7] Operation: 83-76=7
Exploring Operation: 83-41=42, Resulting Numbers: [76, 42]
Generated Node #0,0,1: 59:[76, 42] Operation: 83-41=42
Exploring Operation: 76+41=117, Resulting Numbers: [83, 117]
Generated Node #0,0,2: 59:[83, 117] Operation: 76+41=117
Exploring Operation: 76-41=35, Resulting Numbers: [83, 35]
Generated Node #0,0,3: 59:[83, 35] Operation: 76-41=35
Moving to Node #0,0,1
Current State: 59:[76, 42], Operations: ['62-21=41', '83-41=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,59 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[83, 35], Operations: ['62-21=41', '76-41=35']
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,59 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[41, 7], Operations: ['62-21=41', '83-76=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[83, 117], Operations: ['62-21=41', '76+41=117']
Exploring Operation: 83*117=9711, Resulting Numbers: [9711]
9711,59 unequal: No Solution
Exploring Operation: 83+117=200, Resulting Numbers: [200]
200,59 unequal: No Solution
Exploring Operation: 117-83=34, Resulting Numbers: [34]
34,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
Current State: 59:[76, 83, 83], Operations: ['21+62=83']
Exploring Operation: 83-76=7, Resulting Numbers: [83, 7]
Generated Node #0,2,0: 59:[83, 7] Operation: 83-76=7
Exploring Operation: 83-76=7, Resulting Numbers: [83, 7]
Generated Node #0,2,1: 59:[83, 7] Operation: 83-76=7
Exploring Operation: 83/83=1, Resulting Numbers: [76, 1]
Generated Node #0,2,2: 59:[76, 1] Operation: 83/83=1
Exploring Operation: 83-83=0, Resulting Numbers: [76, 0]
Generated Node #0,2,3: 59:[76, 0] Operation: 83-83=0
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[76, 1], Operations: ['21+62=83', '83/83=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,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,2,0
Current State: 59:[83, 7], Operations: ['21+62=83', '83-76=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,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,2,1
Current State: 59:[83, 7], Operations: ['21+62=83', '83-76=7']
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,59 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,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,2,3
Current State: 59:[76, 0], Operations: ['21+62=83', '83-83=0']
Exploring Operation: 76+0=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 76-0=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 76*0=0, Resulting Numbers: [0]
0,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_4
|
mult_heuristic
|
[
58,
5,
42,
83
] | 12 |
[
"58-5=53",
"83-42=41",
"53-41=12"
] |
Current State: 12:[58, 5, 42, 83], Operations: []
Exploring Operation: 58-5=53, Resulting Numbers: [42, 83, 53]
Generated Node #2: [42, 83, 53] from Operation: 58-5=53
Current State: 12:[42, 83, 53], Operations: ['58-5=53']
Exploring Operation: 83-42=41, Resulting Numbers: [53, 41]
Generated Node #3: [53, 41] from Operation: 83-42=41
Current State: 12:[53, 41], Operations: ['58-5=53', '83-42=41']
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[58, 5, 42, 83], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [5, 42, 25]
Generated Node #0,0: 12:[5, 42, 25] Operation: 83-58=25
Exploring Operation: 58-5=53, Resulting Numbers: [42, 83, 53]
Generated Node #0,1: 12:[42, 83, 53] Operation: 58-5=53
Exploring Operation: 58-42=16, Resulting Numbers: [5, 83, 16]
Generated Node #0,2: 12:[5, 83, 16] Operation: 58-42=16
Exploring Operation: 83-42=41, Resulting Numbers: [58, 5, 41]
Generated Node #0,3: 12:[58, 5, 41] Operation: 83-42=41
Exploring Operation: 42-5=37, Resulting Numbers: [58, 83, 37]
Generated Node #0,4: 12:[58, 83, 37] Operation: 42-5=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[5, 42, 25], Operations: ['83-58=25']
Exploring Operation: 5+42=47, Resulting Numbers: [25, 47]
Generated Node #0,0,0: 12:[25, 47] Operation: 5+42=47
Exploring Operation: 25-5=20, Resulting Numbers: [42, 20]
Generated Node #0,0,1: 12:[42, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [42, 5]
Generated Node #0,0,2: 12:[42, 5] Operation: 25/5=5
Exploring Operation: 42-5=37, Resulting Numbers: [25, 37]
Generated Node #0,0,3: 12:[25, 37] Operation: 42-5=37
Exploring Operation: 42-25=17, Resulting Numbers: [5, 17]
Generated Node #0,0,4: 12:[5, 17] Operation: 42-25=17
Moving to Node #0,0,4
Current State: 12:[5, 17], Operations: ['83-58=25', '42-25=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[58, 5, 42, 83], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [5, 42, 25]
Generated Node #0,0: 12:[5, 42, 25] Operation: 83-58=25
Moving to Node #0,0
Current State: 12:[5, 42, 25], Operations: ['83-58=25']
Exploring Operation: 42-25=17, Resulting Numbers: [5, 17]
Generated Node #0,0,4: 12:[5, 17] Operation: 42-25=17
Moving to Node #0,0,4
Current State: 12:[5, 17], Operations: ['83-58=25', '42-25=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
71,
3,
26,
28
] | 66 |
[
"71-3=68",
"28-26=2",
"68-2=66"
] |
Current State: 66:[71, 3, 26, 28], Operations: []
Exploring Operation: 71-3=68, Resulting Numbers: [26, 28, 68]
Generated Node #2: [26, 28, 68] from Operation: 71-3=68
Current State: 66:[26, 28, 68], Operations: ['71-3=68']
Exploring Operation: 28-26=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 28-26=2
Current State: 66:[68, 2], Operations: ['71-3=68', '28-26=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[71, 3, 26, 28], Operations: []
Exploring Operation: 71-3=68, Resulting Numbers: [26, 28, 68]
Generated Node #0,0: 66:[26, 28, 68] Operation: 71-3=68
Exploring Operation: 28-26=2, Resulting Numbers: [71, 3, 2]
Generated Node #0,1: 66:[71, 3, 2] Operation: 28-26=2
Exploring Operation: 26-3=23, Resulting Numbers: [71, 28, 23]
Generated Node #0,2: 66:[71, 28, 23] Operation: 26-3=23
Moving to Node #0,1
Current State: 66:[71, 3, 2], Operations: ['28-26=2']
Exploring Operation: 71-3=68, Resulting Numbers: [2, 68]
Generated Node #0,1,0: 66:[2, 68] Operation: 71-3=68
Exploring Operation: 3*2=6, Resulting Numbers: [71, 6]
Generated Node #0,1,1: 66:[71, 6] Operation: 3*2=6
Exploring Operation: 71-2=69, Resulting Numbers: [3, 69]
Generated Node #0,1,2: 66:[3, 69] Operation: 71-2=69
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[2, 68], Operations: ['28-26=2', '71-3=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[71, 3, 26, 28], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [71, 3, 2]
Generated Node #0,1: 66:[71, 3, 2] Operation: 28-26=2
Moving to Node #0,1
Current State: 66:[71, 3, 2], Operations: ['28-26=2']
Exploring Operation: 71-3=68, Resulting Numbers: [2, 68]
Generated Node #0,1,0: 66:[2, 68] Operation: 71-3=68
Moving to Node #0,1,0
Current State: 66:[2, 68], Operations: ['28-26=2', '71-3=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
sum_heuristic
|
[
69,
84,
24,
19
] | 75 |
[
"84-69=15",
"24-19=5",
"15*5=75"
] |
Current State: 75:[69, 84, 24, 19], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [24, 19, 15]
Generated Node #2: [24, 19, 15] from Operation: 84-69=15
Current State: 75:[24, 19, 15], Operations: ['84-69=15']
Exploring Operation: 24-19=5, Resulting Numbers: [15, 5]
Generated Node #3: [15, 5] from Operation: 24-19=5
Current State: 75:[15, 5], Operations: ['84-69=15', '24-19=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[69, 84, 24, 19], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [24, 19, 15]
Generated Node #0,0: 75:[24, 19, 15] Operation: 84-69=15
Exploring Operation: 24-19=5, Resulting Numbers: [69, 84, 5]
Generated Node #0,1: 75:[69, 84, 5] Operation: 24-19=5
Exploring Operation: 84-19=65, Resulting Numbers: [69, 24, 65]
Generated Node #0,2: 75:[69, 24, 65] Operation: 84-19=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[24, 19, 15], Operations: ['84-69=15']
Exploring Operation: 24-19=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 24-19=5
Exploring Operation: 24-15=9, Resulting Numbers: [19, 9]
Generated Node #0,0,1: 75:[19, 9] Operation: 24-15=9
Exploring Operation: 19-15=4, Resulting Numbers: [24, 4]
Generated Node #0,0,2: 75:[24, 4] Operation: 19-15=4
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['84-69=15', '24-19=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[69, 84, 24, 19], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [24, 19, 15]
Generated Node #0,0: 75:[24, 19, 15] Operation: 84-69=15
Moving to Node #0,0
Current State: 75:[24, 19, 15], Operations: ['84-69=15']
Exploring Operation: 24-19=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['84-69=15', '24-19=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
15,
23,
92,
2
] | 88 |
[
"23-15=8",
"8/2=4",
"92-4=88"
] |
Current State: 88:[15, 23, 92, 2], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [92, 2, 8]
Generated Node #2: [92, 2, 8] from Operation: 23-15=8
Current State: 88:[92, 2, 8], Operations: ['23-15=8']
Exploring Operation: 8/2=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 8/2=4
Current State: 88:[92, 4], Operations: ['23-15=8', '8/2=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[15, 23, 92, 2], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [92, 2, 8]
Generated Node #0,0: 88:[92, 2, 8] Operation: 23-15=8
Exploring Operation: 92/23=4, Resulting Numbers: [15, 2, 4]
Generated Node #0,1: 88:[15, 2, 4] Operation: 92/23=4
Exploring Operation: 15-2=13, Resulting Numbers: [23, 92, 13]
Generated Node #0,2: 88:[23, 92, 13] Operation: 15-2=13
Moving to Node #0,0
Current State: 88:[92, 2, 8], Operations: ['23-15=8']
Exploring Operation: 92-2=90, Resulting Numbers: [8, 90]
Generated Node #0,0,0: 88:[8, 90] Operation: 92-2=90
Exploring Operation: 92-8=84, Resulting Numbers: [2, 84]
Generated Node #0,0,1: 88:[2, 84] Operation: 92-8=84
Exploring Operation: 92/2=46, Resulting Numbers: [8, 46]
Generated Node #0,0,2: 88:[8, 46] Operation: 92/2=46
Moving to Node #0,1
Current State: 88:[15, 2, 4], Operations: ['92/23=4']
Exploring Operation: 15-4=11, Resulting Numbers: [2, 11]
Generated Node #0,1,0: 88:[2, 11] Operation: 15-4=11
Exploring Operation: 15-2=13, Resulting Numbers: [4, 13]
Generated Node #0,1,1: 88:[4, 13] Operation: 15-2=13
Exploring Operation: 15+4=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 88:[2, 19] Operation: 15+4=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[2, 11], Operations: ['92/23=4', '15-4=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[4, 13], Operations: ['92/23=4', '15-2=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[2, 19], Operations: ['92/23=4', '15+4=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,88 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: 88:[23, 92, 13], Operations: ['15-2=13']
Exploring Operation: 23-13=10, Resulting Numbers: [92, 10]
Generated Node #0,2,0: 88:[92, 10] Operation: 23-13=10
Exploring Operation: 92/23=4, Resulting Numbers: [13, 4]
Generated Node #0,2,1: 88:[13, 4] Operation: 92/23=4
Exploring Operation: 92-13=79, Resulting Numbers: [23, 79]
Generated Node #0,2,2: 88:[23, 79] Operation: 92-13=79
Moving to Node #0,0,0
Current State: 88:[8, 90], Operations: ['23-15=8', '92-2=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[8, 46], Operations: ['23-15=8', '92/2=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[13, 4], Operations: ['15-2=13', '92/23=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[2, 84], Operations: ['23-15=8', '92-8=84']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[92, 10], Operations: ['15-2=13', '23-13=10']
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,88 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[23, 79], Operations: ['15-2=13', '92-13=79']
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,88 unequal: No Solution
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,88 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
27,
12,
84,
81
] | 21 |
[
"27*12=324",
"84*81=6804",
"6804/324=21"
] |
Current State: 21:[27, 12, 84, 81], Operations: []
Exploring Operation: 27*12=324, Resulting Numbers: [84, 81, 324]
Generated Node #2: [84, 81, 324] from Operation: 27*12=324
Current State: 21:[84, 81, 324], Operations: ['27*12=324']
Exploring Operation: 84*81=6804, Resulting Numbers: [324, 6804]
Generated Node #3: [324, 6804] from Operation: 84*81=6804
Current State: 21:[324, 6804], Operations: ['27*12=324', '84*81=6804']
Exploring Operation: 6804/324=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[27, 12, 84, 81], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [12, 84, 3]
Generated Node #0,0: 21:[12, 84, 3] Operation: 81/27=3
Exploring Operation: 84-81=3, Resulting Numbers: [27, 12, 3]
Generated Node #0,1: 21:[27, 12, 3] Operation: 84-81=3
Exploring Operation: 84/12=7, Resulting Numbers: [27, 81, 7]
Generated Node #0,2: 21:[27, 81, 7] Operation: 84/12=7
Exploring Operation: 84-27=57, Resulting Numbers: [12, 81, 57]
Generated Node #0,3: 21:[12, 81, 57] Operation: 84-27=57
Moving to Node #0,1
Current State: 21:[27, 12, 3], Operations: ['84-81=3']
Exploring Operation: 12/3=4, Resulting Numbers: [27, 4]
Generated Node #0,1,0: 21:[27, 4] Operation: 12/3=4
Exploring Operation: 27/3=9, Resulting Numbers: [12, 9]
Generated Node #0,1,1: 21:[12, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [12, 24]
Generated Node #0,1,2: 21:[12, 24] Operation: 27-3=24
Exploring Operation: 27-12=15, Resulting Numbers: [3, 15]
Generated Node #0,1,3: 21:[3, 15] Operation: 27-12=15
Moving to Node #0,2
Current State: 21:[27, 81, 7], Operations: ['84/12=7']
Exploring Operation: 27-7=20, Resulting Numbers: [81, 20]
Generated Node #0,2,0: 21:[81, 20] Operation: 27-7=20
Exploring Operation: 81-27=54, Resulting Numbers: [7, 54]
Generated Node #0,2,1: 21:[7, 54] Operation: 81-27=54
Exploring Operation: 81-7=74, Resulting Numbers: [27, 74]
Generated Node #0,2,2: 21:[27, 74] Operation: 81-7=74
Exploring Operation: 81/27=3, Resulting Numbers: [7, 3]
Generated Node #0,2,3: 21:[7, 3] Operation: 81/27=3
Moving to Node #0,0
Current State: 21:[12, 84, 3], Operations: ['81/27=3']
Exploring Operation: 84-12=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 21:[3, 72] Operation: 84-12=72
Exploring Operation: 12/3=4, Resulting Numbers: [84, 4]
Generated Node #0,0,1: 21:[84, 4] Operation: 12/3=4
Exploring Operation: 84/3=28, Resulting Numbers: [12, 28]
Generated Node #0,0,2: 21:[12, 28] Operation: 84/3=28
Exploring Operation: 84/12=7, Resulting Numbers: [3, 7]
Generated Node #0,0,3: 21:[3, 7] Operation: 84/12=7
Moving to Node #0,3
Current State: 21:[12, 81, 57], Operations: ['84-27=57']
Exploring Operation: 57-12=45, Resulting Numbers: [81, 45]
Generated Node #0,3,0: 21:[81, 45] Operation: 57-12=45
Exploring Operation: 12+81=93, Resulting Numbers: [57, 93]
Generated Node #0,3,1: 21:[57, 93] Operation: 12+81=93
Exploring Operation: 81-12=69, Resulting Numbers: [57, 69]
Generated Node #0,3,2: 21:[57, 69] Operation: 81-12=69
Exploring Operation: 81-57=24, Resulting Numbers: [12, 24]
Generated Node #0,3,3: 21:[12, 24] Operation: 81-57=24
Moving to Node #0,2,3
Current State: 21:[7, 3], Operations: ['84/12=7', '81/27=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[27, 12, 84, 81], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [27, 81, 7]
Generated Node #0,2: 21:[27, 81, 7] Operation: 84/12=7
Moving to Node #0,2
Current State: 21:[27, 81, 7], Operations: ['84/12=7']
Exploring Operation: 81/27=3, Resulting Numbers: [7, 3]
Generated Node #0,2,3: 21:[7, 3] Operation: 81/27=3
Moving to Node #0,2,3
Current State: 21:[7, 3], Operations: ['84/12=7', '81/27=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.978299 |
hs_4
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.