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 |
|---|---|---|---|---|---|---|---|---|
[
65,
48,
85,
32
] | 13
|
[
"85-48=37",
"37-32=5",
"65/5=13"
] |
Current State: 13:[65, 48, 85, 32], Operations: []
Exploring Operation: 85-48=37, Resulting Numbers: [65, 32, 37]
Generated Node #2: [65, 32, 37] from Operation: 85-48=37
Current State: 13:[65, 32, 37], Operations: ['85-48=37']
Exploring Operation: 37-32=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 37-32=5
Current State: 13:[65, 5], Operations: ['85-48=37', '37-32=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[65, 48, 85, 32], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [48, 32, 20]
Generated Node #0,0: 13:[48, 32, 20] Operation: 85-65=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[48, 32, 20], Operations: ['85-65=20']
Exploring Operation: 48-32=16, Resulting Numbers: [20, 16]
Generated Node #0,0,0: 13:[20, 16] Operation: 48-32=16
Moving to Node #0,0,0
Current State: 13:[20, 16], Operations: ['85-65=20', '48-32=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,13 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
|
[
66,
11,
49,
13
] | 82
|
[
"13-11=2",
"66/2=33",
"49+33=82"
] |
Current State: 82:[66, 11, 49, 13], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [66, 49, 2]
Generated Node #2: [66, 49, 2] from Operation: 13-11=2
Current State: 82:[66, 49, 2], Operations: ['13-11=2']
Exploring Operation: 66/2=33, Resulting Numbers: [49, 33]
Generated Node #3: [49, 33] from Operation: 66/2=33
Current State: 82:[49, 33], Operations: ['13-11=2', '66/2=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[66, 11, 49, 13], Operations: []
Exploring Operation: 66+13=79, Resulting Numbers: [11, 49, 79]
Generated Node #0,0: 82:[11, 49, 79] Operation: 66+13=79
Exploring Operation: 66/11=6, Resulting Numbers: [49, 13, 6]
Generated Node #0,1: 82:[49, 13, 6] Operation: 66/11=6
Exploring Operation: 66+11=77, Resulting Numbers: [49, 13, 77]
Generated Node #0,2: 82:[49, 13, 77] Operation: 66+11=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[11, 49, 79], Operations: ['66+13=79']
Exploring Operation: 11+79=90, Resulting Numbers: [49, 90]
Generated Node #0,0,0: 82:[49, 90] Operation: 11+79=90
Exploring Operation: 49-11=38, Resulting Numbers: [79, 38]
Generated Node #0,0,1: 82:[79, 38] Operation: 49-11=38
Exploring Operation: 79-49=30, Resulting Numbers: [11, 30]
Generated Node #0,0,2: 82:[11, 30] Operation: 79-49=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[79, 38], Operations: ['66+13=79', '49-11=38']
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,82 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 79*38=3002, Resulting Numbers: [3002]
3002,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:[49, 90], Operations: ['66+13=79', '11+79=90']
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,82 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,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,2
Current State: 82:[11, 30], Operations: ['66+13=79', '79-49=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[49, 13, 6], Operations: ['66/11=6']
Exploring Operation: 13*6=78, Resulting Numbers: [49, 78]
Generated Node #0,1,0: 82:[49, 78] Operation: 13*6=78
Exploring Operation: 49-6=43, Resulting Numbers: [13, 43]
Generated Node #0,1,1: 82:[13, 43] Operation: 49-6=43
Exploring Operation: 49-13=36, Resulting Numbers: [6, 36]
Generated Node #0,1,2: 82:[6, 36] Operation: 49-13=36
Moving to Node #0,1,2
Current State: 82:[6, 36], Operations: ['66/11=6', '49-13=36']
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[49, 78], Operations: ['66/11=6', '13*6=78']
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[13, 43], Operations: ['66/11=6', '49-6=43']
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[49, 13, 77], Operations: ['66+11=77']
Exploring Operation: 77-49=28, Resulting Numbers: [13, 28]
Generated Node #0,2,0: 82:[13, 28] Operation: 77-49=28
Exploring Operation: 13+77=90, Resulting Numbers: [49, 90]
Generated Node #0,2,1: 82:[49, 90] Operation: 13+77=90
Exploring Operation: 49-13=36, Resulting Numbers: [77, 36]
Generated Node #0,2,2: 82:[77, 36] Operation: 49-13=36
Moving to Node #0,2,2
Current State: 82:[77, 36], Operations: ['66+11=77', '49-13=36']
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,82 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 77*36=2772, Resulting Numbers: [2772]
2772,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[49, 90], Operations: ['66+11=77', '13+77=90']
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,82 unequal: No Solution
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,82 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[13, 28], Operations: ['66+11=77', '77-49=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,82 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,82 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
|
[
19,
41,
4,
95
] | 69
|
[
"41-19=22",
"95-4=91",
"91-22=69"
] |
Current State: 69:[19, 41, 4, 95], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [4, 95, 22]
Generated Node #2: [4, 95, 22] from Operation: 41-19=22
Current State: 69:[4, 95, 22], Operations: ['41-19=22']
Exploring Operation: 95-4=91, Resulting Numbers: [22, 91]
Generated Node #3: [22, 91] from Operation: 95-4=91
Current State: 69:[22, 91], Operations: ['41-19=22', '95-4=91']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[19, 41, 4, 95], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [4, 95, 22]
Generated Node #0,0: 69:[4, 95, 22] Operation: 41-19=22
Exploring Operation: 95-19=76, Resulting Numbers: [41, 4, 76]
Generated Node #0,1: 69:[41, 4, 76] Operation: 95-19=76
Exploring Operation: 95-41=54, Resulting Numbers: [19, 4, 54]
Generated Node #0,2: 69:[19, 4, 54] Operation: 95-41=54
Exploring Operation: 95/19=5, Resulting Numbers: [41, 4, 5]
Generated Node #0,3: 69:[41, 4, 5] Operation: 95/19=5
Moving to Node #0,2
Current State: 69:[19, 4, 54], Operations: ['95-41=54']
Exploring Operation: 19+4=23, Resulting Numbers: [54, 23]
Generated Node #0,2,0: 69:[54, 23] Operation: 19+4=23
Exploring Operation: 54-19=35, Resulting Numbers: [4, 35]
Generated Node #0,2,1: 69:[4, 35] Operation: 54-19=35
Exploring Operation: 19+54=73, Resulting Numbers: [4, 73]
Generated Node #0,2,2: 69:[4, 73] Operation: 19+54=73
Exploring Operation: 4+54=58, Resulting Numbers: [19, 58]
Generated Node #0,2,3: 69:[19, 58] Operation: 4+54=58
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[4, 73], Operations: ['95-41=54', '19+54=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[19, 41, 4, 95], Operations: []
Exploring Operation: 95-41=54, Resulting Numbers: [19, 4, 54]
Generated Node #0,2: 69:[19, 4, 54] Operation: 95-41=54
Moving to Node #0,2
Current State: 69:[19, 4, 54], Operations: ['95-41=54']
Exploring Operation: 19+54=73, Resulting Numbers: [4, 73]
Generated Node #0,2,2: 69:[4, 73] Operation: 19+54=73
Moving to Node #0,2,2
Current State: 69:[4, 73], Operations: ['95-41=54', '19+54=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
mult_heuristic
|
[
96,
24,
48,
38
] | 17
|
[
"24*38=912",
"912-96=816",
"816/48=17"
] |
Current State: 17:[96, 24, 48, 38], Operations: []
Exploring Operation: 24*38=912, Resulting Numbers: [96, 48, 912]
Generated Node #2: [96, 48, 912] from Operation: 24*38=912
Current State: 17:[96, 48, 912], Operations: ['24*38=912']
Exploring Operation: 912-96=816, Resulting Numbers: [48, 816]
Generated Node #3: [48, 816] from Operation: 912-96=816
Current State: 17:[48, 816], Operations: ['24*38=912', '912-96=816']
Exploring Operation: 816/48=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[96, 24, 48, 38], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [24, 38, 2]
Generated Node #0,0: 17:[24, 38, 2] Operation: 96/48=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[24, 38, 2], Operations: ['96/48=2']
Exploring Operation: 38/2=19, Resulting Numbers: [24, 19]
Generated Node #0,0,0: 17:[24, 19] Operation: 38/2=19
Moving to Node #0,0,0
Current State: 17:[24, 19], Operations: ['96/48=2', '38/2=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,17 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
|
[
54,
12,
64,
90
] | 27
|
[
"54+90=144",
"12*144=1728",
"1728/64=27"
] |
Current State: 27:[54, 12, 64, 90], Operations: []
Exploring Operation: 54+90=144, Resulting Numbers: [12, 64, 144]
Generated Node #2: [12, 64, 144] from Operation: 54+90=144
Current State: 27:[12, 64, 144], Operations: ['54+90=144']
Exploring Operation: 12*144=1728, Resulting Numbers: [64, 1728]
Generated Node #3: [64, 1728] from Operation: 12*144=1728
Current State: 27:[64, 1728], Operations: ['54+90=144', '12*144=1728']
Exploring Operation: 1728/64=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[54, 12, 64, 90], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [12, 64, 36]
Generated Node #0,0: 27:[12, 64, 36] Operation: 90-54=36
Exploring Operation: 90-64=26, Resulting Numbers: [54, 12, 26]
Generated Node #0,1: 27:[54, 12, 26] Operation: 90-64=26
Moving to Node #0,1
Current State: 27:[54, 12, 26], Operations: ['90-64=26']
Exploring Operation: 54-26=28, Resulting Numbers: [12, 28]
Generated Node #0,1,0: 27:[12, 28] Operation: 54-26=28
Exploring Operation: 54-12=42, Resulting Numbers: [26, 42]
Generated Node #0,1,1: 27:[26, 42] Operation: 54-12=42
Moving to Node #0,0
Current State: 27:[12, 64, 36], Operations: ['90-54=36']
Exploring Operation: 64-12=52, Resulting Numbers: [36, 52]
Generated Node #0,0,0: 27:[36, 52] Operation: 64-12=52
Exploring Operation: 64-36=28, Resulting Numbers: [12, 28]
Generated Node #0,0,1: 27:[12, 28] Operation: 64-36=28
Moving to Node #0,1,0
Current State: 27:[12, 28], Operations: ['90-64=26', '54-26=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[12, 28], Operations: ['90-54=36', '64-36=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[26, 42], Operations: ['90-64=26', '54-12=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[36, 52], Operations: ['90-54=36', '64-12=52']
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,27 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
46,
94,
69,
18
] | 82
|
[
"46*18=828",
"828/69=12",
"94-12=82"
] |
Current State: 82:[46, 94, 69, 18], Operations: []
Exploring Operation: 46*18=828, Resulting Numbers: [94, 69, 828]
Generated Node #2: [94, 69, 828] from Operation: 46*18=828
Current State: 82:[94, 69, 828], Operations: ['46*18=828']
Exploring Operation: 828/69=12, Resulting Numbers: [94, 12]
Generated Node #3: [94, 12] from Operation: 828/69=12
Current State: 82:[94, 12], Operations: ['46*18=828', '828/69=12']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[46, 94, 69, 18], Operations: []
Exploring Operation: 69+18=87, Resulting Numbers: [46, 94, 87]
Generated Node #0,0: 82:[46, 94, 87] Operation: 69+18=87
Exploring Operation: 69-18=51, Resulting Numbers: [46, 94, 51]
Generated Node #0,1: 82:[46, 94, 51] Operation: 69-18=51
Exploring Operation: 94-18=76, Resulting Numbers: [46, 69, 76]
Generated Node #0,2: 82:[46, 69, 76] Operation: 94-18=76
Moving to Node #0,0
Current State: 82:[46, 94, 87], Operations: ['69+18=87']
Exploring Operation: 94-46=48, Resulting Numbers: [87, 48]
Generated Node #0,0,0: 82:[87, 48] Operation: 94-46=48
Exploring Operation: 87-46=41, Resulting Numbers: [94, 41]
Generated Node #0,0,1: 82:[94, 41] Operation: 87-46=41
Exploring Operation: 94-87=7, Resulting Numbers: [46, 7]
Generated Node #0,0,2: 82:[46, 7] Operation: 94-87=7
Moving to Node #0,2
Current State: 82:[46, 69, 76], Operations: ['94-18=76']
Exploring Operation: 76-46=30, Resulting Numbers: [69, 30]
Generated Node #0,2,0: 82:[69, 30] Operation: 76-46=30
Exploring Operation: 69-46=23, Resulting Numbers: [76, 23]
Generated Node #0,2,1: 82:[76, 23] Operation: 69-46=23
Exploring Operation: 76-69=7, Resulting Numbers: [46, 7]
Generated Node #0,2,2: 82:[46, 7] Operation: 76-69=7
Moving to Node #0,1
Current State: 82:[46, 94, 51], Operations: ['69-18=51']
Exploring Operation: 94-51=43, Resulting Numbers: [46, 43]
Generated Node #0,1,0: 82:[46, 43] Operation: 94-51=43
Exploring Operation: 51-46=5, Resulting Numbers: [94, 5]
Generated Node #0,1,1: 82:[94, 5] Operation: 51-46=5
Exploring Operation: 94-46=48, Resulting Numbers: [51, 48]
Generated Node #0,1,2: 82:[51, 48] Operation: 94-46=48
Moving to Node #0,1,0
Current State: 82:[46, 43], Operations: ['69-18=51', '94-51=43']
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,82 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[46, 7], Operations: ['69+18=87', '94-87=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,82 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[46, 7], Operations: ['94-18=76', '76-69=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,82 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[94, 41], Operations: ['69+18=87', '87-46=41']
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,82 unequal: No Solution
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,82 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[87, 48], Operations: ['69+18=87', '94-46=48']
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,82 unequal: No Solution
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,82 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[94, 5], Operations: ['69-18=51', '51-46=5']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,82 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[51, 48], Operations: ['69-18=51', '94-46=48']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,82 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[76, 23], Operations: ['94-18=76', '69-46=23']
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,82 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[69, 30], Operations: ['94-18=76', '76-46=30']
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,82 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,82 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
52,
12,
29,
42
] | 16
|
[
"42-29=13",
"52/13=4",
"12+4=16"
] |
Current State: 16:[52, 12, 29, 42], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [52, 12, 13]
Generated Node #2: [52, 12, 13] from Operation: 42-29=13
Current State: 16:[52, 12, 13], Operations: ['42-29=13']
Exploring Operation: 52/13=4, Resulting Numbers: [12, 4]
Generated Node #3: [12, 4] from Operation: 52/13=4
Current State: 16:[12, 4], Operations: ['42-29=13', '52/13=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[52, 12, 29, 42], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [12, 29, 10]
Generated Node #0,0: 16:[12, 29, 10] Operation: 52-42=10
Exploring Operation: 52-29=23, Resulting Numbers: [12, 42, 23]
Generated Node #0,1: 16:[12, 42, 23] Operation: 52-29=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[12, 29, 10], Operations: ['52-42=10']
Exploring Operation: 29-10=19, Resulting Numbers: [12, 19]
Generated Node #0,0,0: 16:[12, 19] Operation: 29-10=19
Exploring Operation: 29-12=17, Resulting Numbers: [10, 17]
Generated Node #0,0,1: 16:[10, 17] Operation: 29-12=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[10, 17], Operations: ['52-42=10', '29-12=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[12, 19], Operations: ['52-42=10', '29-10=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[12, 42, 23], Operations: ['52-29=23']
Exploring Operation: 42-23=19, Resulting Numbers: [12, 19]
Generated Node #0,1,0: 16:[12, 19] Operation: 42-23=19
Exploring Operation: 42-12=30, Resulting Numbers: [23, 30]
Generated Node #0,1,1: 16:[23, 30] Operation: 42-12=30
Moving to Node #0,1,0
Current State: 16:[12, 19], Operations: ['52-29=23', '42-23=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[23, 30], Operations: ['52-29=23', '42-12=30']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,16 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
|
[
71,
16,
17,
18
] | 90
|
[
"71-16=55",
"17+18=35",
"55+35=90"
] |
Current State: 90:[71, 16, 17, 18], Operations: []
Exploring Operation: 71-16=55, Resulting Numbers: [17, 18, 55]
Generated Node #2: [17, 18, 55] from Operation: 71-16=55
Current State: 90:[17, 18, 55], Operations: ['71-16=55']
Exploring Operation: 17+18=35, Resulting Numbers: [55, 35]
Generated Node #3: [55, 35] from Operation: 17+18=35
Current State: 90:[55, 35], Operations: ['71-16=55', '17+18=35']
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[71, 16, 17, 18], Operations: []
Exploring Operation: 71+16=87, Resulting Numbers: [17, 18, 87]
Generated Node #0,0: 90:[17, 18, 87] Operation: 71+16=87
Exploring Operation: 71+17=88, Resulting Numbers: [16, 18, 88]
Generated Node #0,1: 90:[16, 18, 88] Operation: 71+17=88
Exploring Operation: 71+18=89, Resulting Numbers: [16, 17, 89]
Generated Node #0,2: 90:[16, 17, 89] Operation: 71+18=89
Moving to Node #0,1
Current State: 90:[16, 18, 88], Operations: ['71+17=88']
Exploring Operation: 16+88=104, Resulting Numbers: [18, 104]
Generated Node #0,1,0: 90:[18, 104] Operation: 16+88=104
Exploring Operation: 18-16=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 90:[88, 2] Operation: 18-16=2
Exploring Operation: 16+18=34, Resulting Numbers: [88, 34]
Generated Node #0,1,2: 90:[88, 34] Operation: 16+18=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[88, 2], Operations: ['71+17=88', '18-16=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[71, 16, 17, 18], Operations: []
Exploring Operation: 71+17=88, Resulting Numbers: [16, 18, 88]
Generated Node #0,1: 90:[16, 18, 88] Operation: 71+17=88
Moving to Node #0,1
Current State: 90:[16, 18, 88], Operations: ['71+17=88']
Exploring Operation: 18-16=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 90:[88, 2] Operation: 18-16=2
Moving to Node #0,1,1
Current State: 90:[88, 2], Operations: ['71+17=88', '18-16=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
36,
3,
99,
47
] | 38
|
[
"36*3=108",
"99+47=146",
"146-108=38"
] |
Current State: 38:[36, 3, 99, 47], Operations: []
Exploring Operation: 36*3=108, Resulting Numbers: [99, 47, 108]
Generated Node #2: [99, 47, 108] from Operation: 36*3=108
Current State: 38:[99, 47, 108], Operations: ['36*3=108']
Exploring Operation: 99+47=146, Resulting Numbers: [108, 146]
Generated Node #3: [108, 146] from Operation: 99+47=146
Current State: 38:[108, 146], Operations: ['36*3=108', '99+47=146']
Exploring Operation: 146-108=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[36, 3, 99, 47], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [36, 47, 33]
Generated Node #0,0: 38:[36, 47, 33] Operation: 99/3=33
Exploring Operation: 99-36=63, Resulting Numbers: [3, 47, 63]
Generated Node #0,1: 38:[3, 47, 63] Operation: 99-36=63
Exploring Operation: 47-3=44, Resulting Numbers: [36, 99, 44]
Generated Node #0,2: 38:[36, 99, 44] Operation: 47-3=44
Exploring Operation: 99-3=96, Resulting Numbers: [36, 47, 96]
Generated Node #0,3: 38:[36, 47, 96] Operation: 99-3=96
Exploring Operation: 99-47=52, Resulting Numbers: [36, 3, 52]
Generated Node #0,4: 38:[36, 3, 52] Operation: 99-47=52
Moving to Node #0,0
Current State: 38:[36, 47, 33], Operations: ['99/3=33']
Exploring Operation: 47-36=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 38:[33, 11] Operation: 47-36=11
Exploring Operation: 47+33=80, Resulting Numbers: [36, 80]
Generated Node #0,0,1: 38:[36, 80] Operation: 47+33=80
Exploring Operation: 36+33=69, Resulting Numbers: [47, 69]
Generated Node #0,0,2: 38:[47, 69] Operation: 36+33=69
Exploring Operation: 47-33=14, Resulting Numbers: [36, 14]
Generated Node #0,0,3: 38:[36, 14] Operation: 47-33=14
Exploring Operation: 36-33=3, Resulting Numbers: [47, 3]
Generated Node #0,0,4: 38:[47, 3] Operation: 36-33=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[36, 14], Operations: ['99/3=33', '47-33=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,38 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 38:[47, 3], Operations: ['99/3=33', '36-33=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,38 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[33, 11], Operations: ['99/3=33', '47-36=11']
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,38 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[47, 69], Operations: ['99/3=33', '36+33=69']
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,38 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,38 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[36, 80], Operations: ['99/3=33', '47+33=80']
Exploring Operation: 36*80=2880, Resulting Numbers: [2880]
2880,38 unequal: No Solution
Exploring Operation: 36+80=116, Resulting Numbers: [116]
116,38 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,38 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: 38:[36, 3, 52], Operations: ['99-47=52']
Exploring Operation: 3+52=55, Resulting Numbers: [36, 55]
Generated Node #0,4,0: 38:[36, 55] Operation: 3+52=55
Exploring Operation: 52-36=16, Resulting Numbers: [3, 16]
Generated Node #0,4,1: 38:[3, 16] Operation: 52-36=16
Exploring Operation: 36-3=33, Resulting Numbers: [52, 33]
Generated Node #0,4,2: 38:[52, 33] Operation: 36-3=33
Exploring Operation: 52-3=49, Resulting Numbers: [36, 49]
Generated Node #0,4,3: 38:[36, 49] Operation: 52-3=49
Exploring Operation: 36+3=39, Resulting Numbers: [52, 39]
Generated Node #0,4,4: 38:[52, 39] Operation: 36+3=39
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 38:[3, 16], Operations: ['99-47=52', '52-36=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,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,4,3
Current State: 38:[36, 49], Operations: ['99-47=52', '52-3=49']
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,38 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,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,4,4
Current State: 38:[52, 39], Operations: ['99-47=52', '36+3=39']
Exploring Operation: 52*39=2028, Resulting Numbers: [2028]
2028,38 unequal: No Solution
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,38 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,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,4,0
Current State: 38:[36, 55], Operations: ['99-47=52', '3+52=55']
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,38 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,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,4,2
Current State: 38:[52, 33], Operations: ['99-47=52', '36-3=33']
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 38:[3, 47, 63], Operations: ['99-36=63']
Exploring Operation: 63-47=16, Resulting Numbers: [3, 16]
Generated Node #0,1,0: 38:[3, 16] Operation: 63-47=16
Exploring Operation: 3+47=50, Resulting Numbers: [63, 50]
Generated Node #0,1,1: 38:[63, 50] Operation: 3+47=50
Exploring Operation: 47-3=44, Resulting Numbers: [63, 44]
Generated Node #0,1,2: 38:[63, 44] Operation: 47-3=44
Exploring Operation: 63/3=21, Resulting Numbers: [47, 21]
Generated Node #0,1,3: 38:[47, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [47, 60]
Generated Node #0,1,4: 38:[47, 60] Operation: 63-3=60
Moving to Node #0,2
Current State: 38:[36, 99, 44], Operations: ['47-3=44']
Exploring Operation: 99-44=55, Resulting Numbers: [36, 55]
Generated Node #0,2,0: 38:[36, 55] Operation: 99-44=55
Exploring Operation: 44-36=8, Resulting Numbers: [99, 8]
Generated Node #0,2,1: 38:[99, 8] Operation: 44-36=8
Exploring Operation: 99-36=63, Resulting Numbers: [44, 63]
Generated Node #0,2,2: 38:[44, 63] Operation: 99-36=63
Exploring Operation: 36+44=80, Resulting Numbers: [99, 80]
Generated Node #0,2,3: 38:[99, 80] Operation: 36+44=80
Exploring Operation: 36+99=135, Resulting Numbers: [44, 135]
Generated Node #0,2,4: 38:[44, 135] Operation: 36+99=135
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[36, 55], Operations: ['47-3=44', '99-44=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,38 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,38 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,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:[44, 63], Operations: ['47-3=44', '99-36=63']
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,38 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,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:[99, 8], Operations: ['47-3=44', '44-36=8']
Exploring Operation: 99+8=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,38 unequal: No Solution
Exploring Operation: 99*8=792, Resulting Numbers: [792]
792,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,3
Current State: 38:[99, 80], Operations: ['47-3=44', '36+44=80']
Exploring Operation: 99*80=7920, Resulting Numbers: [7920]
7920,38 unequal: No Solution
Exploring Operation: 99-80=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 99+80=179, Resulting Numbers: [179]
179,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,4
Current State: 38:[44, 135], Operations: ['47-3=44', '36+99=135']
Exploring Operation: 44+135=179, Resulting Numbers: [179]
179,38 unequal: No Solution
Exploring Operation: 44*135=5940, Resulting Numbers: [5940]
5940,38 unequal: No Solution
Exploring Operation: 135-44=91, Resulting Numbers: [91]
91,38 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: 38:[36, 47, 96], Operations: ['99-3=96']
Exploring Operation: 36+96=132, Resulting Numbers: [47, 132]
Generated Node #0,3,0: 38:[47, 132] Operation: 36+96=132
Exploring Operation: 96-36=60, Resulting Numbers: [47, 60]
Generated Node #0,3,1: 38:[47, 60] Operation: 96-36=60
Exploring Operation: 47-36=11, Resulting Numbers: [96, 11]
Generated Node #0,3,2: 38:[96, 11] Operation: 47-36=11
Exploring Operation: 36+47=83, Resulting Numbers: [96, 83]
Generated Node #0,3,3: 38:[96, 83] Operation: 36+47=83
Exploring Operation: 96-47=49, Resulting Numbers: [36, 49]
Generated Node #0,3,4: 38:[36, 49] Operation: 96-47=49
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[36, 49], Operations: ['99-3=96', '96-47=49']
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,38 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,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,3,1
Current State: 38:[47, 60], Operations: ['99-3=96', '96-36=60']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,38 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,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,3,2
Current State: 38:[96, 11], Operations: ['99-3=96', '47-36=11']
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,38 unequal: No Solution
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,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,3,0
Current State: 38:[47, 132], Operations: ['99-3=96', '36+96=132']
Exploring Operation: 132-47=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 47*132=6204, Resulting Numbers: [6204]
6204,38 unequal: No Solution
Exploring Operation: 47+132=179, Resulting Numbers: [179]
179,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,3,3
Current State: 38:[96, 83], Operations: ['99-3=96', '36+47=83']
Exploring Operation: 96*83=7968, Resulting Numbers: [7968]
7968,38 unequal: No Solution
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 96+83=179, Resulting Numbers: [179]
179,38 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: 38:[3, 16], Operations: ['99-36=63', '63-47=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[47, 21], Operations: ['99-36=63', '63/3=21']
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,38 unequal: No Solution
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[63, 44], Operations: ['99-36=63', '47-3=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,38 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Moving to Node #0,1,4
Current State: 38:[47, 60], Operations: ['99-36=63', '63-3=60']
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,38 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[63, 50], Operations: ['99-36=63', '3+47=50']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,38 unequal: No Solution
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,38 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
75,
5,
74,
22
] | 26
|
[
"75-5=70",
"74+22=96",
"96-70=26"
] |
Current State: 26:[75, 5, 74, 22], Operations: []
Exploring Operation: 75-5=70, Resulting Numbers: [74, 22, 70]
Generated Node #2: [74, 22, 70] from Operation: 75-5=70
Current State: 26:[74, 22, 70], Operations: ['75-5=70']
Exploring Operation: 74+22=96, Resulting Numbers: [70, 96]
Generated Node #3: [70, 96] from Operation: 74+22=96
Current State: 26:[70, 96], Operations: ['75-5=70', '74+22=96']
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[75, 5, 74, 22], Operations: []
Exploring Operation: 75-22=53, Resulting Numbers: [5, 74, 53]
Generated Node #0,0: 26:[5, 74, 53] Operation: 75-22=53
Exploring Operation: 75-74=1, Resulting Numbers: [5, 22, 1]
Generated Node #0,1: 26:[5, 22, 1] Operation: 75-74=1
Exploring Operation: 75/5=15, Resulting Numbers: [74, 22, 15]
Generated Node #0,2: 26:[74, 22, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[5, 22, 1], Operations: ['75-74=1']
Exploring Operation: 22-5=17, Resulting Numbers: [1, 17]
Generated Node #0,1,0: 26:[1, 17] Operation: 22-5=17
Exploring Operation: 5-1=4, Resulting Numbers: [22, 4]
Generated Node #0,1,1: 26:[22, 4] Operation: 5-1=4
Exploring Operation: 5+22=27, Resulting Numbers: [1, 27]
Generated Node #0,1,2: 26:[1, 27] Operation: 5+22=27
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[1, 27], Operations: ['75-74=1', '5+22=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[75, 5, 74, 22], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [5, 22, 1]
Generated Node #0,1: 26:[5, 22, 1] Operation: 75-74=1
Moving to Node #0,1
Current State: 26:[5, 22, 1], Operations: ['75-74=1']
Exploring Operation: 5+22=27, Resulting Numbers: [1, 27]
Generated Node #0,1,2: 26:[1, 27] Operation: 5+22=27
Moving to Node #0,1,2
Current State: 26:[1, 27], Operations: ['75-74=1', '5+22=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
34,
76,
19,
12
] | 14
|
[
"76/19=4",
"12*4=48",
"48-34=14"
] |
Current State: 14:[34, 76, 19, 12], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [34, 12, 4]
Generated Node #2: [34, 12, 4] from Operation: 76/19=4
Current State: 14:[34, 12, 4], Operations: ['76/19=4']
Exploring Operation: 12*4=48, Resulting Numbers: [34, 48]
Generated Node #3: [34, 48] from Operation: 12*4=48
Current State: 14:[34, 48], Operations: ['76/19=4', '12*4=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[34, 76, 19, 12], Operations: []
Exploring Operation: 76-19=57, Resulting Numbers: [34, 12, 57]
Generated Node #0,0: 14:[34, 12, 57] Operation: 76-19=57
Exploring Operation: 76/19=4, Resulting Numbers: [34, 12, 4]
Generated Node #0,1: 14:[34, 12, 4] Operation: 76/19=4
Exploring Operation: 76-34=42, Resulting Numbers: [19, 12, 42]
Generated Node #0,2: 14:[19, 12, 42] Operation: 76-34=42
Exploring Operation: 34-19=15, Resulting Numbers: [76, 12, 15]
Generated Node #0,3: 14:[76, 12, 15] Operation: 34-19=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[34, 12, 4], Operations: ['76/19=4']
Exploring Operation: 34-4=30, Resulting Numbers: [12, 30]
Generated Node #0,1,0: 14:[12, 30] Operation: 34-4=30
Exploring Operation: 12-4=8, Resulting Numbers: [34, 8]
Generated Node #0,1,1: 14:[34, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [34, 3]
Generated Node #0,1,2: 14:[34, 3] Operation: 12/4=3
Exploring Operation: 34-12=22, Resulting Numbers: [4, 22]
Generated Node #0,1,3: 14:[4, 22] Operation: 34-12=22
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 14:[4, 22], Operations: ['76/19=4', '34-12=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,14 unequal: No Solution
No 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: 14:[12, 30], Operations: ['76/19=4', '34-4=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,14 unequal: No Solution
No 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: 14:[34, 8], Operations: ['76/19=4', '12-4=8']
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,14 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,14 unequal: No Solution
No 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: 14:[34, 3], Operations: ['76/19=4', '12/4=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,14 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,14 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: 14:[19, 12, 42], Operations: ['76-34=42']
Exploring Operation: 42-19=23, Resulting Numbers: [12, 23]
Generated Node #0,2,0: 14:[12, 23] Operation: 42-19=23
Exploring Operation: 19+12=31, Resulting Numbers: [42, 31]
Generated Node #0,2,1: 14:[42, 31] Operation: 19+12=31
Exploring Operation: 42-12=30, Resulting Numbers: [19, 30]
Generated Node #0,2,2: 14:[19, 30] Operation: 42-12=30
Exploring Operation: 19-12=7, Resulting Numbers: [42, 7]
Generated Node #0,2,3: 14:[42, 7] Operation: 19-12=7
Moving to Node #0,2,0
Current State: 14:[12, 23], Operations: ['76-34=42', '42-19=23']
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[19, 30], Operations: ['76-34=42', '42-12=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,14 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[42, 7], Operations: ['76-34=42', '19-12=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,14 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[42, 31], Operations: ['76-34=42', '19+12=31']
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,14 unequal: No Solution
No 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: 14:[34, 12, 57], Operations: ['76-19=57']
Exploring Operation: 34+12=46, Resulting Numbers: [57, 46]
Generated Node #0,0,0: 14:[57, 46] Operation: 34+12=46
Exploring Operation: 57-34=23, Resulting Numbers: [12, 23]
Generated Node #0,0,1: 14:[12, 23] Operation: 57-34=23
Exploring Operation: 57-12=45, Resulting Numbers: [34, 45]
Generated Node #0,0,2: 14:[34, 45] Operation: 57-12=45
Exploring Operation: 34-12=22, Resulting Numbers: [57, 22]
Generated Node #0,0,3: 14:[57, 22] Operation: 34-12=22
Moving to Node #0,0,1
Current State: 14:[12, 23], Operations: ['76-19=57', '57-34=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,14 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[57, 22], Operations: ['76-19=57', '34-12=22']
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,14 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[34, 45], Operations: ['76-19=57', '57-12=45']
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,14 unequal: No Solution
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[57, 46], Operations: ['76-19=57', '34+12=46']
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,14 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,14 unequal: No Solution
No 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: 14:[76, 12, 15], Operations: ['34-19=15']
Exploring Operation: 76-15=61, Resulting Numbers: [12, 61]
Generated Node #0,3,0: 14:[12, 61] Operation: 76-15=61
Exploring Operation: 76-12=64, Resulting Numbers: [15, 64]
Generated Node #0,3,1: 14:[15, 64] Operation: 76-12=64
Exploring Operation: 76+12=88, Resulting Numbers: [15, 88]
Generated Node #0,3,2: 14:[15, 88] Operation: 76+12=88
Exploring Operation: 15-12=3, Resulting Numbers: [76, 3]
Generated Node #0,3,3: 14:[76, 3] Operation: 15-12=3
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[12, 61], Operations: ['34-19=15', '76-15=61']
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,14 unequal: No Solution
No 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: 14:[15, 64], Operations: ['34-19=15', '76-12=64']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,14 unequal: No Solution
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[76, 3], Operations: ['34-19=15', '15-12=3']
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,14 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,14 unequal: No Solution
No 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: 14:[15, 88], Operations: ['34-19=15', '76+12=88']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 15*88=1320, Resulting Numbers: [1320]
1320,14 unequal: No Solution
Exploring Operation: 15+88=103, Resulting Numbers: [103]
103,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
70,
78,
3,
9
] | 99
|
[
"78-70=8",
"3+8=11",
"9*11=99"
] |
Current State: 99:[70, 78, 3, 9], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [3, 9, 8]
Generated Node #2: [3, 9, 8] from Operation: 78-70=8
Current State: 99:[3, 9, 8], Operations: ['78-70=8']
Exploring Operation: 3+8=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 3+8=11
Current State: 99:[9, 11], Operations: ['78-70=8', '3+8=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[70, 78, 3, 9], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [3, 9, 8]
Generated Node #0,0: 99:[3, 9, 8] Operation: 78-70=8
Moving to Node #0,0
Current State: 99:[3, 9, 8], Operations: ['78-70=8']
Exploring Operation: 3+8=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 99:[9, 11] Operation: 3+8=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[9, 11], Operations: ['78-70=8', '3+8=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[70, 78, 3, 9], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [3, 9, 8]
Generated Node #0,0: 99:[3, 9, 8] Operation: 78-70=8
Moving to Node #0,0
Current State: 99:[3, 9, 8], Operations: ['78-70=8']
Exploring Operation: 3+8=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 99:[9, 11] Operation: 3+8=11
Moving to Node #0,0,0
Current State: 99:[9, 11], Operations: ['78-70=8', '3+8=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
57,
60,
48,
87
] | 36
|
[
"60-57=3",
"87-48=39",
"39-3=36"
] |
Current State: 36:[57, 60, 48, 87], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [48, 87, 3]
Generated Node #2: [48, 87, 3] from Operation: 60-57=3
Current State: 36:[48, 87, 3], Operations: ['60-57=3']
Exploring Operation: 87-48=39, Resulting Numbers: [3, 39]
Generated Node #3: [3, 39] from Operation: 87-48=39
Current State: 36:[3, 39], Operations: ['60-57=3', '87-48=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[57, 60, 48, 87], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [60, 48, 30]
Generated Node #0,0: 36:[60, 48, 30] Operation: 87-57=30
Exploring Operation: 87-60=27, Resulting Numbers: [57, 48, 27]
Generated Node #0,1: 36:[57, 48, 27] Operation: 87-60=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[60, 48, 30], Operations: ['87-57=30']
Exploring Operation: 60-48=12, Resulting Numbers: [30, 12]
Generated Node #0,0,0: 36:[30, 12] Operation: 60-48=12
Exploring Operation: 60/30=2, Resulting Numbers: [48, 2]
Generated Node #0,0,1: 36:[48, 2] Operation: 60/30=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[30, 12], Operations: ['87-57=30', '60-48=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,36 unequal: No Solution
No 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: 36:[48, 2], Operations: ['87-57=30', '60/30=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,36 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: 36:[57, 48, 27], Operations: ['87-60=27']
Exploring Operation: 57-27=30, Resulting Numbers: [48, 30]
Generated Node #0,1,0: 36:[48, 30] Operation: 57-27=30
Exploring Operation: 57-48=9, Resulting Numbers: [27, 9]
Generated Node #0,1,1: 36:[27, 9] Operation: 57-48=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[27, 9], Operations: ['87-60=27', '57-48=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[57, 60, 48, 87], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [57, 48, 27]
Generated Node #0,1: 36:[57, 48, 27] Operation: 87-60=27
Moving to Node #0,1
Current State: 36:[57, 48, 27], Operations: ['87-60=27']
Exploring Operation: 57-48=9, Resulting Numbers: [27, 9]
Generated Node #0,1,1: 36:[27, 9] Operation: 57-48=9
Moving to Node #0,1,1
Current State: 36:[27, 9], Operations: ['87-60=27', '57-48=9']
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111
|
hs_2
|
sum_heuristic
|
[
14,
2,
60,
66
] | 34
|
[
"14*2=28",
"66-60=6",
"28+6=34"
] |
Current State: 34:[14, 2, 60, 66], Operations: []
Exploring Operation: 14*2=28, Resulting Numbers: [60, 66, 28]
Generated Node #2: [60, 66, 28] from Operation: 14*2=28
Current State: 34:[60, 66, 28], Operations: ['14*2=28']
Exploring Operation: 66-60=6, Resulting Numbers: [28, 6]
Generated Node #3: [28, 6] from Operation: 66-60=6
Current State: 34:[28, 6], Operations: ['14*2=28', '66-60=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[14, 2, 60, 66], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [14, 60, 33]
Generated Node #0,0: 34:[14, 60, 33] Operation: 66/2=33
Exploring Operation: 60-14=46, Resulting Numbers: [2, 66, 46]
Generated Node #0,1: 34:[2, 66, 46] Operation: 60-14=46
Exploring Operation: 66-60=6, Resulting Numbers: [14, 2, 6]
Generated Node #0,2: 34:[14, 2, 6] Operation: 66-60=6
Exploring Operation: 60/2=30, Resulting Numbers: [14, 66, 30]
Generated Node #0,3: 34:[14, 66, 30] Operation: 60/2=30
Moving to Node #0,2
Current State: 34:[14, 2, 6], Operations: ['66-60=6']
Exploring Operation: 14+6=20, Resulting Numbers: [2, 20]
Generated Node #0,2,0: 34:[2, 20] Operation: 14+6=20
Exploring Operation: 6-2=4, Resulting Numbers: [14, 4]
Generated Node #0,2,1: 34:[14, 4] Operation: 6-2=4
Exploring Operation: 14+2=16, Resulting Numbers: [6, 16]
Generated Node #0,2,2: 34:[6, 16] Operation: 14+2=16
Exploring Operation: 6/2=3, Resulting Numbers: [14, 3]
Generated Node #0,2,3: 34:[14, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[2, 20], Operations: ['66-60=6', '14+6=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 20/2=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,2,3
Current State: 34:[14, 3], Operations: ['66-60=6', '6/2=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[14, 4], Operations: ['66-60=6', '6-2=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 14-4=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,2,2
Current State: 34:[6, 16], Operations: ['66-60=6', '14+2=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,34 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: 34:[14, 60, 33], Operations: ['66/2=33']
Exploring Operation: 33-14=19, Resulting Numbers: [60, 19]
Generated Node #0,0,0: 34:[60, 19] Operation: 33-14=19
Exploring Operation: 60-33=27, Resulting Numbers: [14, 27]
Generated Node #0,0,1: 34:[14, 27] Operation: 60-33=27
Exploring Operation: 14+33=47, Resulting Numbers: [60, 47]
Generated Node #0,0,2: 34:[60, 47] Operation: 14+33=47
Exploring Operation: 60-14=46, Resulting Numbers: [33, 46]
Generated Node #0,0,3: 34:[33, 46] Operation: 60-14=46
Moving to Node #0,3
Current State: 34:[14, 66, 30], Operations: ['60/2=30']
Exploring Operation: 30-14=16, Resulting Numbers: [66, 16]
Generated Node #0,3,0: 34:[66, 16] Operation: 30-14=16
Exploring Operation: 66-14=52, Resulting Numbers: [30, 52]
Generated Node #0,3,1: 34:[30, 52] Operation: 66-14=52
Exploring Operation: 66-30=36, Resulting Numbers: [14, 36]
Generated Node #0,3,2: 34:[14, 36] Operation: 66-30=36
Exploring Operation: 14+30=44, Resulting Numbers: [66, 44]
Generated Node #0,3,3: 34:[66, 44] Operation: 14+30=44
Moving to Node #0,1
Current State: 34:[2, 66, 46], Operations: ['60-14=46']
Exploring Operation: 66/2=33, Resulting Numbers: [46, 33]
Generated Node #0,1,0: 34:[46, 33] Operation: 66/2=33
Exploring Operation: 66-46=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 34:[2, 20] Operation: 66-46=20
Exploring Operation: 66-2=64, Resulting Numbers: [46, 64]
Generated Node #0,1,2: 34:[46, 64] Operation: 66-2=64
Exploring Operation: 46/2=23, Resulting Numbers: [66, 23]
Generated Node #0,1,3: 34:[66, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[2, 20], Operations: ['60-14=46', '66-46=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,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:[46, 33], Operations: ['60-14=46', '66/2=33']
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,34 unequal: No Solution
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,34 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,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:[66, 23], Operations: ['60-14=46', '46/2=23']
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,34 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,34 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,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:[46, 64], Operations: ['60-14=46', '66-2=64']
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 46+64=110, Resulting Numbers: [110]
110,34 unequal: No Solution
Exploring Operation: 46*64=2944, Resulting Numbers: [2944]
2944,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 34:[14, 36], Operations: ['60/2=30', '66-30=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[14, 27], Operations: ['66/2=33', '60-33=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[33, 46], Operations: ['66/2=33', '60-14=46']
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,34 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[30, 52], Operations: ['60/2=30', '66-14=52']
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,34 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[60, 19], Operations: ['66/2=33', '33-14=19']
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,34 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,34 unequal: No Solution
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[66, 16], Operations: ['60/2=30', '30-14=16']
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,34 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[60, 47], Operations: ['66/2=33', '14+33=47']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,34 unequal: No Solution
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[66, 44], Operations: ['60/2=30', '14+30=44']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,34 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,34 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
64,
99,
2,
56
] | 78
|
[
"64+56=120",
"99*2=198",
"198-120=78"
] |
Current State: 78:[64, 99, 2, 56], Operations: []
Exploring Operation: 64+56=120, Resulting Numbers: [99, 2, 120]
Generated Node #2: [99, 2, 120] from Operation: 64+56=120
Current State: 78:[99, 2, 120], Operations: ['64+56=120']
Exploring Operation: 99*2=198, Resulting Numbers: [120, 198]
Generated Node #3: [120, 198] from Operation: 99*2=198
Current State: 78:[120, 198], Operations: ['64+56=120', '99*2=198']
Exploring Operation: 198-120=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[64, 99, 2, 56], Operations: []
Exploring Operation: 56/2=28, Resulting Numbers: [64, 99, 28]
Generated Node #0,0: 78:[64, 99, 28] Operation: 56/2=28
Exploring Operation: 99-56=43, Resulting Numbers: [64, 2, 43]
Generated Node #0,1: 78:[64, 2, 43] Operation: 99-56=43
Exploring Operation: 99-64=35, Resulting Numbers: [2, 56, 35]
Generated Node #0,2: 78:[2, 56, 35] Operation: 99-64=35
Exploring Operation: 64/2=32, Resulting Numbers: [99, 56, 32]
Generated Node #0,3: 78:[99, 56, 32] Operation: 64/2=32
Exploring Operation: 64-56=8, Resulting Numbers: [99, 2, 8]
Generated Node #0,4: 78:[99, 2, 8] Operation: 64-56=8
Moving to Node #0,1
Current State: 78:[64, 2, 43], Operations: ['99-56=43']
Exploring Operation: 64-2=62, Resulting Numbers: [43, 62]
Generated Node #0,1,0: 78:[43, 62] Operation: 64-2=62
Exploring Operation: 64-43=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 78:[2, 21] Operation: 64-43=21
Exploring Operation: 64/2=32, Resulting Numbers: [43, 32]
Generated Node #0,1,2: 78:[43, 32] Operation: 64/2=32
Exploring Operation: 64+2=66, Resulting Numbers: [43, 66]
Generated Node #0,1,3: 78:[43, 66] Operation: 64+2=66
Exploring Operation: 43-2=41, Resulting Numbers: [64, 41]
Generated Node #0,1,4: 78:[64, 41] Operation: 43-2=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[2, 21], Operations: ['99-56=43', '64-43=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[43, 32], Operations: ['99-56=43', '64/2=32']
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,78 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[43, 66], Operations: ['99-56=43', '64+2=66']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,78 unequal: No Solution
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 78:[64, 41], Operations: ['99-56=43', '43-2=41']
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,78 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[43, 62], Operations: ['99-56=43', '64-2=62']
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,78 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 78:[2, 56, 35], Operations: ['99-64=35']
Exploring Operation: 2+35=37, Resulting Numbers: [56, 37]
Generated Node #0,2,0: 78:[56, 37] Operation: 2+35=37
Exploring Operation: 56-35=21, Resulting Numbers: [2, 21]
Generated Node #0,2,1: 78:[2, 21] Operation: 56-35=21
Exploring Operation: 56-2=54, Resulting Numbers: [35, 54]
Generated Node #0,2,2: 78:[35, 54] Operation: 56-2=54
Exploring Operation: 56+35=91, Resulting Numbers: [2, 91]
Generated Node #0,2,3: 78:[2, 91] Operation: 56+35=91
Exploring Operation: 56/2=28, Resulting Numbers: [35, 28]
Generated Node #0,2,4: 78:[35, 28] Operation: 56/2=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[2, 21], Operations: ['99-64=35', '56-35=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 78:[35, 28], Operations: ['99-64=35', '56/2=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,78 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[2, 91], Operations: ['99-64=35', '56+35=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,78 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[56, 37], Operations: ['99-64=35', '2+35=37']
Exploring Operation: 56*37=2072, Resulting Numbers: [2072]
2072,78 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[35, 54], Operations: ['99-64=35', '56-2=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,78 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: 78:[99, 2, 8], Operations: ['64-56=8']
Exploring Operation: 8/2=4, Resulting Numbers: [99, 4]
Generated Node #0,4,0: 78:[99, 4] Operation: 8/2=4
Exploring Operation: 99-2=97, Resulting Numbers: [8, 97]
Generated Node #0,4,1: 78:[8, 97] Operation: 99-2=97
Exploring Operation: 8-2=6, Resulting Numbers: [99, 6]
Generated Node #0,4,2: 78:[99, 6] Operation: 8-2=6
Exploring Operation: 99-8=91, Resulting Numbers: [2, 91]
Generated Node #0,4,3: 78:[2, 91] Operation: 99-8=91
Exploring Operation: 2+8=10, Resulting Numbers: [99, 10]
Generated Node #0,4,4: 78:[99, 10] Operation: 2+8=10
Moving to Node #0,0
Current State: 78:[64, 99, 28], Operations: ['56/2=28']
Exploring Operation: 99+28=127, Resulting Numbers: [64, 127]
Generated Node #0,0,0: 78:[64, 127] Operation: 99+28=127
Exploring Operation: 64-28=36, Resulting Numbers: [99, 36]
Generated Node #0,0,1: 78:[99, 36] Operation: 64-28=36
Exploring Operation: 64+28=92, Resulting Numbers: [99, 92]
Generated Node #0,0,2: 78:[99, 92] Operation: 64+28=92
Exploring Operation: 99-64=35, Resulting Numbers: [28, 35]
Generated Node #0,0,3: 78:[28, 35] Operation: 99-64=35
Exploring Operation: 99-28=71, Resulting Numbers: [64, 71]
Generated Node #0,0,4: 78:[64, 71] Operation: 99-28=71
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 78:[28, 35], Operations: ['56/2=28', '99-64=35']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 78:[64, 71], Operations: ['56/2=28', '99-28=71']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 64*71=4544, Resulting Numbers: [4544]
4544,78 unequal: No Solution
Exploring Operation: 64+71=135, Resulting Numbers: [135]
135,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[99, 36], Operations: ['56/2=28', '64-28=36']
Exploring Operation: 99*36=3564, Resulting Numbers: [3564]
3564,78 unequal: No Solution
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 99+36=135, Resulting Numbers: [135]
135,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[99, 92], Operations: ['56/2=28', '64+28=92']
Exploring Operation: 99-92=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 99+92=191, Resulting Numbers: [191]
191,78 unequal: No Solution
Exploring Operation: 99*92=9108, Resulting Numbers: [9108]
9108,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[64, 127], Operations: ['56/2=28', '99+28=127']
Exploring Operation: 64*127=8128, Resulting Numbers: [8128]
8128,78 unequal: No Solution
Exploring Operation: 127-64=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 64+127=191, Resulting Numbers: [191]
191,78 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: 78:[99, 56, 32], Operations: ['64/2=32']
Exploring Operation: 99-56=43, Resulting Numbers: [32, 43]
Generated Node #0,3,0: 78:[32, 43] Operation: 99-56=43
Exploring Operation: 99-32=67, Resulting Numbers: [56, 67]
Generated Node #0,3,1: 78:[56, 67] Operation: 99-32=67
Exploring Operation: 56-32=24, Resulting Numbers: [99, 24]
Generated Node #0,3,2: 78:[99, 24] Operation: 56-32=24
Exploring Operation: 99+32=131, Resulting Numbers: [56, 131]
Generated Node #0,3,3: 78:[56, 131] Operation: 99+32=131
Exploring Operation: 56+32=88, Resulting Numbers: [99, 88]
Generated Node #0,3,4: 78:[99, 88] Operation: 56+32=88
Moving to Node #0,3,0
Current State: 78:[32, 43], Operations: ['64/2=32', '99-56=43']
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[2, 91], Operations: ['64-56=8', '99-8=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,78 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,78 unequal: No Solution
Moving to Node #0,4,2
Current State: 78:[99, 6], Operations: ['64-56=8', '8-2=6']
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,78 unequal: No Solution
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[8, 97], Operations: ['64-56=8', '99-2=97']
Exploring Operation: 8+97=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 8*97=776, Resulting Numbers: [776]
776,78 unequal: No Solution
Moving to Node #0,4,0
Current State: 78:[99, 4], Operations: ['64-56=8', '8/2=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,78 unequal: No Solution
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,78 unequal: No Solution
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[99, 24], Operations: ['64/2=32', '56-32=24']
Exploring Operation: 99+24=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 99*24=2376, Resulting Numbers: [2376]
2376,78 unequal: No Solution
Exploring Operation: 99-24=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[99, 10], Operations: ['64-56=8', '2+8=10']
Exploring Operation: 99*10=990, Resulting Numbers: [990]
990,78 unequal: No Solution
Exploring Operation: 99+10=109, Resulting Numbers: [109]
109,78 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[56, 67], Operations: ['64/2=32', '99-32=67']
Exploring Operation: 56+67=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 56*67=3752, Resulting Numbers: [3752]
3752,78 unequal: No Solution
Exploring Operation: 67-56=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Moving to Node #0,3,4
Current State: 78:[99, 88], Operations: ['64/2=32', '56+32=88']
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,78 unequal: No Solution
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[56, 131], Operations: ['64/2=32', '99+32=131']
Exploring Operation: 56+131=187, Resulting Numbers: [187]
187,78 unequal: No Solution
Exploring Operation: 56*131=7336, Resulting Numbers: [7336]
7336,78 unequal: No Solution
Exploring Operation: 131-56=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
20,
31,
71,
2
] | 49
|
[
"31-20=11",
"2*11=22",
"71-22=49"
] |
Current State: 49:[20, 31, 71, 2], Operations: []
Exploring Operation: 31-20=11, Resulting Numbers: [71, 2, 11]
Generated Node #2: [71, 2, 11] from Operation: 31-20=11
Current State: 49:[71, 2, 11], Operations: ['31-20=11']
Exploring Operation: 2*11=22, Resulting Numbers: [71, 22]
Generated Node #3: [71, 22] from Operation: 2*11=22
Current State: 49:[71, 22], Operations: ['31-20=11', '2*11=22']
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[20, 31, 71, 2], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [31, 2, 51]
Generated Node #0,0: 49:[31, 2, 51] Operation: 71-20=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[31, 2, 51], Operations: ['71-20=51']
Exploring Operation: 31*2=62, Resulting Numbers: [51, 62]
Generated Node #0,0,0: 49:[51, 62] Operation: 31*2=62
Moving to Node #0,0,0
Current State: 49:[51, 62], Operations: ['71-20=51', '31*2=62']
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,49 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
|
[
93,
31,
62,
6
] | 89
|
[
"93-6=87",
"62/31=2",
"87+2=89"
] |
Current State: 89:[93, 31, 62, 6], Operations: []
Exploring Operation: 93-6=87, Resulting Numbers: [31, 62, 87]
Generated Node #2: [31, 62, 87] from Operation: 93-6=87
Current State: 89:[31, 62, 87], Operations: ['93-6=87']
Exploring Operation: 62/31=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 62/31=2
Current State: 89:[87, 2], Operations: ['93-6=87', '62/31=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4
|
Current State: 89:[93, 31, 62, 6], Operations: []
Exploring Operation: 31+6=37, Resulting Numbers: [93, 62, 37]
Generated Node #0,0: 89:[93, 62, 37] Operation: 31+6=37
Moving to Node #0,0
Current State: 89:[93, 62, 37], Operations: ['31+6=37']
Exploring Operation: 62+37=99, Resulting Numbers: [93, 99]
Generated Node #0,0,0: 89:[93, 99] Operation: 62+37=99
Moving to Node #0,0,0
Current State: 89:[93, 99], Operations: ['31+6=37', '62+37=99']
Exploring Operation: 99-93=6, Resulting Numbers: [6]
6,89 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
28,
31,
28,
66
] | 91
|
[
"31-28=3",
"28+66=94",
"94-3=91"
] |
Current State: 91:[28, 31, 28, 66], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [66, 3]
Generated Node #2: [66, 3] from Operation: 31-28=3
Current State: 91:[66, 3], Operations: ['31-28=3']
Exploring Operation: 28+66=94, Resulting Numbers: [3, 94]
Generated Node #3: [3, 94] from Operation: 28+66=94
Current State: 91:[3, 94], Operations: ['31-28=3', '28+66=94']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4
|
Current State: 91:[28, 31, 28, 66], Operations: []
Exploring Operation: 28+66=94, Resulting Numbers: [31, 28, 94]
Generated Node #0,0: 91:[31, 28, 94] Operation: 28+66=94
Exploring Operation: 31+66=97, Resulting Numbers: [28, 28, 97]
Generated Node #0,1: 91:[28, 28, 97] Operation: 31+66=97
Exploring Operation: 28+66=94, Resulting Numbers: [28, 31, 94]
Generated Node #0,2: 91:[28, 31, 94] Operation: 28+66=94
Exploring Operation: 31-28=3, Resulting Numbers: [28, 66, 3]
Generated Node #0,3: 91:[28, 66, 3] Operation: 31-28=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[31, 28, 94], Operations: ['28+66=94']
Exploring Operation: 94-31=63, Resulting Numbers: [28, 63]
Generated Node #0,0,0: 91:[28, 63] Operation: 94-31=63
Exploring Operation: 31+28=59, Resulting Numbers: [94, 59]
Generated Node #0,0,1: 91:[94, 59] Operation: 31+28=59
Exploring Operation: 94-28=66, Resulting Numbers: [31, 66]
Generated Node #0,0,2: 91:[31, 66] Operation: 94-28=66
Exploring Operation: 31-28=3, Resulting Numbers: [94, 3]
Generated Node #0,0,3: 91:[94, 3] Operation: 31-28=3
Moving to Node #0,0,3
Current State: 91:[94, 3], Operations: ['28+66=94', '31-28=3']
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,91 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[28, 31, 28, 66], Operations: []
Exploring Operation: 28+66=94, Resulting Numbers: [31, 28, 94]
Generated Node #0,0: 91:[31, 28, 94] Operation: 28+66=94
Moving to Node #0,0
Current State: 91:[31, 28, 94], Operations: ['28+66=94']
Exploring Operation: 31-28=3, Resulting Numbers: [94, 3]
Generated Node #0,0,3: 91:[94, 3] Operation: 31-28=3
Moving to Node #0,0,3
Current State: 91:[94, 3], Operations: ['28+66=94', '31-28=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
42,
60,
22,
15
] | 16
|
[
"42+22=64",
"60/15=4",
"64/4=16"
] |
Current State: 16:[42, 60, 22, 15], Operations: []
Exploring Operation: 42+22=64, Resulting Numbers: [60, 15, 64]
Generated Node #2: [60, 15, 64] from Operation: 42+22=64
Current State: 16:[60, 15, 64], Operations: ['42+22=64']
Exploring Operation: 60/15=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 60/15=4
Current State: 16:[64, 4], Operations: ['42+22=64', '60/15=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[42, 60, 22, 15], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [22, 15, 18]
Generated Node #0,0: 16:[22, 15, 18] Operation: 60-42=18
Exploring Operation: 60/15=4, Resulting Numbers: [42, 22, 4]
Generated Node #0,1: 16:[42, 22, 4] Operation: 60/15=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[22, 15, 18], Operations: ['60-42=18']
Exploring Operation: 22-18=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 16:[15, 4] Operation: 22-18=4
Exploring Operation: 22-15=7, Resulting Numbers: [18, 7]
Generated Node #0,0,1: 16:[18, 7] Operation: 22-15=7
Moving to Node #0,0,0
Current State: 16:[15, 4], Operations: ['60-42=18', '22-18=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[18, 7], Operations: ['60-42=18', '22-15=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[42, 22, 4], Operations: ['60/15=4']
Exploring Operation: 42-4=38, Resulting Numbers: [22, 38]
Generated Node #0,1,0: 16:[22, 38] Operation: 42-4=38
Exploring Operation: 42-22=20, Resulting Numbers: [4, 20]
Generated Node #0,1,1: 16:[4, 20] Operation: 42-22=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[4, 20], Operations: ['60/15=4', '42-22=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[42, 60, 22, 15], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [42, 22, 4]
Generated Node #0,1: 16:[42, 22, 4] Operation: 60/15=4
Moving to Node #0,1
Current State: 16:[42, 22, 4], Operations: ['60/15=4']
Exploring Operation: 42-22=20, Resulting Numbers: [4, 20]
Generated Node #0,1,1: 16:[4, 20] Operation: 42-22=20
Moving to Node #0,1,1
Current State: 16:[4, 20], Operations: ['60/15=4', '42-22=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
mult_heuristic
|
[
92,
10,
19,
88
] | 33
|
[
"92+10=102",
"88-19=69",
"102-69=33"
] |
Current State: 33:[92, 10, 19, 88], Operations: []
Exploring Operation: 92+10=102, Resulting Numbers: [19, 88, 102]
Generated Node #2: [19, 88, 102] from Operation: 92+10=102
Current State: 33:[19, 88, 102], Operations: ['92+10=102']
Exploring Operation: 88-19=69, Resulting Numbers: [102, 69]
Generated Node #3: [102, 69] from Operation: 88-19=69
Current State: 33:[102, 69], Operations: ['92+10=102', '88-19=69']
Exploring Operation: 102-69=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[92, 10, 19, 88], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [92, 10, 69]
Generated Node #0,0: 33:[92, 10, 69] Operation: 88-19=69
Exploring Operation: 92-19=73, Resulting Numbers: [10, 88, 73]
Generated Node #0,1: 33:[10, 88, 73] Operation: 92-19=73
Exploring Operation: 92-88=4, Resulting Numbers: [10, 19, 4]
Generated Node #0,2: 33:[10, 19, 4] Operation: 92-88=4
Moving to Node #0,2
Current State: 33:[10, 19, 4], Operations: ['92-88=4']
Exploring Operation: 19-10=9, Resulting Numbers: [4, 9]
Generated Node #0,2,0: 33:[4, 9] Operation: 19-10=9
Exploring Operation: 10+19=29, Resulting Numbers: [4, 29]
Generated Node #0,2,1: 33:[4, 29] Operation: 10+19=29
Exploring Operation: 19-4=15, Resulting Numbers: [10, 15]
Generated Node #0,2,2: 33:[10, 15] Operation: 19-4=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[4, 9], Operations: ['92-88=4', '19-10=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,33 unequal: No Solution
No 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: 33:[4, 29], Operations: ['92-88=4', '10+19=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[92, 10, 19, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [10, 19, 4]
Generated Node #0,2: 33:[10, 19, 4] Operation: 92-88=4
Moving to Node #0,2
Current State: 33:[10, 19, 4], Operations: ['92-88=4']
Exploring Operation: 10+19=29, Resulting Numbers: [4, 29]
Generated Node #0,2,1: 33:[4, 29] Operation: 10+19=29
Moving to Node #0,2,1
Current State: 33:[4, 29], Operations: ['92-88=4', '10+19=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_3
|
sum_heuristic
|
[
2,
64,
81,
19
] | 55
|
[
"2*19=38",
"81-64=17",
"38+17=55"
] |
Current State: 55:[2, 64, 81, 19], Operations: []
Exploring Operation: 2*19=38, Resulting Numbers: [64, 81, 38]
Generated Node #2: [64, 81, 38] from Operation: 2*19=38
Current State: 55:[64, 81, 38], Operations: ['2*19=38']
Exploring Operation: 81-64=17, Resulting Numbers: [38, 17]
Generated Node #3: [38, 17] from Operation: 81-64=17
Current State: 55:[38, 17], Operations: ['2*19=38', '81-64=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[2, 64, 81, 19], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [2, 19, 17]
Generated Node #0,0: 55:[2, 19, 17] Operation: 81-64=17
Exploring Operation: 81-19=62, Resulting Numbers: [2, 64, 62]
Generated Node #0,1: 55:[2, 64, 62] Operation: 81-19=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[2, 19, 17], Operations: ['81-64=17']
Exploring Operation: 19-2=17, Resulting Numbers: [17, 17]
Generated Node #0,0,0: 55:[17, 17] Operation: 19-2=17
Exploring Operation: 19-17=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 55:[2, 2] Operation: 19-17=2
Moving to Node #0,0,1
Current State: 55:[2, 2], Operations: ['81-64=17', '19-17=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[17, 17], Operations: ['81-64=17', '19-2=17']
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[2, 64, 62], Operations: ['81-19=62']
Exploring Operation: 64-2=62, Resulting Numbers: [62, 62]
Generated Node #0,1,0: 55:[62, 62] Operation: 64-2=62
Exploring Operation: 64-62=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 55:[2, 2] Operation: 64-62=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[2, 2], Operations: ['81-19=62', '64-62=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[62, 62], Operations: ['81-19=62', '64-2=62']
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
99,
8,
16,
21
] | 33
|
[
"8+16=24",
"24-21=3",
"99/3=33"
] |
Current State: 33:[99, 8, 16, 21], Operations: []
Exploring Operation: 8+16=24, Resulting Numbers: [99, 21, 24]
Generated Node #2: [99, 21, 24] from Operation: 8+16=24
Current State: 33:[99, 21, 24], Operations: ['8+16=24']
Exploring Operation: 24-21=3, Resulting Numbers: [99, 3]
Generated Node #3: [99, 3] from Operation: 24-21=3
Current State: 33:[99, 3], Operations: ['8+16=24', '24-21=3']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[99, 8, 16, 21], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [8, 16, 78]
Generated Node #0,0: 33:[8, 16, 78] Operation: 99-21=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[8, 16, 78], Operations: ['99-21=78']
Exploring Operation: 78-16=62, Resulting Numbers: [8, 62]
Generated Node #0,0,0: 33:[8, 62] Operation: 78-16=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[8, 62], Operations: ['99-21=78', '78-16=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
22,
47,
14,
29
] | 88
|
[
"47-14=33",
"33-29=4",
"22*4=88"
] |
Current State: 88:[22, 47, 14, 29], Operations: []
Exploring Operation: 47-14=33, Resulting Numbers: [22, 29, 33]
Generated Node #2: [22, 29, 33] from Operation: 47-14=33
Current State: 88:[22, 29, 33], Operations: ['47-14=33']
Exploring Operation: 33-29=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 33-29=4
Current State: 88:[22, 4], Operations: ['47-14=33', '33-29=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[22, 47, 14, 29], Operations: []
Exploring Operation: 47-29=18, Resulting Numbers: [22, 14, 18]
Generated Node #0,0: 88:[22, 14, 18] Operation: 47-29=18
Exploring Operation: 14+29=43, Resulting Numbers: [22, 47, 43]
Generated Node #0,1: 88:[22, 47, 43] Operation: 14+29=43
Exploring Operation: 22-14=8, Resulting Numbers: [47, 29, 8]
Generated Node #0,2: 88:[47, 29, 8] Operation: 22-14=8
Exploring Operation: 29-22=7, Resulting Numbers: [47, 14, 7]
Generated Node #0,3: 88:[47, 14, 7] Operation: 29-22=7
Exploring Operation: 29-14=15, Resulting Numbers: [22, 47, 15]
Generated Node #0,4: 88:[22, 47, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[22, 47, 43], Operations: ['14+29=43']
Exploring Operation: 47-22=25, Resulting Numbers: [43, 25]
Generated Node #0,1,0: 88:[43, 25] Operation: 47-22=25
Exploring Operation: 22+47=69, Resulting Numbers: [43, 69]
Generated Node #0,1,1: 88:[43, 69] Operation: 22+47=69
Exploring Operation: 47+43=90, Resulting Numbers: [22, 90]
Generated Node #0,1,2: 88:[22, 90] Operation: 47+43=90
Exploring Operation: 47-43=4, Resulting Numbers: [22, 4]
Generated Node #0,1,3: 88:[22, 4] Operation: 47-43=4
Exploring Operation: 43-22=21, Resulting Numbers: [47, 21]
Generated Node #0,1,4: 88:[47, 21] Operation: 43-22=21
Moving to Node #0,1,3
Current State: 88:[22, 4], Operations: ['14+29=43', '47-43=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[22, 47, 14, 29], Operations: []
Exploring Operation: 14+29=43, Resulting Numbers: [22, 47, 43]
Generated Node #0,1: 88:[22, 47, 43] Operation: 14+29=43
Moving to Node #0,1
Current State: 88:[22, 47, 43], Operations: ['14+29=43']
Exploring Operation: 47-43=4, Resulting Numbers: [22, 4]
Generated Node #0,1,3: 88:[22, 4] Operation: 47-43=4
Moving to Node #0,1,3
Current State: 88:[22, 4], Operations: ['14+29=43', '47-43=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
sum_heuristic
|
[
81,
75,
29,
2
] | 41
|
[
"81-75=6",
"2*6=12",
"29+12=41"
] |
Current State: 41:[81, 75, 29, 2], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [29, 2, 6]
Generated Node #2: [29, 2, 6] from Operation: 81-75=6
Current State: 41:[29, 2, 6], Operations: ['81-75=6']
Exploring Operation: 2*6=12, Resulting Numbers: [29, 12]
Generated Node #3: [29, 12] from Operation: 2*6=12
Current State: 41:[29, 12], Operations: ['81-75=6', '2*6=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[81, 75, 29, 2], Operations: []
Exploring Operation: 81-2=79, Resulting Numbers: [75, 29, 79]
Generated Node #0,0: 41:[75, 29, 79] Operation: 81-2=79
Exploring Operation: 81-29=52, Resulting Numbers: [75, 2, 52]
Generated Node #0,1: 41:[75, 2, 52] Operation: 81-29=52
Exploring Operation: 75-29=46, Resulting Numbers: [81, 2, 46]
Generated Node #0,2: 41:[81, 2, 46] Operation: 75-29=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[75, 29, 79], Operations: ['81-2=79']
Exploring Operation: 75-29=46, Resulting Numbers: [79, 46]
Generated Node #0,0,0: 41:[79, 46] Operation: 75-29=46
Exploring Operation: 79-75=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 41:[29, 4] Operation: 79-75=4
Exploring Operation: 79-29=50, Resulting Numbers: [75, 50]
Generated Node #0,0,2: 41:[75, 50] Operation: 79-29=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[79, 46], Operations: ['81-2=79', '75-29=46']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 79*46=3634, Resulting Numbers: [3634]
3634,41 unequal: No Solution
Exploring Operation: 79+46=125, Resulting Numbers: [125]
125,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[75, 50], Operations: ['81-2=79', '79-29=50']
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,41 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[29, 4], Operations: ['81-2=79', '79-75=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[75, 2, 52], Operations: ['81-29=52']
Exploring Operation: 75-2=73, Resulting Numbers: [52, 73]
Generated Node #0,1,0: 41:[52, 73] Operation: 75-2=73
Exploring Operation: 52-2=50, Resulting Numbers: [75, 50]
Generated Node #0,1,1: 41:[75, 50] Operation: 52-2=50
Exploring Operation: 75+2=77, Resulting Numbers: [52, 77]
Generated Node #0,1,2: 41:[52, 77] Operation: 75+2=77
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[52, 73], Operations: ['81-29=52', '75-2=73']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,41 unequal: No Solution
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[75, 50], Operations: ['81-29=52', '52-2=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[52, 77], Operations: ['81-29=52', '75+2=77']
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,41 unequal: No Solution
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[81, 2, 46], Operations: ['75-29=46']
Exploring Operation: 81-46=35, Resulting Numbers: [2, 35]
Generated Node #0,2,0: 41:[2, 35] Operation: 81-46=35
Exploring Operation: 46-2=44, Resulting Numbers: [81, 44]
Generated Node #0,2,1: 41:[81, 44] Operation: 46-2=44
Exploring Operation: 81-2=79, Resulting Numbers: [46, 79]
Generated Node #0,2,2: 41:[46, 79] Operation: 81-2=79
Moving to Node #0,2,1
Current State: 41:[81, 44], Operations: ['75-29=46', '46-2=44']
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,41 unequal: No Solution
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[46, 79], Operations: ['75-29=46', '81-2=79']
Exploring Operation: 46+79=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 46*79=3634, Resulting Numbers: [3634]
3634,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[2, 35], Operations: ['75-29=46', '81-46=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,41 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,41 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
|
[
98,
18,
77,
17
] | 20
|
[
"98-18=80",
"77-17=60",
"80-60=20"
] |
Current State: 20:[98, 18, 77, 17], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [77, 17, 80]
Generated Node #2: [77, 17, 80] from Operation: 98-18=80
Current State: 20:[77, 17, 80], Operations: ['98-18=80']
Exploring Operation: 77-17=60, Resulting Numbers: [80, 60]
Generated Node #3: [80, 60] from Operation: 77-17=60
Current State: 20:[80, 60], Operations: ['98-18=80', '77-17=60']
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[98, 18, 77, 17], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [77, 17, 80]
Generated Node #0,0: 20:[77, 17, 80] Operation: 98-18=80
Exploring Operation: 98-17=81, Resulting Numbers: [18, 77, 81]
Generated Node #0,1: 20:[18, 77, 81] Operation: 98-17=81
Exploring Operation: 77-18=59, Resulting Numbers: [98, 17, 59]
Generated Node #0,2: 20:[98, 17, 59] Operation: 77-18=59
Exploring Operation: 98-77=21, Resulting Numbers: [18, 17, 21]
Generated Node #0,3: 20:[18, 17, 21] Operation: 98-77=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[18, 17, 21], Operations: ['98-77=21']
Exploring Operation: 21-18=3, Resulting Numbers: [17, 3]
Generated Node #0,3,0: 20:[17, 3] Operation: 21-18=3
Exploring Operation: 18-17=1, Resulting Numbers: [21, 1]
Generated Node #0,3,1: 20:[21, 1] Operation: 18-17=1
Exploring Operation: 18+17=35, Resulting Numbers: [21, 35]
Generated Node #0,3,2: 20:[21, 35] Operation: 18+17=35
Exploring Operation: 21-17=4, Resulting Numbers: [18, 4]
Generated Node #0,3,3: 20:[18, 4] Operation: 21-17=4
Moving to Node #0,3,1
Current State: 20:[21, 1], Operations: ['98-77=21', '18-17=1']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[98, 18, 77, 17], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [18, 17, 21]
Generated Node #0,3: 20:[18, 17, 21] Operation: 98-77=21
Moving to Node #0,3
Current State: 20:[18, 17, 21], Operations: ['98-77=21']
Exploring Operation: 18-17=1, Resulting Numbers: [21, 1]
Generated Node #0,3,1: 20:[21, 1] Operation: 18-17=1
Moving to Node #0,3,1
Current State: 20:[21, 1], Operations: ['98-77=21', '18-17=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_4
|
mult_heuristic
|
[
53,
91,
54,
59
] | 31
|
[
"53+91=144",
"54+59=113",
"144-113=31"
] |
Current State: 31:[53, 91, 54, 59], Operations: []
Exploring Operation: 53+91=144, Resulting Numbers: [54, 59, 144]
Generated Node #2: [54, 59, 144] from Operation: 53+91=144
Current State: 31:[54, 59, 144], Operations: ['53+91=144']
Exploring Operation: 54+59=113, Resulting Numbers: [144, 113]
Generated Node #3: [144, 113] from Operation: 54+59=113
Current State: 31:[144, 113], Operations: ['53+91=144', '54+59=113']
Exploring Operation: 144-113=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[53, 91, 54, 59], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [54, 59, 38]
Generated Node #0,0: 31:[54, 59, 38] Operation: 91-53=38
Exploring Operation: 91-54=37, Resulting Numbers: [53, 59, 37]
Generated Node #0,1: 31:[53, 59, 37] Operation: 91-54=37
Exploring Operation: 91-59=32, Resulting Numbers: [53, 54, 32]
Generated Node #0,2: 31:[53, 54, 32] Operation: 91-59=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[53, 54, 32], Operations: ['91-59=32']
Exploring Operation: 54-53=1, Resulting Numbers: [32, 1]
Generated Node #0,2,0: 31:[32, 1] Operation: 54-53=1
Exploring Operation: 54-32=22, Resulting Numbers: [53, 22]
Generated Node #0,2,1: 31:[53, 22] Operation: 54-32=22
Exploring Operation: 53-32=21, Resulting Numbers: [54, 21]
Generated Node #0,2,2: 31:[54, 21] Operation: 53-32=21
Moving to Node #0,2,0
Current State: 31:[32, 1], Operations: ['91-59=32', '54-53=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[53, 91, 54, 59], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [53, 54, 32]
Generated Node #0,2: 31:[53, 54, 32] Operation: 91-59=32
Moving to Node #0,2
Current State: 31:[53, 54, 32], Operations: ['91-59=32']
Exploring Operation: 54-53=1, Resulting Numbers: [32, 1]
Generated Node #0,2,0: 31:[32, 1] Operation: 54-53=1
Moving to Node #0,2,0
Current State: 31:[32, 1], Operations: ['91-59=32', '54-53=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
mult_heuristic
|
[
43,
2,
8,
52
] | 85
|
[
"43-2=41",
"52-8=44",
"41+44=85"
] |
Current State: 85:[43, 2, 8, 52], Operations: []
Exploring Operation: 43-2=41, Resulting Numbers: [8, 52, 41]
Generated Node #2: [8, 52, 41] from Operation: 43-2=41
Current State: 85:[8, 52, 41], Operations: ['43-2=41']
Exploring Operation: 52-8=44, Resulting Numbers: [41, 44]
Generated Node #3: [41, 44] from Operation: 52-8=44
Current State: 85:[41, 44], Operations: ['43-2=41', '52-8=44']
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[43, 2, 8, 52], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [43, 8, 26]
Generated Node #0,0: 85:[43, 8, 26] Operation: 52/2=26
Exploring Operation: 52-43=9, Resulting Numbers: [2, 8, 9]
Generated Node #0,1: 85:[2, 8, 9] Operation: 52-43=9
Exploring Operation: 43+52=95, Resulting Numbers: [2, 8, 95]
Generated Node #0,2: 85:[2, 8, 95] Operation: 43+52=95
Exploring Operation: 43*2=86, Resulting Numbers: [8, 52, 86]
Generated Node #0,3: 85:[8, 52, 86] Operation: 43*2=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[2, 8, 9], Operations: ['52-43=9']
Exploring Operation: 8-2=6, Resulting Numbers: [9, 6]
Generated Node #0,1,0: 85:[9, 6] Operation: 8-2=6
Exploring Operation: 2*9=18, Resulting Numbers: [8, 18]
Generated Node #0,1,1: 85:[8, 18] Operation: 2*9=18
Exploring Operation: 2*8=16, Resulting Numbers: [9, 16]
Generated Node #0,1,2: 85:[9, 16] Operation: 2*8=16
Exploring Operation: 8+9=17, Resulting Numbers: [2, 17]
Generated Node #0,1,3: 85:[2, 17] Operation: 8+9=17
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 85:[2, 17], Operations: ['52-43=9', '8+9=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[8, 18], Operations: ['52-43=9', '2*9=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,85 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[9, 6], Operations: ['52-43=9', '8-2=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[9, 16], Operations: ['52-43=9', '2*8=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,85 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[2, 8, 95], Operations: ['43+52=95']
Exploring Operation: 8/2=4, Resulting Numbers: [95, 4]
Generated Node #0,2,0: 85:[95, 4] Operation: 8/2=4
Exploring Operation: 95-8=87, Resulting Numbers: [2, 87]
Generated Node #0,2,1: 85:[2, 87] Operation: 95-8=87
Exploring Operation: 2*8=16, Resulting Numbers: [95, 16]
Generated Node #0,2,2: 85:[95, 16] Operation: 2*8=16
Exploring Operation: 8-2=6, Resulting Numbers: [95, 6]
Generated Node #0,2,3: 85:[95, 6] Operation: 8-2=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[2, 87], Operations: ['43+52=95', '95-8=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[43, 2, 8, 52], Operations: []
Exploring Operation: 43+52=95, Resulting Numbers: [2, 8, 95]
Generated Node #0,2: 85:[2, 8, 95] Operation: 43+52=95
Moving to Node #0,2
Current State: 85:[2, 8, 95], Operations: ['43+52=95']
Exploring Operation: 95-8=87, Resulting Numbers: [2, 87]
Generated Node #0,2,1: 85:[2, 87] Operation: 95-8=87
Moving to Node #0,2,1
Current State: 85:[2, 87], Operations: ['43+52=95', '95-8=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826
|
hs_4
|
sum_heuristic
|
[
94,
72,
74,
76
] | 56
|
[
"74-72=2",
"76/2=38",
"94-38=56"
] |
Current State: 56:[94, 72, 74, 76], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [94, 76, 2]
Generated Node #2: [94, 76, 2] from Operation: 74-72=2
Current State: 56:[94, 76, 2], Operations: ['74-72=2']
Exploring Operation: 76/2=38, Resulting Numbers: [94, 38]
Generated Node #3: [94, 38] from Operation: 76/2=38
Current State: 56:[94, 38], Operations: ['74-72=2', '76/2=38']
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[94, 72, 74, 76], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [94, 72, 2]
Generated Node #0,0: 56:[94, 72, 2] Operation: 76-74=2
Exploring Operation: 94-74=20, Resulting Numbers: [72, 76, 20]
Generated Node #0,1: 56:[72, 76, 20] Operation: 94-74=20
Exploring Operation: 94-76=18, Resulting Numbers: [72, 74, 18]
Generated Node #0,2: 56:[72, 74, 18] Operation: 94-76=18
Exploring Operation: 94-72=22, Resulting Numbers: [74, 76, 22]
Generated Node #0,3: 56:[74, 76, 22] Operation: 94-72=22
Moving to Node #0,2
Current State: 56:[72, 74, 18], Operations: ['94-76=18']
Exploring Operation: 72/18=4, Resulting Numbers: [74, 4]
Generated Node #0,2,0: 56:[74, 4] Operation: 72/18=4
Exploring Operation: 74-18=56, Resulting Numbers: [72, 56]
Generated Node #0,2,1: 56:[72, 56] Operation: 74-18=56
Exploring Operation: 74-72=2, Resulting Numbers: [18, 2]
Generated Node #0,2,2: 56:[18, 2] Operation: 74-72=2
Exploring Operation: 72-18=54, Resulting Numbers: [74, 54]
Generated Node #0,2,3: 56:[74, 54] Operation: 72-18=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[18, 2], Operations: ['94-76=18', '74-72=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[72, 56], Operations: ['94-76=18', '74-18=56']
Exploring Operation: 72*56=4032, Resulting Numbers: [4032]
4032,56 unequal: No Solution
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[74, 4], Operations: ['94-76=18', '72/18=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,56 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[74, 54], Operations: ['94-76=18', '72-18=54']
Exploring Operation: 74+54=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 74*54=3996, Resulting Numbers: [3996]
3996,56 unequal: No Solution
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,56 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: 56:[72, 76, 20], Operations: ['94-74=20']
Exploring Operation: 72-20=52, Resulting Numbers: [76, 52]
Generated Node #0,1,0: 56:[76, 52] Operation: 72-20=52
Exploring Operation: 76-20=56, Resulting Numbers: [72, 56]
Generated Node #0,1,1: 56:[72, 56] Operation: 76-20=56
Exploring Operation: 72+20=92, Resulting Numbers: [76, 92]
Generated Node #0,1,2: 56:[76, 92] Operation: 72+20=92
Exploring Operation: 76-72=4, Resulting Numbers: [20, 4]
Generated Node #0,1,3: 56:[20, 4] Operation: 76-72=4
Moving to Node #0,3
Current State: 56:[74, 76, 22], Operations: ['94-72=22']
Exploring Operation: 74+22=96, Resulting Numbers: [76, 96]
Generated Node #0,3,0: 56:[76, 96] Operation: 74+22=96
Exploring Operation: 74-22=52, Resulting Numbers: [76, 52]
Generated Node #0,3,1: 56:[76, 52] Operation: 74-22=52
Exploring Operation: 76-22=54, Resulting Numbers: [74, 54]
Generated Node #0,3,2: 56:[74, 54] Operation: 76-22=54
Exploring Operation: 76-74=2, Resulting Numbers: [22, 2]
Generated Node #0,3,3: 56:[22, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 56:[94, 72, 2], Operations: ['76-74=2']
Exploring Operation: 94-72=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 56:[2, 22] Operation: 94-72=22
Exploring Operation: 94/2=47, Resulting Numbers: [72, 47]
Generated Node #0,0,1: 56:[72, 47] Operation: 94/2=47
Exploring Operation: 72/2=36, Resulting Numbers: [94, 36]
Generated Node #0,0,2: 56:[94, 36] Operation: 72/2=36
Exploring Operation: 94-2=92, Resulting Numbers: [72, 92]
Generated Node #0,0,3: 56:[72, 92] Operation: 94-2=92
Moving to Node #0,1,3
Current State: 56:[20, 4], Operations: ['94-74=20', '76-72=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[22, 2], Operations: ['94-72=22', '76-74=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[2, 22], Operations: ['76-74=2', '94-72=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[72, 56], Operations: ['94-74=20', '76-20=56']
Exploring Operation: 72*56=4032, Resulting Numbers: [4032]
4032,56 unequal: No Solution
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[74, 54], Operations: ['94-72=22', '76-22=54']
Exploring Operation: 74*54=3996, Resulting Numbers: [3996]
3996,56 unequal: No Solution
Exploring Operation: 74+54=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[76, 52], Operations: ['94-72=22', '74-22=52']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,56 unequal: No Solution
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[76, 52], Operations: ['94-74=20', '72-20=52']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[72, 47], Operations: ['76-74=2', '94/2=47']
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[94, 36], Operations: ['76-74=2', '72/2=36']
Exploring Operation: 94+36=130, Resulting Numbers: [130]
130,56 unequal: No Solution
Exploring Operation: 94*36=3384, Resulting Numbers: [3384]
3384,56 unequal: No Solution
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[72, 92], Operations: ['76-74=2', '94-2=92']
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,56 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[76, 92], Operations: ['94-74=20', '72+20=92']
Exploring Operation: 92-76=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 76+92=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Exploring Operation: 76*92=6992, Resulting Numbers: [6992]
6992,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[76, 96], Operations: ['94-72=22', '74+22=96']
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 76*96=7296, Resulting Numbers: [7296]
7296,56 unequal: No Solution
Exploring Operation: 76+96=172, Resulting Numbers: [172]
172,56 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
29,
94,
58,
87
] | 96
|
[
"29+87=116",
"116/58=2",
"94+2=96"
] |
Current State: 96:[29, 94, 58, 87], Operations: []
Exploring Operation: 29+87=116, Resulting Numbers: [94, 58, 116]
Generated Node #2: [94, 58, 116] from Operation: 29+87=116
Current State: 96:[94, 58, 116], Operations: ['29+87=116']
Exploring Operation: 116/58=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 116/58=2
Current State: 96:[94, 2], Operations: ['29+87=116', '116/58=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[29, 94, 58, 87], Operations: []
Exploring Operation: 87-58=29, Resulting Numbers: [29, 94, 29]
Generated Node #0,0: 96:[29, 94, 29] Operation: 87-58=29
Exploring Operation: 58/29=2, Resulting Numbers: [94, 87, 2]
Generated Node #0,1: 96:[94, 87, 2] Operation: 58/29=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[29, 94, 29], Operations: ['87-58=29']
Exploring Operation: 29/29=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 96:[94, 1] Operation: 29/29=1
Exploring Operation: 29-29=0, Resulting Numbers: [94, 0]
Generated Node #0,0,1: 96:[94, 0] Operation: 29-29=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[94, 1], Operations: ['87-58=29', '29/29=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,96 unequal: No Solution
No 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: 96:[94, 0], Operations: ['87-58=29', '29-29=0']
Exploring Operation: 94*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,96 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: 96:[94, 87, 2], Operations: ['58/29=2']
Exploring Operation: 94+2=96, Resulting Numbers: [87, 96]
Generated Node #0,1,0: 96:[87, 96] Operation: 94+2=96
Exploring Operation: 94-87=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 96:[2, 7] Operation: 94-87=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[2, 7], Operations: ['58/29=2', '94-87=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,96 unequal: No Solution
No 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: 96:[87, 96], Operations: ['58/29=2', '94+2=96']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
15,
83,
42,
49
] | 40
|
[
"15+83=98",
"98/49=2",
"42-2=40"
] |
Current State: 40:[15, 83, 42, 49], Operations: []
Exploring Operation: 15+83=98, Resulting Numbers: [42, 49, 98]
Generated Node #2: [42, 49, 98] from Operation: 15+83=98
Current State: 40:[42, 49, 98], Operations: ['15+83=98']
Exploring Operation: 98/49=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 98/49=2
Current State: 40:[42, 2], Operations: ['15+83=98', '98/49=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[15, 83, 42, 49], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [15, 42, 34]
Generated Node #0,0: 40:[15, 42, 34] Operation: 83-49=34
Exploring Operation: 83-15=68, Resulting Numbers: [42, 49, 68]
Generated Node #0,1: 40:[42, 49, 68] Operation: 83-15=68
Exploring Operation: 83-42=41, Resulting Numbers: [15, 49, 41]
Generated Node #0,2: 40:[15, 49, 41] Operation: 83-42=41
Exploring Operation: 49-42=7, Resulting Numbers: [15, 83, 7]
Generated Node #0,3: 40:[15, 83, 7] Operation: 49-42=7
Moving to Node #0,0
Current State: 40:[15, 42, 34], Operations: ['83-49=34']
Exploring Operation: 42-34=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 40:[15, 8] Operation: 42-34=8
Exploring Operation: 34-15=19, Resulting Numbers: [42, 19]
Generated Node #0,0,1: 40:[42, 19] Operation: 34-15=19
Exploring Operation: 15+34=49, Resulting Numbers: [42, 49]
Generated Node #0,0,2: 40:[42, 49] Operation: 15+34=49
Exploring Operation: 42-15=27, Resulting Numbers: [34, 27]
Generated Node #0,0,3: 40:[34, 27] Operation: 42-15=27
Moving to Node #0,2
Current State: 40:[15, 49, 41], Operations: ['83-42=41']
Exploring Operation: 49-41=8, Resulting Numbers: [15, 8]
Generated Node #0,2,0: 40:[15, 8] Operation: 49-41=8
Exploring Operation: 49-15=34, Resulting Numbers: [41, 34]
Generated Node #0,2,1: 40:[41, 34] Operation: 49-15=34
Exploring Operation: 41-15=26, Resulting Numbers: [49, 26]
Generated Node #0,2,2: 40:[49, 26] Operation: 41-15=26
Exploring Operation: 15+49=64, Resulting Numbers: [41, 64]
Generated Node #0,2,3: 40:[41, 64] Operation: 15+49=64
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[15, 8], Operations: ['83-42=41', '49-41=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,40 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[41, 34], Operations: ['83-42=41', '49-15=34']
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,40 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[49, 26], Operations: ['83-42=41', '41-15=26']
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,40 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[41, 64], Operations: ['83-42=41', '15+49=64']
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,40 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,40 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: 40:[42, 49, 68], Operations: ['83-15=68']
Exploring Operation: 68-49=19, Resulting Numbers: [42, 19]
Generated Node #0,1,0: 40:[42, 19] Operation: 68-49=19
Exploring Operation: 42+49=91, Resulting Numbers: [68, 91]
Generated Node #0,1,1: 40:[68, 91] Operation: 42+49=91
Exploring Operation: 68-42=26, Resulting Numbers: [49, 26]
Generated Node #0,1,2: 40:[49, 26] Operation: 68-42=26
Exploring Operation: 49-42=7, Resulting Numbers: [68, 7]
Generated Node #0,1,3: 40:[68, 7] Operation: 49-42=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[42, 19], Operations: ['83-15=68', '68-49=19']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,40 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[49, 26], Operations: ['83-15=68', '68-42=26']
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,40 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[68, 7], Operations: ['83-15=68', '49-42=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[68, 91], Operations: ['83-15=68', '42+49=91']
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 68*91=6188, Resulting Numbers: [6188]
6188,40 unequal: No Solution
Exploring Operation: 68+91=159, Resulting Numbers: [159]
159,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 40:[15, 83, 7], Operations: ['49-42=7']
Exploring Operation: 15-7=8, Resulting Numbers: [83, 8]
Generated Node #0,3,0: 40:[83, 8] Operation: 15-7=8
Exploring Operation: 15+7=22, Resulting Numbers: [83, 22]
Generated Node #0,3,1: 40:[83, 22] Operation: 15+7=22
Exploring Operation: 83-15=68, Resulting Numbers: [7, 68]
Generated Node #0,3,2: 40:[7, 68] Operation: 83-15=68
Exploring Operation: 83-7=76, Resulting Numbers: [15, 76]
Generated Node #0,3,3: 40:[15, 76] Operation: 83-7=76
Moving to Node #0,0,1
Current State: 40:[42, 19], Operations: ['83-49=34', '34-15=19']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[15, 8], Operations: ['83-49=34', '42-34=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,40 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[42, 49], Operations: ['83-49=34', '15+34=49']
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,40 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[34, 27], Operations: ['83-49=34', '42-15=27']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,40 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[7, 68], Operations: ['49-42=7', '83-15=68']
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 7*68=476, Resulting Numbers: [476]
476,40 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[15, 76], Operations: ['49-42=7', '83-7=76']
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,40 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[83, 8], Operations: ['49-42=7', '15-7=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[83, 22], Operations: ['49-42=7', '15+7=22']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,40 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,40 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
69,
46,
42,
92
] | 12
|
[
"69+92=161",
"46*42=1932",
"1932/161=12"
] |
Current State: 12:[69, 46, 42, 92], Operations: []
Exploring Operation: 69+92=161, Resulting Numbers: [46, 42, 161]
Generated Node #2: [46, 42, 161] from Operation: 69+92=161
Current State: 12:[46, 42, 161], Operations: ['69+92=161']
Exploring Operation: 46*42=1932, Resulting Numbers: [161, 1932]
Generated Node #3: [161, 1932] from Operation: 46*42=1932
Current State: 12:[161, 1932], Operations: ['69+92=161', '46*42=1932']
Exploring Operation: 1932/161=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[69, 46, 42, 92], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [69, 42, 2]
Generated Node #0,0: 12:[69, 42, 2] Operation: 92/46=2
Exploring Operation: 69-46=23, Resulting Numbers: [42, 92, 23]
Generated Node #0,1: 12:[42, 92, 23] Operation: 69-46=23
Exploring Operation: 92-69=23, Resulting Numbers: [46, 42, 23]
Generated Node #0,2: 12:[46, 42, 23] Operation: 92-69=23
Moving to Node #0,2
Current State: 12:[46, 42, 23], Operations: ['92-69=23']
Exploring Operation: 46/23=2, Resulting Numbers: [42, 2]
Generated Node #0,2,0: 12:[42, 2] Operation: 46/23=2
Exploring Operation: 46-42=4, Resulting Numbers: [23, 4]
Generated Node #0,2,1: 12:[23, 4] Operation: 46-42=4
Exploring Operation: 46-23=23, Resulting Numbers: [42, 23]
Generated Node #0,2,2: 12:[42, 23] Operation: 46-23=23
Moving to Node #0,0
Current State: 12:[69, 42, 2], Operations: ['92/46=2']
Exploring Operation: 69-42=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 12:[2, 27] Operation: 69-42=27
Exploring Operation: 69-2=67, Resulting Numbers: [42, 67]
Generated Node #0,0,1: 12:[42, 67] Operation: 69-2=67
Exploring Operation: 42/2=21, Resulting Numbers: [69, 21]
Generated Node #0,0,2: 12:[69, 21] Operation: 42/2=21
Moving to Node #0,1
Current State: 12:[42, 92, 23], Operations: ['69-46=23']
Exploring Operation: 92-42=50, Resulting Numbers: [23, 50]
Generated Node #0,1,0: 12:[23, 50] Operation: 92-42=50
Exploring Operation: 92/23=4, Resulting Numbers: [42, 4]
Generated Node #0,1,1: 12:[42, 4] Operation: 92/23=4
Exploring Operation: 42-23=19, Resulting Numbers: [92, 19]
Generated Node #0,1,2: 12:[92, 19] Operation: 42-23=19
Moving to Node #0,2,1
Current State: 12:[23, 4], Operations: ['92-69=23', '46-42=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[2, 27], Operations: ['92/46=2', '69-42=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[42, 4], Operations: ['69-46=23', '92/23=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,12 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[42, 2], Operations: ['92-69=23', '46/23=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[42, 23], Operations: ['92-69=23', '46-23=23']
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,12 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[23, 50], Operations: ['69-46=23', '92-42=50']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[69, 21], Operations: ['92/46=2', '42/2=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,12 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[42, 67], Operations: ['92/46=2', '69-2=67']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,12 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[92, 19], Operations: ['69-46=23', '42-23=19']
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,12 unequal: No Solution
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,12 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
68,
69,
23,
96
] | 72
|
[
"69-68=1",
"96-23=73",
"73-1=72"
] |
Current State: 72:[68, 69, 23, 96], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [23, 96, 1]
Generated Node #2: [23, 96, 1] from Operation: 69-68=1
Current State: 72:[23, 96, 1], Operations: ['69-68=1']
Exploring Operation: 96-23=73, Resulting Numbers: [1, 73]
Generated Node #3: [1, 73] from Operation: 96-23=73
Current State: 72:[1, 73], Operations: ['69-68=1', '96-23=73']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4
|
Current State: 72:[68, 69, 23, 96], Operations: []
Exploring Operation: 96-68=28, Resulting Numbers: [69, 23, 28]
Generated Node #0,0: 72:[69, 23, 28] Operation: 96-68=28
Exploring Operation: 96-69=27, Resulting Numbers: [68, 23, 27]
Generated Node #0,1: 72:[68, 23, 27] Operation: 96-69=27
Moving to Node #0,0
Current State: 72:[69, 23, 28], Operations: ['96-68=28']
Exploring Operation: 69/23=3, Resulting Numbers: [28, 3]
Generated Node #0,0,0: 72:[28, 3] Operation: 69/23=3
Exploring Operation: 28-23=5, Resulting Numbers: [69, 5]
Generated Node #0,0,1: 72:[69, 5] Operation: 28-23=5
Moving to Node #0,1
Current State: 72:[68, 23, 27], Operations: ['96-69=27']
Exploring Operation: 27-23=4, Resulting Numbers: [68, 4]
Generated Node #0,1,0: 72:[68, 4] Operation: 27-23=4
Exploring Operation: 68-27=41, Resulting Numbers: [23, 41]
Generated Node #0,1,1: 72:[23, 41] Operation: 68-27=41
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[68, 4], Operations: ['96-69=27', '27-23=4']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[68, 69, 23, 96], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [68, 23, 27]
Generated Node #0,1: 72:[68, 23, 27] Operation: 96-69=27
Moving to Node #0,1
Current State: 72:[68, 23, 27], Operations: ['96-69=27']
Exploring Operation: 27-23=4, Resulting Numbers: [68, 4]
Generated Node #0,1,0: 72:[68, 4] Operation: 27-23=4
Moving to Node #0,1,0
Current State: 72:[68, 4], Operations: ['96-69=27', '27-23=4']
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_2
|
mult_heuristic
|
[
60,
39,
36,
26
] | 78
|
[
"60-36=24",
"26-24=2",
"39*2=78"
] |
Current State: 78:[60, 39, 36, 26], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [39, 26, 24]
Generated Node #2: [39, 26, 24] from Operation: 60-36=24
Current State: 78:[39, 26, 24], Operations: ['60-36=24']
Exploring Operation: 26-24=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 26-24=2
Current State: 78:[39, 2], Operations: ['60-36=24', '26-24=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[60, 39, 36, 26], Operations: []
Exploring Operation: 60-39=21, Resulting Numbers: [36, 26, 21]
Generated Node #0,0: 78:[36, 26, 21] Operation: 60-39=21
Exploring Operation: 60-36=24, Resulting Numbers: [39, 26, 24]
Generated Node #0,1: 78:[39, 26, 24] Operation: 60-36=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[39, 26, 24], Operations: ['60-36=24']
Exploring Operation: 26-24=2, Resulting Numbers: [39, 2]
Generated Node #0,1,0: 78:[39, 2] Operation: 26-24=2
Exploring Operation: 39-26=13, Resulting Numbers: [24, 13]
Generated Node #0,1,1: 78:[24, 13] Operation: 39-26=13
Moving to Node #0,1,0
Current State: 78:[39, 2], Operations: ['60-36=24', '26-24=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[60, 39, 36, 26], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [39, 26, 24]
Generated Node #0,1: 78:[39, 26, 24] Operation: 60-36=24
Moving to Node #0,1
Current State: 78:[39, 26, 24], Operations: ['60-36=24']
Exploring Operation: 26-24=2, Resulting Numbers: [39, 2]
Generated Node #0,1,0: 78:[39, 2] Operation: 26-24=2
Moving to Node #0,1,0
Current State: 78:[39, 2], Operations: ['60-36=24', '26-24=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
80,
42,
84,
21
] | 86
|
[
"42+84=126",
"126/21=6",
"80+6=86"
] |
Current State: 86:[80, 42, 84, 21], Operations: []
Exploring Operation: 42+84=126, Resulting Numbers: [80, 21, 126]
Generated Node #2: [80, 21, 126] from Operation: 42+84=126
Current State: 86:[80, 21, 126], Operations: ['42+84=126']
Exploring Operation: 126/21=6, Resulting Numbers: [80, 6]
Generated Node #3: [80, 6] from Operation: 126/21=6
Current State: 86:[80, 6], Operations: ['42+84=126', '126/21=6']
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4
|
Current State: 86:[80, 42, 84, 21], Operations: []
Exploring Operation: 80-21=59, Resulting Numbers: [42, 84, 59]
Generated Node #0,0: 86:[42, 84, 59] Operation: 80-21=59
Exploring Operation: 42/21=2, Resulting Numbers: [80, 84, 2]
Generated Node #0,1: 86:[80, 84, 2] Operation: 42/21=2
Exploring Operation: 84/21=4, Resulting Numbers: [80, 42, 4]
Generated Node #0,2: 86:[80, 42, 4] Operation: 84/21=4
Exploring Operation: 84-80=4, Resulting Numbers: [42, 21, 4]
Generated Node #0,3: 86:[42, 21, 4] Operation: 84-80=4
Exploring Operation: 80+21=101, Resulting Numbers: [42, 84, 101]
Generated Node #0,4: 86:[42, 84, 101] Operation: 80+21=101
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[80, 84, 2], Operations: ['42/21=2']
Exploring Operation: 80/2=40, Resulting Numbers: [84, 40]
Generated Node #0,1,0: 86:[84, 40] Operation: 80/2=40
Exploring Operation: 80+2=82, Resulting Numbers: [84, 82]
Generated Node #0,1,1: 86:[84, 82] Operation: 80+2=82
Exploring Operation: 84-80=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 86:[2, 4] Operation: 84-80=4
Exploring Operation: 84+2=86, Resulting Numbers: [80, 86]
Generated Node #0,1,3: 86:[80, 86] Operation: 84+2=86
Exploring Operation: 84/2=42, Resulting Numbers: [80, 42]
Generated Node #0,1,4: 86:[80, 42] Operation: 84/2=42
Moving to Node #0,1,2
Current State: 86:[2, 4], Operations: ['42/21=2', '84-80=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[84, 40], Operations: ['42/21=2', '80/2=40']
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[84, 82], Operations: ['42/21=2', '80+2=82']
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 84*82=6888, Resulting Numbers: [6888]
6888,86 unequal: No Solution
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[80, 86], Operations: ['42/21=2', '84+2=86']
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 80+86=166, Resulting Numbers: [166]
166,86 unequal: No Solution
Exploring Operation: 80*86=6880, Resulting Numbers: [6880]
6880,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[80, 42], Operations: ['42/21=2', '84/2=42']
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,86 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[80, 42, 4], Operations: ['84/21=4']
Exploring Operation: 42+4=46, Resulting Numbers: [80, 46]
Generated Node #0,2,0: 86:[80, 46] Operation: 42+4=46
Exploring Operation: 80-42=38, Resulting Numbers: [4, 38]
Generated Node #0,2,1: 86:[4, 38] Operation: 80-42=38
Exploring Operation: 80-4=76, Resulting Numbers: [42, 76]
Generated Node #0,2,2: 86:[42, 76] Operation: 80-4=76
Exploring Operation: 80+4=84, Resulting Numbers: [42, 84]
Generated Node #0,2,3: 86:[42, 84] Operation: 80+4=84
Exploring Operation: 42-4=38, Resulting Numbers: [80, 38]
Generated Node #0,2,4: 86:[80, 38] Operation: 42-4=38
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[42, 84], Operations: ['84/21=4', '80+4=84']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,86 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[4, 38], Operations: ['84/21=4', '80-42=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[80, 46], Operations: ['84/21=4', '42+4=46']
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 80*46=3680, Resulting Numbers: [3680]
3680,86 unequal: No Solution
Exploring Operation: 80+46=126, Resulting Numbers: [126]
126,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[42, 76], Operations: ['84/21=4', '80-4=76']
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,86 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 86:[80, 38], Operations: ['84/21=4', '42-4=38']
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,86 unequal: No Solution
Exploring Operation: 80*38=3040, Resulting Numbers: [3040]
3040,86 unequal: No Solution
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[42, 84, 101], Operations: ['80+21=101']
Exploring Operation: 84/42=2, Resulting Numbers: [101, 2]
Generated Node #0,4,0: 86:[101, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [101, 42]
Generated Node #0,4,1: 86:[101, 42] Operation: 84-42=42
Exploring Operation: 42+84=126, Resulting Numbers: [101, 126]
Generated Node #0,4,2: 86:[101, 126] Operation: 42+84=126
Exploring Operation: 101-42=59, Resulting Numbers: [84, 59]
Generated Node #0,4,3: 86:[84, 59] Operation: 101-42=59
Exploring Operation: 101-84=17, Resulting Numbers: [42, 17]
Generated Node #0,4,4: 86:[42, 17] Operation: 101-84=17
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 86:[101, 2], Operations: ['80+21=101', '84/42=2']
Exploring Operation: 101+2=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 101*2=202, Resulting Numbers: [202]
202,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 86:[101, 42], Operations: ['80+21=101', '84-42=42']
Exploring Operation: 101*42=4242, Resulting Numbers: [4242]
4242,86 unequal: No Solution
Exploring Operation: 101+42=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[42, 17], Operations: ['80+21=101', '101-84=17']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,86 unequal: No Solution
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 86:[84, 59], Operations: ['80+21=101', '101-42=59']
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,86 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 86:[101, 126], Operations: ['80+21=101', '42+84=126']
Exploring Operation: 101*126=12726, Resulting Numbers: [12726]
12726,86 unequal: No Solution
Exploring Operation: 126-101=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 101+126=227, Resulting Numbers: [227]
227,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[42, 84, 59], Operations: ['80-21=59']
Exploring Operation: 42+59=101, Resulting Numbers: [84, 101]
Generated Node #0,0,0: 86:[84, 101] Operation: 42+59=101
Exploring Operation: 84-59=25, Resulting Numbers: [42, 25]
Generated Node #0,0,1: 86:[42, 25] Operation: 84-59=25
Exploring Operation: 59-42=17, Resulting Numbers: [84, 17]
Generated Node #0,0,2: 86:[84, 17] Operation: 59-42=17
Exploring Operation: 84/42=2, Resulting Numbers: [59, 2]
Generated Node #0,0,3: 86:[59, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [59, 42]
Generated Node #0,0,4: 86:[59, 42] Operation: 84-42=42
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[59, 2], Operations: ['80-21=59', '84/42=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[84, 101], Operations: ['80-21=59', '42+59=101']
Exploring Operation: 84*101=8484, Resulting Numbers: [8484]
8484,86 unequal: No Solution
Exploring Operation: 101-84=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 84+101=185, Resulting Numbers: [185]
185,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[84, 17], Operations: ['80-21=59', '59-42=17']
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,86 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[59, 42], Operations: ['80-21=59', '84-42=42']
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,86 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[42, 25], Operations: ['80-21=59', '84-59=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[42, 21, 4], Operations: ['84-80=4']
Exploring Operation: 42/21=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 86:[4, 2] Operation: 42/21=2
Exploring Operation: 21-4=17, Resulting Numbers: [42, 17]
Generated Node #0,3,1: 86:[42, 17] Operation: 21-4=17
Exploring Operation: 42-21=21, Resulting Numbers: [4, 21]
Generated Node #0,3,2: 86:[4, 21] Operation: 42-21=21
Exploring Operation: 21*4=84, Resulting Numbers: [42, 84]
Generated Node #0,3,3: 86:[42, 84] Operation: 21*4=84
Exploring Operation: 21+4=25, Resulting Numbers: [42, 25]
Generated Node #0,3,4: 86:[42, 25] Operation: 21+4=25
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[4, 2], Operations: ['84-80=4', '42/21=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[42, 84], Operations: ['84-80=4', '21*4=84']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,86 unequal: No Solution
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[42, 17], Operations: ['84-80=4', '21-4=17']
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 86:[42, 25], Operations: ['84-80=4', '21+4=25']
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,86 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[4, 21], Operations: ['84-80=4', '42-21=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
3,
26,
2,
30
] | 54
|
[
"3*26=78",
"30+78=108",
"108/2=54"
] |
Current State: 54:[3, 26, 2, 30], Operations: []
Exploring Operation: 3*26=78, Resulting Numbers: [2, 30, 78]
Generated Node #2: [2, 30, 78] from Operation: 3*26=78
Current State: 54:[2, 30, 78], Operations: ['3*26=78']
Exploring Operation: 30+78=108, Resulting Numbers: [2, 108]
Generated Node #3: [2, 108] from Operation: 30+78=108
Current State: 54:[2, 108], Operations: ['3*26=78', '30+78=108']
Exploring Operation: 108/2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[3, 26, 2, 30], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [3, 2, 4]
Generated Node #0,0: 54:[3, 2, 4] Operation: 30-26=4
Exploring Operation: 30/3=10, Resulting Numbers: [26, 2, 10]
Generated Node #0,1: 54:[26, 2, 10] Operation: 30/3=10
Exploring Operation: 26+30=56, Resulting Numbers: [3, 2, 56]
Generated Node #0,2: 54:[3, 2, 56] Operation: 26+30=56
Exploring Operation: 30-2=28, Resulting Numbers: [3, 26, 28]
Generated Node #0,3: 54:[3, 26, 28] Operation: 30-2=28
Exploring Operation: 30-3=27, Resulting Numbers: [26, 2, 27]
Generated Node #0,4: 54:[26, 2, 27] Operation: 30-3=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[3, 2, 4], Operations: ['30-26=4']
Exploring Operation: 4-2=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 54:[3, 2] Operation: 4-2=2
Exploring Operation: 2+4=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 54:[3, 6] Operation: 2+4=6
Exploring Operation: 3*2=6, Resulting Numbers: [4, 6]
Generated Node #0,0,2: 54:[4, 6] Operation: 3*2=6
Exploring Operation: 4/2=2, Resulting Numbers: [3, 2]
Generated Node #0,0,3: 54:[3, 2] Operation: 4/2=2
Exploring Operation: 3+4=7, Resulting Numbers: [2, 7]
Generated Node #0,0,4: 54:[2, 7] Operation: 3+4=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[3, 2], Operations: ['30-26=4', '4-2=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[3, 6], Operations: ['30-26=4', '2+4=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 54:[3, 2], Operations: ['30-26=4', '4/2=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[4, 6], Operations: ['30-26=4', '3*2=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 54:[2, 7], Operations: ['30-26=4', '3+4=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[26, 2, 27], Operations: ['30-3=27']
Exploring Operation: 2*27=54, Resulting Numbers: [26, 54]
Generated Node #0,4,0: 54:[26, 54] Operation: 2*27=54
Exploring Operation: 26*2=52, Resulting Numbers: [27, 52]
Generated Node #0,4,1: 54:[27, 52] Operation: 26*2=52
Exploring Operation: 26+27=53, Resulting Numbers: [2, 53]
Generated Node #0,4,2: 54:[2, 53] Operation: 26+27=53
Exploring Operation: 26+2=28, Resulting Numbers: [27, 28]
Generated Node #0,4,3: 54:[27, 28] Operation: 26+2=28
Exploring Operation: 27-26=1, Resulting Numbers: [2, 1]
Generated Node #0,4,4: 54:[2, 1] Operation: 27-26=1
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 54:[26, 54], Operations: ['30-3=27', '2*27=54']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 54:[2, 53], Operations: ['30-3=27', '26+27=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 54:[27, 28], Operations: ['30-3=27', '26+2=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 54:[2, 1], Operations: ['30-3=27', '27-26=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 54:[27, 52], Operations: ['30-3=27', '26*2=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,54 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[26, 2, 10], Operations: ['30/3=10']
Exploring Operation: 10/2=5, Resulting Numbers: [26, 5]
Generated Node #0,1,0: 54:[26, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [26, 8]
Generated Node #0,1,1: 54:[26, 8] Operation: 10-2=8
Exploring Operation: 26+2=28, Resulting Numbers: [10, 28]
Generated Node #0,1,2: 54:[10, 28] Operation: 26+2=28
Exploring Operation: 26-10=16, Resulting Numbers: [2, 16]
Generated Node #0,1,3: 54:[2, 16] Operation: 26-10=16
Exploring Operation: 26*2=52, Resulting Numbers: [10, 52]
Generated Node #0,1,4: 54:[10, 52] Operation: 26*2=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[26, 5], Operations: ['30/3=10', '10/2=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[26, 8], Operations: ['30/3=10', '10-2=8']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,54 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[10, 28], Operations: ['30/3=10', '26+2=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,54 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[2, 16], Operations: ['30/3=10', '26-10=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 54:[10, 52], Operations: ['30/3=10', '26*2=52']
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,54 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[3, 2, 56], Operations: ['26+30=56']
Exploring Operation: 3+2=5, Resulting Numbers: [56, 5]
Generated Node #0,2,0: 54:[56, 5] Operation: 3+2=5
Exploring Operation: 56-3=53, Resulting Numbers: [2, 53]
Generated Node #0,2,1: 54:[2, 53] Operation: 56-3=53
Exploring Operation: 3*2=6, Resulting Numbers: [56, 6]
Generated Node #0,2,2: 54:[56, 6] Operation: 3*2=6
Exploring Operation: 56-2=54, Resulting Numbers: [3, 54]
Generated Node #0,2,3: 54:[3, 54] Operation: 56-2=54
Exploring Operation: 56/2=28, Resulting Numbers: [3, 28]
Generated Node #0,2,4: 54:[3, 28] Operation: 56/2=28
Moving to Node #0,2,3
Current State: 54:[3, 54], Operations: ['26+30=56', '56-2=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[3, 28], Operations: ['26+30=56', '56/2=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[2, 53], Operations: ['26+30=56', '56-3=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[56, 6], Operations: ['26+30=56', '3*2=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,54 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[56, 5], Operations: ['26+30=56', '3+2=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,54 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[3, 26, 28], Operations: ['30-2=28']
Exploring Operation: 28-26=2, Resulting Numbers: [3, 2]
Generated Node #0,3,0: 54:[3, 2] Operation: 28-26=2
Exploring Operation: 26+28=54, Resulting Numbers: [3, 54]
Generated Node #0,3,1: 54:[3, 54] Operation: 26+28=54
Exploring Operation: 28-3=25, Resulting Numbers: [26, 25]
Generated Node #0,3,2: 54:[26, 25] Operation: 28-3=25
Exploring Operation: 26-3=23, Resulting Numbers: [28, 23]
Generated Node #0,3,3: 54:[28, 23] Operation: 26-3=23
Exploring Operation: 3+26=29, Resulting Numbers: [28, 29]
Generated Node #0,3,4: 54:[28, 29] Operation: 3+26=29
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[3, 2], Operations: ['30-2=28', '28-26=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[3, 54], Operations: ['30-2=28', '26+28=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,54 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[26, 25], Operations: ['30-2=28', '28-3=25']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 54:[28, 29], Operations: ['30-2=28', '3+26=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[28, 23], Operations: ['30-2=28', '26-3=23']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
19,
25,
89,
32
] | 75
|
[
"89-32=57",
"57/19=3",
"25*3=75"
] |
Current State: 75:[19, 25, 89, 32], Operations: []
Exploring Operation: 89-32=57, Resulting Numbers: [19, 25, 57]
Generated Node #2: [19, 25, 57] from Operation: 89-32=57
Current State: 75:[19, 25, 57], Operations: ['89-32=57']
Exploring Operation: 57/19=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 57/19=3
Current State: 75:[25, 3], Operations: ['89-32=57', '57/19=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4
|
Current State: 75:[19, 25, 89, 32], Operations: []
Exploring Operation: 89-19=70, Resulting Numbers: [25, 32, 70]
Generated Node #0,0: 75:[25, 32, 70] Operation: 89-19=70
Moving to Node #0,0
Current State: 75:[25, 32, 70], Operations: ['89-19=70']
Exploring Operation: 32-25=7, Resulting Numbers: [70, 7]
Generated Node #0,0,0: 75:[70, 7] Operation: 32-25=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[70, 7], Operations: ['89-19=70', '32-25=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,75 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
|
[
52,
78,
28,
80
] | 48
|
[
"52-28=24",
"80-78=2",
"24*2=48"
] |
Current State: 48:[52, 78, 28, 80], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [78, 80, 24]
Generated Node #2: [78, 80, 24] from Operation: 52-28=24
Current State: 48:[78, 80, 24], Operations: ['52-28=24']
Exploring Operation: 80-78=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 80-78=2
Current State: 48:[24, 2], Operations: ['52-28=24', '80-78=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[52, 78, 28, 80], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [78, 28, 28]
Generated Node #0,0: 48:[78, 28, 28] Operation: 80-52=28
Exploring Operation: 80-78=2, Resulting Numbers: [52, 28, 2]
Generated Node #0,1: 48:[52, 28, 2] Operation: 80-78=2
Exploring Operation: 78-52=26, Resulting Numbers: [28, 80, 26]
Generated Node #0,2: 48:[28, 80, 26] Operation: 78-52=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[52, 28, 2], Operations: ['80-78=2']
Exploring Operation: 52/2=26, Resulting Numbers: [28, 26]
Generated Node #0,1,0: 48:[28, 26] Operation: 52/2=26
Exploring Operation: 52-28=24, Resulting Numbers: [2, 24]
Generated Node #0,1,1: 48:[2, 24] Operation: 52-28=24
Exploring Operation: 52-2=50, Resulting Numbers: [28, 50]
Generated Node #0,1,2: 48:[28, 50] Operation: 52-2=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[2, 24], Operations: ['80-78=2', '52-28=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[52, 78, 28, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [52, 28, 2]
Generated Node #0,1: 48:[52, 28, 2] Operation: 80-78=2
Moving to Node #0,1
Current State: 48:[52, 28, 2], Operations: ['80-78=2']
Exploring Operation: 52-28=24, Resulting Numbers: [2, 24]
Generated Node #0,1,1: 48:[2, 24] Operation: 52-28=24
Moving to Node #0,1,1
Current State: 48:[2, 24], Operations: ['80-78=2', '52-28=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
72,
53,
99,
92
] | 12
|
[
"72-53=19",
"99-92=7",
"19-7=12"
] |
Current State: 12:[72, 53, 99, 92], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [99, 92, 19]
Generated Node #2: [99, 92, 19] from Operation: 72-53=19
Current State: 12:[99, 92, 19], Operations: ['72-53=19']
Exploring Operation: 99-92=7, Resulting Numbers: [19, 7]
Generated Node #3: [19, 7] from Operation: 99-92=7
Current State: 12:[19, 7], Operations: ['72-53=19', '99-92=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[72, 53, 99, 92], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [53, 92, 27]
Generated Node #0,0: 12:[53, 92, 27] Operation: 99-72=27
Exploring Operation: 99-92=7, Resulting Numbers: [72, 53, 7]
Generated Node #0,1: 12:[72, 53, 7] Operation: 99-92=7
Moving to Node #0,1
Current State: 12:[72, 53, 7], Operations: ['99-92=7']
Exploring Operation: 72-7=65, Resulting Numbers: [53, 65]
Generated Node #0,1,0: 12:[53, 65] Operation: 72-7=65
Exploring Operation: 72-53=19, Resulting Numbers: [7, 19]
Generated Node #0,1,1: 12:[7, 19] Operation: 72-53=19
Moving to Node #0,0
Current State: 12:[53, 92, 27], Operations: ['99-72=27']
Exploring Operation: 92-53=39, Resulting Numbers: [27, 39]
Generated Node #0,0,0: 12:[27, 39] Operation: 92-53=39
Exploring Operation: 53-27=26, Resulting Numbers: [92, 26]
Generated Node #0,0,1: 12:[92, 26] Operation: 53-27=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[27, 39], Operations: ['99-72=27', '92-53=39']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[72, 53, 99, 92], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [53, 92, 27]
Generated Node #0,0: 12:[53, 92, 27] Operation: 99-72=27
Moving to Node #0,0
Current State: 12:[53, 92, 27], Operations: ['99-72=27']
Exploring Operation: 92-53=39, Resulting Numbers: [27, 39]
Generated Node #0,0,0: 12:[27, 39] Operation: 92-53=39
Moving to Node #0,0,0
Current State: 12:[27, 39], Operations: ['99-72=27', '92-53=39']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
sum_heuristic
|
[
69,
58,
92,
30
] | 66
|
[
"58+30=88",
"69*88=6072",
"6072/92=66"
] |
Current State: 66:[69, 58, 92, 30], Operations: []
Exploring Operation: 58+30=88, Resulting Numbers: [69, 92, 88]
Generated Node #2: [69, 92, 88] from Operation: 58+30=88
Current State: 66:[69, 92, 88], Operations: ['58+30=88']
Exploring Operation: 69*88=6072, Resulting Numbers: [92, 6072]
Generated Node #3: [92, 6072] from Operation: 69*88=6072
Current State: 66:[92, 6072], Operations: ['58+30=88', '69*88=6072']
Exploring Operation: 6072/92=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[69, 58, 92, 30], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [58, 30, 23]
Generated Node #0,0: 66:[58, 30, 23] Operation: 92-69=23
Exploring Operation: 92-58=34, Resulting Numbers: [69, 30, 34]
Generated Node #0,1: 66:[69, 30, 34] Operation: 92-58=34
Exploring Operation: 69-58=11, Resulting Numbers: [92, 30, 11]
Generated Node #0,2: 66:[92, 30, 11] Operation: 69-58=11
Exploring Operation: 92-30=62, Resulting Numbers: [69, 58, 62]
Generated Node #0,3: 66:[69, 58, 62] Operation: 92-30=62
Moving to Node #0,1
Current State: 66:[69, 30, 34], Operations: ['92-58=34']
Exploring Operation: 30+34=64, Resulting Numbers: [69, 64]
Generated Node #0,1,0: 66:[69, 64] Operation: 30+34=64
Exploring Operation: 69-30=39, Resulting Numbers: [34, 39]
Generated Node #0,1,1: 66:[34, 39] Operation: 69-30=39
Exploring Operation: 34-30=4, Resulting Numbers: [69, 4]
Generated Node #0,1,2: 66:[69, 4] Operation: 34-30=4
Exploring Operation: 69-34=35, Resulting Numbers: [30, 35]
Generated Node #0,1,3: 66:[30, 35] Operation: 69-34=35
Moving to Node #0,0
Current State: 66:[58, 30, 23], Operations: ['92-69=23']
Exploring Operation: 58+23=81, Resulting Numbers: [30, 81]
Generated Node #0,0,0: 66:[30, 81] Operation: 58+23=81
Exploring Operation: 58-30=28, Resulting Numbers: [23, 28]
Generated Node #0,0,1: 66:[23, 28] Operation: 58-30=28
Exploring Operation: 30-23=7, Resulting Numbers: [58, 7]
Generated Node #0,0,2: 66:[58, 7] Operation: 30-23=7
Exploring Operation: 58-23=35, Resulting Numbers: [30, 35]
Generated Node #0,0,3: 66:[30, 35] Operation: 58-23=35
Moving to Node #0,3
Current State: 66:[69, 58, 62], Operations: ['92-30=62']
Exploring Operation: 62-58=4, Resulting Numbers: [69, 4]
Generated Node #0,3,0: 66:[69, 4] Operation: 62-58=4
Exploring Operation: 58+62=120, Resulting Numbers: [69, 120]
Generated Node #0,3,1: 66:[69, 120] Operation: 58+62=120
Exploring Operation: 69-62=7, Resulting Numbers: [58, 7]
Generated Node #0,3,2: 66:[58, 7] Operation: 69-62=7
Exploring Operation: 69-58=11, Resulting Numbers: [62, 11]
Generated Node #0,3,3: 66:[62, 11] Operation: 69-58=11
Moving to Node #0,2
Current State: 66:[92, 30, 11], Operations: ['69-58=11']
Exploring Operation: 92-30=62, Resulting Numbers: [11, 62]
Generated Node #0,2,0: 66:[11, 62] Operation: 92-30=62
Exploring Operation: 30-11=19, Resulting Numbers: [92, 19]
Generated Node #0,2,1: 66:[92, 19] Operation: 30-11=19
Exploring Operation: 30+11=41, Resulting Numbers: [92, 41]
Generated Node #0,2,2: 66:[92, 41] Operation: 30+11=41
Exploring Operation: 92-11=81, Resulting Numbers: [30, 81]
Generated Node #0,2,3: 66:[30, 81] Operation: 92-11=81
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[11, 62], Operations: ['69-58=11', '92-30=62']
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,66 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[30, 81], Operations: ['69-58=11', '92-11=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[92, 19], Operations: ['69-58=11', '30-11=19']
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,66 unequal: No Solution
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[92, 41], Operations: ['69-58=11', '30+11=41']
Exploring Operation: 92*41=3772, Resulting Numbers: [3772]
3772,66 unequal: No Solution
Exploring Operation: 92+41=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 66:[69, 4], Operations: ['92-58=34', '34-30=4']
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,66 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[69, 4], Operations: ['92-30=62', '62-58=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[62, 11], Operations: ['92-30=62', '69-58=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,66 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[30, 35], Operations: ['92-58=34', '69-34=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[30, 35], Operations: ['92-69=23', '58-23=35']
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,66 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[69, 64], Operations: ['92-58=34', '30+34=64']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 69+64=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Exploring Operation: 69*64=4416, Resulting Numbers: [4416]
4416,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[23, 28], Operations: ['92-69=23', '58-30=28']
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,66 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[34, 39], Operations: ['92-58=34', '69-30=39']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[58, 7], Operations: ['92-69=23', '30-23=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,66 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[58, 7], Operations: ['92-30=62', '69-62=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,66 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[30, 81], Operations: ['92-69=23', '58+23=81']
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,66 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[69, 120], Operations: ['92-30=62', '58+62=120']
Exploring Operation: 120-69=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 69*120=8280, Resulting Numbers: [8280]
8280,66 unequal: No Solution
Exploring Operation: 69+120=189, Resulting Numbers: [189]
189,66 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
56,
41,
3,
54
] | 40
|
[
"56+41=97",
"3+54=57",
"97-57=40"
] |
Current State: 40:[56, 41, 3, 54], Operations: []
Exploring Operation: 56+41=97, Resulting Numbers: [3, 54, 97]
Generated Node #2: [3, 54, 97] from Operation: 56+41=97
Current State: 40:[3, 54, 97], Operations: ['56+41=97']
Exploring Operation: 3+54=57, Resulting Numbers: [97, 57]
Generated Node #3: [97, 57] from Operation: 3+54=57
Current State: 40:[97, 57], Operations: ['56+41=97', '3+54=57']
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[56, 41, 3, 54], Operations: []
Exploring Operation: 56-41=15, Resulting Numbers: [3, 54, 15]
Generated Node #0,0: 40:[3, 54, 15] Operation: 56-41=15
Exploring Operation: 54-41=13, Resulting Numbers: [56, 3, 13]
Generated Node #0,1: 40:[56, 3, 13] Operation: 54-41=13
Exploring Operation: 56-54=2, Resulting Numbers: [41, 3, 2]
Generated Node #0,2: 40:[41, 3, 2] Operation: 56-54=2
Exploring Operation: 54/3=18, Resulting Numbers: [56, 41, 18]
Generated Node #0,3: 40:[56, 41, 18] Operation: 54/3=18
Moving to Node #0,2
Current State: 40:[41, 3, 2], Operations: ['56-54=2']
Exploring Operation: 41-3=38, Resulting Numbers: [2, 38]
Generated Node #0,2,0: 40:[2, 38] Operation: 41-3=38
Exploring Operation: 41-2=39, Resulting Numbers: [3, 39]
Generated Node #0,2,1: 40:[3, 39] Operation: 41-2=39
Exploring Operation: 3+2=5, Resulting Numbers: [41, 5]
Generated Node #0,2,2: 40:[41, 5] Operation: 3+2=5
Exploring Operation: 3*2=6, Resulting Numbers: [41, 6]
Generated Node #0,2,3: 40:[41, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[41, 5], Operations: ['56-54=2', '3+2=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,40 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[2, 38], Operations: ['56-54=2', '41-3=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[56, 41, 3, 54], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [41, 3, 2]
Generated Node #0,2: 40:[41, 3, 2] Operation: 56-54=2
Moving to Node #0,2
Current State: 40:[41, 3, 2], Operations: ['56-54=2']
Exploring Operation: 41-3=38, Resulting Numbers: [2, 38]
Generated Node #0,2,0: 40:[2, 38] Operation: 41-3=38
Moving to Node #0,2,0
Current State: 40:[2, 38], Operations: ['56-54=2', '41-3=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_4
|
sum_heuristic
|
[
96,
4,
93,
86
] | 68
|
[
"93-86=7",
"4*7=28",
"96-28=68"
] |
Current State: 68:[96, 4, 93, 86], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [96, 4, 7]
Generated Node #2: [96, 4, 7] from Operation: 93-86=7
Current State: 68:[96, 4, 7], Operations: ['93-86=7']
Exploring Operation: 4*7=28, Resulting Numbers: [96, 28]
Generated Node #3: [96, 28] from Operation: 4*7=28
Current State: 68:[96, 28], Operations: ['93-86=7', '4*7=28']
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[96, 4, 93, 86], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [4, 86, 3]
Generated Node #0,0: 68:[4, 86, 3] Operation: 96-93=3
Exploring Operation: 96-86=10, Resulting Numbers: [4, 93, 10]
Generated Node #0,1: 68:[4, 93, 10] Operation: 96-86=10
Moving to Node #0,0
Current State: 68:[4, 86, 3], Operations: ['96-93=3']
Exploring Operation: 86-4=82, Resulting Numbers: [3, 82]
Generated Node #0,0,0: 68:[3, 82] Operation: 86-4=82
Exploring Operation: 86-3=83, Resulting Numbers: [4, 83]
Generated Node #0,0,1: 68:[4, 83] Operation: 86-3=83
Moving to Node #0,1
Current State: 68:[4, 93, 10], Operations: ['96-86=10']
Exploring Operation: 93-10=83, Resulting Numbers: [4, 83]
Generated Node #0,1,0: 68:[4, 83] Operation: 93-10=83
Exploring Operation: 93-4=89, Resulting Numbers: [10, 89]
Generated Node #0,1,1: 68:[10, 89] Operation: 93-4=89
Moving to Node #0,0,0
Current State: 68:[3, 82], Operations: ['96-93=3', '86-4=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[4, 83], Operations: ['96-86=10', '93-10=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,68 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[4, 83], Operations: ['96-93=3', '86-3=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,68 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[10, 89], Operations: ['96-86=10', '93-4=89']
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,68 unequal: No Solution
Exploring Operation: 10+89=99, Resulting Numbers: [99]
99,68 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
90,
88,
19,
53
] | 74
|
[
"90-88=2",
"19+53=72",
"2+72=74"
] |
Current State: 74:[90, 88, 19, 53], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [19, 53, 2]
Generated Node #2: [19, 53, 2] from Operation: 90-88=2
Current State: 74:[19, 53, 2], Operations: ['90-88=2']
Exploring Operation: 19+53=72, Resulting Numbers: [2, 72]
Generated Node #3: [2, 72] from Operation: 19+53=72
Current State: 74:[2, 72], Operations: ['90-88=2', '19+53=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[90, 88, 19, 53], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [88, 19, 37]
Generated Node #0,0: 74:[88, 19, 37] Operation: 90-53=37
Exploring Operation: 19+53=72, Resulting Numbers: [90, 88, 72]
Generated Node #0,1: 74:[90, 88, 72] Operation: 19+53=72
Moving to Node #0,0
Current State: 74:[88, 19, 37], Operations: ['90-53=37']
Exploring Operation: 88-19=69, Resulting Numbers: [37, 69]
Generated Node #0,0,0: 74:[37, 69] Operation: 88-19=69
Exploring Operation: 37-19=18, Resulting Numbers: [88, 18]
Generated Node #0,0,1: 74:[88, 18] Operation: 37-19=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[37, 69], Operations: ['90-53=37', '88-19=69']
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,74 unequal: No Solution
No 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: 74:[88, 18], Operations: ['90-53=37', '37-19=18']
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,74 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: 74:[90, 88, 72], Operations: ['19+53=72']
Exploring Operation: 90-72=18, Resulting Numbers: [88, 18]
Generated Node #0,1,0: 74:[88, 18] Operation: 90-72=18
Exploring Operation: 90-88=2, Resulting Numbers: [72, 2]
Generated Node #0,1,1: 74:[72, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[72, 2], Operations: ['19+53=72', '90-88=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[90, 88, 19, 53], Operations: []
Exploring Operation: 19+53=72, Resulting Numbers: [90, 88, 72]
Generated Node #0,1: 74:[90, 88, 72] Operation: 19+53=72
Moving to Node #0,1
Current State: 74:[90, 88, 72], Operations: ['19+53=72']
Exploring Operation: 90-88=2, Resulting Numbers: [72, 2]
Generated Node #0,1,1: 74:[72, 2] Operation: 90-88=2
Moving to Node #0,1,1
Current State: 74:[72, 2], Operations: ['19+53=72', '90-88=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_2
|
sum_heuristic
|
[
6,
18,
14,
12
] | 34
|
[
"12/6=2",
"18+14=32",
"2+32=34"
] |
Current State: 34:[6, 18, 14, 12], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [18, 14, 2]
Generated Node #2: [18, 14, 2] from Operation: 12/6=2
Current State: 34:[18, 14, 2], Operations: ['12/6=2']
Exploring Operation: 18+14=32, Resulting Numbers: [2, 32]
Generated Node #3: [2, 32] from Operation: 18+14=32
Current State: 34:[2, 32], Operations: ['12/6=2', '18+14=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[6, 18, 14, 12], Operations: []
Exploring Operation: 12-6=6, Resulting Numbers: [18, 14, 6]
Generated Node #0,0: 34:[18, 14, 6] Operation: 12-6=6
Exploring Operation: 14-12=2, Resulting Numbers: [6, 18, 2]
Generated Node #0,1: 34:[6, 18, 2] Operation: 14-12=2
Exploring Operation: 12/6=2, Resulting Numbers: [18, 14, 2]
Generated Node #0,2: 34:[18, 14, 2] Operation: 12/6=2
Exploring Operation: 6+12=18, Resulting Numbers: [18, 14, 18]
Generated Node #0,3: 34:[18, 14, 18] Operation: 6+12=18
Moving to Node #0,2
Current State: 34:[18, 14, 2], Operations: ['12/6=2']
Exploring Operation: 18-2=16, Resulting Numbers: [14, 16]
Generated Node #0,2,0: 34:[14, 16] Operation: 18-2=16
Exploring Operation: 18+14=32, Resulting Numbers: [2, 32]
Generated Node #0,2,1: 34:[2, 32] Operation: 18+14=32
Exploring Operation: 18-14=4, Resulting Numbers: [2, 4]
Generated Node #0,2,2: 34:[2, 4] Operation: 18-14=4
Exploring Operation: 14+2=16, Resulting Numbers: [18, 16]
Generated Node #0,2,3: 34:[18, 16] Operation: 14+2=16
Moving to Node #0,3
Current State: 34:[18, 14, 18], Operations: ['6+12=18']
Exploring Operation: 18-14=4, Resulting Numbers: [18, 4]
Generated Node #0,3,0: 34:[18, 4] Operation: 18-14=4
Exploring Operation: 18-14=4, Resulting Numbers: [18, 4]
Generated Node #0,3,1: 34:[18, 4] Operation: 18-14=4
Exploring Operation: 14+18=32, Resulting Numbers: [18, 32]
Generated Node #0,3,2: 34:[18, 32] Operation: 14+18=32
Exploring Operation: 18+14=32, Resulting Numbers: [18, 32]
Generated Node #0,3,3: 34:[18, 32] Operation: 18+14=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[18, 4], Operations: ['6+12=18', '18-14=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,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,3,1
Current State: 34:[18, 4], Operations: ['6+12=18', '18-14=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,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,3,2
Current State: 34:[18, 32], Operations: ['6+12=18', '14+18=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,34 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,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,3,3
Current State: 34:[18, 32], Operations: ['6+12=18', '18+14=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[6, 18, 2], Operations: ['14-12=2']
Exploring Operation: 18-6=12, Resulting Numbers: [2, 12]
Generated Node #0,1,0: 34:[2, 12] Operation: 18-6=12
Exploring Operation: 6/2=3, Resulting Numbers: [18, 3]
Generated Node #0,1,1: 34:[18, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [18, 4]
Generated Node #0,1,2: 34:[18, 4] Operation: 6-2=4
Exploring Operation: 18/6=3, Resulting Numbers: [2, 3]
Generated Node #0,1,3: 34:[2, 3] Operation: 18/6=3
Moving to Node #0,0
Current State: 34:[18, 14, 6], Operations: ['12-6=6']
Exploring Operation: 14+6=20, Resulting Numbers: [18, 20]
Generated Node #0,0,0: 34:[18, 20] Operation: 14+6=20
Exploring Operation: 18+14=32, Resulting Numbers: [6, 32]
Generated Node #0,0,1: 34:[6, 32] Operation: 18+14=32
Exploring Operation: 18-14=4, Resulting Numbers: [6, 4]
Generated Node #0,0,2: 34:[6, 4] Operation: 18-14=4
Exploring Operation: 18/6=3, Resulting Numbers: [14, 3]
Generated Node #0,0,3: 34:[14, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[18, 20], Operations: ['12-6=6', '14+6=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,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:[14, 3], Operations: ['12-6=6', '18/6=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,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:[6, 32], Operations: ['12-6=6', '18+14=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,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:[6, 4], Operations: ['12-6=6', '18-14=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 6+4=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,1,3
Current State: 34:[2, 3], Operations: ['14-12=2', '18/6=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[18, 16], Operations: ['12/6=2', '14+2=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,34 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[6, 18, 14, 12], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [18, 14, 2]
Generated Node #0,2: 34:[18, 14, 2] Operation: 12/6=2
Moving to Node #0,2
Current State: 34:[18, 14, 2], Operations: ['12/6=2']
Exploring Operation: 14+2=16, Resulting Numbers: [18, 16]
Generated Node #0,2,3: 34:[18, 16] Operation: 14+2=16
Moving to Node #0,2,3
Current State: 34:[18, 16], Operations: ['12/6=2', '14+2=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.953125
|
hs_4
|
mult_heuristic
|
[
78,
85,
32,
85
] | 47
|
[
"78-32=46",
"85/85=1",
"46+1=47"
] |
Current State: 47:[78, 85, 32, 85], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [85, 85, 46]
Generated Node #2: [85, 85, 46] from Operation: 78-32=46
Current State: 47:[85, 85, 46], Operations: ['78-32=46']
Exploring Operation: 85/85=1, Resulting Numbers: [46, 1]
Generated Node #3: [46, 1] from Operation: 85/85=1
Current State: 47:[46, 1], Operations: ['78-32=46', '85/85=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[78, 85, 32, 85], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [85, 85, 46]
Generated Node #0,0: 47:[85, 85, 46] Operation: 78-32=46
Exploring Operation: 85-32=53, Resulting Numbers: [78, 85, 53]
Generated Node #0,1: 47:[78, 85, 53] Operation: 85-32=53
Exploring Operation: 85-32=53, Resulting Numbers: [78, 85, 53]
Generated Node #0,2: 47:[78, 85, 53] Operation: 85-32=53
Moving to Node #0,1
Current State: 47:[78, 85, 53], Operations: ['85-32=53']
Exploring Operation: 85-78=7, Resulting Numbers: [53, 7]
Generated Node #0,1,0: 47:[53, 7] Operation: 85-78=7
Exploring Operation: 85-53=32, Resulting Numbers: [78, 32]
Generated Node #0,1,1: 47:[78, 32] Operation: 85-53=32
Exploring Operation: 78-53=25, Resulting Numbers: [85, 25]
Generated Node #0,1,2: 47:[85, 25] Operation: 78-53=25
Moving to Node #0,2
Current State: 47:[78, 85, 53], Operations: ['85-32=53']
Exploring Operation: 78-53=25, Resulting Numbers: [85, 25]
Generated Node #0,2,0: 47:[85, 25] Operation: 78-53=25
Exploring Operation: 85-53=32, Resulting Numbers: [78, 32]
Generated Node #0,2,1: 47:[78, 32] Operation: 85-53=32
Exploring Operation: 85-78=7, Resulting Numbers: [53, 7]
Generated Node #0,2,2: 47:[53, 7] Operation: 85-78=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[78, 32], Operations: ['85-32=53', '85-53=32']
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 78*32=2496, Resulting Numbers: [2496]
2496,47 unequal: No Solution
Exploring Operation: 78+32=110, Resulting Numbers: [110]
110,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[53, 7], Operations: ['85-32=53', '85-78=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,47 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[85, 25], Operations: ['85-32=53', '78-53=25']
Exploring Operation: 85*25=2125, Resulting Numbers: [2125]
2125,47 unequal: No Solution
Exploring Operation: 85+25=110, Resulting Numbers: [110]
110,47 unequal: No Solution
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,47 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: 47:[85, 85, 46], Operations: ['78-32=46']
Exploring Operation: 85-46=39, Resulting Numbers: [85, 39]
Generated Node #0,0,0: 47:[85, 39] Operation: 85-46=39
Exploring Operation: 85-46=39, Resulting Numbers: [85, 39]
Generated Node #0,0,1: 47:[85, 39] Operation: 85-46=39
Exploring Operation: 85/85=1, Resulting Numbers: [46, 1]
Generated Node #0,0,2: 47:[46, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[85, 39], Operations: ['78-32=46', '85-46=39']
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[85, 39], Operations: ['78-32=46', '85-46=39']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[46, 1], Operations: ['78-32=46', '85/85=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[78, 85, 32, 85], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [85, 85, 46]
Generated Node #0,0: 47:[85, 85, 46] Operation: 78-32=46
Moving to Node #0,0
Current State: 47:[85, 85, 46], Operations: ['78-32=46']
Exploring Operation: 85/85=1, Resulting Numbers: [46, 1]
Generated Node #0,0,2: 47:[46, 1] Operation: 85/85=1
Moving to Node #0,0,2
Current State: 47:[46, 1], Operations: ['78-32=46', '85/85=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222
|
hs_3
|
mult_heuristic
|
[
48,
33,
76,
32
] | 54
|
[
"33*32=1056",
"1056/48=22",
"76-22=54"
] |
Current State: 54:[48, 33, 76, 32], Operations: []
Exploring Operation: 33*32=1056, Resulting Numbers: [48, 76, 1056]
Generated Node #2: [48, 76, 1056] from Operation: 33*32=1056
Current State: 54:[48, 76, 1056], Operations: ['33*32=1056']
Exploring Operation: 1056/48=22, Resulting Numbers: [76, 22]
Generated Node #3: [76, 22] from Operation: 1056/48=22
Current State: 54:[76, 22], Operations: ['33*32=1056', '1056/48=22']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[48, 33, 76, 32], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [33, 32, 28]
Generated Node #0,0: 54:[33, 32, 28] Operation: 76-48=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[33, 32, 28], Operations: ['76-48=28']
Exploring Operation: 33-32=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 54:[28, 1] Operation: 33-32=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[28, 1], Operations: ['76-48=28', '33-32=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
44,
14,
35,
86
] | 98
|
[
"44+35=79",
"86-79=7",
"14*7=98"
] |
Current State: 98:[44, 14, 35, 86], Operations: []
Exploring Operation: 44+35=79, Resulting Numbers: [14, 86, 79]
Generated Node #2: [14, 86, 79] from Operation: 44+35=79
Current State: 98:[14, 86, 79], Operations: ['44+35=79']
Exploring Operation: 86-79=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 86-79=7
Current State: 98:[14, 7], Operations: ['44+35=79', '86-79=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[44, 14, 35, 86], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [44, 14, 51]
Generated Node #0,0: 98:[44, 14, 51] Operation: 86-35=51
Exploring Operation: 14+86=100, Resulting Numbers: [44, 35, 100]
Generated Node #0,1: 98:[44, 35, 100] Operation: 14+86=100
Exploring Operation: 14+35=49, Resulting Numbers: [44, 86, 49]
Generated Node #0,2: 98:[44, 86, 49] Operation: 14+35=49
Exploring Operation: 86-44=42, Resulting Numbers: [14, 35, 42]
Generated Node #0,3: 98:[14, 35, 42] Operation: 86-44=42
Exploring Operation: 44-35=9, Resulting Numbers: [14, 86, 9]
Generated Node #0,4: 98:[14, 86, 9] Operation: 44-35=9
Moving to Node #0,0
Current State: 98:[44, 14, 51], Operations: ['86-35=51']
Exploring Operation: 44+51=95, Resulting Numbers: [14, 95]
Generated Node #0,0,0: 98:[14, 95] Operation: 44+51=95
Exploring Operation: 44+14=58, Resulting Numbers: [51, 58]
Generated Node #0,0,1: 98:[51, 58] Operation: 44+14=58
Exploring Operation: 44-14=30, Resulting Numbers: [51, 30]
Generated Node #0,0,2: 98:[51, 30] Operation: 44-14=30
Exploring Operation: 51-44=7, Resulting Numbers: [14, 7]
Generated Node #0,0,3: 98:[14, 7] Operation: 51-44=7
Exploring Operation: 51-14=37, Resulting Numbers: [44, 37]
Generated Node #0,0,4: 98:[44, 37] Operation: 51-14=37
Moving to Node #0,4
Current State: 98:[14, 86, 9], Operations: ['44-35=9']
Exploring Operation: 86-9=77, Resulting Numbers: [14, 77]
Generated Node #0,4,0: 98:[14, 77] Operation: 86-9=77
Exploring Operation: 14+9=23, Resulting Numbers: [86, 23]
Generated Node #0,4,1: 98:[86, 23] Operation: 14+9=23
Exploring Operation: 14+86=100, Resulting Numbers: [9, 100]
Generated Node #0,4,2: 98:[9, 100] Operation: 14+86=100
Exploring Operation: 86+9=95, Resulting Numbers: [14, 95]
Generated Node #0,4,3: 98:[14, 95] Operation: 86+9=95
Exploring Operation: 14-9=5, Resulting Numbers: [86, 5]
Generated Node #0,4,4: 98:[86, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[14, 95], Operations: ['44-35=9', '86+9=95']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 14*95=1330, Resulting Numbers: [1330]
1330,98 unequal: No Solution
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[9, 100], Operations: ['44-35=9', '14+86=100']
Exploring Operation: 9+100=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 9*100=900, Resulting Numbers: [900]
900,98 unequal: No Solution
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 98:[86, 5], Operations: ['44-35=9', '14-9=5']
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,98 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[14, 77], Operations: ['44-35=9', '86-9=77']
Exploring Operation: 14*77=1078, Resulting Numbers: [1078]
1078,98 unequal: No Solution
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 14+77=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[86, 23], Operations: ['44-35=9', '14+9=23']
Exploring Operation: 86*23=1978, Resulting Numbers: [1978]
1978,98 unequal: No Solution
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 86+23=109, Resulting Numbers: [109]
109,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 98:[44, 86, 49], Operations: ['14+35=49']
Exploring Operation: 44+49=93, Resulting Numbers: [86, 93]
Generated Node #0,2,0: 98:[86, 93] Operation: 44+49=93
Exploring Operation: 86-49=37, Resulting Numbers: [44, 37]
Generated Node #0,2,1: 98:[44, 37] Operation: 86-49=37
Exploring Operation: 86-44=42, Resulting Numbers: [49, 42]
Generated Node #0,2,2: 98:[49, 42] Operation: 86-44=42
Exploring Operation: 44+86=130, Resulting Numbers: [49, 130]
Generated Node #0,2,3: 98:[49, 130] Operation: 44+86=130
Exploring Operation: 49-44=5, Resulting Numbers: [86, 5]
Generated Node #0,2,4: 98:[86, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[49, 42], Operations: ['14+35=49', '86-44=42']
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,98 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 98:[86, 5], Operations: ['14+35=49', '49-44=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,98 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[86, 93], Operations: ['14+35=49', '44+49=93']
Exploring Operation: 86*93=7998, Resulting Numbers: [7998]
7998,98 unequal: No Solution
Exploring Operation: 86+93=179, Resulting Numbers: [179]
179,98 unequal: No Solution
Exploring Operation: 93-86=7, Resulting Numbers: [7]
7,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[44, 37], Operations: ['14+35=49', '86-49=37']
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,98 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[49, 130], Operations: ['14+35=49', '44+86=130']
Exploring Operation: 130-49=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 49+130=179, Resulting Numbers: [179]
179,98 unequal: No Solution
Exploring Operation: 49*130=6370, Resulting Numbers: [6370]
6370,98 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: 98:[44, 35, 100], Operations: ['14+86=100']
Exploring Operation: 100-44=56, Resulting Numbers: [35, 56]
Generated Node #0,1,0: 98:[35, 56] Operation: 100-44=56
Exploring Operation: 100-35=65, Resulting Numbers: [44, 65]
Generated Node #0,1,1: 98:[44, 65] Operation: 100-35=65
Exploring Operation: 35+100=135, Resulting Numbers: [44, 135]
Generated Node #0,1,2: 98:[44, 135] Operation: 35+100=135
Exploring Operation: 44-35=9, Resulting Numbers: [100, 9]
Generated Node #0,1,3: 98:[100, 9] Operation: 44-35=9
Exploring Operation: 44+35=79, Resulting Numbers: [100, 79]
Generated Node #0,1,4: 98:[100, 79] Operation: 44+35=79
Moving to Node #0,3
Current State: 98:[14, 35, 42], Operations: ['86-44=42']
Exploring Operation: 14+35=49, Resulting Numbers: [42, 49]
Generated Node #0,3,0: 98:[42, 49] Operation: 14+35=49
Exploring Operation: 35-14=21, Resulting Numbers: [42, 21]
Generated Node #0,3,1: 98:[42, 21] Operation: 35-14=21
Exploring Operation: 42-35=7, Resulting Numbers: [14, 7]
Generated Node #0,3,2: 98:[14, 7] Operation: 42-35=7
Exploring Operation: 42/14=3, Resulting Numbers: [35, 3]
Generated Node #0,3,3: 98:[35, 3] Operation: 42/14=3
Exploring Operation: 14+42=56, Resulting Numbers: [35, 56]
Generated Node #0,3,4: 98:[35, 56] Operation: 14+42=56
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[14, 7], Operations: ['86-44=42', '42-35=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[44, 14, 35, 86], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [14, 35, 42]
Generated Node #0,3: 98:[14, 35, 42] Operation: 86-44=42
Moving to Node #0,3
Current State: 98:[14, 35, 42], Operations: ['86-44=42']
Exploring Operation: 42-35=7, Resulting Numbers: [14, 7]
Generated Node #0,3,2: 98:[14, 7] Operation: 42-35=7
Moving to Node #0,3,2
Current State: 98:[14, 7], Operations: ['86-44=42', '42-35=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.943576
|
hs_5
|
sum_heuristic
|
[
47,
81,
20,
21
] | 35
|
[
"81-47=34",
"21-20=1",
"34+1=35"
] |
Current State: 35:[47, 81, 20, 21], Operations: []
Exploring Operation: 81-47=34, Resulting Numbers: [20, 21, 34]
Generated Node #2: [20, 21, 34] from Operation: 81-47=34
Current State: 35:[20, 21, 34], Operations: ['81-47=34']
Exploring Operation: 21-20=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 21-20=1
Current State: 35:[34, 1], Operations: ['81-47=34', '21-20=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[47, 81, 20, 21], Operations: []
Exploring Operation: 81-47=34, Resulting Numbers: [20, 21, 34]
Generated Node #0,0: 35:[20, 21, 34] Operation: 81-47=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[20, 21, 34], Operations: ['81-47=34']
Exploring Operation: 21-20=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 35:[34, 1] Operation: 21-20=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[34, 1], Operations: ['81-47=34', '21-20=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[47, 81, 20, 21], Operations: []
Exploring Operation: 81-47=34, Resulting Numbers: [20, 21, 34]
Generated Node #0,0: 35:[20, 21, 34] Operation: 81-47=34
Moving to Node #0,0
Current State: 35:[20, 21, 34], Operations: ['81-47=34']
Exploring Operation: 21-20=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 35:[34, 1] Operation: 21-20=1
Moving to Node #0,0,0
Current State: 35:[34, 1], Operations: ['81-47=34', '21-20=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
3,
11,
26,
93
] | 36
|
[
"26-11=15",
"93+15=108",
"108/3=36"
] |
Current State: 36:[3, 11, 26, 93], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [3, 93, 15]
Generated Node #2: [3, 93, 15] from Operation: 26-11=15
Current State: 36:[3, 93, 15], Operations: ['26-11=15']
Exploring Operation: 93+15=108, Resulting Numbers: [3, 108]
Generated Node #3: [3, 108] from Operation: 93+15=108
Current State: 36:[3, 108], Operations: ['26-11=15', '93+15=108']
Exploring Operation: 108/3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[3, 11, 26, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [11, 26, 31]
Generated Node #0,0: 36:[11, 26, 31] Operation: 93/3=31
Moving to Node #0,0
Current State: 36:[11, 26, 31], Operations: ['93/3=31']
Exploring Operation: 31-26=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 36:[11, 5] Operation: 31-26=5
Moving to Node #0,0,0
Current State: 36:[11, 5], Operations: ['93/3=31', '31-26=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
63,
42,
73,
35
] | 59
|
[
"63-42=21",
"73-35=38",
"21+38=59"
] |
Current State: 59:[63, 42, 73, 35], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [73, 35, 21]
Generated Node #2: [73, 35, 21] from Operation: 63-42=21
Current State: 59:[73, 35, 21], Operations: ['63-42=21']
Exploring Operation: 73-35=38, Resulting Numbers: [21, 38]
Generated Node #3: [21, 38] from Operation: 73-35=38
Current State: 59:[21, 38], Operations: ['63-42=21', '73-35=38']
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4
|
Current State: 59:[63, 42, 73, 35], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [63, 42, 38]
Generated Node #0,0: 59:[63, 42, 38] Operation: 73-35=38
Exploring Operation: 42+35=77, Resulting Numbers: [63, 73, 77]
Generated Node #0,1: 59:[63, 73, 77] Operation: 42+35=77
Exploring Operation: 73-42=31, Resulting Numbers: [63, 35, 31]
Generated Node #0,2: 59:[63, 35, 31] Operation: 73-42=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[63, 73, 77], Operations: ['42+35=77']
Exploring Operation: 77-73=4, Resulting Numbers: [63, 4]
Generated Node #0,1,0: 59:[63, 4] Operation: 77-73=4
Exploring Operation: 73-63=10, Resulting Numbers: [77, 10]
Generated Node #0,1,1: 59:[77, 10] Operation: 73-63=10
Exploring Operation: 77-63=14, Resulting Numbers: [73, 14]
Generated Node #0,1,2: 59:[73, 14] Operation: 77-63=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[63, 4], Operations: ['42+35=77', '77-73=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,59 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[63, 42, 73, 35], Operations: []
Exploring Operation: 42+35=77, Resulting Numbers: [63, 73, 77]
Generated Node #0,1: 59:[63, 73, 77] Operation: 42+35=77
Moving to Node #0,1
Current State: 59:[63, 73, 77], Operations: ['42+35=77']
Exploring Operation: 77-73=4, Resulting Numbers: [63, 4]
Generated Node #0,1,0: 59:[63, 4] Operation: 77-73=4
Moving to Node #0,1,0
Current State: 59:[63, 4], Operations: ['42+35=77', '77-73=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
66,
61,
43,
85
] | 47
|
[
"66-61=5",
"85-43=42",
"5+42=47"
] |
Current State: 47:[66, 61, 43, 85], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [43, 85, 5]
Generated Node #2: [43, 85, 5] from Operation: 66-61=5
Current State: 47:[43, 85, 5], Operations: ['66-61=5']
Exploring Operation: 85-43=42, Resulting Numbers: [5, 42]
Generated Node #3: [5, 42] from Operation: 85-43=42
Current State: 47:[5, 42], Operations: ['66-61=5', '85-43=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[66, 61, 43, 85], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [61, 43, 19]
Generated Node #0,0: 47:[61, 43, 19] Operation: 85-66=19
Exploring Operation: 66-61=5, Resulting Numbers: [43, 85, 5]
Generated Node #0,1: 47:[43, 85, 5] Operation: 66-61=5
Exploring Operation: 66-43=23, Resulting Numbers: [61, 85, 23]
Generated Node #0,2: 47:[61, 85, 23] Operation: 66-43=23
Exploring Operation: 85-61=24, Resulting Numbers: [66, 43, 24]
Generated Node #0,3: 47:[66, 43, 24] Operation: 85-61=24
Exploring Operation: 85-43=42, Resulting Numbers: [66, 61, 42]
Generated Node #0,4: 47:[66, 61, 42] Operation: 85-43=42
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[66, 61, 42], Operations: ['85-43=42']
Exploring Operation: 66-61=5, Resulting Numbers: [42, 5]
Generated Node #0,4,0: 47:[42, 5] Operation: 66-61=5
Exploring Operation: 66-42=24, Resulting Numbers: [61, 24]
Generated Node #0,4,1: 47:[61, 24] Operation: 66-42=24
Exploring Operation: 61-42=19, Resulting Numbers: [66, 19]
Generated Node #0,4,2: 47:[66, 19] Operation: 61-42=19
Exploring Operation: 66+42=108, Resulting Numbers: [61, 108]
Generated Node #0,4,3: 47:[61, 108] Operation: 66+42=108
Exploring Operation: 61+42=103, Resulting Numbers: [66, 103]
Generated Node #0,4,4: 47:[66, 103] Operation: 61+42=103
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 47:[61, 24], Operations: ['85-43=42', '66-42=24']
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,47 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 47:[42, 5], Operations: ['85-43=42', '66-61=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,47 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[66, 61, 43, 85], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [66, 61, 42]
Generated Node #0,4: 47:[66, 61, 42] Operation: 85-43=42
Moving to Node #0,4
Current State: 47:[66, 61, 42], Operations: ['85-43=42']
Exploring Operation: 66-61=5, Resulting Numbers: [42, 5]
Generated Node #0,4,0: 47:[42, 5] Operation: 66-61=5
Moving to Node #0,4,0
Current State: 47:[42, 5], Operations: ['85-43=42', '66-61=5']
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
mult_heuristic
|
[
14,
78,
68,
38
] | 14
|
[
"14+78=92",
"68+38=106",
"106-92=14"
] |
Current State: 14:[14, 78, 68, 38], Operations: []
Exploring Operation: 14+78=92, Resulting Numbers: [68, 38, 92]
Generated Node #2: [68, 38, 92] from Operation: 14+78=92
Current State: 14:[68, 38, 92], Operations: ['14+78=92']
Exploring Operation: 68+38=106, Resulting Numbers: [92, 106]
Generated Node #3: [92, 106] from Operation: 68+38=106
Current State: 14:[92, 106], Operations: ['14+78=92', '68+38=106']
Exploring Operation: 106-92=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[14, 78, 68, 38], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [14, 38, 10]
Generated Node #0,0: 14:[14, 38, 10] Operation: 78-68=10
Exploring Operation: 78-38=40, Resulting Numbers: [14, 68, 40]
Generated Node #0,1: 14:[14, 68, 40] Operation: 78-38=40
Exploring Operation: 68-38=30, Resulting Numbers: [14, 78, 30]
Generated Node #0,2: 14:[14, 78, 30] Operation: 68-38=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[14, 38, 10], Operations: ['78-68=10']
Exploring Operation: 38-10=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 14:[14, 28] Operation: 38-10=28
Exploring Operation: 14-10=4, Resulting Numbers: [38, 4]
Generated Node #0,0,1: 14:[38, 4] Operation: 14-10=4
Exploring Operation: 38-14=24, Resulting Numbers: [10, 24]
Generated Node #0,0,2: 14:[10, 24] Operation: 38-14=24
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[10, 24], Operations: ['78-68=10', '38-14=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,14 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[14, 78, 68, 38], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [14, 38, 10]
Generated Node #0,0: 14:[14, 38, 10] Operation: 78-68=10
Moving to Node #0,0
Current State: 14:[14, 38, 10], Operations: ['78-68=10']
Exploring Operation: 38-14=24, Resulting Numbers: [10, 24]
Generated Node #0,0,2: 14:[10, 24] Operation: 38-14=24
Moving to Node #0,0,2
Current State: 14:[10, 24], Operations: ['78-68=10', '38-14=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
25,
50,
70,
11
] | 79
|
[
"50/25=2",
"70+11=81",
"81-2=79"
] |
Current State: 79:[25, 50, 70, 11], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [70, 11, 2]
Generated Node #2: [70, 11, 2] from Operation: 50/25=2
Current State: 79:[70, 11, 2], Operations: ['50/25=2']
Exploring Operation: 70+11=81, Resulting Numbers: [2, 81]
Generated Node #3: [2, 81] from Operation: 70+11=81
Current State: 79:[2, 81], Operations: ['50/25=2', '70+11=81']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4
|
Current State: 79:[25, 50, 70, 11], Operations: []
Exploring Operation: 70+11=81, Resulting Numbers: [25, 50, 81]
Generated Node #0,0: 79:[25, 50, 81] Operation: 70+11=81
Exploring Operation: 50+11=61, Resulting Numbers: [25, 70, 61]
Generated Node #0,1: 79:[25, 70, 61] Operation: 50+11=61
Exploring Operation: 25+11=36, Resulting Numbers: [50, 70, 36]
Generated Node #0,2: 79:[50, 70, 36] Operation: 25+11=36
Exploring Operation: 25+50=75, Resulting Numbers: [70, 11, 75]
Generated Node #0,3: 79:[70, 11, 75] Operation: 25+50=75
Moving to Node #0,1
Current State: 79:[25, 70, 61], Operations: ['50+11=61']
Exploring Operation: 61-25=36, Resulting Numbers: [70, 36]
Generated Node #0,1,0: 79:[70, 36] Operation: 61-25=36
Exploring Operation: 25+70=95, Resulting Numbers: [61, 95]
Generated Node #0,1,1: 79:[61, 95] Operation: 25+70=95
Exploring Operation: 25+61=86, Resulting Numbers: [70, 86]
Generated Node #0,1,2: 79:[70, 86] Operation: 25+61=86
Exploring Operation: 70-25=45, Resulting Numbers: [61, 45]
Generated Node #0,1,3: 79:[61, 45] Operation: 70-25=45
Moving to Node #0,3
Current State: 79:[70, 11, 75], Operations: ['25+50=75']
Exploring Operation: 70-11=59, Resulting Numbers: [75, 59]
Generated Node #0,3,0: 79:[75, 59] Operation: 70-11=59
Exploring Operation: 70+11=81, Resulting Numbers: [75, 81]
Generated Node #0,3,1: 79:[75, 81] Operation: 70+11=81
Exploring Operation: 75-11=64, Resulting Numbers: [70, 64]
Generated Node #0,3,2: 79:[70, 64] Operation: 75-11=64
Exploring Operation: 11+75=86, Resulting Numbers: [70, 86]
Generated Node #0,3,3: 79:[70, 86] Operation: 11+75=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[75, 81], Operations: ['25+50=75', '70+11=81']
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,79 unequal: No Solution
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,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,3,3
Current State: 79:[70, 86], Operations: ['25+50=75', '11+75=86']
Exploring Operation: 70*86=6020, Resulting Numbers: [6020]
6020,79 unequal: No Solution
Exploring Operation: 70+86=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,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,3,0
Current State: 79:[75, 59], Operations: ['25+50=75', '70-11=59']
Exploring Operation: 75*59=4425, Resulting Numbers: [4425]
4425,79 unequal: No Solution
Exploring Operation: 75+59=134, Resulting Numbers: [134]
134,79 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,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,3,2
Current State: 79:[70, 64], Operations: ['25+50=75', '75-11=64']
Exploring Operation: 70+64=134, Resulting Numbers: [134]
134,79 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 70*64=4480, Resulting Numbers: [4480]
4480,79 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: 79:[50, 70, 36], Operations: ['25+11=36']
Exploring Operation: 70-36=34, Resulting Numbers: [50, 34]
Generated Node #0,2,0: 79:[50, 34] Operation: 70-36=34
Exploring Operation: 50+36=86, Resulting Numbers: [70, 86]
Generated Node #0,2,1: 79:[70, 86] Operation: 50+36=86
Exploring Operation: 50-36=14, Resulting Numbers: [70, 14]
Generated Node #0,2,2: 79:[70, 14] Operation: 50-36=14
Exploring Operation: 70+36=106, Resulting Numbers: [50, 106]
Generated Node #0,2,3: 79:[50, 106] Operation: 70+36=106
Moving to Node #0,0
Current State: 79:[25, 50, 81], Operations: ['70+11=81']
Exploring Operation: 25+50=75, Resulting Numbers: [81, 75]
Generated Node #0,0,0: 79:[81, 75] Operation: 25+50=75
Exploring Operation: 81-25=56, Resulting Numbers: [50, 56]
Generated Node #0,0,1: 79:[50, 56] Operation: 81-25=56
Exploring Operation: 50-25=25, Resulting Numbers: [81, 25]
Generated Node #0,0,2: 79:[81, 25] Operation: 50-25=25
Exploring Operation: 25+81=106, Resulting Numbers: [50, 106]
Generated Node #0,0,3: 79:[50, 106] Operation: 25+81=106
Moving to Node #0,0,0
Current State: 79:[81, 75], Operations: ['70+11=81', '25+50=75']
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,79 unequal: No Solution
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[70, 86], Operations: ['50+11=61', '25+61=86']
Exploring Operation: 70*86=6020, Resulting Numbers: [6020]
6020,79 unequal: No Solution
Exploring Operation: 70+86=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[70, 86], Operations: ['25+11=36', '50+36=86']
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 70*86=6020, Resulting Numbers: [6020]
6020,79 unequal: No Solution
Exploring Operation: 70+86=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[61, 95], Operations: ['50+11=61', '25+70=95']
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 61+95=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 61*95=5795, Resulting Numbers: [5795]
5795,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[70, 36], Operations: ['50+11=61', '61-25=36']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,79 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[50, 56], Operations: ['70+11=81', '81-25=56']
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,79 unequal: No Solution
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[61, 45], Operations: ['50+11=61', '70-25=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[50, 106], Operations: ['25+11=36', '70+36=106']
Exploring Operation: 106-50=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 50*106=5300, Resulting Numbers: [5300]
5300,79 unequal: No Solution
Exploring Operation: 50+106=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[50, 106], Operations: ['70+11=81', '25+81=106']
Exploring Operation: 50+106=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 106-50=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 50*106=5300, Resulting Numbers: [5300]
5300,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[81, 25], Operations: ['70+11=81', '50-25=25']
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[70, 14], Operations: ['25+11=36', '50-36=14']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,79 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[50, 34], Operations: ['25+11=36', '70-36=34']
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,79 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,79 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
77,
80,
5,
8
] | 64
|
[
"80-77=3",
"5+3=8",
"8*8=64"
] |
Current State: 64:[77, 80, 5, 8], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [5, 8, 3]
Generated Node #2: [5, 8, 3] from Operation: 80-77=3
Current State: 64:[5, 8, 3], Operations: ['80-77=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 5+3=8
Current State: 64:[8, 8], Operations: ['80-77=3', '5+3=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[77, 80, 5, 8], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [77, 8, 16]
Generated Node #0,0: 64:[77, 8, 16] Operation: 80/5=16
Exploring Operation: 80-77=3, Resulting Numbers: [5, 8, 3]
Generated Node #0,1: 64:[5, 8, 3] Operation: 80-77=3
Exploring Operation: 80/8=10, Resulting Numbers: [77, 5, 10]
Generated Node #0,2: 64:[77, 5, 10] Operation: 80/8=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[5, 8, 3], Operations: ['80-77=3']
Exploring Operation: 5-3=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 64:[8, 2] Operation: 5-3=2
Exploring Operation: 5+3=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 5+3=8
Exploring Operation: 5*3=15, Resulting Numbers: [8, 15]
Generated Node #0,1,2: 64:[8, 15] Operation: 5*3=15
Moving to Node #0,1,0
Current State: 64:[8, 2], Operations: ['80-77=3', '5-3=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['80-77=3', '5+3=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[77, 80, 5, 8], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [5, 8, 3]
Generated Node #0,1: 64:[5, 8, 3] Operation: 80-77=3
Moving to Node #0,1
Current State: 64:[5, 8, 3], Operations: ['80-77=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 5+3=8
Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['80-77=3', '5+3=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_3
|
sum_heuristic
|
[
36,
21,
3,
62
] | 35
|
[
"36+62=98",
"21*3=63",
"98-63=35"
] |
Current State: 35:[36, 21, 3, 62], Operations: []
Exploring Operation: 36+62=98, Resulting Numbers: [21, 3, 98]
Generated Node #2: [21, 3, 98] from Operation: 36+62=98
Current State: 35:[21, 3, 98], Operations: ['36+62=98']
Exploring Operation: 21*3=63, Resulting Numbers: [98, 63]
Generated Node #3: [98, 63] from Operation: 21*3=63
Current State: 35:[98, 63], Operations: ['36+62=98', '21*3=63']
Exploring Operation: 98-63=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[36, 21, 3, 62], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [36, 3, 41]
Generated Node #0,0: 35:[36, 3, 41] Operation: 62-21=41
Exploring Operation: 62-36=26, Resulting Numbers: [21, 3, 26]
Generated Node #0,1: 35:[21, 3, 26] Operation: 62-36=26
Moving to Node #0,0
Current State: 35:[36, 3, 41], Operations: ['62-21=41']
Exploring Operation: 41-3=38, Resulting Numbers: [36, 38]
Generated Node #0,0,0: 35:[36, 38] Operation: 41-3=38
Exploring Operation: 41-36=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 35:[3, 5] Operation: 41-36=5
Moving to Node #0,1
Current State: 35:[21, 3, 26], Operations: ['62-36=26']
Exploring Operation: 26-21=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 35:[3, 5] Operation: 26-21=5
Exploring Operation: 21/3=7, Resulting Numbers: [26, 7]
Generated Node #0,1,1: 35:[26, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[3, 5], Operations: ['62-36=26', '26-21=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[26, 7], Operations: ['62-36=26', '21/3=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 35:[3, 5], Operations: ['62-21=41', '41-36=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[36, 38], Operations: ['62-21=41', '41-3=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
8,
10,
40,
16
] | 70
|
[
"40/8=5",
"16*5=80",
"80-10=70"
] |
Current State: 70:[8, 10, 40, 16], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [10, 16, 5]
Generated Node #2: [10, 16, 5] from Operation: 40/8=5
Current State: 70:[10, 16, 5], Operations: ['40/8=5']
Exploring Operation: 16*5=80, Resulting Numbers: [10, 80]
Generated Node #3: [10, 80] from Operation: 16*5=80
Current State: 70:[10, 80], Operations: ['40/8=5', '16*5=80']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[8, 10, 40, 16], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [8, 16, 4]
Generated Node #0,0: 70:[8, 16, 4] Operation: 40/10=4
Exploring Operation: 40/8=5, Resulting Numbers: [10, 16, 5]
Generated Node #0,1: 70:[10, 16, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[10, 16, 5], Operations: ['40/8=5']
Exploring Operation: 16-5=11, Resulting Numbers: [10, 11]
Generated Node #0,1,0: 70:[10, 11] Operation: 16-5=11
Exploring Operation: 16-10=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 70:[5, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[10, 11], Operations: ['40/8=5', '16-5=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[5, 6], Operations: ['40/8=5', '16-10=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[8, 16, 4], Operations: ['40/10=4']
Exploring Operation: 16-8=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 70:[4, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 70:[4, 2] Operation: 16/8=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[4, 2], Operations: ['40/10=4', '16/8=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[4, 8], Operations: ['40/10=4', '16-8=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
67,
68,
3,
67
] | 68
|
[
"67-67=0",
"3*0=0",
"68+0=68"
] |
Current State: 68:[67, 68, 3, 67], Operations: []
Exploring Operation: 67-67=0, Resulting Numbers: [68, 3, 0]
Generated Node #2: [68, 3, 0] from Operation: 67-67=0
Current State: 68:[68, 3, 0], Operations: ['67-67=0']
Exploring Operation: 3*0=0, Resulting Numbers: [68, 0]
Generated Node #3: [68, 0] from Operation: 3*0=0
Current State: 68:[68, 0], Operations: ['67-67=0', '3*0=0']
Exploring Operation: 68+0=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[67, 68, 3, 67], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [3, 67, 1]
Generated Node #0,0: 68:[3, 67, 1] Operation: 68-67=1
Exploring Operation: 67/67=1, Resulting Numbers: [68, 3, 1]
Generated Node #0,1: 68:[68, 3, 1] Operation: 67/67=1
Moving to Node #0,1
Current State: 68:[68, 3, 1], Operations: ['67/67=1']
Exploring Operation: 3+1=4, Resulting Numbers: [68, 4]
Generated Node #0,1,0: 68:[68, 4] Operation: 3+1=4
Exploring Operation: 3-1=2, Resulting Numbers: [68, 2]
Generated Node #0,1,1: 68:[68, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[68, 4], Operations: ['67/67=1', '3+1=4']
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[68, 2], Operations: ['67/67=1', '3-1=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,68 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: 68:[3, 67, 1], Operations: ['68-67=1']
Exploring Operation: 3-1=2, Resulting Numbers: [67, 2]
Generated Node #0,0,0: 68:[67, 2] Operation: 3-1=2
Exploring Operation: 3+1=4, Resulting Numbers: [67, 4]
Generated Node #0,0,1: 68:[67, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[67, 2], Operations: ['68-67=1', '3-1=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[67, 4], Operations: ['68-67=1', '3+1=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
59,
90,
26,
20
] | 40
|
[
"90*26=2340",
"20+2340=2360",
"2360/59=40"
] |
Current State: 40:[59, 90, 26, 20], Operations: []
Exploring Operation: 90*26=2340, Resulting Numbers: [59, 20, 2340]
Generated Node #2: [59, 20, 2340] from Operation: 90*26=2340
Current State: 40:[59, 20, 2340], Operations: ['90*26=2340']
Exploring Operation: 20+2340=2360, Resulting Numbers: [59, 2360]
Generated Node #3: [59, 2360] from Operation: 20+2340=2360
Current State: 40:[59, 2360], Operations: ['90*26=2340', '20+2340=2360']
Exploring Operation: 2360/59=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[59, 90, 26, 20], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [59, 26, 70]
Generated Node #0,0: 40:[59, 26, 70] Operation: 90-20=70
Exploring Operation: 90-59=31, Resulting Numbers: [26, 20, 31]
Generated Node #0,1: 40:[26, 20, 31] Operation: 90-59=31
Exploring Operation: 59-26=33, Resulting Numbers: [90, 20, 33]
Generated Node #0,2: 40:[90, 20, 33] Operation: 59-26=33
Exploring Operation: 90-26=64, Resulting Numbers: [59, 20, 64]
Generated Node #0,3: 40:[59, 20, 64] Operation: 90-26=64
Moving to Node #0,1
Current State: 40:[26, 20, 31], Operations: ['90-59=31']
Exploring Operation: 26+20=46, Resulting Numbers: [31, 46]
Generated Node #0,1,0: 40:[31, 46] Operation: 26+20=46
Exploring Operation: 26-20=6, Resulting Numbers: [31, 6]
Generated Node #0,1,1: 40:[31, 6] Operation: 26-20=6
Exploring Operation: 31-26=5, Resulting Numbers: [20, 5]
Generated Node #0,1,2: 40:[20, 5] Operation: 31-26=5
Exploring Operation: 31-20=11, Resulting Numbers: [26, 11]
Generated Node #0,1,3: 40:[26, 11] Operation: 31-20=11
Moving to Node #0,3
Current State: 40:[59, 20, 64], Operations: ['90-26=64']
Exploring Operation: 59+20=79, Resulting Numbers: [64, 79]
Generated Node #0,3,0: 40:[64, 79] Operation: 59+20=79
Exploring Operation: 59-20=39, Resulting Numbers: [64, 39]
Generated Node #0,3,1: 40:[64, 39] Operation: 59-20=39
Exploring Operation: 64-59=5, Resulting Numbers: [20, 5]
Generated Node #0,3,2: 40:[20, 5] Operation: 64-59=5
Exploring Operation: 64-20=44, Resulting Numbers: [59, 44]
Generated Node #0,3,3: 40:[59, 44] Operation: 64-20=44
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[20, 5], Operations: ['90-26=64', '64-59=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,40 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 40:[59, 44], Operations: ['90-26=64', '64-20=44']
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[64, 39], Operations: ['90-26=64', '59-20=39']
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,40 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[64, 79], Operations: ['90-26=64', '59+20=79']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 64+79=143, Resulting Numbers: [143]
143,40 unequal: No Solution
Exploring Operation: 64*79=5056, Resulting Numbers: [5056]
5056,40 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: 40:[59, 26, 70], Operations: ['90-20=70']
Exploring Operation: 70-59=11, Resulting Numbers: [26, 11]
Generated Node #0,0,0: 40:[26, 11] Operation: 70-59=11
Exploring Operation: 59-26=33, Resulting Numbers: [70, 33]
Generated Node #0,0,1: 40:[70, 33] Operation: 59-26=33
Exploring Operation: 59+26=85, Resulting Numbers: [70, 85]
Generated Node #0,0,2: 40:[70, 85] Operation: 59+26=85
Exploring Operation: 70-26=44, Resulting Numbers: [59, 44]
Generated Node #0,0,3: 40:[59, 44] Operation: 70-26=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[26, 11], Operations: ['90-20=70', '70-59=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[59, 44], Operations: ['90-20=70', '70-26=44']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[70, 33], Operations: ['90-20=70', '59-26=33']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[70, 85], Operations: ['90-20=70', '59+26=85']
Exploring Operation: 70*85=5950, Resulting Numbers: [5950]
5950,40 unequal: No Solution
Exploring Operation: 70+85=155, Resulting Numbers: [155]
155,40 unequal: No Solution
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,40 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: 40:[90, 20, 33], Operations: ['59-26=33']
Exploring Operation: 20+33=53, Resulting Numbers: [90, 53]
Generated Node #0,2,0: 40:[90, 53] Operation: 20+33=53
Exploring Operation: 90-33=57, Resulting Numbers: [20, 57]
Generated Node #0,2,1: 40:[20, 57] Operation: 90-33=57
Exploring Operation: 90-20=70, Resulting Numbers: [33, 70]
Generated Node #0,2,2: 40:[33, 70] Operation: 90-20=70
Exploring Operation: 33-20=13, Resulting Numbers: [90, 13]
Generated Node #0,2,3: 40:[90, 13] Operation: 33-20=13
Moving to Node #0,1,2
Current State: 40:[20, 5], Operations: ['90-59=31', '31-26=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,40 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[26, 11], Operations: ['90-59=31', '31-20=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[31, 6], Operations: ['90-59=31', '26-20=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[31, 46], Operations: ['90-59=31', '26+20=46']
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[20, 57], Operations: ['59-26=33', '90-33=57']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 20*57=1140, Resulting Numbers: [1140]
1140,40 unequal: No Solution
Exploring Operation: 20+57=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[33, 70], Operations: ['59-26=33', '90-20=70']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,40 unequal: No Solution
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[90, 13], Operations: ['59-26=33', '33-20=13']
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,40 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[90, 53], Operations: ['59-26=33', '20+33=53']
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 90+53=143, Resulting Numbers: [143]
143,40 unequal: No Solution
Exploring Operation: 90*53=4770, Resulting Numbers: [4770]
4770,40 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
70,
68,
82,
83
] | 84
|
[
"70-68=2",
"83*2=166",
"166-82=84"
] |
Current State: 84:[70, 68, 82, 83], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [82, 83, 2]
Generated Node #2: [82, 83, 2] from Operation: 70-68=2
Current State: 84:[82, 83, 2], Operations: ['70-68=2']
Exploring Operation: 83*2=166, Resulting Numbers: [82, 166]
Generated Node #3: [82, 166] from Operation: 83*2=166
Current State: 84:[82, 166], Operations: ['70-68=2', '83*2=166']
Exploring Operation: 166-82=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[70, 68, 82, 83], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [82, 83, 2]
Generated Node #0,0: 84:[82, 83, 2] Operation: 70-68=2
Moving to Node #0,0
Current State: 84:[82, 83, 2], Operations: ['70-68=2']
Exploring Operation: 83-82=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 84:[2, 1] Operation: 83-82=1
Moving to Node #0,0,0
Current State: 84:[2, 1], Operations: ['70-68=2', '83-82=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,84 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
19,
3,
43,
41
] | 61
|
[
"19+43=62",
"3*41=123",
"123-62=61"
] |
Current State: 61:[19, 3, 43, 41], Operations: []
Exploring Operation: 19+43=62, Resulting Numbers: [3, 41, 62]
Generated Node #2: [3, 41, 62] from Operation: 19+43=62
Current State: 61:[3, 41, 62], Operations: ['19+43=62']
Exploring Operation: 3*41=123, Resulting Numbers: [62, 123]
Generated Node #3: [62, 123] from Operation: 3*41=123
Current State: 61:[62, 123], Operations: ['19+43=62', '3*41=123']
Exploring Operation: 123-62=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4
|
Current State: 61:[19, 3, 43, 41], Operations: []
Exploring Operation: 3+43=46, Resulting Numbers: [19, 41, 46]
Generated Node #0,0: 61:[19, 41, 46] Operation: 3+43=46
Exploring Operation: 19+41=60, Resulting Numbers: [3, 43, 60]
Generated Node #0,1: 61:[3, 43, 60] Operation: 19+41=60
Exploring Operation: 19*3=57, Resulting Numbers: [43, 41, 57]
Generated Node #0,2: 61:[43, 41, 57] Operation: 19*3=57
Exploring Operation: 19+3=22, Resulting Numbers: [43, 41, 22]
Generated Node #0,3: 61:[43, 41, 22] Operation: 19+3=22
Moving to Node #0,2
Current State: 61:[43, 41, 57], Operations: ['19*3=57']
Exploring Operation: 43-41=2, Resulting Numbers: [57, 2]
Generated Node #0,2,0: 61:[57, 2] Operation: 43-41=2
Exploring Operation: 43+41=84, Resulting Numbers: [57, 84]
Generated Node #0,2,1: 61:[57, 84] Operation: 43+41=84
Exploring Operation: 41+57=98, Resulting Numbers: [43, 98]
Generated Node #0,2,2: 61:[43, 98] Operation: 41+57=98
Exploring Operation: 43+57=100, Resulting Numbers: [41, 100]
Generated Node #0,2,3: 61:[41, 100] Operation: 43+57=100
Moving to Node #0,1
Current State: 61:[3, 43, 60], Operations: ['19+41=60']
Exploring Operation: 3+60=63, Resulting Numbers: [43, 63]
Generated Node #0,1,0: 61:[43, 63] Operation: 3+60=63
Exploring Operation: 43-3=40, Resulting Numbers: [60, 40]
Generated Node #0,1,1: 61:[60, 40] Operation: 43-3=40
Exploring Operation: 3+43=46, Resulting Numbers: [60, 46]
Generated Node #0,1,2: 61:[60, 46] Operation: 3+43=46
Exploring Operation: 60-3=57, Resulting Numbers: [43, 57]
Generated Node #0,1,3: 61:[43, 57] Operation: 60-3=57
Moving to Node #0,0
Current State: 61:[19, 41, 46], Operations: ['3+43=46']
Exploring Operation: 41-19=22, Resulting Numbers: [46, 22]
Generated Node #0,0,0: 61:[46, 22] Operation: 41-19=22
Exploring Operation: 19+46=65, Resulting Numbers: [41, 65]
Generated Node #0,0,1: 61:[41, 65] Operation: 19+46=65
Exploring Operation: 19+41=60, Resulting Numbers: [46, 60]
Generated Node #0,0,2: 61:[46, 60] Operation: 19+41=60
Exploring Operation: 46-19=27, Resulting Numbers: [41, 27]
Generated Node #0,0,3: 61:[41, 27] Operation: 46-19=27
Moving to Node #0,3
Current State: 61:[43, 41, 22], Operations: ['19+3=22']
Exploring Operation: 43+22=65, Resulting Numbers: [41, 65]
Generated Node #0,3,0: 61:[41, 65] Operation: 43+22=65
Exploring Operation: 41-22=19, Resulting Numbers: [43, 19]
Generated Node #0,3,1: 61:[43, 19] Operation: 41-22=19
Exploring Operation: 43-22=21, Resulting Numbers: [41, 21]
Generated Node #0,3,2: 61:[41, 21] Operation: 43-22=21
Exploring Operation: 41+22=63, Resulting Numbers: [43, 63]
Generated Node #0,3,3: 61:[43, 63] Operation: 41+22=63
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[43, 63], Operations: ['19+3=22', '41+22=63']
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,61 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[41, 65], Operations: ['19+3=22', '43+22=65']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,61 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[43, 19], Operations: ['19+3=22', '41-22=19']
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,61 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[41, 21], Operations: ['19+3=22', '43-22=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 61:[60, 46], Operations: ['19+41=60', '3+43=46']
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,61 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[46, 60], Operations: ['3+43=46', '19+41=60']
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,61 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[43, 63], Operations: ['19+41=60', '3+60=63']
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,61 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[60, 40], Operations: ['19+41=60', '43-3=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,61 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[43, 57], Operations: ['19+41=60', '60-3=57']
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,61 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[41, 65], Operations: ['3+43=46', '19+46=65']
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[57, 84], Operations: ['19*3=57', '43+41=84']
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,61 unequal: No Solution
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[46, 22], Operations: ['3+43=46', '41-19=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,61 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[41, 27], Operations: ['3+43=46', '46-19=27']
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[43, 98], Operations: ['19*3=57', '41+57=98']
Exploring Operation: 43*98=4214, Resulting Numbers: [4214]
4214,61 unequal: No Solution
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 43+98=141, Resulting Numbers: [141]
141,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[41, 100], Operations: ['19*3=57', '43+57=100']
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,61 unequal: No Solution
Exploring Operation: 41+100=141, Resulting Numbers: [141]
141,61 unequal: No Solution
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[57, 2], Operations: ['19*3=57', '43-41=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,61 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
43,
42,
68,
29
] | 12
|
[
"43+42=85",
"68+29=97",
"97-85=12"
] |
Current State: 12:[43, 42, 68, 29], Operations: []
Exploring Operation: 43+42=85, Resulting Numbers: [68, 29, 85]
Generated Node #2: [68, 29, 85] from Operation: 43+42=85
Current State: 12:[68, 29, 85], Operations: ['43+42=85']
Exploring Operation: 68+29=97, Resulting Numbers: [85, 97]
Generated Node #3: [85, 97] from Operation: 68+29=97
Current State: 12:[85, 97], Operations: ['43+42=85', '68+29=97']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[43, 42, 68, 29], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [42, 29, 25]
Generated Node #0,0: 12:[42, 29, 25] Operation: 68-43=25
Moving to Node #0,0
Current State: 12:[42, 29, 25], Operations: ['68-43=25']
Exploring Operation: 42-29=13, Resulting Numbers: [25, 13]
Generated Node #0,0,0: 12:[25, 13] Operation: 42-29=13
Moving to Node #0,0,0
Current State: 12:[25, 13], Operations: ['68-43=25', '42-29=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[43, 42, 68, 29], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [42, 29, 25]
Generated Node #0,0: 12:[42, 29, 25] Operation: 68-43=25
Moving to Node #0,0
Current State: 12:[42, 29, 25], Operations: ['68-43=25']
Exploring Operation: 42-29=13, Resulting Numbers: [25, 13]
Generated Node #0,0,0: 12:[25, 13] Operation: 42-29=13
Moving to Node #0,0,0
Current State: 12:[25, 13], Operations: ['68-43=25', '42-29=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.993924
|
hs_1
|
mult_heuristic
|
[
7,
2,
91,
77
] | 91
|
[
"91-7=84",
"2*84=168",
"168-77=91"
] |
Current State: 91:[7, 2, 91, 77], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [2, 77, 84]
Generated Node #2: [2, 77, 84] from Operation: 91-7=84
Current State: 91:[2, 77, 84], Operations: ['91-7=84']
Exploring Operation: 2*84=168, Resulting Numbers: [77, 168]
Generated Node #3: [77, 168] from Operation: 2*84=168
Current State: 91:[77, 168], Operations: ['91-7=84', '2*84=168']
Exploring Operation: 168-77=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4
|
Current State: 91:[7, 2, 91, 77], Operations: []
Exploring Operation: 7+77=84, Resulting Numbers: [2, 91, 84]
Generated Node #0,0: 91:[2, 91, 84] Operation: 7+77=84
Exploring Operation: 7*2=14, Resulting Numbers: [91, 77, 14]
Generated Node #0,1: 91:[91, 77, 14] Operation: 7*2=14
Exploring Operation: 2+77=79, Resulting Numbers: [7, 91, 79]
Generated Node #0,2: 91:[7, 91, 79] Operation: 2+77=79
Exploring Operation: 91-77=14, Resulting Numbers: [7, 2, 14]
Generated Node #0,3: 91:[7, 2, 14] Operation: 91-77=14
Exploring Operation: 77/7=11, Resulting Numbers: [2, 91, 11]
Generated Node #0,4: 91:[2, 91, 11] Operation: 77/7=11
Moving to Node #0,3
Current State: 91:[7, 2, 14], Operations: ['91-77=14']
Exploring Operation: 7-2=5, Resulting Numbers: [14, 5]
Generated Node #0,3,0: 91:[14, 5] Operation: 7-2=5
Exploring Operation: 7+2=9, Resulting Numbers: [14, 9]
Generated Node #0,3,1: 91:[14, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [14, 14]
Generated Node #0,3,2: 91:[14, 14] Operation: 7*2=14
Exploring Operation: 14-2=12, Resulting Numbers: [7, 12]
Generated Node #0,3,3: 91:[7, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [7, 7]
Generated Node #0,3,4: 91:[7, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[7, 7], Operations: ['91-77=14', '14/2=7']
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[7, 12], Operations: ['91-77=14', '14-2=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[14, 14], Operations: ['91-77=14', '7*2=14']
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,91 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[14, 5], Operations: ['91-77=14', '7-2=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[14, 9], Operations: ['91-77=14', '7+2=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 91:[2, 91, 11], Operations: ['77/7=11']
Exploring Operation: 11-2=9, Resulting Numbers: [91, 9]
Generated Node #0,4,0: 91:[91, 9] Operation: 11-2=9
Exploring Operation: 2*11=22, Resulting Numbers: [91, 22]
Generated Node #0,4,1: 91:[91, 22] Operation: 2*11=22
Exploring Operation: 91-2=89, Resulting Numbers: [11, 89]
Generated Node #0,4,2: 91:[11, 89] Operation: 91-2=89
Exploring Operation: 2+11=13, Resulting Numbers: [91, 13]
Generated Node #0,4,3: 91:[91, 13] Operation: 2+11=13
Exploring Operation: 2+91=93, Resulting Numbers: [11, 93]
Generated Node #0,4,4: 91:[11, 93] Operation: 2+91=93
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 91:[91, 13], Operations: ['77/7=11', '2+11=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,91 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[91, 9], Operations: ['77/7=11', '11-2=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,91 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 91:[11, 89], Operations: ['77/7=11', '91-2=89']
Exploring Operation: 11*89=979, Resulting Numbers: [979]
979,91 unequal: No Solution
Exploring Operation: 11+89=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 91:[11, 93], Operations: ['77/7=11', '2+91=93']
Exploring Operation: 11+93=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 11*93=1023, Resulting Numbers: [1023]
1023,91 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 91:[91, 22], Operations: ['77/7=11', '2*11=22']
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,91 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,91 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: 91:[2, 91, 84], Operations: ['7+77=84']
Exploring Operation: 84-2=82, Resulting Numbers: [91, 82]
Generated Node #0,0,0: 91:[91, 82] Operation: 84-2=82
Exploring Operation: 2+91=93, Resulting Numbers: [84, 93]
Generated Node #0,0,1: 91:[84, 93] Operation: 2+91=93
Exploring Operation: 91-2=89, Resulting Numbers: [84, 89]
Generated Node #0,0,2: 91:[84, 89] Operation: 91-2=89
Exploring Operation: 2+84=86, Resulting Numbers: [91, 86]
Generated Node #0,0,3: 91:[91, 86] Operation: 2+84=86
Exploring Operation: 91-84=7, Resulting Numbers: [2, 7]
Generated Node #0,0,4: 91:[2, 7] Operation: 91-84=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[91, 86], Operations: ['7+77=84', '2+84=86']
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,91 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 91:[2, 7], Operations: ['7+77=84', '91-84=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[91, 82], Operations: ['7+77=84', '84-2=82']
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,91 unequal: No Solution
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,91 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[84, 93], Operations: ['7+77=84', '2+91=93']
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,91 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,91 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[84, 89], Operations: ['7+77=84', '91-2=89']
Exploring Operation: 84+89=173, Resulting Numbers: [173]
173,91 unequal: No Solution
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 84*89=7476, Resulting Numbers: [7476]
7476,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 91:[7, 91, 79], Operations: ['2+77=79']
Exploring Operation: 7+79=86, Resulting Numbers: [91, 86]
Generated Node #0,2,0: 91:[91, 86] Operation: 7+79=86
Exploring Operation: 7+91=98, Resulting Numbers: [79, 98]
Generated Node #0,2,1: 91:[79, 98] Operation: 7+91=98
Exploring Operation: 91-79=12, Resulting Numbers: [7, 12]
Generated Node #0,2,2: 91:[7, 12] Operation: 91-79=12
Exploring Operation: 91/7=13, Resulting Numbers: [79, 13]
Generated Node #0,2,3: 91:[79, 13] Operation: 91/7=13
Exploring Operation: 91-7=84, Resulting Numbers: [79, 84]
Generated Node #0,2,4: 91:[79, 84] Operation: 91-7=84
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[7, 12], Operations: ['2+77=79', '91-79=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[91, 86], Operations: ['2+77=79', '7+79=86']
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,91 unequal: No Solution
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[79, 13], Operations: ['2+77=79', '91/7=13']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[79, 98], Operations: ['2+77=79', '7+91=98']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 79*98=7742, Resulting Numbers: [7742]
7742,91 unequal: No Solution
Exploring Operation: 79+98=177, Resulting Numbers: [177]
177,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[79, 84], Operations: ['2+77=79', '91-7=84']
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,91 unequal: No Solution
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,91 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: 91:[91, 77, 14], Operations: ['7*2=14']
Exploring Operation: 91-14=77, Resulting Numbers: [77, 77]
Generated Node #0,1,0: 91:[77, 77] Operation: 91-14=77
Exploring Operation: 77-14=63, Resulting Numbers: [91, 63]
Generated Node #0,1,1: 91:[91, 63] Operation: 77-14=63
Exploring Operation: 91+14=105, Resulting Numbers: [77, 105]
Generated Node #0,1,2: 91:[77, 105] Operation: 91+14=105
Exploring Operation: 91-77=14, Resulting Numbers: [14, 14]
Generated Node #0,1,3: 91:[14, 14] Operation: 91-77=14
Exploring Operation: 77+14=91, Resulting Numbers: [91, 91]
Generated Node #0,1,4: 91:[91, 91] Operation: 77+14=91
Moving to Node #0,1,4
Current State: 91:[91, 91], Operations: ['7*2=14', '77+14=91']
Exploring Operation: 91*91=8281, Resulting Numbers: [8281]
8281,91 unequal: No Solution
Exploring Operation: 91-91=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 91+91=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 91/91=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[14, 14], Operations: ['7*2=14', '91-77=14']
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,91 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[77, 77], Operations: ['7*2=14', '91-14=77']
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,91 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[91, 63], Operations: ['7*2=14', '77-14=63']
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,91 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[77, 105], Operations: ['7*2=14', '91+14=105']
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 77*105=8085, Resulting Numbers: [8085]
8085,91 unequal: No Solution
Exploring Operation: 77+105=182, Resulting Numbers: [182]
182,91 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
69,
3,
98,
39
] | 70
|
[
"69*3=207",
"98+39=137",
"207-137=70"
] |
Current State: 70:[69, 3, 98, 39], Operations: []
Exploring Operation: 69*3=207, Resulting Numbers: [98, 39, 207]
Generated Node #2: [98, 39, 207] from Operation: 69*3=207
Current State: 70:[98, 39, 207], Operations: ['69*3=207']
Exploring Operation: 98+39=137, Resulting Numbers: [207, 137]
Generated Node #3: [207, 137] from Operation: 98+39=137
Current State: 70:[207, 137], Operations: ['69*3=207', '98+39=137']
Exploring Operation: 207-137=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[69, 3, 98, 39], Operations: []
Exploring Operation: 98-39=59, Resulting Numbers: [69, 3, 59]
Generated Node #0,0: 70:[69, 3, 59] Operation: 98-39=59
Exploring Operation: 98-69=29, Resulting Numbers: [3, 39, 29]
Generated Node #0,1: 70:[3, 39, 29] Operation: 98-69=29
Exploring Operation: 98-3=95, Resulting Numbers: [69, 39, 95]
Generated Node #0,2: 70:[69, 39, 95] Operation: 98-3=95
Exploring Operation: 39-3=36, Resulting Numbers: [69, 98, 36]
Generated Node #0,3: 70:[69, 98, 36] Operation: 39-3=36
Moving to Node #0,1
Current State: 70:[3, 39, 29], Operations: ['98-69=29']
Exploring Operation: 39+29=68, Resulting Numbers: [3, 68]
Generated Node #0,1,0: 70:[3, 68] Operation: 39+29=68
Exploring Operation: 39/3=13, Resulting Numbers: [29, 13]
Generated Node #0,1,1: 70:[29, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [29, 36]
Generated Node #0,1,2: 70:[29, 36] Operation: 39-3=36
Exploring Operation: 39-29=10, Resulting Numbers: [3, 10]
Generated Node #0,1,3: 70:[3, 10] Operation: 39-29=10
Moving to Node #0,0
Current State: 70:[69, 3, 59], Operations: ['98-39=59']
Exploring Operation: 69-59=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 70:[3, 10] Operation: 69-59=10
Exploring Operation: 69+3=72, Resulting Numbers: [59, 72]
Generated Node #0,0,1: 70:[59, 72] Operation: 69+3=72
Exploring Operation: 69-3=66, Resulting Numbers: [59, 66]
Generated Node #0,0,2: 70:[59, 66] Operation: 69-3=66
Exploring Operation: 3+59=62, Resulting Numbers: [69, 62]
Generated Node #0,0,3: 70:[69, 62] Operation: 3+59=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[3, 10], Operations: ['98-39=59', '69-59=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[69, 62], Operations: ['98-39=59', '3+59=62']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[59, 72], Operations: ['98-39=59', '69+3=72']
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[59, 66], Operations: ['98-39=59', '69-3=66']
Exploring Operation: 59*66=3894, Resulting Numbers: [3894]
3894,70 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,70 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: 70:[69, 98, 36], Operations: ['39-3=36']
Exploring Operation: 69-36=33, Resulting Numbers: [98, 33]
Generated Node #0,3,0: 70:[98, 33] Operation: 69-36=33
Exploring Operation: 98-69=29, Resulting Numbers: [36, 29]
Generated Node #0,3,1: 70:[36, 29] Operation: 98-69=29
Exploring Operation: 69+36=105, Resulting Numbers: [98, 105]
Generated Node #0,3,2: 70:[98, 105] Operation: 69+36=105
Exploring Operation: 98-36=62, Resulting Numbers: [69, 62]
Generated Node #0,3,3: 70:[69, 62] Operation: 98-36=62
Moving to Node #0,2
Current State: 70:[69, 39, 95], Operations: ['98-3=95']
Exploring Operation: 95-39=56, Resulting Numbers: [69, 56]
Generated Node #0,2,0: 70:[69, 56] Operation: 95-39=56
Exploring Operation: 95-69=26, Resulting Numbers: [39, 26]
Generated Node #0,2,1: 70:[39, 26] Operation: 95-69=26
Exploring Operation: 69+39=108, Resulting Numbers: [95, 108]
Generated Node #0,2,2: 70:[95, 108] Operation: 69+39=108
Exploring Operation: 69-39=30, Resulting Numbers: [95, 30]
Generated Node #0,2,3: 70:[95, 30] Operation: 69-39=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[39, 26], Operations: ['98-3=95', '95-69=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,70 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[69, 56], Operations: ['98-3=95', '95-39=56']
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 69*56=3864, Resulting Numbers: [3864]
3864,70 unequal: No Solution
Exploring Operation: 69+56=125, Resulting Numbers: [125]
125,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[95, 30], Operations: ['98-3=95', '69-39=30']
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,70 unequal: No Solution
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[95, 108], Operations: ['98-3=95', '69+39=108']
Exploring Operation: 95*108=10260, Resulting Numbers: [10260]
10260,70 unequal: No Solution
Exploring Operation: 108-95=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 95+108=203, Resulting Numbers: [203]
203,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 70:[3, 10], Operations: ['98-69=29', '39-29=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[3, 68], Operations: ['98-69=29', '39+29=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,70 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[29, 13], Operations: ['98-69=29', '39/3=13']
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,70 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[36, 29], Operations: ['39-3=36', '98-69=29']
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[29, 36], Operations: ['98-69=29', '39-3=36']
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,70 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[69, 62], Operations: ['39-3=36', '98-36=62']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[98, 33], Operations: ['39-3=36', '69-36=33']
Exploring Operation: 98+33=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 98*33=3234, Resulting Numbers: [3234]
3234,70 unequal: No Solution
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[98, 105], Operations: ['39-3=36', '69+36=105']
Exploring Operation: 105-98=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 98+105=203, Resulting Numbers: [203]
203,70 unequal: No Solution
Exploring Operation: 98*105=10290, Resulting Numbers: [10290]
10290,70 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
8,
93,
17,
20
] | 48
|
[
"93-8=85",
"17+20=37",
"85-37=48"
] |
Current State: 48:[8, 93, 17, 20], Operations: []
Exploring Operation: 93-8=85, Resulting Numbers: [17, 20, 85]
Generated Node #2: [17, 20, 85] from Operation: 93-8=85
Current State: 48:[17, 20, 85], Operations: ['93-8=85']
Exploring Operation: 17+20=37, Resulting Numbers: [85, 37]
Generated Node #3: [85, 37] from Operation: 17+20=37
Current State: 48:[85, 37], Operations: ['93-8=85', '17+20=37']
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[8, 93, 17, 20], Operations: []
Exploring Operation: 93-8=85, Resulting Numbers: [17, 20, 85]
Generated Node #0,0: 48:[17, 20, 85] Operation: 93-8=85
Exploring Operation: 93-17=76, Resulting Numbers: [8, 20, 76]
Generated Node #0,1: 48:[8, 20, 76] Operation: 93-17=76
Exploring Operation: 20-17=3, Resulting Numbers: [8, 93, 3]
Generated Node #0,2: 48:[8, 93, 3] Operation: 20-17=3
Exploring Operation: 93-20=73, Resulting Numbers: [8, 17, 73]
Generated Node #0,3: 48:[8, 17, 73] Operation: 93-20=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[8, 17, 73], Operations: ['93-20=73']
Exploring Operation: 17-8=9, Resulting Numbers: [73, 9]
Generated Node #0,3,0: 48:[73, 9] Operation: 17-8=9
Exploring Operation: 8+17=25, Resulting Numbers: [73, 25]
Generated Node #0,3,1: 48:[73, 25] Operation: 8+17=25
Exploring Operation: 73-8=65, Resulting Numbers: [17, 65]
Generated Node #0,3,2: 48:[17, 65] Operation: 73-8=65
Exploring Operation: 73-17=56, Resulting Numbers: [8, 56]
Generated Node #0,3,3: 48:[8, 56] Operation: 73-17=56
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 48:[8, 56], Operations: ['93-20=73', '73-17=56']
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,48 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[8, 93, 17, 20], Operations: []
Exploring Operation: 93-20=73, Resulting Numbers: [8, 17, 73]
Generated Node #0,3: 48:[8, 17, 73] Operation: 93-20=73
Moving to Node #0,3
Current State: 48:[8, 17, 73], Operations: ['93-20=73']
Exploring Operation: 73-17=56, Resulting Numbers: [8, 56]
Generated Node #0,3,3: 48:[8, 56] Operation: 73-17=56
Moving to Node #0,3,3
Current State: 48:[8, 56], Operations: ['93-20=73', '73-17=56']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
mult_heuristic
|
[
36,
39,
17,
74
] | 18
|
[
"36+39=75",
"74-17=57",
"75-57=18"
] |
Current State: 18:[36, 39, 17, 74], Operations: []
Exploring Operation: 36+39=75, Resulting Numbers: [17, 74, 75]
Generated Node #2: [17, 74, 75] from Operation: 36+39=75
Current State: 18:[17, 74, 75], Operations: ['36+39=75']
Exploring Operation: 74-17=57, Resulting Numbers: [75, 57]
Generated Node #3: [75, 57] from Operation: 74-17=57
Current State: 18:[75, 57], Operations: ['36+39=75', '74-17=57']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[36, 39, 17, 74], Operations: []
Exploring Operation: 74-39=35, Resulting Numbers: [36, 17, 35]
Generated Node #0,0: 18:[36, 17, 35] Operation: 74-39=35
Moving to Node #0,0
Current State: 18:[36, 17, 35], Operations: ['74-39=35']
Exploring Operation: 36-35=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 36-35=1
Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['74-39=35', '36-35=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[36, 39, 17, 74], Operations: []
Exploring Operation: 74-39=35, Resulting Numbers: [36, 17, 35]
Generated Node #0,0: 18:[36, 17, 35] Operation: 74-39=35
Moving to Node #0,0
Current State: 18:[36, 17, 35], Operations: ['74-39=35']
Exploring Operation: 36-35=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 36-35=1
Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['74-39=35', '36-35=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.993924
|
hs_1
|
mult_heuristic
|
[
39,
8,
28,
88
] | 69
|
[
"39+8=47",
"28+88=116",
"116-47=69"
] |
Current State: 69:[39, 8, 28, 88], Operations: []
Exploring Operation: 39+8=47, Resulting Numbers: [28, 88, 47]
Generated Node #2: [28, 88, 47] from Operation: 39+8=47
Current State: 69:[28, 88, 47], Operations: ['39+8=47']
Exploring Operation: 28+88=116, Resulting Numbers: [47, 116]
Generated Node #3: [47, 116] from Operation: 28+88=116
Current State: 69:[47, 116], Operations: ['39+8=47', '28+88=116']
Exploring Operation: 116-47=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[39, 8, 28, 88], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [8, 88, 67]
Generated Node #0,0: 69:[8, 88, 67] Operation: 39+28=67
Exploring Operation: 88/8=11, Resulting Numbers: [39, 28, 11]
Generated Node #0,1: 69:[39, 28, 11] Operation: 88/8=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[8, 88, 67], Operations: ['39+28=67']
Exploring Operation: 88-67=21, Resulting Numbers: [8, 21]
Generated Node #0,0,0: 69:[8, 21] Operation: 88-67=21
Exploring Operation: 88/8=11, Resulting Numbers: [67, 11]
Generated Node #0,0,1: 69:[67, 11] Operation: 88/8=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[8, 21], Operations: ['39+28=67', '88-67=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,69 unequal: No Solution
No 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: 69:[67, 11], Operations: ['39+28=67', '88/8=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,69 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,69 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: 69:[39, 28, 11], Operations: ['88/8=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28, 28]
Generated Node #0,1,0: 69:[28, 28] Operation: 39-11=28
Exploring Operation: 39+28=67, Resulting Numbers: [11, 67]
Generated Node #0,1,1: 69:[11, 67] Operation: 39+28=67
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[28, 28], Operations: ['88/8=11', '39-11=28']
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No 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: 69:[11, 67], Operations: ['88/8=11', '39+28=67']
Exploring Operation: 11+67=78, Resulting Numbers: [78]
78,69 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
98,
90,
77,
3
] | 59
|
[
"90-77=13",
"3*13=39",
"98-39=59"
] |
Current State: 59:[98, 90, 77, 3], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [98, 3, 13]
Generated Node #2: [98, 3, 13] from Operation: 90-77=13
Current State: 59:[98, 3, 13], Operations: ['90-77=13']
Exploring Operation: 3*13=39, Resulting Numbers: [98, 39]
Generated Node #3: [98, 39] from Operation: 3*13=39
Current State: 59:[98, 39], Operations: ['90-77=13', '3*13=39']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4
|
Current State: 59:[98, 90, 77, 3], Operations: []
Exploring Operation: 98-3=95, Resulting Numbers: [90, 77, 95]
Generated Node #0,0: 59:[90, 77, 95] Operation: 98-3=95
Exploring Operation: 90-3=87, Resulting Numbers: [98, 77, 87]
Generated Node #0,1: 59:[98, 77, 87] Operation: 90-3=87
Moving to Node #0,0
Current State: 59:[90, 77, 95], Operations: ['98-3=95']
Exploring Operation: 95-90=5, Resulting Numbers: [77, 5]
Generated Node #0,0,0: 59:[77, 5] Operation: 95-90=5
Exploring Operation: 95-77=18, Resulting Numbers: [90, 18]
Generated Node #0,0,1: 59:[90, 18] Operation: 95-77=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[77, 5], Operations: ['98-3=95', '95-90=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[90, 18], Operations: ['98-3=95', '95-77=18']
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[98, 77, 87], Operations: ['90-3=87']
Exploring Operation: 98-77=21, Resulting Numbers: [87, 21]
Generated Node #0,1,0: 59:[87, 21] Operation: 98-77=21
Exploring Operation: 98-87=11, Resulting Numbers: [77, 11]
Generated Node #0,1,1: 59:[77, 11] Operation: 98-87=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[87, 21], Operations: ['90-3=87', '98-77=21']
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[77, 11], Operations: ['90-3=87', '98-87=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
2,
82,
31,
83
] | 19
|
[
"82-31=51",
"2*51=102",
"102-83=19"
] |
Current State: 19:[2, 82, 31, 83], Operations: []
Exploring Operation: 82-31=51, Resulting Numbers: [2, 83, 51]
Generated Node #2: [2, 83, 51] from Operation: 82-31=51
Current State: 19:[2, 83, 51], Operations: ['82-31=51']
Exploring Operation: 2*51=102, Resulting Numbers: [83, 102]
Generated Node #3: [83, 102] from Operation: 2*51=102
Current State: 19:[83, 102], Operations: ['82-31=51', '2*51=102']
Exploring Operation: 102-83=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4
|
Current State: 19:[2, 82, 31, 83], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [2, 31, 1]
Generated Node #0,0: 19:[2, 31, 1] Operation: 83-82=1
Exploring Operation: 82/2=41, Resulting Numbers: [31, 83, 41]
Generated Node #0,1: 19:[31, 83, 41] Operation: 82/2=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[2, 31, 1], Operations: ['83-82=1']
Exploring Operation: 2+1=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 19:[31, 3] Operation: 2+1=3
Exploring Operation: 31-2=29, Resulting Numbers: [1, 29]
Generated Node #0,0,1: 19:[1, 29] Operation: 31-2=29
Moving to Node #0,0,0
Current State: 19:[31, 3], Operations: ['83-82=1', '2+1=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[1, 29], Operations: ['83-82=1', '31-2=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No 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: 19:[31, 83, 41], Operations: ['82/2=41']
Exploring Operation: 83-41=42, Resulting Numbers: [31, 42]
Generated Node #0,1,0: 19:[31, 42] Operation: 83-41=42
Exploring Operation: 83-31=52, Resulting Numbers: [41, 52]
Generated Node #0,1,1: 19:[41, 52] Operation: 83-31=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[31, 42], Operations: ['82/2=41', '83-41=42']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,19 unequal: No Solution
No 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: 19:[41, 52], Operations: ['82/2=41', '83-31=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
66,
60,
34,
66
] | 93
|
[
"66/66=1",
"60+34=94",
"94-1=93"
] |
Current State: 93:[66, 60, 34, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [60, 34, 1]
Generated Node #2: [60, 34, 1] from Operation: 66/66=1
Current State: 93:[60, 34, 1], Operations: ['66/66=1']
Exploring Operation: 60+34=94, Resulting Numbers: [1, 94]
Generated Node #3: [1, 94] from Operation: 60+34=94
Current State: 93:[1, 94], Operations: ['66/66=1', '60+34=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[66, 60, 34, 66], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [66, 34, 6]
Generated Node #0,0: 93:[66, 34, 6] Operation: 66-60=6
Exploring Operation: 66/66=1, Resulting Numbers: [60, 34, 1]
Generated Node #0,1: 93:[60, 34, 1] Operation: 66/66=1
Exploring Operation: 66-60=6, Resulting Numbers: [34, 66, 6]
Generated Node #0,2: 93:[34, 66, 6] Operation: 66-60=6
Moving to Node #0,0
Current State: 93:[66, 34, 6], Operations: ['66-60=6']
Exploring Operation: 66-34=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 93:[6, 32] Operation: 66-34=32
Exploring Operation: 66+34=100, Resulting Numbers: [6, 100]
Generated Node #0,0,1: 93:[6, 100] Operation: 66+34=100
Exploring Operation: 66/6=11, Resulting Numbers: [34, 11]
Generated Node #0,0,2: 93:[34, 11] Operation: 66/6=11
Moving to Node #0,2
Current State: 93:[34, 66, 6], Operations: ['66-60=6']
Exploring Operation: 66-34=32, Resulting Numbers: [6, 32]
Generated Node #0,2,0: 93:[6, 32] Operation: 66-34=32
Exploring Operation: 66/6=11, Resulting Numbers: [34, 11]
Generated Node #0,2,1: 93:[34, 11] Operation: 66/6=11
Exploring Operation: 34+66=100, Resulting Numbers: [6, 100]
Generated Node #0,2,2: 93:[6, 100] Operation: 34+66=100
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[6, 32], Operations: ['66-60=6', '66-34=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[6, 100], Operations: ['66-60=6', '34+66=100']
Exploring Operation: 6*100=600, Resulting Numbers: [600]
600,93 unequal: No Solution
Exploring Operation: 6+100=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[34, 11], Operations: ['66-60=6', '66/6=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,93 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,93 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: 93:[60, 34, 1], Operations: ['66/66=1']
Exploring Operation: 60+34=94, Resulting Numbers: [1, 94]
Generated Node #0,1,0: 93:[1, 94] Operation: 60+34=94
Exploring Operation: 60-1=59, Resulting Numbers: [34, 59]
Generated Node #0,1,1: 93:[34, 59] Operation: 60-1=59
Exploring Operation: 60-34=26, Resulting Numbers: [1, 26]
Generated Node #0,1,2: 93:[1, 26] Operation: 60-34=26
Moving to Node #0,1,0
Current State: 93:[1, 94], Operations: ['66/66=1', '60+34=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[66, 60, 34, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [60, 34, 1]
Generated Node #0,1: 93:[60, 34, 1] Operation: 66/66=1
Moving to Node #0,1
Current State: 93:[60, 34, 1], Operations: ['66/66=1']
Exploring Operation: 60+34=94, Resulting Numbers: [1, 94]
Generated Node #0,1,0: 93:[1, 94] Operation: 60+34=94
Moving to Node #0,1,0
Current State: 93:[1, 94], Operations: ['66/66=1', '60+34=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.975694
|
hs_3
|
sum_heuristic
|
[
4,
19,
9,
2
] | 91
|
[
"4*9=36",
"2*36=72",
"19+72=91"
] |
Current State: 91:[4, 19, 9, 2], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [19, 2, 36]
Generated Node #2: [19, 2, 36] from Operation: 4*9=36
Current State: 91:[19, 2, 36], Operations: ['4*9=36']
Exploring Operation: 2*36=72, Resulting Numbers: [19, 72]
Generated Node #3: [19, 72] from Operation: 2*36=72
Current State: 91:[19, 72], Operations: ['4*9=36', '2*36=72']
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4
|
Current State: 91:[4, 19, 9, 2], Operations: []
Exploring Operation: 19-4=15, Resulting Numbers: [9, 2, 15]
Generated Node #0,0: 91:[9, 2, 15] Operation: 19-4=15
Exploring Operation: 4*2=8, Resulting Numbers: [19, 9, 8]
Generated Node #0,1: 91:[19, 9, 8] Operation: 4*2=8
Exploring Operation: 4+2=6, Resulting Numbers: [19, 9, 6]
Generated Node #0,2: 91:[19, 9, 6] Operation: 4+2=6
Exploring Operation: 19-2=17, Resulting Numbers: [4, 9, 17]
Generated Node #0,3: 91:[4, 9, 17] Operation: 19-2=17
Moving to Node #0,0
Current State: 91:[9, 2, 15], Operations: ['19-4=15']
Exploring Operation: 9-2=7, Resulting Numbers: [15, 7]
Generated Node #0,0,0: 91:[15, 7] Operation: 9-2=7
Exploring Operation: 9+2=11, Resulting Numbers: [15, 11]
Generated Node #0,0,1: 91:[15, 11] Operation: 9+2=11
Exploring Operation: 15-2=13, Resulting Numbers: [9, 13]
Generated Node #0,0,2: 91:[9, 13] Operation: 15-2=13
Exploring Operation: 15-9=6, Resulting Numbers: [2, 6]
Generated Node #0,0,3: 91:[2, 6] Operation: 15-9=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[15, 7], Operations: ['19-4=15', '9-2=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[9, 13], Operations: ['19-4=15', '15-2=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[15, 11], Operations: ['19-4=15', '9+2=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[2, 6], Operations: ['19-4=15', '15-9=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 91:[19, 9, 6], Operations: ['4+2=6']
Exploring Operation: 9+6=15, Resulting Numbers: [19, 15]
Generated Node #0,2,0: 91:[19, 15] Operation: 9+6=15
Exploring Operation: 19-6=13, Resulting Numbers: [9, 13]
Generated Node #0,2,1: 91:[9, 13] Operation: 19-6=13
Exploring Operation: 19-9=10, Resulting Numbers: [6, 10]
Generated Node #0,2,2: 91:[6, 10] Operation: 19-9=10
Exploring Operation: 9-6=3, Resulting Numbers: [19, 3]
Generated Node #0,2,3: 91:[19, 3] Operation: 9-6=3
Moving to Node #0,1
Current State: 91:[19, 9, 8], Operations: ['4*2=8']
Exploring Operation: 9-8=1, Resulting Numbers: [19, 1]
Generated Node #0,1,0: 91:[19, 1] Operation: 9-8=1
Exploring Operation: 19-9=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 91:[8, 10] Operation: 19-9=10
Exploring Operation: 9+8=17, Resulting Numbers: [19, 17]
Generated Node #0,1,2: 91:[19, 17] Operation: 9+8=17
Exploring Operation: 19-8=11, Resulting Numbers: [9, 11]
Generated Node #0,1,3: 91:[9, 11] Operation: 19-8=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[8, 10], Operations: ['4*2=8', '19-9=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[9, 11], Operations: ['4*2=8', '19-8=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[19, 17], Operations: ['4*2=8', '9+8=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,91 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[19, 1], Operations: ['4*2=8', '9-8=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[4, 9, 17], Operations: ['19-2=17']
Exploring Operation: 17-9=8, Resulting Numbers: [4, 8]
Generated Node #0,3,0: 91:[4, 8] Operation: 17-9=8
Exploring Operation: 9-4=5, Resulting Numbers: [17, 5]
Generated Node #0,3,1: 91:[17, 5] Operation: 9-4=5
Exploring Operation: 17-4=13, Resulting Numbers: [9, 13]
Generated Node #0,3,2: 91:[9, 13] Operation: 17-4=13
Exploring Operation: 4+9=13, Resulting Numbers: [17, 13]
Generated Node #0,3,3: 91:[17, 13] Operation: 4+9=13
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[9, 13], Operations: ['19-2=17', '17-4=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[4, 8], Operations: ['19-2=17', '17-9=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[17, 13], Operations: ['19-2=17', '4+9=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[17, 5], Operations: ['19-2=17', '9-4=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 91:[9, 13], Operations: ['4+2=6', '19-6=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[6, 10], Operations: ['4+2=6', '19-9=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[19, 15], Operations: ['4+2=6', '9+6=15']
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,91 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[19, 3], Operations: ['4+2=6', '9-6=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,91 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
25,
27,
62,
70
] | 80
|
[
"25+27=52",
"62+70=132",
"132-52=80"
] |
Current State: 80:[25, 27, 62, 70], Operations: []
Exploring Operation: 25+27=52, Resulting Numbers: [62, 70, 52]
Generated Node #2: [62, 70, 52] from Operation: 25+27=52
Current State: 80:[62, 70, 52], Operations: ['25+27=52']
Exploring Operation: 62+70=132, Resulting Numbers: [52, 132]
Generated Node #3: [52, 132] from Operation: 62+70=132
Current State: 80:[52, 132], Operations: ['25+27=52', '62+70=132']
Exploring Operation: 132-52=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[25, 27, 62, 70], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [25, 27, 8]
Generated Node #0,0: 80:[25, 27, 8] Operation: 70-62=8
Exploring Operation: 25+62=87, Resulting Numbers: [27, 70, 87]
Generated Node #0,1: 80:[27, 70, 87] Operation: 25+62=87
Exploring Operation: 62-25=37, Resulting Numbers: [27, 70, 37]
Generated Node #0,2: 80:[27, 70, 37] Operation: 62-25=37
Exploring Operation: 62-27=35, Resulting Numbers: [25, 70, 35]
Generated Node #0,3: 80:[25, 70, 35] Operation: 62-27=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[25, 27, 8], Operations: ['70-62=8']
Exploring Operation: 27-25=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 80:[8, 2] Operation: 27-25=2
Exploring Operation: 25-8=17, Resulting Numbers: [27, 17]
Generated Node #0,0,1: 80:[27, 17] Operation: 25-8=17
Exploring Operation: 27+8=35, Resulting Numbers: [25, 35]
Generated Node #0,0,2: 80:[25, 35] Operation: 27+8=35
Exploring Operation: 27-8=19, Resulting Numbers: [25, 19]
Generated Node #0,0,3: 80:[25, 19] Operation: 27-8=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[8, 2], Operations: ['70-62=8', '27-25=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 80:[25, 19], Operations: ['70-62=8', '27-8=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,80 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,80 unequal: No Solution
No 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: 80:[27, 17], Operations: ['70-62=8', '25-8=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,80 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,80 unequal: No Solution
No 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: 80:[25, 35], Operations: ['70-62=8', '27+8=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,80 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,80 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: 80:[27, 70, 37], Operations: ['62-25=37']
Exploring Operation: 70-37=33, Resulting Numbers: [27, 33]
Generated Node #0,2,0: 80:[27, 33] Operation: 70-37=33
Exploring Operation: 70-27=43, Resulting Numbers: [37, 43]
Generated Node #0,2,1: 80:[37, 43] Operation: 70-27=43
Exploring Operation: 27+70=97, Resulting Numbers: [37, 97]
Generated Node #0,2,2: 80:[37, 97] Operation: 27+70=97
Exploring Operation: 37-27=10, Resulting Numbers: [70, 10]
Generated Node #0,2,3: 80:[70, 10] Operation: 37-27=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[37, 43], Operations: ['62-25=37', '70-27=43']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[25, 27, 62, 70], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [27, 70, 37]
Generated Node #0,2: 80:[27, 70, 37] Operation: 62-25=37
Moving to Node #0,2
Current State: 80:[27, 70, 37], Operations: ['62-25=37']
Exploring Operation: 70-27=43, Resulting Numbers: [37, 43]
Generated Node #0,2,1: 80:[37, 43] Operation: 70-27=43
Moving to Node #0,2,1
Current State: 80:[37, 43], Operations: ['62-25=37', '70-27=43']
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309
|
hs_4
|
mult_heuristic
|
[
65,
97,
3,
45
] | 53
|
[
"65*3=195",
"97+45=142",
"195-142=53"
] |
Current State: 53:[65, 97, 3, 45], Operations: []
Exploring Operation: 65*3=195, Resulting Numbers: [97, 45, 195]
Generated Node #2: [97, 45, 195] from Operation: 65*3=195
Current State: 53:[97, 45, 195], Operations: ['65*3=195']
Exploring Operation: 97+45=142, Resulting Numbers: [195, 142]
Generated Node #3: [195, 142] from Operation: 97+45=142
Current State: 53:[195, 142], Operations: ['65*3=195', '97+45=142']
Exploring Operation: 195-142=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[65, 97, 3, 45], Operations: []
Exploring Operation: 97-3=94, Resulting Numbers: [65, 45, 94]
Generated Node #0,0: 53:[65, 45, 94] Operation: 97-3=94
Exploring Operation: 3+45=48, Resulting Numbers: [65, 97, 48]
Generated Node #0,1: 53:[65, 97, 48] Operation: 3+45=48
Exploring Operation: 65-3=62, Resulting Numbers: [97, 45, 62]
Generated Node #0,2: 53:[97, 45, 62] Operation: 65-3=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[65, 45, 94], Operations: ['97-3=94']
Exploring Operation: 94-45=49, Resulting Numbers: [65, 49]
Generated Node #0,0,0: 53:[65, 49] Operation: 94-45=49
Exploring Operation: 65-45=20, Resulting Numbers: [94, 20]
Generated Node #0,0,1: 53:[94, 20] Operation: 65-45=20
Exploring Operation: 94-65=29, Resulting Numbers: [45, 29]
Generated Node #0,0,2: 53:[45, 29] Operation: 94-65=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[65, 49], Operations: ['97-3=94', '94-45=49']
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 65*49=3185, Resulting Numbers: [3185]
3185,53 unequal: No Solution
Exploring Operation: 65+49=114, Resulting Numbers: [114]
114,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[45, 29], Operations: ['97-3=94', '94-65=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,53 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[94, 20], Operations: ['97-3=94', '65-45=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,53 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[65, 97, 48], Operations: ['3+45=48']
Exploring Operation: 97-48=49, Resulting Numbers: [65, 49]
Generated Node #0,1,0: 53:[65, 49] Operation: 97-48=49
Exploring Operation: 97-65=32, Resulting Numbers: [48, 32]
Generated Node #0,1,1: 53:[48, 32] Operation: 97-65=32
Exploring Operation: 65-48=17, Resulting Numbers: [97, 17]
Generated Node #0,1,2: 53:[97, 17] Operation: 65-48=17
Moving to Node #0,1,0
Current State: 53:[65, 49], Operations: ['3+45=48', '97-48=49']
Exploring Operation: 65+49=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 65*49=3185, Resulting Numbers: [3185]
3185,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[48, 32], Operations: ['3+45=48', '97-65=32']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,53 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[97, 17], Operations: ['3+45=48', '65-48=17']
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[97, 45, 62], Operations: ['65-3=62']
Exploring Operation: 97-45=52, Resulting Numbers: [62, 52]
Generated Node #0,2,0: 53:[62, 52] Operation: 97-45=52
Exploring Operation: 62-45=17, Resulting Numbers: [97, 17]
Generated Node #0,2,1: 53:[97, 17] Operation: 62-45=17
Exploring Operation: 97-62=35, Resulting Numbers: [45, 35]
Generated Node #0,2,2: 53:[45, 35] Operation: 97-62=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[62, 52], Operations: ['65-3=62', '97-45=52']
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 62*52=3224, Resulting Numbers: [3224]
3224,53 unequal: No Solution
Exploring Operation: 62+52=114, Resulting Numbers: [114]
114,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[45, 35], Operations: ['65-3=62', '97-62=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,53 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[97, 17], Operations: ['65-3=62', '62-45=17']
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,53 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
77,
65,
61,
45
] | 63
|
[
"77+45=122",
"122/61=2",
"65-2=63"
] |
Current State: 63:[77, 65, 61, 45], Operations: []
Exploring Operation: 77+45=122, Resulting Numbers: [65, 61, 122]
Generated Node #2: [65, 61, 122] from Operation: 77+45=122
Current State: 63:[65, 61, 122], Operations: ['77+45=122']
Exploring Operation: 122/61=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 122/61=2
Current State: 63:[65, 2], Operations: ['77+45=122', '122/61=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[77, 65, 61, 45], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [77, 61, 20]
Generated Node #0,0: 63:[77, 61, 20] Operation: 65-45=20
Exploring Operation: 61-45=16, Resulting Numbers: [77, 65, 16]
Generated Node #0,1: 63:[77, 65, 16] Operation: 61-45=16
Exploring Operation: 77-45=32, Resulting Numbers: [65, 61, 32]
Generated Node #0,2: 63:[65, 61, 32] Operation: 77-45=32
Exploring Operation: 77-65=12, Resulting Numbers: [61, 45, 12]
Generated Node #0,3: 63:[61, 45, 12] Operation: 77-65=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[65, 61, 32], Operations: ['77-45=32']
Exploring Operation: 61-32=29, Resulting Numbers: [65, 29]
Generated Node #0,2,0: 63:[65, 29] Operation: 61-32=29
Exploring Operation: 61+32=93, Resulting Numbers: [65, 93]
Generated Node #0,2,1: 63:[65, 93] Operation: 61+32=93
Exploring Operation: 65-32=33, Resulting Numbers: [61, 33]
Generated Node #0,2,2: 63:[61, 33] Operation: 65-32=33
Exploring Operation: 65-61=4, Resulting Numbers: [32, 4]
Generated Node #0,2,3: 63:[32, 4] Operation: 65-61=4
Moving to Node #0,2,0
Current State: 63:[65, 29], Operations: ['77-45=32', '61-32=29']
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,63 unequal: No Solution
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[32, 4], Operations: ['77-45=32', '65-61=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,63 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[61, 33], Operations: ['77-45=32', '65-32=33']
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,63 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[65, 93], Operations: ['77-45=32', '61+32=93']
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 65*93=6045, Resulting Numbers: [6045]
6045,63 unequal: No Solution
Exploring Operation: 65+93=158, Resulting Numbers: [158]
158,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[77, 61, 20], Operations: ['65-45=20']
Exploring Operation: 61+20=81, Resulting Numbers: [77, 81]
Generated Node #0,0,0: 63:[77, 81] Operation: 61+20=81
Exploring Operation: 77-20=57, Resulting Numbers: [61, 57]
Generated Node #0,0,1: 63:[61, 57] Operation: 77-20=57
Exploring Operation: 61-20=41, Resulting Numbers: [77, 41]
Generated Node #0,0,2: 63:[77, 41] Operation: 61-20=41
Exploring Operation: 77-61=16, Resulting Numbers: [20, 16]
Generated Node #0,0,3: 63:[20, 16] Operation: 77-61=16
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[20, 16], Operations: ['65-45=20', '77-61=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,63 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[61, 57], Operations: ['65-45=20', '77-20=57']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,63 unequal: No Solution
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[77, 81], Operations: ['65-45=20', '61+20=81']
Exploring Operation: 77+81=158, Resulting Numbers: [158]
158,63 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 77*81=6237, Resulting Numbers: [6237]
6237,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[77, 41], Operations: ['65-45=20', '61-20=41']
Exploring Operation: 77+41=118, Resulting Numbers: [118]
118,63 unequal: No Solution
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 77*41=3157, Resulting Numbers: [3157]
3157,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[77, 65, 16], Operations: ['61-45=16']
Exploring Operation: 65-16=49, Resulting Numbers: [77, 49]
Generated Node #0,1,0: 63:[77, 49] Operation: 65-16=49
Exploring Operation: 77+16=93, Resulting Numbers: [65, 93]
Generated Node #0,1,1: 63:[65, 93] Operation: 77+16=93
Exploring Operation: 77-65=12, Resulting Numbers: [16, 12]
Generated Node #0,1,2: 63:[16, 12] Operation: 77-65=12
Exploring Operation: 77-16=61, Resulting Numbers: [65, 61]
Generated Node #0,1,3: 63:[65, 61] Operation: 77-16=61
Moving to Node #0,1,3
Current State: 63:[65, 61], Operations: ['61-45=16', '77-16=61']
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 65*61=3965, Resulting Numbers: [3965]
3965,63 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[16, 12], Operations: ['61-45=16', '77-65=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[77, 49], Operations: ['61-45=16', '65-16=49']
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[65, 93], Operations: ['61-45=16', '77+16=93']
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 65*93=6045, Resulting Numbers: [6045]
6045,63 unequal: No Solution
Exploring Operation: 65+93=158, Resulting Numbers: [158]
158,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
Current State: 63:[61, 45, 12], Operations: ['77-65=12']
Exploring Operation: 61-45=16, Resulting Numbers: [12, 16]
Generated Node #0,3,0: 63:[12, 16] Operation: 61-45=16
Exploring Operation: 61+12=73, Resulting Numbers: [45, 73]
Generated Node #0,3,1: 63:[45, 73] Operation: 61+12=73
Exploring Operation: 45+12=57, Resulting Numbers: [61, 57]
Generated Node #0,3,2: 63:[61, 57] Operation: 45+12=57
Exploring Operation: 45-12=33, Resulting Numbers: [61, 33]
Generated Node #0,3,3: 63:[61, 33] Operation: 45-12=33
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[12, 16], Operations: ['77-65=12', '61-45=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 63:[61, 57], Operations: ['77-65=12', '45+12=57']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,63 unequal: No Solution
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[61, 33], Operations: ['77-65=12', '45-12=33']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,63 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[45, 73], Operations: ['77-65=12', '61+12=73']
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,63 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,63 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
72,
25,
52,
7
] | 83
|
[
"25+52=77",
"77/7=11",
"72+11=83"
] |
Current State: 83:[72, 25, 52, 7], Operations: []
Exploring Operation: 25+52=77, Resulting Numbers: [72, 7, 77]
Generated Node #2: [72, 7, 77] from Operation: 25+52=77
Current State: 83:[72, 7, 77], Operations: ['25+52=77']
Exploring Operation: 77/7=11, Resulting Numbers: [72, 11]
Generated Node #3: [72, 11] from Operation: 77/7=11
Current State: 83:[72, 11], Operations: ['25+52=77', '77/7=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[72, 25, 52, 7], Operations: []
Exploring Operation: 72+7=79, Resulting Numbers: [25, 52, 79]
Generated Node #0,0: 83:[25, 52, 79] Operation: 72+7=79
Exploring Operation: 25+52=77, Resulting Numbers: [72, 7, 77]
Generated Node #0,1: 83:[72, 7, 77] Operation: 25+52=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[25, 52, 79], Operations: ['72+7=79']
Exploring Operation: 25+79=104, Resulting Numbers: [52, 104]
Generated Node #0,0,0: 83:[52, 104] Operation: 25+79=104
Exploring Operation: 25+52=77, Resulting Numbers: [79, 77]
Generated Node #0,0,1: 83:[79, 77] Operation: 25+52=77
Moving to Node #0,0,1
Current State: 83:[79, 77], Operations: ['72+7=79', '25+52=77']
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 79+77=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[52, 104], Operations: ['72+7=79', '25+79=104']
Exploring Operation: 52+104=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 104-52=52, Resulting Numbers: [52]
52,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[72, 7, 77], Operations: ['25+52=77']
Exploring Operation: 72+7=79, Resulting Numbers: [77, 79]
Generated Node #0,1,0: 83:[77, 79] Operation: 72+7=79
Exploring Operation: 7+77=84, Resulting Numbers: [72, 84]
Generated Node #0,1,1: 83:[72, 84] Operation: 7+77=84
Moving to Node #0,1,0
Current State: 83:[77, 79], Operations: ['25+52=77', '72+7=79']
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[72, 84], Operations: ['25+52=77', '7+77=84']
Exploring Operation: 72+84=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
10,
44,
73,
19
] | 38
|
[
"10+44=54",
"73+19=92",
"92-54=38"
] |
Current State: 38:[10, 44, 73, 19], Operations: []
Exploring Operation: 10+44=54, Resulting Numbers: [73, 19, 54]
Generated Node #2: [73, 19, 54] from Operation: 10+44=54
Current State: 38:[73, 19, 54], Operations: ['10+44=54']
Exploring Operation: 73+19=92, Resulting Numbers: [54, 92]
Generated Node #3: [54, 92] from Operation: 73+19=92
Current State: 38:[54, 92], Operations: ['10+44=54', '73+19=92']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[10, 44, 73, 19], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [44, 19, 63]
Generated Node #0,0: 38:[44, 19, 63] Operation: 73-10=63
Exploring Operation: 73-44=29, Resulting Numbers: [10, 19, 29]
Generated Node #0,1: 38:[10, 19, 29] Operation: 73-44=29
Exploring Operation: 73-19=54, Resulting Numbers: [10, 44, 54]
Generated Node #0,2: 38:[10, 44, 54] Operation: 73-19=54
Exploring Operation: 44-10=34, Resulting Numbers: [73, 19, 34]
Generated Node #0,3: 38:[73, 19, 34] Operation: 44-10=34
Moving to Node #0,1
Current State: 38:[10, 19, 29], Operations: ['73-44=29']
Exploring Operation: 10+29=39, Resulting Numbers: [19, 39]
Generated Node #0,1,0: 38:[19, 39] Operation: 10+29=39
Exploring Operation: 19-10=9, Resulting Numbers: [29, 9]
Generated Node #0,1,1: 38:[29, 9] Operation: 19-10=9
Exploring Operation: 29-19=10, Resulting Numbers: [10, 10]
Generated Node #0,1,2: 38:[10, 10] Operation: 29-19=10
Exploring Operation: 29-10=19, Resulting Numbers: [19, 19]
Generated Node #0,1,3: 38:[19, 19] Operation: 29-10=19
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[19, 19], Operations: ['73-44=29', '29-10=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[10, 44, 73, 19], Operations: []
Exploring Operation: 73-44=29, Resulting Numbers: [10, 19, 29]
Generated Node #0,1: 38:[10, 19, 29] Operation: 73-44=29
Moving to Node #0,1
Current State: 38:[10, 19, 29], Operations: ['73-44=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19, 19]
Generated Node #0,1,3: 38:[19, 19] Operation: 29-10=19
Moving to Node #0,1,3
Current State: 38:[19, 19], Operations: ['73-44=29', '29-10=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
[
28,
60,
24,
56
] | 82
|
[
"56/28=2",
"60+24=84",
"84-2=82"
] |
Current State: 82:[28, 60, 24, 56], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [60, 24, 2]
Generated Node #2: [60, 24, 2] from Operation: 56/28=2
Current State: 82:[60, 24, 2], Operations: ['56/28=2']
Exploring Operation: 60+24=84, Resulting Numbers: [2, 84]
Generated Node #3: [2, 84] from Operation: 60+24=84
Current State: 82:[2, 84], Operations: ['56/28=2', '60+24=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[28, 60, 24, 56], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [28, 24, 4]
Generated Node #0,0: 82:[28, 24, 4] Operation: 60-56=4
Exploring Operation: 60+24=84, Resulting Numbers: [28, 56, 84]
Generated Node #0,1: 82:[28, 56, 84] Operation: 60+24=84
Moving to Node #0,1
Current State: 82:[28, 56, 84], Operations: ['60+24=84']
Exploring Operation: 56/28=2, Resulting Numbers: [84, 2]
Generated Node #0,1,0: 82:[84, 2] Operation: 56/28=2
Exploring Operation: 28+56=84, Resulting Numbers: [84, 84]
Generated Node #0,1,1: 82:[84, 84] Operation: 28+56=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[84, 2], Operations: ['60+24=84', '56/28=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[28, 60, 24, 56], Operations: []
Exploring Operation: 60+24=84, Resulting Numbers: [28, 56, 84]
Generated Node #0,1: 82:[28, 56, 84] Operation: 60+24=84
Moving to Node #0,1
Current State: 82:[28, 56, 84], Operations: ['60+24=84']
Exploring Operation: 56/28=2, Resulting Numbers: [84, 2]
Generated Node #0,1,0: 82:[84, 2] Operation: 56/28=2
Moving to Node #0,1,0
Current State: 82:[84, 2], Operations: ['60+24=84', '56/28=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
15,
50,
4,
8
] | 23
|
[
"50-15=35",
"4+8=12",
"35-12=23"
] |
Current State: 23:[15, 50, 4, 8], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [4, 8, 35]
Generated Node #2: [4, 8, 35] from Operation: 50-15=35
Current State: 23:[4, 8, 35], Operations: ['50-15=35']
Exploring Operation: 4+8=12, Resulting Numbers: [35, 12]
Generated Node #3: [35, 12] from Operation: 4+8=12
Current State: 23:[35, 12], Operations: ['50-15=35', '4+8=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[15, 50, 4, 8], Operations: []
Exploring Operation: 4*8=32, Resulting Numbers: [15, 50, 32]
Generated Node #0,0: 23:[15, 50, 32] Operation: 4*8=32
Exploring Operation: 50-15=35, Resulting Numbers: [4, 8, 35]
Generated Node #0,1: 23:[4, 8, 35] Operation: 50-15=35
Exploring Operation: 15+4=19, Resulting Numbers: [50, 8, 19]
Generated Node #0,2: 23:[50, 8, 19] Operation: 15+4=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[15, 50, 32], Operations: ['4*8=32']
Exploring Operation: 32-15=17, Resulting Numbers: [50, 17]
Generated Node #0,0,0: 23:[50, 17] Operation: 32-15=17
Exploring Operation: 50-15=35, Resulting Numbers: [32, 35]
Generated Node #0,0,1: 23:[32, 35] Operation: 50-15=35
Exploring Operation: 50-32=18, Resulting Numbers: [15, 18]
Generated Node #0,0,2: 23:[15, 18] Operation: 50-32=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[15, 18], Operations: ['4*8=32', '50-32=18']
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,23 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,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:[32, 35], Operations: ['4*8=32', '50-15=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,23 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,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,0
Current State: 23:[50, 17], Operations: ['4*8=32', '32-15=17']
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,23 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[4, 8, 35], Operations: ['50-15=35']
Exploring Operation: 35-4=31, Resulting Numbers: [8, 31]
Generated Node #0,1,0: 23:[8, 31] Operation: 35-4=31
Exploring Operation: 4+8=12, Resulting Numbers: [35, 12]
Generated Node #0,1,1: 23:[35, 12] Operation: 4+8=12
Exploring Operation: 4*8=32, Resulting Numbers: [35, 32]
Generated Node #0,1,2: 23:[35, 32] Operation: 4*8=32
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[35, 32], Operations: ['50-15=35', '4*8=32']
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,23 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,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,1,0
Current State: 23:[8, 31], Operations: ['50-15=35', '35-4=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,23 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[15, 50, 4, 8], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [4, 8, 35]
Generated Node #0,1: 23:[4, 8, 35] Operation: 50-15=35
Moving to Node #0,1
Current State: 23:[4, 8, 35], Operations: ['50-15=35']
Exploring Operation: 35-4=31, Resulting Numbers: [8, 31]
Generated Node #0,1,0: 23:[8, 31] Operation: 35-4=31
Moving to Node #0,1,0
Current State: 23:[8, 31], Operations: ['50-15=35', '35-4=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563
|
hs_3
|
mult_heuristic
|
[
84,
71,
35,
12
] | 99
|
[
"84/12=7",
"71+35=106",
"106-7=99"
] |
Current State: 99:[84, 71, 35, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [71, 35, 7]
Generated Node #2: [71, 35, 7] from Operation: 84/12=7
Current State: 99:[71, 35, 7], Operations: ['84/12=7']
Exploring Operation: 71+35=106, Resulting Numbers: [7, 106]
Generated Node #3: [7, 106] from Operation: 71+35=106
Current State: 99:[7, 106], Operations: ['84/12=7', '71+35=106']
Exploring Operation: 106-7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[84, 71, 35, 12], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [84, 12, 36]
Generated Node #0,0: 99:[84, 12, 36] Operation: 71-35=36
Exploring Operation: 84-71=13, Resulting Numbers: [35, 12, 13]
Generated Node #0,1: 99:[35, 12, 13] Operation: 84-71=13
Exploring Operation: 71+35=106, Resulting Numbers: [84, 12, 106]
Generated Node #0,2: 99:[84, 12, 106] Operation: 71+35=106
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[35, 12, 13], Operations: ['84-71=13']
Exploring Operation: 13-12=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 99:[35, 1] Operation: 13-12=1
Exploring Operation: 12+13=25, Resulting Numbers: [35, 25]
Generated Node #0,1,1: 99:[35, 25] Operation: 12+13=25
Exploring Operation: 35-12=23, Resulting Numbers: [13, 23]
Generated Node #0,1,2: 99:[13, 23] Operation: 35-12=23
Moving to Node #0,1,0
Current State: 99:[35, 1], Operations: ['84-71=13', '13-12=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[35, 25], Operations: ['84-71=13', '12+13=25']
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,99 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[13, 23], Operations: ['84-71=13', '35-12=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[84, 12, 36], Operations: ['71-35=36']
Exploring Operation: 84/12=7, Resulting Numbers: [36, 7]
Generated Node #0,0,0: 99:[36, 7] Operation: 84/12=7
Exploring Operation: 84+12=96, Resulting Numbers: [36, 96]
Generated Node #0,0,1: 99:[36, 96] Operation: 84+12=96
Exploring Operation: 36/12=3, Resulting Numbers: [84, 3]
Generated Node #0,0,2: 99:[84, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 99:[36, 7], Operations: ['71-35=36', '84/12=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,99 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[36, 96], Operations: ['71-35=36', '84+12=96']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 36+96=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 36*96=3456, Resulting Numbers: [3456]
3456,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[84, 3], Operations: ['71-35=36', '36/12=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,99 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[84, 12, 106], Operations: ['71+35=106']
Exploring Operation: 106-84=22, Resulting Numbers: [12, 22]
Generated Node #0,2,0: 99:[12, 22] Operation: 106-84=22
Exploring Operation: 84+12=96, Resulting Numbers: [106, 96]
Generated Node #0,2,1: 99:[106, 96] Operation: 84+12=96
Exploring Operation: 84/12=7, Resulting Numbers: [106, 7]
Generated Node #0,2,2: 99:[106, 7] Operation: 84/12=7
Moving to Node #0,2,2
Current State: 99:[106, 7], Operations: ['71+35=106', '84/12=7']
Exploring Operation: 106+7=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 106*7=742, Resulting Numbers: [742]
742,99 unequal: No Solution
Exploring Operation: 106-7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[84, 71, 35, 12], Operations: []
Exploring Operation: 71+35=106, Resulting Numbers: [84, 12, 106]
Generated Node #0,2: 99:[84, 12, 106] Operation: 71+35=106
Moving to Node #0,2
Current State: 99:[84, 12, 106], Operations: ['71+35=106']
Exploring Operation: 84/12=7, Resulting Numbers: [106, 7]
Generated Node #0,2,2: 99:[106, 7] Operation: 84/12=7
Moving to Node #0,2,2
Current State: 99:[106, 7], Operations: ['71+35=106', '84/12=7']
Exploring Operation: 106-7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882
|
hs_3
|
mult_heuristic
|
[
1,
50,
45,
44
] | 39
|
[
"1*50=50",
"45+44=89",
"89-50=39"
] |
Current State: 39:[1, 50, 45, 44], Operations: []
Exploring Operation: 1*50=50, Resulting Numbers: [45, 44, 50]
Generated Node #2: [45, 44, 50] from Operation: 1*50=50
Current State: 39:[45, 44, 50], Operations: ['1*50=50']
Exploring Operation: 45+44=89, Resulting Numbers: [50, 89]
Generated Node #3: [50, 89] from Operation: 45+44=89
Current State: 39:[50, 89], Operations: ['1*50=50', '45+44=89']
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[1, 50, 45, 44], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [1, 50, 1]
Generated Node #0,0: 39:[1, 50, 1] Operation: 45-44=1
Exploring Operation: 50-1=49, Resulting Numbers: [45, 44, 49]
Generated Node #0,1: 39:[45, 44, 49] Operation: 50-1=49
Exploring Operation: 50-44=6, Resulting Numbers: [1, 45, 6]
Generated Node #0,2: 39:[1, 45, 6] Operation: 50-44=6
Exploring Operation: 50-45=5, Resulting Numbers: [1, 44, 5]
Generated Node #0,3: 39:[1, 44, 5] Operation: 50-45=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[1, 44, 5], Operations: ['50-45=5']
Exploring Operation: 44-1=43, Resulting Numbers: [5, 43]
Generated Node #0,3,0: 39:[5, 43] Operation: 44-1=43
Exploring Operation: 5-1=4, Resulting Numbers: [44, 4]
Generated Node #0,3,1: 39:[44, 4] Operation: 5-1=4
Exploring Operation: 1*44=44, Resulting Numbers: [5, 44]
Generated Node #0,3,2: 39:[5, 44] Operation: 1*44=44
Exploring Operation: 44-5=39, Resulting Numbers: [1, 39]
Generated Node #0,3,3: 39:[1, 39] Operation: 44-5=39
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[1, 39], Operations: ['50-45=5', '44-5=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[1, 50, 45, 44], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [1, 44, 5]
Generated Node #0,3: 39:[1, 44, 5] Operation: 50-45=5
Moving to Node #0,3
Current State: 39:[1, 44, 5], Operations: ['50-45=5']
Exploring Operation: 44-5=39, Resulting Numbers: [1, 39]
Generated Node #0,3,3: 39:[1, 39] Operation: 44-5=39
Moving to Node #0,3,3
Current State: 39:[1, 39], Operations: ['50-45=5', '44-5=39']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
mult_heuristic
|
[
50,
7,
2,
57
] | 63
|
[
"50-2=48",
"57-48=9",
"7*9=63"
] |
Current State: 63:[50, 7, 2, 57], Operations: []
Exploring Operation: 50-2=48, Resulting Numbers: [7, 57, 48]
Generated Node #2: [7, 57, 48] from Operation: 50-2=48
Current State: 63:[7, 57, 48], Operations: ['50-2=48']
Exploring Operation: 57-48=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 57-48=9
Current State: 63:[7, 9], Operations: ['50-2=48', '57-48=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[50, 7, 2, 57], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [7, 2, 7]
Generated Node #0,0: 63:[7, 2, 7] Operation: 57-50=7
Exploring Operation: 50/2=25, Resulting Numbers: [7, 57, 25]
Generated Node #0,1: 63:[7, 57, 25] Operation: 50/2=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[7, 2, 7], Operations: ['57-50=7']
Exploring Operation: 7+2=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 63:[7, 9] Operation: 7+2=9
Exploring Operation: 2+7=9, Resulting Numbers: [7, 9]
Generated Node #0,0,1: 63:[7, 9] Operation: 2+7=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[7, 9], Operations: ['57-50=7', '7+2=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[50, 7, 2, 57], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [7, 2, 7]
Generated Node #0,0: 63:[7, 2, 7] Operation: 57-50=7
Moving to Node #0,0
Current State: 63:[7, 2, 7], Operations: ['57-50=7']
Exploring Operation: 7+2=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 63:[7, 9] Operation: 7+2=9
Moving to Node #0,0,0
Current State: 63:[7, 9], Operations: ['57-50=7', '7+2=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
60,
30,
60,
97
] | 97
|
[
"60-60=0",
"30*0=0",
"97+0=97"
] |
Current State: 97:[60, 30, 60, 97], Operations: []
Exploring Operation: 60-60=0, Resulting Numbers: [30, 97, 0]
Generated Node #2: [30, 97, 0] from Operation: 60-60=0
Current State: 97:[30, 97, 0], Operations: ['60-60=0']
Exploring Operation: 30*0=0, Resulting Numbers: [97, 0]
Generated Node #3: [97, 0] from Operation: 30*0=0
Current State: 97:[97, 0], Operations: ['60-60=0', '30*0=0']
Exploring Operation: 97+0=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[60, 30, 60, 97], Operations: []
Exploring Operation: 30+60=90, Resulting Numbers: [60, 97, 90]
Generated Node #0,0: 97:[60, 97, 90] Operation: 30+60=90
Exploring Operation: 60+30=90, Resulting Numbers: [60, 97, 90]
Generated Node #0,1: 97:[60, 97, 90] Operation: 60+30=90
Moving to Node #0,0
Current State: 97:[60, 97, 90], Operations: ['30+60=90']
Exploring Operation: 60+90=150, Resulting Numbers: [97, 150]
Generated Node #0,0,0: 97:[97, 150] Operation: 60+90=150
Exploring Operation: 60+97=157, Resulting Numbers: [90, 157]
Generated Node #0,0,1: 97:[90, 157] Operation: 60+97=157
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[97, 150], Operations: ['30+60=90', '60+90=150']
Exploring Operation: 97+150=247, Resulting Numbers: [247]
247,97 unequal: No Solution
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[90, 157], Operations: ['30+60=90', '60+97=157']
Exploring Operation: 157-90=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 90+157=247, Resulting Numbers: [247]
247,97 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: 97:[60, 97, 90], Operations: ['60+30=90']
Exploring Operation: 60+97=157, Resulting Numbers: [90, 157]
Generated Node #0,1,0: 97:[90, 157] Operation: 60+97=157
Exploring Operation: 60+90=150, Resulting Numbers: [97, 150]
Generated Node #0,1,1: 97:[97, 150] Operation: 60+90=150
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[97, 150], Operations: ['60+30=90', '60+90=150']
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 97+150=247, Resulting Numbers: [247]
247,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[90, 157], Operations: ['60+30=90', '60+97=157']
Exploring Operation: 157-90=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 90+157=247, Resulting Numbers: [247]
247,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
84,
84,
23,
2
] | 23
|
[
"84-84=0",
"2*0=0",
"23+0=23"
] |
Current State: 23:[84, 84, 23, 2], Operations: []
Exploring Operation: 84-84=0, Resulting Numbers: [23, 2, 0]
Generated Node #2: [23, 2, 0] from Operation: 84-84=0
Current State: 23:[23, 2, 0], Operations: ['84-84=0']
Exploring Operation: 2*0=0, Resulting Numbers: [23, 0]
Generated Node #3: [23, 0] from Operation: 2*0=0
Current State: 23:[23, 0], Operations: ['84-84=0', '2*0=0']
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[84, 84, 23, 2], Operations: []
Exploring Operation: 84-84=0, Resulting Numbers: [23, 2, 0]
Generated Node #0,0: 23:[23, 2, 0] Operation: 84-84=0
Exploring Operation: 84/84=1, Resulting Numbers: [23, 2, 1]
Generated Node #0,1: 23:[23, 2, 1] Operation: 84/84=1
Exploring Operation: 84/2=42, Resulting Numbers: [84, 23, 42]
Generated Node #0,2: 23:[84, 23, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[23, 2, 1], Operations: ['84/84=1']
Exploring Operation: 2+1=3, Resulting Numbers: [23, 3]
Generated Node #0,1,0: 23:[23, 3] Operation: 2+1=3
Exploring Operation: 23/1=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 23:[2, 23] Operation: 23/1=23
Exploring Operation: 23*1=23, Resulting Numbers: [2, 23]
Generated Node #0,1,2: 23:[2, 23] Operation: 23*1=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[23, 3], Operations: ['84/84=1', '2+1=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,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,1,1
Current State: 23:[2, 23], Operations: ['84/84=1', '23/1=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,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,1,2
Current State: 23:[2, 23], Operations: ['84/84=1', '23*1=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[23, 2, 0], Operations: ['84-84=0']
Exploring Operation: 23-0=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 23:[2, 23] Operation: 23-0=23
Exploring Operation: 23+0=23, Resulting Numbers: [2, 23]
Generated Node #0,0,1: 23:[2, 23] Operation: 23+0=23
Exploring Operation: 2+0=2, Resulting Numbers: [23, 2]
Generated Node #0,0,2: 23:[23, 2] Operation: 2+0=2
Moving to Node #0,0,0
Current State: 23:[2, 23], Operations: ['84-84=0', '23-0=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[2, 23], Operations: ['84-84=0', '23+0=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[23, 2], Operations: ['84-84=0', '2+0=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,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,2
Current State: 23:[84, 23, 42], Operations: ['84/2=42']
Exploring Operation: 84-23=61, Resulting Numbers: [42, 61]
Generated Node #0,2,0: 23:[42, 61] Operation: 84-23=61
Exploring Operation: 84-42=42, Resulting Numbers: [23, 42]
Generated Node #0,2,1: 23:[23, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [23, 2]
Generated Node #0,2,2: 23:[23, 2] Operation: 84/42=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[23, 42], Operations: ['84/2=42', '84-42=42']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,23 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,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,2,2
Current State: 23:[23, 2], Operations: ['84/2=42', '84/42=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,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,2,0
Current State: 23:[42, 61], Operations: ['84/2=42', '84-23=61']
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,23 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,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_3
|
mult_heuristic
|
[
82,
2,
94,
1
] | 71
|
[
"82*2=164",
"94-1=93",
"164-93=71"
] |
Current State: 71:[82, 2, 94, 1], Operations: []
Exploring Operation: 82*2=164, Resulting Numbers: [94, 1, 164]
Generated Node #2: [94, 1, 164] from Operation: 82*2=164
Current State: 71:[94, 1, 164], Operations: ['82*2=164']
Exploring Operation: 94-1=93, Resulting Numbers: [164, 93]
Generated Node #3: [164, 93] from Operation: 94-1=93
Current State: 71:[164, 93], Operations: ['82*2=164', '94-1=93']
Exploring Operation: 164-93=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[82, 2, 94, 1], Operations: []
Exploring Operation: 94-2=92, Resulting Numbers: [82, 1, 92]
Generated Node #0,0: 71:[82, 1, 92] Operation: 94-2=92
Exploring Operation: 82-2=80, Resulting Numbers: [94, 1, 80]
Generated Node #0,1: 71:[94, 1, 80] Operation: 82-2=80
Exploring Operation: 82-1=81, Resulting Numbers: [2, 94, 81]
Generated Node #0,2: 71:[2, 94, 81] Operation: 82-1=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[82, 1, 92], Operations: ['94-2=92']
Exploring Operation: 92-1=91, Resulting Numbers: [82, 91]
Generated Node #0,0,0: 71:[82, 91] Operation: 92-1=91
Exploring Operation: 82*1=82, Resulting Numbers: [92, 82]
Generated Node #0,0,1: 71:[92, 82] Operation: 82*1=82
Exploring Operation: 82-1=81, Resulting Numbers: [92, 81]
Generated Node #0,0,2: 71:[92, 81] Operation: 82-1=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[82, 91], Operations: ['94-2=92', '92-1=91']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,71 unequal: No Solution
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[92, 81], Operations: ['94-2=92', '82-1=81']
Exploring Operation: 92*81=7452, Resulting Numbers: [7452]
7452,71 unequal: No Solution
Exploring Operation: 92+81=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[92, 82], Operations: ['94-2=92', '82*1=82']
Exploring Operation: 92*82=7544, Resulting Numbers: [7544]
7544,71 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 92+82=174, Resulting Numbers: [174]
174,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[94, 1, 80], Operations: ['82-2=80']
Exploring Operation: 80-1=79, Resulting Numbers: [94, 79]
Generated Node #0,1,0: 71:[94, 79] Operation: 80-1=79
Exploring Operation: 94*1=94, Resulting Numbers: [80, 94]
Generated Node #0,1,1: 71:[80, 94] Operation: 94*1=94
Exploring Operation: 94-1=93, Resulting Numbers: [80, 93]
Generated Node #0,1,2: 71:[80, 93] Operation: 94-1=93
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[94, 79], Operations: ['82-2=80', '80-1=79']
Exploring Operation: 94*79=7426, Resulting Numbers: [7426]
7426,71 unequal: No Solution
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 94+79=173, Resulting Numbers: [173]
173,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[80, 93], Operations: ['82-2=80', '94-1=93']
Exploring Operation: 93-80=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 80*93=7440, Resulting Numbers: [7440]
7440,71 unequal: No Solution
Exploring Operation: 80+93=173, Resulting Numbers: [173]
173,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[80, 94], Operations: ['82-2=80', '94*1=94']
Exploring Operation: 80*94=7520, Resulting Numbers: [7520]
7520,71 unequal: No Solution
Exploring Operation: 80+94=174, Resulting Numbers: [174]
174,71 unequal: No Solution
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[2, 94, 81], Operations: ['82-1=81']
Exploring Operation: 94/2=47, Resulting Numbers: [81, 47]
Generated Node #0,2,0: 71:[81, 47] Operation: 94/2=47
Exploring Operation: 81-2=79, Resulting Numbers: [94, 79]
Generated Node #0,2,1: 71:[94, 79] Operation: 81-2=79
Exploring Operation: 94-2=92, Resulting Numbers: [81, 92]
Generated Node #0,2,2: 71:[81, 92] Operation: 94-2=92
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[94, 79], Operations: ['82-1=81', '81-2=79']
Exploring Operation: 94+79=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Exploring Operation: 94*79=7426, Resulting Numbers: [7426]
7426,71 unequal: No Solution
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[81, 92], Operations: ['82-1=81', '94-2=92']
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 81*92=7452, Resulting Numbers: [7452]
7452,71 unequal: No Solution
Exploring Operation: 81+92=173, Resulting Numbers: [173]
173,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[81, 47], Operations: ['82-1=81', '94/2=47']
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
54,
87,
7,
64
] | 11
|
[
"54+87=141",
"141-64=77",
"77/7=11"
] |
Current State: 11:[54, 87, 7, 64], Operations: []
Exploring Operation: 54+87=141, Resulting Numbers: [7, 64, 141]
Generated Node #2: [7, 64, 141] from Operation: 54+87=141
Current State: 11:[7, 64, 141], Operations: ['54+87=141']
Exploring Operation: 141-64=77, Resulting Numbers: [7, 77]
Generated Node #3: [7, 77] from Operation: 141-64=77
Current State: 11:[7, 77], Operations: ['54+87=141', '141-64=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[54, 87, 7, 64], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [87, 7, 10]
Generated Node #0,0: 11:[87, 7, 10] Operation: 64-54=10
Exploring Operation: 87-54=33, Resulting Numbers: [7, 64, 33]
Generated Node #0,1: 11:[7, 64, 33] Operation: 87-54=33
Exploring Operation: 87-64=23, Resulting Numbers: [54, 7, 23]
Generated Node #0,2: 11:[54, 7, 23] Operation: 87-64=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[54, 7, 23], Operations: ['87-64=23']
Exploring Operation: 54-23=31, Resulting Numbers: [7, 31]
Generated Node #0,2,0: 11:[7, 31] Operation: 54-23=31
Exploring Operation: 23-7=16, Resulting Numbers: [54, 16]
Generated Node #0,2,1: 11:[54, 16] Operation: 23-7=16
Exploring Operation: 54-7=47, Resulting Numbers: [23, 47]
Generated Node #0,2,2: 11:[23, 47] Operation: 54-7=47
Moving to Node #0,2,0
Current State: 11:[7, 31], Operations: ['87-64=23', '54-23=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[54, 16], Operations: ['87-64=23', '23-7=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[23, 47], Operations: ['87-64=23', '54-7=47']
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,11 unequal: No Solution
No 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: 11:[7, 64, 33], Operations: ['87-54=33']
Exploring Operation: 64-33=31, Resulting Numbers: [7, 31]
Generated Node #0,1,0: 11:[7, 31] Operation: 64-33=31
Exploring Operation: 33-7=26, Resulting Numbers: [64, 26]
Generated Node #0,1,1: 11:[64, 26] Operation: 33-7=26
Exploring Operation: 64-7=57, Resulting Numbers: [33, 57]
Generated Node #0,1,2: 11:[33, 57] Operation: 64-7=57
Moving to Node #0,1,0
Current State: 11:[7, 31], Operations: ['87-54=33', '64-33=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[64, 26], Operations: ['87-54=33', '33-7=26']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[33, 57], Operations: ['87-54=33', '64-7=57']
Exploring Operation: 33*57=1881, Resulting Numbers: [1881]
1881,11 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[87, 7, 10], Operations: ['64-54=10']
Exploring Operation: 87-10=77, Resulting Numbers: [7, 77]
Generated Node #0,0,0: 11:[7, 77] Operation: 87-10=77
Exploring Operation: 87-7=80, Resulting Numbers: [10, 80]
Generated Node #0,0,1: 11:[10, 80] Operation: 87-7=80
Exploring Operation: 7+10=17, Resulting Numbers: [87, 17]
Generated Node #0,0,2: 11:[87, 17] Operation: 7+10=17
Moving to Node #0,0,0
Current State: 11:[7, 77], Operations: ['64-54=10', '87-10=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[54, 87, 7, 64], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [87, 7, 10]
Generated Node #0,0: 11:[87, 7, 10] Operation: 64-54=10
Moving to Node #0,0
Current State: 11:[87, 7, 10], Operations: ['64-54=10']
Exploring Operation: 87-10=77, Resulting Numbers: [7, 77]
Generated Node #0,0,0: 11:[7, 77] Operation: 87-10=77
Moving to Node #0,0,0
Current State: 11:[7, 77], Operations: ['64-54=10', '87-10=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882
|
hs_3
|
sum_heuristic
|
[
90,
16,
19,
33
] | 41
|
[
"90+33=123",
"19-16=3",
"123/3=41"
] |
Current State: 41:[90, 16, 19, 33], Operations: []
Exploring Operation: 90+33=123, Resulting Numbers: [16, 19, 123]
Generated Node #2: [16, 19, 123] from Operation: 90+33=123
Current State: 41:[16, 19, 123], Operations: ['90+33=123']
Exploring Operation: 19-16=3, Resulting Numbers: [123, 3]
Generated Node #3: [123, 3] from Operation: 19-16=3
Current State: 41:[123, 3], Operations: ['90+33=123', '19-16=3']
Exploring Operation: 123/3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[90, 16, 19, 33], Operations: []
Exploring Operation: 90-19=71, Resulting Numbers: [16, 33, 71]
Generated Node #0,0: 41:[16, 33, 71] Operation: 90-19=71
Exploring Operation: 90-16=74, Resulting Numbers: [19, 33, 74]
Generated Node #0,1: 41:[19, 33, 74] Operation: 90-16=74
Moving to Node #0,0
Current State: 41:[16, 33, 71], Operations: ['90-19=71']
Exploring Operation: 71-16=55, Resulting Numbers: [33, 55]
Generated Node #0,0,0: 41:[33, 55] Operation: 71-16=55
Exploring Operation: 71-33=38, Resulting Numbers: [16, 38]
Generated Node #0,0,1: 41:[16, 38] Operation: 71-33=38
Moving to Node #0,1
Current State: 41:[19, 33, 74], Operations: ['90-16=74']
Exploring Operation: 74-19=55, Resulting Numbers: [33, 55]
Generated Node #0,1,0: 41:[33, 55] Operation: 74-19=55
Exploring Operation: 74-33=41, Resulting Numbers: [19, 41]
Generated Node #0,1,1: 41:[19, 41] Operation: 74-33=41
Moving to Node #0,0,0
Current State: 41:[33, 55], Operations: ['90-19=71', '71-16=55']
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[33, 55], Operations: ['90-16=74', '74-19=55']
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[19, 41], Operations: ['90-16=74', '74-33=41']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[16, 38], Operations: ['90-19=71', '71-33=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,41 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
18,
6,
36,
11
] | 35
|
[
"18-6=12",
"36+11=47",
"47-12=35"
] |
Current State: 35:[18, 6, 36, 11], Operations: []
Exploring Operation: 18-6=12, Resulting Numbers: [36, 11, 12]
Generated Node #2: [36, 11, 12] from Operation: 18-6=12
Current State: 35:[36, 11, 12], Operations: ['18-6=12']
Exploring Operation: 36+11=47, Resulting Numbers: [12, 47]
Generated Node #3: [12, 47] from Operation: 36+11=47
Current State: 35:[12, 47], Operations: ['18-6=12', '36+11=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[18, 6, 36, 11], Operations: []
Exploring Operation: 18-11=7, Resulting Numbers: [6, 36, 7]
Generated Node #0,0: 35:[6, 36, 7] Operation: 18-11=7
Exploring Operation: 18+11=29, Resulting Numbers: [6, 36, 29]
Generated Node #0,1: 35:[6, 36, 29] Operation: 18+11=29
Exploring Operation: 18/6=3, Resulting Numbers: [36, 11, 3]
Generated Node #0,2: 35:[36, 11, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [36, 11, 12]
Generated Node #0,3: 35:[36, 11, 12] Operation: 18-6=12
Exploring Operation: 36/18=2, Resulting Numbers: [6, 11, 2]
Generated Node #0,4: 35:[6, 11, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 35:[6, 36, 7], Operations: ['18-11=7']
Exploring Operation: 6+7=13, Resulting Numbers: [36, 13]
Generated Node #0,0,0: 35:[36, 13] Operation: 6+7=13
Exploring Operation: 36-6=30, Resulting Numbers: [7, 30]
Generated Node #0,0,1: 35:[7, 30] Operation: 36-6=30
Exploring Operation: 7-6=1, Resulting Numbers: [36, 1]
Generated Node #0,0,2: 35:[36, 1] Operation: 7-6=1
Exploring Operation: 6+36=42, Resulting Numbers: [7, 42]
Generated Node #0,0,3: 35:[7, 42] Operation: 6+36=42
Exploring Operation: 36/6=6, Resulting Numbers: [7, 6]
Generated Node #0,0,4: 35:[7, 6] Operation: 36/6=6
Moving to Node #0,2
Current State: 35:[36, 11, 3], Operations: ['18/6=3']
Exploring Operation: 11*3=33, Resulting Numbers: [36, 33]
Generated Node #0,2,0: 35:[36, 33] Operation: 11*3=33
Exploring Operation: 36-3=33, Resulting Numbers: [11, 33]
Generated Node #0,2,1: 35:[11, 33] Operation: 36-3=33
Exploring Operation: 11+3=14, Resulting Numbers: [36, 14]
Generated Node #0,2,2: 35:[36, 14] Operation: 11+3=14
Exploring Operation: 36+3=39, Resulting Numbers: [11, 39]
Generated Node #0,2,3: 35:[11, 39] Operation: 36+3=39
Exploring Operation: 11-3=8, Resulting Numbers: [36, 8]
Generated Node #0,2,4: 35:[36, 8] Operation: 11-3=8
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[36, 8], Operations: ['18/6=3', '11-3=8']
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,35 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[36, 33], Operations: ['18/6=3', '11*3=33']
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,35 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[11, 33], Operations: ['18/6=3', '36-3=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,35 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[36, 14], Operations: ['18/6=3', '11+3=14']
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,35 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[11, 39], Operations: ['18/6=3', '36+3=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,35 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: 35:[6, 36, 29], Operations: ['18+11=29']
Exploring Operation: 6+36=42, Resulting Numbers: [29, 42]
Generated Node #0,1,0: 35:[29, 42] Operation: 6+36=42
Exploring Operation: 36-29=7, Resulting Numbers: [6, 7]
Generated Node #0,1,1: 35:[6, 7] Operation: 36-29=7
Exploring Operation: 36/6=6, Resulting Numbers: [29, 6]
Generated Node #0,1,2: 35:[29, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [29, 30]
Generated Node #0,1,3: 35:[29, 30] Operation: 36-6=30
Exploring Operation: 6+29=35, Resulting Numbers: [36, 35]
Generated Node #0,1,4: 35:[36, 35] Operation: 6+29=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[6, 7], Operations: ['18+11=29', '36-29=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 35:[36, 35], Operations: ['18+11=29', '6+29=35']
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,35 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[29, 6], Operations: ['18+11=29', '36/6=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,35 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[18, 6, 36, 11], Operations: []
Exploring Operation: 18+11=29, Resulting Numbers: [6, 36, 29]
Generated Node #0,1: 35:[6, 36, 29] Operation: 18+11=29
Moving to Node #0,1
Current State: 35:[6, 36, 29], Operations: ['18+11=29']
Exploring Operation: 36/6=6, Resulting Numbers: [29, 6]
Generated Node #0,1,2: 35:[29, 6] Operation: 36/6=6
Moving to Node #0,1,2
Current State: 35:[29, 6], Operations: ['18+11=29', '36/6=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333
|
hs_5
|
mult_heuristic
|
[
7,
27,
38,
95
] | 23
|
[
"7+27=34",
"95-38=57",
"57-34=23"
] |
Current State: 23:[7, 27, 38, 95], Operations: []
Exploring Operation: 7+27=34, Resulting Numbers: [38, 95, 34]
Generated Node #2: [38, 95, 34] from Operation: 7+27=34
Current State: 23:[38, 95, 34], Operations: ['7+27=34']
Exploring Operation: 95-38=57, Resulting Numbers: [34, 57]
Generated Node #3: [34, 57] from Operation: 95-38=57
Current State: 23:[34, 57], Operations: ['7+27=34', '95-38=57']
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[7, 27, 38, 95], Operations: []
Exploring Operation: 38-7=31, Resulting Numbers: [27, 95, 31]
Generated Node #0,0: 23:[27, 95, 31] Operation: 38-7=31
Exploring Operation: 95-7=88, Resulting Numbers: [27, 38, 88]
Generated Node #0,1: 23:[27, 38, 88] Operation: 95-7=88
Exploring Operation: 95-38=57, Resulting Numbers: [7, 27, 57]
Generated Node #0,2: 23:[7, 27, 57] Operation: 95-38=57
Exploring Operation: 95-27=68, Resulting Numbers: [7, 38, 68]
Generated Node #0,3: 23:[7, 38, 68] Operation: 95-27=68
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[7, 27, 57], Operations: ['95-38=57']
Exploring Operation: 57-7=50, Resulting Numbers: [27, 50]
Generated Node #0,2,0: 23:[27, 50] Operation: 57-7=50
Exploring Operation: 7+27=34, Resulting Numbers: [57, 34]
Generated Node #0,2,1: 23:[57, 34] Operation: 7+27=34
Exploring Operation: 27-7=20, Resulting Numbers: [57, 20]
Generated Node #0,2,2: 23:[57, 20] Operation: 27-7=20
Exploring Operation: 57-27=30, Resulting Numbers: [7, 30]
Generated Node #0,2,3: 23:[7, 30] Operation: 57-27=30
Moving to Node #0,2,3
Current State: 23:[7, 30], Operations: ['95-38=57', '57-27=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[7, 27, 38, 95], Operations: []
Exploring Operation: 95-38=57, Resulting Numbers: [7, 27, 57]
Generated Node #0,2: 23:[7, 27, 57] Operation: 95-38=57
Moving to Node #0,2
Current State: 23:[7, 27, 57], Operations: ['95-38=57']
Exploring Operation: 57-27=30, Resulting Numbers: [7, 30]
Generated Node #0,2,3: 23:[7, 30] Operation: 57-27=30
Moving to Node #0,2,3
Current State: 23:[7, 30], Operations: ['95-38=57', '57-27=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
mult_heuristic
|
[
80,
38,
17,
28
] | 90
|
[
"38-28=10",
"17*10=170",
"170-80=90"
] |
Current State: 90:[80, 38, 17, 28], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [80, 17, 10]
Generated Node #2: [80, 17, 10] from Operation: 38-28=10
Current State: 90:[80, 17, 10], Operations: ['38-28=10']
Exploring Operation: 17*10=170, Resulting Numbers: [80, 170]
Generated Node #3: [80, 170] from Operation: 17*10=170
Current State: 90:[80, 170], Operations: ['38-28=10', '17*10=170']
Exploring Operation: 170-80=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[80, 38, 17, 28], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [17, 28, 42]
Generated Node #0,0: 90:[17, 28, 42] Operation: 80-38=42
Exploring Operation: 38-17=21, Resulting Numbers: [80, 28, 21]
Generated Node #0,1: 90:[80, 28, 21] Operation: 38-17=21
Exploring Operation: 80-28=52, Resulting Numbers: [38, 17, 52]
Generated Node #0,2: 90:[38, 17, 52] Operation: 80-28=52
Exploring Operation: 38-28=10, Resulting Numbers: [80, 17, 10]
Generated Node #0,3: 90:[80, 17, 10] Operation: 38-28=10
Moving to Node #0,0
Current State: 90:[17, 28, 42], Operations: ['80-38=42']
Exploring Operation: 17+28=45, Resulting Numbers: [42, 45]
Generated Node #0,0,0: 90:[42, 45] Operation: 17+28=45
Exploring Operation: 42-17=25, Resulting Numbers: [28, 25]
Generated Node #0,0,1: 90:[28, 25] Operation: 42-17=25
Exploring Operation: 28-17=11, Resulting Numbers: [42, 11]
Generated Node #0,0,2: 90:[42, 11] Operation: 28-17=11
Exploring Operation: 42-28=14, Resulting Numbers: [17, 14]
Generated Node #0,0,3: 90:[17, 14] Operation: 42-28=14
Moving to Node #0,3
Current State: 90:[80, 17, 10], Operations: ['38-28=10']
Exploring Operation: 80+17=97, Resulting Numbers: [10, 97]
Generated Node #0,3,0: 90:[10, 97] Operation: 80+17=97
Exploring Operation: 80+10=90, Resulting Numbers: [17, 90]
Generated Node #0,3,1: 90:[17, 90] Operation: 80+10=90
Exploring Operation: 80/10=8, Resulting Numbers: [17, 8]
Generated Node #0,3,2: 90:[17, 8] Operation: 80/10=8
Exploring Operation: 17-10=7, Resulting Numbers: [80, 7]
Generated Node #0,3,3: 90:[80, 7] Operation: 17-10=7
Moving to Node #0,2
Current State: 90:[38, 17, 52], Operations: ['80-28=52']
Exploring Operation: 52-38=14, Resulting Numbers: [17, 14]
Generated Node #0,2,0: 90:[17, 14] Operation: 52-38=14
Exploring Operation: 38-17=21, Resulting Numbers: [52, 21]
Generated Node #0,2,1: 90:[52, 21] Operation: 38-17=21
Exploring Operation: 52-17=35, Resulting Numbers: [38, 35]
Generated Node #0,2,2: 90:[38, 35] Operation: 52-17=35
Exploring Operation: 38+52=90, Resulting Numbers: [17, 90]
Generated Node #0,2,3: 90:[17, 90] Operation: 38+52=90
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[17, 90], Operations: ['80-28=52', '38+52=90']
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[17, 14], Operations: ['80-28=52', '52-38=14']
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,90 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[52, 21], Operations: ['80-28=52', '38-17=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[38, 35], Operations: ['80-28=52', '52-17=35']
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 38*35=1330, Resulting Numbers: [1330]
1330,90 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: 90:[80, 28, 21], Operations: ['38-17=21']
Exploring Operation: 80-28=52, Resulting Numbers: [21, 52]
Generated Node #0,1,0: 90:[21, 52] Operation: 80-28=52
Exploring Operation: 80+21=101, Resulting Numbers: [28, 101]
Generated Node #0,1,1: 90:[28, 101] Operation: 80+21=101
Exploring Operation: 28+21=49, Resulting Numbers: [80, 49]
Generated Node #0,1,2: 90:[80, 49] Operation: 28+21=49
Exploring Operation: 28-21=7, Resulting Numbers: [80, 7]
Generated Node #0,1,3: 90:[80, 7] Operation: 28-21=7
Moving to Node #0,3,1
Current State: 90:[17, 90], Operations: ['38-28=10', '80+10=90']
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[17, 8], Operations: ['38-28=10', '80/10=8']
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,90 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[17, 14], Operations: ['80-38=42', '42-28=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[42, 45], Operations: ['80-38=42', '17+28=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 42*45=1890, Resulting Numbers: [1890]
1890,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[42, 11], Operations: ['80-38=42', '28-17=11']
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,90 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[10, 97], Operations: ['38-28=10', '80+17=97']
Exploring Operation: 10*97=970, Resulting Numbers: [970]
970,90 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 10+97=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[28, 25], Operations: ['80-38=42', '42-17=25']
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,90 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[21, 52], Operations: ['38-17=21', '80-28=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,90 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[80, 7], Operations: ['38-28=10', '17-10=7']
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,90 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[80, 7], Operations: ['38-17=21', '28-21=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,90 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[28, 101], Operations: ['38-17=21', '80+21=101']
Exploring Operation: 101-28=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 28*101=2828, Resulting Numbers: [2828]
2828,90 unequal: No Solution
Exploring Operation: 28+101=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[80, 49], Operations: ['38-17=21', '28+21=49']
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,90 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
49,
89,
47,
20
] | 21
|
[
"47*20=940",
"89+940=1029",
"1029/49=21"
] |
Current State: 21:[49, 89, 47, 20], Operations: []
Exploring Operation: 47*20=940, Resulting Numbers: [49, 89, 940]
Generated Node #2: [49, 89, 940] from Operation: 47*20=940
Current State: 21:[49, 89, 940], Operations: ['47*20=940']
Exploring Operation: 89+940=1029, Resulting Numbers: [49, 1029]
Generated Node #3: [49, 1029] from Operation: 89+940=1029
Current State: 21:[49, 1029], Operations: ['47*20=940', '89+940=1029']
Exploring Operation: 1029/49=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[49, 89, 47, 20], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [89, 47, 29]
Generated Node #0,0: 21:[89, 47, 29] Operation: 49-20=29
Exploring Operation: 89-47=42, Resulting Numbers: [49, 20, 42]
Generated Node #0,1: 21:[49, 20, 42] Operation: 89-47=42
Exploring Operation: 49-47=2, Resulting Numbers: [89, 20, 2]
Generated Node #0,2: 21:[89, 20, 2] Operation: 49-47=2
Exploring Operation: 89-20=69, Resulting Numbers: [49, 47, 69]
Generated Node #0,3: 21:[49, 47, 69] Operation: 89-20=69
Exploring Operation: 89-49=40, Resulting Numbers: [47, 20, 40]
Generated Node #0,4: 21:[47, 20, 40] Operation: 89-49=40
Moving to Node #0,4
Current State: 21:[47, 20, 40], Operations: ['89-49=40']
Exploring Operation: 47-40=7, Resulting Numbers: [20, 7]
Generated Node #0,4,0: 21:[20, 7] Operation: 47-40=7
Exploring Operation: 40-20=20, Resulting Numbers: [47, 20]
Generated Node #0,4,1: 21:[47, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [47, 2]
Generated Node #0,4,2: 21:[47, 2] Operation: 40/20=2
Exploring Operation: 47-20=27, Resulting Numbers: [40, 27]
Generated Node #0,4,3: 21:[40, 27] Operation: 47-20=27
Exploring Operation: 47+20=67, Resulting Numbers: [40, 67]
Generated Node #0,4,4: 21:[40, 67] Operation: 47+20=67
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 21:[20, 7], Operations: ['89-49=40', '47-40=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,21 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 21:[40, 27], Operations: ['89-49=40', '47-20=27']
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 21:[47, 20], Operations: ['89-49=40', '40-20=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 21:[47, 2], Operations: ['89-49=40', '40/20=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 21:[40, 67], Operations: ['89-49=40', '47+20=67']
Exploring Operation: 40*67=2680, Resulting Numbers: [2680]
2680,21 unequal: No Solution
Exploring Operation: 40+67=107, Resulting Numbers: [107]
107,21 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,21 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: 21:[49, 20, 42], Operations: ['89-47=42']
Exploring Operation: 20+42=62, Resulting Numbers: [49, 62]
Generated Node #0,1,0: 21:[49, 62] Operation: 20+42=62
Exploring Operation: 49+20=69, Resulting Numbers: [42, 69]
Generated Node #0,1,1: 21:[42, 69] Operation: 49+20=69
Exploring Operation: 42-20=22, Resulting Numbers: [49, 22]
Generated Node #0,1,2: 21:[49, 22] Operation: 42-20=22
Exploring Operation: 49-42=7, Resulting Numbers: [20, 7]
Generated Node #0,1,3: 21:[20, 7] Operation: 49-42=7
Exploring Operation: 49-20=29, Resulting Numbers: [42, 29]
Generated Node #0,1,4: 21:[42, 29] Operation: 49-20=29
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[20, 7], Operations: ['89-47=42', '49-42=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[49, 22], Operations: ['89-47=42', '42-20=22']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 21:[42, 29], Operations: ['89-47=42', '49-20=29']
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,21 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[49, 62], Operations: ['89-47=42', '20+42=62']
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[42, 69], Operations: ['89-47=42', '49+20=69']
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,21 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,21 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: 21:[89, 20, 2], Operations: ['49-47=2']
Exploring Operation: 89+2=91, Resulting Numbers: [20, 91]
Generated Node #0,2,0: 21:[20, 91] Operation: 89+2=91
Exploring Operation: 20+2=22, Resulting Numbers: [89, 22]
Generated Node #0,2,1: 21:[89, 22] Operation: 20+2=22
Exploring Operation: 20-2=18, Resulting Numbers: [89, 18]
Generated Node #0,2,2: 21:[89, 18] Operation: 20-2=18
Exploring Operation: 89-20=69, Resulting Numbers: [2, 69]
Generated Node #0,2,3: 21:[2, 69] Operation: 89-20=69
Exploring Operation: 89-2=87, Resulting Numbers: [20, 87]
Generated Node #0,2,4: 21:[20, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[2, 69], Operations: ['49-47=2', '89-20=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 21:[20, 87], Operations: ['49-47=2', '89-2=87']
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,21 unequal: No Solution
Exploring Operation: 20*87=1740, Resulting Numbers: [1740]
1740,21 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[89, 22], Operations: ['49-47=2', '20+2=22']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,21 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[20, 91], Operations: ['49-47=2', '89+2=91']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 20+91=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 20*91=1820, Resulting Numbers: [1820]
1820,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[89, 18], Operations: ['49-47=2', '20-2=18']
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,21 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,21 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: 21:[89, 47, 29], Operations: ['49-20=29']
Exploring Operation: 47-29=18, Resulting Numbers: [89, 18]
Generated Node #0,0,0: 21:[89, 18] Operation: 47-29=18
Exploring Operation: 89+47=136, Resulting Numbers: [29, 136]
Generated Node #0,0,1: 21:[29, 136] Operation: 89+47=136
Exploring Operation: 89+29=118, Resulting Numbers: [47, 118]
Generated Node #0,0,2: 21:[47, 118] Operation: 89+29=118
Exploring Operation: 89-47=42, Resulting Numbers: [29, 42]
Generated Node #0,0,3: 21:[29, 42] Operation: 89-47=42
Exploring Operation: 89-29=60, Resulting Numbers: [47, 60]
Generated Node #0,0,4: 21:[47, 60] Operation: 89-29=60
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[29, 42], Operations: ['49-20=29', '89-47=42']
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,21 unequal: No Solution
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 21:[47, 60], Operations: ['49-20=29', '89-29=60']
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,21 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,21 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[89, 18], Operations: ['49-20=29', '47-29=18']
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,21 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[29, 136], Operations: ['49-20=29', '89+47=136']
Exploring Operation: 136-29=107, Resulting Numbers: [107]
107,21 unequal: No Solution
Exploring Operation: 29*136=3944, Resulting Numbers: [3944]
3944,21 unequal: No Solution
Exploring Operation: 29+136=165, Resulting Numbers: [165]
165,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[47, 118], Operations: ['49-20=29', '89+29=118']
Exploring Operation: 118-47=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 47*118=5546, Resulting Numbers: [5546]
5546,21 unequal: No Solution
Exploring Operation: 47+118=165, Resulting Numbers: [165]
165,21 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: 21:[49, 47, 69], Operations: ['89-20=69']
Exploring Operation: 49-47=2, Resulting Numbers: [69, 2]
Generated Node #0,3,0: 21:[69, 2] Operation: 49-47=2
Exploring Operation: 69-49=20, Resulting Numbers: [47, 20]
Generated Node #0,3,1: 21:[47, 20] Operation: 69-49=20
Exploring Operation: 69-47=22, Resulting Numbers: [49, 22]
Generated Node #0,3,2: 21:[49, 22] Operation: 69-47=22
Exploring Operation: 49+47=96, Resulting Numbers: [69, 96]
Generated Node #0,3,3: 21:[69, 96] Operation: 49+47=96
Exploring Operation: 49+69=118, Resulting Numbers: [47, 118]
Generated Node #0,3,4: 21:[47, 118] Operation: 49+69=118
Moving to Node #0,3,1
Current State: 21:[47, 20], Operations: ['89-20=69', '69-49=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[49, 22], Operations: ['89-20=69', '69-47=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,21 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[69, 2], Operations: ['89-20=69', '49-47=2']
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[69, 96], Operations: ['89-20=69', '49+47=96']
Exploring Operation: 69*96=6624, Resulting Numbers: [6624]
6624,21 unequal: No Solution
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 69+96=165, Resulting Numbers: [165]
165,21 unequal: No Solution
Moving to Node #0,3,4
Current State: 21:[47, 118], Operations: ['89-20=69', '49+69=118']
Exploring Operation: 118-47=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 47+118=165, Resulting Numbers: [165]
165,21 unequal: No Solution
Exploring Operation: 47*118=5546, Resulting Numbers: [5546]
5546,21 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
3,
91,
14,
21
] | 27
|
[
"3*91=273",
"273/21=13",
"14+13=27"
] |
Current State: 27:[3, 91, 14, 21], Operations: []
Exploring Operation: 3*91=273, Resulting Numbers: [14, 21, 273]
Generated Node #2: [14, 21, 273] from Operation: 3*91=273
Current State: 27:[14, 21, 273], Operations: ['3*91=273']
Exploring Operation: 273/21=13, Resulting Numbers: [14, 13]
Generated Node #3: [14, 13] from Operation: 273/21=13
Current State: 27:[14, 13], Operations: ['3*91=273', '273/21=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[3, 91, 14, 21], Operations: []
Exploring Operation: 91-21=70, Resulting Numbers: [3, 14, 70]
Generated Node #0,0: 27:[3, 14, 70] Operation: 91-21=70
Moving to Node #0,0
Current State: 27:[3, 14, 70], Operations: ['91-21=70']
Exploring Operation: 70/14=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 27:[3, 5] Operation: 70/14=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[3, 5], Operations: ['91-21=70', '70/14=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,27 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,
1,
21,
7
] | 31
|
[
"28*1=28",
"21/7=3",
"28+3=31"
] |
Current State: 31:[28, 1, 21, 7], Operations: []
Exploring Operation: 28*1=28, Resulting Numbers: [21, 7, 28]
Generated Node #2: [21, 7, 28] from Operation: 28*1=28
Current State: 31:[21, 7, 28], Operations: ['28*1=28']
Exploring Operation: 21/7=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 21/7=3
Current State: 31:[28, 3], Operations: ['28*1=28', '21/7=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[28, 1, 21, 7], Operations: []
Exploring Operation: 21+7=28, Resulting Numbers: [28, 1, 28]
Generated Node #0,0: 31:[28, 1, 28] Operation: 21+7=28
Exploring Operation: 1+7=8, Resulting Numbers: [28, 21, 8]
Generated Node #0,1: 31:[28, 21, 8] Operation: 1+7=8
Exploring Operation: 1+21=22, Resulting Numbers: [28, 7, 22]
Generated Node #0,2: 31:[28, 7, 22] Operation: 1+21=22
Exploring Operation: 28+1=29, Resulting Numbers: [21, 7, 29]
Generated Node #0,3: 31:[21, 7, 29] Operation: 28+1=29
Moving to Node #0,0
Current State: 31:[28, 1, 28], Operations: ['21+7=28']
Exploring Operation: 28+1=29, Resulting Numbers: [28, 29]
Generated Node #0,0,0: 31:[28, 29] Operation: 28+1=29
Exploring Operation: 1+28=29, Resulting Numbers: [28, 29]
Generated Node #0,0,1: 31:[28, 29] Operation: 1+28=29
Exploring Operation: 28*1=28, Resulting Numbers: [28, 28]
Generated Node #0,0,2: 31:[28, 28] Operation: 28*1=28
Exploring Operation: 28/1=28, Resulting Numbers: [28, 28]
Generated Node #0,0,3: 31:[28, 28] Operation: 28/1=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[28, 29], Operations: ['21+7=28', '28+1=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,31 unequal: No Solution
No 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: 31:[28, 29], Operations: ['21+7=28', '1+28=29']
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,31 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,31 unequal: No Solution
No 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: 31:[28, 28], Operations: ['21+7=28', '28*1=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,31 unequal: No Solution
No 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: 31:[28, 28], Operations: ['21+7=28', '28/1=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,31 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: 31:[28, 7, 22], Operations: ['1+21=22']
Exploring Operation: 22-7=15, Resulting Numbers: [28, 15]
Generated Node #0,2,0: 31:[28, 15] Operation: 22-7=15
Exploring Operation: 28-7=21, Resulting Numbers: [22, 21]
Generated Node #0,2,1: 31:[22, 21] Operation: 28-7=21
Exploring Operation: 28+7=35, Resulting Numbers: [22, 35]
Generated Node #0,2,2: 31:[22, 35] Operation: 28+7=35
Exploring Operation: 7+22=29, Resulting Numbers: [28, 29]
Generated Node #0,2,3: 31:[28, 29] Operation: 7+22=29
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[28, 29], Operations: ['1+21=22', '7+22=29']
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,31 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No 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: 31:[22, 35], Operations: ['1+21=22', '28+7=35']
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,31 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,31 unequal: No Solution
No 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: 31:[28, 15], Operations: ['1+21=22', '22-7=15']
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,31 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,31 unequal: No Solution
No 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: 31:[22, 21], Operations: ['1+21=22', '28-7=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,31 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,31 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: 31:[28, 21, 8], Operations: ['1+7=8']
Exploring Operation: 28-8=20, Resulting Numbers: [21, 20]
Generated Node #0,1,0: 31:[21, 20] Operation: 28-8=20
Exploring Operation: 21+8=29, Resulting Numbers: [28, 29]
Generated Node #0,1,1: 31:[28, 29] Operation: 21+8=29
Exploring Operation: 28+8=36, Resulting Numbers: [21, 36]
Generated Node #0,1,2: 31:[21, 36] Operation: 28+8=36
Exploring Operation: 21-8=13, Resulting Numbers: [28, 13]
Generated Node #0,1,3: 31:[28, 13] Operation: 21-8=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[28, 29], Operations: ['1+7=8', '21+8=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,31 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No 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: 31:[21, 36], Operations: ['1+7=8', '28+8=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,31 unequal: No Solution
No 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: 31:[21, 20], Operations: ['1+7=8', '28-8=20']
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,31 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No 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: 31:[28, 13], Operations: ['1+7=8', '21-8=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,31 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: 31:[21, 7, 29], Operations: ['28+1=29']
Exploring Operation: 21-7=14, Resulting Numbers: [29, 14]
Generated Node #0,3,0: 31:[29, 14] Operation: 21-7=14
Exploring Operation: 29-7=22, Resulting Numbers: [21, 22]
Generated Node #0,3,1: 31:[21, 22] Operation: 29-7=22
Exploring Operation: 21+7=28, Resulting Numbers: [29, 28]
Generated Node #0,3,2: 31:[29, 28] Operation: 21+7=28
Exploring Operation: 7+29=36, Resulting Numbers: [21, 36]
Generated Node #0,3,3: 31:[21, 36] Operation: 7+29=36
Moving to Node #0,3,2
Current State: 31:[29, 28], Operations: ['28+1=29', '21+7=28']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[21, 36], Operations: ['28+1=29', '7+29=36']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[21, 22], Operations: ['28+1=29', '29-7=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[29, 14], Operations: ['28+1=29', '21-7=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,31 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
40,
27,
83,
80
] | 54
|
[
"80/40=2",
"83-27=56",
"56-2=54"
] |
Current State: 54:[40, 27, 83, 80], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [27, 83, 2]
Generated Node #2: [27, 83, 2] from Operation: 80/40=2
Current State: 54:[27, 83, 2], Operations: ['80/40=2']
Exploring Operation: 83-27=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 83-27=56
Current State: 54:[2, 56], Operations: ['80/40=2', '83-27=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[40, 27, 83, 80], Operations: []
Exploring Operation: 83-40=43, Resulting Numbers: [27, 80, 43]
Generated Node #0,0: 54:[27, 80, 43] Operation: 83-40=43
Exploring Operation: 83-27=56, Resulting Numbers: [40, 80, 56]
Generated Node #0,1: 54:[40, 80, 56] Operation: 83-27=56
Exploring Operation: 83-80=3, Resulting Numbers: [40, 27, 3]
Generated Node #0,2: 54:[40, 27, 3] Operation: 83-80=3
Exploring Operation: 80/40=2, Resulting Numbers: [27, 83, 2]
Generated Node #0,3: 54:[27, 83, 2] Operation: 80/40=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[40, 27, 3], Operations: ['83-80=3']
Exploring Operation: 40+27=67, Resulting Numbers: [3, 67]
Generated Node #0,2,0: 54:[3, 67] Operation: 40+27=67
Exploring Operation: 40+3=43, Resulting Numbers: [27, 43]
Generated Node #0,2,1: 54:[27, 43] Operation: 40+3=43
Exploring Operation: 40-3=37, Resulting Numbers: [27, 37]
Generated Node #0,2,2: 54:[27, 37] Operation: 40-3=37
Exploring Operation: 40-27=13, Resulting Numbers: [3, 13]
Generated Node #0,2,3: 54:[3, 13] Operation: 40-27=13
Moving to Node #0,2,3
Current State: 54:[3, 13], Operations: ['83-80=3', '40-27=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[27, 37], Operations: ['83-80=3', '40-3=37']
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,54 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[27, 43], Operations: ['83-80=3', '40+3=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[3, 67], Operations: ['83-80=3', '40+27=67']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[27, 83, 2], Operations: ['80/40=2']
Exploring Operation: 27+2=29, Resulting Numbers: [83, 29]
Generated Node #0,3,0: 54:[83, 29] Operation: 27+2=29
Exploring Operation: 83-27=56, Resulting Numbers: [2, 56]
Generated Node #0,3,1: 54:[2, 56] Operation: 83-27=56
Exploring Operation: 83-2=81, Resulting Numbers: [27, 81]
Generated Node #0,3,2: 54:[27, 81] Operation: 83-2=81
Exploring Operation: 27*2=54, Resulting Numbers: [83, 54]
Generated Node #0,3,3: 54:[83, 54] Operation: 27*2=54
Moving to Node #0,3,1
Current State: 54:[2, 56], Operations: ['80/40=2', '83-27=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,54 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[40, 27, 83, 80], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [27, 83, 2]
Generated Node #0,3: 54:[27, 83, 2] Operation: 80/40=2
Moving to Node #0,3
Current State: 54:[27, 83, 2], Operations: ['80/40=2']
Exploring Operation: 83-27=56, Resulting Numbers: [2, 56]
Generated Node #0,3,1: 54:[2, 56] Operation: 83-27=56
Moving to Node #0,3,1
Current State: 54:[2, 56], Operations: ['80/40=2', '83-27=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222
|
hs_4
|
mult_heuristic
|
[
4,
41,
6,
56
] | 84
|
[
"41-6=35",
"4*35=140",
"140-56=84"
] |
Current State: 84:[4, 41, 6, 56], Operations: []
Exploring Operation: 41-6=35, Resulting Numbers: [4, 56, 35]
Generated Node #2: [4, 56, 35] from Operation: 41-6=35
Current State: 84:[4, 56, 35], Operations: ['41-6=35']
Exploring Operation: 4*35=140, Resulting Numbers: [56, 140]
Generated Node #3: [56, 140] from Operation: 4*35=140
Current State: 84:[56, 140], Operations: ['41-6=35', '4*35=140']
Exploring Operation: 140-56=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[4, 41, 6, 56], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [41, 6, 14]
Generated Node #0,0: 84:[41, 6, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[41, 6, 14], Operations: ['56/4=14']
Exploring Operation: 41-14=27, Resulting Numbers: [6, 27]
Generated Node #0,0,0: 84:[6, 27] Operation: 41-14=27
Moving to Node #0,0,0
Current State: 84:[6, 27], Operations: ['56/4=14', '41-14=27']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,84 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
|
[
1,
66,
18,
6
] | 28
|
[
"18-1=17",
"66/6=11",
"17+11=28"
] |
Current State: 28:[1, 66, 18, 6], Operations: []
Exploring Operation: 18-1=17, Resulting Numbers: [66, 6, 17]
Generated Node #2: [66, 6, 17] from Operation: 18-1=17
Current State: 28:[66, 6, 17], Operations: ['18-1=17']
Exploring Operation: 66/6=11, Resulting Numbers: [17, 11]
Generated Node #3: [17, 11] from Operation: 66/6=11
Current State: 28:[17, 11], Operations: ['18-1=17', '66/6=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[1, 66, 18, 6], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [1, 6, 48]
Generated Node #0,0: 28:[1, 6, 48] Operation: 66-18=48
Exploring Operation: 66/6=11, Resulting Numbers: [1, 18, 11]
Generated Node #0,1: 28:[1, 18, 11] Operation: 66/6=11
Exploring Operation: 18/6=3, Resulting Numbers: [1, 66, 3]
Generated Node #0,2: 28:[1, 66, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [1, 66, 12]
Generated Node #0,3: 28:[1, 66, 12] Operation: 18-6=12
Exploring Operation: 66-6=60, Resulting Numbers: [1, 18, 60]
Generated Node #0,4: 28:[1, 18, 60] Operation: 66-6=60
Moving to Node #0,1
Current State: 28:[1, 18, 11], Operations: ['66/6=11']
Exploring Operation: 1+11=12, Resulting Numbers: [18, 12]
Generated Node #0,1,0: 28:[18, 12] Operation: 1+11=12
Exploring Operation: 1*18=18, Resulting Numbers: [11, 18]
Generated Node #0,1,1: 28:[11, 18] Operation: 1*18=18
Exploring Operation: 18-1=17, Resulting Numbers: [11, 17]
Generated Node #0,1,2: 28:[11, 17] Operation: 18-1=17
Exploring Operation: 18+11=29, Resulting Numbers: [1, 29]
Generated Node #0,1,3: 28:[1, 29] Operation: 18+11=29
Exploring Operation: 18-11=7, Resulting Numbers: [1, 7]
Generated Node #0,1,4: 28:[1, 7] Operation: 18-11=7
Moving to Node #0,0
Current State: 28:[1, 6, 48], Operations: ['66-18=48']
Exploring Operation: 1+6=7, Resulting Numbers: [48, 7]
Generated Node #0,0,0: 28:[48, 7] Operation: 1+6=7
Exploring Operation: 48-6=42, Resulting Numbers: [1, 42]
Generated Node #0,0,1: 28:[1, 42] Operation: 48-6=42
Exploring Operation: 1*6=6, Resulting Numbers: [48, 6]
Generated Node #0,0,2: 28:[48, 6] Operation: 1*6=6
Exploring Operation: 48/6=8, Resulting Numbers: [1, 8]
Generated Node #0,0,3: 28:[1, 8] Operation: 48/6=8
Exploring Operation: 48-1=47, Resulting Numbers: [6, 47]
Generated Node #0,0,4: 28:[6, 47] Operation: 48-1=47
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 28:[1, 8], Operations: ['66-18=48', '48/6=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[1, 42], Operations: ['66-18=48', '48-6=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[48, 7], Operations: ['66-18=48', '1+6=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,28 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 28:[6, 47], Operations: ['66-18=48', '48-1=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,28 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[48, 6], Operations: ['66-18=48', '1*6=6']
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,28 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,28 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: 28:[1, 18, 60], Operations: ['66-6=60']
Exploring Operation: 60-1=59, Resulting Numbers: [18, 59]
Generated Node #0,4,0: 28:[18, 59] Operation: 60-1=59
Exploring Operation: 60-18=42, Resulting Numbers: [1, 42]
Generated Node #0,4,1: 28:[1, 42] Operation: 60-18=42
Exploring Operation: 18/1=18, Resulting Numbers: [60, 18]
Generated Node #0,4,2: 28:[60, 18] Operation: 18/1=18
Exploring Operation: 1*18=18, Resulting Numbers: [60, 18]
Generated Node #0,4,3: 28:[60, 18] Operation: 1*18=18
Exploring Operation: 18-1=17, Resulting Numbers: [60, 17]
Generated Node #0,4,4: 28:[60, 17] Operation: 18-1=17
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 28:[1, 42], Operations: ['66-6=60', '60-18=42']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 28:[18, 59], Operations: ['66-6=60', '60-1=59']
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,28 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 28:[60, 17], Operations: ['66-6=60', '18-1=17']
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 28:[60, 18], Operations: ['66-6=60', '18/1=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 28:[60, 18], Operations: ['66-6=60', '1*18=18']
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,28 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,28 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: 28:[1, 66, 3], Operations: ['18/6=3']
Exploring Operation: 66/3=22, Resulting Numbers: [1, 22]
Generated Node #0,2,0: 28:[1, 22] Operation: 66/3=22
Exploring Operation: 66-1=65, Resulting Numbers: [3, 65]
Generated Node #0,2,1: 28:[3, 65] Operation: 66-1=65
Exploring Operation: 66-3=63, Resulting Numbers: [1, 63]
Generated Node #0,2,2: 28:[1, 63] Operation: 66-3=63
Exploring Operation: 3-1=2, Resulting Numbers: [66, 2]
Generated Node #0,2,3: 28:[66, 2] Operation: 3-1=2
Exploring Operation: 1+3=4, Resulting Numbers: [66, 4]
Generated Node #0,2,4: 28:[66, 4] Operation: 1+3=4
Moving to Node #0,3
Current State: 28:[1, 66, 12], Operations: ['18-6=12']
Exploring Operation: 66-12=54, Resulting Numbers: [1, 54]
Generated Node #0,3,0: 28:[1, 54] Operation: 66-12=54
Exploring Operation: 1+12=13, Resulting Numbers: [66, 13]
Generated Node #0,3,1: 28:[66, 13] Operation: 1+12=13
Exploring Operation: 1*66=66, Resulting Numbers: [12, 66]
Generated Node #0,3,2: 28:[12, 66] Operation: 1*66=66
Exploring Operation: 66/1=66, Resulting Numbers: [12, 66]
Generated Node #0,3,3: 28:[12, 66] Operation: 66/1=66
Exploring Operation: 66-1=65, Resulting Numbers: [12, 65]
Generated Node #0,3,4: 28:[12, 65] Operation: 66-1=65
Moving to Node #0,1,4
Current State: 28:[1, 7], Operations: ['66/6=11', '18-11=7']
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[1, 29], Operations: ['66/6=11', '18+11=29']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[1, 66, 18, 6], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [1, 18, 11]
Generated Node #0,1: 28:[1, 18, 11] Operation: 66/6=11
Moving to Node #0,1
Current State: 28:[1, 18, 11], Operations: ['66/6=11']
Exploring Operation: 18+11=29, Resulting Numbers: [1, 29]
Generated Node #0,1,3: 28:[1, 29] Operation: 18+11=29
Moving to Node #0,1,3
Current State: 28:[1, 29], Operations: ['66/6=11', '18+11=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.935764
|
hs_5
|
sum_heuristic
|
[
82,
90,
24,
56
] | 24
|
[
"90-82=8",
"56-24=32",
"32-8=24"
] |
Current State: 24:[82, 90, 24, 56], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [24, 56, 8]
Generated Node #2: [24, 56, 8] from Operation: 90-82=8
Current State: 24:[24, 56, 8], Operations: ['90-82=8']
Exploring Operation: 56-24=32, Resulting Numbers: [8, 32]
Generated Node #3: [8, 32] from Operation: 56-24=32
Current State: 24:[8, 32], Operations: ['90-82=8', '56-24=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[82, 90, 24, 56], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [90, 56, 58]
Generated Node #0,0: 24:[90, 56, 58] Operation: 82-24=58
Exploring Operation: 90-56=34, Resulting Numbers: [82, 24, 34]
Generated Node #0,1: 24:[82, 24, 34] Operation: 90-56=34
Exploring Operation: 90-82=8, Resulting Numbers: [24, 56, 8]
Generated Node #0,2: 24:[24, 56, 8] Operation: 90-82=8
Exploring Operation: 82-56=26, Resulting Numbers: [90, 24, 26]
Generated Node #0,3: 24:[90, 24, 26] Operation: 82-56=26
Moving to Node #0,2
Current State: 24:[24, 56, 8], Operations: ['90-82=8']
Exploring Operation: 56-24=32, Resulting Numbers: [8, 32]
Generated Node #0,2,0: 24:[8, 32] Operation: 56-24=32
Exploring Operation: 56-8=48, Resulting Numbers: [24, 48]
Generated Node #0,2,1: 24:[24, 48] Operation: 56-8=48
Exploring Operation: 24/8=3, Resulting Numbers: [56, 3]
Generated Node #0,2,2: 24:[56, 3] Operation: 24/8=3
Exploring Operation: 56/8=7, Resulting Numbers: [24, 7]
Generated Node #0,2,3: 24:[24, 7] Operation: 56/8=7
Moving to Node #0,3
Current State: 24:[90, 24, 26], Operations: ['82-56=26']
Exploring Operation: 90-24=66, Resulting Numbers: [26, 66]
Generated Node #0,3,0: 24:[26, 66] Operation: 90-24=66
Exploring Operation: 90+24=114, Resulting Numbers: [26, 114]
Generated Node #0,3,1: 24:[26, 114] Operation: 90+24=114
Exploring Operation: 26-24=2, Resulting Numbers: [90, 2]
Generated Node #0,3,2: 24:[90, 2] Operation: 26-24=2
Exploring Operation: 90-26=64, Resulting Numbers: [24, 64]
Generated Node #0,3,3: 24:[24, 64] Operation: 90-26=64
Moving to Node #0,1
Current State: 24:[82, 24, 34], Operations: ['90-56=34']
Exploring Operation: 82-24=58, Resulting Numbers: [34, 58]
Generated Node #0,1,0: 24:[34, 58] Operation: 82-24=58
Exploring Operation: 82+24=106, Resulting Numbers: [34, 106]
Generated Node #0,1,1: 24:[34, 106] Operation: 82+24=106
Exploring Operation: 82-34=48, Resulting Numbers: [24, 48]
Generated Node #0,1,2: 24:[24, 48] Operation: 82-34=48
Exploring Operation: 34-24=10, Resulting Numbers: [82, 10]
Generated Node #0,1,3: 24:[82, 10] Operation: 34-24=10
Moving to Node #0,0
Current State: 24:[90, 56, 58], Operations: ['82-24=58']
Exploring Operation: 90+56=146, Resulting Numbers: [58, 146]
Generated Node #0,0,0: 24:[58, 146] Operation: 90+56=146
Exploring Operation: 90-56=34, Resulting Numbers: [58, 34]
Generated Node #0,0,1: 24:[58, 34] Operation: 90-56=34
Exploring Operation: 90-58=32, Resulting Numbers: [56, 32]
Generated Node #0,0,2: 24:[56, 32] Operation: 90-58=32
Exploring Operation: 58-56=2, Resulting Numbers: [90, 2]
Generated Node #0,0,3: 24:[90, 2] Operation: 58-56=2
Moving to Node #0,2,3
Current State: 24:[24, 7], Operations: ['90-82=8', '56/8=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[8, 32], Operations: ['90-82=8', '56-24=32']
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,24 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[82, 90, 24, 56], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [24, 56, 8]
Generated Node #0,2: 24:[24, 56, 8] Operation: 90-82=8
Moving to Node #0,2
Current State: 24:[24, 56, 8], Operations: ['90-82=8']
Exploring Operation: 56-24=32, Resulting Numbers: [8, 32]
Generated Node #0,2,0: 24:[8, 32] Operation: 56-24=32
Moving to Node #0,2,0
Current State: 24:[8, 32], Operations: ['90-82=8', '56-24=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.97309
|
hs_4
|
sum_heuristic
|
[
62,
70,
25,
17
] | 34
|
[
"70-62=8",
"25+17=42",
"42-8=34"
] |
Current State: 34:[62, 70, 25, 17], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [25, 17, 8]
Generated Node #2: [25, 17, 8] from Operation: 70-62=8
Current State: 34:[25, 17, 8], Operations: ['70-62=8']
Exploring Operation: 25+17=42, Resulting Numbers: [8, 42]
Generated Node #3: [8, 42] from Operation: 25+17=42
Current State: 34:[8, 42], Operations: ['70-62=8', '25+17=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[62, 70, 25, 17], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [25, 17, 8]
Generated Node #0,0: 34:[25, 17, 8] Operation: 70-62=8
Exploring Operation: 62-17=45, Resulting Numbers: [70, 25, 45]
Generated Node #0,1: 34:[70, 25, 45] Operation: 62-17=45
Exploring Operation: 62-25=37, Resulting Numbers: [70, 17, 37]
Generated Node #0,2: 34:[70, 17, 37] Operation: 62-25=37
Exploring Operation: 70-25=45, Resulting Numbers: [62, 17, 45]
Generated Node #0,3: 34:[62, 17, 45] Operation: 70-25=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[25, 17, 8], Operations: ['70-62=8']
Exploring Operation: 25+8=33, Resulting Numbers: [17, 33]
Generated Node #0,0,0: 34:[17, 33] Operation: 25+8=33
Exploring Operation: 25-17=8, Resulting Numbers: [8, 8]
Generated Node #0,0,1: 34:[8, 8] Operation: 25-17=8
Exploring Operation: 25-8=17, Resulting Numbers: [17, 17]
Generated Node #0,0,2: 34:[17, 17] Operation: 25-8=17
Exploring Operation: 25+17=42, Resulting Numbers: [8, 42]
Generated Node #0,0,3: 34:[8, 42] Operation: 25+17=42
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[17, 17], Operations: ['70-62=8', '25-8=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[62, 70, 25, 17], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [25, 17, 8]
Generated Node #0,0: 34:[25, 17, 8] Operation: 70-62=8
Moving to Node #0,0
Current State: 34:[25, 17, 8], Operations: ['70-62=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17, 17]
Generated Node #0,0,2: 34:[17, 17] Operation: 25-8=17
Moving to Node #0,0,2
Current State: 34:[17, 17], Operations: ['70-62=8', '25-8=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
[
1,
55,
20,
7
] | 92
|
[
"1+20=21",
"7*21=147",
"147-55=92"
] |
Current State: 92:[1, 55, 20, 7], Operations: []
Exploring Operation: 1+20=21, Resulting Numbers: [55, 7, 21]
Generated Node #2: [55, 7, 21] from Operation: 1+20=21
Current State: 92:[55, 7, 21], Operations: ['1+20=21']
Exploring Operation: 7*21=147, Resulting Numbers: [55, 147]
Generated Node #3: [55, 147] from Operation: 7*21=147
Current State: 92:[55, 147], Operations: ['1+20=21', '7*21=147']
Exploring Operation: 147-55=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[1, 55, 20, 7], Operations: []
Exploring Operation: 55-7=48, Resulting Numbers: [1, 20, 48]
Generated Node #0,0: 92:[1, 20, 48] Operation: 55-7=48
Exploring Operation: 7-1=6, Resulting Numbers: [55, 20, 6]
Generated Node #0,1: 92:[55, 20, 6] Operation: 7-1=6
Exploring Operation: 55-1=54, Resulting Numbers: [20, 7, 54]
Generated Node #0,2: 92:[20, 7, 54] Operation: 55-1=54
Exploring Operation: 1+20=21, Resulting Numbers: [55, 7, 21]
Generated Node #0,3: 92:[55, 7, 21] Operation: 1+20=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[1, 20, 48], Operations: ['55-7=48']
Exploring Operation: 1+20=21, Resulting Numbers: [48, 21]
Generated Node #0,0,0: 92:[48, 21] Operation: 1+20=21
Exploring Operation: 1*20=20, Resulting Numbers: [48, 20]
Generated Node #0,0,1: 92:[48, 20] Operation: 1*20=20
Exploring Operation: 20/1=20, Resulting Numbers: [48, 20]
Generated Node #0,0,2: 92:[48, 20] Operation: 20/1=20
Exploring Operation: 48-1=47, Resulting Numbers: [20, 47]
Generated Node #0,0,3: 92:[20, 47] Operation: 48-1=47
Moving to Node #0,0,0
Current State: 92:[48, 21], Operations: ['55-7=48', '1+20=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[20, 47], Operations: ['55-7=48', '48-1=47']
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,92 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[48, 20], Operations: ['55-7=48', '20/1=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,92 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[48, 20], Operations: ['55-7=48', '1*20=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[55, 20, 6], Operations: ['7-1=6']
Exploring Operation: 55-6=49, Resulting Numbers: [20, 49]
Generated Node #0,1,0: 92:[20, 49] Operation: 55-6=49
Exploring Operation: 20+6=26, Resulting Numbers: [55, 26]
Generated Node #0,1,1: 92:[55, 26] Operation: 20+6=26
Exploring Operation: 55+6=61, Resulting Numbers: [20, 61]
Generated Node #0,1,2: 92:[20, 61] Operation: 55+6=61
Exploring Operation: 55-20=35, Resulting Numbers: [6, 35]
Generated Node #0,1,3: 92:[6, 35] Operation: 55-20=35
Moving to Node #0,1,0
Current State: 92:[20, 49], Operations: ['7-1=6', '55-6=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[55, 26], Operations: ['7-1=6', '20+6=26']
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,92 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[6, 35], Operations: ['7-1=6', '55-20=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,92 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[20, 61], Operations: ['7-1=6', '55+6=61']
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,92 unequal: No Solution
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,92 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[20, 7, 54], Operations: ['55-1=54']
Exploring Operation: 20+7=27, Resulting Numbers: [54, 27]
Generated Node #0,2,0: 92:[54, 27] Operation: 20+7=27
Exploring Operation: 54-7=47, Resulting Numbers: [20, 47]
Generated Node #0,2,1: 92:[20, 47] Operation: 54-7=47
Exploring Operation: 20-7=13, Resulting Numbers: [54, 13]
Generated Node #0,2,2: 92:[54, 13] Operation: 20-7=13
Exploring Operation: 54-20=34, Resulting Numbers: [7, 34]
Generated Node #0,2,3: 92:[7, 34] Operation: 54-20=34
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[20, 47], Operations: ['55-1=54', '54-7=47']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,92 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[54, 27], Operations: ['55-1=54', '20+7=27']
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,92 unequal: No Solution
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 54*27=1458, Resulting Numbers: [1458]
1458,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[7, 34], Operations: ['55-1=54', '54-20=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,92 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[54, 13], Operations: ['55-1=54', '20-7=13']
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,92 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[55, 7, 21], Operations: ['1+20=21']
Exploring Operation: 55-7=48, Resulting Numbers: [21, 48]
Generated Node #0,3,0: 92:[21, 48] Operation: 55-7=48
Exploring Operation: 55-21=34, Resulting Numbers: [7, 34]
Generated Node #0,3,1: 92:[7, 34] Operation: 55-21=34
Exploring Operation: 21/7=3, Resulting Numbers: [55, 3]
Generated Node #0,3,2: 92:[55, 3] Operation: 21/7=3
Exploring Operation: 7+21=28, Resulting Numbers: [55, 28]
Generated Node #0,3,3: 92:[55, 28] Operation: 7+21=28
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[21, 48], Operations: ['1+20=21', '55-7=48']
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,92 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[55, 3], Operations: ['1+20=21', '21/7=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,92 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[7, 34], Operations: ['1+20=21', '55-21=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[55, 28], Operations: ['1+20=21', '7+21=28']
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,92 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
53,
30,
89,
97
] | 75
|
[
"53+30=83",
"97-89=8",
"83-8=75"
] |
Current State: 75:[53, 30, 89, 97], Operations: []
Exploring Operation: 53+30=83, Resulting Numbers: [89, 97, 83]
Generated Node #2: [89, 97, 83] from Operation: 53+30=83
Current State: 75:[89, 97, 83], Operations: ['53+30=83']
Exploring Operation: 97-89=8, Resulting Numbers: [83, 8]
Generated Node #3: [83, 8] from Operation: 97-89=8
Current State: 75:[83, 8], Operations: ['53+30=83', '97-89=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4
|
Current State: 75:[53, 30, 89, 97], Operations: []
Exploring Operation: 53-30=23, Resulting Numbers: [89, 97, 23]
Generated Node #0,0: 75:[89, 97, 23] Operation: 53-30=23
Exploring Operation: 97-89=8, Resulting Numbers: [53, 30, 8]
Generated Node #0,1: 75:[53, 30, 8] Operation: 97-89=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[53, 30, 8], Operations: ['97-89=8']
Exploring Operation: 53+30=83, Resulting Numbers: [8, 83]
Generated Node #0,1,0: 75:[8, 83] Operation: 53+30=83
Exploring Operation: 53-30=23, Resulting Numbers: [8, 23]
Generated Node #0,1,1: 75:[8, 23] Operation: 53-30=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[8, 23], Operations: ['97-89=8', '53-30=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[8, 83], Operations: ['97-89=8', '53+30=83']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[53, 30, 89, 97], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [53, 30, 8]
Generated Node #0,1: 75:[53, 30, 8] Operation: 97-89=8
Moving to Node #0,1
Current State: 75:[53, 30, 8], Operations: ['97-89=8']
Exploring Operation: 53+30=83, Resulting Numbers: [8, 83]
Generated Node #0,1,0: 75:[8, 83] Operation: 53+30=83
Moving to Node #0,1,0
Current State: 75:[8, 83], Operations: ['97-89=8', '53+30=83']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
sum_heuristic
|
[
2,
52,
13,
55
] | 47
|
[
"2*52=104",
"104/13=8",
"55-8=47"
] |
Current State: 47:[2, 52, 13, 55], Operations: []
Exploring Operation: 2*52=104, Resulting Numbers: [13, 55, 104]
Generated Node #2: [13, 55, 104] from Operation: 2*52=104
Current State: 47:[13, 55, 104], Operations: ['2*52=104']
Exploring Operation: 104/13=8, Resulting Numbers: [55, 8]
Generated Node #3: [55, 8] from Operation: 104/13=8
Current State: 47:[55, 8], Operations: ['2*52=104', '104/13=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[2, 52, 13, 55], Operations: []
Exploring Operation: 2*13=26, Resulting Numbers: [52, 55, 26]
Generated Node #0,0: 47:[52, 55, 26] Operation: 2*13=26
Exploring Operation: 52-2=50, Resulting Numbers: [13, 55, 50]
Generated Node #0,1: 47:[13, 55, 50] Operation: 52-2=50
Moving to Node #0,0
Current State: 47:[52, 55, 26], Operations: ['2*13=26']
Exploring Operation: 52-26=26, Resulting Numbers: [55, 26]
Generated Node #0,0,0: 47:[55, 26] Operation: 52-26=26
Exploring Operation: 55-26=29, Resulting Numbers: [52, 29]
Generated Node #0,0,1: 47:[52, 29] Operation: 55-26=29
Moving to Node #0,1
Current State: 47:[13, 55, 50], Operations: ['52-2=50']
Exploring Operation: 55-13=42, Resulting Numbers: [50, 42]
Generated Node #0,1,0: 47:[50, 42] Operation: 55-13=42
Exploring Operation: 50-13=37, Resulting Numbers: [55, 37]
Generated Node #0,1,1: 47:[55, 37] Operation: 50-13=37
Moving to Node #0,1,0
Current State: 47:[50, 42], Operations: ['52-2=50', '55-13=42']
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[55, 37], Operations: ['52-2=50', '50-13=37']
Exploring Operation: 55+37=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[52, 29], Operations: ['2*13=26', '55-26=29']
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,47 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[55, 26], Operations: ['2*13=26', '52-26=26']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,47 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
77,
87,
48,
93
] | 69
|
[
"93-87=6",
"48/6=8",
"77-8=69"
] |
Current State: 69:[77, 87, 48, 93], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [77, 48, 6]
Generated Node #2: [77, 48, 6] from Operation: 93-87=6
Current State: 69:[77, 48, 6], Operations: ['93-87=6']
Exploring Operation: 48/6=8, Resulting Numbers: [77, 8]
Generated Node #3: [77, 8] from Operation: 48/6=8
Current State: 69:[77, 8], Operations: ['93-87=6', '48/6=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[77, 87, 48, 93], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [87, 48, 16]
Generated Node #0,0: 69:[87, 48, 16] Operation: 93-77=16
Exploring Operation: 93-87=6, Resulting Numbers: [77, 48, 6]
Generated Node #0,1: 69:[77, 48, 6] Operation: 93-87=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[77, 48, 6], Operations: ['93-87=6']
Exploring Operation: 48/6=8, Resulting Numbers: [77, 8]
Generated Node #0,1,0: 69:[77, 8] Operation: 48/6=8
Exploring Operation: 77-48=29, Resulting Numbers: [6, 29]
Generated Node #0,1,1: 69:[6, 29] Operation: 77-48=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[6, 29], Operations: ['93-87=6', '77-48=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,69 unequal: No Solution
No 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: 69:[77, 8], Operations: ['93-87=6', '48/6=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[77, 87, 48, 93], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [77, 48, 6]
Generated Node #0,1: 69:[77, 48, 6] Operation: 93-87=6
Moving to Node #0,1
Current State: 69:[77, 48, 6], Operations: ['93-87=6']
Exploring Operation: 48/6=8, Resulting Numbers: [77, 8]
Generated Node #0,1,0: 69:[77, 8] Operation: 48/6=8
Moving to Node #0,1,0
Current State: 69:[77, 8], Operations: ['93-87=6', '48/6=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
sum_heuristic
|
[
69,
13,
3,
63
] | 73
|
[
"69/3=23",
"63-13=50",
"23+50=73"
] |
Current State: 73:[69, 13, 3, 63], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [13, 63, 23]
Generated Node #2: [13, 63, 23] from Operation: 69/3=23
Current State: 73:[13, 63, 23], Operations: ['69/3=23']
Exploring Operation: 63-13=50, Resulting Numbers: [23, 50]
Generated Node #3: [23, 50] from Operation: 63-13=50
Current State: 73:[23, 50], Operations: ['69/3=23', '63-13=50']
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[69, 13, 3, 63], Operations: []
Exploring Operation: 3+63=66, Resulting Numbers: [69, 13, 66]
Generated Node #0,0: 73:[69, 13, 66] Operation: 3+63=66
Exploring Operation: 69+3=72, Resulting Numbers: [13, 63, 72]
Generated Node #0,1: 73:[13, 63, 72] Operation: 69+3=72
Exploring Operation: 69-3=66, Resulting Numbers: [13, 63, 66]
Generated Node #0,2: 73:[13, 63, 66] Operation: 69-3=66
Exploring Operation: 13*3=39, Resulting Numbers: [69, 63, 39]
Generated Node #0,3: 73:[69, 63, 39] Operation: 13*3=39
Exploring Operation: 13+3=16, Resulting Numbers: [69, 63, 16]
Generated Node #0,4: 73:[69, 63, 16] Operation: 13+3=16
Moving to Node #0,3
Current State: 73:[69, 63, 39], Operations: ['13*3=39']
Exploring Operation: 63+39=102, Resulting Numbers: [69, 102]
Generated Node #0,3,0: 73:[69, 102] Operation: 63+39=102
Exploring Operation: 69+63=132, Resulting Numbers: [39, 132]
Generated Node #0,3,1: 73:[39, 132] Operation: 69+63=132
Exploring Operation: 69+39=108, Resulting Numbers: [63, 108]
Generated Node #0,3,2: 73:[63, 108] Operation: 69+39=108
Exploring Operation: 69-39=30, Resulting Numbers: [63, 30]
Generated Node #0,3,3: 73:[63, 30] Operation: 69-39=30
Exploring Operation: 63-39=24, Resulting Numbers: [69, 24]
Generated Node #0,3,4: 73:[69, 24] Operation: 63-39=24
Moving to Node #0,1
Current State: 73:[13, 63, 72], Operations: ['69+3=72']
Exploring Operation: 63-13=50, Resulting Numbers: [72, 50]
Generated Node #0,1,0: 73:[72, 50] Operation: 63-13=50
Exploring Operation: 63+72=135, Resulting Numbers: [13, 135]
Generated Node #0,1,1: 73:[13, 135] Operation: 63+72=135
Exploring Operation: 13+72=85, Resulting Numbers: [63, 85]
Generated Node #0,1,2: 73:[63, 85] Operation: 13+72=85
Exploring Operation: 13+63=76, Resulting Numbers: [72, 76]
Generated Node #0,1,3: 73:[72, 76] Operation: 13+63=76
Exploring Operation: 72-13=59, Resulting Numbers: [63, 59]
Generated Node #0,1,4: 73:[63, 59] Operation: 72-13=59
Moving to Node #0,0
Current State: 73:[69, 13, 66], Operations: ['3+63=66']
Exploring Operation: 13+66=79, Resulting Numbers: [69, 79]
Generated Node #0,0,0: 73:[69, 79] Operation: 13+66=79
Exploring Operation: 69+66=135, Resulting Numbers: [13, 135]
Generated Node #0,0,1: 73:[13, 135] Operation: 69+66=135
Exploring Operation: 66-13=53, Resulting Numbers: [69, 53]
Generated Node #0,0,2: 73:[69, 53] Operation: 66-13=53
Exploring Operation: 69-13=56, Resulting Numbers: [66, 56]
Generated Node #0,0,3: 73:[66, 56] Operation: 69-13=56
Exploring Operation: 69+13=82, Resulting Numbers: [66, 82]
Generated Node #0,0,4: 73:[66, 82] Operation: 69+13=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[69, 79], Operations: ['3+63=66', '13+66=79']
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,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,4
Current State: 73:[66, 82], Operations: ['3+63=66', '69+13=82']
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,73 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[69, 53], Operations: ['3+63=66', '66-13=53']
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,73 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,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,3
Current State: 73:[66, 56], Operations: ['3+63=66', '69-13=56']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[13, 135], Operations: ['3+63=66', '69+66=135']
Exploring Operation: 135-13=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 13*135=1755, Resulting Numbers: [1755]
1755,73 unequal: No Solution
Exploring Operation: 13+135=148, Resulting Numbers: [148]
148,73 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: 73:[69, 63, 16], Operations: ['13+3=16']
Exploring Operation: 69-16=53, Resulting Numbers: [63, 53]
Generated Node #0,4,0: 73:[63, 53] Operation: 69-16=53
Exploring Operation: 63+16=79, Resulting Numbers: [69, 79]
Generated Node #0,4,1: 73:[69, 79] Operation: 63+16=79
Exploring Operation: 63-16=47, Resulting Numbers: [69, 47]
Generated Node #0,4,2: 73:[69, 47] Operation: 63-16=47
Exploring Operation: 69+16=85, Resulting Numbers: [63, 85]
Generated Node #0,4,3: 73:[63, 85] Operation: 69+16=85
Exploring Operation: 69+63=132, Resulting Numbers: [16, 132]
Generated Node #0,4,4: 73:[16, 132] Operation: 69+63=132
Moving to Node #0,2
Current State: 73:[13, 63, 66], Operations: ['69-3=66']
Exploring Operation: 66-13=53, Resulting Numbers: [63, 53]
Generated Node #0,2,0: 73:[63, 53] Operation: 66-13=53
Exploring Operation: 63+66=129, Resulting Numbers: [13, 129]
Generated Node #0,2,1: 73:[13, 129] Operation: 63+66=129
Exploring Operation: 13+63=76, Resulting Numbers: [66, 76]
Generated Node #0,2,2: 73:[66, 76] Operation: 13+63=76
Exploring Operation: 63-13=50, Resulting Numbers: [66, 50]
Generated Node #0,2,3: 73:[66, 50] Operation: 63-13=50
Exploring Operation: 13+66=79, Resulting Numbers: [63, 79]
Generated Node #0,2,4: 73:[63, 79] Operation: 13+66=79
Moving to Node #0,1,3
Current State: 73:[72, 76], Operations: ['69+3=72', '13+63=76']
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,73 unequal: No Solution
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[69, 79], Operations: ['13+3=16', '63+16=79']
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,73 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[66, 76], Operations: ['69-3=66', '13+63=76']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 66+76=142, Resulting Numbers: [142]
142,73 unequal: No Solution
Exploring Operation: 66*76=5016, Resulting Numbers: [5016]
5016,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[63, 79], Operations: ['69-3=66', '13+66=79']
Exploring Operation: 63*79=4977, Resulting Numbers: [4977]
4977,73 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 63+79=142, Resulting Numbers: [142]
142,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[63, 85], Operations: ['69+3=72', '13+72=85']
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,73 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[63, 85], Operations: ['13+3=16', '69+16=85']
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,73 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[72, 50], Operations: ['69+3=72', '63-13=50']
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 72*50=3600, Resulting Numbers: [3600]
3600,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[63, 59], Operations: ['69+3=72', '72-13=59']
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 63+59=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 63*59=3717, Resulting Numbers: [3717]
3717,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[69, 47], Operations: ['13+3=16', '63-16=47']
Exploring Operation: 69*47=3243, Resulting Numbers: [3243]
3243,73 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 69+47=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[63, 53], Operations: ['13+3=16', '69-16=53']
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[63, 53], Operations: ['69-3=66', '66-13=53']
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[66, 50], Operations: ['69-3=66', '63-13=50']
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 66*50=3300, Resulting Numbers: [3300]
3300,73 unequal: No Solution
Exploring Operation: 66+50=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[69, 102], Operations: ['13*3=39', '63+39=102']
Exploring Operation: 102-69=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 69*102=7038, Resulting Numbers: [7038]
7038,73 unequal: No Solution
Exploring Operation: 69+102=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[63, 108], Operations: ['13*3=39', '69+39=108']
Exploring Operation: 108-63=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 63*108=6804, Resulting Numbers: [6804]
6804,73 unequal: No Solution
Exploring Operation: 63+108=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[63, 30], Operations: ['13*3=39', '69-39=30']
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[69, 24], Operations: ['13*3=39', '63-39=24']
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[39, 132], Operations: ['13*3=39', '69+63=132']
Exploring Operation: 39*132=5148, Resulting Numbers: [5148]
5148,73 unequal: No Solution
Exploring Operation: 132-39=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 39+132=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[16, 132], Operations: ['13+3=16', '69+63=132']
Exploring Operation: 132-16=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 16*132=2112, Resulting Numbers: [2112]
2112,73 unequal: No Solution
Exploring Operation: 16+132=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[13, 129], Operations: ['69-3=66', '63+66=129']
Exploring Operation: 13*129=1677, Resulting Numbers: [1677]
1677,73 unequal: No Solution
Exploring Operation: 129-13=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 13+129=142, Resulting Numbers: [142]
142,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[13, 135], Operations: ['69+3=72', '63+72=135']
Exploring Operation: 135-13=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 13+135=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 13*135=1755, Resulting Numbers: [1755]
1755,73 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.