Dataset Viewer
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 |
---|---|---|---|---|---|---|---|---|
[
45,
41,
94,
82
] | 79 |
[
"41+94=135",
"135/45=3",
"82-3=79"
] |
Current State: 79:[45, 41, 94, 82], Operations: []
Exploring Operation: 41+94=135, Resulting Numbers: [45, 82, 135]
Generated Node #2: [45, 82, 135] from Operation: 41+94=135
Current State: 79:[45, 82, 135], Operations: ['41+94=135']
Exploring Operation: 135/45=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 135/45=3
Current State: 79:[82, 3], Operations: ['41+94=135', '135/45=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[45, 41, 94, 82], Operations: []
Exploring Operation: 45+41=86, Resulting Numbers: [94, 82, 86]
Generated Node #0,0: 79:[94, 82, 86] Operation: 45+41=86
Exploring Operation: 94-41=53, Resulting Numbers: [45, 82, 53]
Generated Node #0,1: 79:[45, 82, 53] Operation: 94-41=53
Exploring Operation: 94-45=49, Resulting Numbers: [41, 82, 49]
Generated Node #0,2: 79:[41, 82, 49] Operation: 94-45=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[94, 82, 86], Operations: ['45+41=86']
Exploring Operation: 94-82=12, Resulting Numbers: [86, 12]
Generated Node #0,0,0: 79:[86, 12] Operation: 94-82=12
Exploring Operation: 86-82=4, Resulting Numbers: [94, 4]
Generated Node #0,0,1: 79:[94, 4] Operation: 86-82=4
Exploring Operation: 94-86=8, Resulting Numbers: [82, 8]
Generated Node #0,0,2: 79:[82, 8] Operation: 94-86=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[86, 12], Operations: ['45+41=86', '94-82=12']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,79 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,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,0,2
Current State: 79:[82, 8], Operations: ['45+41=86', '94-86=8']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,79 unequal: No Solution
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,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,0,1
Current State: 79:[94, 4], Operations: ['45+41=86', '86-82=4']
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,79 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[45, 82, 53], Operations: ['94-41=53']
Exploring Operation: 82-45=37, Resulting Numbers: [53, 37]
Generated Node #0,1,0: 79:[53, 37] Operation: 82-45=37
Exploring Operation: 45+53=98, Resulting Numbers: [82, 98]
Generated Node #0,1,1: 79:[82, 98] Operation: 45+53=98
Exploring Operation: 45+82=127, Resulting Numbers: [53, 127]
Generated Node #0,1,2: 79:[53, 127] Operation: 45+82=127
Moving to Node #0,1,1
Current State: 79:[82, 98], Operations: ['94-41=53', '45+53=98']
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,79 unequal: No Solution
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[53, 37], Operations: ['94-41=53', '82-45=37']
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,79 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[53, 127], Operations: ['94-41=53', '45+82=127']
Exploring Operation: 127-53=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 53+127=180, Resulting Numbers: [180]
180,79 unequal: No Solution
Exploring Operation: 53*127=6731, Resulting Numbers: [6731]
6731,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:[41, 82, 49], Operations: ['94-45=49']
Exploring Operation: 82-41=41, Resulting Numbers: [49, 41]
Generated Node #0,2,0: 79:[49, 41] Operation: 82-41=41
Exploring Operation: 41+49=90, Resulting Numbers: [82, 90]
Generated Node #0,2,1: 79:[82, 90] Operation: 41+49=90
Exploring Operation: 41+82=123, Resulting Numbers: [49, 123]
Generated Node #0,2,2: 79:[49, 123] Operation: 41+82=123
Moving to Node #0,2,1
Current State: 79:[82, 90], Operations: ['94-45=49', '41+49=90']
Exploring Operation: 82+90=172, Resulting Numbers: [172]
172,79 unequal: No Solution
Exploring Operation: 82*90=7380, Resulting Numbers: [7380]
7380,79 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[49, 41], Operations: ['94-45=49', '82-41=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,79 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[49, 123], Operations: ['94-45=49', '41+82=123']
Exploring Operation: 49*123=6027, Resulting Numbers: [6027]
6027,79 unequal: No Solution
Exploring Operation: 123-49=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 49+123=172, Resulting Numbers: [172]
172,79 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
|
[
71,
13,
20,
53
] | 15 |
[
"71-13=58",
"20+53=73",
"73-58=15"
] |
Current State: 15:[71, 13, 20, 53], Operations: []
Exploring Operation: 71-13=58, Resulting Numbers: [20, 53, 58]
Generated Node #2: [20, 53, 58] from Operation: 71-13=58
Current State: 15:[20, 53, 58], Operations: ['71-13=58']
Exploring Operation: 20+53=73, Resulting Numbers: [58, 73]
Generated Node #3: [58, 73] from Operation: 20+53=73
Current State: 15:[58, 73], Operations: ['71-13=58', '20+53=73']
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[71, 13, 20, 53], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [13, 20, 18]
Generated Node #0,0: 15:[13, 20, 18] Operation: 71-53=18
Exploring Operation: 71-20=51, Resulting Numbers: [13, 53, 51]
Generated Node #0,1: 15:[13, 53, 51] Operation: 71-20=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[13, 20, 18], Operations: ['71-53=18']
Exploring Operation: 20-18=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 15:[13, 2] Operation: 20-18=2
Exploring Operation: 20-13=7, Resulting Numbers: [18, 7]
Generated Node #0,0,1: 15:[18, 7] Operation: 20-13=7
Moving to Node #0,0,0
Current State: 15:[13, 2], Operations: ['71-53=18', '20-18=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[71, 13, 20, 53], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [13, 20, 18]
Generated Node #0,0: 15:[13, 20, 18] Operation: 71-53=18
Moving to Node #0,0
Current State: 15:[13, 20, 18], Operations: ['71-53=18']
Exploring Operation: 20-18=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 15:[13, 2] Operation: 20-18=2
Moving to Node #0,0,0
Current State: 15:[13, 2], Operations: ['71-53=18', '20-18=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
10,
4,
63,
29
] | 28 |
[
"10-4=6",
"63-29=34",
"34-6=28"
] |
Current State: 28:[10, 4, 63, 29], Operations: []
Exploring Operation: 10-4=6, Resulting Numbers: [63, 29, 6]
Generated Node #2: [63, 29, 6] from Operation: 10-4=6
Current State: 28:[63, 29, 6], Operations: ['10-4=6']
Exploring Operation: 63-29=34, Resulting Numbers: [6, 34]
Generated Node #3: [6, 34] from Operation: 63-29=34
Current State: 28:[6, 34], Operations: ['10-4=6', '63-29=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[10, 4, 63, 29], Operations: []
Exploring Operation: 63-4=59, Resulting Numbers: [10, 29, 59]
Generated Node #0,0: 28:[10, 29, 59] Operation: 63-4=59
Exploring Operation: 63-29=34, Resulting Numbers: [10, 4, 34]
Generated Node #0,1: 28:[10, 4, 34] Operation: 63-29=34
Exploring Operation: 63-10=53, Resulting Numbers: [4, 29, 53]
Generated Node #0,2: 28:[4, 29, 53] Operation: 63-10=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[10, 4, 34], Operations: ['63-29=34']
Exploring Operation: 34-10=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 28:[4, 24] Operation: 34-10=24
Exploring Operation: 34-4=30, Resulting Numbers: [10, 30]
Generated Node #0,1,1: 28:[10, 30] Operation: 34-4=30
Exploring Operation: 10+4=14, Resulting Numbers: [34, 14]
Generated Node #0,1,2: 28:[34, 14] Operation: 10+4=14
Moving to Node #0,1,0
Current State: 28:[4, 24], Operations: ['63-29=34', '34-10=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[10, 4, 63, 29], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [10, 4, 34]
Generated Node #0,1: 28:[10, 4, 34] Operation: 63-29=34
Moving to Node #0,1
Current State: 28:[10, 4, 34], Operations: ['63-29=34']
Exploring Operation: 34-10=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 28:[4, 24] Operation: 34-10=24
Moving to Node #0,1,0
Current State: 28:[4, 24], Operations: ['63-29=34', '34-10=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
49,
54,
15,
85
] | 88 |
[
"54-49=5",
"15/5=3",
"85+3=88"
] |
Current State: 88:[49, 54, 15, 85], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [15, 85, 5]
Generated Node #2: [15, 85, 5] from Operation: 54-49=5
Current State: 88:[15, 85, 5], Operations: ['54-49=5']
Exploring Operation: 15/5=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 15/5=3
Current State: 88:[85, 3], Operations: ['54-49=5', '15/5=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[49, 54, 15, 85], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [49, 85, 39]
Generated Node #0,0: 88:[49, 85, 39] Operation: 54-15=39
Exploring Operation: 54-49=5, Resulting Numbers: [15, 85, 5]
Generated Node #0,1: 88:[15, 85, 5] Operation: 54-49=5
Exploring Operation: 49+54=103, Resulting Numbers: [15, 85, 103]
Generated Node #0,2: 88:[15, 85, 103] Operation: 49+54=103
Exploring Operation: 85-54=31, Resulting Numbers: [49, 15, 31]
Generated Node #0,3: 88:[49, 15, 31] Operation: 85-54=31
Exploring Operation: 85-49=36, Resulting Numbers: [54, 15, 36]
Generated Node #0,4: 88:[54, 15, 36] Operation: 85-49=36
Moving to Node #0,1
Current State: 88:[15, 85, 5], Operations: ['54-49=5']
Exploring Operation: 85/5=17, Resulting Numbers: [15, 17]
Generated Node #0,1,0: 88:[15, 17] Operation: 85/5=17
Exploring Operation: 15+5=20, Resulting Numbers: [85, 20]
Generated Node #0,1,1: 88:[85, 20] Operation: 15+5=20
Exploring Operation: 85+5=90, Resulting Numbers: [15, 90]
Generated Node #0,1,2: 88:[15, 90] Operation: 85+5=90
Exploring Operation: 15-5=10, Resulting Numbers: [85, 10]
Generated Node #0,1,3: 88:[85, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [85, 3]
Generated Node #0,1,4: 88:[85, 3] Operation: 15/5=3
Moving to Node #0,0
Current State: 88:[49, 85, 39], Operations: ['54-15=39']
Exploring Operation: 49+39=88, Resulting Numbers: [85, 88]
Generated Node #0,0,0: 88:[85, 88] Operation: 49+39=88
Exploring Operation: 85+39=124, Resulting Numbers: [49, 124]
Generated Node #0,0,1: 88:[49, 124] Operation: 85+39=124
Exploring Operation: 49-39=10, Resulting Numbers: [85, 10]
Generated Node #0,0,2: 88:[85, 10] Operation: 49-39=10
Exploring Operation: 85-49=36, Resulting Numbers: [39, 36]
Generated Node #0,0,3: 88:[39, 36] Operation: 85-49=36
Exploring Operation: 85-39=46, Resulting Numbers: [49, 46]
Generated Node #0,0,4: 88:[49, 46] Operation: 85-39=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[85, 88], Operations: ['54-15=39', '49+39=88']
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 85+88=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 85*88=7480, Resulting Numbers: [7480]
7480,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[85, 10], Operations: ['54-15=39', '49-39=10']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[49, 46], Operations: ['54-15=39', '85-39=46']
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,88 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[39, 36], Operations: ['54-15=39', '85-49=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[49, 124], Operations: ['54-15=39', '85+39=124']
Exploring Operation: 49*124=6076, Resulting Numbers: [6076]
6076,88 unequal: No Solution
Exploring Operation: 49+124=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 124-49=75, Resulting Numbers: [75]
75,88 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: 88:[49, 15, 31], Operations: ['85-54=31']
Exploring Operation: 49+31=80, Resulting Numbers: [15, 80]
Generated Node #0,3,0: 88:[15, 80] Operation: 49+31=80
Exploring Operation: 49-31=18, Resulting Numbers: [15, 18]
Generated Node #0,3,1: 88:[15, 18] Operation: 49-31=18
Exploring Operation: 49-15=34, Resulting Numbers: [31, 34]
Generated Node #0,3,2: 88:[31, 34] Operation: 49-15=34
Exploring Operation: 31-15=16, Resulting Numbers: [49, 16]
Generated Node #0,3,3: 88:[49, 16] Operation: 31-15=16
Exploring Operation: 15+31=46, Resulting Numbers: [49, 46]
Generated Node #0,3,4: 88:[49, 46] Operation: 15+31=46
Moving to Node #0,2
Current State: 88:[15, 85, 103], Operations: ['49+54=103']
Exploring Operation: 15+85=100, Resulting Numbers: [103, 100]
Generated Node #0,2,0: 88:[103, 100] Operation: 15+85=100
Exploring Operation: 15+103=118, Resulting Numbers: [85, 118]
Generated Node #0,2,1: 88:[85, 118] Operation: 15+103=118
Exploring Operation: 103-85=18, Resulting Numbers: [15, 18]
Generated Node #0,2,2: 88:[15, 18] Operation: 103-85=18
Exploring Operation: 85-15=70, Resulting Numbers: [103, 70]
Generated Node #0,2,3: 88:[103, 70] Operation: 85-15=70
Exploring Operation: 103-15=88, Resulting Numbers: [85, 88]
Generated Node #0,2,4: 88:[85, 88] Operation: 103-15=88
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 88:[85, 88], Operations: ['49+54=103', '103-15=88']
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 85+88=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 85*88=7480, Resulting Numbers: [7480]
7480,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[15, 18], Operations: ['49+54=103', '103-85=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[103, 100], Operations: ['49+54=103', '15+85=100']
Exploring Operation: 103*100=10300, Resulting Numbers: [10300]
10300,88 unequal: No Solution
Exploring Operation: 103-100=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 103+100=203, Resulting Numbers: [203]
203,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[85, 118], Operations: ['49+54=103', '15+103=118']
Exploring Operation: 85*118=10030, Resulting Numbers: [10030]
10030,88 unequal: No Solution
Exploring Operation: 118-85=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 85+118=203, Resulting Numbers: [203]
203,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[103, 70], Operations: ['49+54=103', '85-15=70']
Exploring Operation: 103+70=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 103*70=7210, Resulting Numbers: [7210]
7210,88 unequal: No Solution
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 88:[54, 15, 36], Operations: ['85-49=36']
Exploring Operation: 54-36=18, Resulting Numbers: [15, 18]
Generated Node #0,4,0: 88:[15, 18] Operation: 54-36=18
Exploring Operation: 54+36=90, Resulting Numbers: [15, 90]
Generated Node #0,4,1: 88:[15, 90] Operation: 54+36=90
Exploring Operation: 36-15=21, Resulting Numbers: [54, 21]
Generated Node #0,4,2: 88:[54, 21] Operation: 36-15=21
Exploring Operation: 15+36=51, Resulting Numbers: [54, 51]
Generated Node #0,4,3: 88:[54, 51] Operation: 15+36=51
Exploring Operation: 54-15=39, Resulting Numbers: [36, 39]
Generated Node #0,4,4: 88:[36, 39] Operation: 54-15=39
Moving to Node #0,1,3
Current State: 88:[85, 10], Operations: ['54-49=5', '15-5=10']
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,88 unequal: No Solution
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[85, 3], Operations: ['54-49=5', '15/5=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[49, 54, 15, 85], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [15, 85, 5]
Generated Node #0,1: 88:[15, 85, 5] Operation: 54-49=5
Moving to Node #0,1
Current State: 88:[15, 85, 5], Operations: ['54-49=5']
Exploring Operation: 15/5=3, Resulting Numbers: [85, 3]
Generated Node #0,1,4: 88:[85, 3] Operation: 15/5=3
Moving to Node #0,1,4
Current State: 88:[85, 3], Operations: ['54-49=5', '15/5=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.940104 |
hs_5
|
sum_heuristic
|
[
91,
72,
86,
88
] | 53 |
[
"88-86=2",
"72*2=144",
"144-91=53"
] |
Current State: 53:[91, 72, 86, 88], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [91, 72, 2]
Generated Node #2: [91, 72, 2] from Operation: 88-86=2
Current State: 53:[91, 72, 2], Operations: ['88-86=2']
Exploring Operation: 72*2=144, Resulting Numbers: [91, 144]
Generated Node #3: [91, 144] from Operation: 72*2=144
Current State: 53:[91, 144], Operations: ['88-86=2', '72*2=144']
Exploring Operation: 144-91=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[91, 72, 86, 88], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [91, 86, 16]
Generated Node #0,0: 53:[91, 86, 16] Operation: 88-72=16
Exploring Operation: 91-72=19, Resulting Numbers: [86, 88, 19]
Generated Node #0,1: 53:[86, 88, 19] Operation: 91-72=19
Exploring Operation: 91-86=5, Resulting Numbers: [72, 88, 5]
Generated Node #0,2: 53:[72, 88, 5] Operation: 91-86=5
Exploring Operation: 91-88=3, Resulting Numbers: [72, 86, 3]
Generated Node #0,3: 53:[72, 86, 3] Operation: 91-88=3
Exploring Operation: 88-86=2, Resulting Numbers: [91, 72, 2]
Generated Node #0,4: 53:[91, 72, 2] Operation: 88-86=2
Moving to Node #0,1
Current State: 53:[86, 88, 19], Operations: ['91-72=19']
Exploring Operation: 88-19=69, Resulting Numbers: [86, 69]
Generated Node #0,1,0: 53:[86, 69] Operation: 88-19=69
Exploring Operation: 86+19=105, Resulting Numbers: [88, 105]
Generated Node #0,1,1: 53:[88, 105] Operation: 86+19=105
Exploring Operation: 88-86=2, Resulting Numbers: [19, 2]
Generated Node #0,1,2: 53:[19, 2] Operation: 88-86=2
Exploring Operation: 88+19=107, Resulting Numbers: [86, 107]
Generated Node #0,1,3: 53:[86, 107] Operation: 88+19=107
Exploring Operation: 86-19=67, Resulting Numbers: [88, 67]
Generated Node #0,1,4: 53:[88, 67] Operation: 86-19=67
Moving to Node #0,3
Current State: 53:[72, 86, 3], Operations: ['91-88=3']
Exploring Operation: 86+3=89, Resulting Numbers: [72, 89]
Generated Node #0,3,0: 53:[72, 89] Operation: 86+3=89
Exploring Operation: 72-3=69, Resulting Numbers: [86, 69]
Generated Node #0,3,1: 53:[86, 69] Operation: 72-3=69
Exploring Operation: 72/3=24, Resulting Numbers: [86, 24]
Generated Node #0,3,2: 53:[86, 24] Operation: 72/3=24
Exploring Operation: 86-3=83, Resulting Numbers: [72, 83]
Generated Node #0,3,3: 53:[72, 83] Operation: 86-3=83
Exploring Operation: 72+3=75, Resulting Numbers: [86, 75]
Generated Node #0,3,4: 53:[86, 75] Operation: 72+3=75
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[86, 69], Operations: ['91-88=3', '72-3=69']
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 86*69=5934, Resulting Numbers: [5934]
5934,53 unequal: No Solution
Exploring Operation: 86+69=155, Resulting Numbers: [155]
155,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,3,3
Current State: 53:[72, 83], Operations: ['91-88=3', '86-3=83']
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,53 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,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,3,0
Current State: 53:[72, 89], Operations: ['91-88=3', '86+3=89']
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,53 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,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,3,4
Current State: 53:[86, 75], Operations: ['91-88=3', '72+3=75']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,53 unequal: No Solution
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,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,3,2
Current State: 53:[86, 24], Operations: ['91-88=3', '72/3=24']
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,53 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: 53:[72, 88, 5], Operations: ['91-86=5']
Exploring Operation: 72+5=77, Resulting Numbers: [88, 77]
Generated Node #0,2,0: 53:[88, 77] Operation: 72+5=77
Exploring Operation: 88+5=93, Resulting Numbers: [72, 93]
Generated Node #0,2,1: 53:[72, 93] Operation: 88+5=93
Exploring Operation: 72-5=67, Resulting Numbers: [88, 67]
Generated Node #0,2,2: 53:[88, 67] Operation: 72-5=67
Exploring Operation: 88-72=16, Resulting Numbers: [5, 16]
Generated Node #0,2,3: 53:[5, 16] Operation: 88-72=16
Exploring Operation: 88-5=83, Resulting Numbers: [72, 83]
Generated Node #0,2,4: 53:[72, 83] Operation: 88-5=83
Moving to Node #0,0
Current State: 53:[91, 86, 16], Operations: ['88-72=16']
Exploring Operation: 91+16=107, Resulting Numbers: [86, 107]
Generated Node #0,0,0: 53:[86, 107] Operation: 91+16=107
Exploring Operation: 86+16=102, Resulting Numbers: [91, 102]
Generated Node #0,0,1: 53:[91, 102] Operation: 86+16=102
Exploring Operation: 91-86=5, Resulting Numbers: [16, 5]
Generated Node #0,0,2: 53:[16, 5] Operation: 91-86=5
Exploring Operation: 91-16=75, Resulting Numbers: [86, 75]
Generated Node #0,0,3: 53:[86, 75] Operation: 91-16=75
Exploring Operation: 86-16=70, Resulting Numbers: [91, 70]
Generated Node #0,0,4: 53:[91, 70] Operation: 86-16=70
Moving to Node #0,4
Current State: 53:[91, 72, 2], Operations: ['88-86=2']
Exploring Operation: 72-2=70, Resulting Numbers: [91, 70]
Generated Node #0,4,0: 53:[91, 70] Operation: 72-2=70
Exploring Operation: 91+2=93, Resulting Numbers: [72, 93]
Generated Node #0,4,1: 53:[72, 93] Operation: 91+2=93
Exploring Operation: 72/2=36, Resulting Numbers: [91, 36]
Generated Node #0,4,2: 53:[91, 36] Operation: 72/2=36
Exploring Operation: 72+2=74, Resulting Numbers: [91, 74]
Generated Node #0,4,3: 53:[91, 74] Operation: 72+2=74
Exploring Operation: 91-2=89, Resulting Numbers: [72, 89]
Generated Node #0,4,4: 53:[72, 89] Operation: 91-2=89
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[91, 70], Operations: ['88-86=2', '72-2=70']
Exploring Operation: 91*70=6370, Resulting Numbers: [6370]
6370,53 unequal: No Solution
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 91+70=161, Resulting Numbers: [161]
161,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[91, 36], Operations: ['88-86=2', '72/2=36']
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,53 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[72, 89], Operations: ['88-86=2', '91-2=89']
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,53 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[72, 93], Operations: ['88-86=2', '91+2=93']
Exploring Operation: 72+93=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 72*93=6696, Resulting Numbers: [6696]
6696,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[91, 74], Operations: ['88-86=2', '72+2=74']
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 91*74=6734, Resulting Numbers: [6734]
6734,53 unequal: No Solution
Exploring Operation: 91+74=165, Resulting Numbers: [165]
165,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 53:[86, 69], Operations: ['91-72=19', '88-19=69']
Exploring Operation: 86+69=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 86*69=5934, Resulting Numbers: [5934]
5934,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[88, 67], Operations: ['91-86=5', '72-5=67']
Exploring Operation: 88+67=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 88*67=5896, Resulting Numbers: [5896]
5896,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[72, 83], Operations: ['91-86=5', '88-5=83']
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[88, 67], Operations: ['91-72=19', '86-19=67']
Exploring Operation: 88+67=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 88*67=5896, Resulting Numbers: [5896]
5896,53 unequal: No Solution
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[91, 70], Operations: ['88-72=16', '86-16=70']
Exploring Operation: 91+70=161, Resulting Numbers: [161]
161,53 unequal: No Solution
Exploring Operation: 91*70=6370, Resulting Numbers: [6370]
6370,53 unequal: No Solution
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[86, 75], Operations: ['88-72=16', '91-16=75']
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,53 unequal: No Solution
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,53 unequal: No Solution
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[88, 77], Operations: ['91-86=5', '72+5=77']
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 88+77=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Exploring Operation: 88*77=6776, Resulting Numbers: [6776]
6776,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[72, 93], Operations: ['91-86=5', '88+5=93']
Exploring Operation: 72*93=6696, Resulting Numbers: [6696]
6696,53 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 72+93=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[16, 5], Operations: ['88-72=16', '91-86=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[19, 2], Operations: ['91-72=19', '88-86=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[5, 16], Operations: ['91-86=5', '88-72=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[88, 105], Operations: ['91-72=19', '86+19=105']
Exploring Operation: 105-88=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 88*105=9240, Resulting Numbers: [9240]
9240,53 unequal: No Solution
Exploring Operation: 88+105=193, Resulting Numbers: [193]
193,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[86, 107], Operations: ['88-72=16', '91+16=107']
Exploring Operation: 107-86=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 86*107=9202, Resulting Numbers: [9202]
9202,53 unequal: No Solution
Exploring Operation: 86+107=193, Resulting Numbers: [193]
193,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[86, 107], Operations: ['91-72=19', '88+19=107']
Exploring Operation: 86*107=9202, Resulting Numbers: [9202]
9202,53 unequal: No Solution
Exploring Operation: 86+107=193, Resulting Numbers: [193]
193,53 unequal: No Solution
Exploring Operation: 107-86=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[91, 102], Operations: ['88-72=16', '86+16=102']
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,53 unequal: No Solution
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,53 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
28,
85,
7,
8
] | 83 |
[
"28-7=21",
"8*21=168",
"168-85=83"
] |
Current State: 83:[28, 85, 7, 8], Operations: []
Exploring Operation: 28-7=21, Resulting Numbers: [85, 8, 21]
Generated Node #2: [85, 8, 21] from Operation: 28-7=21
Current State: 83:[85, 8, 21], Operations: ['28-7=21']
Exploring Operation: 8*21=168, Resulting Numbers: [85, 168]
Generated Node #3: [85, 168] from Operation: 8*21=168
Current State: 83:[85, 168], Operations: ['28-7=21', '8*21=168']
Exploring Operation: 168-85=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[28, 85, 7, 8], Operations: []
Exploring Operation: 7*8=56, Resulting Numbers: [28, 85, 56]
Generated Node #0,0: 83:[28, 85, 56] Operation: 7*8=56
Moving to Node #0,0
Current State: 83:[28, 85, 56], Operations: ['7*8=56']
Exploring Operation: 28+56=84, Resulting Numbers: [85, 84]
Generated Node #0,0,0: 83:[85, 84] Operation: 28+56=84
Moving to Node #0,0,0
Current State: 83:[85, 84], Operations: ['7*8=56', '28+56=84']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,83 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
33,
57,
94,
97
] | 72 |
[
"57-33=24",
"97-94=3",
"24*3=72"
] |
Current State: 72:[33, 57, 94, 97], Operations: []
Exploring Operation: 57-33=24, Resulting Numbers: [94, 97, 24]
Generated Node #2: [94, 97, 24] from Operation: 57-33=24
Current State: 72:[94, 97, 24], Operations: ['57-33=24']
Exploring Operation: 97-94=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 97-94=3
Current State: 72:[24, 3], Operations: ['57-33=24', '97-94=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[33, 57, 94, 97], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [33, 97, 37]
Generated Node #0,0: 72:[33, 97, 37] Operation: 94-57=37
Exploring Operation: 97-33=64, Resulting Numbers: [57, 94, 64]
Generated Node #0,1: 72:[57, 94, 64] Operation: 97-33=64
Exploring Operation: 97-94=3, Resulting Numbers: [33, 57, 3]
Generated Node #0,2: 72:[33, 57, 3] Operation: 97-94=3
Exploring Operation: 97-57=40, Resulting Numbers: [33, 94, 40]
Generated Node #0,3: 72:[33, 94, 40] Operation: 97-57=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[33, 57, 3], Operations: ['97-94=3']
Exploring Operation: 57/3=19, Resulting Numbers: [33, 19]
Generated Node #0,2,0: 72:[33, 19] Operation: 57/3=19
Exploring Operation: 57+3=60, Resulting Numbers: [33, 60]
Generated Node #0,2,1: 72:[33, 60] Operation: 57+3=60
Exploring Operation: 57-33=24, Resulting Numbers: [3, 24]
Generated Node #0,2,2: 72:[3, 24] Operation: 57-33=24
Exploring Operation: 33+3=36, Resulting Numbers: [57, 36]
Generated Node #0,2,3: 72:[57, 36] Operation: 33+3=36
Moving to Node #0,2,2
Current State: 72:[3, 24], Operations: ['97-94=3', '57-33=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[33, 57, 94, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [33, 57, 3]
Generated Node #0,2: 72:[33, 57, 3] Operation: 97-94=3
Moving to Node #0,2
Current State: 72:[33, 57, 3], Operations: ['97-94=3']
Exploring Operation: 57-33=24, Resulting Numbers: [3, 24]
Generated Node #0,2,2: 72:[3, 24] Operation: 57-33=24
Moving to Node #0,2,2
Current State: 72:[3, 24], Operations: ['97-94=3', '57-33=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
20,
3,
76,
14
] | 46 |
[
"20+76=96",
"96/3=32",
"14+32=46"
] |
Current State: 46:[20, 3, 76, 14], Operations: []
Exploring Operation: 20+76=96, Resulting Numbers: [3, 14, 96]
Generated Node #2: [3, 14, 96] from Operation: 20+76=96
Current State: 46:[3, 14, 96], Operations: ['20+76=96']
Exploring Operation: 96/3=32, Resulting Numbers: [14, 32]
Generated Node #3: [14, 32] from Operation: 96/3=32
Current State: 46:[14, 32], Operations: ['20+76=96', '96/3=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[20, 3, 76, 14], Operations: []
Exploring Operation: 76-20=56, Resulting Numbers: [3, 14, 56]
Generated Node #0,0: 46:[3, 14, 56] Operation: 76-20=56
Exploring Operation: 20-14=6, Resulting Numbers: [3, 76, 6]
Generated Node #0,1: 46:[3, 76, 6] Operation: 20-14=6
Exploring Operation: 76-14=62, Resulting Numbers: [20, 3, 62]
Generated Node #0,2: 46:[20, 3, 62] Operation: 76-14=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[3, 14, 56], Operations: ['76-20=56']
Exploring Operation: 56/14=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 46:[3, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 46:[3, 42] Operation: 56-14=42
Exploring Operation: 3*14=42, Resulting Numbers: [56, 42]
Generated Node #0,0,2: 46:[56, 42] Operation: 3*14=42
Moving to Node #0,0,0
Current State: 46:[3, 4], Operations: ['76-20=56', '56/14=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[3, 42], Operations: ['76-20=56', '56-14=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[56, 42], Operations: ['76-20=56', '3*14=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,46 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[20, 3, 62], Operations: ['76-14=62']
Exploring Operation: 62-20=42, Resulting Numbers: [3, 42]
Generated Node #0,2,0: 46:[3, 42] Operation: 62-20=42
Exploring Operation: 20+3=23, Resulting Numbers: [62, 23]
Generated Node #0,2,1: 46:[62, 23] Operation: 20+3=23
Exploring Operation: 62-3=59, Resulting Numbers: [20, 59]
Generated Node #0,2,2: 46:[20, 59] Operation: 62-3=59
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[3, 42], Operations: ['76-14=62', '62-20=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No 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: 46:[62, 23], Operations: ['76-14=62', '20+3=23']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,46 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,46 unequal: No Solution
No 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: 46:[20, 59], Operations: ['76-14=62', '62-3=59']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 20*59=1180, Resulting Numbers: [1180]
1180,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[3, 76, 6], Operations: ['20-14=6']
Exploring Operation: 76-6=70, Resulting Numbers: [3, 70]
Generated Node #0,1,0: 46:[3, 70] Operation: 76-6=70
Exploring Operation: 6/3=2, Resulting Numbers: [76, 2]
Generated Node #0,1,1: 46:[76, 2] Operation: 6/3=2
Exploring Operation: 76-3=73, Resulting Numbers: [6, 73]
Generated Node #0,1,2: 46:[6, 73] Operation: 76-3=73
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[3, 70], Operations: ['20-14=6', '76-6=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,46 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,46 unequal: No Solution
No 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: 46:[76, 2], Operations: ['20-14=6', '6/3=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,46 unequal: No Solution
No 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: 46:[6, 73], Operations: ['20-14=6', '76-3=73']
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
4,
82,
69,
2
] | 15 |
[
"4+82=86",
"69+2=71",
"86-71=15"
] |
Current State: 15:[4, 82, 69, 2], Operations: []
Exploring Operation: 4+82=86, Resulting Numbers: [69, 2, 86]
Generated Node #2: [69, 2, 86] from Operation: 4+82=86
Current State: 15:[69, 2, 86], Operations: ['4+82=86']
Exploring Operation: 69+2=71, Resulting Numbers: [86, 71]
Generated Node #3: [86, 71] from Operation: 69+2=71
Current State: 15:[86, 71], Operations: ['4+82=86', '69+2=71']
Exploring Operation: 86-71=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[4, 82, 69, 2], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [4, 2, 13]
Generated Node #0,0: 15:[4, 2, 13] Operation: 82-69=13
Moving to Node #0,0
Current State: 15:[4, 2, 13], Operations: ['82-69=13']
Exploring Operation: 2+13=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 15:[4, 15] Operation: 2+13=15
Moving to Node #0,0,0
Current State: 15:[4, 15], Operations: ['82-69=13', '2+13=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,15 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
15,
35,
4,
45
] | 34 |
[
"45/15=3",
"35-4=31",
"3+31=34"
] |
Current State: 34:[15, 35, 4, 45], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [35, 4, 3]
Generated Node #2: [35, 4, 3] from Operation: 45/15=3
Current State: 34:[35, 4, 3], Operations: ['45/15=3']
Exploring Operation: 35-4=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 35-4=31
Current State: 34:[3, 31], Operations: ['45/15=3', '35-4=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[15, 35, 4, 45], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [35, 4, 3]
Generated Node #0,0: 34:[35, 4, 3] Operation: 45/15=3
Moving to Node #0,0
Current State: 34:[35, 4, 3], Operations: ['45/15=3']
Exploring Operation: 4-3=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 34:[35, 1] Operation: 4-3=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[35, 1], Operations: ['45/15=3', '4-3=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[15, 35, 4, 45], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [35, 4, 3]
Generated Node #0,0: 34:[35, 4, 3] Operation: 45/15=3
Moving to Node #0,0
Current State: 34:[35, 4, 3], Operations: ['45/15=3']
Exploring Operation: 4-3=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 34:[35, 1] Operation: 4-3=1
Moving to Node #0,0,0
Current State: 34:[35, 1], Operations: ['45/15=3', '4-3=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
27,
14,
8,
57
] | 14 |
[
"27+57=84",
"14-8=6",
"84/6=14"
] |
Current State: 14:[27, 14, 8, 57], Operations: []
Exploring Operation: 27+57=84, Resulting Numbers: [14, 8, 84]
Generated Node #2: [14, 8, 84] from Operation: 27+57=84
Current State: 14:[14, 8, 84], Operations: ['27+57=84']
Exploring Operation: 14-8=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 14-8=6
Current State: 14:[84, 6], Operations: ['27+57=84', '14-8=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[27, 14, 8, 57], Operations: []
Exploring Operation: 57-27=30, Resulting Numbers: [14, 8, 30]
Generated Node #0,0: 14:[14, 8, 30] Operation: 57-27=30
Moving to Node #0,0
Current State: 14:[14, 8, 30], Operations: ['57-27=30']
Exploring Operation: 30-14=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 14:[8, 16] Operation: 30-14=16
Moving to Node #0,0,0
Current State: 14:[8, 16], Operations: ['57-27=30', '30-14=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
62,
39,
4,
52
] | 10 |
[
"62-39=23",
"52/4=13",
"23-13=10"
] |
Current State: 10:[62, 39, 4, 52], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [4, 52, 23]
Generated Node #2: [4, 52, 23] from Operation: 62-39=23
Current State: 10:[4, 52, 23], Operations: ['62-39=23']
Exploring Operation: 52/4=13, Resulting Numbers: [23, 13]
Generated Node #3: [23, 13] from Operation: 52/4=13
Current State: 10:[23, 13], Operations: ['62-39=23', '52/4=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[62, 39, 4, 52], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [4, 52, 23]
Generated Node #0,0: 10:[4, 52, 23] Operation: 62-39=23
Exploring Operation: 62-52=10, Resulting Numbers: [39, 4, 10]
Generated Node #0,1: 10:[39, 4, 10] Operation: 62-52=10
Moving to Node #0,1
Current State: 10:[39, 4, 10], Operations: ['62-52=10']
Exploring Operation: 39-4=35, Resulting Numbers: [10, 35]
Generated Node #0,1,0: 10:[10, 35] Operation: 39-4=35
Exploring Operation: 39-10=29, Resulting Numbers: [4, 29]
Generated Node #0,1,1: 10:[4, 29] Operation: 39-10=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[4, 29], Operations: ['62-52=10', '39-10=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[10, 35], Operations: ['62-52=10', '39-4=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[4, 52, 23], Operations: ['62-39=23']
Exploring Operation: 52-23=29, Resulting Numbers: [4, 29]
Generated Node #0,0,0: 10:[4, 29] Operation: 52-23=29
Exploring Operation: 52/4=13, Resulting Numbers: [23, 13]
Generated Node #0,0,1: 10:[23, 13] Operation: 52/4=13
Moving to Node #0,0,1
Current State: 10:[23, 13], Operations: ['62-39=23', '52/4=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[62, 39, 4, 52], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [4, 52, 23]
Generated Node #0,0: 10:[4, 52, 23] Operation: 62-39=23
Moving to Node #0,0
Current State: 10:[4, 52, 23], Operations: ['62-39=23']
Exploring Operation: 52/4=13, Resulting Numbers: [23, 13]
Generated Node #0,0,1: 10:[23, 13] Operation: 52/4=13
Moving to Node #0,0,1
Current State: 10:[23, 13], Operations: ['62-39=23', '52/4=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.986979 |
hs_2
|
sum_heuristic
|
[
64,
13,
71,
28
] | 52 |
[
"71-64=7",
"13*28=364",
"364/7=52"
] |
Current State: 52:[64, 13, 71, 28], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [13, 28, 7]
Generated Node #2: [13, 28, 7] from Operation: 71-64=7
Current State: 52:[13, 28, 7], Operations: ['71-64=7']
Exploring Operation: 13*28=364, Resulting Numbers: [7, 364]
Generated Node #3: [7, 364] from Operation: 13*28=364
Current State: 52:[7, 364], Operations: ['71-64=7', '13*28=364']
Exploring Operation: 364/7=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[64, 13, 71, 28], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [13, 28, 7]
Generated Node #0,0: 52:[13, 28, 7] Operation: 71-64=7
Moving to Node #0,0
Current State: 52:[13, 28, 7], Operations: ['71-64=7']
Exploring Operation: 28/7=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 52:[13, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[13, 4], Operations: ['71-64=7', '28/7=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[64, 13, 71, 28], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [13, 28, 7]
Generated Node #0,0: 52:[13, 28, 7] Operation: 71-64=7
Moving to Node #0,0
Current State: 52:[13, 28, 7], Operations: ['71-64=7']
Exploring Operation: 28/7=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 52:[13, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 52:[13, 4], Operations: ['71-64=7', '28/7=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
36,
7,
75,
25
] | 98 |
[
"75-36=39",
"39-25=14",
"7*14=98"
] |
Current State: 98:[36, 7, 75, 25], Operations: []
Exploring Operation: 75-36=39, Resulting Numbers: [7, 25, 39]
Generated Node #2: [7, 25, 39] from Operation: 75-36=39
Current State: 98:[7, 25, 39], Operations: ['75-36=39']
Exploring Operation: 39-25=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 39-25=14
Current State: 98:[7, 14], Operations: ['75-36=39', '39-25=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[36, 7, 75, 25], Operations: []
Exploring Operation: 75+25=100, Resulting Numbers: [36, 7, 100]
Generated Node #0,0: 98:[36, 7, 100] Operation: 75+25=100
Exploring Operation: 75/25=3, Resulting Numbers: [36, 7, 3]
Generated Node #0,1: 98:[36, 7, 3] Operation: 75/25=3
Exploring Operation: 75-25=50, Resulting Numbers: [36, 7, 50]
Generated Node #0,2: 98:[36, 7, 50] Operation: 75-25=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[36, 7, 3], Operations: ['75/25=3']
Exploring Operation: 36/3=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 98:[7, 12] Operation: 36/3=12
Exploring Operation: 36+3=39, Resulting Numbers: [7, 39]
Generated Node #0,1,1: 98:[7, 39] Operation: 36+3=39
Exploring Operation: 36+7=43, Resulting Numbers: [3, 43]
Generated Node #0,1,2: 98:[3, 43] Operation: 36+7=43
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[7, 12], Operations: ['75/25=3', '36/3=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,98 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[3, 43], Operations: ['75/25=3', '36+7=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[7, 39], Operations: ['75/25=3', '36+3=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,98 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,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:[36, 7, 50], Operations: ['75-25=50']
Exploring Operation: 50-36=14, Resulting Numbers: [7, 14]
Generated Node #0,2,0: 98:[7, 14] Operation: 50-36=14
Exploring Operation: 36+7=43, Resulting Numbers: [50, 43]
Generated Node #0,2,1: 98:[50, 43] Operation: 36+7=43
Exploring Operation: 36+50=86, Resulting Numbers: [7, 86]
Generated Node #0,2,2: 98:[7, 86] Operation: 36+50=86
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[7, 14], Operations: ['75-25=50', '50-36=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[36, 7, 75, 25], Operations: []
Exploring Operation: 75-25=50, Resulting Numbers: [36, 7, 50]
Generated Node #0,2: 98:[36, 7, 50] Operation: 75-25=50
Moving to Node #0,2
Current State: 98:[36, 7, 50], Operations: ['75-25=50']
Exploring Operation: 50-36=14, Resulting Numbers: [7, 14]
Generated Node #0,2,0: 98:[7, 14] Operation: 50-36=14
Moving to Node #0,2,0
Current State: 98:[7, 14], Operations: ['75-25=50', '50-36=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 |
hs_3
|
sum_heuristic
|
[
84,
15,
86,
89
] | 39 |
[
"89-86=3",
"15*3=45",
"84-45=39"
] |
Current State: 39:[84, 15, 86, 89], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [84, 15, 3]
Generated Node #2: [84, 15, 3] from Operation: 89-86=3
Current State: 39:[84, 15, 3], Operations: ['89-86=3']
Exploring Operation: 15*3=45, Resulting Numbers: [84, 45]
Generated Node #3: [84, 45] from Operation: 15*3=45
Current State: 39:[84, 45], Operations: ['89-86=3', '15*3=45']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[84, 15, 86, 89], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [84, 15, 3]
Generated Node #0,0: 39:[84, 15, 3] Operation: 89-86=3
Moving to Node #0,0
Current State: 39:[84, 15, 3], Operations: ['89-86=3']
Exploring Operation: 84/3=28, Resulting Numbers: [15, 28]
Generated Node #0,0,0: 39:[15, 28] Operation: 84/3=28
Moving to Node #0,0,0
Current State: 39:[15, 28], Operations: ['89-86=3', '84/3=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,39 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
3,
1,
63,
87
] | 28 |
[
"3+1=4",
"87-63=24",
"4+24=28"
] |
Current State: 28:[3, 1, 63, 87], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [63, 87, 4]
Generated Node #2: [63, 87, 4] from Operation: 3+1=4
Current State: 28:[63, 87, 4], Operations: ['3+1=4']
Exploring Operation: 87-63=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 87-63=24
Current State: 28:[4, 24], Operations: ['3+1=4', '87-63=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[3, 1, 63, 87], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [3, 1, 24]
Generated Node #0,0: 28:[3, 1, 24] Operation: 87-63=24
Exploring Operation: 63/3=21, Resulting Numbers: [1, 87, 21]
Generated Node #0,1: 28:[1, 87, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [1, 87, 60]
Generated Node #0,2: 28:[1, 87, 60] Operation: 63-3=60
Exploring Operation: 87/3=29, Resulting Numbers: [1, 63, 29]
Generated Node #0,3: 28:[1, 63, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[3, 1, 24], Operations: ['87-63=24']
Exploring Operation: 3+1=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 28:[24, 4] Operation: 3+1=4
Exploring Operation: 3+24=27, Resulting Numbers: [1, 27]
Generated Node #0,0,1: 28:[1, 27] Operation: 3+24=27
Exploring Operation: 3-1=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 28:[24, 2] Operation: 3-1=2
Exploring Operation: 24/3=8, Resulting Numbers: [1, 8]
Generated Node #0,0,3: 28:[1, 8] Operation: 24/3=8
Moving to Node #0,0,1
Current State: 28:[1, 27], Operations: ['87-63=24', '3+24=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[3, 1, 63, 87], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [3, 1, 24]
Generated Node #0,0: 28:[3, 1, 24] Operation: 87-63=24
Moving to Node #0,0
Current State: 28:[3, 1, 24], Operations: ['87-63=24']
Exploring Operation: 3+24=27, Resulting Numbers: [1, 27]
Generated Node #0,0,1: 28:[1, 27] Operation: 3+24=27
Moving to Node #0,0,1
Current State: 28:[1, 27], Operations: ['87-63=24', '3+24=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
sum_heuristic
|
[
17,
78,
5,
29
] | 27 |
[
"78-17=61",
"5+29=34",
"61-34=27"
] |
Current State: 27:[17, 78, 5, 29], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [5, 29, 61]
Generated Node #2: [5, 29, 61] from Operation: 78-17=61
Current State: 27:[5, 29, 61], Operations: ['78-17=61']
Exploring Operation: 5+29=34, Resulting Numbers: [61, 34]
Generated Node #3: [61, 34] from Operation: 5+29=34
Current State: 27:[61, 34], Operations: ['78-17=61', '5+29=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[17, 78, 5, 29], Operations: []
Exploring Operation: 17-5=12, Resulting Numbers: [78, 29, 12]
Generated Node #0,0: 27:[78, 29, 12] Operation: 17-5=12
Exploring Operation: 78-29=49, Resulting Numbers: [17, 5, 49]
Generated Node #0,1: 27:[17, 5, 49] Operation: 78-29=49
Exploring Operation: 78-5=73, Resulting Numbers: [17, 29, 73]
Generated Node #0,2: 27:[17, 29, 73] Operation: 78-5=73
Exploring Operation: 78-17=61, Resulting Numbers: [5, 29, 61]
Generated Node #0,3: 27:[5, 29, 61] Operation: 78-17=61
Exploring Operation: 29-17=12, Resulting Numbers: [78, 5, 12]
Generated Node #0,4: 27:[78, 5, 12] Operation: 29-17=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[17, 5, 49], Operations: ['78-29=49']
Exploring Operation: 49-17=32, Resulting Numbers: [5, 32]
Generated Node #0,1,0: 27:[5, 32] Operation: 49-17=32
Exploring Operation: 17-5=12, Resulting Numbers: [49, 12]
Generated Node #0,1,1: 27:[49, 12] Operation: 17-5=12
Exploring Operation: 5+49=54, Resulting Numbers: [17, 54]
Generated Node #0,1,2: 27:[17, 54] Operation: 5+49=54
Exploring Operation: 49-5=44, Resulting Numbers: [17, 44]
Generated Node #0,1,3: 27:[17, 44] Operation: 49-5=44
Exploring Operation: 17+5=22, Resulting Numbers: [49, 22]
Generated Node #0,1,4: 27:[49, 22] Operation: 17+5=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[5, 32], Operations: ['78-29=49', '49-17=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,27 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[17, 78, 5, 29], Operations: []
Exploring Operation: 78-29=49, Resulting Numbers: [17, 5, 49]
Generated Node #0,1: 27:[17, 5, 49] Operation: 78-29=49
Moving to Node #0,1
Current State: 27:[17, 5, 49], Operations: ['78-29=49']
Exploring Operation: 49-17=32, Resulting Numbers: [5, 32]
Generated Node #0,1,0: 27:[5, 32] Operation: 49-17=32
Moving to Node #0,1,0
Current State: 27:[5, 32], Operations: ['78-29=49', '49-17=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
49,
12,
6,
78
] | 50 |
[
"49-12=37",
"78/6=13",
"37+13=50"
] |
Current State: 50:[49, 12, 6, 78], Operations: []
Exploring Operation: 49-12=37, Resulting Numbers: [6, 78, 37]
Generated Node #2: [6, 78, 37] from Operation: 49-12=37
Current State: 50:[6, 78, 37], Operations: ['49-12=37']
Exploring Operation: 78/6=13, Resulting Numbers: [37, 13]
Generated Node #3: [37, 13] from Operation: 78/6=13
Current State: 50:[37, 13], Operations: ['49-12=37', '78/6=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[49, 12, 6, 78], Operations: []
Exploring Operation: 78-12=66, Resulting Numbers: [49, 6, 66]
Generated Node #0,0: 50:[49, 6, 66] Operation: 78-12=66
Exploring Operation: 78-6=72, Resulting Numbers: [49, 12, 72]
Generated Node #0,1: 50:[49, 12, 72] Operation: 78-6=72
Exploring Operation: 78-49=29, Resulting Numbers: [12, 6, 29]
Generated Node #0,2: 50:[12, 6, 29] Operation: 78-49=29
Exploring Operation: 12/6=2, Resulting Numbers: [49, 78, 2]
Generated Node #0,3: 50:[49, 78, 2] Operation: 12/6=2
Exploring Operation: 78/6=13, Resulting Numbers: [49, 12, 13]
Generated Node #0,4: 50:[49, 12, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[49, 12, 13], Operations: ['78/6=13']
Exploring Operation: 49-13=36, Resulting Numbers: [12, 36]
Generated Node #0,4,0: 50:[12, 36] Operation: 49-13=36
Exploring Operation: 13-12=1, Resulting Numbers: [49, 1]
Generated Node #0,4,1: 50:[49, 1] Operation: 13-12=1
Exploring Operation: 12+13=25, Resulting Numbers: [49, 25]
Generated Node #0,4,2: 50:[49, 25] Operation: 12+13=25
Exploring Operation: 49+12=61, Resulting Numbers: [13, 61]
Generated Node #0,4,3: 50:[13, 61] Operation: 49+12=61
Exploring Operation: 49+13=62, Resulting Numbers: [12, 62]
Generated Node #0,4,4: 50:[12, 62] Operation: 49+13=62
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 50:[49, 25], Operations: ['78/6=13', '12+13=25']
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,50 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,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,4,1
Current State: 50:[49, 1], Operations: ['78/6=13', '13-12=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[49, 12, 6, 78], Operations: []
Exploring Operation: 78/6=13, Resulting Numbers: [49, 12, 13]
Generated Node #0,4: 50:[49, 12, 13] Operation: 78/6=13
Moving to Node #0,4
Current State: 50:[49, 12, 13], Operations: ['78/6=13']
Exploring Operation: 13-12=1, Resulting Numbers: [49, 1]
Generated Node #0,4,1: 50:[49, 1] Operation: 13-12=1
Moving to Node #0,4,1
Current State: 50:[49, 1], Operations: ['78/6=13', '13-12=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
sum_heuristic
|
[
80,
24,
59,
12
] | 38 |
[
"24*59=1416",
"1416/12=118",
"118-80=38"
] |
Current State: 38:[80, 24, 59, 12], Operations: []
Exploring Operation: 24*59=1416, Resulting Numbers: [80, 12, 1416]
Generated Node #2: [80, 12, 1416] from Operation: 24*59=1416
Current State: 38:[80, 12, 1416], Operations: ['24*59=1416']
Exploring Operation: 1416/12=118, Resulting Numbers: [80, 118]
Generated Node #3: [80, 118] from Operation: 1416/12=118
Current State: 38:[80, 118], Operations: ['24*59=1416', '1416/12=118']
Exploring Operation: 118-80=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[80, 24, 59, 12], Operations: []
Exploring Operation: 80-24=56, Resulting Numbers: [59, 12, 56]
Generated Node #0,0: 38:[59, 12, 56] Operation: 80-24=56
Exploring Operation: 59-24=35, Resulting Numbers: [80, 12, 35]
Generated Node #0,1: 38:[80, 12, 35] Operation: 59-24=35
Exploring Operation: 80-12=68, Resulting Numbers: [24, 59, 68]
Generated Node #0,2: 38:[24, 59, 68] Operation: 80-12=68
Exploring Operation: 80-59=21, Resulting Numbers: [24, 12, 21]
Generated Node #0,3: 38:[24, 12, 21] Operation: 80-59=21
Moving to Node #0,3
Current State: 38:[24, 12, 21], Operations: ['80-59=21']
Exploring Operation: 24-12=12, Resulting Numbers: [21, 12]
Generated Node #0,3,0: 38:[21, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [21, 2]
Generated Node #0,3,1: 38:[21, 2] Operation: 24/12=2
Exploring Operation: 24-21=3, Resulting Numbers: [12, 3]
Generated Node #0,3,2: 38:[12, 3] Operation: 24-21=3
Exploring Operation: 24+12=36, Resulting Numbers: [21, 36]
Generated Node #0,3,3: 38:[21, 36] Operation: 24+12=36
Moving to Node #0,0
Current State: 38:[59, 12, 56], Operations: ['80-24=56']
Exploring Operation: 56-12=44, Resulting Numbers: [59, 44]
Generated Node #0,0,0: 38:[59, 44] Operation: 56-12=44
Exploring Operation: 59-12=47, Resulting Numbers: [56, 47]
Generated Node #0,0,1: 38:[56, 47] Operation: 59-12=47
Exploring Operation: 59-56=3, Resulting Numbers: [12, 3]
Generated Node #0,0,2: 38:[12, 3] Operation: 59-56=3
Exploring Operation: 59+12=71, Resulting Numbers: [56, 71]
Generated Node #0,0,3: 38:[56, 71] Operation: 59+12=71
Moving to Node #0,1
Current State: 38:[80, 12, 35], Operations: ['59-24=35']
Exploring Operation: 35-12=23, Resulting Numbers: [80, 23]
Generated Node #0,1,0: 38:[80, 23] Operation: 35-12=23
Exploring Operation: 80-35=45, Resulting Numbers: [12, 45]
Generated Node #0,1,1: 38:[12, 45] Operation: 80-35=45
Exploring Operation: 80-12=68, Resulting Numbers: [35, 68]
Generated Node #0,1,2: 38:[35, 68] Operation: 80-12=68
Exploring Operation: 12+35=47, Resulting Numbers: [80, 47]
Generated Node #0,1,3: 38:[80, 47] Operation: 12+35=47
Moving to Node #0,2
Current State: 38:[24, 59, 68], Operations: ['80-12=68']
Exploring Operation: 59-24=35, Resulting Numbers: [68, 35]
Generated Node #0,2,0: 38:[68, 35] Operation: 59-24=35
Exploring Operation: 24+59=83, Resulting Numbers: [68, 83]
Generated Node #0,2,1: 38:[68, 83] Operation: 24+59=83
Exploring Operation: 68-24=44, Resulting Numbers: [59, 44]
Generated Node #0,2,2: 38:[59, 44] Operation: 68-24=44
Exploring Operation: 68-59=9, Resulting Numbers: [24, 9]
Generated Node #0,2,3: 38:[24, 9] Operation: 68-59=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[24, 9], Operations: ['80-12=68', '68-59=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,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,2,2
Current State: 38:[59, 44], Operations: ['80-12=68', '68-24=44']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,38 unequal: No Solution
Exploring Operation: 59+44=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,2,0
Current State: 38:[68, 35], Operations: ['80-12=68', '59-24=35']
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,38 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,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,2,1
Current State: 38:[68, 83], Operations: ['80-12=68', '24+59=83']
Exploring Operation: 68*83=5644, Resulting Numbers: [5644]
5644,38 unequal: No Solution
Exploring Operation: 68+83=151, Resulting Numbers: [151]
151,38 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,38 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: 38:[21, 2], Operations: ['80-59=21', '24/12=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[21, 36], Operations: ['80-59=21', '24+12=36']
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[12, 3], Operations: ['80-59=21', '24-21=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[12, 3], Operations: ['80-24=56', '59-56=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[21, 12], Operations: ['80-59=21', '24-12=12']
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,38 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[12, 45], Operations: ['59-24=35', '80-35=45']
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[56, 47], Operations: ['80-24=56', '59-12=47']
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,38 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[59, 44], Operations: ['80-24=56', '56-12=44']
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,38 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[35, 68], Operations: ['59-24=35', '80-12=68']
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,38 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[80, 23], Operations: ['59-24=35', '35-12=23']
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,38 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[56, 71], Operations: ['80-24=56', '59+12=71']
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,38 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[80, 47], Operations: ['59-24=35', '12+35=47']
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,38 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,38 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
6,
8,
31,
69
] | 61 |
[
"8*69=552",
"552/6=92",
"92-31=61"
] |
Current State: 61:[6, 8, 31, 69], Operations: []
Exploring Operation: 8*69=552, Resulting Numbers: [6, 31, 552]
Generated Node #2: [6, 31, 552] from Operation: 8*69=552
Current State: 61:[6, 31, 552], Operations: ['8*69=552']
Exploring Operation: 552/6=92, Resulting Numbers: [31, 92]
Generated Node #3: [31, 92] from Operation: 552/6=92
Current State: 61:[31, 92], Operations: ['8*69=552', '552/6=92']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[6, 8, 31, 69], Operations: []
Exploring Operation: 6+8=14, Resulting Numbers: [31, 69, 14]
Generated Node #0,0: 61:[31, 69, 14] Operation: 6+8=14
Exploring Operation: 6+31=37, Resulting Numbers: [8, 69, 37]
Generated Node #0,1: 61:[8, 69, 37] Operation: 6+31=37
Exploring Operation: 6*8=48, Resulting Numbers: [31, 69, 48]
Generated Node #0,2: 61:[31, 69, 48] Operation: 6*8=48
Moving to Node #0,2
Current State: 61:[31, 69, 48], Operations: ['6*8=48']
Exploring Operation: 69-31=38, Resulting Numbers: [48, 38]
Generated Node #0,2,0: 61:[48, 38] Operation: 69-31=38
Exploring Operation: 31+69=100, Resulting Numbers: [48, 100]
Generated Node #0,2,1: 61:[48, 100] Operation: 31+69=100
Exploring Operation: 31+48=79, Resulting Numbers: [69, 79]
Generated Node #0,2,2: 61:[69, 79] Operation: 31+48=79
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[69, 79], Operations: ['6*8=48', '31+48=79']
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,61 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[48, 38], Operations: ['6*8=48', '69-31=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,61 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[48, 100], Operations: ['6*8=48', '31+69=100']
Exploring Operation: 48*100=4800, Resulting Numbers: [4800]
4800,61 unequal: No Solution
Exploring Operation: 100-48=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 48+100=148, Resulting Numbers: [148]
148,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 61:[31, 69, 14], Operations: ['6+8=14']
Exploring Operation: 31-14=17, Resulting Numbers: [69, 17]
Generated Node #0,0,0: 61:[69, 17] Operation: 31-14=17
Exploring Operation: 69-14=55, Resulting Numbers: [31, 55]
Generated Node #0,0,1: 61:[31, 55] Operation: 69-14=55
Exploring Operation: 31+14=45, Resulting Numbers: [69, 45]
Generated Node #0,0,2: 61:[69, 45] Operation: 31+14=45
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[69, 45], Operations: ['6+8=14', '31+14=45']
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,61 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[31, 55], Operations: ['6+8=14', '69-14=55']
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,61 unequal: No Solution
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[69, 17], Operations: ['6+8=14', '31-14=17']
Exploring Operation: 69*17=1173, Resulting Numbers: [1173]
1173,61 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 69+17=86, Resulting Numbers: [86]
86,61 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: 61:[8, 69, 37], Operations: ['6+31=37']
Exploring Operation: 8+37=45, Resulting Numbers: [69, 45]
Generated Node #0,1,0: 61:[69, 45] Operation: 8+37=45
Exploring Operation: 8+69=77, Resulting Numbers: [37, 77]
Generated Node #0,1,1: 61:[37, 77] Operation: 8+69=77
Exploring Operation: 69-8=61, Resulting Numbers: [37, 61]
Generated Node #0,1,2: 61:[37, 61] Operation: 69-8=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[69, 45], Operations: ['6+31=37', '8+37=45']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[37, 61], Operations: ['6+31=37', '69-8=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,61 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[37, 77], Operations: ['6+31=37', '8+69=77']
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,61 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,61 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
|
[
97,
14,
13,
9
] | 100 |
[
"14+13=27",
"27/9=3",
"97+3=100"
] |
Current State: 100:[97, 14, 13, 9], Operations: []
Exploring Operation: 14+13=27, Resulting Numbers: [97, 9, 27]
Generated Node #2: [97, 9, 27] from Operation: 14+13=27
Current State: 100:[97, 9, 27], Operations: ['14+13=27']
Exploring Operation: 27/9=3, Resulting Numbers: [97, 3]
Generated Node #3: [97, 3] from Operation: 27/9=3
Current State: 100:[97, 3], Operations: ['14+13=27', '27/9=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[97, 14, 13, 9], Operations: []
Exploring Operation: 14+9=23, Resulting Numbers: [97, 13, 23]
Generated Node #0,0: 100:[97, 13, 23] Operation: 14+9=23
Exploring Operation: 14-9=5, Resulting Numbers: [97, 13, 5]
Generated Node #0,1: 100:[97, 13, 5] Operation: 14-9=5
Exploring Operation: 14+13=27, Resulting Numbers: [97, 9, 27]
Generated Node #0,2: 100:[97, 9, 27] Operation: 14+13=27
Exploring Operation: 13-9=4, Resulting Numbers: [97, 14, 4]
Generated Node #0,3: 100:[97, 14, 4] Operation: 13-9=4
Exploring Operation: 14-13=1, Resulting Numbers: [97, 9, 1]
Generated Node #0,4: 100:[97, 9, 1] Operation: 14-13=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[97, 9, 1], Operations: ['14-13=1']
Exploring Operation: 9*1=9, Resulting Numbers: [97, 9]
Generated Node #0,4,0: 100:[97, 9] Operation: 9*1=9
Exploring Operation: 9+1=10, Resulting Numbers: [97, 10]
Generated Node #0,4,1: 100:[97, 10] Operation: 9+1=10
Exploring Operation: 97*1=97, Resulting Numbers: [9, 97]
Generated Node #0,4,2: 100:[9, 97] Operation: 97*1=97
Exploring Operation: 97/1=97, Resulting Numbers: [9, 97]
Generated Node #0,4,3: 100:[9, 97] Operation: 97/1=97
Exploring Operation: 97+1=98, Resulting Numbers: [9, 98]
Generated Node #0,4,4: 100:[9, 98] Operation: 97+1=98
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 100:[97, 10], Operations: ['14-13=1', '9+1=10']
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,100 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 100:[9, 98], Operations: ['14-13=1', '97+1=98']
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 9*98=882, Resulting Numbers: [882]
882,100 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 100:[97, 9], Operations: ['14-13=1', '9*1=9']
Exploring Operation: 97*9=873, Resulting Numbers: [873]
873,100 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 100:[9, 97], Operations: ['14-13=1', '97*1=97']
Exploring Operation: 9+97=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 9*97=873, Resulting Numbers: [873]
873,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 100:[9, 97], Operations: ['14-13=1', '97/1=97']
Exploring Operation: 9*97=873, Resulting Numbers: [873]
873,100 unequal: No Solution
Exploring Operation: 9+97=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[97, 13, 5], Operations: ['14-9=5']
Exploring Operation: 13-5=8, Resulting Numbers: [97, 8]
Generated Node #0,1,0: 100:[97, 8] Operation: 13-5=8
Exploring Operation: 13+5=18, Resulting Numbers: [97, 18]
Generated Node #0,1,1: 100:[97, 18] Operation: 13+5=18
Exploring Operation: 97+13=110, Resulting Numbers: [5, 110]
Generated Node #0,1,2: 100:[5, 110] Operation: 97+13=110
Exploring Operation: 97+5=102, Resulting Numbers: [13, 102]
Generated Node #0,1,3: 100:[13, 102] Operation: 97+5=102
Exploring Operation: 97-5=92, Resulting Numbers: [13, 92]
Generated Node #0,1,4: 100:[13, 92] Operation: 97-5=92
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[97, 8], Operations: ['14-9=5', '13-5=8']
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,100 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,100 unequal: No Solution
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[97, 18], Operations: ['14-9=5', '13+5=18']
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,100 unequal: No Solution
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 100:[13, 102], Operations: ['14-9=5', '97+5=102']
Exploring Operation: 13*102=1326, Resulting Numbers: [1326]
1326,100 unequal: No Solution
Exploring Operation: 13+102=115, Resulting Numbers: [115]
115,100 unequal: No Solution
Exploring Operation: 102-13=89, Resulting Numbers: [89]
89,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[5, 110], Operations: ['14-9=5', '97+13=110']
Exploring Operation: 5+110=115, Resulting Numbers: [115]
115,100 unequal: No Solution
Exploring Operation: 5*110=550, Resulting Numbers: [550]
550,100 unequal: No Solution
Exploring Operation: 110/5=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 110-5=105, Resulting Numbers: [105]
105,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 100:[13, 92], Operations: ['14-9=5', '97-5=92']
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,100 unequal: No Solution
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,100 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[97, 9, 27], Operations: ['14+13=27']
Exploring Operation: 9+27=36, Resulting Numbers: [97, 36]
Generated Node #0,2,0: 100:[97, 36] Operation: 9+27=36
Exploring Operation: 97-9=88, Resulting Numbers: [27, 88]
Generated Node #0,2,1: 100:[27, 88] Operation: 97-9=88
Exploring Operation: 27/9=3, Resulting Numbers: [97, 3]
Generated Node #0,2,2: 100:[97, 3] Operation: 27/9=3
Exploring Operation: 97+9=106, Resulting Numbers: [27, 106]
Generated Node #0,2,3: 100:[27, 106] Operation: 97+9=106
Exploring Operation: 27-9=18, Resulting Numbers: [97, 18]
Generated Node #0,2,4: 100:[97, 18] Operation: 27-9=18
Moving to Node #0,2,2
Current State: 100:[97, 3], Operations: ['14+13=27', '27/9=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,100 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[97, 14, 13, 9], Operations: []
Exploring Operation: 14+13=27, Resulting Numbers: [97, 9, 27]
Generated Node #0,2: 100:[97, 9, 27] Operation: 14+13=27
Moving to Node #0,2
Current State: 100:[97, 9, 27], Operations: ['14+13=27']
Exploring Operation: 27/9=3, Resulting Numbers: [97, 3]
Generated Node #0,2,2: 100:[97, 3] Operation: 27/9=3
Moving to Node #0,2,2
Current State: 100:[97, 3], Operations: ['14+13=27', '27/9=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 |
hs_5
|
sum_heuristic
|
[
49,
38,
81,
4
] | 42 |
[
"49+38=87",
"81+87=168",
"168/4=42"
] |
Current State: 42:[49, 38, 81, 4], Operations: []
Exploring Operation: 49+38=87, Resulting Numbers: [81, 4, 87]
Generated Node #2: [81, 4, 87] from Operation: 49+38=87
Current State: 42:[81, 4, 87], Operations: ['49+38=87']
Exploring Operation: 81+87=168, Resulting Numbers: [4, 168]
Generated Node #3: [4, 168] from Operation: 81+87=168
Current State: 42:[4, 168], Operations: ['49+38=87', '81+87=168']
Exploring Operation: 168/4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[49, 38, 81, 4], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [49, 4, 43]
Generated Node #0,0: 42:[49, 4, 43] Operation: 81-38=43
Moving to Node #0,0
Current State: 42:[49, 4, 43], Operations: ['81-38=43']
Exploring Operation: 49-43=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 42:[4, 6] Operation: 49-43=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[4, 6], Operations: ['81-38=43', '49-43=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
47,
28,
25,
79
] | 82 |
[
"47+28=75",
"75/25=3",
"79+3=82"
] |
Current State: 82:[47, 28, 25, 79], Operations: []
Exploring Operation: 47+28=75, Resulting Numbers: [25, 79, 75]
Generated Node #2: [25, 79, 75] from Operation: 47+28=75
Current State: 82:[25, 79, 75], Operations: ['47+28=75']
Exploring Operation: 75/25=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 75/25=3
Current State: 82:[79, 3], Operations: ['47+28=75', '75/25=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[47, 28, 25, 79], Operations: []
Exploring Operation: 28+25=53, Resulting Numbers: [47, 79, 53]
Generated Node #0,0: 82:[47, 79, 53] Operation: 28+25=53
Exploring Operation: 28-25=3, Resulting Numbers: [47, 79, 3]
Generated Node #0,1: 82:[47, 79, 3] Operation: 28-25=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[47, 79, 3], Operations: ['28-25=3']
Exploring Operation: 47-3=44, Resulting Numbers: [79, 44]
Generated Node #0,1,0: 82:[79, 44] Operation: 47-3=44
Exploring Operation: 79+3=82, Resulting Numbers: [47, 82]
Generated Node #0,1,1: 82:[47, 82] Operation: 79+3=82
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[79, 44], Operations: ['28-25=3', '47-3=44']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[47, 82], Operations: ['28-25=3', '79+3=82']
Exploring Operation: 47+82=129, Resulting Numbers: [129]
129,82 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[47, 79, 53], Operations: ['28+25=53']
Exploring Operation: 79-47=32, Resulting Numbers: [53, 32]
Generated Node #0,0,0: 82:[53, 32] Operation: 79-47=32
Exploring Operation: 53-47=6, Resulting Numbers: [79, 6]
Generated Node #0,0,1: 82:[79, 6] Operation: 53-47=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[79, 6], Operations: ['28+25=53', '53-47=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[53, 32], Operations: ['28+25=53', '79-47=32']
Exploring Operation: 53+32=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
49,
13,
37,
52
] | 47 |
[
"49+13=62",
"52-37=15",
"62-15=47"
] |
Current State: 47:[49, 13, 37, 52], Operations: []
Exploring Operation: 49+13=62, Resulting Numbers: [37, 52, 62]
Generated Node #2: [37, 52, 62] from Operation: 49+13=62
Current State: 47:[37, 52, 62], Operations: ['49+13=62']
Exploring Operation: 52-37=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 52-37=15
Current State: 47:[62, 15], Operations: ['49+13=62', '52-37=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[49, 13, 37, 52], Operations: []
Exploring Operation: 49+13=62, Resulting Numbers: [37, 52, 62]
Generated Node #0,0: 47:[37, 52, 62] Operation: 49+13=62
Exploring Operation: 13+37=50, Resulting Numbers: [49, 52, 50]
Generated Node #0,1: 47:[49, 52, 50] Operation: 13+37=50
Exploring Operation: 49-13=36, Resulting Numbers: [37, 52, 36]
Generated Node #0,2: 47:[37, 52, 36] Operation: 49-13=36
Exploring Operation: 52-13=39, Resulting Numbers: [49, 37, 39]
Generated Node #0,3: 47:[49, 37, 39] Operation: 52-13=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[49, 52, 50], Operations: ['13+37=50']
Exploring Operation: 52-50=2, Resulting Numbers: [49, 2]
Generated Node #0,1,0: 47:[49, 2] Operation: 52-50=2
Exploring Operation: 52-49=3, Resulting Numbers: [50, 3]
Generated Node #0,1,1: 47:[50, 3] Operation: 52-49=3
Exploring Operation: 50-49=1, Resulting Numbers: [52, 1]
Generated Node #0,1,2: 47:[52, 1] Operation: 50-49=1
Exploring Operation: 49+52=101, Resulting Numbers: [50, 101]
Generated Node #0,1,3: 47:[50, 101] Operation: 49+52=101
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[49, 2], Operations: ['13+37=50', '52-50=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[49, 13, 37, 52], Operations: []
Exploring Operation: 13+37=50, Resulting Numbers: [49, 52, 50]
Generated Node #0,1: 47:[49, 52, 50] Operation: 13+37=50
Moving to Node #0,1
Current State: 47:[49, 52, 50], Operations: ['13+37=50']
Exploring Operation: 52-50=2, Resulting Numbers: [49, 2]
Generated Node #0,1,0: 47:[49, 2] Operation: 52-50=2
Moving to Node #0,1,0
Current State: 47:[49, 2], Operations: ['13+37=50', '52-50=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
9,
21,
36,
21
] | 63 |
[
"21-9=12",
"36*21=756",
"756/12=63"
] |
Current State: 63:[9, 21, 36, 21], Operations: []
Exploring Operation: 21-9=12, Resulting Numbers: [36, 12]
Generated Node #2: [36, 12] from Operation: 21-9=12
Current State: 63:[36, 12], Operations: ['21-9=12']
Exploring Operation: 36*21=756, Resulting Numbers: [12, 756]
Generated Node #3: [12, 756] from Operation: 36*21=756
Current State: 63:[12, 756], Operations: ['21-9=12', '36*21=756']
Exploring Operation: 756/12=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[9, 21, 36, 21], Operations: []
Exploring Operation: 21+36=57, Resulting Numbers: [9, 21, 57]
Generated Node #0,0: 63:[9, 21, 57] Operation: 21+36=57
Exploring Operation: 36/9=4, Resulting Numbers: [21, 21, 4]
Generated Node #0,1: 63:[21, 21, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [21, 21, 27]
Generated Node #0,2: 63:[21, 21, 27] Operation: 36-9=27
Exploring Operation: 36-21=15, Resulting Numbers: [9, 21, 15]
Generated Node #0,3: 63:[9, 21, 15] Operation: 36-21=15
Moving to Node #0,1
Current State: 63:[21, 21, 4], Operations: ['36/9=4']
Exploring Operation: 21/21=1, Resulting Numbers: [4, 1]
Generated Node #0,1,0: 63:[4, 1] Operation: 21/21=1
Exploring Operation: 21-21=0, Resulting Numbers: [4, 0]
Generated Node #0,1,1: 63:[4, 0] Operation: 21-21=0
Exploring Operation: 21+4=25, Resulting Numbers: [21, 25]
Generated Node #0,1,2: 63:[21, 25] Operation: 21+4=25
Exploring Operation: 21-4=17, Resulting Numbers: [21, 17]
Generated Node #0,1,3: 63:[21, 17] Operation: 21-4=17
Moving to Node #0,2
Current State: 63:[21, 21, 27], Operations: ['36-9=27']
Exploring Operation: 27-21=6, Resulting Numbers: [21, 6]
Generated Node #0,2,0: 63:[21, 6] Operation: 27-21=6
Exploring Operation: 21/21=1, Resulting Numbers: [27, 1]
Generated Node #0,2,1: 63:[27, 1] Operation: 21/21=1
Exploring Operation: 21-21=0, Resulting Numbers: [27, 0]
Generated Node #0,2,2: 63:[27, 0] Operation: 21-21=0
Exploring Operation: 27-21=6, Resulting Numbers: [21, 6]
Generated Node #0,2,3: 63:[21, 6] Operation: 27-21=6
Moving to Node #0,0
Current State: 63:[9, 21, 57], Operations: ['21+36=57']
Exploring Operation: 9+57=66, Resulting Numbers: [21, 66]
Generated Node #0,0,0: 63:[21, 66] Operation: 9+57=66
Exploring Operation: 57-9=48, Resulting Numbers: [21, 48]
Generated Node #0,0,1: 63:[21, 48] Operation: 57-9=48
Exploring Operation: 9+21=30, Resulting Numbers: [57, 30]
Generated Node #0,0,2: 63:[57, 30] Operation: 9+21=30
Exploring Operation: 21-9=12, Resulting Numbers: [57, 12]
Generated Node #0,0,3: 63:[57, 12] Operation: 21-9=12
Moving to Node #0,3
Current State: 63:[9, 21, 15], Operations: ['36-21=15']
Exploring Operation: 21-9=12, Resulting Numbers: [15, 12]
Generated Node #0,3,0: 63:[15, 12] Operation: 21-9=12
Exploring Operation: 9+15=24, Resulting Numbers: [21, 24]
Generated Node #0,3,1: 63:[21, 24] Operation: 9+15=24
Exploring Operation: 15-9=6, Resulting Numbers: [21, 6]
Generated Node #0,3,2: 63:[21, 6] Operation: 15-9=6
Exploring Operation: 21-15=6, Resulting Numbers: [9, 6]
Generated Node #0,3,3: 63:[9, 6] Operation: 21-15=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[21, 6], Operations: ['36-21=15', '15-9=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[9, 6], Operations: ['36-21=15', '21-15=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[21, 24], Operations: ['36-21=15', '9+15=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,63 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[15, 12], Operations: ['36-21=15', '21-9=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 63:[21, 6], Operations: ['36-9=27', '27-21=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[21, 6], Operations: ['36-9=27', '27-21=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[4, 1], Operations: ['36/9=4', '21/21=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[21, 66], Operations: ['21+36=57', '9+57=66']
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,63 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[21, 25], Operations: ['36/9=4', '21+4=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,63 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[4, 0], Operations: ['36/9=4', '21-21=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[21, 17], Operations: ['36/9=4', '21-4=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,63 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[27, 1], Operations: ['36-9=27', '21/21=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[57, 12], Operations: ['21+36=57', '21-9=12']
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 57*12=684, Resulting Numbers: [684]
684,63 unequal: No Solution
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[27, 0], Operations: ['36-9=27', '21-21=0']
Exploring Operation: 27*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 27-0=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[21, 48], Operations: ['21+36=57', '57-9=48']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,63 unequal: No Solution
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[57, 30], Operations: ['21+36=57', '9+21=30']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,63 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,63 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
26,
6,
35,
77
] | 44 |
[
"26*6=156",
"35+77=112",
"156-112=44"
] |
Current State: 44:[26, 6, 35, 77], Operations: []
Exploring Operation: 26*6=156, Resulting Numbers: [35, 77, 156]
Generated Node #2: [35, 77, 156] from Operation: 26*6=156
Current State: 44:[35, 77, 156], Operations: ['26*6=156']
Exploring Operation: 35+77=112, Resulting Numbers: [156, 112]
Generated Node #3: [156, 112] from Operation: 35+77=112
Current State: 44:[156, 112], Operations: ['26*6=156', '35+77=112']
Exploring Operation: 156-112=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[26, 6, 35, 77], Operations: []
Exploring Operation: 77-35=42, Resulting Numbers: [26, 6, 42]
Generated Node #0,0: 44:[26, 6, 42] Operation: 77-35=42
Moving to Node #0,0
Current State: 44:[26, 6, 42], Operations: ['77-35=42']
Exploring Operation: 26-6=20, Resulting Numbers: [42, 20]
Generated Node #0,0,0: 44:[42, 20] Operation: 26-6=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[42, 20], Operations: ['77-35=42', '26-6=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,44 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
|
[
28,
83,
62,
52
] | 59 |
[
"83-28=55",
"62+52=114",
"114-55=59"
] |
Current State: 59:[28, 83, 62, 52], Operations: []
Exploring Operation: 83-28=55, Resulting Numbers: [62, 52, 55]
Generated Node #2: [62, 52, 55] from Operation: 83-28=55
Current State: 59:[62, 52, 55], Operations: ['83-28=55']
Exploring Operation: 62+52=114, Resulting Numbers: [55, 114]
Generated Node #3: [55, 114] from Operation: 62+52=114
Current State: 59:[55, 114], Operations: ['83-28=55', '62+52=114']
Exploring Operation: 114-55=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[28, 83, 62, 52], Operations: []
Exploring Operation: 28+52=80, Resulting Numbers: [83, 62, 80]
Generated Node #0,0: 59:[83, 62, 80] Operation: 28+52=80
Exploring Operation: 62-28=34, Resulting Numbers: [83, 52, 34]
Generated Node #0,1: 59:[83, 52, 34] Operation: 62-28=34
Exploring Operation: 83-28=55, Resulting Numbers: [62, 52, 55]
Generated Node #0,2: 59:[62, 52, 55] Operation: 83-28=55
Moving to Node #0,2
Current State: 59:[62, 52, 55], Operations: ['83-28=55']
Exploring Operation: 62+52=114, Resulting Numbers: [55, 114]
Generated Node #0,2,0: 59:[55, 114] Operation: 62+52=114
Exploring Operation: 52+55=107, Resulting Numbers: [62, 107]
Generated Node #0,2,1: 59:[62, 107] Operation: 52+55=107
Exploring Operation: 62-52=10, Resulting Numbers: [55, 10]
Generated Node #0,2,2: 59:[55, 10] Operation: 62-52=10
Moving to Node #0,0
Current State: 59:[83, 62, 80], Operations: ['28+52=80']
Exploring Operation: 83-80=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 59:[62, 3] Operation: 83-80=3
Exploring Operation: 80-62=18, Resulting Numbers: [83, 18]
Generated Node #0,0,1: 59:[83, 18] Operation: 80-62=18
Exploring Operation: 83-62=21, Resulting Numbers: [80, 21]
Generated Node #0,0,2: 59:[80, 21] Operation: 83-62=21
Moving to Node #0,1
Current State: 59:[83, 52, 34], Operations: ['62-28=34']
Exploring Operation: 83-52=31, Resulting Numbers: [34, 31]
Generated Node #0,1,0: 59:[34, 31] Operation: 83-52=31
Exploring Operation: 52+34=86, Resulting Numbers: [83, 86]
Generated Node #0,1,1: 59:[83, 86] Operation: 52+34=86
Exploring Operation: 83-34=49, Resulting Numbers: [52, 49]
Generated Node #0,1,2: 59:[52, 49] Operation: 83-34=49
Moving to Node #0,1,2
Current State: 59:[52, 49], Operations: ['62-28=34', '83-34=49']
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,59 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[62, 107], Operations: ['83-28=55', '52+55=107']
Exploring Operation: 62*107=6634, Resulting Numbers: [6634]
6634,59 unequal: No Solution
Exploring Operation: 62+107=169, Resulting Numbers: [169]
169,59 unequal: No Solution
Exploring Operation: 107-62=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[83, 86], Operations: ['62-28=34', '52+34=86']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,59 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[34, 31], Operations: ['62-28=34', '83-52=31']
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[55, 10], Operations: ['83-28=55', '62-52=10']
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,59 unequal: No Solution
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[55, 114], Operations: ['83-28=55', '62+52=114']
Exploring Operation: 114-55=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[28, 83, 62, 52], Operations: []
Exploring Operation: 83-28=55, Resulting Numbers: [62, 52, 55]
Generated Node #0,2: 59:[62, 52, 55] Operation: 83-28=55
Moving to Node #0,2
Current State: 59:[62, 52, 55], Operations: ['83-28=55']
Exploring Operation: 62+52=114, Resulting Numbers: [55, 114]
Generated Node #0,2,0: 59:[55, 114] Operation: 62+52=114
Moving to Node #0,2,0
Current State: 59:[55, 114], Operations: ['83-28=55', '62+52=114']
Exploring Operation: 114-55=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.972222 |
hs_3
|
sum_heuristic
|
[
44,
11,
72,
48
] | 79 |
[
"44+11=55",
"72-48=24",
"55+24=79"
] |
Current State: 79:[44, 11, 72, 48], Operations: []
Exploring Operation: 44+11=55, Resulting Numbers: [72, 48, 55]
Generated Node #2: [72, 48, 55] from Operation: 44+11=55
Current State: 79:[72, 48, 55], Operations: ['44+11=55']
Exploring Operation: 72-48=24, Resulting Numbers: [55, 24]
Generated Node #3: [55, 24] from Operation: 72-48=24
Current State: 79:[55, 24], Operations: ['44+11=55', '72-48=24']
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[44, 11, 72, 48], Operations: []
Exploring Operation: 11+72=83, Resulting Numbers: [44, 48, 83]
Generated Node #0,0: 79:[44, 48, 83] Operation: 11+72=83
Exploring Operation: 44-11=33, Resulting Numbers: [72, 48, 33]
Generated Node #0,1: 79:[72, 48, 33] Operation: 44-11=33
Exploring Operation: 11+48=59, Resulting Numbers: [44, 72, 59]
Generated Node #0,2: 79:[44, 72, 59] Operation: 11+48=59
Exploring Operation: 72-11=61, Resulting Numbers: [44, 48, 61]
Generated Node #0,3: 79:[44, 48, 61] Operation: 72-11=61
Exploring Operation: 44+11=55, Resulting Numbers: [72, 48, 55]
Generated Node #0,4: 79:[72, 48, 55] Operation: 44+11=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[44, 72, 59], Operations: ['11+48=59']
Exploring Operation: 44+59=103, Resulting Numbers: [72, 103]
Generated Node #0,2,0: 79:[72, 103] Operation: 44+59=103
Exploring Operation: 72-44=28, Resulting Numbers: [59, 28]
Generated Node #0,2,1: 79:[59, 28] Operation: 72-44=28
Exploring Operation: 72+59=131, Resulting Numbers: [44, 131]
Generated Node #0,2,2: 79:[44, 131] Operation: 72+59=131
Exploring Operation: 44+72=116, Resulting Numbers: [59, 116]
Generated Node #0,2,3: 79:[59, 116] Operation: 44+72=116
Exploring Operation: 59-44=15, Resulting Numbers: [72, 15]
Generated Node #0,2,4: 79:[72, 15] Operation: 59-44=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[72, 103], Operations: ['11+48=59', '44+59=103']
Exploring Operation: 72*103=7416, Resulting Numbers: [7416]
7416,79 unequal: No Solution
Exploring Operation: 72+103=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 103-72=31, Resulting Numbers: [31]
31,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,3
Current State: 79:[59, 116], Operations: ['11+48=59', '44+72=116']
Exploring Operation: 116-59=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 59+116=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 59*116=6844, Resulting Numbers: [6844]
6844,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,1
Current State: 79:[59, 28], Operations: ['11+48=59', '72-44=28']
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,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,4
Current State: 79:[72, 15], Operations: ['11+48=59', '59-44=15']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,79 unequal: No Solution
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,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:[44, 131], Operations: ['11+48=59', '72+59=131']
Exploring Operation: 44*131=5764, Resulting Numbers: [5764]
5764,79 unequal: No Solution
Exploring Operation: 44+131=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 131-44=87, Resulting Numbers: [87]
87,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 79:[72, 48, 55], Operations: ['44+11=55']
Exploring Operation: 48+55=103, Resulting Numbers: [72, 103]
Generated Node #0,4,0: 79:[72, 103] Operation: 48+55=103
Exploring Operation: 72+55=127, Resulting Numbers: [48, 127]
Generated Node #0,4,1: 79:[48, 127] Operation: 72+55=127
Exploring Operation: 72+48=120, Resulting Numbers: [55, 120]
Generated Node #0,4,2: 79:[55, 120] Operation: 72+48=120
Exploring Operation: 55-48=7, Resulting Numbers: [72, 7]
Generated Node #0,4,3: 79:[72, 7] Operation: 55-48=7
Exploring Operation: 72-48=24, Resulting Numbers: [55, 24]
Generated Node #0,4,4: 79:[55, 24] Operation: 72-48=24
Moving to Node #0,4,0
Current State: 79:[72, 103], Operations: ['44+11=55', '48+55=103']
Exploring Operation: 103-72=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 72*103=7416, Resulting Numbers: [7416]
7416,79 unequal: No Solution
Exploring Operation: 72+103=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[55, 120], Operations: ['44+11=55', '72+48=120']
Exploring Operation: 55*120=6600, Resulting Numbers: [6600]
6600,79 unequal: No Solution
Exploring Operation: 120-55=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 55+120=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[48, 127], Operations: ['44+11=55', '72+55=127']
Exploring Operation: 48*127=6096, Resulting Numbers: [6096]
6096,79 unequal: No Solution
Exploring Operation: 48+127=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 127-48=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[44, 11, 72, 48], Operations: []
Exploring Operation: 44+11=55, Resulting Numbers: [72, 48, 55]
Generated Node #0,4: 79:[72, 48, 55] Operation: 44+11=55
Moving to Node #0,4
Current State: 79:[72, 48, 55], Operations: ['44+11=55']
Exploring Operation: 72+55=127, Resulting Numbers: [48, 127]
Generated Node #0,4,1: 79:[48, 127] Operation: 72+55=127
Moving to Node #0,4,1
Current State: 79:[48, 127], Operations: ['44+11=55', '72+55=127']
Exploring Operation: 127-48=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 |
hs_5
|
sum_heuristic
|
[
53,
2,
5,
45
] | 86 |
[
"5*45=225",
"225-53=172",
"172/2=86"
] |
Current State: 86:[53, 2, 5, 45], Operations: []
Exploring Operation: 5*45=225, Resulting Numbers: [53, 2, 225]
Generated Node #2: [53, 2, 225] from Operation: 5*45=225
Current State: 86:[53, 2, 225], Operations: ['5*45=225']
Exploring Operation: 225-53=172, Resulting Numbers: [2, 172]
Generated Node #3: [2, 172] from Operation: 225-53=172
Current State: 86:[2, 172], Operations: ['5*45=225', '225-53=172']
Exploring Operation: 172/2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[53, 2, 5, 45], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [2, 5, 8]
Generated Node #0,0: 86:[2, 5, 8] Operation: 53-45=8
Exploring Operation: 53-2=51, Resulting Numbers: [5, 45, 51]
Generated Node #0,1: 86:[5, 45, 51] Operation: 53-2=51
Exploring Operation: 53-5=48, Resulting Numbers: [2, 45, 48]
Generated Node #0,2: 86:[2, 45, 48] Operation: 53-5=48
Moving to Node #0,2
Current State: 86:[2, 45, 48], Operations: ['53-5=48']
Exploring Operation: 48-45=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 86:[2, 3] Operation: 48-45=3
Exploring Operation: 48-2=46, Resulting Numbers: [45, 46]
Generated Node #0,2,1: 86:[45, 46] Operation: 48-2=46
Exploring Operation: 45-2=43, Resulting Numbers: [48, 43]
Generated Node #0,2,2: 86:[48, 43] Operation: 45-2=43
Moving to Node #0,0
Current State: 86:[2, 5, 8], Operations: ['53-45=8']
Exploring Operation: 8/2=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 86:[5, 4] Operation: 8/2=4
Exploring Operation: 5*8=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 86:[2, 40] Operation: 5*8=40
Exploring Operation: 8-5=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 86:[2, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[2, 3], Operations: ['53-45=8', '8-5=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[2, 40], Operations: ['53-45=8', '5*8=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[5, 4], Operations: ['53-45=8', '8/2=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[5, 45, 51], Operations: ['53-2=51']
Exploring Operation: 51-45=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 86:[5, 6] Operation: 51-45=6
Exploring Operation: 45-5=40, Resulting Numbers: [51, 40]
Generated Node #0,1,1: 86:[51, 40] Operation: 45-5=40
Exploring Operation: 51-5=46, Resulting Numbers: [45, 46]
Generated Node #0,1,2: 86:[45, 46] Operation: 51-5=46
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[45, 46], Operations: ['53-2=51', '51-5=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[5, 6], Operations: ['53-2=51', '51-45=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[51, 40], Operations: ['53-2=51', '45-5=40']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,86 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 86:[2, 3], Operations: ['53-5=48', '48-45=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[45, 46], Operations: ['53-5=48', '48-2=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[48, 43], Operations: ['53-5=48', '45-2=43']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,86 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,86 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
87,
55,
97,
41
] | 87 |
[
"97-55=42",
"42-41=1",
"87*1=87"
] |
Current State: 87:[87, 55, 97, 41], Operations: []
Exploring Operation: 97-55=42, Resulting Numbers: [87, 41, 42]
Generated Node #2: [87, 41, 42] from Operation: 97-55=42
Current State: 87:[87, 41, 42], Operations: ['97-55=42']
Exploring Operation: 42-41=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 42-41=1
Current State: 87:[87, 1], Operations: ['97-55=42', '42-41=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[87, 55, 97, 41], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [55, 41, 10]
Generated Node #0,0: 87:[55, 41, 10] Operation: 97-87=10
Exploring Operation: 55-41=14, Resulting Numbers: [87, 97, 14]
Generated Node #0,1: 87:[87, 97, 14] Operation: 55-41=14
Exploring Operation: 55+41=96, Resulting Numbers: [87, 97, 96]
Generated Node #0,2: 87:[87, 97, 96] Operation: 55+41=96
Exploring Operation: 87-55=32, Resulting Numbers: [97, 41, 32]
Generated Node #0,3: 87:[97, 41, 32] Operation: 87-55=32
Exploring Operation: 97-55=42, Resulting Numbers: [87, 41, 42]
Generated Node #0,4: 87:[87, 41, 42] Operation: 97-55=42
Moving to Node #0,2
Current State: 87:[87, 97, 96], Operations: ['55+41=96']
Exploring Operation: 97-87=10, Resulting Numbers: [96, 10]
Generated Node #0,2,0: 87:[96, 10] Operation: 97-87=10
Exploring Operation: 96-87=9, Resulting Numbers: [97, 9]
Generated Node #0,2,1: 87:[97, 9] Operation: 96-87=9
Exploring Operation: 87+96=183, Resulting Numbers: [97, 183]
Generated Node #0,2,2: 87:[97, 183] Operation: 87+96=183
Exploring Operation: 97-96=1, Resulting Numbers: [87, 1]
Generated Node #0,2,3: 87:[87, 1] Operation: 97-96=1
Exploring Operation: 87+97=184, Resulting Numbers: [96, 184]
Generated Node #0,2,4: 87:[96, 184] Operation: 87+97=184
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[87, 1], Operations: ['55+41=96', '97-96=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[87, 55, 97, 41], Operations: []
Exploring Operation: 55+41=96, Resulting Numbers: [87, 97, 96]
Generated Node #0,2: 87:[87, 97, 96] Operation: 55+41=96
Moving to Node #0,2
Current State: 87:[87, 97, 96], Operations: ['55+41=96']
Exploring Operation: 97-96=1, Resulting Numbers: [87, 1]
Generated Node #0,2,3: 87:[87, 1] Operation: 97-96=1
Moving to Node #0,2,3
Current State: 87:[87, 1], Operations: ['55+41=96', '97-96=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
2,
83,
88,
80
] | 94 |
[
"83-80=3",
"2*3=6",
"88+6=94"
] |
Current State: 94:[2, 83, 88, 80], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [2, 88, 3]
Generated Node #2: [2, 88, 3] from Operation: 83-80=3
Current State: 94:[2, 88, 3], Operations: ['83-80=3']
Exploring Operation: 2*3=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 2*3=6
Current State: 94:[88, 6], Operations: ['83-80=3', '2*3=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[2, 83, 88, 80], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [2, 80, 5]
Generated Node #0,0: 94:[2, 80, 5] Operation: 88-83=5
Exploring Operation: 83-80=3, Resulting Numbers: [2, 88, 3]
Generated Node #0,1: 94:[2, 88, 3] Operation: 83-80=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[2, 88, 3], Operations: ['83-80=3']
Exploring Operation: 88/2=44, Resulting Numbers: [3, 44]
Generated Node #0,1,0: 94:[3, 44] Operation: 88/2=44
Exploring Operation: 88+3=91, Resulting Numbers: [2, 91]
Generated Node #0,1,1: 94:[2, 91] Operation: 88+3=91
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[2, 91], Operations: ['83-80=3', '88+3=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[3, 44], Operations: ['83-80=3', '88/2=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[2, 80, 5], Operations: ['88-83=5']
Exploring Operation: 80+5=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 94:[2, 85] Operation: 80+5=85
Exploring Operation: 80/2=40, Resulting Numbers: [5, 40]
Generated Node #0,0,1: 94:[5, 40] Operation: 80/2=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[2, 85], Operations: ['88-83=5', '80+5=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,94 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[5, 40], Operations: ['88-83=5', '80/2=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
2,
46,
10,
27
] | 10 |
[
"2*27=54",
"46+54=100",
"100/10=10"
] |
Current State: 10:[2, 46, 10, 27], Operations: []
Exploring Operation: 2*27=54, Resulting Numbers: [46, 10, 54]
Generated Node #2: [46, 10, 54] from Operation: 2*27=54
Current State: 10:[46, 10, 54], Operations: ['2*27=54']
Exploring Operation: 46+54=100, Resulting Numbers: [10, 100]
Generated Node #3: [10, 100] from Operation: 46+54=100
Current State: 10:[10, 100], Operations: ['2*27=54', '46+54=100']
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[2, 46, 10, 27], Operations: []
Exploring Operation: 46-27=19, Resulting Numbers: [2, 10, 19]
Generated Node #0,0: 10:[2, 10, 19] Operation: 46-27=19
Exploring Operation: 46/2=23, Resulting Numbers: [10, 27, 23]
Generated Node #0,1: 10:[10, 27, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[2, 10, 19], Operations: ['46-27=19']
Exploring Operation: 19-2=17, Resulting Numbers: [10, 17]
Generated Node #0,0,0: 10:[10, 17] Operation: 19-2=17
Exploring Operation: 19-10=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 10:[2, 9] Operation: 19-10=9
Moving to Node #0,0,1
Current State: 10:[2, 9], Operations: ['46-27=19', '19-10=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[10, 17], Operations: ['46-27=19', '19-2=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[10, 27, 23], Operations: ['46/2=23']
Exploring Operation: 27-23=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 10:[10, 4] Operation: 27-23=4
Exploring Operation: 27-10=17, Resulting Numbers: [23, 17]
Generated Node #0,1,1: 10:[23, 17] Operation: 27-10=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[10, 4], Operations: ['46/2=23', '27-23=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[23, 17], Operations: ['46/2=23', '27-10=17']
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
54,
27,
5,
2
] | 65 |
[
"27-5=22",
"22/2=11",
"54+11=65"
] |
Current State: 65:[54, 27, 5, 2], Operations: []
Exploring Operation: 27-5=22, Resulting Numbers: [54, 2, 22]
Generated Node #2: [54, 2, 22] from Operation: 27-5=22
Current State: 65:[54, 2, 22], Operations: ['27-5=22']
Exploring Operation: 22/2=11, Resulting Numbers: [54, 11]
Generated Node #3: [54, 11] from Operation: 22/2=11
Current State: 65:[54, 11], Operations: ['27-5=22', '22/2=11']
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[54, 27, 5, 2], Operations: []
Exploring Operation: 54-27=27, Resulting Numbers: [5, 2, 27]
Generated Node #0,0: 65:[5, 2, 27] Operation: 54-27=27
Exploring Operation: 54+27=81, Resulting Numbers: [5, 2, 81]
Generated Node #0,1: 65:[5, 2, 81] Operation: 54+27=81
Exploring Operation: 54/27=2, Resulting Numbers: [5, 2, 2]
Generated Node #0,2: 65:[5, 2, 2] Operation: 54/27=2
Moving to Node #0,2
Current State: 65:[5, 2, 2], Operations: ['54/27=2']
Exploring Operation: 2+2=4, Resulting Numbers: [5, 4]
Generated Node #0,2,0: 65:[5, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [5, 4]
Generated Node #0,2,1: 65:[5, 4] Operation: 2*2=4
Exploring Operation: 2/2=1, Resulting Numbers: [5, 1]
Generated Node #0,2,2: 65:[5, 1] Operation: 2/2=1
Moving to Node #0,0
Current State: 65:[5, 2, 27], Operations: ['54-27=27']
Exploring Operation: 27-2=25, Resulting Numbers: [5, 25]
Generated Node #0,0,0: 65:[5, 25] Operation: 27-2=25
Exploring Operation: 2*27=54, Resulting Numbers: [5, 54]
Generated Node #0,0,1: 65:[5, 54] Operation: 2*27=54
Exploring Operation: 27-5=22, Resulting Numbers: [2, 22]
Generated Node #0,0,2: 65:[2, 22] Operation: 27-5=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[5, 54], Operations: ['54-27=27', '2*27=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,65 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,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,0
Current State: 65:[5, 25], Operations: ['54-27=27', '27-2=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,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,2
Current State: 65:[2, 22], Operations: ['54-27=27', '27-5=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,65 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: 65:[5, 2, 81], Operations: ['54+27=81']
Exploring Operation: 81-5=76, Resulting Numbers: [2, 76]
Generated Node #0,1,0: 65:[2, 76] Operation: 81-5=76
Exploring Operation: 5+2=7, Resulting Numbers: [81, 7]
Generated Node #0,1,1: 65:[81, 7] Operation: 5+2=7
Exploring Operation: 81-2=79, Resulting Numbers: [5, 79]
Generated Node #0,1,2: 65:[5, 79] Operation: 81-2=79
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[2, 76], Operations: ['54+27=81', '81-5=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,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,1,2
Current State: 65:[5, 79], Operations: ['54+27=81', '81-2=79']
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,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,1,1
Current State: 65:[81, 7], Operations: ['54+27=81', '5+2=7']
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,65 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 65:[5, 4], Operations: ['54/27=2', '2+2=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[5, 4], Operations: ['54/27=2', '2*2=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[5, 1], Operations: ['54/27=2', '2/2=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
46,
78,
39,
41
] | 23 |
[
"78-39=39",
"41-39=2",
"46/2=23"
] |
Current State: 23:[46, 78, 39, 41], Operations: []
Exploring Operation: 78-39=39, Resulting Numbers: [46, 41, 39]
Generated Node #2: [46, 41, 39] from Operation: 78-39=39
Current State: 23:[46, 41, 39], Operations: ['78-39=39']
Exploring Operation: 41-39=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 41-39=2
Current State: 23:[46, 2], Operations: ['78-39=39', '41-39=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[46, 78, 39, 41], Operations: []
Exploring Operation: 78-41=37, Resulting Numbers: [46, 39, 37]
Generated Node #0,0: 23:[46, 39, 37] Operation: 78-41=37
Exploring Operation: 78-46=32, Resulting Numbers: [39, 41, 32]
Generated Node #0,1: 23:[39, 41, 32] Operation: 78-46=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[39, 41, 32], Operations: ['78-46=32']
Exploring Operation: 41-32=9, Resulting Numbers: [39, 9]
Generated Node #0,1,0: 23:[39, 9] Operation: 41-32=9
Exploring Operation: 41-39=2, Resulting Numbers: [32, 2]
Generated Node #0,1,1: 23:[32, 2] Operation: 41-39=2
Moving to Node #0,1,0
Current State: 23:[39, 9], Operations: ['78-46=32', '41-32=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[32, 2], Operations: ['78-46=32', '41-39=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,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
Current State: 23:[46, 39, 37], Operations: ['78-41=37']
Exploring Operation: 46-39=7, Resulting Numbers: [37, 7]
Generated Node #0,0,0: 23:[37, 7] Operation: 46-39=7
Exploring Operation: 46-37=9, Resulting Numbers: [39, 9]
Generated Node #0,0,1: 23:[39, 9] Operation: 46-37=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[37, 7], Operations: ['78-41=37', '46-39=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[39, 9], Operations: ['78-41=37', '46-37=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,23 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
|
[
56,
98,
59,
32
] | 52 |
[
"59+32=91",
"56*91=5096",
"5096/98=52"
] |
Current State: 52:[56, 98, 59, 32], Operations: []
Exploring Operation: 59+32=91, Resulting Numbers: [56, 98, 91]
Generated Node #2: [56, 98, 91] from Operation: 59+32=91
Current State: 52:[56, 98, 91], Operations: ['59+32=91']
Exploring Operation: 56*91=5096, Resulting Numbers: [98, 5096]
Generated Node #3: [98, 5096] from Operation: 56*91=5096
Current State: 52:[98, 5096], Operations: ['59+32=91', '56*91=5096']
Exploring Operation: 5096/98=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[56, 98, 59, 32], Operations: []
Exploring Operation: 98-56=42, Resulting Numbers: [59, 32, 42]
Generated Node #0,0: 52:[59, 32, 42] Operation: 98-56=42
Moving to Node #0,0
Current State: 52:[59, 32, 42], Operations: ['98-56=42']
Exploring Operation: 59-42=17, Resulting Numbers: [32, 17]
Generated Node #0,0,0: 52:[32, 17] Operation: 59-42=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[32, 17], Operations: ['98-56=42', '59-42=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,52 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
|
[
2,
69,
71,
96
] | 50 |
[
"96/2=48",
"71-69=2",
"48+2=50"
] |
Current State: 50:[2, 69, 71, 96], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [69, 71, 48]
Generated Node #2: [69, 71, 48] from Operation: 96/2=48
Current State: 50:[69, 71, 48], Operations: ['96/2=48']
Exploring Operation: 71-69=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 71-69=2
Current State: 50:[48, 2], Operations: ['96/2=48', '71-69=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[2, 69, 71, 96], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [69, 71, 48]
Generated Node #0,0: 50:[69, 71, 48] Operation: 96/2=48
Exploring Operation: 71-69=2, Resulting Numbers: [2, 96, 2]
Generated Node #0,1: 50:[2, 96, 2] Operation: 71-69=2
Exploring Operation: 96-71=25, Resulting Numbers: [2, 69, 25]
Generated Node #0,2: 50:[2, 69, 25] Operation: 96-71=25
Exploring Operation: 96-69=27, Resulting Numbers: [2, 71, 27]
Generated Node #0,3: 50:[2, 71, 27] Operation: 96-69=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[2, 69, 25], Operations: ['96-71=25']
Exploring Operation: 2+69=71, Resulting Numbers: [25, 71]
Generated Node #0,2,0: 50:[25, 71] Operation: 2+69=71
Exploring Operation: 69-2=67, Resulting Numbers: [25, 67]
Generated Node #0,2,1: 50:[25, 67] Operation: 69-2=67
Exploring Operation: 69-25=44, Resulting Numbers: [2, 44]
Generated Node #0,2,2: 50:[2, 44] Operation: 69-25=44
Exploring Operation: 2*25=50, Resulting Numbers: [69, 50]
Generated Node #0,2,3: 50:[69, 50] Operation: 2*25=50
Moving to Node #0,2,2
Current State: 50:[2, 44], Operations: ['96-71=25', '69-25=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,50 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[25, 67], Operations: ['96-71=25', '69-2=67']
Exploring Operation: 25*67=1675, Resulting Numbers: [1675]
1675,50 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[69, 50], Operations: ['96-71=25', '2*25=50']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,50 unequal: No Solution
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[25, 71], Operations: ['96-71=25', '2+69=71']
Exploring Operation: 25+71=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 25*71=1775, Resulting Numbers: [1775]
1775,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,3
Current State: 50:[2, 71, 27], Operations: ['96-69=27']
Exploring Operation: 27-2=25, Resulting Numbers: [71, 25]
Generated Node #0,3,0: 50:[71, 25] Operation: 27-2=25
Exploring Operation: 71-2=69, Resulting Numbers: [27, 69]
Generated Node #0,3,1: 50:[27, 69] Operation: 71-2=69
Exploring Operation: 2+71=73, Resulting Numbers: [27, 73]
Generated Node #0,3,2: 50:[27, 73] Operation: 2+71=73
Exploring Operation: 71-27=44, Resulting Numbers: [2, 44]
Generated Node #0,3,3: 50:[2, 44] Operation: 71-27=44
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 50:[2, 44], Operations: ['96-69=27', '71-27=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,50 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,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,3,0
Current State: 50:[71, 25], Operations: ['96-69=27', '27-2=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,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,3,1
Current State: 50:[27, 69], Operations: ['96-69=27', '71-2=69']
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,50 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,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,3,2
Current State: 50:[27, 73], Operations: ['96-69=27', '2+71=73']
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,50 unequal: No Solution
Exploring Operation: 27*73=1971, Resulting Numbers: [1971]
1971,50 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,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,0
Current State: 50:[69, 71, 48], Operations: ['96/2=48']
Exploring Operation: 71-69=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 50:[48, 2] Operation: 71-69=2
Exploring Operation: 71-48=23, Resulting Numbers: [69, 23]
Generated Node #0,0,1: 50:[69, 23] Operation: 71-48=23
Exploring Operation: 69-48=21, Resulting Numbers: [71, 21]
Generated Node #0,0,2: 50:[71, 21] Operation: 69-48=21
Exploring Operation: 69+48=117, Resulting Numbers: [71, 117]
Generated Node #0,0,3: 50:[71, 117] Operation: 69+48=117
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[48, 2], Operations: ['96/2=48', '71-69=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[2, 69, 71, 96], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [69, 71, 48]
Generated Node #0,0: 50:[69, 71, 48] Operation: 96/2=48
Moving to Node #0,0
Current State: 50:[69, 71, 48], Operations: ['96/2=48']
Exploring Operation: 71-69=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 50:[48, 2] Operation: 71-69=2
Moving to Node #0,0,0
Current State: 50:[48, 2], Operations: ['96/2=48', '71-69=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 |
hs_4
|
mult_heuristic
|
[
41,
12,
12,
51
] | 34 |
[
"41-12=29",
"12+51=63",
"63-29=34"
] |
Current State: 34:[41, 12, 12, 51], Operations: []
Exploring Operation: 41-12=29, Resulting Numbers: [51, 29]
Generated Node #2: [51, 29] from Operation: 41-12=29
Current State: 34:[51, 29], Operations: ['41-12=29']
Exploring Operation: 12+51=63, Resulting Numbers: [29, 63]
Generated Node #3: [29, 63] from Operation: 12+51=63
Current State: 34:[29, 63], Operations: ['41-12=29', '12+51=63']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[41, 12, 12, 51], Operations: []
Exploring Operation: 51-12=39, Resulting Numbers: [41, 12, 39]
Generated Node #0,0: 34:[41, 12, 39] Operation: 51-12=39
Exploring Operation: 12/12=1, Resulting Numbers: [41, 51, 1]
Generated Node #0,1: 34:[41, 51, 1] Operation: 12/12=1
Exploring Operation: 51-12=39, Resulting Numbers: [41, 12, 39]
Generated Node #0,2: 34:[41, 12, 39] Operation: 51-12=39
Exploring Operation: 51-41=10, Resulting Numbers: [12, 12, 10]
Generated Node #0,3: 34:[12, 12, 10] Operation: 51-41=10
Exploring Operation: 12-12=0, Resulting Numbers: [41, 51, 0]
Generated Node #0,4: 34:[41, 51, 0] Operation: 12-12=0
Moving to Node #0,0
Current State: 34:[41, 12, 39], Operations: ['51-12=39']
Exploring Operation: 41-39=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 34:[12, 2] Operation: 41-39=2
Exploring Operation: 41-12=29, Resulting Numbers: [39, 29]
Generated Node #0,0,1: 34:[39, 29] Operation: 41-12=29
Exploring Operation: 12+39=51, Resulting Numbers: [41, 51]
Generated Node #0,0,2: 34:[41, 51] Operation: 12+39=51
Exploring Operation: 41+12=53, Resulting Numbers: [39, 53]
Generated Node #0,0,3: 34:[39, 53] Operation: 41+12=53
Exploring Operation: 39-12=27, Resulting Numbers: [41, 27]
Generated Node #0,0,4: 34:[41, 27] Operation: 39-12=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[12, 2], Operations: ['51-12=39', '41-39=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,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:[39, 29], Operations: ['51-12=39', '41-12=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,34 unequal: No Solution
Exploring Operation: 39-29=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,4
Current State: 34:[41, 27], Operations: ['51-12=39', '39-12=27']
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,34 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,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,2
Current State: 34:[41, 51], Operations: ['51-12=39', '12+39=51']
Exploring Operation: 41+51=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 41*51=2091, Resulting Numbers: [2091]
2091,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,3
Current State: 34:[39, 53], Operations: ['51-12=39', '41+12=53']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,34 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,34 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: 34:[12, 12, 10], Operations: ['51-41=10']
Exploring Operation: 12-12=0, Resulting Numbers: [10, 0]
Generated Node #0,3,0: 34:[10, 0] Operation: 12-12=0
Exploring Operation: 12-10=2, Resulting Numbers: [12, 2]
Generated Node #0,3,1: 34:[12, 2] Operation: 12-10=2
Exploring Operation: 12+10=22, Resulting Numbers: [12, 22]
Generated Node #0,3,2: 34:[12, 22] Operation: 12+10=22
Exploring Operation: 12/12=1, Resulting Numbers: [10, 1]
Generated Node #0,3,3: 34:[10, 1] Operation: 12/12=1
Exploring Operation: 12-10=2, Resulting Numbers: [12, 2]
Generated Node #0,3,4: 34:[12, 2] Operation: 12-10=2
Moving to Node #0,2
Current State: 34:[41, 12, 39], Operations: ['51-12=39']
Exploring Operation: 41+12=53, Resulting Numbers: [39, 53]
Generated Node #0,2,0: 34:[39, 53] Operation: 41+12=53
Exploring Operation: 41-12=29, Resulting Numbers: [39, 29]
Generated Node #0,2,1: 34:[39, 29] Operation: 41-12=29
Exploring Operation: 39-12=27, Resulting Numbers: [41, 27]
Generated Node #0,2,2: 34:[41, 27] Operation: 39-12=27
Exploring Operation: 12+39=51, Resulting Numbers: [41, 51]
Generated Node #0,2,3: 34:[41, 51] Operation: 12+39=51
Exploring Operation: 41-39=2, Resulting Numbers: [12, 2]
Generated Node #0,2,4: 34:[12, 2] Operation: 41-39=2
Moving to Node #0,1
Current State: 34:[41, 51, 1], Operations: ['12/12=1']
Exploring Operation: 41/1=41, Resulting Numbers: [51, 41]
Generated Node #0,1,0: 34:[51, 41] Operation: 41/1=41
Exploring Operation: 41*1=41, Resulting Numbers: [51, 41]
Generated Node #0,1,1: 34:[51, 41] Operation: 41*1=41
Exploring Operation: 41-1=40, Resulting Numbers: [51, 40]
Generated Node #0,1,2: 34:[51, 40] Operation: 41-1=40
Exploring Operation: 51-1=50, Resulting Numbers: [41, 50]
Generated Node #0,1,3: 34:[41, 50] Operation: 51-1=50
Exploring Operation: 51-41=10, Resulting Numbers: [1, 10]
Generated Node #0,1,4: 34:[1, 10] Operation: 51-41=10
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[1, 10], Operations: ['12/12=1', '51-41=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 10/1=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,1,2
Current State: 34:[51, 40], Operations: ['12/12=1', '41-1=40']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,34 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[41, 50], Operations: ['12/12=1', '51-1=50']
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,34 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[51, 41], Operations: ['12/12=1', '41/1=41']
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,34 unequal: No Solution
Exploring Operation: 51-41=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,1,1
Current State: 34:[51, 41], Operations: ['12/12=1', '41*1=41']
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,34 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 34:[41, 51, 0], Operations: ['12-12=0']
Exploring Operation: 41*0=0, Resulting Numbers: [51, 0]
Generated Node #0,4,0: 34:[51, 0] Operation: 41*0=0
Exploring Operation: 51*0=0, Resulting Numbers: [41, 0]
Generated Node #0,4,1: 34:[41, 0] Operation: 51*0=0
Exploring Operation: 41+0=41, Resulting Numbers: [51, 41]
Generated Node #0,4,2: 34:[51, 41] Operation: 41+0=41
Exploring Operation: 51-41=10, Resulting Numbers: [0, 10]
Generated Node #0,4,3: 34:[0, 10] Operation: 51-41=10
Exploring Operation: 41-0=41, Resulting Numbers: [51, 41]
Generated Node #0,4,4: 34:[51, 41] Operation: 41-0=41
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[41, 0], Operations: ['12-12=0', '51*0=0']
Exploring Operation: 41*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 41-0=41, Resulting Numbers: [41]
41,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,4,3
Current State: 34:[0, 10], Operations: ['12-12=0', '51-41=10']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 0+10=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 0*10=0, Resulting Numbers: [0]
0,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,4,0
Current State: 34:[51, 0], Operations: ['12-12=0', '41*0=0']
Exploring Operation: 51+0=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 51-0=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 51*0=0, Resulting Numbers: [0]
0,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,4,2
Current State: 34:[51, 41], Operations: ['12-12=0', '41+0=41']
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,34 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,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,4,4
Current State: 34:[51, 41], Operations: ['12-12=0', '41-0=41']
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,34 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,34 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: 34:[12, 2], Operations: ['51-41=10', '12-10=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[12, 2], Operations: ['51-12=39', '41-39=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[12, 2], Operations: ['51-41=10', '12-10=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[10, 1], Operations: ['51-41=10', '12/12=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[10, 0], Operations: ['51-41=10', '12-12=0']
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[39, 29], Operations: ['51-12=39', '41-12=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[12, 22], Operations: ['51-41=10', '12+10=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[41, 12, 12, 51], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [12, 12, 10]
Generated Node #0,3: 34:[12, 12, 10] Operation: 51-41=10
Moving to Node #0,3
Current State: 34:[12, 12, 10], Operations: ['51-41=10']
Exploring Operation: 12+10=22, Resulting Numbers: [12, 22]
Generated Node #0,3,2: 34:[12, 22] Operation: 12+10=22
Moving to Node #0,3,2
Current State: 34:[12, 22], Operations: ['51-41=10', '12+10=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.909722 |
hs_5
|
sum_heuristic
|
[
5,
86,
36,
26
] | 88 |
[
"36-26=10",
"10/5=2",
"86+2=88"
] |
Current State: 88:[5, 86, 36, 26], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [5, 86, 10]
Generated Node #2: [5, 86, 10] from Operation: 36-26=10
Current State: 88:[5, 86, 10], Operations: ['36-26=10']
Exploring Operation: 10/5=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 10/5=2
Current State: 88:[86, 2], Operations: ['36-26=10', '10/5=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[5, 86, 36, 26], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [5, 86, 10]
Generated Node #0,0: 88:[5, 86, 10] Operation: 36-26=10
Moving to Node #0,0
Current State: 88:[5, 86, 10], Operations: ['36-26=10']
Exploring Operation: 10/5=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 88:[86, 2] Operation: 10/5=2
Moving to Node #0,0,0
Current State: 88:[86, 2], Operations: ['36-26=10', '10/5=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[5, 86, 36, 26], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [5, 86, 10]
Generated Node #0,0: 88:[5, 86, 10] Operation: 36-26=10
Moving to Node #0,0
Current State: 88:[5, 86, 10], Operations: ['36-26=10']
Exploring Operation: 10/5=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 88:[86, 2] Operation: 10/5=2
Moving to Node #0,0,0
Current State: 88:[86, 2], Operations: ['36-26=10', '10/5=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
35,
76,
56,
33
] | 94 |
[
"35-33=2",
"76/2=38",
"56+38=94"
] |
Current State: 94:[35, 76, 56, 33], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [76, 56, 2]
Generated Node #2: [76, 56, 2] from Operation: 35-33=2
Current State: 94:[76, 56, 2], Operations: ['35-33=2']
Exploring Operation: 76/2=38, Resulting Numbers: [56, 38]
Generated Node #3: [56, 38] from Operation: 76/2=38
Current State: 94:[56, 38], Operations: ['35-33=2', '76/2=38']
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[35, 76, 56, 33], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [56, 33, 41]
Generated Node #0,0: 94:[56, 33, 41] Operation: 76-35=41
Exploring Operation: 35+56=91, Resulting Numbers: [76, 33, 91]
Generated Node #0,1: 94:[76, 33, 91] Operation: 35+56=91
Exploring Operation: 56+33=89, Resulting Numbers: [35, 76, 89]
Generated Node #0,2: 94:[35, 76, 89] Operation: 56+33=89
Exploring Operation: 35-33=2, Resulting Numbers: [76, 56, 2]
Generated Node #0,3: 94:[76, 56, 2] Operation: 35-33=2
Exploring Operation: 76-33=43, Resulting Numbers: [35, 56, 43]
Generated Node #0,4: 94:[35, 56, 43] Operation: 76-33=43
Moving to Node #0,4
Current State: 94:[35, 56, 43], Operations: ['76-33=43']
Exploring Operation: 56-43=13, Resulting Numbers: [35, 13]
Generated Node #0,4,0: 94:[35, 13] Operation: 56-43=13
Exploring Operation: 56+43=99, Resulting Numbers: [35, 99]
Generated Node #0,4,1: 94:[35, 99] Operation: 56+43=99
Exploring Operation: 43-35=8, Resulting Numbers: [56, 8]
Generated Node #0,4,2: 94:[56, 8] Operation: 43-35=8
Exploring Operation: 35+56=91, Resulting Numbers: [43, 91]
Generated Node #0,4,3: 94:[43, 91] Operation: 35+56=91
Exploring Operation: 56-35=21, Resulting Numbers: [43, 21]
Generated Node #0,4,4: 94:[43, 21] Operation: 56-35=21
Moving to Node #0,3
Current State: 94:[76, 56, 2], Operations: ['35-33=2']
Exploring Operation: 76-2=74, Resulting Numbers: [56, 74]
Generated Node #0,3,0: 94:[56, 74] Operation: 76-2=74
Exploring Operation: 76-56=20, Resulting Numbers: [2, 20]
Generated Node #0,3,1: 94:[2, 20] Operation: 76-56=20
Exploring Operation: 56-2=54, Resulting Numbers: [76, 54]
Generated Node #0,3,2: 94:[76, 54] Operation: 56-2=54
Exploring Operation: 76/2=38, Resulting Numbers: [56, 38]
Generated Node #0,3,3: 94:[56, 38] Operation: 76/2=38
Exploring Operation: 76+2=78, Resulting Numbers: [56, 78]
Generated Node #0,3,4: 94:[56, 78] Operation: 76+2=78
Moving to Node #0,0
Current State: 94:[56, 33, 41], Operations: ['76-35=41']
Exploring Operation: 56-33=23, Resulting Numbers: [41, 23]
Generated Node #0,0,0: 94:[41, 23] Operation: 56-33=23
Exploring Operation: 56-41=15, Resulting Numbers: [33, 15]
Generated Node #0,0,1: 94:[33, 15] Operation: 56-41=15
Exploring Operation: 41-33=8, Resulting Numbers: [56, 8]
Generated Node #0,0,2: 94:[56, 8] Operation: 41-33=8
Exploring Operation: 56+41=97, Resulting Numbers: [33, 97]
Generated Node #0,0,3: 94:[33, 97] Operation: 56+41=97
Exploring Operation: 56+33=89, Resulting Numbers: [41, 89]
Generated Node #0,0,4: 94:[41, 89] Operation: 56+33=89
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[41, 89], Operations: ['76-35=41', '56+33=89']
Exploring Operation: 41*89=3649, Resulting Numbers: [3649]
3649,94 unequal: No Solution
Exploring Operation: 41+89=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[56, 8], Operations: ['76-35=41', '41-33=8']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,94 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[33, 97], Operations: ['76-35=41', '56+41=97']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[41, 23], Operations: ['76-35=41', '56-33=23']
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,94 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[33, 15], Operations: ['76-35=41', '56-41=15']
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 94:[76, 33, 91], Operations: ['35+56=91']
Exploring Operation: 76+33=109, Resulting Numbers: [91, 109]
Generated Node #0,1,0: 94:[91, 109] Operation: 76+33=109
Exploring Operation: 91-33=58, Resulting Numbers: [76, 58]
Generated Node #0,1,1: 94:[76, 58] Operation: 91-33=58
Exploring Operation: 91-76=15, Resulting Numbers: [33, 15]
Generated Node #0,1,2: 94:[33, 15] Operation: 91-76=15
Exploring Operation: 33+91=124, Resulting Numbers: [76, 124]
Generated Node #0,1,3: 94:[76, 124] Operation: 33+91=124
Exploring Operation: 76-33=43, Resulting Numbers: [91, 43]
Generated Node #0,1,4: 94:[91, 43] Operation: 76-33=43
Moving to Node #0,2
Current State: 94:[35, 76, 89], Operations: ['56+33=89']
Exploring Operation: 35+89=124, Resulting Numbers: [76, 124]
Generated Node #0,2,0: 94:[76, 124] Operation: 35+89=124
Exploring Operation: 76-35=41, Resulting Numbers: [89, 41]
Generated Node #0,2,1: 94:[89, 41] Operation: 76-35=41
Exploring Operation: 89-76=13, Resulting Numbers: [35, 13]
Generated Node #0,2,2: 94:[35, 13] Operation: 89-76=13
Exploring Operation: 89-35=54, Resulting Numbers: [76, 54]
Generated Node #0,2,3: 94:[76, 54] Operation: 89-35=54
Exploring Operation: 35+76=111, Resulting Numbers: [89, 111]
Generated Node #0,2,4: 94:[89, 111] Operation: 35+76=111
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[89, 41], Operations: ['56+33=89', '76-35=41']
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 89*41=3649, Resulting Numbers: [3649]
3649,94 unequal: No Solution
Exploring Operation: 89+41=130, Resulting Numbers: [130]
130,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[89, 111], Operations: ['56+33=89', '35+76=111']
Exploring Operation: 89+111=200, Resulting Numbers: [200]
200,94 unequal: No Solution
Exploring Operation: 89*111=9879, Resulting Numbers: [9879]
9879,94 unequal: No Solution
Exploring Operation: 111-89=22, Resulting Numbers: [22]
22,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[35, 13], Operations: ['56+33=89', '89-76=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,94 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[76, 54], Operations: ['56+33=89', '89-35=54']
Exploring Operation: 76*54=4104, Resulting Numbers: [4104]
4104,94 unequal: No Solution
Exploring Operation: 76+54=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[76, 124], Operations: ['56+33=89', '35+89=124']
Exploring Operation: 76*124=9424, Resulting Numbers: [9424]
9424,94 unequal: No Solution
Exploring Operation: 124-76=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 76+124=200, Resulting Numbers: [200]
200,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 94:[43, 91], Operations: ['76-33=43', '35+56=91']
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,94 unequal: No Solution
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[91, 43], Operations: ['35+56=91', '76-33=43']
Exploring Operation: 91+43=134, Resulting Numbers: [134]
134,94 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 91*43=3913, Resulting Numbers: [3913]
3913,94 unequal: No Solution
Moving to Node #0,4,2
Current State: 94:[56, 8], Operations: ['76-33=43', '43-35=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,94 unequal: No Solution
Moving to Node #0,4,1
Current State: 94:[35, 99], Operations: ['76-33=43', '56+43=99']
Exploring Operation: 35+99=134, Resulting Numbers: [134]
134,94 unequal: No Solution
Exploring Operation: 35*99=3465, Resulting Numbers: [3465]
3465,94 unequal: No Solution
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[56, 38], Operations: ['35-33=2', '76/2=38']
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,94 unequal: No Solution
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[35, 76, 56, 33], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [76, 56, 2]
Generated Node #0,3: 94:[76, 56, 2] Operation: 35-33=2
Moving to Node #0,3
Current State: 94:[76, 56, 2], Operations: ['35-33=2']
Exploring Operation: 76/2=38, Resulting Numbers: [56, 38]
Generated Node #0,3,3: 94:[56, 38] Operation: 76/2=38
Moving to Node #0,3,3
Current State: 94:[56, 38], Operations: ['35-33=2', '76/2=38']
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.930556 |
hs_5
|
sum_heuristic
|
[
64,
32,
77,
81
] | 73 |
[
"64/32=2",
"77*2=154",
"154-81=73"
] |
Current State: 73:[64, 32, 77, 81], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [77, 81, 2]
Generated Node #2: [77, 81, 2] from Operation: 64/32=2
Current State: 73:[77, 81, 2], Operations: ['64/32=2']
Exploring Operation: 77*2=154, Resulting Numbers: [81, 154]
Generated Node #3: [81, 154] from Operation: 77*2=154
Current State: 73:[81, 154], Operations: ['64/32=2', '77*2=154']
Exploring Operation: 154-81=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[64, 32, 77, 81], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [64, 77, 49]
Generated Node #0,0: 73:[64, 77, 49] Operation: 81-32=49
Exploring Operation: 64+32=96, Resulting Numbers: [77, 81, 96]
Generated Node #0,1: 73:[77, 81, 96] Operation: 64+32=96
Moving to Node #0,1
Current State: 73:[77, 81, 96], Operations: ['64+32=96']
Exploring Operation: 96-81=15, Resulting Numbers: [77, 15]
Generated Node #0,1,0: 73:[77, 15] Operation: 96-81=15
Exploring Operation: 96-77=19, Resulting Numbers: [81, 19]
Generated Node #0,1,1: 73:[81, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[77, 15], Operations: ['64+32=96', '96-81=15']
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,73 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[81, 19], Operations: ['64+32=96', '96-77=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,73 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: 73:[64, 77, 49], Operations: ['81-32=49']
Exploring Operation: 77-49=28, Resulting Numbers: [64, 28]
Generated Node #0,0,0: 73:[64, 28] Operation: 77-49=28
Exploring Operation: 64+49=113, Resulting Numbers: [77, 113]
Generated Node #0,0,1: 73:[77, 113] Operation: 64+49=113
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[77, 113], Operations: ['81-32=49', '64+49=113']
Exploring Operation: 77+113=190, Resulting Numbers: [190]
190,73 unequal: No Solution
Exploring Operation: 113-77=36, Resulting Numbers: [36]
36,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[64, 28], Operations: ['81-32=49', '77-49=28']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,73 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
|
[
59,
52,
82,
60
] | 31 |
[
"59+52=111",
"82+60=142",
"142-111=31"
] |
Current State: 31:[59, 52, 82, 60], Operations: []
Exploring Operation: 59+52=111, Resulting Numbers: [82, 60, 111]
Generated Node #2: [82, 60, 111] from Operation: 59+52=111
Current State: 31:[82, 60, 111], Operations: ['59+52=111']
Exploring Operation: 82+60=142, Resulting Numbers: [111, 142]
Generated Node #3: [111, 142] from Operation: 82+60=142
Current State: 31:[111, 142], Operations: ['59+52=111', '82+60=142']
Exploring Operation: 142-111=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[59, 52, 82, 60], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [59, 60, 30]
Generated Node #0,0: 31:[59, 60, 30] Operation: 82-52=30
Exploring Operation: 82-59=23, Resulting Numbers: [52, 60, 23]
Generated Node #0,1: 31:[52, 60, 23] Operation: 82-59=23
Exploring Operation: 82-60=22, Resulting Numbers: [59, 52, 22]
Generated Node #0,2: 31:[59, 52, 22] Operation: 82-60=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[59, 60, 30], Operations: ['82-52=30']
Exploring Operation: 60-59=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 31:[30, 1] Operation: 60-59=1
Exploring Operation: 60-30=30, Resulting Numbers: [59, 30]
Generated Node #0,0,1: 31:[59, 30] Operation: 60-30=30
Exploring Operation: 59-30=29, Resulting Numbers: [60, 29]
Generated Node #0,0,2: 31:[60, 29] Operation: 59-30=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[59, 30], Operations: ['82-52=30', '60-30=30']
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,31 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[30, 1], Operations: ['82-52=30', '60-59=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[59, 52, 82, 60], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [59, 60, 30]
Generated Node #0,0: 31:[59, 60, 30] Operation: 82-52=30
Moving to Node #0,0
Current State: 31:[59, 60, 30], Operations: ['82-52=30']
Exploring Operation: 60-59=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 31:[30, 1] Operation: 60-59=1
Moving to Node #0,0,0
Current State: 31:[30, 1], Operations: ['82-52=30', '60-59=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
17,
27,
78,
73
] | 50 |
[
"27-17=10",
"78-73=5",
"10*5=50"
] |
Current State: 50:[17, 27, 78, 73], Operations: []
Exploring Operation: 27-17=10, Resulting Numbers: [78, 73, 10]
Generated Node #2: [78, 73, 10] from Operation: 27-17=10
Current State: 50:[78, 73, 10], Operations: ['27-17=10']
Exploring Operation: 78-73=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 78-73=5
Current State: 50:[10, 5], Operations: ['27-17=10', '78-73=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[17, 27, 78, 73], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [27, 73, 61]
Generated Node #0,0: 50:[27, 73, 61] Operation: 78-17=61
Exploring Operation: 78-27=51, Resulting Numbers: [17, 73, 51]
Generated Node #0,1: 50:[17, 73, 51] Operation: 78-27=51
Exploring Operation: 78-73=5, Resulting Numbers: [17, 27, 5]
Generated Node #0,2: 50:[17, 27, 5] Operation: 78-73=5
Moving to Node #0,2
Current State: 50:[17, 27, 5], Operations: ['78-73=5']
Exploring Operation: 17-5=12, Resulting Numbers: [27, 12]
Generated Node #0,2,0: 50:[27, 12] Operation: 17-5=12
Exploring Operation: 17+5=22, Resulting Numbers: [27, 22]
Generated Node #0,2,1: 50:[27, 22] Operation: 17+5=22
Exploring Operation: 27-17=10, Resulting Numbers: [5, 10]
Generated Node #0,2,2: 50:[5, 10] Operation: 27-17=10
Moving to Node #0,1
Current State: 50:[17, 73, 51], Operations: ['78-27=51']
Exploring Operation: 73-17=56, Resulting Numbers: [51, 56]
Generated Node #0,1,0: 50:[51, 56] Operation: 73-17=56
Exploring Operation: 51/17=3, Resulting Numbers: [73, 3]
Generated Node #0,1,1: 50:[73, 3] Operation: 51/17=3
Exploring Operation: 73-51=22, Resulting Numbers: [17, 22]
Generated Node #0,1,2: 50:[17, 22] Operation: 73-51=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[51, 56], Operations: ['78-27=51', '73-17=56']
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 51*56=2856, Resulting Numbers: [2856]
2856,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,2
Current State: 50:[17, 22], Operations: ['78-27=51', '73-51=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,50 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[73, 3], Operations: ['78-27=51', '51/17=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,50 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,50 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: 50:[27, 73, 61], Operations: ['78-17=61']
Exploring Operation: 61-27=34, Resulting Numbers: [73, 34]
Generated Node #0,0,0: 50:[73, 34] Operation: 61-27=34
Exploring Operation: 73-61=12, Resulting Numbers: [27, 12]
Generated Node #0,0,1: 50:[27, 12] Operation: 73-61=12
Exploring Operation: 73-27=46, Resulting Numbers: [61, 46]
Generated Node #0,0,2: 50:[61, 46] Operation: 73-27=46
Moving to Node #0,2,2
Current State: 50:[5, 10], Operations: ['78-73=5', '27-17=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[17, 27, 78, 73], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [17, 27, 5]
Generated Node #0,2: 50:[17, 27, 5] Operation: 78-73=5
Moving to Node #0,2
Current State: 50:[17, 27, 5], Operations: ['78-73=5']
Exploring Operation: 27-17=10, Resulting Numbers: [5, 10]
Generated Node #0,2,2: 50:[5, 10] Operation: 27-17=10
Moving to Node #0,2,2
Current State: 50:[5, 10], Operations: ['78-73=5', '27-17=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.977431 |
hs_3
|
sum_heuristic
|
[
87,
15,
6,
88
] | 91 |
[
"88-87=1",
"15*6=90",
"1+90=91"
] |
Current State: 91:[87, 15, 6, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [15, 6, 1]
Generated Node #2: [15, 6, 1] from Operation: 88-87=1
Current State: 91:[15, 6, 1], Operations: ['88-87=1']
Exploring Operation: 15*6=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 15*6=90
Current State: 91:[1, 90], Operations: ['88-87=1', '15*6=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[87, 15, 6, 88], Operations: []
Exploring Operation: 87+6=93, Resulting Numbers: [15, 88, 93]
Generated Node #0,0: 91:[15, 88, 93] Operation: 87+6=93
Moving to Node #0,0
Current State: 91:[15, 88, 93], Operations: ['87+6=93']
Exploring Operation: 93-88=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 91:[15, 5] Operation: 93-88=5
Moving to Node #0,0,0
Current State: 91:[15, 5], Operations: ['87+6=93', '93-88=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,91 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 79