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 |
|---|---|---|---|---|---|---|---|---|
[
6,
24,
9,
36
] | 16
|
[
"24/6=4",
"36/9=4",
"4*4=16"
] |
Current State: 16:[6, 24, 9, 36], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [9, 36, 4]
Generated Node #2: [9, 36, 4] from Operation: 24/6=4
Current State: 16:[9, 36, 4], Operations: ['24/6=4']
Exploring Operation: 36/9=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 36/9=4
Current State: 16:[4, 4], Operations: ['24/6=4', '36/9=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[6, 24, 9, 36], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [9, 36, 4]
Generated Node #0,0: 16:[9, 36, 4] Operation: 24/6=4
Exploring Operation: 36/9=4, Resulting Numbers: [6, 24, 4]
Generated Node #0,1: 16:[6, 24, 4] Operation: 36/9=4
Exploring Operation: 36/6=6, Resulting Numbers: [24, 9, 6]
Generated Node #0,2: 16:[24, 9, 6] Operation: 36/6=6
Exploring Operation: 36-24=12, Resulting Numbers: [6, 9, 12]
Generated Node #0,3: 16:[6, 9, 12] Operation: 36-24=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[6, 9, 12], Operations: ['36-24=12']
Exploring Operation: 12/6=2, Resulting Numbers: [9, 2]
Generated Node #0,3,0: 16:[9, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [9, 6]
Generated Node #0,3,1: 16:[9, 6] Operation: 12-6=6
Exploring Operation: 6+12=18, Resulting Numbers: [9, 18]
Generated Node #0,3,2: 16:[9, 18] Operation: 6+12=18
Exploring Operation: 12-9=3, Resulting Numbers: [6, 3]
Generated Node #0,3,3: 16:[6, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[9, 2], Operations: ['36-24=12', '12/6=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 16:[9, 6], Operations: ['36-24=12', '12-6=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 16:[9, 18], Operations: ['36-24=12', '6+12=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,16 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 16:[6, 3], Operations: ['36-24=12', '12-9=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[6, 24, 4], Operations: ['36/9=4']
Exploring Operation: 24-4=20, Resulting Numbers: [6, 20]
Generated Node #0,1,0: 16:[6, 20] Operation: 24-4=20
Exploring Operation: 24-6=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 16:[4, 18] Operation: 24-6=18
Exploring Operation: 24/4=6, Resulting Numbers: [6, 6]
Generated Node #0,1,2: 16:[6, 6] Operation: 24/4=6
Exploring Operation: 24/6=4, Resulting Numbers: [4, 4]
Generated Node #0,1,3: 16:[4, 4] Operation: 24/6=4
Moving to Node #0,1,3
Current State: 16:[4, 4], Operations: ['36/9=4', '24/6=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[6, 24, 9, 36], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [6, 24, 4]
Generated Node #0,1: 16:[6, 24, 4] Operation: 36/9=4
Moving to Node #0,1
Current State: 16:[6, 24, 4], Operations: ['36/9=4']
Exploring Operation: 24/6=4, Resulting Numbers: [4, 4]
Generated Node #0,1,3: 16:[4, 4] Operation: 24/6=4
Moving to Node #0,1,3
Current State: 16:[4, 4], Operations: ['36/9=4', '24/6=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354
|
hs_4
|
mult_heuristic
|
[
21,
26,
1,
12
] | 58
|
[
"21+26=47",
"12-1=11",
"47+11=58"
] |
Current State: 58:[21, 26, 1, 12], Operations: []
Exploring Operation: 21+26=47, Resulting Numbers: [1, 12, 47]
Generated Node #2: [1, 12, 47] from Operation: 21+26=47
Current State: 58:[1, 12, 47], Operations: ['21+26=47']
Exploring Operation: 12-1=11, Resulting Numbers: [47, 11]
Generated Node #3: [47, 11] from Operation: 12-1=11
Current State: 58:[47, 11], Operations: ['21+26=47', '12-1=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[21, 26, 1, 12], Operations: []
Exploring Operation: 21+12=33, Resulting Numbers: [26, 1, 33]
Generated Node #0,0: 58:[26, 1, 33] Operation: 21+12=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[26, 1, 33], Operations: ['21+12=33']
Exploring Operation: 26+33=59, Resulting Numbers: [1, 59]
Generated Node #0,0,0: 58:[1, 59] Operation: 26+33=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[1, 59], Operations: ['21+12=33', '26+33=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[21, 26, 1, 12], Operations: []
Exploring Operation: 21+12=33, Resulting Numbers: [26, 1, 33]
Generated Node #0,0: 58:[26, 1, 33] Operation: 21+12=33
Moving to Node #0,0
Current State: 58:[26, 1, 33], Operations: ['21+12=33']
Exploring Operation: 26+33=59, Resulting Numbers: [1, 59]
Generated Node #0,0,0: 58:[1, 59] Operation: 26+33=59
Moving to Node #0,0,0
Current State: 58:[1, 59], Operations: ['21+12=33', '26+33=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
99,
2,
75,
96
] | 48
|
[
"99-75=24",
"2*24=48",
"96-48=48"
] |
Current State: 48:[99, 2, 75, 96], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [2, 96, 24]
Generated Node #2: [2, 96, 24] from Operation: 99-75=24
Current State: 48:[2, 96, 24], Operations: ['99-75=24']
Exploring Operation: 2*24=48, Resulting Numbers: [96, 48]
Generated Node #3: [96, 48] from Operation: 2*24=48
Current State: 48:[96, 48], Operations: ['99-75=24', '2*24=48']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[99, 2, 75, 96], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [2, 75, 3]
Generated Node #0,0: 48:[2, 75, 3] Operation: 99-96=3
Exploring Operation: 99-2=97, Resulting Numbers: [75, 96, 97]
Generated Node #0,1: 48:[75, 96, 97] Operation: 99-2=97
Exploring Operation: 96-75=21, Resulting Numbers: [99, 2, 21]
Generated Node #0,2: 48:[99, 2, 21] Operation: 96-75=21
Exploring Operation: 99-75=24, Resulting Numbers: [2, 96, 24]
Generated Node #0,3: 48:[2, 96, 24] Operation: 99-75=24
Exploring Operation: 96/2=48, Resulting Numbers: [99, 75, 48]
Generated Node #0,4: 48:[99, 75, 48] Operation: 96/2=48
Moving to Node #0,0
Current State: 48:[2, 75, 3], Operations: ['99-96=3']
Exploring Operation: 75/3=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 48:[2, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [2, 72]
Generated Node #0,0,1: 48:[2, 72] Operation: 75-3=72
Exploring Operation: 75-2=73, Resulting Numbers: [3, 73]
Generated Node #0,0,2: 48:[3, 73] Operation: 75-2=73
Exploring Operation: 2*3=6, Resulting Numbers: [75, 6]
Generated Node #0,0,3: 48:[75, 6] Operation: 2*3=6
Exploring Operation: 2+3=5, Resulting Numbers: [75, 5]
Generated Node #0,0,4: 48:[75, 5] Operation: 2+3=5
Moving to Node #0,3
Current State: 48:[2, 96, 24], Operations: ['99-75=24']
Exploring Operation: 2*24=48, Resulting Numbers: [96, 48]
Generated Node #0,3,0: 48:[96, 48] Operation: 2*24=48
Exploring Operation: 96-24=72, Resulting Numbers: [2, 72]
Generated Node #0,3,1: 48:[2, 72] Operation: 96-24=72
Exploring Operation: 96-2=94, Resulting Numbers: [24, 94]
Generated Node #0,3,2: 48:[24, 94] Operation: 96-2=94
Exploring Operation: 96/24=4, Resulting Numbers: [2, 4]
Generated Node #0,3,3: 48:[2, 4] Operation: 96/24=4
Exploring Operation: 96/2=48, Resulting Numbers: [24, 48]
Generated Node #0,3,4: 48:[24, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[2, 4], Operations: ['99-75=24', '96/24=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,48 unequal: No Solution
No 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: 48:[24, 48], Operations: ['99-75=24', '96/2=48']
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,48 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[2, 72], Operations: ['99-75=24', '96-24=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[24, 94], Operations: ['99-75=24', '96-2=94']
Exploring Operation: 24*94=2256, Resulting Numbers: [2256]
2256,48 unequal: No Solution
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 24+94=118, Resulting Numbers: [118]
118,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[96, 48], Operations: ['99-75=24', '2*24=48']
Exploring Operation: 96*48=4608, Resulting Numbers: [4608]
4608,48 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[99, 2, 75, 96], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [2, 96, 24]
Generated Node #0,3: 48:[2, 96, 24] Operation: 99-75=24
Moving to Node #0,3
Current State: 48:[2, 96, 24], Operations: ['99-75=24']
Exploring Operation: 2*24=48, Resulting Numbers: [96, 48]
Generated Node #0,3,0: 48:[96, 48] Operation: 2*24=48
Moving to Node #0,3,0
Current State: 48:[96, 48], Operations: ['99-75=24', '2*24=48']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875
|
hs_5
|
sum_heuristic
|
[
4,
19,
19,
35
] | 39
|
[
"4+19=23",
"35-19=16",
"23+16=39"
] |
Current State: 39:[4, 19, 19, 35], Operations: []
Exploring Operation: 4+19=23, Resulting Numbers: [35, 23]
Generated Node #2: [35, 23] from Operation: 4+19=23
Current State: 39:[35, 23], Operations: ['4+19=23']
Exploring Operation: 35-19=16, Resulting Numbers: [23, 16]
Generated Node #3: [23, 16] from Operation: 35-19=16
Current State: 39:[23, 16], Operations: ['4+19=23', '35-19=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[4, 19, 19, 35], Operations: []
Exploring Operation: 19/19=1, Resulting Numbers: [4, 35, 1]
Generated Node #0,0: 39:[4, 35, 1] Operation: 19/19=1
Exploring Operation: 19+19=38, Resulting Numbers: [4, 35, 38]
Generated Node #0,1: 39:[4, 35, 38] Operation: 19+19=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[4, 35, 38], Operations: ['19+19=38']
Exploring Operation: 38-35=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 39:[4, 3] Operation: 38-35=3
Exploring Operation: 4+35=39, Resulting Numbers: [38, 39]
Generated Node #0,1,1: 39:[38, 39] Operation: 4+35=39
Moving to Node #0,1,0
Current State: 39:[4, 3], Operations: ['19+19=38', '38-35=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[38, 39], Operations: ['19+19=38', '4+35=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,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
Current State: 39:[4, 35, 1], Operations: ['19/19=1']
Exploring Operation: 4+35=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 39:[1, 39] Operation: 4+35=39
Exploring Operation: 4-1=3, Resulting Numbers: [35, 3]
Generated Node #0,0,1: 39:[35, 3] Operation: 4-1=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[1, 39], Operations: ['19/19=1', '4+35=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[4, 19, 19, 35], Operations: []
Exploring Operation: 19/19=1, Resulting Numbers: [4, 35, 1]
Generated Node #0,0: 39:[4, 35, 1] Operation: 19/19=1
Moving to Node #0,0
Current State: 39:[4, 35, 1], Operations: ['19/19=1']
Exploring Operation: 4+35=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 39:[1, 39] Operation: 4+35=39
Moving to Node #0,0,0
Current State: 39:[1, 39], Operations: ['19/19=1', '4+35=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
sum_heuristic
|
[
36,
7,
40,
82
] | 54
|
[
"40-36=4",
"7*4=28",
"82-28=54"
] |
Current State: 54:[36, 7, 40, 82], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [7, 82, 4]
Generated Node #2: [7, 82, 4] from Operation: 40-36=4
Current State: 54:[7, 82, 4], Operations: ['40-36=4']
Exploring Operation: 7*4=28, Resulting Numbers: [82, 28]
Generated Node #3: [82, 28] from Operation: 7*4=28
Current State: 54:[82, 28], Operations: ['40-36=4', '7*4=28']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[36, 7, 40, 82], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [7, 40, 46]
Generated Node #0,0: 54:[7, 40, 46] Operation: 82-36=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[7, 40, 46], Operations: ['82-36=46']
Exploring Operation: 46-40=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 54:[7, 6] Operation: 46-40=6
Moving to Node #0,0,0
Current State: 54:[7, 6], Operations: ['82-36=46', '46-40=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,54 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
|
[
99,
10,
5,
91
] | 28
|
[
"99+91=190",
"190/5=38",
"38-10=28"
] |
Current State: 28:[99, 10, 5, 91], Operations: []
Exploring Operation: 99+91=190, Resulting Numbers: [10, 5, 190]
Generated Node #2: [10, 5, 190] from Operation: 99+91=190
Current State: 28:[10, 5, 190], Operations: ['99+91=190']
Exploring Operation: 190/5=38, Resulting Numbers: [10, 38]
Generated Node #3: [10, 38] from Operation: 190/5=38
Current State: 28:[10, 38], Operations: ['99+91=190', '190/5=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[99, 10, 5, 91], Operations: []
Exploring Operation: 91-10=81, Resulting Numbers: [99, 5, 81]
Generated Node #0,0: 28:[99, 5, 81] Operation: 91-10=81
Exploring Operation: 99-10=89, Resulting Numbers: [5, 91, 89]
Generated Node #0,1: 28:[5, 91, 89] Operation: 99-10=89
Exploring Operation: 99-91=8, Resulting Numbers: [10, 5, 8]
Generated Node #0,2: 28:[10, 5, 8] Operation: 99-91=8
Moving to Node #0,2
Current State: 28:[10, 5, 8], Operations: ['99-91=8']
Exploring Operation: 10/5=2, Resulting Numbers: [8, 2]
Generated Node #0,2,0: 28:[8, 2] Operation: 10/5=2
Exploring Operation: 10+5=15, Resulting Numbers: [8, 15]
Generated Node #0,2,1: 28:[8, 15] Operation: 10+5=15
Exploring Operation: 10-8=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 28:[5, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[8, 2], Operations: ['99-91=8', '10/5=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[5, 2], Operations: ['99-91=8', '10-8=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[8, 15], Operations: ['99-91=8', '10+5=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,28 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,28 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: 28:[99, 5, 81], Operations: ['91-10=81']
Exploring Operation: 99-5=94, Resulting Numbers: [81, 94]
Generated Node #0,0,0: 28:[81, 94] Operation: 99-5=94
Exploring Operation: 99-81=18, Resulting Numbers: [5, 18]
Generated Node #0,0,1: 28:[5, 18] Operation: 99-81=18
Exploring Operation: 81-5=76, Resulting Numbers: [99, 76]
Generated Node #0,0,2: 28:[99, 76] Operation: 81-5=76
Moving to Node #0,1
Current State: 28:[5, 91, 89], Operations: ['99-10=89']
Exploring Operation: 91-89=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 28:[5, 2] Operation: 91-89=2
Exploring Operation: 89-5=84, Resulting Numbers: [91, 84]
Generated Node #0,1,1: 28:[91, 84] Operation: 89-5=84
Exploring Operation: 91-5=86, Resulting Numbers: [89, 86]
Generated Node #0,1,2: 28:[89, 86] Operation: 91-5=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[5, 2], Operations: ['99-10=89', '91-89=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[91, 84], Operations: ['99-10=89', '89-5=84']
Exploring Operation: 91+84=175, Resulting Numbers: [175]
175,28 unequal: No Solution
Exploring Operation: 91*84=7644, Resulting Numbers: [7644]
7644,28 unequal: No Solution
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[89, 86], Operations: ['99-10=89', '91-5=86']
Exploring Operation: 89*86=7654, Resulting Numbers: [7654]
7654,28 unequal: No Solution
Exploring Operation: 89+86=175, Resulting Numbers: [175]
175,28 unequal: No Solution
Exploring Operation: 89-86=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 28:[5, 18], Operations: ['91-10=81', '99-81=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[81, 94], Operations: ['91-10=81', '99-5=94']
Exploring Operation: 94-81=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 81+94=175, Resulting Numbers: [175]
175,28 unequal: No Solution
Exploring Operation: 81*94=7614, Resulting Numbers: [7614]
7614,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[99, 76], Operations: ['91-10=81', '81-5=76']
Exploring Operation: 99+76=175, Resulting Numbers: [175]
175,28 unequal: No Solution
Exploring Operation: 99-76=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 99*76=7524, Resulting Numbers: [7524]
7524,28 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
44,
9,
89,
66
] | 83
|
[
"44*9=396",
"396/66=6",
"89-6=83"
] |
Current State: 83:[44, 9, 89, 66], Operations: []
Exploring Operation: 44*9=396, Resulting Numbers: [89, 66, 396]
Generated Node #2: [89, 66, 396] from Operation: 44*9=396
Current State: 83:[89, 66, 396], Operations: ['44*9=396']
Exploring Operation: 396/66=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 396/66=6
Current State: 83:[89, 6], Operations: ['44*9=396', '396/66=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[44, 9, 89, 66], Operations: []
Exploring Operation: 44+9=53, Resulting Numbers: [89, 66, 53]
Generated Node #0,0: 83:[89, 66, 53] Operation: 44+9=53
Exploring Operation: 9+66=75, Resulting Numbers: [44, 89, 75]
Generated Node #0,1: 83:[44, 89, 75] Operation: 9+66=75
Moving to Node #0,0
Current State: 83:[89, 66, 53], Operations: ['44+9=53']
Exploring Operation: 66+53=119, Resulting Numbers: [89, 119]
Generated Node #0,0,0: 83:[89, 119] Operation: 66+53=119
Exploring Operation: 89-53=36, Resulting Numbers: [66, 36]
Generated Node #0,0,1: 83:[66, 36] Operation: 89-53=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[89, 119], Operations: ['44+9=53', '66+53=119']
Exploring Operation: 119-89=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 89+119=208, Resulting Numbers: [208]
208,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[66, 36], Operations: ['44+9=53', '89-53=36']
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,83 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: 83:[44, 89, 75], Operations: ['9+66=75']
Exploring Operation: 89-44=45, Resulting Numbers: [75, 45]
Generated Node #0,1,0: 83:[75, 45] Operation: 89-44=45
Exploring Operation: 44+75=119, Resulting Numbers: [89, 119]
Generated Node #0,1,1: 83:[89, 119] Operation: 44+75=119
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[89, 119], Operations: ['9+66=75', '44+75=119']
Exploring Operation: 119-89=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 89+119=208, Resulting Numbers: [208]
208,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[75, 45], Operations: ['9+66=75', '89-44=45']
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,83 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
98,
64,
49,
14
] | 18
|
[
"98/49=2",
"64/2=32",
"32-14=18"
] |
Current State: 18:[98, 64, 49, 14], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [64, 14, 2]
Generated Node #2: [64, 14, 2] from Operation: 98/49=2
Current State: 18:[64, 14, 2], Operations: ['98/49=2']
Exploring Operation: 64/2=32, Resulting Numbers: [14, 32]
Generated Node #3: [14, 32] from Operation: 64/2=32
Current State: 18:[14, 32], Operations: ['98/49=2', '64/2=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[98, 64, 49, 14], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [64, 14, 49]
Generated Node #0,0: 18:[64, 14, 49] Operation: 98-49=49
Exploring Operation: 98-64=34, Resulting Numbers: [49, 14, 34]
Generated Node #0,1: 18:[49, 14, 34] Operation: 98-64=34
Exploring Operation: 64-49=15, Resulting Numbers: [98, 14, 15]
Generated Node #0,2: 18:[98, 14, 15] Operation: 64-49=15
Exploring Operation: 98/14=7, Resulting Numbers: [64, 49, 7]
Generated Node #0,3: 18:[64, 49, 7] Operation: 98/14=7
Exploring Operation: 98/49=2, Resulting Numbers: [64, 14, 2]
Generated Node #0,4: 18:[64, 14, 2] Operation: 98/49=2
Moving to Node #0,4
Current State: 18:[64, 14, 2], Operations: ['98/49=2']
Exploring Operation: 64-14=50, Resulting Numbers: [2, 50]
Generated Node #0,4,0: 18:[2, 50] Operation: 64-14=50
Exploring Operation: 14/2=7, Resulting Numbers: [64, 7]
Generated Node #0,4,1: 18:[64, 7] Operation: 14/2=7
Exploring Operation: 14+2=16, Resulting Numbers: [64, 16]
Generated Node #0,4,2: 18:[64, 16] Operation: 14+2=16
Exploring Operation: 64/2=32, Resulting Numbers: [14, 32]
Generated Node #0,4,3: 18:[14, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [14, 62]
Generated Node #0,4,4: 18:[14, 62] Operation: 64-2=62
Moving to Node #0,1
Current State: 18:[49, 14, 34], Operations: ['98-64=34']
Exploring Operation: 14+34=48, Resulting Numbers: [49, 48]
Generated Node #0,1,0: 18:[49, 48] Operation: 14+34=48
Exploring Operation: 49-34=15, Resulting Numbers: [14, 15]
Generated Node #0,1,1: 18:[14, 15] Operation: 49-34=15
Exploring Operation: 34-14=20, Resulting Numbers: [49, 20]
Generated Node #0,1,2: 18:[49, 20] Operation: 34-14=20
Exploring Operation: 49-14=35, Resulting Numbers: [34, 35]
Generated Node #0,1,3: 18:[34, 35] Operation: 49-14=35
Exploring Operation: 49+14=63, Resulting Numbers: [34, 63]
Generated Node #0,1,4: 18:[34, 63] Operation: 49+14=63
Moving to Node #0,3
Current State: 18:[64, 49, 7], Operations: ['98/14=7']
Exploring Operation: 64+7=71, Resulting Numbers: [49, 71]
Generated Node #0,3,0: 18:[49, 71] Operation: 64+7=71
Exploring Operation: 64-49=15, Resulting Numbers: [7, 15]
Generated Node #0,3,1: 18:[7, 15] Operation: 64-49=15
Exploring Operation: 64-7=57, Resulting Numbers: [49, 57]
Generated Node #0,3,2: 18:[49, 57] Operation: 64-7=57
Exploring Operation: 49/7=7, Resulting Numbers: [64, 7]
Generated Node #0,3,3: 18:[64, 7] Operation: 49/7=7
Exploring Operation: 49-7=42, Resulting Numbers: [64, 42]
Generated Node #0,3,4: 18:[64, 42] Operation: 49-7=42
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[7, 15], Operations: ['98/14=7', '64-49=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,18 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[64, 7], Operations: ['98/14=7', '49/7=7']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[49, 57], Operations: ['98/14=7', '64-7=57']
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,18 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[64, 42], Operations: ['98/14=7', '49-7=42']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[49, 71], Operations: ['98/14=7', '64+7=71']
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 49*71=3479, Resulting Numbers: [3479]
3479,18 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,18 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: 18:[64, 14, 49], Operations: ['98-49=49']
Exploring Operation: 64+14=78, Resulting Numbers: [49, 78]
Generated Node #0,0,0: 18:[49, 78] Operation: 64+14=78
Exploring Operation: 64-14=50, Resulting Numbers: [49, 50]
Generated Node #0,0,1: 18:[49, 50] Operation: 64-14=50
Exploring Operation: 49-14=35, Resulting Numbers: [64, 35]
Generated Node #0,0,2: 18:[64, 35] Operation: 49-14=35
Exploring Operation: 14+49=63, Resulting Numbers: [64, 63]
Generated Node #0,0,3: 18:[64, 63] Operation: 14+49=63
Exploring Operation: 64-49=15, Resulting Numbers: [14, 15]
Generated Node #0,0,4: 18:[14, 15] Operation: 64-49=15
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[14, 15], Operations: ['98-49=49', '64-49=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,18 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[49, 50], Operations: ['98-49=49', '64-14=50']
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,18 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[64, 35], Operations: ['98-49=49', '49-14=35']
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[49, 78], Operations: ['98-49=49', '64+14=78']
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,18 unequal: No Solution
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,18 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[64, 63], Operations: ['98-49=49', '14+49=63']
Exploring Operation: 64*63=4032, Resulting Numbers: [4032]
4032,18 unequal: No Solution
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,18 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,18 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: 18:[98, 14, 15], Operations: ['64-49=15']
Exploring Operation: 98-15=83, Resulting Numbers: [14, 83]
Generated Node #0,2,0: 18:[14, 83] Operation: 98-15=83
Exploring Operation: 98-14=84, Resulting Numbers: [15, 84]
Generated Node #0,2,1: 18:[15, 84] Operation: 98-14=84
Exploring Operation: 15-14=1, Resulting Numbers: [98, 1]
Generated Node #0,2,2: 18:[98, 1] Operation: 15-14=1
Exploring Operation: 14+15=29, Resulting Numbers: [98, 29]
Generated Node #0,2,3: 18:[98, 29] Operation: 14+15=29
Exploring Operation: 98/14=7, Resulting Numbers: [15, 7]
Generated Node #0,2,4: 18:[15, 7] Operation: 98/14=7
Moving to Node #0,2,4
Current State: 18:[15, 7], Operations: ['64-49=15', '98/14=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,18 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[14, 15], Operations: ['98-64=34', '49-34=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,18 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[14, 32], Operations: ['98/49=2', '64/2=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[98, 64, 49, 14], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [64, 14, 2]
Generated Node #0,4: 18:[64, 14, 2] Operation: 98/49=2
Moving to Node #0,4
Current State: 18:[64, 14, 2], Operations: ['98/49=2']
Exploring Operation: 64/2=32, Resulting Numbers: [14, 32]
Generated Node #0,4,3: 18:[14, 32] Operation: 64/2=32
Moving to Node #0,4,3
Current State: 18:[14, 32], Operations: ['98/49=2', '64/2=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.9375
|
hs_5
|
sum_heuristic
|
[
5,
12,
5,
46
] | 11
|
[
"12-5=7",
"5*7=35",
"46-35=11"
] |
Current State: 11:[5, 12, 5, 46], Operations: []
Exploring Operation: 12-5=7, Resulting Numbers: [46, 7]
Generated Node #2: [46, 7] from Operation: 12-5=7
Current State: 11:[46, 7], Operations: ['12-5=7']
Exploring Operation: 5*7=35, Resulting Numbers: [46, 35]
Generated Node #3: [46, 35] from Operation: 5*7=35
Current State: 11:[46, 35], Operations: ['12-5=7', '5*7=35']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[5, 12, 5, 46], Operations: []
Exploring Operation: 46-12=34, Resulting Numbers: [5, 5, 34]
Generated Node #0,0: 11:[5, 5, 34] Operation: 46-12=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[5, 5, 34], Operations: ['46-12=34']
Exploring Operation: 5+5=10, Resulting Numbers: [34, 10]
Generated Node #0,0,0: 11:[34, 10] Operation: 5+5=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[34, 10], Operations: ['46-12=34', '5+5=10']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,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
|
mult_heuristic
|
[
70,
10,
8,
98
] | 83
|
[
"70/10=7",
"98-8=90",
"90-7=83"
] |
Current State: 83:[70, 10, 8, 98], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [8, 98, 7]
Generated Node #2: [8, 98, 7] from Operation: 70/10=7
Current State: 83:[8, 98, 7], Operations: ['70/10=7']
Exploring Operation: 98-8=90, Resulting Numbers: [7, 90]
Generated Node #3: [7, 90] from Operation: 98-8=90
Current State: 83:[7, 90], Operations: ['70/10=7', '98-8=90']
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[70, 10, 8, 98], Operations: []
Exploring Operation: 70+8=78, Resulting Numbers: [10, 98, 78]
Generated Node #0,0: 83:[10, 98, 78] Operation: 70+8=78
Exploring Operation: 10*8=80, Resulting Numbers: [70, 98, 80]
Generated Node #0,1: 83:[70, 98, 80] Operation: 10*8=80
Exploring Operation: 70+10=80, Resulting Numbers: [8, 98, 80]
Generated Node #0,2: 83:[8, 98, 80] Operation: 70+10=80
Moving to Node #0,1
Current State: 83:[70, 98, 80], Operations: ['10*8=80']
Exploring Operation: 70+80=150, Resulting Numbers: [98, 150]
Generated Node #0,1,0: 83:[98, 150] Operation: 70+80=150
Exploring Operation: 98-70=28, Resulting Numbers: [80, 28]
Generated Node #0,1,1: 83:[80, 28] Operation: 98-70=28
Exploring Operation: 98-80=18, Resulting Numbers: [70, 18]
Generated Node #0,1,2: 83:[70, 18] Operation: 98-80=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[80, 28], Operations: ['10*8=80', '98-70=28']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,83 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[70, 18], Operations: ['10*8=80', '98-80=18']
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,83 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[98, 150], Operations: ['10*8=80', '70+80=150']
Exploring Operation: 98*150=14700, Resulting Numbers: [14700]
14700,83 unequal: No Solution
Exploring Operation: 98+150=248, Resulting Numbers: [248]
248,83 unequal: No Solution
Exploring Operation: 150-98=52, Resulting Numbers: [52]
52,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 83:[10, 98, 78], Operations: ['70+8=78']
Exploring Operation: 98-10=88, Resulting Numbers: [78, 88]
Generated Node #0,0,0: 83:[78, 88] Operation: 98-10=88
Exploring Operation: 10+78=88, Resulting Numbers: [98, 88]
Generated Node #0,0,1: 83:[98, 88] Operation: 10+78=88
Exploring Operation: 10+98=108, Resulting Numbers: [78, 108]
Generated Node #0,0,2: 83:[78, 108] Operation: 10+98=108
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[78, 88], Operations: ['70+8=78', '98-10=88']
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,83 unequal: No Solution
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,83 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[98, 88], Operations: ['70+8=78', '10+78=88']
Exploring Operation: 98*88=8624, Resulting Numbers: [8624]
8624,83 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 98+88=186, Resulting Numbers: [186]
186,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[78, 108], Operations: ['70+8=78', '10+98=108']
Exploring Operation: 78*108=8424, Resulting Numbers: [8424]
8424,83 unequal: No Solution
Exploring Operation: 108-78=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 78+108=186, Resulting Numbers: [186]
186,83 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: 83:[8, 98, 80], Operations: ['70+10=80']
Exploring Operation: 8+98=106, Resulting Numbers: [80, 106]
Generated Node #0,2,0: 83:[80, 106] Operation: 8+98=106
Exploring Operation: 8+80=88, Resulting Numbers: [98, 88]
Generated Node #0,2,1: 83:[98, 88] Operation: 8+80=88
Exploring Operation: 98-8=90, Resulting Numbers: [80, 90]
Generated Node #0,2,2: 83:[80, 90] Operation: 98-8=90
Moving to Node #0,2,2
Current State: 83:[80, 90], Operations: ['70+10=80', '98-8=90']
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,83 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 80*90=7200, Resulting Numbers: [7200]
7200,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[98, 88], Operations: ['70+10=80', '8+80=88']
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 98+88=186, Resulting Numbers: [186]
186,83 unequal: No Solution
Exploring Operation: 98*88=8624, Resulting Numbers: [8624]
8624,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[80, 106], Operations: ['70+10=80', '8+98=106']
Exploring Operation: 106-80=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 80*106=8480, Resulting Numbers: [8480]
8480,83 unequal: No Solution
Exploring Operation: 80+106=186, Resulting Numbers: [186]
186,83 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
86,
36,
68,
26
] | 80
|
[
"86+36=122",
"68-26=42",
"122-42=80"
] |
Current State: 80:[86, 36, 68, 26], Operations: []
Exploring Operation: 86+36=122, Resulting Numbers: [68, 26, 122]
Generated Node #2: [68, 26, 122] from Operation: 86+36=122
Current State: 80:[68, 26, 122], Operations: ['86+36=122']
Exploring Operation: 68-26=42, Resulting Numbers: [122, 42]
Generated Node #3: [122, 42] from Operation: 68-26=42
Current State: 80:[122, 42], Operations: ['86+36=122', '68-26=42']
Exploring Operation: 122-42=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[86, 36, 68, 26], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [86, 36, 42]
Generated Node #0,0: 80:[86, 36, 42] Operation: 68-26=42
Exploring Operation: 86-68=18, Resulting Numbers: [36, 26, 18]
Generated Node #0,1: 80:[36, 26, 18] Operation: 86-68=18
Moving to Node #0,0
Current State: 80:[86, 36, 42], Operations: ['68-26=42']
Exploring Operation: 86-42=44, Resulting Numbers: [36, 44]
Generated Node #0,0,0: 80:[36, 44] Operation: 86-42=44
Exploring Operation: 42-36=6, Resulting Numbers: [86, 6]
Generated Node #0,0,1: 80:[86, 6] Operation: 42-36=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[86, 6], Operations: ['68-26=42', '42-36=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[86, 36, 68, 26], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [86, 36, 42]
Generated Node #0,0: 80:[86, 36, 42] Operation: 68-26=42
Moving to Node #0,0
Current State: 80:[86, 36, 42], Operations: ['68-26=42']
Exploring Operation: 42-36=6, Resulting Numbers: [86, 6]
Generated Node #0,0,1: 80:[86, 6] Operation: 42-36=6
Moving to Node #0,0,1
Current State: 80:[86, 6], Operations: ['68-26=42', '42-36=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
mult_heuristic
|
[
44,
96,
8,
15
] | 47
|
[
"44+15=59",
"96/8=12",
"59-12=47"
] |
Current State: 47:[44, 96, 8, 15], Operations: []
Exploring Operation: 44+15=59, Resulting Numbers: [96, 8, 59]
Generated Node #2: [96, 8, 59] from Operation: 44+15=59
Current State: 47:[96, 8, 59], Operations: ['44+15=59']
Exploring Operation: 96/8=12, Resulting Numbers: [59, 12]
Generated Node #3: [59, 12] from Operation: 96/8=12
Current State: 47:[59, 12], Operations: ['44+15=59', '96/8=12']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[44, 96, 8, 15], Operations: []
Exploring Operation: 96-8=88, Resulting Numbers: [44, 15, 88]
Generated Node #0,0: 47:[44, 15, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [44, 15, 12]
Generated Node #0,1: 47:[44, 15, 12] Operation: 96/8=12
Exploring Operation: 96-44=52, Resulting Numbers: [8, 15, 52]
Generated Node #0,2: 47:[8, 15, 52] Operation: 96-44=52
Exploring Operation: 8+15=23, Resulting Numbers: [44, 96, 23]
Generated Node #0,3: 47:[44, 96, 23] Operation: 8+15=23
Exploring Operation: 96-15=81, Resulting Numbers: [44, 8, 81]
Generated Node #0,4: 47:[44, 8, 81] Operation: 96-15=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[44, 15, 12], Operations: ['96/8=12']
Exploring Operation: 44+12=56, Resulting Numbers: [15, 56]
Generated Node #0,1,0: 47:[15, 56] Operation: 44+12=56
Exploring Operation: 44-12=32, Resulting Numbers: [15, 32]
Generated Node #0,1,1: 47:[15, 32] Operation: 44-12=32
Exploring Operation: 15+12=27, Resulting Numbers: [44, 27]
Generated Node #0,1,2: 47:[44, 27] Operation: 15+12=27
Exploring Operation: 15-12=3, Resulting Numbers: [44, 3]
Generated Node #0,1,3: 47:[44, 3] Operation: 15-12=3
Exploring Operation: 44+15=59, Resulting Numbers: [12, 59]
Generated Node #0,1,4: 47:[12, 59] Operation: 44+15=59
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[44, 27], Operations: ['96/8=12', '15+12=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,47 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[15, 56], Operations: ['96/8=12', '44+12=56']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[15, 32], Operations: ['96/8=12', '44-12=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[44, 96, 8, 15], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [44, 15, 12]
Generated Node #0,1: 47:[44, 15, 12] Operation: 96/8=12
Moving to Node #0,1
Current State: 47:[44, 15, 12], Operations: ['96/8=12']
Exploring Operation: 44-12=32, Resulting Numbers: [15, 32]
Generated Node #0,1,1: 47:[15, 32] Operation: 44-12=32
Moving to Node #0,1,1
Current State: 47:[15, 32], Operations: ['96/8=12', '44-12=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771
|
hs_5
|
sum_heuristic
|
[
55,
51,
2,
88
] | 44
|
[
"55-51=4",
"2*88=176",
"176/4=44"
] |
Current State: 44:[55, 51, 2, 88], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [2, 88, 4]
Generated Node #2: [2, 88, 4] from Operation: 55-51=4
Current State: 44:[2, 88, 4], Operations: ['55-51=4']
Exploring Operation: 2*88=176, Resulting Numbers: [4, 176]
Generated Node #3: [4, 176] from Operation: 2*88=176
Current State: 44:[4, 176], Operations: ['55-51=4', '2*88=176']
Exploring Operation: 176/4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[55, 51, 2, 88], Operations: []
Exploring Operation: 88-51=37, Resulting Numbers: [55, 2, 37]
Generated Node #0,0: 44:[55, 2, 37] Operation: 88-51=37
Exploring Operation: 88-55=33, Resulting Numbers: [51, 2, 33]
Generated Node #0,1: 44:[51, 2, 33] Operation: 88-55=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[55, 2, 37], Operations: ['88-51=37']
Exploring Operation: 55-2=53, Resulting Numbers: [37, 53]
Generated Node #0,0,0: 44:[37, 53] Operation: 55-2=53
Exploring Operation: 55-37=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 44:[2, 18] Operation: 55-37=18
Moving to Node #0,0,1
Current State: 44:[2, 18], Operations: ['88-51=37', '55-37=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[37, 53], Operations: ['88-51=37', '55-2=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[51, 2, 33], Operations: ['88-55=33']
Exploring Operation: 51-33=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 44:[2, 18] Operation: 51-33=18
Exploring Operation: 51-2=49, Resulting Numbers: [33, 49]
Generated Node #0,1,1: 44:[33, 49] Operation: 51-2=49
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[2, 18], Operations: ['88-55=33', '51-33=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[33, 49], Operations: ['88-55=33', '51-2=49']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
61,
82,
15,
2
] | 64
|
[
"61+82=143",
"143-15=128",
"128/2=64"
] |
Current State: 64:[61, 82, 15, 2], Operations: []
Exploring Operation: 61+82=143, Resulting Numbers: [15, 2, 143]
Generated Node #2: [15, 2, 143] from Operation: 61+82=143
Current State: 64:[15, 2, 143], Operations: ['61+82=143']
Exploring Operation: 143-15=128, Resulting Numbers: [2, 128]
Generated Node #3: [2, 128] from Operation: 143-15=128
Current State: 64:[2, 128], Operations: ['61+82=143', '143-15=128']
Exploring Operation: 128/2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[61, 82, 15, 2], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [61, 2, 67]
Generated Node #0,0: 64:[61, 2, 67] Operation: 82-15=67
Exploring Operation: 82-61=21, Resulting Numbers: [15, 2, 21]
Generated Node #0,1: 64:[15, 2, 21] Operation: 82-61=21
Exploring Operation: 82/2=41, Resulting Numbers: [61, 15, 41]
Generated Node #0,2: 64:[61, 15, 41] Operation: 82/2=41
Moving to Node #0,0
Current State: 64:[61, 2, 67], Operations: ['82-15=67']
Exploring Operation: 61+2=63, Resulting Numbers: [67, 63]
Generated Node #0,0,0: 64:[67, 63] Operation: 61+2=63
Exploring Operation: 67-61=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 64:[2, 6] Operation: 67-61=6
Exploring Operation: 67-2=65, Resulting Numbers: [61, 65]
Generated Node #0,0,2: 64:[61, 65] Operation: 67-2=65
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[2, 6], Operations: ['82-15=67', '67-61=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,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,0,0
Current State: 64:[67, 63], Operations: ['82-15=67', '61+2=63']
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,64 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,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,0,2
Current State: 64:[61, 65], Operations: ['82-15=67', '67-2=65']
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,64 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,64 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: 64:[15, 2, 21], Operations: ['82-61=21']
Exploring Operation: 15+21=36, Resulting Numbers: [2, 36]
Generated Node #0,1,0: 64:[2, 36] Operation: 15+21=36
Exploring Operation: 21-2=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 64:[15, 19] Operation: 21-2=19
Exploring Operation: 21-15=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 64:[2, 6] Operation: 21-15=6
Moving to Node #0,2
Current State: 64:[61, 15, 41], Operations: ['82/2=41']
Exploring Operation: 41-15=26, Resulting Numbers: [61, 26]
Generated Node #0,2,0: 64:[61, 26] Operation: 41-15=26
Exploring Operation: 61-41=20, Resulting Numbers: [15, 20]
Generated Node #0,2,1: 64:[15, 20] Operation: 61-41=20
Exploring Operation: 15+41=56, Resulting Numbers: [61, 56]
Generated Node #0,2,2: 64:[61, 56] Operation: 15+41=56
Moving to Node #0,1,2
Current State: 64:[2, 6], Operations: ['82-61=21', '21-15=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[15, 19], Operations: ['82-61=21', '21-2=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,64 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[2, 36], Operations: ['82-61=21', '15+21=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[15, 20], Operations: ['82/2=41', '61-41=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,64 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[61, 26], Operations: ['82/2=41', '41-15=26']
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,64 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[61, 56], Operations: ['82/2=41', '15+41=56']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 61*56=3416, Resulting Numbers: [3416]
3416,64 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
9,
16,
39,
35
] | 67
|
[
"16-9=7",
"39+35=74",
"74-7=67"
] |
Current State: 67:[9, 16, 39, 35], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [39, 35, 7]
Generated Node #2: [39, 35, 7] from Operation: 16-9=7
Current State: 67:[39, 35, 7], Operations: ['16-9=7']
Exploring Operation: 39+35=74, Resulting Numbers: [7, 74]
Generated Node #3: [7, 74] from Operation: 39+35=74
Current State: 67:[7, 74], Operations: ['16-9=7', '39+35=74']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4
|
Current State: 67:[9, 16, 39, 35], Operations: []
Exploring Operation: 9+16=25, Resulting Numbers: [39, 35, 25]
Generated Node #0,0: 67:[39, 35, 25] Operation: 9+16=25
Exploring Operation: 9+35=44, Resulting Numbers: [16, 39, 44]
Generated Node #0,1: 67:[16, 39, 44] Operation: 9+35=44
Exploring Operation: 9+39=48, Resulting Numbers: [16, 35, 48]
Generated Node #0,2: 67:[16, 35, 48] Operation: 9+39=48
Moving to Node #0,0
Current State: 67:[39, 35, 25], Operations: ['9+16=25']
Exploring Operation: 39+35=74, Resulting Numbers: [25, 74]
Generated Node #0,0,0: 67:[25, 74] Operation: 39+35=74
Exploring Operation: 39+25=64, Resulting Numbers: [35, 64]
Generated Node #0,0,1: 67:[35, 64] Operation: 39+25=64
Exploring Operation: 35+25=60, Resulting Numbers: [39, 60]
Generated Node #0,0,2: 67:[39, 60] Operation: 35+25=60
Moving to Node #0,1
Current State: 67:[16, 39, 44], Operations: ['9+35=44']
Exploring Operation: 39-16=23, Resulting Numbers: [44, 23]
Generated Node #0,1,0: 67:[44, 23] Operation: 39-16=23
Exploring Operation: 16+39=55, Resulting Numbers: [44, 55]
Generated Node #0,1,1: 67:[44, 55] Operation: 16+39=55
Exploring Operation: 16+44=60, Resulting Numbers: [39, 60]
Generated Node #0,1,2: 67:[39, 60] Operation: 16+44=60
Moving to Node #0,2
Current State: 67:[16, 35, 48], Operations: ['9+39=48']
Exploring Operation: 16+35=51, Resulting Numbers: [48, 51]
Generated Node #0,2,0: 67:[48, 51] Operation: 16+35=51
Exploring Operation: 16+48=64, Resulting Numbers: [35, 64]
Generated Node #0,2,1: 67:[35, 64] Operation: 16+48=64
Exploring Operation: 35-16=19, Resulting Numbers: [48, 19]
Generated Node #0,2,2: 67:[48, 19] Operation: 35-16=19
Moving to Node #0,0,1
Current State: 67:[35, 64], Operations: ['9+16=25', '39+25=64']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,67 unequal: No Solution
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[48, 51], Operations: ['9+39=48', '16+35=51']
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,67 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[39, 60], Operations: ['9+16=25', '35+25=60']
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[39, 60], Operations: ['9+35=44', '16+44=60']
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,67 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[35, 64], Operations: ['9+39=48', '16+48=64']
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,67 unequal: No Solution
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[44, 55], Operations: ['9+35=44', '16+39=55']
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,67 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[25, 74], Operations: ['9+16=25', '39+35=74']
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,67 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[44, 23], Operations: ['9+35=44', '39-16=23']
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,67 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[9, 16, 39, 35], Operations: []
Exploring Operation: 9+35=44, Resulting Numbers: [16, 39, 44]
Generated Node #0,1: 67:[16, 39, 44] Operation: 9+35=44
Moving to Node #0,1
Current State: 67:[16, 39, 44], Operations: ['9+35=44']
Exploring Operation: 39-16=23, Resulting Numbers: [44, 23]
Generated Node #0,1,0: 67:[44, 23] Operation: 39-16=23
Moving to Node #0,1,0
Current State: 67:[44, 23], Operations: ['9+35=44', '39-16=23']
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.966146
|
hs_3
|
mult_heuristic
|
[
97,
13,
85,
58
] | 82
|
[
"97-58=39",
"39/13=3",
"85-3=82"
] |
Current State: 82:[97, 13, 85, 58], Operations: []
Exploring Operation: 97-58=39, Resulting Numbers: [13, 85, 39]
Generated Node #2: [13, 85, 39] from Operation: 97-58=39
Current State: 82:[13, 85, 39], Operations: ['97-58=39']
Exploring Operation: 39/13=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 39/13=3
Current State: 82:[85, 3], Operations: ['97-58=39', '39/13=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[97, 13, 85, 58], Operations: []
Exploring Operation: 97-58=39, Resulting Numbers: [13, 85, 39]
Generated Node #0,0: 82:[13, 85, 39] Operation: 97-58=39
Exploring Operation: 97-13=84, Resulting Numbers: [85, 58, 84]
Generated Node #0,1: 82:[85, 58, 84] Operation: 97-13=84
Moving to Node #0,0
Current State: 82:[13, 85, 39], Operations: ['97-58=39']
Exploring Operation: 39/13=3, Resulting Numbers: [85, 3]
Generated Node #0,0,0: 82:[85, 3] Operation: 39/13=3
Exploring Operation: 85-13=72, Resulting Numbers: [39, 72]
Generated Node #0,0,1: 82:[39, 72] Operation: 85-13=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[85, 3], Operations: ['97-58=39', '39/13=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[97, 13, 85, 58], Operations: []
Exploring Operation: 97-58=39, Resulting Numbers: [13, 85, 39]
Generated Node #0,0: 82:[13, 85, 39] Operation: 97-58=39
Moving to Node #0,0
Current State: 82:[13, 85, 39], Operations: ['97-58=39']
Exploring Operation: 39/13=3, Resulting Numbers: [85, 3]
Generated Node #0,0,0: 82:[85, 3] Operation: 39/13=3
Moving to Node #0,0,0
Current State: 82:[85, 3], Operations: ['97-58=39', '39/13=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
10,
66,
22,
60
] | 82
|
[
"60/10=6",
"66+22=88",
"88-6=82"
] |
Current State: 82:[10, 66, 22, 60], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [66, 22, 6]
Generated Node #2: [66, 22, 6] from Operation: 60/10=6
Current State: 82:[66, 22, 6], Operations: ['60/10=6']
Exploring Operation: 66+22=88, Resulting Numbers: [6, 88]
Generated Node #3: [6, 88] from Operation: 66+22=88
Current State: 82:[6, 88], Operations: ['60/10=6', '66+22=88']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[10, 66, 22, 60], Operations: []
Exploring Operation: 66-22=44, Resulting Numbers: [10, 60, 44]
Generated Node #0,0: 82:[10, 60, 44] Operation: 66-22=44
Exploring Operation: 60-22=38, Resulting Numbers: [10, 66, 38]
Generated Node #0,1: 82:[10, 66, 38] Operation: 60-22=38
Exploring Operation: 22+60=82, Resulting Numbers: [10, 66, 82]
Generated Node #0,2: 82:[10, 66, 82] Operation: 22+60=82
Exploring Operation: 66/22=3, Resulting Numbers: [10, 60, 3]
Generated Node #0,3: 82:[10, 60, 3] Operation: 66/22=3
Moving to Node #0,2
Current State: 82:[10, 66, 82], Operations: ['22+60=82']
Exploring Operation: 10+82=92, Resulting Numbers: [66, 92]
Generated Node #0,2,0: 82:[66, 92] Operation: 10+82=92
Exploring Operation: 66-10=56, Resulting Numbers: [82, 56]
Generated Node #0,2,1: 82:[82, 56] Operation: 66-10=56
Exploring Operation: 82-66=16, Resulting Numbers: [10, 16]
Generated Node #0,2,2: 82:[10, 16] Operation: 82-66=16
Exploring Operation: 10+66=76, Resulting Numbers: [82, 76]
Generated Node #0,2,3: 82:[82, 76] Operation: 10+66=76
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[82, 76], Operations: ['22+60=82', '10+66=76']
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 82*76=6232, Resulting Numbers: [6232]
6232,82 unequal: No Solution
Exploring Operation: 82+76=158, Resulting Numbers: [158]
158,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[82, 56], Operations: ['22+60=82', '66-10=56']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,82 unequal: No Solution
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[10, 16], Operations: ['22+60=82', '82-66=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[66, 92], Operations: ['22+60=82', '10+82=92']
Exploring Operation: 66*92=6072, Resulting Numbers: [6072]
6072,82 unequal: No Solution
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 66+92=158, Resulting Numbers: [158]
158,82 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: 82:[10, 66, 38], Operations: ['60-22=38']
Exploring Operation: 66-10=56, Resulting Numbers: [38, 56]
Generated Node #0,1,0: 82:[38, 56] Operation: 66-10=56
Exploring Operation: 10+38=48, Resulting Numbers: [66, 48]
Generated Node #0,1,1: 82:[66, 48] Operation: 10+38=48
Exploring Operation: 10+66=76, Resulting Numbers: [38, 76]
Generated Node #0,1,2: 82:[38, 76] Operation: 10+66=76
Exploring Operation: 66-38=28, Resulting Numbers: [10, 28]
Generated Node #0,1,3: 82:[10, 28] Operation: 66-38=28
Moving to Node #0,3
Current State: 82:[10, 60, 3], Operations: ['66/22=3']
Exploring Operation: 10-3=7, Resulting Numbers: [60, 7]
Generated Node #0,3,0: 82:[60, 7] Operation: 10-3=7
Exploring Operation: 60/10=6, Resulting Numbers: [3, 6]
Generated Node #0,3,1: 82:[3, 6] Operation: 60/10=6
Exploring Operation: 60-10=50, Resulting Numbers: [3, 50]
Generated Node #0,3,2: 82:[3, 50] Operation: 60-10=50
Exploring Operation: 10+60=70, Resulting Numbers: [3, 70]
Generated Node #0,3,3: 82:[3, 70] Operation: 10+60=70
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[3, 6], Operations: ['66/22=3', '60/10=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[3, 50], Operations: ['66/22=3', '60-10=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,82 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[3, 70], Operations: ['66/22=3', '10+60=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,82 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,82 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[60, 7], Operations: ['66/22=3', '10-3=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,82 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,82 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: 82:[10, 60, 44], Operations: ['66-22=44']
Exploring Operation: 10+60=70, Resulting Numbers: [44, 70]
Generated Node #0,0,0: 82:[44, 70] Operation: 10+60=70
Exploring Operation: 60/10=6, Resulting Numbers: [44, 6]
Generated Node #0,0,1: 82:[44, 6] Operation: 60/10=6
Exploring Operation: 60-44=16, Resulting Numbers: [10, 16]
Generated Node #0,0,2: 82:[10, 16] Operation: 60-44=16
Exploring Operation: 60-10=50, Resulting Numbers: [44, 50]
Generated Node #0,0,3: 82:[44, 50] Operation: 60-10=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[44, 6], Operations: ['66-22=44', '60/10=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,82 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 82:[44, 50], Operations: ['66-22=44', '60-10=50']
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,82 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,82 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[44, 70], Operations: ['66-22=44', '10+60=70']
Exploring Operation: 44+70=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 44*70=3080, Resulting Numbers: [3080]
3080,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[10, 16], Operations: ['66-22=44', '60-44=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 82:[38, 76], Operations: ['60-22=38', '10+66=76']
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,82 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[38, 56], Operations: ['60-22=38', '66-10=56']
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,82 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[10, 28], Operations: ['60-22=38', '66-38=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[66, 48], Operations: ['60-22=38', '10+38=48']
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,82 unequal: No Solution
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,82 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
9,
32,
36,
94
] | 81
|
[
"32-9=23",
"94-36=58",
"23+58=81"
] |
Current State: 81:[9, 32, 36, 94], Operations: []
Exploring Operation: 32-9=23, Resulting Numbers: [36, 94, 23]
Generated Node #2: [36, 94, 23] from Operation: 32-9=23
Current State: 81:[36, 94, 23], Operations: ['32-9=23']
Exploring Operation: 94-36=58, Resulting Numbers: [23, 58]
Generated Node #3: [23, 58] from Operation: 94-36=58
Current State: 81:[23, 58], Operations: ['32-9=23', '94-36=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[9, 32, 36, 94], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [9, 94, 4]
Generated Node #0,0: 81:[9, 94, 4] Operation: 36-32=4
Moving to Node #0,0
Current State: 81:[9, 94, 4], Operations: ['36-32=4']
Exploring Operation: 94-9=85, Resulting Numbers: [4, 85]
Generated Node #0,0,0: 81:[4, 85] Operation: 94-9=85
Moving to Node #0,0,0
Current State: 81:[4, 85], Operations: ['36-32=4', '94-9=85']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[9, 32, 36, 94], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [9, 94, 4]
Generated Node #0,0: 81:[9, 94, 4] Operation: 36-32=4
Moving to Node #0,0
Current State: 81:[9, 94, 4], Operations: ['36-32=4']
Exploring Operation: 94-9=85, Resulting Numbers: [4, 85]
Generated Node #0,0,0: 81:[4, 85] Operation: 94-9=85
Moving to Node #0,0,0
Current State: 81:[4, 85], Operations: ['36-32=4', '94-9=85']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.993924
|
hs_1
|
mult_heuristic
|
[
38,
96,
68,
37
] | 89
|
[
"96-38=58",
"68-37=31",
"58+31=89"
] |
Current State: 89:[38, 96, 68, 37], Operations: []
Exploring Operation: 96-38=58, Resulting Numbers: [68, 37, 58]
Generated Node #2: [68, 37, 58] from Operation: 96-38=58
Current State: 89:[68, 37, 58], Operations: ['96-38=58']
Exploring Operation: 68-37=31, Resulting Numbers: [58, 31]
Generated Node #3: [58, 31] from Operation: 68-37=31
Current State: 89:[58, 31], Operations: ['96-38=58', '68-37=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4
|
Current State: 89:[38, 96, 68, 37], Operations: []
Exploring Operation: 68+37=105, Resulting Numbers: [38, 96, 105]
Generated Node #0,0: 89:[38, 96, 105] Operation: 68+37=105
Exploring Operation: 38+37=75, Resulting Numbers: [96, 68, 75]
Generated Node #0,1: 89:[96, 68, 75] Operation: 38+37=75
Exploring Operation: 96-37=59, Resulting Numbers: [38, 68, 59]
Generated Node #0,2: 89:[38, 68, 59] Operation: 96-37=59
Exploring Operation: 38+68=106, Resulting Numbers: [96, 37, 106]
Generated Node #0,3: 89:[96, 37, 106] Operation: 38+68=106
Moving to Node #0,1
Current State: 89:[96, 68, 75], Operations: ['38+37=75']
Exploring Operation: 68+75=143, Resulting Numbers: [96, 143]
Generated Node #0,1,0: 89:[96, 143] Operation: 68+75=143
Exploring Operation: 96-75=21, Resulting Numbers: [68, 21]
Generated Node #0,1,1: 89:[68, 21] Operation: 96-75=21
Exploring Operation: 96+68=164, Resulting Numbers: [75, 164]
Generated Node #0,1,2: 89:[75, 164] Operation: 96+68=164
Exploring Operation: 96-68=28, Resulting Numbers: [75, 28]
Generated Node #0,1,3: 89:[75, 28] Operation: 96-68=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[96, 143], Operations: ['38+37=75', '68+75=143']
Exploring Operation: 96*143=13728, Resulting Numbers: [13728]
13728,89 unequal: No Solution
Exploring Operation: 96+143=239, Resulting Numbers: [239]
239,89 unequal: No Solution
Exploring Operation: 143-96=47, Resulting Numbers: [47]
47,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[75, 28], Operations: ['38+37=75', '96-68=28']
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,89 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[68, 21], Operations: ['38+37=75', '96-75=21']
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,89 unequal: No Solution
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[38, 96, 68, 37], Operations: []
Exploring Operation: 38+37=75, Resulting Numbers: [96, 68, 75]
Generated Node #0,1: 89:[96, 68, 75] Operation: 38+37=75
Moving to Node #0,1
Current State: 89:[96, 68, 75], Operations: ['38+37=75']
Exploring Operation: 96-75=21, Resulting Numbers: [68, 21]
Generated Node #0,1,1: 89:[68, 21] Operation: 96-75=21
Moving to Node #0,1,1
Current State: 89:[68, 21], Operations: ['38+37=75', '96-75=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639
|
hs_4
|
sum_heuristic
|
[
72,
62,
53,
60
] | 38
|
[
"72-53=19",
"62-60=2",
"19*2=38"
] |
Current State: 38:[72, 62, 53, 60], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [62, 60, 19]
Generated Node #2: [62, 60, 19] from Operation: 72-53=19
Current State: 38:[62, 60, 19], Operations: ['72-53=19']
Exploring Operation: 62-60=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 62-60=2
Current State: 38:[19, 2], Operations: ['72-53=19', '62-60=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[72, 62, 53, 60], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [53, 60, 10]
Generated Node #0,0: 38:[53, 60, 10] Operation: 72-62=10
Exploring Operation: 72-53=19, Resulting Numbers: [62, 60, 19]
Generated Node #0,1: 38:[62, 60, 19] Operation: 72-53=19
Exploring Operation: 72-60=12, Resulting Numbers: [62, 53, 12]
Generated Node #0,2: 38:[62, 53, 12] Operation: 72-60=12
Exploring Operation: 62-60=2, Resulting Numbers: [72, 53, 2]
Generated Node #0,3: 38:[72, 53, 2] Operation: 62-60=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[53, 60, 10], Operations: ['72-62=10']
Exploring Operation: 60-53=7, Resulting Numbers: [10, 7]
Generated Node #0,0,0: 38:[10, 7] Operation: 60-53=7
Exploring Operation: 60-10=50, Resulting Numbers: [53, 50]
Generated Node #0,0,1: 38:[53, 50] Operation: 60-10=50
Exploring Operation: 60/10=6, Resulting Numbers: [53, 6]
Generated Node #0,0,2: 38:[53, 6] Operation: 60/10=6
Exploring Operation: 53-10=43, Resulting Numbers: [60, 43]
Generated Node #0,0,3: 38:[60, 43] Operation: 53-10=43
Moving to Node #0,0,0
Current State: 38:[10, 7], Operations: ['72-62=10', '60-53=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[53, 6], Operations: ['72-62=10', '60/10=6']
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,38 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[60, 43], Operations: ['72-62=10', '53-10=43']
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,38 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[53, 50], Operations: ['72-62=10', '60-10=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,38 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[62, 60, 19], Operations: ['72-53=19']
Exploring Operation: 62-60=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 38:[19, 2] Operation: 62-60=2
Exploring Operation: 62+19=81, Resulting Numbers: [60, 81]
Generated Node #0,1,1: 38:[60, 81] Operation: 62+19=81
Exploring Operation: 60-19=41, Resulting Numbers: [62, 41]
Generated Node #0,1,2: 38:[62, 41] Operation: 60-19=41
Exploring Operation: 62-19=43, Resulting Numbers: [60, 43]
Generated Node #0,1,3: 38:[60, 43] Operation: 62-19=43
Moving to Node #0,1,0
Current State: 38:[19, 2], Operations: ['72-53=19', '62-60=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[72, 62, 53, 60], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [62, 60, 19]
Generated Node #0,1: 38:[62, 60, 19] Operation: 72-53=19
Moving to Node #0,1
Current State: 38:[62, 60, 19], Operations: ['72-53=19']
Exploring Operation: 62-60=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 38:[19, 2] Operation: 62-60=2
Moving to Node #0,1,0
Current State: 38:[19, 2], Operations: ['72-53=19', '62-60=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826
|
hs_4
|
sum_heuristic
|
[
96,
1,
23,
47
] | 48
|
[
"96*23=2208",
"47-1=46",
"2208/46=48"
] |
Current State: 48:[96, 1, 23, 47], Operations: []
Exploring Operation: 96*23=2208, Resulting Numbers: [1, 47, 2208]
Generated Node #2: [1, 47, 2208] from Operation: 96*23=2208
Current State: 48:[1, 47, 2208], Operations: ['96*23=2208']
Exploring Operation: 47-1=46, Resulting Numbers: [2208, 46]
Generated Node #3: [2208, 46] from Operation: 47-1=46
Current State: 48:[2208, 46], Operations: ['96*23=2208', '47-1=46']
Exploring Operation: 2208/46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[96, 1, 23, 47], Operations: []
Exploring Operation: 96-47=49, Resulting Numbers: [1, 23, 49]
Generated Node #0,0: 48:[1, 23, 49] Operation: 96-47=49
Moving to Node #0,0
Current State: 48:[1, 23, 49], Operations: ['96-47=49']
Exploring Operation: 1+23=24, Resulting Numbers: [49, 24]
Generated Node #0,0,0: 48:[49, 24] Operation: 1+23=24
Moving to Node #0,0,0
Current State: 48:[49, 24], Operations: ['96-47=49', '1+23=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,48 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
12,
42,
15,
90
] | 16
|
[
"15-12=3",
"90-42=48",
"48/3=16"
] |
Current State: 16:[12, 42, 15, 90], Operations: []
Exploring Operation: 15-12=3, Resulting Numbers: [42, 90, 3]
Generated Node #2: [42, 90, 3] from Operation: 15-12=3
Current State: 16:[42, 90, 3], Operations: ['15-12=3']
Exploring Operation: 90-42=48, Resulting Numbers: [3, 48]
Generated Node #3: [3, 48] from Operation: 90-42=48
Current State: 16:[3, 48], Operations: ['15-12=3', '90-42=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[12, 42, 15, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [12, 42, 6]
Generated Node #0,0: 16:[12, 42, 6] Operation: 90/15=6
Exploring Operation: 42-12=30, Resulting Numbers: [15, 90, 30]
Generated Node #0,1: 16:[15, 90, 30] Operation: 42-12=30
Exploring Operation: 90-42=48, Resulting Numbers: [12, 15, 48]
Generated Node #0,2: 16:[12, 15, 48] Operation: 90-42=48
Moving to Node #0,0
Current State: 16:[12, 42, 6], Operations: ['90/15=6']
Exploring Operation: 42-6=36, Resulting Numbers: [12, 36]
Generated Node #0,0,0: 16:[12, 36] Operation: 42-6=36
Exploring Operation: 42-12=30, Resulting Numbers: [6, 30]
Generated Node #0,0,1: 16:[6, 30] Operation: 42-12=30
Exploring Operation: 42/6=7, Resulting Numbers: [12, 7]
Generated Node #0,0,2: 16:[12, 7] Operation: 42/6=7
Moving to Node #0,2
Current State: 16:[12, 15, 48], Operations: ['90-42=48']
Exploring Operation: 48-15=33, Resulting Numbers: [12, 33]
Generated Node #0,2,0: 16:[12, 33] Operation: 48-15=33
Exploring Operation: 48/12=4, Resulting Numbers: [15, 4]
Generated Node #0,2,1: 16:[15, 4] Operation: 48/12=4
Exploring Operation: 48-12=36, Resulting Numbers: [15, 36]
Generated Node #0,2,2: 16:[15, 36] Operation: 48-12=36
Moving to Node #0,1
Current State: 16:[15, 90, 30], Operations: ['42-12=30']
Exploring Operation: 90/15=6, Resulting Numbers: [30, 6]
Generated Node #0,1,0: 16:[30, 6] Operation: 90/15=6
Exploring Operation: 90-30=60, Resulting Numbers: [15, 60]
Generated Node #0,1,1: 16:[15, 60] Operation: 90-30=60
Exploring Operation: 90/30=3, Resulting Numbers: [15, 3]
Generated Node #0,1,2: 16:[15, 3] Operation: 90/30=3
Moving to Node #0,2,1
Current State: 16:[15, 4], Operations: ['90-42=48', '48/12=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[15, 3], Operations: ['42-12=30', '90/30=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[12, 7], Operations: ['90/15=6', '42/6=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[6, 30], Operations: ['90/15=6', '42-12=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[30, 6], Operations: ['42-12=30', '90/15=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[15, 36], Operations: ['90-42=48', '48-12=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,16 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[12, 33], Operations: ['90-42=48', '48-15=33']
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,16 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[12, 36], Operations: ['90/15=6', '42-6=36']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[15, 60], Operations: ['42-12=30', '90-30=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,16 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
99,
27,
45,
27
] | 99
|
[
"27-27=0",
"45*0=0",
"99+0=99"
] |
Current State: 99:[99, 27, 45, 27], Operations: []
Exploring Operation: 27-27=0, Resulting Numbers: [99, 45, 0]
Generated Node #2: [99, 45, 0] from Operation: 27-27=0
Current State: 99:[99, 45, 0], Operations: ['27-27=0']
Exploring Operation: 45*0=0, Resulting Numbers: [99, 0]
Generated Node #3: [99, 0] from Operation: 45*0=0
Current State: 99:[99, 0], Operations: ['27-27=0', '45*0=0']
Exploring Operation: 99+0=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[99, 27, 45, 27], Operations: []
Exploring Operation: 45-27=18, Resulting Numbers: [99, 27, 18]
Generated Node #0,0: 99:[99, 27, 18] Operation: 45-27=18
Exploring Operation: 27/27=1, Resulting Numbers: [99, 45, 1]
Generated Node #0,1: 99:[99, 45, 1] Operation: 27/27=1
Exploring Operation: 45-27=18, Resulting Numbers: [99, 27, 18]
Generated Node #0,2: 99:[99, 27, 18] Operation: 45-27=18
Exploring Operation: 27-27=0, Resulting Numbers: [99, 45, 0]
Generated Node #0,3: 99:[99, 45, 0] Operation: 27-27=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[99, 27, 18], Operations: ['45-27=18']
Exploring Operation: 99+18=117, Resulting Numbers: [27, 117]
Generated Node #0,0,0: 99:[27, 117] Operation: 99+18=117
Exploring Operation: 99-18=81, Resulting Numbers: [27, 81]
Generated Node #0,0,1: 99:[27, 81] Operation: 99-18=81
Exploring Operation: 27-18=9, Resulting Numbers: [99, 9]
Generated Node #0,0,2: 99:[99, 9] Operation: 27-18=9
Exploring Operation: 27+18=45, Resulting Numbers: [99, 45]
Generated Node #0,0,3: 99:[99, 45] Operation: 27+18=45
Moving to Node #0,0,2
Current State: 99:[99, 9], Operations: ['45-27=18', '27-18=9']
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,99 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[99, 45], Operations: ['45-27=18', '27+18=45']
Exploring Operation: 99+45=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 99*45=4455, Resulting Numbers: [4455]
4455,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[27, 81], Operations: ['45-27=18', '99-18=81']
Exploring Operation: 27*81=2187, Resulting Numbers: [2187]
2187,99 unequal: No Solution
Exploring Operation: 27+81=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[27, 117], Operations: ['45-27=18', '99+18=117']
Exploring Operation: 27+117=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 117-27=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 27*117=3159, Resulting Numbers: [3159]
3159,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[99, 27, 18], Operations: ['45-27=18']
Exploring Operation: 27+18=45, Resulting Numbers: [99, 45]
Generated Node #0,2,0: 99:[99, 45] Operation: 27+18=45
Exploring Operation: 27-18=9, Resulting Numbers: [99, 9]
Generated Node #0,2,1: 99:[99, 9] Operation: 27-18=9
Exploring Operation: 99+18=117, Resulting Numbers: [27, 117]
Generated Node #0,2,2: 99:[27, 117] Operation: 99+18=117
Exploring Operation: 99-18=81, Resulting Numbers: [27, 81]
Generated Node #0,2,3: 99:[27, 81] Operation: 99-18=81
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[99, 9], Operations: ['45-27=18', '27-18=9']
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,99 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[99, 45], Operations: ['45-27=18', '27+18=45']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 99*45=4455, Resulting Numbers: [4455]
4455,99 unequal: No Solution
Exploring Operation: 99+45=144, Resulting Numbers: [144]
144,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[27, 117], Operations: ['45-27=18', '99+18=117']
Exploring Operation: 117-27=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 27+117=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 27*117=3159, Resulting Numbers: [3159]
3159,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[27, 81], Operations: ['45-27=18', '99-18=81']
Exploring Operation: 27*81=2187, Resulting Numbers: [2187]
2187,99 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 27+81=108, Resulting Numbers: [108]
108,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[99, 45, 1], Operations: ['27/27=1']
Exploring Operation: 99/1=99, Resulting Numbers: [45, 99]
Generated Node #0,1,0: 99:[45, 99] Operation: 99/1=99
Exploring Operation: 45*1=45, Resulting Numbers: [99, 45]
Generated Node #0,1,1: 99:[99, 45] Operation: 45*1=45
Exploring Operation: 99*1=99, Resulting Numbers: [45, 99]
Generated Node #0,1,2: 99:[45, 99] Operation: 99*1=99
Exploring Operation: 45-1=44, Resulting Numbers: [99, 44]
Generated Node #0,1,3: 99:[99, 44] Operation: 45-1=44
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[99, 44], Operations: ['27/27=1', '45-1=44']
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 99*44=4356, Resulting Numbers: [4356]
4356,99 unequal: No Solution
Exploring Operation: 99+44=143, Resulting Numbers: [143]
143,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[45, 99], Operations: ['27/27=1', '99/1=99']
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,99 unequal: No Solution
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[99, 45], Operations: ['27/27=1', '45*1=45']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 99+45=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 99*45=4455, Resulting Numbers: [4455]
4455,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[45, 99], Operations: ['27/27=1', '99*1=99']
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[99, 45, 0], Operations: ['27-27=0']
Exploring Operation: 45*0=0, Resulting Numbers: [99, 0]
Generated Node #0,3,0: 99:[99, 0] Operation: 45*0=0
Exploring Operation: 99+0=99, Resulting Numbers: [45, 99]
Generated Node #0,3,1: 99:[45, 99] Operation: 99+0=99
Exploring Operation: 45+0=45, Resulting Numbers: [99, 45]
Generated Node #0,3,2: 99:[99, 45] Operation: 45+0=45
Exploring Operation: 99-0=99, Resulting Numbers: [45, 99]
Generated Node #0,3,3: 99:[45, 99] Operation: 99-0=99
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[99, 0], Operations: ['27-27=0', '45*0=0']
Exploring Operation: 99-0=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[99, 27, 45, 27], Operations: []
Exploring Operation: 27-27=0, Resulting Numbers: [99, 45, 0]
Generated Node #0,3: 99:[99, 45, 0] Operation: 27-27=0
Moving to Node #0,3
Current State: 99:[99, 45, 0], Operations: ['27-27=0']
Exploring Operation: 45*0=0, Resulting Numbers: [99, 0]
Generated Node #0,3,0: 99:[99, 0] Operation: 45*0=0
Moving to Node #0,3,0
Current State: 99:[99, 0], Operations: ['27-27=0', '45*0=0']
Exploring Operation: 99-0=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576
|
hs_4
|
mult_heuristic
|
[
49,
81,
26,
27
] | 26
|
[
"49-26=23",
"81/27=3",
"23+3=26"
] |
Current State: 26:[49, 81, 26, 27], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [81, 27, 23]
Generated Node #2: [81, 27, 23] from Operation: 49-26=23
Current State: 26:[81, 27, 23], Operations: ['49-26=23']
Exploring Operation: 81/27=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 81/27=3
Current State: 26:[23, 3], Operations: ['49-26=23', '81/27=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[49, 81, 26, 27], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [49, 26, 3]
Generated Node #0,0: 26:[49, 26, 3] Operation: 81/27=3
Exploring Operation: 81-49=32, Resulting Numbers: [26, 27, 32]
Generated Node #0,1: 26:[26, 27, 32] Operation: 81-49=32
Moving to Node #0,1
Current State: 26:[26, 27, 32], Operations: ['81-49=32']
Exploring Operation: 32-27=5, Resulting Numbers: [26, 5]
Generated Node #0,1,0: 26:[26, 5] Operation: 32-27=5
Exploring Operation: 32-26=6, Resulting Numbers: [27, 6]
Generated Node #0,1,1: 26:[27, 6] Operation: 32-26=6
Moving to Node #0,0
Current State: 26:[49, 26, 3], Operations: ['81/27=3']
Exploring Operation: 49-3=46, Resulting Numbers: [26, 46]
Generated Node #0,0,0: 26:[26, 46] Operation: 49-3=46
Exploring Operation: 49-26=23, Resulting Numbers: [3, 23]
Generated Node #0,0,1: 26:[3, 23] Operation: 49-26=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[3, 23], Operations: ['81/27=3', '49-26=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[49, 81, 26, 27], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [49, 26, 3]
Generated Node #0,0: 26:[49, 26, 3] Operation: 81/27=3
Moving to Node #0,0
Current State: 26:[49, 26, 3], Operations: ['81/27=3']
Exploring Operation: 49-26=23, Resulting Numbers: [3, 23]
Generated Node #0,0,1: 26:[3, 23] Operation: 49-26=23
Moving to Node #0,0,1
Current State: 26:[3, 23], Operations: ['81/27=3', '49-26=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_2
|
mult_heuristic
|
[
83,
65,
13,
7
] | 85
|
[
"83+7=90",
"65/13=5",
"90-5=85"
] |
Current State: 85:[83, 65, 13, 7], Operations: []
Exploring Operation: 83+7=90, Resulting Numbers: [65, 13, 90]
Generated Node #2: [65, 13, 90] from Operation: 83+7=90
Current State: 85:[65, 13, 90], Operations: ['83+7=90']
Exploring Operation: 65/13=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 65/13=5
Current State: 85:[90, 5], Operations: ['83+7=90', '65/13=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[83, 65, 13, 7], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [13, 7, 18]
Generated Node #0,0: 85:[13, 7, 18] Operation: 83-65=18
Exploring Operation: 65/13=5, Resulting Numbers: [83, 7, 5]
Generated Node #0,1: 85:[83, 7, 5] Operation: 65/13=5
Moving to Node #0,1
Current State: 85:[83, 7, 5], Operations: ['65/13=5']
Exploring Operation: 83+5=88, Resulting Numbers: [7, 88]
Generated Node #0,1,0: 85:[7, 88] Operation: 83+5=88
Exploring Operation: 83+7=90, Resulting Numbers: [5, 90]
Generated Node #0,1,1: 85:[5, 90] Operation: 83+7=90
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[7, 88], Operations: ['65/13=5', '83+5=88']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[5, 90], Operations: ['65/13=5', '83+7=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[83, 65, 13, 7], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [83, 7, 5]
Generated Node #0,1: 85:[83, 7, 5] Operation: 65/13=5
Moving to Node #0,1
Current State: 85:[83, 7, 5], Operations: ['65/13=5']
Exploring Operation: 83+7=90, Resulting Numbers: [5, 90]
Generated Node #0,1,1: 85:[5, 90] Operation: 83+7=90
Moving to Node #0,1,1
Current State: 85:[5, 90], Operations: ['65/13=5', '83+7=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
mult_heuristic
|
[
27,
6,
57,
4
] | 42
|
[
"27+57=84",
"6-4=2",
"84/2=42"
] |
Current State: 42:[27, 6, 57, 4], Operations: []
Exploring Operation: 27+57=84, Resulting Numbers: [6, 4, 84]
Generated Node #2: [6, 4, 84] from Operation: 27+57=84
Current State: 42:[6, 4, 84], Operations: ['27+57=84']
Exploring Operation: 6-4=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 6-4=2
Current State: 42:[84, 2], Operations: ['27+57=84', '6-4=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4
|
Current State: 42:[27, 6, 57, 4], Operations: []
Exploring Operation: 57-6=51, Resulting Numbers: [27, 4, 51]
Generated Node #0,0: 42:[27, 4, 51] Operation: 57-6=51
Exploring Operation: 57-27=30, Resulting Numbers: [6, 4, 30]
Generated Node #0,1: 42:[6, 4, 30] Operation: 57-27=30
Exploring Operation: 27-6=21, Resulting Numbers: [57, 4, 21]
Generated Node #0,2: 42:[57, 4, 21] Operation: 27-6=21
Moving to Node #0,1
Current State: 42:[6, 4, 30], Operations: ['57-27=30']
Exploring Operation: 30-4=26, Resulting Numbers: [6, 26]
Generated Node #0,1,0: 42:[6, 26] Operation: 30-4=26
Exploring Operation: 30/6=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 42:[4, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [4, 24]
Generated Node #0,1,2: 42:[4, 24] Operation: 30-6=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[4, 5], Operations: ['57-27=30', '30/6=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,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,2
Current State: 42:[4, 24], Operations: ['57-27=30', '30-6=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,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:[6, 26], Operations: ['57-27=30', '30-4=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,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, 4, 51], Operations: ['57-6=51']
Exploring Operation: 27-4=23, Resulting Numbers: [51, 23]
Generated Node #0,0,0: 42:[51, 23] Operation: 27-4=23
Exploring Operation: 51-27=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 42:[4, 24] Operation: 51-27=24
Exploring Operation: 51-4=47, Resulting Numbers: [27, 47]
Generated Node #0,0,2: 42:[27, 47] Operation: 51-4=47
Moving to Node #0,2
Current State: 42:[57, 4, 21], Operations: ['27-6=21']
Exploring Operation: 57-21=36, Resulting Numbers: [4, 36]
Generated Node #0,2,0: 42:[4, 36] Operation: 57-21=36
Exploring Operation: 57-4=53, Resulting Numbers: [21, 53]
Generated Node #0,2,1: 42:[21, 53] Operation: 57-4=53
Exploring Operation: 21-4=17, Resulting Numbers: [57, 17]
Generated Node #0,2,2: 42:[57, 17] Operation: 21-4=17
Moving to Node #0,0,1
Current State: 42:[4, 24], Operations: ['57-6=51', '51-27=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[4, 36], Operations: ['27-6=21', '57-21=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[27, 47], Operations: ['57-6=51', '51-4=47']
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[21, 53], Operations: ['27-6=21', '57-4=53']
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,42 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[51, 23], Operations: ['57-6=51', '27-4=23']
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[57, 17], Operations: ['27-6=21', '21-4=17']
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,42 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
24,
23,
53,
93
] | 50
|
[
"93-24=69",
"69/23=3",
"53-3=50"
] |
Current State: 50:[24, 23, 53, 93], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [23, 53, 69]
Generated Node #2: [23, 53, 69] from Operation: 93-24=69
Current State: 50:[23, 53, 69], Operations: ['93-24=69']
Exploring Operation: 69/23=3, Resulting Numbers: [53, 3]
Generated Node #3: [53, 3] from Operation: 69/23=3
Current State: 50:[53, 3], Operations: ['93-24=69', '69/23=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4
|
Current State: 50:[24, 23, 53, 93], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [24, 23, 40]
Generated Node #0,0: 50:[24, 23, 40] Operation: 93-53=40
Exploring Operation: 93-23=70, Resulting Numbers: [24, 53, 70]
Generated Node #0,1: 50:[24, 53, 70] Operation: 93-23=70
Exploring Operation: 93-24=69, Resulting Numbers: [23, 53, 69]
Generated Node #0,2: 50:[23, 53, 69] Operation: 93-24=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[24, 23, 40], Operations: ['93-53=40']
Exploring Operation: 24-23=1, Resulting Numbers: [40, 1]
Generated Node #0,0,0: 50:[40, 1] Operation: 24-23=1
Exploring Operation: 40-24=16, Resulting Numbers: [23, 16]
Generated Node #0,0,1: 50:[23, 16] Operation: 40-24=16
Exploring Operation: 40-23=17, Resulting Numbers: [24, 17]
Generated Node #0,0,2: 50:[24, 17] Operation: 40-23=17
Moving to Node #0,0,1
Current State: 50:[23, 16], Operations: ['93-53=40', '40-24=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,50 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[24, 17], Operations: ['93-53=40', '40-23=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,50 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[40, 1], Operations: ['93-53=40', '24-23=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[24, 53, 70], Operations: ['93-23=70']
Exploring Operation: 70-24=46, Resulting Numbers: [53, 46]
Generated Node #0,1,0: 50:[53, 46] Operation: 70-24=46
Exploring Operation: 53-24=29, Resulting Numbers: [70, 29]
Generated Node #0,1,1: 50:[70, 29] Operation: 53-24=29
Exploring Operation: 70-53=17, Resulting Numbers: [24, 17]
Generated Node #0,1,2: 50:[24, 17] Operation: 70-53=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[53, 46], Operations: ['93-23=70', '70-24=46']
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,50 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[24, 17], Operations: ['93-23=70', '70-53=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[70, 29], Operations: ['93-23=70', '53-24=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,50 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[23, 53, 69], Operations: ['93-24=69']
Exploring Operation: 69-53=16, Resulting Numbers: [23, 16]
Generated Node #0,2,0: 50:[23, 16] Operation: 69-53=16
Exploring Operation: 69/23=3, Resulting Numbers: [53, 3]
Generated Node #0,2,1: 50:[53, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [53, 46]
Generated Node #0,2,2: 50:[53, 46] Operation: 69-23=46
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[53, 3], Operations: ['93-24=69', '69/23=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,50 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[24, 23, 53, 93], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [23, 53, 69]
Generated Node #0,2: 50:[23, 53, 69] Operation: 93-24=69
Moving to Node #0,2
Current State: 50:[23, 53, 69], Operations: ['93-24=69']
Exploring Operation: 69/23=3, Resulting Numbers: [53, 3]
Generated Node #0,2,1: 50:[53, 3] Operation: 69/23=3
Moving to Node #0,2,1
Current State: 50:[53, 3], Operations: ['93-24=69', '69/23=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875
|
hs_3
|
mult_heuristic
|
[
69,
43,
3,
38
] | 84
|
[
"43-38=5",
"3*5=15",
"69+15=84"
] |
Current State: 84:[69, 43, 3, 38], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [69, 3, 5]
Generated Node #2: [69, 3, 5] from Operation: 43-38=5
Current State: 84:[69, 3, 5], Operations: ['43-38=5']
Exploring Operation: 3*5=15, Resulting Numbers: [69, 15]
Generated Node #3: [69, 15] from Operation: 3*5=15
Current State: 84:[69, 15], Operations: ['43-38=5', '3*5=15']
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[69, 43, 3, 38], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [43, 3, 31]
Generated Node #0,0: 84:[43, 3, 31] Operation: 69-38=31
Exploring Operation: 69/3=23, Resulting Numbers: [43, 38, 23]
Generated Node #0,1: 84:[43, 38, 23] Operation: 69/3=23
Exploring Operation: 43-38=5, Resulting Numbers: [69, 3, 5]
Generated Node #0,2: 84:[69, 3, 5] Operation: 43-38=5
Exploring Operation: 69+3=72, Resulting Numbers: [43, 38, 72]
Generated Node #0,3: 84:[43, 38, 72] Operation: 69+3=72
Exploring Operation: 69-43=26, Resulting Numbers: [3, 38, 26]
Generated Node #0,4: 84:[3, 38, 26] Operation: 69-43=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[43, 3, 31], Operations: ['69-38=31']
Exploring Operation: 43-31=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 84:[3, 12] Operation: 43-31=12
Exploring Operation: 43-3=40, Resulting Numbers: [31, 40]
Generated Node #0,0,1: 84:[31, 40] Operation: 43-3=40
Exploring Operation: 31-3=28, Resulting Numbers: [43, 28]
Generated Node #0,0,2: 84:[43, 28] Operation: 31-3=28
Exploring Operation: 43+3=46, Resulting Numbers: [31, 46]
Generated Node #0,0,3: 84:[31, 46] Operation: 43+3=46
Exploring Operation: 3+31=34, Resulting Numbers: [43, 34]
Generated Node #0,0,4: 84:[43, 34] Operation: 3+31=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[3, 12], Operations: ['69-38=31', '43-31=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[43, 28], Operations: ['69-38=31', '31-3=28']
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,84 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[31, 40], Operations: ['69-38=31', '43-3=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 84:[31, 46], Operations: ['69-38=31', '43+3=46']
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,84 unequal: No Solution
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 84:[43, 34], Operations: ['69-38=31', '3+31=34']
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,84 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[3, 38, 26], Operations: ['69-43=26']
Exploring Operation: 38-3=35, Resulting Numbers: [26, 35]
Generated Node #0,4,0: 84:[26, 35] Operation: 38-3=35
Exploring Operation: 26-3=23, Resulting Numbers: [38, 23]
Generated Node #0,4,1: 84:[38, 23] Operation: 26-3=23
Exploring Operation: 38-26=12, Resulting Numbers: [3, 12]
Generated Node #0,4,2: 84:[3, 12] Operation: 38-26=12
Exploring Operation: 3+26=29, Resulting Numbers: [38, 29]
Generated Node #0,4,3: 84:[38, 29] Operation: 3+26=29
Exploring Operation: 3+38=41, Resulting Numbers: [26, 41]
Generated Node #0,4,4: 84:[26, 41] Operation: 3+38=41
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 84:[3, 12], Operations: ['69-43=26', '38-26=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 84:[26, 41], Operations: ['69-43=26', '3+38=41']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 84:[38, 29], Operations: ['69-43=26', '3+26=29']
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 84:[38, 23], Operations: ['69-43=26', '26-3=23']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 84:[26, 35], Operations: ['69-43=26', '38-3=35']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[43, 38, 23], Operations: ['69/3=23']
Exploring Operation: 43+38=81, Resulting Numbers: [23, 81]
Generated Node #0,1,0: 84:[23, 81] Operation: 43+38=81
Exploring Operation: 38-23=15, Resulting Numbers: [43, 15]
Generated Node #0,1,1: 84:[43, 15] Operation: 38-23=15
Exploring Operation: 43-23=20, Resulting Numbers: [38, 20]
Generated Node #0,1,2: 84:[38, 20] Operation: 43-23=20
Exploring Operation: 38+23=61, Resulting Numbers: [43, 61]
Generated Node #0,1,3: 84:[43, 61] Operation: 38+23=61
Exploring Operation: 43-38=5, Resulting Numbers: [23, 5]
Generated Node #0,1,4: 84:[23, 5] Operation: 43-38=5
Moving to Node #0,1,1
Current State: 84:[43, 15], Operations: ['69/3=23', '38-23=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,84 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[23, 5], Operations: ['69/3=23', '43-38=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[23, 81], Operations: ['69/3=23', '43+38=81']
Exploring Operation: 23*81=1863, Resulting Numbers: [1863]
1863,84 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[38, 20], Operations: ['69/3=23', '43-23=20']
Exploring Operation: 38+20=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 38*20=760, Resulting Numbers: [760]
760,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[43, 61], Operations: ['69/3=23', '38+23=61']
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,84 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[69, 3, 5], Operations: ['43-38=5']
Exploring Operation: 69/3=23, Resulting Numbers: [5, 23]
Generated Node #0,2,0: 84:[5, 23] Operation: 69/3=23
Exploring Operation: 3+5=8, Resulting Numbers: [69, 8]
Generated Node #0,2,1: 84:[69, 8] Operation: 3+5=8
Exploring Operation: 69+3=72, Resulting Numbers: [5, 72]
Generated Node #0,2,2: 84:[5, 72] Operation: 69+3=72
Exploring Operation: 5-3=2, Resulting Numbers: [69, 2]
Generated Node #0,2,3: 84:[69, 2] Operation: 5-3=2
Exploring Operation: 69+5=74, Resulting Numbers: [3, 74]
Generated Node #0,2,4: 84:[3, 74] Operation: 69+5=74
Moving to Node #0,2,0
Current State: 84:[5, 23], Operations: ['43-38=5', '69/3=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Moving to Node #0,2,4
Current State: 84:[3, 74], Operations: ['43-38=5', '69+5=74']
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,84 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[5, 72], Operations: ['43-38=5', '69+3=72']
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,84 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[69, 2], Operations: ['43-38=5', '5-3=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[69, 8], Operations: ['43-38=5', '3+5=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,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,3
Current State: 84:[43, 38, 72], Operations: ['69+3=72']
Exploring Operation: 43-38=5, Resulting Numbers: [72, 5]
Generated Node #0,3,0: 84:[72, 5] Operation: 43-38=5
Exploring Operation: 43+38=81, Resulting Numbers: [72, 81]
Generated Node #0,3,1: 84:[72, 81] Operation: 43+38=81
Exploring Operation: 72-43=29, Resulting Numbers: [38, 29]
Generated Node #0,3,2: 84:[38, 29] Operation: 72-43=29
Exploring Operation: 38+72=110, Resulting Numbers: [43, 110]
Generated Node #0,3,3: 84:[43, 110] Operation: 38+72=110
Exploring Operation: 72-38=34, Resulting Numbers: [43, 34]
Generated Node #0,3,4: 84:[43, 34] Operation: 72-38=34
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 84:[38, 29], Operations: ['69+3=72', '72-43=29']
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 84:[43, 34], Operations: ['69+3=72', '72-38=34']
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,84 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 84:[72, 5], Operations: ['69+3=72', '43-38=5']
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 84:[72, 81], Operations: ['69+3=72', '43+38=81']
Exploring Operation: 72*81=5832, Resulting Numbers: [5832]
5832,84 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 72+81=153, Resulting Numbers: [153]
153,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[43, 110], Operations: ['69+3=72', '38+72=110']
Exploring Operation: 110-43=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 43*110=4730, Resulting Numbers: [4730]
4730,84 unequal: No Solution
Exploring Operation: 43+110=153, Resulting Numbers: [153]
153,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
31,
53,
4,
78
] | 69
|
[
"78-53=25",
"4*25=100",
"100-31=69"
] |
Current State: 69:[31, 53, 4, 78], Operations: []
Exploring Operation: 78-53=25, Resulting Numbers: [31, 4, 25]
Generated Node #2: [31, 4, 25] from Operation: 78-53=25
Current State: 69:[31, 4, 25], Operations: ['78-53=25']
Exploring Operation: 4*25=100, Resulting Numbers: [31, 100]
Generated Node #3: [31, 100] from Operation: 4*25=100
Current State: 69:[31, 100], Operations: ['78-53=25', '4*25=100']
Exploring Operation: 100-31=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[31, 53, 4, 78], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [4, 78, 22]
Generated Node #0,0: 69:[4, 78, 22] Operation: 53-31=22
Moving to Node #0,0
Current State: 69:[4, 78, 22], Operations: ['53-31=22']
Exploring Operation: 78-4=74, Resulting Numbers: [22, 74]
Generated Node #0,0,0: 69:[22, 74] Operation: 78-4=74
Moving to Node #0,0,0
Current State: 69:[22, 74], Operations: ['53-31=22', '78-4=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,69 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
39,
56,
75,
3
] | 23
|
[
"39+56=95",
"75-3=72",
"95-72=23"
] |
Current State: 23:[39, 56, 75, 3], Operations: []
Exploring Operation: 39+56=95, Resulting Numbers: [75, 3, 95]
Generated Node #2: [75, 3, 95] from Operation: 39+56=95
Current State: 23:[75, 3, 95], Operations: ['39+56=95']
Exploring Operation: 75-3=72, Resulting Numbers: [95, 72]
Generated Node #3: [95, 72] from Operation: 75-3=72
Current State: 23:[95, 72], Operations: ['39+56=95', '75-3=72']
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[39, 56, 75, 3], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [39, 56, 25]
Generated Node #0,0: 23:[39, 56, 25] Operation: 75/3=25
Exploring Operation: 75-56=19, Resulting Numbers: [39, 3, 19]
Generated Node #0,1: 23:[39, 3, 19] Operation: 75-56=19
Moving to Node #0,1
Current State: 23:[39, 3, 19], Operations: ['75-56=19']
Exploring Operation: 39/3=13, Resulting Numbers: [19, 13]
Generated Node #0,1,0: 23:[19, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [19, 36]
Generated Node #0,1,1: 23:[19, 36] Operation: 39-3=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[19, 13], Operations: ['75-56=19', '39/3=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 19-13=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:[19, 36], Operations: ['75-56=19', '39-3=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,23 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: 23:[39, 56, 25], Operations: ['75/3=25']
Exploring Operation: 56-39=17, Resulting Numbers: [25, 17]
Generated Node #0,0,0: 23:[25, 17] Operation: 56-39=17
Exploring Operation: 56-25=31, Resulting Numbers: [39, 31]
Generated Node #0,0,1: 23:[39, 31] Operation: 56-25=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[25, 17], Operations: ['75/3=25', '56-39=17']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,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,1
Current State: 23:[39, 31], Operations: ['75/3=25', '56-25=31']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,23 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
|
[
94,
80,
56,
14
] | 56
|
[
"94-80=14",
"56+14=70",
"70-14=56"
] |
Current State: 56:[94, 80, 56, 14], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [56, 14, 14]
Generated Node #2: [56, 14, 14] from Operation: 94-80=14
Current State: 56:[56, 14, 14], Operations: ['94-80=14']
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,56 equal: Goal Reached
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[94, 80, 56, 14], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [56, 14, 14]
Generated Node #0,0: 56:[56, 14, 14] Operation: 94-80=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[56, 14, 14], Operations: ['94-80=14']
Exploring Operation: 56/14=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 56:[14, 4] Operation: 56/14=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[14, 4], Operations: ['94-80=14', '56/14=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[94, 80, 56, 14], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [56, 14, 14]
Generated Node #0,0: 56:[56, 14, 14] Operation: 94-80=14
Moving to Node #0,0
Current State: 56:[56, 14, 14], Operations: ['94-80=14']
Exploring Operation: 56/14=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 56:[14, 4] Operation: 56/14=4
Moving to Node #0,0,0
Current State: 56:[14, 4], Operations: ['94-80=14', '56/14=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
22,
69,
30,
51
] | 26
|
[
"69-22=47",
"51-30=21",
"47-21=26"
] |
Current State: 26:[22, 69, 30, 51], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [30, 51, 47]
Generated Node #2: [30, 51, 47] from Operation: 69-22=47
Current State: 26:[30, 51, 47], Operations: ['69-22=47']
Exploring Operation: 51-30=21, Resulting Numbers: [47, 21]
Generated Node #3: [47, 21] from Operation: 51-30=21
Current State: 26:[47, 21], Operations: ['69-22=47', '51-30=21']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[22, 69, 30, 51], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [22, 30, 18]
Generated Node #0,0: 26:[22, 30, 18] Operation: 69-51=18
Exploring Operation: 51-30=21, Resulting Numbers: [22, 69, 21]
Generated Node #0,1: 26:[22, 69, 21] Operation: 51-30=21
Exploring Operation: 69-30=39, Resulting Numbers: [22, 51, 39]
Generated Node #0,2: 26:[22, 51, 39] Operation: 69-30=39
Exploring Operation: 69-22=47, Resulting Numbers: [30, 51, 47]
Generated Node #0,3: 26:[30, 51, 47] Operation: 69-22=47
Exploring Operation: 51-22=29, Resulting Numbers: [69, 30, 29]
Generated Node #0,4: 26:[69, 30, 29] Operation: 51-22=29
Moving to Node #0,0
Current State: 26:[22, 30, 18], Operations: ['69-51=18']
Exploring Operation: 30-18=12, Resulting Numbers: [22, 12]
Generated Node #0,0,0: 26:[22, 12] Operation: 30-18=12
Exploring Operation: 30+18=48, Resulting Numbers: [22, 48]
Generated Node #0,0,1: 26:[22, 48] Operation: 30+18=48
Exploring Operation: 22-18=4, Resulting Numbers: [30, 4]
Generated Node #0,0,2: 26:[30, 4] Operation: 22-18=4
Exploring Operation: 30-22=8, Resulting Numbers: [18, 8]
Generated Node #0,0,3: 26:[18, 8] Operation: 30-22=8
Exploring Operation: 22+18=40, Resulting Numbers: [30, 40]
Generated Node #0,0,4: 26:[30, 40] Operation: 22+18=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[22, 12], Operations: ['69-51=18', '30-18=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[30, 4], Operations: ['69-51=18', '22-18=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[22, 69, 30, 51], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [22, 30, 18]
Generated Node #0,0: 26:[22, 30, 18] Operation: 69-51=18
Moving to Node #0,0
Current State: 26:[22, 30, 18], Operations: ['69-51=18']
Exploring Operation: 22-18=4, Resulting Numbers: [30, 4]
Generated Node #0,0,2: 26:[30, 4] Operation: 22-18=4
Moving to Node #0,0,2
Current State: 26:[30, 4], Operations: ['69-51=18', '22-18=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_5
|
sum_heuristic
|
[
36,
88,
92,
58
] | 63
|
[
"88+92=180",
"180/36=5",
"58+5=63"
] |
Current State: 63:[36, 88, 92, 58], Operations: []
Exploring Operation: 88+92=180, Resulting Numbers: [36, 58, 180]
Generated Node #2: [36, 58, 180] from Operation: 88+92=180
Current State: 63:[36, 58, 180], Operations: ['88+92=180']
Exploring Operation: 180/36=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 180/36=5
Current State: 63:[58, 5], Operations: ['88+92=180', '180/36=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[36, 88, 92, 58], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [36, 58, 4]
Generated Node #0,0: 63:[36, 58, 4] Operation: 92-88=4
Exploring Operation: 88-58=30, Resulting Numbers: [36, 92, 30]
Generated Node #0,1: 63:[36, 92, 30] Operation: 88-58=30
Exploring Operation: 88-36=52, Resulting Numbers: [92, 58, 52]
Generated Node #0,2: 63:[92, 58, 52] Operation: 88-36=52
Exploring Operation: 92-36=56, Resulting Numbers: [88, 58, 56]
Generated Node #0,3: 63:[88, 58, 56] Operation: 92-36=56
Moving to Node #0,0
Current State: 63:[36, 58, 4], Operations: ['92-88=4']
Exploring Operation: 58-36=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 63:[4, 22] Operation: 58-36=22
Exploring Operation: 58+4=62, Resulting Numbers: [36, 62]
Generated Node #0,0,1: 63:[36, 62] Operation: 58+4=62
Exploring Operation: 36/4=9, Resulting Numbers: [58, 9]
Generated Node #0,0,2: 63:[58, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [58, 32]
Generated Node #0,0,3: 63:[58, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[4, 22], Operations: ['92-88=4', '58-36=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,63 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[58, 9], Operations: ['92-88=4', '36/4=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,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,1
Current State: 63:[36, 62], Operations: ['92-88=4', '58+4=62']
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,63 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,63 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[58, 32], Operations: ['92-88=4', '36-4=32']
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,63 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: 63:[88, 58, 56], Operations: ['92-36=56']
Exploring Operation: 58+56=114, Resulting Numbers: [88, 114]
Generated Node #0,3,0: 63:[88, 114] Operation: 58+56=114
Exploring Operation: 88-58=30, Resulting Numbers: [56, 30]
Generated Node #0,3,1: 63:[56, 30] Operation: 88-58=30
Exploring Operation: 58-56=2, Resulting Numbers: [88, 2]
Generated Node #0,3,2: 63:[88, 2] Operation: 58-56=2
Exploring Operation: 88-56=32, Resulting Numbers: [58, 32]
Generated Node #0,3,3: 63:[58, 32] Operation: 88-56=32
Moving to Node #0,2
Current State: 63:[92, 58, 52], Operations: ['88-36=52']
Exploring Operation: 58+52=110, Resulting Numbers: [92, 110]
Generated Node #0,2,0: 63:[92, 110] Operation: 58+52=110
Exploring Operation: 92-58=34, Resulting Numbers: [52, 34]
Generated Node #0,2,1: 63:[52, 34] Operation: 92-58=34
Exploring Operation: 92-52=40, Resulting Numbers: [58, 40]
Generated Node #0,2,2: 63:[58, 40] Operation: 92-52=40
Exploring Operation: 58-52=6, Resulting Numbers: [92, 6]
Generated Node #0,2,3: 63:[92, 6] Operation: 58-52=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[52, 34], Operations: ['88-36=52', '92-58=34']
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,63 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[58, 40], Operations: ['88-36=52', '92-52=40']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,63 unequal: No Solution
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[92, 6], Operations: ['88-36=52', '58-52=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,63 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[92, 110], Operations: ['88-36=52', '58+52=110']
Exploring Operation: 92*110=10120, Resulting Numbers: [10120]
10120,63 unequal: No Solution
Exploring Operation: 110-92=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 92+110=202, Resulting Numbers: [202]
202,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 63:[36, 92, 30], Operations: ['88-58=30']
Exploring Operation: 36+30=66, Resulting Numbers: [92, 66]
Generated Node #0,1,0: 63:[92, 66] Operation: 36+30=66
Exploring Operation: 36-30=6, Resulting Numbers: [92, 6]
Generated Node #0,1,1: 63:[92, 6] Operation: 36-30=6
Exploring Operation: 92-36=56, Resulting Numbers: [30, 56]
Generated Node #0,1,2: 63:[30, 56] Operation: 92-36=56
Exploring Operation: 92-30=62, Resulting Numbers: [36, 62]
Generated Node #0,1,3: 63:[36, 62] Operation: 92-30=62
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[30, 56], Operations: ['88-58=30', '92-36=56']
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,63 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[36, 62], Operations: ['88-58=30', '92-30=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,63 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[92, 6], Operations: ['88-58=30', '36-30=6']
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,63 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,63 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[92, 66], Operations: ['88-58=30', '36+30=66']
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,63 unequal: No Solution
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,63 unequal: No Solution
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 63:[56, 30], Operations: ['92-36=56', '88-58=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,63 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[58, 32], Operations: ['92-36=56', '88-56=32']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[88, 2], Operations: ['92-36=56', '58-56=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,63 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[88, 114], Operations: ['92-36=56', '58+56=114']
Exploring Operation: 88+114=202, Resulting Numbers: [202]
202,63 unequal: No Solution
Exploring Operation: 114-88=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 88*114=10032, Resulting Numbers: [10032]
10032,63 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
28,
57,
19,
36
] | 68
|
[
"28+57=85",
"36-19=17",
"85-17=68"
] |
Current State: 68:[28, 57, 19, 36], Operations: []
Exploring Operation: 28+57=85, Resulting Numbers: [19, 36, 85]
Generated Node #2: [19, 36, 85] from Operation: 28+57=85
Current State: 68:[19, 36, 85], Operations: ['28+57=85']
Exploring Operation: 36-19=17, Resulting Numbers: [85, 17]
Generated Node #3: [85, 17] from Operation: 36-19=17
Current State: 68:[85, 17], Operations: ['28+57=85', '36-19=17']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[28, 57, 19, 36], Operations: []
Exploring Operation: 57-28=29, Resulting Numbers: [19, 36, 29]
Generated Node #0,0: 68:[19, 36, 29] Operation: 57-28=29
Exploring Operation: 57-36=21, Resulting Numbers: [28, 19, 21]
Generated Node #0,1: 68:[28, 19, 21] Operation: 57-36=21
Exploring Operation: 57/19=3, Resulting Numbers: [28, 36, 3]
Generated Node #0,2: 68:[28, 36, 3] Operation: 57/19=3
Exploring Operation: 57-19=38, Resulting Numbers: [28, 36, 38]
Generated Node #0,3: 68:[28, 36, 38] Operation: 57-19=38
Moving to Node #0,0
Current State: 68:[19, 36, 29], Operations: ['57-28=29']
Exploring Operation: 36+29=65, Resulting Numbers: [19, 65]
Generated Node #0,0,0: 68:[19, 65] Operation: 36+29=65
Exploring Operation: 29-19=10, Resulting Numbers: [36, 10]
Generated Node #0,0,1: 68:[36, 10] Operation: 29-19=10
Exploring Operation: 36-29=7, Resulting Numbers: [19, 7]
Generated Node #0,0,2: 68:[19, 7] Operation: 36-29=7
Exploring Operation: 36-19=17, Resulting Numbers: [29, 17]
Generated Node #0,0,3: 68:[29, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[19, 65], Operations: ['57-28=29', '36+29=65']
Exploring Operation: 19*65=1235, Resulting Numbers: [1235]
1235,68 unequal: No Solution
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,68 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[19, 7], Operations: ['57-28=29', '36-29=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[29, 17], Operations: ['57-28=29', '36-19=17']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,68 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[36, 10], Operations: ['57-28=29', '29-19=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,68 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,68 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: 68:[28, 36, 3], Operations: ['57/19=3']
Exploring Operation: 28+36=64, Resulting Numbers: [3, 64]
Generated Node #0,2,0: 68:[3, 64] Operation: 28+36=64
Exploring Operation: 36-3=33, Resulting Numbers: [28, 33]
Generated Node #0,2,1: 68:[28, 33] Operation: 36-3=33
Exploring Operation: 36-28=8, Resulting Numbers: [3, 8]
Generated Node #0,2,2: 68:[3, 8] Operation: 36-28=8
Exploring Operation: 28+3=31, Resulting Numbers: [36, 31]
Generated Node #0,2,3: 68:[36, 31] Operation: 28+3=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[3, 64], Operations: ['57/19=3', '28+36=64']
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,68 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[3, 8], Operations: ['57/19=3', '36-28=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[36, 31], Operations: ['57/19=3', '28+3=31']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[28, 33], Operations: ['57/19=3', '36-3=33']
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,68 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,68 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 68:[28, 36, 38], Operations: ['57-19=38']
Exploring Operation: 28+36=64, Resulting Numbers: [38, 64]
Generated Node #0,3,0: 68:[38, 64] Operation: 28+36=64
Exploring Operation: 38-36=2, Resulting Numbers: [28, 2]
Generated Node #0,3,1: 68:[28, 2] Operation: 38-36=2
Exploring Operation: 36-28=8, Resulting Numbers: [38, 8]
Generated Node #0,3,2: 68:[38, 8] Operation: 36-28=8
Exploring Operation: 28+38=66, Resulting Numbers: [36, 66]
Generated Node #0,3,3: 68:[36, 66] Operation: 28+38=66
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[36, 66], Operations: ['57-19=38', '28+38=66']
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,68 unequal: No Solution
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[28, 2], Operations: ['57-19=38', '38-36=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[38, 64], Operations: ['57-19=38', '28+36=64']
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,68 unequal: No Solution
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,68 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[38, 8], Operations: ['57-19=38', '36-28=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 68:[28, 19, 21], Operations: ['57-36=21']
Exploring Operation: 28-21=7, Resulting Numbers: [19, 7]
Generated Node #0,1,0: 68:[19, 7] Operation: 28-21=7
Exploring Operation: 21-19=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 68:[28, 2] Operation: 21-19=2
Exploring Operation: 19+21=40, Resulting Numbers: [28, 40]
Generated Node #0,1,2: 68:[28, 40] Operation: 19+21=40
Exploring Operation: 28-19=9, Resulting Numbers: [21, 9]
Generated Node #0,1,3: 68:[21, 9] Operation: 28-19=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[19, 7], Operations: ['57-36=21', '28-21=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[28, 2], Operations: ['57-36=21', '21-19=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[21, 9], Operations: ['57-36=21', '28-19=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,68 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[28, 40], Operations: ['57-36=21', '19+21=40']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,68 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[28, 57, 19, 36], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [28, 19, 21]
Generated Node #0,1: 68:[28, 19, 21] Operation: 57-36=21
Moving to Node #0,1
Current State: 68:[28, 19, 21], Operations: ['57-36=21']
Exploring Operation: 19+21=40, Resulting Numbers: [28, 40]
Generated Node #0,1,2: 68:[28, 40] Operation: 19+21=40
Moving to Node #0,1,2
Current State: 68:[28, 40], Operations: ['57-36=21', '19+21=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.935764
|
hs_4
|
mult_heuristic
|
[
99,
24,
36,
29
] | 68
|
[
"99-24=75",
"36-29=7",
"75-7=68"
] |
Current State: 68:[99, 24, 36, 29], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [36, 29, 75]
Generated Node #2: [36, 29, 75] from Operation: 99-24=75
Current State: 68:[36, 29, 75], Operations: ['99-24=75']
Exploring Operation: 36-29=7, Resulting Numbers: [75, 7]
Generated Node #3: [75, 7] from Operation: 36-29=7
Current State: 68:[75, 7], Operations: ['99-24=75', '36-29=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[99, 24, 36, 29], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [36, 29, 75]
Generated Node #0,0: 68:[36, 29, 75] Operation: 99-24=75
Exploring Operation: 99-29=70, Resulting Numbers: [24, 36, 70]
Generated Node #0,1: 68:[24, 36, 70] Operation: 99-29=70
Exploring Operation: 99-36=63, Resulting Numbers: [24, 29, 63]
Generated Node #0,2: 68:[24, 29, 63] Operation: 99-36=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[24, 36, 70], Operations: ['99-29=70']
Exploring Operation: 70-36=34, Resulting Numbers: [24, 34]
Generated Node #0,1,0: 68:[24, 34] Operation: 70-36=34
Exploring Operation: 36-24=12, Resulting Numbers: [70, 12]
Generated Node #0,1,1: 68:[70, 12] Operation: 36-24=12
Exploring Operation: 24+36=60, Resulting Numbers: [70, 60]
Generated Node #0,1,2: 68:[70, 60] Operation: 24+36=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[24, 34], Operations: ['99-29=70', '70-36=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,68 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,68 unequal: No Solution
No 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: 68:[70, 12], Operations: ['99-29=70', '36-24=12']
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,68 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,68 unequal: No Solution
No 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: 68:[70, 60], Operations: ['99-29=70', '24+36=60']
Exploring Operation: 70*60=4200, Resulting Numbers: [4200]
4200,68 unequal: No Solution
Exploring Operation: 70+60=130, Resulting Numbers: [130]
130,68 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,68 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: 68:[36, 29, 75], Operations: ['99-24=75']
Exploring Operation: 75-36=39, Resulting Numbers: [29, 39]
Generated Node #0,0,0: 68:[29, 39] Operation: 75-36=39
Exploring Operation: 36+29=65, Resulting Numbers: [75, 65]
Generated Node #0,0,1: 68:[75, 65] Operation: 36+29=65
Exploring Operation: 36-29=7, Resulting Numbers: [75, 7]
Generated Node #0,0,2: 68:[75, 7] Operation: 36-29=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[29, 39], Operations: ['99-24=75', '75-36=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[99, 24, 36, 29], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [36, 29, 75]
Generated Node #0,0: 68:[36, 29, 75] Operation: 99-24=75
Moving to Node #0,0
Current State: 68:[36, 29, 75], Operations: ['99-24=75']
Exploring Operation: 75-36=39, Resulting Numbers: [29, 39]
Generated Node #0,0,0: 68:[29, 39] Operation: 75-36=39
Moving to Node #0,0,0
Current State: 68:[29, 39], Operations: ['99-24=75', '75-36=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035
|
hs_3
|
sum_heuristic
|
[
2,
42,
13,
56
] | 57
|
[
"2*56=112",
"42+13=55",
"112-55=57"
] |
Current State: 57:[2, 42, 13, 56], Operations: []
Exploring Operation: 2*56=112, Resulting Numbers: [42, 13, 112]
Generated Node #2: [42, 13, 112] from Operation: 2*56=112
Current State: 57:[42, 13, 112], Operations: ['2*56=112']
Exploring Operation: 42+13=55, Resulting Numbers: [112, 55]
Generated Node #3: [112, 55] from Operation: 42+13=55
Current State: 57:[112, 55], Operations: ['2*56=112', '42+13=55']
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4
|
Current State: 57:[2, 42, 13, 56], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [2, 56, 29]
Generated Node #0,0: 57:[2, 56, 29] Operation: 42-13=29
Exploring Operation: 42/2=21, Resulting Numbers: [13, 56, 21]
Generated Node #0,1: 57:[13, 56, 21] Operation: 42/2=21
Exploring Operation: 42+13=55, Resulting Numbers: [2, 56, 55]
Generated Node #0,2: 57:[2, 56, 55] Operation: 42+13=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[2, 56, 55], Operations: ['42+13=55']
Exploring Operation: 2+56=58, Resulting Numbers: [55, 58]
Generated Node #0,2,0: 57:[55, 58] Operation: 2+56=58
Exploring Operation: 56-55=1, Resulting Numbers: [2, 1]
Generated Node #0,2,1: 57:[2, 1] Operation: 56-55=1
Exploring Operation: 2+55=57, Resulting Numbers: [56, 57]
Generated Node #0,2,2: 57:[56, 57] Operation: 2+55=57
Moving to Node #0,2,2
Current State: 57:[56, 57], Operations: ['42+13=55', '2+55=57']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,57 unequal: No Solution
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[55, 58], Operations: ['42+13=55', '2+56=58']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,57 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[2, 1], Operations: ['42+13=55', '56-55=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[13, 56, 21], Operations: ['42/2=21']
Exploring Operation: 56-13=43, Resulting Numbers: [21, 43]
Generated Node #0,1,0: 57:[21, 43] Operation: 56-13=43
Exploring Operation: 21-13=8, Resulting Numbers: [56, 8]
Generated Node #0,1,1: 57:[56, 8] Operation: 21-13=8
Exploring Operation: 13+56=69, Resulting Numbers: [21, 69]
Generated Node #0,1,2: 57:[21, 69] Operation: 13+56=69
Moving to Node #0,1,1
Current State: 57:[56, 8], Operations: ['42/2=21', '21-13=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[21, 69], Operations: ['42/2=21', '13+56=69']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,57 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[21, 43], Operations: ['42/2=21', '56-13=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,57 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 56, 29], Operations: ['42-13=29']
Exploring Operation: 29-2=27, Resulting Numbers: [56, 27]
Generated Node #0,0,0: 57:[56, 27] Operation: 29-2=27
Exploring Operation: 2*29=58, Resulting Numbers: [56, 58]
Generated Node #0,0,1: 57:[56, 58] Operation: 2*29=58
Exploring Operation: 56-29=27, Resulting Numbers: [2, 27]
Generated Node #0,0,2: 57:[2, 27] Operation: 56-29=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[56, 58], Operations: ['42-13=29', '2*29=58']
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,57 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No 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: 57:[56, 27], Operations: ['42-13=29', '29-2=27']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,57 unequal: No Solution
No 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: 57:[2, 27], Operations: ['42-13=29', '56-29=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,57 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
|
[
33,
32,
35,
59
] | 25
|
[
"33-32=1",
"59-35=24",
"1+24=25"
] |
Current State: 25:[33, 32, 35, 59], Operations: []
Exploring Operation: 33-32=1, Resulting Numbers: [35, 59, 1]
Generated Node #2: [35, 59, 1] from Operation: 33-32=1
Current State: 25:[35, 59, 1], Operations: ['33-32=1']
Exploring Operation: 59-35=24, Resulting Numbers: [1, 24]
Generated Node #3: [1, 24] from Operation: 59-35=24
Current State: 25:[1, 24], Operations: ['33-32=1', '59-35=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[33, 32, 35, 59], Operations: []
Exploring Operation: 59-32=27, Resulting Numbers: [33, 35, 27]
Generated Node #0,0: 25:[33, 35, 27] Operation: 59-32=27
Exploring Operation: 59-33=26, Resulting Numbers: [32, 35, 26]
Generated Node #0,1: 25:[32, 35, 26] Operation: 59-33=26
Exploring Operation: 59-35=24, Resulting Numbers: [33, 32, 24]
Generated Node #0,2: 25:[33, 32, 24] Operation: 59-35=24
Moving to Node #0,2
Current State: 25:[33, 32, 24], Operations: ['59-35=24']
Exploring Operation: 32-24=8, Resulting Numbers: [33, 8]
Generated Node #0,2,0: 25:[33, 8] Operation: 32-24=8
Exploring Operation: 33-24=9, Resulting Numbers: [32, 9]
Generated Node #0,2,1: 25:[32, 9] Operation: 33-24=9
Exploring Operation: 33-32=1, Resulting Numbers: [24, 1]
Generated Node #0,2,2: 25:[24, 1] Operation: 33-32=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[24, 1], Operations: ['59-35=24', '33-32=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[33, 32, 35, 59], Operations: []
Exploring Operation: 59-35=24, Resulting Numbers: [33, 32, 24]
Generated Node #0,2: 25:[33, 32, 24] Operation: 59-35=24
Moving to Node #0,2
Current State: 25:[33, 32, 24], Operations: ['59-35=24']
Exploring Operation: 33-32=1, Resulting Numbers: [24, 1]
Generated Node #0,2,2: 25:[24, 1] Operation: 33-32=1
Moving to Node #0,2,2
Current State: 25:[24, 1], Operations: ['59-35=24', '33-32=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
mult_heuristic
|
[
63,
65,
84,
54
] | 57
|
[
"65-63=2",
"54/2=27",
"84-27=57"
] |
Current State: 57:[63, 65, 84, 54], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [84, 54, 2]
Generated Node #2: [84, 54, 2] from Operation: 65-63=2
Current State: 57:[84, 54, 2], Operations: ['65-63=2']
Exploring Operation: 54/2=27, Resulting Numbers: [84, 27]
Generated Node #3: [84, 27] from Operation: 54/2=27
Current State: 57:[84, 27], Operations: ['65-63=2', '54/2=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4
|
Current State: 57:[63, 65, 84, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [63, 65, 30]
Generated Node #0,0: 57:[63, 65, 30] Operation: 84-54=30
Exploring Operation: 84-63=21, Resulting Numbers: [65, 54, 21]
Generated Node #0,1: 57:[65, 54, 21] Operation: 84-63=21
Exploring Operation: 84-65=19, Resulting Numbers: [63, 54, 19]
Generated Node #0,2: 57:[63, 54, 19] Operation: 84-65=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[63, 54, 19], Operations: ['84-65=19']
Exploring Operation: 54+19=73, Resulting Numbers: [63, 73]
Generated Node #0,2,0: 57:[63, 73] Operation: 54+19=73
Exploring Operation: 63-54=9, Resulting Numbers: [19, 9]
Generated Node #0,2,1: 57:[19, 9] Operation: 63-54=9
Exploring Operation: 63-19=44, Resulting Numbers: [54, 44]
Generated Node #0,2,2: 57:[54, 44] Operation: 63-19=44
Moving to Node #0,2,1
Current State: 57:[19, 9], Operations: ['84-65=19', '63-54=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,57 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[54, 44], Operations: ['84-65=19', '63-19=44']
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[63, 73], Operations: ['84-65=19', '54+19=73']
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,57 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[65, 54, 21], Operations: ['84-63=21']
Exploring Operation: 65-54=11, Resulting Numbers: [21, 11]
Generated Node #0,1,0: 57:[21, 11] Operation: 65-54=11
Exploring Operation: 54-21=33, Resulting Numbers: [65, 33]
Generated Node #0,1,1: 57:[65, 33] Operation: 54-21=33
Exploring Operation: 65-21=44, Resulting Numbers: [54, 44]
Generated Node #0,1,2: 57:[54, 44] Operation: 65-21=44
Moving to Node #0,1,0
Current State: 57:[21, 11], Operations: ['84-63=21', '65-54=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,57 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[54, 44], Operations: ['84-63=21', '65-21=44']
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,57 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[65, 33], Operations: ['84-63=21', '54-21=33']
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,57 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[63, 65, 30], Operations: ['84-54=30']
Exploring Operation: 65-30=35, Resulting Numbers: [63, 35]
Generated Node #0,0,0: 57:[63, 35] Operation: 65-30=35
Exploring Operation: 63-30=33, Resulting Numbers: [65, 33]
Generated Node #0,0,1: 57:[65, 33] Operation: 63-30=33
Exploring Operation: 65-63=2, Resulting Numbers: [30, 2]
Generated Node #0,0,2: 57:[30, 2] Operation: 65-63=2
Moving to Node #0,0,2
Current State: 57:[30, 2], Operations: ['84-54=30', '65-63=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[63, 35], Operations: ['84-54=30', '65-30=35']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,57 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[65, 33], Operations: ['84-54=30', '63-30=33']
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
42,
3,
47,
81
] | 94
|
[
"3+81=84",
"84/42=2",
"47*2=94"
] |
Current State: 94:[42, 3, 47, 81], Operations: []
Exploring Operation: 3+81=84, Resulting Numbers: [42, 47, 84]
Generated Node #2: [42, 47, 84] from Operation: 3+81=84
Current State: 94:[42, 47, 84], Operations: ['3+81=84']
Exploring Operation: 84/42=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 84/42=2
Current State: 94:[47, 2], Operations: ['3+81=84', '84/42=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4
|
Current State: 94:[42, 3, 47, 81], Operations: []
Exploring Operation: 42+3=45, Resulting Numbers: [47, 81, 45]
Generated Node #0,0: 94:[47, 81, 45] Operation: 42+3=45
Exploring Operation: 81-42=39, Resulting Numbers: [3, 47, 39]
Generated Node #0,1: 94:[3, 47, 39] Operation: 81-42=39
Moving to Node #0,1
Current State: 94:[3, 47, 39], Operations: ['81-42=39']
Exploring Operation: 47-39=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 94:[3, 8] Operation: 47-39=8
Exploring Operation: 3+39=42, Resulting Numbers: [47, 42]
Generated Node #0,1,1: 94:[47, 42] Operation: 3+39=42
Moving to Node #0,0
Current State: 94:[47, 81, 45], Operations: ['42+3=45']
Exploring Operation: 47-45=2, Resulting Numbers: [81, 2]
Generated Node #0,0,0: 94:[81, 2] Operation: 47-45=2
Exploring Operation: 81-45=36, Resulting Numbers: [47, 36]
Generated Node #0,0,1: 94:[47, 36] Operation: 81-45=36
Moving to Node #0,1,1
Current State: 94:[47, 42], Operations: ['81-42=39', '3+39=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[3, 8], Operations: ['81-42=39', '47-39=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[47, 36], Operations: ['42+3=45', '81-45=36']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[81, 2], Operations: ['42+3=45', '47-45=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,94 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
3,
24,
10,
3
] | 66
|
[
"3*10=30",
"3*30=90",
"90-24=66"
] |
Current State: 66:[3, 24, 10, 3], Operations: []
Exploring Operation: 3*10=30, Resulting Numbers: [24, 30]
Generated Node #2: [24, 30] from Operation: 3*10=30
Current State: 66:[24, 30], Operations: ['3*10=30']
Exploring Operation: 3*30=90, Resulting Numbers: [24, 90]
Generated Node #3: [24, 90] from Operation: 3*30=90
Current State: 66:[24, 90], Operations: ['3*10=30', '3*30=90']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[3, 24, 10, 3], Operations: []
Exploring Operation: 24-3=21, Resulting Numbers: [10, 3, 21]
Generated Node #0,0: 66:[10, 3, 21] Operation: 24-3=21
Exploring Operation: 24-3=21, Resulting Numbers: [3, 10, 21]
Generated Node #0,1: 66:[3, 10, 21] Operation: 24-3=21
Exploring Operation: 24+10=34, Resulting Numbers: [3, 3, 34]
Generated Node #0,2: 66:[3, 3, 34] Operation: 24+10=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[3, 3, 34], Operations: ['24+10=34']
Exploring Operation: 3/3=1, Resulting Numbers: [34, 1]
Generated Node #0,2,0: 66:[34, 1] Operation: 3/3=1
Exploring Operation: 3+3=6, Resulting Numbers: [34, 6]
Generated Node #0,2,1: 66:[34, 6] Operation: 3+3=6
Exploring Operation: 34-3=31, Resulting Numbers: [3, 31]
Generated Node #0,2,2: 66:[3, 31] Operation: 34-3=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[34, 6], Operations: ['24+10=34', '3+3=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[34, 1], Operations: ['24+10=34', '3/3=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[3, 31], Operations: ['24+10=34', '34-3=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[10, 3, 21], Operations: ['24-3=21']
Exploring Operation: 10-3=7, Resulting Numbers: [21, 7]
Generated Node #0,0,0: 66:[21, 7] Operation: 10-3=7
Exploring Operation: 21-10=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 66:[3, 11] Operation: 21-10=11
Exploring Operation: 10+21=31, Resulting Numbers: [3, 31]
Generated Node #0,0,2: 66:[3, 31] Operation: 10+21=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[3, 11], Operations: ['24-3=21', '21-10=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[21, 7], Operations: ['24-3=21', '10-3=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[3, 31], Operations: ['24-3=21', '10+21=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[3, 10, 21], Operations: ['24-3=21']
Exploring Operation: 21-10=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 66:[3, 11] Operation: 21-10=11
Exploring Operation: 21/3=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 66:[10, 7] Operation: 21/3=7
Exploring Operation: 10-3=7, Resulting Numbers: [21, 7]
Generated Node #0,1,2: 66:[21, 7] Operation: 10-3=7
Moving to Node #0,1,0
Current State: 66:[3, 11], Operations: ['24-3=21', '21-10=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[10, 7], Operations: ['24-3=21', '21/3=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[21, 7], Operations: ['24-3=21', '10-3=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,66 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
|
[
16,
17,
67,
51
] | 54
|
[
"67-16=51",
"51/17=3",
"51+3=54"
] |
Current State: 54:[16, 17, 67, 51], Operations: []
Exploring Operation: 67-16=51, Resulting Numbers: [17, 51, 51]
Generated Node #2: [17, 51, 51] from Operation: 67-16=51
Current State: 54:[17, 51, 51], Operations: ['67-16=51']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,54 equal: Goal Reached
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[16, 17, 67, 51], Operations: []
Exploring Operation: 67-51=16, Resulting Numbers: [16, 17, 16]
Generated Node #0,0: 54:[16, 17, 16] Operation: 67-51=16
Exploring Operation: 67-17=50, Resulting Numbers: [16, 51, 50]
Generated Node #0,1: 54:[16, 51, 50] Operation: 67-17=50
Exploring Operation: 17-16=1, Resulting Numbers: [67, 51, 1]
Generated Node #0,2: 54:[67, 51, 1] Operation: 17-16=1
Exploring Operation: 51/17=3, Resulting Numbers: [16, 67, 3]
Generated Node #0,3: 54:[16, 67, 3] Operation: 51/17=3
Exploring Operation: 67-16=51, Resulting Numbers: [17, 51, 51]
Generated Node #0,4: 54:[17, 51, 51] Operation: 67-16=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[16, 17, 16], Operations: ['67-51=16']
Exploring Operation: 16-16=0, Resulting Numbers: [17, 0]
Generated Node #0,0,0: 54:[17, 0] Operation: 16-16=0
Exploring Operation: 16+16=32, Resulting Numbers: [17, 32]
Generated Node #0,0,1: 54:[17, 32] Operation: 16+16=32
Exploring Operation: 17-16=1, Resulting Numbers: [16, 1]
Generated Node #0,0,2: 54:[16, 1] Operation: 17-16=1
Exploring Operation: 16/16=1, Resulting Numbers: [17, 1]
Generated Node #0,0,3: 54:[17, 1] Operation: 16/16=1
Exploring Operation: 17-16=1, Resulting Numbers: [16, 1]
Generated Node #0,0,4: 54:[16, 1] Operation: 17-16=1
Moving to Node #0,0,3
Current State: 54:[17, 1], Operations: ['67-51=16', '16/16=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[16, 1], Operations: ['67-51=16', '17-16=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[17, 0], Operations: ['67-51=16', '16-16=0']
Exploring Operation: 17-0=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Exploring Operation: 17+0=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[16, 1], Operations: ['67-51=16', '17-16=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[17, 32], Operations: ['67-51=16', '16+16=32']
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,54 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[17, 51, 51], Operations: ['67-16=51']
Exploring Operation: 51/17=3, Resulting Numbers: [51, 3]
Generated Node #0,4,0: 54:[51, 3] Operation: 51/17=3
Exploring Operation: 51-17=34, Resulting Numbers: [51, 34]
Generated Node #0,4,1: 54:[51, 34] Operation: 51-17=34
Exploring Operation: 51/51=1, Resulting Numbers: [17, 1]
Generated Node #0,4,2: 54:[17, 1] Operation: 51/51=1
Exploring Operation: 51/17=3, Resulting Numbers: [51, 3]
Generated Node #0,4,3: 54:[51, 3] Operation: 51/17=3
Exploring Operation: 51-51=0, Resulting Numbers: [17, 0]
Generated Node #0,4,4: 54:[17, 0] Operation: 51-51=0
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 54:[17, 1], Operations: ['67-16=51', '51/51=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 54:[51, 3], Operations: ['67-16=51', '51/17=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[16, 17, 67, 51], Operations: []
Exploring Operation: 67-16=51, Resulting Numbers: [17, 51, 51]
Generated Node #0,4: 54:[17, 51, 51] Operation: 67-16=51
Moving to Node #0,4
Current State: 54:[17, 51, 51], Operations: ['67-16=51']
Exploring Operation: 51/17=3, Resulting Numbers: [51, 3]
Generated Node #0,4,0: 54:[51, 3] Operation: 51/17=3
Moving to Node #0,4,0
Current State: 54:[51, 3], Operations: ['67-16=51', '51/17=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.961806
|
hs_5
|
mult_heuristic
|
[
52,
9,
38,
23
] | 28
|
[
"52-9=43",
"38-23=15",
"43-15=28"
] |
Current State: 28:[52, 9, 38, 23], Operations: []
Exploring Operation: 52-9=43, Resulting Numbers: [38, 23, 43]
Generated Node #2: [38, 23, 43] from Operation: 52-9=43
Current State: 28:[38, 23, 43], Operations: ['52-9=43']
Exploring Operation: 38-23=15, Resulting Numbers: [43, 15]
Generated Node #3: [43, 15] from Operation: 38-23=15
Current State: 28:[43, 15], Operations: ['52-9=43', '38-23=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[52, 9, 38, 23], Operations: []
Exploring Operation: 52-38=14, Resulting Numbers: [9, 23, 14]
Generated Node #0,0: 28:[9, 23, 14] Operation: 52-38=14
Moving to Node #0,0
Current State: 28:[9, 23, 14], Operations: ['52-38=14']
Exploring Operation: 23-9=14, Resulting Numbers: [14, 14]
Generated Node #0,0,0: 28:[14, 14] Operation: 23-9=14
Moving to Node #0,0,0
Current State: 28:[14, 14], Operations: ['52-38=14', '23-9=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[52, 9, 38, 23], Operations: []
Exploring Operation: 52-38=14, Resulting Numbers: [9, 23, 14]
Generated Node #0,0: 28:[9, 23, 14] Operation: 52-38=14
Moving to Node #0,0
Current State: 28:[9, 23, 14], Operations: ['52-38=14']
Exploring Operation: 23-9=14, Resulting Numbers: [14, 14]
Generated Node #0,0,0: 28:[14, 14] Operation: 23-9=14
Moving to Node #0,0,0
Current State: 28:[14, 14], Operations: ['52-38=14', '23-9=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
32,
82,
13,
18
] | 45
|
[
"82-32=50",
"18-13=5",
"50-5=45"
] |
Current State: 45:[32, 82, 13, 18], Operations: []
Exploring Operation: 82-32=50, Resulting Numbers: [13, 18, 50]
Generated Node #2: [13, 18, 50] from Operation: 82-32=50
Current State: 45:[13, 18, 50], Operations: ['82-32=50']
Exploring Operation: 18-13=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 18-13=5
Current State: 45:[50, 5], Operations: ['82-32=50', '18-13=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[32, 82, 13, 18], Operations: []
Exploring Operation: 32+13=45, Resulting Numbers: [82, 18, 45]
Generated Node #0,0: 45:[82, 18, 45] Operation: 32+13=45
Exploring Operation: 82-13=69, Resulting Numbers: [32, 18, 69]
Generated Node #0,1: 45:[32, 18, 69] Operation: 82-13=69
Exploring Operation: 32-18=14, Resulting Numbers: [82, 13, 14]
Generated Node #0,2: 45:[82, 13, 14] Operation: 32-18=14
Exploring Operation: 82-32=50, Resulting Numbers: [13, 18, 50]
Generated Node #0,3: 45:[13, 18, 50] Operation: 82-32=50
Exploring Operation: 82-18=64, Resulting Numbers: [32, 13, 64]
Generated Node #0,4: 45:[32, 13, 64] Operation: 82-18=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[13, 18, 50], Operations: ['82-32=50']
Exploring Operation: 50-13=37, Resulting Numbers: [18, 37]
Generated Node #0,3,0: 45:[18, 37] Operation: 50-13=37
Exploring Operation: 13+18=31, Resulting Numbers: [50, 31]
Generated Node #0,3,1: 45:[50, 31] Operation: 13+18=31
Exploring Operation: 50-18=32, Resulting Numbers: [13, 32]
Generated Node #0,3,2: 45:[13, 32] Operation: 50-18=32
Exploring Operation: 18-13=5, Resulting Numbers: [50, 5]
Generated Node #0,3,3: 45:[50, 5] Operation: 18-13=5
Exploring Operation: 13+50=63, Resulting Numbers: [18, 63]
Generated Node #0,3,4: 45:[18, 63] Operation: 13+50=63
Moving to Node #0,3,3
Current State: 45:[50, 5], Operations: ['82-32=50', '18-13=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,45 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[32, 82, 13, 18], Operations: []
Exploring Operation: 82-32=50, Resulting Numbers: [13, 18, 50]
Generated Node #0,3: 45:[13, 18, 50] Operation: 82-32=50
Moving to Node #0,3
Current State: 45:[13, 18, 50], Operations: ['82-32=50']
Exploring Operation: 18-13=5, Resulting Numbers: [50, 5]
Generated Node #0,3,3: 45:[50, 5] Operation: 18-13=5
Moving to Node #0,3,3
Current State: 45:[50, 5], Operations: ['82-32=50', '18-13=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_5
|
sum_heuristic
|
[
17,
13,
3,
92
] | 80
|
[
"17-13=4",
"3*4=12",
"92-12=80"
] |
Current State: 80:[17, 13, 3, 92], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [3, 92, 4]
Generated Node #2: [3, 92, 4] from Operation: 17-13=4
Current State: 80:[3, 92, 4], Operations: ['17-13=4']
Exploring Operation: 3*4=12, Resulting Numbers: [92, 12]
Generated Node #3: [92, 12] from Operation: 3*4=12
Current State: 80:[92, 12], Operations: ['17-13=4', '3*4=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[17, 13, 3, 92], Operations: []
Exploring Operation: 92-13=79, Resulting Numbers: [17, 3, 79]
Generated Node #0,0: 80:[17, 3, 79] Operation: 92-13=79
Exploring Operation: 92-17=75, Resulting Numbers: [13, 3, 75]
Generated Node #0,1: 80:[13, 3, 75] Operation: 92-17=75
Exploring Operation: 17-13=4, Resulting Numbers: [3, 92, 4]
Generated Node #0,2: 80:[3, 92, 4] Operation: 17-13=4
Exploring Operation: 13+3=16, Resulting Numbers: [17, 92, 16]
Generated Node #0,3: 80:[17, 92, 16] Operation: 13+3=16
Moving to Node #0,0
Current State: 80:[17, 3, 79], Operations: ['92-13=79']
Exploring Operation: 79-3=76, Resulting Numbers: [17, 76]
Generated Node #0,0,0: 80:[17, 76] Operation: 79-3=76
Exploring Operation: 17-3=14, Resulting Numbers: [79, 14]
Generated Node #0,0,1: 80:[79, 14] Operation: 17-3=14
Exploring Operation: 3+79=82, Resulting Numbers: [17, 82]
Generated Node #0,0,2: 80:[17, 82] Operation: 3+79=82
Exploring Operation: 17+3=20, Resulting Numbers: [79, 20]
Generated Node #0,0,3: 80:[79, 20] Operation: 17+3=20
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[79, 20], Operations: ['92-13=79', '17+3=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,80 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,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,1
Current State: 80:[79, 14], Operations: ['92-13=79', '17-3=14']
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,80 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,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,2
Current State: 80:[17, 82], Operations: ['92-13=79', '3+79=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,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,0
Current State: 80:[17, 76], Operations: ['92-13=79', '79-3=76']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,80 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: 80:[13, 3, 75], Operations: ['92-17=75']
Exploring Operation: 3+75=78, Resulting Numbers: [13, 78]
Generated Node #0,1,0: 80:[13, 78] Operation: 3+75=78
Exploring Operation: 13*3=39, Resulting Numbers: [75, 39]
Generated Node #0,1,1: 80:[75, 39] Operation: 13*3=39
Exploring Operation: 13-3=10, Resulting Numbers: [75, 10]
Generated Node #0,1,2: 80:[75, 10] Operation: 13-3=10
Exploring Operation: 13+3=16, Resulting Numbers: [75, 16]
Generated Node #0,1,3: 80:[75, 16] Operation: 13+3=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[13, 78], Operations: ['92-17=75', '3+75=78']
Exploring Operation: 13+78=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 13*78=1014, Resulting Numbers: [1014]
1014,80 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,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,1,2
Current State: 80:[75, 10], Operations: ['92-17=75', '13-3=10']
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,80 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,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,1,3
Current State: 80:[75, 16], Operations: ['92-17=75', '13+3=16']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,80 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,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,1,1
Current State: 80:[75, 39], Operations: ['92-17=75', '13*3=39']
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,80 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,80 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: 80:[17, 92, 16], Operations: ['13+3=16']
Exploring Operation: 92-16=76, Resulting Numbers: [17, 76]
Generated Node #0,3,0: 80:[17, 76] Operation: 92-16=76
Exploring Operation: 92-17=75, Resulting Numbers: [16, 75]
Generated Node #0,3,1: 80:[16, 75] Operation: 92-17=75
Exploring Operation: 17-16=1, Resulting Numbers: [92, 1]
Generated Node #0,3,2: 80:[92, 1] Operation: 17-16=1
Exploring Operation: 17+16=33, Resulting Numbers: [92, 33]
Generated Node #0,3,3: 80:[92, 33] Operation: 17+16=33
Moving to Node #0,2
Current State: 80:[3, 92, 4], Operations: ['17-13=4']
Exploring Operation: 3+4=7, Resulting Numbers: [92, 7]
Generated Node #0,2,0: 80:[92, 7] Operation: 3+4=7
Exploring Operation: 92/4=23, Resulting Numbers: [3, 23]
Generated Node #0,2,1: 80:[3, 23] Operation: 92/4=23
Exploring Operation: 92-4=88, Resulting Numbers: [3, 88]
Generated Node #0,2,2: 80:[3, 88] Operation: 92-4=88
Exploring Operation: 92-3=89, Resulting Numbers: [4, 89]
Generated Node #0,2,3: 80:[4, 89] Operation: 92-3=89
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[3, 23], Operations: ['17-13=4', '92/4=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,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,2,2
Current State: 80:[3, 88], Operations: ['17-13=4', '92-4=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,80 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,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,2,3
Current State: 80:[4, 89], Operations: ['17-13=4', '92-3=89']
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,80 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,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,2,0
Current State: 80:[92, 7], Operations: ['17-13=4', '3+4=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 92*7=644, Resulting Numbers: [644]
644,80 unequal: No Solution
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 80:[17, 76], Operations: ['13+3=16', '92-16=76']
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,80 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[16, 75], Operations: ['13+3=16', '92-17=75']
Exploring Operation: 16*75=1200, Resulting Numbers: [1200]
1200,80 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 16+75=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[92, 1], Operations: ['13+3=16', '17-16=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,80 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,80 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[92, 33], Operations: ['13+3=16', '17+16=33']
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,80 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,80 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
17,
98,
83,
49
] | 68
|
[
"83-17=66",
"98/49=2",
"66+2=68"
] |
Current State: 68:[17, 98, 83, 49], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [98, 49, 66]
Generated Node #2: [98, 49, 66] from Operation: 83-17=66
Current State: 68:[98, 49, 66], Operations: ['83-17=66']
Exploring Operation: 98/49=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 98/49=2
Current State: 68:[66, 2], Operations: ['83-17=66', '98/49=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[17, 98, 83, 49], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [17, 83, 2]
Generated Node #0,0: 68:[17, 83, 2] Operation: 98/49=2
Moving to Node #0,0
Current State: 68:[17, 83, 2], Operations: ['98/49=2']
Exploring Operation: 83-17=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 68:[2, 66] Operation: 83-17=66
Moving to Node #0,0,0
Current State: 68:[2, 66], Operations: ['98/49=2', '83-17=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[17, 98, 83, 49], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [17, 83, 2]
Generated Node #0,0: 68:[17, 83, 2] Operation: 98/49=2
Moving to Node #0,0
Current State: 68:[17, 83, 2], Operations: ['98/49=2']
Exploring Operation: 83-17=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 68:[2, 66] Operation: 83-17=66
Moving to Node #0,0,0
Current State: 68:[2, 66], Operations: ['98/49=2', '83-17=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
56,
4,
39,
40
] | 30
|
[
"56-4=52",
"39*40=1560",
"1560/52=30"
] |
Current State: 30:[56, 4, 39, 40], Operations: []
Exploring Operation: 56-4=52, Resulting Numbers: [39, 40, 52]
Generated Node #2: [39, 40, 52] from Operation: 56-4=52
Current State: 30:[39, 40, 52], Operations: ['56-4=52']
Exploring Operation: 39*40=1560, Resulting Numbers: [52, 1560]
Generated Node #3: [52, 1560] from Operation: 39*40=1560
Current State: 30:[52, 1560], Operations: ['56-4=52', '39*40=1560']
Exploring Operation: 1560/52=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4
|
Current State: 30:[56, 4, 39, 40], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [4, 39, 16]
Generated Node #0,0: 30:[4, 39, 16] Operation: 56-40=16
Exploring Operation: 40-39=1, Resulting Numbers: [56, 4, 1]
Generated Node #0,1: 30:[56, 4, 1] Operation: 40-39=1
Exploring Operation: 56/4=14, Resulting Numbers: [39, 40, 14]
Generated Node #0,2: 30:[39, 40, 14] Operation: 56/4=14
Exploring Operation: 56-39=17, Resulting Numbers: [4, 40, 17]
Generated Node #0,3: 30:[4, 40, 17] Operation: 56-39=17
Moving to Node #0,0
Current State: 30:[4, 39, 16], Operations: ['56-40=16']
Exploring Operation: 39-16=23, Resulting Numbers: [4, 23]
Generated Node #0,0,0: 30:[4, 23] Operation: 39-16=23
Exploring Operation: 16/4=4, Resulting Numbers: [39, 4]
Generated Node #0,0,1: 30:[39, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [39, 12]
Generated Node #0,0,2: 30:[39, 12] Operation: 16-4=12
Exploring Operation: 39-4=35, Resulting Numbers: [16, 35]
Generated Node #0,0,3: 30:[16, 35] Operation: 39-4=35
Moving to Node #0,3
Current State: 30:[4, 40, 17], Operations: ['56-39=17']
Exploring Operation: 40-4=36, Resulting Numbers: [17, 36]
Generated Node #0,3,0: 30:[17, 36] Operation: 40-4=36
Exploring Operation: 17-4=13, Resulting Numbers: [40, 13]
Generated Node #0,3,1: 30:[40, 13] Operation: 17-4=13
Exploring Operation: 40-17=23, Resulting Numbers: [4, 23]
Generated Node #0,3,2: 30:[4, 23] Operation: 40-17=23
Exploring Operation: 40/4=10, Resulting Numbers: [17, 10]
Generated Node #0,3,3: 30:[17, 10] Operation: 40/4=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[17, 10], Operations: ['56-39=17', '40/4=10']
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,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,0
Current State: 30:[17, 36], Operations: ['56-39=17', '40-4=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,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,2
Current State: 30:[4, 23], Operations: ['56-39=17', '40-17=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,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,1
Current State: 30:[40, 13], Operations: ['56-39=17', '17-4=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,30 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,30 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: 30:[39, 40, 14], Operations: ['56/4=14']
Exploring Operation: 39-14=25, Resulting Numbers: [40, 25]
Generated Node #0,2,0: 30:[40, 25] Operation: 39-14=25
Exploring Operation: 39+14=53, Resulting Numbers: [40, 53]
Generated Node #0,2,1: 30:[40, 53] Operation: 39+14=53
Exploring Operation: 40-14=26, Resulting Numbers: [39, 26]
Generated Node #0,2,2: 30:[39, 26] Operation: 40-14=26
Exploring Operation: 40-39=1, Resulting Numbers: [14, 1]
Generated Node #0,2,3: 30:[14, 1] Operation: 40-39=1
Moving to Node #0,1
Current State: 30:[56, 4, 1], Operations: ['40-39=1']
Exploring Operation: 56-1=55, Resulting Numbers: [4, 55]
Generated Node #0,1,0: 30:[4, 55] Operation: 56-1=55
Exploring Operation: 56-4=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 30:[1, 52] Operation: 56-4=52
Exploring Operation: 4+1=5, Resulting Numbers: [56, 5]
Generated Node #0,1,2: 30:[56, 5] Operation: 4+1=5
Exploring Operation: 56/4=14, Resulting Numbers: [1, 14]
Generated Node #0,1,3: 30:[1, 14] Operation: 56/4=14
Moving to Node #0,2,3
Current State: 30:[14, 1], Operations: ['56/4=14', '40-39=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[1, 14], Operations: ['40-39=1', '56/4=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[16, 35], Operations: ['56-40=16', '39-4=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,30 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[4, 23], Operations: ['56-40=16', '39-16=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[39, 4], Operations: ['56-40=16', '16/4=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,30 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[39, 12], Operations: ['56-40=16', '16-4=12']
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,30 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[39, 26], Operations: ['56/4=14', '40-14=26']
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,30 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[40, 25], Operations: ['56/4=14', '39-14=25']
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,30 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[1, 52], Operations: ['40-39=1', '56-4=52']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[4, 55], Operations: ['40-39=1', '56-1=55']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,30 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[56, 5], Operations: ['40-39=1', '4+1=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,30 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[40, 53], Operations: ['56/4=14', '39+14=53']
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,30 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
4,
29,
21,
3
] | 92
|
[
"4*29=116",
"21+3=24",
"116-24=92"
] |
Current State: 92:[4, 29, 21, 3], Operations: []
Exploring Operation: 4*29=116, Resulting Numbers: [21, 3, 116]
Generated Node #2: [21, 3, 116] from Operation: 4*29=116
Current State: 92:[21, 3, 116], Operations: ['4*29=116']
Exploring Operation: 21+3=24, Resulting Numbers: [116, 24]
Generated Node #3: [116, 24] from Operation: 21+3=24
Current State: 92:[116, 24], Operations: ['4*29=116', '21+3=24']
Exploring Operation: 116-24=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[4, 29, 21, 3], Operations: []
Exploring Operation: 29*3=87, Resulting Numbers: [4, 21, 87]
Generated Node #0,0: 92:[4, 21, 87] Operation: 29*3=87
Exploring Operation: 29-3=26, Resulting Numbers: [4, 21, 26]
Generated Node #0,1: 92:[4, 21, 26] Operation: 29-3=26
Exploring Operation: 29-4=25, Resulting Numbers: [21, 3, 25]
Generated Node #0,2: 92:[21, 3, 25] Operation: 29-4=25
Exploring Operation: 29-21=8, Resulting Numbers: [4, 3, 8]
Generated Node #0,3: 92:[4, 3, 8] Operation: 29-21=8
Exploring Operation: 29+21=50, Resulting Numbers: [4, 3, 50]
Generated Node #0,4: 92:[4, 3, 50] Operation: 29+21=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[4, 21, 26], Operations: ['29-3=26']
Exploring Operation: 21+26=47, Resulting Numbers: [4, 47]
Generated Node #0,1,0: 92:[4, 47] Operation: 21+26=47
Exploring Operation: 4+21=25, Resulting Numbers: [26, 25]
Generated Node #0,1,1: 92:[26, 25] Operation: 4+21=25
Exploring Operation: 26-21=5, Resulting Numbers: [4, 5]
Generated Node #0,1,2: 92:[4, 5] Operation: 26-21=5
Exploring Operation: 21-4=17, Resulting Numbers: [26, 17]
Generated Node #0,1,3: 92:[26, 17] Operation: 21-4=17
Exploring Operation: 26-4=22, Resulting Numbers: [21, 22]
Generated Node #0,1,4: 92:[21, 22] Operation: 26-4=22
Moving to Node #0,1,0
Current State: 92:[4, 47], Operations: ['29-3=26', '21+26=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[4, 5], Operations: ['29-3=26', '26-21=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[21, 22], Operations: ['29-3=26', '26-4=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[26, 25], Operations: ['29-3=26', '4+21=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,92 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[26, 17], Operations: ['29-3=26', '21-4=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,92 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,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,2
Current State: 92:[21, 3, 25], Operations: ['29-4=25']
Exploring Operation: 25-3=22, Resulting Numbers: [21, 22]
Generated Node #0,2,0: 92:[21, 22] Operation: 25-3=22
Exploring Operation: 21+25=46, Resulting Numbers: [3, 46]
Generated Node #0,2,1: 92:[3, 46] Operation: 21+25=46
Exploring Operation: 21+3=24, Resulting Numbers: [25, 24]
Generated Node #0,2,2: 92:[25, 24] Operation: 21+3=24
Exploring Operation: 21/3=7, Resulting Numbers: [25, 7]
Generated Node #0,2,3: 92:[25, 7] Operation: 21/3=7
Exploring Operation: 25-21=4, Resulting Numbers: [3, 4]
Generated Node #0,2,4: 92:[3, 4] Operation: 25-21=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[3, 46], Operations: ['29-4=25', '21+25=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,92 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 92:[3, 4], Operations: ['29-4=25', '25-21=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No 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: 92:[21, 22], Operations: ['29-4=25', '25-3=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,92 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,92 unequal: No Solution
No 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: 92:[25, 24], Operations: ['29-4=25', '21+3=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,92 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No 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: 92:[25, 7], Operations: ['29-4=25', '21/3=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,92 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: 92:[4, 3, 8], Operations: ['29-21=8']
Exploring Operation: 4-3=1, Resulting Numbers: [8, 1]
Generated Node #0,3,0: 92:[8, 1] Operation: 4-3=1
Exploring Operation: 8/4=2, Resulting Numbers: [3, 2]
Generated Node #0,3,1: 92:[3, 2] Operation: 8/4=2
Exploring Operation: 8-3=5, Resulting Numbers: [4, 5]
Generated Node #0,3,2: 92:[4, 5] Operation: 8-3=5
Exploring Operation: 8-4=4, Resulting Numbers: [3, 4]
Generated Node #0,3,3: 92:[3, 4] Operation: 8-4=4
Exploring Operation: 3*8=24, Resulting Numbers: [4, 24]
Generated Node #0,3,4: 92:[4, 24] Operation: 3*8=24
Moving to Node #0,3,1
Current State: 92:[3, 2], Operations: ['29-21=8', '8/4=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[3, 4], Operations: ['29-21=8', '8-4=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[4, 5], Operations: ['29-21=8', '8-3=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[4, 24], Operations: ['29-21=8', '3*8=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[8, 1], Operations: ['29-21=8', '4-3=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,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,4
Current State: 92:[4, 3, 50], Operations: ['29+21=50']
Exploring Operation: 4-3=1, Resulting Numbers: [50, 1]
Generated Node #0,4,0: 92:[50, 1] Operation: 4-3=1
Exploring Operation: 3+50=53, Resulting Numbers: [4, 53]
Generated Node #0,4,1: 92:[4, 53] Operation: 3+50=53
Exploring Operation: 50-3=47, Resulting Numbers: [4, 47]
Generated Node #0,4,2: 92:[4, 47] Operation: 50-3=47
Exploring Operation: 4+3=7, Resulting Numbers: [50, 7]
Generated Node #0,4,3: 92:[50, 7] Operation: 4+3=7
Exploring Operation: 50-4=46, Resulting Numbers: [3, 46]
Generated Node #0,4,4: 92:[3, 46] Operation: 50-4=46
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 92:[4, 47], Operations: ['29+21=50', '50-3=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,92 unequal: No Solution
No 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: 92:[3, 46], Operations: ['29+21=50', '50-4=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,92 unequal: No Solution
No 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: 92:[50, 1], Operations: ['29+21=50', '4-3=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,92 unequal: No Solution
No 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: 92:[4, 53], Operations: ['29+21=50', '3+50=53']
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,92 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No 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: 92:[50, 7], Operations: ['29+21=50', '4+3=7']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,92 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: 92:[4, 21, 87], Operations: ['29*3=87']
Exploring Operation: 87-4=83, Resulting Numbers: [21, 83]
Generated Node #0,0,0: 92:[21, 83] Operation: 87-4=83
Exploring Operation: 4+21=25, Resulting Numbers: [87, 25]
Generated Node #0,0,1: 92:[87, 25] Operation: 4+21=25
Exploring Operation: 21-4=17, Resulting Numbers: [87, 17]
Generated Node #0,0,2: 92:[87, 17] Operation: 21-4=17
Exploring Operation: 4+87=91, Resulting Numbers: [21, 91]
Generated Node #0,0,3: 92:[21, 91] Operation: 4+87=91
Exploring Operation: 4*21=84, Resulting Numbers: [87, 84]
Generated Node #0,0,4: 92:[87, 84] Operation: 4*21=84
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 92:[21, 91], Operations: ['29*3=87', '4+87=91']
Exploring Operation: 21*91=1911, Resulting Numbers: [1911]
1911,92 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 21+91=112, Resulting Numbers: [112]
112,92 unequal: No Solution
No 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: 92:[87, 25], Operations: ['29*3=87', '4+21=25']
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,92 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No 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: 92:[21, 83], Operations: ['29*3=87', '87-4=83']
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,92 unequal: No Solution
No 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: 92:[87, 17], Operations: ['29*3=87', '21-4=17']
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,92 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,92 unequal: No Solution
No 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: 92:[87, 84], Operations: ['29*3=87', '4*21=84']
Exploring Operation: 87*84=7308, Resulting Numbers: [7308]
7308,92 unequal: No Solution
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 87+84=171, Resulting Numbers: [171]
171,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
58,
5,
72,
33
] | 53
|
[
"58-33=25",
"5*25=125",
"125-72=53"
] |
Current State: 53:[58, 5, 72, 33], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [5, 72, 25]
Generated Node #2: [5, 72, 25] from Operation: 58-33=25
Current State: 53:[5, 72, 25], Operations: ['58-33=25']
Exploring Operation: 5*25=125, Resulting Numbers: [72, 125]
Generated Node #3: [72, 125] from Operation: 5*25=125
Current State: 53:[72, 125], Operations: ['58-33=25', '5*25=125']
Exploring Operation: 125-72=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[58, 5, 72, 33], Operations: []
Exploring Operation: 72-5=67, Resulting Numbers: [58, 33, 67]
Generated Node #0,0: 53:[58, 33, 67] Operation: 72-5=67
Exploring Operation: 58+5=63, Resulting Numbers: [72, 33, 63]
Generated Node #0,1: 53:[72, 33, 63] Operation: 58+5=63
Exploring Operation: 58-5=53, Resulting Numbers: [72, 33, 53]
Generated Node #0,2: 53:[72, 33, 53] Operation: 58-5=53
Exploring Operation: 5+33=38, Resulting Numbers: [58, 72, 38]
Generated Node #0,3: 53:[58, 72, 38] Operation: 5+33=38
Moving to Node #0,0
Current State: 53:[58, 33, 67], Operations: ['72-5=67']
Exploring Operation: 33+67=100, Resulting Numbers: [58, 100]
Generated Node #0,0,0: 53:[58, 100] Operation: 33+67=100
Exploring Operation: 67-33=34, Resulting Numbers: [58, 34]
Generated Node #0,0,1: 53:[58, 34] Operation: 67-33=34
Exploring Operation: 58+33=91, Resulting Numbers: [67, 91]
Generated Node #0,0,2: 53:[67, 91] Operation: 58+33=91
Exploring Operation: 58-33=25, Resulting Numbers: [67, 25]
Generated Node #0,0,3: 53:[67, 25] Operation: 58-33=25
Moving to Node #0,3
Current State: 53:[58, 72, 38], Operations: ['5+33=38']
Exploring Operation: 72-38=34, Resulting Numbers: [58, 34]
Generated Node #0,3,0: 53:[58, 34] Operation: 72-38=34
Exploring Operation: 58-38=20, Resulting Numbers: [72, 20]
Generated Node #0,3,1: 53:[72, 20] Operation: 58-38=20
Exploring Operation: 58+38=96, Resulting Numbers: [72, 96]
Generated Node #0,3,2: 53:[72, 96] Operation: 58+38=96
Exploring Operation: 72-58=14, Resulting Numbers: [38, 14]
Generated Node #0,3,3: 53:[38, 14] Operation: 72-58=14
Moving to Node #0,2
Current State: 53:[72, 33, 53], Operations: ['58-5=53']
Exploring Operation: 72+33=105, Resulting Numbers: [53, 105]
Generated Node #0,2,0: 53:[53, 105] Operation: 72+33=105
Exploring Operation: 72-33=39, Resulting Numbers: [53, 39]
Generated Node #0,2,1: 53:[53, 39] Operation: 72-33=39
Exploring Operation: 33+53=86, Resulting Numbers: [72, 86]
Generated Node #0,2,2: 53:[72, 86] Operation: 33+53=86
Exploring Operation: 53-33=20, Resulting Numbers: [72, 20]
Generated Node #0,2,3: 53:[72, 20] Operation: 53-33=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[53, 39], Operations: ['58-5=53', '72-33=39']
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,53 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[53, 105], Operations: ['58-5=53', '72+33=105']
Exploring Operation: 53+105=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Exploring Operation: 105-53=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 53*105=5565, Resulting Numbers: [5565]
5565,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[72, 86], Operations: ['58-5=53', '33+53=86']
Exploring Operation: 72+86=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Exploring Operation: 72*86=6192, Resulting Numbers: [6192]
6192,53 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[72, 20], Operations: ['58-5=53', '53-33=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,53 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[72, 33, 63], Operations: ['58+5=63']
Exploring Operation: 72+33=105, Resulting Numbers: [63, 105]
Generated Node #0,1,0: 53:[63, 105] Operation: 72+33=105
Exploring Operation: 63-33=30, Resulting Numbers: [72, 30]
Generated Node #0,1,1: 53:[72, 30] Operation: 63-33=30
Exploring Operation: 33+63=96, Resulting Numbers: [72, 96]
Generated Node #0,1,2: 53:[72, 96] Operation: 33+63=96
Exploring Operation: 72-33=39, Resulting Numbers: [63, 39]
Generated Node #0,1,3: 53:[63, 39] Operation: 72-33=39
Moving to Node #0,0,1
Current State: 53:[58, 34], Operations: ['72-5=67', '67-33=34']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[58, 34], Operations: ['5+33=38', '72-38=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,53 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[63, 39], Operations: ['58+5=63', '72-33=39']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 63*39=2457, Resulting Numbers: [2457]
2457,53 unequal: No Solution
Exploring Operation: 63+39=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[67, 25], Operations: ['72-5=67', '58-33=25']
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[72, 30], Operations: ['58+5=63', '63-33=30']
Exploring Operation: 72*30=2160, Resulting Numbers: [2160]
2160,53 unequal: No Solution
Exploring Operation: 72+30=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[58, 100], Operations: ['72-5=67', '33+67=100']
Exploring Operation: 58+100=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Exploring Operation: 58*100=5800, Resulting Numbers: [5800]
5800,53 unequal: No Solution
Exploring Operation: 100-58=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[72, 20], Operations: ['5+33=38', '58-38=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,53 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[67, 91], Operations: ['72-5=67', '58+33=91']
Exploring Operation: 67*91=6097, Resulting Numbers: [6097]
6097,53 unequal: No Solution
Exploring Operation: 91-67=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 67+91=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[38, 14], Operations: ['5+33=38', '72-58=14']
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,53 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[72, 96], Operations: ['58+5=63', '33+63=96']
Exploring Operation: 72+96=168, Resulting Numbers: [168]
168,53 unequal: No Solution
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 72*96=6912, Resulting Numbers: [6912]
6912,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[63, 105], Operations: ['58+5=63', '72+33=105']
Exploring Operation: 63+105=168, Resulting Numbers: [168]
168,53 unequal: No Solution
Exploring Operation: 105-63=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 63*105=6615, Resulting Numbers: [6615]
6615,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[72, 96], Operations: ['5+33=38', '58+38=96']
Exploring Operation: 72+96=168, Resulting Numbers: [168]
168,53 unequal: No Solution
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 72*96=6912, Resulting Numbers: [6912]
6912,53 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
16,
79,
10,
81
] | 100
|
[
"79+81=160",
"160/16=10",
"10*10=100"
] |
Current State: 100:[16, 79, 10, 81], Operations: []
Exploring Operation: 79+81=160, Resulting Numbers: [16, 10, 160]
Generated Node #2: [16, 10, 160] from Operation: 79+81=160
Current State: 100:[16, 10, 160], Operations: ['79+81=160']
Exploring Operation: 160/16=10, Resulting Numbers: [10, 10]
Generated Node #3: [10, 10] from Operation: 160/16=10
Current State: 100:[10, 10], Operations: ['79+81=160', '160/16=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4
|
Current State: 100:[16, 79, 10, 81], Operations: []
Exploring Operation: 16+81=97, Resulting Numbers: [79, 10, 97]
Generated Node #0,0: 100:[79, 10, 97] Operation: 16+81=97
Exploring Operation: 79-16=63, Resulting Numbers: [10, 81, 63]
Generated Node #0,1: 100:[10, 81, 63] Operation: 79-16=63
Exploring Operation: 81-79=2, Resulting Numbers: [16, 10, 2]
Generated Node #0,2: 100:[16, 10, 2] Operation: 81-79=2
Exploring Operation: 16+79=95, Resulting Numbers: [10, 81, 95]
Generated Node #0,3: 100:[10, 81, 95] Operation: 16+79=95
Moving to Node #0,2
Current State: 100:[16, 10, 2], Operations: ['81-79=2']
Exploring Operation: 16+2=18, Resulting Numbers: [10, 18]
Generated Node #0,2,0: 100:[10, 18] Operation: 16+2=18
Exploring Operation: 16/2=8, Resulting Numbers: [10, 8]
Generated Node #0,2,1: 100:[10, 8] Operation: 16/2=8
Exploring Operation: 16+10=26, Resulting Numbers: [2, 26]
Generated Node #0,2,2: 100:[2, 26] Operation: 16+10=26
Exploring Operation: 16-10=6, Resulting Numbers: [2, 6]
Generated Node #0,2,3: 100:[2, 6] Operation: 16-10=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[2, 26], Operations: ['81-79=2', '16+10=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[2, 6], Operations: ['81-79=2', '16-10=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[10, 18], Operations: ['81-79=2', '16+2=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,100 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[10, 8], Operations: ['81-79=2', '16/2=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,100 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: 100:[10, 81, 95], Operations: ['16+79=95']
Exploring Operation: 10+81=91, Resulting Numbers: [95, 91]
Generated Node #0,3,0: 100:[95, 91] Operation: 10+81=91
Exploring Operation: 81-10=71, Resulting Numbers: [95, 71]
Generated Node #0,3,1: 100:[95, 71] Operation: 81-10=71
Exploring Operation: 10+95=105, Resulting Numbers: [81, 105]
Generated Node #0,3,2: 100:[81, 105] Operation: 10+95=105
Exploring Operation: 95-81=14, Resulting Numbers: [10, 14]
Generated Node #0,3,3: 100:[10, 14] Operation: 95-81=14
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[10, 14], Operations: ['16+79=95', '95-81=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,100 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[95, 91], Operations: ['16+79=95', '10+81=91']
Exploring Operation: 95-91=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 95*91=8645, Resulting Numbers: [8645]
8645,100 unequal: No Solution
Exploring Operation: 95+91=186, Resulting Numbers: [186]
186,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[81, 105], Operations: ['16+79=95', '10+95=105']
Exploring Operation: 105-81=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 81*105=8505, Resulting Numbers: [8505]
8505,100 unequal: No Solution
Exploring Operation: 81+105=186, Resulting Numbers: [186]
186,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[95, 71], Operations: ['16+79=95', '81-10=71']
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 95*71=6745, Resulting Numbers: [6745]
6745,100 unequal: No Solution
Exploring Operation: 95+71=166, Resulting Numbers: [166]
166,100 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: 100:[79, 10, 97], Operations: ['16+81=97']
Exploring Operation: 10+97=107, Resulting Numbers: [79, 107]
Generated Node #0,0,0: 100:[79, 107] Operation: 10+97=107
Exploring Operation: 79+10=89, Resulting Numbers: [97, 89]
Generated Node #0,0,1: 100:[97, 89] Operation: 79+10=89
Exploring Operation: 97-79=18, Resulting Numbers: [10, 18]
Generated Node #0,0,2: 100:[10, 18] Operation: 97-79=18
Exploring Operation: 79-10=69, Resulting Numbers: [97, 69]
Generated Node #0,0,3: 100:[97, 69] Operation: 79-10=69
Moving to Node #0,1
Current State: 100:[10, 81, 63], Operations: ['79-16=63']
Exploring Operation: 81-10=71, Resulting Numbers: [63, 71]
Generated Node #0,1,0: 100:[63, 71] Operation: 81-10=71
Exploring Operation: 10+81=91, Resulting Numbers: [63, 91]
Generated Node #0,1,1: 100:[63, 91] Operation: 10+81=91
Exploring Operation: 63-10=53, Resulting Numbers: [81, 53]
Generated Node #0,1,2: 100:[81, 53] Operation: 63-10=53
Exploring Operation: 81-63=18, Resulting Numbers: [10, 18]
Generated Node #0,1,3: 100:[10, 18] Operation: 81-63=18
Moving to Node #0,0,2
Current State: 100:[10, 18], Operations: ['16+81=97', '97-79=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,100 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[10, 18], Operations: ['79-16=63', '81-63=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[97, 89], Operations: ['16+81=97', '79+10=89']
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,100 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[97, 69], Operations: ['16+81=97', '79-10=69']
Exploring Operation: 97+69=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 97*69=6693, Resulting Numbers: [6693]
6693,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[63, 91], Operations: ['79-16=63', '10+81=91']
Exploring Operation: 63+91=154, Resulting Numbers: [154]
154,100 unequal: No Solution
Exploring Operation: 63*91=5733, Resulting Numbers: [5733]
5733,100 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[81, 53], Operations: ['79-16=63', '63-10=53']
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,100 unequal: No Solution
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[79, 107], Operations: ['16+81=97', '10+97=107']
Exploring Operation: 79*107=8453, Resulting Numbers: [8453]
8453,100 unequal: No Solution
Exploring Operation: 107-79=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 79+107=186, Resulting Numbers: [186]
186,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[63, 71], Operations: ['79-16=63', '81-10=71']
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 63*71=4473, Resulting Numbers: [4473]
4473,100 unequal: No Solution
Exploring Operation: 63+71=134, Resulting Numbers: [134]
134,100 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
61,
93,
19,
83
] | 96
|
[
"93-61=32",
"83-19=64",
"32+64=96"
] |
Current State: 96:[61, 93, 19, 83], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [19, 83, 32]
Generated Node #2: [19, 83, 32] from Operation: 93-61=32
Current State: 96:[19, 83, 32], Operations: ['93-61=32']
Exploring Operation: 83-19=64, Resulting Numbers: [32, 64]
Generated Node #3: [32, 64] from Operation: 83-19=64
Current State: 96:[32, 64], Operations: ['93-61=32', '83-19=64']
Exploring Operation: 32+64=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[61, 93, 19, 83], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [93, 19, 22]
Generated Node #0,0: 96:[93, 19, 22] Operation: 83-61=22
Exploring Operation: 93-61=32, Resulting Numbers: [19, 83, 32]
Generated Node #0,1: 96:[19, 83, 32] Operation: 93-61=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[93, 19, 22], Operations: ['83-61=22']
Exploring Operation: 22-19=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 96:[93, 3] Operation: 22-19=3
Exploring Operation: 19+22=41, Resulting Numbers: [93, 41]
Generated Node #0,0,1: 96:[93, 41] Operation: 19+22=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[93, 3], Operations: ['83-61=22', '22-19=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[61, 93, 19, 83], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [93, 19, 22]
Generated Node #0,0: 96:[93, 19, 22] Operation: 83-61=22
Moving to Node #0,0
Current State: 96:[93, 19, 22], Operations: ['83-61=22']
Exploring Operation: 22-19=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 96:[93, 3] Operation: 22-19=3
Moving to Node #0,0,0
Current State: 96:[93, 3], Operations: ['83-61=22', '22-19=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
7,
82,
21,
71
] | 33
|
[
"21/7=3",
"82-71=11",
"3*11=33"
] |
Current State: 33:[7, 82, 21, 71], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [82, 71, 3]
Generated Node #2: [82, 71, 3] from Operation: 21/7=3
Current State: 33:[82, 71, 3], Operations: ['21/7=3']
Exploring Operation: 82-71=11, Resulting Numbers: [3, 11]
Generated Node #3: [3, 11] from Operation: 82-71=11
Current State: 33:[3, 11], Operations: ['21/7=3', '82-71=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[7, 82, 21, 71], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [82, 71, 3]
Generated Node #0,0: 33:[82, 71, 3] Operation: 21/7=3
Exploring Operation: 71-21=50, Resulting Numbers: [7, 82, 50]
Generated Node #0,1: 33:[7, 82, 50] Operation: 71-21=50
Exploring Operation: 82-71=11, Resulting Numbers: [7, 21, 11]
Generated Node #0,2: 33:[7, 21, 11] Operation: 82-71=11
Exploring Operation: 82-21=61, Resulting Numbers: [7, 71, 61]
Generated Node #0,3: 33:[7, 71, 61] Operation: 82-21=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[7, 21, 11], Operations: ['82-71=11']
Exploring Operation: 7+21=28, Resulting Numbers: [11, 28]
Generated Node #0,2,0: 33:[11, 28] Operation: 7+21=28
Exploring Operation: 21/7=3, Resulting Numbers: [11, 3]
Generated Node #0,2,1: 33:[11, 3] Operation: 21/7=3
Exploring Operation: 21+11=32, Resulting Numbers: [7, 32]
Generated Node #0,2,2: 33:[7, 32] Operation: 21+11=32
Exploring Operation: 21-7=14, Resulting Numbers: [11, 14]
Generated Node #0,2,3: 33:[11, 14] Operation: 21-7=14
Moving to Node #0,2,1
Current State: 33:[11, 3], Operations: ['82-71=11', '21/7=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[7, 82, 21, 71], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [7, 21, 11]
Generated Node #0,2: 33:[7, 21, 11] Operation: 82-71=11
Moving to Node #0,2
Current State: 33:[7, 21, 11], Operations: ['82-71=11']
Exploring Operation: 21/7=3, Resulting Numbers: [11, 3]
Generated Node #0,2,1: 33:[11, 3] Operation: 21/7=3
Moving to Node #0,2,1
Current State: 33:[11, 3], Operations: ['82-71=11', '21/7=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
sum_heuristic
|
[
4,
95,
40,
39
] | 90
|
[
"95-4=91",
"40-39=1",
"91-1=90"
] |
Current State: 90:[4, 95, 40, 39], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [40, 39, 91]
Generated Node #2: [40, 39, 91] from Operation: 95-4=91
Current State: 90:[40, 39, 91], Operations: ['95-4=91']
Exploring Operation: 40-39=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 40-39=1
Current State: 90:[91, 1], Operations: ['95-4=91', '40-39=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[4, 95, 40, 39], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [95, 39, 10]
Generated Node #0,0: 90:[95, 39, 10] Operation: 40/4=10
Exploring Operation: 4+39=43, Resulting Numbers: [95, 40, 43]
Generated Node #0,1: 90:[95, 40, 43] Operation: 4+39=43
Exploring Operation: 4+40=44, Resulting Numbers: [95, 39, 44]
Generated Node #0,2: 90:[95, 39, 44] Operation: 4+40=44
Exploring Operation: 40-39=1, Resulting Numbers: [4, 95, 1]
Generated Node #0,3: 90:[4, 95, 1] Operation: 40-39=1
Exploring Operation: 95-4=91, Resulting Numbers: [40, 39, 91]
Generated Node #0,4: 90:[40, 39, 91] Operation: 95-4=91
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[4, 95, 1], Operations: ['40-39=1']
Exploring Operation: 95-4=91, Resulting Numbers: [1, 91]
Generated Node #0,3,0: 90:[1, 91] Operation: 95-4=91
Exploring Operation: 4*1=4, Resulting Numbers: [95, 4]
Generated Node #0,3,1: 90:[95, 4] Operation: 4*1=4
Exploring Operation: 95-1=94, Resulting Numbers: [4, 94]
Generated Node #0,3,2: 90:[4, 94] Operation: 95-1=94
Exploring Operation: 4+1=5, Resulting Numbers: [95, 5]
Generated Node #0,3,3: 90:[95, 5] Operation: 4+1=5
Exploring Operation: 4-1=3, Resulting Numbers: [95, 3]
Generated Node #0,3,4: 90:[95, 3] Operation: 4-1=3
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[1, 91], Operations: ['40-39=1', '95-4=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[4, 95, 40, 39], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [4, 95, 1]
Generated Node #0,3: 90:[4, 95, 1] Operation: 40-39=1
Moving to Node #0,3
Current State: 90:[4, 95, 1], Operations: ['40-39=1']
Exploring Operation: 95-4=91, Resulting Numbers: [1, 91]
Generated Node #0,3,0: 90:[1, 91] Operation: 95-4=91
Moving to Node #0,3,0
Current State: 90:[1, 91], Operations: ['40-39=1', '95-4=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
sum_heuristic
|
[
54,
2,
35,
15
] | 37
|
[
"54+35=89",
"89-15=74",
"74/2=37"
] |
Current State: 37:[54, 2, 35, 15], Operations: []
Exploring Operation: 54+35=89, Resulting Numbers: [2, 15, 89]
Generated Node #2: [2, 15, 89] from Operation: 54+35=89
Current State: 37:[2, 15, 89], Operations: ['54+35=89']
Exploring Operation: 89-15=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 89-15=74
Current State: 37:[2, 74], Operations: ['54+35=89', '89-15=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4
|
Current State: 37:[54, 2, 35, 15], Operations: []
Exploring Operation: 2+35=37, Resulting Numbers: [54, 15, 37]
Generated Node #0,0: 37:[54, 15, 37] Operation: 2+35=37
Exploring Operation: 2*15=30, Resulting Numbers: [54, 35, 30]
Generated Node #0,1: 37:[54, 35, 30] Operation: 2*15=30
Exploring Operation: 54-2=52, Resulting Numbers: [35, 15, 52]
Generated Node #0,2: 37:[35, 15, 52] Operation: 54-2=52
Exploring Operation: 54/2=27, Resulting Numbers: [35, 15, 27]
Generated Node #0,3: 37:[35, 15, 27] Operation: 54/2=27
Exploring Operation: 54-15=39, Resulting Numbers: [2, 35, 39]
Generated Node #0,4: 37:[2, 35, 39] Operation: 54-15=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[54, 35, 30], Operations: ['2*15=30']
Exploring Operation: 35-30=5, Resulting Numbers: [54, 5]
Generated Node #0,1,0: 37:[54, 5] Operation: 35-30=5
Exploring Operation: 54-30=24, Resulting Numbers: [35, 24]
Generated Node #0,1,1: 37:[35, 24] Operation: 54-30=24
Exploring Operation: 54+30=84, Resulting Numbers: [35, 84]
Generated Node #0,1,2: 37:[35, 84] Operation: 54+30=84
Exploring Operation: 54-35=19, Resulting Numbers: [30, 19]
Generated Node #0,1,3: 37:[30, 19] Operation: 54-35=19
Exploring Operation: 35+30=65, Resulting Numbers: [54, 65]
Generated Node #0,1,4: 37:[54, 65] Operation: 35+30=65
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[35, 24], Operations: ['2*15=30', '54-30=24']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,37 unequal: No Solution
No 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: 37:[30, 19], Operations: ['2*15=30', '54-35=19']
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,37 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,37 unequal: No Solution
No 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: 37:[54, 65], Operations: ['2*15=30', '35+30=65']
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 54*65=3510, Resulting Numbers: [3510]
3510,37 unequal: No Solution
Exploring Operation: 54+65=119, Resulting Numbers: [119]
119,37 unequal: No Solution
No 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: 37:[54, 5], Operations: ['2*15=30', '35-30=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,37 unequal: No Solution
No 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: 37:[35, 84], Operations: ['2*15=30', '54+30=84']
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,37 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: 37:[35, 15, 27], Operations: ['54/2=27']
Exploring Operation: 15+27=42, Resulting Numbers: [35, 42]
Generated Node #0,3,0: 37:[35, 42] Operation: 15+27=42
Exploring Operation: 35-15=20, Resulting Numbers: [27, 20]
Generated Node #0,3,1: 37:[27, 20] Operation: 35-15=20
Exploring Operation: 35+15=50, Resulting Numbers: [27, 50]
Generated Node #0,3,2: 37:[27, 50] Operation: 35+15=50
Exploring Operation: 35+27=62, Resulting Numbers: [15, 62]
Generated Node #0,3,3: 37:[15, 62] Operation: 35+27=62
Exploring Operation: 27-15=12, Resulting Numbers: [35, 12]
Generated Node #0,3,4: 37:[35, 12] Operation: 27-15=12
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[35, 42], Operations: ['54/2=27', '15+27=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,37 unequal: No Solution
No 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: 37:[27, 50], Operations: ['54/2=27', '35+15=50']
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,37 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,37 unequal: No Solution
No 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: 37:[27, 20], Operations: ['54/2=27', '35-15=20']
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,37 unequal: No Solution
No 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: 37:[35, 12], Operations: ['54/2=27', '27-15=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,37 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,37 unequal: No Solution
No 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: 37:[15, 62], Operations: ['54/2=27', '35+27=62']
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,37 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,37 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: 37:[54, 15, 37], Operations: ['2+35=37']
Exploring Operation: 15+37=52, Resulting Numbers: [54, 52]
Generated Node #0,0,0: 37:[54, 52] Operation: 15+37=52
Exploring Operation: 54-37=17, Resulting Numbers: [15, 17]
Generated Node #0,0,1: 37:[15, 17] Operation: 54-37=17
Exploring Operation: 37-15=22, Resulting Numbers: [54, 22]
Generated Node #0,0,2: 37:[54, 22] Operation: 37-15=22
Exploring Operation: 54-15=39, Resulting Numbers: [37, 39]
Generated Node #0,0,3: 37:[37, 39] Operation: 54-15=39
Exploring Operation: 54+15=69, Resulting Numbers: [37, 69]
Generated Node #0,0,4: 37:[37, 69] Operation: 54+15=69
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[37, 39], Operations: ['2+35=37', '54-15=39']
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,37 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No 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: 37:[54, 52], Operations: ['2+35=37', '15+37=52']
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,37 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,37 unequal: No Solution
No 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: 37:[54, 22], Operations: ['2+35=37', '37-15=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,37 unequal: No Solution
No 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: 37:[37, 69], Operations: ['2+35=37', '54+15=69']
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,37 unequal: No Solution
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,37 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,37 unequal: No Solution
No 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: 37:[15, 17], Operations: ['2+35=37', '54-37=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,37 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,37 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: 37:[35, 15, 52], Operations: ['54-2=52']
Exploring Operation: 15+52=67, Resulting Numbers: [35, 67]
Generated Node #0,2,0: 37:[35, 67] Operation: 15+52=67
Exploring Operation: 35+15=50, Resulting Numbers: [52, 50]
Generated Node #0,2,1: 37:[52, 50] Operation: 35+15=50
Exploring Operation: 52-15=37, Resulting Numbers: [35, 37]
Generated Node #0,2,2: 37:[35, 37] Operation: 52-15=37
Exploring Operation: 35-15=20, Resulting Numbers: [52, 20]
Generated Node #0,2,3: 37:[52, 20] Operation: 35-15=20
Exploring Operation: 52-35=17, Resulting Numbers: [15, 17]
Generated Node #0,2,4: 37:[15, 17] Operation: 52-35=17
Moving to Node #0,2,2
Current State: 37:[35, 37], Operations: ['54-2=52', '52-15=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,37 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[52, 50], Operations: ['54-2=52', '35+15=50']
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,37 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[35, 67], Operations: ['54-2=52', '15+52=67']
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,37 unequal: No Solution
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[52, 20], Operations: ['54-2=52', '35-15=20']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[15, 17], Operations: ['54-2=52', '52-35=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,37 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[2, 35, 39], Operations: ['54-15=39']
Exploring Operation: 2+35=37, Resulting Numbers: [39, 37]
Generated Node #0,4,0: 37:[39, 37] Operation: 2+35=37
Exploring Operation: 2+39=41, Resulting Numbers: [35, 41]
Generated Node #0,4,1: 37:[35, 41] Operation: 2+39=41
Exploring Operation: 2*35=70, Resulting Numbers: [39, 70]
Generated Node #0,4,2: 37:[39, 70] Operation: 2*35=70
Exploring Operation: 35-2=33, Resulting Numbers: [39, 33]
Generated Node #0,4,3: 37:[39, 33] Operation: 35-2=33
Exploring Operation: 39-2=37, Resulting Numbers: [35, 37]
Generated Node #0,4,4: 37:[35, 37] Operation: 39-2=37
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 37:[39, 37], Operations: ['54-15=39', '2+35=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,37 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No 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: 37:[35, 37], Operations: ['54-15=39', '39-2=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,37 unequal: No Solution
No 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: 37:[35, 41], Operations: ['54-15=39', '2+39=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,37 unequal: No Solution
No 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: 37:[39, 33], Operations: ['54-15=39', '35-2=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 37:[39, 70], Operations: ['54-15=39', '2*35=70']
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
25,
96,
56,
84
] | 32
|
[
"25+56=81",
"84-81=3",
"96/3=32"
] |
Current State: 32:[25, 96, 56, 84], Operations: []
Exploring Operation: 25+56=81, Resulting Numbers: [96, 84, 81]
Generated Node #2: [96, 84, 81] from Operation: 25+56=81
Current State: 32:[96, 84, 81], Operations: ['25+56=81']
Exploring Operation: 84-81=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 84-81=3
Current State: 32:[96, 3], Operations: ['25+56=81', '84-81=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[25, 96, 56, 84], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [25, 56, 12]
Generated Node #0,0: 32:[25, 56, 12] Operation: 96-84=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[25, 56, 12], Operations: ['96-84=12']
Exploring Operation: 56-25=31, Resulting Numbers: [12, 31]
Generated Node #0,0,0: 32:[12, 31] Operation: 56-25=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[12, 31], Operations: ['96-84=12', '56-25=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
18,
39,
31,
15
] | 73
|
[
"18+39=57",
"31-15=16",
"57+16=73"
] |
Current State: 73:[18, 39, 31, 15], Operations: []
Exploring Operation: 18+39=57, Resulting Numbers: [31, 15, 57]
Generated Node #2: [31, 15, 57] from Operation: 18+39=57
Current State: 73:[31, 15, 57], Operations: ['18+39=57']
Exploring Operation: 31-15=16, Resulting Numbers: [57, 16]
Generated Node #3: [57, 16] from Operation: 31-15=16
Current State: 73:[57, 16], Operations: ['18+39=57', '31-15=16']
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[18, 39, 31, 15], Operations: []
Exploring Operation: 18+39=57, Resulting Numbers: [31, 15, 57]
Generated Node #0,0: 73:[31, 15, 57] Operation: 18+39=57
Exploring Operation: 39+31=70, Resulting Numbers: [18, 15, 70]
Generated Node #0,1: 73:[18, 15, 70] Operation: 39+31=70
Exploring Operation: 18+31=49, Resulting Numbers: [39, 15, 49]
Generated Node #0,2: 73:[39, 15, 49] Operation: 18+31=49
Exploring Operation: 18+15=33, Resulting Numbers: [39, 31, 33]
Generated Node #0,3: 73:[39, 31, 33] Operation: 18+15=33
Moving to Node #0,0
Current State: 73:[31, 15, 57], Operations: ['18+39=57']
Exploring Operation: 15+57=72, Resulting Numbers: [31, 72]
Generated Node #0,0,0: 73:[31, 72] Operation: 15+57=72
Exploring Operation: 31+57=88, Resulting Numbers: [15, 88]
Generated Node #0,0,1: 73:[15, 88] Operation: 31+57=88
Exploring Operation: 31+15=46, Resulting Numbers: [57, 46]
Generated Node #0,0,2: 73:[57, 46] Operation: 31+15=46
Exploring Operation: 31-15=16, Resulting Numbers: [57, 16]
Generated Node #0,0,3: 73:[57, 16] Operation: 31-15=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[31, 72], Operations: ['18+39=57', '15+57=72']
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[57, 46], Operations: ['18+39=57', '31+15=46']
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,73 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[15, 88], Operations: ['18+39=57', '31+57=88']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[18, 39, 31, 15], Operations: []
Exploring Operation: 18+39=57, Resulting Numbers: [31, 15, 57]
Generated Node #0,0: 73:[31, 15, 57] Operation: 18+39=57
Moving to Node #0,0
Current State: 73:[31, 15, 57], Operations: ['18+39=57']
Exploring Operation: 31+57=88, Resulting Numbers: [15, 88]
Generated Node #0,0,1: 73:[15, 88] Operation: 31+57=88
Moving to Node #0,0,1
Current State: 73:[15, 88], Operations: ['18+39=57', '31+57=88']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_4
|
mult_heuristic
|
[
76,
45,
73,
50
] | 54
|
[
"76-45=31",
"73-50=23",
"31+23=54"
] |
Current State: 54:[76, 45, 73, 50], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [73, 50, 31]
Generated Node #2: [73, 50, 31] from Operation: 76-45=31
Current State: 54:[73, 50, 31], Operations: ['76-45=31']
Exploring Operation: 73-50=23, Resulting Numbers: [31, 23]
Generated Node #3: [31, 23] from Operation: 73-50=23
Current State: 54:[31, 23], Operations: ['76-45=31', '73-50=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[76, 45, 73, 50], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [73, 50, 31]
Generated Node #0,0: 54:[73, 50, 31] Operation: 76-45=31
Exploring Operation: 76-73=3, Resulting Numbers: [45, 50, 3]
Generated Node #0,1: 54:[45, 50, 3] Operation: 76-73=3
Moving to Node #0,1
Current State: 54:[45, 50, 3], Operations: ['76-73=3']
Exploring Operation: 50-45=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 54:[3, 5] Operation: 50-45=5
Exploring Operation: 45/3=15, Resulting Numbers: [50, 15]
Generated Node #0,1,1: 54:[50, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[3, 5], Operations: ['76-73=3', '50-45=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[50, 15], Operations: ['76-73=3', '45/3=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,54 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: 54:[73, 50, 31], Operations: ['76-45=31']
Exploring Operation: 73-50=23, Resulting Numbers: [31, 23]
Generated Node #0,0,0: 54:[31, 23] Operation: 73-50=23
Exploring Operation: 73-31=42, Resulting Numbers: [50, 42]
Generated Node #0,0,1: 54:[50, 42] Operation: 73-31=42
Moving to Node #0,0,0
Current State: 54:[31, 23], Operations: ['76-45=31', '73-50=23']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[76, 45, 73, 50], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [73, 50, 31]
Generated Node #0,0: 54:[73, 50, 31] Operation: 76-45=31
Moving to Node #0,0
Current State: 54:[73, 50, 31], Operations: ['76-45=31']
Exploring Operation: 73-50=23, Resulting Numbers: [31, 23]
Generated Node #0,0,0: 54:[31, 23] Operation: 73-50=23
Moving to Node #0,0,0
Current State: 54:[31, 23], Operations: ['76-45=31', '73-50=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.986111
|
hs_2
|
sum_heuristic
|
[
16,
46,
80,
21
] | 89
|
[
"46-16=30",
"80-21=59",
"30+59=89"
] |
Current State: 89:[16, 46, 80, 21], Operations: []
Exploring Operation: 46-16=30, Resulting Numbers: [80, 21, 30]
Generated Node #2: [80, 21, 30] from Operation: 46-16=30
Current State: 89:[80, 21, 30], Operations: ['46-16=30']
Exploring Operation: 80-21=59, Resulting Numbers: [30, 59]
Generated Node #3: [30, 59] from Operation: 80-21=59
Current State: 89:[30, 59], Operations: ['46-16=30', '80-21=59']
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4
|
Current State: 89:[16, 46, 80, 21], Operations: []
Exploring Operation: 16+80=96, Resulting Numbers: [46, 21, 96]
Generated Node #0,0: 89:[46, 21, 96] Operation: 16+80=96
Exploring Operation: 16+46=62, Resulting Numbers: [80, 21, 62]
Generated Node #0,1: 89:[80, 21, 62] Operation: 16+46=62
Exploring Operation: 46+21=67, Resulting Numbers: [16, 80, 67]
Generated Node #0,2: 89:[16, 80, 67] Operation: 46+21=67
Exploring Operation: 16+21=37, Resulting Numbers: [46, 80, 37]
Generated Node #0,3: 89:[46, 80, 37] Operation: 16+21=37
Moving to Node #0,1
Current State: 89:[80, 21, 62], Operations: ['16+46=62']
Exploring Operation: 62-21=41, Resulting Numbers: [80, 41]
Generated Node #0,1,0: 89:[80, 41] Operation: 62-21=41
Exploring Operation: 80+21=101, Resulting Numbers: [62, 101]
Generated Node #0,1,1: 89:[62, 101] Operation: 80+21=101
Exploring Operation: 80-21=59, Resulting Numbers: [62, 59]
Generated Node #0,1,2: 89:[62, 59] Operation: 80-21=59
Exploring Operation: 21+62=83, Resulting Numbers: [80, 83]
Generated Node #0,1,3: 89:[80, 83] Operation: 21+62=83
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[80, 83], Operations: ['16+46=62', '21+62=83']
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,89 unequal: No Solution
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[62, 101], Operations: ['16+46=62', '80+21=101']
Exploring Operation: 101-62=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 62+101=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 62*101=6262, Resulting Numbers: [6262]
6262,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[80, 41], Operations: ['16+46=62', '62-21=41']
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,89 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,89 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[62, 59], Operations: ['16+46=62', '80-21=59']
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,89 unequal: No Solution
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,89 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: 89:[46, 80, 37], Operations: ['16+21=37']
Exploring Operation: 46-37=9, Resulting Numbers: [80, 9]
Generated Node #0,3,0: 89:[80, 9] Operation: 46-37=9
Exploring Operation: 80+37=117, Resulting Numbers: [46, 117]
Generated Node #0,3,1: 89:[46, 117] Operation: 80+37=117
Exploring Operation: 46+80=126, Resulting Numbers: [37, 126]
Generated Node #0,3,2: 89:[37, 126] Operation: 46+80=126
Exploring Operation: 46+37=83, Resulting Numbers: [80, 83]
Generated Node #0,3,3: 89:[80, 83] Operation: 46+37=83
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[80, 83], Operations: ['16+21=37', '46+37=83']
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[46, 117], Operations: ['16+21=37', '80+37=117']
Exploring Operation: 46*117=5382, Resulting Numbers: [5382]
5382,89 unequal: No Solution
Exploring Operation: 46+117=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 117-46=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,3,0
Current State: 89:[80, 9], Operations: ['16+21=37', '46-37=9']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[16, 46, 80, 21], Operations: []
Exploring Operation: 16+21=37, Resulting Numbers: [46, 80, 37]
Generated Node #0,3: 89:[46, 80, 37] Operation: 16+21=37
Moving to Node #0,3
Current State: 89:[46, 80, 37], Operations: ['16+21=37']
Exploring Operation: 46-37=9, Resulting Numbers: [80, 9]
Generated Node #0,3,0: 89:[80, 9] Operation: 46-37=9
Moving to Node #0,3,0
Current State: 89:[80, 9], Operations: ['16+21=37', '46-37=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875
|
hs_4
|
sum_heuristic
|
[
52,
13,
70,
2
] | 68
|
[
"52/13=4",
"70+2=72",
"72-4=68"
] |
Current State: 68:[52, 13, 70, 2], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [70, 2, 4]
Generated Node #2: [70, 2, 4] from Operation: 52/13=4
Current State: 68:[70, 2, 4], Operations: ['52/13=4']
Exploring Operation: 70+2=72, Resulting Numbers: [4, 72]
Generated Node #3: [4, 72] from Operation: 70+2=72
Current State: 68:[4, 72], Operations: ['52/13=4', '70+2=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[52, 13, 70, 2], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [13, 2, 18]
Generated Node #0,0: 68:[13, 2, 18] Operation: 70-52=18
Exploring Operation: 52/13=4, Resulting Numbers: [70, 2, 4]
Generated Node #0,1: 68:[70, 2, 4] Operation: 52/13=4
Exploring Operation: 52+13=65, Resulting Numbers: [70, 2, 65]
Generated Node #0,2: 68:[70, 2, 65] Operation: 52+13=65
Exploring Operation: 52-13=39, Resulting Numbers: [70, 2, 39]
Generated Node #0,3: 68:[70, 2, 39] Operation: 52-13=39
Exploring Operation: 52/2=26, Resulting Numbers: [13, 70, 26]
Generated Node #0,4: 68:[13, 70, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[70, 2, 4], Operations: ['52/13=4']
Exploring Operation: 4/2=2, Resulting Numbers: [70, 2]
Generated Node #0,1,0: 68:[70, 2] Operation: 4/2=2
Exploring Operation: 70/2=35, Resulting Numbers: [4, 35]
Generated Node #0,1,1: 68:[4, 35] Operation: 70/2=35
Exploring Operation: 4-2=2, Resulting Numbers: [70, 2]
Generated Node #0,1,2: 68:[70, 2] Operation: 4-2=2
Exploring Operation: 70-4=66, Resulting Numbers: [2, 66]
Generated Node #0,1,3: 68:[2, 66] Operation: 70-4=66
Exploring Operation: 70-2=68, Resulting Numbers: [4, 68]
Generated Node #0,1,4: 68:[4, 68] Operation: 70-2=68
Moving to Node #0,1,4
Current State: 68:[4, 68], Operations: ['52/13=4', '70-2=68']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,68 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[4, 35], Operations: ['52/13=4', '70/2=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[70, 2], Operations: ['52/13=4', '4/2=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[52, 13, 70, 2], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [70, 2, 4]
Generated Node #0,1: 68:[70, 2, 4] Operation: 52/13=4
Moving to Node #0,1
Current State: 68:[70, 2, 4], Operations: ['52/13=4']
Exploring Operation: 4/2=2, Resulting Numbers: [70, 2]
Generated Node #0,1,0: 68:[70, 2] Operation: 4/2=2
Moving to Node #0,1,0
Current State: 68:[70, 2], Operations: ['52/13=4', '4/2=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035
|
hs_5
|
sum_heuristic
|
[
16,
82,
75,
70
] | 93
|
[
"16+82=98",
"75-70=5",
"98-5=93"
] |
Current State: 93:[16, 82, 75, 70], Operations: []
Exploring Operation: 16+82=98, Resulting Numbers: [75, 70, 98]
Generated Node #2: [75, 70, 98] from Operation: 16+82=98
Current State: 93:[75, 70, 98], Operations: ['16+82=98']
Exploring Operation: 75-70=5, Resulting Numbers: [98, 5]
Generated Node #3: [98, 5] from Operation: 75-70=5
Current State: 93:[98, 5], Operations: ['16+82=98', '75-70=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[16, 82, 75, 70], Operations: []
Exploring Operation: 16+70=86, Resulting Numbers: [82, 75, 86]
Generated Node #0,0: 93:[82, 75, 86] Operation: 16+70=86
Exploring Operation: 75-70=5, Resulting Numbers: [16, 82, 5]
Generated Node #0,1: 93:[16, 82, 5] Operation: 75-70=5
Exploring Operation: 82-75=7, Resulting Numbers: [16, 70, 7]
Generated Node #0,2: 93:[16, 70, 7] Operation: 82-75=7
Exploring Operation: 16+75=91, Resulting Numbers: [82, 70, 91]
Generated Node #0,3: 93:[82, 70, 91] Operation: 16+75=91
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[16, 82, 5], Operations: ['75-70=5']
Exploring Operation: 16-5=11, Resulting Numbers: [82, 11]
Generated Node #0,1,0: 93:[82, 11] Operation: 16-5=11
Exploring Operation: 16+82=98, Resulting Numbers: [5, 98]
Generated Node #0,1,1: 93:[5, 98] Operation: 16+82=98
Exploring Operation: 16+5=21, Resulting Numbers: [82, 21]
Generated Node #0,1,2: 93:[82, 21] Operation: 16+5=21
Exploring Operation: 82+5=87, Resulting Numbers: [16, 87]
Generated Node #0,1,3: 93:[16, 87] Operation: 82+5=87
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[5, 98], Operations: ['75-70=5', '16+82=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[16, 82, 75, 70], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [16, 82, 5]
Generated Node #0,1: 93:[16, 82, 5] Operation: 75-70=5
Moving to Node #0,1
Current State: 93:[16, 82, 5], Operations: ['75-70=5']
Exploring Operation: 16+82=98, Resulting Numbers: [5, 98]
Generated Node #0,1,1: 93:[5, 98] Operation: 16+82=98
Moving to Node #0,1,1
Current State: 93:[5, 98], Operations: ['75-70=5', '16+82=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
[
90,
28,
10,
70
] | 86
|
[
"28*10=280",
"280/70=4",
"90-4=86"
] |
Current State: 86:[90, 28, 10, 70], Operations: []
Exploring Operation: 28*10=280, Resulting Numbers: [90, 70, 280]
Generated Node #2: [90, 70, 280] from Operation: 28*10=280
Current State: 86:[90, 70, 280], Operations: ['28*10=280']
Exploring Operation: 280/70=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 280/70=4
Current State: 86:[90, 4], Operations: ['28*10=280', '280/70=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4
|
Current State: 86:[90, 28, 10, 70], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [90, 10, 42]
Generated Node #0,0: 86:[90, 10, 42] Operation: 70-28=42
Exploring Operation: 28+70=98, Resulting Numbers: [90, 10, 98]
Generated Node #0,1: 86:[90, 10, 98] Operation: 28+70=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[90, 10, 42], Operations: ['70-28=42']
Exploring Operation: 90/10=9, Resulting Numbers: [42, 9]
Generated Node #0,0,0: 86:[42, 9] Operation: 90/10=9
Exploring Operation: 90-10=80, Resulting Numbers: [42, 80]
Generated Node #0,0,1: 86:[42, 80] Operation: 90-10=80
Moving to Node #0,0,1
Current State: 86:[42, 80], Operations: ['70-28=42', '90-10=80']
Exploring Operation: 42+80=122, Resulting Numbers: [122]
122,86 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[42, 9], Operations: ['70-28=42', '90/10=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,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
Current State: 86:[90, 10, 98], Operations: ['28+70=98']
Exploring Operation: 98-90=8, Resulting Numbers: [10, 8]
Generated Node #0,1,0: 86:[10, 8] Operation: 98-90=8
Exploring Operation: 98-10=88, Resulting Numbers: [90, 88]
Generated Node #0,1,1: 86:[90, 88] Operation: 98-10=88
Moving to Node #0,1,1
Current State: 86:[90, 88], Operations: ['28+70=98', '98-10=88']
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,86 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[10, 8], Operations: ['28+70=98', '98-90=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,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
|
sum_heuristic
|
[
71,
17,
23,
86
] | 21
|
[
"71+17=88",
"23+86=109",
"109-88=21"
] |
Current State: 21:[71, 17, 23, 86], Operations: []
Exploring Operation: 71+17=88, Resulting Numbers: [23, 86, 88]
Generated Node #2: [23, 86, 88] from Operation: 71+17=88
Current State: 21:[23, 86, 88], Operations: ['71+17=88']
Exploring Operation: 23+86=109, Resulting Numbers: [88, 109]
Generated Node #3: [88, 109] from Operation: 23+86=109
Current State: 21:[88, 109], Operations: ['71+17=88', '23+86=109']
Exploring Operation: 109-88=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[71, 17, 23, 86], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [17, 23, 15]
Generated Node #0,0: 21:[17, 23, 15] Operation: 86-71=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[17, 23, 15], Operations: ['86-71=15']
Exploring Operation: 17-15=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 21:[23, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 21:[23, 2], Operations: ['86-71=15', '17-15=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[71, 17, 23, 86], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [17, 23, 15]
Generated Node #0,0: 21:[17, 23, 15] Operation: 86-71=15
Moving to Node #0,0
Current State: 21:[17, 23, 15], Operations: ['86-71=15']
Exploring Operation: 17-15=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 21:[23, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 21:[23, 2], Operations: ['86-71=15', '17-15=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
11,
8,
32,
23
] | 97
|
[
"11*8=88",
"32-23=9",
"88+9=97"
] |
Current State: 97:[11, 8, 32, 23], Operations: []
Exploring Operation: 11*8=88, Resulting Numbers: [32, 23, 88]
Generated Node #2: [32, 23, 88] from Operation: 11*8=88
Current State: 97:[32, 23, 88], Operations: ['11*8=88']
Exploring Operation: 32-23=9, Resulting Numbers: [88, 9]
Generated Node #3: [88, 9] from Operation: 32-23=9
Current State: 97:[88, 9], Operations: ['11*8=88', '32-23=9']
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[11, 8, 32, 23], Operations: []
Exploring Operation: 8+32=40, Resulting Numbers: [11, 23, 40]
Generated Node #0,0: 97:[11, 23, 40] Operation: 8+32=40
Exploring Operation: 11+32=43, Resulting Numbers: [8, 23, 43]
Generated Node #0,1: 97:[8, 23, 43] Operation: 11+32=43
Exploring Operation: 11+8=19, Resulting Numbers: [32, 23, 19]
Generated Node #0,2: 97:[32, 23, 19] Operation: 11+8=19
Exploring Operation: 11+23=34, Resulting Numbers: [8, 32, 34]
Generated Node #0,3: 97:[8, 32, 34] Operation: 11+23=34
Exploring Operation: 11*8=88, Resulting Numbers: [32, 23, 88]
Generated Node #0,4: 97:[32, 23, 88] Operation: 11*8=88
Moving to Node #0,4
Current State: 97:[32, 23, 88], Operations: ['11*8=88']
Exploring Operation: 23+88=111, Resulting Numbers: [32, 111]
Generated Node #0,4,0: 97:[32, 111] Operation: 23+88=111
Exploring Operation: 88-23=65, Resulting Numbers: [32, 65]
Generated Node #0,4,1: 97:[32, 65] Operation: 88-23=65
Exploring Operation: 32+23=55, Resulting Numbers: [88, 55]
Generated Node #0,4,2: 97:[88, 55] Operation: 32+23=55
Exploring Operation: 32-23=9, Resulting Numbers: [88, 9]
Generated Node #0,4,3: 97:[88, 9] Operation: 32-23=9
Exploring Operation: 32+88=120, Resulting Numbers: [23, 120]
Generated Node #0,4,4: 97:[23, 120] Operation: 32+88=120
Moving to Node #0,1
Current State: 97:[8, 23, 43], Operations: ['11+32=43']
Exploring Operation: 8+23=31, Resulting Numbers: [43, 31]
Generated Node #0,1,0: 97:[43, 31] Operation: 8+23=31
Exploring Operation: 43-8=35, Resulting Numbers: [23, 35]
Generated Node #0,1,1: 97:[23, 35] Operation: 43-8=35
Exploring Operation: 23+43=66, Resulting Numbers: [8, 66]
Generated Node #0,1,2: 97:[8, 66] Operation: 23+43=66
Exploring Operation: 8+43=51, Resulting Numbers: [23, 51]
Generated Node #0,1,3: 97:[23, 51] Operation: 8+43=51
Exploring Operation: 23-8=15, Resulting Numbers: [43, 15]
Generated Node #0,1,4: 97:[43, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[43, 31], Operations: ['11+32=43', '8+23=31']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,97 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[8, 66], Operations: ['11+32=43', '23+43=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,97 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[23, 51], Operations: ['11+32=43', '8+43=51']
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[23, 35], Operations: ['11+32=43', '43-8=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,97 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[43, 15], Operations: ['11+32=43', '23-8=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[8, 32, 34], Operations: ['11+23=34']
Exploring Operation: 8+32=40, Resulting Numbers: [34, 40]
Generated Node #0,3,0: 97:[34, 40] Operation: 8+32=40
Exploring Operation: 34-8=26, Resulting Numbers: [32, 26]
Generated Node #0,3,1: 97:[32, 26] Operation: 34-8=26
Exploring Operation: 32+34=66, Resulting Numbers: [8, 66]
Generated Node #0,3,2: 97:[8, 66] Operation: 32+34=66
Exploring Operation: 8+34=42, Resulting Numbers: [32, 42]
Generated Node #0,3,3: 97:[32, 42] Operation: 8+34=42
Exploring Operation: 32-8=24, Resulting Numbers: [34, 24]
Generated Node #0,3,4: 97:[34, 24] Operation: 32-8=24
Moving to Node #0,0
Current State: 97:[11, 23, 40], Operations: ['8+32=40']
Exploring Operation: 23-11=12, Resulting Numbers: [40, 12]
Generated Node #0,0,0: 97:[40, 12] Operation: 23-11=12
Exploring Operation: 23+40=63, Resulting Numbers: [11, 63]
Generated Node #0,0,1: 97:[11, 63] Operation: 23+40=63
Exploring Operation: 40-11=29, Resulting Numbers: [23, 29]
Generated Node #0,0,2: 97:[23, 29] Operation: 40-11=29
Exploring Operation: 11+40=51, Resulting Numbers: [23, 51]
Generated Node #0,0,3: 97:[23, 51] Operation: 11+40=51
Exploring Operation: 11+23=34, Resulting Numbers: [40, 34]
Generated Node #0,0,4: 97:[40, 34] Operation: 11+23=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[11, 63], Operations: ['8+32=40', '23+40=63']
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,97 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[23, 51], Operations: ['8+32=40', '11+40=51']
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,97 unequal: No Solution
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[40, 34], Operations: ['8+32=40', '11+23=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,97 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[40, 12], Operations: ['8+32=40', '23-11=12']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,97 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[23, 29], Operations: ['8+32=40', '40-11=29']
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,97 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[32, 23, 19], Operations: ['11+8=19']
Exploring Operation: 23+19=42, Resulting Numbers: [32, 42]
Generated Node #0,2,0: 97:[32, 42] Operation: 23+19=42
Exploring Operation: 23-19=4, Resulting Numbers: [32, 4]
Generated Node #0,2,1: 97:[32, 4] Operation: 23-19=4
Exploring Operation: 32-19=13, Resulting Numbers: [23, 13]
Generated Node #0,2,2: 97:[23, 13] Operation: 32-19=13
Exploring Operation: 32+19=51, Resulting Numbers: [23, 51]
Generated Node #0,2,3: 97:[23, 51] Operation: 32+19=51
Exploring Operation: 32+23=55, Resulting Numbers: [19, 55]
Generated Node #0,2,4: 97:[19, 55] Operation: 32+23=55
Moving to Node #0,4,2
Current State: 97:[88, 55], Operations: ['11*8=88', '32+23=55']
Exploring Operation: 88+55=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 88*55=4840, Resulting Numbers: [4840]
4840,97 unequal: No Solution
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[32, 111], Operations: ['11*8=88', '23+88=111']
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 32*111=3552, Resulting Numbers: [3552]
3552,97 unequal: No Solution
Exploring Operation: 32+111=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[32, 65], Operations: ['11*8=88', '88-23=65']
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,97 unequal: No Solution
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[11, 8, 32, 23], Operations: []
Exploring Operation: 11*8=88, Resulting Numbers: [32, 23, 88]
Generated Node #0,4: 97:[32, 23, 88] Operation: 11*8=88
Moving to Node #0,4
Current State: 97:[32, 23, 88], Operations: ['11*8=88']
Exploring Operation: 88-23=65, Resulting Numbers: [32, 65]
Generated Node #0,4,1: 97:[32, 65] Operation: 88-23=65
Moving to Node #0,4,1
Current State: 97:[32, 65], Operations: ['11*8=88', '88-23=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.9375
|
hs_5
|
mult_heuristic
|
[
66,
28,
28,
85
] | 85
|
[
"28-28=0",
"66*0=0",
"85+0=85"
] |
Current State: 85:[66, 28, 28, 85], Operations: []
Exploring Operation: 28-28=0, Resulting Numbers: [66, 85, 0]
Generated Node #2: [66, 85, 0] from Operation: 28-28=0
Current State: 85:[66, 85, 0], Operations: ['28-28=0']
Exploring Operation: 66*0=0, Resulting Numbers: [85, 0]
Generated Node #3: [85, 0] from Operation: 66*0=0
Current State: 85:[85, 0], Operations: ['28-28=0', '66*0=0']
Exploring Operation: 85+0=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[66, 28, 28, 85], Operations: []
Exploring Operation: 28/28=1, Resulting Numbers: [66, 85, 1]
Generated Node #0,0: 85:[66, 85, 1] Operation: 28/28=1
Exploring Operation: 66+28=94, Resulting Numbers: [28, 85, 94]
Generated Node #0,1: 85:[28, 85, 94] Operation: 66+28=94
Exploring Operation: 66+28=94, Resulting Numbers: [28, 85, 94]
Generated Node #0,2: 85:[28, 85, 94] Operation: 66+28=94
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[28, 85, 94], Operations: ['66+28=94']
Exploring Operation: 28+85=113, Resulting Numbers: [94, 113]
Generated Node #0,1,0: 85:[94, 113] Operation: 28+85=113
Exploring Operation: 94-28=66, Resulting Numbers: [85, 66]
Generated Node #0,1,1: 85:[85, 66] Operation: 94-28=66
Exploring Operation: 94-85=9, Resulting Numbers: [28, 9]
Generated Node #0,1,2: 85:[28, 9] Operation: 94-85=9
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[28, 9], Operations: ['66+28=94', '94-85=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,85 unequal: No Solution
No 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: 85:[85, 66], Operations: ['66+28=94', '94-28=66']
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,85 unequal: No Solution
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,85 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,85 unequal: No Solution
No 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: 85:[94, 113], Operations: ['66+28=94', '28+85=113']
Exploring Operation: 94*113=10622, Resulting Numbers: [10622]
10622,85 unequal: No Solution
Exploring Operation: 113-94=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 94+113=207, Resulting Numbers: [207]
207,85 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: 85:[28, 85, 94], Operations: ['66+28=94']
Exploring Operation: 94-28=66, Resulting Numbers: [85, 66]
Generated Node #0,2,0: 85:[85, 66] Operation: 94-28=66
Exploring Operation: 94-85=9, Resulting Numbers: [28, 9]
Generated Node #0,2,1: 85:[28, 9] Operation: 94-85=9
Exploring Operation: 28+85=113, Resulting Numbers: [94, 113]
Generated Node #0,2,2: 85:[94, 113] Operation: 28+85=113
Moving to Node #0,2,1
Current State: 85:[28, 9], Operations: ['66+28=94', '94-85=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,85 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[85, 66], Operations: ['66+28=94', '94-28=66']
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,85 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[94, 113], Operations: ['66+28=94', '28+85=113']
Exploring Operation: 113-94=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 94*113=10622, Resulting Numbers: [10622]
10622,85 unequal: No Solution
Exploring Operation: 94+113=207, Resulting Numbers: [207]
207,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
Current State: 85:[66, 85, 1], Operations: ['28/28=1']
Exploring Operation: 66*1=66, Resulting Numbers: [85, 66]
Generated Node #0,0,0: 85:[85, 66] Operation: 66*1=66
Exploring Operation: 85-66=19, Resulting Numbers: [1, 19]
Generated Node #0,0,1: 85:[1, 19] Operation: 85-66=19
Exploring Operation: 66+1=67, Resulting Numbers: [85, 67]
Generated Node #0,0,2: 85:[85, 67] Operation: 66+1=67
Moving to Node #0,0,1
Current State: 85:[1, 19], Operations: ['28/28=1', '85-66=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[85, 67], Operations: ['28/28=1', '66+1=67']
Exploring Operation: 85+67=152, Resulting Numbers: [152]
152,85 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 85*67=5695, Resulting Numbers: [5695]
5695,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[85, 66], Operations: ['28/28=1', '66*1=66']
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,85 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,85 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,85 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
|
[
58,
42,
3,
48
] | 44
|
[
"58+42=100",
"3*48=144",
"144-100=44"
] |
Current State: 44:[58, 42, 3, 48], Operations: []
Exploring Operation: 58+42=100, Resulting Numbers: [3, 48, 100]
Generated Node #2: [3, 48, 100] from Operation: 58+42=100
Current State: 44:[3, 48, 100], Operations: ['58+42=100']
Exploring Operation: 3*48=144, Resulting Numbers: [100, 144]
Generated Node #3: [100, 144] from Operation: 3*48=144
Current State: 44:[100, 144], Operations: ['58+42=100', '3*48=144']
Exploring Operation: 144-100=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[58, 42, 3, 48], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [3, 48, 16]
Generated Node #0,0: 44:[3, 48, 16] Operation: 58-42=16
Exploring Operation: 58-3=55, Resulting Numbers: [42, 48, 55]
Generated Node #0,1: 44:[42, 48, 55] Operation: 58-3=55
Exploring Operation: 58-48=10, Resulting Numbers: [42, 3, 10]
Generated Node #0,2: 44:[42, 3, 10] Operation: 58-48=10
Moving to Node #0,2
Current State: 44:[42, 3, 10], Operations: ['58-48=10']
Exploring Operation: 3+10=13, Resulting Numbers: [42, 13]
Generated Node #0,2,0: 44:[42, 13] Operation: 3+10=13
Exploring Operation: 42+3=45, Resulting Numbers: [10, 45]
Generated Node #0,2,1: 44:[10, 45] Operation: 42+3=45
Exploring Operation: 42/3=14, Resulting Numbers: [10, 14]
Generated Node #0,2,2: 44:[10, 14] Operation: 42/3=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[10, 45], Operations: ['58-48=10', '42+3=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,44 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[42, 13], Operations: ['58-48=10', '3+10=13']
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,44 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[10, 14], Operations: ['58-48=10', '42/3=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,44 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,44 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: 44:[3, 48, 16], Operations: ['58-42=16']
Exploring Operation: 48/16=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 44:[3, 3] Operation: 48/16=3
Exploring Operation: 48-3=45, Resulting Numbers: [16, 45]
Generated Node #0,0,1: 44:[16, 45] Operation: 48-3=45
Exploring Operation: 16-3=13, Resulting Numbers: [48, 13]
Generated Node #0,0,2: 44:[48, 13] Operation: 16-3=13
Moving to Node #0,1
Current State: 44:[42, 48, 55], Operations: ['58-3=55']
Exploring Operation: 55-42=13, Resulting Numbers: [48, 13]
Generated Node #0,1,0: 44:[48, 13] Operation: 55-42=13
Exploring Operation: 48-42=6, Resulting Numbers: [55, 6]
Generated Node #0,1,1: 44:[55, 6] Operation: 48-42=6
Exploring Operation: 55-48=7, Resulting Numbers: [42, 7]
Generated Node #0,1,2: 44:[42, 7] Operation: 55-48=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[42, 7], Operations: ['58-3=55', '55-48=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[48, 13], Operations: ['58-3=55', '55-42=13']
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,44 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[55, 6], Operations: ['58-3=55', '48-42=6']
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,44 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,44 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: 44:[3, 3], Operations: ['58-42=16', '48/16=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[16, 45], Operations: ['58-42=16', '48-3=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[48, 13], Operations: ['58-42=16', '16-3=13']
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,44 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,44 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
61,
69,
21,
2
] | 86
|
[
"61+69=130",
"130/2=65",
"21+65=86"
] |
Current State: 86:[61, 69, 21, 2], Operations: []
Exploring Operation: 61+69=130, Resulting Numbers: [21, 2, 130]
Generated Node #2: [21, 2, 130] from Operation: 61+69=130
Current State: 86:[21, 2, 130], Operations: ['61+69=130']
Exploring Operation: 130/2=65, Resulting Numbers: [21, 65]
Generated Node #3: [21, 65] from Operation: 130/2=65
Current State: 86:[21, 65], Operations: ['61+69=130', '130/2=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4
|
Current State: 86:[61, 69, 21, 2], Operations: []
Exploring Operation: 61+21=82, Resulting Numbers: [69, 2, 82]
Generated Node #0,0: 86:[69, 2, 82] Operation: 61+21=82
Exploring Operation: 69-21=48, Resulting Numbers: [61, 2, 48]
Generated Node #0,1: 86:[61, 2, 48] Operation: 69-21=48
Exploring Operation: 69+21=90, Resulting Numbers: [61, 2, 90]
Generated Node #0,2: 86:[61, 2, 90] Operation: 69+21=90
Exploring Operation: 61-21=40, Resulting Numbers: [69, 2, 40]
Generated Node #0,3: 86:[69, 2, 40] Operation: 61-21=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[69, 2, 40], Operations: ['61-21=40']
Exploring Operation: 69+2=71, Resulting Numbers: [40, 71]
Generated Node #0,3,0: 86:[40, 71] Operation: 69+2=71
Exploring Operation: 69-40=29, Resulting Numbers: [2, 29]
Generated Node #0,3,1: 86:[2, 29] Operation: 69-40=29
Exploring Operation: 69-2=67, Resulting Numbers: [40, 67]
Generated Node #0,3,2: 86:[40, 67] Operation: 69-2=67
Exploring Operation: 2+40=42, Resulting Numbers: [69, 42]
Generated Node #0,3,3: 86:[69, 42] Operation: 2+40=42
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[2, 29], Operations: ['61-21=40', '69-40=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,86 unequal: No Solution
No 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: 86:[40, 71], Operations: ['61-21=40', '69+2=71']
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,86 unequal: No Solution
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,86 unequal: No Solution
No 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: 86:[69, 42], Operations: ['61-21=40', '2+40=42']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,86 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,86 unequal: No Solution
No 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: 86:[40, 67], Operations: ['61-21=40', '69-2=67']
Exploring Operation: 40*67=2680, Resulting Numbers: [2680]
2680,86 unequal: No Solution
Exploring Operation: 40+67=107, Resulting Numbers: [107]
107,86 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,86 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: 86:[69, 2, 82], Operations: ['61+21=82']
Exploring Operation: 2+82=84, Resulting Numbers: [69, 84]
Generated Node #0,0,0: 86:[69, 84] Operation: 2+82=84
Exploring Operation: 82-69=13, Resulting Numbers: [2, 13]
Generated Node #0,0,1: 86:[2, 13] Operation: 82-69=13
Exploring Operation: 69+2=71, Resulting Numbers: [82, 71]
Generated Node #0,0,2: 86:[82, 71] Operation: 69+2=71
Exploring Operation: 82/2=41, Resulting Numbers: [69, 41]
Generated Node #0,0,3: 86:[69, 41] Operation: 82/2=41
Moving to Node #0,0,1
Current State: 86:[2, 13], Operations: ['61+21=82', '82-69=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[82, 71], Operations: ['61+21=82', '69+2=71']
Exploring Operation: 82+71=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Exploring Operation: 82*71=5822, Resulting Numbers: [5822]
5822,86 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[69, 84], Operations: ['61+21=82', '2+82=84']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,86 unequal: No Solution
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[69, 41], Operations: ['61+21=82', '82/2=41']
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,86 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,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,2
Current State: 86:[61, 2, 90], Operations: ['69+21=90']
Exploring Operation: 90-61=29, Resulting Numbers: [2, 29]
Generated Node #0,2,0: 86:[2, 29] Operation: 90-61=29
Exploring Operation: 61-2=59, Resulting Numbers: [90, 59]
Generated Node #0,2,1: 86:[90, 59] Operation: 61-2=59
Exploring Operation: 90-2=88, Resulting Numbers: [61, 88]
Generated Node #0,2,2: 86:[61, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [61, 45]
Generated Node #0,2,3: 86:[61, 45] Operation: 90/2=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[2, 29], Operations: ['69+21=90', '90-61=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,86 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,86 unequal: No Solution
No 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: 86:[90, 59], Operations: ['69+21=90', '61-2=59']
Exploring Operation: 90*59=5310, Resulting Numbers: [5310]
5310,86 unequal: No Solution
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 90+59=149, Resulting Numbers: [149]
149,86 unequal: No Solution
No 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: 86:[61, 88], Operations: ['69+21=90', '90-2=88']
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,86 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 61*88=5368, Resulting Numbers: [5368]
5368,86 unequal: No Solution
No 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: 86:[61, 45], Operations: ['69+21=90', '90/2=45']
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,86 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,86 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: 86:[61, 2, 48], Operations: ['69-21=48']
Exploring Operation: 61+48=109, Resulting Numbers: [2, 109]
Generated Node #0,1,0: 86:[2, 109] Operation: 61+48=109
Exploring Operation: 61-2=59, Resulting Numbers: [48, 59]
Generated Node #0,1,1: 86:[48, 59] Operation: 61-2=59
Exploring Operation: 61-48=13, Resulting Numbers: [2, 13]
Generated Node #0,1,2: 86:[2, 13] Operation: 61-48=13
Exploring Operation: 48-2=46, Resulting Numbers: [61, 46]
Generated Node #0,1,3: 86:[61, 46] Operation: 48-2=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[2, 13], Operations: ['69-21=48', '61-48=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No 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: 86:[48, 59], Operations: ['69-21=48', '61-2=59']
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,86 unequal: No Solution
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,86 unequal: No Solution
No 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: 86:[61, 46], Operations: ['69-21=48', '48-2=46']
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,86 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 61*46=2806, Resulting Numbers: [2806]
2806,86 unequal: No Solution
No 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: 86:[2, 109], Operations: ['69-21=48', '61+48=109']
Exploring Operation: 109-2=107, Resulting Numbers: [107]
107,86 unequal: No Solution
Exploring Operation: 2+109=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Exploring Operation: 2*109=218, Resulting Numbers: [218]
218,86 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
|
[
86,
88,
69,
98
] | 20
|
[
"88-86=2",
"98/2=49",
"69-49=20"
] |
Current State: 20:[86, 88, 69, 98], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [69, 98, 2]
Generated Node #2: [69, 98, 2] from Operation: 88-86=2
Current State: 20:[69, 98, 2], Operations: ['88-86=2']
Exploring Operation: 98/2=49, Resulting Numbers: [69, 49]
Generated Node #3: [69, 49] from Operation: 98/2=49
Current State: 20:[69, 49], Operations: ['88-86=2', '98/2=49']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[86, 88, 69, 98], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [69, 98, 2]
Generated Node #0,0: 20:[69, 98, 2] Operation: 88-86=2
Exploring Operation: 98-86=12, Resulting Numbers: [88, 69, 12]
Generated Node #0,1: 20:[88, 69, 12] Operation: 98-86=12
Exploring Operation: 98-88=10, Resulting Numbers: [86, 69, 10]
Generated Node #0,2: 20:[86, 69, 10] Operation: 98-88=10
Moving to Node #0,2
Current State: 20:[86, 69, 10], Operations: ['98-88=10']
Exploring Operation: 86-69=17, Resulting Numbers: [10, 17]
Generated Node #0,2,0: 20:[10, 17] Operation: 86-69=17
Exploring Operation: 86-10=76, Resulting Numbers: [69, 76]
Generated Node #0,2,1: 20:[69, 76] Operation: 86-10=76
Exploring Operation: 69-10=59, Resulting Numbers: [86, 59]
Generated Node #0,2,2: 20:[86, 59] Operation: 69-10=59
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[10, 17], Operations: ['98-88=10', '86-69=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[69, 76], Operations: ['98-88=10', '86-10=76']
Exploring Operation: 69*76=5244, Resulting Numbers: [5244]
5244,20 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 69+76=145, Resulting Numbers: [145]
145,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[86, 59], Operations: ['98-88=10', '69-10=59']
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 86+59=145, Resulting Numbers: [145]
145,20 unequal: No Solution
Exploring Operation: 86*59=5074, Resulting Numbers: [5074]
5074,20 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: 20:[88, 69, 12], Operations: ['98-86=12']
Exploring Operation: 88-69=19, Resulting Numbers: [12, 19]
Generated Node #0,1,0: 20:[12, 19] Operation: 88-69=19
Exploring Operation: 69-12=57, Resulting Numbers: [88, 57]
Generated Node #0,1,1: 20:[88, 57] Operation: 69-12=57
Exploring Operation: 88-12=76, Resulting Numbers: [69, 76]
Generated Node #0,1,2: 20:[69, 76] Operation: 88-12=76
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[12, 19], Operations: ['98-86=12', '88-69=19']
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,20 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[88, 57], Operations: ['98-86=12', '69-12=57']
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,20 unequal: No Solution
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[69, 76], Operations: ['98-86=12', '88-12=76']
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 69*76=5244, Resulting Numbers: [5244]
5244,20 unequal: No Solution
Exploring Operation: 69+76=145, Resulting Numbers: [145]
145,20 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: 20:[69, 98, 2], Operations: ['88-86=2']
Exploring Operation: 98-69=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 20:[2, 29] Operation: 98-69=29
Exploring Operation: 98/2=49, Resulting Numbers: [69, 49]
Generated Node #0,0,1: 20:[69, 49] Operation: 98/2=49
Exploring Operation: 69-2=67, Resulting Numbers: [98, 67]
Generated Node #0,0,2: 20:[98, 67] Operation: 69-2=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[2, 29], Operations: ['88-86=2', '98-69=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[69, 49], Operations: ['88-86=2', '98/2=49']
Exploring Operation: 69*49=3381, Resulting Numbers: [3381]
3381,20 unequal: No Solution
Exploring Operation: 69+49=118, Resulting Numbers: [118]
118,20 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[86, 88, 69, 98], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [69, 98, 2]
Generated Node #0,0: 20:[69, 98, 2] Operation: 88-86=2
Moving to Node #0,0
Current State: 20:[69, 98, 2], Operations: ['88-86=2']
Exploring Operation: 98/2=49, Resulting Numbers: [69, 49]
Generated Node #0,0,1: 20:[69, 49] Operation: 98/2=49
Moving to Node #0,0,1
Current State: 20:[69, 49], Operations: ['88-86=2', '98/2=49']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278
|
hs_3
|
sum_heuristic
|
[
5,
38,
69,
2
] | 52
|
[
"5+38=43",
"69-43=26",
"2*26=52"
] |
Current State: 52:[5, 38, 69, 2], Operations: []
Exploring Operation: 5+38=43, Resulting Numbers: [69, 2, 43]
Generated Node #2: [69, 2, 43] from Operation: 5+38=43
Current State: 52:[69, 2, 43], Operations: ['5+38=43']
Exploring Operation: 69-43=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 69-43=26
Current State: 52:[2, 26], Operations: ['5+38=43', '69-43=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[5, 38, 69, 2], Operations: []
Exploring Operation: 38-5=33, Resulting Numbers: [69, 2, 33]
Generated Node #0,0: 52:[69, 2, 33] Operation: 38-5=33
Exploring Operation: 69-38=31, Resulting Numbers: [5, 2, 31]
Generated Node #0,1: 52:[5, 2, 31] Operation: 69-38=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[5, 2, 31], Operations: ['69-38=31']
Exploring Operation: 31-5=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 52:[2, 26] Operation: 31-5=26
Exploring Operation: 31-2=29, Resulting Numbers: [5, 29]
Generated Node #0,1,1: 52:[5, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[2, 26], Operations: ['69-38=31', '31-5=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[5, 38, 69, 2], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [5, 2, 31]
Generated Node #0,1: 52:[5, 2, 31] Operation: 69-38=31
Moving to Node #0,1
Current State: 52:[5, 2, 31], Operations: ['69-38=31']
Exploring Operation: 31-5=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 52:[2, 26] Operation: 31-5=26
Moving to Node #0,1,0
Current State: 52:[2, 26], Operations: ['69-38=31', '31-5=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
75,
27,
18,
46
] | 20
|
[
"75-27=48",
"46-18=28",
"48-28=20"
] |
Current State: 20:[75, 27, 18, 46], Operations: []
Exploring Operation: 75-27=48, Resulting Numbers: [18, 46, 48]
Generated Node #2: [18, 46, 48] from Operation: 75-27=48
Current State: 20:[18, 46, 48], Operations: ['75-27=48']
Exploring Operation: 46-18=28, Resulting Numbers: [48, 28]
Generated Node #3: [48, 28] from Operation: 46-18=28
Current State: 20:[48, 28], Operations: ['75-27=48', '46-18=28']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[75, 27, 18, 46], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [27, 46, 57]
Generated Node #0,0: 20:[27, 46, 57] Operation: 75-18=57
Exploring Operation: 46-27=19, Resulting Numbers: [75, 18, 19]
Generated Node #0,1: 20:[75, 18, 19] Operation: 46-27=19
Exploring Operation: 46-18=28, Resulting Numbers: [75, 27, 28]
Generated Node #0,2: 20:[75, 27, 28] Operation: 46-18=28
Exploring Operation: 75-27=48, Resulting Numbers: [18, 46, 48]
Generated Node #0,3: 20:[18, 46, 48] Operation: 75-27=48
Exploring Operation: 75-46=29, Resulting Numbers: [27, 18, 29]
Generated Node #0,4: 20:[27, 18, 29] Operation: 75-46=29
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[27, 18, 29], Operations: ['75-46=29']
Exploring Operation: 27-18=9, Resulting Numbers: [29, 9]
Generated Node #0,4,0: 20:[29, 9] Operation: 27-18=9
Exploring Operation: 18+29=47, Resulting Numbers: [27, 47]
Generated Node #0,4,1: 20:[27, 47] Operation: 18+29=47
Exploring Operation: 27+18=45, Resulting Numbers: [29, 45]
Generated Node #0,4,2: 20:[29, 45] Operation: 27+18=45
Exploring Operation: 29-18=11, Resulting Numbers: [27, 11]
Generated Node #0,4,3: 20:[27, 11] Operation: 29-18=11
Exploring Operation: 29-27=2, Resulting Numbers: [18, 2]
Generated Node #0,4,4: 20:[18, 2] Operation: 29-27=2
Moving to Node #0,4,4
Current State: 20:[18, 2], Operations: ['75-46=29', '29-27=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[75, 27, 18, 46], Operations: []
Exploring Operation: 75-46=29, Resulting Numbers: [27, 18, 29]
Generated Node #0,4: 20:[27, 18, 29] Operation: 75-46=29
Moving to Node #0,4
Current State: 20:[27, 18, 29], Operations: ['75-46=29']
Exploring Operation: 29-27=2, Resulting Numbers: [18, 2]
Generated Node #0,4,4: 20:[18, 2] Operation: 29-27=2
Moving to Node #0,4,4
Current State: 20:[18, 2], Operations: ['75-46=29', '29-27=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_5
|
mult_heuristic
|
[
58,
3,
7,
31
] | 62
|
[
"31-3=28",
"28/7=4",
"58+4=62"
] |
Current State: 62:[58, 3, 7, 31], Operations: []
Exploring Operation: 31-3=28, Resulting Numbers: [58, 7, 28]
Generated Node #2: [58, 7, 28] from Operation: 31-3=28
Current State: 62:[58, 7, 28], Operations: ['31-3=28']
Exploring Operation: 28/7=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 28/7=4
Current State: 62:[58, 4], Operations: ['31-3=28', '28/7=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[58, 3, 7, 31], Operations: []
Exploring Operation: 58+7=65, Resulting Numbers: [3, 31, 65]
Generated Node #0,0: 62:[3, 31, 65] Operation: 58+7=65
Moving to Node #0,0
Current State: 62:[3, 31, 65], Operations: ['58+7=65']
Exploring Operation: 65-3=62, Resulting Numbers: [31, 62]
Generated Node #0,0,0: 62:[31, 62] Operation: 65-3=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[31, 62], Operations: ['58+7=65', '65-3=62']
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,62 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
|
[
85,
84,
76,
78
] | 54
|
[
"85-76=9",
"84-78=6",
"9*6=54"
] |
Current State: 54:[85, 84, 76, 78], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [84, 78, 9]
Generated Node #2: [84, 78, 9] from Operation: 85-76=9
Current State: 54:[84, 78, 9], Operations: ['85-76=9']
Exploring Operation: 84-78=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 84-78=6
Current State: 54:[9, 6], Operations: ['85-76=9', '84-78=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[85, 84, 76, 78], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [76, 78, 1]
Generated Node #0,0: 54:[76, 78, 1] Operation: 85-84=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[76, 78, 1], Operations: ['85-84=1']
Exploring Operation: 78-76=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 54:[1, 2] Operation: 78-76=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[1, 2], Operations: ['85-84=1', '78-76=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
85,
12,
64,
74
] | 41
|
[
"85+12=97",
"64+74=138",
"138-97=41"
] |
Current State: 41:[85, 12, 64, 74], Operations: []
Exploring Operation: 85+12=97, Resulting Numbers: [64, 74, 97]
Generated Node #2: [64, 74, 97] from Operation: 85+12=97
Current State: 41:[64, 74, 97], Operations: ['85+12=97']
Exploring Operation: 64+74=138, Resulting Numbers: [97, 138]
Generated Node #3: [97, 138] from Operation: 64+74=138
Current State: 41:[97, 138], Operations: ['85+12=97', '64+74=138']
Exploring Operation: 138-97=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[85, 12, 64, 74], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [12, 74, 21]
Generated Node #0,0: 41:[12, 74, 21] Operation: 85-64=21
Exploring Operation: 85-74=11, Resulting Numbers: [12, 64, 11]
Generated Node #0,1: 41:[12, 64, 11] Operation: 85-74=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[12, 74, 21], Operations: ['85-64=21']
Exploring Operation: 74-12=62, Resulting Numbers: [21, 62]
Generated Node #0,0,0: 41:[21, 62] Operation: 74-12=62
Exploring Operation: 12+21=33, Resulting Numbers: [74, 33]
Generated Node #0,0,1: 41:[74, 33] Operation: 12+21=33
Moving to Node #0,0,0
Current State: 41:[21, 62], Operations: ['85-64=21', '74-12=62']
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,41 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[85, 12, 64, 74], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [12, 74, 21]
Generated Node #0,0: 41:[12, 74, 21] Operation: 85-64=21
Moving to Node #0,0
Current State: 41:[12, 74, 21], Operations: ['85-64=21']
Exploring Operation: 74-12=62, Resulting Numbers: [21, 62]
Generated Node #0,0,0: 41:[21, 62] Operation: 74-12=62
Moving to Node #0,0,0
Current State: 41:[21, 62], Operations: ['85-64=21', '74-12=62']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
73,
85,
39,
1
] | 52
|
[
"85-73=12",
"39+1=40",
"12+40=52"
] |
Current State: 52:[73, 85, 39, 1], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [39, 1, 12]
Generated Node #2: [39, 1, 12] from Operation: 85-73=12
Current State: 52:[39, 1, 12], Operations: ['85-73=12']
Exploring Operation: 39+1=40, Resulting Numbers: [12, 40]
Generated Node #3: [12, 40] from Operation: 39+1=40
Current State: 52:[12, 40], Operations: ['85-73=12', '39+1=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[73, 85, 39, 1], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [39, 1, 12]
Generated Node #0,0: 52:[39, 1, 12] Operation: 85-73=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[39, 1, 12], Operations: ['85-73=12']
Exploring Operation: 39+12=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 52:[1, 51] Operation: 39+12=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[1, 51], Operations: ['85-73=12', '39+12=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[73, 85, 39, 1], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [39, 1, 12]
Generated Node #0,0: 52:[39, 1, 12] Operation: 85-73=12
Moving to Node #0,0
Current State: 52:[39, 1, 12], Operations: ['85-73=12']
Exploring Operation: 39+12=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 52:[1, 51] Operation: 39+12=51
Moving to Node #0,0,0
Current State: 52:[1, 51], Operations: ['85-73=12', '39+12=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
17,
11,
58,
65
] | 42
|
[
"17-11=6",
"65-58=7",
"6*7=42"
] |
Current State: 42:[17, 11, 58, 65], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [58, 65, 6]
Generated Node #2: [58, 65, 6] from Operation: 17-11=6
Current State: 42:[58, 65, 6], Operations: ['17-11=6']
Exploring Operation: 65-58=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 65-58=7
Current State: 42:[6, 7], Operations: ['17-11=6', '65-58=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4
|
Current State: 42:[17, 11, 58, 65], Operations: []
Exploring Operation: 58-11=47, Resulting Numbers: [17, 65, 47]
Generated Node #0,0: 42:[17, 65, 47] Operation: 58-11=47
Exploring Operation: 65-17=48, Resulting Numbers: [11, 58, 48]
Generated Node #0,1: 42:[11, 58, 48] Operation: 65-17=48
Exploring Operation: 58-17=41, Resulting Numbers: [11, 65, 41]
Generated Node #0,2: 42:[11, 65, 41] Operation: 58-17=41
Exploring Operation: 65-58=7, Resulting Numbers: [17, 11, 7]
Generated Node #0,3: 42:[17, 11, 7] Operation: 65-58=7
Moving to Node #0,3
Current State: 42:[17, 11, 7], Operations: ['65-58=7']
Exploring Operation: 17+7=24, Resulting Numbers: [11, 24]
Generated Node #0,3,0: 42:[11, 24] Operation: 17+7=24
Exploring Operation: 11-7=4, Resulting Numbers: [17, 4]
Generated Node #0,3,1: 42:[17, 4] Operation: 11-7=4
Exploring Operation: 17-11=6, Resulting Numbers: [7, 6]
Generated Node #0,3,2: 42:[7, 6] Operation: 17-11=6
Exploring Operation: 17-7=10, Resulting Numbers: [11, 10]
Generated Node #0,3,3: 42:[11, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[7, 6], Operations: ['65-58=7', '17-11=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[17, 11, 58, 65], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [17, 11, 7]
Generated Node #0,3: 42:[17, 11, 7] Operation: 65-58=7
Moving to Node #0,3
Current State: 42:[17, 11, 7], Operations: ['65-58=7']
Exploring Operation: 17-11=6, Resulting Numbers: [7, 6]
Generated Node #0,3,2: 42:[7, 6] Operation: 17-11=6
Moving to Node #0,3,2
Current State: 42:[7, 6], Operations: ['65-58=7', '17-11=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
mult_heuristic
|
[
56,
60,
68,
17
] | 34
|
[
"60-56=4",
"68/4=17",
"17+17=34"
] |
Current State: 34:[56, 60, 68, 17], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [68, 17, 4]
Generated Node #2: [68, 17, 4] from Operation: 60-56=4
Current State: 34:[68, 17, 4], Operations: ['60-56=4']
Exploring Operation: 68/4=17, Resulting Numbers: [17, 17]
Generated Node #3: [17, 17] from Operation: 68/4=17
Current State: 34:[17, 17], Operations: ['60-56=4', '68/4=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[56, 60, 68, 17], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [56, 17, 8]
Generated Node #0,0: 34:[56, 17, 8] Operation: 68-60=8
Exploring Operation: 68-56=12, Resulting Numbers: [60, 17, 12]
Generated Node #0,1: 34:[60, 17, 12] Operation: 68-56=12
Moving to Node #0,0
Current State: 34:[56, 17, 8], Operations: ['68-60=8']
Exploring Operation: 56/8=7, Resulting Numbers: [17, 7]
Generated Node #0,0,0: 34:[17, 7] Operation: 56/8=7
Exploring Operation: 56-17=39, Resulting Numbers: [8, 39]
Generated Node #0,0,1: 34:[8, 39] Operation: 56-17=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[17, 7], Operations: ['68-60=8', '56/8=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,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,0,1
Current State: 34:[8, 39], Operations: ['68-60=8', '56-17=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,34 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: 34:[60, 17, 12], Operations: ['68-56=12']
Exploring Operation: 60/12=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 34:[17, 5] Operation: 60/12=5
Exploring Operation: 60-17=43, Resulting Numbers: [12, 43]
Generated Node #0,1,1: 34:[12, 43] Operation: 60-17=43
Moving to Node #0,1,0
Current State: 34:[17, 5], Operations: ['68-56=12', '60/12=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[12, 43], Operations: ['68-56=12', '60-17=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,34 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
5,
15,
82,
7
] | 26
|
[
"82-5=77",
"77/7=11",
"15+11=26"
] |
Current State: 26:[5, 15, 82, 7], Operations: []
Exploring Operation: 82-5=77, Resulting Numbers: [15, 7, 77]
Generated Node #2: [15, 7, 77] from Operation: 82-5=77
Current State: 26:[15, 7, 77], Operations: ['82-5=77']
Exploring Operation: 77/7=11, Resulting Numbers: [15, 11]
Generated Node #3: [15, 11] from Operation: 77/7=11
Current State: 26:[15, 11], Operations: ['82-5=77', '77/7=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[5, 15, 82, 7], Operations: []
Exploring Operation: 82-7=75, Resulting Numbers: [5, 15, 75]
Generated Node #0,0: 26:[5, 15, 75] Operation: 82-7=75
Exploring Operation: 7-5=2, Resulting Numbers: [15, 82, 2]
Generated Node #0,1: 26:[15, 82, 2] Operation: 7-5=2
Exploring Operation: 82-5=77, Resulting Numbers: [15, 7, 77]
Generated Node #0,2: 26:[15, 7, 77] Operation: 82-5=77
Exploring Operation: 82-15=67, Resulting Numbers: [5, 7, 67]
Generated Node #0,3: 26:[5, 7, 67] Operation: 82-15=67
Moving to Node #0,3
Current State: 26:[5, 7, 67], Operations: ['82-15=67']
Exploring Operation: 67-5=62, Resulting Numbers: [7, 62]
Generated Node #0,3,0: 26:[7, 62] Operation: 67-5=62
Exploring Operation: 5+7=12, Resulting Numbers: [67, 12]
Generated Node #0,3,1: 26:[67, 12] Operation: 5+7=12
Exploring Operation: 67-7=60, Resulting Numbers: [5, 60]
Generated Node #0,3,2: 26:[5, 60] Operation: 67-7=60
Exploring Operation: 7-5=2, Resulting Numbers: [67, 2]
Generated Node #0,3,3: 26:[67, 2] Operation: 7-5=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[5, 60], Operations: ['82-15=67', '67-7=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,26 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[7, 62], Operations: ['82-15=67', '67-5=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[67, 2], Operations: ['82-15=67', '7-5=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,26 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[67, 12], Operations: ['82-15=67', '5+7=12']
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,26 unequal: No Solution
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,26 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: 26:[5, 15, 75], Operations: ['82-7=75']
Exploring Operation: 75/5=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 26:[15, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [15, 70]
Generated Node #0,0,1: 26:[15, 70] Operation: 75-5=70
Exploring Operation: 75-15=60, Resulting Numbers: [5, 60]
Generated Node #0,0,2: 26:[5, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [5, 5]
Generated Node #0,0,3: 26:[5, 5] Operation: 75/15=5
Moving to Node #0,2
Current State: 26:[15, 7, 77], Operations: ['82-5=77']
Exploring Operation: 77-15=62, Resulting Numbers: [7, 62]
Generated Node #0,2,0: 26:[7, 62] Operation: 77-15=62
Exploring Operation: 77/7=11, Resulting Numbers: [15, 11]
Generated Node #0,2,1: 26:[15, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [15, 70]
Generated Node #0,2,2: 26:[15, 70] Operation: 77-7=70
Exploring Operation: 15+7=22, Resulting Numbers: [77, 22]
Generated Node #0,2,3: 26:[77, 22] Operation: 15+7=22
Moving to Node #0,1
Current State: 26:[15, 82, 2], Operations: ['7-5=2']
Exploring Operation: 82/2=41, Resulting Numbers: [15, 41]
Generated Node #0,1,0: 26:[15, 41] Operation: 82/2=41
Exploring Operation: 82-15=67, Resulting Numbers: [2, 67]
Generated Node #0,1,1: 26:[2, 67] Operation: 82-15=67
Exploring Operation: 82-2=80, Resulting Numbers: [15, 80]
Generated Node #0,1,2: 26:[15, 80] Operation: 82-2=80
Exploring Operation: 15-2=13, Resulting Numbers: [82, 13]
Generated Node #0,1,3: 26:[82, 13] Operation: 15-2=13
Moving to Node #0,0,0
Current State: 26:[15, 15], Operations: ['82-7=75', '75/5=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,26 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[15, 11], Operations: ['82-5=77', '77/7=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[5, 15, 82, 7], Operations: []
Exploring Operation: 82-5=77, Resulting Numbers: [15, 7, 77]
Generated Node #0,2: 26:[15, 7, 77] Operation: 82-5=77
Moving to Node #0,2
Current State: 26:[15, 7, 77], Operations: ['82-5=77']
Exploring Operation: 77/7=11, Resulting Numbers: [15, 11]
Generated Node #0,2,1: 26:[15, 11] Operation: 77/7=11
Moving to Node #0,2,1
Current State: 26:[15, 11], Operations: ['82-5=77', '77/7=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.963542
|
hs_4
|
sum_heuristic
|
[
84,
39,
9,
99
] | 65
|
[
"99-84=15",
"39*15=585",
"585/9=65"
] |
Current State: 65:[84, 39, 9, 99], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [39, 9, 15]
Generated Node #2: [39, 9, 15] from Operation: 99-84=15
Current State: 65:[39, 9, 15], Operations: ['99-84=15']
Exploring Operation: 39*15=585, Resulting Numbers: [9, 585]
Generated Node #3: [9, 585] from Operation: 39*15=585
Current State: 65:[9, 585], Operations: ['99-84=15', '39*15=585']
Exploring Operation: 585/9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4
|
Current State: 65:[84, 39, 9, 99], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [39, 9, 15]
Generated Node #0,0: 65:[39, 9, 15] Operation: 99-84=15
Exploring Operation: 99-39=60, Resulting Numbers: [84, 9, 60]
Generated Node #0,1: 65:[84, 9, 60] Operation: 99-39=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[84, 9, 60], Operations: ['99-39=60']
Exploring Operation: 84-60=24, Resulting Numbers: [9, 24]
Generated Node #0,1,0: 65:[9, 24] Operation: 84-60=24
Exploring Operation: 84-9=75, Resulting Numbers: [60, 75]
Generated Node #0,1,1: 65:[60, 75] Operation: 84-9=75
Moving to Node #0,1,0
Current State: 65:[9, 24], Operations: ['99-39=60', '84-60=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[60, 75], Operations: ['99-39=60', '84-9=75']
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,65 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,65 unequal: No Solution
No 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: 65:[39, 9, 15], Operations: ['99-84=15']
Exploring Operation: 39+15=54, Resulting Numbers: [9, 54]
Generated Node #0,0,0: 65:[9, 54] Operation: 39+15=54
Exploring Operation: 39-15=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 65:[9, 24] Operation: 39-15=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[9, 54], Operations: ['99-84=15', '39+15=54']
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,65 unequal: No Solution
No 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: 65:[9, 24], Operations: ['99-84=15', '39-15=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,65 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
|
[
87,
2,
78,
59
] | 92
|
[
"87-59=28",
"28/2=14",
"78+14=92"
] |
Current State: 92:[87, 2, 78, 59], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [2, 78, 28]
Generated Node #2: [2, 78, 28] from Operation: 87-59=28
Current State: 92:[2, 78, 28], Operations: ['87-59=28']
Exploring Operation: 28/2=14, Resulting Numbers: [78, 14]
Generated Node #3: [78, 14] from Operation: 28/2=14
Current State: 92:[78, 14], Operations: ['87-59=28', '28/2=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[87, 2, 78, 59], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [2, 59, 9]
Generated Node #0,0: 92:[2, 59, 9] Operation: 87-78=9
Exploring Operation: 78-59=19, Resulting Numbers: [87, 2, 19]
Generated Node #0,1: 92:[87, 2, 19] Operation: 78-59=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[87, 2, 19], Operations: ['78-59=19']
Exploring Operation: 2+19=21, Resulting Numbers: [87, 21]
Generated Node #0,1,0: 92:[87, 21] Operation: 2+19=21
Exploring Operation: 87+2=89, Resulting Numbers: [19, 89]
Generated Node #0,1,1: 92:[19, 89] Operation: 87+2=89
Moving to Node #0,1,0
Current State: 92:[87, 21], Operations: ['78-59=19', '2+19=21']
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[19, 89], Operations: ['78-59=19', '87+2=89']
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,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:[2, 59, 9], Operations: ['87-78=9']
Exploring Operation: 59-9=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 92:[2, 50] Operation: 59-9=50
Exploring Operation: 59-2=57, Resulting Numbers: [9, 57]
Generated Node #0,0,1: 92:[9, 57] Operation: 59-2=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[2, 50], Operations: ['87-78=9', '59-9=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,92 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,92 unequal: No Solution
No 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: 92:[9, 57], Operations: ['87-78=9', '59-2=57']
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,92 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
|
[
45,
5,
43,
1
] | 51
|
[
"45/5=9",
"43-1=42",
"9+42=51"
] |
Current State: 51:[45, 5, 43, 1], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [43, 1, 9]
Generated Node #2: [43, 1, 9] from Operation: 45/5=9
Current State: 51:[43, 1, 9], Operations: ['45/5=9']
Exploring Operation: 43-1=42, Resulting Numbers: [9, 42]
Generated Node #3: [9, 42] from Operation: 43-1=42
Current State: 51:[9, 42], Operations: ['45/5=9', '43-1=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[45, 5, 43, 1], Operations: []
Exploring Operation: 45+5=50, Resulting Numbers: [43, 1, 50]
Generated Node #0,0: 51:[43, 1, 50] Operation: 45+5=50
Exploring Operation: 45-43=2, Resulting Numbers: [5, 1, 2]
Generated Node #0,1: 51:[5, 1, 2] Operation: 45-43=2
Moving to Node #0,1
Current State: 51:[5, 1, 2], Operations: ['45-43=2']
Exploring Operation: 5-1=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 51:[2, 4] Operation: 5-1=4
Exploring Operation: 5-2=3, Resulting Numbers: [1, 3]
Generated Node #0,1,1: 51:[1, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[2, 4], Operations: ['45-43=2', '5-1=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 4-2=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,1,1
Current State: 51:[1, 3], Operations: ['45-43=2', '5-2=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,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:[43, 1, 50], Operations: ['45+5=50']
Exploring Operation: 50-43=7, Resulting Numbers: [1, 7]
Generated Node #0,0,0: 51:[1, 7] Operation: 50-43=7
Exploring Operation: 43+1=44, Resulting Numbers: [50, 44]
Generated Node #0,0,1: 51:[50, 44] Operation: 43+1=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[1, 7], Operations: ['45+5=50', '50-43=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,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:[50, 44], Operations: ['45+5=50', '43+1=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
10,
52,
34,
18
] | 11
|
[
"52-34=18",
"18/18=1",
"10+1=11"
] |
Current State: 11:[10, 52, 34, 18], Operations: []
Exploring Operation: 52-34=18, Resulting Numbers: [10, 18, 18]
Generated Node #2: [10, 18, 18] from Operation: 52-34=18
Current State: 11:[10, 18, 18], Operations: ['52-34=18']
Exploring Operation: 18/18=1, Resulting Numbers: [10, 1]
Generated Node #3: [10, 1] from Operation: 18/18=1
Current State: 11:[10, 1], Operations: ['52-34=18', '18/18=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[10, 52, 34, 18], Operations: []
Exploring Operation: 52-18=34, Resulting Numbers: [10, 34, 34]
Generated Node #0,0: 11:[10, 34, 34] Operation: 52-18=34
Exploring Operation: 52-34=18, Resulting Numbers: [10, 18, 18]
Generated Node #0,1: 11:[10, 18, 18] Operation: 52-34=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[10, 18, 18], Operations: ['52-34=18']
Exploring Operation: 18-10=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 11:[18, 8] Operation: 18-10=8
Exploring Operation: 18-10=8, Resulting Numbers: [18, 8]
Generated Node #0,1,1: 11:[18, 8] Operation: 18-10=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[18, 8], Operations: ['52-34=18', '18-10=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No 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: 11:[18, 8], Operations: ['52-34=18', '18-10=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[10, 34, 34], Operations: ['52-18=34']
Exploring Operation: 34/34=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 11:[10, 1] Operation: 34/34=1
Exploring Operation: 34-34=0, Resulting Numbers: [10, 0]
Generated Node #0,0,1: 11:[10, 0] Operation: 34-34=0
Moving to Node #0,0,0
Current State: 11:[10, 1], Operations: ['52-18=34', '34/34=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[10, 52, 34, 18], Operations: []
Exploring Operation: 52-18=34, Resulting Numbers: [10, 34, 34]
Generated Node #0,0: 11:[10, 34, 34] Operation: 52-18=34
Moving to Node #0,0
Current State: 11:[10, 34, 34], Operations: ['52-18=34']
Exploring Operation: 34/34=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 11:[10, 1] Operation: 34/34=1
Moving to Node #0,0,0
Current State: 11:[10, 1], Operations: ['52-18=34', '34/34=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
sum_heuristic
|
[
72,
76,
83,
92
] | 60
|
[
"76-72=4",
"92/4=23",
"83-23=60"
] |
Current State: 60:[72, 76, 83, 92], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [83, 92, 4]
Generated Node #2: [83, 92, 4] from Operation: 76-72=4
Current State: 60:[83, 92, 4], Operations: ['76-72=4']
Exploring Operation: 92/4=23, Resulting Numbers: [83, 23]
Generated Node #3: [83, 23] from Operation: 92/4=23
Current State: 60:[83, 23], Operations: ['76-72=4', '92/4=23']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[72, 76, 83, 92], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [72, 76, 9]
Generated Node #0,0: 60:[72, 76, 9] Operation: 92-83=9
Exploring Operation: 83-76=7, Resulting Numbers: [72, 92, 7]
Generated Node #0,1: 60:[72, 92, 7] Operation: 83-76=7
Exploring Operation: 92-76=16, Resulting Numbers: [72, 83, 16]
Generated Node #0,2: 60:[72, 83, 16] Operation: 92-76=16
Exploring Operation: 92-72=20, Resulting Numbers: [76, 83, 20]
Generated Node #0,3: 60:[76, 83, 20] Operation: 92-72=20
Moving to Node #0,0
Current State: 60:[72, 76, 9], Operations: ['92-83=9']
Exploring Operation: 72/9=8, Resulting Numbers: [76, 8]
Generated Node #0,0,0: 60:[76, 8] Operation: 72/9=8
Exploring Operation: 76-9=67, Resulting Numbers: [72, 67]
Generated Node #0,0,1: 60:[72, 67] Operation: 76-9=67
Exploring Operation: 76-72=4, Resulting Numbers: [9, 4]
Generated Node #0,0,2: 60:[9, 4] Operation: 76-72=4
Exploring Operation: 72-9=63, Resulting Numbers: [76, 63]
Generated Node #0,0,3: 60:[76, 63] Operation: 72-9=63
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[9, 4], Operations: ['92-83=9', '76-72=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[76, 8], Operations: ['92-83=9', '72/9=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[72, 67], Operations: ['92-83=9', '76-9=67']
Exploring Operation: 72*67=4824, Resulting Numbers: [4824]
4824,60 unequal: No Solution
Exploring Operation: 72+67=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[76, 63], Operations: ['92-83=9', '72-9=63']
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 76*63=4788, Resulting Numbers: [4788]
4788,60 unequal: No Solution
Exploring Operation: 76+63=139, Resulting Numbers: [139]
139,60 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: 60:[72, 83, 16], Operations: ['92-76=16']
Exploring Operation: 72+16=88, Resulting Numbers: [83, 88]
Generated Node #0,2,0: 60:[83, 88] Operation: 72+16=88
Exploring Operation: 72-16=56, Resulting Numbers: [83, 56]
Generated Node #0,2,1: 60:[83, 56] Operation: 72-16=56
Exploring Operation: 83-16=67, Resulting Numbers: [72, 67]
Generated Node #0,2,2: 60:[72, 67] Operation: 83-16=67
Exploring Operation: 83-72=11, Resulting Numbers: [16, 11]
Generated Node #0,2,3: 60:[16, 11] Operation: 83-72=11
Moving to Node #0,3
Current State: 60:[76, 83, 20], Operations: ['92-72=20']
Exploring Operation: 83-20=63, Resulting Numbers: [76, 63]
Generated Node #0,3,0: 60:[76, 63] Operation: 83-20=63
Exploring Operation: 76-20=56, Resulting Numbers: [83, 56]
Generated Node #0,3,1: 60:[83, 56] Operation: 76-20=56
Exploring Operation: 83-76=7, Resulting Numbers: [20, 7]
Generated Node #0,3,2: 60:[20, 7] Operation: 83-76=7
Exploring Operation: 76+20=96, Resulting Numbers: [83, 96]
Generated Node #0,3,3: 60:[83, 96] Operation: 76+20=96
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[20, 7], Operations: ['92-72=20', '83-76=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[76, 63], Operations: ['92-72=20', '83-20=63']
Exploring Operation: 76*63=4788, Resulting Numbers: [4788]
4788,60 unequal: No Solution
Exploring Operation: 76+63=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[83, 56], Operations: ['92-72=20', '76-20=56']
Exploring Operation: 83+56=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 83*56=4648, Resulting Numbers: [4648]
4648,60 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[83, 96], Operations: ['92-72=20', '76+20=96']
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 83*96=7968, Resulting Numbers: [7968]
7968,60 unequal: No Solution
Exploring Operation: 83+96=179, Resulting Numbers: [179]
179,60 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: 60:[72, 92, 7], Operations: ['83-76=7']
Exploring Operation: 72+7=79, Resulting Numbers: [92, 79]
Generated Node #0,1,0: 60:[92, 79] Operation: 72+7=79
Exploring Operation: 72-7=65, Resulting Numbers: [92, 65]
Generated Node #0,1,1: 60:[92, 65] Operation: 72-7=65
Exploring Operation: 92-7=85, Resulting Numbers: [72, 85]
Generated Node #0,1,2: 60:[72, 85] Operation: 92-7=85
Exploring Operation: 92-72=20, Resulting Numbers: [7, 20]
Generated Node #0,1,3: 60:[7, 20] Operation: 92-72=20
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[7, 20], Operations: ['83-76=7', '92-72=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,60 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[92, 65], Operations: ['83-76=7', '72-7=65']
Exploring Operation: 92-65=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 92+65=157, Resulting Numbers: [157]
157,60 unequal: No Solution
Exploring Operation: 92*65=5980, Resulting Numbers: [5980]
5980,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[72, 85], Operations: ['83-76=7', '92-7=85']
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,60 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[92, 79], Operations: ['83-76=7', '72+7=79']
Exploring Operation: 92-79=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 92*79=7268, Resulting Numbers: [7268]
7268,60 unequal: No Solution
Exploring Operation: 92+79=171, Resulting Numbers: [171]
171,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 60:[16, 11], Operations: ['92-76=16', '83-72=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,60 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[72, 67], Operations: ['92-76=16', '83-16=67']
Exploring Operation: 72*67=4824, Resulting Numbers: [4824]
4824,60 unequal: No Solution
Exploring Operation: 72+67=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[83, 56], Operations: ['92-76=16', '72-16=56']
Exploring Operation: 83+56=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 83*56=4648, Resulting Numbers: [4648]
4648,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[83, 88], Operations: ['92-76=16', '72+16=88']
Exploring Operation: 83*88=7304, Resulting Numbers: [7304]
7304,60 unequal: No Solution
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,60 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
49,
13,
48,
23
] | 24
|
[
"49-23=26",
"13*48=624",
"624/26=24"
] |
Current State: 24:[49, 13, 48, 23], Operations: []
Exploring Operation: 49-23=26, Resulting Numbers: [13, 48, 26]
Generated Node #2: [13, 48, 26] from Operation: 49-23=26
Current State: 24:[13, 48, 26], Operations: ['49-23=26']
Exploring Operation: 13*48=624, Resulting Numbers: [26, 624]
Generated Node #3: [26, 624] from Operation: 13*48=624
Current State: 24:[26, 624], Operations: ['49-23=26', '13*48=624']
Exploring Operation: 624/26=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[49, 13, 48, 23], Operations: []
Exploring Operation: 49-23=26, Resulting Numbers: [13, 48, 26]
Generated Node #0,0: 24:[13, 48, 26] Operation: 49-23=26
Exploring Operation: 49-48=1, Resulting Numbers: [13, 23, 1]
Generated Node #0,1: 24:[13, 23, 1] Operation: 49-48=1
Moving to Node #0,1
Current State: 24:[13, 23, 1], Operations: ['49-48=1']
Exploring Operation: 23+1=24, Resulting Numbers: [13, 24]
Generated Node #0,1,0: 24:[13, 24] Operation: 23+1=24
Exploring Operation: 13-1=12, Resulting Numbers: [23, 12]
Generated Node #0,1,1: 24:[23, 12] Operation: 13-1=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[13, 24], Operations: ['49-48=1', '23+1=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,24 unequal: No Solution
No 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: 24:[23, 12], Operations: ['49-48=1', '13-1=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,24 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: 24:[13, 48, 26], Operations: ['49-23=26']
Exploring Operation: 48-26=22, Resulting Numbers: [13, 22]
Generated Node #0,0,0: 24:[13, 22] Operation: 48-26=22
Exploring Operation: 48-13=35, Resulting Numbers: [26, 35]
Generated Node #0,0,1: 24:[26, 35] Operation: 48-13=35
Moving to Node #0,0,0
Current State: 24:[13, 22], Operations: ['49-23=26', '48-26=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[26, 35], Operations: ['49-23=26', '48-13=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
9,
14,
41,
92
] | 46
|
[
"14-9=5",
"92-41=51",
"51-5=46"
] |
Current State: 46:[9, 14, 41, 92], Operations: []
Exploring Operation: 14-9=5, Resulting Numbers: [41, 92, 5]
Generated Node #2: [41, 92, 5] from Operation: 14-9=5
Current State: 46:[41, 92, 5], Operations: ['14-9=5']
Exploring Operation: 92-41=51, Resulting Numbers: [5, 51]
Generated Node #3: [5, 51] from Operation: 92-41=51
Current State: 46:[5, 51], Operations: ['14-9=5', '92-41=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4
|
Current State: 46:[9, 14, 41, 92], Operations: []
Exploring Operation: 9+14=23, Resulting Numbers: [41, 92, 23]
Generated Node #0,0: 46:[41, 92, 23] Operation: 9+14=23
Exploring Operation: 92-14=78, Resulting Numbers: [9, 41, 78]
Generated Node #0,1: 46:[9, 41, 78] Operation: 92-14=78
Exploring Operation: 92-41=51, Resulting Numbers: [9, 14, 51]
Generated Node #0,2: 46:[9, 14, 51] Operation: 92-41=51
Moving to Node #0,2
Current State: 46:[9, 14, 51], Operations: ['92-41=51']
Exploring Operation: 51-9=42, Resulting Numbers: [14, 42]
Generated Node #0,2,0: 46:[14, 42] Operation: 51-9=42
Exploring Operation: 14-9=5, Resulting Numbers: [51, 5]
Generated Node #0,2,1: 46:[51, 5] Operation: 14-9=5
Exploring Operation: 9+14=23, Resulting Numbers: [51, 23]
Generated Node #0,2,2: 46:[51, 23] Operation: 9+14=23
Moving to Node #0,1
Current State: 46:[9, 41, 78], Operations: ['92-14=78']
Exploring Operation: 9+41=50, Resulting Numbers: [78, 50]
Generated Node #0,1,0: 46:[78, 50] Operation: 9+41=50
Exploring Operation: 78-41=37, Resulting Numbers: [9, 37]
Generated Node #0,1,1: 46:[9, 37] Operation: 78-41=37
Exploring Operation: 78-9=69, Resulting Numbers: [41, 69]
Generated Node #0,1,2: 46:[41, 69] Operation: 78-9=69
Moving to Node #0,0
Current State: 46:[41, 92, 23], Operations: ['9+14=23']
Exploring Operation: 92/23=4, Resulting Numbers: [41, 4]
Generated Node #0,0,0: 46:[41, 4] Operation: 92/23=4
Exploring Operation: 92-41=51, Resulting Numbers: [23, 51]
Generated Node #0,0,1: 46:[23, 51] Operation: 92-41=51
Exploring Operation: 92-23=69, Resulting Numbers: [41, 69]
Generated Node #0,0,2: 46:[41, 69] Operation: 92-23=69
Moving to Node #0,2,2
Current State: 46:[51, 23], Operations: ['92-41=51', '9+14=23']
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,46 unequal: No Solution
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[23, 51], Operations: ['9+14=23', '92-41=51']
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,46 unequal: No Solution
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[41, 4], Operations: ['9+14=23', '92/23=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,46 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[51, 5], Operations: ['92-41=51', '14-9=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[9, 14, 41, 92], Operations: []
Exploring Operation: 92-41=51, Resulting Numbers: [9, 14, 51]
Generated Node #0,2: 46:[9, 14, 51] Operation: 92-41=51
Moving to Node #0,2
Current State: 46:[9, 14, 51], Operations: ['92-41=51']
Exploring Operation: 14-9=5, Resulting Numbers: [51, 5]
Generated Node #0,2,1: 46:[51, 5] Operation: 14-9=5
Moving to Node #0,2,1
Current State: 46:[51, 5], Operations: ['92-41=51', '14-9=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.976563
|
hs_3
|
mult_heuristic
|
[
19,
12,
10,
46
] | 62
|
[
"19-10=9",
"12*9=108",
"108-46=62"
] |
Current State: 62:[19, 12, 10, 46], Operations: []
Exploring Operation: 19-10=9, Resulting Numbers: [12, 46, 9]
Generated Node #2: [12, 46, 9] from Operation: 19-10=9
Current State: 62:[12, 46, 9], Operations: ['19-10=9']
Exploring Operation: 12*9=108, Resulting Numbers: [46, 108]
Generated Node #3: [46, 108] from Operation: 12*9=108
Current State: 62:[46, 108], Operations: ['19-10=9', '12*9=108']
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[19, 12, 10, 46], Operations: []
Exploring Operation: 12+46=58, Resulting Numbers: [19, 10, 58]
Generated Node #0,0: 62:[19, 10, 58] Operation: 12+46=58
Exploring Operation: 19+46=65, Resulting Numbers: [12, 10, 65]
Generated Node #0,1: 62:[12, 10, 65] Operation: 19+46=65
Exploring Operation: 46-19=27, Resulting Numbers: [12, 10, 27]
Generated Node #0,2: 62:[12, 10, 27] Operation: 46-19=27
Exploring Operation: 46-12=34, Resulting Numbers: [19, 10, 34]
Generated Node #0,3: 62:[19, 10, 34] Operation: 46-12=34
Exploring Operation: 19+12=31, Resulting Numbers: [10, 46, 31]
Generated Node #0,4: 62:[10, 46, 31] Operation: 19+12=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[12, 10, 65], Operations: ['19+46=65']
Exploring Operation: 65-10=55, Resulting Numbers: [12, 55]
Generated Node #0,1,0: 62:[12, 55] Operation: 65-10=55
Exploring Operation: 12+65=77, Resulting Numbers: [10, 77]
Generated Node #0,1,1: 62:[10, 77] Operation: 12+65=77
Exploring Operation: 12-10=2, Resulting Numbers: [65, 2]
Generated Node #0,1,2: 62:[65, 2] Operation: 12-10=2
Exploring Operation: 65-12=53, Resulting Numbers: [10, 53]
Generated Node #0,1,3: 62:[10, 53] Operation: 65-12=53
Exploring Operation: 12+10=22, Resulting Numbers: [65, 22]
Generated Node #0,1,4: 62:[65, 22] Operation: 12+10=22
Moving to Node #0,1,2
Current State: 62:[65, 2], Operations: ['19+46=65', '12-10=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[65, 22], Operations: ['19+46=65', '12+10=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[12, 55], Operations: ['19+46=65', '65-10=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[10, 53], Operations: ['19+46=65', '65-12=53']
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[10, 77], Operations: ['19+46=65', '12+65=77']
Exploring Operation: 10+77=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 10*77=770, Resulting Numbers: [770]
770,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
Current State: 62:[12, 10, 27], Operations: ['46-19=27']
Exploring Operation: 12+10=22, Resulting Numbers: [27, 22]
Generated Node #0,2,0: 62:[27, 22] Operation: 12+10=22
Exploring Operation: 27-12=15, Resulting Numbers: [10, 15]
Generated Node #0,2,1: 62:[10, 15] Operation: 27-12=15
Exploring Operation: 12+27=39, Resulting Numbers: [10, 39]
Generated Node #0,2,2: 62:[10, 39] Operation: 12+27=39
Exploring Operation: 12-10=2, Resulting Numbers: [27, 2]
Generated Node #0,2,3: 62:[27, 2] Operation: 12-10=2
Exploring Operation: 10+27=37, Resulting Numbers: [12, 37]
Generated Node #0,2,4: 62:[12, 37] Operation: 10+27=37
Moving to Node #0,2,3
Current State: 62:[27, 2], Operations: ['46-19=27', '12-10=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[27, 22], Operations: ['46-19=27', '12+10=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[10, 39], Operations: ['46-19=27', '12+27=39']
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,62 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[12, 37], Operations: ['46-19=27', '10+27=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,62 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[10, 15], Operations: ['46-19=27', '27-12=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[19, 10, 34], Operations: ['46-12=34']
Exploring Operation: 19+10=29, Resulting Numbers: [34, 29]
Generated Node #0,3,0: 62:[34, 29] Operation: 19+10=29
Exploring Operation: 19-10=9, Resulting Numbers: [34, 9]
Generated Node #0,3,1: 62:[34, 9] Operation: 19-10=9
Exploring Operation: 34-10=24, Resulting Numbers: [19, 24]
Generated Node #0,3,2: 62:[19, 24] Operation: 34-10=24
Exploring Operation: 19+34=53, Resulting Numbers: [10, 53]
Generated Node #0,3,3: 62:[10, 53] Operation: 19+34=53
Exploring Operation: 34-19=15, Resulting Numbers: [10, 15]
Generated Node #0,3,4: 62:[10, 15] Operation: 34-19=15
Moving to Node #0,3,0
Current State: 62:[34, 29], Operations: ['46-12=34', '19+10=29']
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,62 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[34, 9], Operations: ['46-12=34', '19-10=9']
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,62 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[10, 53], Operations: ['46-12=34', '19+34=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,62 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[19, 24], Operations: ['46-12=34', '34-10=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,62 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Moving to Node #0,3,4
Current State: 62:[10, 15], Operations: ['46-12=34', '34-19=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,62 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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,4
Current State: 62:[10, 46, 31], Operations: ['19+12=31']
Exploring Operation: 46-10=36, Resulting Numbers: [31, 36]
Generated Node #0,4,0: 62:[31, 36] Operation: 46-10=36
Exploring Operation: 46+31=77, Resulting Numbers: [10, 77]
Generated Node #0,4,1: 62:[10, 77] Operation: 46+31=77
Exploring Operation: 10+31=41, Resulting Numbers: [46, 41]
Generated Node #0,4,2: 62:[46, 41] Operation: 10+31=41
Exploring Operation: 46-31=15, Resulting Numbers: [10, 15]
Generated Node #0,4,3: 62:[10, 15] Operation: 46-31=15
Exploring Operation: 10+46=56, Resulting Numbers: [31, 56]
Generated Node #0,4,4: 62:[31, 56] Operation: 10+46=56
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 62:[31, 36], Operations: ['19+12=31', '46-10=36']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,62 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No 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: 62:[31, 56], Operations: ['19+12=31', '10+46=56']
Exploring Operation: 31+56=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 31*56=1736, Resulting Numbers: [1736]
1736,62 unequal: No Solution
No 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: 62:[10, 15], Operations: ['19+12=31', '46-31=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,62 unequal: No Solution
No 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: 62:[10, 77], Operations: ['19+12=31', '46+31=77']
Exploring Operation: 10+77=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 10*77=770, Resulting Numbers: [770]
770,62 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 62:[46, 41], Operations: ['19+12=31', '10+31=41']
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,62 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,62 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: 62:[19, 10, 58], Operations: ['12+46=58']
Exploring Operation: 19+10=29, Resulting Numbers: [58, 29]
Generated Node #0,0,0: 62:[58, 29] Operation: 19+10=29
Exploring Operation: 10+58=68, Resulting Numbers: [19, 68]
Generated Node #0,0,1: 62:[19, 68] Operation: 10+58=68
Exploring Operation: 19+58=77, Resulting Numbers: [10, 77]
Generated Node #0,0,2: 62:[10, 77] Operation: 19+58=77
Exploring Operation: 58-19=39, Resulting Numbers: [10, 39]
Generated Node #0,0,3: 62:[10, 39] Operation: 58-19=39
Exploring Operation: 19-10=9, Resulting Numbers: [58, 9]
Generated Node #0,0,4: 62:[58, 9] Operation: 19-10=9
Moving to Node #0,0,0
Current State: 62:[58, 29], Operations: ['12+46=58', '19+10=29']
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 58*29=1682, Resulting Numbers: [1682]
1682,62 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[58, 9], Operations: ['12+46=58', '19-10=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,62 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[10, 39], Operations: ['12+46=58', '58-19=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,62 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[19, 68], Operations: ['12+46=58', '10+58=68']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,62 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[10, 77], Operations: ['12+46=58', '19+58=77']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 10+77=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 10*77=770, Resulting Numbers: [770]
770,62 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
|
[
19,
95,
23,
64
] | 11
|
[
"95-19=76",
"23+64=87",
"87-76=11"
] |
Current State: 11:[19, 95, 23, 64], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [23, 64, 76]
Generated Node #2: [23, 64, 76] from Operation: 95-19=76
Current State: 11:[23, 64, 76], Operations: ['95-19=76']
Exploring Operation: 23+64=87, Resulting Numbers: [76, 87]
Generated Node #3: [76, 87] from Operation: 23+64=87
Current State: 11:[76, 87], Operations: ['95-19=76', '23+64=87']
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[19, 95, 23, 64], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [19, 23, 31]
Generated Node #0,0: 11:[19, 23, 31] Operation: 95-64=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[19, 23, 31], Operations: ['95-64=31']
Exploring Operation: 31-23=8, Resulting Numbers: [19, 8]
Generated Node #0,0,0: 11:[19, 8] Operation: 31-23=8
Moving to Node #0,0,0
Current State: 11:[19, 8], Operations: ['95-64=31', '31-23=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[19, 95, 23, 64], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [19, 23, 31]
Generated Node #0,0: 11:[19, 23, 31] Operation: 95-64=31
Moving to Node #0,0
Current State: 11:[19, 23, 31], Operations: ['95-64=31']
Exploring Operation: 31-23=8, Resulting Numbers: [19, 8]
Generated Node #0,0,0: 11:[19, 8] Operation: 31-23=8
Moving to Node #0,0,0
Current State: 11:[19, 8], Operations: ['95-64=31', '31-23=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
50,
95,
72,
3
] | 63
|
[
"95-50=45",
"3*45=135",
"135-72=63"
] |
Current State: 63:[50, 95, 72, 3], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [72, 3, 45]
Generated Node #2: [72, 3, 45] from Operation: 95-50=45
Current State: 63:[72, 3, 45], Operations: ['95-50=45']
Exploring Operation: 3*45=135, Resulting Numbers: [72, 135]
Generated Node #3: [72, 135] from Operation: 3*45=135
Current State: 63:[72, 135], Operations: ['95-50=45', '3*45=135']
Exploring Operation: 135-72=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[50, 95, 72, 3], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [50, 3, 23]
Generated Node #0,0: 63:[50, 3, 23] Operation: 95-72=23
Moving to Node #0,0
Current State: 63:[50, 3, 23], Operations: ['95-72=23']
Exploring Operation: 50-23=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 63:[3, 27] Operation: 50-23=27
Moving to Node #0,0,0
Current State: 63:[3, 27], Operations: ['95-72=23', '50-23=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
5,
30,
39,
22
] | 23
|
[
"30/5=6",
"39-22=17",
"6+17=23"
] |
Current State: 23:[5, 30, 39, 22], Operations: []
Exploring Operation: 30/5=6, Resulting Numbers: [39, 22, 6]
Generated Node #2: [39, 22, 6] from Operation: 30/5=6
Current State: 23:[39, 22, 6], Operations: ['30/5=6']
Exploring Operation: 39-22=17, Resulting Numbers: [6, 17]
Generated Node #3: [6, 17] from Operation: 39-22=17
Current State: 23:[6, 17], Operations: ['30/5=6', '39-22=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[5, 30, 39, 22], Operations: []
Exploring Operation: 30-5=25, Resulting Numbers: [39, 22, 25]
Generated Node #0,0: 23:[39, 22, 25] Operation: 30-5=25
Exploring Operation: 39-5=34, Resulting Numbers: [30, 22, 34]
Generated Node #0,1: 23:[30, 22, 34] Operation: 39-5=34
Moving to Node #0,0
Current State: 23:[39, 22, 25], Operations: ['30-5=25']
Exploring Operation: 39-25=14, Resulting Numbers: [22, 14]
Generated Node #0,0,0: 23:[22, 14] Operation: 39-25=14
Exploring Operation: 39-22=17, Resulting Numbers: [25, 17]
Generated Node #0,0,1: 23:[25, 17] Operation: 39-22=17
Moving to Node #0,1
Current State: 23:[30, 22, 34], Operations: ['39-5=34']
Exploring Operation: 34-22=12, Resulting Numbers: [30, 12]
Generated Node #0,1,0: 23:[30, 12] Operation: 34-22=12
Exploring Operation: 34-30=4, Resulting Numbers: [22, 4]
Generated Node #0,1,1: 23:[22, 4] Operation: 34-30=4
Moving to Node #0,0,1
Current State: 23:[25, 17], Operations: ['30-5=25', '39-22=17']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[22, 14], Operations: ['30-5=25', '39-25=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[30, 12], Operations: ['39-5=34', '34-22=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[22, 4], Operations: ['39-5=34', '34-30=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
84,
79,
30,
4
] | 29
|
[
"84-79=5",
"30+4=34",
"34-5=29"
] |
Current State: 29:[84, 79, 30, 4], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [30, 4, 5]
Generated Node #2: [30, 4, 5] from Operation: 84-79=5
Current State: 29:[30, 4, 5], Operations: ['84-79=5']
Exploring Operation: 30+4=34, Resulting Numbers: [5, 34]
Generated Node #3: [5, 34] from Operation: 30+4=34
Current State: 29:[5, 34], Operations: ['84-79=5', '30+4=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[84, 79, 30, 4], Operations: []
Exploring Operation: 84-30=54, Resulting Numbers: [79, 4, 54]
Generated Node #0,0: 29:[79, 4, 54] Operation: 84-30=54
Exploring Operation: 79-30=49, Resulting Numbers: [84, 4, 49]
Generated Node #0,1: 29:[84, 4, 49] Operation: 79-30=49
Exploring Operation: 84/4=21, Resulting Numbers: [79, 30, 21]
Generated Node #0,2: 29:[79, 30, 21] Operation: 84/4=21
Exploring Operation: 84-79=5, Resulting Numbers: [30, 4, 5]
Generated Node #0,3: 29:[30, 4, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[30, 4, 5], Operations: ['84-79=5']
Exploring Operation: 30-4=26, Resulting Numbers: [5, 26]
Generated Node #0,3,0: 29:[5, 26] Operation: 30-4=26
Exploring Operation: 4*5=20, Resulting Numbers: [30, 20]
Generated Node #0,3,1: 29:[30, 20] Operation: 4*5=20
Exploring Operation: 4+5=9, Resulting Numbers: [30, 9]
Generated Node #0,3,2: 29:[30, 9] Operation: 4+5=9
Exploring Operation: 30+4=34, Resulting Numbers: [5, 34]
Generated Node #0,3,3: 29:[5, 34] Operation: 30+4=34
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[30, 20], Operations: ['84-79=5', '4*5=20']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[30, 9], Operations: ['84-79=5', '4+5=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[5, 26], Operations: ['84-79=5', '30-4=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[5, 34], Operations: ['84-79=5', '30+4=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,29 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[84, 79, 30, 4], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [30, 4, 5]
Generated Node #0,3: 29:[30, 4, 5] Operation: 84-79=5
Moving to Node #0,3
Current State: 29:[30, 4, 5], Operations: ['84-79=5']
Exploring Operation: 30+4=34, Resulting Numbers: [5, 34]
Generated Node #0,3,3: 29:[5, 34] Operation: 30+4=34
Moving to Node #0,3,3
Current State: 29:[5, 34], Operations: ['84-79=5', '30+4=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167
|
hs_4
|
mult_heuristic
|
[
19,
72,
74,
1
] | 40
|
[
"19+1=20",
"74-72=2",
"20*2=40"
] |
Current State: 40:[19, 72, 74, 1], Operations: []
Exploring Operation: 19+1=20, Resulting Numbers: [72, 74, 20]
Generated Node #2: [72, 74, 20] from Operation: 19+1=20
Current State: 40:[72, 74, 20], Operations: ['19+1=20']
Exploring Operation: 74-72=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 74-72=2
Current State: 40:[20, 2], Operations: ['19+1=20', '74-72=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[19, 72, 74, 1], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [19, 1, 2]
Generated Node #0,0: 40:[19, 1, 2] Operation: 74-72=2
Exploring Operation: 72-19=53, Resulting Numbers: [74, 1, 53]
Generated Node #0,1: 40:[74, 1, 53] Operation: 72-19=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[19, 1, 2], Operations: ['74-72=2']
Exploring Operation: 19*1=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 40:[2, 19] Operation: 19*1=19
Exploring Operation: 19+1=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 40:[2, 20] Operation: 19+1=20
Moving to Node #0,0,1
Current State: 40:[2, 20], Operations: ['74-72=2', '19+1=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[19, 72, 74, 1], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [19, 1, 2]
Generated Node #0,0: 40:[19, 1, 2] Operation: 74-72=2
Moving to Node #0,0
Current State: 40:[19, 1, 2], Operations: ['74-72=2']
Exploring Operation: 19+1=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 40:[2, 20] Operation: 19+1=20
Moving to Node #0,0,1
Current State: 40:[2, 20], Operations: ['74-72=2', '19+1=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
28,
85,
74,
73
] | 57
|
[
"85-28=57",
"74-73=1",
"57*1=57"
] |
Current State: 57:[28, 85, 74, 73], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [74, 73, 57]
Generated Node #2: [74, 73, 57] from Operation: 85-28=57
Current State: 57:[74, 73, 57], Operations: ['85-28=57']
Exploring Operation: 74-73=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 74-73=1
Current State: 57:[57, 1], Operations: ['85-28=57', '74-73=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4
|
Current State: 57:[28, 85, 74, 73], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [28, 74, 12]
Generated Node #0,0: 57:[28, 74, 12] Operation: 85-73=12
Exploring Operation: 85-74=11, Resulting Numbers: [28, 73, 11]
Generated Node #0,1: 57:[28, 73, 11] Operation: 85-74=11
Exploring Operation: 85-28=57, Resulting Numbers: [74, 73, 57]
Generated Node #0,2: 57:[74, 73, 57] Operation: 85-28=57
Exploring Operation: 74-73=1, Resulting Numbers: [28, 85, 1]
Generated Node #0,3: 57:[28, 85, 1] Operation: 74-73=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[28, 74, 12], Operations: ['85-73=12']
Exploring Operation: 28+12=40, Resulting Numbers: [74, 40]
Generated Node #0,0,0: 57:[74, 40] Operation: 28+12=40
Exploring Operation: 28-12=16, Resulting Numbers: [74, 16]
Generated Node #0,0,1: 57:[74, 16] Operation: 28-12=16
Exploring Operation: 74-28=46, Resulting Numbers: [12, 46]
Generated Node #0,0,2: 57:[12, 46] Operation: 74-28=46
Exploring Operation: 74-12=62, Resulting Numbers: [28, 62]
Generated Node #0,0,3: 57:[28, 62] Operation: 74-12=62
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[28, 62], Operations: ['85-73=12', '74-12=62']
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,57 unequal: No Solution
No 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: 57:[12, 46], Operations: ['85-73=12', '74-28=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,57 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No 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: 57:[74, 16], Operations: ['85-73=12', '28-12=16']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,57 unequal: No Solution
No 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: 57:[74, 40], Operations: ['85-73=12', '28+12=40']
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,57 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,57 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: 57:[28, 73, 11], Operations: ['85-74=11']
Exploring Operation: 73-28=45, Resulting Numbers: [11, 45]
Generated Node #0,1,0: 57:[11, 45] Operation: 73-28=45
Exploring Operation: 73-11=62, Resulting Numbers: [28, 62]
Generated Node #0,1,1: 57:[28, 62] Operation: 73-11=62
Exploring Operation: 28-11=17, Resulting Numbers: [73, 17]
Generated Node #0,1,2: 57:[73, 17] Operation: 28-11=17
Exploring Operation: 28+11=39, Resulting Numbers: [73, 39]
Generated Node #0,1,3: 57:[73, 39] Operation: 28+11=39
Moving to Node #0,1,1
Current State: 57:[28, 62], Operations: ['85-74=11', '73-11=62']
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[73, 17], Operations: ['85-74=11', '28-11=17']
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,57 unequal: No Solution
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[11, 45], Operations: ['85-74=11', '73-28=45']
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[73, 39], Operations: ['85-74=11', '28+11=39']
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,57 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[74, 73, 57], Operations: ['85-28=57']
Exploring Operation: 74-57=17, Resulting Numbers: [73, 17]
Generated Node #0,2,0: 57:[73, 17] Operation: 74-57=17
Exploring Operation: 74+73=147, Resulting Numbers: [57, 147]
Generated Node #0,2,1: 57:[57, 147] Operation: 74+73=147
Exploring Operation: 73-57=16, Resulting Numbers: [74, 16]
Generated Node #0,2,2: 57:[74, 16] Operation: 73-57=16
Exploring Operation: 74-73=1, Resulting Numbers: [57, 1]
Generated Node #0,2,3: 57:[57, 1] Operation: 74-73=1
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[57, 1], Operations: ['85-28=57', '74-73=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[28, 85, 74, 73], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [74, 73, 57]
Generated Node #0,2: 57:[74, 73, 57] Operation: 85-28=57
Moving to Node #0,2
Current State: 57:[74, 73, 57], Operations: ['85-28=57']
Exploring Operation: 74-73=1, Resulting Numbers: [57, 1]
Generated Node #0,2,3: 57:[57, 1] Operation: 74-73=1
Moving to Node #0,2,3
Current State: 57:[57, 1], Operations: ['85-28=57', '74-73=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201
|
hs_4
|
mult_heuristic
|
[
29,
12,
86,
70
] | 84
|
[
"70-12=58",
"58/29=2",
"86-2=84"
] |
Current State: 84:[29, 12, 86, 70], Operations: []
Exploring Operation: 70-12=58, Resulting Numbers: [29, 86, 58]
Generated Node #2: [29, 86, 58] from Operation: 70-12=58
Current State: 84:[29, 86, 58], Operations: ['70-12=58']
Exploring Operation: 58/29=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 58/29=2
Current State: 84:[86, 2], Operations: ['70-12=58', '58/29=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[29, 12, 86, 70], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [29, 12, 16]
Generated Node #0,0: 84:[29, 12, 16] Operation: 86-70=16
Exploring Operation: 70-29=41, Resulting Numbers: [12, 86, 41]
Generated Node #0,1: 84:[12, 86, 41] Operation: 70-29=41
Moving to Node #0,0
Current State: 84:[29, 12, 16], Operations: ['86-70=16']
Exploring Operation: 12+16=28, Resulting Numbers: [29, 28]
Generated Node #0,0,0: 84:[29, 28] Operation: 12+16=28
Exploring Operation: 29-16=13, Resulting Numbers: [12, 13]
Generated Node #0,0,1: 84:[12, 13] Operation: 29-16=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[29, 28], Operations: ['86-70=16', '12+16=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,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,1
Current State: 84:[12, 13], Operations: ['86-70=16', '29-16=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,84 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: 84:[12, 86, 41], Operations: ['70-29=41']
Exploring Operation: 86-41=45, Resulting Numbers: [12, 45]
Generated Node #0,1,0: 84:[12, 45] Operation: 86-41=45
Exploring Operation: 41-12=29, Resulting Numbers: [86, 29]
Generated Node #0,1,1: 84:[86, 29] Operation: 41-12=29
Moving to Node #0,1,0
Current State: 84:[12, 45], Operations: ['70-29=41', '86-41=45']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[86, 29], Operations: ['70-29=41', '41-12=29']
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 86+29=115, Resulting Numbers: [115]
115,84 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
60,
40,
39,
33
] | 59
|
[
"40*39=1560",
"1560/60=26",
"33+26=59"
] |
Current State: 59:[60, 40, 39, 33], Operations: []
Exploring Operation: 40*39=1560, Resulting Numbers: [60, 33, 1560]
Generated Node #2: [60, 33, 1560] from Operation: 40*39=1560
Current State: 59:[60, 33, 1560], Operations: ['40*39=1560']
Exploring Operation: 1560/60=26, Resulting Numbers: [33, 26]
Generated Node #3: [33, 26] from Operation: 1560/60=26
Current State: 59:[33, 26], Operations: ['40*39=1560', '1560/60=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4
|
Current State: 59:[60, 40, 39, 33], Operations: []
Exploring Operation: 40+39=79, Resulting Numbers: [60, 33, 79]
Generated Node #0,0: 59:[60, 33, 79] Operation: 40+39=79
Exploring Operation: 40+33=73, Resulting Numbers: [60, 39, 73]
Generated Node #0,1: 59:[60, 39, 73] Operation: 40+33=73
Exploring Operation: 60-33=27, Resulting Numbers: [40, 39, 27]
Generated Node #0,2: 59:[40, 39, 27] Operation: 60-33=27
Exploring Operation: 39+33=72, Resulting Numbers: [60, 40, 72]
Generated Node #0,3: 59:[60, 40, 72] Operation: 39+33=72
Exploring Operation: 60+33=93, Resulting Numbers: [40, 39, 93]
Generated Node #0,4: 59:[40, 39, 93] Operation: 60+33=93
Moving to Node #0,3
Current State: 59:[60, 40, 72], Operations: ['39+33=72']
Exploring Operation: 60-40=20, Resulting Numbers: [72, 20]
Generated Node #0,3,0: 59:[72, 20] Operation: 60-40=20
Exploring Operation: 40+72=112, Resulting Numbers: [60, 112]
Generated Node #0,3,1: 59:[60, 112] Operation: 40+72=112
Exploring Operation: 72-60=12, Resulting Numbers: [40, 12]
Generated Node #0,3,2: 59:[40, 12] Operation: 72-60=12
Exploring Operation: 60+40=100, Resulting Numbers: [72, 100]
Generated Node #0,3,3: 59:[72, 100] Operation: 60+40=100
Exploring Operation: 72-40=32, Resulting Numbers: [60, 32]
Generated Node #0,3,4: 59:[60, 32] Operation: 72-40=32
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[60, 32], Operations: ['39+33=72', '72-40=32']
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,59 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[72, 20], Operations: ['39+33=72', '60-40=20']
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,59 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[60, 112], Operations: ['39+33=72', '40+72=112']
Exploring Operation: 112-60=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 60+112=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 60*112=6720, Resulting Numbers: [6720]
6720,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[72, 100], Operations: ['39+33=72', '60+40=100']
Exploring Operation: 72*100=7200, Resulting Numbers: [7200]
7200,59 unequal: No Solution
Exploring Operation: 72+100=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 100-72=28, Resulting Numbers: [28]
28,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[40, 12], Operations: ['39+33=72', '72-60=12']
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,59 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[60, 39, 73], Operations: ['40+33=73']
Exploring Operation: 73-60=13, Resulting Numbers: [39, 13]
Generated Node #0,1,0: 59:[39, 13] Operation: 73-60=13
Exploring Operation: 60-39=21, Resulting Numbers: [73, 21]
Generated Node #0,1,1: 59:[73, 21] Operation: 60-39=21
Exploring Operation: 60+39=99, Resulting Numbers: [73, 99]
Generated Node #0,1,2: 59:[73, 99] Operation: 60+39=99
Exploring Operation: 39+73=112, Resulting Numbers: [60, 112]
Generated Node #0,1,3: 59:[60, 112] Operation: 39+73=112
Exploring Operation: 73-39=34, Resulting Numbers: [60, 34]
Generated Node #0,1,4: 59:[60, 34] Operation: 73-39=34
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 59:[60, 34], Operations: ['40+33=73', '73-39=34']
Exploring Operation: 60*34=2040, Resulting Numbers: [2040]
2040,59 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[73, 21], Operations: ['40+33=73', '60-39=21']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,59 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[73, 99], Operations: ['40+33=73', '60+39=99']
Exploring Operation: 73+99=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 99-73=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 73*99=7227, Resulting Numbers: [7227]
7227,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[60, 112], Operations: ['40+33=73', '39+73=112']
Exploring Operation: 60*112=6720, Resulting Numbers: [6720]
6720,59 unequal: No Solution
Exploring Operation: 112-60=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 60+112=172, Resulting Numbers: [172]
172,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[39, 13], Operations: ['40+33=73', '73-60=13']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 59:[60, 33, 79], Operations: ['40+39=79']
Exploring Operation: 60-33=27, Resulting Numbers: [79, 27]
Generated Node #0,0,0: 59:[79, 27] Operation: 60-33=27
Exploring Operation: 33+79=112, Resulting Numbers: [60, 112]
Generated Node #0,0,1: 59:[60, 112] Operation: 33+79=112
Exploring Operation: 60+33=93, Resulting Numbers: [79, 93]
Generated Node #0,0,2: 59:[79, 93] Operation: 60+33=93
Exploring Operation: 79-60=19, Resulting Numbers: [33, 19]
Generated Node #0,0,3: 59:[33, 19] Operation: 79-60=19
Exploring Operation: 79-33=46, Resulting Numbers: [60, 46]
Generated Node #0,0,4: 59:[60, 46] Operation: 79-33=46
Moving to Node #0,2
Current State: 59:[40, 39, 27], Operations: ['60-33=27']
Exploring Operation: 40+27=67, Resulting Numbers: [39, 67]
Generated Node #0,2,0: 59:[39, 67] Operation: 40+27=67
Exploring Operation: 40+39=79, Resulting Numbers: [27, 79]
Generated Node #0,2,1: 59:[27, 79] Operation: 40+39=79
Exploring Operation: 39-27=12, Resulting Numbers: [40, 12]
Generated Node #0,2,2: 59:[40, 12] Operation: 39-27=12
Exploring Operation: 39+27=66, Resulting Numbers: [40, 66]
Generated Node #0,2,3: 59:[40, 66] Operation: 39+27=66
Exploring Operation: 40-27=13, Resulting Numbers: [39, 13]
Generated Node #0,2,4: 59:[39, 13] Operation: 40-27=13
Moving to Node #0,4
Current State: 59:[40, 39, 93], Operations: ['60+33=93']
Exploring Operation: 93-39=54, Resulting Numbers: [40, 54]
Generated Node #0,4,0: 59:[40, 54] Operation: 93-39=54
Exploring Operation: 40+39=79, Resulting Numbers: [93, 79]
Generated Node #0,4,1: 59:[93, 79] Operation: 40+39=79
Exploring Operation: 40-39=1, Resulting Numbers: [93, 1]
Generated Node #0,4,2: 59:[93, 1] Operation: 40-39=1
Exploring Operation: 93-40=53, Resulting Numbers: [39, 53]
Generated Node #0,4,3: 59:[39, 53] Operation: 93-40=53
Exploring Operation: 39+93=132, Resulting Numbers: [40, 132]
Generated Node #0,4,4: 59:[40, 132] Operation: 39+93=132
Moving to Node #0,0,4
Current State: 59:[60, 46], Operations: ['40+39=79', '79-33=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[40, 54], Operations: ['60+33=93', '93-39=54']
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[40, 66], Operations: ['60-33=27', '39+27=66']
Exploring Operation: 40+66=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 40*66=2640, Resulting Numbers: [2640]
2640,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[39, 53], Operations: ['60+33=93', '93-40=53']
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,59 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[39, 67], Operations: ['60-33=27', '40+27=67']
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,59 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[79, 27], Operations: ['40+39=79', '60-33=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[27, 79], Operations: ['60-33=27', '40+39=79']
Exploring Operation: 27+79=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 27*79=2133, Resulting Numbers: [2133]
2133,59 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[93, 79], Operations: ['60+33=93', '40+39=79']
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 93*79=7347, Resulting Numbers: [7347]
7347,59 unequal: No Solution
Exploring Operation: 93+79=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[60, 112], Operations: ['40+39=79', '33+79=112']
Exploring Operation: 112-60=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 60+112=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 60*112=6720, Resulting Numbers: [6720]
6720,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[79, 93], Operations: ['40+39=79', '60+33=93']
Exploring Operation: 79+93=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 79*93=7347, Resulting Numbers: [7347]
7347,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[39, 13], Operations: ['60-33=27', '40-27=13']
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,59 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[33, 19], Operations: ['40+39=79', '79-60=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,59 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[40, 12], Operations: ['60-33=27', '39-27=12']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,59 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[93, 1], Operations: ['60+33=93', '40-39=1']
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[40, 132], Operations: ['60+33=93', '39+93=132']
Exploring Operation: 132-40=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 40+132=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 40*132=5280, Resulting Numbers: [5280]
5280,59 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
64,
68,
76,
32
] | 60
|
[
"64*68=4352",
"4352/32=136",
"136-76=60"
] |
Current State: 60:[64, 68, 76, 32], Operations: []
Exploring Operation: 64*68=4352, Resulting Numbers: [76, 32, 4352]
Generated Node #2: [76, 32, 4352] from Operation: 64*68=4352
Current State: 60:[76, 32, 4352], Operations: ['64*68=4352']
Exploring Operation: 4352/32=136, Resulting Numbers: [76, 136]
Generated Node #3: [76, 136] from Operation: 4352/32=136
Current State: 60:[76, 136], Operations: ['64*68=4352', '4352/32=136']
Exploring Operation: 136-76=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[64, 68, 76, 32], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [68, 76, 2]
Generated Node #0,0: 60:[68, 76, 2] Operation: 64/32=2
Exploring Operation: 76-68=8, Resulting Numbers: [64, 32, 8]
Generated Node #0,1: 60:[64, 32, 8] Operation: 76-68=8
Exploring Operation: 76-64=12, Resulting Numbers: [68, 32, 12]
Generated Node #0,2: 60:[68, 32, 12] Operation: 76-64=12
Exploring Operation: 68-64=4, Resulting Numbers: [76, 32, 4]
Generated Node #0,3: 60:[76, 32, 4] Operation: 68-64=4
Moving to Node #0,1
Current State: 60:[64, 32, 8], Operations: ['76-68=8']
Exploring Operation: 64-32=32, Resulting Numbers: [8, 32]
Generated Node #0,1,0: 60:[8, 32] Operation: 64-32=32
Exploring Operation: 32/8=4, Resulting Numbers: [64, 4]
Generated Node #0,1,1: 60:[64, 4] Operation: 32/8=4
Exploring Operation: 64/32=2, Resulting Numbers: [8, 2]
Generated Node #0,1,2: 60:[8, 2] Operation: 64/32=2
Exploring Operation: 64/8=8, Resulting Numbers: [32, 8]
Generated Node #0,1,3: 60:[32, 8] Operation: 64/8=8
Moving to Node #0,2
Current State: 60:[68, 32, 12], Operations: ['76-64=12']
Exploring Operation: 68-12=56, Resulting Numbers: [32, 56]
Generated Node #0,2,0: 60:[32, 56] Operation: 68-12=56
Exploring Operation: 32-12=20, Resulting Numbers: [68, 20]
Generated Node #0,2,1: 60:[68, 20] Operation: 32-12=20
Exploring Operation: 68+12=80, Resulting Numbers: [32, 80]
Generated Node #0,2,2: 60:[32, 80] Operation: 68+12=80
Exploring Operation: 68-32=36, Resulting Numbers: [12, 36]
Generated Node #0,2,3: 60:[12, 36] Operation: 68-32=36
Moving to Node #0,3
Current State: 60:[76, 32, 4], Operations: ['68-64=4']
Exploring Operation: 76/4=19, Resulting Numbers: [32, 19]
Generated Node #0,3,0: 60:[32, 19] Operation: 76/4=19
Exploring Operation: 76-32=44, Resulting Numbers: [4, 44]
Generated Node #0,3,1: 60:[4, 44] Operation: 76-32=44
Exploring Operation: 76-4=72, Resulting Numbers: [32, 72]
Generated Node #0,3,2: 60:[32, 72] Operation: 76-4=72
Exploring Operation: 32-4=28, Resulting Numbers: [76, 28]
Generated Node #0,3,3: 60:[76, 28] Operation: 32-4=28
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[32, 19], Operations: ['68-64=4', '76/4=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,60 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[4, 44], Operations: ['68-64=4', '76-32=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[32, 72], Operations: ['68-64=4', '76-4=72']
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,60 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[76, 28], Operations: ['68-64=4', '32-4=28']
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,60 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,60 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,60 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: 60:[68, 76, 2], Operations: ['64/32=2']
Exploring Operation: 68-2=66, Resulting Numbers: [76, 66]
Generated Node #0,0,0: 60:[76, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [76, 34]
Generated Node #0,0,1: 60:[76, 34] Operation: 68/2=34
Exploring Operation: 76/2=38, Resulting Numbers: [68, 38]
Generated Node #0,0,2: 60:[68, 38] Operation: 76/2=38
Exploring Operation: 76-68=8, Resulting Numbers: [2, 8]
Generated Node #0,0,3: 60:[2, 8] Operation: 76-68=8
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[2, 8], Operations: ['64/32=2', '76-68=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[68, 38], Operations: ['64/32=2', '76/2=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,60 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[76, 34], Operations: ['64/32=2', '68/2=34']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,60 unequal: No Solution
Exploring Operation: 76*34=2584, Resulting Numbers: [2584]
2584,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[76, 66], Operations: ['64/32=2', '68-2=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,60 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 60:[8, 2], Operations: ['76-68=8', '64/32=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[64, 4], Operations: ['76-68=8', '32/8=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[64, 68, 76, 32], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [64, 32, 8]
Generated Node #0,1: 60:[64, 32, 8] Operation: 76-68=8
Moving to Node #0,1
Current State: 60:[64, 32, 8], Operations: ['76-68=8']
Exploring Operation: 32/8=4, Resulting Numbers: [64, 4]
Generated Node #0,1,1: 60:[64, 4] Operation: 32/8=4
Moving to Node #0,1,1
Current State: 60:[64, 4], Operations: ['76-68=8', '32/8=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.951389
|
hs_4
|
mult_heuristic
|
[
7,
66,
23,
20
] | 87
|
[
"23-20=3",
"7*3=21",
"66+21=87"
] |
Current State: 87:[7, 66, 23, 20], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [7, 66, 3]
Generated Node #2: [7, 66, 3] from Operation: 23-20=3
Current State: 87:[7, 66, 3], Operations: ['23-20=3']
Exploring Operation: 7*3=21, Resulting Numbers: [66, 21]
Generated Node #3: [66, 21] from Operation: 7*3=21
Current State: 87:[66, 21], Operations: ['23-20=3', '7*3=21']
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[7, 66, 23, 20], Operations: []
Exploring Operation: 66+23=89, Resulting Numbers: [7, 20, 89]
Generated Node #0,0: 87:[7, 20, 89] Operation: 66+23=89
Exploring Operation: 23-20=3, Resulting Numbers: [7, 66, 3]
Generated Node #0,1: 87:[7, 66, 3] Operation: 23-20=3
Exploring Operation: 66+20=86, Resulting Numbers: [7, 23, 86]
Generated Node #0,2: 87:[7, 23, 86] Operation: 66+20=86
Moving to Node #0,2
Current State: 87:[7, 23, 86], Operations: ['66+20=86']
Exploring Operation: 23-7=16, Resulting Numbers: [86, 16]
Generated Node #0,2,0: 87:[86, 16] Operation: 23-7=16
Exploring Operation: 7+86=93, Resulting Numbers: [23, 93]
Generated Node #0,2,1: 87:[23, 93] Operation: 7+86=93
Exploring Operation: 7+23=30, Resulting Numbers: [86, 30]
Generated Node #0,2,2: 87:[86, 30] Operation: 7+23=30
Moving to Node #0,0
Current State: 87:[7, 20, 89], Operations: ['66+23=89']
Exploring Operation: 7+20=27, Resulting Numbers: [89, 27]
Generated Node #0,0,0: 87:[89, 27] Operation: 7+20=27
Exploring Operation: 20-7=13, Resulting Numbers: [89, 13]
Generated Node #0,0,1: 87:[89, 13] Operation: 20-7=13
Exploring Operation: 89-7=82, Resulting Numbers: [20, 82]
Generated Node #0,0,2: 87:[20, 82] Operation: 89-7=82
Moving to Node #0,1
Current State: 87:[7, 66, 3], Operations: ['23-20=3']
Exploring Operation: 7-3=4, Resulting Numbers: [66, 4]
Generated Node #0,1,0: 87:[66, 4] Operation: 7-3=4
Exploring Operation: 66/3=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 87:[7, 22] Operation: 66/3=22
Exploring Operation: 7+66=73, Resulting Numbers: [3, 73]
Generated Node #0,1,2: 87:[3, 73] Operation: 7+66=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[7, 22], Operations: ['23-20=3', '66/3=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,87 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[3, 73], Operations: ['23-20=3', '7+66=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,87 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[66, 4], Operations: ['23-20=3', '7-3=4']
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,87 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,87 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: 87:[86, 30], Operations: ['66+20=86', '7+23=30']
Exploring Operation: 86*30=2580, Resulting Numbers: [2580]
2580,87 unequal: No Solution
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 86+30=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[89, 27], Operations: ['66+23=89', '7+20=27']
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,87 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[89, 13], Operations: ['66+23=89', '20-7=13']
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,87 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[23, 93], Operations: ['66+20=86', '7+86=93']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[20, 82], Operations: ['66+23=89', '89-7=82']
Exploring Operation: 20+82=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 20*82=1640, Resulting Numbers: [1640]
1640,87 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[86, 16], Operations: ['66+20=86', '23-7=16']
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 86*16=1376, Resulting Numbers: [1376]
1376,87 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
4,
83,
77,
15
] | 66
|
[
"4*15=60",
"83-77=6",
"60+6=66"
] |
Current State: 66:[4, 83, 77, 15], Operations: []
Exploring Operation: 4*15=60, Resulting Numbers: [83, 77, 60]
Generated Node #2: [83, 77, 60] from Operation: 4*15=60
Current State: 66:[83, 77, 60], Operations: ['4*15=60']
Exploring Operation: 83-77=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 83-77=6
Current State: 66:[60, 6], Operations: ['4*15=60', '83-77=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[4, 83, 77, 15], Operations: []
Exploring Operation: 77-4=73, Resulting Numbers: [83, 15, 73]
Generated Node #0,0: 66:[83, 15, 73] Operation: 77-4=73
Exploring Operation: 77-15=62, Resulting Numbers: [4, 83, 62]
Generated Node #0,1: 66:[4, 83, 62] Operation: 77-15=62
Exploring Operation: 83-77=6, Resulting Numbers: [4, 15, 6]
Generated Node #0,2: 66:[4, 15, 6] Operation: 83-77=6
Exploring Operation: 83-15=68, Resulting Numbers: [4, 77, 68]
Generated Node #0,3: 66:[4, 77, 68] Operation: 83-15=68
Exploring Operation: 83-4=79, Resulting Numbers: [77, 15, 79]
Generated Node #0,4: 66:[77, 15, 79] Operation: 83-4=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[4, 15, 6], Operations: ['83-77=6']
Exploring Operation: 15+6=21, Resulting Numbers: [4, 21]
Generated Node #0,2,0: 66:[4, 21] Operation: 15+6=21
Exploring Operation: 6-4=2, Resulting Numbers: [15, 2]
Generated Node #0,2,1: 66:[15, 2] Operation: 6-4=2
Exploring Operation: 15-4=11, Resulting Numbers: [6, 11]
Generated Node #0,2,2: 66:[6, 11] Operation: 15-4=11
Exploring Operation: 4+15=19, Resulting Numbers: [6, 19]
Generated Node #0,2,3: 66:[6, 19] Operation: 4+15=19
Exploring Operation: 15-6=9, Resulting Numbers: [4, 9]
Generated Node #0,2,4: 66:[4, 9] Operation: 15-6=9
Moving to Node #0,2,2
Current State: 66:[6, 11], Operations: ['83-77=6', '15-4=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[4, 83, 77, 15], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [4, 15, 6]
Generated Node #0,2: 66:[4, 15, 6] Operation: 83-77=6
Moving to Node #0,2
Current State: 66:[4, 15, 6], Operations: ['83-77=6']
Exploring Operation: 15-4=11, Resulting Numbers: [6, 11]
Generated Node #0,2,2: 66:[6, 11] Operation: 15-4=11
Moving to Node #0,2,2
Current State: 66:[6, 11], Operations: ['83-77=6', '15-4=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
mult_heuristic
|
[
83,
97,
2,
84
] | 98
|
[
"83+97=180",
"84-2=82",
"180-82=98"
] |
Current State: 98:[83, 97, 2, 84], Operations: []
Exploring Operation: 83+97=180, Resulting Numbers: [2, 84, 180]
Generated Node #2: [2, 84, 180] from Operation: 83+97=180
Current State: 98:[2, 84, 180], Operations: ['83+97=180']
Exploring Operation: 84-2=82, Resulting Numbers: [180, 82]
Generated Node #3: [180, 82] from Operation: 84-2=82
Current State: 98:[180, 82], Operations: ['83+97=180', '84-2=82']
Exploring Operation: 180-82=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[83, 97, 2, 84], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [83, 2, 13]
Generated Node #0,0: 98:[83, 2, 13] Operation: 97-84=13
Exploring Operation: 84/2=42, Resulting Numbers: [83, 97, 42]
Generated Node #0,1: 98:[83, 97, 42] Operation: 84/2=42
Exploring Operation: 97-83=14, Resulting Numbers: [2, 84, 14]
Generated Node #0,2: 98:[2, 84, 14] Operation: 97-83=14
Exploring Operation: 84-83=1, Resulting Numbers: [97, 2, 1]
Generated Node #0,3: 98:[97, 2, 1] Operation: 84-83=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[97, 2, 1], Operations: ['84-83=1']
Exploring Operation: 97/1=97, Resulting Numbers: [2, 97]
Generated Node #0,3,0: 98:[2, 97] Operation: 97/1=97
Exploring Operation: 2*1=2, Resulting Numbers: [97, 2]
Generated Node #0,3,1: 98:[97, 2] Operation: 2*1=2
Exploring Operation: 97*1=97, Resulting Numbers: [2, 97]
Generated Node #0,3,2: 98:[2, 97] Operation: 97*1=97
Exploring Operation: 97+1=98, Resulting Numbers: [2, 98]
Generated Node #0,3,3: 98:[2, 98] Operation: 97+1=98
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[2, 98], Operations: ['84-83=1', '97+1=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 2*98=196, Resulting Numbers: [196]
196,98 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 98:[2, 97], Operations: ['84-83=1', '97/1=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 2*97=194, Resulting Numbers: [194]
194,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[97, 2], Operations: ['84-83=1', '2*1=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 98:[2, 97], Operations: ['84-83=1', '97*1=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 2*97=194, Resulting Numbers: [194]
194,98 unequal: No Solution
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,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,2
Current State: 98:[2, 84, 14], Operations: ['97-83=14']
Exploring Operation: 84/2=42, Resulting Numbers: [14, 42]
Generated Node #0,2,0: 98:[14, 42] Operation: 84/2=42
Exploring Operation: 84/14=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 98:[2, 6] Operation: 84/14=6
Exploring Operation: 84+14=98, Resulting Numbers: [2, 98]
Generated Node #0,2,2: 98:[2, 98] Operation: 84+14=98
Exploring Operation: 2+84=86, Resulting Numbers: [14, 86]
Generated Node #0,2,3: 98:[14, 86] Operation: 2+84=86
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[2, 98], Operations: ['97-83=14', '84+14=98']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 2*98=196, Resulting Numbers: [196]
196,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,2,1
Current State: 98:[2, 6], Operations: ['97-83=14', '84/14=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,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,2,0
Current State: 98:[14, 42], Operations: ['97-83=14', '84/2=42']
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,98 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[14, 86], Operations: ['97-83=14', '2+84=86']
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,98 unequal: No Solution
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[83, 2, 13], Operations: ['97-84=13']
Exploring Operation: 83+13=96, Resulting Numbers: [2, 96]
Generated Node #0,0,0: 98:[2, 96] Operation: 83+13=96
Exploring Operation: 83+2=85, Resulting Numbers: [13, 85]
Generated Node #0,0,1: 98:[13, 85] Operation: 83+2=85
Exploring Operation: 2+13=15, Resulting Numbers: [83, 15]
Generated Node #0,0,2: 98:[83, 15] Operation: 2+13=15
Exploring Operation: 83-2=81, Resulting Numbers: [13, 81]
Generated Node #0,0,3: 98:[13, 81] Operation: 83-2=81
Moving to Node #0,0,0
Current State: 98:[2, 96], Operations: ['97-84=13', '83+13=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[83, 97, 2, 84], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [83, 2, 13]
Generated Node #0,0: 98:[83, 2, 13] Operation: 97-84=13
Moving to Node #0,0
Current State: 98:[83, 2, 13], Operations: ['97-84=13']
Exploring Operation: 83+13=96, Resulting Numbers: [2, 96]
Generated Node #0,0,0: 98:[2, 96] Operation: 83+13=96
Moving to Node #0,0,0
Current State: 98:[2, 96], Operations: ['97-84=13', '83+13=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465
|
hs_4
|
sum_heuristic
|
[
38,
15,
3,
83
] | 50
|
[
"83-38=45",
"15/3=5",
"45+5=50"
] |
Current State: 50:[38, 15, 3, 83], Operations: []
Exploring Operation: 83-38=45, Resulting Numbers: [15, 3, 45]
Generated Node #2: [15, 3, 45] from Operation: 83-38=45
Current State: 50:[15, 3, 45], Operations: ['83-38=45']
Exploring Operation: 15/3=5, Resulting Numbers: [45, 5]
Generated Node #3: [45, 5] from Operation: 15/3=5
Current State: 50:[45, 5], Operations: ['83-38=45', '15/3=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4
|
Current State: 50:[38, 15, 3, 83], Operations: []
Exploring Operation: 83-38=45, Resulting Numbers: [15, 3, 45]
Generated Node #0,0: 50:[15, 3, 45] Operation: 83-38=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[15, 3, 45], Operations: ['83-38=45']
Exploring Operation: 45/15=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 50:[3, 3] Operation: 45/15=3
Moving to Node #0,0,0
Current State: 50:[3, 3], Operations: ['83-38=45', '45/15=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
36,
75,
86,
64
] | 39
|
[
"36+75=111",
"86+64=150",
"150-111=39"
] |
Current State: 39:[36, 75, 86, 64], Operations: []
Exploring Operation: 36+75=111, Resulting Numbers: [86, 64, 111]
Generated Node #2: [86, 64, 111] from Operation: 36+75=111
Current State: 39:[86, 64, 111], Operations: ['36+75=111']
Exploring Operation: 86+64=150, Resulting Numbers: [111, 150]
Generated Node #3: [111, 150] from Operation: 86+64=150
Current State: 39:[111, 150], Operations: ['36+75=111', '86+64=150']
Exploring Operation: 150-111=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[36, 75, 86, 64], Operations: []
Exploring Operation: 86-75=11, Resulting Numbers: [36, 64, 11]
Generated Node #0,0: 39:[36, 64, 11] Operation: 86-75=11
Moving to Node #0,0
Current State: 39:[36, 64, 11], Operations: ['86-75=11']
Exploring Operation: 64-36=28, Resulting Numbers: [11, 28]
Generated Node #0,0,0: 39:[11, 28] Operation: 64-36=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[11, 28], Operations: ['86-75=11', '64-36=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[36, 75, 86, 64], Operations: []
Exploring Operation: 86-75=11, Resulting Numbers: [36, 64, 11]
Generated Node #0,0: 39:[36, 64, 11] Operation: 86-75=11
Moving to Node #0,0
Current State: 39:[36, 64, 11], Operations: ['86-75=11']
Exploring Operation: 64-36=28, Resulting Numbers: [11, 28]
Generated Node #0,0,0: 39:[11, 28] Operation: 64-36=28
Moving to Node #0,0,0
Current State: 39:[11, 28], Operations: ['86-75=11', '64-36=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
30,
90,
81,
15
] | 32
|
[
"90/30=3",
"81+15=96",
"96/3=32"
] |
Current State: 32:[30, 90, 81, 15], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [81, 15, 3]
Generated Node #2: [81, 15, 3] from Operation: 90/30=3
Current State: 32:[81, 15, 3], Operations: ['90/30=3']
Exploring Operation: 81+15=96, Resulting Numbers: [3, 96]
Generated Node #3: [3, 96] from Operation: 81+15=96
Current State: 32:[3, 96], Operations: ['90/30=3', '81+15=96']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[30, 90, 81, 15], Operations: []
Exploring Operation: 90-30=60, Resulting Numbers: [81, 15, 60]
Generated Node #0,0: 32:[81, 15, 60] Operation: 90-30=60
Exploring Operation: 90/30=3, Resulting Numbers: [81, 15, 3]
Generated Node #0,1: 32:[81, 15, 3] Operation: 90/30=3
Exploring Operation: 90-81=9, Resulting Numbers: [30, 15, 9]
Generated Node #0,2: 32:[30, 15, 9] Operation: 90-81=9
Exploring Operation: 90/15=6, Resulting Numbers: [30, 81, 6]
Generated Node #0,3: 32:[30, 81, 6] Operation: 90/15=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[30, 15, 9], Operations: ['90-81=9']
Exploring Operation: 30-15=15, Resulting Numbers: [9, 15]
Generated Node #0,2,0: 32:[9, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 32:[9, 2] Operation: 30/15=2
Exploring Operation: 15-9=6, Resulting Numbers: [30, 6]
Generated Node #0,2,2: 32:[30, 6] Operation: 15-9=6
Exploring Operation: 30-9=21, Resulting Numbers: [15, 21]
Generated Node #0,2,3: 32:[15, 21] Operation: 30-9=21
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[9, 2], Operations: ['90-81=9', '30/15=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No 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: 32:[9, 15], Operations: ['90-81=9', '30-15=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,32 unequal: No Solution
No 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: 32:[30, 6], Operations: ['90-81=9', '15-9=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,32 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No 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: 32:[15, 21], Operations: ['90-81=9', '30-9=21']
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,32 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[81, 15, 3], Operations: ['90/30=3']
Exploring Operation: 81/3=27, Resulting Numbers: [15, 27]
Generated Node #0,1,0: 32:[15, 27] Operation: 81/3=27
Exploring Operation: 81-15=66, Resulting Numbers: [3, 66]
Generated Node #0,1,1: 32:[3, 66] Operation: 81-15=66
Exploring Operation: 15/3=5, Resulting Numbers: [81, 5]
Generated Node #0,1,2: 32:[81, 5] Operation: 15/3=5
Exploring Operation: 81-3=78, Resulting Numbers: [15, 78]
Generated Node #0,1,3: 32:[15, 78] Operation: 81-3=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[15, 27], Operations: ['90/30=3', '81/3=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,32 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,32 unequal: No Solution
No 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: 32:[3, 66], Operations: ['90/30=3', '81-15=66']
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,32 unequal: No Solution
No 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: 32:[15, 78], Operations: ['90/30=3', '81-3=78']
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 15+78=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 15*78=1170, Resulting Numbers: [1170]
1170,32 unequal: No Solution
No 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: 32:[81, 5], Operations: ['90/30=3', '15/3=5']
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,32 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[30, 81, 6], Operations: ['90/15=6']
Exploring Operation: 81-30=51, Resulting Numbers: [6, 51]
Generated Node #0,3,0: 32:[6, 51] Operation: 81-30=51
Exploring Operation: 30+6=36, Resulting Numbers: [81, 36]
Generated Node #0,3,1: 32:[81, 36] Operation: 30+6=36
Exploring Operation: 30/6=5, Resulting Numbers: [81, 5]
Generated Node #0,3,2: 32:[81, 5] Operation: 30/6=5
Exploring Operation: 81-6=75, Resulting Numbers: [30, 75]
Generated Node #0,3,3: 32:[30, 75] Operation: 81-6=75
Moving to Node #0,3,0
Current State: 32:[6, 51], Operations: ['90/15=6', '81-30=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[30, 75], Operations: ['90/15=6', '81-6=75']
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,32 unequal: No Solution
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[81, 5], Operations: ['90/15=6', '30/6=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,32 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[81, 36], Operations: ['90/15=6', '30+6=36']
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,32 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,32 unequal: No Solution
No 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: 32:[81, 15, 60], Operations: ['90-30=60']
Exploring Operation: 60/15=4, Resulting Numbers: [81, 4]
Generated Node #0,0,0: 32:[81, 4] Operation: 60/15=4
Exploring Operation: 81-15=66, Resulting Numbers: [60, 66]
Generated Node #0,0,1: 32:[60, 66] Operation: 81-15=66
Exploring Operation: 60-15=45, Resulting Numbers: [81, 45]
Generated Node #0,0,2: 32:[81, 45] Operation: 60-15=45
Exploring Operation: 81-60=21, Resulting Numbers: [15, 21]
Generated Node #0,0,3: 32:[15, 21] Operation: 81-60=21
Moving to Node #0,0,3
Current State: 32:[15, 21], Operations: ['90-30=60', '81-60=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[81, 4], Operations: ['90-30=60', '60/15=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,32 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[81, 45], Operations: ['90-30=60', '60-15=45']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,32 unequal: No Solution
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[60, 66], Operations: ['90-30=60', '81-15=66']
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,32 unequal: No Solution
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,32 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
50,
42,
7,
84
] | 28
|
[
"50-42=8",
"7*8=56",
"84-56=28"
] |
Current State: 28:[50, 42, 7, 84], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [7, 84, 8]
Generated Node #2: [7, 84, 8] from Operation: 50-42=8
Current State: 28:[7, 84, 8], Operations: ['50-42=8']
Exploring Operation: 7*8=56, Resulting Numbers: [84, 56]
Generated Node #3: [84, 56] from Operation: 7*8=56
Current State: 28:[84, 56], Operations: ['50-42=8', '7*8=56']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[50, 42, 7, 84], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [42, 7, 34]
Generated Node #0,0: 28:[42, 7, 34] Operation: 84-50=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[42, 7, 34], Operations: ['84-50=34']
Exploring Operation: 42-34=8, Resulting Numbers: [7, 8]
Generated Node #0,0,0: 28:[7, 8] Operation: 42-34=8
Moving to Node #0,0,0
Current State: 28:[7, 8], Operations: ['84-50=34', '42-34=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,28 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
|
[
49,
3,
60,
52
] | 79
|
[
"49+52=101",
"3*60=180",
"180-101=79"
] |
Current State: 79:[49, 3, 60, 52], Operations: []
Exploring Operation: 49+52=101, Resulting Numbers: [3, 60, 101]
Generated Node #2: [3, 60, 101] from Operation: 49+52=101
Current State: 79:[3, 60, 101], Operations: ['49+52=101']
Exploring Operation: 3*60=180, Resulting Numbers: [101, 180]
Generated Node #3: [101, 180] from Operation: 3*60=180
Current State: 79:[101, 180], Operations: ['49+52=101', '3*60=180']
Exploring Operation: 180-101=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4
|
Current State: 79:[49, 3, 60, 52], Operations: []
Exploring Operation: 49+3=52, Resulting Numbers: [60, 52, 52]
Generated Node #0,0: 79:[60, 52, 52] Operation: 49+3=52
Exploring Operation: 3+60=63, Resulting Numbers: [49, 52, 63]
Generated Node #0,1: 79:[49, 52, 63] Operation: 3+60=63
Exploring Operation: 3+52=55, Resulting Numbers: [49, 60, 55]
Generated Node #0,2: 79:[49, 60, 55] Operation: 3+52=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[60, 52, 52], Operations: ['49+3=52']
Exploring Operation: 60+52=112, Resulting Numbers: [52, 112]
Generated Node #0,0,0: 79:[52, 112] Operation: 60+52=112
Exploring Operation: 60+52=112, Resulting Numbers: [52, 112]
Generated Node #0,0,1: 79:[52, 112] Operation: 60+52=112
Exploring Operation: 52+52=104, Resulting Numbers: [60, 104]
Generated Node #0,0,2: 79:[60, 104] Operation: 52+52=104
Moving to Node #0,0,2
Current State: 79:[60, 104], Operations: ['49+3=52', '52+52=104']
Exploring Operation: 60+104=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 60*104=6240, Resulting Numbers: [6240]
6240,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[52, 112], Operations: ['49+3=52', '60+52=112']
Exploring Operation: 52+112=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 52*112=5824, Resulting Numbers: [5824]
5824,79 unequal: No Solution
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[52, 112], Operations: ['49+3=52', '60+52=112']
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 52*112=5824, Resulting Numbers: [5824]
5824,79 unequal: No Solution
Exploring Operation: 52+112=164, Resulting Numbers: [164]
164,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[49, 52, 63], Operations: ['3+60=63']
Exploring Operation: 52+63=115, Resulting Numbers: [49, 115]
Generated Node #0,1,0: 79:[49, 115] Operation: 52+63=115
Exploring Operation: 49+63=112, Resulting Numbers: [52, 112]
Generated Node #0,1,1: 79:[52, 112] Operation: 49+63=112
Exploring Operation: 49+52=101, Resulting Numbers: [63, 101]
Generated Node #0,1,2: 79:[63, 101] Operation: 49+52=101
Moving to Node #0,1,2
Current State: 79:[63, 101], Operations: ['3+60=63', '49+52=101']
Exploring Operation: 63*101=6363, Resulting Numbers: [6363]
6363,79 unequal: No Solution
Exploring Operation: 63+101=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 101-63=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[52, 112], Operations: ['3+60=63', '49+63=112']
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 52+112=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 52*112=5824, Resulting Numbers: [5824]
5824,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[49, 115], Operations: ['3+60=63', '52+63=115']
Exploring Operation: 49+115=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 49*115=5635, Resulting Numbers: [5635]
5635,79 unequal: No Solution
Exploring Operation: 115-49=66, Resulting Numbers: [66]
66,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[49, 60, 55], Operations: ['3+52=55']
Exploring Operation: 60+55=115, Resulting Numbers: [49, 115]
Generated Node #0,2,0: 79:[49, 115] Operation: 60+55=115
Exploring Operation: 49+55=104, Resulting Numbers: [60, 104]
Generated Node #0,2,1: 79:[60, 104] Operation: 49+55=104
Exploring Operation: 49+60=109, Resulting Numbers: [55, 109]
Generated Node #0,2,2: 79:[55, 109] Operation: 49+60=109
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[60, 104], Operations: ['3+52=55', '49+55=104']
Exploring Operation: 60+104=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 60*104=6240, Resulting Numbers: [6240]
6240,79 unequal: No Solution
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,79 unequal: No Solution
No 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: 79:[55, 109], Operations: ['3+52=55', '49+60=109']
Exploring Operation: 55+109=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 55*109=5995, Resulting Numbers: [5995]
5995,79 unequal: No Solution
Exploring Operation: 109-55=54, Resulting Numbers: [54]
54,79 unequal: No Solution
No 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: 79:[49, 115], Operations: ['3+52=55', '60+55=115']
Exploring Operation: 115-49=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 49*115=5635, Resulting Numbers: [5635]
5635,79 unequal: No Solution
Exploring Operation: 49+115=164, Resulting Numbers: [164]
164,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.