nums
listlengths 4
4
| target
int64 10
100
| solution
listlengths 3
3
| optimal_path
stringlengths 282
529
| start_size
int64 4
4
| search_path
stringlengths 505
16.8k
| rating
float64 0
0.99
| search_type
stringclasses 5
values | heuristic
stringclasses 2
values |
---|---|---|---|---|---|---|---|---|
[
6,
75,
47,
2
] | 44 |
[
"75-6=69",
"69-47=22",
"2*22=44"
] |
Current State: 44:[6, 75, 47, 2], Operations: []
Exploring Operation: 75-6=69, Resulting Numbers: [47, 2, 69]
Generated Node #2: [47, 2, 69] from Operation: 75-6=69
Current State: 44:[47, 2, 69], Operations: ['75-6=69']
Exploring Operation: 69-47=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 69-47=22
Current State: 44:[2, 22], Operations: ['75-6=69', '69-47=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[6, 75, 47, 2], Operations: []
Exploring Operation: 75-2=73, Resulting Numbers: [6, 47, 73]
Generated Node #0,0: 44:[6, 47, 73] Operation: 75-2=73
Exploring Operation: 47-6=41, Resulting Numbers: [75, 2, 41]
Generated Node #0,1: 44:[75, 2, 41] Operation: 47-6=41
Exploring Operation: 6-2=4, Resulting Numbers: [75, 47, 4]
Generated Node #0,2: 44:[75, 47, 4] Operation: 6-2=4
Exploring Operation: 75-6=69, Resulting Numbers: [47, 2, 69]
Generated Node #0,3: 44:[47, 2, 69] Operation: 75-6=69
Exploring Operation: 75-47=28, Resulting Numbers: [6, 2, 28]
Generated Node #0,4: 44:[6, 2, 28] Operation: 75-47=28
Moving to Node #0,4
Current State: 44:[6, 2, 28], Operations: ['75-47=28']
Exploring Operation: 28-2=26, Resulting Numbers: [6, 26]
Generated Node #0,4,0: 44:[6, 26] Operation: 28-2=26
Exploring Operation: 6*2=12, Resulting Numbers: [28, 12]
Generated Node #0,4,1: 44:[28, 12] Operation: 6*2=12
Exploring Operation: 28/2=14, Resulting Numbers: [6, 14]
Generated Node #0,4,2: 44:[6, 14] Operation: 28/2=14
Exploring Operation: 6-2=4, Resulting Numbers: [28, 4]
Generated Node #0,4,3: 44:[28, 4] Operation: 6-2=4
Exploring Operation: 28-6=22, Resulting Numbers: [2, 22]
Generated Node #0,4,4: 44:[2, 22] Operation: 28-6=22
Moving to Node #0,3
Current State: 44:[47, 2, 69], Operations: ['75-6=69']
Exploring Operation: 69-2=67, Resulting Numbers: [47, 67]
Generated Node #0,3,0: 44:[47, 67] Operation: 69-2=67
Exploring Operation: 47-2=45, Resulting Numbers: [69, 45]
Generated Node #0,3,1: 44:[69, 45] Operation: 47-2=45
Exploring Operation: 69-47=22, Resulting Numbers: [2, 22]
Generated Node #0,3,2: 44:[2, 22] Operation: 69-47=22
Exploring Operation: 47+2=49, Resulting Numbers: [69, 49]
Generated Node #0,3,3: 44:[69, 49] Operation: 47+2=49
Exploring Operation: 2+69=71, Resulting Numbers: [47, 71]
Generated Node #0,3,4: 44:[47, 71] Operation: 2+69=71
Moving to Node #0,0
Current State: 44:[6, 47, 73], Operations: ['75-2=73']
Exploring Operation: 47-6=41, Resulting Numbers: [73, 41]
Generated Node #0,0,0: 44:[73, 41] Operation: 47-6=41
Exploring Operation: 6+47=53, Resulting Numbers: [73, 53]
Generated Node #0,0,1: 44:[73, 53] Operation: 6+47=53
Exploring Operation: 73-6=67, Resulting Numbers: [47, 67]
Generated Node #0,0,2: 44:[47, 67] Operation: 73-6=67
Exploring Operation: 6+73=79, Resulting Numbers: [47, 79]
Generated Node #0,0,3: 44:[47, 79] Operation: 6+73=79
Exploring Operation: 73-47=26, Resulting Numbers: [6, 26]
Generated Node #0,0,4: 44:[6, 26] Operation: 73-47=26
Moving to Node #0,1
Current State: 44:[75, 2, 41], Operations: ['47-6=41']
Exploring Operation: 75+2=77, Resulting Numbers: [41, 77]
Generated Node #0,1,0: 44:[41, 77] Operation: 75+2=77
Exploring Operation: 75-41=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 44:[2, 34] Operation: 75-41=34
Exploring Operation: 75-2=73, Resulting Numbers: [41, 73]
Generated Node #0,1,2: 44:[41, 73] Operation: 75-2=73
Exploring Operation: 2+41=43, Resulting Numbers: [75, 43]
Generated Node #0,1,3: 44:[75, 43] Operation: 2+41=43
Exploring Operation: 41-2=39, Resulting Numbers: [75, 39]
Generated Node #0,1,4: 44:[75, 39] Operation: 41-2=39
Moving to Node #0,2
Current State: 44:[75, 47, 4], Operations: ['6-2=4']
Exploring Operation: 47+4=51, Resulting Numbers: [75, 51]
Generated Node #0,2,0: 44:[75, 51] Operation: 47+4=51
Exploring Operation: 75+4=79, Resulting Numbers: [47, 79]
Generated Node #0,2,1: 44:[47, 79] Operation: 75+4=79
Exploring Operation: 47-4=43, Resulting Numbers: [75, 43]
Generated Node #0,2,2: 44:[75, 43] Operation: 47-4=43
Exploring Operation: 75-4=71, Resulting Numbers: [47, 71]
Generated Node #0,2,3: 44:[47, 71] Operation: 75-4=71
Exploring Operation: 75-47=28, Resulting Numbers: [4, 28]
Generated Node #0,2,4: 44:[4, 28] Operation: 75-47=28
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 44:[4, 28], Operations: ['6-2=4', '75-47=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 44:[47, 71], Operations: ['6-2=4', '75-4=71']
Exploring Operation: 47+71=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 47*71=3337, Resulting Numbers: [3337]
3337,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[75, 43], Operations: ['6-2=4', '47-4=43']
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 75+43=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Exploring Operation: 75*43=3225, Resulting Numbers: [3225]
3225,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[75, 51], Operations: ['6-2=4', '47+4=51']
Exploring Operation: 75*51=3825, Resulting Numbers: [3825]
3825,44 unequal: No Solution
Exploring Operation: 75+51=126, Resulting Numbers: [126]
126,44 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[47, 79], Operations: ['6-2=4', '75+4=79']
Exploring Operation: 47*79=3713, Resulting Numbers: [3713]
3713,44 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 47+79=126, Resulting Numbers: [126]
126,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 44:[2, 22], Operations: ['75-47=28', '28-6=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[6, 75, 47, 2], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [6, 2, 28]
Generated Node #0,4: 44:[6, 2, 28] Operation: 75-47=28
Moving to Node #0,4
Current State: 44:[6, 2, 28], Operations: ['75-47=28']
Exploring Operation: 28-6=22, Resulting Numbers: [2, 22]
Generated Node #0,4,4: 44:[2, 22] Operation: 28-6=22
Moving to Node #0,4,4
Current State: 44:[2, 22], Operations: ['75-47=28', '28-6=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.955729 |
hs_5
|
mult_heuristic
|
[
58,
2,
96,
53
] | 30 |
[
"96-58=38",
"53-38=15",
"2*15=30"
] |
Current State: 30:[58, 2, 96, 53], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [2, 53, 38]
Generated Node #2: [2, 53, 38] from Operation: 96-58=38
Current State: 30:[2, 53, 38], Operations: ['96-58=38']
Exploring Operation: 53-38=15, Resulting Numbers: [2, 15]
Generated Node #3: [2, 15] from Operation: 53-38=15
Current State: 30:[2, 15], Operations: ['96-58=38', '53-38=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[58, 2, 96, 53], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [58, 53, 48]
Generated Node #0,0: 30:[58, 53, 48] Operation: 96/2=48
Exploring Operation: 96-53=43, Resulting Numbers: [58, 2, 43]
Generated Node #0,1: 30:[58, 2, 43] Operation: 96-53=43
Exploring Operation: 58-53=5, Resulting Numbers: [2, 96, 5]
Generated Node #0,2: 30:[2, 96, 5] Operation: 58-53=5
Exploring Operation: 96-58=38, Resulting Numbers: [2, 53, 38]
Generated Node #0,3: 30:[2, 53, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[2, 53, 38], Operations: ['96-58=38']
Exploring Operation: 53-38=15, Resulting Numbers: [2, 15]
Generated Node #0,3,0: 30:[2, 15] Operation: 53-38=15
Exploring Operation: 38-2=36, Resulting Numbers: [53, 36]
Generated Node #0,3,1: 30:[53, 36] Operation: 38-2=36
Exploring Operation: 53-2=51, Resulting Numbers: [38, 51]
Generated Node #0,3,2: 30:[38, 51] Operation: 53-2=51
Exploring Operation: 38/2=19, Resulting Numbers: [53, 19]
Generated Node #0,3,3: 30:[53, 19] Operation: 38/2=19
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[2, 15], Operations: ['96-58=38', '53-38=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[58, 2, 96, 53], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [2, 53, 38]
Generated Node #0,3: 30:[2, 53, 38] Operation: 96-58=38
Moving to Node #0,3
Current State: 30:[2, 53, 38], Operations: ['96-58=38']
Exploring Operation: 53-38=15, Resulting Numbers: [2, 15]
Generated Node #0,3,0: 30:[2, 15] Operation: 53-38=15
Moving to Node #0,3,0
Current State: 30:[2, 15], Operations: ['96-58=38', '53-38=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
38,
72,
77,
83
] | 31 |
[
"83-72=11",
"77/11=7",
"38-7=31"
] |
Current State: 31:[38, 72, 77, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [38, 77, 11]
Generated Node #2: [38, 77, 11] from Operation: 83-72=11
Current State: 31:[38, 77, 11], Operations: ['83-72=11']
Exploring Operation: 77/11=7, Resulting Numbers: [38, 7]
Generated Node #3: [38, 7] from Operation: 77/11=7
Current State: 31:[38, 7], Operations: ['83-72=11', '77/11=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[38, 72, 77, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [38, 77, 11]
Generated Node #0,0: 31:[38, 77, 11] Operation: 83-72=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[38, 77, 11], Operations: ['83-72=11']
Exploring Operation: 77-38=39, Resulting Numbers: [11, 39]
Generated Node #0,0,0: 31:[11, 39] Operation: 77-38=39
Moving to Node #0,0,0
Current State: 31:[11, 39], Operations: ['83-72=11', '77-38=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
93,
14,
77,
9
] | 98 |
[
"93-77=16",
"16-9=7",
"14*7=98"
] |
Current State: 98:[93, 14, 77, 9], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [14, 9, 16]
Generated Node #2: [14, 9, 16] from Operation: 93-77=16
Current State: 98:[14, 9, 16], Operations: ['93-77=16']
Exploring Operation: 16-9=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 16-9=7
Current State: 98:[14, 7], Operations: ['93-77=16', '16-9=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[93, 14, 77, 9], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [14, 9, 16]
Generated Node #0,0: 98:[14, 9, 16] Operation: 93-77=16
Exploring Operation: 14+77=91, Resulting Numbers: [93, 9, 91]
Generated Node #0,1: 98:[93, 9, 91] Operation: 14+77=91
Moving to Node #0,0
Current State: 98:[14, 9, 16], Operations: ['93-77=16']
Exploring Operation: 16-14=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 98:[9, 2] Operation: 16-14=2
Exploring Operation: 16-9=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 98:[14, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[14, 7], Operations: ['93-77=16', '16-9=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[93, 14, 77, 9], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [14, 9, 16]
Generated Node #0,0: 98:[14, 9, 16] Operation: 93-77=16
Moving to Node #0,0
Current State: 98:[14, 9, 16], Operations: ['93-77=16']
Exploring Operation: 16-9=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 98:[14, 7] Operation: 16-9=7
Moving to Node #0,0,1
Current State: 98:[14, 7], Operations: ['93-77=16', '16-9=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
70,
38,
54,
24
] | 59 |
[
"38-24=14",
"70/14=5",
"54+5=59"
] |
Current State: 59:[70, 38, 54, 24], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [70, 54, 14]
Generated Node #2: [70, 54, 14] from Operation: 38-24=14
Current State: 59:[70, 54, 14], Operations: ['38-24=14']
Exploring Operation: 70/14=5, Resulting Numbers: [54, 5]
Generated Node #3: [54, 5] from Operation: 70/14=5
Current State: 59:[54, 5], Operations: ['38-24=14', '70/14=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[70, 38, 54, 24], Operations: []
Exploring Operation: 38+24=62, Resulting Numbers: [70, 54, 62]
Generated Node #0,0: 59:[70, 54, 62] Operation: 38+24=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[70, 54, 62], Operations: ['38+24=62']
Exploring Operation: 70-54=16, Resulting Numbers: [62, 16]
Generated Node #0,0,0: 59:[62, 16] Operation: 70-54=16
Moving to Node #0,0,0
Current State: 59:[62, 16], Operations: ['38+24=62', '70-54=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,59 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
|
[
21,
46,
55,
31
] | 61 |
[
"46-21=25",
"55+31=86",
"86-25=61"
] |
Current State: 61:[21, 46, 55, 31], Operations: []
Exploring Operation: 46-21=25, Resulting Numbers: [55, 31, 25]
Generated Node #2: [55, 31, 25] from Operation: 46-21=25
Current State: 61:[55, 31, 25], Operations: ['46-21=25']
Exploring Operation: 55+31=86, Resulting Numbers: [25, 86]
Generated Node #3: [25, 86] from Operation: 55+31=86
Current State: 61:[25, 86], Operations: ['46-21=25', '55+31=86']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[21, 46, 55, 31], Operations: []
Exploring Operation: 21+46=67, Resulting Numbers: [55, 31, 67]
Generated Node #0,0: 61:[55, 31, 67] Operation: 21+46=67
Exploring Operation: 21+31=52, Resulting Numbers: [46, 55, 52]
Generated Node #0,1: 61:[46, 55, 52] Operation: 21+31=52
Exploring Operation: 21+55=76, Resulting Numbers: [46, 31, 76]
Generated Node #0,2: 61:[46, 31, 76] Operation: 21+55=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[46, 55, 52], Operations: ['21+31=52']
Exploring Operation: 55-46=9, Resulting Numbers: [52, 9]
Generated Node #0,1,0: 61:[52, 9] Operation: 55-46=9
Exploring Operation: 46+52=98, Resulting Numbers: [55, 98]
Generated Node #0,1,1: 61:[55, 98] Operation: 46+52=98
Exploring Operation: 46+55=101, Resulting Numbers: [52, 101]
Generated Node #0,1,2: 61:[52, 101] Operation: 46+55=101
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[55, 98], Operations: ['21+31=52', '46+52=98']
Exploring Operation: 55+98=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Exploring Operation: 55*98=5390, Resulting Numbers: [5390]
5390,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[52, 101], Operations: ['21+31=52', '46+55=101']
Exploring Operation: 52*101=5252, Resulting Numbers: [5252]
5252,61 unequal: No Solution
Exploring Operation: 52+101=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Exploring Operation: 101-52=49, Resulting Numbers: [49]
49,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[52, 9], Operations: ['21+31=52', '55-46=9']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,61 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[21, 46, 55, 31], Operations: []
Exploring Operation: 21+31=52, Resulting Numbers: [46, 55, 52]
Generated Node #0,1: 61:[46, 55, 52] Operation: 21+31=52
Moving to Node #0,1
Current State: 61:[46, 55, 52], Operations: ['21+31=52']
Exploring Operation: 55-46=9, Resulting Numbers: [52, 9]
Generated Node #0,1,0: 61:[52, 9] Operation: 55-46=9
Moving to Node #0,1,0
Current State: 61:[52, 9], Operations: ['21+31=52', '55-46=9']
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
sum_heuristic
|
[
6,
58,
59,
42
] | 35 |
[
"58-6=52",
"59-42=17",
"52-17=35"
] |
Current State: 35:[6, 58, 59, 42], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [59, 42, 52]
Generated Node #2: [59, 42, 52] from Operation: 58-6=52
Current State: 35:[59, 42, 52], Operations: ['58-6=52']
Exploring Operation: 59-42=17, Resulting Numbers: [52, 17]
Generated Node #3: [52, 17] from Operation: 59-42=17
Current State: 35:[52, 17], Operations: ['58-6=52', '59-42=17']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[6, 58, 59, 42], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [6, 59, 16]
Generated Node #0,0: 35:[6, 59, 16] Operation: 58-42=16
Exploring Operation: 59-58=1, Resulting Numbers: [6, 42, 1]
Generated Node #0,1: 35:[6, 42, 1] Operation: 59-58=1
Moving to Node #0,1
Current State: 35:[6, 42, 1], Operations: ['59-58=1']
Exploring Operation: 42/6=7, Resulting Numbers: [1, 7]
Generated Node #0,1,0: 35:[1, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [1, 36]
Generated Node #0,1,1: 35:[1, 36] Operation: 42-6=36
Moving to Node #0,0
Current State: 35:[6, 59, 16], Operations: ['58-42=16']
Exploring Operation: 59-16=43, Resulting Numbers: [6, 43]
Generated Node #0,0,0: 35:[6, 43] Operation: 59-16=43
Exploring Operation: 59-6=53, Resulting Numbers: [16, 53]
Generated Node #0,0,1: 35:[16, 53] Operation: 59-6=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[6, 43], Operations: ['58-42=16', '59-16=43']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[16, 53], Operations: ['58-42=16', '59-6=53']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,35 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: 35:[1, 7], Operations: ['59-58=1', '42/6=7']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[1, 36], Operations: ['59-58=1', '42-6=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[6, 58, 59, 42], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [6, 42, 1]
Generated Node #0,1: 35:[6, 42, 1] Operation: 59-58=1
Moving to Node #0,1
Current State: 35:[6, 42, 1], Operations: ['59-58=1']
Exploring Operation: 42-6=36, Resulting Numbers: [1, 36]
Generated Node #0,1,1: 35:[1, 36] Operation: 42-6=36
Moving to Node #0,1,1
Current State: 35:[1, 36], Operations: ['59-58=1', '42-6=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.985243 |
hs_2
|
sum_heuristic
|
[
12,
7,
64,
1
] | 21 |
[
"12*7=84",
"64-1=63",
"84-63=21"
] |
Current State: 21:[12, 7, 64, 1], Operations: []
Exploring Operation: 12*7=84, Resulting Numbers: [64, 1, 84]
Generated Node #2: [64, 1, 84] from Operation: 12*7=84
Current State: 21:[64, 1, 84], Operations: ['12*7=84']
Exploring Operation: 64-1=63, Resulting Numbers: [84, 63]
Generated Node #3: [84, 63] from Operation: 64-1=63
Current State: 21:[84, 63], Operations: ['12*7=84', '64-1=63']
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[12, 7, 64, 1], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [7, 1, 52]
Generated Node #0,0: 21:[7, 1, 52] Operation: 64-12=52
Moving to Node #0,0
Current State: 21:[7, 1, 52], Operations: ['64-12=52']
Exploring Operation: 52-7=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 21:[1, 45] Operation: 52-7=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[1, 45], Operations: ['64-12=52', '52-7=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
11,
10,
25,
87
] | 61 |
[
"11-10=1",
"87-25=62",
"62-1=61"
] |
Current State: 61:[11, 10, 25, 87], Operations: []
Exploring Operation: 11-10=1, Resulting Numbers: [25, 87, 1]
Generated Node #2: [25, 87, 1] from Operation: 11-10=1
Current State: 61:[25, 87, 1], Operations: ['11-10=1']
Exploring Operation: 87-25=62, Resulting Numbers: [1, 62]
Generated Node #3: [1, 62] from Operation: 87-25=62
Current State: 61:[1, 62], Operations: ['11-10=1', '87-25=62']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[11, 10, 25, 87], Operations: []
Exploring Operation: 11+25=36, Resulting Numbers: [10, 87, 36]
Generated Node #0,0: 61:[10, 87, 36] Operation: 11+25=36
Exploring Operation: 11+10=21, Resulting Numbers: [25, 87, 21]
Generated Node #0,1: 61:[25, 87, 21] Operation: 11+10=21
Exploring Operation: 87-11=76, Resulting Numbers: [10, 25, 76]
Generated Node #0,2: 61:[10, 25, 76] Operation: 87-11=76
Exploring Operation: 10+25=35, Resulting Numbers: [11, 87, 35]
Generated Node #0,3: 61:[11, 87, 35] Operation: 10+25=35
Moving to Node #0,0
Current State: 61:[10, 87, 36], Operations: ['11+25=36']
Exploring Operation: 87-10=77, Resulting Numbers: [36, 77]
Generated Node #0,0,0: 61:[36, 77] Operation: 87-10=77
Exploring Operation: 36-10=26, Resulting Numbers: [87, 26]
Generated Node #0,0,1: 61:[87, 26] Operation: 36-10=26
Exploring Operation: 10+36=46, Resulting Numbers: [87, 46]
Generated Node #0,0,2: 61:[87, 46] Operation: 10+36=46
Exploring Operation: 10+87=97, Resulting Numbers: [36, 97]
Generated Node #0,0,3: 61:[36, 97] Operation: 10+87=97
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[36, 77], Operations: ['11+25=36', '87-10=77']
Exploring Operation: 36*77=2772, Resulting Numbers: [2772]
2772,61 unequal: No Solution
Exploring Operation: 36+77=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[87, 46], Operations: ['11+25=36', '10+36=46']
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 87+46=133, Resulting Numbers: [133]
133,61 unequal: No Solution
Exploring Operation: 87*46=4002, Resulting Numbers: [4002]
4002,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[87, 26], Operations: ['11+25=36', '36-10=26']
Exploring Operation: 87+26=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[11, 10, 25, 87], Operations: []
Exploring Operation: 11+25=36, Resulting Numbers: [10, 87, 36]
Generated Node #0,0: 61:[10, 87, 36] Operation: 11+25=36
Moving to Node #0,0
Current State: 61:[10, 87, 36], Operations: ['11+25=36']
Exploring Operation: 36-10=26, Resulting Numbers: [87, 26]
Generated Node #0,0,1: 61:[87, 26] Operation: 36-10=26
Moving to Node #0,0,1
Current State: 61:[87, 26], Operations: ['11+25=36', '36-10=26']
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_4
|
sum_heuristic
|
[
64,
52,
22,
26
] | 16 |
[
"64-52=12",
"26-22=4",
"12+4=16"
] |
Current State: 16:[64, 52, 22, 26], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [22, 26, 12]
Generated Node #2: [22, 26, 12] from Operation: 64-52=12
Current State: 16:[22, 26, 12], Operations: ['64-52=12']
Exploring Operation: 26-22=4, Resulting Numbers: [12, 4]
Generated Node #3: [12, 4] from Operation: 26-22=4
Current State: 16:[12, 4], Operations: ['64-52=12', '26-22=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[64, 52, 22, 26], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [64, 22, 2]
Generated Node #0,0: 16:[64, 22, 2] Operation: 52/26=2
Exploring Operation: 64-52=12, Resulting Numbers: [22, 26, 12]
Generated Node #0,1: 16:[22, 26, 12] Operation: 64-52=12
Exploring Operation: 64-26=38, Resulting Numbers: [52, 22, 38]
Generated Node #0,2: 16:[52, 22, 38] Operation: 64-26=38
Exploring Operation: 52-26=26, Resulting Numbers: [64, 22, 26]
Generated Node #0,3: 16:[64, 22, 26] Operation: 52-26=26
Moving to Node #0,1
Current State: 16:[22, 26, 12], Operations: ['64-52=12']
Exploring Operation: 22+12=34, Resulting Numbers: [26, 34]
Generated Node #0,1,0: 16:[26, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [26, 10]
Generated Node #0,1,1: 16:[26, 10] Operation: 22-12=10
Exploring Operation: 26-12=14, Resulting Numbers: [22, 14]
Generated Node #0,1,2: 16:[22, 14] Operation: 26-12=14
Exploring Operation: 26-22=4, Resulting Numbers: [12, 4]
Generated Node #0,1,3: 16:[12, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[12, 4], Operations: ['64-52=12', '26-22=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[64, 52, 22, 26], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [22, 26, 12]
Generated Node #0,1: 16:[22, 26, 12] Operation: 64-52=12
Moving to Node #0,1
Current State: 16:[22, 26, 12], Operations: ['64-52=12']
Exploring Operation: 26-22=4, Resulting Numbers: [12, 4]
Generated Node #0,1,3: 16:[12, 4] Operation: 26-22=4
Moving to Node #0,1,3
Current State: 16:[12, 4], Operations: ['64-52=12', '26-22=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
33,
28,
28,
2
] | 66 |
[
"33+28=61",
"61-28=33",
"2*33=66"
] |
Current State: 66:[33, 28, 28, 2], Operations: []
Exploring Operation: 33+28=61, Resulting Numbers: [2, 61]
Generated Node #2: [2, 61] from Operation: 33+28=61
Current State: 66:[2, 61], Operations: ['33+28=61']
Exploring Operation: 61-28=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 61-28=33
Current State: 66:[2, 33], Operations: ['33+28=61', '61-28=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[33, 28, 28, 2], Operations: []
Exploring Operation: 28-28=0, Resulting Numbers: [33, 2, 0]
Generated Node #0,0: 66:[33, 2, 0] Operation: 28-28=0
Exploring Operation: 28/28=1, Resulting Numbers: [33, 2, 1]
Generated Node #0,1: 66:[33, 2, 1] Operation: 28/28=1
Exploring Operation: 33-28=5, Resulting Numbers: [28, 2, 5]
Generated Node #0,2: 66:[28, 2, 5] Operation: 33-28=5
Moving to Node #0,1
Current State: 66:[33, 2, 1], Operations: ['28/28=1']
Exploring Operation: 33/1=33, Resulting Numbers: [2, 33]
Generated Node #0,1,0: 66:[2, 33] Operation: 33/1=33
Exploring Operation: 2+1=3, Resulting Numbers: [33, 3]
Generated Node #0,1,1: 66:[33, 3] Operation: 2+1=3
Exploring Operation: 33*1=33, Resulting Numbers: [2, 33]
Generated Node #0,1,2: 66:[2, 33] Operation: 33*1=33
Moving to Node #0,0
Current State: 66:[33, 2, 0], Operations: ['28-28=0']
Exploring Operation: 33+0=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 66:[2, 33] Operation: 33+0=33
Exploring Operation: 2+0=2, Resulting Numbers: [33, 2]
Generated Node #0,0,1: 66:[33, 2] Operation: 2+0=2
Exploring Operation: 33-0=33, Resulting Numbers: [2, 33]
Generated Node #0,0,2: 66:[2, 33] Operation: 33-0=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[2, 33], Operations: ['28-28=0', '33+0=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[33, 28, 28, 2], Operations: []
Exploring Operation: 28-28=0, Resulting Numbers: [33, 2, 0]
Generated Node #0,0: 66:[33, 2, 0] Operation: 28-28=0
Moving to Node #0,0
Current State: 66:[33, 2, 0], Operations: ['28-28=0']
Exploring Operation: 33+0=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 66:[2, 33] Operation: 33+0=33
Moving to Node #0,0,0
Current State: 66:[2, 33], Operations: ['28-28=0', '33+0=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
88,
64,
87,
72
] | 98 |
[
"72-64=8",
"88/8=11",
"87+11=98"
] |
Current State: 98:[88, 64, 87, 72], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [88, 87, 8]
Generated Node #2: [88, 87, 8] from Operation: 72-64=8
Current State: 98:[88, 87, 8], Operations: ['72-64=8']
Exploring Operation: 88/8=11, Resulting Numbers: [87, 11]
Generated Node #3: [87, 11] from Operation: 88/8=11
Current State: 98:[87, 11], Operations: ['72-64=8', '88/8=11']
Exploring Operation: 87+11=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[88, 64, 87, 72], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [64, 87, 16]
Generated Node #0,0: 98:[64, 87, 16] Operation: 88-72=16
Exploring Operation: 87-72=15, Resulting Numbers: [88, 64, 15]
Generated Node #0,1: 98:[88, 64, 15] Operation: 87-72=15
Exploring Operation: 72-64=8, Resulting Numbers: [88, 87, 8]
Generated Node #0,2: 98:[88, 87, 8] Operation: 72-64=8
Exploring Operation: 88-87=1, Resulting Numbers: [64, 72, 1]
Generated Node #0,3: 98:[64, 72, 1] Operation: 88-87=1
Moving to Node #0,2
Current State: 98:[88, 87, 8], Operations: ['72-64=8']
Exploring Operation: 88/8=11, Resulting Numbers: [87, 11]
Generated Node #0,2,0: 98:[87, 11] Operation: 88/8=11
Exploring Operation: 88-87=1, Resulting Numbers: [8, 1]
Generated Node #0,2,1: 98:[8, 1] Operation: 88-87=1
Exploring Operation: 87+8=95, Resulting Numbers: [88, 95]
Generated Node #0,2,2: 98:[88, 95] Operation: 87+8=95
Exploring Operation: 88+8=96, Resulting Numbers: [87, 96]
Generated Node #0,2,3: 98:[87, 96] Operation: 88+8=96
Moving to Node #0,1
Current State: 98:[88, 64, 15], Operations: ['87-72=15']
Exploring Operation: 64+15=79, Resulting Numbers: [88, 79]
Generated Node #0,1,0: 98:[88, 79] Operation: 64+15=79
Exploring Operation: 88-64=24, Resulting Numbers: [15, 24]
Generated Node #0,1,1: 98:[15, 24] Operation: 88-64=24
Exploring Operation: 64-15=49, Resulting Numbers: [88, 49]
Generated Node #0,1,2: 98:[88, 49] Operation: 64-15=49
Exploring Operation: 88+15=103, Resulting Numbers: [64, 103]
Generated Node #0,1,3: 98:[64, 103] Operation: 88+15=103
Moving to Node #0,0
Current State: 98:[64, 87, 16], Operations: ['88-72=16']
Exploring Operation: 87-64=23, Resulting Numbers: [16, 23]
Generated Node #0,0,0: 98:[16, 23] Operation: 87-64=23
Exploring Operation: 64/16=4, Resulting Numbers: [87, 4]
Generated Node #0,0,1: 98:[87, 4] Operation: 64/16=4
Exploring Operation: 87+16=103, Resulting Numbers: [64, 103]
Generated Node #0,0,2: 98:[64, 103] Operation: 87+16=103
Exploring Operation: 64-16=48, Resulting Numbers: [87, 48]
Generated Node #0,0,3: 98:[87, 48] Operation: 64-16=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[16, 23], Operations: ['88-72=16', '87-64=23']
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,98 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 23-16=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,0,3
Current State: 98:[87, 48], Operations: ['88-72=16', '64-16=48']
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,98 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,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,0,1
Current State: 98:[87, 4], Operations: ['88-72=16', '64/16=4']
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,98 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,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,0,2
Current State: 98:[64, 103], Operations: ['88-72=16', '87+16=103']
Exploring Operation: 64*103=6592, Resulting Numbers: [6592]
6592,98 unequal: No Solution
Exploring Operation: 103-64=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 64+103=167, Resulting Numbers: [167]
167,98 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: 98:[64, 72, 1], Operations: ['88-87=1']
Exploring Operation: 64-1=63, Resulting Numbers: [72, 63]
Generated Node #0,3,0: 98:[72, 63] Operation: 64-1=63
Exploring Operation: 64*1=64, Resulting Numbers: [72, 64]
Generated Node #0,3,1: 98:[72, 64] Operation: 64*1=64
Exploring Operation: 72-1=71, Resulting Numbers: [64, 71]
Generated Node #0,3,2: 98:[64, 71] Operation: 72-1=71
Exploring Operation: 72-64=8, Resulting Numbers: [1, 8]
Generated Node #0,3,3: 98:[1, 8] Operation: 72-64=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[1, 8], Operations: ['88-87=1', '72-64=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[72, 63], Operations: ['88-87=1', '64-1=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[64, 71], Operations: ['88-87=1', '72-1=71']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 64+71=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 64*71=4544, Resulting Numbers: [4544]
4544,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[72, 64], Operations: ['88-87=1', '64*1=64']
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,98 unequal: No Solution
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,98 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: 98:[8, 1], Operations: ['72-64=8', '88-87=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[88, 49], Operations: ['87-72=15', '64-15=49']
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 88*49=4312, Resulting Numbers: [4312]
4312,98 unequal: No Solution
Exploring Operation: 88+49=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[15, 24], Operations: ['87-72=15', '88-64=24']
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,98 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[87, 96], Operations: ['72-64=8', '88+8=96']
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,98 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[88, 95], Operations: ['72-64=8', '87+8=95']
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,98 unequal: No Solution
Exploring Operation: 88*95=8360, Resulting Numbers: [8360]
8360,98 unequal: No Solution
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[87, 11], Operations: ['72-64=8', '88/8=11']
Exploring Operation: 87-11=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 87*11=957, Resulting Numbers: [957]
957,98 unequal: No Solution
Exploring Operation: 87+11=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[88, 64, 87, 72], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [88, 87, 8]
Generated Node #0,2: 98:[88, 87, 8] Operation: 72-64=8
Moving to Node #0,2
Current State: 98:[88, 87, 8], Operations: ['72-64=8']
Exploring Operation: 88/8=11, Resulting Numbers: [87, 11]
Generated Node #0,2,0: 98:[87, 11] Operation: 88/8=11
Moving to Node #0,2,0
Current State: 98:[87, 11], Operations: ['72-64=8', '88/8=11']
Exploring Operation: 87+11=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.940972 |
hs_4
|
mult_heuristic
|
[
34,
50,
68,
52
] | 24 |
[
"68/34=2",
"52/2=26",
"50-26=24"
] |
Current State: 24:[34, 50, 68, 52], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [50, 52, 2]
Generated Node #2: [50, 52, 2] from Operation: 68/34=2
Current State: 24:[50, 52, 2], Operations: ['68/34=2']
Exploring Operation: 52/2=26, Resulting Numbers: [50, 26]
Generated Node #3: [50, 26] from Operation: 52/2=26
Current State: 24:[50, 26], Operations: ['68/34=2', '52/2=26']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[34, 50, 68, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [34, 68, 2]
Generated Node #0,0: 24:[34, 68, 2] Operation: 52-50=2
Exploring Operation: 68/34=2, Resulting Numbers: [50, 52, 2]
Generated Node #0,1: 24:[50, 52, 2] Operation: 68/34=2
Exploring Operation: 68-50=18, Resulting Numbers: [34, 52, 18]
Generated Node #0,2: 24:[34, 52, 18] Operation: 68-50=18
Exploring Operation: 68-52=16, Resulting Numbers: [34, 50, 16]
Generated Node #0,3: 24:[34, 50, 16] Operation: 68-52=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[34, 50, 16], Operations: ['68-52=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50, 50]
Generated Node #0,3,0: 24:[50, 50] Operation: 34+16=50
Exploring Operation: 34-16=18, Resulting Numbers: [50, 18]
Generated Node #0,3,1: 24:[50, 18] Operation: 34-16=18
Exploring Operation: 50-34=16, Resulting Numbers: [16, 16]
Generated Node #0,3,2: 24:[16, 16] Operation: 50-34=16
Exploring Operation: 50-16=34, Resulting Numbers: [34, 34]
Generated Node #0,3,3: 24:[34, 34] Operation: 50-16=34
Moving to Node #0,3,2
Current State: 24:[16, 16], Operations: ['68-52=16', '50-34=16']
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[34, 34], Operations: ['68-52=16', '50-16=34']
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,24 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[50, 18], Operations: ['68-52=16', '34-16=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,24 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[50, 50], Operations: ['68-52=16', '34+16=50']
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,24 unequal: No Solution
Exploring Operation: 50*50=2500, Resulting Numbers: [2500]
2500,24 unequal: No Solution
Exploring Operation: 50/50=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[34, 52, 18], Operations: ['68-50=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52, 52]
Generated Node #0,2,0: 24:[52, 52] Operation: 34+18=52
Exploring Operation: 52-34=18, Resulting Numbers: [18, 18]
Generated Node #0,2,1: 24:[18, 18] Operation: 52-34=18
Exploring Operation: 34-18=16, Resulting Numbers: [52, 16]
Generated Node #0,2,2: 24:[52, 16] Operation: 34-18=16
Exploring Operation: 52-18=34, Resulting Numbers: [34, 34]
Generated Node #0,2,3: 24:[34, 34] Operation: 52-18=34
Moving to Node #0,2,1
Current State: 24:[18, 18], Operations: ['68-50=18', '52-34=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[34, 34], Operations: ['68-50=18', '52-18=34']
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[52, 16], Operations: ['68-50=18', '34-18=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,24 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[52, 52], Operations: ['68-50=18', '34+18=52']
Exploring Operation: 52*52=2704, Resulting Numbers: [2704]
2704,24 unequal: No Solution
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[34, 68, 2], Operations: ['52-50=2']
Exploring Operation: 68-34=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 24:[2, 34] Operation: 68-34=34
Exploring Operation: 68/2=34, Resulting Numbers: [34, 34]
Generated Node #0,0,1: 24:[34, 34] Operation: 68/2=34
Exploring Operation: 34/2=17, Resulting Numbers: [68, 17]
Generated Node #0,0,2: 24:[68, 17] Operation: 34/2=17
Exploring Operation: 68/34=2, Resulting Numbers: [2, 2]
Generated Node #0,0,3: 24:[2, 2] Operation: 68/34=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[2, 2], Operations: ['52-50=2', '68/34=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No 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: 24:[2, 34], Operations: ['52-50=2', '68-34=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,24 unequal: No Solution
No 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: 24:[34, 34], Operations: ['52-50=2', '68/2=34']
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,24 unequal: No Solution
No 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: 24:[68, 17], Operations: ['52-50=2', '34/2=17']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,24 unequal: No Solution
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,24 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: 24:[50, 52, 2], Operations: ['68/34=2']
Exploring Operation: 50-2=48, Resulting Numbers: [52, 48]
Generated Node #0,1,0: 24:[52, 48] Operation: 50-2=48
Exploring Operation: 52/2=26, Resulting Numbers: [50, 26]
Generated Node #0,1,1: 24:[50, 26] Operation: 52/2=26
Exploring Operation: 50/2=25, Resulting Numbers: [52, 25]
Generated Node #0,1,2: 24:[52, 25] Operation: 50/2=25
Exploring Operation: 52-50=2, Resulting Numbers: [2, 2]
Generated Node #0,1,3: 24:[2, 2] Operation: 52-50=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 24:[2, 2], Operations: ['68/34=2', '52-50=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No 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: 24:[50, 26], Operations: ['68/34=2', '52/2=26']
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,24 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,24 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[34, 50, 68, 52], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [50, 52, 2]
Generated Node #0,1: 24:[50, 52, 2] Operation: 68/34=2
Moving to Node #0,1
Current State: 24:[50, 52, 2], Operations: ['68/34=2']
Exploring Operation: 52/2=26, Resulting Numbers: [50, 26]
Generated Node #0,1,1: 24:[50, 26] Operation: 52/2=26
Moving to Node #0,1,1
Current State: 24:[50, 26], Operations: ['68/34=2', '52/2=26']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.93316 |
hs_4
|
mult_heuristic
|
[
8,
45,
4,
20
] | 25 |
[
"45*4=180",
"20+180=200",
"200/8=25"
] |
Current State: 25:[8, 45, 4, 20], Operations: []
Exploring Operation: 45*4=180, Resulting Numbers: [8, 20, 180]
Generated Node #2: [8, 20, 180] from Operation: 45*4=180
Current State: 25:[8, 20, 180], Operations: ['45*4=180']
Exploring Operation: 20+180=200, Resulting Numbers: [8, 200]
Generated Node #3: [8, 200] from Operation: 20+180=200
Current State: 25:[8, 200], Operations: ['45*4=180', '20+180=200']
Exploring Operation: 200/8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[8, 45, 4, 20], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [8, 45, 5]
Generated Node #0,0: 25:[8, 45, 5] Operation: 20/4=5
Exploring Operation: 45-20=25, Resulting Numbers: [8, 4, 25]
Generated Node #0,1: 25:[8, 4, 25] Operation: 45-20=25
Exploring Operation: 45-8=37, Resulting Numbers: [4, 20, 37]
Generated Node #0,2: 25:[4, 20, 37] Operation: 45-8=37
Moving to Node #0,1
Current State: 25:[8, 4, 25], Operations: ['45-20=25']
Exploring Operation: 8-4=4, Resulting Numbers: [25, 4]
Generated Node #0,1,0: 25:[25, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [25, 2]
Generated Node #0,1,1: 25:[25, 2] Operation: 8/4=2
Exploring Operation: 8+4=12, Resulting Numbers: [25, 12]
Generated Node #0,1,2: 25:[25, 12] Operation: 8+4=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[25, 4], Operations: ['45-20=25', '8-4=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[25, 2], Operations: ['45-20=25', '8/4=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[25, 12], Operations: ['45-20=25', '8+4=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,25 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: 25:[4, 20, 37], Operations: ['45-8=37']
Exploring Operation: 20/4=5, Resulting Numbers: [37, 5]
Generated Node #0,2,0: 25:[37, 5] Operation: 20/4=5
Exploring Operation: 4+20=24, Resulting Numbers: [37, 24]
Generated Node #0,2,1: 25:[37, 24] Operation: 4+20=24
Exploring Operation: 37-20=17, Resulting Numbers: [4, 17]
Generated Node #0,2,2: 25:[4, 17] Operation: 37-20=17
Moving to Node #0,0
Current State: 25:[8, 45, 5], Operations: ['20/4=5']
Exploring Operation: 45-8=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 25:[5, 37] Operation: 45-8=37
Exploring Operation: 45-5=40, Resulting Numbers: [8, 40]
Generated Node #0,0,1: 25:[8, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [8, 9]
Generated Node #0,0,2: 25:[8, 9] Operation: 45/5=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[8, 9], Operations: ['20/4=5', '45/5=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[5, 37], Operations: ['20/4=5', '45-8=37']
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,25 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[8, 40], Operations: ['20/4=5', '45-5=40']
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 25:[4, 17], Operations: ['45-8=37', '37-20=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[37, 5], Operations: ['45-8=37', '20/4=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[37, 24], Operations: ['45-8=37', '4+20=24']
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,25 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,25 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
48,
85,
74,
46
] | 92 |
[
"85-48=37",
"74*46=3404",
"3404/37=92"
] |
Current State: 92:[48, 85, 74, 46], Operations: []
Exploring Operation: 85-48=37, Resulting Numbers: [74, 46, 37]
Generated Node #2: [74, 46, 37] from Operation: 85-48=37
Current State: 92:[74, 46, 37], Operations: ['85-48=37']
Exploring Operation: 74*46=3404, Resulting Numbers: [37, 3404]
Generated Node #3: [37, 3404] from Operation: 74*46=3404
Current State: 92:[37, 3404], Operations: ['85-48=37', '74*46=3404']
Exploring Operation: 3404/37=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[48, 85, 74, 46], Operations: []
Exploring Operation: 85-74=11, Resulting Numbers: [48, 46, 11]
Generated Node #0,0: 92:[48, 46, 11] Operation: 85-74=11
Exploring Operation: 74-48=26, Resulting Numbers: [85, 46, 26]
Generated Node #0,1: 92:[85, 46, 26] Operation: 74-48=26
Exploring Operation: 48-46=2, Resulting Numbers: [85, 74, 2]
Generated Node #0,2: 92:[85, 74, 2] Operation: 48-46=2
Exploring Operation: 74-46=28, Resulting Numbers: [48, 85, 28]
Generated Node #0,3: 92:[48, 85, 28] Operation: 74-46=28
Moving to Node #0,0
Current State: 92:[48, 46, 11], Operations: ['85-74=11']
Exploring Operation: 48-11=37, Resulting Numbers: [46, 37]
Generated Node #0,0,0: 92:[46, 37] Operation: 48-11=37
Exploring Operation: 48+46=94, Resulting Numbers: [11, 94]
Generated Node #0,0,1: 92:[11, 94] Operation: 48+46=94
Exploring Operation: 48-46=2, Resulting Numbers: [11, 2]
Generated Node #0,0,2: 92:[11, 2] Operation: 48-46=2
Exploring Operation: 48+11=59, Resulting Numbers: [46, 59]
Generated Node #0,0,3: 92:[46, 59] Operation: 48+11=59
Moving to Node #0,1
Current State: 92:[85, 46, 26], Operations: ['74-48=26']
Exploring Operation: 85+26=111, Resulting Numbers: [46, 111]
Generated Node #0,1,0: 92:[46, 111] Operation: 85+26=111
Exploring Operation: 46-26=20, Resulting Numbers: [85, 20]
Generated Node #0,1,1: 92:[85, 20] Operation: 46-26=20
Exploring Operation: 85-46=39, Resulting Numbers: [26, 39]
Generated Node #0,1,2: 92:[26, 39] Operation: 85-46=39
Exploring Operation: 85-26=59, Resulting Numbers: [46, 59]
Generated Node #0,1,3: 92:[46, 59] Operation: 85-26=59
Moving to Node #0,3
Current State: 92:[48, 85, 28], Operations: ['74-46=28']
Exploring Operation: 48-28=20, Resulting Numbers: [85, 20]
Generated Node #0,3,0: 92:[85, 20] Operation: 48-28=20
Exploring Operation: 48+28=76, Resulting Numbers: [85, 76]
Generated Node #0,3,1: 92:[85, 76] Operation: 48+28=76
Exploring Operation: 85-28=57, Resulting Numbers: [48, 57]
Generated Node #0,3,2: 92:[48, 57] Operation: 85-28=57
Exploring Operation: 85-48=37, Resulting Numbers: [28, 37]
Generated Node #0,3,3: 92:[28, 37] Operation: 85-48=37
Moving to Node #0,2
Current State: 92:[85, 74, 2], Operations: ['48-46=2']
Exploring Operation: 85-74=11, Resulting Numbers: [2, 11]
Generated Node #0,2,0: 92:[2, 11] Operation: 85-74=11
Exploring Operation: 74+2=76, Resulting Numbers: [85, 76]
Generated Node #0,2,1: 92:[85, 76] Operation: 74+2=76
Exploring Operation: 74/2=37, Resulting Numbers: [85, 37]
Generated Node #0,2,2: 92:[85, 37] Operation: 74/2=37
Exploring Operation: 85+2=87, Resulting Numbers: [74, 87]
Generated Node #0,2,3: 92:[74, 87] Operation: 85+2=87
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[2, 11], Operations: ['48-46=2', '85-74=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,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,2
Current State: 92:[85, 37], Operations: ['48-46=2', '74/2=37']
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 85+37=122, Resulting Numbers: [122]
122,92 unequal: No Solution
Exploring Operation: 85*37=3145, Resulting Numbers: [3145]
3145,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,1
Current State: 92:[85, 76], Operations: ['48-46=2', '74+2=76']
Exploring Operation: 85+76=161, Resulting Numbers: [161]
161,92 unequal: No Solution
Exploring Operation: 85-76=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 85*76=6460, Resulting Numbers: [6460]
6460,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,3
Current State: 92:[74, 87], Operations: ['48-46=2', '85+2=87']
Exploring Operation: 74*87=6438, Resulting Numbers: [6438]
6438,92 unequal: No Solution
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 74+87=161, Resulting Numbers: [161]
161,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 92:[11, 2], Operations: ['85-74=11', '48-46=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[11, 94], Operations: ['85-74=11', '48+46=94']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,92 unequal: No Solution
Exploring Operation: 11+94=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 11*94=1034, Resulting Numbers: [1034]
1034,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[46, 37], Operations: ['85-74=11', '48-11=37']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,92 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[26, 39], Operations: ['74-48=26', '85-46=39']
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,92 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[85, 20], Operations: ['74-48=26', '46-26=20']
Exploring Operation: 85*20=1700, Resulting Numbers: [1700]
1700,92 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 85+20=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[85, 20], Operations: ['74-46=28', '48-28=20']
Exploring Operation: 85*20=1700, Resulting Numbers: [1700]
1700,92 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 85+20=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[46, 59], Operations: ['74-48=26', '85-26=59']
Exploring Operation: 46+59=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 46*59=2714, Resulting Numbers: [2714]
2714,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[48, 57], Operations: ['74-46=28', '85-28=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,92 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[46, 59], Operations: ['85-74=11', '48+11=59']
Exploring Operation: 46+59=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 46*59=2714, Resulting Numbers: [2714]
2714,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[28, 37], Operations: ['74-46=28', '85-48=37']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,92 unequal: No Solution
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[46, 111], Operations: ['74-48=26', '85+26=111']
Exploring Operation: 111-46=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 46*111=5106, Resulting Numbers: [5106]
5106,92 unequal: No Solution
Exploring Operation: 46+111=157, Resulting Numbers: [157]
157,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[85, 76], Operations: ['74-46=28', '48+28=76']
Exploring Operation: 85+76=161, Resulting Numbers: [161]
161,92 unequal: No Solution
Exploring Operation: 85-76=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 85*76=6460, Resulting Numbers: [6460]
6460,92 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
2,
29,
13,
7
] | 85 |
[
"29+7=36",
"2*36=72",
"13+72=85"
] |
Current State: 85:[2, 29, 13, 7], Operations: []
Exploring Operation: 29+7=36, Resulting Numbers: [2, 13, 36]
Generated Node #2: [2, 13, 36] from Operation: 29+7=36
Current State: 85:[2, 13, 36], Operations: ['29+7=36']
Exploring Operation: 2*36=72, Resulting Numbers: [13, 72]
Generated Node #3: [13, 72] from Operation: 2*36=72
Current State: 85:[13, 72], Operations: ['29+7=36', '2*36=72']
Exploring Operation: 13+72=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[2, 29, 13, 7], Operations: []
Exploring Operation: 29-13=16, Resulting Numbers: [2, 7, 16]
Generated Node #0,0: 85:[2, 7, 16] Operation: 29-13=16
Moving to Node #0,0
Current State: 85:[2, 7, 16], Operations: ['29-13=16']
Exploring Operation: 7-2=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 85:[16, 5] Operation: 7-2=5
Moving to Node #0,0,0
Current State: 85:[16, 5], Operations: ['29-13=16', '7-2=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,85 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
12,
42,
7,
97
] | 91 |
[
"97-12=85",
"42/7=6",
"85+6=91"
] |
Current State: 91:[12, 42, 7, 97], Operations: []
Exploring Operation: 97-12=85, Resulting Numbers: [42, 7, 85]
Generated Node #2: [42, 7, 85] from Operation: 97-12=85
Current State: 91:[42, 7, 85], Operations: ['97-12=85']
Exploring Operation: 42/7=6, Resulting Numbers: [85, 6]
Generated Node #3: [85, 6] from Operation: 42/7=6
Current State: 91:[85, 6], Operations: ['97-12=85', '42/7=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[12, 42, 7, 97], Operations: []
Exploring Operation: 42-12=30, Resulting Numbers: [7, 97, 30]
Generated Node #0,0: 91:[7, 97, 30] Operation: 42-12=30
Exploring Operation: 42/7=6, Resulting Numbers: [12, 97, 6]
Generated Node #0,1: 91:[12, 97, 6] Operation: 42/7=6
Moving to Node #0,1
Current State: 91:[12, 97, 6], Operations: ['42/7=6']
Exploring Operation: 97-12=85, Resulting Numbers: [6, 85]
Generated Node #0,1,0: 91:[6, 85] Operation: 97-12=85
Exploring Operation: 97-6=91, Resulting Numbers: [12, 91]
Generated Node #0,1,1: 91:[12, 91] Operation: 97-6=91
Moving to Node #0,0
Current State: 91:[7, 97, 30], Operations: ['42-12=30']
Exploring Operation: 97-7=90, Resulting Numbers: [30, 90]
Generated Node #0,0,0: 91:[30, 90] Operation: 97-7=90
Exploring Operation: 30-7=23, Resulting Numbers: [97, 23]
Generated Node #0,0,1: 91:[97, 23] Operation: 30-7=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[97, 23], Operations: ['42-12=30', '30-7=23']
Exploring Operation: 97+23=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,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:[30, 90], Operations: ['42-12=30', '97-7=90']
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 30+90=120, Resulting Numbers: [120]
120,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 91:[12, 91], Operations: ['42/7=6', '97-6=91']
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[6, 85], Operations: ['42/7=6', '97-12=85']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,91 unequal: No Solution
Exploring Operation: 6+85=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[12, 42, 7, 97], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [12, 97, 6]
Generated Node #0,1: 91:[12, 97, 6] Operation: 42/7=6
Moving to Node #0,1
Current State: 91:[12, 97, 6], Operations: ['42/7=6']
Exploring Operation: 97-12=85, Resulting Numbers: [6, 85]
Generated Node #0,1,0: 91:[6, 85] Operation: 97-12=85
Moving to Node #0,1,0
Current State: 91:[6, 85], Operations: ['42/7=6', '97-12=85']
Exploring Operation: 6+85=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.984375 |
hs_2
|
sum_heuristic
|
[
2,
94,
95,
99
] | 98 |
[
"2+94=96",
"95+99=194",
"194-96=98"
] |
Current State: 98:[2, 94, 95, 99], Operations: []
Exploring Operation: 2+94=96, Resulting Numbers: [95, 99, 96]
Generated Node #2: [95, 99, 96] from Operation: 2+94=96
Current State: 98:[95, 99, 96], Operations: ['2+94=96']
Exploring Operation: 95+99=194, Resulting Numbers: [96, 194]
Generated Node #3: [96, 194] from Operation: 95+99=194
Current State: 98:[96, 194], Operations: ['2+94=96', '95+99=194']
Exploring Operation: 194-96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[2, 94, 95, 99], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [2, 99, 1]
Generated Node #0,0: 98:[2, 99, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 98:[2, 99, 1], Operations: ['95-94=1']
Exploring Operation: 99-1=98, Resulting Numbers: [2, 98]
Generated Node #0,0,0: 98:[2, 98] Operation: 99-1=98
Moving to Node #0,0,0
Current State: 98:[2, 98], Operations: ['95-94=1', '99-1=98']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
66,
96,
14,
54
] | 17 |
[
"66+96=162",
"162/54=3",
"14+3=17"
] |
Current State: 17:[66, 96, 14, 54], Operations: []
Exploring Operation: 66+96=162, Resulting Numbers: [14, 54, 162]
Generated Node #2: [14, 54, 162] from Operation: 66+96=162
Current State: 17:[14, 54, 162], Operations: ['66+96=162']
Exploring Operation: 162/54=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 162/54=3
Current State: 17:[14, 3], Operations: ['66+96=162', '162/54=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[66, 96, 14, 54], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [14, 54, 30]
Generated Node #0,0: 17:[14, 54, 30] Operation: 96-66=30
Exploring Operation: 96-54=42, Resulting Numbers: [66, 14, 42]
Generated Node #0,1: 17:[66, 14, 42] Operation: 96-54=42
Moving to Node #0,0
Current State: 17:[14, 54, 30], Operations: ['96-66=30']
Exploring Operation: 54-14=40, Resulting Numbers: [30, 40]
Generated Node #0,0,0: 17:[30, 40] Operation: 54-14=40
Exploring Operation: 54-30=24, Resulting Numbers: [14, 24]
Generated Node #0,0,1: 17:[14, 24] Operation: 54-30=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[14, 24], Operations: ['96-66=30', '54-30=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,17 unequal: No Solution
No 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: 17:[30, 40], Operations: ['96-66=30', '54-14=40']
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,17 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: 17:[66, 14, 42], Operations: ['96-54=42']
Exploring Operation: 66-42=24, Resulting Numbers: [14, 24]
Generated Node #0,1,0: 17:[14, 24] Operation: 66-42=24
Exploring Operation: 66-14=52, Resulting Numbers: [42, 52]
Generated Node #0,1,1: 17:[42, 52] Operation: 66-14=52
Moving to Node #0,1,0
Current State: 17:[14, 24], Operations: ['96-54=42', '66-42=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[42, 52], Operations: ['96-54=42', '66-14=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,17 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
28,
94,
95,
7
] | 31 |
[
"28+94=122",
"95+122=217",
"217/7=31"
] |
Current State: 31:[28, 94, 95, 7], Operations: []
Exploring Operation: 28+94=122, Resulting Numbers: [95, 7, 122]
Generated Node #2: [95, 7, 122] from Operation: 28+94=122
Current State: 31:[95, 7, 122], Operations: ['28+94=122']
Exploring Operation: 95+122=217, Resulting Numbers: [7, 217]
Generated Node #3: [7, 217] from Operation: 95+122=217
Current State: 31:[7, 217], Operations: ['28+94=122', '95+122=217']
Exploring Operation: 217/7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[28, 94, 95, 7], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [28, 7, 1]
Generated Node #0,0: 31:[28, 7, 1] Operation: 95-94=1
Exploring Operation: 94-28=66, Resulting Numbers: [95, 7, 66]
Generated Node #0,1: 31:[95, 7, 66] Operation: 94-28=66
Exploring Operation: 95-28=67, Resulting Numbers: [94, 7, 67]
Generated Node #0,2: 31:[94, 7, 67] Operation: 95-28=67
Moving to Node #0,0
Current State: 31:[28, 7, 1], Operations: ['95-94=1']
Exploring Operation: 7+1=8, Resulting Numbers: [28, 8]
Generated Node #0,0,0: 31:[28, 8] Operation: 7+1=8
Exploring Operation: 28+1=29, Resulting Numbers: [7, 29]
Generated Node #0,0,1: 31:[7, 29] Operation: 28+1=29
Exploring Operation: 28*1=28, Resulting Numbers: [7, 28]
Generated Node #0,0,2: 31:[7, 28] Operation: 28*1=28
Moving to Node #0,1
Current State: 31:[95, 7, 66], Operations: ['94-28=66']
Exploring Operation: 95-66=29, Resulting Numbers: [7, 29]
Generated Node #0,1,0: 31:[7, 29] Operation: 95-66=29
Exploring Operation: 66-7=59, Resulting Numbers: [95, 59]
Generated Node #0,1,1: 31:[95, 59] Operation: 66-7=59
Exploring Operation: 95-7=88, Resulting Numbers: [66, 88]
Generated Node #0,1,2: 31:[66, 88] Operation: 95-7=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[7, 29], Operations: ['94-28=66', '95-66=29']
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,31 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,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,1
Current State: 31:[95, 59], Operations: ['94-28=66', '66-7=59']
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,31 unequal: No Solution
Exploring Operation: 95*59=5605, Resulting Numbers: [5605]
5605,31 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,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:[66, 88], Operations: ['94-28=66', '95-7=88']
Exploring Operation: 66*88=5808, Resulting Numbers: [5808]
5808,31 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 66+88=154, Resulting Numbers: [154]
154,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:[94, 7, 67], Operations: ['95-28=67']
Exploring Operation: 94-7=87, Resulting Numbers: [67, 87]
Generated Node #0,2,0: 31:[67, 87] Operation: 94-7=87
Exploring Operation: 67-7=60, Resulting Numbers: [94, 60]
Generated Node #0,2,1: 31:[94, 60] Operation: 67-7=60
Exploring Operation: 94-67=27, Resulting Numbers: [7, 27]
Generated Node #0,2,2: 31:[7, 27] Operation: 94-67=27
Moving to Node #0,0,0
Current State: 31:[28, 8], Operations: ['95-94=1', '7+1=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[7, 29], Operations: ['95-94=1', '28+1=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[7, 28], Operations: ['95-94=1', '28*1=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[7, 27], Operations: ['95-28=67', '94-67=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,31 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[94, 60], Operations: ['95-28=67', '67-7=60']
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,31 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[67, 87], Operations: ['95-28=67', '94-7=87']
Exploring Operation: 67+87=154, Resulting Numbers: [154]
154,31 unequal: No Solution
Exploring Operation: 67*87=5829, Resulting Numbers: [5829]
5829,31 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,31 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
18,
20,
50,
55
] | 12 |
[
"18*50=900",
"20+55=75",
"900/75=12"
] |
Current State: 12:[18, 20, 50, 55], Operations: []
Exploring Operation: 18*50=900, Resulting Numbers: [20, 55, 900]
Generated Node #2: [20, 55, 900] from Operation: 18*50=900
Current State: 12:[20, 55, 900], Operations: ['18*50=900']
Exploring Operation: 20+55=75, Resulting Numbers: [900, 75]
Generated Node #3: [900, 75] from Operation: 20+55=75
Current State: 12:[900, 75], Operations: ['18*50=900', '20+55=75']
Exploring Operation: 900/75=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[18, 20, 50, 55], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [18, 50, 35]
Generated Node #0,0: 12:[18, 50, 35] Operation: 55-20=35
Exploring Operation: 50-18=32, Resulting Numbers: [20, 55, 32]
Generated Node #0,1: 12:[20, 55, 32] Operation: 50-18=32
Exploring Operation: 50-20=30, Resulting Numbers: [18, 55, 30]
Generated Node #0,2: 12:[18, 55, 30] Operation: 50-20=30
Exploring Operation: 55-50=5, Resulting Numbers: [18, 20, 5]
Generated Node #0,3: 12:[18, 20, 5] Operation: 55-50=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[18, 20, 5], Operations: ['55-50=5']
Exploring Operation: 20-18=2, Resulting Numbers: [5, 2]
Generated Node #0,3,0: 12:[5, 2] Operation: 20-18=2
Exploring Operation: 18-5=13, Resulting Numbers: [20, 13]
Generated Node #0,3,1: 12:[20, 13] Operation: 18-5=13
Exploring Operation: 20/5=4, Resulting Numbers: [18, 4]
Generated Node #0,3,2: 12:[18, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [18, 15]
Generated Node #0,3,3: 12:[18, 15] Operation: 20-5=15
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[5, 2], Operations: ['55-50=5', '20-18=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[18, 4], Operations: ['55-50=5', '20/5=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[20, 13], Operations: ['55-50=5', '18-5=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[18, 15], Operations: ['55-50=5', '20-5=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,12 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[18, 50, 35], Operations: ['55-20=35']
Exploring Operation: 50-18=32, Resulting Numbers: [35, 32]
Generated Node #0,0,0: 12:[35, 32] Operation: 50-18=32
Exploring Operation: 35-18=17, Resulting Numbers: [50, 17]
Generated Node #0,0,1: 12:[50, 17] Operation: 35-18=17
Exploring Operation: 18+50=68, Resulting Numbers: [35, 68]
Generated Node #0,0,2: 12:[35, 68] Operation: 18+50=68
Exploring Operation: 50-35=15, Resulting Numbers: [18, 15]
Generated Node #0,0,3: 12:[18, 15] Operation: 50-35=15
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[18, 15], Operations: ['55-20=35', '50-35=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,12 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[35, 32], Operations: ['55-20=35', '50-18=32']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,12 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[50, 17], Operations: ['55-20=35', '35-18=17']
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,12 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[35, 68], Operations: ['55-20=35', '18+50=68']
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,12 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[18, 55, 30], Operations: ['50-20=30']
Exploring Operation: 55-18=37, Resulting Numbers: [30, 37]
Generated Node #0,2,0: 12:[30, 37] Operation: 55-18=37
Exploring Operation: 30-18=12, Resulting Numbers: [55, 12]
Generated Node #0,2,1: 12:[55, 12] Operation: 30-18=12
Exploring Operation: 18+55=73, Resulting Numbers: [30, 73]
Generated Node #0,2,2: 12:[30, 73] Operation: 18+55=73
Exploring Operation: 55-30=25, Resulting Numbers: [18, 25]
Generated Node #0,2,3: 12:[18, 25] Operation: 55-30=25
Moving to Node #0,2,3
Current State: 12:[18, 25], Operations: ['50-20=30', '55-30=25']
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[55, 12], Operations: ['50-20=30', '30-18=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[30, 37], Operations: ['50-20=30', '55-18=37']
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,12 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[30, 73], Operations: ['50-20=30', '18+55=73']
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,12 unequal: No Solution
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,12 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No 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: 12:[20, 55, 32], Operations: ['50-18=32']
Exploring Operation: 20+55=75, Resulting Numbers: [32, 75]
Generated Node #0,1,0: 12:[32, 75] Operation: 20+55=75
Exploring Operation: 55-20=35, Resulting Numbers: [32, 35]
Generated Node #0,1,1: 12:[32, 35] Operation: 55-20=35
Exploring Operation: 55-32=23, Resulting Numbers: [20, 23]
Generated Node #0,1,2: 12:[20, 23] Operation: 55-32=23
Exploring Operation: 32-20=12, Resulting Numbers: [55, 12]
Generated Node #0,1,3: 12:[55, 12] Operation: 32-20=12
Moving to Node #0,1,2
Current State: 12:[20, 23], Operations: ['50-18=32', '55-32=23']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[55, 12], Operations: ['50-18=32', '32-20=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,12 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[32, 35], Operations: ['50-18=32', '55-20=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,12 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[32, 75], Operations: ['50-18=32', '20+55=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,12 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,12 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
40,
20,
5,
58
] | 33 |
[
"40-20=20",
"58-5=53",
"53-20=33"
] |
Current State: 33:[40, 20, 5, 58], Operations: []
Exploring Operation: 40-20=20, Resulting Numbers: [5, 58, 20]
Generated Node #2: [5, 58, 20] from Operation: 40-20=20
Current State: 33:[5, 58, 20], Operations: ['40-20=20']
Exploring Operation: 58-5=53, Resulting Numbers: [20, 53]
Generated Node #3: [20, 53] from Operation: 58-5=53
Current State: 33:[20, 53], Operations: ['40-20=20', '58-5=53']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[40, 20, 5, 58], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [5, 58, 2]
Generated Node #0,0: 33:[5, 58, 2] Operation: 40/20=2
Exploring Operation: 58-20=38, Resulting Numbers: [40, 5, 38]
Generated Node #0,1: 33:[40, 5, 38] Operation: 58-20=38
Exploring Operation: 58-40=18, Resulting Numbers: [20, 5, 18]
Generated Node #0,2: 33:[20, 5, 18] Operation: 58-40=18
Exploring Operation: 20/5=4, Resulting Numbers: [40, 58, 4]
Generated Node #0,3: 33:[40, 58, 4] Operation: 20/5=4
Moving to Node #0,1
Current State: 33:[40, 5, 38], Operations: ['58-20=38']
Exploring Operation: 40/5=8, Resulting Numbers: [38, 8]
Generated Node #0,1,0: 33:[38, 8] Operation: 40/5=8
Exploring Operation: 38-5=33, Resulting Numbers: [40, 33]
Generated Node #0,1,1: 33:[40, 33] Operation: 38-5=33
Exploring Operation: 40-38=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 33:[5, 2] Operation: 40-38=2
Exploring Operation: 40-5=35, Resulting Numbers: [38, 35]
Generated Node #0,1,3: 33:[38, 35] Operation: 40-5=35
Moving to Node #0,2
Current State: 33:[20, 5, 18], Operations: ['58-40=18']
Exploring Operation: 20-5=15, Resulting Numbers: [18, 15]
Generated Node #0,2,0: 33:[18, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [18, 4]
Generated Node #0,2,1: 33:[18, 4] Operation: 20/5=4
Exploring Operation: 20+18=38, Resulting Numbers: [5, 38]
Generated Node #0,2,2: 33:[5, 38] Operation: 20+18=38
Exploring Operation: 20-18=2, Resulting Numbers: [5, 2]
Generated Node #0,2,3: 33:[5, 2] Operation: 20-18=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 33:[5, 2], Operations: ['58-40=18', '20-18=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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,2
Current State: 33:[5, 38], Operations: ['58-40=18', '20+18=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,33 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[40, 20, 5, 58], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [20, 5, 18]
Generated Node #0,2: 33:[20, 5, 18] Operation: 58-40=18
Moving to Node #0,2
Current State: 33:[20, 5, 18], Operations: ['58-40=18']
Exploring Operation: 20+18=38, Resulting Numbers: [5, 38]
Generated Node #0,2,2: 33:[5, 38] Operation: 20+18=38
Moving to Node #0,2,2
Current State: 33:[5, 38], Operations: ['58-40=18', '20+18=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_4
|
mult_heuristic
|
[
67,
23,
73,
51
] | 87 |
[
"73-67=6",
"23*6=138",
"138-51=87"
] |
Current State: 87:[67, 23, 73, 51], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [23, 51, 6]
Generated Node #2: [23, 51, 6] from Operation: 73-67=6
Current State: 87:[23, 51, 6], Operations: ['73-67=6']
Exploring Operation: 23*6=138, Resulting Numbers: [51, 138]
Generated Node #3: [51, 138] from Operation: 23*6=138
Current State: 87:[51, 138], Operations: ['73-67=6', '23*6=138']
Exploring Operation: 138-51=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[67, 23, 73, 51], Operations: []
Exploring Operation: 67-51=16, Resulting Numbers: [23, 73, 16]
Generated Node #0,0: 87:[23, 73, 16] Operation: 67-51=16
Exploring Operation: 73-67=6, Resulting Numbers: [23, 51, 6]
Generated Node #0,1: 87:[23, 51, 6] Operation: 73-67=6
Moving to Node #0,1
Current State: 87:[23, 51, 6], Operations: ['73-67=6']
Exploring Operation: 51-23=28, Resulting Numbers: [6, 28]
Generated Node #0,1,0: 87:[6, 28] Operation: 51-23=28
Exploring Operation: 23+51=74, Resulting Numbers: [6, 74]
Generated Node #0,1,1: 87:[6, 74] Operation: 23+51=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[6, 28], Operations: ['73-67=6', '51-23=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[6, 74], Operations: ['73-67=6', '23+51=74']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,87 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: 87:[23, 73, 16], Operations: ['67-51=16']
Exploring Operation: 73+16=89, Resulting Numbers: [23, 89]
Generated Node #0,0,0: 87:[23, 89] Operation: 73+16=89
Exploring Operation: 23-16=7, Resulting Numbers: [73, 7]
Generated Node #0,0,1: 87:[73, 7] Operation: 23-16=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[23, 89], Operations: ['67-51=16', '73+16=89']
Exploring Operation: 23+89=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[73, 7], Operations: ['67-51=16', '23-16=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,87 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
|
[
77,
15,
47,
29
] | 14 |
[
"77-15=62",
"47+29=76",
"76-62=14"
] |
Current State: 14:[77, 15, 47, 29], Operations: []
Exploring Operation: 77-15=62, Resulting Numbers: [47, 29, 62]
Generated Node #2: [47, 29, 62] from Operation: 77-15=62
Current State: 14:[47, 29, 62], Operations: ['77-15=62']
Exploring Operation: 47+29=76, Resulting Numbers: [62, 76]
Generated Node #3: [62, 76] from Operation: 47+29=76
Current State: 14:[62, 76], Operations: ['77-15=62', '47+29=76']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[77, 15, 47, 29], Operations: []
Exploring Operation: 77-47=30, Resulting Numbers: [15, 29, 30]
Generated Node #0,0: 14:[15, 29, 30] Operation: 77-47=30
Moving to Node #0,0
Current State: 14:[15, 29, 30], Operations: ['77-47=30']
Exploring Operation: 30-29=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 14:[15, 1] Operation: 30-29=1
Moving to Node #0,0,0
Current State: 14:[15, 1], Operations: ['77-47=30', '30-29=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[77, 15, 47, 29], Operations: []
Exploring Operation: 77-47=30, Resulting Numbers: [15, 29, 30]
Generated Node #0,0: 14:[15, 29, 30] Operation: 77-47=30
Moving to Node #0,0
Current State: 14:[15, 29, 30], Operations: ['77-47=30']
Exploring Operation: 30-29=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 14:[15, 1] Operation: 30-29=1
Moving to Node #0,0,0
Current State: 14:[15, 1], Operations: ['77-47=30', '30-29=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
99,
71,
98,
92
] | 85 |
[
"99-92=7",
"98/7=14",
"71+14=85"
] |
Current State: 85:[99, 71, 98, 92], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [71, 98, 7]
Generated Node #2: [71, 98, 7] from Operation: 99-92=7
Current State: 85:[71, 98, 7], Operations: ['99-92=7']
Exploring Operation: 98/7=14, Resulting Numbers: [71, 14]
Generated Node #3: [71, 14] from Operation: 98/7=14
Current State: 85:[71, 14], Operations: ['99-92=7', '98/7=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[99, 71, 98, 92], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [71, 92, 1]
Generated Node #0,0: 85:[71, 92, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 85:[71, 92, 1], Operations: ['99-98=1']
Exploring Operation: 92-71=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 85:[1, 21] Operation: 92-71=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[1, 21], Operations: ['99-98=1', '92-71=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,85 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
|
[
27,
2,
36,
66
] | 12 |
[
"66-36=30",
"30/2=15",
"27-15=12"
] |
Current State: 12:[27, 2, 36, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [27, 2, 30]
Generated Node #2: [27, 2, 30] from Operation: 66-36=30
Current State: 12:[27, 2, 30], Operations: ['66-36=30']
Exploring Operation: 30/2=15, Resulting Numbers: [27, 15]
Generated Node #3: [27, 15] from Operation: 30/2=15
Current State: 12:[27, 15], Operations: ['66-36=30', '30/2=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[27, 2, 36, 66], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [2, 36, 39]
Generated Node #0,0: 12:[2, 36, 39] Operation: 66-27=39
Exploring Operation: 66-36=30, Resulting Numbers: [27, 2, 30]
Generated Node #0,1: 12:[27, 2, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[27, 2, 30], Operations: ['66-36=30']
Exploring Operation: 30/2=15, Resulting Numbers: [27, 15]
Generated Node #0,1,0: 12:[27, 15] Operation: 30/2=15
Exploring Operation: 30-27=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 12:[2, 3] Operation: 30-27=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[2, 3], Operations: ['66-36=30', '30-27=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[27, 15], Operations: ['66-36=30', '30/2=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[27, 2, 36, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [27, 2, 30]
Generated Node #0,1: 12:[27, 2, 30] Operation: 66-36=30
Moving to Node #0,1
Current State: 12:[27, 2, 30], Operations: ['66-36=30']
Exploring Operation: 30/2=15, Resulting Numbers: [27, 15]
Generated Node #0,1,0: 12:[27, 15] Operation: 30/2=15
Moving to Node #0,1,0
Current State: 12:[27, 15], Operations: ['66-36=30', '30/2=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_2
|
mult_heuristic
|
[
47,
63,
64,
59
] | 22 |
[
"47+63=110",
"64-59=5",
"110/5=22"
] |
Current State: 22:[47, 63, 64, 59], Operations: []
Exploring Operation: 47+63=110, Resulting Numbers: [64, 59, 110]
Generated Node #2: [64, 59, 110] from Operation: 47+63=110
Current State: 22:[64, 59, 110], Operations: ['47+63=110']
Exploring Operation: 64-59=5, Resulting Numbers: [110, 5]
Generated Node #3: [110, 5] from Operation: 64-59=5
Current State: 22:[110, 5], Operations: ['47+63=110', '64-59=5']
Exploring Operation: 110/5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[47, 63, 64, 59], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [47, 63, 5]
Generated Node #0,0: 22:[47, 63, 5] Operation: 64-59=5
Exploring Operation: 64-47=17, Resulting Numbers: [63, 59, 17]
Generated Node #0,1: 22:[63, 59, 17] Operation: 64-47=17
Exploring Operation: 64-63=1, Resulting Numbers: [47, 59, 1]
Generated Node #0,2: 22:[47, 59, 1] Operation: 64-63=1
Exploring Operation: 63-59=4, Resulting Numbers: [47, 64, 4]
Generated Node #0,3: 22:[47, 64, 4] Operation: 63-59=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[47, 59, 1], Operations: ['64-63=1']
Exploring Operation: 59-47=12, Resulting Numbers: [1, 12]
Generated Node #0,2,0: 22:[1, 12] Operation: 59-47=12
Exploring Operation: 47-1=46, Resulting Numbers: [59, 46]
Generated Node #0,2,1: 22:[59, 46] Operation: 47-1=46
Exploring Operation: 47*1=47, Resulting Numbers: [59, 47]
Generated Node #0,2,2: 22:[59, 47] Operation: 47*1=47
Exploring Operation: 59-1=58, Resulting Numbers: [47, 58]
Generated Node #0,2,3: 22:[47, 58] Operation: 59-1=58
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[1, 12], Operations: ['64-63=1', '59-47=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No 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: 22:[59, 46], Operations: ['64-63=1', '47-1=46']
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,22 unequal: No Solution
No 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: 22:[47, 58], Operations: ['64-63=1', '59-1=58']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,22 unequal: No Solution
No 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: 22:[59, 47], Operations: ['64-63=1', '47*1=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,22 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: 22:[47, 63, 5], Operations: ['64-59=5']
Exploring Operation: 63-47=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 22:[5, 16] Operation: 63-47=16
Exploring Operation: 63-5=58, Resulting Numbers: [47, 58]
Generated Node #0,0,1: 22:[47, 58] Operation: 63-5=58
Exploring Operation: 47+5=52, Resulting Numbers: [63, 52]
Generated Node #0,0,2: 22:[63, 52] Operation: 47+5=52
Exploring Operation: 47-5=42, Resulting Numbers: [63, 42]
Generated Node #0,0,3: 22:[63, 42] Operation: 47-5=42
Moving to Node #0,0,0
Current State: 22:[5, 16], Operations: ['64-59=5', '63-47=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[63, 42], Operations: ['64-59=5', '47-5=42']
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,22 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[47, 58], Operations: ['64-59=5', '63-5=58']
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[63, 52], Operations: ['64-59=5', '47+5=52']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,22 unequal: No Solution
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,22 unequal: No Solution
No 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: 22:[47, 64, 4], Operations: ['63-59=4']
Exploring Operation: 64-47=17, Resulting Numbers: [4, 17]
Generated Node #0,3,0: 22:[4, 17] Operation: 64-47=17
Exploring Operation: 47-4=43, Resulting Numbers: [64, 43]
Generated Node #0,3,1: 22:[64, 43] Operation: 47-4=43
Exploring Operation: 64/4=16, Resulting Numbers: [47, 16]
Generated Node #0,3,2: 22:[47, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [47, 60]
Generated Node #0,3,3: 22:[47, 60] Operation: 64-4=60
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 22:[4, 17], Operations: ['63-59=4', '64-47=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,22 unequal: No Solution
No 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: 22:[47, 16], Operations: ['63-59=4', '64/4=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,22 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,22 unequal: No Solution
No 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: 22:[64, 43], Operations: ['63-59=4', '47-4=43']
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,22 unequal: No Solution
No 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: 22:[47, 60], Operations: ['63-59=4', '64-4=60']
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,22 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,22 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: 22:[63, 59, 17], Operations: ['64-47=17']
Exploring Operation: 63+17=80, Resulting Numbers: [59, 80]
Generated Node #0,1,0: 22:[59, 80] Operation: 63+17=80
Exploring Operation: 63-17=46, Resulting Numbers: [59, 46]
Generated Node #0,1,1: 22:[59, 46] Operation: 63-17=46
Exploring Operation: 59-17=42, Resulting Numbers: [63, 42]
Generated Node #0,1,2: 22:[63, 42] Operation: 59-17=42
Exploring Operation: 63-59=4, Resulting Numbers: [17, 4]
Generated Node #0,1,3: 22:[17, 4] Operation: 63-59=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 22:[17, 4], Operations: ['64-47=17', '63-59=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,22 unequal: No Solution
No 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: 22:[59, 46], Operations: ['64-47=17', '63-17=46']
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,22 unequal: No Solution
No 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: 22:[63, 42], Operations: ['64-47=17', '59-17=42']
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,22 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No 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: 22:[59, 80], Operations: ['64-47=17', '63+17=80']
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 59+80=139, Resulting Numbers: [139]
139,22 unequal: No Solution
Exploring Operation: 59*80=4720, Resulting Numbers: [4720]
4720,22 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
|
[
66,
84,
94,
90
] | 45 |
[
"94-90=4",
"84/4=21",
"66-21=45"
] |
Current State: 45:[66, 84, 94, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [66, 84, 4]
Generated Node #2: [66, 84, 4] from Operation: 94-90=4
Current State: 45:[66, 84, 4], Operations: ['94-90=4']
Exploring Operation: 84/4=21, Resulting Numbers: [66, 21]
Generated Node #3: [66, 21] from Operation: 84/4=21
Current State: 45:[66, 21], Operations: ['94-90=4', '84/4=21']
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[66, 84, 94, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [66, 84, 4]
Generated Node #0,0: 45:[66, 84, 4] Operation: 94-90=4
Moving to Node #0,0
Current State: 45:[66, 84, 4], Operations: ['94-90=4']
Exploring Operation: 84-66=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 45:[4, 18] Operation: 84-66=18
Moving to Node #0,0,0
Current State: 45:[4, 18], Operations: ['94-90=4', '84-66=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,45 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
67,
25,
17,
44
] | 34 |
[
"67-25=42",
"44-42=2",
"17*2=34"
] |
Current State: 34:[67, 25, 17, 44], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [17, 44, 42]
Generated Node #2: [17, 44, 42] from Operation: 67-25=42
Current State: 34:[17, 44, 42], Operations: ['67-25=42']
Exploring Operation: 44-42=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 44-42=2
Current State: 34:[17, 2], Operations: ['67-25=42', '44-42=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[67, 25, 17, 44], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [25, 17, 23]
Generated Node #0,0: 34:[25, 17, 23] Operation: 67-44=23
Exploring Operation: 67-17=50, Resulting Numbers: [25, 44, 50]
Generated Node #0,1: 34:[25, 44, 50] Operation: 67-17=50
Exploring Operation: 44-25=19, Resulting Numbers: [67, 17, 19]
Generated Node #0,2: 34:[67, 17, 19] Operation: 44-25=19
Exploring Operation: 67-25=42, Resulting Numbers: [17, 44, 42]
Generated Node #0,3: 34:[17, 44, 42] Operation: 67-25=42
Moving to Node #0,0
Current State: 34:[25, 17, 23], Operations: ['67-44=23']
Exploring Operation: 25-23=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 34:[17, 2] Operation: 25-23=2
Exploring Operation: 25-17=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 34:[23, 8] Operation: 25-17=8
Exploring Operation: 23-17=6, Resulting Numbers: [25, 6]
Generated Node #0,0,2: 34:[25, 6] Operation: 23-17=6
Exploring Operation: 25+17=42, Resulting Numbers: [23, 42]
Generated Node #0,0,3: 34:[23, 42] Operation: 25+17=42
Moving to Node #0,3
Current State: 34:[17, 44, 42], Operations: ['67-25=42']
Exploring Operation: 17+44=61, Resulting Numbers: [42, 61]
Generated Node #0,3,0: 34:[42, 61] Operation: 17+44=61
Exploring Operation: 44-42=2, Resulting Numbers: [17, 2]
Generated Node #0,3,1: 34:[17, 2] Operation: 44-42=2
Exploring Operation: 44-17=27, Resulting Numbers: [42, 27]
Generated Node #0,3,2: 34:[42, 27] Operation: 44-17=27
Exploring Operation: 42-17=25, Resulting Numbers: [44, 25]
Generated Node #0,3,3: 34:[44, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[17, 2], Operations: ['67-25=42', '44-42=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[67, 25, 17, 44], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [17, 44, 42]
Generated Node #0,3: 34:[17, 44, 42] Operation: 67-25=42
Moving to Node #0,3
Current State: 34:[17, 44, 42], Operations: ['67-25=42']
Exploring Operation: 44-42=2, Resulting Numbers: [17, 2]
Generated Node #0,3,1: 34:[17, 2] Operation: 44-42=2
Moving to Node #0,3,1
Current State: 34:[17, 2], Operations: ['67-25=42', '44-42=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_4
|
mult_heuristic
|
[
60,
9,
26,
2
] | 65 |
[
"60/2=30",
"9+26=35",
"30+35=65"
] |
Current State: 65:[60, 9, 26, 2], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [9, 26, 30]
Generated Node #2: [9, 26, 30] from Operation: 60/2=30
Current State: 65:[9, 26, 30], Operations: ['60/2=30']
Exploring Operation: 9+26=35, Resulting Numbers: [30, 35]
Generated Node #3: [30, 35] from Operation: 9+26=35
Current State: 65:[30, 35], Operations: ['60/2=30', '9+26=35']
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[60, 9, 26, 2], Operations: []
Exploring Operation: 26-9=17, Resulting Numbers: [60, 2, 17]
Generated Node #0,0: 65:[60, 2, 17] Operation: 26-9=17
Exploring Operation: 26/2=13, Resulting Numbers: [60, 9, 13]
Generated Node #0,1: 65:[60, 9, 13] Operation: 26/2=13
Moving to Node #0,1
Current State: 65:[60, 9, 13], Operations: ['26/2=13']
Exploring Operation: 13-9=4, Resulting Numbers: [60, 4]
Generated Node #0,1,0: 65:[60, 4] Operation: 13-9=4
Exploring Operation: 60+9=69, Resulting Numbers: [13, 69]
Generated Node #0,1,1: 65:[13, 69] Operation: 60+9=69
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[13, 69], Operations: ['26/2=13', '60+9=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[60, 4], Operations: ['26/2=13', '13-9=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,65 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: 65:[60, 2, 17], Operations: ['26-9=17']
Exploring Operation: 17-2=15, Resulting Numbers: [60, 15]
Generated Node #0,0,0: 65:[60, 15] Operation: 17-2=15
Exploring Operation: 60+2=62, Resulting Numbers: [17, 62]
Generated Node #0,0,1: 65:[17, 62] Operation: 60+2=62
Moving to Node #0,0,0
Current State: 65:[60, 15], Operations: ['26-9=17', '17-2=15']
Exploring Operation: 60+15=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[17, 62], Operations: ['26-9=17', '60+2=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,65 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
2,
24,
62,
18
] | 64 |
[
"62+18=80",
"80/2=40",
"24+40=64"
] |
Current State: 64:[2, 24, 62, 18], Operations: []
Exploring Operation: 62+18=80, Resulting Numbers: [2, 24, 80]
Generated Node #2: [2, 24, 80] from Operation: 62+18=80
Current State: 64:[2, 24, 80], Operations: ['62+18=80']
Exploring Operation: 80/2=40, Resulting Numbers: [24, 40]
Generated Node #3: [24, 40] from Operation: 80/2=40
Current State: 64:[24, 40], Operations: ['62+18=80', '80/2=40']
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[2, 24, 62, 18], Operations: []
Exploring Operation: 24-18=6, Resulting Numbers: [2, 62, 6]
Generated Node #0,0: 64:[2, 62, 6] Operation: 24-18=6
Exploring Operation: 24/2=12, Resulting Numbers: [62, 18, 12]
Generated Node #0,1: 64:[62, 18, 12] Operation: 24/2=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[2, 62, 6], Operations: ['24-18=6']
Exploring Operation: 2+62=64, Resulting Numbers: [6, 64]
Generated Node #0,0,0: 64:[6, 64] Operation: 2+62=64
Exploring Operation: 2+6=8, Resulting Numbers: [62, 8]
Generated Node #0,0,1: 64:[62, 8] Operation: 2+6=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[6, 64], Operations: ['24-18=6', '2+62=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,64 unequal: No Solution
No 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: 64:[62, 8], Operations: ['24-18=6', '2+6=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,64 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: 64:[62, 18, 12], Operations: ['24/2=12']
Exploring Operation: 18+12=30, Resulting Numbers: [62, 30]
Generated Node #0,1,0: 64:[62, 30] Operation: 18+12=30
Exploring Operation: 18-12=6, Resulting Numbers: [62, 6]
Generated Node #0,1,1: 64:[62, 6] Operation: 18-12=6
Moving to Node #0,1,0
Current State: 64:[62, 30], Operations: ['24/2=12', '18+12=30']
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[62, 6], Operations: ['24/2=12', '18-12=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,64 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
|
[
40,
97,
11,
23
] | 14 |
[
"97+23=120",
"120/40=3",
"11+3=14"
] |
Current State: 14:[40, 97, 11, 23], Operations: []
Exploring Operation: 97+23=120, Resulting Numbers: [40, 11, 120]
Generated Node #2: [40, 11, 120] from Operation: 97+23=120
Current State: 14:[40, 11, 120], Operations: ['97+23=120']
Exploring Operation: 120/40=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 120/40=3
Current State: 14:[11, 3], Operations: ['97+23=120', '120/40=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[40, 97, 11, 23], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [97, 11, 17]
Generated Node #0,0: 14:[97, 11, 17] Operation: 40-23=17
Exploring Operation: 97-40=57, Resulting Numbers: [11, 23, 57]
Generated Node #0,1: 14:[11, 23, 57] Operation: 97-40=57
Exploring Operation: 97-23=74, Resulting Numbers: [40, 11, 74]
Generated Node #0,2: 14:[40, 11, 74] Operation: 97-23=74
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[11, 23, 57], Operations: ['97-40=57']
Exploring Operation: 57-23=34, Resulting Numbers: [11, 34]
Generated Node #0,1,0: 14:[11, 34] Operation: 57-23=34
Exploring Operation: 57-11=46, Resulting Numbers: [23, 46]
Generated Node #0,1,1: 14:[23, 46] Operation: 57-11=46
Exploring Operation: 23-11=12, Resulting Numbers: [57, 12]
Generated Node #0,1,2: 14:[57, 12] Operation: 23-11=12
Moving to Node #0,1,0
Current State: 14:[11, 34], Operations: ['97-40=57', '57-23=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,14 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[23, 46], Operations: ['97-40=57', '57-11=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[57, 12], Operations: ['97-40=57', '23-11=12']
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 57*12=684, Resulting Numbers: [684]
684,14 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,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:[97, 11, 17], Operations: ['40-23=17']
Exploring Operation: 97-11=86, Resulting Numbers: [17, 86]
Generated Node #0,0,0: 14:[17, 86] Operation: 97-11=86
Exploring Operation: 17-11=6, Resulting Numbers: [97, 6]
Generated Node #0,0,1: 14:[97, 6] Operation: 17-11=6
Exploring Operation: 97-17=80, Resulting Numbers: [11, 80]
Generated Node #0,0,2: 14:[11, 80] Operation: 97-17=80
Moving to Node #0,0,2
Current State: 14:[11, 80], Operations: ['40-23=17', '97-17=80']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[17, 86], Operations: ['40-23=17', '97-11=86']
Exploring Operation: 17+86=103, Resulting Numbers: [103]
103,14 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 17*86=1462, Resulting Numbers: [1462]
1462,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[97, 6], Operations: ['40-23=17', '17-11=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,14 unequal: No Solution
Exploring Operation: 97+6=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,2
Current State: 14:[40, 11, 74], Operations: ['97-23=74']
Exploring Operation: 74-40=34, Resulting Numbers: [11, 34]
Generated Node #0,2,0: 14:[11, 34] Operation: 74-40=34
Exploring Operation: 74-11=63, Resulting Numbers: [40, 63]
Generated Node #0,2,1: 14:[40, 63] Operation: 74-11=63
Exploring Operation: 40-11=29, Resulting Numbers: [74, 29]
Generated Node #0,2,2: 14:[74, 29] Operation: 40-11=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 14:[11, 34], Operations: ['97-23=74', '74-40=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,14 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,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,2,1
Current State: 14:[40, 63], Operations: ['97-23=74', '74-11=63']
Exploring Operation: 40+63=103, Resulting Numbers: [103]
103,14 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 40*63=2520, Resulting Numbers: [2520]
2520,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,2,2
Current State: 14:[74, 29], Operations: ['97-23=74', '40-11=29']
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,14 unequal: No Solution
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,14 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,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_3
|
mult_heuristic
|
[
10,
95,
14,
62
] | 17 |
[
"10*14=140",
"95+62=157",
"157-140=17"
] |
Current State: 17:[10, 95, 14, 62], Operations: []
Exploring Operation: 10*14=140, Resulting Numbers: [95, 62, 140]
Generated Node #2: [95, 62, 140] from Operation: 10*14=140
Current State: 17:[95, 62, 140], Operations: ['10*14=140']
Exploring Operation: 95+62=157, Resulting Numbers: [140, 157]
Generated Node #3: [140, 157] from Operation: 95+62=157
Current State: 17:[140, 157], Operations: ['10*14=140', '95+62=157']
Exploring Operation: 157-140=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[10, 95, 14, 62], Operations: []
Exploring Operation: 95-10=85, Resulting Numbers: [14, 62, 85]
Generated Node #0,0: 17:[14, 62, 85] Operation: 95-10=85
Exploring Operation: 95-14=81, Resulting Numbers: [10, 62, 81]
Generated Node #0,1: 17:[10, 62, 81] Operation: 95-14=81
Exploring Operation: 95-62=33, Resulting Numbers: [10, 14, 33]
Generated Node #0,2: 17:[10, 14, 33] Operation: 95-62=33
Exploring Operation: 62-10=52, Resulting Numbers: [95, 14, 52]
Generated Node #0,3: 17:[95, 14, 52] Operation: 62-10=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[10, 14, 33], Operations: ['95-62=33']
Exploring Operation: 10+14=24, Resulting Numbers: [33, 24]
Generated Node #0,2,0: 17:[33, 24] Operation: 10+14=24
Exploring Operation: 33-14=19, Resulting Numbers: [10, 19]
Generated Node #0,2,1: 17:[10, 19] Operation: 33-14=19
Exploring Operation: 33-10=23, Resulting Numbers: [14, 23]
Generated Node #0,2,2: 17:[14, 23] Operation: 33-10=23
Exploring Operation: 14-10=4, Resulting Numbers: [33, 4]
Generated Node #0,2,3: 17:[33, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[10, 19], Operations: ['95-62=33', '33-14=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,17 unequal: No Solution
No 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: 17:[14, 23], Operations: ['95-62=33', '33-10=23']
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,17 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,17 unequal: No Solution
No 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: 17:[33, 24], Operations: ['95-62=33', '10+14=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,17 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,17 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,17 unequal: No Solution
No 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: 17:[33, 4], Operations: ['95-62=33', '14-10=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,17 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,17 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: 17:[14, 62, 85], Operations: ['95-10=85']
Exploring Operation: 85-62=23, Resulting Numbers: [14, 23]
Generated Node #0,0,0: 17:[14, 23] Operation: 85-62=23
Exploring Operation: 85-14=71, Resulting Numbers: [62, 71]
Generated Node #0,0,1: 17:[62, 71] Operation: 85-14=71
Exploring Operation: 62-14=48, Resulting Numbers: [85, 48]
Generated Node #0,0,2: 17:[85, 48] Operation: 62-14=48
Exploring Operation: 14+62=76, Resulting Numbers: [85, 76]
Generated Node #0,0,3: 17:[85, 76] Operation: 14+62=76
Moving to Node #0,0,0
Current State: 17:[14, 23], Operations: ['95-10=85', '85-62=23']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,17 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[85, 48], Operations: ['95-10=85', '62-14=48']
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,17 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[62, 71], Operations: ['95-10=85', '85-14=71']
Exploring Operation: 62+71=133, Resulting Numbers: [133]
133,17 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 62*71=4402, Resulting Numbers: [4402]
4402,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[85, 76], Operations: ['95-10=85', '14+62=76']
Exploring Operation: 85*76=6460, Resulting Numbers: [6460]
6460,17 unequal: No Solution
Exploring Operation: 85-76=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 85+76=161, Resulting Numbers: [161]
161,17 unequal: No Solution
No 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: 17:[10, 62, 81], Operations: ['95-14=81']
Exploring Operation: 81-10=71, Resulting Numbers: [62, 71]
Generated Node #0,1,0: 17:[62, 71] Operation: 81-10=71
Exploring Operation: 81-62=19, Resulting Numbers: [10, 19]
Generated Node #0,1,1: 17:[10, 19] Operation: 81-62=19
Exploring Operation: 10+62=72, Resulting Numbers: [81, 72]
Generated Node #0,1,2: 17:[81, 72] Operation: 10+62=72
Exploring Operation: 62-10=52, Resulting Numbers: [81, 52]
Generated Node #0,1,3: 17:[81, 52] Operation: 62-10=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[10, 19], Operations: ['95-14=81', '81-62=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,17 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,17 unequal: No Solution
No 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: 17:[62, 71], Operations: ['95-14=81', '81-10=71']
Exploring Operation: 62*71=4402, Resulting Numbers: [4402]
4402,17 unequal: No Solution
Exploring Operation: 62+71=133, Resulting Numbers: [133]
133,17 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,17 unequal: No Solution
No 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: 17:[81, 52], Operations: ['95-14=81', '62-10=52']
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,17 unequal: No Solution
Exploring Operation: 81*52=4212, Resulting Numbers: [4212]
4212,17 unequal: No Solution
No 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: 17:[81, 72], Operations: ['95-14=81', '10+62=72']
Exploring Operation: 81+72=153, Resulting Numbers: [153]
153,17 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 81*72=5832, Resulting Numbers: [5832]
5832,17 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: 17:[95, 14, 52], Operations: ['62-10=52']
Exploring Operation: 95-52=43, Resulting Numbers: [14, 43]
Generated Node #0,3,0: 17:[14, 43] Operation: 95-52=43
Exploring Operation: 95-14=81, Resulting Numbers: [52, 81]
Generated Node #0,3,1: 17:[52, 81] Operation: 95-14=81
Exploring Operation: 52-14=38, Resulting Numbers: [95, 38]
Generated Node #0,3,2: 17:[95, 38] Operation: 52-14=38
Exploring Operation: 95+14=109, Resulting Numbers: [52, 109]
Generated Node #0,3,3: 17:[52, 109] Operation: 95+14=109
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 17:[14, 43], Operations: ['62-10=52', '95-52=43']
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,17 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,17 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,17 unequal: No Solution
No 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: 17:[52, 81], Operations: ['62-10=52', '95-14=81']
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,17 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,17 unequal: No Solution
No 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: 17:[95, 38], Operations: ['62-10=52', '52-14=38']
Exploring Operation: 95+38=133, Resulting Numbers: [133]
133,17 unequal: No Solution
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,17 unequal: No Solution
Exploring Operation: 95*38=3610, Resulting Numbers: [3610]
3610,17 unequal: No Solution
No 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: 17:[52, 109], Operations: ['62-10=52', '95+14=109']
Exploring Operation: 52+109=161, Resulting Numbers: [161]
161,17 unequal: No Solution
Exploring Operation: 52*109=5668, Resulting Numbers: [5668]
5668,17 unequal: No Solution
Exploring Operation: 109-52=57, Resulting Numbers: [57]
57,17 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
|
[
8,
41,
17,
46
] | 51 |
[
"8+41=49",
"49-46=3",
"17*3=51"
] |
Current State: 51:[8, 41, 17, 46], Operations: []
Exploring Operation: 8+41=49, Resulting Numbers: [17, 46, 49]
Generated Node #2: [17, 46, 49] from Operation: 8+41=49
Current State: 51:[17, 46, 49], Operations: ['8+41=49']
Exploring Operation: 49-46=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 49-46=3
Current State: 51:[17, 3], Operations: ['8+41=49', '49-46=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[8, 41, 17, 46], Operations: []
Exploring Operation: 8+41=49, Resulting Numbers: [17, 46, 49]
Generated Node #0,0: 51:[17, 46, 49] Operation: 8+41=49
Moving to Node #0,0
Current State: 51:[17, 46, 49], Operations: ['8+41=49']
Exploring Operation: 49-46=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 51:[17, 3] Operation: 49-46=3
Moving to Node #0,0,0
Current State: 51:[17, 3], Operations: ['8+41=49', '49-46=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[8, 41, 17, 46], Operations: []
Exploring Operation: 8+41=49, Resulting Numbers: [17, 46, 49]
Generated Node #0,0: 51:[17, 46, 49] Operation: 8+41=49
Moving to Node #0,0
Current State: 51:[17, 46, 49], Operations: ['8+41=49']
Exploring Operation: 49-46=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 51:[17, 3] Operation: 49-46=3
Moving to Node #0,0,0
Current State: 51:[17, 3], Operations: ['8+41=49', '49-46=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
44,
90,
64,
65
] | 47 |
[
"90-44=46",
"65-64=1",
"46+1=47"
] |
Current State: 47:[44, 90, 64, 65], Operations: []
Exploring Operation: 90-44=46, Resulting Numbers: [64, 65, 46]
Generated Node #2: [64, 65, 46] from Operation: 90-44=46
Current State: 47:[64, 65, 46], Operations: ['90-44=46']
Exploring Operation: 65-64=1, Resulting Numbers: [46, 1]
Generated Node #3: [46, 1] from Operation: 65-64=1
Current State: 47:[46, 1], Operations: ['90-44=46', '65-64=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[44, 90, 64, 65], Operations: []
Exploring Operation: 90-44=46, Resulting Numbers: [64, 65, 46]
Generated Node #0,0: 47:[64, 65, 46] Operation: 90-44=46
Exploring Operation: 90-64=26, Resulting Numbers: [44, 65, 26]
Generated Node #0,1: 47:[44, 65, 26] Operation: 90-64=26
Exploring Operation: 90-65=25, Resulting Numbers: [44, 64, 25]
Generated Node #0,2: 47:[44, 64, 25] Operation: 90-65=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[64, 65, 46], Operations: ['90-44=46']
Exploring Operation: 65-64=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 47:[46, 1] Operation: 65-64=1
Exploring Operation: 65-46=19, Resulting Numbers: [64, 19]
Generated Node #0,0,1: 47:[64, 19] Operation: 65-46=19
Exploring Operation: 64-46=18, Resulting Numbers: [65, 18]
Generated Node #0,0,2: 47:[65, 18] Operation: 64-46=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[64, 19], Operations: ['90-44=46', '65-46=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,47 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,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,0,0
Current State: 47:[46, 1], Operations: ['90-44=46', '65-64=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[44, 90, 64, 65], Operations: []
Exploring Operation: 90-44=46, Resulting Numbers: [64, 65, 46]
Generated Node #0,0: 47:[64, 65, 46] Operation: 90-44=46
Moving to Node #0,0
Current State: 47:[64, 65, 46], Operations: ['90-44=46']
Exploring Operation: 65-64=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 47:[46, 1] Operation: 65-64=1
Moving to Node #0,0,0
Current State: 47:[46, 1], Operations: ['90-44=46', '65-64=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
56,
77,
5,
40
] | 84 |
[
"56*5=280",
"280/40=7",
"77+7=84"
] |
Current State: 84:[56, 77, 5, 40], Operations: []
Exploring Operation: 56*5=280, Resulting Numbers: [77, 40, 280]
Generated Node #2: [77, 40, 280] from Operation: 56*5=280
Current State: 84:[77, 40, 280], Operations: ['56*5=280']
Exploring Operation: 280/40=7, Resulting Numbers: [77, 7]
Generated Node #3: [77, 7] from Operation: 280/40=7
Current State: 84:[77, 7], Operations: ['56*5=280', '280/40=7']
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[56, 77, 5, 40], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [5, 40, 21]
Generated Node #0,0: 84:[5, 40, 21] Operation: 77-56=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[5, 40, 21], Operations: ['77-56=21']
Exploring Operation: 40/5=8, Resulting Numbers: [21, 8]
Generated Node #0,0,0: 84:[21, 8] Operation: 40/5=8
Moving to Node #0,0,0
Current State: 84:[21, 8], Operations: ['77-56=21', '40/5=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,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
|
[
4,
34,
13,
98
] | 73 |
[
"4+34=38",
"13+98=111",
"111-38=73"
] |
Current State: 73:[4, 34, 13, 98], Operations: []
Exploring Operation: 4+34=38, Resulting Numbers: [13, 98, 38]
Generated Node #2: [13, 98, 38] from Operation: 4+34=38
Current State: 73:[13, 98, 38], Operations: ['4+34=38']
Exploring Operation: 13+98=111, Resulting Numbers: [38, 111]
Generated Node #3: [38, 111] from Operation: 13+98=111
Current State: 73:[38, 111], Operations: ['4+34=38', '13+98=111']
Exploring Operation: 111-38=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[4, 34, 13, 98], Operations: []
Exploring Operation: 4*13=52, Resulting Numbers: [34, 98, 52]
Generated Node #0,0: 73:[34, 98, 52] Operation: 4*13=52
Exploring Operation: 4+34=38, Resulting Numbers: [13, 98, 38]
Generated Node #0,1: 73:[13, 98, 38] Operation: 4+34=38
Moving to Node #0,0
Current State: 73:[34, 98, 52], Operations: ['4*13=52']
Exploring Operation: 98-34=64, Resulting Numbers: [52, 64]
Generated Node #0,0,0: 73:[52, 64] Operation: 98-34=64
Exploring Operation: 34+52=86, Resulting Numbers: [98, 86]
Generated Node #0,0,1: 73:[98, 86] Operation: 34+52=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[52, 64], Operations: ['4*13=52', '98-34=64']
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,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:[98, 86], Operations: ['4*13=52', '34+52=86']
Exploring Operation: 98+86=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,73 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: 73:[13, 98, 38], Operations: ['4+34=38']
Exploring Operation: 98-13=85, Resulting Numbers: [38, 85]
Generated Node #0,1,0: 73:[38, 85] Operation: 98-13=85
Exploring Operation: 13+38=51, Resulting Numbers: [98, 51]
Generated Node #0,1,1: 73:[98, 51] Operation: 13+38=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[38, 85], Operations: ['4+34=38', '98-13=85']
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[98, 51], Operations: ['4+34=38', '13+38=51']
Exploring Operation: 98-51=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 98+51=149, Resulting Numbers: [149]
149,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
23,
44,
2,
77
] | 57 |
[
"23+44=67",
"2*67=134",
"134-77=57"
] |
Current State: 57:[23, 44, 2, 77], Operations: []
Exploring Operation: 23+44=67, Resulting Numbers: [2, 77, 67]
Generated Node #2: [2, 77, 67] from Operation: 23+44=67
Current State: 57:[2, 77, 67], Operations: ['23+44=67']
Exploring Operation: 2*67=134, Resulting Numbers: [77, 134]
Generated Node #3: [77, 134] from Operation: 2*67=134
Current State: 57:[77, 134], Operations: ['23+44=67', '2*67=134']
Exploring Operation: 134-77=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[23, 44, 2, 77], Operations: []
Exploring Operation: 44-23=21, Resulting Numbers: [2, 77, 21]
Generated Node #0,0: 57:[2, 77, 21] Operation: 44-23=21
Exploring Operation: 44/2=22, Resulting Numbers: [23, 77, 22]
Generated Node #0,1: 57:[23, 77, 22] Operation: 44/2=22
Exploring Operation: 77-44=33, Resulting Numbers: [23, 2, 33]
Generated Node #0,2: 57:[23, 2, 33] Operation: 77-44=33
Exploring Operation: 23+44=67, Resulting Numbers: [2, 77, 67]
Generated Node #0,3: 57:[2, 77, 67] Operation: 23+44=67
Exploring Operation: 77-23=54, Resulting Numbers: [44, 2, 54]
Generated Node #0,4: 57:[44, 2, 54] Operation: 77-23=54
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[44, 2, 54], Operations: ['77-23=54']
Exploring Operation: 44/2=22, Resulting Numbers: [54, 22]
Generated Node #0,4,0: 57:[54, 22] Operation: 44/2=22
Exploring Operation: 44+2=46, Resulting Numbers: [54, 46]
Generated Node #0,4,1: 57:[54, 46] Operation: 44+2=46
Exploring Operation: 2+54=56, Resulting Numbers: [44, 56]
Generated Node #0,4,2: 57:[44, 56] Operation: 2+54=56
Exploring Operation: 44-2=42, Resulting Numbers: [54, 42]
Generated Node #0,4,3: 57:[54, 42] Operation: 44-2=42
Exploring Operation: 54-44=10, Resulting Numbers: [2, 10]
Generated Node #0,4,4: 57:[2, 10] Operation: 54-44=10
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[54, 22], Operations: ['77-23=54', '44/2=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,57 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[2, 10], Operations: ['77-23=54', '54-44=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[54, 46], Operations: ['77-23=54', '44+2=46']
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,57 unequal: No Solution
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[44, 56], Operations: ['77-23=54', '2+54=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[54, 42], Operations: ['77-23=54', '44-2=42']
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[23, 2, 33], Operations: ['77-44=33']
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 57:[2, 10] Operation: 33-23=10
Exploring Operation: 2*33=66, Resulting Numbers: [23, 66]
Generated Node #0,2,1: 57:[23, 66] Operation: 2*33=66
Exploring Operation: 23-2=21, Resulting Numbers: [33, 21]
Generated Node #0,2,2: 57:[33, 21] Operation: 23-2=21
Exploring Operation: 33-2=31, Resulting Numbers: [23, 31]
Generated Node #0,2,3: 57:[23, 31] Operation: 33-2=31
Exploring Operation: 23+33=56, Resulting Numbers: [2, 56]
Generated Node #0,2,4: 57:[2, 56] Operation: 23+33=56
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 57:[2, 56], Operations: ['77-44=33', '23+33=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[2, 10], Operations: ['77-44=33', '33-23=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[23, 66], Operations: ['77-44=33', '2*33=66']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,57 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[33, 21], Operations: ['77-44=33', '23-2=21']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[23, 31], Operations: ['77-44=33', '33-2=31']
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 77, 21], Operations: ['44-23=21']
Exploring Operation: 21-2=19, Resulting Numbers: [77, 19]
Generated Node #0,0,0: 57:[77, 19] Operation: 21-2=19
Exploring Operation: 77-2=75, Resulting Numbers: [21, 75]
Generated Node #0,0,1: 57:[21, 75] Operation: 77-2=75
Exploring Operation: 2+77=79, Resulting Numbers: [21, 79]
Generated Node #0,0,2: 57:[21, 79] Operation: 2+77=79
Exploring Operation: 77-21=56, Resulting Numbers: [2, 56]
Generated Node #0,0,3: 57:[2, 56] Operation: 77-21=56
Exploring Operation: 2+21=23, Resulting Numbers: [77, 23]
Generated Node #0,0,4: 57:[77, 23] Operation: 2+21=23
Moving to Node #0,0,3
Current State: 57:[2, 56], Operations: ['44-23=21', '77-21=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[21, 75], Operations: ['44-23=21', '77-2=75']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 21*75=1575, Resulting Numbers: [1575]
1575,57 unequal: No Solution
Exploring Operation: 21+75=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[77, 19], Operations: ['44-23=21', '21-2=19']
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,57 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[21, 79], Operations: ['44-23=21', '2+77=79']
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,57 unequal: No Solution
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[77, 23], Operations: ['44-23=21', '2+21=23']
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 77*23=1771, Resulting Numbers: [1771]
1771,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[23, 77, 22], Operations: ['44/2=22']
Exploring Operation: 23+22=45, Resulting Numbers: [77, 45]
Generated Node #0,1,0: 57:[77, 45] Operation: 23+22=45
Exploring Operation: 23+77=100, Resulting Numbers: [22, 100]
Generated Node #0,1,1: 57:[22, 100] Operation: 23+77=100
Exploring Operation: 23-22=1, Resulting Numbers: [77, 1]
Generated Node #0,1,2: 57:[77, 1] Operation: 23-22=1
Exploring Operation: 77-22=55, Resulting Numbers: [23, 55]
Generated Node #0,1,3: 57:[23, 55] Operation: 77-22=55
Exploring Operation: 77-23=54, Resulting Numbers: [22, 54]
Generated Node #0,1,4: 57:[22, 54] Operation: 77-23=54
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[23, 55], Operations: ['44/2=22', '77-22=55']
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 23*55=1265, Resulting Numbers: [1265]
1265,57 unequal: No Solution
Exploring Operation: 23+55=78, Resulting Numbers: [78]
78,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[22, 54], Operations: ['44/2=22', '77-23=54']
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[77, 1], Operations: ['44/2=22', '23-22=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[77, 45], Operations: ['44/2=22', '23+22=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,57 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,57 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[22, 100], Operations: ['44/2=22', '23+77=100']
Exploring Operation: 22+100=122, Resulting Numbers: [122]
122,57 unequal: No Solution
Exploring Operation: 22*100=2200, Resulting Numbers: [2200]
2200,57 unequal: No Solution
Exploring Operation: 100-22=78, Resulting Numbers: [78]
78,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[2, 77, 67], Operations: ['23+44=67']
Exploring Operation: 77-67=10, Resulting Numbers: [2, 10]
Generated Node #0,3,0: 57:[2, 10] Operation: 77-67=10
Exploring Operation: 2+77=79, Resulting Numbers: [67, 79]
Generated Node #0,3,1: 57:[67, 79] Operation: 2+77=79
Exploring Operation: 2+67=69, Resulting Numbers: [77, 69]
Generated Node #0,3,2: 57:[77, 69] Operation: 2+67=69
Exploring Operation: 67-2=65, Resulting Numbers: [77, 65]
Generated Node #0,3,3: 57:[77, 65] Operation: 67-2=65
Exploring Operation: 77-2=75, Resulting Numbers: [67, 75]
Generated Node #0,3,4: 57:[67, 75] Operation: 77-2=75
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[2, 10], Operations: ['23+44=67', '77-67=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[77, 65], Operations: ['23+44=67', '67-2=65']
Exploring Operation: 77*65=5005, Resulting Numbers: [5005]
5005,57 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[67, 75], Operations: ['23+44=67', '77-2=75']
Exploring Operation: 67*75=5025, Resulting Numbers: [5025]
5025,57 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 67+75=142, Resulting Numbers: [142]
142,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[67, 79], Operations: ['23+44=67', '2+77=79']
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 67+79=146, Resulting Numbers: [146]
146,57 unequal: No Solution
Exploring Operation: 67*79=5293, Resulting Numbers: [5293]
5293,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[77, 69], Operations: ['23+44=67', '2+67=69']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,57 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
18,
56,
17,
31
] | 22 |
[
"31-17=14",
"56/14=4",
"18+4=22"
] |
Current State: 22:[18, 56, 17, 31], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [18, 56, 14]
Generated Node #2: [18, 56, 14] from Operation: 31-17=14
Current State: 22:[18, 56, 14], Operations: ['31-17=14']
Exploring Operation: 56/14=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 56/14=4
Current State: 22:[18, 4], Operations: ['31-17=14', '56/14=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[18, 56, 17, 31], Operations: []
Exploring Operation: 56-17=39, Resulting Numbers: [18, 31, 39]
Generated Node #0,0: 22:[18, 31, 39] Operation: 56-17=39
Exploring Operation: 56-18=38, Resulting Numbers: [17, 31, 38]
Generated Node #0,1: 22:[17, 31, 38] Operation: 56-18=38
Exploring Operation: 56-31=25, Resulting Numbers: [18, 17, 25]
Generated Node #0,2: 22:[18, 17, 25] Operation: 56-31=25
Exploring Operation: 31-17=14, Resulting Numbers: [18, 56, 14]
Generated Node #0,3: 22:[18, 56, 14] Operation: 31-17=14
Exploring Operation: 31-18=13, Resulting Numbers: [56, 17, 13]
Generated Node #0,4: 22:[56, 17, 13] Operation: 31-18=13
Moving to Node #0,2
Current State: 22:[18, 17, 25], Operations: ['56-31=25']
Exploring Operation: 25-18=7, Resulting Numbers: [17, 7]
Generated Node #0,2,0: 22:[17, 7] Operation: 25-18=7
Exploring Operation: 18-17=1, Resulting Numbers: [25, 1]
Generated Node #0,2,1: 22:[25, 1] Operation: 18-17=1
Exploring Operation: 17+25=42, Resulting Numbers: [18, 42]
Generated Node #0,2,2: 22:[18, 42] Operation: 17+25=42
Exploring Operation: 25-17=8, Resulting Numbers: [18, 8]
Generated Node #0,2,3: 22:[18, 8] Operation: 25-17=8
Exploring Operation: 18+17=35, Resulting Numbers: [25, 35]
Generated Node #0,2,4: 22:[25, 35] Operation: 18+17=35
Moving to Node #0,1
Current State: 22:[17, 31, 38], Operations: ['56-18=38']
Exploring Operation: 31-17=14, Resulting Numbers: [38, 14]
Generated Node #0,1,0: 22:[38, 14] Operation: 31-17=14
Exploring Operation: 17+31=48, Resulting Numbers: [38, 48]
Generated Node #0,1,1: 22:[38, 48] Operation: 17+31=48
Exploring Operation: 38-31=7, Resulting Numbers: [17, 7]
Generated Node #0,1,2: 22:[17, 7] Operation: 38-31=7
Exploring Operation: 17+38=55, Resulting Numbers: [31, 55]
Generated Node #0,1,3: 22:[31, 55] Operation: 17+38=55
Exploring Operation: 38-17=21, Resulting Numbers: [31, 21]
Generated Node #0,1,4: 22:[31, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[17, 7], Operations: ['56-18=38', '38-31=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,22 unequal: No Solution
No 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: 22:[31, 21], Operations: ['56-18=38', '38-17=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,22 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No 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: 22:[38, 14], Operations: ['56-18=38', '31-17=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,22 unequal: No Solution
No 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: 22:[38, 48], Operations: ['56-18=38', '17+31=48']
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,22 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No 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: 22:[31, 55], Operations: ['56-18=38', '17+38=55']
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,22 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: 22:[18, 31, 39], Operations: ['56-17=39']
Exploring Operation: 18+31=49, Resulting Numbers: [39, 49]
Generated Node #0,0,0: 22:[39, 49] Operation: 18+31=49
Exploring Operation: 18+39=57, Resulting Numbers: [31, 57]
Generated Node #0,0,1: 22:[31, 57] Operation: 18+39=57
Exploring Operation: 31-18=13, Resulting Numbers: [39, 13]
Generated Node #0,0,2: 22:[39, 13] Operation: 31-18=13
Exploring Operation: 39-18=21, Resulting Numbers: [31, 21]
Generated Node #0,0,3: 22:[31, 21] Operation: 39-18=21
Exploring Operation: 39-31=8, Resulting Numbers: [18, 8]
Generated Node #0,0,4: 22:[18, 8] Operation: 39-31=8
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 22:[18, 8], Operations: ['56-17=39', '39-31=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,22 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No 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: 22:[31, 21], Operations: ['56-17=39', '39-18=21']
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,22 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,22 unequal: No Solution
No 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: 22:[39, 13], Operations: ['56-17=39', '31-18=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,22 unequal: No Solution
No 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: 22:[39, 49], Operations: ['56-17=39', '18+31=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,22 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No 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: 22:[31, 57], Operations: ['56-17=39', '18+39=57']
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,22 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: 22:[18, 56, 14], Operations: ['31-17=14']
Exploring Operation: 56/14=4, Resulting Numbers: [18, 4]
Generated Node #0,3,0: 22:[18, 4] Operation: 56/14=4
Exploring Operation: 18-14=4, Resulting Numbers: [56, 4]
Generated Node #0,3,1: 22:[56, 4] Operation: 18-14=4
Exploring Operation: 56-18=38, Resulting Numbers: [14, 38]
Generated Node #0,3,2: 22:[14, 38] Operation: 56-18=38
Exploring Operation: 18+14=32, Resulting Numbers: [56, 32]
Generated Node #0,3,3: 22:[56, 32] Operation: 18+14=32
Exploring Operation: 56-14=42, Resulting Numbers: [18, 42]
Generated Node #0,3,4: 22:[18, 42] Operation: 56-14=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[18, 4], Operations: ['31-17=14', '56/14=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[18, 56, 17, 31], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [18, 56, 14]
Generated Node #0,3: 22:[18, 56, 14] Operation: 31-17=14
Moving to Node #0,3
Current State: 22:[18, 56, 14], Operations: ['31-17=14']
Exploring Operation: 56/14=4, Resulting Numbers: [18, 4]
Generated Node #0,3,0: 22:[18, 4] Operation: 56/14=4
Moving to Node #0,3,0
Current State: 22:[18, 4], Operations: ['31-17=14', '56/14=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 |
hs_5
|
sum_heuristic
|
[
7,
81,
6,
10
] | 83 |
[
"10-7=3",
"6/3=2",
"81+2=83"
] |
Current State: 83:[7, 81, 6, 10], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [81, 6, 3]
Generated Node #2: [81, 6, 3] from Operation: 10-7=3
Current State: 83:[81, 6, 3], Operations: ['10-7=3']
Exploring Operation: 6/3=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 6/3=2
Current State: 83:[81, 2], Operations: ['10-7=3', '6/3=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[7, 81, 6, 10], Operations: []
Exploring Operation: 6*10=60, Resulting Numbers: [7, 81, 60]
Generated Node #0,0: 83:[7, 81, 60] Operation: 6*10=60
Exploring Operation: 7*10=70, Resulting Numbers: [81, 6, 70]
Generated Node #0,1: 83:[81, 6, 70] Operation: 7*10=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[81, 6, 70], Operations: ['7*10=70']
Exploring Operation: 6+70=76, Resulting Numbers: [81, 76]
Generated Node #0,1,0: 83:[81, 76] Operation: 6+70=76
Exploring Operation: 81+6=87, Resulting Numbers: [70, 87]
Generated Node #0,1,1: 83:[70, 87] Operation: 81+6=87
Moving to Node #0,1,0
Current State: 83:[81, 76], Operations: ['7*10=70', '6+70=76']
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 81+76=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[70, 87], Operations: ['7*10=70', '81+6=87']
Exploring Operation: 70+87=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[7, 81, 60], Operations: ['6*10=60']
Exploring Operation: 7+81=88, Resulting Numbers: [60, 88]
Generated Node #0,0,0: 83:[60, 88] Operation: 7+81=88
Exploring Operation: 7+60=67, Resulting Numbers: [81, 67]
Generated Node #0,0,1: 83:[81, 67] Operation: 7+60=67
Moving to Node #0,0,1
Current State: 83:[81, 67], Operations: ['6*10=60', '7+60=67']
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,83 unequal: No Solution
Exploring Operation: 81+67=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[60, 88], Operations: ['6*10=60', '7+81=88']
Exploring Operation: 60+88=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
18,
51,
37,
35
] | 45 |
[
"18*35=630",
"51-37=14",
"630/14=45"
] |
Current State: 45:[18, 51, 37, 35], Operations: []
Exploring Operation: 18*35=630, Resulting Numbers: [51, 37, 630]
Generated Node #2: [51, 37, 630] from Operation: 18*35=630
Current State: 45:[51, 37, 630], Operations: ['18*35=630']
Exploring Operation: 51-37=14, Resulting Numbers: [630, 14]
Generated Node #3: [630, 14] from Operation: 51-37=14
Current State: 45:[630, 14], Operations: ['18*35=630', '51-37=14']
Exploring Operation: 630/14=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[18, 51, 37, 35], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [18, 37, 16]
Generated Node #0,0: 45:[18, 37, 16] Operation: 51-35=16
Exploring Operation: 51-37=14, Resulting Numbers: [18, 35, 14]
Generated Node #0,1: 45:[18, 35, 14] Operation: 51-37=14
Exploring Operation: 37-35=2, Resulting Numbers: [18, 51, 2]
Generated Node #0,2: 45:[18, 51, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[18, 51, 2], Operations: ['37-35=2']
Exploring Operation: 18/2=9, Resulting Numbers: [51, 9]
Generated Node #0,2,0: 45:[51, 9] Operation: 18/2=9
Exploring Operation: 51-2=49, Resulting Numbers: [18, 49]
Generated Node #0,2,1: 45:[18, 49] Operation: 51-2=49
Exploring Operation: 18-2=16, Resulting Numbers: [51, 16]
Generated Node #0,2,2: 45:[51, 16] Operation: 18-2=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[51, 9], Operations: ['37-35=2', '18/2=9']
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,45 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,45 unequal: No Solution
No 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: 45:[18, 49], Operations: ['37-35=2', '51-2=49']
Exploring Operation: 18*49=882, Resulting Numbers: [882]
882,45 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,45 unequal: No Solution
No 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: 45:[51, 16], Operations: ['37-35=2', '18-2=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,45 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,45 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: 45:[18, 37, 16], Operations: ['51-35=16']
Exploring Operation: 37-16=21, Resulting Numbers: [18, 21]
Generated Node #0,0,0: 45:[18, 21] Operation: 37-16=21
Exploring Operation: 18-16=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 45:[37, 2] Operation: 18-16=2
Exploring Operation: 37-18=19, Resulting Numbers: [16, 19]
Generated Node #0,0,2: 45:[16, 19] Operation: 37-18=19
Moving to Node #0,0,2
Current State: 45:[16, 19], Operations: ['51-35=16', '37-18=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,45 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[18, 21], Operations: ['51-35=16', '37-16=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[37, 2], Operations: ['51-35=16', '18-16=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,45 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[18, 35, 14], Operations: ['51-37=14']
Exploring Operation: 18+35=53, Resulting Numbers: [14, 53]
Generated Node #0,1,0: 45:[14, 53] Operation: 18+35=53
Exploring Operation: 35+14=49, Resulting Numbers: [18, 49]
Generated Node #0,1,1: 45:[18, 49] Operation: 35+14=49
Exploring Operation: 35-18=17, Resulting Numbers: [14, 17]
Generated Node #0,1,2: 45:[14, 17] Operation: 35-18=17
Moving to Node #0,1,2
Current State: 45:[14, 17], Operations: ['51-37=14', '35-18=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,45 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[18, 49], Operations: ['51-37=14', '35+14=49']
Exploring Operation: 18*49=882, Resulting Numbers: [882]
882,45 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[14, 53], Operations: ['51-37=14', '18+35=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,45 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,45 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
|
[
39,
18,
47,
59
] | 26 |
[
"59-47=12",
"39*12=468",
"468/18=26"
] |
Current State: 26:[39, 18, 47, 59], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [39, 18, 12]
Generated Node #2: [39, 18, 12] from Operation: 59-47=12
Current State: 26:[39, 18, 12], Operations: ['59-47=12']
Exploring Operation: 39*12=468, Resulting Numbers: [18, 468]
Generated Node #3: [18, 468] from Operation: 39*12=468
Current State: 26:[18, 468], Operations: ['59-47=12', '39*12=468']
Exploring Operation: 468/18=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[39, 18, 47, 59], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [18, 47, 20]
Generated Node #0,0: 26:[18, 47, 20] Operation: 59-39=20
Exploring Operation: 59-47=12, Resulting Numbers: [39, 18, 12]
Generated Node #0,1: 26:[39, 18, 12] Operation: 59-47=12
Moving to Node #0,1
Current State: 26:[39, 18, 12], Operations: ['59-47=12']
Exploring Operation: 39-18=21, Resulting Numbers: [12, 21]
Generated Node #0,1,0: 26:[12, 21] Operation: 39-18=21
Exploring Operation: 39-12=27, Resulting Numbers: [18, 27]
Generated Node #0,1,1: 26:[18, 27] Operation: 39-12=27
Moving to Node #0,0
Current State: 26:[18, 47, 20], Operations: ['59-39=20']
Exploring Operation: 47-20=27, Resulting Numbers: [18, 27]
Generated Node #0,0,0: 26:[18, 27] Operation: 47-20=27
Exploring Operation: 47-18=29, Resulting Numbers: [20, 29]
Generated Node #0,0,1: 26:[20, 29] Operation: 47-18=29
Moving to Node #0,1,0
Current State: 26:[12, 21], Operations: ['59-47=12', '39-18=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[18, 27], Operations: ['59-39=20', '47-20=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[18, 27], Operations: ['59-47=12', '39-12=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[20, 29], Operations: ['59-39=20', '47-18=29']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
38,
77,
64,
73
] | 30 |
[
"77-38=39",
"73-64=9",
"39-9=30"
] |
Current State: 30:[38, 77, 64, 73], Operations: []
Exploring Operation: 77-38=39, Resulting Numbers: [64, 73, 39]
Generated Node #2: [64, 73, 39] from Operation: 77-38=39
Current State: 30:[64, 73, 39], Operations: ['77-38=39']
Exploring Operation: 73-64=9, Resulting Numbers: [39, 9]
Generated Node #3: [39, 9] from Operation: 73-64=9
Current State: 30:[39, 9], Operations: ['77-38=39', '73-64=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[38, 77, 64, 73], Operations: []
Exploring Operation: 77-38=39, Resulting Numbers: [64, 73, 39]
Generated Node #0,0: 30:[64, 73, 39] Operation: 77-38=39
Exploring Operation: 77-73=4, Resulting Numbers: [38, 64, 4]
Generated Node #0,1: 30:[38, 64, 4] Operation: 77-73=4
Exploring Operation: 73-64=9, Resulting Numbers: [38, 77, 9]
Generated Node #0,2: 30:[38, 77, 9] Operation: 73-64=9
Exploring Operation: 77-64=13, Resulting Numbers: [38, 73, 13]
Generated Node #0,3: 30:[38, 73, 13] Operation: 77-64=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[38, 64, 4], Operations: ['77-73=4']
Exploring Operation: 64/4=16, Resulting Numbers: [38, 16]
Generated Node #0,1,0: 30:[38, 16] Operation: 64/4=16
Exploring Operation: 64-38=26, Resulting Numbers: [4, 26]
Generated Node #0,1,1: 30:[4, 26] Operation: 64-38=26
Exploring Operation: 64-4=60, Resulting Numbers: [38, 60]
Generated Node #0,1,2: 30:[38, 60] Operation: 64-4=60
Exploring Operation: 38-4=34, Resulting Numbers: [64, 34]
Generated Node #0,1,3: 30:[64, 34] Operation: 38-4=34
Moving to Node #0,1,1
Current State: 30:[4, 26], Operations: ['77-73=4', '64-38=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,30 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[38, 77, 64, 73], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [38, 64, 4]
Generated Node #0,1: 30:[38, 64, 4] Operation: 77-73=4
Moving to Node #0,1
Current State: 30:[38, 64, 4], Operations: ['77-73=4']
Exploring Operation: 64-38=26, Resulting Numbers: [4, 26]
Generated Node #0,1,1: 30:[4, 26] Operation: 64-38=26
Moving to Node #0,1,1
Current State: 30:[4, 26], Operations: ['77-73=4', '64-38=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
sum_heuristic
|
[
98,
3,
65,
41
] | 26 |
[
"65-41=24",
"3*24=72",
"98-72=26"
] |
Current State: 26:[98, 3, 65, 41], Operations: []
Exploring Operation: 65-41=24, Resulting Numbers: [98, 3, 24]
Generated Node #2: [98, 3, 24] from Operation: 65-41=24
Current State: 26:[98, 3, 24], Operations: ['65-41=24']
Exploring Operation: 3*24=72, Resulting Numbers: [98, 72]
Generated Node #3: [98, 72] from Operation: 3*24=72
Current State: 26:[98, 72], Operations: ['65-41=24', '3*24=72']
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[98, 3, 65, 41], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [3, 41, 33]
Generated Node #0,0: 26:[3, 41, 33] Operation: 98-65=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[3, 41, 33], Operations: ['98-65=33']
Exploring Operation: 41-33=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 26:[3, 8] Operation: 41-33=8
Moving to Node #0,0,0
Current State: 26:[3, 8], Operations: ['98-65=33', '41-33=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,26 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
|
[
41,
84,
48,
77
] | 82 |
[
"84-41=43",
"48+77=125",
"125-43=82"
] |
Current State: 82:[41, 84, 48, 77], Operations: []
Exploring Operation: 84-41=43, Resulting Numbers: [48, 77, 43]
Generated Node #2: [48, 77, 43] from Operation: 84-41=43
Current State: 82:[48, 77, 43], Operations: ['84-41=43']
Exploring Operation: 48+77=125, Resulting Numbers: [43, 125]
Generated Node #3: [43, 125] from Operation: 48+77=125
Current State: 82:[43, 125], Operations: ['84-41=43', '48+77=125']
Exploring Operation: 125-43=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[41, 84, 48, 77], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [84, 77, 7]
Generated Node #0,0: 82:[84, 77, 7] Operation: 48-41=7
Exploring Operation: 84-48=36, Resulting Numbers: [41, 77, 36]
Generated Node #0,1: 82:[41, 77, 36] Operation: 84-48=36
Moving to Node #0,1
Current State: 82:[41, 77, 36], Operations: ['84-48=36']
Exploring Operation: 41-36=5, Resulting Numbers: [77, 5]
Generated Node #0,1,0: 82:[77, 5] Operation: 41-36=5
Exploring Operation: 77-36=41, Resulting Numbers: [41, 41]
Generated Node #0,1,1: 82:[41, 41] Operation: 77-36=41
Moving to Node #0,0
Current State: 82:[84, 77, 7], Operations: ['48-41=7']
Exploring Operation: 84-77=7, Resulting Numbers: [7, 7]
Generated Node #0,0,0: 82:[7, 7] Operation: 84-77=7
Exploring Operation: 77+7=84, Resulting Numbers: [84, 84]
Generated Node #0,0,1: 82:[84, 84] Operation: 77+7=84
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[84, 84], Operations: ['48-41=7', '77+7=84']
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[7, 7], Operations: ['48-41=7', '84-77=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 82:[41, 41], Operations: ['84-48=36', '77-36=41']
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[41, 84, 48, 77], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [41, 77, 36]
Generated Node #0,1: 82:[41, 77, 36] Operation: 84-48=36
Moving to Node #0,1
Current State: 82:[41, 77, 36], Operations: ['84-48=36']
Exploring Operation: 77-36=41, Resulting Numbers: [41, 41]
Generated Node #0,1,1: 82:[41, 41] Operation: 77-36=41
Moving to Node #0,1,1
Current State: 82:[41, 41], Operations: ['84-48=36', '77-36=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.986111 |
hs_2
|
mult_heuristic
|
[
4,
96,
10,
33
] | 49 |
[
"96-4=92",
"10+33=43",
"92-43=49"
] |
Current State: 49:[4, 96, 10, 33], Operations: []
Exploring Operation: 96-4=92, Resulting Numbers: [10, 33, 92]
Generated Node #2: [10, 33, 92] from Operation: 96-4=92
Current State: 49:[10, 33, 92], Operations: ['96-4=92']
Exploring Operation: 10+33=43, Resulting Numbers: [92, 43]
Generated Node #3: [92, 43] from Operation: 10+33=43
Current State: 49:[92, 43], Operations: ['96-4=92', '10+33=43']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[4, 96, 10, 33], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [4, 10, 63]
Generated Node #0,0: 49:[4, 10, 63] Operation: 96-33=63
Exploring Operation: 96/4=24, Resulting Numbers: [10, 33, 24]
Generated Node #0,1: 49:[10, 33, 24] Operation: 96/4=24
Exploring Operation: 96-10=86, Resulting Numbers: [4, 33, 86]
Generated Node #0,2: 49:[4, 33, 86] Operation: 96-10=86
Exploring Operation: 10+33=43, Resulting Numbers: [4, 96, 43]
Generated Node #0,3: 49:[4, 96, 43] Operation: 10+33=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 10, 63], Operations: ['96-33=63']
Exploring Operation: 63-10=53, Resulting Numbers: [4, 53]
Generated Node #0,0,0: 49:[4, 53] Operation: 63-10=53
Exploring Operation: 63-4=59, Resulting Numbers: [10, 59]
Generated Node #0,0,1: 49:[10, 59] Operation: 63-4=59
Exploring Operation: 4+10=14, Resulting Numbers: [63, 14]
Generated Node #0,0,2: 49:[63, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [63, 6]
Generated Node #0,0,3: 49:[63, 6] Operation: 10-4=6
Moving to Node #0,0,0
Current State: 49:[4, 53], Operations: ['96-33=63', '63-10=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,49 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[4, 96, 10, 33], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [4, 10, 63]
Generated Node #0,0: 49:[4, 10, 63] Operation: 96-33=63
Moving to Node #0,0
Current State: 49:[4, 10, 63], Operations: ['96-33=63']
Exploring Operation: 63-10=53, Resulting Numbers: [4, 53]
Generated Node #0,0,0: 49:[4, 53] Operation: 63-10=53
Moving to Node #0,0,0
Current State: 49:[4, 53], Operations: ['96-33=63', '63-10=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
3,
61,
36,
21
] | 90 |
[
"21/3=7",
"61+36=97",
"97-7=90"
] |
Current State: 90:[3, 61, 36, 21], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [61, 36, 7]
Generated Node #2: [61, 36, 7] from Operation: 21/3=7
Current State: 90:[61, 36, 7], Operations: ['21/3=7']
Exploring Operation: 61+36=97, Resulting Numbers: [7, 97]
Generated Node #3: [7, 97] from Operation: 61+36=97
Current State: 90:[7, 97], Operations: ['21/3=7', '61+36=97']
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[3, 61, 36, 21], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [3, 21, 25]
Generated Node #0,0: 90:[3, 21, 25] Operation: 61-36=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[3, 21, 25], Operations: ['61-36=25']
Exploring Operation: 21+25=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 90:[3, 46] Operation: 21+25=46
Moving to Node #0,0,0
Current State: 90:[3, 46], Operations: ['61-36=25', '21+25=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,90 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
|
[
55,
81,
34,
30
] | 34 |
[
"55+81=136",
"34-30=4",
"136/4=34"
] |
Current State: 34:[55, 81, 34, 30], Operations: []
Exploring Operation: 55+81=136, Resulting Numbers: [34, 30, 136]
Generated Node #2: [34, 30, 136] from Operation: 55+81=136
Current State: 34:[34, 30, 136], Operations: ['55+81=136']
Exploring Operation: 34-30=4, Resulting Numbers: [136, 4]
Generated Node #3: [136, 4] from Operation: 34-30=4
Current State: 34:[136, 4], Operations: ['55+81=136', '34-30=4']
Exploring Operation: 136/4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[55, 81, 34, 30], Operations: []
Exploring Operation: 81-30=51, Resulting Numbers: [55, 34, 51]
Generated Node #0,0: 34:[55, 34, 51] Operation: 81-30=51
Exploring Operation: 81-55=26, Resulting Numbers: [34, 30, 26]
Generated Node #0,1: 34:[34, 30, 26] Operation: 81-55=26
Exploring Operation: 81-34=47, Resulting Numbers: [55, 30, 47]
Generated Node #0,2: 34:[55, 30, 47] Operation: 81-34=47
Exploring Operation: 55-34=21, Resulting Numbers: [81, 30, 21]
Generated Node #0,3: 34:[81, 30, 21] Operation: 55-34=21
Moving to Node #0,1
Current State: 34:[34, 30, 26], Operations: ['81-55=26']
Exploring Operation: 30+26=56, Resulting Numbers: [34, 56]
Generated Node #0,1,0: 34:[34, 56] Operation: 30+26=56
Exploring Operation: 30-26=4, Resulting Numbers: [34, 4]
Generated Node #0,1,1: 34:[34, 4] Operation: 30-26=4
Exploring Operation: 34-30=4, Resulting Numbers: [26, 4]
Generated Node #0,1,2: 34:[26, 4] Operation: 34-30=4
Exploring Operation: 34-26=8, Resulting Numbers: [30, 8]
Generated Node #0,1,3: 34:[30, 8] Operation: 34-26=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[34, 4], Operations: ['81-55=26', '30-26=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,34 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,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:[26, 4], Operations: ['81-55=26', '34-30=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,34 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,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:[30, 8], Operations: ['81-55=26', '34-26=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,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:[34, 56], Operations: ['81-55=26', '30+26=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,34 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: 34:[55, 30, 47], Operations: ['81-34=47']
Exploring Operation: 55-47=8, Resulting Numbers: [30, 8]
Generated Node #0,2,0: 34:[30, 8] Operation: 55-47=8
Exploring Operation: 55+30=85, Resulting Numbers: [47, 85]
Generated Node #0,2,1: 34:[47, 85] Operation: 55+30=85
Exploring Operation: 47-30=17, Resulting Numbers: [55, 17]
Generated Node #0,2,2: 34:[55, 17] Operation: 47-30=17
Exploring Operation: 55-30=25, Resulting Numbers: [47, 25]
Generated Node #0,2,3: 34:[47, 25] Operation: 55-30=25
Moving to Node #0,0
Current State: 34:[55, 34, 51], Operations: ['81-30=51']
Exploring Operation: 55+34=89, Resulting Numbers: [51, 89]
Generated Node #0,0,0: 34:[51, 89] Operation: 55+34=89
Exploring Operation: 51-34=17, Resulting Numbers: [55, 17]
Generated Node #0,0,1: 34:[55, 17] Operation: 51-34=17
Exploring Operation: 55-34=21, Resulting Numbers: [51, 21]
Generated Node #0,0,2: 34:[51, 21] Operation: 55-34=21
Exploring Operation: 55-51=4, Resulting Numbers: [34, 4]
Generated Node #0,0,3: 34:[34, 4] Operation: 55-51=4
Moving to Node #0,3
Current State: 34:[81, 30, 21], Operations: ['55-34=21']
Exploring Operation: 30+21=51, Resulting Numbers: [81, 51]
Generated Node #0,3,0: 34:[81, 51] Operation: 30+21=51
Exploring Operation: 81-30=51, Resulting Numbers: [21, 51]
Generated Node #0,3,1: 34:[21, 51] Operation: 81-30=51
Exploring Operation: 81-21=60, Resulting Numbers: [30, 60]
Generated Node #0,3,2: 34:[30, 60] Operation: 81-21=60
Exploring Operation: 30-21=9, Resulting Numbers: [81, 9]
Generated Node #0,3,3: 34:[81, 9] Operation: 30-21=9
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[21, 51], Operations: ['55-34=21', '81-30=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,34 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,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:[30, 60], Operations: ['55-34=21', '81-21=60']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,34 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,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:[81, 9], Operations: ['55-34=21', '30-21=9']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,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,0
Current State: 34:[81, 51], Operations: ['55-34=21', '30+21=51']
Exploring Operation: 81*51=4131, Resulting Numbers: [4131]
4131,34 unequal: No Solution
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 81+51=132, Resulting Numbers: [132]
132,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 34:[34, 4], Operations: ['81-30=51', '55-51=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,34 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[30, 8], Operations: ['81-34=47', '55-47=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[47, 25], Operations: ['81-34=47', '55-30=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,34 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[55, 17], Operations: ['81-30=51', '51-34=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,34 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[51, 21], Operations: ['81-30=51', '55-34=21']
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,34 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[55, 17], Operations: ['81-34=47', '47-30=17']
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,34 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[47, 85], Operations: ['81-34=47', '55+30=85']
Exploring Operation: 47*85=3995, Resulting Numbers: [3995]
3995,34 unequal: No Solution
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 47+85=132, Resulting Numbers: [132]
132,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[51, 89], Operations: ['81-30=51', '55+34=89']
Exploring Operation: 51+89=140, Resulting Numbers: [140]
140,34 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 51*89=4539, Resulting Numbers: [4539]
4539,34 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
22,
23,
52,
88
] | 71 |
[
"88/22=4",
"23+52=75",
"75-4=71"
] |
Current State: 71:[22, 23, 52, 88], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [23, 52, 4]
Generated Node #2: [23, 52, 4] from Operation: 88/22=4
Current State: 71:[23, 52, 4], Operations: ['88/22=4']
Exploring Operation: 23+52=75, Resulting Numbers: [4, 75]
Generated Node #3: [4, 75] from Operation: 23+52=75
Current State: 71:[4, 75], Operations: ['88/22=4', '23+52=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[22, 23, 52, 88], Operations: []
Exploring Operation: 22+23=45, Resulting Numbers: [52, 88, 45]
Generated Node #0,0: 71:[52, 88, 45] Operation: 22+23=45
Moving to Node #0,0
Current State: 71:[52, 88, 45], Operations: ['22+23=45']
Exploring Operation: 52+45=97, Resulting Numbers: [88, 97]
Generated Node #0,0,0: 71:[88, 97] Operation: 52+45=97
Moving to Node #0,0,0
Current State: 71:[88, 97], Operations: ['22+23=45', '52+45=97']
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,71 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
38,
18,
32,
65
] | 77 |
[
"38-18=20",
"32+65=97",
"97-20=77"
] |
Current State: 77:[38, 18, 32, 65], Operations: []
Exploring Operation: 38-18=20, Resulting Numbers: [32, 65, 20]
Generated Node #2: [32, 65, 20] from Operation: 38-18=20
Current State: 77:[32, 65, 20], Operations: ['38-18=20']
Exploring Operation: 32+65=97, Resulting Numbers: [20, 97]
Generated Node #3: [20, 97] from Operation: 32+65=97
Current State: 77:[20, 97], Operations: ['38-18=20', '32+65=97']
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[38, 18, 32, 65], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [18, 65, 6]
Generated Node #0,0: 77:[18, 65, 6] Operation: 38-32=6
Exploring Operation: 65-38=27, Resulting Numbers: [18, 32, 27]
Generated Node #0,1: 77:[18, 32, 27] Operation: 65-38=27
Exploring Operation: 38-18=20, Resulting Numbers: [32, 65, 20]
Generated Node #0,2: 77:[32, 65, 20] Operation: 38-18=20
Exploring Operation: 32-18=14, Resulting Numbers: [38, 65, 14]
Generated Node #0,3: 77:[38, 65, 14] Operation: 32-18=14
Exploring Operation: 38+32=70, Resulting Numbers: [18, 65, 70]
Generated Node #0,4: 77:[18, 65, 70] Operation: 38+32=70
Moving to Node #0,0
Current State: 77:[18, 65, 6], Operations: ['38-32=6']
Exploring Operation: 18+65=83, Resulting Numbers: [6, 83]
Generated Node #0,0,0: 77:[6, 83] Operation: 18+65=83
Exploring Operation: 18+6=24, Resulting Numbers: [65, 24]
Generated Node #0,0,1: 77:[65, 24] Operation: 18+6=24
Exploring Operation: 18-6=12, Resulting Numbers: [65, 12]
Generated Node #0,0,2: 77:[65, 12] Operation: 18-6=12
Exploring Operation: 65+6=71, Resulting Numbers: [18, 71]
Generated Node #0,0,3: 77:[18, 71] Operation: 65+6=71
Exploring Operation: 18/6=3, Resulting Numbers: [65, 3]
Generated Node #0,0,4: 77:[65, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[6, 83], Operations: ['38-32=6', '18+65=83']
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,77 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[38, 18, 32, 65], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [18, 65, 6]
Generated Node #0,0: 77:[18, 65, 6] Operation: 38-32=6
Moving to Node #0,0
Current State: 77:[18, 65, 6], Operations: ['38-32=6']
Exploring Operation: 18+65=83, Resulting Numbers: [6, 83]
Generated Node #0,0,0: 77:[6, 83] Operation: 18+65=83
Moving to Node #0,0,0
Current State: 77:[6, 83], Operations: ['38-32=6', '18+65=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
sum_heuristic
|
[
10,
56,
69,
47
] | 82 |
[
"56*69=3864",
"3864-10=3854",
"3854/47=82"
] |
Current State: 82:[10, 56, 69, 47], Operations: []
Exploring Operation: 56*69=3864, Resulting Numbers: [10, 47, 3864]
Generated Node #2: [10, 47, 3864] from Operation: 56*69=3864
Current State: 82:[10, 47, 3864], Operations: ['56*69=3864']
Exploring Operation: 3864-10=3854, Resulting Numbers: [47, 3854]
Generated Node #3: [47, 3854] from Operation: 3864-10=3854
Current State: 82:[47, 3854], Operations: ['56*69=3864', '3864-10=3854']
Exploring Operation: 3854/47=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[10, 56, 69, 47], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [10, 69, 9]
Generated Node #0,0: 82:[10, 69, 9] Operation: 56-47=9
Exploring Operation: 56-10=46, Resulting Numbers: [69, 47, 46]
Generated Node #0,1: 82:[69, 47, 46] Operation: 56-10=46
Exploring Operation: 10+69=79, Resulting Numbers: [56, 47, 79]
Generated Node #0,2: 82:[56, 47, 79] Operation: 10+69=79
Exploring Operation: 69-56=13, Resulting Numbers: [10, 47, 13]
Generated Node #0,3: 82:[10, 47, 13] Operation: 69-56=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[69, 47, 46], Operations: ['56-10=46']
Exploring Operation: 47+46=93, Resulting Numbers: [69, 93]
Generated Node #0,1,0: 82:[69, 93] Operation: 47+46=93
Exploring Operation: 69-47=22, Resulting Numbers: [46, 22]
Generated Node #0,1,1: 82:[46, 22] Operation: 69-47=22
Exploring Operation: 69-46=23, Resulting Numbers: [47, 23]
Generated Node #0,1,2: 82:[47, 23] Operation: 69-46=23
Exploring Operation: 47-46=1, Resulting Numbers: [69, 1]
Generated Node #0,1,3: 82:[69, 1] Operation: 47-46=1
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[69, 1], Operations: ['56-10=46', '47-46=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[69, 93], Operations: ['56-10=46', '47+46=93']
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 69+93=162, Resulting Numbers: [162]
162,82 unequal: No Solution
Exploring Operation: 69*93=6417, Resulting Numbers: [6417]
6417,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[46, 22], Operations: ['56-10=46', '69-47=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[47, 23], Operations: ['56-10=46', '69-46=23']
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,82 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[56, 47, 79], Operations: ['10+69=79']
Exploring Operation: 56-47=9, Resulting Numbers: [79, 9]
Generated Node #0,2,0: 82:[79, 9] Operation: 56-47=9
Exploring Operation: 56+47=103, Resulting Numbers: [79, 103]
Generated Node #0,2,1: 82:[79, 103] Operation: 56+47=103
Exploring Operation: 79-47=32, Resulting Numbers: [56, 32]
Generated Node #0,2,2: 82:[56, 32] Operation: 79-47=32
Exploring Operation: 79-56=23, Resulting Numbers: [47, 23]
Generated Node #0,2,3: 82:[47, 23] Operation: 79-56=23
Moving to Node #0,2,0
Current State: 82:[79, 9], Operations: ['10+69=79', '56-47=9']
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,82 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[56, 32], Operations: ['10+69=79', '79-47=32']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,82 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[79, 103], Operations: ['10+69=79', '56+47=103']
Exploring Operation: 103-79=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 79+103=182, Resulting Numbers: [182]
182,82 unequal: No Solution
Exploring Operation: 79*103=8137, Resulting Numbers: [8137]
8137,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[47, 23], Operations: ['10+69=79', '79-56=23']
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,82 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[10, 47, 13], Operations: ['69-56=13']
Exploring Operation: 10+13=23, Resulting Numbers: [47, 23]
Generated Node #0,3,0: 82:[47, 23] Operation: 10+13=23
Exploring Operation: 47-10=37, Resulting Numbers: [13, 37]
Generated Node #0,3,1: 82:[13, 37] Operation: 47-10=37
Exploring Operation: 47-13=34, Resulting Numbers: [10, 34]
Generated Node #0,3,2: 82:[10, 34] Operation: 47-13=34
Exploring Operation: 13-10=3, Resulting Numbers: [47, 3]
Generated Node #0,3,3: 82:[47, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[47, 3], Operations: ['69-56=13', '13-10=3']
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[13, 37], Operations: ['69-56=13', '47-10=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,82 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[10, 34], Operations: ['69-56=13', '47-13=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[47, 23], Operations: ['69-56=13', '10+13=23']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[10, 69, 9], Operations: ['56-47=9']
Exploring Operation: 10-9=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 82:[69, 1] Operation: 10-9=1
Exploring Operation: 10*9=90, Resulting Numbers: [69, 90]
Generated Node #0,0,1: 82:[69, 90] Operation: 10*9=90
Exploring Operation: 10+69=79, Resulting Numbers: [9, 79]
Generated Node #0,0,2: 82:[9, 79] Operation: 10+69=79
Exploring Operation: 69+9=78, Resulting Numbers: [10, 78]
Generated Node #0,0,3: 82:[10, 78] Operation: 69+9=78
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[9, 79], Operations: ['56-47=9', '10+69=79']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,82 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,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,3
Current State: 82:[10, 78], Operations: ['56-47=9', '69+9=78']
Exploring Operation: 10*78=780, Resulting Numbers: [780]
780,82 unequal: No Solution
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,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:[69, 1], Operations: ['56-47=9', '10-9=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,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,1
Current State: 82:[69, 90], Operations: ['56-47=9', '10*9=90']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 69+90=159, Resulting Numbers: [159]
159,82 unequal: No Solution
Exploring Operation: 69*90=6210, Resulting Numbers: [6210]
6210,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
12,
66,
31,
27
] | 74 |
[
"12+66=78",
"31-27=4",
"78-4=74"
] |
Current State: 74:[12, 66, 31, 27], Operations: []
Exploring Operation: 12+66=78, Resulting Numbers: [31, 27, 78]
Generated Node #2: [31, 27, 78] from Operation: 12+66=78
Current State: 74:[31, 27, 78], Operations: ['12+66=78']
Exploring Operation: 31-27=4, Resulting Numbers: [78, 4]
Generated Node #3: [78, 4] from Operation: 31-27=4
Current State: 74:[78, 4], Operations: ['12+66=78', '31-27=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[12, 66, 31, 27], Operations: []
Exploring Operation: 12+66=78, Resulting Numbers: [31, 27, 78]
Generated Node #0,0: 74:[31, 27, 78] Operation: 12+66=78
Exploring Operation: 12+27=39, Resulting Numbers: [66, 31, 39]
Generated Node #0,1: 74:[66, 31, 39] Operation: 12+27=39
Exploring Operation: 31-27=4, Resulting Numbers: [12, 66, 4]
Generated Node #0,2: 74:[12, 66, 4] Operation: 31-27=4
Exploring Operation: 66-27=39, Resulting Numbers: [12, 31, 39]
Generated Node #0,3: 74:[12, 31, 39] Operation: 66-27=39
Moving to Node #0,1
Current State: 74:[66, 31, 39], Operations: ['12+27=39']
Exploring Operation: 66-39=27, Resulting Numbers: [31, 27]
Generated Node #0,1,0: 74:[31, 27] Operation: 66-39=27
Exploring Operation: 66-31=35, Resulting Numbers: [39, 35]
Generated Node #0,1,1: 74:[39, 35] Operation: 66-31=35
Exploring Operation: 31+39=70, Resulting Numbers: [66, 70]
Generated Node #0,1,2: 74:[66, 70] Operation: 31+39=70
Exploring Operation: 39-31=8, Resulting Numbers: [66, 8]
Generated Node #0,1,3: 74:[66, 8] Operation: 39-31=8
Moving to Node #0,3
Current State: 74:[12, 31, 39], Operations: ['66-27=39']
Exploring Operation: 31+39=70, Resulting Numbers: [12, 70]
Generated Node #0,3,0: 74:[12, 70] Operation: 31+39=70
Exploring Operation: 39-12=27, Resulting Numbers: [31, 27]
Generated Node #0,3,1: 74:[31, 27] Operation: 39-12=27
Exploring Operation: 12+31=43, Resulting Numbers: [39, 43]
Generated Node #0,3,2: 74:[39, 43] Operation: 12+31=43
Exploring Operation: 39-31=8, Resulting Numbers: [12, 8]
Generated Node #0,3,3: 74:[12, 8] Operation: 39-31=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[39, 43], Operations: ['66-27=39', '12+31=43']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,74 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,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,3,0
Current State: 74:[12, 70], Operations: ['66-27=39', '31+39=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,74 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,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,3,1
Current State: 74:[31, 27], Operations: ['66-27=39', '39-12=27']
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,74 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,74 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,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,3,3
Current State: 74:[12, 8], Operations: ['66-27=39', '39-31=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,74 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: 74:[12, 66, 4], Operations: ['31-27=4']
Exploring Operation: 12-4=8, Resulting Numbers: [66, 8]
Generated Node #0,2,0: 74:[66, 8] Operation: 12-4=8
Exploring Operation: 12+66=78, Resulting Numbers: [4, 78]
Generated Node #0,2,1: 74:[4, 78] Operation: 12+66=78
Exploring Operation: 66+4=70, Resulting Numbers: [12, 70]
Generated Node #0,2,2: 74:[12, 70] Operation: 66+4=70
Exploring Operation: 12/4=3, Resulting Numbers: [66, 3]
Generated Node #0,2,3: 74:[66, 3] Operation: 12/4=3
Moving to Node #0,0
Current State: 74:[31, 27, 78], Operations: ['12+66=78']
Exploring Operation: 31-27=4, Resulting Numbers: [78, 4]
Generated Node #0,0,0: 74:[78, 4] Operation: 31-27=4
Exploring Operation: 31+27=58, Resulting Numbers: [78, 58]
Generated Node #0,0,1: 74:[78, 58] Operation: 31+27=58
Exploring Operation: 78-31=47, Resulting Numbers: [27, 47]
Generated Node #0,0,2: 74:[27, 47] Operation: 78-31=47
Exploring Operation: 78-27=51, Resulting Numbers: [31, 51]
Generated Node #0,0,3: 74:[31, 51] Operation: 78-27=51
Moving to Node #0,1,1
Current State: 74:[39, 35], Operations: ['12+27=39', '66-31=35']
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[12, 66, 31, 27], Operations: []
Exploring Operation: 12+27=39, Resulting Numbers: [66, 31, 39]
Generated Node #0,1: 74:[66, 31, 39] Operation: 12+27=39
Moving to Node #0,1
Current State: 74:[66, 31, 39], Operations: ['12+27=39']
Exploring Operation: 66-31=35, Resulting Numbers: [39, 35]
Generated Node #0,1,1: 74:[39, 35] Operation: 66-31=35
Moving to Node #0,1,1
Current State: 74:[39, 35], Operations: ['12+27=39', '66-31=35']
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.967882 |
hs_4
|
sum_heuristic
|
[
51,
12,
95,
44
] | 100 |
[
"51-12=39",
"95+44=139",
"139-39=100"
] |
Current State: 100:[51, 12, 95, 44], Operations: []
Exploring Operation: 51-12=39, Resulting Numbers: [95, 44, 39]
Generated Node #2: [95, 44, 39] from Operation: 51-12=39
Current State: 100:[95, 44, 39], Operations: ['51-12=39']
Exploring Operation: 95+44=139, Resulting Numbers: [39, 139]
Generated Node #3: [39, 139] from Operation: 95+44=139
Current State: 100:[39, 139], Operations: ['51-12=39', '95+44=139']
Exploring Operation: 139-39=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[51, 12, 95, 44], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [51, 12, 51]
Generated Node #0,0: 100:[51, 12, 51] Operation: 95-44=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[51, 12, 51], Operations: ['95-44=51']
Exploring Operation: 51/51=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 100:[12, 1] Operation: 51/51=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[12, 1], Operations: ['95-44=51', '51/51=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
48,
14,
12,
95
] | 45 |
[
"48+14=62",
"12+95=107",
"107-62=45"
] |
Current State: 45:[48, 14, 12, 95], Operations: []
Exploring Operation: 48+14=62, Resulting Numbers: [12, 95, 62]
Generated Node #2: [12, 95, 62] from Operation: 48+14=62
Current State: 45:[12, 95, 62], Operations: ['48+14=62']
Exploring Operation: 12+95=107, Resulting Numbers: [62, 107]
Generated Node #3: [62, 107] from Operation: 12+95=107
Current State: 45:[62, 107], Operations: ['48+14=62', '12+95=107']
Exploring Operation: 107-62=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[48, 14, 12, 95], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [14, 95, 4]
Generated Node #0,0: 45:[14, 95, 4] Operation: 48/12=4
Exploring Operation: 95-14=81, Resulting Numbers: [48, 12, 81]
Generated Node #0,1: 45:[48, 12, 81] Operation: 95-14=81
Exploring Operation: 95-48=47, Resulting Numbers: [14, 12, 47]
Generated Node #0,2: 45:[14, 12, 47] Operation: 95-48=47
Exploring Operation: 95-12=83, Resulting Numbers: [48, 14, 83]
Generated Node #0,3: 45:[48, 14, 83] Operation: 95-12=83
Moving to Node #0,2
Current State: 45:[14, 12, 47], Operations: ['95-48=47']
Exploring Operation: 47-14=33, Resulting Numbers: [12, 33]
Generated Node #0,2,0: 45:[12, 33] Operation: 47-14=33
Exploring Operation: 14+12=26, Resulting Numbers: [47, 26]
Generated Node #0,2,1: 45:[47, 26] Operation: 14+12=26
Exploring Operation: 14-12=2, Resulting Numbers: [47, 2]
Generated Node #0,2,2: 45:[47, 2] Operation: 14-12=2
Exploring Operation: 47-12=35, Resulting Numbers: [14, 35]
Generated Node #0,2,3: 45:[14, 35] Operation: 47-12=35
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[47, 2], Operations: ['95-48=47', '14-12=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[48, 14, 12, 95], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [14, 12, 47]
Generated Node #0,2: 45:[14, 12, 47] Operation: 95-48=47
Moving to Node #0,2
Current State: 45:[14, 12, 47], Operations: ['95-48=47']
Exploring Operation: 14-12=2, Resulting Numbers: [47, 2]
Generated Node #0,2,2: 45:[47, 2] Operation: 14-12=2
Moving to Node #0,2,2
Current State: 45:[47, 2], Operations: ['95-48=47', '14-12=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
46,
60,
18,
93
] | 31 |
[
"46+60=106",
"93-18=75",
"106-75=31"
] |
Current State: 31:[46, 60, 18, 93], Operations: []
Exploring Operation: 46+60=106, Resulting Numbers: [18, 93, 106]
Generated Node #2: [18, 93, 106] from Operation: 46+60=106
Current State: 31:[18, 93, 106], Operations: ['46+60=106']
Exploring Operation: 93-18=75, Resulting Numbers: [106, 75]
Generated Node #3: [106, 75] from Operation: 93-18=75
Current State: 31:[106, 75], Operations: ['46+60=106', '93-18=75']
Exploring Operation: 106-75=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[46, 60, 18, 93], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [18, 93, 14]
Generated Node #0,0: 31:[18, 93, 14] Operation: 60-46=14
Exploring Operation: 93-46=47, Resulting Numbers: [60, 18, 47]
Generated Node #0,1: 31:[60, 18, 47] Operation: 93-46=47
Exploring Operation: 93-18=75, Resulting Numbers: [46, 60, 75]
Generated Node #0,2: 31:[46, 60, 75] Operation: 93-18=75
Exploring Operation: 60-18=42, Resulting Numbers: [46, 93, 42]
Generated Node #0,3: 31:[46, 93, 42] Operation: 60-18=42
Exploring Operation: 93-60=33, Resulting Numbers: [46, 18, 33]
Generated Node #0,4: 31:[46, 18, 33] Operation: 93-60=33
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[46, 18, 33], Operations: ['93-60=33']
Exploring Operation: 46+18=64, Resulting Numbers: [33, 64]
Generated Node #0,4,0: 31:[33, 64] Operation: 46+18=64
Exploring Operation: 46-18=28, Resulting Numbers: [33, 28]
Generated Node #0,4,1: 31:[33, 28] Operation: 46-18=28
Exploring Operation: 33-18=15, Resulting Numbers: [46, 15]
Generated Node #0,4,2: 31:[46, 15] Operation: 33-18=15
Exploring Operation: 18+33=51, Resulting Numbers: [46, 51]
Generated Node #0,4,3: 31:[46, 51] Operation: 18+33=51
Exploring Operation: 46-33=13, Resulting Numbers: [18, 13]
Generated Node #0,4,4: 31:[18, 13] Operation: 46-33=13
Moving to Node #0,4,1
Current State: 31:[33, 28], Operations: ['93-60=33', '46-18=28']
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,31 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[18, 13], Operations: ['93-60=33', '46-33=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[46, 60, 18, 93], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [46, 18, 33]
Generated Node #0,4: 31:[46, 18, 33] Operation: 93-60=33
Moving to Node #0,4
Current State: 31:[46, 18, 33], Operations: ['93-60=33']
Exploring Operation: 46-33=13, Resulting Numbers: [18, 13]
Generated Node #0,4,4: 31:[18, 13] Operation: 46-33=13
Moving to Node #0,4,4
Current State: 31:[18, 13], Operations: ['93-60=33', '46-33=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_5
|
sum_heuristic
|
[
84,
33,
82,
28
] | 38 |
[
"84-82=2",
"33*2=66",
"66-28=38"
] |
Current State: 38:[84, 33, 82, 28], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [33, 28, 2]
Generated Node #2: [33, 28, 2] from Operation: 84-82=2
Current State: 38:[33, 28, 2], Operations: ['84-82=2']
Exploring Operation: 33*2=66, Resulting Numbers: [28, 66]
Generated Node #3: [28, 66] from Operation: 33*2=66
Current State: 38:[28, 66], Operations: ['84-82=2', '33*2=66']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[84, 33, 82, 28], Operations: []
Exploring Operation: 82-33=49, Resulting Numbers: [84, 28, 49]
Generated Node #0,0: 38:[84, 28, 49] Operation: 82-33=49
Exploring Operation: 84-82=2, Resulting Numbers: [33, 28, 2]
Generated Node #0,1: 38:[33, 28, 2] Operation: 84-82=2
Exploring Operation: 84/28=3, Resulting Numbers: [33, 82, 3]
Generated Node #0,2: 38:[33, 82, 3] Operation: 84/28=3
Exploring Operation: 84-33=51, Resulting Numbers: [82, 28, 51]
Generated Node #0,3: 38:[82, 28, 51] Operation: 84-33=51
Exploring Operation: 84-28=56, Resulting Numbers: [33, 82, 56]
Generated Node #0,4: 38:[33, 82, 56] Operation: 84-28=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[33, 28, 2], Operations: ['84-82=2']
Exploring Operation: 28-2=26, Resulting Numbers: [33, 26]
Generated Node #0,1,0: 38:[33, 26] Operation: 28-2=26
Exploring Operation: 33+2=35, Resulting Numbers: [28, 35]
Generated Node #0,1,1: 38:[28, 35] Operation: 33+2=35
Exploring Operation: 33-28=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 38:[2, 5] Operation: 33-28=5
Exploring Operation: 28+2=30, Resulting Numbers: [33, 30]
Generated Node #0,1,3: 38:[33, 30] Operation: 28+2=30
Exploring Operation: 28/2=14, Resulting Numbers: [33, 14]
Generated Node #0,1,4: 38:[33, 14] Operation: 28/2=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[2, 5], Operations: ['84-82=2', '33-28=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No 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: 38:[33, 14], Operations: ['84-82=2', '28/2=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,38 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No 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: 38:[33, 26], Operations: ['84-82=2', '28-2=26']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,38 unequal: No Solution
No 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: 38:[28, 35], Operations: ['84-82=2', '33+2=35']
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,38 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,38 unequal: No Solution
No 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: 38:[33, 30], Operations: ['84-82=2', '28+2=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,38 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,38 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: 38:[33, 82, 3], Operations: ['84/28=3']
Exploring Operation: 82-33=49, Resulting Numbers: [3, 49]
Generated Node #0,2,0: 38:[3, 49] Operation: 82-33=49
Exploring Operation: 33-3=30, Resulting Numbers: [82, 30]
Generated Node #0,2,1: 38:[82, 30] Operation: 33-3=30
Exploring Operation: 82-3=79, Resulting Numbers: [33, 79]
Generated Node #0,2,2: 38:[33, 79] Operation: 82-3=79
Exploring Operation: 33+3=36, Resulting Numbers: [82, 36]
Generated Node #0,2,3: 38:[82, 36] Operation: 33+3=36
Exploring Operation: 33/3=11, Resulting Numbers: [82, 11]
Generated Node #0,2,4: 38:[82, 11] Operation: 33/3=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[3, 49], Operations: ['84/28=3', '82-33=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,38 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,38 unequal: No Solution
No 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: 38:[33, 79], Operations: ['84/28=3', '82-3=79']
Exploring Operation: 33+79=112, Resulting Numbers: [112]
112,38 unequal: No Solution
Exploring Operation: 33*79=2607, Resulting Numbers: [2607]
2607,38 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,38 unequal: No Solution
No 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: 38:[82, 36], Operations: ['84/28=3', '33+3=36']
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,38 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,38 unequal: No Solution
No 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: 38:[82, 30], Operations: ['84/28=3', '33-3=30']
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,38 unequal: No Solution
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,38 unequal: No Solution
No 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: 38:[82, 11], Operations: ['84/28=3', '33/3=11']
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,38 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,38 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,38 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: 38:[84, 28, 49], Operations: ['82-33=49']
Exploring Operation: 84-28=56, Resulting Numbers: [49, 56]
Generated Node #0,0,0: 38:[49, 56] Operation: 84-28=56
Exploring Operation: 49-28=21, Resulting Numbers: [84, 21]
Generated Node #0,0,1: 38:[84, 21] Operation: 49-28=21
Exploring Operation: 84+28=112, Resulting Numbers: [49, 112]
Generated Node #0,0,2: 38:[49, 112] Operation: 84+28=112
Exploring Operation: 84-49=35, Resulting Numbers: [28, 35]
Generated Node #0,0,3: 38:[28, 35] Operation: 84-49=35
Exploring Operation: 84/28=3, Resulting Numbers: [49, 3]
Generated Node #0,0,4: 38:[49, 3] Operation: 84/28=3
Moving to Node #0,0,3
Current State: 38:[28, 35], Operations: ['82-33=49', '84-49=35']
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,38 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[49, 3], Operations: ['82-33=49', '84/28=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,38 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[49, 56], Operations: ['82-33=49', '84-28=56']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[84, 21], Operations: ['82-33=49', '49-28=21']
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,38 unequal: No Solution
Exploring Operation: 84*21=1764, Resulting Numbers: [1764]
1764,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[49, 112], Operations: ['82-33=49', '84+28=112']
Exploring Operation: 49*112=5488, Resulting Numbers: [5488]
5488,38 unequal: No Solution
Exploring Operation: 112-49=63, Resulting Numbers: [63]
63,38 unequal: No Solution
Exploring Operation: 49+112=161, Resulting Numbers: [161]
161,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
Current State: 38:[82, 28, 51], Operations: ['84-33=51']
Exploring Operation: 82+28=110, Resulting Numbers: [51, 110]
Generated Node #0,3,0: 38:[51, 110] Operation: 82+28=110
Exploring Operation: 82-28=54, Resulting Numbers: [51, 54]
Generated Node #0,3,1: 38:[51, 54] Operation: 82-28=54
Exploring Operation: 28+51=79, Resulting Numbers: [82, 79]
Generated Node #0,3,2: 38:[82, 79] Operation: 28+51=79
Exploring Operation: 51-28=23, Resulting Numbers: [82, 23]
Generated Node #0,3,3: 38:[82, 23] Operation: 51-28=23
Exploring Operation: 82-51=31, Resulting Numbers: [28, 31]
Generated Node #0,3,4: 38:[28, 31] Operation: 82-51=31
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 38:[28, 31], Operations: ['84-33=51', '82-51=31']
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,38 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No 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: 38:[51, 54], Operations: ['84-33=51', '82-28=54']
Exploring Operation: 51+54=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 51*54=2754, Resulting Numbers: [2754]
2754,38 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No 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: 38:[82, 23], Operations: ['84-33=51', '51-28=23']
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,38 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[51, 110], Operations: ['84-33=51', '82+28=110']
Exploring Operation: 51+110=161, Resulting Numbers: [161]
161,38 unequal: No Solution
Exploring Operation: 51*110=5610, Resulting Numbers: [5610]
5610,38 unequal: No Solution
Exploring Operation: 110-51=59, Resulting Numbers: [59]
59,38 unequal: No Solution
No 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: 38:[82, 79], Operations: ['84-33=51', '28+51=79']
Exploring Operation: 82*79=6478, Resulting Numbers: [6478]
6478,38 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 82+79=161, Resulting Numbers: [161]
161,38 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: 38:[33, 82, 56], Operations: ['84-28=56']
Exploring Operation: 56-33=23, Resulting Numbers: [82, 23]
Generated Node #0,4,0: 38:[82, 23] Operation: 56-33=23
Exploring Operation: 33+56=89, Resulting Numbers: [82, 89]
Generated Node #0,4,1: 38:[82, 89] Operation: 33+56=89
Exploring Operation: 33+82=115, Resulting Numbers: [56, 115]
Generated Node #0,4,2: 38:[56, 115] Operation: 33+82=115
Exploring Operation: 82-56=26, Resulting Numbers: [33, 26]
Generated Node #0,4,3: 38:[33, 26] Operation: 82-56=26
Exploring Operation: 82-33=49, Resulting Numbers: [56, 49]
Generated Node #0,4,4: 38:[56, 49] Operation: 82-33=49
Moving to Node #0,4,3
Current State: 38:[33, 26], Operations: ['84-28=56', '82-56=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[56, 49], Operations: ['84-28=56', '82-33=49']
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 56*49=2744, Resulting Numbers: [2744]
2744,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[82, 23], Operations: ['84-28=56', '56-33=23']
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,38 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[82, 89], Operations: ['84-28=56', '33+56=89']
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 82+89=171, Resulting Numbers: [171]
171,38 unequal: No Solution
Exploring Operation: 82*89=7298, Resulting Numbers: [7298]
7298,38 unequal: No Solution
Moving to Node #0,4,2
Current State: 38:[56, 115], Operations: ['84-28=56', '33+82=115']
Exploring Operation: 56+115=171, Resulting Numbers: [171]
171,38 unequal: No Solution
Exploring Operation: 56*115=6440, Resulting Numbers: [6440]
6440,38 unequal: No Solution
Exploring Operation: 115-56=59, Resulting Numbers: [59]
59,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
73,
22,
50,
79
] | 79 |
[
"73-22=51",
"51-50=1",
"79*1=79"
] |
Current State: 79:[73, 22, 50, 79], Operations: []
Exploring Operation: 73-22=51, Resulting Numbers: [50, 79, 51]
Generated Node #2: [50, 79, 51] from Operation: 73-22=51
Current State: 79:[50, 79, 51], Operations: ['73-22=51']
Exploring Operation: 51-50=1, Resulting Numbers: [79, 1]
Generated Node #3: [79, 1] from Operation: 51-50=1
Current State: 79:[79, 1], Operations: ['73-22=51', '51-50=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[73, 22, 50, 79], Operations: []
Exploring Operation: 22+50=72, Resulting Numbers: [73, 79, 72]
Generated Node #0,0: 79:[73, 79, 72] Operation: 22+50=72
Moving to Node #0,0
Current State: 79:[73, 79, 72], Operations: ['22+50=72']
Exploring Operation: 73+72=145, Resulting Numbers: [79, 145]
Generated Node #0,0,0: 79:[79, 145] Operation: 73+72=145
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[79, 145], Operations: ['22+50=72', '73+72=145']
Exploring Operation: 145-79=66, Resulting Numbers: [66]
66,79 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
|
[
12,
39,
6,
36
] | 54 |
[
"39-12=27",
"36-27=9",
"6*9=54"
] |
Current State: 54:[12, 39, 6, 36], Operations: []
Exploring Operation: 39-12=27, Resulting Numbers: [6, 36, 27]
Generated Node #2: [6, 36, 27] from Operation: 39-12=27
Current State: 54:[6, 36, 27], Operations: ['39-12=27']
Exploring Operation: 36-27=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 36-27=9
Current State: 54:[6, 9], Operations: ['39-12=27', '36-27=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[12, 39, 6, 36], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [12, 6, 3]
Generated Node #0,0: 54:[12, 6, 3] Operation: 39-36=3
Exploring Operation: 36/12=3, Resulting Numbers: [39, 6, 3]
Generated Node #0,1: 54:[39, 6, 3] Operation: 36/12=3
Exploring Operation: 39-12=27, Resulting Numbers: [6, 36, 27]
Generated Node #0,2: 54:[6, 36, 27] Operation: 39-12=27
Exploring Operation: 12+39=51, Resulting Numbers: [6, 36, 51]
Generated Node #0,3: 54:[6, 36, 51] Operation: 12+39=51
Exploring Operation: 36-12=24, Resulting Numbers: [39, 6, 24]
Generated Node #0,4: 54:[39, 6, 24] Operation: 36-12=24
Moving to Node #0,0
Current State: 54:[12, 6, 3], Operations: ['39-36=3']
Exploring Operation: 12/6=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 54:[3, 2] Operation: 12/6=2
Exploring Operation: 12+6=18, Resulting Numbers: [3, 18]
Generated Node #0,0,1: 54:[3, 18] Operation: 12+6=18
Exploring Operation: 12/3=4, Resulting Numbers: [6, 4]
Generated Node #0,0,2: 54:[6, 4] Operation: 12/3=4
Exploring Operation: 12-6=6, Resulting Numbers: [3, 6]
Generated Node #0,0,3: 54:[3, 6] Operation: 12-6=6
Exploring Operation: 12-3=9, Resulting Numbers: [6, 9]
Generated Node #0,0,4: 54:[6, 9] Operation: 12-3=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[3, 2], Operations: ['39-36=3', '12/6=2']
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
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[3, 18], Operations: ['39-36=3', '12+6=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[12, 39, 6, 36], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [12, 6, 3]
Generated Node #0,0: 54:[12, 6, 3] Operation: 39-36=3
Moving to Node #0,0
Current State: 54:[12, 6, 3], Operations: ['39-36=3']
Exploring Operation: 12+6=18, Resulting Numbers: [3, 18]
Generated Node #0,0,1: 54:[3, 18] Operation: 12+6=18
Moving to Node #0,0,1
Current State: 54:[3, 18], Operations: ['39-36=3', '12+6=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
sum_heuristic
|
[
55,
62,
8,
94
] | 38 |
[
"62-55=7",
"8*7=56",
"94-56=38"
] |
Current State: 38:[55, 62, 8, 94], Operations: []
Exploring Operation: 62-55=7, Resulting Numbers: [8, 94, 7]
Generated Node #2: [8, 94, 7] from Operation: 62-55=7
Current State: 38:[8, 94, 7], Operations: ['62-55=7']
Exploring Operation: 8*7=56, Resulting Numbers: [94, 56]
Generated Node #3: [94, 56] from Operation: 8*7=56
Current State: 38:[94, 56], Operations: ['62-55=7', '8*7=56']
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[55, 62, 8, 94], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [55, 8, 32]
Generated Node #0,0: 38:[55, 8, 32] Operation: 94-62=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[55, 8, 32], Operations: ['94-62=32']
Exploring Operation: 55-32=23, Resulting Numbers: [8, 23]
Generated Node #0,0,0: 38:[8, 23] Operation: 55-32=23
Moving to Node #0,0,0
Current State: 38:[8, 23], Operations: ['94-62=32', '55-32=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,38 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
|
[
27,
27,
78,
91
] | 63 |
[
"27+27=54",
"91*54=4914",
"4914/78=63"
] |
Current State: 63:[27, 27, 78, 91], Operations: []
Exploring Operation: 27+27=54, Resulting Numbers: [78, 91, 54]
Generated Node #2: [78, 91, 54] from Operation: 27+27=54
Current State: 63:[78, 91, 54], Operations: ['27+27=54']
Exploring Operation: 91*54=4914, Resulting Numbers: [78, 4914]
Generated Node #3: [78, 4914] from Operation: 91*54=4914
Current State: 63:[78, 4914], Operations: ['27+27=54', '91*54=4914']
Exploring Operation: 4914/78=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[27, 27, 78, 91], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [27, 27, 13]
Generated Node #0,0: 63:[27, 27, 13] Operation: 91-78=13
Exploring Operation: 91-27=64, Resulting Numbers: [27, 78, 64]
Generated Node #0,1: 63:[27, 78, 64] Operation: 91-27=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[27, 27, 13], Operations: ['91-78=13']
Exploring Operation: 27-27=0, Resulting Numbers: [13, 0]
Generated Node #0,0,0: 63:[13, 0] Operation: 27-27=0
Exploring Operation: 27/27=1, Resulting Numbers: [13, 1]
Generated Node #0,0,1: 63:[13, 1] Operation: 27/27=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[13, 1], Operations: ['91-78=13', '27/27=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,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:[13, 0], Operations: ['91-78=13', '27-27=0']
Exploring Operation: 13*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 13+0=13, Resulting Numbers: [13]
13,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:[27, 78, 64], Operations: ['91-27=64']
Exploring Operation: 78-64=14, Resulting Numbers: [27, 14]
Generated Node #0,1,0: 63:[27, 14] Operation: 78-64=14
Exploring Operation: 78-27=51, Resulting Numbers: [64, 51]
Generated Node #0,1,1: 63:[64, 51] Operation: 78-27=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[27, 14], Operations: ['91-27=64', '78-64=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[64, 51], Operations: ['91-27=64', '78-27=51']
Exploring Operation: 64+51=115, Resulting Numbers: [115]
115,63 unequal: No Solution
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,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_2
|
mult_heuristic
|
[
27,
63,
20,
1
] | 10 |
[
"27-20=7",
"63/7=9",
"1+9=10"
] |
Current State: 10:[27, 63, 20, 1], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [63, 1, 7]
Generated Node #2: [63, 1, 7] from Operation: 27-20=7
Current State: 10:[63, 1, 7], Operations: ['27-20=7']
Exploring Operation: 63/7=9, Resulting Numbers: [1, 9]
Generated Node #3: [1, 9] from Operation: 63/7=9
Current State: 10:[1, 9], Operations: ['27-20=7', '63/7=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[27, 63, 20, 1], Operations: []
Exploring Operation: 63-20=43, Resulting Numbers: [27, 1, 43]
Generated Node #0,0: 10:[27, 1, 43] Operation: 63-20=43
Exploring Operation: 63-27=36, Resulting Numbers: [20, 1, 36]
Generated Node #0,1: 10:[20, 1, 36] Operation: 63-27=36
Moving to Node #0,1
Current State: 10:[20, 1, 36], Operations: ['63-27=36']
Exploring Operation: 20-1=19, Resulting Numbers: [36, 19]
Generated Node #0,1,0: 10:[36, 19] Operation: 20-1=19
Exploring Operation: 36-20=16, Resulting Numbers: [1, 16]
Generated Node #0,1,1: 10:[1, 16] Operation: 36-20=16
Moving to Node #0,0
Current State: 10:[27, 1, 43], Operations: ['63-20=43']
Exploring Operation: 27-1=26, Resulting Numbers: [43, 26]
Generated Node #0,0,0: 10:[43, 26] Operation: 27-1=26
Exploring Operation: 43-27=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 10:[1, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[1, 16], Operations: ['63-20=43', '43-27=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[43, 26], Operations: ['63-20=43', '27-1=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 10:[1, 16], Operations: ['63-27=36', '36-20=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[36, 19], Operations: ['63-27=36', '20-1=19']
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
64,
67,
71,
3
] | 70 |
[
"67-64=3",
"3/3=1",
"71-1=70"
] |
Current State: 70:[64, 67, 71, 3], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [71, 3, 3]
Generated Node #2: [71, 3, 3] from Operation: 67-64=3
Current State: 70:[71, 3, 3], Operations: ['67-64=3']
Exploring Operation: 3/3=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 3/3=1
Current State: 70:[71, 1], Operations: ['67-64=3', '3/3=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[64, 67, 71, 3], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [71, 3, 3]
Generated Node #0,0: 70:[71, 3, 3] Operation: 67-64=3
Exploring Operation: 71-64=7, Resulting Numbers: [67, 3, 7]
Generated Node #0,1: 70:[67, 3, 7] Operation: 71-64=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[71, 3, 3], Operations: ['67-64=3']
Exploring Operation: 3+3=6, Resulting Numbers: [71, 6]
Generated Node #0,0,0: 70:[71, 6] Operation: 3+3=6
Exploring Operation: 3*3=9, Resulting Numbers: [71, 9]
Generated Node #0,0,1: 70:[71, 9] Operation: 3*3=9
Moving to Node #0,0,0
Current State: 70:[71, 6], Operations: ['67-64=3', '3+3=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[71, 9], Operations: ['67-64=3', '3*3=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,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,1
Current State: 70:[67, 3, 7], Operations: ['71-64=7']
Exploring Operation: 3+7=10, Resulting Numbers: [67, 10]
Generated Node #0,1,0: 70:[67, 10] Operation: 3+7=10
Exploring Operation: 67+3=70, Resulting Numbers: [7, 70]
Generated Node #0,1,1: 70:[7, 70] Operation: 67+3=70
Moving to Node #0,1,1
Current State: 70:[7, 70], Operations: ['71-64=7', '67+3=70']
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[67, 10], Operations: ['71-64=7', '3+7=10']
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
36,
12,
75,
84
] | 85 |
[
"36+84=120",
"120/12=10",
"75+10=85"
] |
Current State: 85:[36, 12, 75, 84], Operations: []
Exploring Operation: 36+84=120, Resulting Numbers: [12, 75, 120]
Generated Node #2: [12, 75, 120] from Operation: 36+84=120
Current State: 85:[12, 75, 120], Operations: ['36+84=120']
Exploring Operation: 120/12=10, Resulting Numbers: [75, 10]
Generated Node #3: [75, 10] from Operation: 120/12=10
Current State: 85:[75, 10], Operations: ['36+84=120', '120/12=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[36, 12, 75, 84], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [75, 84, 3]
Generated Node #0,0: 85:[75, 84, 3] Operation: 36/12=3
Exploring Operation: 75-36=39, Resulting Numbers: [12, 84, 39]
Generated Node #0,1: 85:[12, 84, 39] Operation: 75-36=39
Exploring Operation: 36-12=24, Resulting Numbers: [75, 84, 24]
Generated Node #0,2: 85:[75, 84, 24] Operation: 36-12=24
Exploring Operation: 12+75=87, Resulting Numbers: [36, 84, 87]
Generated Node #0,3: 85:[36, 84, 87] Operation: 12+75=87
Moving to Node #0,0
Current State: 85:[75, 84, 3], Operations: ['36/12=3']
Exploring Operation: 75+3=78, Resulting Numbers: [84, 78]
Generated Node #0,0,0: 85:[84, 78] Operation: 75+3=78
Exploring Operation: 84+3=87, Resulting Numbers: [75, 87]
Generated Node #0,0,1: 85:[75, 87] Operation: 84+3=87
Exploring Operation: 84-75=9, Resulting Numbers: [3, 9]
Generated Node #0,0,2: 85:[3, 9] Operation: 84-75=9
Exploring Operation: 75/3=25, Resulting Numbers: [84, 25]
Generated Node #0,0,3: 85:[84, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[3, 9], Operations: ['36/12=3', '84-75=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[84, 78], Operations: ['36/12=3', '75+3=78']
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,85 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,85 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[84, 25], Operations: ['36/12=3', '75/3=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[75, 87], Operations: ['36/12=3', '84+3=87']
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 75*87=6525, Resulting Numbers: [6525]
6525,85 unequal: No Solution
Exploring Operation: 75+87=162, Resulting Numbers: [162]
162,85 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: 85:[75, 84, 24], Operations: ['36-12=24']
Exploring Operation: 84-75=9, Resulting Numbers: [24, 9]
Generated Node #0,2,0: 85:[24, 9] Operation: 84-75=9
Exploring Operation: 75+24=99, Resulting Numbers: [84, 99]
Generated Node #0,2,1: 85:[84, 99] Operation: 75+24=99
Exploring Operation: 84+24=108, Resulting Numbers: [75, 108]
Generated Node #0,2,2: 85:[75, 108] Operation: 84+24=108
Exploring Operation: 75-24=51, Resulting Numbers: [84, 51]
Generated Node #0,2,3: 85:[84, 51] Operation: 75-24=51
Moving to Node #0,3
Current State: 85:[36, 84, 87], Operations: ['12+75=87']
Exploring Operation: 87-84=3, Resulting Numbers: [36, 3]
Generated Node #0,3,0: 85:[36, 3] Operation: 87-84=3
Exploring Operation: 84-36=48, Resulting Numbers: [87, 48]
Generated Node #0,3,1: 85:[87, 48] Operation: 84-36=48
Exploring Operation: 36+84=120, Resulting Numbers: [87, 120]
Generated Node #0,3,2: 85:[87, 120] Operation: 36+84=120
Exploring Operation: 87-36=51, Resulting Numbers: [84, 51]
Generated Node #0,3,3: 85:[84, 51] Operation: 87-36=51
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[36, 3], Operations: ['12+75=87', '87-84=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[87, 48], Operations: ['12+75=87', '84-36=48']
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,85 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[84, 51], Operations: ['12+75=87', '87-36=51']
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,85 unequal: No Solution
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,85 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[87, 120], Operations: ['12+75=87', '36+84=120']
Exploring Operation: 87*120=10440, Resulting Numbers: [10440]
10440,85 unequal: No Solution
Exploring Operation: 120-87=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 87+120=207, Resulting Numbers: [207]
207,85 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: 85:[12, 84, 39], Operations: ['75-36=39']
Exploring Operation: 12+84=96, Resulting Numbers: [39, 96]
Generated Node #0,1,0: 85:[39, 96] Operation: 12+84=96
Exploring Operation: 39-12=27, Resulting Numbers: [84, 27]
Generated Node #0,1,1: 85:[84, 27] Operation: 39-12=27
Exploring Operation: 84/12=7, Resulting Numbers: [39, 7]
Generated Node #0,1,2: 85:[39, 7] Operation: 84/12=7
Exploring Operation: 84-39=45, Resulting Numbers: [12, 45]
Generated Node #0,1,3: 85:[12, 45] Operation: 84-39=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[84, 27], Operations: ['75-36=39', '39-12=27']
Exploring Operation: 84+27=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 84*27=2268, Resulting Numbers: [2268]
2268,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[39, 7], Operations: ['75-36=39', '84/12=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,85 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[39, 96], Operations: ['75-36=39', '12+84=96']
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,85 unequal: No Solution
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,85 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[12, 45], Operations: ['75-36=39', '84-39=45']
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,85 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 85:[24, 9], Operations: ['36-12=24', '84-75=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,85 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[84, 99], Operations: ['36-12=24', '75+24=99']
Exploring Operation: 84*99=8316, Resulting Numbers: [8316]
8316,85 unequal: No Solution
Exploring Operation: 84+99=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[75, 108], Operations: ['36-12=24', '84+24=108']
Exploring Operation: 75*108=8100, Resulting Numbers: [8100]
8100,85 unequal: No Solution
Exploring Operation: 75+108=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[84, 51], Operations: ['36-12=24', '75-24=51']
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,85 unequal: No Solution
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,85 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,85 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
50,
58,
35,
66
] | 37 |
[
"50+66=116",
"116/58=2",
"35+2=37"
] |
Current State: 37:[50, 58, 35, 66], Operations: []
Exploring Operation: 50+66=116, Resulting Numbers: [58, 35, 116]
Generated Node #2: [58, 35, 116] from Operation: 50+66=116
Current State: 37:[58, 35, 116], Operations: ['50+66=116']
Exploring Operation: 116/58=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 116/58=2
Current State: 37:[35, 2], Operations: ['50+66=116', '116/58=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[50, 58, 35, 66], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [50, 58, 31]
Generated Node #0,0: 37:[50, 58, 31] Operation: 66-35=31
Moving to Node #0,0
Current State: 37:[50, 58, 31], Operations: ['66-35=31']
Exploring Operation: 58-31=27, Resulting Numbers: [50, 27]
Generated Node #0,0,0: 37:[50, 27] Operation: 58-31=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[50, 27], Operations: ['66-35=31', '58-31=27']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,37 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
|
[
62,
6,
25,
7
] | 88 |
[
"62-6=56",
"25+7=32",
"56+32=88"
] |
Current State: 88:[62, 6, 25, 7], Operations: []
Exploring Operation: 62-6=56, Resulting Numbers: [25, 7, 56]
Generated Node #2: [25, 7, 56] from Operation: 62-6=56
Current State: 88:[25, 7, 56], Operations: ['62-6=56']
Exploring Operation: 25+7=32, Resulting Numbers: [56, 32]
Generated Node #3: [56, 32] from Operation: 25+7=32
Current State: 88:[56, 32], Operations: ['62-6=56', '25+7=32']
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[62, 6, 25, 7], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [6, 7, 37]
Generated Node #0,0: 88:[6, 7, 37] Operation: 62-25=37
Exploring Operation: 62+25=87, Resulting Numbers: [6, 7, 87]
Generated Node #0,1: 88:[6, 7, 87] Operation: 62+25=87
Exploring Operation: 62-6=56, Resulting Numbers: [25, 7, 56]
Generated Node #0,2: 88:[25, 7, 56] Operation: 62-6=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[6, 7, 87], Operations: ['62+25=87']
Exploring Operation: 7-6=1, Resulting Numbers: [87, 1]
Generated Node #0,1,0: 88:[87, 1] Operation: 7-6=1
Exploring Operation: 6+7=13, Resulting Numbers: [87, 13]
Generated Node #0,1,1: 88:[87, 13] Operation: 6+7=13
Exploring Operation: 6*7=42, Resulting Numbers: [87, 42]
Generated Node #0,1,2: 88:[87, 42] Operation: 6*7=42
Moving to Node #0,1,0
Current State: 88:[87, 1], Operations: ['62+25=87', '7-6=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[62, 6, 25, 7], Operations: []
Exploring Operation: 62+25=87, Resulting Numbers: [6, 7, 87]
Generated Node #0,1: 88:[6, 7, 87] Operation: 62+25=87
Moving to Node #0,1
Current State: 88:[6, 7, 87], Operations: ['62+25=87']
Exploring Operation: 7-6=1, Resulting Numbers: [87, 1]
Generated Node #0,1,0: 88:[87, 1] Operation: 7-6=1
Moving to Node #0,1,0
Current State: 88:[87, 1], Operations: ['62+25=87', '7-6=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
48,
99,
2,
16
] | 83 |
[
"99-48=51",
"2*16=32",
"51+32=83"
] |
Current State: 83:[48, 99, 2, 16], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [2, 16, 51]
Generated Node #2: [2, 16, 51] from Operation: 99-48=51
Current State: 83:[2, 16, 51], Operations: ['99-48=51']
Exploring Operation: 2*16=32, Resulting Numbers: [51, 32]
Generated Node #3: [51, 32] from Operation: 2*16=32
Current State: 83:[51, 32], Operations: ['99-48=51', '2*16=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[48, 99, 2, 16], Operations: []
Exploring Operation: 48*2=96, Resulting Numbers: [99, 16, 96]
Generated Node #0,0: 83:[99, 16, 96] Operation: 48*2=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[99, 16, 96], Operations: ['48*2=96']
Exploring Operation: 99-16=83, Resulting Numbers: [96, 83]
Generated Node #0,0,0: 83:[96, 83] Operation: 99-16=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[96, 83], Operations: ['48*2=96', '99-16=83']
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,83 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
|
[
10,
45,
56,
44
] | 43 |
[
"10+45=55",
"56-44=12",
"55-12=43"
] |
Current State: 43:[10, 45, 56, 44], Operations: []
Exploring Operation: 10+45=55, Resulting Numbers: [56, 44, 55]
Generated Node #2: [56, 44, 55] from Operation: 10+45=55
Current State: 43:[56, 44, 55], Operations: ['10+45=55']
Exploring Operation: 56-44=12, Resulting Numbers: [55, 12]
Generated Node #3: [55, 12] from Operation: 56-44=12
Current State: 43:[55, 12], Operations: ['10+45=55', '56-44=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[10, 45, 56, 44], Operations: []
Exploring Operation: 10+45=55, Resulting Numbers: [56, 44, 55]
Generated Node #0,0: 43:[56, 44, 55] Operation: 10+45=55
Exploring Operation: 44-10=34, Resulting Numbers: [45, 56, 34]
Generated Node #0,1: 43:[45, 56, 34] Operation: 44-10=34
Exploring Operation: 56-10=46, Resulting Numbers: [45, 44, 46]
Generated Node #0,2: 43:[45, 44, 46] Operation: 56-10=46
Exploring Operation: 45-10=35, Resulting Numbers: [56, 44, 35]
Generated Node #0,3: 43:[56, 44, 35] Operation: 45-10=35
Moving to Node #0,2
Current State: 43:[45, 44, 46], Operations: ['56-10=46']
Exploring Operation: 46-45=1, Resulting Numbers: [44, 1]
Generated Node #0,2,0: 43:[44, 1] Operation: 46-45=1
Exploring Operation: 46-44=2, Resulting Numbers: [45, 2]
Generated Node #0,2,1: 43:[45, 2] Operation: 46-44=2
Exploring Operation: 45-44=1, Resulting Numbers: [46, 1]
Generated Node #0,2,2: 43:[46, 1] Operation: 45-44=1
Exploring Operation: 45+44=89, Resulting Numbers: [46, 89]
Generated Node #0,2,3: 43:[46, 89] Operation: 45+44=89
Moving to Node #0,3
Current State: 43:[56, 44, 35], Operations: ['45-10=35']
Exploring Operation: 56+35=91, Resulting Numbers: [44, 91]
Generated Node #0,3,0: 43:[44, 91] Operation: 56+35=91
Exploring Operation: 56-44=12, Resulting Numbers: [35, 12]
Generated Node #0,3,1: 43:[35, 12] Operation: 56-44=12
Exploring Operation: 56-35=21, Resulting Numbers: [44, 21]
Generated Node #0,3,2: 43:[44, 21] Operation: 56-35=21
Exploring Operation: 44-35=9, Resulting Numbers: [56, 9]
Generated Node #0,3,3: 43:[56, 9] Operation: 44-35=9
Moving to Node #0,1
Current State: 43:[45, 56, 34], Operations: ['44-10=34']
Exploring Operation: 45+34=79, Resulting Numbers: [56, 79]
Generated Node #0,1,0: 43:[56, 79] Operation: 45+34=79
Exploring Operation: 56-45=11, Resulting Numbers: [34, 11]
Generated Node #0,1,1: 43:[34, 11] Operation: 56-45=11
Exploring Operation: 45-34=11, Resulting Numbers: [56, 11]
Generated Node #0,1,2: 43:[56, 11] Operation: 45-34=11
Exploring Operation: 56-34=22, Resulting Numbers: [45, 22]
Generated Node #0,1,3: 43:[45, 22] Operation: 56-34=22
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[45, 22], Operations: ['44-10=34', '56-34=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,43 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[34, 11], Operations: ['44-10=34', '56-45=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[56, 11], Operations: ['44-10=34', '45-34=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,43 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[56, 79], Operations: ['44-10=34', '45+34=79']
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,43 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,43 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: 43:[56, 44, 55], Operations: ['10+45=55']
Exploring Operation: 56+44=100, Resulting Numbers: [55, 100]
Generated Node #0,0,0: 43:[55, 100] Operation: 56+44=100
Exploring Operation: 56-55=1, Resulting Numbers: [44, 1]
Generated Node #0,0,1: 43:[44, 1] Operation: 56-55=1
Exploring Operation: 56-44=12, Resulting Numbers: [55, 12]
Generated Node #0,0,2: 43:[55, 12] Operation: 56-44=12
Exploring Operation: 55-44=11, Resulting Numbers: [56, 11]
Generated Node #0,0,3: 43:[56, 11] Operation: 55-44=11
Moving to Node #0,3,2
Current State: 43:[44, 21], Operations: ['45-10=35', '56-35=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,43 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[35, 12], Operations: ['45-10=35', '56-44=12']
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,43 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[44, 1], Operations: ['56-10=46', '46-45=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[10, 45, 56, 44], Operations: []
Exploring Operation: 56-10=46, Resulting Numbers: [45, 44, 46]
Generated Node #0,2: 43:[45, 44, 46] Operation: 56-10=46
Moving to Node #0,2
Current State: 43:[45, 44, 46], Operations: ['56-10=46']
Exploring Operation: 46-45=1, Resulting Numbers: [44, 1]
Generated Node #0,2,0: 43:[44, 1] Operation: 46-45=1
Moving to Node #0,2,0
Current State: 43:[44, 1], Operations: ['56-10=46', '46-45=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.960069 |
hs_4
|
sum_heuristic
|
[
4,
14,
36,
46
] | 48 |
[
"4+14=18",
"36/18=2",
"46+2=48"
] |
Current State: 48:[4, 14, 36, 46], Operations: []
Exploring Operation: 4+14=18, Resulting Numbers: [36, 46, 18]
Generated Node #2: [36, 46, 18] from Operation: 4+14=18
Current State: 48:[36, 46, 18], Operations: ['4+14=18']
Exploring Operation: 36/18=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 36/18=2
Current State: 48:[46, 2], Operations: ['4+14=18', '36/18=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[4, 14, 36, 46], Operations: []
Exploring Operation: 36-14=22, Resulting Numbers: [4, 46, 22]
Generated Node #0,0: 48:[4, 46, 22] Operation: 36-14=22
Exploring Operation: 14+36=50, Resulting Numbers: [4, 46, 50]
Generated Node #0,1: 48:[4, 46, 50] Operation: 14+36=50
Exploring Operation: 46-36=10, Resulting Numbers: [4, 14, 10]
Generated Node #0,2: 48:[4, 14, 10] Operation: 46-36=10
Moving to Node #0,0
Current State: 48:[4, 46, 22], Operations: ['36-14=22']
Exploring Operation: 46-22=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 48:[4, 24] Operation: 46-22=24
Exploring Operation: 4+46=50, Resulting Numbers: [22, 50]
Generated Node #0,0,1: 48:[22, 50] Operation: 4+46=50
Exploring Operation: 4+22=26, Resulting Numbers: [46, 26]
Generated Node #0,0,2: 48:[46, 26] Operation: 4+22=26
Moving to Node #0,1
Current State: 48:[4, 46, 50], Operations: ['14+36=50']
Exploring Operation: 4+46=50, Resulting Numbers: [50, 50]
Generated Node #0,1,0: 48:[50, 50] Operation: 4+46=50
Exploring Operation: 50-46=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 48:[4, 4] Operation: 50-46=4
Exploring Operation: 50-4=46, Resulting Numbers: [46, 46]
Generated Node #0,1,2: 48:[46, 46] Operation: 50-4=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[4, 4], Operations: ['14+36=50', '50-46=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[50, 50], Operations: ['14+36=50', '4+46=50']
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 50/50=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[46, 46], Operations: ['14+36=50', '50-4=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 48:[4, 14, 10], Operations: ['46-36=10']
Exploring Operation: 14+10=24, Resulting Numbers: [4, 24]
Generated Node #0,2,0: 48:[4, 24] Operation: 14+10=24
Exploring Operation: 10-4=6, Resulting Numbers: [14, 6]
Generated Node #0,2,1: 48:[14, 6] Operation: 10-4=6
Exploring Operation: 14-10=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 48:[4, 4] Operation: 14-10=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[4, 24], Operations: ['46-36=10', '14+10=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[4, 4], Operations: ['46-36=10', '14-10=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[14, 6], Operations: ['46-36=10', '10-4=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 48:[4, 24], Operations: ['36-14=22', '46-22=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[22, 50], Operations: ['36-14=22', '4+46=50']
Exploring Operation: 22*50=1100, Resulting Numbers: [1100]
1100,48 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[46, 26], Operations: ['36-14=22', '4+22=26']
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,48 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,48 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
55,
86,
55,
10
] | 97 |
[
"55+55=110",
"110/10=11",
"86+11=97"
] |
Current State: 97:[55, 86, 55, 10], Operations: []
Exploring Operation: 55+55=110, Resulting Numbers: [86, 10, 110]
Generated Node #2: [86, 10, 110] from Operation: 55+55=110
Current State: 97:[86, 10, 110], Operations: ['55+55=110']
Exploring Operation: 110/10=11, Resulting Numbers: [86, 11]
Generated Node #3: [86, 11] from Operation: 110/10=11
Current State: 97:[86, 11], Operations: ['55+55=110', '110/10=11']
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[55, 86, 55, 10], Operations: []
Exploring Operation: 55+10=65, Resulting Numbers: [55, 86, 65]
Generated Node #0,0: 97:[55, 86, 65] Operation: 55+10=65
Exploring Operation: 55+10=65, Resulting Numbers: [86, 55, 65]
Generated Node #0,1: 97:[86, 55, 65] Operation: 55+10=65
Exploring Operation: 86+10=96, Resulting Numbers: [55, 55, 96]
Generated Node #0,2: 97:[55, 55, 96] Operation: 86+10=96
Moving to Node #0,0
Current State: 97:[55, 86, 65], Operations: ['55+10=65']
Exploring Operation: 86+65=151, Resulting Numbers: [55, 151]
Generated Node #0,0,0: 97:[55, 151] Operation: 86+65=151
Exploring Operation: 55+86=141, Resulting Numbers: [65, 141]
Generated Node #0,0,1: 97:[65, 141] Operation: 55+86=141
Exploring Operation: 55+65=120, Resulting Numbers: [86, 120]
Generated Node #0,0,2: 97:[86, 120] Operation: 55+65=120
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[86, 120], Operations: ['55+10=65', '55+65=120']
Exploring Operation: 120-86=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 86*120=10320, Resulting Numbers: [10320]
10320,97 unequal: No Solution
Exploring Operation: 86+120=206, Resulting Numbers: [206]
206,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:[65, 141], Operations: ['55+10=65', '55+86=141']
Exploring Operation: 65*141=9165, Resulting Numbers: [9165]
9165,97 unequal: No Solution
Exploring Operation: 65+141=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 141-65=76, Resulting Numbers: [76]
76,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[55, 151], Operations: ['55+10=65', '86+65=151']
Exploring Operation: 55*151=8305, Resulting Numbers: [8305]
8305,97 unequal: No Solution
Exploring Operation: 151-55=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 55+151=206, Resulting Numbers: [206]
206,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:[86, 55, 65], Operations: ['55+10=65']
Exploring Operation: 86+65=151, Resulting Numbers: [55, 151]
Generated Node #0,1,0: 97:[55, 151] Operation: 86+65=151
Exploring Operation: 55+65=120, Resulting Numbers: [86, 120]
Generated Node #0,1,1: 97:[86, 120] Operation: 55+65=120
Exploring Operation: 86+55=141, Resulting Numbers: [65, 141]
Generated Node #0,1,2: 97:[65, 141] Operation: 86+55=141
Moving to Node #0,2
Current State: 97:[55, 55, 96], Operations: ['86+10=96']
Exploring Operation: 55+55=110, Resulting Numbers: [96, 110]
Generated Node #0,2,0: 97:[96, 110] Operation: 55+55=110
Exploring Operation: 55+96=151, Resulting Numbers: [55, 151]
Generated Node #0,2,1: 97:[55, 151] Operation: 55+96=151
Exploring Operation: 55+96=151, Resulting Numbers: [55, 151]
Generated Node #0,2,2: 97:[55, 151] Operation: 55+96=151
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[96, 110], Operations: ['86+10=96', '55+55=110']
Exploring Operation: 110-96=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 96+110=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 96*110=10560, Resulting Numbers: [10560]
10560,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,2,1
Current State: 97:[55, 151], Operations: ['86+10=96', '55+96=151']
Exploring Operation: 151-55=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 55+151=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 55*151=8305, Resulting Numbers: [8305]
8305,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,2,2
Current State: 97:[55, 151], Operations: ['86+10=96', '55+96=151']
Exploring Operation: 55*151=8305, Resulting Numbers: [8305]
8305,97 unequal: No Solution
Exploring Operation: 151-55=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 55+151=206, Resulting Numbers: [206]
206,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 97:[86, 120], Operations: ['55+10=65', '55+65=120']
Exploring Operation: 86+120=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 86*120=10320, Resulting Numbers: [10320]
10320,97 unequal: No Solution
Exploring Operation: 120-86=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[65, 141], Operations: ['55+10=65', '86+55=141']
Exploring Operation: 141-65=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 65*141=9165, Resulting Numbers: [9165]
9165,97 unequal: No Solution
Exploring Operation: 65+141=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[55, 151], Operations: ['55+10=65', '86+65=151']
Exploring Operation: 55+151=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 55*151=8305, Resulting Numbers: [8305]
8305,97 unequal: No Solution
Exploring Operation: 151-55=96, Resulting Numbers: [96]
96,97 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
40,
13,
88,
33
] | 82 |
[
"40-13=27",
"88-33=55",
"27+55=82"
] |
Current State: 82:[40, 13, 88, 33], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [88, 33, 27]
Generated Node #2: [88, 33, 27] from Operation: 40-13=27
Current State: 82:[88, 33, 27], Operations: ['40-13=27']
Exploring Operation: 88-33=55, Resulting Numbers: [27, 55]
Generated Node #3: [27, 55] from Operation: 88-33=55
Current State: 82:[27, 55], Operations: ['40-13=27', '88-33=55']
Exploring Operation: 27+55=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[40, 13, 88, 33], Operations: []
Exploring Operation: 13+33=46, Resulting Numbers: [40, 88, 46]
Generated Node #0,0: 82:[40, 88, 46] Operation: 13+33=46
Exploring Operation: 33-13=20, Resulting Numbers: [40, 88, 20]
Generated Node #0,1: 82:[40, 88, 20] Operation: 33-13=20
Exploring Operation: 88-13=75, Resulting Numbers: [40, 33, 75]
Generated Node #0,2: 82:[40, 33, 75] Operation: 88-13=75
Exploring Operation: 40-33=7, Resulting Numbers: [13, 88, 7]
Generated Node #0,3: 82:[13, 88, 7] Operation: 40-33=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[40, 88, 46], Operations: ['13+33=46']
Exploring Operation: 88-46=42, Resulting Numbers: [40, 42]
Generated Node #0,0,0: 82:[40, 42] Operation: 88-46=42
Exploring Operation: 88-40=48, Resulting Numbers: [46, 48]
Generated Node #0,0,1: 82:[46, 48] Operation: 88-40=48
Exploring Operation: 40+46=86, Resulting Numbers: [88, 86]
Generated Node #0,0,2: 82:[88, 86] Operation: 40+46=86
Exploring Operation: 46-40=6, Resulting Numbers: [88, 6]
Generated Node #0,0,3: 82:[88, 6] Operation: 46-40=6
Moving to Node #0,0,0
Current State: 82:[40, 42], Operations: ['13+33=46', '88-46=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[40, 13, 88, 33], Operations: []
Exploring Operation: 13+33=46, Resulting Numbers: [40, 88, 46]
Generated Node #0,0: 82:[40, 88, 46] Operation: 13+33=46
Moving to Node #0,0
Current State: 82:[40, 88, 46], Operations: ['13+33=46']
Exploring Operation: 88-46=42, Resulting Numbers: [40, 42]
Generated Node #0,0,0: 82:[40, 42] Operation: 88-46=42
Moving to Node #0,0,0
Current State: 82:[40, 42], Operations: ['13+33=46', '88-46=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
26,
45,
71,
26
] | 78 |
[
"45-26=19",
"71+26=97",
"97-19=78"
] |
Current State: 78:[26, 45, 71, 26], Operations: []
Exploring Operation: 45-26=19, Resulting Numbers: [71, 19]
Generated Node #2: [71, 19] from Operation: 45-26=19
Current State: 78:[71, 19], Operations: ['45-26=19']
Exploring Operation: 71+26=97, Resulting Numbers: [19, 97]
Generated Node #3: [19, 97] from Operation: 71+26=97
Current State: 78:[19, 97], Operations: ['45-26=19', '71+26=97']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[26, 45, 71, 26], Operations: []
Exploring Operation: 45-26=19, Resulting Numbers: [71, 26, 19]
Generated Node #0,0: 78:[71, 26, 19] Operation: 45-26=19
Exploring Operation: 71-26=45, Resulting Numbers: [45, 26, 45]
Generated Node #0,1: 78:[45, 26, 45] Operation: 71-26=45
Exploring Operation: 71-45=26, Resulting Numbers: [26, 26, 26]
Generated Node #0,2: 78:[26, 26, 26] Operation: 71-45=26
Exploring Operation: 71-26=45, Resulting Numbers: [26, 45, 45]
Generated Node #0,3: 78:[26, 45, 45] Operation: 71-26=45
Moving to Node #0,2
Current State: 78:[26, 26, 26], Operations: ['71-45=26']
Exploring Operation: 26-26=0, Resulting Numbers: [26, 0]
Generated Node #0,2,0: 78:[26, 0] Operation: 26-26=0
Exploring Operation: 26/26=1, Resulting Numbers: [26, 1]
Generated Node #0,2,1: 78:[26, 1] Operation: 26/26=1
Exploring Operation: 26/26=1, Resulting Numbers: [26, 1]
Generated Node #0,2,2: 78:[26, 1] Operation: 26/26=1
Exploring Operation: 26/26=1, Resulting Numbers: [26, 1]
Generated Node #0,2,3: 78:[26, 1] Operation: 26/26=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[26, 1], Operations: ['71-45=26', '26/26=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,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:[26, 1], Operations: ['71-45=26', '26/26=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,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:[26, 1], Operations: ['71-45=26', '26/26=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,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:[26, 0], Operations: ['71-45=26', '26-26=0']
Exploring Operation: 26*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,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:[26, 45, 45], Operations: ['71-26=45']
Exploring Operation: 45-26=19, Resulting Numbers: [45, 19]
Generated Node #0,3,0: 78:[45, 19] Operation: 45-26=19
Exploring Operation: 45-26=19, Resulting Numbers: [45, 19]
Generated Node #0,3,1: 78:[45, 19] Operation: 45-26=19
Exploring Operation: 45/45=1, Resulting Numbers: [26, 1]
Generated Node #0,3,2: 78:[26, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [26, 0]
Generated Node #0,3,3: 78:[26, 0] Operation: 45-45=0
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[26, 1], Operations: ['71-26=45', '45/45=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,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,3,3
Current State: 78:[26, 0], Operations: ['71-26=45', '45-45=0']
Exploring Operation: 26*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,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,3,0
Current State: 78:[45, 19], Operations: ['71-26=45', '45-26=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,78 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,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,3,1
Current State: 78:[45, 19], Operations: ['71-26=45', '45-26=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,78 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,78 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: 78:[45, 26, 45], Operations: ['71-26=45']
Exploring Operation: 45-45=0, Resulting Numbers: [26, 0]
Generated Node #0,1,0: 78:[26, 0] Operation: 45-45=0
Exploring Operation: 45+45=90, Resulting Numbers: [26, 90]
Generated Node #0,1,1: 78:[26, 90] Operation: 45+45=90
Exploring Operation: 45-26=19, Resulting Numbers: [45, 19]
Generated Node #0,1,2: 78:[45, 19] Operation: 45-26=19
Exploring Operation: 45/45=1, Resulting Numbers: [26, 1]
Generated Node #0,1,3: 78:[26, 1] Operation: 45/45=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[26, 1], Operations: ['71-26=45', '45/45=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,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:[26, 0], Operations: ['71-26=45', '45-45=0']
Exploring Operation: 26*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,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,1
Current State: 78:[26, 90], Operations: ['71-26=45', '45+45=90']
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,78 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,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:[45, 19], Operations: ['71-26=45', '45-26=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,78 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: 78:[71, 26, 19], Operations: ['45-26=19']
Exploring Operation: 26-19=7, Resulting Numbers: [71, 7]
Generated Node #0,0,0: 78:[71, 7] Operation: 26-19=7
Exploring Operation: 71-19=52, Resulting Numbers: [26, 52]
Generated Node #0,0,1: 78:[26, 52] Operation: 71-19=52
Exploring Operation: 71-26=45, Resulting Numbers: [19, 45]
Generated Node #0,0,2: 78:[19, 45] Operation: 71-26=45
Exploring Operation: 71+19=90, Resulting Numbers: [26, 90]
Generated Node #0,0,3: 78:[26, 90] Operation: 71+19=90
Moving to Node #0,0,0
Current State: 78:[71, 7], Operations: ['45-26=19', '26-19=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[26, 45, 71, 26], Operations: []
Exploring Operation: 45-26=19, Resulting Numbers: [71, 26, 19]
Generated Node #0,0: 78:[71, 26, 19] Operation: 45-26=19
Moving to Node #0,0
Current State: 78:[71, 26, 19], Operations: ['45-26=19']
Exploring Operation: 26-19=7, Resulting Numbers: [71, 7]
Generated Node #0,0,0: 78:[71, 7] Operation: 26-19=7
Moving to Node #0,0,0
Current State: 78:[71, 7], Operations: ['45-26=19', '26-19=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.94184 |
hs_4
|
sum_heuristic
|
[
53,
56,
10,
92
] | 85 |
[
"56-53=3",
"92-10=82",
"3+82=85"
] |
Current State: 85:[53, 56, 10, 92], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [10, 92, 3]
Generated Node #2: [10, 92, 3] from Operation: 56-53=3
Current State: 85:[10, 92, 3], Operations: ['56-53=3']
Exploring Operation: 92-10=82, Resulting Numbers: [3, 82]
Generated Node #3: [3, 82] from Operation: 92-10=82
Current State: 85:[3, 82], Operations: ['56-53=3', '92-10=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[53, 56, 10, 92], Operations: []
Exploring Operation: 92-53=39, Resulting Numbers: [56, 10, 39]
Generated Node #0,0: 85:[56, 10, 39] Operation: 92-53=39
Exploring Operation: 53+56=109, Resulting Numbers: [10, 92, 109]
Generated Node #0,1: 85:[10, 92, 109] Operation: 53+56=109
Exploring Operation: 56-53=3, Resulting Numbers: [10, 92, 3]
Generated Node #0,2: 85:[10, 92, 3] Operation: 56-53=3
Moving to Node #0,2
Current State: 85:[10, 92, 3], Operations: ['56-53=3']
Exploring Operation: 10-3=7, Resulting Numbers: [92, 7]
Generated Node #0,2,0: 85:[92, 7] Operation: 10-3=7
Exploring Operation: 92-3=89, Resulting Numbers: [10, 89]
Generated Node #0,2,1: 85:[10, 89] Operation: 92-3=89
Exploring Operation: 92-10=82, Resulting Numbers: [3, 82]
Generated Node #0,2,2: 85:[3, 82] Operation: 92-10=82
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[3, 82], Operations: ['56-53=3', '92-10=82']
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,85 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[53, 56, 10, 92], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [10, 92, 3]
Generated Node #0,2: 85:[10, 92, 3] Operation: 56-53=3
Moving to Node #0,2
Current State: 85:[10, 92, 3], Operations: ['56-53=3']
Exploring Operation: 92-10=82, Resulting Numbers: [3, 82]
Generated Node #0,2,2: 85:[3, 82] Operation: 92-10=82
Moving to Node #0,2,2
Current State: 85:[3, 82], Operations: ['56-53=3', '92-10=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
73,
37,
63,
71
] | 98 |
[
"73-37=36",
"63+71=134",
"134-36=98"
] |
Current State: 98:[73, 37, 63, 71], Operations: []
Exploring Operation: 73-37=36, Resulting Numbers: [63, 71, 36]
Generated Node #2: [63, 71, 36] from Operation: 73-37=36
Current State: 98:[63, 71, 36], Operations: ['73-37=36']
Exploring Operation: 63+71=134, Resulting Numbers: [36, 134]
Generated Node #3: [36, 134] from Operation: 63+71=134
Current State: 98:[36, 134], Operations: ['73-37=36', '63+71=134']
Exploring Operation: 134-36=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[73, 37, 63, 71], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [37, 63, 2]
Generated Node #0,0: 98:[37, 63, 2] Operation: 73-71=2
Exploring Operation: 73-63=10, Resulting Numbers: [37, 71, 10]
Generated Node #0,1: 98:[37, 71, 10] Operation: 73-63=10
Exploring Operation: 71-63=8, Resulting Numbers: [73, 37, 8]
Generated Node #0,2: 98:[73, 37, 8] Operation: 71-63=8
Exploring Operation: 73+37=110, Resulting Numbers: [63, 71, 110]
Generated Node #0,3: 98:[63, 71, 110] Operation: 73+37=110
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[37, 63, 2], Operations: ['73-71=2']
Exploring Operation: 37+63=100, Resulting Numbers: [2, 100]
Generated Node #0,0,0: 98:[2, 100] Operation: 37+63=100
Exploring Operation: 63-37=26, Resulting Numbers: [2, 26]
Generated Node #0,0,1: 98:[2, 26] Operation: 63-37=26
Exploring Operation: 63-2=61, Resulting Numbers: [37, 61]
Generated Node #0,0,2: 98:[37, 61] Operation: 63-2=61
Exploring Operation: 37+2=39, Resulting Numbers: [63, 39]
Generated Node #0,0,3: 98:[63, 39] Operation: 37+2=39
Moving to Node #0,0,0
Current State: 98:[2, 100], Operations: ['73-71=2', '37+63=100']
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 2+100=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[73, 37, 63, 71], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [37, 63, 2]
Generated Node #0,0: 98:[37, 63, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 98:[37, 63, 2], Operations: ['73-71=2']
Exploring Operation: 37+63=100, Resulting Numbers: [2, 100]
Generated Node #0,0,0: 98:[2, 100] Operation: 37+63=100
Moving to Node #0,0,0
Current State: 98:[2, 100], Operations: ['73-71=2', '37+63=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
64,
80,
47,
13
] | 18 |
[
"80-64=16",
"47-13=34",
"34-16=18"
] |
Current State: 18:[64, 80, 47, 13], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [47, 13, 16]
Generated Node #2: [47, 13, 16] from Operation: 80-64=16
Current State: 18:[47, 13, 16], Operations: ['80-64=16']
Exploring Operation: 47-13=34, Resulting Numbers: [16, 34]
Generated Node #3: [16, 34] from Operation: 47-13=34
Current State: 18:[16, 34], Operations: ['80-64=16', '47-13=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[64, 80, 47, 13], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [64, 13, 33]
Generated Node #0,0: 18:[64, 13, 33] Operation: 80-47=33
Exploring Operation: 64-47=17, Resulting Numbers: [80, 13, 17]
Generated Node #0,1: 18:[80, 13, 17] Operation: 64-47=17
Exploring Operation: 80-64=16, Resulting Numbers: [47, 13, 16]
Generated Node #0,2: 18:[47, 13, 16] Operation: 80-64=16
Exploring Operation: 64-13=51, Resulting Numbers: [80, 47, 51]
Generated Node #0,3: 18:[80, 47, 51] Operation: 64-13=51
Moving to Node #0,2
Current State: 18:[47, 13, 16], Operations: ['80-64=16']
Exploring Operation: 13+16=29, Resulting Numbers: [47, 29]
Generated Node #0,2,0: 18:[47, 29] Operation: 13+16=29
Exploring Operation: 47-13=34, Resulting Numbers: [16, 34]
Generated Node #0,2,1: 18:[16, 34] Operation: 47-13=34
Exploring Operation: 16-13=3, Resulting Numbers: [47, 3]
Generated Node #0,2,2: 18:[47, 3] Operation: 16-13=3
Exploring Operation: 47-16=31, Resulting Numbers: [13, 31]
Generated Node #0,2,3: 18:[13, 31] Operation: 47-16=31
Moving to Node #0,0
Current State: 18:[64, 13, 33], Operations: ['80-47=33']
Exploring Operation: 64-33=31, Resulting Numbers: [13, 31]
Generated Node #0,0,0: 18:[13, 31] Operation: 64-33=31
Exploring Operation: 64-13=51, Resulting Numbers: [33, 51]
Generated Node #0,0,1: 18:[33, 51] Operation: 64-13=51
Exploring Operation: 64+13=77, Resulting Numbers: [33, 77]
Generated Node #0,0,2: 18:[33, 77] Operation: 64+13=77
Exploring Operation: 33-13=20, Resulting Numbers: [64, 20]
Generated Node #0,0,3: 18:[64, 20] Operation: 33-13=20
Moving to Node #0,1
Current State: 18:[80, 13, 17], Operations: ['64-47=17']
Exploring Operation: 13+17=30, Resulting Numbers: [80, 30]
Generated Node #0,1,0: 18:[80, 30] Operation: 13+17=30
Exploring Operation: 80-13=67, Resulting Numbers: [17, 67]
Generated Node #0,1,1: 18:[17, 67] Operation: 80-13=67
Exploring Operation: 17-13=4, Resulting Numbers: [80, 4]
Generated Node #0,1,2: 18:[80, 4] Operation: 17-13=4
Exploring Operation: 80-17=63, Resulting Numbers: [13, 63]
Generated Node #0,1,3: 18:[13, 63] Operation: 80-17=63
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[13, 63], Operations: ['64-47=17', '80-17=63']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,18 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[17, 67], Operations: ['64-47=17', '80-13=67']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[80, 4], Operations: ['64-47=17', '17-13=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,18 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[80, 30], Operations: ['64-47=17', '13+17=30']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,18 unequal: No Solution
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,18 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: 18:[80, 47, 51], Operations: ['64-13=51']
Exploring Operation: 51-47=4, Resulting Numbers: [80, 4]
Generated Node #0,3,0: 18:[80, 4] Operation: 51-47=4
Exploring Operation: 80+47=127, Resulting Numbers: [51, 127]
Generated Node #0,3,1: 18:[51, 127] Operation: 80+47=127
Exploring Operation: 80-47=33, Resulting Numbers: [51, 33]
Generated Node #0,3,2: 18:[51, 33] Operation: 80-47=33
Exploring Operation: 80-51=29, Resulting Numbers: [47, 29]
Generated Node #0,3,3: 18:[47, 29] Operation: 80-51=29
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[47, 29], Operations: ['64-13=51', '80-51=29']
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,18 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[64, 80, 47, 13], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [80, 47, 51]
Generated Node #0,3: 18:[80, 47, 51] Operation: 64-13=51
Moving to Node #0,3
Current State: 18:[80, 47, 51], Operations: ['64-13=51']
Exploring Operation: 80-51=29, Resulting Numbers: [47, 29]
Generated Node #0,3,3: 18:[47, 29] Operation: 80-51=29
Moving to Node #0,3,3
Current State: 18:[47, 29], Operations: ['64-13=51', '80-51=29']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 |
hs_4
|
mult_heuristic
|
[
72,
77,
24,
10
] | 11 |
[
"72/24=3",
"10-3=7",
"77/7=11"
] |
Current State: 11:[72, 77, 24, 10], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [77, 10, 3]
Generated Node #2: [77, 10, 3] from Operation: 72/24=3
Current State: 11:[77, 10, 3], Operations: ['72/24=3']
Exploring Operation: 10-3=7, Resulting Numbers: [77, 7]
Generated Node #3: [77, 7] from Operation: 10-3=7
Current State: 11:[77, 7], Operations: ['72/24=3', '10-3=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[72, 77, 24, 10], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [77, 10, 3]
Generated Node #0,0: 11:[77, 10, 3] Operation: 72/24=3
Exploring Operation: 72-24=48, Resulting Numbers: [77, 10, 48]
Generated Node #0,1: 11:[77, 10, 48] Operation: 72-24=48
Exploring Operation: 77-24=53, Resulting Numbers: [72, 10, 53]
Generated Node #0,2: 11:[72, 10, 53] Operation: 77-24=53
Exploring Operation: 77-72=5, Resulting Numbers: [24, 10, 5]
Generated Node #0,3: 11:[24, 10, 5] Operation: 77-72=5
Moving to Node #0,3
Current State: 11:[24, 10, 5], Operations: ['77-72=5']
Exploring Operation: 10+5=15, Resulting Numbers: [24, 15]
Generated Node #0,3,0: 11:[24, 15] Operation: 10+5=15
Exploring Operation: 24-5=19, Resulting Numbers: [10, 19]
Generated Node #0,3,1: 11:[10, 19] Operation: 24-5=19
Exploring Operation: 24-10=14, Resulting Numbers: [5, 14]
Generated Node #0,3,2: 11:[5, 14] Operation: 24-10=14
Exploring Operation: 24+5=29, Resulting Numbers: [10, 29]
Generated Node #0,3,3: 11:[10, 29] Operation: 24+5=29
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[10, 19], Operations: ['77-72=5', '24-5=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,11 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,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,3,2
Current State: 11:[5, 14], Operations: ['77-72=5', '24-10=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,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,3,0
Current State: 11:[24, 15], Operations: ['77-72=5', '10+5=15']
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,11 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,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,3,3
Current State: 11:[10, 29], Operations: ['77-72=5', '24+5=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,11 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,11 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: 11:[77, 10, 3], Operations: ['72/24=3']
Exploring Operation: 77+3=80, Resulting Numbers: [10, 80]
Generated Node #0,0,0: 11:[10, 80] Operation: 77+3=80
Exploring Operation: 10+3=13, Resulting Numbers: [77, 13]
Generated Node #0,0,1: 11:[77, 13] Operation: 10+3=13
Exploring Operation: 77-10=67, Resulting Numbers: [3, 67]
Generated Node #0,0,2: 11:[3, 67] Operation: 77-10=67
Exploring Operation: 77-3=74, Resulting Numbers: [10, 74]
Generated Node #0,0,3: 11:[10, 74] Operation: 77-3=74
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[3, 67], Operations: ['72/24=3', '77-10=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,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,3
Current State: 11:[10, 74], Operations: ['72/24=3', '77-3=74']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,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,1
Current State: 11:[77, 13], Operations: ['72/24=3', '10+3=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,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,0
Current State: 11:[10, 80], Operations: ['72/24=3', '77+3=80']
Exploring Operation: 10*80=800, Resulting Numbers: [800]
800,11 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 10+80=90, Resulting Numbers: [90]
90,11 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: 11:[72, 10, 53], Operations: ['77-24=53']
Exploring Operation: 72-10=62, Resulting Numbers: [53, 62]
Generated Node #0,2,0: 11:[53, 62] Operation: 72-10=62
Exploring Operation: 72-53=19, Resulting Numbers: [10, 19]
Generated Node #0,2,1: 11:[10, 19] Operation: 72-53=19
Exploring Operation: 53-10=43, Resulting Numbers: [72, 43]
Generated Node #0,2,2: 11:[72, 43] Operation: 53-10=43
Exploring Operation: 72+10=82, Resulting Numbers: [53, 82]
Generated Node #0,2,3: 11:[53, 82] Operation: 72+10=82
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[10, 19], Operations: ['77-24=53', '72-53=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,11 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,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,2,0
Current State: 11:[53, 62], Operations: ['77-24=53', '72-10=62']
Exploring Operation: 53*62=3286, Resulting Numbers: [3286]
3286,11 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,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,2,2
Current State: 11:[72, 43], Operations: ['77-24=53', '53-10=43']
Exploring Operation: 72*43=3096, Resulting Numbers: [3096]
3096,11 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 72+43=115, Resulting Numbers: [115]
115,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,2,3
Current State: 11:[53, 82], Operations: ['77-24=53', '72+10=82']
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,11 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,11 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,11 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: 11:[77, 10, 48], Operations: ['72-24=48']
Exploring Operation: 77-48=29, Resulting Numbers: [10, 29]
Generated Node #0,1,0: 11:[10, 29] Operation: 77-48=29
Exploring Operation: 77-10=67, Resulting Numbers: [48, 67]
Generated Node #0,1,1: 11:[48, 67] Operation: 77-10=67
Exploring Operation: 48-10=38, Resulting Numbers: [77, 38]
Generated Node #0,1,2: 11:[77, 38] Operation: 48-10=38
Exploring Operation: 77+10=87, Resulting Numbers: [48, 87]
Generated Node #0,1,3: 11:[48, 87] Operation: 77+10=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[10, 29], Operations: ['72-24=48', '77-48=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,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,1
Current State: 11:[48, 67], Operations: ['72-24=48', '77-10=67']
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,11 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,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,2
Current State: 11:[77, 38], Operations: ['72-24=48', '48-10=38']
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 77*38=2926, Resulting Numbers: [2926]
2926,11 unequal: No Solution
Exploring Operation: 77+38=115, Resulting Numbers: [115]
115,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,3
Current State: 11:[48, 87], Operations: ['72-24=48', '77+10=87']
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,11 unequal: No Solution
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
8,
35,
2,
6
] | 19 |
[
"35-8=27",
"2+6=8",
"27-8=19"
] |
Current State: 19:[8, 35, 2, 6], Operations: []
Exploring Operation: 35-8=27, Resulting Numbers: [2, 6, 27]
Generated Node #2: [2, 6, 27] from Operation: 35-8=27
Current State: 19:[2, 6, 27], Operations: ['35-8=27']
Exploring Operation: 2+6=8, Resulting Numbers: [27, 8]
Generated Node #3: [27, 8] from Operation: 2+6=8
Current State: 19:[27, 8], Operations: ['35-8=27', '2+6=8']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[8, 35, 2, 6], Operations: []
Exploring Operation: 8*2=16, Resulting Numbers: [35, 6, 16]
Generated Node #0,0: 19:[35, 6, 16] Operation: 8*2=16
Exploring Operation: 2*6=12, Resulting Numbers: [8, 35, 12]
Generated Node #0,1: 19:[8, 35, 12] Operation: 2*6=12
Moving to Node #0,0
Current State: 19:[35, 6, 16], Operations: ['8*2=16']
Exploring Operation: 35-6=29, Resulting Numbers: [16, 29]
Generated Node #0,0,0: 19:[16, 29] Operation: 35-6=29
Exploring Operation: 35-16=19, Resulting Numbers: [6, 19]
Generated Node #0,0,1: 19:[6, 19] Operation: 35-16=19
Moving to Node #0,1
Current State: 19:[8, 35, 12], Operations: ['2*6=12']
Exploring Operation: 35-12=23, Resulting Numbers: [8, 23]
Generated Node #0,1,0: 19:[8, 23] Operation: 35-12=23
Exploring Operation: 35-8=27, Resulting Numbers: [12, 27]
Generated Node #0,1,1: 19:[12, 27] Operation: 35-8=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[8, 23], Operations: ['2*6=12', '35-12=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,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,1
Current State: 19:[12, 27], Operations: ['2*6=12', '35-8=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 19:[16, 29], Operations: ['8*2=16', '35-6=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[6, 19], Operations: ['8*2=16', '35-16=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,19 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
69,
80,
2,
18
] | 40 |
[
"80-69=11",
"2*11=22",
"18+22=40"
] |
Current State: 40:[69, 80, 2, 18], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [2, 18, 11]
Generated Node #2: [2, 18, 11] from Operation: 80-69=11
Current State: 40:[2, 18, 11], Operations: ['80-69=11']
Exploring Operation: 2*11=22, Resulting Numbers: [18, 22]
Generated Node #3: [18, 22] from Operation: 2*11=22
Current State: 40:[18, 22], Operations: ['80-69=11', '2*11=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[69, 80, 2, 18], Operations: []
Exploring Operation: 80-18=62, Resulting Numbers: [69, 2, 62]
Generated Node #0,0: 40:[69, 2, 62] Operation: 80-18=62
Exploring Operation: 69-2=67, Resulting Numbers: [80, 18, 67]
Generated Node #0,1: 40:[80, 18, 67] Operation: 69-2=67
Exploring Operation: 80-69=11, Resulting Numbers: [2, 18, 11]
Generated Node #0,2: 40:[2, 18, 11] Operation: 80-69=11
Exploring Operation: 80/2=40, Resulting Numbers: [69, 18, 40]
Generated Node #0,3: 40:[69, 18, 40] Operation: 80/2=40
Exploring Operation: 69-18=51, Resulting Numbers: [80, 2, 51]
Generated Node #0,4: 40:[80, 2, 51] Operation: 69-18=51
Moving to Node #0,2
Current State: 40:[2, 18, 11], Operations: ['80-69=11']
Exploring Operation: 2+18=20, Resulting Numbers: [11, 20]
Generated Node #0,2,0: 40:[11, 20] Operation: 2+18=20
Exploring Operation: 18/2=9, Resulting Numbers: [11, 9]
Generated Node #0,2,1: 40:[11, 9] Operation: 18/2=9
Exploring Operation: 18-11=7, Resulting Numbers: [2, 7]
Generated Node #0,2,2: 40:[2, 7] Operation: 18-11=7
Exploring Operation: 11-2=9, Resulting Numbers: [18, 9]
Generated Node #0,2,3: 40:[18, 9] Operation: 11-2=9
Exploring Operation: 2*11=22, Resulting Numbers: [18, 22]
Generated Node #0,2,4: 40:[18, 22] Operation: 2*11=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[11, 20], Operations: ['80-69=11', '2+18=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,40 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,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:[2, 7], Operations: ['80-69=11', '18-11=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,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:[11, 9], Operations: ['80-69=11', '18/2=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,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:[18, 9], Operations: ['80-69=11', '11-2=9']
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,40 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,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,4
Current State: 40:[18, 22], Operations: ['80-69=11', '2*11=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,40 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[69, 80, 2, 18], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [2, 18, 11]
Generated Node #0,2: 40:[2, 18, 11] Operation: 80-69=11
Moving to Node #0,2
Current State: 40:[2, 18, 11], Operations: ['80-69=11']
Exploring Operation: 2*11=22, Resulting Numbers: [18, 22]
Generated Node #0,2,4: 40:[18, 22] Operation: 2*11=22
Moving to Node #0,2,4
Current State: 40:[18, 22], Operations: ['80-69=11', '2*11=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 |
hs_5
|
sum_heuristic
|
[
7,
70,
36,
33
] | 21 |
[
"70-7=63",
"36-33=3",
"63/3=21"
] |
Current State: 21:[7, 70, 36, 33], Operations: []
Exploring Operation: 70-7=63, Resulting Numbers: [36, 33, 63]
Generated Node #2: [36, 33, 63] from Operation: 70-7=63
Current State: 21:[36, 33, 63], Operations: ['70-7=63']
Exploring Operation: 36-33=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 36-33=3
Current State: 21:[63, 3], Operations: ['70-7=63', '36-33=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[7, 70, 36, 33], Operations: []
Exploring Operation: 70-36=34, Resulting Numbers: [7, 33, 34]
Generated Node #0,0: 21:[7, 33, 34] Operation: 70-36=34
Moving to Node #0,0
Current State: 21:[7, 33, 34], Operations: ['70-36=34']
Exploring Operation: 34-33=1, Resulting Numbers: [7, 1]
Generated Node #0,0,0: 21:[7, 1] Operation: 34-33=1
Moving to Node #0,0,0
Current State: 21:[7, 1], Operations: ['70-36=34', '34-33=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
50,
13,
95,
6
] | 33 |
[
"95-50=45",
"13*6=78",
"78-45=33"
] |
Current State: 33:[50, 13, 95, 6], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [13, 6, 45]
Generated Node #2: [13, 6, 45] from Operation: 95-50=45
Current State: 33:[13, 6, 45], Operations: ['95-50=45']
Exploring Operation: 13*6=78, Resulting Numbers: [45, 78]
Generated Node #3: [45, 78] from Operation: 13*6=78
Current State: 33:[45, 78], Operations: ['95-50=45', '13*6=78']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[50, 13, 95, 6], Operations: []
Exploring Operation: 50-13=37, Resulting Numbers: [95, 6, 37]
Generated Node #0,0: 33:[95, 6, 37] Operation: 50-13=37
Exploring Operation: 95-50=45, Resulting Numbers: [13, 6, 45]
Generated Node #0,1: 33:[13, 6, 45] Operation: 95-50=45
Moving to Node #0,1
Current State: 33:[13, 6, 45], Operations: ['95-50=45']
Exploring Operation: 45-6=39, Resulting Numbers: [13, 39]
Generated Node #0,1,0: 33:[13, 39] Operation: 45-6=39
Exploring Operation: 45-13=32, Resulting Numbers: [6, 32]
Generated Node #0,1,1: 33:[6, 32] Operation: 45-13=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[6, 32], Operations: ['95-50=45', '45-13=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,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,1,0
Current State: 33:[13, 39], Operations: ['95-50=45', '45-6=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,33 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: 33:[95, 6, 37], Operations: ['50-13=37']
Exploring Operation: 95-37=58, Resulting Numbers: [6, 58]
Generated Node #0,0,0: 33:[6, 58] Operation: 95-37=58
Exploring Operation: 95-6=89, Resulting Numbers: [37, 89]
Generated Node #0,0,1: 33:[37, 89] Operation: 95-6=89
Moving to Node #0,0,0
Current State: 33:[6, 58], Operations: ['50-13=37', '95-37=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[37, 89], Operations: ['50-13=37', '95-6=89']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,33 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
41,
10,
20,
51
] | 12 |
[
"51-41=10",
"20/10=2",
"10+2=12"
] |
Current State: 12:[41, 10, 20, 51], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [10, 20, 10]
Generated Node #2: [10, 20, 10] from Operation: 51-41=10
Current State: 12:[10, 20, 10], Operations: ['51-41=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,12 equal: Goal Reached
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[41, 10, 20, 51], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [10, 51, 21]
Generated Node #0,0: 12:[10, 51, 21] Operation: 41-20=21
Exploring Operation: 51-20=31, Resulting Numbers: [41, 10, 31]
Generated Node #0,1: 12:[41, 10, 31] Operation: 51-20=31
Exploring Operation: 51-10=41, Resulting Numbers: [41, 20, 41]
Generated Node #0,2: 12:[41, 20, 41] Operation: 51-10=41
Exploring Operation: 51-41=10, Resulting Numbers: [10, 20, 10]
Generated Node #0,3: 12:[10, 20, 10] Operation: 51-41=10
Exploring Operation: 41-10=31, Resulting Numbers: [20, 51, 31]
Generated Node #0,4: 12:[20, 51, 31] Operation: 41-10=31
Moving to Node #0,3
Current State: 12:[10, 20, 10], Operations: ['51-41=10']
Exploring Operation: 20/10=2, Resulting Numbers: [10, 2]
Generated Node #0,3,0: 12:[10, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [10, 10]
Generated Node #0,3,1: 12:[10, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [10, 2]
Generated Node #0,3,2: 12:[10, 2] Operation: 20/10=2
Exploring Operation: 10/10=1, Resulting Numbers: [20, 1]
Generated Node #0,3,3: 12:[20, 1] Operation: 10/10=1
Exploring Operation: 20-10=10, Resulting Numbers: [10, 10]
Generated Node #0,3,4: 12:[10, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[10, 2], Operations: ['51-41=10', '20/10=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[41, 10, 20, 51], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [10, 20, 10]
Generated Node #0,3: 12:[10, 20, 10] Operation: 51-41=10
Moving to Node #0,3
Current State: 12:[10, 20, 10], Operations: ['51-41=10']
Exploring Operation: 20/10=2, Resulting Numbers: [10, 2]
Generated Node #0,3,0: 12:[10, 2] Operation: 20/10=2
Moving to Node #0,3,0
Current State: 12:[10, 2], Operations: ['51-41=10', '20/10=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
16,
52,
81,
85
] | 72 |
[
"16+52=68",
"85-81=4",
"68+4=72"
] |
Current State: 72:[16, 52, 81, 85], Operations: []
Exploring Operation: 16+52=68, Resulting Numbers: [81, 85, 68]
Generated Node #2: [81, 85, 68] from Operation: 16+52=68
Current State: 72:[81, 85, 68], Operations: ['16+52=68']
Exploring Operation: 85-81=4, Resulting Numbers: [68, 4]
Generated Node #3: [68, 4] from Operation: 85-81=4
Current State: 72:[68, 4], Operations: ['16+52=68', '85-81=4']
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[16, 52, 81, 85], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [16, 52, 4]
Generated Node #0,0: 72:[16, 52, 4] Operation: 85-81=4
Exploring Operation: 85-52=33, Resulting Numbers: [16, 81, 33]
Generated Node #0,1: 72:[16, 81, 33] Operation: 85-52=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[16, 81, 33], Operations: ['85-52=33']
Exploring Operation: 33-16=17, Resulting Numbers: [81, 17]
Generated Node #0,1,0: 72:[81, 17] Operation: 33-16=17
Exploring Operation: 81-16=65, Resulting Numbers: [33, 65]
Generated Node #0,1,1: 72:[33, 65] Operation: 81-16=65
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[81, 17], Operations: ['85-52=33', '33-16=17']
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,72 unequal: No Solution
No 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: 72:[33, 65], Operations: ['85-52=33', '81-16=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,72 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: 72:[16, 52, 4], Operations: ['85-81=4']
Exploring Operation: 52-16=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 72:[4, 36] Operation: 52-16=36
Exploring Operation: 52/4=13, Resulting Numbers: [16, 13]
Generated Node #0,0,1: 72:[16, 13] Operation: 52/4=13
Moving to Node #0,0,0
Current State: 72:[4, 36], Operations: ['85-81=4', '52-16=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[16, 13], Operations: ['85-81=4', '52/4=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,72 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
|
[
33,
93,
47,
97
] | 85 |
[
"97-93=4",
"33*4=132",
"132-47=85"
] |
Current State: 85:[33, 93, 47, 97], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [33, 47, 4]
Generated Node #2: [33, 47, 4] from Operation: 97-93=4
Current State: 85:[33, 47, 4], Operations: ['97-93=4']
Exploring Operation: 33*4=132, Resulting Numbers: [47, 132]
Generated Node #3: [47, 132] from Operation: 33*4=132
Current State: 85:[47, 132], Operations: ['97-93=4', '33*4=132']
Exploring Operation: 132-47=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[33, 93, 47, 97], Operations: []
Exploring Operation: 47-33=14, Resulting Numbers: [93, 97, 14]
Generated Node #0,0: 85:[93, 97, 14] Operation: 47-33=14
Exploring Operation: 97-93=4, Resulting Numbers: [33, 47, 4]
Generated Node #0,1: 85:[33, 47, 4] Operation: 97-93=4
Exploring Operation: 93-47=46, Resulting Numbers: [33, 97, 46]
Generated Node #0,2: 85:[33, 97, 46] Operation: 93-47=46
Exploring Operation: 33+47=80, Resulting Numbers: [93, 97, 80]
Generated Node #0,3: 85:[93, 97, 80] Operation: 33+47=80
Moving to Node #0,0
Current State: 85:[93, 97, 14], Operations: ['47-33=14']
Exploring Operation: 93+14=107, Resulting Numbers: [97, 107]
Generated Node #0,0,0: 85:[97, 107] Operation: 93+14=107
Exploring Operation: 93-14=79, Resulting Numbers: [97, 79]
Generated Node #0,0,1: 85:[97, 79] Operation: 93-14=79
Exploring Operation: 97-14=83, Resulting Numbers: [93, 83]
Generated Node #0,0,2: 85:[93, 83] Operation: 97-14=83
Exploring Operation: 97-93=4, Resulting Numbers: [14, 4]
Generated Node #0,0,3: 85:[14, 4] Operation: 97-93=4
Moving to Node #0,3
Current State: 85:[93, 97, 80], Operations: ['33+47=80']
Exploring Operation: 97-93=4, Resulting Numbers: [80, 4]
Generated Node #0,3,0: 85:[80, 4] Operation: 97-93=4
Exploring Operation: 93+80=173, Resulting Numbers: [97, 173]
Generated Node #0,3,1: 85:[97, 173] Operation: 93+80=173
Exploring Operation: 93-80=13, Resulting Numbers: [97, 13]
Generated Node #0,3,2: 85:[97, 13] Operation: 93-80=13
Exploring Operation: 97-80=17, Resulting Numbers: [93, 17]
Generated Node #0,3,3: 85:[93, 17] Operation: 97-80=17
Moving to Node #0,1
Current State: 85:[33, 47, 4], Operations: ['97-93=4']
Exploring Operation: 47-4=43, Resulting Numbers: [33, 43]
Generated Node #0,1,0: 85:[33, 43] Operation: 47-4=43
Exploring Operation: 33+47=80, Resulting Numbers: [4, 80]
Generated Node #0,1,1: 85:[4, 80] Operation: 33+47=80
Exploring Operation: 47-33=14, Resulting Numbers: [4, 14]
Generated Node #0,1,2: 85:[4, 14] Operation: 47-33=14
Exploring Operation: 33-4=29, Resulting Numbers: [47, 29]
Generated Node #0,1,3: 85:[47, 29] Operation: 33-4=29
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[4, 14], Operations: ['97-93=4', '47-33=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[4, 80], Operations: ['97-93=4', '33+47=80']
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,85 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[33, 43], Operations: ['97-93=4', '47-4=43']
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,85 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[47, 29], Operations: ['97-93=4', '33-4=29']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,85 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: 85:[33, 97, 46], Operations: ['93-47=46']
Exploring Operation: 97-33=64, Resulting Numbers: [46, 64]
Generated Node #0,2,0: 85:[46, 64] Operation: 97-33=64
Exploring Operation: 46-33=13, Resulting Numbers: [97, 13]
Generated Node #0,2,1: 85:[97, 13] Operation: 46-33=13
Exploring Operation: 33+46=79, Resulting Numbers: [97, 79]
Generated Node #0,2,2: 85:[97, 79] Operation: 33+46=79
Exploring Operation: 97-46=51, Resulting Numbers: [33, 51]
Generated Node #0,2,3: 85:[33, 51] Operation: 97-46=51
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[97, 13], Operations: ['93-47=46', '46-33=13']
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[97, 79], Operations: ['93-47=46', '33+46=79']
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,85 unequal: No Solution
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[46, 64], Operations: ['93-47=46', '97-33=64']
Exploring Operation: 46+64=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 46*64=2944, Resulting Numbers: [2944]
2944,85 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[33, 51], Operations: ['93-47=46', '97-46=51']
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 85:[14, 4], Operations: ['47-33=14', '97-93=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[80, 4], Operations: ['33+47=80', '97-93=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,85 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[93, 17], Operations: ['33+47=80', '97-80=17']
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[93, 83], Operations: ['47-33=14', '97-14=83']
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 93*83=7719, Resulting Numbers: [7719]
7719,85 unequal: No Solution
Exploring Operation: 93+83=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[97, 13], Operations: ['33+47=80', '93-80=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,85 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[97, 79], Operations: ['47-33=14', '93-14=79']
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,85 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[97, 107], Operations: ['47-33=14', '93+14=107']
Exploring Operation: 97+107=204, Resulting Numbers: [204]
204,85 unequal: No Solution
Exploring Operation: 107-97=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 97*107=10379, Resulting Numbers: [10379]
10379,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[97, 173], Operations: ['33+47=80', '93+80=173']
Exploring Operation: 97+173=270, Resulting Numbers: [270]
270,85 unequal: No Solution
Exploring Operation: 97*173=16781, Resulting Numbers: [16781]
16781,85 unequal: No Solution
Exploring Operation: 173-97=76, Resulting Numbers: [76]
76,85 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
3,
50,
47,
93
] | 66 |
[
"93/3=31",
"50+47=97",
"97-31=66"
] |
Current State: 66:[3, 50, 47, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [50, 47, 31]
Generated Node #2: [50, 47, 31] from Operation: 93/3=31
Current State: 66:[50, 47, 31], Operations: ['93/3=31']
Exploring Operation: 50+47=97, Resulting Numbers: [31, 97]
Generated Node #3: [31, 97] from Operation: 50+47=97
Current State: 66:[31, 97], Operations: ['93/3=31', '50+47=97']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[3, 50, 47, 93], Operations: []
Exploring Operation: 93-50=43, Resulting Numbers: [3, 47, 43]
Generated Node #0,0: 66:[3, 47, 43] Operation: 93-50=43
Exploring Operation: 50-47=3, Resulting Numbers: [3, 93, 3]
Generated Node #0,1: 66:[3, 93, 3] Operation: 50-47=3
Moving to Node #0,0
Current State: 66:[3, 47, 43], Operations: ['93-50=43']
Exploring Operation: 47-43=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 66:[3, 4] Operation: 47-43=4
Exploring Operation: 47-3=44, Resulting Numbers: [43, 44]
Generated Node #0,0,1: 66:[43, 44] Operation: 47-3=44
Moving to Node #0,1
Current State: 66:[3, 93, 3], Operations: ['50-47=3']
Exploring Operation: 93/3=31, Resulting Numbers: [3, 31]
Generated Node #0,1,0: 66:[3, 31] Operation: 93/3=31
Exploring Operation: 93/3=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 66:[3, 31] Operation: 93/3=31
Moving to Node #0,0,0
Current State: 66:[3, 4], Operations: ['93-50=43', '47-43=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[3, 31], Operations: ['50-47=3', '93/3=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[3, 31], Operations: ['50-47=3', '93/3=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[43, 44], Operations: ['93-50=43', '47-3=44']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
43,
86,
41,
49
] | 92 |
[
"86/43=2",
"41+49=90",
"2+90=92"
] |
Current State: 92:[43, 86, 41, 49], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [41, 49, 2]
Generated Node #2: [41, 49, 2] from Operation: 86/43=2
Current State: 92:[41, 49, 2], Operations: ['86/43=2']
Exploring Operation: 41+49=90, Resulting Numbers: [2, 90]
Generated Node #3: [2, 90] from Operation: 41+49=90
Current State: 92:[2, 90], Operations: ['86/43=2', '41+49=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[43, 86, 41, 49], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [43, 49, 45]
Generated Node #0,0: 92:[43, 49, 45] Operation: 86-41=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[43, 49, 45], Operations: ['86-41=45']
Exploring Operation: 43+49=92, Resulting Numbers: [45, 92]
Generated Node #0,0,0: 92:[45, 92] Operation: 43+49=92
Moving to Node #0,0,0
Current State: 92:[45, 92], Operations: ['86-41=45', '43+49=92']
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,92 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
|
[
70,
3,
45,
32
] | 86 |
[
"70+3=73",
"45-32=13",
"73+13=86"
] |
Current State: 86:[70, 3, 45, 32], Operations: []
Exploring Operation: 70+3=73, Resulting Numbers: [45, 32, 73]
Generated Node #2: [45, 32, 73] from Operation: 70+3=73
Current State: 86:[45, 32, 73], Operations: ['70+3=73']
Exploring Operation: 45-32=13, Resulting Numbers: [73, 13]
Generated Node #3: [73, 13] from Operation: 45-32=13
Current State: 86:[73, 13], Operations: ['70+3=73', '45-32=13']
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[70, 3, 45, 32], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [3, 45, 38]
Generated Node #0,0: 86:[3, 45, 38] Operation: 70-32=38
Exploring Operation: 70+32=102, Resulting Numbers: [3, 45, 102]
Generated Node #0,1: 86:[3, 45, 102] Operation: 70+32=102
Exploring Operation: 3+32=35, Resulting Numbers: [70, 45, 35]
Generated Node #0,2: 86:[70, 45, 35] Operation: 3+32=35
Exploring Operation: 70+3=73, Resulting Numbers: [45, 32, 73]
Generated Node #0,3: 86:[45, 32, 73] Operation: 70+3=73
Moving to Node #0,0
Current State: 86:[3, 45, 38], Operations: ['70-32=38']
Exploring Operation: 3+38=41, Resulting Numbers: [45, 41]
Generated Node #0,0,0: 86:[45, 41] Operation: 3+38=41
Exploring Operation: 45-3=42, Resulting Numbers: [38, 42]
Generated Node #0,0,1: 86:[38, 42] Operation: 45-3=42
Exploring Operation: 45-38=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 86:[3, 7] Operation: 45-38=7
Exploring Operation: 45+38=83, Resulting Numbers: [3, 83]
Generated Node #0,0,3: 86:[3, 83] Operation: 45+38=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[45, 41], Operations: ['70-32=38', '3+38=41']
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,86 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[70, 3, 45, 32], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [3, 45, 38]
Generated Node #0,0: 86:[3, 45, 38] Operation: 70-32=38
Moving to Node #0,0
Current State: 86:[3, 45, 38], Operations: ['70-32=38']
Exploring Operation: 3+38=41, Resulting Numbers: [45, 41]
Generated Node #0,0,0: 86:[45, 41] Operation: 3+38=41
Moving to Node #0,0,0
Current State: 86:[45, 41], Operations: ['70-32=38', '3+38=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
42,
68,
58,
13
] | 34 |
[
"42-13=29",
"68*29=1972",
"1972/58=34"
] |
Current State: 34:[42, 68, 58, 13], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [68, 58, 29]
Generated Node #2: [68, 58, 29] from Operation: 42-13=29
Current State: 34:[68, 58, 29], Operations: ['42-13=29']
Exploring Operation: 68*29=1972, Resulting Numbers: [58, 1972]
Generated Node #3: [58, 1972] from Operation: 68*29=1972
Current State: 34:[58, 1972], Operations: ['42-13=29', '68*29=1972']
Exploring Operation: 1972/58=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[42, 68, 58, 13], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [68, 13, 16]
Generated Node #0,0: 34:[68, 13, 16] Operation: 58-42=16
Exploring Operation: 68-13=55, Resulting Numbers: [42, 58, 55]
Generated Node #0,1: 34:[42, 58, 55] Operation: 68-13=55
Exploring Operation: 68-42=26, Resulting Numbers: [58, 13, 26]
Generated Node #0,2: 34:[58, 13, 26] Operation: 68-42=26
Exploring Operation: 68-58=10, Resulting Numbers: [42, 13, 10]
Generated Node #0,3: 34:[42, 13, 10] Operation: 68-58=10
Exploring Operation: 58-13=45, Resulting Numbers: [42, 68, 45]
Generated Node #0,4: 34:[42, 68, 45] Operation: 58-13=45
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[42, 13, 10], Operations: ['68-58=10']
Exploring Operation: 42-13=29, Resulting Numbers: [10, 29]
Generated Node #0,3,0: 34:[10, 29] Operation: 42-13=29
Exploring Operation: 42-10=32, Resulting Numbers: [13, 32]
Generated Node #0,3,1: 34:[13, 32] Operation: 42-10=32
Exploring Operation: 13+10=23, Resulting Numbers: [42, 23]
Generated Node #0,3,2: 34:[42, 23] Operation: 13+10=23
Exploring Operation: 42+10=52, Resulting Numbers: [13, 52]
Generated Node #0,3,3: 34:[13, 52] Operation: 42+10=52
Exploring Operation: 13-10=3, Resulting Numbers: [42, 3]
Generated Node #0,3,4: 34:[42, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[13, 32], Operations: ['68-58=10', '42-10=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,34 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 34:[42, 3], Operations: ['68-58=10', '13-10=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,34 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[10, 29], Operations: ['68-58=10', '42-13=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[42, 23], Operations: ['68-58=10', '13+10=23']
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[13, 52], Operations: ['68-58=10', '42+10=52']
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,34 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[58, 13, 26], Operations: ['68-42=26']
Exploring Operation: 13+26=39, Resulting Numbers: [58, 39]
Generated Node #0,2,0: 34:[58, 39] Operation: 13+26=39
Exploring Operation: 58-13=45, Resulting Numbers: [26, 45]
Generated Node #0,2,1: 34:[26, 45] Operation: 58-13=45
Exploring Operation: 58-26=32, Resulting Numbers: [13, 32]
Generated Node #0,2,2: 34:[13, 32] Operation: 58-26=32
Exploring Operation: 26/13=2, Resulting Numbers: [58, 2]
Generated Node #0,2,3: 34:[58, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [58, 13]
Generated Node #0,2,4: 34:[58, 13] Operation: 26-13=13
Moving to Node #0,2,2
Current State: 34:[13, 32], Operations: ['68-42=26', '58-26=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,34 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[26, 45], Operations: ['68-42=26', '58-13=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 26*45=1170, Resulting Numbers: [1170]
1170,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[58, 2], Operations: ['68-42=26', '26/13=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[58, 13], Operations: ['68-42=26', '26-13=13']
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,34 unequal: No Solution
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[58, 39], Operations: ['68-42=26', '13+26=39']
Exploring Operation: 58*39=2262, Resulting Numbers: [2262]
2262,34 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,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
Current State: 34:[68, 13, 16], Operations: ['58-42=16']
Exploring Operation: 16-13=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 34:[68, 3] Operation: 16-13=3
Exploring Operation: 68+13=81, Resulting Numbers: [16, 81]
Generated Node #0,0,1: 34:[16, 81] Operation: 68+13=81
Exploring Operation: 13+16=29, Resulting Numbers: [68, 29]
Generated Node #0,0,2: 34:[68, 29] Operation: 13+16=29
Exploring Operation: 68-16=52, Resulting Numbers: [13, 52]
Generated Node #0,0,3: 34:[13, 52] Operation: 68-16=52
Exploring Operation: 68-13=55, Resulting Numbers: [16, 55]
Generated Node #0,0,4: 34:[16, 55] Operation: 68-13=55
Moving to Node #0,0,3
Current State: 34:[13, 52], Operations: ['58-42=16', '68-16=52']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[16, 55], Operations: ['58-42=16', '68-13=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[68, 3], Operations: ['58-42=16', '16-13=3']
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,34 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[68, 29], Operations: ['58-42=16', '13+16=29']
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,34 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[16, 81], Operations: ['58-42=16', '68+13=81']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,34 unequal: No Solution
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[42, 58, 55], Operations: ['68-13=55']
Exploring Operation: 42+55=97, Resulting Numbers: [58, 97]
Generated Node #0,1,0: 34:[58, 97] Operation: 42+55=97
Exploring Operation: 58-55=3, Resulting Numbers: [42, 3]
Generated Node #0,1,1: 34:[42, 3] Operation: 58-55=3
Exploring Operation: 55-42=13, Resulting Numbers: [58, 13]
Generated Node #0,1,2: 34:[58, 13] Operation: 55-42=13
Exploring Operation: 42+58=100, Resulting Numbers: [55, 100]
Generated Node #0,1,3: 34:[55, 100] Operation: 42+58=100
Exploring Operation: 58-42=16, Resulting Numbers: [55, 16]
Generated Node #0,1,4: 34:[55, 16] Operation: 58-42=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[42, 3], Operations: ['68-13=55', '58-55=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,34 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 34:[55, 16], Operations: ['68-13=55', '58-42=16']
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,34 unequal: No Solution
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[58, 13], Operations: ['68-13=55', '55-42=13']
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,34 unequal: No Solution
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[58, 97], Operations: ['68-13=55', '42+55=97']
Exploring Operation: 58*97=5626, Resulting Numbers: [5626]
5626,34 unequal: No Solution
Exploring Operation: 58+97=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 34:[55, 100], Operations: ['68-13=55', '42+58=100']
Exploring Operation: 55+100=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 100-55=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 55*100=5500, Resulting Numbers: [5500]
5500,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[42, 68, 45], Operations: ['58-13=45']
Exploring Operation: 68-42=26, Resulting Numbers: [45, 26]
Generated Node #0,4,0: 34:[45, 26] Operation: 68-42=26
Exploring Operation: 68-45=23, Resulting Numbers: [42, 23]
Generated Node #0,4,1: 34:[42, 23] Operation: 68-45=23
Exploring Operation: 42+45=87, Resulting Numbers: [68, 87]
Generated Node #0,4,2: 34:[68, 87] Operation: 42+45=87
Exploring Operation: 45-42=3, Resulting Numbers: [68, 3]
Generated Node #0,4,3: 34:[68, 3] Operation: 45-42=3
Exploring Operation: 42+68=110, Resulting Numbers: [45, 110]
Generated Node #0,4,4: 34:[45, 110] Operation: 42+68=110
Moving to Node #0,4,1
Current State: 34:[42, 23], Operations: ['58-13=45', '68-45=23']
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[45, 26], Operations: ['58-13=45', '68-42=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[68, 3], Operations: ['58-13=45', '45-42=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[68, 87], Operations: ['58-13=45', '42+45=87']
Exploring Operation: 68+87=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 68*87=5916, Resulting Numbers: [5916]
5916,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[45, 110], Operations: ['58-13=45', '42+68=110']
Exploring Operation: 110-45=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 45+110=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 45*110=4950, Resulting Numbers: [4950]
4950,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
94,
59,
98,
37
] | 47 |
[
"98-59=39",
"39-37=2",
"94/2=47"
] |
Current State: 47:[94, 59, 98, 37], Operations: []
Exploring Operation: 98-59=39, Resulting Numbers: [94, 37, 39]
Generated Node #2: [94, 37, 39] from Operation: 98-59=39
Current State: 47:[94, 37, 39], Operations: ['98-59=39']
Exploring Operation: 39-37=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 39-37=2
Current State: 47:[94, 2], Operations: ['98-59=39', '39-37=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[94, 59, 98, 37], Operations: []
Exploring Operation: 98-59=39, Resulting Numbers: [94, 37, 39]
Generated Node #0,0: 47:[94, 37, 39] Operation: 98-59=39
Exploring Operation: 98-94=4, Resulting Numbers: [59, 37, 4]
Generated Node #0,1: 47:[59, 37, 4] Operation: 98-94=4
Moving to Node #0,0
Current State: 47:[94, 37, 39], Operations: ['98-59=39']
Exploring Operation: 94-37=57, Resulting Numbers: [39, 57]
Generated Node #0,0,0: 47:[39, 57] Operation: 94-37=57
Exploring Operation: 94-39=55, Resulting Numbers: [37, 55]
Generated Node #0,0,1: 47:[37, 55] Operation: 94-39=55
Moving to Node #0,1
Current State: 47:[59, 37, 4], Operations: ['98-94=4']
Exploring Operation: 59-4=55, Resulting Numbers: [37, 55]
Generated Node #0,1,0: 47:[37, 55] Operation: 59-4=55
Exploring Operation: 37+4=41, Resulting Numbers: [59, 41]
Generated Node #0,1,1: 47:[59, 41] Operation: 37+4=41
Moving to Node #0,0,0
Current State: 47:[39, 57], Operations: ['98-59=39', '94-37=57']
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[37, 55], Operations: ['98-94=4', '59-4=55']
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[37, 55], Operations: ['98-59=39', '94-39=55']
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[59, 41], Operations: ['98-94=4', '37+4=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
15,
86,
29,
58
] | 56 |
[
"15*58=870",
"870/29=30",
"86-30=56"
] |
Current State: 56:[15, 86, 29, 58], Operations: []
Exploring Operation: 15*58=870, Resulting Numbers: [86, 29, 870]
Generated Node #2: [86, 29, 870] from Operation: 15*58=870
Current State: 56:[86, 29, 870], Operations: ['15*58=870']
Exploring Operation: 870/29=30, Resulting Numbers: [86, 30]
Generated Node #3: [86, 30] from Operation: 870/29=30
Current State: 56:[86, 30], Operations: ['15*58=870', '870/29=30']
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[15, 86, 29, 58], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [15, 29, 28]
Generated Node #0,0: 56:[15, 29, 28] Operation: 86-58=28
Moving to Node #0,0
Current State: 56:[15, 29, 28], Operations: ['86-58=28']
Exploring Operation: 29-15=14, Resulting Numbers: [28, 14]
Generated Node #0,0,0: 56:[28, 14] Operation: 29-15=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[28, 14], Operations: ['86-58=28', '29-15=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,56 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
|
[
83,
19,
32,
24
] | 26 |
[
"83-19=64",
"64/32=2",
"24+2=26"
] |
Current State: 26:[83, 19, 32, 24], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [32, 24, 64]
Generated Node #2: [32, 24, 64] from Operation: 83-19=64
Current State: 26:[32, 24, 64], Operations: ['83-19=64']
Exploring Operation: 64/32=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 64/32=2
Current State: 26:[24, 2], Operations: ['83-19=64', '64/32=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[83, 19, 32, 24], Operations: []
Exploring Operation: 83-24=59, Resulting Numbers: [19, 32, 59]
Generated Node #0,0: 26:[19, 32, 59] Operation: 83-24=59
Exploring Operation: 83-32=51, Resulting Numbers: [19, 24, 51]
Generated Node #0,1: 26:[19, 24, 51] Operation: 83-32=51
Moving to Node #0,1
Current State: 26:[19, 24, 51], Operations: ['83-32=51']
Exploring Operation: 51-24=27, Resulting Numbers: [19, 27]
Generated Node #0,1,0: 26:[19, 27] Operation: 51-24=27
Exploring Operation: 51-19=32, Resulting Numbers: [24, 32]
Generated Node #0,1,1: 26:[24, 32] Operation: 51-19=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[19, 27], Operations: ['83-32=51', '51-24=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[24, 32], Operations: ['83-32=51', '51-19=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[19, 32, 59], Operations: ['83-24=59']
Exploring Operation: 59-32=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 26:[19, 27] Operation: 59-32=27
Exploring Operation: 59-19=40, Resulting Numbers: [32, 40]
Generated Node #0,0,1: 26:[32, 40] Operation: 59-19=40
Moving to Node #0,0,0
Current State: 26:[19, 27], Operations: ['83-24=59', '59-32=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[32, 40], Operations: ['83-24=59', '59-19=40']
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,26 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
59,
11,
33,
9
] | 32 |
[
"33/11=3",
"9*3=27",
"59-27=32"
] |
Current State: 32:[59, 11, 33, 9], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [59, 9, 3]
Generated Node #2: [59, 9, 3] from Operation: 33/11=3
Current State: 32:[59, 9, 3], Operations: ['33/11=3']
Exploring Operation: 9*3=27, Resulting Numbers: [59, 27]
Generated Node #3: [59, 27] from Operation: 9*3=27
Current State: 32:[59, 27], Operations: ['33/11=3', '9*3=27']
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[59, 11, 33, 9], Operations: []
Exploring Operation: 59-9=50, Resulting Numbers: [11, 33, 50]
Generated Node #0,0: 32:[11, 33, 50] Operation: 59-9=50
Exploring Operation: 59-11=48, Resulting Numbers: [33, 9, 48]
Generated Node #0,1: 32:[33, 9, 48] Operation: 59-11=48
Exploring Operation: 59-33=26, Resulting Numbers: [11, 9, 26]
Generated Node #0,2: 32:[11, 9, 26] Operation: 59-33=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[11, 9, 26], Operations: ['59-33=26']
Exploring Operation: 11-9=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 32:[26, 2] Operation: 11-9=2
Exploring Operation: 26-9=17, Resulting Numbers: [11, 17]
Generated Node #0,2,1: 32:[11, 17] Operation: 26-9=17
Exploring Operation: 26-11=15, Resulting Numbers: [9, 15]
Generated Node #0,2,2: 32:[9, 15] Operation: 26-11=15
Moving to Node #0,2,2
Current State: 32:[9, 15], Operations: ['59-33=26', '26-11=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[11, 17], Operations: ['59-33=26', '26-9=17']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,32 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[26, 2], Operations: ['59-33=26', '11-9=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[33, 9, 48], Operations: ['59-11=48']
Exploring Operation: 33-9=24, Resulting Numbers: [48, 24]
Generated Node #0,1,0: 32:[48, 24] Operation: 33-9=24
Exploring Operation: 48-33=15, Resulting Numbers: [9, 15]
Generated Node #0,1,1: 32:[9, 15] Operation: 48-33=15
Exploring Operation: 48-9=39, Resulting Numbers: [33, 39]
Generated Node #0,1,2: 32:[33, 39] Operation: 48-9=39
Moving to Node #0,1,1
Current State: 32:[9, 15], Operations: ['59-11=48', '48-33=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[33, 39], Operations: ['59-11=48', '48-9=39']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[48, 24], Operations: ['59-11=48', '33-9=24']
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[11, 33, 50], Operations: ['59-9=50']
Exploring Operation: 50-11=39, Resulting Numbers: [33, 39]
Generated Node #0,0,0: 32:[33, 39] Operation: 50-11=39
Exploring Operation: 33/11=3, Resulting Numbers: [50, 3]
Generated Node #0,0,1: 32:[50, 3] Operation: 33/11=3
Exploring Operation: 50-33=17, Resulting Numbers: [11, 17]
Generated Node #0,0,2: 32:[11, 17] Operation: 50-33=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[11, 17], Operations: ['59-9=50', '50-33=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,32 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[33, 39], Operations: ['59-9=50', '50-11=39']
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,32 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[50, 3], Operations: ['59-9=50', '33/11=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
76,
16,
30,
36
] | 75 |
[
"76-36=40",
"30*40=1200",
"1200/16=75"
] |
Current State: 75:[76, 16, 30, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [16, 30, 40]
Generated Node #2: [16, 30, 40] from Operation: 76-36=40
Current State: 75:[16, 30, 40], Operations: ['76-36=40']
Exploring Operation: 30*40=1200, Resulting Numbers: [16, 1200]
Generated Node #3: [16, 1200] from Operation: 30*40=1200
Current State: 75:[16, 1200], Operations: ['76-36=40', '30*40=1200']
Exploring Operation: 1200/16=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[76, 16, 30, 36], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [76, 30, 20]
Generated Node #0,0: 75:[76, 30, 20] Operation: 36-16=20
Exploring Operation: 30-16=14, Resulting Numbers: [76, 36, 14]
Generated Node #0,1: 75:[76, 36, 14] Operation: 30-16=14
Exploring Operation: 36-30=6, Resulting Numbers: [76, 16, 6]
Generated Node #0,2: 75:[76, 16, 6] Operation: 36-30=6
Exploring Operation: 30+36=66, Resulting Numbers: [76, 16, 66]
Generated Node #0,3: 75:[76, 16, 66] Operation: 30+36=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[76, 16, 6], Operations: ['36-30=6']
Exploring Operation: 76+6=82, Resulting Numbers: [16, 82]
Generated Node #0,2,0: 75:[16, 82] Operation: 76+6=82
Exploring Operation: 16+6=22, Resulting Numbers: [76, 22]
Generated Node #0,2,1: 75:[76, 22] Operation: 16+6=22
Exploring Operation: 16-6=10, Resulting Numbers: [76, 10]
Generated Node #0,2,2: 75:[76, 10] Operation: 16-6=10
Exploring Operation: 76-6=70, Resulting Numbers: [16, 70]
Generated Node #0,2,3: 75:[16, 70] Operation: 76-6=70
Moving to Node #0,2,1
Current State: 75:[76, 22], Operations: ['36-30=6', '16+6=22']
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,75 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[16, 70], Operations: ['36-30=6', '76-6=70']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,75 unequal: No Solution
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[76, 10], Operations: ['36-30=6', '16-6=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[16, 82], Operations: ['36-30=6', '76+6=82']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,75 unequal: No Solution
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[76, 30, 20], Operations: ['36-16=20']
Exploring Operation: 76-30=46, Resulting Numbers: [20, 46]
Generated Node #0,0,0: 75:[20, 46] Operation: 76-30=46
Exploring Operation: 76+20=96, Resulting Numbers: [30, 96]
Generated Node #0,0,1: 75:[30, 96] Operation: 76+20=96
Exploring Operation: 30-20=10, Resulting Numbers: [76, 10]
Generated Node #0,0,2: 75:[76, 10] Operation: 30-20=10
Exploring Operation: 76-20=56, Resulting Numbers: [30, 56]
Generated Node #0,0,3: 75:[30, 56] Operation: 76-20=56
Moving to Node #0,0,2
Current State: 75:[76, 10], Operations: ['36-16=20', '30-20=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[30, 56], Operations: ['36-16=20', '76-20=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,75 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[30, 96], Operations: ['36-16=20', '76+20=96']
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 30*96=2880, Resulting Numbers: [2880]
2880,75 unequal: No Solution
Exploring Operation: 30+96=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[20, 46], Operations: ['36-16=20', '76-30=46']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[76, 16, 66], Operations: ['30+36=66']
Exploring Operation: 16+66=82, Resulting Numbers: [76, 82]
Generated Node #0,3,0: 75:[76, 82] Operation: 16+66=82
Exploring Operation: 76-16=60, Resulting Numbers: [66, 60]
Generated Node #0,3,1: 75:[66, 60] Operation: 76-16=60
Exploring Operation: 76-66=10, Resulting Numbers: [16, 10]
Generated Node #0,3,2: 75:[16, 10] Operation: 76-66=10
Exploring Operation: 76+16=92, Resulting Numbers: [66, 92]
Generated Node #0,3,3: 75:[66, 92] Operation: 76+16=92
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[16, 10], Operations: ['30+36=66', '76-66=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,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,3,0
Current State: 75:[76, 82], Operations: ['30+36=66', '16+66=82']
Exploring Operation: 76*82=6232, Resulting Numbers: [6232]
6232,75 unequal: No Solution
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,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,3,1
Current State: 75:[66, 60], Operations: ['30+36=66', '76-16=60']
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Exploring Operation: 66*60=3960, Resulting Numbers: [3960]
3960,75 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,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,3,3
Current State: 75:[66, 92], Operations: ['30+36=66', '76+16=92']
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 66+92=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 66*92=6072, Resulting Numbers: [6072]
6072,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[76, 36, 14], Operations: ['30-16=14']
Exploring Operation: 76-36=40, Resulting Numbers: [14, 40]
Generated Node #0,1,0: 75:[14, 40] Operation: 76-36=40
Exploring Operation: 36-14=22, Resulting Numbers: [76, 22]
Generated Node #0,1,1: 75:[76, 22] Operation: 36-14=22
Exploring Operation: 76+14=90, Resulting Numbers: [36, 90]
Generated Node #0,1,2: 75:[36, 90] Operation: 76+14=90
Exploring Operation: 76-14=62, Resulting Numbers: [36, 62]
Generated Node #0,1,3: 75:[36, 62] Operation: 76-14=62
Moving to Node #0,1,1
Current State: 75:[76, 22], Operations: ['30-16=14', '36-14=22']
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,75 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[14, 40], Operations: ['30-16=14', '76-36=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,75 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[36, 62], Operations: ['30-16=14', '76-14=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,75 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[36, 90], Operations: ['30-16=14', '76+14=90']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 36+90=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Exploring Operation: 36*90=3240, Resulting Numbers: [3240]
3240,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
67,
43,
7,
51
] | 20 |
[
"67-43=24",
"51-7=44",
"44-24=20"
] |
Current State: 20:[67, 43, 7, 51], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [7, 51, 24]
Generated Node #2: [7, 51, 24] from Operation: 67-43=24
Current State: 20:[7, 51, 24], Operations: ['67-43=24']
Exploring Operation: 51-7=44, Resulting Numbers: [24, 44]
Generated Node #3: [24, 44] from Operation: 51-7=44
Current State: 20:[24, 44], Operations: ['67-43=24', '51-7=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[67, 43, 7, 51], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [7, 51, 24]
Generated Node #0,0: 20:[7, 51, 24] Operation: 67-43=24
Exploring Operation: 67-51=16, Resulting Numbers: [43, 7, 16]
Generated Node #0,1: 20:[43, 7, 16] Operation: 67-51=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[43, 7, 16], Operations: ['67-51=16']
Exploring Operation: 43-7=36, Resulting Numbers: [16, 36]
Generated Node #0,1,0: 20:[16, 36] Operation: 43-7=36
Exploring Operation: 43-16=27, Resulting Numbers: [7, 27]
Generated Node #0,1,1: 20:[7, 27] Operation: 43-16=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[7, 27], Operations: ['67-51=16', '43-16=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[67, 43, 7, 51], Operations: []
Exploring Operation: 67-51=16, Resulting Numbers: [43, 7, 16]
Generated Node #0,1: 20:[43, 7, 16] Operation: 67-51=16
Moving to Node #0,1
Current State: 20:[43, 7, 16], Operations: ['67-51=16']
Exploring Operation: 43-16=27, Resulting Numbers: [7, 27]
Generated Node #0,1,1: 20:[7, 27] Operation: 43-16=27
Moving to Node #0,1,1
Current State: 20:[7, 27], Operations: ['67-51=16', '43-16=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
15,
16,
80,
35
] | 25 |
[
"35-15=20",
"80/16=5",
"20+5=25"
] |
Current State: 25:[15, 16, 80, 35], Operations: []
Exploring Operation: 35-15=20, Resulting Numbers: [16, 80, 20]
Generated Node #2: [16, 80, 20] from Operation: 35-15=20
Current State: 25:[16, 80, 20], Operations: ['35-15=20']
Exploring Operation: 80/16=5, Resulting Numbers: [20, 5]
Generated Node #3: [20, 5] from Operation: 80/16=5
Current State: 25:[20, 5], Operations: ['35-15=20', '80/16=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[15, 16, 80, 35], Operations: []
Exploring Operation: 80-35=45, Resulting Numbers: [15, 16, 45]
Generated Node #0,0: 25:[15, 16, 45] Operation: 80-35=45
Exploring Operation: 80/16=5, Resulting Numbers: [15, 35, 5]
Generated Node #0,1: 25:[15, 35, 5] Operation: 80/16=5
Moving to Node #0,1
Current State: 25:[15, 35, 5], Operations: ['80/16=5']
Exploring Operation: 35-15=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 25:[5, 20] Operation: 35-15=20
Exploring Operation: 15/5=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 25:[35, 3] Operation: 15/5=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[5, 20], Operations: ['80/16=5', '35-15=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[15, 16, 80, 35], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [15, 35, 5]
Generated Node #0,1: 25:[15, 35, 5] Operation: 80/16=5
Moving to Node #0,1
Current State: 25:[15, 35, 5], Operations: ['80/16=5']
Exploring Operation: 35-15=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 25:[5, 20] Operation: 35-15=20
Moving to Node #0,1,0
Current State: 25:[5, 20], Operations: ['80/16=5', '35-15=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
80,
52,
87,
2
] | 33 |
[
"87-80=7",
"52/2=26",
"7+26=33"
] |
Current State: 33:[80, 52, 87, 2], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [52, 2, 7]
Generated Node #2: [52, 2, 7] from Operation: 87-80=7
Current State: 33:[52, 2, 7], Operations: ['87-80=7']
Exploring Operation: 52/2=26, Resulting Numbers: [7, 26]
Generated Node #3: [7, 26] from Operation: 52/2=26
Current State: 33:[7, 26], Operations: ['87-80=7', '52/2=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[80, 52, 87, 2], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [52, 2, 7]
Generated Node #0,0: 33:[52, 2, 7] Operation: 87-80=7
Exploring Operation: 87-52=35, Resulting Numbers: [80, 2, 35]
Generated Node #0,1: 33:[80, 2, 35] Operation: 87-52=35
Moving to Node #0,0
Current State: 33:[52, 2, 7], Operations: ['87-80=7']
Exploring Operation: 52/2=26, Resulting Numbers: [7, 26]
Generated Node #0,0,0: 33:[7, 26] Operation: 52/2=26
Exploring Operation: 52-7=45, Resulting Numbers: [2, 45]
Generated Node #0,0,1: 33:[2, 45] Operation: 52-7=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[7, 26], Operations: ['87-80=7', '52/2=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[80, 52, 87, 2], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [52, 2, 7]
Generated Node #0,0: 33:[52, 2, 7] Operation: 87-80=7
Moving to Node #0,0
Current State: 33:[52, 2, 7], Operations: ['87-80=7']
Exploring Operation: 52/2=26, Resulting Numbers: [7, 26]
Generated Node #0,0,0: 33:[7, 26] Operation: 52/2=26
Moving to Node #0,0,0
Current State: 33:[7, 26], Operations: ['87-80=7', '52/2=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
75,
25,
14,
77
] | 60 |
[
"75/25=3",
"77-14=63",
"63-3=60"
] |
Current State: 60:[75, 25, 14, 77], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [14, 77, 3]
Generated Node #2: [14, 77, 3] from Operation: 75/25=3
Current State: 60:[14, 77, 3], Operations: ['75/25=3']
Exploring Operation: 77-14=63, Resulting Numbers: [3, 63]
Generated Node #3: [3, 63] from Operation: 77-14=63
Current State: 60:[3, 63], Operations: ['75/25=3', '77-14=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[75, 25, 14, 77], Operations: []
Exploring Operation: 75-14=61, Resulting Numbers: [25, 77, 61]
Generated Node #0,0: 60:[25, 77, 61] Operation: 75-14=61
Exploring Operation: 75/25=3, Resulting Numbers: [14, 77, 3]
Generated Node #0,1: 60:[14, 77, 3] Operation: 75/25=3
Exploring Operation: 77-14=63, Resulting Numbers: [75, 25, 63]
Generated Node #0,2: 60:[75, 25, 63] Operation: 77-14=63
Exploring Operation: 77-25=52, Resulting Numbers: [75, 14, 52]
Generated Node #0,3: 60:[75, 14, 52] Operation: 77-25=52
Exploring Operation: 77-75=2, Resulting Numbers: [25, 14, 2]
Generated Node #0,4: 60:[25, 14, 2] Operation: 77-75=2
Moving to Node #0,4
Current State: 60:[25, 14, 2], Operations: ['77-75=2']
Exploring Operation: 25+2=27, Resulting Numbers: [14, 27]
Generated Node #0,4,0: 60:[14, 27] Operation: 25+2=27
Exploring Operation: 25-2=23, Resulting Numbers: [14, 23]
Generated Node #0,4,1: 60:[14, 23] Operation: 25-2=23
Exploring Operation: 14+2=16, Resulting Numbers: [25, 16]
Generated Node #0,4,2: 60:[25, 16] Operation: 14+2=16
Exploring Operation: 14-2=12, Resulting Numbers: [25, 12]
Generated Node #0,4,3: 60:[25, 12] Operation: 14-2=12
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #0,4,4: 60:[2, 11] Operation: 25-14=11
Moving to Node #0,1
Current State: 60:[14, 77, 3], Operations: ['75/25=3']
Exploring Operation: 77-14=63, Resulting Numbers: [3, 63]
Generated Node #0,1,0: 60:[3, 63] Operation: 77-14=63
Exploring Operation: 77-3=74, Resulting Numbers: [14, 74]
Generated Node #0,1,1: 60:[14, 74] Operation: 77-3=74
Exploring Operation: 14-3=11, Resulting Numbers: [77, 11]
Generated Node #0,1,2: 60:[77, 11] Operation: 14-3=11
Exploring Operation: 14+3=17, Resulting Numbers: [77, 17]
Generated Node #0,1,3: 60:[77, 17] Operation: 14+3=17
Exploring Operation: 77+3=80, Resulting Numbers: [14, 80]
Generated Node #0,1,4: 60:[14, 80] Operation: 77+3=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[3, 63], Operations: ['75/25=3', '77-14=63']
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,60 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[75, 25, 14, 77], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [14, 77, 3]
Generated Node #0,1: 60:[14, 77, 3] Operation: 75/25=3
Moving to Node #0,1
Current State: 60:[14, 77, 3], Operations: ['75/25=3']
Exploring Operation: 77-14=63, Resulting Numbers: [3, 63]
Generated Node #0,1,0: 60:[3, 63] Operation: 77-14=63
Moving to Node #0,1,0
Current State: 60:[3, 63], Operations: ['75/25=3', '77-14=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_5
|
sum_heuristic
|
[
98,
1,
77,
86
] | 88 |
[
"98-1=97",
"86-77=9",
"97-9=88"
] |
Current State: 88:[98, 1, 77, 86], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [77, 86, 97]
Generated Node #2: [77, 86, 97] from Operation: 98-1=97
Current State: 88:[77, 86, 97], Operations: ['98-1=97']
Exploring Operation: 86-77=9, Resulting Numbers: [97, 9]
Generated Node #3: [97, 9] from Operation: 86-77=9
Current State: 88:[97, 9], Operations: ['98-1=97', '86-77=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[98, 1, 77, 86], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [98, 1, 9]
Generated Node #0,0: 88:[98, 1, 9] Operation: 86-77=9
Exploring Operation: 98-77=21, Resulting Numbers: [1, 86, 21]
Generated Node #0,1: 88:[1, 86, 21] Operation: 98-77=21
Moving to Node #0,1
Current State: 88:[1, 86, 21], Operations: ['98-77=21']
Exploring Operation: 1+21=22, Resulting Numbers: [86, 22]
Generated Node #0,1,0: 88:[86, 22] Operation: 1+21=22
Exploring Operation: 1+86=87, Resulting Numbers: [21, 87]
Generated Node #0,1,1: 88:[21, 87] Operation: 1+86=87
Moving to Node #0,0
Current State: 88:[98, 1, 9], Operations: ['86-77=9']
Exploring Operation: 98-1=97, Resulting Numbers: [9, 97]
Generated Node #0,0,0: 88:[9, 97] Operation: 98-1=97
Exploring Operation: 98-9=89, Resulting Numbers: [1, 89]
Generated Node #0,0,1: 88:[1, 89] Operation: 98-9=89
Moving to Node #0,1,0
Current State: 88:[86, 22], Operations: ['98-77=21', '1+21=22']
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,88 unequal: No Solution
Exploring Operation: 86+22=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[1, 89], Operations: ['86-77=9', '98-9=89']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[98, 1, 77, 86], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [98, 1, 9]
Generated Node #0,0: 88:[98, 1, 9] Operation: 86-77=9
Moving to Node #0,0
Current State: 88:[98, 1, 9], Operations: ['86-77=9']
Exploring Operation: 98-9=89, Resulting Numbers: [1, 89]
Generated Node #0,0,1: 88:[1, 89] Operation: 98-9=89
Moving to Node #0,0,1
Current State: 88:[1, 89], Operations: ['86-77=9', '98-9=89']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.988715 |
hs_2
|
mult_heuristic
|
[
93,
33,
33,
93
] | 93 |
[
"33-33=0",
"93*0=0",
"93+0=93"
] |
Current State: 93:[93, 33, 33, 93], Operations: []
Exploring Operation: 33-33=0, Resulting Numbers: [93, 93, 0]
Generated Node #2: [93, 93, 0] from Operation: 33-33=0
Current State: 93:[93, 93, 0], Operations: ['33-33=0']
Exploring Operation: 93*0=0, Resulting Numbers: [0]
0,93 equal: Goal Reached
Exploring Operation: 93+0=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 |
Current State: 93:[93, 33, 33, 93], Operations: []
Exploring Operation: 33/33=1, Resulting Numbers: [93, 93, 1]
Generated Node #0,0: 93:[93, 93, 1] Operation: 33/33=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[93, 93, 1], Operations: ['33/33=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93, 93]
Generated Node #0,0,0: 93:[93, 93] Operation: 93*1=93
Moving to Node #0,0,0
Current State: 93:[93, 93], Operations: ['33/33=1', '93*1=93']
Exploring Operation: 93/93=1, Resulting Numbers: [1]
1,93 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
|
[
13,
7,
24,
7
] | 11 |
[
"13+7=20",
"24+7=31",
"31-20=11"
] |
Current State: 11:[13, 7, 24, 7], Operations: []
Exploring Operation: 13+7=20, Resulting Numbers: [24, 20]
Generated Node #2: [24, 20] from Operation: 13+7=20
Current State: 11:[24, 20], Operations: ['13+7=20']
Exploring Operation: 24+7=31, Resulting Numbers: [20, 31]
Generated Node #3: [20, 31] from Operation: 24+7=31
Current State: 11:[20, 31], Operations: ['13+7=20', '24+7=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[13, 7, 24, 7], Operations: []
Exploring Operation: 7+7=14, Resulting Numbers: [13, 24, 14]
Generated Node #0,0: 11:[13, 24, 14] Operation: 7+7=14
Exploring Operation: 24-7=17, Resulting Numbers: [13, 7, 17]
Generated Node #0,1: 11:[13, 7, 17] Operation: 24-7=17
Exploring Operation: 24-7=17, Resulting Numbers: [13, 7, 17]
Generated Node #0,2: 11:[13, 7, 17] Operation: 24-7=17
Exploring Operation: 24-13=11, Resulting Numbers: [7, 7, 11]
Generated Node #0,3: 11:[7, 7, 11] Operation: 24-13=11
Exploring Operation: 13-7=6, Resulting Numbers: [24, 7, 6]
Generated Node #0,4: 11:[24, 7, 6] Operation: 13-7=6
Moving to Node #0,3
Current State: 11:[7, 7, 11], Operations: ['24-13=11']
Exploring Operation: 11-7=4, Resulting Numbers: [7, 4]
Generated Node #0,3,0: 11:[7, 4] Operation: 11-7=4
Exploring Operation: 7+7=14, Resulting Numbers: [11, 14]
Generated Node #0,3,1: 11:[11, 14] Operation: 7+7=14
Exploring Operation: 7+11=18, Resulting Numbers: [7, 18]
Generated Node #0,3,2: 11:[7, 18] Operation: 7+11=18
Exploring Operation: 7-7=0, Resulting Numbers: [11, 0]
Generated Node #0,3,3: 11:[11, 0] Operation: 7-7=0
Exploring Operation: 7/7=1, Resulting Numbers: [11, 1]
Generated Node #0,3,4: 11:[11, 1] Operation: 7/7=1
Moving to Node #0,2
Current State: 11:[13, 7, 17], Operations: ['24-7=17']
Exploring Operation: 13+7=20, Resulting Numbers: [17, 20]
Generated Node #0,2,0: 11:[17, 20] Operation: 13+7=20
Exploring Operation: 13-7=6, Resulting Numbers: [17, 6]
Generated Node #0,2,1: 11:[17, 6] Operation: 13-7=6
Exploring Operation: 17-13=4, Resulting Numbers: [7, 4]
Generated Node #0,2,2: 11:[7, 4] Operation: 17-13=4
Exploring Operation: 7+17=24, Resulting Numbers: [13, 24]
Generated Node #0,2,3: 11:[13, 24] Operation: 7+17=24
Exploring Operation: 17-7=10, Resulting Numbers: [13, 10]
Generated Node #0,2,4: 11:[13, 10] Operation: 17-7=10
Moving to Node #0,1
Current State: 11:[13, 7, 17], Operations: ['24-7=17']
Exploring Operation: 13-7=6, Resulting Numbers: [17, 6]
Generated Node #0,1,0: 11:[17, 6] Operation: 13-7=6
Exploring Operation: 13+7=20, Resulting Numbers: [17, 20]
Generated Node #0,1,1: 11:[17, 20] Operation: 13+7=20
Exploring Operation: 17-13=4, Resulting Numbers: [7, 4]
Generated Node #0,1,2: 11:[7, 4] Operation: 17-13=4
Exploring Operation: 17-7=10, Resulting Numbers: [13, 10]
Generated Node #0,1,3: 11:[13, 10] Operation: 17-7=10
Exploring Operation: 7+17=24, Resulting Numbers: [13, 24]
Generated Node #0,1,4: 11:[13, 24] Operation: 7+17=24
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[13, 10], Operations: ['24-7=17', '17-7=10']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,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,0
Current State: 11:[17, 6], Operations: ['24-7=17', '13-7=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,11 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[13, 7, 24, 7], Operations: []
Exploring Operation: 24-7=17, Resulting Numbers: [13, 7, 17]
Generated Node #0,1: 11:[13, 7, 17] Operation: 24-7=17
Moving to Node #0,1
Current State: 11:[13, 7, 17], Operations: ['24-7=17']
Exploring Operation: 13-7=6, Resulting Numbers: [17, 6]
Generated Node #0,1,0: 11:[17, 6] Operation: 13-7=6
Moving to Node #0,1,0
Current State: 11:[17, 6], Operations: ['24-7=17', '13-7=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 |
hs_5
|
mult_heuristic
|
[
5,
89,
7,
54
] | 67 |
[
"5*89=445",
"7*54=378",
"445-378=67"
] |
Current State: 67:[5, 89, 7, 54], Operations: []
Exploring Operation: 5*89=445, Resulting Numbers: [7, 54, 445]
Generated Node #2: [7, 54, 445] from Operation: 5*89=445
Current State: 67:[7, 54, 445], Operations: ['5*89=445']
Exploring Operation: 7*54=378, Resulting Numbers: [445, 378]
Generated Node #3: [445, 378] from Operation: 7*54=378
Current State: 67:[445, 378], Operations: ['5*89=445', '7*54=378']
Exploring Operation: 445-378=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[5, 89, 7, 54], Operations: []
Exploring Operation: 5*7=35, Resulting Numbers: [89, 54, 35]
Generated Node #0,0: 67:[89, 54, 35] Operation: 5*7=35
Exploring Operation: 5+54=59, Resulting Numbers: [89, 7, 59]
Generated Node #0,1: 67:[89, 7, 59] Operation: 5+54=59
Exploring Operation: 89-7=82, Resulting Numbers: [5, 54, 82]
Generated Node #0,2: 67:[5, 54, 82] Operation: 89-7=82
Exploring Operation: 89-5=84, Resulting Numbers: [7, 54, 84]
Generated Node #0,3: 67:[7, 54, 84] Operation: 89-5=84
Exploring Operation: 5+7=12, Resulting Numbers: [89, 54, 12]
Generated Node #0,4: 67:[89, 54, 12] Operation: 5+7=12
Moving to Node #0,0
Current State: 67:[89, 54, 35], Operations: ['5*7=35']
Exploring Operation: 89-54=35, Resulting Numbers: [35, 35]
Generated Node #0,0,0: 67:[35, 35] Operation: 89-54=35
Exploring Operation: 89-35=54, Resulting Numbers: [54, 54]
Generated Node #0,0,1: 67:[54, 54] Operation: 89-35=54
Exploring Operation: 54+35=89, Resulting Numbers: [89, 89]
Generated Node #0,0,2: 67:[89, 89] Operation: 54+35=89
Exploring Operation: 89+35=124, Resulting Numbers: [54, 124]
Generated Node #0,0,3: 67:[54, 124] Operation: 89+35=124
Exploring Operation: 54-35=19, Resulting Numbers: [89, 19]
Generated Node #0,0,4: 67:[89, 19] Operation: 54-35=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[54, 54], Operations: ['5*7=35', '89-35=54']
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[89, 89], Operations: ['5*7=35', '54+35=89']
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 89*89=7921, Resulting Numbers: [7921]
7921,67 unequal: No Solution
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[35, 35], Operations: ['5*7=35', '89-54=35']
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,67 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[54, 124], Operations: ['5*7=35', '89+35=124']
Exploring Operation: 124-54=70, Resulting Numbers: [70]
70,67 unequal: No Solution
Exploring Operation: 54+124=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Exploring Operation: 54*124=6696, Resulting Numbers: [6696]
6696,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 67:[89, 19], Operations: ['5*7=35', '54-35=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,67 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,67 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: 67:[5, 54, 82], Operations: ['89-7=82']
Exploring Operation: 54-5=49, Resulting Numbers: [82, 49]
Generated Node #0,2,0: 67:[82, 49] Operation: 54-5=49
Exploring Operation: 5+82=87, Resulting Numbers: [54, 87]
Generated Node #0,2,1: 67:[54, 87] Operation: 5+82=87
Exploring Operation: 82-5=77, Resulting Numbers: [54, 77]
Generated Node #0,2,2: 67:[54, 77] Operation: 82-5=77
Exploring Operation: 82-54=28, Resulting Numbers: [5, 28]
Generated Node #0,2,3: 67:[5, 28] Operation: 82-54=28
Exploring Operation: 5+54=59, Resulting Numbers: [82, 59]
Generated Node #0,2,4: 67:[82, 59] Operation: 5+54=59
Moving to Node #0,4
Current State: 67:[89, 54, 12], Operations: ['5+7=12']
Exploring Operation: 89-12=77, Resulting Numbers: [54, 77]
Generated Node #0,4,0: 67:[54, 77] Operation: 89-12=77
Exploring Operation: 89-54=35, Resulting Numbers: [12, 35]
Generated Node #0,4,1: 67:[12, 35] Operation: 89-54=35
Exploring Operation: 54-12=42, Resulting Numbers: [89, 42]
Generated Node #0,4,2: 67:[89, 42] Operation: 54-12=42
Exploring Operation: 54+12=66, Resulting Numbers: [89, 66]
Generated Node #0,4,3: 67:[89, 66] Operation: 54+12=66
Exploring Operation: 89+12=101, Resulting Numbers: [54, 101]
Generated Node #0,4,4: 67:[54, 101] Operation: 89+12=101
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[54, 77], Operations: ['5+7=12', '89-12=77']
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,67 unequal: No Solution
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[89, 66], Operations: ['5+7=12', '54+12=66']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 67:[89, 42], Operations: ['5+7=12', '54-12=42']
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,67 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 67:[54, 101], Operations: ['5+7=12', '89+12=101']
Exploring Operation: 54*101=5454, Resulting Numbers: [5454]
5454,67 unequal: No Solution
Exploring Operation: 54+101=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 101-54=47, Resulting Numbers: [47]
47,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[12, 35], Operations: ['5+7=12', '89-54=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,67 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: 67:[89, 7, 59], Operations: ['5+54=59']
Exploring Operation: 89-59=30, Resulting Numbers: [7, 30]
Generated Node #0,1,0: 67:[7, 30] Operation: 89-59=30
Exploring Operation: 7+59=66, Resulting Numbers: [89, 66]
Generated Node #0,1,1: 67:[89, 66] Operation: 7+59=66
Exploring Operation: 59-7=52, Resulting Numbers: [89, 52]
Generated Node #0,1,2: 67:[89, 52] Operation: 59-7=52
Exploring Operation: 89-7=82, Resulting Numbers: [59, 82]
Generated Node #0,1,3: 67:[59, 82] Operation: 89-7=82
Exploring Operation: 89+7=96, Resulting Numbers: [59, 96]
Generated Node #0,1,4: 67:[59, 96] Operation: 89+7=96
Moving to Node #0,3
Current State: 67:[7, 54, 84], Operations: ['89-5=84']
Exploring Operation: 84/7=12, Resulting Numbers: [54, 12]
Generated Node #0,3,0: 67:[54, 12] Operation: 84/7=12
Exploring Operation: 84-7=77, Resulting Numbers: [54, 77]
Generated Node #0,3,1: 67:[54, 77] Operation: 84-7=77
Exploring Operation: 54-7=47, Resulting Numbers: [84, 47]
Generated Node #0,3,2: 67:[84, 47] Operation: 54-7=47
Exploring Operation: 7+84=91, Resulting Numbers: [54, 91]
Generated Node #0,3,3: 67:[54, 91] Operation: 7+84=91
Exploring Operation: 7+54=61, Resulting Numbers: [84, 61]
Generated Node #0,3,4: 67:[84, 61] Operation: 7+54=61
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[54, 77], Operations: ['89-5=84', '84-7=77']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,67 unequal: No Solution
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 67:[84, 61], Operations: ['89-5=84', '7+54=61']
Exploring Operation: 84+61=145, Resulting Numbers: [145]
145,67 unequal: No Solution
Exploring Operation: 84*61=5124, Resulting Numbers: [5124]
5124,67 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[84, 47], Operations: ['89-5=84', '54-7=47']
Exploring Operation: 84+47=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 84*47=3948, Resulting Numbers: [3948]
3948,67 unequal: No Solution
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[54, 91], Operations: ['89-5=84', '7+84=91']
Exploring Operation: 54+91=145, Resulting Numbers: [145]
145,67 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 54*91=4914, Resulting Numbers: [4914]
4914,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[54, 12], Operations: ['89-5=84', '84/7=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,67 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 67:[54, 77], Operations: ['89-7=82', '82-5=77']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,67 unequal: No Solution
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[89, 66], Operations: ['5+54=59', '7+59=66']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,67 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[59, 82], Operations: ['5+54=59', '89-7=82']
Exploring Operation: 59+82=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 59*82=4838, Resulting Numbers: [4838]
4838,67 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[82, 59], Operations: ['89-7=82', '5+54=59']
Exploring Operation: 82*59=4838, Resulting Numbers: [4838]
4838,67 unequal: No Solution
Exploring Operation: 82+59=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[82, 49], Operations: ['89-7=82', '54-5=49']
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,67 unequal: No Solution
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[54, 87], Operations: ['89-7=82', '5+82=87']
Exploring Operation: 54*87=4698, Resulting Numbers: [4698]
4698,67 unequal: No Solution
Exploring Operation: 54+87=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[59, 96], Operations: ['5+54=59', '89+7=96']
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 59+96=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 59*96=5664, Resulting Numbers: [5664]
5664,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[89, 52], Operations: ['5+54=59', '59-7=52']
Exploring Operation: 89*52=4628, Resulting Numbers: [4628]
4628,67 unequal: No Solution
Exploring Operation: 89+52=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 89-52=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[7, 30], Operations: ['5+54=59', '89-59=30']
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,67 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[5, 28], Operations: ['89-7=82', '82-54=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,67 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
48,
71,
3,
44
] | 71 |
[
"48-3=45",
"45-44=1",
"71*1=71"
] |
Current State: 71:[48, 71, 3, 44], Operations: []
Exploring Operation: 48-3=45, Resulting Numbers: [71, 44, 45]
Generated Node #2: [71, 44, 45] from Operation: 48-3=45
Current State: 71:[71, 44, 45], Operations: ['48-3=45']
Exploring Operation: 45-44=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 45-44=1
Current State: 71:[71, 1], Operations: ['48-3=45', '45-44=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[48, 71, 3, 44], Operations: []
Exploring Operation: 48+3=51, Resulting Numbers: [71, 44, 51]
Generated Node #0,0: 71:[71, 44, 51] Operation: 48+3=51
Moving to Node #0,0
Current State: 71:[71, 44, 51], Operations: ['48+3=51']
Exploring Operation: 44+51=95, Resulting Numbers: [71, 95]
Generated Node #0,0,0: 71:[71, 95] Operation: 44+51=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[71, 95], Operations: ['48+3=51', '44+51=95']
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,71 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.