Datasets:

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
[ 26, 62, 2, 93 ]
21
[ "62-26=36", "2*36=72", "93-72=21" ]
Current State: 21:[26, 62, 2, 93], Operations: [] Exploring Operation: 62-26=36, Resulting Numbers: [2, 93, 36] Generated Node #2: [2, 93, 36] from Operation: 62-26=36 Current State: 21:[2, 93, 36], Operations: ['62-26=36'] Exploring Operation: 2*36=72, Resulting Numbers: [93, 72] Generated Node #3: [93, 72] from Operation: 2*36=72 Current State: 21:[93, 72], Operations: ['62-26=36', '2*36=72'] Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[26, 62, 2, 93], Operations: [] Exploring Operation: 93-62=31, Resulting Numbers: [26, 2, 31] Generated Node #0,0: 21:[26, 2, 31] Operation: 93-62=31 Exploring Operation: 62/2=31, Resulting Numbers: [26, 93, 31] Generated Node #0,1: 21:[26, 93, 31] Operation: 62/2=31 Moving to Node #0,0 Current State: 21:[26, 2, 31], Operations: ['93-62=31'] Exploring Operation: 31-26=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 21:[2, 5] Operation: 31-26=5 Exploring Operation: 26-2=24, Resulting Numbers: [31, 24] Generated Node #0,0,1: 21:[31, 24] Operation: 26-2=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[2, 5], Operations: ['93-62=31', '31-26=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[31, 24], Operations: ['93-62=31', '26-2=24'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 21:[26, 93, 31], Operations: ['62/2=31'] Exploring Operation: 93-31=62, Resulting Numbers: [26, 62] Generated Node #0,1,0: 21:[26, 62] Operation: 93-31=62 Exploring Operation: 93/31=3, Resulting Numbers: [26, 3] Generated Node #0,1,1: 21:[26, 3] Operation: 93/31=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[26, 3], Operations: ['62/2=31', '93/31=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[26, 62], Operations: ['62/2=31', '93-31=62'] Exploring Operation: 26+62=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,21 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
[ 4, 61, 23, 98 ]
77
[ "61+23=84", "84/4=21", "98-21=77" ]
Current State: 77:[4, 61, 23, 98], Operations: [] Exploring Operation: 61+23=84, Resulting Numbers: [4, 98, 84] Generated Node #2: [4, 98, 84] from Operation: 61+23=84 Current State: 77:[4, 98, 84], Operations: ['61+23=84'] Exploring Operation: 84/4=21, Resulting Numbers: [98, 21] Generated Node #3: [98, 21] from Operation: 84/4=21 Current State: 77:[98, 21], Operations: ['61+23=84', '84/4=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[4, 61, 23, 98], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [4, 61, 75] Generated Node #0,0: 77:[4, 61, 75] Operation: 98-23=75 Exploring Operation: 61+23=84, Resulting Numbers: [4, 98, 84] Generated Node #0,1: 77:[4, 98, 84] Operation: 61+23=84 Exploring Operation: 98-61=37, Resulting Numbers: [4, 23, 37] Generated Node #0,2: 77:[4, 23, 37] Operation: 98-61=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[4, 61, 75], Operations: ['98-23=75'] Exploring Operation: 75-61=14, Resulting Numbers: [4, 14] Generated Node #0,0,0: 77:[4, 14] Operation: 75-61=14 Exploring Operation: 4+61=65, Resulting Numbers: [75, 65] Generated Node #0,0,1: 77:[75, 65] Operation: 4+61=65 Exploring Operation: 4+75=79, Resulting Numbers: [61, 79] Generated Node #0,0,2: 77:[61, 79] Operation: 4+75=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[4, 14], Operations: ['98-23=75', '75-61=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[75, 65], Operations: ['98-23=75', '4+61=65'] Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 75*65=4875, Resulting Numbers: [4875] 4875,77 unequal: No Solution Exploring Operation: 75+65=140, Resulting Numbers: [140] 140,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 77:[61, 79], Operations: ['98-23=75', '4+75=79'] Exploring Operation: 61*79=4819, Resulting Numbers: [4819] 4819,77 unequal: No Solution Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 61+79=140, Resulting Numbers: [140] 140,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[4, 98, 84], Operations: ['61+23=84'] Exploring Operation: 84-4=80, Resulting Numbers: [98, 80] Generated Node #0,1,0: 77:[98, 80] Operation: 84-4=80 Exploring Operation: 98-4=94, Resulting Numbers: [84, 94] Generated Node #0,1,1: 77:[84, 94] Operation: 98-4=94 Exploring Operation: 98-84=14, Resulting Numbers: [4, 14] Generated Node #0,1,2: 77:[4, 14] Operation: 98-84=14 Moving to Node #0,1,2 Current State: 77:[4, 14], Operations: ['61+23=84', '98-84=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[98, 80], Operations: ['61+23=84', '84-4=80'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 98*80=7840, Resulting Numbers: [7840] 7840,77 unequal: No Solution Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[84, 94], Operations: ['61+23=84', '98-4=94'] Exploring Operation: 84+94=178, Resulting Numbers: [178] 178,77 unequal: No Solution Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 84*94=7896, Resulting Numbers: [7896] 7896,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[4, 23, 37], Operations: ['98-61=37'] Exploring Operation: 23+37=60, Resulting Numbers: [4, 60] Generated Node #0,2,0: 77:[4, 60] Operation: 23+37=60 Exploring Operation: 37-23=14, Resulting Numbers: [4, 14] Generated Node #0,2,1: 77:[4, 14] Operation: 37-23=14 Exploring Operation: 23-4=19, Resulting Numbers: [37, 19] Generated Node #0,2,2: 77:[37, 19] Operation: 23-4=19 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[4, 14], Operations: ['98-61=37', '37-23=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 77:[4, 60], Operations: ['98-61=37', '23+37=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[37, 19], Operations: ['98-61=37', '23-4=19'] Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 37*19=703, Resulting Numbers: [703] 703,77 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 13, 44, 7, 69 ]
22
[ "13*7=91", "44+69=113", "113-91=22" ]
Current State: 22:[13, 44, 7, 69], Operations: [] Exploring Operation: 13*7=91, Resulting Numbers: [44, 69, 91] Generated Node #2: [44, 69, 91] from Operation: 13*7=91 Current State: 22:[44, 69, 91], Operations: ['13*7=91'] Exploring Operation: 44+69=113, Resulting Numbers: [91, 113] Generated Node #3: [91, 113] from Operation: 44+69=113 Current State: 22:[91, 113], Operations: ['13*7=91', '44+69=113'] Exploring Operation: 113-91=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[13, 44, 7, 69], Operations: [] Exploring Operation: 44-7=37, Resulting Numbers: [13, 69, 37] Generated Node #0,0: 22:[13, 69, 37] Operation: 44-7=37 Exploring Operation: 69-44=25, Resulting Numbers: [13, 7, 25] Generated Node #0,1: 22:[13, 7, 25] Operation: 69-44=25 Exploring Operation: 44-13=31, Resulting Numbers: [7, 69, 31] Generated Node #0,2: 22:[7, 69, 31] Operation: 44-13=31 Exploring Operation: 69-13=56, Resulting Numbers: [44, 7, 56] Generated Node #0,3: 22:[44, 7, 56] Operation: 69-13=56 Moving to Node #0,1 Current State: 22:[13, 7, 25], Operations: ['69-44=25'] Exploring Operation: 25-13=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 22:[7, 12] Operation: 25-13=12 Exploring Operation: 13+7=20, Resulting Numbers: [25, 20] Generated Node #0,1,1: 22:[25, 20] Operation: 13+7=20 Exploring Operation: 25-7=18, Resulting Numbers: [13, 18] Generated Node #0,1,2: 22:[13, 18] Operation: 25-7=18 Exploring Operation: 13-7=6, Resulting Numbers: [25, 6] Generated Node #0,1,3: 22:[25, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[7, 12], Operations: ['69-44=25', '25-13=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,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:[25, 20], Operations: ['69-44=25', '13+7=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,22 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,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,2 Current State: 22:[13, 18], Operations: ['69-44=25', '25-7=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,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:[25, 6], Operations: ['69-44=25', '13-7=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,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:[44, 7, 56], Operations: ['69-13=56'] Exploring Operation: 56/7=8, Resulting Numbers: [44, 8] Generated Node #0,3,0: 22:[44, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [44, 49] Generated Node #0,3,1: 22:[44, 49] Operation: 56-7=49 Exploring Operation: 56-44=12, Resulting Numbers: [7, 12] Generated Node #0,3,2: 22:[7, 12] Operation: 56-44=12 Exploring Operation: 44-7=37, Resulting Numbers: [56, 37] Generated Node #0,3,3: 22:[56, 37] Operation: 44-7=37 Moving to Node #0,2 Current State: 22:[7, 69, 31], Operations: ['44-13=31'] Exploring Operation: 69-7=62, Resulting Numbers: [31, 62] Generated Node #0,2,0: 22:[31, 62] Operation: 69-7=62 Exploring Operation: 69-31=38, Resulting Numbers: [7, 38] Generated Node #0,2,1: 22:[7, 38] Operation: 69-31=38 Exploring Operation: 31-7=24, Resulting Numbers: [69, 24] Generated Node #0,2,2: 22:[69, 24] Operation: 31-7=24 Exploring Operation: 7+69=76, Resulting Numbers: [31, 76] Generated Node #0,2,3: 22:[31, 76] Operation: 7+69=76 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[7, 38], Operations: ['44-13=31', '69-31=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,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,2,0 Current State: 22:[31, 62], Operations: ['44-13=31', '69-7=62'] Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,22 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,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,2,2 Current State: 22:[69, 24], Operations: ['44-13=31', '31-7=24'] Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,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,2,3 Current State: 22:[31, 76], Operations: ['44-13=31', '7+69=76'] Exploring Operation: 31*76=2356, Resulting Numbers: [2356] 2356,22 unequal: No Solution Exploring Operation: 31+76=107, Resulting Numbers: [107] 107,22 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,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:[13, 69, 37], Operations: ['44-7=37'] Exploring Operation: 13+69=82, Resulting Numbers: [37, 82] Generated Node #0,0,0: 22:[37, 82] Operation: 13+69=82 Exploring Operation: 69-37=32, Resulting Numbers: [13, 32] Generated Node #0,0,1: 22:[13, 32] Operation: 69-37=32 Exploring Operation: 69-13=56, Resulting Numbers: [37, 56] Generated Node #0,0,2: 22:[37, 56] Operation: 69-13=56 Exploring Operation: 37-13=24, Resulting Numbers: [69, 24] Generated Node #0,0,3: 22:[69, 24] Operation: 37-13=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[13, 32], Operations: ['44-7=37', '69-37=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,22 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,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:[37, 56], Operations: ['44-7=37', '69-13=56'] Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,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:[69, 24], Operations: ['44-7=37', '37-13=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,22 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,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:[37, 82], Operations: ['44-7=37', '13+69=82'] Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,22 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 22:[7, 12], Operations: ['69-13=56', '56-44=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[44, 8], Operations: ['69-13=56', '56/7=8'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,22 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[56, 37], Operations: ['69-13=56', '44-7=37'] Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,22 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[44, 49], Operations: ['69-13=56', '56-7=49'] Exploring Operation: 44*49=2156, Resulting Numbers: [2156] 2156,22 unequal: No Solution Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 10, 59, 65, 72 ]
11
[ "72-65=7", "10*7=70", "70-59=11" ]
Current State: 11:[10, 59, 65, 72], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [10, 59, 7] Generated Node #2: [10, 59, 7] from Operation: 72-65=7 Current State: 11:[10, 59, 7], Operations: ['72-65=7'] Exploring Operation: 10*7=70, Resulting Numbers: [59, 70] Generated Node #3: [59, 70] from Operation: 10*7=70 Current State: 11:[59, 70], Operations: ['72-65=7', '10*7=70'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[10, 59, 65, 72], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [10, 72, 6] Generated Node #0,0: 11:[10, 72, 6] Operation: 65-59=6 Exploring Operation: 72-59=13, Resulting Numbers: [10, 65, 13] Generated Node #0,1: 11:[10, 65, 13] Operation: 72-59=13 Exploring Operation: 59-10=49, Resulting Numbers: [65, 72, 49] Generated Node #0,2: 11:[65, 72, 49] Operation: 59-10=49 Exploring Operation: 72-65=7, Resulting Numbers: [10, 59, 7] Generated Node #0,3: 11:[10, 59, 7] Operation: 72-65=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[10, 59, 7], Operations: ['72-65=7'] Exploring Operation: 59-7=52, Resulting Numbers: [10, 52] Generated Node #0,3,0: 11:[10, 52] Operation: 59-7=52 Exploring Operation: 10-7=3, Resulting Numbers: [59, 3] Generated Node #0,3,1: 11:[59, 3] Operation: 10-7=3 Exploring Operation: 59-10=49, Resulting Numbers: [7, 49] Generated Node #0,3,2: 11:[7, 49] Operation: 59-10=49 Exploring Operation: 10+7=17, Resulting Numbers: [59, 17] Generated Node #0,3,3: 11:[59, 17] Operation: 10+7=17 Moving to Node #0,3,0 Current State: 11:[10, 52], Operations: ['72-65=7', '59-7=52'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 10*52=520, Resulting Numbers: [520] 520,11 unequal: No Solution Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[7, 49], Operations: ['72-65=7', '59-10=49'] Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,11 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[59, 17], Operations: ['72-65=7', '10+7=17'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 59+17=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 59*17=1003, Resulting Numbers: [1003] 1003,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[59, 3], Operations: ['72-65=7', '10-7=3'] Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,11 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[10, 65, 13], Operations: ['72-59=13'] Exploring Operation: 13-10=3, Resulting Numbers: [65, 3] Generated Node #0,1,0: 11:[65, 3] Operation: 13-10=3 Exploring Operation: 65/13=5, Resulting Numbers: [10, 5] Generated Node #0,1,1: 11:[10, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [10, 52] Generated Node #0,1,2: 11:[10, 52] Operation: 65-13=52 Exploring Operation: 65-10=55, Resulting Numbers: [13, 55] Generated Node #0,1,3: 11:[13, 55] Operation: 65-10=55 Moving to Node #0,1,1 Current State: 11:[10, 5], Operations: ['72-59=13', '65/13=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[10, 52], Operations: ['72-59=13', '65-13=52'] Exploring Operation: 10*52=520, Resulting Numbers: [520] 520,11 unequal: No Solution Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[13, 55], Operations: ['72-59=13', '65-10=55'] Exploring Operation: 13*55=715, Resulting Numbers: [715] 715,11 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[65, 3], Operations: ['72-59=13', '13-10=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,11 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[10, 72, 6], Operations: ['65-59=6'] Exploring Operation: 10+6=16, Resulting Numbers: [72, 16] Generated Node #0,0,0: 11:[72, 16] Operation: 10+6=16 Exploring Operation: 72/6=12, Resulting Numbers: [10, 12] Generated Node #0,0,1: 11:[10, 12] Operation: 72/6=12 Exploring Operation: 72-10=62, Resulting Numbers: [6, 62] Generated Node #0,0,2: 11:[6, 62] Operation: 72-10=62 Exploring Operation: 72-6=66, Resulting Numbers: [10, 66] Generated Node #0,0,3: 11:[10, 66] Operation: 72-6=66 Moving to Node #0,0,1 Current State: 11:[10, 12], Operations: ['65-59=6', '72/6=12'] Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[10, 66], Operations: ['65-59=6', '72-6=66'] Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,11 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[6, 62], Operations: ['65-59=6', '72-10=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,11 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[72, 16], Operations: ['65-59=6', '10+6=16'] Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 72*16=1152, Resulting Numbers: [1152] 1152,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 Current State: 11:[65, 72, 49], Operations: ['59-10=49'] Exploring Operation: 72-49=23, Resulting Numbers: [65, 23] Generated Node #0,2,0: 11:[65, 23] Operation: 72-49=23 Exploring Operation: 65+72=137, Resulting Numbers: [49, 137] Generated Node #0,2,1: 11:[49, 137] Operation: 65+72=137 Exploring Operation: 65-49=16, Resulting Numbers: [72, 16] Generated Node #0,2,2: 11:[72, 16] Operation: 65-49=16 Exploring Operation: 72-65=7, Resulting Numbers: [49, 7] Generated Node #0,2,3: 11:[49, 7] Operation: 72-65=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 11:[49, 7], Operations: ['59-10=49', '72-65=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,11 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[65, 23], Operations: ['59-10=49', '72-49=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,11 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[72, 16], Operations: ['59-10=49', '65-49=16'] Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 72*16=1152, Resulting Numbers: [1152] 1152,11 unequal: No Solution Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[49, 137], Operations: ['59-10=49', '65+72=137'] Exploring Operation: 49*137=6713, Resulting Numbers: [6713] 6713,11 unequal: No Solution Exploring Operation: 49+137=186, Resulting Numbers: [186] 186,11 unequal: No Solution Exploring Operation: 137-49=88, Resulting Numbers: [88] 88,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 82, 28, 26, 99 ]
19
[ "82-28=54", "99-26=73", "73-54=19" ]
Current State: 19:[82, 28, 26, 99], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [26, 99, 54] Generated Node #2: [26, 99, 54] from Operation: 82-28=54 Current State: 19:[26, 99, 54], Operations: ['82-28=54'] Exploring Operation: 99-26=73, Resulting Numbers: [54, 73] Generated Node #3: [54, 73] from Operation: 99-26=73 Current State: 19:[54, 73], Operations: ['82-28=54', '99-26=73'] Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[82, 28, 26, 99], Operations: [] Exploring Operation: 99-28=71, Resulting Numbers: [82, 26, 71] Generated Node #0,0: 19:[82, 26, 71] Operation: 99-28=71 Exploring Operation: 99-82=17, Resulting Numbers: [28, 26, 17] Generated Node #0,1: 19:[28, 26, 17] Operation: 99-82=17 Exploring Operation: 99-26=73, Resulting Numbers: [82, 28, 73] Generated Node #0,2: 19:[82, 28, 73] Operation: 99-26=73 Exploring Operation: 82-28=54, Resulting Numbers: [26, 99, 54] Generated Node #0,3: 19:[26, 99, 54] Operation: 82-28=54 Exploring Operation: 82-26=56, Resulting Numbers: [28, 99, 56] Generated Node #0,4: 19:[28, 99, 56] Operation: 82-26=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[28, 26, 17], Operations: ['99-82=17'] Exploring Operation: 28-26=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 19:[17, 2] Operation: 28-26=2 Exploring Operation: 26+17=43, Resulting Numbers: [28, 43] Generated Node #0,1,1: 19:[28, 43] Operation: 26+17=43 Exploring Operation: 28-17=11, Resulting Numbers: [26, 11] Generated Node #0,1,2: 19:[26, 11] Operation: 28-17=11 Exploring Operation: 28+17=45, Resulting Numbers: [26, 45] Generated Node #0,1,3: 19:[26, 45] Operation: 28+17=45 Exploring Operation: 26-17=9, Resulting Numbers: [28, 9] Generated Node #0,1,4: 19:[28, 9] Operation: 26-17=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[26, 11], Operations: ['99-82=17', '28-17=11'] Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,19 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[17, 2], Operations: ['99-82=17', '28-26=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[82, 28, 26, 99], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [28, 26, 17] Generated Node #0,1: 19:[28, 26, 17] Operation: 99-82=17 Moving to Node #0,1 Current State: 19:[28, 26, 17], Operations: ['99-82=17'] Exploring Operation: 28-26=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 19:[17, 2] Operation: 28-26=2 Moving to Node #0,1,0 Current State: 19:[17, 2], Operations: ['99-82=17', '28-26=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 83, 31, 51, 85 ]
85
[ "83-31=52", "52-51=1", "85*1=85" ]
Current State: 85:[83, 31, 51, 85], Operations: [] Exploring Operation: 83-31=52, Resulting Numbers: [51, 85, 52] Generated Node #2: [51, 85, 52] from Operation: 83-31=52 Current State: 85:[51, 85, 52], Operations: ['83-31=52'] Exploring Operation: 52-51=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 52-51=1 Current State: 85:[85, 1], Operations: ['83-31=52', '52-51=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[83, 31, 51, 85], Operations: [] Exploring Operation: 31+51=82, Resulting Numbers: [83, 85, 82] Generated Node #0,0: 85:[83, 85, 82] Operation: 31+51=82 Exploring Operation: 51-31=20, Resulting Numbers: [83, 85, 20] Generated Node #0,1: 85:[83, 85, 20] Operation: 51-31=20 Exploring Operation: 83-51=32, Resulting Numbers: [31, 85, 32] Generated Node #0,2: 85:[31, 85, 32] Operation: 83-51=32 Exploring Operation: 85-51=34, Resulting Numbers: [83, 31, 34] Generated Node #0,3: 85:[83, 31, 34] Operation: 85-51=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[83, 85, 82], Operations: ['31+51=82'] Exploring Operation: 85-82=3, Resulting Numbers: [83, 3] Generated Node #0,0,0: 85:[83, 3] Operation: 85-82=3 Exploring Operation: 85-83=2, Resulting Numbers: [82, 2] Generated Node #0,0,1: 85:[82, 2] Operation: 85-83=2 Exploring Operation: 83-82=1, Resulting Numbers: [85, 1] Generated Node #0,0,2: 85:[85, 1] Operation: 83-82=1 Exploring Operation: 83+82=165, Resulting Numbers: [85, 165] Generated Node #0,0,3: 85:[85, 165] Operation: 83+82=165 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[83, 3], Operations: ['31+51=82', '85-82=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,85 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[85, 1], Operations: ['31+51=82', '83-82=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[83, 31, 51, 85], Operations: [] Exploring Operation: 31+51=82, Resulting Numbers: [83, 85, 82] Generated Node #0,0: 85:[83, 85, 82] Operation: 31+51=82 Moving to Node #0,0 Current State: 85:[83, 85, 82], Operations: ['31+51=82'] Exploring Operation: 83-82=1, Resulting Numbers: [85, 1] Generated Node #0,0,2: 85:[85, 1] Operation: 83-82=1 Moving to Node #0,0,2 Current State: 85:[85, 1], Operations: ['31+51=82', '83-82=1'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 13, 5, 68, 76 ]
18
[ "13-5=8", "68+76=144", "144/8=18" ]
Current State: 18:[13, 5, 68, 76], Operations: [] Exploring Operation: 13-5=8, Resulting Numbers: [68, 76, 8] Generated Node #2: [68, 76, 8] from Operation: 13-5=8 Current State: 18:[68, 76, 8], Operations: ['13-5=8'] Exploring Operation: 68+76=144, Resulting Numbers: [8, 144] Generated Node #3: [8, 144] from Operation: 68+76=144 Current State: 18:[8, 144], Operations: ['13-5=8', '68+76=144'] Exploring Operation: 144/8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[13, 5, 68, 76], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [13, 5, 8] Generated Node #0,0: 18:[13, 5, 8] Operation: 76-68=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[13, 5, 8], Operations: ['76-68=8'] Exploring Operation: 13+5=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 18:[8, 18] Operation: 13+5=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[8, 18], Operations: ['76-68=8', '13+5=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,18 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
[ 52, 67, 94, 15 ]
40
[ "52+67=119", "94-15=79", "119-79=40" ]
Current State: 40:[52, 67, 94, 15], Operations: [] Exploring Operation: 52+67=119, Resulting Numbers: [94, 15, 119] Generated Node #2: [94, 15, 119] from Operation: 52+67=119 Current State: 40:[94, 15, 119], Operations: ['52+67=119'] Exploring Operation: 94-15=79, Resulting Numbers: [119, 79] Generated Node #3: [119, 79] from Operation: 94-15=79 Current State: 40:[119, 79], Operations: ['52+67=119', '94-15=79'] Exploring Operation: 119-79=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[52, 67, 94, 15], Operations: [] Exploring Operation: 94-67=27, Resulting Numbers: [52, 15, 27] Generated Node #0,0: 40:[52, 15, 27] Operation: 94-67=27 Exploring Operation: 94-52=42, Resulting Numbers: [67, 15, 42] Generated Node #0,1: 40:[67, 15, 42] Operation: 94-52=42 Moving to Node #0,0 Current State: 40:[52, 15, 27], Operations: ['94-67=27'] Exploring Operation: 52-27=25, Resulting Numbers: [15, 25] Generated Node #0,0,0: 40:[15, 25] Operation: 52-27=25 Exploring Operation: 52-15=37, Resulting Numbers: [27, 37] Generated Node #0,0,1: 40:[27, 37] Operation: 52-15=37 Moving to Node #0,1 Current State: 40:[67, 15, 42], Operations: ['94-52=42'] Exploring Operation: 67-42=25, Resulting Numbers: [15, 25] Generated Node #0,1,0: 40:[15, 25] Operation: 67-42=25 Exploring Operation: 67-15=52, Resulting Numbers: [42, 52] Generated Node #0,1,1: 40:[42, 52] Operation: 67-15=52 Moving to Node #0,0,0 Current State: 40:[15, 25], Operations: ['94-67=27', '52-27=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[52, 67, 94, 15], Operations: [] Exploring Operation: 94-67=27, Resulting Numbers: [52, 15, 27] Generated Node #0,0: 40:[52, 15, 27] Operation: 94-67=27 Moving to Node #0,0 Current State: 40:[52, 15, 27], Operations: ['94-67=27'] Exploring Operation: 52-27=25, Resulting Numbers: [15, 25] Generated Node #0,0,0: 40:[15, 25] Operation: 52-27=25 Moving to Node #0,0,0 Current State: 40:[15, 25], Operations: ['94-67=27', '52-27=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 31, 48, 50, 39 ]
35
[ "31+39=70", "50-48=2", "70/2=35" ]
Current State: 35:[31, 48, 50, 39], Operations: [] Exploring Operation: 31+39=70, Resulting Numbers: [48, 50, 70] Generated Node #2: [48, 50, 70] from Operation: 31+39=70 Current State: 35:[48, 50, 70], Operations: ['31+39=70'] Exploring Operation: 50-48=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 50-48=2 Current State: 35:[70, 2], Operations: ['31+39=70', '50-48=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[31, 48, 50, 39], Operations: [] Exploring Operation: 50-39=11, Resulting Numbers: [31, 48, 11] Generated Node #0,0: 35:[31, 48, 11] Operation: 50-39=11 Exploring Operation: 48-39=9, Resulting Numbers: [31, 50, 9] Generated Node #0,1: 35:[31, 50, 9] Operation: 48-39=9 Exploring Operation: 48-31=17, Resulting Numbers: [50, 39, 17] Generated Node #0,2: 35:[50, 39, 17] Operation: 48-31=17 Exploring Operation: 50-48=2, Resulting Numbers: [31, 39, 2] Generated Node #0,3: 35:[31, 39, 2] Operation: 50-48=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[31, 39, 2], Operations: ['50-48=2'] Exploring Operation: 39-2=37, Resulting Numbers: [31, 37] Generated Node #0,3,0: 35:[31, 37] Operation: 39-2=37 Exploring Operation: 31-2=29, Resulting Numbers: [39, 29] Generated Node #0,3,1: 35:[39, 29] Operation: 31-2=29 Exploring Operation: 39-31=8, Resulting Numbers: [2, 8] Generated Node #0,3,2: 35:[2, 8] Operation: 39-31=8 Exploring Operation: 31+2=33, Resulting Numbers: [39, 33] Generated Node #0,3,3: 35:[39, 33] Operation: 31+2=33 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[2, 8], Operations: ['50-48=2', '39-31=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,35 unequal: No Solution No 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: 35:[31, 37], Operations: ['50-48=2', '39-2=37'] Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,35 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,35 unequal: No Solution No 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: 35:[39, 33], Operations: ['50-48=2', '31+2=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,35 unequal: No Solution No 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: 35:[39, 29], Operations: ['50-48=2', '31-2=29'] Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,35 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,35 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: 35:[31, 48, 11], Operations: ['50-39=11'] Exploring Operation: 48-11=37, Resulting Numbers: [31, 37] Generated Node #0,0,0: 35:[31, 37] Operation: 48-11=37 Exploring Operation: 31-11=20, Resulting Numbers: [48, 20] Generated Node #0,0,1: 35:[48, 20] Operation: 31-11=20 Exploring Operation: 31+11=42, Resulting Numbers: [48, 42] Generated Node #0,0,2: 35:[48, 42] Operation: 31+11=42 Exploring Operation: 48-31=17, Resulting Numbers: [11, 17] Generated Node #0,0,3: 35:[11, 17] Operation: 48-31=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[31, 37], Operations: ['50-39=11', '48-11=37'] Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,35 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,35 unequal: No Solution No 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: 35:[11, 17], Operations: ['50-39=11', '48-31=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,35 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,35 unequal: No Solution No 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: 35:[48, 42], Operations: ['50-39=11', '31+11=42'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,35 unequal: No Solution No 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: 35:[48, 20], Operations: ['50-39=11', '31-11=20'] Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,35 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,35 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: 35:[31, 50, 9], Operations: ['48-39=9'] Exploring Operation: 31+9=40, Resulting Numbers: [50, 40] Generated Node #0,1,0: 35:[50, 40] Operation: 31+9=40 Exploring Operation: 50-9=41, Resulting Numbers: [31, 41] Generated Node #0,1,1: 35:[31, 41] Operation: 50-9=41 Exploring Operation: 50-31=19, Resulting Numbers: [9, 19] Generated Node #0,1,2: 35:[9, 19] Operation: 50-31=19 Exploring Operation: 31-9=22, Resulting Numbers: [50, 22] Generated Node #0,1,3: 35:[50, 22] Operation: 31-9=22 Moving to Node #0,1,1 Current State: 35:[31, 41], Operations: ['48-39=9', '50-9=41'] Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,35 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[9, 19], Operations: ['48-39=9', '50-31=19'] Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,35 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[50, 40], Operations: ['48-39=9', '31+9=40'] Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,35 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[50, 22], Operations: ['48-39=9', '31-9=22'] Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[50, 39, 17], Operations: ['48-31=17'] Exploring Operation: 50-39=11, Resulting Numbers: [17, 11] Generated Node #0,2,0: 35:[17, 11] Operation: 50-39=11 Exploring Operation: 39-17=22, Resulting Numbers: [50, 22] Generated Node #0,2,1: 35:[50, 22] Operation: 39-17=22 Exploring Operation: 50+17=67, Resulting Numbers: [39, 67] Generated Node #0,2,2: 35:[39, 67] Operation: 50+17=67 Exploring Operation: 50-17=33, Resulting Numbers: [39, 33] Generated Node #0,2,3: 35:[39, 33] Operation: 50-17=33 Moving to Node #0,2,3 Current State: 35:[39, 33], Operations: ['48-31=17', '50-17=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[17, 11], Operations: ['48-31=17', '50-39=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,35 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[50, 22], Operations: ['48-31=17', '39-17=22'] Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,35 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[39, 67], Operations: ['48-31=17', '50+17=67'] Exploring Operation: 39+67=106, Resulting Numbers: [106] 106,35 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 39*67=2613, Resulting Numbers: [2613] 2613,35 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
[ 68, 69, 47, 51 ]
86
[ "51-47=4", "68/4=17", "69+17=86" ]
Current State: 86:[68, 69, 47, 51], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [68, 69, 4] Generated Node #2: [68, 69, 4] from Operation: 51-47=4 Current State: 86:[68, 69, 4], Operations: ['51-47=4'] Exploring Operation: 68/4=17, Resulting Numbers: [69, 17] Generated Node #3: [69, 17] from Operation: 68/4=17 Current State: 86:[69, 17], Operations: ['51-47=4', '68/4=17'] Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[68, 69, 47, 51], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [69, 47, 17] Generated Node #0,0: 86:[69, 47, 17] Operation: 68-51=17 Exploring Operation: 69-68=1, Resulting Numbers: [47, 51, 1] Generated Node #0,1: 86:[47, 51, 1] Operation: 69-68=1 Moving to Node #0,1 Current State: 86:[47, 51, 1], Operations: ['69-68=1'] Exploring Operation: 47-1=46, Resulting Numbers: [51, 46] Generated Node #0,1,0: 86:[51, 46] Operation: 47-1=46 Exploring Operation: 51-47=4, Resulting Numbers: [1, 4] Generated Node #0,1,1: 86:[1, 4] Operation: 51-47=4 Moving to Node #0,0 Current State: 86:[69, 47, 17], Operations: ['68-51=17'] Exploring Operation: 69-17=52, Resulting Numbers: [47, 52] Generated Node #0,0,0: 86:[47, 52] Operation: 69-17=52 Exploring Operation: 69+17=86, Resulting Numbers: [47, 86] Generated Node #0,0,1: 86:[47, 86] Operation: 69+17=86 Moving to Node #0,1,1 Current State: 86:[1, 4], Operations: ['69-68=1', '51-47=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[47, 86], Operations: ['68-51=17', '69+17=86'] Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 47+86=133, Resulting Numbers: [133] 133,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[51, 46], Operations: ['69-68=1', '47-1=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[47, 52], Operations: ['68-51=17', '69-17=52'] Exploring Operation: 47+52=99, Resulting Numbers: [99] 99,86 unequal: No Solution Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,86 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 99, 79, 82 ]
65
[ "99-3=96", "79+82=161", "161-96=65" ]
Current State: 65:[3, 99, 79, 82], Operations: [] Exploring Operation: 99-3=96, Resulting Numbers: [79, 82, 96] Generated Node #2: [79, 82, 96] from Operation: 99-3=96 Current State: 65:[79, 82, 96], Operations: ['99-3=96'] Exploring Operation: 79+82=161, Resulting Numbers: [96, 161] Generated Node #3: [96, 161] from Operation: 79+82=161 Current State: 65:[96, 161], Operations: ['99-3=96', '79+82=161'] Exploring Operation: 161-96=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[3, 99, 79, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [3, 99, 3] Generated Node #0,0: 65:[3, 99, 3] Operation: 82-79=3 Exploring Operation: 99/3=33, Resulting Numbers: [79, 82, 33] Generated Node #0,1: 65:[79, 82, 33] Operation: 99/3=33 Exploring Operation: 99-82=17, Resulting Numbers: [3, 79, 17] Generated Node #0,2: 65:[3, 79, 17] Operation: 99-82=17 Exploring Operation: 99-79=20, Resulting Numbers: [3, 82, 20] Generated Node #0,3: 65:[3, 82, 20] Operation: 99-79=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[3, 79, 17], Operations: ['99-82=17'] Exploring Operation: 79-17=62, Resulting Numbers: [3, 62] Generated Node #0,2,0: 65:[3, 62] Operation: 79-17=62 Exploring Operation: 17-3=14, Resulting Numbers: [79, 14] Generated Node #0,2,1: 65:[79, 14] Operation: 17-3=14 Exploring Operation: 3+79=82, Resulting Numbers: [17, 82] Generated Node #0,2,2: 65:[17, 82] Operation: 3+79=82 Exploring Operation: 79-3=76, Resulting Numbers: [17, 76] Generated Node #0,2,3: 65:[17, 76] Operation: 79-3=76 Moving to Node #0,2,0 Current State: 65:[3, 62], Operations: ['99-82=17', '79-17=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,65 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[3, 99, 79, 82], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [3, 79, 17] Generated Node #0,2: 65:[3, 79, 17] Operation: 99-82=17 Moving to Node #0,2 Current State: 65:[3, 79, 17], Operations: ['99-82=17'] Exploring Operation: 79-17=62, Resulting Numbers: [3, 62] Generated Node #0,2,0: 65:[3, 62] Operation: 79-17=62 Moving to Node #0,2,0 Current State: 65:[3, 62], Operations: ['99-82=17', '79-17=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 78, 58, 57, 53 ]
26
[ "78+58=136", "57+53=110", "136-110=26" ]
Current State: 26:[78, 58, 57, 53], Operations: [] Exploring Operation: 78+58=136, Resulting Numbers: [57, 53, 136] Generated Node #2: [57, 53, 136] from Operation: 78+58=136 Current State: 26:[57, 53, 136], Operations: ['78+58=136'] Exploring Operation: 57+53=110, Resulting Numbers: [136, 110] Generated Node #3: [136, 110] from Operation: 57+53=110 Current State: 26:[136, 110], Operations: ['78+58=136', '57+53=110'] Exploring Operation: 136-110=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[78, 58, 57, 53], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [58, 57, 25] Generated Node #0,0: 26:[58, 57, 25] Operation: 78-53=25 Exploring Operation: 78-57=21, Resulting Numbers: [58, 53, 21] Generated Node #0,1: 26:[58, 53, 21] Operation: 78-57=21 Exploring Operation: 78-58=20, Resulting Numbers: [57, 53, 20] Generated Node #0,2: 26:[57, 53, 20] Operation: 78-58=20 Moving to Node #0,0 Current State: 26:[58, 57, 25], Operations: ['78-53=25'] Exploring Operation: 58-57=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 26:[25, 1] Operation: 58-57=1 Exploring Operation: 58-25=33, Resulting Numbers: [57, 33] Generated Node #0,0,1: 26:[57, 33] Operation: 58-25=33 Exploring Operation: 57-25=32, Resulting Numbers: [58, 32] Generated Node #0,0,2: 26:[58, 32] Operation: 57-25=32 Moving to Node #0,1 Current State: 26:[58, 53, 21], Operations: ['78-57=21'] Exploring Operation: 58-21=37, Resulting Numbers: [53, 37] Generated Node #0,1,0: 26:[53, 37] Operation: 58-21=37 Exploring Operation: 53-21=32, Resulting Numbers: [58, 32] Generated Node #0,1,1: 26:[58, 32] Operation: 53-21=32 Exploring Operation: 58-53=5, Resulting Numbers: [21, 5] Generated Node #0,1,2: 26:[21, 5] Operation: 58-53=5 Moving to Node #0,2 Current State: 26:[57, 53, 20], Operations: ['78-58=20'] Exploring Operation: 53-20=33, Resulting Numbers: [57, 33] Generated Node #0,2,0: 26:[57, 33] Operation: 53-20=33 Exploring Operation: 57-53=4, Resulting Numbers: [20, 4] Generated Node #0,2,1: 26:[20, 4] Operation: 57-53=4 Exploring Operation: 57-20=37, Resulting Numbers: [53, 37] Generated Node #0,2,2: 26:[53, 37] Operation: 57-20=37 Moving to Node #0,0,0 Current State: 26:[25, 1], Operations: ['78-53=25', '58-57=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[78, 58, 57, 53], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [58, 57, 25] Generated Node #0,0: 26:[58, 57, 25] Operation: 78-53=25 Moving to Node #0,0 Current State: 26:[58, 57, 25], Operations: ['78-53=25'] Exploring Operation: 58-57=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 26:[25, 1] Operation: 58-57=1 Moving to Node #0,0,0 Current State: 26:[25, 1], Operations: ['78-53=25', '58-57=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 79, 63, 2, 48 ]
80
[ "79-63=16", "2*48=96", "96-16=80" ]
Current State: 80:[79, 63, 2, 48], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [2, 48, 16] Generated Node #2: [2, 48, 16] from Operation: 79-63=16 Current State: 80:[2, 48, 16], Operations: ['79-63=16'] Exploring Operation: 2*48=96, Resulting Numbers: [16, 96] Generated Node #3: [16, 96] from Operation: 2*48=96 Current State: 80:[16, 96], Operations: ['79-63=16', '2*48=96'] Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[79, 63, 2, 48], Operations: [] Exploring Operation: 63+2=65, Resulting Numbers: [79, 48, 65] Generated Node #0,0: 80:[79, 48, 65] Operation: 63+2=65 Exploring Operation: 48-2=46, Resulting Numbers: [79, 63, 46] Generated Node #0,1: 80:[79, 63, 46] Operation: 48-2=46 Exploring Operation: 63-48=15, Resulting Numbers: [79, 2, 15] Generated Node #0,2: 80:[79, 2, 15] Operation: 63-48=15 Exploring Operation: 79-63=16, Resulting Numbers: [2, 48, 16] Generated Node #0,3: 80:[2, 48, 16] Operation: 79-63=16 Exploring Operation: 48/2=24, Resulting Numbers: [79, 63, 24] Generated Node #0,4: 80:[79, 63, 24] Operation: 48/2=24 Moving to Node #0,2 Current State: 80:[79, 2, 15], Operations: ['63-48=15'] Exploring Operation: 79-2=77, Resulting Numbers: [15, 77] Generated Node #0,2,0: 80:[15, 77] Operation: 79-2=77 Exploring Operation: 79+2=81, Resulting Numbers: [15, 81] Generated Node #0,2,1: 80:[15, 81] Operation: 79+2=81 Exploring Operation: 2*15=30, Resulting Numbers: [79, 30] Generated Node #0,2,2: 80:[79, 30] Operation: 2*15=30 Exploring Operation: 15-2=13, Resulting Numbers: [79, 13] Generated Node #0,2,3: 80:[79, 13] Operation: 15-2=13 Exploring Operation: 2+15=17, Resulting Numbers: [79, 17] Generated Node #0,2,4: 80:[79, 17] Operation: 2+15=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[15, 81], Operations: ['63-48=15', '79+2=81'] Exploring Operation: 15*81=1215, Resulting Numbers: [1215] 1215,80 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 15+81=96, Resulting Numbers: [96] 96,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 80:[79, 17], Operations: ['63-48=15', '2+15=17'] Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,80 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[15, 77], Operations: ['63-48=15', '79-2=77'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,80 unequal: No Solution Exploring Operation: 15*77=1155, Resulting Numbers: [1155] 1155,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[79, 13], Operations: ['63-48=15', '15-2=13'] Exploring Operation: 79-13=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 79*13=1027, Resulting Numbers: [1027] 1027,80 unequal: No Solution Exploring Operation: 79+13=92, Resulting Numbers: [92] 92,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[79, 30], Operations: ['63-48=15', '2*15=30'] Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 79*30=2370, Resulting Numbers: [2370] 2370,80 unequal: No Solution Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 80:[2, 48, 16], Operations: ['79-63=16'] Exploring Operation: 16/2=8, Resulting Numbers: [48, 8] Generated Node #0,3,0: 80:[48, 8] Operation: 16/2=8 Exploring Operation: 48/16=3, Resulting Numbers: [2, 3] Generated Node #0,3,1: 80:[2, 3] Operation: 48/16=3 Exploring Operation: 48-2=46, Resulting Numbers: [16, 46] Generated Node #0,3,2: 80:[16, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [16, 24] Generated Node #0,3,3: 80:[16, 24] Operation: 48/2=24 Exploring Operation: 48-16=32, Resulting Numbers: [2, 32] Generated Node #0,3,4: 80:[2, 32] Operation: 48-16=32 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[2, 3], Operations: ['79-63=16', '48/16=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[16, 24], Operations: ['79-63=16', '48/2=24'] Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,80 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[16, 46], Operations: ['79-63=16', '48-2=46'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,80 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[48, 8], Operations: ['79-63=16', '16/2=8'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,80 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 80:[2, 32], Operations: ['79-63=16', '48-16=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 80:[79, 63, 24], Operations: ['48/2=24'] Exploring Operation: 79-63=16, Resulting Numbers: [24, 16] Generated Node #0,4,0: 80:[24, 16] Operation: 79-63=16 Exploring Operation: 63+24=87, Resulting Numbers: [79, 87] Generated Node #0,4,1: 80:[79, 87] Operation: 63+24=87 Exploring Operation: 79-24=55, Resulting Numbers: [63, 55] Generated Node #0,4,2: 80:[63, 55] Operation: 79-24=55 Exploring Operation: 63-24=39, Resulting Numbers: [79, 39] Generated Node #0,4,3: 80:[79, 39] Operation: 63-24=39 Exploring Operation: 79+24=103, Resulting Numbers: [63, 103] Generated Node #0,4,4: 80:[63, 103] Operation: 79+24=103 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 80:[79, 39], Operations: ['48/2=24', '63-24=39'] Exploring Operation: 79+39=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 79*39=3081, Resulting Numbers: [3081] 3081,80 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 80:[24, 16], Operations: ['48/2=24', '79-63=16'] Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,80 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 80:[79, 87], Operations: ['48/2=24', '63+24=87'] Exploring Operation: 79+87=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 79*87=6873, Resulting Numbers: [6873] 6873,80 unequal: No Solution Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 80:[63, 55], Operations: ['48/2=24', '79-24=55'] Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,80 unequal: No Solution Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 80:[63, 103], Operations: ['48/2=24', '79+24=103'] Exploring Operation: 63+103=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 103-63=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 63*103=6489, Resulting Numbers: [6489] 6489,80 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: 80:[79, 48, 65], Operations: ['63+2=65'] Exploring Operation: 79-48=31, Resulting Numbers: [65, 31] Generated Node #0,0,0: 80:[65, 31] Operation: 79-48=31 Exploring Operation: 48+65=113, Resulting Numbers: [79, 113] Generated Node #0,0,1: 80:[79, 113] Operation: 48+65=113 Exploring Operation: 65-48=17, Resulting Numbers: [79, 17] Generated Node #0,0,2: 80:[79, 17] Operation: 65-48=17 Exploring Operation: 79-65=14, Resulting Numbers: [48, 14] Generated Node #0,0,3: 80:[48, 14] Operation: 79-65=14 Exploring Operation: 79+48=127, Resulting Numbers: [65, 127] Generated Node #0,0,4: 80:[65, 127] Operation: 79+48=127 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[79, 17], Operations: ['63+2=65', '65-48=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,80 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,80 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[48, 14], Operations: ['63+2=65', '79-65=14'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,80 unequal: No Solution Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[65, 31], Operations: ['63+2=65', '79-48=31'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,80 unequal: No Solution Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[79, 113], Operations: ['63+2=65', '48+65=113'] Exploring Operation: 79+113=192, Resulting Numbers: [192] 192,80 unequal: No Solution Exploring Operation: 113-79=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 79*113=8927, Resulting Numbers: [8927] 8927,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[65, 127], Operations: ['63+2=65', '79+48=127'] Exploring Operation: 65*127=8255, Resulting Numbers: [8255] 8255,80 unequal: No Solution Exploring Operation: 65+127=192, Resulting Numbers: [192] 192,80 unequal: No Solution Exploring Operation: 127-65=62, Resulting Numbers: [62] 62,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[79, 63, 46], Operations: ['48-2=46'] Exploring Operation: 79-46=33, Resulting Numbers: [63, 33] Generated Node #0,1,0: 80:[63, 33] Operation: 79-46=33 Exploring Operation: 63+46=109, Resulting Numbers: [79, 109] Generated Node #0,1,1: 80:[79, 109] Operation: 63+46=109 Exploring Operation: 63-46=17, Resulting Numbers: [79, 17] Generated Node #0,1,2: 80:[79, 17] Operation: 63-46=17 Exploring Operation: 79-63=16, Resulting Numbers: [46, 16] Generated Node #0,1,3: 80:[46, 16] Operation: 79-63=16 Exploring Operation: 79+46=125, Resulting Numbers: [63, 125] Generated Node #0,1,4: 80:[63, 125] Operation: 79+46=125 Moving to Node #0,1,2 Current State: 80:[79, 17], Operations: ['48-2=46', '63-46=17'] Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,80 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,80 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[46, 16], Operations: ['48-2=46', '79-63=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[63, 33], Operations: ['48-2=46', '79-46=33'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,80 unequal: No Solution Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[79, 109], Operations: ['48-2=46', '63+46=109'] Exploring Operation: 79+109=188, Resulting Numbers: [188] 188,80 unequal: No Solution Exploring Operation: 109-79=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 79*109=8611, Resulting Numbers: [8611] 8611,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[63, 125], Operations: ['48-2=46', '79+46=125'] Exploring Operation: 125-63=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 63*125=7875, Resulting Numbers: [7875] 7875,80 unequal: No Solution Exploring Operation: 63+125=188, Resulting Numbers: [188] 188,80 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 42, 91, 76, 67 ]
49
[ "42*76=3192", "91+3192=3283", "3283/67=49" ]
Current State: 49:[42, 91, 76, 67], Operations: [] Exploring Operation: 42*76=3192, Resulting Numbers: [91, 67, 3192] Generated Node #2: [91, 67, 3192] from Operation: 42*76=3192 Current State: 49:[91, 67, 3192], Operations: ['42*76=3192'] Exploring Operation: 91+3192=3283, Resulting Numbers: [67, 3283] Generated Node #3: [67, 3283] from Operation: 91+3192=3283 Current State: 49:[67, 3283], Operations: ['42*76=3192', '91+3192=3283'] Exploring Operation: 3283/67=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[42, 91, 76, 67], Operations: [] Exploring Operation: 91-42=49, Resulting Numbers: [76, 67, 49] Generated Node #0,0: 49:[76, 67, 49] Operation: 91-42=49 Exploring Operation: 91-76=15, Resulting Numbers: [42, 67, 15] Generated Node #0,1: 49:[42, 67, 15] Operation: 91-76=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[42, 67, 15], Operations: ['91-76=15'] Exploring Operation: 67-42=25, Resulting Numbers: [15, 25] Generated Node #0,1,0: 49:[15, 25] Operation: 67-42=25 Exploring Operation: 67-15=52, Resulting Numbers: [42, 52] Generated Node #0,1,1: 49:[42, 52] Operation: 67-15=52 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[42, 52], Operations: ['91-76=15', '67-15=52'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[15, 25], Operations: ['91-76=15', '67-42=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[76, 67, 49], Operations: ['91-42=49'] Exploring Operation: 76-67=9, Resulting Numbers: [49, 9] Generated Node #0,0,0: 49:[49, 9] Operation: 76-67=9 Exploring Operation: 76-49=27, Resulting Numbers: [67, 27] Generated Node #0,0,1: 49:[67, 27] Operation: 76-49=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[49, 9], Operations: ['91-42=49', '76-67=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[67, 27], Operations: ['91-42=49', '76-49=27'] Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,49 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 53, 89, 88, 15 ]
68
[ "53+15=68", "89-88=1", "68*1=68" ]
Current State: 68:[53, 89, 88, 15], Operations: [] Exploring Operation: 53+15=68, Resulting Numbers: [89, 88, 68] Generated Node #2: [89, 88, 68] from Operation: 53+15=68 Current State: 68:[89, 88, 68], Operations: ['53+15=68'] Exploring Operation: 89-88=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 89-88=1 Current State: 68:[68, 1], Operations: ['53+15=68', '89-88=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[53, 89, 88, 15], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [53, 15, 1] Generated Node #0,0: 68:[53, 15, 1] Operation: 89-88=1 Exploring Operation: 89-53=36, Resulting Numbers: [88, 15, 36] Generated Node #0,1: 68:[88, 15, 36] Operation: 89-53=36 Moving to Node #0,0 Current State: 68:[53, 15, 1], Operations: ['89-88=1'] Exploring Operation: 53-15=38, Resulting Numbers: [1, 38] Generated Node #0,0,0: 68:[1, 38] Operation: 53-15=38 Exploring Operation: 53+15=68, Resulting Numbers: [1, 68] Generated Node #0,0,1: 68:[1, 68] Operation: 53+15=68 Moving to Node #0,1 Current State: 68:[88, 15, 36], Operations: ['89-53=36'] Exploring Operation: 88-15=73, Resulting Numbers: [36, 73] Generated Node #0,1,0: 68:[36, 73] Operation: 88-15=73 Exploring Operation: 88-36=52, Resulting Numbers: [15, 52] Generated Node #0,1,1: 68:[15, 52] Operation: 88-36=52 Moving to Node #0,0,1 Current State: 68:[1, 68], Operations: ['89-88=1', '53+15=68'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[53, 89, 88, 15], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [53, 15, 1] Generated Node #0,0: 68:[53, 15, 1] Operation: 89-88=1 Moving to Node #0,0 Current State: 68:[53, 15, 1], Operations: ['89-88=1'] Exploring Operation: 53+15=68, Resulting Numbers: [1, 68] Generated Node #0,0,1: 68:[1, 68] Operation: 53+15=68 Moving to Node #0,0,1 Current State: 68:[1, 68], Operations: ['89-88=1', '53+15=68'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 5, 18, 60, 52 ]
99
[ "18-5=13", "60+52=112", "112-13=99" ]
Current State: 99:[5, 18, 60, 52], Operations: [] Exploring Operation: 18-5=13, Resulting Numbers: [60, 52, 13] Generated Node #2: [60, 52, 13] from Operation: 18-5=13 Current State: 99:[60, 52, 13], Operations: ['18-5=13'] Exploring Operation: 60+52=112, Resulting Numbers: [13, 112] Generated Node #3: [13, 112] from Operation: 60+52=112 Current State: 99:[13, 112], Operations: ['18-5=13', '60+52=112'] Exploring Operation: 112-13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[5, 18, 60, 52], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [5, 60, 34] Generated Node #0,0: 99:[5, 60, 34] Operation: 52-18=34 Exploring Operation: 60-18=42, Resulting Numbers: [5, 52, 42] Generated Node #0,1: 99:[5, 52, 42] Operation: 60-18=42 Exploring Operation: 60/5=12, Resulting Numbers: [18, 52, 12] Generated Node #0,2: 99:[18, 52, 12] Operation: 60/5=12 Exploring Operation: 60-52=8, Resulting Numbers: [5, 18, 8] Generated Node #0,3: 99:[5, 18, 8] Operation: 60-52=8 Exploring Operation: 60+52=112, Resulting Numbers: [5, 18, 112] Generated Node #0,4: 99:[5, 18, 112] Operation: 60+52=112 Moving to Node #0,3 Current State: 99:[5, 18, 8], Operations: ['60-52=8'] Exploring Operation: 18-8=10, Resulting Numbers: [5, 10] Generated Node #0,3,0: 99:[5, 10] Operation: 18-8=10 Exploring Operation: 18+8=26, Resulting Numbers: [5, 26] Generated Node #0,3,1: 99:[5, 26] Operation: 18+8=26 Exploring Operation: 18-5=13, Resulting Numbers: [8, 13] Generated Node #0,3,2: 99:[8, 13] Operation: 18-5=13 Exploring Operation: 8-5=3, Resulting Numbers: [18, 3] Generated Node #0,3,3: 99:[18, 3] Operation: 8-5=3 Exploring Operation: 5+8=13, Resulting Numbers: [18, 13] Generated Node #0,3,4: 99:[18, 13] Operation: 5+8=13 Moving to Node #0,4 Current State: 99:[5, 18, 112], Operations: ['60+52=112'] Exploring Operation: 5+18=23, Resulting Numbers: [112, 23] Generated Node #0,4,0: 99:[112, 23] Operation: 5+18=23 Exploring Operation: 5*18=90, Resulting Numbers: [112, 90] Generated Node #0,4,1: 99:[112, 90] Operation: 5*18=90 Exploring Operation: 112-5=107, Resulting Numbers: [18, 107] Generated Node #0,4,2: 99:[18, 107] Operation: 112-5=107 Exploring Operation: 18-5=13, Resulting Numbers: [112, 13] Generated Node #0,4,3: 99:[112, 13] Operation: 18-5=13 Exploring Operation: 112-18=94, Resulting Numbers: [5, 94] Generated Node #0,4,4: 99:[5, 94] Operation: 112-18=94 Moving to Node #0,2 Current State: 99:[18, 52, 12], Operations: ['60/5=12'] Exploring Operation: 18-12=6, Resulting Numbers: [52, 6] Generated Node #0,2,0: 99:[52, 6] Operation: 18-12=6 Exploring Operation: 52-18=34, Resulting Numbers: [12, 34] Generated Node #0,2,1: 99:[12, 34] Operation: 52-18=34 Exploring Operation: 18+52=70, Resulting Numbers: [12, 70] Generated Node #0,2,2: 99:[12, 70] Operation: 18+52=70 Exploring Operation: 52-12=40, Resulting Numbers: [18, 40] Generated Node #0,2,3: 99:[18, 40] Operation: 52-12=40 Exploring Operation: 18+12=30, Resulting Numbers: [52, 30] Generated Node #0,2,4: 99:[52, 30] Operation: 18+12=30 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[12, 34], Operations: ['60/5=12', '52-18=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,99 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[18, 40], Operations: ['60/5=12', '52-12=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[52, 6], Operations: ['60/5=12', '18-12=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 99:[52, 30], Operations: ['60/5=12', '18+12=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,99 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[12, 70], Operations: ['60/5=12', '18+52=70'] Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,99 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,99 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: 99:[5, 60, 34], Operations: ['52-18=34'] Exploring Operation: 60-5=55, Resulting Numbers: [34, 55] Generated Node #0,0,0: 99:[34, 55] Operation: 60-5=55 Exploring Operation: 34-5=29, Resulting Numbers: [60, 29] Generated Node #0,0,1: 99:[60, 29] Operation: 34-5=29 Exploring Operation: 60+34=94, Resulting Numbers: [5, 94] Generated Node #0,0,2: 99:[5, 94] Operation: 60+34=94 Exploring Operation: 60/5=12, Resulting Numbers: [34, 12] Generated Node #0,0,3: 99:[34, 12] Operation: 60/5=12 Exploring Operation: 60-34=26, Resulting Numbers: [5, 26] Generated Node #0,0,4: 99:[5, 26] Operation: 60-34=26 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[34, 12], Operations: ['52-18=34', '60/5=12'] Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,99 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[5, 94], Operations: ['52-18=34', '60+34=94'] Exploring Operation: 5*94=470, Resulting Numbers: [470] 470,99 unequal: No Solution Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[5, 18, 60, 52], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [5, 60, 34] Generated Node #0,0: 99:[5, 60, 34] Operation: 52-18=34 Moving to Node #0,0 Current State: 99:[5, 60, 34], Operations: ['52-18=34'] Exploring Operation: 60+34=94, Resulting Numbers: [5, 94] Generated Node #0,0,2: 99:[5, 94] Operation: 60+34=94 Moving to Node #0,0,2 Current State: 99:[5, 94], Operations: ['52-18=34', '60+34=94'] Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
mult_heuristic
[ 21, 8, 5, 25 ]
40
[ "21-8=13", "5*13=65", "65-25=40" ]
Current State: 40:[21, 8, 5, 25], Operations: [] Exploring Operation: 21-8=13, Resulting Numbers: [5, 25, 13] Generated Node #2: [5, 25, 13] from Operation: 21-8=13 Current State: 40:[5, 25, 13], Operations: ['21-8=13'] Exploring Operation: 5*13=65, Resulting Numbers: [25, 65] Generated Node #3: [25, 65] from Operation: 5*13=65 Current State: 40:[25, 65], Operations: ['21-8=13', '5*13=65'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[21, 8, 5, 25], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [8, 5, 4] Generated Node #0,0: 40:[8, 5, 4] Operation: 25-21=4 Exploring Operation: 25-5=20, Resulting Numbers: [21, 8, 20] Generated Node #0,1: 40:[21, 8, 20] Operation: 25-5=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[8, 5, 4], Operations: ['25-21=4'] Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 40:[5, 4] Operation: 8-4=4 Exploring Operation: 8*5=40, Resulting Numbers: [4, 40] Generated Node #0,0,1: 40:[4, 40] Operation: 8*5=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[5, 4], Operations: ['25-21=4', '8-4=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,40 unequal: No Solution No 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: 40:[4, 40], Operations: ['25-21=4', '8*5=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,40 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: 40:[21, 8, 20], Operations: ['25-5=20'] Exploring Operation: 21-20=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 40:[8, 1] Operation: 21-20=1 Exploring Operation: 21+20=41, Resulting Numbers: [8, 41] Generated Node #0,1,1: 40:[8, 41] Operation: 21+20=41 Moving to Node #0,1,0 Current State: 40:[8, 1], Operations: ['25-5=20', '21-20=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[8, 41], Operations: ['25-5=20', '21+20=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,40 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
[ 31, 22, 70, 32 ]
24
[ "32-22=10", "70/10=7", "31-7=24" ]
Current State: 24:[31, 22, 70, 32], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [31, 70, 10] Generated Node #2: [31, 70, 10] from Operation: 32-22=10 Current State: 24:[31, 70, 10], Operations: ['32-22=10'] Exploring Operation: 70/10=7, Resulting Numbers: [31, 7] Generated Node #3: [31, 7] from Operation: 70/10=7 Current State: 24:[31, 7], Operations: ['32-22=10', '70/10=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[31, 22, 70, 32], Operations: [] Exploring Operation: 70-31=39, Resulting Numbers: [22, 32, 39] Generated Node #0,0: 24:[22, 32, 39] Operation: 70-31=39 Exploring Operation: 31-22=9, Resulting Numbers: [70, 32, 9] Generated Node #0,1: 24:[70, 32, 9] Operation: 31-22=9 Exploring Operation: 70-32=38, Resulting Numbers: [31, 22, 38] Generated Node #0,2: 24:[31, 22, 38] Operation: 70-32=38 Exploring Operation: 70-22=48, Resulting Numbers: [31, 32, 48] Generated Node #0,3: 24:[31, 32, 48] Operation: 70-22=48 Exploring Operation: 32-31=1, Resulting Numbers: [22, 70, 1] Generated Node #0,4: 24:[22, 70, 1] Operation: 32-31=1 Moving to Node #0,2 Current State: 24:[31, 22, 38], Operations: ['70-32=38'] Exploring Operation: 31+22=53, Resulting Numbers: [38, 53] Generated Node #0,2,0: 24:[38, 53] Operation: 31+22=53 Exploring Operation: 38-31=7, Resulting Numbers: [22, 7] Generated Node #0,2,1: 24:[22, 7] Operation: 38-31=7 Exploring Operation: 31-22=9, Resulting Numbers: [38, 9] Generated Node #0,2,2: 24:[38, 9] Operation: 31-22=9 Exploring Operation: 22+38=60, Resulting Numbers: [31, 60] Generated Node #0,2,3: 24:[31, 60] Operation: 22+38=60 Exploring Operation: 38-22=16, Resulting Numbers: [31, 16] Generated Node #0,2,4: 24:[31, 16] Operation: 38-22=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[22, 7], Operations: ['70-32=38', '38-31=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,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,4 Current State: 24:[31, 16], Operations: ['70-32=38', '38-22=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,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,2 Current State: 24:[38, 9], Operations: ['70-32=38', '31-22=9'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,24 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,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,0 Current State: 24:[38, 53], Operations: ['70-32=38', '31+22=53'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,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,3 Current State: 24:[31, 60], Operations: ['70-32=38', '22+38=60'] Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,24 unequal: No Solution Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 24:[22, 32, 39], Operations: ['70-31=39'] Exploring Operation: 32-22=10, Resulting Numbers: [39, 10] Generated Node #0,0,0: 24:[39, 10] Operation: 32-22=10 Exploring Operation: 39-22=17, Resulting Numbers: [32, 17] Generated Node #0,0,1: 24:[32, 17] Operation: 39-22=17 Exploring Operation: 39-32=7, Resulting Numbers: [22, 7] Generated Node #0,0,2: 24:[22, 7] Operation: 39-32=7 Exploring Operation: 22+32=54, Resulting Numbers: [39, 54] Generated Node #0,0,3: 24:[39, 54] Operation: 22+32=54 Exploring Operation: 22+39=61, Resulting Numbers: [32, 61] Generated Node #0,0,4: 24:[32, 61] Operation: 22+39=61 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[22, 7], Operations: ['70-31=39', '39-32=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,24 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,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,1 Current State: 24:[32, 17], Operations: ['70-31=39', '39-22=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,24 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,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,0 Current State: 24:[39, 10], Operations: ['70-31=39', '32-22=10'] Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,24 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,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,3 Current State: 24:[39, 54], Operations: ['70-31=39', '22+32=54'] Exploring Operation: 39*54=2106, Resulting Numbers: [2106] 2106,24 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,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,4 Current State: 24:[32, 61], Operations: ['70-31=39', '22+39=61'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,24 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: 24:[31, 32, 48], Operations: ['70-22=48'] Exploring Operation: 48-32=16, Resulting Numbers: [31, 16] Generated Node #0,3,0: 24:[31, 16] Operation: 48-32=16 Exploring Operation: 32-31=1, Resulting Numbers: [48, 1] Generated Node #0,3,1: 24:[48, 1] Operation: 32-31=1 Exploring Operation: 31+48=79, Resulting Numbers: [32, 79] Generated Node #0,3,2: 24:[32, 79] Operation: 31+48=79 Exploring Operation: 31+32=63, Resulting Numbers: [48, 63] Generated Node #0,3,3: 24:[48, 63] Operation: 31+32=63 Exploring Operation: 48-31=17, Resulting Numbers: [32, 17] Generated Node #0,3,4: 24:[32, 17] Operation: 48-31=17 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[31, 16], Operations: ['70-22=48', '48-32=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,24 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,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,3,4 Current State: 24:[32, 17], Operations: ['70-22=48', '48-31=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,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,3,1 Current State: 24:[48, 1], Operations: ['70-22=48', '32-31=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,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,3,2 Current State: 24:[32, 79], Operations: ['70-22=48', '31+48=79'] Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,24 unequal: No Solution Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,24 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,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,3,3 Current State: 24:[48, 63], Operations: ['70-22=48', '31+32=63'] Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,24 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 24:[22, 70, 1], Operations: ['32-31=1'] Exploring Operation: 70-1=69, Resulting Numbers: [22, 69] Generated Node #0,4,0: 24:[22, 69] Operation: 70-1=69 Exploring Operation: 70-22=48, Resulting Numbers: [1, 48] Generated Node #0,4,1: 24:[1, 48] Operation: 70-22=48 Exploring Operation: 22*1=22, Resulting Numbers: [70, 22] Generated Node #0,4,2: 24:[70, 22] Operation: 22*1=22 Exploring Operation: 22/1=22, Resulting Numbers: [70, 22] Generated Node #0,4,3: 24:[70, 22] Operation: 22/1=22 Exploring Operation: 22+1=23, Resulting Numbers: [70, 23] Generated Node #0,4,4: 24:[70, 23] Operation: 22+1=23 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 24:[1, 48], Operations: ['32-31=1', '70-22=48'] Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,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,4,0 Current State: 24:[22, 69], Operations: ['32-31=1', '70-1=69'] Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,24 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,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,4,4 Current State: 24:[70, 23], Operations: ['32-31=1', '22+1=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,24 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,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,4,2 Current State: 24:[70, 22], Operations: ['32-31=1', '22*1=22'] Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,24 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,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,4,3 Current State: 24:[70, 22], Operations: ['32-31=1', '22/1=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,24 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,24 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,24 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: 24:[70, 32, 9], Operations: ['31-22=9'] Exploring Operation: 70-9=61, Resulting Numbers: [32, 61] Generated Node #0,1,0: 24:[32, 61] Operation: 70-9=61 Exploring Operation: 70-32=38, Resulting Numbers: [9, 38] Generated Node #0,1,1: 24:[9, 38] Operation: 70-32=38 Exploring Operation: 32+9=41, Resulting Numbers: [70, 41] Generated Node #0,1,2: 24:[70, 41] Operation: 32+9=41 Exploring Operation: 70+9=79, Resulting Numbers: [32, 79] Generated Node #0,1,3: 24:[32, 79] Operation: 70+9=79 Exploring Operation: 32-9=23, Resulting Numbers: [70, 23] Generated Node #0,1,4: 24:[70, 23] Operation: 32-9=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[9, 38], Operations: ['31-22=9', '70-32=38'] Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,24 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[32, 61], Operations: ['31-22=9', '70-9=61'] Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,24 unequal: No Solution Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 24:[70, 23], Operations: ['31-22=9', '32-9=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,24 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[70, 41], Operations: ['31-22=9', '32+9=41'] Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,24 unequal: No Solution Exploring Operation: 70*41=2870, Resulting Numbers: [2870] 2870,24 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[32, 79], Operations: ['31-22=9', '70+9=79'] Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,24 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,24 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
[ 32, 38, 6, 88 ]
24
[ "32+38=70", "6+88=94", "94-70=24" ]
Current State: 24:[32, 38, 6, 88], Operations: [] Exploring Operation: 32+38=70, Resulting Numbers: [6, 88, 70] Generated Node #2: [6, 88, 70] from Operation: 32+38=70 Current State: 24:[6, 88, 70], Operations: ['32+38=70'] Exploring Operation: 6+88=94, Resulting Numbers: [70, 94] Generated Node #3: [70, 94] from Operation: 6+88=94 Current State: 24:[70, 94], Operations: ['32+38=70', '6+88=94'] Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[32, 38, 6, 88], Operations: [] Exploring Operation: 88-38=50, Resulting Numbers: [32, 6, 50] Generated Node #0,0: 24:[32, 6, 50] Operation: 88-38=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[32, 6, 50], Operations: ['88-38=50'] Exploring Operation: 50-32=18, Resulting Numbers: [6, 18] Generated Node #0,0,0: 24:[6, 18] Operation: 50-32=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[6, 18], Operations: ['88-38=50', '50-32=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[32, 38, 6, 88], Operations: [] Exploring Operation: 88-38=50, Resulting Numbers: [32, 6, 50] Generated Node #0,0: 24:[32, 6, 50] Operation: 88-38=50 Moving to Node #0,0 Current State: 24:[32, 6, 50], Operations: ['88-38=50'] Exploring Operation: 50-32=18, Resulting Numbers: [6, 18] Generated Node #0,0,0: 24:[6, 18] Operation: 50-32=18 Moving to Node #0,0,0 Current State: 24:[6, 18], Operations: ['88-38=50', '50-32=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 17, 10, 34, 14 ]
47
[ "17+10=27", "34-14=20", "27+20=47" ]
Current State: 47:[17, 10, 34, 14], Operations: [] Exploring Operation: 17+10=27, Resulting Numbers: [34, 14, 27] Generated Node #2: [34, 14, 27] from Operation: 17+10=27 Current State: 47:[34, 14, 27], Operations: ['17+10=27'] Exploring Operation: 34-14=20, Resulting Numbers: [27, 20] Generated Node #3: [27, 20] from Operation: 34-14=20 Current State: 47:[27, 20], Operations: ['17+10=27', '34-14=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[17, 10, 34, 14], Operations: [] Exploring Operation: 10+34=44, Resulting Numbers: [17, 14, 44] Generated Node #0,0: 47:[17, 14, 44] Operation: 10+34=44 Exploring Operation: 17+10=27, Resulting Numbers: [34, 14, 27] Generated Node #0,1: 47:[34, 14, 27] Operation: 17+10=27 Exploring Operation: 17+14=31, Resulting Numbers: [10, 34, 31] Generated Node #0,2: 47:[10, 34, 31] Operation: 17+14=31 Moving to Node #0,0 Current State: 47:[17, 14, 44], Operations: ['10+34=44'] Exploring Operation: 17+14=31, Resulting Numbers: [44, 31] Generated Node #0,0,0: 47:[44, 31] Operation: 17+14=31 Exploring Operation: 17-14=3, Resulting Numbers: [44, 3] Generated Node #0,0,1: 47:[44, 3] Operation: 17-14=3 Exploring Operation: 14+44=58, Resulting Numbers: [17, 58] Generated Node #0,0,2: 47:[17, 58] Operation: 14+44=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[44, 31], Operations: ['10+34=44', '17+14=31'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 44*31=1364, Resulting Numbers: [1364] 1364,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[17, 58], Operations: ['10+34=44', '14+44=58'] Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,47 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[44, 3], Operations: ['10+34=44', '17-14=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,47 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[17, 10, 34, 14], Operations: [] Exploring Operation: 10+34=44, Resulting Numbers: [17, 14, 44] Generated Node #0,0: 47:[17, 14, 44] Operation: 10+34=44 Moving to Node #0,0 Current State: 47:[17, 14, 44], Operations: ['10+34=44'] Exploring Operation: 17-14=3, Resulting Numbers: [44, 3] Generated Node #0,0,1: 47:[44, 3] Operation: 17-14=3 Moving to Node #0,0,1 Current State: 47:[44, 3], Operations: ['10+34=44', '17-14=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 23, 68, 85, 34 ]
28
[ "23+68=91", "85+34=119", "119-91=28" ]
Current State: 28:[23, 68, 85, 34], Operations: [] Exploring Operation: 23+68=91, Resulting Numbers: [85, 34, 91] Generated Node #2: [85, 34, 91] from Operation: 23+68=91 Current State: 28:[85, 34, 91], Operations: ['23+68=91'] Exploring Operation: 85+34=119, Resulting Numbers: [91, 119] Generated Node #3: [91, 119] from Operation: 85+34=119 Current State: 28:[91, 119], Operations: ['23+68=91', '85+34=119'] Exploring Operation: 119-91=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[23, 68, 85, 34], Operations: [] Exploring Operation: 85-68=17, Resulting Numbers: [23, 34, 17] Generated Node #0,0: 28:[23, 34, 17] Operation: 85-68=17 Exploring Operation: 68/34=2, Resulting Numbers: [23, 85, 2] Generated Node #0,1: 28:[23, 85, 2] Operation: 68/34=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[23, 34, 17], Operations: ['85-68=17'] Exploring Operation: 34/17=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 28:[23, 2] Operation: 34/17=2 Exploring Operation: 34-23=11, Resulting Numbers: [17, 11] Generated Node #0,0,1: 28:[17, 11] Operation: 34-23=11 Moving to Node #0,0,0 Current State: 28:[23, 2], Operations: ['85-68=17', '34/17=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[17, 11], Operations: ['85-68=17', '34-23=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[23, 68, 85, 34], Operations: [] Exploring Operation: 85-68=17, Resulting Numbers: [23, 34, 17] Generated Node #0,0: 28:[23, 34, 17] Operation: 85-68=17 Moving to Node #0,0 Current State: 28:[23, 34, 17], Operations: ['85-68=17'] Exploring Operation: 34-23=11, Resulting Numbers: [17, 11] Generated Node #0,0,1: 28:[17, 11] Operation: 34-23=11 Moving to Node #0,0,1 Current State: 28:[17, 11], Operations: ['85-68=17', '34-23=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 82, 35, 4, 3 ]
70
[ "35+3=38", "4*38=152", "152-82=70" ]
Current State: 70:[82, 35, 4, 3], Operations: [] Exploring Operation: 35+3=38, Resulting Numbers: [82, 4, 38] Generated Node #2: [82, 4, 38] from Operation: 35+3=38 Current State: 70:[82, 4, 38], Operations: ['35+3=38'] Exploring Operation: 4*38=152, Resulting Numbers: [82, 152] Generated Node #3: [82, 152] from Operation: 4*38=152 Current State: 70:[82, 152], Operations: ['35+3=38', '4*38=152'] Exploring Operation: 152-82=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[82, 35, 4, 3], Operations: [] Exploring Operation: 82-4=78, Resulting Numbers: [35, 3, 78] Generated Node #0,0: 70:[35, 3, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[35, 3, 78], Operations: ['82-4=78'] Exploring Operation: 78-3=75, Resulting Numbers: [35, 75] Generated Node #0,0,0: 70:[35, 75] Operation: 78-3=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[35, 75], Operations: ['82-4=78', '78-3=75'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 21, 67, 17, 60 ]
15
[ "21*60=1260", "67+17=84", "1260/84=15" ]
Current State: 15:[21, 67, 17, 60], Operations: [] Exploring Operation: 21*60=1260, Resulting Numbers: [67, 17, 1260] Generated Node #2: [67, 17, 1260] from Operation: 21*60=1260 Current State: 15:[67, 17, 1260], Operations: ['21*60=1260'] Exploring Operation: 67+17=84, Resulting Numbers: [1260, 84] Generated Node #3: [1260, 84] from Operation: 67+17=84 Current State: 15:[1260, 84], Operations: ['21*60=1260', '67+17=84'] Exploring Operation: 1260/84=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[21, 67, 17, 60], Operations: [] Exploring Operation: 67-21=46, Resulting Numbers: [17, 60, 46] Generated Node #0,0: 15:[17, 60, 46] Operation: 67-21=46 Exploring Operation: 60-21=39, Resulting Numbers: [67, 17, 39] Generated Node #0,1: 15:[67, 17, 39] Operation: 60-21=39 Exploring Operation: 67-17=50, Resulting Numbers: [21, 60, 50] Generated Node #0,2: 15:[21, 60, 50] Operation: 67-17=50 Exploring Operation: 67-60=7, Resulting Numbers: [21, 17, 7] Generated Node #0,3: 15:[21, 17, 7] Operation: 67-60=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[21, 17, 7], Operations: ['67-60=7'] Exploring Operation: 21-7=14, Resulting Numbers: [17, 14] Generated Node #0,3,0: 15:[17, 14] Operation: 21-7=14 Exploring Operation: 17-7=10, Resulting Numbers: [21, 10] Generated Node #0,3,1: 15:[21, 10] Operation: 17-7=10 Exploring Operation: 21/7=3, Resulting Numbers: [17, 3] Generated Node #0,3,2: 15:[17, 3] Operation: 21/7=3 Exploring Operation: 21-17=4, Resulting Numbers: [7, 4] Generated Node #0,3,3: 15:[7, 4] Operation: 21-17=4 Moving to Node #0,3,2 Current State: 15:[17, 3], Operations: ['67-60=7', '21/7=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[7, 4], Operations: ['67-60=7', '21-17=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[17, 14], Operations: ['67-60=7', '21-7=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[21, 10], Operations: ['67-60=7', '17-7=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,15 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[17, 60, 46], Operations: ['67-21=46'] Exploring Operation: 17+60=77, Resulting Numbers: [46, 77] Generated Node #0,0,0: 15:[46, 77] Operation: 17+60=77 Exploring Operation: 60-17=43, Resulting Numbers: [46, 43] Generated Node #0,0,1: 15:[46, 43] Operation: 60-17=43 Exploring Operation: 46-17=29, Resulting Numbers: [60, 29] Generated Node #0,0,2: 15:[60, 29] Operation: 46-17=29 Exploring Operation: 60-46=14, Resulting Numbers: [17, 14] Generated Node #0,0,3: 15:[17, 14] Operation: 60-46=14 Moving to Node #0,0,3 Current State: 15:[17, 14], Operations: ['67-21=46', '60-46=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[60, 29], Operations: ['67-21=46', '46-17=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,15 unequal: No Solution Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[46, 43], Operations: ['67-21=46', '60-17=43'] Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[46, 77], Operations: ['67-21=46', '17+60=77'] Exploring Operation: 46*77=3542, Resulting Numbers: [3542] 3542,15 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 46+77=123, Resulting Numbers: [123] 123,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[67, 17, 39], Operations: ['60-21=39'] Exploring Operation: 39-17=22, Resulting Numbers: [67, 22] Generated Node #0,1,0: 15:[67, 22] Operation: 39-17=22 Exploring Operation: 67-17=50, Resulting Numbers: [39, 50] Generated Node #0,1,1: 15:[39, 50] Operation: 67-17=50 Exploring Operation: 67-39=28, Resulting Numbers: [17, 28] Generated Node #0,1,2: 15:[17, 28] Operation: 67-39=28 Exploring Operation: 67+17=84, Resulting Numbers: [39, 84] Generated Node #0,1,3: 15:[39, 84] Operation: 67+17=84 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[17, 28], Operations: ['60-21=39', '67-39=28'] Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,15 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[67, 22], Operations: ['60-21=39', '39-17=22'] Exploring Operation: 67*22=1474, Resulting Numbers: [1474] 1474,15 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 67+22=89, Resulting Numbers: [89] 89,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[39, 50], Operations: ['60-21=39', '67-17=50'] Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 39*50=1950, Resulting Numbers: [1950] 1950,15 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[39, 84], Operations: ['60-21=39', '67+17=84'] Exploring Operation: 84-39=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 39+84=123, Resulting Numbers: [123] 123,15 unequal: No Solution Exploring Operation: 39*84=3276, Resulting Numbers: [3276] 3276,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[21, 60, 50], Operations: ['67-17=50'] Exploring Operation: 21+60=81, Resulting Numbers: [50, 81] Generated Node #0,2,0: 15:[50, 81] Operation: 21+60=81 Exploring Operation: 50-21=29, Resulting Numbers: [60, 29] Generated Node #0,2,1: 15:[60, 29] Operation: 50-21=29 Exploring Operation: 60-50=10, Resulting Numbers: [21, 10] Generated Node #0,2,2: 15:[21, 10] Operation: 60-50=10 Exploring Operation: 60-21=39, Resulting Numbers: [50, 39] Generated Node #0,2,3: 15:[50, 39] Operation: 60-21=39 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[21, 10], Operations: ['67-17=50', '60-50=10'] Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,15 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[60, 29], Operations: ['67-17=50', '50-21=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[50, 39], Operations: ['67-17=50', '60-21=39'] Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,15 unequal: No Solution Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[50, 81], Operations: ['67-17=50', '21+60=81'] Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 50+81=131, Resulting Numbers: [131] 131,15 unequal: No Solution Exploring Operation: 50*81=4050, Resulting Numbers: [4050] 4050,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 42, 81, 56, 75 ]
14
[ "81-56=25", "42*25=1050", "1050/75=14" ]
Current State: 14:[42, 81, 56, 75], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [42, 75, 25] Generated Node #2: [42, 75, 25] from Operation: 81-56=25 Current State: 14:[42, 75, 25], Operations: ['81-56=25'] Exploring Operation: 42*25=1050, Resulting Numbers: [75, 1050] Generated Node #3: [75, 1050] from Operation: 42*25=1050 Current State: 14:[75, 1050], Operations: ['81-56=25', '42*25=1050'] Exploring Operation: 1050/75=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[42, 81, 56, 75], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [42, 56, 6] Generated Node #0,0: 14:[42, 56, 6] Operation: 81-75=6 Exploring Operation: 81-56=25, Resulting Numbers: [42, 75, 25] Generated Node #0,1: 14:[42, 75, 25] Operation: 81-56=25 Exploring Operation: 75-56=19, Resulting Numbers: [42, 81, 19] Generated Node #0,2: 14:[42, 81, 19] Operation: 75-56=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[42, 56, 6], Operations: ['81-75=6'] Exploring Operation: 42/6=7, Resulting Numbers: [56, 7] Generated Node #0,0,0: 14:[56, 7] Operation: 42/6=7 Exploring Operation: 42-6=36, Resulting Numbers: [56, 36] Generated Node #0,0,1: 14:[56, 36] Operation: 42-6=36 Exploring Operation: 56-42=14, Resulting Numbers: [6, 14] Generated Node #0,0,2: 14:[6, 14] Operation: 56-42=14 Moving to Node #0,0,2 Current State: 14:[6, 14], Operations: ['81-75=6', '56-42=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[56, 7], Operations: ['81-75=6', '42/6=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[56, 36], Operations: ['81-75=6', '42-6=36'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,14 unequal: No Solution Exploring Operation: 56*36=2016, Resulting Numbers: [2016] 2016,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,1 Current State: 14:[42, 75, 25], Operations: ['81-56=25'] Exploring Operation: 75/25=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 14:[42, 3] Operation: 75/25=3 Exploring Operation: 75-42=33, Resulting Numbers: [25, 33] Generated Node #0,1,1: 14:[25, 33] Operation: 75-42=33 Exploring Operation: 42-25=17, Resulting Numbers: [75, 17] Generated Node #0,1,2: 14:[75, 17] Operation: 42-25=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[42, 3], Operations: ['81-56=25', '75/25=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[42, 81, 56, 75], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [42, 75, 25] Generated Node #0,1: 14:[42, 75, 25] Operation: 81-56=25 Moving to Node #0,1 Current State: 14:[42, 75, 25], Operations: ['81-56=25'] Exploring Operation: 75/25=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 14:[42, 3] Operation: 75/25=3 Moving to Node #0,1,0 Current State: 14:[42, 3], Operations: ['81-56=25', '75/25=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 52, 84, 3, 41 ]
51
[ "52-41=11", "3*11=33", "84-33=51" ]
Current State: 51:[52, 84, 3, 41], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [84, 3, 11] Generated Node #2: [84, 3, 11] from Operation: 52-41=11 Current State: 51:[84, 3, 11], Operations: ['52-41=11'] Exploring Operation: 3*11=33, Resulting Numbers: [84, 33] Generated Node #3: [84, 33] from Operation: 3*11=33 Current State: 51:[84, 33], Operations: ['52-41=11', '3*11=33'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[52, 84, 3, 41], Operations: [] Exploring Operation: 84-41=43, Resulting Numbers: [52, 3, 43] Generated Node #0,0: 51:[52, 3, 43] Operation: 84-41=43 Moving to Node #0,0 Current State: 51:[52, 3, 43], Operations: ['84-41=43'] Exploring Operation: 52-43=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 51:[3, 9] Operation: 52-43=9 Moving to Node #0,0,0 Current State: 51:[3, 9], Operations: ['84-41=43', '52-43=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 30, 5, 15, 73 ]
17
[ "30/5=6", "15*6=90", "90-73=17" ]
Current State: 17:[30, 5, 15, 73], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [15, 73, 6] Generated Node #2: [15, 73, 6] from Operation: 30/5=6 Current State: 17:[15, 73, 6], Operations: ['30/5=6'] Exploring Operation: 15*6=90, Resulting Numbers: [73, 90] Generated Node #3: [73, 90] from Operation: 15*6=90 Current State: 17:[73, 90], Operations: ['30/5=6', '15*6=90'] Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[30, 5, 15, 73], Operations: [] Exploring Operation: 73-15=58, Resulting Numbers: [30, 5, 58] Generated Node #0,0: 17:[30, 5, 58] Operation: 73-15=58 Exploring Operation: 73-5=68, Resulting Numbers: [30, 15, 68] Generated Node #0,1: 17:[30, 15, 68] Operation: 73-5=68 Exploring Operation: 73-30=43, Resulting Numbers: [5, 15, 43] Generated Node #0,2: 17:[5, 15, 43] Operation: 73-30=43 Exploring Operation: 30-5=25, Resulting Numbers: [15, 73, 25] Generated Node #0,3: 17:[15, 73, 25] Operation: 30-5=25 Moving to Node #0,2 Current State: 17:[5, 15, 43], Operations: ['73-30=43'] Exploring Operation: 43-15=28, Resulting Numbers: [5, 28] Generated Node #0,2,0: 17:[5, 28] Operation: 43-15=28 Exploring Operation: 15-5=10, Resulting Numbers: [43, 10] Generated Node #0,2,1: 17:[43, 10] Operation: 15-5=10 Exploring Operation: 43-5=38, Resulting Numbers: [15, 38] Generated Node #0,2,2: 17:[15, 38] Operation: 43-5=38 Exploring Operation: 5+15=20, Resulting Numbers: [43, 20] Generated Node #0,2,3: 17:[43, 20] Operation: 5+15=20 Moving to Node #0,1 Current State: 17:[30, 15, 68], Operations: ['73-5=68'] Exploring Operation: 68-15=53, Resulting Numbers: [30, 53] Generated Node #0,1,0: 17:[30, 53] Operation: 68-15=53 Exploring Operation: 68-30=38, Resulting Numbers: [15, 38] Generated Node #0,1,1: 17:[15, 38] Operation: 68-30=38 Exploring Operation: 30-15=15, Resulting Numbers: [68, 15] Generated Node #0,1,2: 17:[68, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [68, 2] Generated Node #0,1,3: 17:[68, 2] Operation: 30/15=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[15, 38], Operations: ['73-5=68', '68-30=38'] Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,17 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,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,0 Current State: 17:[30, 53], Operations: ['73-5=68', '68-15=53'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,17 unequal: No Solution Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,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,2 Current State: 17:[68, 15], Operations: ['73-5=68', '30-15=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,17 unequal: No Solution Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,17 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,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,3 Current State: 17:[68, 2], Operations: ['73-5=68', '30/15=2'] Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,17 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,17 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: 17:[30, 5, 58], Operations: ['73-15=58'] Exploring Operation: 58-5=53, Resulting Numbers: [30, 53] Generated Node #0,0,0: 17:[30, 53] Operation: 58-5=53 Exploring Operation: 58-30=28, Resulting Numbers: [5, 28] Generated Node #0,0,1: 17:[5, 28] Operation: 58-30=28 Exploring Operation: 30/5=6, Resulting Numbers: [58, 6] Generated Node #0,0,2: 17:[58, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [58, 25] Generated Node #0,0,3: 17:[58, 25] Operation: 30-5=25 Moving to Node #0,3 Current State: 17:[15, 73, 25], Operations: ['30-5=25'] Exploring Operation: 15+73=88, Resulting Numbers: [25, 88] Generated Node #0,3,0: 17:[25, 88] Operation: 15+73=88 Exploring Operation: 25-15=10, Resulting Numbers: [73, 10] Generated Node #0,3,1: 17:[73, 10] Operation: 25-15=10 Exploring Operation: 73-15=58, Resulting Numbers: [25, 58] Generated Node #0,3,2: 17:[25, 58] Operation: 73-15=58 Exploring Operation: 73-25=48, Resulting Numbers: [15, 48] Generated Node #0,3,3: 17:[15, 48] Operation: 73-25=48 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[15, 48], Operations: ['30-5=25', '73-25=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,17 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,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,3,2 Current State: 17:[25, 58], Operations: ['30-5=25', '73-15=58'] Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,17 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,17 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,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,3,1 Current State: 17:[73, 10], Operations: ['30-5=25', '25-15=10'] Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 73*10=730, Resulting Numbers: [730] 730,17 unequal: No Solution Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,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,3,0 Current State: 17:[25, 88], Operations: ['30-5=25', '15+73=88'] Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 25+88=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 25*88=2200, Resulting Numbers: [2200] 2200,17 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: 17:[5, 28], Operations: ['73-30=43', '43-15=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,17 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[15, 38], Operations: ['73-30=43', '43-5=38'] Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,17 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[5, 28], Operations: ['73-15=58', '58-30=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[43, 20], Operations: ['73-30=43', '5+15=20'] Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,17 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[43, 10], Operations: ['73-30=43', '15-5=10'] Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,17 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[30, 53], Operations: ['73-15=58', '58-5=53'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,17 unequal: No Solution Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[58, 25], Operations: ['73-15=58', '30-5=25'] Exploring Operation: 58+25=83, Resulting Numbers: [83] 83,17 unequal: No Solution Exploring Operation: 58*25=1450, Resulting Numbers: [1450] 1450,17 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[58, 6], Operations: ['73-15=58', '30/5=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,17 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,17 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 10, 48, 88, 28 ]
58
[ "10+48=58", "88+28=116", "116-58=58" ]
Current State: 58:[10, 48, 88, 28], Operations: [] Exploring Operation: 10+48=58, Resulting Numbers: [88, 28, 58] Generated Node #2: [88, 28, 58] from Operation: 10+48=58 Current State: 58:[88, 28, 58], Operations: ['10+48=58'] Exploring Operation: 88+28=116, Resulting Numbers: [58, 116] Generated Node #3: [58, 116] from Operation: 88+28=116 Current State: 58:[58, 116], Operations: ['10+48=58', '88+28=116'] Exploring Operation: 116-58=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[10, 48, 88, 28], Operations: [] Exploring Operation: 88-28=60, Resulting Numbers: [10, 48, 60] Generated Node #0,0: 58:[10, 48, 60] Operation: 88-28=60 Exploring Operation: 88-48=40, Resulting Numbers: [10, 28, 40] Generated Node #0,1: 58:[10, 28, 40] Operation: 88-48=40 Moving to Node #0,0 Current State: 58:[10, 48, 60], Operations: ['88-28=60'] Exploring Operation: 10+48=58, Resulting Numbers: [60, 58] Generated Node #0,0,0: 58:[60, 58] Operation: 10+48=58 Exploring Operation: 48-10=38, Resulting Numbers: [60, 38] Generated Node #0,0,1: 58:[60, 38] Operation: 48-10=38 Moving to Node #0,1 Current State: 58:[10, 28, 40], Operations: ['88-48=40'] Exploring Operation: 40/10=4, Resulting Numbers: [28, 4] Generated Node #0,1,0: 58:[28, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [28, 30] Generated Node #0,1,1: 58:[28, 30] Operation: 40-10=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[28, 30], Operations: ['88-48=40', '40-10=30'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[10, 48, 88, 28], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [10, 28, 40] Generated Node #0,1: 58:[10, 28, 40] Operation: 88-48=40 Moving to Node #0,1 Current State: 58:[10, 28, 40], Operations: ['88-48=40'] Exploring Operation: 40-10=30, Resulting Numbers: [28, 30] Generated Node #0,1,1: 58:[28, 30] Operation: 40-10=30 Moving to Node #0,1,1 Current State: 58:[28, 30], Operations: ['88-48=40', '40-10=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 46, 4, 20, 29 ]
91
[ "46-4=42", "20+29=49", "42+49=91" ]
Current State: 91:[46, 4, 20, 29], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [20, 29, 42] Generated Node #2: [20, 29, 42] from Operation: 46-4=42 Current State: 91:[20, 29, 42], Operations: ['46-4=42'] Exploring Operation: 20+29=49, Resulting Numbers: [42, 49] Generated Node #3: [42, 49] from Operation: 20+29=49 Current State: 91:[42, 49], Operations: ['46-4=42', '20+29=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[46, 4, 20, 29], Operations: [] Exploring Operation: 46+20=66, Resulting Numbers: [4, 29, 66] Generated Node #0,0: 91:[4, 29, 66] Operation: 46+20=66 Exploring Operation: 46-20=26, Resulting Numbers: [4, 29, 26] Generated Node #0,1: 91:[4, 29, 26] Operation: 46-20=26 Exploring Operation: 46+29=75, Resulting Numbers: [4, 20, 75] Generated Node #0,2: 91:[4, 20, 75] Operation: 46+29=75 Exploring Operation: 29-20=9, Resulting Numbers: [46, 4, 9] Generated Node #0,3: 91:[46, 4, 9] Operation: 29-20=9 Exploring Operation: 46-29=17, Resulting Numbers: [4, 20, 17] Generated Node #0,4: 91:[4, 20, 17] Operation: 46-29=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[4, 20, 17], Operations: ['46-29=17'] Exploring Operation: 17-4=13, Resulting Numbers: [20, 13] Generated Node #0,4,0: 91:[20, 13] Operation: 17-4=13 Exploring Operation: 20-4=16, Resulting Numbers: [17, 16] Generated Node #0,4,1: 91:[17, 16] Operation: 20-4=16 Exploring Operation: 20-17=3, Resulting Numbers: [4, 3] Generated Node #0,4,2: 91:[4, 3] Operation: 20-17=3 Exploring Operation: 4+20=24, Resulting Numbers: [17, 24] Generated Node #0,4,3: 91:[17, 24] Operation: 4+20=24 Exploring Operation: 20/4=5, Resulting Numbers: [17, 5] Generated Node #0,4,4: 91:[17, 5] Operation: 20/4=5 Moving to Node #0,4,4 Current State: 91:[17, 5], Operations: ['46-29=17', '20/4=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,91 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,91 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,91 unequal: No Solution Moving to Node #0,4,1 Current State: 91:[17, 16], Operations: ['46-29=17', '20-4=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,91 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,91 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[20, 13], Operations: ['46-29=17', '17-4=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,91 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[4, 3], Operations: ['46-29=17', '20-17=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[17, 24], Operations: ['46-29=17', '4+20=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,91 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[4, 20, 75], Operations: ['46+29=75'] Exploring Operation: 20-4=16, Resulting Numbers: [75, 16] Generated Node #0,2,0: 91:[75, 16] Operation: 20-4=16 Exploring Operation: 4+75=79, Resulting Numbers: [20, 79] Generated Node #0,2,1: 91:[20, 79] Operation: 4+75=79 Exploring Operation: 4+20=24, Resulting Numbers: [75, 24] Generated Node #0,2,2: 91:[75, 24] Operation: 4+20=24 Exploring Operation: 20/4=5, Resulting Numbers: [75, 5] Generated Node #0,2,3: 91:[75, 5] Operation: 20/4=5 Exploring Operation: 20+75=95, Resulting Numbers: [4, 95] Generated Node #0,2,4: 91:[4, 95] Operation: 20+75=95 Moving to Node #0,2,4 Current State: 91:[4, 95], Operations: ['46+29=75', '20+75=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,91 unequal: No Solution Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,91 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[46, 4, 20, 29], Operations: [] Exploring Operation: 46+29=75, Resulting Numbers: [4, 20, 75] Generated Node #0,2: 91:[4, 20, 75] Operation: 46+29=75 Moving to Node #0,2 Current State: 91:[4, 20, 75], Operations: ['46+29=75'] Exploring Operation: 20+75=95, Resulting Numbers: [4, 95] Generated Node #0,2,4: 91:[4, 95] Operation: 20+75=95 Moving to Node #0,2,4 Current State: 91:[4, 95], Operations: ['46+29=75', '20+75=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 59, 40, 83, 3 ]
99
[ "59-40=19", "83-3=80", "19+80=99" ]
Current State: 99:[59, 40, 83, 3], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [83, 3, 19] Generated Node #2: [83, 3, 19] from Operation: 59-40=19 Current State: 99:[83, 3, 19], Operations: ['59-40=19'] Exploring Operation: 83-3=80, Resulting Numbers: [19, 80] Generated Node #3: [19, 80] from Operation: 83-3=80 Current State: 99:[19, 80], Operations: ['59-40=19', '83-3=80'] Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[59, 40, 83, 3], Operations: [] Exploring Operation: 59+40=99, Resulting Numbers: [83, 3, 99] Generated Node #0,0: 99:[83, 3, 99] Operation: 59+40=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[83, 3, 99], Operations: ['59+40=99'] Exploring Operation: 99-83=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 99:[3, 16] Operation: 99-83=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[3, 16], Operations: ['59+40=99', '99-83=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 23, 61, 88, 19 ]
39
[ "23-19=4", "88/4=22", "61-22=39" ]
Current State: 39:[23, 61, 88, 19], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [61, 88, 4] Generated Node #2: [61, 88, 4] from Operation: 23-19=4 Current State: 39:[61, 88, 4], Operations: ['23-19=4'] Exploring Operation: 88/4=22, Resulting Numbers: [61, 22] Generated Node #3: [61, 22] from Operation: 88/4=22 Current State: 39:[61, 22], Operations: ['23-19=4', '88/4=22'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[23, 61, 88, 19], Operations: [] Exploring Operation: 88-23=65, Resulting Numbers: [61, 19, 65] Generated Node #0,0: 39:[61, 19, 65] Operation: 88-23=65 Exploring Operation: 88-61=27, Resulting Numbers: [23, 19, 27] Generated Node #0,1: 39:[23, 19, 27] Operation: 88-61=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[23, 19, 27], Operations: ['88-61=27'] Exploring Operation: 27-23=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 39:[19, 4] Operation: 27-23=4 Exploring Operation: 23-19=4, Resulting Numbers: [27, 4] Generated Node #0,1,1: 39:[27, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[19, 4], Operations: ['88-61=27', '27-23=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,39 unequal: No Solution No 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: 39:[27, 4], Operations: ['88-61=27', '23-19=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,39 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: 39:[61, 19, 65], Operations: ['88-23=65'] Exploring Operation: 65-61=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 39:[19, 4] Operation: 65-61=4 Exploring Operation: 61-19=42, Resulting Numbers: [65, 42] Generated Node #0,0,1: 39:[65, 42] Operation: 61-19=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[19, 4], Operations: ['88-23=65', '65-61=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,39 unequal: No Solution No 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: 39:[65, 42], Operations: ['88-23=65', '61-19=42'] Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,39 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 47, 10, 49, 60 ]
80
[ "49-47=2", "10*2=20", "60+20=80" ]
Current State: 80:[47, 10, 49, 60], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [10, 60, 2] Generated Node #2: [10, 60, 2] from Operation: 49-47=2 Current State: 80:[10, 60, 2], Operations: ['49-47=2'] Exploring Operation: 10*2=20, Resulting Numbers: [60, 20] Generated Node #3: [60, 20] from Operation: 10*2=20 Current State: 80:[60, 20], Operations: ['49-47=2', '10*2=20'] Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[47, 10, 49, 60], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [47, 10, 11] Generated Node #0,0: 80:[47, 10, 11] Operation: 60-49=11 Exploring Operation: 60/10=6, Resulting Numbers: [47, 49, 6] Generated Node #0,1: 80:[47, 49, 6] Operation: 60/10=6 Exploring Operation: 60-47=13, Resulting Numbers: [10, 49, 13] Generated Node #0,2: 80:[10, 49, 13] Operation: 60-47=13 Exploring Operation: 49-47=2, Resulting Numbers: [10, 60, 2] Generated Node #0,3: 80:[10, 60, 2] Operation: 49-47=2 Moving to Node #0,0 Current State: 80:[47, 10, 11], Operations: ['60-49=11'] Exploring Operation: 47-11=36, Resulting Numbers: [10, 36] Generated Node #0,0,0: 80:[10, 36] Operation: 47-11=36 Exploring Operation: 47-10=37, Resulting Numbers: [11, 37] Generated Node #0,0,1: 80:[11, 37] Operation: 47-10=37 Exploring Operation: 10+11=21, Resulting Numbers: [47, 21] Generated Node #0,0,2: 80:[47, 21] Operation: 10+11=21 Exploring Operation: 11-10=1, Resulting Numbers: [47, 1] Generated Node #0,0,3: 80:[47, 1] Operation: 11-10=1 Moving to Node #0,2 Current State: 80:[10, 49, 13], Operations: ['60-47=13'] Exploring Operation: 49-10=39, Resulting Numbers: [13, 39] Generated Node #0,2,0: 80:[13, 39] Operation: 49-10=39 Exploring Operation: 13-10=3, Resulting Numbers: [49, 3] Generated Node #0,2,1: 80:[49, 3] Operation: 13-10=3 Exploring Operation: 10+13=23, Resulting Numbers: [49, 23] Generated Node #0,2,2: 80:[49, 23] Operation: 10+13=23 Exploring Operation: 49-13=36, Resulting Numbers: [10, 36] Generated Node #0,2,3: 80:[10, 36] Operation: 49-13=36 Moving to Node #0,1 Current State: 80:[47, 49, 6], Operations: ['60/10=6'] Exploring Operation: 47+49=96, Resulting Numbers: [6, 96] Generated Node #0,1,0: 80:[6, 96] Operation: 47+49=96 Exploring Operation: 47-6=41, Resulting Numbers: [49, 41] Generated Node #0,1,1: 80:[49, 41] Operation: 47-6=41 Exploring Operation: 49-47=2, Resulting Numbers: [6, 2] Generated Node #0,1,2: 80:[6, 2] Operation: 49-47=2 Exploring Operation: 49-6=43, Resulting Numbers: [47, 43] Generated Node #0,1,3: 80:[47, 43] Operation: 49-6=43 Moving to Node #0,3 Current State: 80:[10, 60, 2], Operations: ['49-47=2'] Exploring Operation: 60/2=30, Resulting Numbers: [10, 30] Generated Node #0,3,0: 80:[10, 30] Operation: 60/2=30 Exploring Operation: 10+60=70, Resulting Numbers: [2, 70] Generated Node #0,3,1: 80:[2, 70] Operation: 10+60=70 Exploring Operation: 60/10=6, Resulting Numbers: [2, 6] Generated Node #0,3,2: 80:[2, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [2, 50] Generated Node #0,3,3: 80:[2, 50] Operation: 60-10=50 Moving to Node #0,1,2 Current State: 80:[6, 2], Operations: ['60/10=6', '49-47=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[2, 6], Operations: ['49-47=2', '60/10=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[10, 36], Operations: ['60-47=13', '49-13=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,80 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[10, 36], Operations: ['60-49=11', '47-11=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,80 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[13, 39], Operations: ['60-47=13', '49-10=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[11, 37], Operations: ['60-49=11', '47-10=37'] Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,80 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[47, 21], Operations: ['60-49=11', '10+11=21'] Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,80 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[47, 1], Operations: ['60-49=11', '11-10=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[49, 3], Operations: ['60-47=13', '13-10=3'] Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,80 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[10, 30], Operations: ['49-47=2', '60/2=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[2, 70], Operations: ['49-47=2', '10+60=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,80 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[47, 43], Operations: ['60/10=6', '49-6=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,80 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[49, 41], Operations: ['60/10=6', '47-6=41'] Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,80 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[2, 50], Operations: ['49-47=2', '60-10=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[49, 23], Operations: ['60-47=13', '10+13=23'] Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[6, 96], Operations: ['60/10=6', '47+49=96'] Exploring Operation: 96-6=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 6*96=576, Resulting Numbers: [576] 576,80 unequal: No Solution Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 6+96=102, Resulting Numbers: [102] 102,80 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 26, 73, 10, 63 ]
27
[ "73-10=63", "63/63=1", "26+1=27" ]
Current State: 27:[26, 73, 10, 63], Operations: [] Exploring Operation: 73-10=63, Resulting Numbers: [26, 63, 63] Generated Node #2: [26, 63, 63] from Operation: 73-10=63 Current State: 27:[26, 63, 63], Operations: ['73-10=63'] Exploring Operation: 63/63=1, Resulting Numbers: [26, 1] Generated Node #3: [26, 1] from Operation: 63/63=1 Current State: 27:[26, 1], Operations: ['73-10=63', '63/63=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[26, 73, 10, 63], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [26, 10, 10] Generated Node #0,0: 27:[26, 10, 10] Operation: 73-63=10 Exploring Operation: 73-26=47, Resulting Numbers: [10, 63, 47] Generated Node #0,1: 27:[10, 63, 47] Operation: 73-26=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[26, 10, 10], Operations: ['73-63=10'] Exploring Operation: 10/10=1, Resulting Numbers: [26, 1] Generated Node #0,0,0: 27:[26, 1] Operation: 10/10=1 Exploring Operation: 10-10=0, Resulting Numbers: [26, 0] Generated Node #0,0,1: 27:[26, 0] Operation: 10-10=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[26, 1], Operations: ['73-63=10', '10/10=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[26, 73, 10, 63], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [26, 10, 10] Generated Node #0,0: 27:[26, 10, 10] Operation: 73-63=10 Moving to Node #0,0 Current State: 27:[26, 10, 10], Operations: ['73-63=10'] Exploring Operation: 10/10=1, Resulting Numbers: [26, 1] Generated Node #0,0,0: 27:[26, 1] Operation: 10/10=1 Moving to Node #0,0,0 Current State: 27:[26, 1], Operations: ['73-63=10', '10/10=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 99, 28, 8, 36 ]
83
[ "99+28=127", "8+36=44", "127-44=83" ]
Current State: 83:[99, 28, 8, 36], Operations: [] Exploring Operation: 99+28=127, Resulting Numbers: [8, 36, 127] Generated Node #2: [8, 36, 127] from Operation: 99+28=127 Current State: 83:[8, 36, 127], Operations: ['99+28=127'] Exploring Operation: 8+36=44, Resulting Numbers: [127, 44] Generated Node #3: [127, 44] from Operation: 8+36=44 Current State: 83:[127, 44], Operations: ['99+28=127', '8+36=44'] Exploring Operation: 127-44=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[99, 28, 8, 36], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [28, 36, 91] Generated Node #0,0: 83:[28, 36, 91] Operation: 99-8=91 Exploring Operation: 28+36=64, Resulting Numbers: [99, 8, 64] Generated Node #0,1: 83:[99, 8, 64] Operation: 28+36=64 Exploring Operation: 28+8=36, Resulting Numbers: [99, 36, 36] Generated Node #0,2: 83:[99, 36, 36] Operation: 28+8=36 Exploring Operation: 8+36=44, Resulting Numbers: [99, 28, 44] Generated Node #0,3: 83:[99, 28, 44] Operation: 8+36=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[28, 36, 91], Operations: ['99-8=91'] Exploring Operation: 91-28=63, Resulting Numbers: [36, 63] Generated Node #0,0,0: 83:[36, 63] Operation: 91-28=63 Exploring Operation: 28+91=119, Resulting Numbers: [36, 119] Generated Node #0,0,1: 83:[36, 119] Operation: 28+91=119 Exploring Operation: 36-28=8, Resulting Numbers: [91, 8] Generated Node #0,0,2: 83:[91, 8] Operation: 36-28=8 Exploring Operation: 28+36=64, Resulting Numbers: [91, 64] Generated Node #0,0,3: 83:[91, 64] Operation: 28+36=64 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[91, 64], Operations: ['99-8=91', '28+36=64'] Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,83 unequal: No Solution No 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: 83:[36, 63], Operations: ['99-8=91', '91-28=63'] Exploring Operation: 36+63=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 36*63=2268, Resulting Numbers: [2268] 2268,83 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,83 unequal: No Solution No 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: 83:[36, 119], Operations: ['99-8=91', '28+91=119'] Exploring Operation: 119-36=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[99, 28, 8, 36], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [28, 36, 91] Generated Node #0,0: 83:[28, 36, 91] Operation: 99-8=91 Moving to Node #0,0 Current State: 83:[28, 36, 91], Operations: ['99-8=91'] Exploring Operation: 28+91=119, Resulting Numbers: [36, 119] Generated Node #0,0,1: 83:[36, 119] Operation: 28+91=119 Moving to Node #0,0,1 Current State: 83:[36, 119], Operations: ['99-8=91', '28+91=119'] Exploring Operation: 119-36=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 99, 70, 32, 34 ]
41
[ "34-32=2", "70*2=140", "140-99=41" ]
Current State: 41:[99, 70, 32, 34], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [99, 70, 2] Generated Node #2: [99, 70, 2] from Operation: 34-32=2 Current State: 41:[99, 70, 2], Operations: ['34-32=2'] Exploring Operation: 70*2=140, Resulting Numbers: [99, 140] Generated Node #3: [99, 140] from Operation: 70*2=140 Current State: 41:[99, 140], Operations: ['34-32=2', '70*2=140'] Exploring Operation: 140-99=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[99, 70, 32, 34], Operations: [] Exploring Operation: 99-34=65, Resulting Numbers: [70, 32, 65] Generated Node #0,0: 41:[70, 32, 65] Operation: 99-34=65 Exploring Operation: 99-32=67, Resulting Numbers: [70, 34, 67] Generated Node #0,1: 41:[70, 34, 67] Operation: 99-32=67 Exploring Operation: 70-32=38, Resulting Numbers: [99, 34, 38] Generated Node #0,2: 41:[99, 34, 38] Operation: 70-32=38 Exploring Operation: 99-70=29, Resulting Numbers: [32, 34, 29] Generated Node #0,3: 41:[32, 34, 29] Operation: 99-70=29 Moving to Node #0,3 Current State: 41:[32, 34, 29], Operations: ['99-70=29'] Exploring Operation: 32+29=61, Resulting Numbers: [34, 61] Generated Node #0,3,0: 41:[34, 61] Operation: 32+29=61 Exploring Operation: 32-29=3, Resulting Numbers: [34, 3] Generated Node #0,3,1: 41:[34, 3] Operation: 32-29=3 Exploring Operation: 32+34=66, Resulting Numbers: [29, 66] Generated Node #0,3,2: 41:[29, 66] Operation: 32+34=66 Exploring Operation: 34+29=63, Resulting Numbers: [32, 63] Generated Node #0,3,3: 41:[32, 63] Operation: 34+29=63 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[34, 61], Operations: ['99-70=29', '32+29=61'] Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,41 unequal: No Solution Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[32, 63], Operations: ['99-70=29', '34+29=63'] Exploring Operation: 32*63=2016, Resulting Numbers: [2016] 2016,41 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 32+63=95, Resulting Numbers: [95] 95,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[29, 66], Operations: ['99-70=29', '32+34=66'] Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,41 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[34, 3], Operations: ['99-70=29', '32-29=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,41 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: 41:[70, 34, 67], Operations: ['99-32=67'] Exploring Operation: 70-67=3, Resulting Numbers: [34, 3] Generated Node #0,1,0: 41:[34, 3] Operation: 70-67=3 Exploring Operation: 70-34=36, Resulting Numbers: [67, 36] Generated Node #0,1,1: 41:[67, 36] Operation: 70-34=36 Exploring Operation: 67-34=33, Resulting Numbers: [70, 33] Generated Node #0,1,2: 41:[70, 33] Operation: 67-34=33 Exploring Operation: 70+34=104, Resulting Numbers: [67, 104] Generated Node #0,1,3: 41:[67, 104] Operation: 70+34=104 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[67, 36], Operations: ['99-32=67', '70-34=36'] Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[70, 33], Operations: ['99-32=67', '67-34=33'] Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 70*33=2310, Resulting Numbers: [2310] 2310,41 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[34, 3], Operations: ['99-32=67', '70-67=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[67, 104], Operations: ['99-32=67', '70+34=104'] Exploring Operation: 104-67=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 67*104=6968, Resulting Numbers: [6968] 6968,41 unequal: No Solution Exploring Operation: 67+104=171, Resulting Numbers: [171] 171,41 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: 41:[70, 32, 65], Operations: ['99-34=65'] Exploring Operation: 70-32=38, Resulting Numbers: [65, 38] Generated Node #0,0,0: 41:[65, 38] Operation: 70-32=38 Exploring Operation: 70+32=102, Resulting Numbers: [65, 102] Generated Node #0,0,1: 41:[65, 102] Operation: 70+32=102 Exploring Operation: 70-65=5, Resulting Numbers: [32, 5] Generated Node #0,0,2: 41:[32, 5] Operation: 70-65=5 Exploring Operation: 65-32=33, Resulting Numbers: [70, 33] Generated Node #0,0,3: 41:[70, 33] Operation: 65-32=33 Moving to Node #0,2 Current State: 41:[99, 34, 38], Operations: ['70-32=38'] Exploring Operation: 34+38=72, Resulting Numbers: [99, 72] Generated Node #0,2,0: 41:[99, 72] Operation: 34+38=72 Exploring Operation: 99-38=61, Resulting Numbers: [34, 61] Generated Node #0,2,1: 41:[34, 61] Operation: 99-38=61 Exploring Operation: 99+34=133, Resulting Numbers: [38, 133] Generated Node #0,2,2: 41:[38, 133] Operation: 99+34=133 Exploring Operation: 99-34=65, Resulting Numbers: [38, 65] Generated Node #0,2,3: 41:[38, 65] Operation: 99-34=65 Moving to Node #0,0,0 Current State: 41:[65, 38], Operations: ['99-34=65', '70-32=38'] Exploring Operation: 65+38=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 65*38=2470, Resulting Numbers: [2470] 2470,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[38, 65], Operations: ['70-32=38', '99-34=65'] Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[34, 61], Operations: ['70-32=38', '99-38=61'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,41 unequal: No Solution Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[70, 33], Operations: ['99-34=65', '65-32=33'] Exploring Operation: 70*33=2310, Resulting Numbers: [2310] 2310,41 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[32, 5], Operations: ['99-34=65', '70-65=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,41 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[65, 102], Operations: ['99-34=65', '70+32=102'] Exploring Operation: 65+102=167, Resulting Numbers: [167] 167,41 unequal: No Solution Exploring Operation: 102-65=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 65*102=6630, Resulting Numbers: [6630] 6630,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[99, 72], Operations: ['70-32=38', '34+38=72'] Exploring Operation: 99*72=7128, Resulting Numbers: [7128] 7128,41 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 99+72=171, Resulting Numbers: [171] 171,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[38, 133], Operations: ['70-32=38', '99+34=133'] Exploring Operation: 38*133=5054, Resulting Numbers: [5054] 5054,41 unequal: No Solution Exploring Operation: 38+133=171, Resulting Numbers: [171] 171,41 unequal: No Solution Exploring Operation: 133-38=95, Resulting Numbers: [95] 95,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 34, 50, 91, 7 ]
49
[ "34+50=84", "91-84=7", "7*7=49" ]
Current State: 49:[34, 50, 91, 7], Operations: [] Exploring Operation: 34+50=84, Resulting Numbers: [91, 7, 84] Generated Node #2: [91, 7, 84] from Operation: 34+50=84 Current State: 49:[91, 7, 84], Operations: ['34+50=84'] Exploring Operation: 91-84=7, Resulting Numbers: [7, 7] Generated Node #3: [7, 7] from Operation: 91-84=7 Current State: 49:[7, 7], Operations: ['34+50=84', '91-84=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[34, 50, 91, 7], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [34, 50, 13] Generated Node #0,0: 49:[34, 50, 13] Operation: 91/7=13 Exploring Operation: 91-34=57, Resulting Numbers: [50, 7, 57] Generated Node #0,1: 49:[50, 7, 57] Operation: 91-34=57 Exploring Operation: 91-50=41, Resulting Numbers: [34, 7, 41] Generated Node #0,2: 49:[34, 7, 41] Operation: 91-50=41 Moving to Node #0,1 Current State: 49:[50, 7, 57], Operations: ['91-34=57'] Exploring Operation: 50-7=43, Resulting Numbers: [57, 43] Generated Node #0,1,0: 49:[57, 43] Operation: 50-7=43 Exploring Operation: 57-50=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 49:[7, 7] Operation: 57-50=7 Exploring Operation: 57-7=50, Resulting Numbers: [50, 50] Generated Node #0,1,2: 49:[50, 50] Operation: 57-7=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[7, 7], Operations: ['91-34=57', '57-50=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[34, 50, 91, 7], Operations: [] Exploring Operation: 91-34=57, Resulting Numbers: [50, 7, 57] Generated Node #0,1: 49:[50, 7, 57] Operation: 91-34=57 Moving to Node #0,1 Current State: 49:[50, 7, 57], Operations: ['91-34=57'] Exploring Operation: 57-50=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 49:[7, 7] Operation: 57-50=7 Moving to Node #0,1,1 Current State: 49:[7, 7], Operations: ['91-34=57', '57-50=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 15, 30, 63, 46 ]
28
[ "15+30=45", "63-46=17", "45-17=28" ]
Current State: 28:[15, 30, 63, 46], Operations: [] Exploring Operation: 15+30=45, Resulting Numbers: [63, 46, 45] Generated Node #2: [63, 46, 45] from Operation: 15+30=45 Current State: 28:[63, 46, 45], Operations: ['15+30=45'] Exploring Operation: 63-46=17, Resulting Numbers: [45, 17] Generated Node #3: [45, 17] from Operation: 63-46=17 Current State: 28:[45, 17], Operations: ['15+30=45', '63-46=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[15, 30, 63, 46], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [15, 30, 17] Generated Node #0,0: 28:[15, 30, 17] Operation: 63-46=17 Exploring Operation: 46-30=16, Resulting Numbers: [15, 63, 16] Generated Node #0,1: 28:[15, 63, 16] Operation: 46-30=16 Exploring Operation: 63-30=33, Resulting Numbers: [15, 46, 33] Generated Node #0,2: 28:[15, 46, 33] Operation: 63-30=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[15, 30, 17], Operations: ['63-46=17'] Exploring Operation: 30/15=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 28:[17, 2] Operation: 30/15=2 Exploring Operation: 30-17=13, Resulting Numbers: [15, 13] Generated Node #0,0,1: 28:[15, 13] Operation: 30-17=13 Exploring Operation: 17-15=2, Resulting Numbers: [30, 2] Generated Node #0,0,2: 28:[30, 2] Operation: 17-15=2 Moving to Node #0,0,1 Current State: 28:[15, 13], Operations: ['63-46=17', '30-17=13'] Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,28 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[15, 30, 63, 46], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [15, 30, 17] Generated Node #0,0: 28:[15, 30, 17] Operation: 63-46=17 Moving to Node #0,0 Current State: 28:[15, 30, 17], Operations: ['63-46=17'] Exploring Operation: 30-17=13, Resulting Numbers: [15, 13] Generated Node #0,0,1: 28:[15, 13] Operation: 30-17=13 Moving to Node #0,0,1 Current State: 28:[15, 13], Operations: ['63-46=17', '30-17=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 10, 18, 9, 52 ]
38
[ "18-9=9", "10*9=90", "90-52=38" ]
Current State: 38:[10, 18, 9, 52], Operations: [] Exploring Operation: 18-9=9, Resulting Numbers: [10, 52, 9] Generated Node #2: [10, 52, 9] from Operation: 18-9=9 Current State: 38:[10, 52, 9], Operations: ['18-9=9'] Exploring Operation: 10*9=90, Resulting Numbers: [52, 90] Generated Node #3: [52, 90] from Operation: 10*9=90 Current State: 38:[52, 90], Operations: ['18-9=9', '10*9=90'] Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[10, 18, 9, 52], Operations: [] Exploring Operation: 52-10=42, Resulting Numbers: [18, 9, 42] Generated Node #0,0: 38:[18, 9, 42] Operation: 52-10=42 Exploring Operation: 52-18=34, Resulting Numbers: [10, 9, 34] Generated Node #0,1: 38:[10, 9, 34] Operation: 52-18=34 Exploring Operation: 10+9=19, Resulting Numbers: [18, 52, 19] Generated Node #0,2: 38:[18, 52, 19] Operation: 10+9=19 Exploring Operation: 52-9=43, Resulting Numbers: [10, 18, 43] Generated Node #0,3: 38:[10, 18, 43] Operation: 52-9=43 Exploring Operation: 10-9=1, Resulting Numbers: [18, 52, 1] Generated Node #0,4: 38:[18, 52, 1] Operation: 10-9=1 Moving to Node #0,0 Current State: 38:[18, 9, 42], Operations: ['52-10=42'] Exploring Operation: 42-18=24, Resulting Numbers: [9, 24] Generated Node #0,0,0: 38:[9, 24] Operation: 42-18=24 Exploring Operation: 18+9=27, Resulting Numbers: [42, 27] Generated Node #0,0,1: 38:[42, 27] Operation: 18+9=27 Exploring Operation: 42-9=33, Resulting Numbers: [18, 33] Generated Node #0,0,2: 38:[18, 33] Operation: 42-9=33 Exploring Operation: 18/9=2, Resulting Numbers: [42, 2] Generated Node #0,0,3: 38:[42, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [42, 9] Generated Node #0,0,4: 38:[42, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 38:[42, 2], Operations: ['52-10=42', '18/9=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[18, 33], Operations: ['52-10=42', '42-9=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,38 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 38:[42, 9], Operations: ['52-10=42', '18-9=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[9, 24], Operations: ['52-10=42', '42-18=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,38 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[42, 27], Operations: ['52-10=42', '18+9=27'] Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,38 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 38:[10, 18, 43], Operations: ['52-9=43'] Exploring Operation: 43-10=33, Resulting Numbers: [18, 33] Generated Node #0,3,0: 38:[18, 33] Operation: 43-10=33 Exploring Operation: 43-18=25, Resulting Numbers: [10, 25] Generated Node #0,3,1: 38:[10, 25] Operation: 43-18=25 Exploring Operation: 18-10=8, Resulting Numbers: [43, 8] Generated Node #0,3,2: 38:[43, 8] Operation: 18-10=8 Exploring Operation: 10+18=28, Resulting Numbers: [43, 28] Generated Node #0,3,3: 38:[43, 28] Operation: 10+18=28 Exploring Operation: 10+43=53, Resulting Numbers: [18, 53] Generated Node #0,3,4: 38:[18, 53] Operation: 10+43=53 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[18, 33], Operations: ['52-9=43', '43-10=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,38 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 38:[43, 8], Operations: ['52-9=43', '18-10=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,38 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 38:[10, 25], Operations: ['52-9=43', '43-18=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,38 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 38:[43, 28], Operations: ['52-9=43', '10+18=28'] Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,38 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,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,4 Current State: 38:[18, 53], Operations: ['52-9=43', '10+43=53'] Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,38 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,38 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: 38:[18, 52, 19], Operations: ['10+9=19'] Exploring Operation: 18+19=37, Resulting Numbers: [52, 37] Generated Node #0,2,0: 38:[52, 37] Operation: 18+19=37 Exploring Operation: 18+52=70, Resulting Numbers: [19, 70] Generated Node #0,2,1: 38:[19, 70] Operation: 18+52=70 Exploring Operation: 52-18=34, Resulting Numbers: [19, 34] Generated Node #0,2,2: 38:[19, 34] Operation: 52-18=34 Exploring Operation: 52-19=33, Resulting Numbers: [18, 33] Generated Node #0,2,3: 38:[18, 33] Operation: 52-19=33 Exploring Operation: 19-18=1, Resulting Numbers: [52, 1] Generated Node #0,2,4: 38:[52, 1] Operation: 19-18=1 Moving to Node #0,4 Current State: 38:[18, 52, 1], Operations: ['10-9=1'] Exploring Operation: 52-18=34, Resulting Numbers: [1, 34] Generated Node #0,4,0: 38:[1, 34] Operation: 52-18=34 Exploring Operation: 18/1=18, Resulting Numbers: [52, 18] Generated Node #0,4,1: 38:[52, 18] Operation: 18/1=18 Exploring Operation: 18+1=19, Resulting Numbers: [52, 19] Generated Node #0,4,2: 38:[52, 19] Operation: 18+1=19 Exploring Operation: 52-1=51, Resulting Numbers: [18, 51] Generated Node #0,4,3: 38:[18, 51] Operation: 52-1=51 Exploring Operation: 18*1=18, Resulting Numbers: [52, 18] Generated Node #0,4,4: 38:[52, 18] Operation: 18*1=18 Moving to Node #0,1 Current State: 38:[10, 9, 34], Operations: ['52-18=34'] Exploring Operation: 34-10=24, Resulting Numbers: [9, 24] Generated Node #0,1,0: 38:[9, 24] Operation: 34-10=24 Exploring Operation: 10-9=1, Resulting Numbers: [34, 1] Generated Node #0,1,1: 38:[34, 1] Operation: 10-9=1 Exploring Operation: 9+34=43, Resulting Numbers: [10, 43] Generated Node #0,1,2: 38:[10, 43] Operation: 9+34=43 Exploring Operation: 10+9=19, Resulting Numbers: [34, 19] Generated Node #0,1,3: 38:[34, 19] Operation: 10+9=19 Exploring Operation: 10+34=44, Resulting Numbers: [9, 44] Generated Node #0,1,4: 38:[9, 44] Operation: 10+34=44 Moving to Node #0,2,2 Current State: 38:[19, 34], Operations: ['10+9=19', '52-18=34'] Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,38 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[34, 19], Operations: ['52-18=34', '10+9=19'] Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,38 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,38 unequal: No Solution Moving to Node #0,4,0 Current State: 38:[1, 34], Operations: ['10-9=1', '52-18=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[34, 1], Operations: ['52-18=34', '10-9=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[18, 33], Operations: ['10+9=19', '52-19=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[9, 24], Operations: ['52-18=34', '34-10=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,38 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[10, 43], Operations: ['52-18=34', '9+34=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,38 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,38 unequal: No Solution Moving to Node #0,1,4 Current State: 38:[9, 44], Operations: ['52-18=34', '10+34=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,38 unequal: No Solution Moving to Node #0,4,2 Current State: 38:[52, 19], Operations: ['10-9=1', '18+1=19'] Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,38 unequal: No Solution Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 52*19=988, Resulting Numbers: [988] 988,38 unequal: No Solution Moving to Node #0,4,3 Current State: 38:[18, 51], Operations: ['10-9=1', '52-1=51'] Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,38 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,38 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[52, 37], Operations: ['10+9=19', '18+19=37'] Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,38 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,38 unequal: No Solution Moving to Node #0,4,4 Current State: 38:[52, 18], Operations: ['10-9=1', '18*1=18'] Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,38 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[52, 1], Operations: ['10+9=19', '19-18=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,38 unequal: No Solution Moving to Node #0,4,1 Current State: 38:[52, 18], Operations: ['10-9=1', '18/1=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,38 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[19, 70], Operations: ['10+9=19', '18+52=70'] Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,38 unequal: No Solution Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 19*70=1330, Resulting Numbers: [1330] 1330,38 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 15, 9, 6, 29 ]
10
[ "15+29=44", "9*6=54", "54-44=10" ]
Current State: 10:[15, 9, 6, 29], Operations: [] Exploring Operation: 15+29=44, Resulting Numbers: [9, 6, 44] Generated Node #2: [9, 6, 44] from Operation: 15+29=44 Current State: 10:[9, 6, 44], Operations: ['15+29=44'] Exploring Operation: 9*6=54, Resulting Numbers: [44, 54] Generated Node #3: [44, 54] from Operation: 9*6=54 Current State: 10:[44, 54], Operations: ['15+29=44', '9*6=54'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 9, 6, 29], Operations: [] Exploring Operation: 29-6=23, Resulting Numbers: [15, 9, 23] Generated Node #0,0: 10:[15, 9, 23] Operation: 29-6=23 Exploring Operation: 29-9=20, Resulting Numbers: [15, 6, 20] Generated Node #0,1: 10:[15, 6, 20] Operation: 29-9=20 Exploring Operation: 29-15=14, Resulting Numbers: [9, 6, 14] Generated Node #0,2: 10:[9, 6, 14] Operation: 29-15=14 Moving to Node #0,2 Current State: 10:[9, 6, 14], Operations: ['29-15=14'] Exploring Operation: 14-6=8, Resulting Numbers: [9, 8] Generated Node #0,2,0: 10:[9, 8] Operation: 14-6=8 Exploring Operation: 14-9=5, Resulting Numbers: [6, 5] Generated Node #0,2,1: 10:[6, 5] Operation: 14-9=5 Exploring Operation: 9-6=3, Resulting Numbers: [14, 3] Generated Node #0,2,2: 10:[14, 3] Operation: 9-6=3 Moving to Node #0,1 Current State: 10:[15, 6, 20], Operations: ['29-9=20'] Exploring Operation: 20-15=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 10:[6, 5] Operation: 20-15=5 Exploring Operation: 15-6=9, Resulting Numbers: [20, 9] Generated Node #0,1,1: 10:[20, 9] Operation: 15-6=9 Exploring Operation: 20-6=14, Resulting Numbers: [15, 14] Generated Node #0,1,2: 10:[15, 14] Operation: 20-6=14 Moving to Node #0,0 Current State: 10:[15, 9, 23], Operations: ['29-6=23'] Exploring Operation: 23-9=14, Resulting Numbers: [15, 14] Generated Node #0,0,0: 10:[15, 14] Operation: 23-9=14 Exploring Operation: 15-9=6, Resulting Numbers: [23, 6] Generated Node #0,0,1: 10:[23, 6] Operation: 15-9=6 Exploring Operation: 23-15=8, Resulting Numbers: [9, 8] Generated Node #0,0,2: 10:[9, 8] Operation: 23-15=8 Moving to Node #0,2,1 Current State: 10:[6, 5], Operations: ['29-15=14', '14-9=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[6, 5], Operations: ['29-9=20', '20-15=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[9, 8], Operations: ['29-6=23', '23-15=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[9, 8], Operations: ['29-15=14', '14-6=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[14, 3], Operations: ['29-15=14', '9-6=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[15, 14], Operations: ['29-9=20', '20-6=14'] Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,10 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[15, 14], Operations: ['29-6=23', '23-9=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[20, 9], Operations: ['29-9=20', '15-6=9'] Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,10 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[23, 6], Operations: ['29-6=23', '15-9=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,10 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 78, 18, 8, 36 ]
66
[ "36-18=18", "8*18=144", "144-78=66" ]
Current State: 66:[78, 18, 8, 36], Operations: [] Exploring Operation: 36-18=18, Resulting Numbers: [78, 8, 18] Generated Node #2: [78, 8, 18] from Operation: 36-18=18 Current State: 66:[78, 8, 18], Operations: ['36-18=18'] Exploring Operation: 8*18=144, Resulting Numbers: [78, 144] Generated Node #3: [78, 144] from Operation: 8*18=144 Current State: 66:[78, 144], Operations: ['36-18=18', '8*18=144'] Exploring Operation: 144-78=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[78, 18, 8, 36], Operations: [] Exploring Operation: 78-18=60, Resulting Numbers: [8, 36, 60] Generated Node #0,0: 66:[8, 36, 60] Operation: 78-18=60 Exploring Operation: 78-8=70, Resulting Numbers: [18, 36, 70] Generated Node #0,1: 66:[18, 36, 70] Operation: 78-8=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[8, 36, 60], Operations: ['78-18=60'] Exploring Operation: 8+60=68, Resulting Numbers: [36, 68] Generated Node #0,0,0: 66:[36, 68] Operation: 8+60=68 Exploring Operation: 60-36=24, Resulting Numbers: [8, 24] Generated Node #0,0,1: 66:[8, 24] Operation: 60-36=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[8, 24], Operations: ['78-18=60', '60-36=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[36, 68], Operations: ['78-18=60', '8+60=68'] Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[18, 36, 70], Operations: ['78-8=70'] Exploring Operation: 36/18=2, Resulting Numbers: [70, 2] Generated Node #0,1,0: 66:[70, 2] Operation: 36/18=2 Exploring Operation: 70-36=34, Resulting Numbers: [18, 34] Generated Node #0,1,1: 66:[18, 34] Operation: 70-36=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[70, 2], Operations: ['78-8=70', '36/18=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[18, 34], Operations: ['78-8=70', '70-36=34'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 80, 34, 72, 37 ]
79
[ "80+34=114", "72-37=35", "114-35=79" ]
Current State: 79:[80, 34, 72, 37], Operations: [] Exploring Operation: 80+34=114, Resulting Numbers: [72, 37, 114] Generated Node #2: [72, 37, 114] from Operation: 80+34=114 Current State: 79:[72, 37, 114], Operations: ['80+34=114'] Exploring Operation: 72-37=35, Resulting Numbers: [114, 35] Generated Node #3: [114, 35] from Operation: 72-37=35 Current State: 79:[114, 35], Operations: ['80+34=114', '72-37=35'] Exploring Operation: 114-35=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[80, 34, 72, 37], Operations: [] Exploring Operation: 34+37=71, Resulting Numbers: [80, 72, 71] Generated Node #0,0: 79:[80, 72, 71] Operation: 34+37=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[80, 72, 71], Operations: ['34+37=71'] Exploring Operation: 72+71=143, Resulting Numbers: [80, 143] Generated Node #0,0,0: 79:[80, 143] Operation: 72+71=143 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[80, 143], Operations: ['34+37=71', '72+71=143'] Exploring Operation: 143-80=63, Resulting Numbers: [63] 63,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 97, 33, 25, 28 ]
77
[ "97+33=130", "25+28=53", "130-53=77" ]
Current State: 77:[97, 33, 25, 28], Operations: [] Exploring Operation: 97+33=130, Resulting Numbers: [25, 28, 130] Generated Node #2: [25, 28, 130] from Operation: 97+33=130 Current State: 77:[25, 28, 130], Operations: ['97+33=130'] Exploring Operation: 25+28=53, Resulting Numbers: [130, 53] Generated Node #3: [130, 53] from Operation: 25+28=53 Current State: 77:[130, 53], Operations: ['97+33=130', '25+28=53'] Exploring Operation: 130-53=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[97, 33, 25, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [97, 25, 5] Generated Node #0,0: 77:[97, 25, 5] Operation: 33-28=5 Moving to Node #0,0 Current State: 77:[97, 25, 5], Operations: ['33-28=5'] Exploring Operation: 97-25=72, Resulting Numbers: [5, 72] Generated Node #0,0,0: 77:[5, 72] Operation: 97-25=72 Moving to Node #0,0,0 Current State: 77:[5, 72], Operations: ['33-28=5', '97-25=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[97, 33, 25, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [97, 25, 5] Generated Node #0,0: 77:[97, 25, 5] Operation: 33-28=5 Moving to Node #0,0 Current State: 77:[97, 25, 5], Operations: ['33-28=5'] Exploring Operation: 97-25=72, Resulting Numbers: [5, 72] Generated Node #0,0,0: 77:[5, 72] Operation: 97-25=72 Moving to Node #0,0,0 Current State: 77:[5, 72], Operations: ['33-28=5', '97-25=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 47, 69, 82, 96 ]
36
[ "69-47=22", "96-82=14", "22+14=36" ]
Current State: 36:[47, 69, 82, 96], Operations: [] Exploring Operation: 69-47=22, Resulting Numbers: [82, 96, 22] Generated Node #2: [82, 96, 22] from Operation: 69-47=22 Current State: 36:[82, 96, 22], Operations: ['69-47=22'] Exploring Operation: 96-82=14, Resulting Numbers: [22, 14] Generated Node #3: [22, 14] from Operation: 96-82=14 Current State: 36:[22, 14], Operations: ['69-47=22', '96-82=14'] Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[47, 69, 82, 96], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [69, 82, 49] Generated Node #0,0: 36:[69, 82, 49] Operation: 96-47=49 Exploring Operation: 96-82=14, Resulting Numbers: [47, 69, 14] Generated Node #0,1: 36:[47, 69, 14] Operation: 96-82=14 Exploring Operation: 96-69=27, Resulting Numbers: [47, 82, 27] Generated Node #0,2: 36:[47, 82, 27] Operation: 96-69=27 Exploring Operation: 82-69=13, Resulting Numbers: [47, 96, 13] Generated Node #0,3: 36:[47, 96, 13] Operation: 82-69=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[47, 69, 14], Operations: ['96-82=14'] Exploring Operation: 69-14=55, Resulting Numbers: [47, 55] Generated Node #0,1,0: 36:[47, 55] Operation: 69-14=55 Exploring Operation: 69-47=22, Resulting Numbers: [14, 22] Generated Node #0,1,1: 36:[14, 22] Operation: 69-47=22 Exploring Operation: 47+14=61, Resulting Numbers: [69, 61] Generated Node #0,1,2: 36:[69, 61] Operation: 47+14=61 Exploring Operation: 47-14=33, Resulting Numbers: [69, 33] Generated Node #0,1,3: 36:[69, 33] Operation: 47-14=33 Moving to Node #0,1,1 Current State: 36:[14, 22], Operations: ['96-82=14', '69-47=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[47, 69, 82, 96], Operations: [] Exploring Operation: 96-82=14, Resulting Numbers: [47, 69, 14] Generated Node #0,1: 36:[47, 69, 14] Operation: 96-82=14 Moving to Node #0,1 Current State: 36:[47, 69, 14], Operations: ['96-82=14'] Exploring Operation: 69-47=22, Resulting Numbers: [14, 22] Generated Node #0,1,1: 36:[14, 22] Operation: 69-47=22 Moving to Node #0,1,1 Current State: 36:[14, 22], Operations: ['96-82=14', '69-47=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 58, 34, 47, 44 ]
50
[ "58+44=102", "102/34=3", "47+3=50" ]
Current State: 50:[58, 34, 47, 44], Operations: [] Exploring Operation: 58+44=102, Resulting Numbers: [34, 47, 102] Generated Node #2: [34, 47, 102] from Operation: 58+44=102 Current State: 50:[34, 47, 102], Operations: ['58+44=102'] Exploring Operation: 102/34=3, Resulting Numbers: [47, 3] Generated Node #3: [47, 3] from Operation: 102/34=3 Current State: 50:[47, 3], Operations: ['58+44=102', '102/34=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[58, 34, 47, 44], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [34, 47, 14] Generated Node #0,0: 50:[34, 47, 14] Operation: 58-44=14 Exploring Operation: 58-47=11, Resulting Numbers: [34, 44, 11] Generated Node #0,1: 50:[34, 44, 11] Operation: 58-47=11 Exploring Operation: 44-34=10, Resulting Numbers: [58, 47, 10] Generated Node #0,2: 50:[58, 47, 10] Operation: 44-34=10 Exploring Operation: 58-34=24, Resulting Numbers: [47, 44, 24] Generated Node #0,3: 50:[47, 44, 24] Operation: 58-34=24 Moving to Node #0,3 Current State: 50:[47, 44, 24], Operations: ['58-34=24'] Exploring Operation: 44+24=68, Resulting Numbers: [47, 68] Generated Node #0,3,0: 50:[47, 68] Operation: 44+24=68 Exploring Operation: 47-24=23, Resulting Numbers: [44, 23] Generated Node #0,3,1: 50:[44, 23] Operation: 47-24=23 Exploring Operation: 44-24=20, Resulting Numbers: [47, 20] Generated Node #0,3,2: 50:[47, 20] Operation: 44-24=20 Exploring Operation: 47-44=3, Resulting Numbers: [24, 3] Generated Node #0,3,3: 50:[24, 3] Operation: 47-44=3 Moving to Node #0,2 Current State: 50:[58, 47, 10], Operations: ['44-34=10'] Exploring Operation: 47-10=37, Resulting Numbers: [58, 37] Generated Node #0,2,0: 50:[58, 37] Operation: 47-10=37 Exploring Operation: 58-10=48, Resulting Numbers: [47, 48] Generated Node #0,2,1: 50:[47, 48] Operation: 58-10=48 Exploring Operation: 58-47=11, Resulting Numbers: [10, 11] Generated Node #0,2,2: 50:[10, 11] Operation: 58-47=11 Exploring Operation: 47+10=57, Resulting Numbers: [58, 57] Generated Node #0,2,3: 50:[58, 57] Operation: 47+10=57 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[10, 11], Operations: ['44-34=10', '58-47=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,50 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[47, 48], Operations: ['44-34=10', '58-10=48'] Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,50 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[58, 57], Operations: ['44-34=10', '47+10=57'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,50 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[58, 37], Operations: ['44-34=10', '47-10=37'] Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,50 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: 50:[34, 44, 11], Operations: ['58-47=11'] Exploring Operation: 34-11=23, Resulting Numbers: [44, 23] Generated Node #0,1,0: 50:[44, 23] Operation: 34-11=23 Exploring Operation: 34+11=45, Resulting Numbers: [44, 45] Generated Node #0,1,1: 50:[44, 45] Operation: 34+11=45 Exploring Operation: 44/11=4, Resulting Numbers: [34, 4] Generated Node #0,1,2: 50:[34, 4] Operation: 44/11=4 Exploring Operation: 44-34=10, Resulting Numbers: [11, 10] Generated Node #0,1,3: 50:[11, 10] Operation: 44-34=10 Moving to Node #0,0 Current State: 50:[34, 47, 14], Operations: ['58-44=14'] Exploring Operation: 34-14=20, Resulting Numbers: [47, 20] Generated Node #0,0,0: 50:[47, 20] Operation: 34-14=20 Exploring Operation: 34+14=48, Resulting Numbers: [47, 48] Generated Node #0,0,1: 50:[47, 48] Operation: 34+14=48 Exploring Operation: 47-14=33, Resulting Numbers: [34, 33] Generated Node #0,0,2: 50:[34, 33] Operation: 47-14=33 Exploring Operation: 47-34=13, Resulting Numbers: [14, 13] Generated Node #0,0,3: 50:[14, 13] Operation: 47-34=13 Moving to Node #0,1,3 Current State: 50:[11, 10], Operations: ['58-47=11', '44-34=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[24, 3], Operations: ['58-34=24', '47-44=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[47, 48], Operations: ['58-44=14', '34+14=48'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[14, 13], Operations: ['58-44=14', '47-34=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,50 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[47, 20], Operations: ['58-34=24', '44-24=20'] Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,50 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[44, 23], Operations: ['58-47=11', '34-11=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,50 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[44, 23], Operations: ['58-34=24', '47-24=23'] Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,50 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,50 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[47, 20], Operations: ['58-44=14', '34-14=20'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,50 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[34, 4], Operations: ['58-47=11', '44/11=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,50 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[44, 45], Operations: ['58-47=11', '34+11=45'] Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,50 unequal: No Solution Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,50 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[34, 33], Operations: ['58-44=14', '47-14=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,50 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[47, 68], Operations: ['58-34=24', '44+24=68'] Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,50 unequal: No Solution Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,50 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 80, 64, 70, 56 ]
18
[ "80+64=144", "70+56=126", "144-126=18" ]
Current State: 18:[80, 64, 70, 56], Operations: [] Exploring Operation: 80+64=144, Resulting Numbers: [70, 56, 144] Generated Node #2: [70, 56, 144] from Operation: 80+64=144 Current State: 18:[70, 56, 144], Operations: ['80+64=144'] Exploring Operation: 70+56=126, Resulting Numbers: [144, 126] Generated Node #3: [144, 126] from Operation: 70+56=126 Current State: 18:[144, 126], Operations: ['80+64=144', '70+56=126'] Exploring Operation: 144-126=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[80, 64, 70, 56], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [64, 56, 10] Generated Node #0,0: 18:[64, 56, 10] Operation: 80-70=10 Exploring Operation: 80-64=16, Resulting Numbers: [70, 56, 16] Generated Node #0,1: 18:[70, 56, 16] Operation: 80-64=16 Exploring Operation: 70-56=14, Resulting Numbers: [80, 64, 14] Generated Node #0,2: 18:[80, 64, 14] Operation: 70-56=14 Exploring Operation: 80-56=24, Resulting Numbers: [64, 70, 24] Generated Node #0,3: 18:[64, 70, 24] Operation: 80-56=24 Exploring Operation: 70-64=6, Resulting Numbers: [80, 56, 6] Generated Node #0,4: 18:[80, 56, 6] Operation: 70-64=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[64, 56, 10], Operations: ['80-70=10'] Exploring Operation: 64+10=74, Resulting Numbers: [56, 74] Generated Node #0,0,0: 18:[56, 74] Operation: 64+10=74 Exploring Operation: 64-56=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 18:[10, 8] Operation: 64-56=8 Exploring Operation: 64-10=54, Resulting Numbers: [56, 54] Generated Node #0,0,2: 18:[56, 54] Operation: 64-10=54 Exploring Operation: 56+10=66, Resulting Numbers: [64, 66] Generated Node #0,0,3: 18:[64, 66] Operation: 56+10=66 Exploring Operation: 56-10=46, Resulting Numbers: [64, 46] Generated Node #0,0,4: 18:[64, 46] Operation: 56-10=46 Moving to Node #0,0,1 Current State: 18:[10, 8], Operations: ['80-70=10', '64-56=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[80, 64, 70, 56], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [64, 56, 10] Generated Node #0,0: 18:[64, 56, 10] Operation: 80-70=10 Moving to Node #0,0 Current State: 18:[64, 56, 10], Operations: ['80-70=10'] Exploring Operation: 64-56=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 18:[10, 8] Operation: 64-56=8 Moving to Node #0,0,1 Current State: 18:[10, 8], Operations: ['80-70=10', '64-56=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 32, 90, 11, 25 ]
86
[ "32+90=122", "11+25=36", "122-36=86" ]
Current State: 86:[32, 90, 11, 25], Operations: [] Exploring Operation: 32+90=122, Resulting Numbers: [11, 25, 122] Generated Node #2: [11, 25, 122] from Operation: 32+90=122 Current State: 86:[11, 25, 122], Operations: ['32+90=122'] Exploring Operation: 11+25=36, Resulting Numbers: [122, 36] Generated Node #3: [122, 36] from Operation: 11+25=36 Current State: 86:[122, 36], Operations: ['32+90=122', '11+25=36'] Exploring Operation: 122-36=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[32, 90, 11, 25], Operations: [] Exploring Operation: 32+11=43, Resulting Numbers: [90, 25, 43] Generated Node #0,0: 86:[90, 25, 43] Operation: 32+11=43 Exploring Operation: 32-25=7, Resulting Numbers: [90, 11, 7] Generated Node #0,1: 86:[90, 11, 7] Operation: 32-25=7 Moving to Node #0,1 Current State: 86:[90, 11, 7], Operations: ['32-25=7'] Exploring Operation: 11-7=4, Resulting Numbers: [90, 4] Generated Node #0,1,0: 86:[90, 4] Operation: 11-7=4 Exploring Operation: 90-11=79, Resulting Numbers: [7, 79] Generated Node #0,1,1: 86:[7, 79] Operation: 90-11=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[90, 4], Operations: ['32-25=7', '11-7=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[32, 90, 11, 25], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [90, 11, 7] Generated Node #0,1: 86:[90, 11, 7] Operation: 32-25=7 Moving to Node #0,1 Current State: 86:[90, 11, 7], Operations: ['32-25=7'] Exploring Operation: 11-7=4, Resulting Numbers: [90, 4] Generated Node #0,1,0: 86:[90, 4] Operation: 11-7=4 Moving to Node #0,1,0 Current State: 86:[90, 4], Operations: ['32-25=7', '11-7=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 28, 86, 24, 76 ]
71
[ "86*24=2064", "2064-76=1988", "1988/28=71" ]
Current State: 71:[28, 86, 24, 76], Operations: [] Exploring Operation: 86*24=2064, Resulting Numbers: [28, 76, 2064] Generated Node #2: [28, 76, 2064] from Operation: 86*24=2064 Current State: 71:[28, 76, 2064], Operations: ['86*24=2064'] Exploring Operation: 2064-76=1988, Resulting Numbers: [28, 1988] Generated Node #3: [28, 1988] from Operation: 2064-76=1988 Current State: 71:[28, 1988], Operations: ['86*24=2064', '2064-76=1988'] Exploring Operation: 1988/28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[28, 86, 24, 76], Operations: [] Exploring Operation: 86-28=58, Resulting Numbers: [24, 76, 58] Generated Node #0,0: 71:[24, 76, 58] Operation: 86-28=58 Exploring Operation: 86-24=62, Resulting Numbers: [28, 76, 62] Generated Node #0,1: 71:[28, 76, 62] Operation: 86-24=62 Exploring Operation: 28+24=52, Resulting Numbers: [86, 76, 52] Generated Node #0,2: 71:[86, 76, 52] Operation: 28+24=52 Exploring Operation: 76-24=52, Resulting Numbers: [28, 86, 52] Generated Node #0,3: 71:[28, 86, 52] Operation: 76-24=52 Moving to Node #0,2 Current State: 71:[86, 76, 52], Operations: ['28+24=52'] Exploring Operation: 76-52=24, Resulting Numbers: [86, 24] Generated Node #0,2,0: 71:[86, 24] Operation: 76-52=24 Exploring Operation: 86-52=34, Resulting Numbers: [76, 34] Generated Node #0,2,1: 71:[76, 34] Operation: 86-52=34 Exploring Operation: 76+52=128, Resulting Numbers: [86, 128] Generated Node #0,2,2: 71:[86, 128] Operation: 76+52=128 Exploring Operation: 86+52=138, Resulting Numbers: [76, 138] Generated Node #0,2,3: 71:[76, 138] Operation: 86+52=138 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[76, 34], Operations: ['28+24=52', '86-52=34'] Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,71 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,71 unequal: No Solution No 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: 71:[86, 24], Operations: ['28+24=52', '76-52=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,71 unequal: No Solution Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,71 unequal: No Solution No 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: 71:[86, 128], Operations: ['28+24=52', '76+52=128'] Exploring Operation: 86*128=11008, Resulting Numbers: [11008] 11008,71 unequal: No Solution Exploring Operation: 128-86=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 86+128=214, Resulting Numbers: [214] 214,71 unequal: No Solution No 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: 71:[76, 138], Operations: ['28+24=52', '86+52=138'] Exploring Operation: 76*138=10488, Resulting Numbers: [10488] 10488,71 unequal: No Solution Exploring Operation: 138-76=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 76+138=214, Resulting Numbers: [214] 214,71 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: 71:[28, 76, 62], Operations: ['86-24=62'] Exploring Operation: 62-28=34, Resulting Numbers: [76, 34] Generated Node #0,1,0: 71:[76, 34] Operation: 62-28=34 Exploring Operation: 28+76=104, Resulting Numbers: [62, 104] Generated Node #0,1,1: 71:[62, 104] Operation: 28+76=104 Exploring Operation: 76-28=48, Resulting Numbers: [62, 48] Generated Node #0,1,2: 71:[62, 48] Operation: 76-28=48 Exploring Operation: 28+62=90, Resulting Numbers: [76, 90] Generated Node #0,1,3: 71:[76, 90] Operation: 28+62=90 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[76, 90], Operations: ['86-24=62', '28+62=90'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 76+90=166, Resulting Numbers: [166] 166,71 unequal: No Solution Exploring Operation: 76*90=6840, Resulting Numbers: [6840] 6840,71 unequal: No Solution No 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: 71:[62, 48], Operations: ['86-24=62', '76-28=48'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 62*48=2976, Resulting Numbers: [2976] 2976,71 unequal: No Solution Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,71 unequal: No Solution No 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: 71:[76, 34], Operations: ['86-24=62', '62-28=34'] Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,71 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,71 unequal: No Solution No 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: 71:[62, 104], Operations: ['86-24=62', '28+76=104'] Exploring Operation: 104-62=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 62*104=6448, Resulting Numbers: [6448] 6448,71 unequal: No Solution Exploring Operation: 62+104=166, Resulting Numbers: [166] 166,71 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: 71:[24, 76, 58], Operations: ['86-28=58'] Exploring Operation: 24+76=100, Resulting Numbers: [58, 100] Generated Node #0,0,0: 71:[58, 100] Operation: 24+76=100 Exploring Operation: 58-24=34, Resulting Numbers: [76, 34] Generated Node #0,0,1: 71:[76, 34] Operation: 58-24=34 Exploring Operation: 24+58=82, Resulting Numbers: [76, 82] Generated Node #0,0,2: 71:[76, 82] Operation: 24+58=82 Exploring Operation: 76-24=52, Resulting Numbers: [58, 52] Generated Node #0,0,3: 71:[58, 52] Operation: 76-24=52 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[76, 82], Operations: ['86-28=58', '24+58=82'] Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,71 unequal: No Solution Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,71 unequal: No Solution No 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: 71:[58, 52], Operations: ['86-28=58', '76-24=52'] Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,71 unequal: No Solution No 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: 71:[58, 100], Operations: ['86-28=58', '24+76=100'] Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,71 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,71 unequal: No Solution No 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: 71:[76, 34], Operations: ['86-28=58', '58-24=34'] Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,71 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,71 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: 71:[28, 86, 52], Operations: ['76-24=52'] Exploring Operation: 28+52=80, Resulting Numbers: [86, 80] Generated Node #0,3,0: 71:[86, 80] Operation: 28+52=80 Exploring Operation: 52-28=24, Resulting Numbers: [86, 24] Generated Node #0,3,1: 71:[86, 24] Operation: 52-28=24 Exploring Operation: 28+86=114, Resulting Numbers: [52, 114] Generated Node #0,3,2: 71:[52, 114] Operation: 28+86=114 Exploring Operation: 86-28=58, Resulting Numbers: [52, 58] Generated Node #0,3,3: 71:[52, 58] Operation: 86-28=58 Moving to Node #0,3,0 Current State: 71:[86, 80], Operations: ['76-24=52', '28+52=80'] Exploring Operation: 86+80=166, Resulting Numbers: [166] 166,71 unequal: No Solution Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 86*80=6880, Resulting Numbers: [6880] 6880,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[52, 58], Operations: ['76-24=52', '86-28=58'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,71 unequal: No Solution Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[52, 114], Operations: ['76-24=52', '28+86=114'] Exploring Operation: 114-52=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 52+114=166, Resulting Numbers: [166] 166,71 unequal: No Solution Exploring Operation: 52*114=5928, Resulting Numbers: [5928] 5928,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[86, 24], Operations: ['76-24=52', '52-28=24'] Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,71 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,71 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 51, 13, 45, 3 ]
39
[ "51-45=6", "6-3=3", "13*3=39" ]
Current State: 39:[51, 13, 45, 3], Operations: [] Exploring Operation: 51-45=6, Resulting Numbers: [13, 3, 6] Generated Node #2: [13, 3, 6] from Operation: 51-45=6 Current State: 39:[13, 3, 6], Operations: ['51-45=6'] Exploring Operation: 6-3=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 6-3=3 Current State: 39:[13, 3], Operations: ['51-45=6', '6-3=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[51, 13, 45, 3], Operations: [] Exploring Operation: 45/3=15, Resulting Numbers: [51, 13, 15] Generated Node #0,0: 39:[51, 13, 15] Operation: 45/3=15 Exploring Operation: 51/3=17, Resulting Numbers: [13, 45, 17] Generated Node #0,1: 39:[13, 45, 17] Operation: 51/3=17 Exploring Operation: 51-45=6, Resulting Numbers: [13, 3, 6] Generated Node #0,2: 39:[13, 3, 6] Operation: 51-45=6 Exploring Operation: 51-13=38, Resulting Numbers: [45, 3, 38] Generated Node #0,3: 39:[45, 3, 38] Operation: 51-13=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[13, 3, 6], Operations: ['51-45=6'] Exploring Operation: 13-6=7, Resulting Numbers: [3, 7] Generated Node #0,2,0: 39:[3, 7] Operation: 13-6=7 Exploring Operation: 13*3=39, Resulting Numbers: [6, 39] Generated Node #0,2,1: 39:[6, 39] Operation: 13*3=39 Exploring Operation: 6/3=2, Resulting Numbers: [13, 2] Generated Node #0,2,2: 39:[13, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [13, 3] Generated Node #0,2,3: 39:[13, 3] Operation: 6-3=3 Moving to Node #0,2,3 Current State: 39:[13, 3], Operations: ['51-45=6', '6-3=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[51, 13, 45, 3], Operations: [] Exploring Operation: 51-45=6, Resulting Numbers: [13, 3, 6] Generated Node #0,2: 39:[13, 3, 6] Operation: 51-45=6 Moving to Node #0,2 Current State: 39:[13, 3, 6], Operations: ['51-45=6'] Exploring Operation: 6-3=3, Resulting Numbers: [13, 3] Generated Node #0,2,3: 39:[13, 3] Operation: 6-3=3 Moving to Node #0,2,3 Current State: 39:[13, 3], Operations: ['51-45=6', '6-3=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 68, 36, 28, 29 ]
72
[ "36-29=7", "28/7=4", "68+4=72" ]
Current State: 72:[68, 36, 28, 29], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [68, 28, 7] Generated Node #2: [68, 28, 7] from Operation: 36-29=7 Current State: 72:[68, 28, 7], Operations: ['36-29=7'] Exploring Operation: 28/7=4, Resulting Numbers: [68, 4] Generated Node #3: [68, 4] from Operation: 28/7=4 Current State: 72:[68, 4], Operations: ['36-29=7', '28/7=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[68, 36, 28, 29], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [68, 36, 1] Generated Node #0,0: 72:[68, 36, 1] Operation: 29-28=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[68, 36, 1], Operations: ['29-28=1'] Exploring Operation: 68+1=69, Resulting Numbers: [36, 69] Generated Node #0,0,0: 72:[36, 69] Operation: 68+1=69 Moving to Node #0,0,0 Current State: 72:[36, 69], Operations: ['29-28=1', '68+1=69'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,72 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, 87, 55, 70 ]
40
[ "87-62=25", "70-55=15", "25+15=40" ]
Current State: 40:[62, 87, 55, 70], Operations: [] Exploring Operation: 87-62=25, Resulting Numbers: [55, 70, 25] Generated Node #2: [55, 70, 25] from Operation: 87-62=25 Current State: 40:[55, 70, 25], Operations: ['87-62=25'] Exploring Operation: 70-55=15, Resulting Numbers: [25, 15] Generated Node #3: [25, 15] from Operation: 70-55=15 Current State: 40:[25, 15], Operations: ['87-62=25', '70-55=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[62, 87, 55, 70], Operations: [] Exploring Operation: 87-55=32, Resulting Numbers: [62, 70, 32] Generated Node #0,0: 40:[62, 70, 32] Operation: 87-55=32 Exploring Operation: 70-55=15, Resulting Numbers: [62, 87, 15] Generated Node #0,1: 40:[62, 87, 15] Operation: 70-55=15 Exploring Operation: 87-70=17, Resulting Numbers: [62, 55, 17] Generated Node #0,2: 40:[62, 55, 17] Operation: 87-70=17 Exploring Operation: 70-62=8, Resulting Numbers: [87, 55, 8] Generated Node #0,3: 40:[87, 55, 8] Operation: 70-62=8 Exploring Operation: 87-62=25, Resulting Numbers: [55, 70, 25] Generated Node #0,4: 40:[55, 70, 25] Operation: 87-62=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[62, 55, 17], Operations: ['87-70=17'] Exploring Operation: 55-17=38, Resulting Numbers: [62, 38] Generated Node #0,2,0: 40:[62, 38] Operation: 55-17=38 Exploring Operation: 62+17=79, Resulting Numbers: [55, 79] Generated Node #0,2,1: 40:[55, 79] Operation: 62+17=79 Exploring Operation: 62-17=45, Resulting Numbers: [55, 45] Generated Node #0,2,2: 40:[55, 45] Operation: 62-17=45 Exploring Operation: 62-55=7, Resulting Numbers: [17, 7] Generated Node #0,2,3: 40:[17, 7] Operation: 62-55=7 Exploring Operation: 55+17=72, Resulting Numbers: [62, 72] Generated Node #0,2,4: 40:[62, 72] Operation: 55+17=72 Moving to Node #0,2,3 Current State: 40:[17, 7], Operations: ['87-70=17', '62-55=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[55, 45], Operations: ['87-70=17', '62-17=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,40 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[62, 38], Operations: ['87-70=17', '55-17=38'] Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,40 unequal: No Solution Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,40 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[55, 79], Operations: ['87-70=17', '62+17=79'] Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 55+79=134, Resulting Numbers: [134] 134,40 unequal: No Solution Exploring Operation: 55*79=4345, Resulting Numbers: [4345] 4345,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[62, 72], Operations: ['87-70=17', '55+17=72'] Exploring Operation: 62+72=134, Resulting Numbers: [134] 134,40 unequal: No Solution Exploring Operation: 62*72=4464, Resulting Numbers: [4464] 4464,40 unequal: No Solution Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,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,4 Current State: 40:[55, 70, 25], Operations: ['87-62=25'] Exploring Operation: 70+25=95, Resulting Numbers: [55, 95] Generated Node #0,4,0: 40:[55, 95] Operation: 70+25=95 Exploring Operation: 70-55=15, Resulting Numbers: [25, 15] Generated Node #0,4,1: 40:[25, 15] Operation: 70-55=15 Exploring Operation: 70-25=45, Resulting Numbers: [55, 45] Generated Node #0,4,2: 40:[55, 45] Operation: 70-25=45 Exploring Operation: 55-25=30, Resulting Numbers: [70, 30] Generated Node #0,4,3: 40:[70, 30] Operation: 55-25=30 Exploring Operation: 55+25=80, Resulting Numbers: [70, 80] Generated Node #0,4,4: 40:[70, 80] Operation: 55+25=80 Moving to Node #0,4,1 Current State: 40:[25, 15], Operations: ['87-62=25', '70-55=15'] Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,40 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[62, 87, 55, 70], Operations: [] Exploring Operation: 87-62=25, Resulting Numbers: [55, 70, 25] Generated Node #0,4: 40:[55, 70, 25] Operation: 87-62=25 Moving to Node #0,4 Current State: 40:[55, 70, 25], Operations: ['87-62=25'] Exploring Operation: 70-55=15, Resulting Numbers: [25, 15] Generated Node #0,4,1: 40:[25, 15] Operation: 70-55=15 Moving to Node #0,4,1 Current State: 40:[25, 15], Operations: ['87-62=25', '70-55=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 45, 80, 82, 50 ]
66
[ "50-45=5", "80/5=16", "82-16=66" ]
Current State: 66:[45, 80, 82, 50], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [80, 82, 5] Generated Node #2: [80, 82, 5] from Operation: 50-45=5 Current State: 66:[80, 82, 5], Operations: ['50-45=5'] Exploring Operation: 80/5=16, Resulting Numbers: [82, 16] Generated Node #3: [82, 16] from Operation: 80/5=16 Current State: 66:[82, 16], Operations: ['50-45=5', '80/5=16'] Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[45, 80, 82, 50], Operations: [] Exploring Operation: 80-45=35, Resulting Numbers: [82, 50, 35] Generated Node #0,0: 66:[82, 50, 35] Operation: 80-45=35 Exploring Operation: 80-50=30, Resulting Numbers: [45, 82, 30] Generated Node #0,1: 66:[45, 82, 30] Operation: 80-50=30 Exploring Operation: 50-45=5, Resulting Numbers: [80, 82, 5] Generated Node #0,2: 66:[80, 82, 5] Operation: 50-45=5 Exploring Operation: 82-50=32, Resulting Numbers: [45, 80, 32] Generated Node #0,3: 66:[45, 80, 32] Operation: 82-50=32 Exploring Operation: 82-80=2, Resulting Numbers: [45, 50, 2] Generated Node #0,4: 66:[45, 50, 2] Operation: 82-80=2 Moving to Node #0,3 Current State: 66:[45, 80, 32], Operations: ['82-50=32'] Exploring Operation: 45+32=77, Resulting Numbers: [80, 77] Generated Node #0,3,0: 66:[80, 77] Operation: 45+32=77 Exploring Operation: 80-45=35, Resulting Numbers: [32, 35] Generated Node #0,3,1: 66:[32, 35] Operation: 80-45=35 Exploring Operation: 80-32=48, Resulting Numbers: [45, 48] Generated Node #0,3,2: 66:[45, 48] Operation: 80-32=48 Exploring Operation: 45-32=13, Resulting Numbers: [80, 13] Generated Node #0,3,3: 66:[80, 13] Operation: 45-32=13 Exploring Operation: 80+32=112, Resulting Numbers: [45, 112] Generated Node #0,3,4: 66:[45, 112] Operation: 80+32=112 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[32, 35], Operations: ['82-50=32', '80-45=35'] Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,66 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 66:[80, 13], Operations: ['82-50=32', '45-32=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[80, 77], Operations: ['82-50=32', '45+32=77'] Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,66 unequal: No Solution Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[45, 48], Operations: ['82-50=32', '80-32=48'] Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,66 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 66:[45, 112], Operations: ['82-50=32', '80+32=112'] Exploring Operation: 45*112=5040, Resulting Numbers: [5040] 5040,66 unequal: No Solution Exploring Operation: 45+112=157, Resulting Numbers: [157] 157,66 unequal: No Solution Exploring Operation: 112-45=67, Resulting Numbers: [67] 67,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 66:[45, 50, 2], Operations: ['82-80=2'] Exploring Operation: 50-45=5, Resulting Numbers: [2, 5] Generated Node #0,4,0: 66:[2, 5] Operation: 50-45=5 Exploring Operation: 45-2=43, Resulting Numbers: [50, 43] Generated Node #0,4,1: 66:[50, 43] Operation: 45-2=43 Exploring Operation: 50+2=52, Resulting Numbers: [45, 52] Generated Node #0,4,2: 66:[45, 52] Operation: 50+2=52 Exploring Operation: 50/2=25, Resulting Numbers: [45, 25] Generated Node #0,4,3: 66:[45, 25] Operation: 50/2=25 Exploring Operation: 50-2=48, Resulting Numbers: [45, 48] Generated Node #0,4,4: 66:[45, 48] Operation: 50-2=48 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 66:[2, 5], Operations: ['82-80=2', '50-45=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 66:[45, 25], Operations: ['82-80=2', '50/2=25'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,66 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 66:[50, 43], Operations: ['82-80=2', '45-2=43'] Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,66 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 66:[45, 52], Operations: ['82-80=2', '50+2=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,66 unequal: No Solution Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 66:[45, 48], Operations: ['82-80=2', '50-2=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,66 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,66 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: 66:[45, 82, 30], Operations: ['80-50=30'] Exploring Operation: 82-30=52, Resulting Numbers: [45, 52] Generated Node #0,1,0: 66:[45, 52] Operation: 82-30=52 Exploring Operation: 82+30=112, Resulting Numbers: [45, 112] Generated Node #0,1,1: 66:[45, 112] Operation: 82+30=112 Exploring Operation: 82-45=37, Resulting Numbers: [30, 37] Generated Node #0,1,2: 66:[30, 37] Operation: 82-45=37 Exploring Operation: 45+30=75, Resulting Numbers: [82, 75] Generated Node #0,1,3: 66:[82, 75] Operation: 45+30=75 Exploring Operation: 45-30=15, Resulting Numbers: [82, 15] Generated Node #0,1,4: 66:[82, 15] Operation: 45-30=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[30, 37], Operations: ['80-50=30', '82-45=37'] Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,66 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 66:[82, 15], Operations: ['80-50=30', '45-30=15'] Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,66 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[82, 75], Operations: ['80-50=30', '45+30=75'] Exploring Operation: 82*75=6150, Resulting Numbers: [6150] 6150,66 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 82+75=157, Resulting Numbers: [157] 157,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[45, 52], Operations: ['80-50=30', '82-30=52'] Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,66 unequal: No Solution Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[45, 112], Operations: ['80-50=30', '82+30=112'] Exploring Operation: 112-45=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 45*112=5040, Resulting Numbers: [5040] 5040,66 unequal: No Solution Exploring Operation: 45+112=157, Resulting Numbers: [157] 157,66 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: 66:[80, 82, 5], Operations: ['50-45=5'] Exploring Operation: 80+5=85, Resulting Numbers: [82, 85] Generated Node #0,2,0: 66:[82, 85] Operation: 80+5=85 Exploring Operation: 80/5=16, Resulting Numbers: [82, 16] Generated Node #0,2,1: 66:[82, 16] Operation: 80/5=16 Exploring Operation: 82-5=77, Resulting Numbers: [80, 77] Generated Node #0,2,2: 66:[80, 77] Operation: 82-5=77 Exploring Operation: 80-5=75, Resulting Numbers: [82, 75] Generated Node #0,2,3: 66:[82, 75] Operation: 80-5=75 Exploring Operation: 82-80=2, Resulting Numbers: [5, 2] Generated Node #0,2,4: 66:[5, 2] Operation: 82-80=2 Moving to Node #0,0 Current State: 66:[82, 50, 35], Operations: ['80-45=35'] Exploring Operation: 82+35=117, Resulting Numbers: [50, 117] Generated Node #0,0,0: 66:[50, 117] Operation: 82+35=117 Exploring Operation: 82-50=32, Resulting Numbers: [35, 32] Generated Node #0,0,1: 66:[35, 32] Operation: 82-50=32 Exploring Operation: 50+35=85, Resulting Numbers: [82, 85] Generated Node #0,0,2: 66:[82, 85] Operation: 50+35=85 Exploring Operation: 50-35=15, Resulting Numbers: [82, 15] Generated Node #0,0,3: 66:[82, 15] Operation: 50-35=15 Exploring Operation: 82-35=47, Resulting Numbers: [50, 47] Generated Node #0,0,4: 66:[50, 47] Operation: 82-35=47 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[35, 32], Operations: ['80-45=35', '82-50=32'] Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,66 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[82, 15], Operations: ['80-45=35', '50-35=15'] Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,66 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 66:[50, 47], Operations: ['80-45=35', '82-35=47'] Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,66 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[82, 85], Operations: ['80-45=35', '50+35=85'] Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,66 unequal: No Solution Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,66 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[50, 117], Operations: ['80-45=35', '82+35=117'] Exploring Operation: 117-50=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 50*117=5850, Resulting Numbers: [5850] 5850,66 unequal: No Solution Exploring Operation: 50+117=167, Resulting Numbers: [167] 167,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 66:[5, 2], Operations: ['50-45=5', '82-80=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[82, 16], Operations: ['50-45=5', '80/5=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,66 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[45, 80, 82, 50], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [80, 82, 5] Generated Node #0,2: 66:[80, 82, 5] Operation: 50-45=5 Moving to Node #0,2 Current State: 66:[80, 82, 5], Operations: ['50-45=5'] Exploring Operation: 80/5=16, Resulting Numbers: [82, 16] Generated Node #0,2,1: 66:[82, 16] Operation: 80/5=16 Moving to Node #0,2,1 Current State: 66:[82, 16], Operations: ['50-45=5', '80/5=16'] Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.914063
hs_5
sum_heuristic
[ 38, 33, 73, 82 ]
31
[ "38-33=5", "73+82=155", "155/5=31" ]
Current State: 31:[38, 33, 73, 82], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [73, 82, 5] Generated Node #2: [73, 82, 5] from Operation: 38-33=5 Current State: 31:[73, 82, 5], Operations: ['38-33=5'] Exploring Operation: 73+82=155, Resulting Numbers: [5, 155] Generated Node #3: [5, 155] from Operation: 73+82=155 Current State: 31:[5, 155], Operations: ['38-33=5', '73+82=155'] Exploring Operation: 155/5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[38, 33, 73, 82], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [38, 33, 9] Generated Node #0,0: 31:[38, 33, 9] Operation: 82-73=9 Exploring Operation: 73-38=35, Resulting Numbers: [33, 82, 35] Generated Node #0,1: 31:[33, 82, 35] Operation: 73-38=35 Moving to Node #0,0 Current State: 31:[38, 33, 9], Operations: ['82-73=9'] Exploring Operation: 38-9=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 31:[33, 29] Operation: 38-9=29 Exploring Operation: 33-9=24, Resulting Numbers: [38, 24] Generated Node #0,0,1: 31:[38, 24] Operation: 33-9=24 Moving to Node #0,1 Current State: 31:[33, 82, 35], Operations: ['73-38=35'] Exploring Operation: 82-35=47, Resulting Numbers: [33, 47] Generated Node #0,1,0: 31:[33, 47] Operation: 82-35=47 Exploring Operation: 82-33=49, Resulting Numbers: [35, 49] Generated Node #0,1,1: 31:[35, 49] Operation: 82-33=49 Moving to Node #0,0,0 Current State: 31:[33, 29], Operations: ['82-73=9', '38-9=29'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[38, 24], Operations: ['82-73=9', '33-9=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[33, 47], Operations: ['73-38=35', '82-35=47'] Exploring Operation: 33+47=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[35, 49], Operations: ['73-38=35', '82-33=49'] Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 23, 26, 88, 1 ]
44
[ "26-23=3", "3-1=2", "88/2=44" ]
Current State: 44:[23, 26, 88, 1], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [88, 1, 3] Generated Node #2: [88, 1, 3] from Operation: 26-23=3 Current State: 44:[88, 1, 3], Operations: ['26-23=3'] Exploring Operation: 3-1=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 3-1=2 Current State: 44:[88, 2], Operations: ['26-23=3', '3-1=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[23, 26, 88, 1], Operations: [] Exploring Operation: 88-23=65, Resulting Numbers: [26, 1, 65] Generated Node #0,0: 44:[26, 1, 65] Operation: 88-23=65 Exploring Operation: 88-26=62, Resulting Numbers: [23, 1, 62] Generated Node #0,1: 44:[23, 1, 62] Operation: 88-26=62 Moving to Node #0,1 Current State: 44:[23, 1, 62], Operations: ['88-26=62'] Exploring Operation: 62-23=39, Resulting Numbers: [1, 39] Generated Node #0,1,0: 44:[1, 39] Operation: 62-23=39 Exploring Operation: 23-1=22, Resulting Numbers: [62, 22] Generated Node #0,1,1: 44:[62, 22] Operation: 23-1=22 Moving to Node #0,0 Current State: 44:[26, 1, 65], Operations: ['88-23=65'] Exploring Operation: 26-1=25, Resulting Numbers: [65, 25] Generated Node #0,0,0: 44:[65, 25] Operation: 26-1=25 Exploring Operation: 65-26=39, Resulting Numbers: [1, 39] Generated Node #0,0,1: 44:[1, 39] Operation: 65-26=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[1, 39], Operations: ['88-23=65', '65-26=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,44 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,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,0,0 Current State: 44:[65, 25], Operations: ['88-23=65', '26-1=25'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,44 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: 44:[1, 39], Operations: ['88-26=62', '62-23=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,44 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[62, 22], Operations: ['88-26=62', '23-1=22'] Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 62+22=84, Resulting Numbers: [84] 84,44 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 1, 84, 21 ]
91
[ "29-1=28", "84-21=63", "28+63=91" ]
Current State: 91:[29, 1, 84, 21], Operations: [] Exploring Operation: 29-1=28, Resulting Numbers: [84, 21, 28] Generated Node #2: [84, 21, 28] from Operation: 29-1=28 Current State: 91:[84, 21, 28], Operations: ['29-1=28'] Exploring Operation: 84-21=63, Resulting Numbers: [28, 63] Generated Node #3: [28, 63] from Operation: 84-21=63 Current State: 91:[28, 63], Operations: ['29-1=28', '84-21=63'] Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[29, 1, 84, 21], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [1, 84, 8] Generated Node #0,0: 91:[1, 84, 8] Operation: 29-21=8 Exploring Operation: 29-1=28, Resulting Numbers: [84, 21, 28] Generated Node #0,1: 91:[84, 21, 28] Operation: 29-1=28 Exploring Operation: 21-1=20, Resulting Numbers: [29, 84, 20] Generated Node #0,2: 91:[29, 84, 20] Operation: 21-1=20 Exploring Operation: 1+84=85, Resulting Numbers: [29, 21, 85] Generated Node #0,3: 91:[29, 21, 85] Operation: 1+84=85 Exploring Operation: 84/21=4, Resulting Numbers: [29, 1, 4] Generated Node #0,4: 91:[29, 1, 4] Operation: 84/21=4 Moving to Node #0,0 Current State: 91:[1, 84, 8], Operations: ['29-21=8'] Exploring Operation: 8-1=7, Resulting Numbers: [84, 7] Generated Node #0,0,0: 91:[84, 7] Operation: 8-1=7 Exploring Operation: 1*84=84, Resulting Numbers: [8, 84] Generated Node #0,0,1: 91:[8, 84] Operation: 1*84=84 Exploring Operation: 84+8=92, Resulting Numbers: [1, 92] Generated Node #0,0,2: 91:[1, 92] Operation: 84+8=92 Exploring Operation: 84/1=84, Resulting Numbers: [8, 84] Generated Node #0,0,3: 91:[8, 84] Operation: 84/1=84 Exploring Operation: 1+84=85, Resulting Numbers: [8, 85] Generated Node #0,0,4: 91:[8, 85] Operation: 1+84=85 Moving to Node #0,4 Current State: 91:[29, 1, 4], Operations: ['84/21=4'] Exploring Operation: 29*1=29, Resulting Numbers: [4, 29] Generated Node #0,4,0: 91:[4, 29] Operation: 29*1=29 Exploring Operation: 29/1=29, Resulting Numbers: [4, 29] Generated Node #0,4,1: 91:[4, 29] Operation: 29/1=29 Exploring Operation: 29-4=25, Resulting Numbers: [1, 25] Generated Node #0,4,2: 91:[1, 25] Operation: 29-4=25 Exploring Operation: 1+4=5, Resulting Numbers: [29, 5] Generated Node #0,4,3: 91:[29, 5] Operation: 1+4=5 Exploring Operation: 29-1=28, Resulting Numbers: [4, 28] Generated Node #0,4,4: 91:[4, 28] Operation: 29-1=28 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 91:[1, 25], Operations: ['84/21=4', '29-4=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 91:[29, 5], Operations: ['84/21=4', '1+4=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,91 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 91:[4, 28], Operations: ['84/21=4', '29-1=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 91:[4, 29], Operations: ['84/21=4', '29*1=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 91:[4, 29], Operations: ['84/21=4', '29/1=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,91 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[84, 21, 28], Operations: ['29-1=28'] Exploring Operation: 28-21=7, Resulting Numbers: [84, 7] Generated Node #0,1,0: 91:[84, 7] Operation: 28-21=7 Exploring Operation: 84/28=3, Resulting Numbers: [21, 3] Generated Node #0,1,1: 91:[21, 3] Operation: 84/28=3 Exploring Operation: 84+28=112, Resulting Numbers: [21, 112] Generated Node #0,1,2: 91:[21, 112] Operation: 84+28=112 Exploring Operation: 84/21=4, Resulting Numbers: [28, 4] Generated Node #0,1,3: 91:[28, 4] Operation: 84/21=4 Exploring Operation: 84+21=105, Resulting Numbers: [28, 105] Generated Node #0,1,4: 91:[28, 105] Operation: 84+21=105 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[84, 7], Operations: ['29-1=28', '28-21=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[29, 1, 84, 21], Operations: [] Exploring Operation: 29-1=28, Resulting Numbers: [84, 21, 28] Generated Node #0,1: 91:[84, 21, 28] Operation: 29-1=28 Moving to Node #0,1 Current State: 91:[84, 21, 28], Operations: ['29-1=28'] Exploring Operation: 28-21=7, Resulting Numbers: [84, 7] Generated Node #0,1,0: 91:[84, 7] Operation: 28-21=7 Moving to Node #0,1,0 Current State: 91:[84, 7], Operations: ['29-1=28', '28-21=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 27, 95, 45, 90 ]
42
[ "95+45=140", "27*140=3780", "3780/90=42" ]
Current State: 42:[27, 95, 45, 90], Operations: [] Exploring Operation: 95+45=140, Resulting Numbers: [27, 90, 140] Generated Node #2: [27, 90, 140] from Operation: 95+45=140 Current State: 42:[27, 90, 140], Operations: ['95+45=140'] Exploring Operation: 27*140=3780, Resulting Numbers: [90, 3780] Generated Node #3: [90, 3780] from Operation: 27*140=3780 Current State: 42:[90, 3780], Operations: ['95+45=140', '27*140=3780'] Exploring Operation: 3780/90=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[27, 95, 45, 90], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [27, 45, 5] Generated Node #0,0: 42:[27, 45, 5] Operation: 95-90=5 Exploring Operation: 95-45=50, Resulting Numbers: [27, 90, 50] Generated Node #0,1: 42:[27, 90, 50] Operation: 95-45=50 Exploring Operation: 90-45=45, Resulting Numbers: [27, 95, 45] Generated Node #0,2: 42:[27, 95, 45] Operation: 90-45=45 Exploring Operation: 90/45=2, Resulting Numbers: [27, 95, 2] Generated Node #0,3: 42:[27, 95, 2] Operation: 90/45=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[27, 45, 5], Operations: ['95-90=5'] Exploring Operation: 27-5=22, Resulting Numbers: [45, 22] Generated Node #0,0,0: 42:[45, 22] Operation: 27-5=22 Exploring Operation: 45-5=40, Resulting Numbers: [27, 40] Generated Node #0,0,1: 42:[27, 40] Operation: 45-5=40 Exploring Operation: 45-27=18, Resulting Numbers: [5, 18] Generated Node #0,0,2: 42:[5, 18] Operation: 45-27=18 Exploring Operation: 45/5=9, Resulting Numbers: [27, 9] Generated Node #0,0,3: 42:[27, 9] Operation: 45/5=9 Moving to Node #0,0,0 Current State: 42:[45, 22], Operations: ['95-90=5', '27-5=22'] Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,42 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[5, 18], Operations: ['95-90=5', '45-27=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[27, 9], Operations: ['95-90=5', '45/5=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,42 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[27, 40], Operations: ['95-90=5', '45-5=40'] Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,42 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[27, 95, 2], Operations: ['90/45=2'] Exploring Operation: 27+2=29, Resulting Numbers: [95, 29] Generated Node #0,3,0: 42:[95, 29] Operation: 27+2=29 Exploring Operation: 95-2=93, Resulting Numbers: [27, 93] Generated Node #0,3,1: 42:[27, 93] Operation: 95-2=93 Exploring Operation: 95-27=68, Resulting Numbers: [2, 68] Generated Node #0,3,2: 42:[2, 68] Operation: 95-27=68 Exploring Operation: 27-2=25, Resulting Numbers: [95, 25] Generated Node #0,3,3: 42:[95, 25] Operation: 27-2=25 Moving to Node #0,3,2 Current State: 42:[2, 68], Operations: ['90/45=2', '95-27=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,42 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,42 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[95, 25], Operations: ['90/45=2', '27-2=25'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,42 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,42 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[27, 93], Operations: ['90/45=2', '95-2=93'] Exploring Operation: 27+93=120, Resulting Numbers: [120] 120,42 unequal: No Solution Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,42 unequal: No Solution Exploring Operation: 27*93=2511, Resulting Numbers: [2511] 2511,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[95, 29], Operations: ['90/45=2', '27+2=29'] Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,42 unequal: No Solution Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[27, 90, 50], Operations: ['95-45=50'] Exploring Operation: 90-50=40, Resulting Numbers: [27, 40] Generated Node #0,1,0: 42:[27, 40] Operation: 90-50=40 Exploring Operation: 90-27=63, Resulting Numbers: [50, 63] Generated Node #0,1,1: 42:[50, 63] Operation: 90-27=63 Exploring Operation: 50-27=23, Resulting Numbers: [90, 23] Generated Node #0,1,2: 42:[90, 23] Operation: 50-27=23 Exploring Operation: 27+90=117, Resulting Numbers: [50, 117] Generated Node #0,1,3: 42:[50, 117] Operation: 27+90=117 Moving to Node #0,1,0 Current State: 42:[27, 40], Operations: ['95-45=50', '90-50=40'] Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,42 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[50, 63], Operations: ['95-45=50', '90-27=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,42 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[90, 23], Operations: ['95-45=50', '50-27=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,42 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[50, 117], Operations: ['95-45=50', '27+90=117'] Exploring Operation: 50+117=167, Resulting Numbers: [167] 167,42 unequal: No Solution Exploring Operation: 117-50=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 50*117=5850, Resulting Numbers: [5850] 5850,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[27, 95, 45], Operations: ['90-45=45'] Exploring Operation: 95-27=68, Resulting Numbers: [45, 68] Generated Node #0,2,0: 42:[45, 68] Operation: 95-27=68 Exploring Operation: 45-27=18, Resulting Numbers: [95, 18] Generated Node #0,2,1: 42:[95, 18] Operation: 45-27=18 Exploring Operation: 27+95=122, Resulting Numbers: [45, 122] Generated Node #0,2,2: 42:[45, 122] Operation: 27+95=122 Exploring Operation: 95-45=50, Resulting Numbers: [27, 50] Generated Node #0,2,3: 42:[27, 50] Operation: 95-45=50 Moving to Node #0,2,3 Current State: 42:[27, 50], Operations: ['90-45=45', '95-45=50'] Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[45, 68], Operations: ['90-45=45', '95-27=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,42 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[95, 18], Operations: ['90-45=45', '45-27=18'] Exploring Operation: 95-18=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 95+18=113, Resulting Numbers: [113] 113,42 unequal: No Solution Exploring Operation: 95*18=1710, Resulting Numbers: [1710] 1710,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[45, 122], Operations: ['90-45=45', '27+95=122'] Exploring Operation: 45+122=167, Resulting Numbers: [167] 167,42 unequal: No Solution Exploring Operation: 45*122=5490, Resulting Numbers: [5490] 5490,42 unequal: No Solution Exploring Operation: 122-45=77, Resulting Numbers: [77] 77,42 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, 10, 40, 9 ]
98
[ "10-8=2", "40+9=49", "2*49=98" ]
Current State: 98:[8, 10, 40, 9], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [40, 9, 2] Generated Node #2: [40, 9, 2] from Operation: 10-8=2 Current State: 98:[40, 9, 2], Operations: ['10-8=2'] Exploring Operation: 40+9=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 40+9=49 Current State: 98:[2, 49], Operations: ['10-8=2', '40+9=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[8, 10, 40, 9], Operations: [] Exploring Operation: 10+40=50, Resulting Numbers: [8, 9, 50] Generated Node #0,0: 98:[8, 9, 50] Operation: 10+40=50 Moving to Node #0,0 Current State: 98:[8, 9, 50], Operations: ['10+40=50'] Exploring Operation: 9-8=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 98:[50, 1] Operation: 9-8=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[50, 1], Operations: ['10+40=50', '9-8=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,98 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
[ 57, 77, 1, 35 ]
56
[ "77-57=20", "1+35=36", "20+36=56" ]
Current State: 56:[57, 77, 1, 35], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [1, 35, 20] Generated Node #2: [1, 35, 20] from Operation: 77-57=20 Current State: 56:[1, 35, 20], Operations: ['77-57=20'] Exploring Operation: 1+35=36, Resulting Numbers: [20, 36] Generated Node #3: [20, 36] from Operation: 1+35=36 Current State: 56:[20, 36], Operations: ['77-57=20', '1+35=36'] Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[57, 77, 1, 35], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [1, 35, 20] Generated Node #0,0: 56:[1, 35, 20] Operation: 77-57=20 Exploring Operation: 77-35=42, Resulting Numbers: [57, 1, 42] Generated Node #0,1: 56:[57, 1, 42] Operation: 77-35=42 Moving to Node #0,0 Current State: 56:[1, 35, 20], Operations: ['77-57=20'] Exploring Operation: 35+20=55, Resulting Numbers: [1, 55] Generated Node #0,0,0: 56:[1, 55] Operation: 35+20=55 Exploring Operation: 35-20=15, Resulting Numbers: [1, 15] Generated Node #0,0,1: 56:[1, 15] Operation: 35-20=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[1, 55], Operations: ['77-57=20', '35+20=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[57, 77, 1, 35], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [1, 35, 20] Generated Node #0,0: 56:[1, 35, 20] Operation: 77-57=20 Moving to Node #0,0 Current State: 56:[1, 35, 20], Operations: ['77-57=20'] Exploring Operation: 35+20=55, Resulting Numbers: [1, 55] Generated Node #0,0,0: 56:[1, 55] Operation: 35+20=55 Moving to Node #0,0,0 Current State: 56:[1, 55], Operations: ['77-57=20', '35+20=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 20, 28, 8, 7 ]
77
[ "20*28=560", "560/8=70", "7+70=77" ]
Current State: 77:[20, 28, 8, 7], Operations: [] Exploring Operation: 20*28=560, Resulting Numbers: [8, 7, 560] Generated Node #2: [8, 7, 560] from Operation: 20*28=560 Current State: 77:[8, 7, 560], Operations: ['20*28=560'] Exploring Operation: 560/8=70, Resulting Numbers: [7, 70] Generated Node #3: [7, 70] from Operation: 560/8=70 Current State: 77:[7, 70], Operations: ['20*28=560', '560/8=70'] Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[20, 28, 8, 7], Operations: [] Exploring Operation: 28/7=4, Resulting Numbers: [20, 8, 4] Generated Node #0,0: 77:[20, 8, 4] Operation: 28/7=4 Exploring Operation: 20-7=13, Resulting Numbers: [28, 8, 13] Generated Node #0,1: 77:[28, 8, 13] Operation: 20-7=13 Exploring Operation: 20-8=12, Resulting Numbers: [28, 7, 12] Generated Node #0,2: 77:[28, 7, 12] Operation: 20-8=12 Exploring Operation: 28-20=8, Resulting Numbers: [8, 7, 8] Generated Node #0,3: 77:[8, 7, 8] Operation: 28-20=8 Exploring Operation: 28-8=20, Resulting Numbers: [20, 7, 20] Generated Node #0,4: 77:[20, 7, 20] Operation: 28-8=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[8, 7, 8], Operations: ['28-20=8'] Exploring Operation: 8-7=1, Resulting Numbers: [8, 1] Generated Node #0,3,0: 77:[8, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [8, 15] Generated Node #0,3,1: 77:[8, 15] Operation: 7+8=15 Exploring Operation: 8+7=15, Resulting Numbers: [8, 15] Generated Node #0,3,2: 77:[8, 15] Operation: 8+7=15 Exploring Operation: 8+8=16, Resulting Numbers: [7, 16] Generated Node #0,3,3: 77:[7, 16] Operation: 8+8=16 Exploring Operation: 8/8=1, Resulting Numbers: [7, 1] Generated Node #0,3,4: 77:[7, 1] Operation: 8/8=1 Moving to Node #0,3,1 Current State: 77:[8, 15], Operations: ['28-20=8', '7+8=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[7, 16], Operations: ['28-20=8', '8+8=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[8, 15], Operations: ['28-20=8', '8+7=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[7, 1], Operations: ['28-20=8', '8/8=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[8, 1], Operations: ['28-20=8', '8-7=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[20, 8, 4], Operations: ['28/7=4'] Exploring Operation: 20-4=16, Resulting Numbers: [8, 16] Generated Node #0,0,0: 77:[8, 16] Operation: 20-4=16 Exploring Operation: 20*4=80, Resulting Numbers: [8, 80] Generated Node #0,0,1: 77:[8, 80] Operation: 20*4=80 Exploring Operation: 20-8=12, Resulting Numbers: [4, 12] Generated Node #0,0,2: 77:[4, 12] Operation: 20-8=12 Exploring Operation: 8+4=12, Resulting Numbers: [20, 12] Generated Node #0,0,3: 77:[20, 12] Operation: 8+4=12 Exploring Operation: 20/4=5, Resulting Numbers: [8, 5] Generated Node #0,0,4: 77:[8, 5] Operation: 20/4=5 Moving to Node #0,0,4 Current State: 77:[8, 5], Operations: ['28/7=4', '20/4=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[4, 12], Operations: ['28/7=4', '20-8=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[8, 80], Operations: ['28/7=4', '20*4=80'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 8*80=640, Resulting Numbers: [640] 640,77 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,77 unequal: No Solution Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[8, 16], Operations: ['28/7=4', '20-4=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[20, 12], Operations: ['28/7=4', '8+4=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[28, 7, 12], Operations: ['20-8=12'] Exploring Operation: 28/7=4, Resulting Numbers: [12, 4] Generated Node #0,2,0: 77:[12, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [12, 21] Generated Node #0,2,1: 77:[12, 21] Operation: 28-7=21 Exploring Operation: 12-7=5, Resulting Numbers: [28, 5] Generated Node #0,2,2: 77:[28, 5] Operation: 12-7=5 Exploring Operation: 28-12=16, Resulting Numbers: [7, 16] Generated Node #0,2,3: 77:[7, 16] Operation: 28-12=16 Exploring Operation: 7*12=84, Resulting Numbers: [28, 84] Generated Node #0,2,4: 77:[28, 84] Operation: 7*12=84 Moving to Node #0,2,0 Current State: 77:[12, 4], Operations: ['20-8=12', '28/7=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,77 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[7, 16], Operations: ['20-8=12', '28-12=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,77 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[12, 21], Operations: ['20-8=12', '28-7=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[28, 5], Operations: ['20-8=12', '12-7=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[28, 84], Operations: ['20-8=12', '7*12=84'] Exploring Operation: 28+84=112, Resulting Numbers: [112] 112,77 unequal: No Solution Exploring Operation: 28*84=2352, Resulting Numbers: [2352] 2352,77 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 77:[20, 7, 20], Operations: ['28-8=20'] Exploring Operation: 20-20=0, Resulting Numbers: [7, 0] Generated Node #0,4,0: 77:[7, 0] Operation: 20-20=0 Exploring Operation: 20-7=13, Resulting Numbers: [20, 13] Generated Node #0,4,1: 77:[20, 13] Operation: 20-7=13 Exploring Operation: 20-7=13, Resulting Numbers: [20, 13] Generated Node #0,4,2: 77:[20, 13] Operation: 20-7=13 Exploring Operation: 20+7=27, Resulting Numbers: [20, 27] Generated Node #0,4,3: 77:[20, 27] Operation: 20+7=27 Exploring Operation: 20/20=1, Resulting Numbers: [7, 1] Generated Node #0,4,4: 77:[7, 1] Operation: 20/20=1 Moving to Node #0,4,4 Current State: 77:[7, 1], Operations: ['28-8=20', '20/20=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,4,0 Current State: 77:[7, 0], Operations: ['28-8=20', '20-20=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[20, 13], Operations: ['28-8=20', '20-7=13'] Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,77 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[20, 13], Operations: ['28-8=20', '20-7=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,77 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[20, 27], Operations: ['28-8=20', '20+7=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,77 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[28, 8, 13], Operations: ['20-7=13'] Exploring Operation: 13-8=5, Resulting Numbers: [28, 5] Generated Node #0,1,0: 77:[28, 5] Operation: 13-8=5 Exploring Operation: 28-8=20, Resulting Numbers: [13, 20] Generated Node #0,1,1: 77:[13, 20] Operation: 28-8=20 Exploring Operation: 28-13=15, Resulting Numbers: [8, 15] Generated Node #0,1,2: 77:[8, 15] Operation: 28-13=15 Exploring Operation: 28+8=36, Resulting Numbers: [13, 36] Generated Node #0,1,3: 77:[13, 36] Operation: 28+8=36 Exploring Operation: 8+13=21, Resulting Numbers: [28, 21] Generated Node #0,1,4: 77:[28, 21] Operation: 8+13=21 Moving to Node #0,1,2 Current State: 77:[8, 15], Operations: ['20-7=13', '28-13=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[13, 20], Operations: ['20-7=13', '28-8=20'] Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,77 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[28, 5], Operations: ['20-7=13', '13-8=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[13, 36], Operations: ['20-7=13', '28+8=36'] Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,77 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,77 unequal: No Solution Moving to Node #0,1,4 Current State: 77:[28, 21], Operations: ['20-7=13', '8+13=21'] Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,77 unequal: No Solution Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,77 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 35, 64, 47, 37 ]
32
[ "64+47=111", "111/37=3", "35-3=32" ]
Current State: 32:[35, 64, 47, 37], Operations: [] Exploring Operation: 64+47=111, Resulting Numbers: [35, 37, 111] Generated Node #2: [35, 37, 111] from Operation: 64+47=111 Current State: 32:[35, 37, 111], Operations: ['64+47=111'] Exploring Operation: 111/37=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 111/37=3 Current State: 32:[35, 3], Operations: ['64+47=111', '111/37=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[35, 64, 47, 37], Operations: [] Exploring Operation: 64-35=29, Resulting Numbers: [47, 37, 29] Generated Node #0,0: 32:[47, 37, 29] Operation: 64-35=29 Exploring Operation: 64-47=17, Resulting Numbers: [35, 37, 17] Generated Node #0,1: 32:[35, 37, 17] Operation: 64-47=17 Moving to Node #0,1 Current State: 32:[35, 37, 17], Operations: ['64-47=17'] Exploring Operation: 35-17=18, Resulting Numbers: [37, 18] Generated Node #0,1,0: 32:[37, 18] Operation: 35-17=18 Exploring Operation: 37-35=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 32:[17, 2] Operation: 37-35=2 Moving to Node #0,0 Current State: 32:[47, 37, 29], Operations: ['64-35=29'] Exploring Operation: 47-29=18, Resulting Numbers: [37, 18] Generated Node #0,0,0: 32:[37, 18] Operation: 47-29=18 Exploring Operation: 47-37=10, Resulting Numbers: [29, 10] Generated Node #0,0,1: 32:[29, 10] Operation: 47-37=10 Moving to Node #0,1,1 Current State: 32:[17, 2], Operations: ['64-47=17', '37-35=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[29, 10], Operations: ['64-35=29', '47-37=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[37, 18], Operations: ['64-47=17', '35-17=18'] Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[37, 18], Operations: ['64-35=29', '47-29=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,32 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 3, 77, 80 ]
71
[ "80-62=18", "18/3=6", "77-6=71" ]
Current State: 71:[62, 3, 77, 80], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [3, 77, 18] Generated Node #2: [3, 77, 18] from Operation: 80-62=18 Current State: 71:[3, 77, 18], Operations: ['80-62=18'] Exploring Operation: 18/3=6, Resulting Numbers: [77, 6] Generated Node #3: [77, 6] from Operation: 18/3=6 Current State: 71:[77, 6], Operations: ['80-62=18', '18/3=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[62, 3, 77, 80], Operations: [] Exploring Operation: 80-3=77, Resulting Numbers: [62, 77, 77] Generated Node #0,0: 71:[62, 77, 77] Operation: 80-3=77 Exploring Operation: 3+77=80, Resulting Numbers: [62, 80, 80] Generated Node #0,1: 71:[62, 80, 80] Operation: 3+77=80 Exploring Operation: 77-3=74, Resulting Numbers: [62, 80, 74] Generated Node #0,2: 71:[62, 80, 74] Operation: 77-3=74 Exploring Operation: 62-3=59, Resulting Numbers: [77, 80, 59] Generated Node #0,3: 71:[77, 80, 59] Operation: 62-3=59 Exploring Operation: 62+3=65, Resulting Numbers: [77, 80, 65] Generated Node #0,4: 71:[77, 80, 65] Operation: 62+3=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[62, 77, 77], Operations: ['80-3=77'] Exploring Operation: 62+77=139, Resulting Numbers: [77, 139] Generated Node #0,0,0: 71:[77, 139] Operation: 62+77=139 Exploring Operation: 77-62=15, Resulting Numbers: [77, 15] Generated Node #0,0,1: 71:[77, 15] Operation: 77-62=15 Exploring Operation: 77/77=1, Resulting Numbers: [62, 1] Generated Node #0,0,2: 71:[62, 1] Operation: 77/77=1 Exploring Operation: 62+77=139, Resulting Numbers: [77, 139] Generated Node #0,0,3: 71:[77, 139] Operation: 62+77=139 Exploring Operation: 77-62=15, Resulting Numbers: [77, 15] Generated Node #0,0,4: 71:[77, 15] Operation: 77-62=15 Moving to Node #0,0,1 Current State: 71:[77, 15], Operations: ['80-3=77', '77-62=15'] Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,71 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[77, 15], Operations: ['80-3=77', '77-62=15'] Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,71 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[77, 139], Operations: ['80-3=77', '62+77=139'] Exploring Operation: 77*139=10703, Resulting Numbers: [10703] 10703,71 unequal: No Solution Exploring Operation: 139-77=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 77+139=216, Resulting Numbers: [216] 216,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[77, 139], Operations: ['80-3=77', '62+77=139'] Exploring Operation: 77*139=10703, Resulting Numbers: [10703] 10703,71 unequal: No Solution Exploring Operation: 77+139=216, Resulting Numbers: [216] 216,71 unequal: No Solution Exploring Operation: 139-77=62, Resulting Numbers: [62] 62,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[62, 1], Operations: ['80-3=77', '77/77=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[62, 80, 74], Operations: ['77-3=74'] Exploring Operation: 80-74=6, Resulting Numbers: [62, 6] Generated Node #0,2,0: 71:[62, 6] Operation: 80-74=6 Exploring Operation: 74-62=12, Resulting Numbers: [80, 12] Generated Node #0,2,1: 71:[80, 12] Operation: 74-62=12 Exploring Operation: 62+74=136, Resulting Numbers: [80, 136] Generated Node #0,2,2: 71:[80, 136] Operation: 62+74=136 Exploring Operation: 62+80=142, Resulting Numbers: [74, 142] Generated Node #0,2,3: 71:[74, 142] Operation: 62+80=142 Exploring Operation: 80-62=18, Resulting Numbers: [74, 18] Generated Node #0,2,4: 71:[74, 18] Operation: 80-62=18 Moving to Node #0,2,4 Current State: 71:[74, 18], Operations: ['77-3=74', '80-62=18'] Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,71 unequal: No Solution Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,71 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[80, 12], Operations: ['77-3=74', '74-62=12'] Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,71 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[62, 6], Operations: ['77-3=74', '80-74=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[80, 136], Operations: ['77-3=74', '62+74=136'] Exploring Operation: 80*136=10880, Resulting Numbers: [10880] 10880,71 unequal: No Solution Exploring Operation: 136-80=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 80+136=216, Resulting Numbers: [216] 216,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[74, 142], Operations: ['77-3=74', '62+80=142'] Exploring Operation: 74*142=10508, Resulting Numbers: [10508] 10508,71 unequal: No Solution Exploring Operation: 142-74=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 74+142=216, Resulting Numbers: [216] 216,71 unequal: No Solution No 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: 71:[77, 80, 65], Operations: ['62+3=65'] Exploring Operation: 77+65=142, Resulting Numbers: [80, 142] Generated Node #0,4,0: 71:[80, 142] Operation: 77+65=142 Exploring Operation: 80-77=3, Resulting Numbers: [65, 3] Generated Node #0,4,1: 71:[65, 3] Operation: 80-77=3 Exploring Operation: 80+65=145, Resulting Numbers: [77, 145] Generated Node #0,4,2: 71:[77, 145] Operation: 80+65=145 Exploring Operation: 80-65=15, Resulting Numbers: [77, 15] Generated Node #0,4,3: 71:[77, 15] Operation: 80-65=15 Exploring Operation: 77-65=12, Resulting Numbers: [80, 12] Generated Node #0,4,4: 71:[80, 12] Operation: 77-65=12 Moving to Node #0,4,3 Current State: 71:[77, 15], Operations: ['62+3=65', '80-65=15'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,71 unequal: No Solution Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[80, 12], Operations: ['62+3=65', '77-65=12'] Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,71 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[65, 3], Operations: ['62+3=65', '80-77=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,71 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[80, 142], Operations: ['62+3=65', '77+65=142'] Exploring Operation: 80*142=11360, Resulting Numbers: [11360] 11360,71 unequal: No Solution Exploring Operation: 142-80=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 80+142=222, Resulting Numbers: [222] 222,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[77, 145], Operations: ['62+3=65', '80+65=145'] Exploring Operation: 77+145=222, Resulting Numbers: [222] 222,71 unequal: No Solution Exploring Operation: 145-77=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 77*145=11165, Resulting Numbers: [11165] 11165,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[62, 80, 80], Operations: ['3+77=80'] Exploring Operation: 62+80=142, Resulting Numbers: [80, 142] Generated Node #0,1,0: 71:[80, 142] Operation: 62+80=142 Exploring Operation: 80/80=1, Resulting Numbers: [62, 1] Generated Node #0,1,1: 71:[62, 1] Operation: 80/80=1 Exploring Operation: 80-62=18, Resulting Numbers: [80, 18] Generated Node #0,1,2: 71:[80, 18] Operation: 80-62=18 Exploring Operation: 80-62=18, Resulting Numbers: [80, 18] Generated Node #0,1,3: 71:[80, 18] Operation: 80-62=18 Exploring Operation: 62+80=142, Resulting Numbers: [80, 142] Generated Node #0,1,4: 71:[80, 142] Operation: 62+80=142 Moving to Node #0,1,2 Current State: 71:[80, 18], Operations: ['3+77=80', '80-62=18'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[80, 18], Operations: ['3+77=80', '80-62=18'] Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,71 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[62, 1], Operations: ['3+77=80', '80/80=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[80, 142], Operations: ['3+77=80', '62+80=142'] Exploring Operation: 142-80=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 80+142=222, Resulting Numbers: [222] 222,71 unequal: No Solution Exploring Operation: 80*142=11360, Resulting Numbers: [11360] 11360,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[80, 142], Operations: ['3+77=80', '62+80=142'] Exploring Operation: 80*142=11360, Resulting Numbers: [11360] 11360,71 unequal: No Solution Exploring Operation: 80+142=222, Resulting Numbers: [222] 222,71 unequal: No Solution Exploring Operation: 142-80=62, Resulting Numbers: [62] 62,71 unequal: No Solution No 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: 71:[77, 80, 59], Operations: ['62-3=59'] Exploring Operation: 77+59=136, Resulting Numbers: [80, 136] Generated Node #0,3,0: 71:[80, 136] Operation: 77+59=136 Exploring Operation: 80-59=21, Resulting Numbers: [77, 21] Generated Node #0,3,1: 71:[77, 21] Operation: 80-59=21 Exploring Operation: 77-59=18, Resulting Numbers: [80, 18] Generated Node #0,3,2: 71:[80, 18] Operation: 77-59=18 Exploring Operation: 80+59=139, Resulting Numbers: [77, 139] Generated Node #0,3,3: 71:[77, 139] Operation: 80+59=139 Exploring Operation: 80-77=3, Resulting Numbers: [59, 3] Generated Node #0,3,4: 71:[59, 3] Operation: 80-77=3 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[77, 21], Operations: ['62-3=59', '80-59=21'] Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 71:[80, 18], Operations: ['62-3=59', '77-59=18'] Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,71 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[80, 136], Operations: ['62-3=59', '77+59=136'] Exploring Operation: 80*136=10880, Resulting Numbers: [10880] 10880,71 unequal: No Solution Exploring Operation: 80+136=216, Resulting Numbers: [216] 216,71 unequal: No Solution Exploring Operation: 136-80=56, Resulting Numbers: [56] 56,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[77, 139], Operations: ['62-3=59', '80+59=139'] Exploring Operation: 77*139=10703, Resulting Numbers: [10703] 10703,71 unequal: No Solution Exploring Operation: 139-77=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 77+139=216, Resulting Numbers: [216] 216,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 71:[59, 3], Operations: ['62-3=59', '80-77=3'] Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,71 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 4, 42, 12, 64 ]
98
[ "4+42=46", "64-12=52", "46+52=98" ]
Current State: 98:[4, 42, 12, 64], Operations: [] Exploring Operation: 4+42=46, Resulting Numbers: [12, 64, 46] Generated Node #2: [12, 64, 46] from Operation: 4+42=46 Current State: 98:[12, 64, 46], Operations: ['4+42=46'] Exploring Operation: 64-12=52, Resulting Numbers: [46, 52] Generated Node #3: [46, 52] from Operation: 64-12=52 Current State: 98:[46, 52], Operations: ['4+42=46', '64-12=52'] Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[4, 42, 12, 64], Operations: [] Exploring Operation: 42+64=106, Resulting Numbers: [4, 12, 106] Generated Node #0,0: 98:[4, 12, 106] Operation: 42+64=106 Exploring Operation: 64/4=16, Resulting Numbers: [42, 12, 16] Generated Node #0,1: 98:[42, 12, 16] Operation: 64/4=16 Moving to Node #0,1 Current State: 98:[42, 12, 16], Operations: ['64/4=16'] Exploring Operation: 16-12=4, Resulting Numbers: [42, 4] Generated Node #0,1,0: 98:[42, 4] Operation: 16-12=4 Exploring Operation: 42+12=54, Resulting Numbers: [16, 54] Generated Node #0,1,1: 98:[16, 54] Operation: 42+12=54 Moving to Node #0,0 Current State: 98:[4, 12, 106], Operations: ['42+64=106'] Exploring Operation: 106-12=94, Resulting Numbers: [4, 94] Generated Node #0,0,0: 98:[4, 94] Operation: 106-12=94 Exploring Operation: 106-4=102, Resulting Numbers: [12, 102] Generated Node #0,0,1: 98:[12, 102] Operation: 106-4=102 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[4, 94], Operations: ['42+64=106', '106-12=94'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[4, 42, 12, 64], Operations: [] Exploring Operation: 42+64=106, Resulting Numbers: [4, 12, 106] Generated Node #0,0: 98:[4, 12, 106] Operation: 42+64=106 Moving to Node #0,0 Current State: 98:[4, 12, 106], Operations: ['42+64=106'] Exploring Operation: 106-12=94, Resulting Numbers: [4, 94] Generated Node #0,0,0: 98:[4, 94] Operation: 106-12=94 Moving to Node #0,0,0 Current State: 98:[4, 94], Operations: ['42+64=106', '106-12=94'] Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 46, 26, 3, 7 ]
13
[ "46-7=39", "39/3=13", "26-13=13" ]
Current State: 13:[46, 26, 3, 7], Operations: [] Exploring Operation: 46-7=39, Resulting Numbers: [26, 3, 39] Generated Node #2: [26, 3, 39] from Operation: 46-7=39 Current State: 13:[26, 3, 39], Operations: ['46-7=39'] Exploring Operation: 39/3=13, Resulting Numbers: [26, 13] Generated Node #3: [26, 13] from Operation: 39/3=13 Current State: 13:[26, 13], Operations: ['46-7=39', '39/3=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[46, 26, 3, 7], Operations: [] Exploring Operation: 46-3=43, Resulting Numbers: [26, 7, 43] Generated Node #0,0: 13:[26, 7, 43] Operation: 46-3=43 Exploring Operation: 46-26=20, Resulting Numbers: [3, 7, 20] Generated Node #0,1: 13:[3, 7, 20] Operation: 46-26=20 Moving to Node #0,1 Current State: 13:[3, 7, 20], Operations: ['46-26=20'] Exploring Operation: 3+7=10, Resulting Numbers: [20, 10] Generated Node #0,1,0: 13:[20, 10] Operation: 3+7=10 Exploring Operation: 20-3=17, Resulting Numbers: [7, 17] Generated Node #0,1,1: 13:[7, 17] Operation: 20-3=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[20, 10], Operations: ['46-26=20', '3+7=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,13 unequal: No Solution No 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: 13:[7, 17], Operations: ['46-26=20', '20-3=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,13 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: 13:[26, 7, 43], Operations: ['46-3=43'] Exploring Operation: 26-7=19, Resulting Numbers: [43, 19] Generated Node #0,0,0: 13:[43, 19] Operation: 26-7=19 Exploring Operation: 43-26=17, Resulting Numbers: [7, 17] Generated Node #0,0,1: 13:[7, 17] Operation: 43-26=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[7, 17], Operations: ['46-3=43', '43-26=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,13 unequal: No Solution No 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: 13:[43, 19], Operations: ['46-3=43', '26-7=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,13 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
[ 8, 57, 47, 78 ]
91
[ "57+47=104", "104/8=13", "78+13=91" ]
Current State: 91:[8, 57, 47, 78], Operations: [] Exploring Operation: 57+47=104, Resulting Numbers: [8, 78, 104] Generated Node #2: [8, 78, 104] from Operation: 57+47=104 Current State: 91:[8, 78, 104], Operations: ['57+47=104'] Exploring Operation: 104/8=13, Resulting Numbers: [78, 13] Generated Node #3: [78, 13] from Operation: 104/8=13 Current State: 91:[78, 13], Operations: ['57+47=104', '104/8=13'] Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[8, 57, 47, 78], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [8, 78, 10] Generated Node #0,0: 91:[8, 78, 10] Operation: 57-47=10 Moving to Node #0,0 Current State: 91:[8, 78, 10], Operations: ['57-47=10'] Exploring Operation: 78+10=88, Resulting Numbers: [8, 88] Generated Node #0,0,0: 91:[8, 88] Operation: 78+10=88 Moving to Node #0,0,0 Current State: 91:[8, 88], Operations: ['57-47=10', '78+10=88'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,91 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 59, 18, 81, 52 ]
92
[ "59-18=41", "81+52=133", "133-41=92" ]
Current State: 92:[59, 18, 81, 52], Operations: [] Exploring Operation: 59-18=41, Resulting Numbers: [81, 52, 41] Generated Node #2: [81, 52, 41] from Operation: 59-18=41 Current State: 92:[81, 52, 41], Operations: ['59-18=41'] Exploring Operation: 81+52=133, Resulting Numbers: [41, 133] Generated Node #3: [41, 133] from Operation: 81+52=133 Current State: 92:[41, 133], Operations: ['59-18=41', '81+52=133'] Exploring Operation: 133-41=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[59, 18, 81, 52], Operations: [] Exploring Operation: 81-59=22, Resulting Numbers: [18, 52, 22] Generated Node #0,0: 92:[18, 52, 22] Operation: 81-59=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[18, 52, 22], Operations: ['81-59=22'] Exploring Operation: 22-18=4, Resulting Numbers: [52, 4] Generated Node #0,0,0: 92:[52, 4] Operation: 22-18=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[52, 4], Operations: ['81-59=22', '22-18=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 58, 39, 35, 17 ]
79
[ "58+39=97", "35-17=18", "97-18=79" ]
Current State: 79:[58, 39, 35, 17], Operations: [] Exploring Operation: 58+39=97, Resulting Numbers: [35, 17, 97] Generated Node #2: [35, 17, 97] from Operation: 58+39=97 Current State: 79:[35, 17, 97], Operations: ['58+39=97'] Exploring Operation: 35-17=18, Resulting Numbers: [97, 18] Generated Node #3: [97, 18] from Operation: 35-17=18 Current State: 79:[97, 18], Operations: ['58+39=97', '35-17=18'] Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[58, 39, 35, 17], Operations: [] Exploring Operation: 39+35=74, Resulting Numbers: [58, 17, 74] Generated Node #0,0: 79:[58, 17, 74] Operation: 39+35=74 Exploring Operation: 58+17=75, Resulting Numbers: [39, 35, 75] Generated Node #0,1: 79:[39, 35, 75] Operation: 58+17=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[58, 17, 74], Operations: ['39+35=74'] Exploring Operation: 17+74=91, Resulting Numbers: [58, 91] Generated Node #0,0,0: 79:[58, 91] Operation: 17+74=91 Exploring Operation: 58+17=75, Resulting Numbers: [74, 75] Generated Node #0,0,1: 79:[74, 75] Operation: 58+17=75 Moving to Node #0,0,1 Current State: 79:[74, 75], Operations: ['39+35=74', '58+17=75'] Exploring Operation: 74+75=149, Resulting Numbers: [149] 149,79 unequal: No Solution Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[58, 91], Operations: ['39+35=74', '17+74=91'] Exploring Operation: 58+91=149, Resulting Numbers: [149] 149,79 unequal: No Solution Exploring Operation: 91-58=33, Resulting Numbers: [33] 33,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[39, 35, 75], Operations: ['58+17=75'] Exploring Operation: 39+35=74, Resulting Numbers: [75, 74] Generated Node #0,1,0: 79:[75, 74] Operation: 39+35=74 Exploring Operation: 35+75=110, Resulting Numbers: [39, 110] Generated Node #0,1,1: 79:[39, 110] Operation: 35+75=110 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[75, 74], Operations: ['58+17=75', '39+35=74'] Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 75+74=149, Resulting Numbers: [149] 149,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[39, 110], Operations: ['58+17=75', '35+75=110'] Exploring Operation: 110-39=71, Resulting Numbers: [71] 71,79 unequal: No Solution Exploring Operation: 39+110=149, Resulting Numbers: [149] 149,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 75, 5, 79, 2 ]
22
[ "75+79=154", "5+2=7", "154/7=22" ]
Current State: 22:[75, 5, 79, 2], Operations: [] Exploring Operation: 75+79=154, Resulting Numbers: [5, 2, 154] Generated Node #2: [5, 2, 154] from Operation: 75+79=154 Current State: 22:[5, 2, 154], Operations: ['75+79=154'] Exploring Operation: 5+2=7, Resulting Numbers: [154, 7] Generated Node #3: [154, 7] from Operation: 5+2=7 Current State: 22:[154, 7], Operations: ['75+79=154', '5+2=7'] Exploring Operation: 154/7=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[75, 5, 79, 2], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [5, 2, 4] Generated Node #0,0: 22:[5, 2, 4] Operation: 79-75=4 Exploring Operation: 75/5=15, Resulting Numbers: [79, 2, 15] Generated Node #0,1: 22:[79, 2, 15] Operation: 75/5=15 Moving to Node #0,0 Current State: 22:[5, 2, 4], Operations: ['79-75=4'] Exploring Operation: 5-4=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 22:[2, 1] Operation: 5-4=1 Exploring Operation: 5+4=9, Resulting Numbers: [2, 9] Generated Node #0,0,1: 22:[2, 9] Operation: 5+4=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[2, 1], Operations: ['79-75=4', '5-4=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,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:[2, 9], Operations: ['79-75=4', '5+4=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,22 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: 22:[79, 2, 15], Operations: ['75/5=15'] Exploring Operation: 79-15=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 22:[2, 64] Operation: 79-15=64 Exploring Operation: 79-2=77, Resulting Numbers: [15, 77] Generated Node #0,1,1: 22:[15, 77] Operation: 79-2=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[2, 64], Operations: ['75/5=15', '79-15=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,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:[15, 77], Operations: ['75/5=15', '79-2=77'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,22 unequal: No Solution Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,22 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
[ 72, 18, 58, 36 ]
86
[ "72/18=4", "36*4=144", "144-58=86" ]
Current State: 86:[72, 18, 58, 36], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [58, 36, 4] Generated Node #2: [58, 36, 4] from Operation: 72/18=4 Current State: 86:[58, 36, 4], Operations: ['72/18=4'] Exploring Operation: 36*4=144, Resulting Numbers: [58, 144] Generated Node #3: [58, 144] from Operation: 36*4=144 Current State: 86:[58, 144], Operations: ['72/18=4', '36*4=144'] Exploring Operation: 144-58=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[72, 18, 58, 36], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [58, 36, 4] Generated Node #0,0: 86:[58, 36, 4] Operation: 72/18=4 Exploring Operation: 72+18=90, Resulting Numbers: [58, 36, 90] Generated Node #0,1: 86:[58, 36, 90] Operation: 72+18=90 Exploring Operation: 58-18=40, Resulting Numbers: [72, 36, 40] Generated Node #0,2: 86:[72, 36, 40] Operation: 58-18=40 Exploring Operation: 36/18=2, Resulting Numbers: [72, 58, 2] Generated Node #0,3: 86:[72, 58, 2] Operation: 36/18=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[58, 36, 4], Operations: ['72/18=4'] Exploring Operation: 36+4=40, Resulting Numbers: [58, 40] Generated Node #0,0,0: 86:[58, 40] Operation: 36+4=40 Exploring Operation: 58-4=54, Resulting Numbers: [36, 54] Generated Node #0,0,1: 86:[36, 54] Operation: 58-4=54 Exploring Operation: 58-36=22, Resulting Numbers: [4, 22] Generated Node #0,0,2: 86:[4, 22] Operation: 58-36=22 Exploring Operation: 58+36=94, Resulting Numbers: [4, 94] Generated Node #0,0,3: 86:[4, 94] Operation: 58+36=94 Moving to Node #0,0,3 Current State: 86:[4, 94], Operations: ['72/18=4', '58+36=94'] Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,86 unequal: No Solution Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,86 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[36, 54], Operations: ['72/18=4', '58-4=54'] Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,86 unequal: No Solution Exploring Operation: 36*54=1944, Resulting Numbers: [1944] 1944,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[58, 40], Operations: ['72/18=4', '36+4=40'] Exploring Operation: 58+40=98, Resulting Numbers: [98] 98,86 unequal: No Solution Exploring Operation: 58*40=2320, Resulting Numbers: [2320] 2320,86 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[4, 22], Operations: ['72/18=4', '58-36=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[72, 36, 40], Operations: ['58-18=40'] Exploring Operation: 72-36=36, Resulting Numbers: [40, 36] Generated Node #0,2,0: 86:[40, 36] Operation: 72-36=36 Exploring Operation: 72/36=2, Resulting Numbers: [40, 2] Generated Node #0,2,1: 86:[40, 2] Operation: 72/36=2 Exploring Operation: 72-40=32, Resulting Numbers: [36, 32] Generated Node #0,2,2: 86:[36, 32] Operation: 72-40=32 Exploring Operation: 40-36=4, Resulting Numbers: [72, 4] Generated Node #0,2,3: 86:[72, 4] Operation: 40-36=4 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[40, 2], Operations: ['58-18=40', '72/36=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[40, 36], Operations: ['58-18=40', '72-36=36'] Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,86 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 86:[72, 4], Operations: ['58-18=40', '40-36=4'] Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,86 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[36, 32], Operations: ['58-18=40', '72-40=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,86 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[58, 36, 90], Operations: ['72+18=90'] Exploring Operation: 90-36=54, Resulting Numbers: [58, 54] Generated Node #0,1,0: 86:[58, 54] Operation: 90-36=54 Exploring Operation: 58+36=94, Resulting Numbers: [90, 94] Generated Node #0,1,1: 86:[90, 94] Operation: 58+36=94 Exploring Operation: 90-58=32, Resulting Numbers: [36, 32] Generated Node #0,1,2: 86:[36, 32] Operation: 90-58=32 Exploring Operation: 58-36=22, Resulting Numbers: [90, 22] Generated Node #0,1,3: 86:[90, 22] Operation: 58-36=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[90, 94], Operations: ['72+18=90', '58+36=94'] Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 90+94=184, Resulting Numbers: [184] 184,86 unequal: No Solution Exploring Operation: 90*94=8460, Resulting Numbers: [8460] 8460,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[36, 32], Operations: ['72+18=90', '90-58=32'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 86:[90, 22], Operations: ['72+18=90', '58-36=22'] Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 90+22=112, Resulting Numbers: [112] 112,86 unequal: No Solution Exploring Operation: 90*22=1980, Resulting Numbers: [1980] 1980,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[58, 54], Operations: ['72+18=90', '90-36=54'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,86 unequal: No Solution Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[72, 58, 2], Operations: ['36/18=2'] Exploring Operation: 72-58=14, Resulting Numbers: [2, 14] Generated Node #0,3,0: 86:[2, 14] Operation: 72-58=14 Exploring Operation: 72/2=36, Resulting Numbers: [58, 36] Generated Node #0,3,1: 86:[58, 36] Operation: 72/2=36 Exploring Operation: 58-2=56, Resulting Numbers: [72, 56] Generated Node #0,3,2: 86:[72, 56] Operation: 58-2=56 Exploring Operation: 72+2=74, Resulting Numbers: [58, 74] Generated Node #0,3,3: 86:[58, 74] Operation: 72+2=74 Moving to Node #0,3,0 Current State: 86:[2, 14], Operations: ['36/18=2', '72-58=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[58, 36], Operations: ['36/18=2', '72/2=36'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,86 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[58, 74], Operations: ['36/18=2', '72+2=74'] Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 58+74=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 58*74=4292, Resulting Numbers: [4292] 4292,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[72, 56], Operations: ['36/18=2', '58-2=56'] Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 72+56=128, Resulting Numbers: [128] 128,86 unequal: No Solution Exploring Operation: 72*56=4032, Resulting Numbers: [4032] 4032,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 50, 14, 51, 27 ]
88
[ "50+14=64", "51-27=24", "64+24=88" ]
Current State: 88:[50, 14, 51, 27], Operations: [] Exploring Operation: 50+14=64, Resulting Numbers: [51, 27, 64] Generated Node #2: [51, 27, 64] from Operation: 50+14=64 Current State: 88:[51, 27, 64], Operations: ['50+14=64'] Exploring Operation: 51-27=24, Resulting Numbers: [64, 24] Generated Node #3: [64, 24] from Operation: 51-27=24 Current State: 88:[64, 24], Operations: ['50+14=64', '51-27=24'] Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[50, 14, 51, 27], Operations: [] Exploring Operation: 50-27=23, Resulting Numbers: [14, 51, 23] Generated Node #0,0: 88:[14, 51, 23] Operation: 50-27=23 Exploring Operation: 51-50=1, Resulting Numbers: [14, 27, 1] Generated Node #0,1: 88:[14, 27, 1] Operation: 51-50=1 Moving to Node #0,1 Current State: 88:[14, 27, 1], Operations: ['51-50=1'] Exploring Operation: 14+27=41, Resulting Numbers: [1, 41] Generated Node #0,1,0: 88:[1, 41] Operation: 14+27=41 Exploring Operation: 27-14=13, Resulting Numbers: [1, 13] Generated Node #0,1,1: 88:[1, 13] Operation: 27-14=13 Moving to Node #0,0 Current State: 88:[14, 51, 23], Operations: ['50-27=23'] Exploring Operation: 51-14=37, Resulting Numbers: [23, 37] Generated Node #0,0,0: 88:[23, 37] Operation: 51-14=37 Exploring Operation: 23-14=9, Resulting Numbers: [51, 9] Generated Node #0,0,1: 88:[51, 9] Operation: 23-14=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[23, 37], Operations: ['50-27=23', '51-14=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[51, 9], Operations: ['50-27=23', '23-14=9'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,88 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: 88:[1, 13], Operations: ['51-50=1', '27-14=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[1, 41], Operations: ['51-50=1', '14+27=41'] Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,88 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 6, 29, 5, 94 ]
87
[ "6+29=35", "35/5=7", "94-7=87" ]
Current State: 87:[6, 29, 5, 94], Operations: [] Exploring Operation: 6+29=35, Resulting Numbers: [5, 94, 35] Generated Node #2: [5, 94, 35] from Operation: 6+29=35 Current State: 87:[5, 94, 35], Operations: ['6+29=35'] Exploring Operation: 35/5=7, Resulting Numbers: [94, 7] Generated Node #3: [94, 7] from Operation: 35/5=7 Current State: 87:[94, 7], Operations: ['6+29=35', '35/5=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[6, 29, 5, 94], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [6, 29, 89] Generated Node #0,0: 87:[6, 29, 89] Operation: 94-5=89 Exploring Operation: 6+29=35, Resulting Numbers: [5, 94, 35] Generated Node #0,1: 87:[5, 94, 35] Operation: 6+29=35 Exploring Operation: 6*5=30, Resulting Numbers: [29, 94, 30] Generated Node #0,2: 87:[29, 94, 30] Operation: 6*5=30 Exploring Operation: 6-5=1, Resulting Numbers: [29, 94, 1] Generated Node #0,3: 87:[29, 94, 1] Operation: 6-5=1 Exploring Operation: 94-6=88, Resulting Numbers: [29, 5, 88] Generated Node #0,4: 87:[29, 5, 88] Operation: 94-6=88 Moving to Node #0,4 Current State: 87:[29, 5, 88], Operations: ['94-6=88'] Exploring Operation: 29+5=34, Resulting Numbers: [88, 34] Generated Node #0,4,0: 87:[88, 34] Operation: 29+5=34 Exploring Operation: 5+88=93, Resulting Numbers: [29, 93] Generated Node #0,4,1: 87:[29, 93] Operation: 5+88=93 Exploring Operation: 29-5=24, Resulting Numbers: [88, 24] Generated Node #0,4,2: 87:[88, 24] Operation: 29-5=24 Exploring Operation: 88-29=59, Resulting Numbers: [5, 59] Generated Node #0,4,3: 87:[5, 59] Operation: 88-29=59 Exploring Operation: 88-5=83, Resulting Numbers: [29, 83] Generated Node #0,4,4: 87:[29, 83] Operation: 88-5=83 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 87:[29, 83], Operations: ['94-6=88', '88-5=83'] Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,87 unequal: No Solution Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,87 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,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,4,0 Current State: 87:[88, 34], Operations: ['94-6=88', '29+5=34'] Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,87 unequal: No Solution Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,87 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,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,4,1 Current State: 87:[29, 93], Operations: ['94-6=88', '5+88=93'] Exploring Operation: 29*93=2697, Resulting Numbers: [2697] 2697,87 unequal: No Solution Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 29+93=122, Resulting Numbers: [122] 122,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,4,2 Current State: 87:[88, 24], Operations: ['94-6=88', '29-5=24'] Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,87 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,87 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,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,4,3 Current State: 87:[5, 59], Operations: ['94-6=88', '88-29=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,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:[6, 29, 89], Operations: ['94-5=89'] Exploring Operation: 6+89=95, Resulting Numbers: [29, 95] Generated Node #0,0,0: 87:[29, 95] Operation: 6+89=95 Exploring Operation: 6+29=35, Resulting Numbers: [89, 35] Generated Node #0,0,1: 87:[89, 35] Operation: 6+29=35 Exploring Operation: 89-6=83, Resulting Numbers: [29, 83] Generated Node #0,0,2: 87:[29, 83] Operation: 89-6=83 Exploring Operation: 29-6=23, Resulting Numbers: [89, 23] Generated Node #0,0,3: 87:[89, 23] Operation: 29-6=23 Exploring Operation: 89-29=60, Resulting Numbers: [6, 60] Generated Node #0,0,4: 87:[6, 60] Operation: 89-29=60 Moving to Node #0,2 Current State: 87:[29, 94, 30], Operations: ['6*5=30'] Exploring Operation: 30-29=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 87:[94, 1] Operation: 30-29=1 Exploring Operation: 94-30=64, Resulting Numbers: [29, 64] Generated Node #0,2,1: 87:[29, 64] Operation: 94-30=64 Exploring Operation: 29+30=59, Resulting Numbers: [94, 59] Generated Node #0,2,2: 87:[94, 59] Operation: 29+30=59 Exploring Operation: 29+94=123, Resulting Numbers: [30, 123] Generated Node #0,2,3: 87:[30, 123] Operation: 29+94=123 Exploring Operation: 94-29=65, Resulting Numbers: [30, 65] Generated Node #0,2,4: 87:[30, 65] Operation: 94-29=65 Moving to Node #0,3 Current State: 87:[29, 94, 1], Operations: ['6-5=1'] Exploring Operation: 94*1=94, Resulting Numbers: [29, 94] Generated Node #0,3,0: 87:[29, 94] Operation: 94*1=94 Exploring Operation: 29*1=29, Resulting Numbers: [94, 29] Generated Node #0,3,1: 87:[94, 29] Operation: 29*1=29 Exploring Operation: 94/1=94, Resulting Numbers: [29, 94] Generated Node #0,3,2: 87:[29, 94] Operation: 94/1=94 Exploring Operation: 94-1=93, Resulting Numbers: [29, 93] Generated Node #0,3,3: 87:[29, 93] Operation: 94-1=93 Exploring Operation: 29/1=29, Resulting Numbers: [94, 29] Generated Node #0,3,4: 87:[94, 29] Operation: 29/1=29 Moving to Node #0,1 Current State: 87:[5, 94, 35], Operations: ['6+29=35'] Exploring Operation: 35-5=30, Resulting Numbers: [94, 30] Generated Node #0,1,0: 87:[94, 30] Operation: 35-5=30 Exploring Operation: 5+35=40, Resulting Numbers: [94, 40] Generated Node #0,1,1: 87:[94, 40] Operation: 5+35=40 Exploring Operation: 94-5=89, Resulting Numbers: [35, 89] Generated Node #0,1,2: 87:[35, 89] Operation: 94-5=89 Exploring Operation: 5+94=99, Resulting Numbers: [35, 99] Generated Node #0,1,3: 87:[35, 99] Operation: 5+94=99 Exploring Operation: 35/5=7, Resulting Numbers: [94, 7] Generated Node #0,1,4: 87:[94, 7] Operation: 35/5=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[94, 30], Operations: ['6+29=35', '35-5=30'] Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,87 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,87 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[35, 89], Operations: ['6+29=35', '94-5=89'] Exploring Operation: 35+89=124, Resulting Numbers: [124] 124,87 unequal: No Solution Exploring Operation: 35*89=3115, Resulting Numbers: [3115] 3115,87 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,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,4 Current State: 87:[94, 7], Operations: ['6+29=35', '35/5=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[6, 29, 5, 94], Operations: [] Exploring Operation: 6+29=35, Resulting Numbers: [5, 94, 35] Generated Node #0,1: 87:[5, 94, 35] Operation: 6+29=35 Moving to Node #0,1 Current State: 87:[5, 94, 35], Operations: ['6+29=35'] Exploring Operation: 35/5=7, Resulting Numbers: [94, 7] Generated Node #0,1,4: 87:[94, 7] Operation: 35/5=7 Moving to Node #0,1,4 Current State: 87:[94, 7], Operations: ['6+29=35', '35/5=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 61, 26, 72, 82 ]
45
[ "61-26=35", "82-72=10", "35+10=45" ]
Current State: 45:[61, 26, 72, 82], Operations: [] Exploring Operation: 61-26=35, Resulting Numbers: [72, 82, 35] Generated Node #2: [72, 82, 35] from Operation: 61-26=35 Current State: 45:[72, 82, 35], Operations: ['61-26=35'] Exploring Operation: 82-72=10, Resulting Numbers: [35, 10] Generated Node #3: [35, 10] from Operation: 82-72=10 Current State: 45:[35, 10], Operations: ['61-26=35', '82-72=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[61, 26, 72, 82], Operations: [] Exploring Operation: 82-61=21, Resulting Numbers: [26, 72, 21] Generated Node #0,0: 45:[26, 72, 21] Operation: 82-61=21 Exploring Operation: 72-61=11, Resulting Numbers: [26, 82, 11] Generated Node #0,1: 45:[26, 82, 11] Operation: 72-61=11 Exploring Operation: 82-72=10, Resulting Numbers: [61, 26, 10] Generated Node #0,2: 45:[61, 26, 10] Operation: 82-72=10 Exploring Operation: 72-26=46, Resulting Numbers: [61, 82, 46] Generated Node #0,3: 45:[61, 82, 46] Operation: 72-26=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[61, 26, 10], Operations: ['82-72=10'] Exploring Operation: 26+10=36, Resulting Numbers: [61, 36] Generated Node #0,2,0: 45:[61, 36] Operation: 26+10=36 Exploring Operation: 61-26=35, Resulting Numbers: [10, 35] Generated Node #0,2,1: 45:[10, 35] Operation: 61-26=35 Exploring Operation: 61-10=51, Resulting Numbers: [26, 51] Generated Node #0,2,2: 45:[26, 51] Operation: 61-10=51 Exploring Operation: 26-10=16, Resulting Numbers: [61, 16] Generated Node #0,2,3: 45:[61, 16] Operation: 26-10=16 Moving to Node #0,2,1 Current State: 45:[10, 35], Operations: ['82-72=10', '61-26=35'] Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[61, 26, 72, 82], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [61, 26, 10] Generated Node #0,2: 45:[61, 26, 10] Operation: 82-72=10 Moving to Node #0,2 Current State: 45:[61, 26, 10], Operations: ['82-72=10'] Exploring Operation: 61-26=35, Resulting Numbers: [10, 35] Generated Node #0,2,1: 45:[10, 35] Operation: 61-26=35 Moving to Node #0,2,1 Current State: 45:[10, 35], Operations: ['82-72=10', '61-26=35'] Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 40, 40, 47, 60 ]
27
[ "40+40=80", "47+60=107", "107-80=27" ]
Current State: 27:[40, 40, 47, 60], Operations: [] Exploring Operation: 40+40=80, Resulting Numbers: [47, 60, 80] Generated Node #2: [47, 60, 80] from Operation: 40+40=80 Current State: 27:[47, 60, 80], Operations: ['40+40=80'] Exploring Operation: 47+60=107, Resulting Numbers: [80, 107] Generated Node #3: [80, 107] from Operation: 47+60=107 Current State: 27:[80, 107], Operations: ['40+40=80', '47+60=107'] Exploring Operation: 107-80=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[40, 40, 47, 60], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [40, 40, 13] Generated Node #0,0: 27:[40, 40, 13] Operation: 60-47=13 Exploring Operation: 60-40=20, Resulting Numbers: [40, 47, 20] Generated Node #0,1: 27:[40, 47, 20] Operation: 60-40=20 Exploring Operation: 47-40=7, Resulting Numbers: [40, 60, 7] Generated Node #0,2: 27:[40, 60, 7] Operation: 47-40=7 Exploring Operation: 60-40=20, Resulting Numbers: [40, 47, 20] Generated Node #0,3: 27:[40, 47, 20] Operation: 60-40=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[40, 40, 13], Operations: ['60-47=13'] Exploring Operation: 40-40=0, Resulting Numbers: [13, 0] Generated Node #0,0,0: 27:[13, 0] Operation: 40-40=0 Exploring Operation: 40-13=27, Resulting Numbers: [40, 27] Generated Node #0,0,1: 27:[40, 27] Operation: 40-13=27 Exploring Operation: 40/40=1, Resulting Numbers: [13, 1] Generated Node #0,0,2: 27:[13, 1] Operation: 40/40=1 Exploring Operation: 40-13=27, Resulting Numbers: [40, 27] Generated Node #0,0,3: 27:[40, 27] Operation: 40-13=27 Moving to Node #0,0,2 Current State: 27:[13, 1], Operations: ['60-47=13', '40/40=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[13, 0], Operations: ['60-47=13', '40-40=0'] Exploring Operation: 13-0=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 13+0=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 13*0=0, Resulting Numbers: [0] 0,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[40, 27], Operations: ['60-47=13', '40-13=27'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[40, 27], Operations: ['60-47=13', '40-13=27'] Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,27 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,27 unequal: No Solution No 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: 27:[40, 47, 20], Operations: ['60-40=20'] Exploring Operation: 40-20=20, Resulting Numbers: [47, 20] Generated Node #0,1,0: 27:[47, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [47, 2] Generated Node #0,1,1: 27:[47, 2] Operation: 40/20=2 Exploring Operation: 47-40=7, Resulting Numbers: [20, 7] Generated Node #0,1,2: 27:[20, 7] Operation: 47-40=7 Exploring Operation: 47-20=27, Resulting Numbers: [40, 27] Generated Node #0,1,3: 27:[40, 27] Operation: 47-20=27 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 27:[20, 7], Operations: ['60-40=20', '47-40=7'] Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,27 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[40, 40, 47, 60], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [40, 47, 20] Generated Node #0,1: 27:[40, 47, 20] Operation: 60-40=20 Moving to Node #0,1 Current State: 27:[40, 47, 20], Operations: ['60-40=20'] Exploring Operation: 47-40=7, Resulting Numbers: [20, 7] Generated Node #0,1,2: 27:[20, 7] Operation: 47-40=7 Moving to Node #0,1,2 Current State: 27:[20, 7], Operations: ['60-40=20', '47-40=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 56, 59, 85, 33 ]
96
[ "59-56=3", "33/3=11", "85+11=96" ]
Current State: 96:[56, 59, 85, 33], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [85, 33, 3] Generated Node #2: [85, 33, 3] from Operation: 59-56=3 Current State: 96:[85, 33, 3], Operations: ['59-56=3'] Exploring Operation: 33/3=11, Resulting Numbers: [85, 11] Generated Node #3: [85, 11] from Operation: 33/3=11 Current State: 96:[85, 11], Operations: ['59-56=3', '33/3=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[56, 59, 85, 33], Operations: [] Exploring Operation: 56-33=23, Resulting Numbers: [59, 85, 23] Generated Node #0,0: 96:[59, 85, 23] Operation: 56-33=23 Exploring Operation: 59-56=3, Resulting Numbers: [85, 33, 3] Generated Node #0,1: 96:[85, 33, 3] Operation: 59-56=3 Exploring Operation: 59-33=26, Resulting Numbers: [56, 85, 26] Generated Node #0,2: 96:[56, 85, 26] Operation: 59-33=26 Exploring Operation: 85-56=29, Resulting Numbers: [59, 33, 29] Generated Node #0,3: 96:[59, 33, 29] Operation: 85-56=29 Exploring Operation: 85-59=26, Resulting Numbers: [56, 33, 26] Generated Node #0,4: 96:[56, 33, 26] Operation: 85-59=26 Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[56, 33, 26], Operations: ['85-59=26'] Exploring Operation: 56-33=23, Resulting Numbers: [26, 23] Generated Node #0,4,0: 96:[26, 23] Operation: 56-33=23 Exploring Operation: 56-26=30, Resulting Numbers: [33, 30] Generated Node #0,4,1: 96:[33, 30] Operation: 56-26=30 Exploring Operation: 56+33=89, Resulting Numbers: [26, 89] Generated Node #0,4,2: 96:[26, 89] Operation: 56+33=89 Exploring Operation: 33-26=7, Resulting Numbers: [56, 7] Generated Node #0,4,3: 96:[56, 7] Operation: 33-26=7 Exploring Operation: 56+26=82, Resulting Numbers: [33, 82] Generated Node #0,4,4: 96:[33, 82] Operation: 56+26=82 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 96:[26, 23], Operations: ['85-59=26', '56-33=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 96:[33, 30], Operations: ['85-59=26', '56-26=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 96:[26, 89], Operations: ['85-59=26', '56+33=89'] Exploring Operation: 26*89=2314, Resulting Numbers: [2314] 2314,96 unequal: No Solution Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 96:[56, 7], Operations: ['85-59=26', '33-26=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,96 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 96:[33, 82], Operations: ['85-59=26', '56+26=82'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[85, 33, 3], Operations: ['59-56=3'] Exploring Operation: 85-33=52, Resulting Numbers: [3, 52] Generated Node #0,1,0: 96:[3, 52] Operation: 85-33=52 Exploring Operation: 33*3=99, Resulting Numbers: [85, 99] Generated Node #0,1,1: 96:[85, 99] Operation: 33*3=99 Exploring Operation: 85+3=88, Resulting Numbers: [33, 88] Generated Node #0,1,2: 96:[33, 88] Operation: 85+3=88 Exploring Operation: 33/3=11, Resulting Numbers: [85, 11] Generated Node #0,1,3: 96:[85, 11] Operation: 33/3=11 Exploring Operation: 33-3=30, Resulting Numbers: [85, 30] Generated Node #0,1,4: 96:[85, 30] Operation: 33-3=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[3, 52], Operations: ['59-56=3', '85-33=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,96 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[33, 88], Operations: ['59-56=3', '85+3=88'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 33+88=121, Resulting Numbers: [121] 121,96 unequal: No Solution Exploring Operation: 33*88=2904, Resulting Numbers: [2904] 2904,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 96:[85, 11], Operations: ['59-56=3', '33/3=11'] Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,96 unequal: No Solution Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[56, 59, 85, 33], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [85, 33, 3] Generated Node #0,1: 96:[85, 33, 3] Operation: 59-56=3 Moving to Node #0,1 Current State: 96:[85, 33, 3], Operations: ['59-56=3'] Exploring Operation: 33/3=11, Resulting Numbers: [85, 11] Generated Node #0,1,3: 96:[85, 11] Operation: 33/3=11 Moving to Node #0,1,3 Current State: 96:[85, 11], Operations: ['59-56=3', '33/3=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.961806
hs_5
mult_heuristic
[ 75, 17, 4, 87 ]
65
[ "87-75=12", "4*12=48", "17+48=65" ]
Current State: 65:[75, 17, 4, 87], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [17, 4, 12] Generated Node #2: [17, 4, 12] from Operation: 87-75=12 Current State: 65:[17, 4, 12], Operations: ['87-75=12'] Exploring Operation: 4*12=48, Resulting Numbers: [17, 48] Generated Node #3: [17, 48] from Operation: 4*12=48 Current State: 65:[17, 48], Operations: ['87-75=12', '4*12=48'] Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[75, 17, 4, 87], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [17, 4, 12] Generated Node #0,0: 65:[17, 4, 12] Operation: 87-75=12 Exploring Operation: 87-17=70, Resulting Numbers: [75, 4, 70] Generated Node #0,1: 65:[75, 4, 70] Operation: 87-17=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[17, 4, 12], Operations: ['87-75=12'] Exploring Operation: 17-4=13, Resulting Numbers: [12, 13] Generated Node #0,0,0: 65:[12, 13] Operation: 17-4=13 Exploring Operation: 17-12=5, Resulting Numbers: [4, 5] Generated Node #0,0,1: 65:[4, 5] Operation: 17-12=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[12, 13], Operations: ['87-75=12', '17-4=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[4, 5], Operations: ['87-75=12', '17-12=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[75, 4, 70], Operations: ['87-17=70'] Exploring Operation: 75-70=5, Resulting Numbers: [4, 5] Generated Node #0,1,0: 65:[4, 5] Operation: 75-70=5 Exploring Operation: 75-4=71, Resulting Numbers: [70, 71] Generated Node #0,1,1: 65:[70, 71] Operation: 75-4=71 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[4, 5], Operations: ['87-17=70', '75-70=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[70, 71], Operations: ['87-17=70', '75-4=71'] Exploring Operation: 70+71=141, Resulting Numbers: [141] 141,65 unequal: No Solution Exploring Operation: 71-70=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 19, 47, 39, 43 ]
38
[ "47+39=86", "19*86=1634", "1634/43=38" ]
Current State: 38:[19, 47, 39, 43], Operations: [] Exploring Operation: 47+39=86, Resulting Numbers: [19, 43, 86] Generated Node #2: [19, 43, 86] from Operation: 47+39=86 Current State: 38:[19, 43, 86], Operations: ['47+39=86'] Exploring Operation: 19*86=1634, Resulting Numbers: [43, 1634] Generated Node #3: [43, 1634] from Operation: 19*86=1634 Current State: 38:[43, 1634], Operations: ['47+39=86', '19*86=1634'] Exploring Operation: 1634/43=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[19, 47, 39, 43], Operations: [] Exploring Operation: 47-39=8, Resulting Numbers: [19, 43, 8] Generated Node #0,0: 38:[19, 43, 8] Operation: 47-39=8 Exploring Operation: 43-39=4, Resulting Numbers: [19, 47, 4] Generated Node #0,1: 38:[19, 47, 4] Operation: 43-39=4 Exploring Operation: 47-19=28, Resulting Numbers: [39, 43, 28] Generated Node #0,2: 38:[39, 43, 28] Operation: 47-19=28 Exploring Operation: 47-43=4, Resulting Numbers: [19, 39, 4] Generated Node #0,3: 38:[19, 39, 4] Operation: 47-43=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[19, 39, 4], Operations: ['47-43=4'] Exploring Operation: 39-4=35, Resulting Numbers: [19, 35] Generated Node #0,3,0: 38:[19, 35] Operation: 39-4=35 Exploring Operation: 39-19=20, Resulting Numbers: [4, 20] Generated Node #0,3,1: 38:[4, 20] Operation: 39-19=20 Exploring Operation: 19+4=23, Resulting Numbers: [39, 23] Generated Node #0,3,2: 38:[39, 23] Operation: 19+4=23 Exploring Operation: 19-4=15, Resulting Numbers: [39, 15] Generated Node #0,3,3: 38:[39, 15] Operation: 19-4=15 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[19, 35], Operations: ['47-43=4', '39-4=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,38 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,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:[4, 20], Operations: ['47-43=4', '39-19=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,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:[39, 23], Operations: ['47-43=4', '19+4=23'] Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,38 unequal: No Solution Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,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:[39, 15], Operations: ['47-43=4', '19-4=15'] Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,38 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,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:[19, 43, 8], Operations: ['47-39=8'] Exploring Operation: 19+8=27, Resulting Numbers: [43, 27] Generated Node #0,0,0: 38:[43, 27] Operation: 19+8=27 Exploring Operation: 19-8=11, Resulting Numbers: [43, 11] Generated Node #0,0,1: 38:[43, 11] Operation: 19-8=11 Exploring Operation: 43-8=35, Resulting Numbers: [19, 35] Generated Node #0,0,2: 38:[19, 35] Operation: 43-8=35 Exploring Operation: 43-19=24, Resulting Numbers: [8, 24] Generated Node #0,0,3: 38:[8, 24] Operation: 43-19=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[19, 35], Operations: ['47-39=8', '43-8=35'] Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,38 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,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,0,3 Current State: 38:[8, 24], Operations: ['47-39=8', '43-19=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,38 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,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,0,0 Current State: 38:[43, 27], Operations: ['47-39=8', '19+8=27'] Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,38 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,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,0,1 Current State: 38:[43, 11], Operations: ['47-39=8', '19-8=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,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,1 Current State: 38:[19, 47, 4], Operations: ['43-39=4'] Exploring Operation: 19-4=15, Resulting Numbers: [47, 15] Generated Node #0,1,0: 38:[47, 15] Operation: 19-4=15 Exploring Operation: 47-4=43, Resulting Numbers: [19, 43] Generated Node #0,1,1: 38:[19, 43] Operation: 47-4=43 Exploring Operation: 19+4=23, Resulting Numbers: [47, 23] Generated Node #0,1,2: 38:[47, 23] Operation: 19+4=23 Exploring Operation: 47-19=28, Resulting Numbers: [4, 28] Generated Node #0,1,3: 38:[4, 28] Operation: 47-19=28 Moving to Node #0,1,1 Current State: 38:[19, 43], Operations: ['43-39=4', '47-4=43'] Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,38 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[4, 28], Operations: ['43-39=4', '47-19=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,38 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[47, 23], Operations: ['43-39=4', '19+4=23'] Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,38 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[47, 15], Operations: ['43-39=4', '19-4=15'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,38 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[39, 43, 28], Operations: ['47-19=28'] Exploring Operation: 43-28=15, Resulting Numbers: [39, 15] Generated Node #0,2,0: 38:[39, 15] Operation: 43-28=15 Exploring Operation: 39+28=67, Resulting Numbers: [43, 67] Generated Node #0,2,1: 38:[43, 67] Operation: 39+28=67 Exploring Operation: 39-28=11, Resulting Numbers: [43, 11] Generated Node #0,2,2: 38:[43, 11] Operation: 39-28=11 Exploring Operation: 43-39=4, Resulting Numbers: [28, 4] Generated Node #0,2,3: 38:[28, 4] Operation: 43-39=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[39, 15], Operations: ['47-19=28', '43-28=15'] Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,38 unequal: No Solution Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,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:[28, 4], Operations: ['47-19=28', '43-39=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,38 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,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:[43, 11], Operations: ['47-19=28', '39-28=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,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:[43, 67], Operations: ['47-19=28', '39+28=67'] Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,38 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,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 No solution found.
0
hs_4
mult_heuristic
[ 95, 45, 2, 61 ]
81
[ "95+45=140", "61-2=59", "140-59=81" ]
Current State: 81:[95, 45, 2, 61], Operations: [] Exploring Operation: 95+45=140, Resulting Numbers: [2, 61, 140] Generated Node #2: [2, 61, 140] from Operation: 95+45=140 Current State: 81:[2, 61, 140], Operations: ['95+45=140'] Exploring Operation: 61-2=59, Resulting Numbers: [140, 59] Generated Node #3: [140, 59] from Operation: 61-2=59 Current State: 81:[140, 59], Operations: ['95+45=140', '61-2=59'] Exploring Operation: 140-59=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[95, 45, 2, 61], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [45, 2, 34] Generated Node #0,0: 81:[45, 2, 34] Operation: 95-61=34 Exploring Operation: 61-45=16, Resulting Numbers: [95, 2, 16] Generated Node #0,1: 81:[95, 2, 16] Operation: 61-45=16 Moving to Node #0,1 Current State: 81:[95, 2, 16], Operations: ['61-45=16'] Exploring Operation: 16/2=8, Resulting Numbers: [95, 8] Generated Node #0,1,0: 81:[95, 8] Operation: 16/2=8 Exploring Operation: 95-16=79, Resulting Numbers: [2, 79] Generated Node #0,1,1: 81:[2, 79] Operation: 95-16=79 Moving to Node #0,0 Current State: 81:[45, 2, 34], Operations: ['95-61=34'] Exploring Operation: 45-34=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 81:[2, 11] Operation: 45-34=11 Exploring Operation: 45+34=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 81:[2, 79] Operation: 45+34=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[2, 11], Operations: ['95-61=34', '45-34=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[2, 79], Operations: ['95-61=34', '45+34=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[95, 45, 2, 61], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [45, 2, 34] Generated Node #0,0: 81:[45, 2, 34] Operation: 95-61=34 Moving to Node #0,0 Current State: 81:[45, 2, 34], Operations: ['95-61=34'] Exploring Operation: 45+34=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 81:[2, 79] Operation: 45+34=79 Moving to Node #0,0,1 Current State: 81:[2, 79], Operations: ['95-61=34', '45+34=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
sum_heuristic
[ 8, 85, 37, 43 ]
83
[ "85-8=77", "43-37=6", "77+6=83" ]
Current State: 83:[8, 85, 37, 43], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [37, 43, 77] Generated Node #2: [37, 43, 77] from Operation: 85-8=77 Current State: 83:[37, 43, 77], Operations: ['85-8=77'] Exploring Operation: 43-37=6, Resulting Numbers: [77, 6] Generated Node #3: [77, 6] from Operation: 43-37=6 Current State: 83:[77, 6], Operations: ['85-8=77', '43-37=6'] Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[8, 85, 37, 43], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [37, 43, 77] Generated Node #0,0: 83:[37, 43, 77] Operation: 85-8=77 Exploring Operation: 8+43=51, Resulting Numbers: [85, 37, 51] Generated Node #0,1: 83:[85, 37, 51] Operation: 8+43=51 Exploring Operation: 37+43=80, Resulting Numbers: [8, 85, 80] Generated Node #0,2: 83:[8, 85, 80] Operation: 37+43=80 Exploring Operation: 8+37=45, Resulting Numbers: [85, 43, 45] Generated Node #0,3: 83:[85, 43, 45] Operation: 8+37=45 Exploring Operation: 8+85=93, Resulting Numbers: [37, 43, 93] Generated Node #0,4: 83:[37, 43, 93] Operation: 8+85=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[85, 37, 51], Operations: ['8+43=51'] Exploring Operation: 85-51=34, Resulting Numbers: [37, 34] Generated Node #0,1,0: 83:[37, 34] Operation: 85-51=34 Exploring Operation: 85+37=122, Resulting Numbers: [51, 122] Generated Node #0,1,1: 83:[51, 122] Operation: 85+37=122 Exploring Operation: 37+51=88, Resulting Numbers: [85, 88] Generated Node #0,1,2: 83:[85, 88] Operation: 37+51=88 Exploring Operation: 51-37=14, Resulting Numbers: [85, 14] Generated Node #0,1,3: 83:[85, 14] Operation: 51-37=14 Exploring Operation: 85-37=48, Resulting Numbers: [51, 48] Generated Node #0,1,4: 83:[51, 48] Operation: 85-37=48 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[85, 88], Operations: ['8+43=51', '37+51=88'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,83 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,83 unequal: No Solution No 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: 83:[51, 48], Operations: ['8+43=51', '85-37=48'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,83 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,83 unequal: No Solution No 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: 83:[51, 122], Operations: ['8+43=51', '85+37=122'] Exploring Operation: 51+122=173, Resulting Numbers: [173] 173,83 unequal: No Solution Exploring Operation: 122-51=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 51*122=6222, Resulting Numbers: [6222] 6222,83 unequal: No Solution No 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: 83:[85, 14], Operations: ['8+43=51', '51-37=14'] Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,83 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,83 unequal: No Solution No 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: 83:[37, 34], Operations: ['8+43=51', '85-51=34'] Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[8, 85, 80], Operations: ['37+43=80'] Exploring Operation: 85-8=77, Resulting Numbers: [80, 77] Generated Node #0,2,0: 83:[80, 77] Operation: 85-8=77 Exploring Operation: 80-8=72, Resulting Numbers: [85, 72] Generated Node #0,2,1: 83:[85, 72] Operation: 80-8=72 Exploring Operation: 80/8=10, Resulting Numbers: [85, 10] Generated Node #0,2,2: 83:[85, 10] Operation: 80/8=10 Exploring Operation: 8+80=88, Resulting Numbers: [85, 88] Generated Node #0,2,3: 83:[85, 88] Operation: 8+80=88 Exploring Operation: 8+85=93, Resulting Numbers: [80, 93] Generated Node #0,2,4: 83:[80, 93] Operation: 8+85=93 Moving to Node #0,2,3 Current State: 83:[85, 88], Operations: ['37+43=80', '8+80=88'] Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,83 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[80, 77], Operations: ['37+43=80', '85-8=77'] Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,83 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[85, 72], Operations: ['37+43=80', '80-8=72'] Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 85*72=6120, Resulting Numbers: [6120] 6120,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[80, 93], Operations: ['37+43=80', '8+85=93'] Exploring Operation: 93-80=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 80+93=173, Resulting Numbers: [173] 173,83 unequal: No Solution Exploring Operation: 80*93=7440, Resulting Numbers: [7440] 7440,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[85, 10], Operations: ['37+43=80', '80/8=10'] Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,83 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,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,3 Current State: 83:[85, 43, 45], Operations: ['8+37=45'] Exploring Operation: 85-45=40, Resulting Numbers: [43, 40] Generated Node #0,3,0: 83:[43, 40] Operation: 85-45=40 Exploring Operation: 85-43=42, Resulting Numbers: [45, 42] Generated Node #0,3,1: 83:[45, 42] Operation: 85-43=42 Exploring Operation: 85+43=128, Resulting Numbers: [45, 128] Generated Node #0,3,2: 83:[45, 128] Operation: 85+43=128 Exploring Operation: 43+45=88, Resulting Numbers: [85, 88] Generated Node #0,3,3: 83:[85, 88] Operation: 43+45=88 Exploring Operation: 45-43=2, Resulting Numbers: [85, 2] Generated Node #0,3,4: 83:[85, 2] Operation: 45-43=2 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[85, 88], Operations: ['8+37=45', '43+45=88'] Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,83 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,83 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,83 unequal: No Solution No 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: 83:[45, 42], Operations: ['8+37=45', '85-43=42'] Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,83 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,83 unequal: No Solution No 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: 83:[43, 40], Operations: ['8+37=45', '85-45=40'] Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 43*40=1720, Resulting Numbers: [1720] 1720,83 unequal: No Solution Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[8, 85, 37, 43], Operations: [] Exploring Operation: 8+37=45, Resulting Numbers: [85, 43, 45] Generated Node #0,3: 83:[85, 43, 45] Operation: 8+37=45 Moving to Node #0,3 Current State: 83:[85, 43, 45], Operations: ['8+37=45'] Exploring Operation: 85-45=40, Resulting Numbers: [43, 40] Generated Node #0,3,0: 83:[43, 40] Operation: 85-45=40 Moving to Node #0,3,0 Current State: 83:[43, 40], Operations: ['8+37=45', '85-45=40'] Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_5
mult_heuristic
[ 81, 79, 5, 35 ]
38
[ "81-79=2", "5+35=40", "40-2=38" ]
Current State: 38:[81, 79, 5, 35], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [5, 35, 2] Generated Node #2: [5, 35, 2] from Operation: 81-79=2 Current State: 38:[5, 35, 2], Operations: ['81-79=2'] Exploring Operation: 5+35=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 5+35=40 Current State: 38:[2, 40], Operations: ['81-79=2', '5+35=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[81, 79, 5, 35], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [5, 35, 2] Generated Node #0,0: 38:[5, 35, 2] Operation: 81-79=2 Moving to Node #0,0 Current State: 38:[5, 35, 2], Operations: ['81-79=2'] Exploring Operation: 5+35=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 38:[2, 40] Operation: 5+35=40 Moving to Node #0,0,0 Current State: 38:[2, 40], Operations: ['81-79=2', '5+35=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[81, 79, 5, 35], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [5, 35, 2] Generated Node #0,0: 38:[5, 35, 2] Operation: 81-79=2 Moving to Node #0,0 Current State: 38:[5, 35, 2], Operations: ['81-79=2'] Exploring Operation: 5+35=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 38:[2, 40] Operation: 5+35=40 Moving to Node #0,0,0 Current State: 38:[2, 40], Operations: ['81-79=2', '5+35=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 32, 45, 61, 43 ]
59
[ "32+45=77", "61-43=18", "77-18=59" ]
Current State: 59:[32, 45, 61, 43], Operations: [] Exploring Operation: 32+45=77, Resulting Numbers: [61, 43, 77] Generated Node #2: [61, 43, 77] from Operation: 32+45=77 Current State: 59:[61, 43, 77], Operations: ['32+45=77'] Exploring Operation: 61-43=18, Resulting Numbers: [77, 18] Generated Node #3: [77, 18] from Operation: 61-43=18 Current State: 59:[77, 18], Operations: ['32+45=77', '61-43=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[32, 45, 61, 43], Operations: [] Exploring Operation: 32+43=75, Resulting Numbers: [45, 61, 75] Generated Node #0,0: 59:[45, 61, 75] Operation: 32+43=75 Exploring Operation: 32+45=77, Resulting Numbers: [61, 43, 77] Generated Node #0,1: 59:[61, 43, 77] Operation: 32+45=77 Moving to Node #0,0 Current State: 59:[45, 61, 75], Operations: ['32+43=75'] Exploring Operation: 75-45=30, Resulting Numbers: [61, 30] Generated Node #0,0,0: 59:[61, 30] Operation: 75-45=30 Exploring Operation: 61-45=16, Resulting Numbers: [75, 16] Generated Node #0,0,1: 59:[75, 16] Operation: 61-45=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[61, 30], Operations: ['32+43=75', '75-45=30'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[75, 16], Operations: ['32+43=75', '61-45=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[32, 45, 61, 43], Operations: [] Exploring Operation: 32+43=75, Resulting Numbers: [45, 61, 75] Generated Node #0,0: 59:[45, 61, 75] Operation: 32+43=75 Moving to Node #0,0 Current State: 59:[45, 61, 75], Operations: ['32+43=75'] Exploring Operation: 61-45=16, Resulting Numbers: [75, 16] Generated Node #0,0,1: 59:[75, 16] Operation: 61-45=16 Moving to Node #0,0,1 Current State: 59:[75, 16], Operations: ['32+43=75', '61-45=16'] Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 2, 70, 82, 48 ]
100
[ "70+82=152", "48+152=200", "200/2=100" ]
Current State: 100:[2, 70, 82, 48], Operations: [] Exploring Operation: 70+82=152, Resulting Numbers: [2, 48, 152] Generated Node #2: [2, 48, 152] from Operation: 70+82=152 Current State: 100:[2, 48, 152], Operations: ['70+82=152'] Exploring Operation: 48+152=200, Resulting Numbers: [2, 200] Generated Node #3: [2, 200] from Operation: 48+152=200 Current State: 100:[2, 200], Operations: ['70+82=152', '48+152=200'] Exploring Operation: 200/2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[2, 70, 82, 48], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [2, 48, 12] Generated Node #0,0: 100:[2, 48, 12] Operation: 82-70=12 Exploring Operation: 70-48=22, Resulting Numbers: [2, 82, 22] Generated Node #0,1: 100:[2, 82, 22] Operation: 70-48=22 Exploring Operation: 82-48=34, Resulting Numbers: [2, 70, 34] Generated Node #0,2: 100:[2, 70, 34] Operation: 82-48=34 Exploring Operation: 70/2=35, Resulting Numbers: [82, 48, 35] Generated Node #0,3: 100:[82, 48, 35] Operation: 70/2=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[2, 48, 12], Operations: ['82-70=12'] Exploring Operation: 2+48=50, Resulting Numbers: [12, 50] Generated Node #0,0,0: 100:[12, 50] Operation: 2+48=50 Exploring Operation: 48/2=24, Resulting Numbers: [12, 24] Generated Node #0,0,1: 100:[12, 24] Operation: 48/2=24 Exploring Operation: 48/12=4, Resulting Numbers: [2, 4] Generated Node #0,0,2: 100:[2, 4] Operation: 48/12=4 Exploring Operation: 12-2=10, Resulting Numbers: [48, 10] Generated Node #0,0,3: 100:[48, 10] Operation: 12-2=10 Moving to Node #0,0,2 Current State: 100:[2, 4], Operations: ['82-70=12', '48/12=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[48, 10], Operations: ['82-70=12', '12-2=10'] Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,100 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[12, 50], Operations: ['82-70=12', '2+48=50'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[12, 24], Operations: ['82-70=12', '48/2=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[2, 82, 22], Operations: ['70-48=22'] Exploring Operation: 82+22=104, Resulting Numbers: [2, 104] Generated Node #0,1,0: 100:[2, 104] Operation: 82+22=104 Exploring Operation: 82-22=60, Resulting Numbers: [2, 60] Generated Node #0,1,1: 100:[2, 60] Operation: 82-22=60 Exploring Operation: 2+82=84, Resulting Numbers: [22, 84] Generated Node #0,1,2: 100:[22, 84] Operation: 2+82=84 Exploring Operation: 82/2=41, Resulting Numbers: [22, 41] Generated Node #0,1,3: 100:[22, 41] Operation: 82/2=41 Moving to Node #0,1,0 Current State: 100:[2, 104], Operations: ['70-48=22', '82+22=104'] Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 2+104=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 2*104=208, Resulting Numbers: [208] 208,100 unequal: No Solution Exploring Operation: 104-2=102, Resulting Numbers: [102] 102,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[2, 60], Operations: ['70-48=22', '82-22=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,100 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[22, 41], Operations: ['70-48=22', '82/2=41'] Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,100 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,100 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[22, 84], Operations: ['70-48=22', '2+82=84'] Exploring Operation: 22*84=1848, Resulting Numbers: [1848] 1848,100 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 22+84=106, Resulting Numbers: [106] 106,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[2, 70, 34], Operations: ['82-48=34'] Exploring Operation: 70-34=36, Resulting Numbers: [2, 36] Generated Node #0,2,0: 100:[2, 36] Operation: 70-34=36 Exploring Operation: 34/2=17, Resulting Numbers: [70, 17] Generated Node #0,2,1: 100:[70, 17] Operation: 34/2=17 Exploring Operation: 70+34=104, Resulting Numbers: [2, 104] Generated Node #0,2,2: 100:[2, 104] Operation: 70+34=104 Exploring Operation: 70/2=35, Resulting Numbers: [34, 35] Generated Node #0,2,3: 100:[34, 35] Operation: 70/2=35 Moving to Node #0,2,2 Current State: 100:[2, 104], Operations: ['82-48=34', '70+34=104'] Exploring Operation: 104-2=102, Resulting Numbers: [102] 102,100 unequal: No Solution Exploring Operation: 2+104=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 2*104=208, Resulting Numbers: [208] 208,100 unequal: No Solution Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[2, 36], Operations: ['82-48=34', '70-34=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[34, 35], Operations: ['82-48=34', '70/2=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,100 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[70, 17], Operations: ['82-48=34', '34/2=17'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 70*17=1190, Resulting Numbers: [1190] 1190,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[82, 48, 35], Operations: ['70/2=35'] Exploring Operation: 82-48=34, Resulting Numbers: [35, 34] Generated Node #0,3,0: 100:[35, 34] Operation: 82-48=34 Exploring Operation: 48-35=13, Resulting Numbers: [82, 13] Generated Node #0,3,1: 100:[82, 13] Operation: 48-35=13 Exploring Operation: 82+35=117, Resulting Numbers: [48, 117] Generated Node #0,3,2: 100:[48, 117] Operation: 82+35=117 Exploring Operation: 82-35=47, Resulting Numbers: [48, 47] Generated Node #0,3,3: 100:[48, 47] Operation: 82-35=47 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[48, 47], Operations: ['70/2=35', '82-35=47'] Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,100 unequal: No Solution Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[35, 34], Operations: ['70/2=35', '82-48=34'] Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[48, 117], Operations: ['70/2=35', '82+35=117'] Exploring Operation: 48+117=165, Resulting Numbers: [165] 165,100 unequal: No Solution Exploring Operation: 117-48=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 48*117=5616, Resulting Numbers: [5616] 5616,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[82, 13], Operations: ['70/2=35', '48-35=13'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,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_4
sum_heuristic
[ 60, 30, 22, 44 ]
64
[ "60/30=2", "22+44=66", "66-2=64" ]
Current State: 64:[60, 30, 22, 44], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [22, 44, 2] Generated Node #2: [22, 44, 2] from Operation: 60/30=2 Current State: 64:[22, 44, 2], Operations: ['60/30=2'] Exploring Operation: 22+44=66, Resulting Numbers: [2, 66] Generated Node #3: [2, 66] from Operation: 22+44=66 Current State: 64:[2, 66], Operations: ['60/30=2', '22+44=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[60, 30, 22, 44], Operations: [] Exploring Operation: 22+44=66, Resulting Numbers: [60, 30, 66] Generated Node #0,0: 64:[60, 30, 66] Operation: 22+44=66 Exploring Operation: 60-44=16, Resulting Numbers: [30, 22, 16] Generated Node #0,1: 64:[30, 22, 16] Operation: 60-44=16 Exploring Operation: 44/22=2, Resulting Numbers: [60, 30, 2] Generated Node #0,2: 64:[60, 30, 2] Operation: 44/22=2 Exploring Operation: 44-30=14, Resulting Numbers: [60, 22, 14] Generated Node #0,3: 64:[60, 22, 14] Operation: 44-30=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[60, 30, 2], Operations: ['44/22=2'] Exploring Operation: 60/30=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 64:[2, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [2, 30] Generated Node #0,2,1: 64:[2, 30] Operation: 60-30=30 Exploring Operation: 60+2=62, Resulting Numbers: [30, 62] Generated Node #0,2,2: 64:[30, 62] Operation: 60+2=62 Exploring Operation: 60/2=30, Resulting Numbers: [30, 30] Generated Node #0,2,3: 64:[30, 30] Operation: 60/2=30 Moving to Node #0,2,0 Current State: 64:[2, 2], Operations: ['44/22=2', '60/30=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[2, 30], Operations: ['44/22=2', '60-30=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[30, 30], Operations: ['44/22=2', '60/2=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[30, 62], Operations: ['44/22=2', '60+2=62'] Exploring Operation: 30+62=92, Resulting Numbers: [92] 92,64 unequal: No Solution Exploring Operation: 30*62=1860, Resulting Numbers: [1860] 1860,64 unequal: No Solution Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[60, 30, 66], Operations: ['22+44=66'] Exploring Operation: 60/30=2, Resulting Numbers: [66, 2] Generated Node #0,0,0: 64:[66, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [66, 30] Generated Node #0,0,1: 64:[66, 30] Operation: 60-30=30 Exploring Operation: 66-60=6, Resulting Numbers: [30, 6] Generated Node #0,0,2: 64:[30, 6] Operation: 66-60=6 Exploring Operation: 66-30=36, Resulting Numbers: [60, 36] Generated Node #0,0,3: 64:[60, 36] Operation: 66-30=36 Moving to Node #0,0,0 Current State: 64:[66, 2], Operations: ['22+44=66', '60/30=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[60, 30, 22, 44], Operations: [] Exploring Operation: 22+44=66, Resulting Numbers: [60, 30, 66] Generated Node #0,0: 64:[60, 30, 66] Operation: 22+44=66 Moving to Node #0,0 Current State: 64:[60, 30, 66], Operations: ['22+44=66'] Exploring Operation: 60/30=2, Resulting Numbers: [66, 2] Generated Node #0,0,0: 64:[66, 2] Operation: 60/30=2 Moving to Node #0,0,0 Current State: 64:[66, 2], Operations: ['22+44=66', '60/30=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 5, 58, 76, 86 ]
56
[ "86-76=10", "10/5=2", "58-2=56" ]
Current State: 56:[5, 58, 76, 86], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [5, 58, 10] Generated Node #2: [5, 58, 10] from Operation: 86-76=10 Current State: 56:[5, 58, 10], Operations: ['86-76=10'] Exploring Operation: 10/5=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 10/5=2 Current State: 56:[58, 2], Operations: ['86-76=10', '10/5=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[5, 58, 76, 86], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [5, 58, 10] Generated Node #0,0: 56:[5, 58, 10] Operation: 86-76=10 Exploring Operation: 86-58=28, Resulting Numbers: [5, 76, 28] Generated Node #0,1: 56:[5, 76, 28] Operation: 86-58=28 Exploring Operation: 76-58=18, Resulting Numbers: [5, 86, 18] Generated Node #0,2: 56:[5, 86, 18] Operation: 76-58=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[5, 58, 10], Operations: ['86-76=10'] Exploring Operation: 5+10=15, Resulting Numbers: [58, 15] Generated Node #0,0,0: 56:[58, 15] Operation: 5+10=15 Exploring Operation: 10/5=2, Resulting Numbers: [58, 2] Generated Node #0,0,1: 56:[58, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [58, 5] Generated Node #0,0,2: 56:[58, 5] Operation: 10-5=5 Moving to Node #0,0,1 Current State: 56:[58, 2], Operations: ['86-76=10', '10/5=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[5, 58, 76, 86], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [5, 58, 10] Generated Node #0,0: 56:[5, 58, 10] Operation: 86-76=10 Moving to Node #0,0 Current State: 56:[5, 58, 10], Operations: ['86-76=10'] Exploring Operation: 10/5=2, Resulting Numbers: [58, 2] Generated Node #0,0,1: 56:[58, 2] Operation: 10/5=2 Moving to Node #0,0,1 Current State: 56:[58, 2], Operations: ['86-76=10', '10/5=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 60, 40, 46, 74 ]
65
[ "60*74=4440", "4440/40=111", "111-46=65" ]
Current State: 65:[60, 40, 46, 74], Operations: [] Exploring Operation: 60*74=4440, Resulting Numbers: [40, 46, 4440] Generated Node #2: [40, 46, 4440] from Operation: 60*74=4440 Current State: 65:[40, 46, 4440], Operations: ['60*74=4440'] Exploring Operation: 4440/40=111, Resulting Numbers: [46, 111] Generated Node #3: [46, 111] from Operation: 4440/40=111 Current State: 65:[46, 111], Operations: ['60*74=4440', '4440/40=111'] Exploring Operation: 111-46=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[60, 40, 46, 74], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [40, 74, 14] Generated Node #0,0: 65:[40, 74, 14] Operation: 60-46=14 Exploring Operation: 60-40=20, Resulting Numbers: [46, 74, 20] Generated Node #0,1: 65:[46, 74, 20] Operation: 60-40=20 Exploring Operation: 46-40=6, Resulting Numbers: [60, 74, 6] Generated Node #0,2: 65:[60, 74, 6] Operation: 46-40=6 Moving to Node #0,2 Current State: 65:[60, 74, 6], Operations: ['46-40=6'] Exploring Operation: 60+6=66, Resulting Numbers: [74, 66] Generated Node #0,2,0: 65:[74, 66] Operation: 60+6=66 Exploring Operation: 74-60=14, Resulting Numbers: [6, 14] Generated Node #0,2,1: 65:[6, 14] Operation: 74-60=14 Exploring Operation: 74-6=68, Resulting Numbers: [60, 68] Generated Node #0,2,2: 65:[60, 68] Operation: 74-6=68 Moving to Node #0,0 Current State: 65:[40, 74, 14], Operations: ['60-46=14'] Exploring Operation: 40+14=54, Resulting Numbers: [74, 54] Generated Node #0,0,0: 65:[74, 54] Operation: 40+14=54 Exploring Operation: 74-40=34, Resulting Numbers: [14, 34] Generated Node #0,0,1: 65:[14, 34] Operation: 74-40=34 Exploring Operation: 40-14=26, Resulting Numbers: [74, 26] Generated Node #0,0,2: 65:[74, 26] Operation: 40-14=26 Moving to Node #0,1 Current State: 65:[46, 74, 20], Operations: ['60-40=20'] Exploring Operation: 46+20=66, Resulting Numbers: [74, 66] Generated Node #0,1,0: 65:[74, 66] Operation: 46+20=66 Exploring Operation: 46-20=26, Resulting Numbers: [74, 26] Generated Node #0,1,1: 65:[74, 26] Operation: 46-20=26 Exploring Operation: 74-46=28, Resulting Numbers: [20, 28] Generated Node #0,1,2: 65:[20, 28] Operation: 74-46=28 Moving to Node #0,2,1 Current State: 65:[6, 14], Operations: ['46-40=6', '74-60=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,65 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[60, 68], Operations: ['46-40=6', '74-6=68'] Exploring Operation: 60*68=4080, Resulting Numbers: [4080] 4080,65 unequal: No Solution Exploring Operation: 60+68=128, Resulting Numbers: [128] 128,65 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[74, 66], Operations: ['46-40=6', '60+6=66'] Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,65 unequal: No Solution Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[74, 66], Operations: ['60-40=20', '46+20=66'] Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,65 unequal: No Solution Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[74, 54], Operations: ['60-46=14', '40+14=54'] Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,65 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[74, 26], Operations: ['60-46=14', '40-14=26'] Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,65 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[20, 28], Operations: ['60-40=20', '74-46=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,65 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[14, 34], Operations: ['60-46=14', '74-40=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[74, 26], Operations: ['60-40=20', '46-20=26'] Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,65 unequal: No Solution Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,65 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,65 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 32, 22, 66, 44 ]
31
[ "66-22=44", "44/44=1", "32-1=31" ]
Current State: 31:[32, 22, 66, 44], Operations: [] Exploring Operation: 66-22=44, Resulting Numbers: [32, 44, 44] Generated Node #2: [32, 44, 44] from Operation: 66-22=44 Current State: 31:[32, 44, 44], Operations: ['66-22=44'] Exploring Operation: 44/44=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 44/44=1 Current State: 31:[32, 1], Operations: ['66-22=44', '44/44=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[32, 22, 66, 44], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [32, 44, 3] Generated Node #0,0: 31:[32, 44, 3] Operation: 66/22=3 Exploring Operation: 66-32=34, Resulting Numbers: [22, 44, 34] Generated Node #0,1: 31:[22, 44, 34] Operation: 66-32=34 Exploring Operation: 66-44=22, Resulting Numbers: [32, 22, 22] Generated Node #0,2: 31:[32, 22, 22] Operation: 66-44=22 Exploring Operation: 66-22=44, Resulting Numbers: [32, 44, 44] Generated Node #0,3: 31:[32, 44, 44] Operation: 66-22=44 Moving to Node #0,2 Current State: 31:[32, 22, 22], Operations: ['66-44=22'] Exploring Operation: 22/22=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 31:[32, 1] Operation: 22/22=1 Exploring Operation: 32-22=10, Resulting Numbers: [22, 10] Generated Node #0,2,1: 31:[22, 10] Operation: 32-22=10 Exploring Operation: 22+22=44, Resulting Numbers: [32, 44] Generated Node #0,2,2: 31:[32, 44] Operation: 22+22=44 Exploring Operation: 32-22=10, Resulting Numbers: [22, 10] Generated Node #0,2,3: 31:[22, 10] Operation: 32-22=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[32, 44], Operations: ['66-44=22', '22+22=44'] Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,31 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[22, 10], Operations: ['66-44=22', '32-22=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[22, 10], Operations: ['66-44=22', '32-22=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[32, 1], Operations: ['66-44=22', '22/22=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[32, 22, 66, 44], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [32, 22, 22] Generated Node #0,2: 31:[32, 22, 22] Operation: 66-44=22 Moving to Node #0,2 Current State: 31:[32, 22, 22], Operations: ['66-44=22'] Exploring Operation: 22/22=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 31:[32, 1] Operation: 22/22=1 Moving to Node #0,2,0 Current State: 31:[32, 1], Operations: ['66-44=22', '22/22=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 48, 30, 74, 78 ]
64
[ "30+74=104", "48*104=4992", "4992/78=64" ]
Current State: 64:[48, 30, 74, 78], Operations: [] Exploring Operation: 30+74=104, Resulting Numbers: [48, 78, 104] Generated Node #2: [48, 78, 104] from Operation: 30+74=104 Current State: 64:[48, 78, 104], Operations: ['30+74=104'] Exploring Operation: 48*104=4992, Resulting Numbers: [78, 4992] Generated Node #3: [78, 4992] from Operation: 48*104=4992 Current State: 64:[78, 4992], Operations: ['30+74=104', '48*104=4992'] Exploring Operation: 4992/78=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[48, 30, 74, 78], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [30, 74, 30] Generated Node #0,0: 64:[30, 74, 30] Operation: 78-48=30 Exploring Operation: 78-74=4, Resulting Numbers: [48, 30, 4] Generated Node #0,1: 64:[48, 30, 4] Operation: 78-74=4 Exploring Operation: 74-48=26, Resulting Numbers: [30, 78, 26] Generated Node #0,2: 64:[30, 78, 26] Operation: 74-48=26 Moving to Node #0,0 Current State: 64:[30, 74, 30], Operations: ['78-48=30'] Exploring Operation: 30/30=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 64:[74, 1] Operation: 30/30=1 Exploring Operation: 30-30=0, Resulting Numbers: [74, 0] Generated Node #0,0,1: 64:[74, 0] Operation: 30-30=0 Exploring Operation: 74-30=44, Resulting Numbers: [30, 44] Generated Node #0,0,2: 64:[30, 44] Operation: 74-30=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[74, 1], Operations: ['78-48=30', '30/30=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[74, 0], Operations: ['78-48=30', '30-30=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 74*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[30, 44], Operations: ['78-48=30', '74-30=44'] Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,64 unequal: No Solution Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 64:[48, 30, 4], Operations: ['78-74=4'] Exploring Operation: 48/4=12, Resulting Numbers: [30, 12] Generated Node #0,1,0: 64:[30, 12] Operation: 48/4=12 Exploring Operation: 48-30=18, Resulting Numbers: [4, 18] Generated Node #0,1,1: 64:[4, 18] Operation: 48-30=18 Exploring Operation: 48+30=78, Resulting Numbers: [4, 78] Generated Node #0,1,2: 64:[4, 78] Operation: 48+30=78 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[4, 18], Operations: ['78-74=4', '48-30=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[30, 12], Operations: ['78-74=4', '48/4=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,64 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[4, 78], Operations: ['78-74=4', '48+30=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,64 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: 64:[30, 78, 26], Operations: ['74-48=26'] Exploring Operation: 30-26=4, Resulting Numbers: [78, 4] Generated Node #0,2,0: 64:[78, 4] Operation: 30-26=4 Exploring Operation: 78/26=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 64:[30, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [30, 52] Generated Node #0,2,2: 64:[30, 52] Operation: 78-26=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[30, 3], Operations: ['74-48=26', '78/26=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[78, 4], Operations: ['74-48=26', '30-26=4'] Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,64 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[30, 52], Operations: ['74-48=26', '78-26=52'] Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,64 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
[ 84, 16, 77, 81 ]
29
[ "84-81=3", "16*3=48", "77-48=29" ]
Current State: 29:[84, 16, 77, 81], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [16, 77, 3] Generated Node #2: [16, 77, 3] from Operation: 84-81=3 Current State: 29:[16, 77, 3], Operations: ['84-81=3'] Exploring Operation: 16*3=48, Resulting Numbers: [77, 48] Generated Node #3: [77, 48] from Operation: 16*3=48 Current State: 29:[77, 48], Operations: ['84-81=3', '16*3=48'] Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[84, 16, 77, 81], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [16, 77, 3] Generated Node #0,0: 29:[16, 77, 3] Operation: 84-81=3 Exploring Operation: 84-77=7, Resulting Numbers: [16, 81, 7] Generated Node #0,1: 29:[16, 81, 7] Operation: 84-77=7 Moving to Node #0,0 Current State: 29:[16, 77, 3], Operations: ['84-81=3'] Exploring Operation: 77-16=61, Resulting Numbers: [3, 61] Generated Node #0,0,0: 29:[3, 61] Operation: 77-16=61 Exploring Operation: 16+3=19, Resulting Numbers: [77, 19] Generated Node #0,0,1: 29:[77, 19] Operation: 16+3=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[3, 61], Operations: ['84-81=3', '77-16=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,29 unequal: No Solution No 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: 29:[77, 19], Operations: ['84-81=3', '16+3=19'] Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,29 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: 29:[16, 81, 7], Operations: ['84-77=7'] Exploring Operation: 16+7=23, Resulting Numbers: [81, 23] Generated Node #0,1,0: 29:[81, 23] Operation: 16+7=23 Exploring Operation: 81-16=65, Resulting Numbers: [7, 65] Generated Node #0,1,1: 29:[7, 65] Operation: 81-16=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[81, 23], Operations: ['84-77=7', '16+7=23'] Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,29 unequal: No Solution No 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: 29:[7, 65], Operations: ['84-77=7', '81-16=65'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,29 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
[ 62, 16, 1, 38 ]
41
[ "62+16=78", "38-1=37", "78-37=41" ]
Current State: 41:[62, 16, 1, 38], Operations: [] Exploring Operation: 62+16=78, Resulting Numbers: [1, 38, 78] Generated Node #2: [1, 38, 78] from Operation: 62+16=78 Current State: 41:[1, 38, 78], Operations: ['62+16=78'] Exploring Operation: 38-1=37, Resulting Numbers: [78, 37] Generated Node #3: [78, 37] from Operation: 38-1=37 Current State: 41:[78, 37], Operations: ['62+16=78', '38-1=37'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[62, 16, 1, 38], Operations: [] Exploring Operation: 62-16=46, Resulting Numbers: [1, 38, 46] Generated Node #0,0: 41:[1, 38, 46] Operation: 62-16=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[1, 38, 46], Operations: ['62-16=46'] Exploring Operation: 1+38=39, Resulting Numbers: [46, 39] Generated Node #0,0,0: 41:[46, 39] Operation: 1+38=39 Moving to Node #0,0,0 Current State: 41:[46, 39], Operations: ['62-16=46', '1+38=39'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,41 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
[ 45, 13, 52, 16 ]
96
[ "45+13=58", "58-52=6", "16*6=96" ]
Current State: 96:[45, 13, 52, 16], Operations: [] Exploring Operation: 45+13=58, Resulting Numbers: [52, 16, 58] Generated Node #2: [52, 16, 58] from Operation: 45+13=58 Current State: 96:[52, 16, 58], Operations: ['45+13=58'] Exploring Operation: 58-52=6, Resulting Numbers: [16, 6] Generated Node #3: [16, 6] from Operation: 58-52=6 Current State: 96:[16, 6], Operations: ['45+13=58', '58-52=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[45, 13, 52, 16], Operations: [] Exploring Operation: 45+52=97, Resulting Numbers: [13, 16, 97] Generated Node #0,0: 96:[13, 16, 97] Operation: 45+52=97 Moving to Node #0,0 Current State: 96:[13, 16, 97], Operations: ['45+52=97'] Exploring Operation: 16-13=3, Resulting Numbers: [97, 3] Generated Node #0,0,0: 96:[97, 3] Operation: 16-13=3 Moving to Node #0,0,0 Current State: 96:[97, 3], Operations: ['45+52=97', '16-13=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,96 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 8, 63, 3, 75 ]
54
[ "63+75=138", "138/3=46", "8+46=54" ]
Current State: 54:[8, 63, 3, 75], Operations: [] Exploring Operation: 63+75=138, Resulting Numbers: [8, 3, 138] Generated Node #2: [8, 3, 138] from Operation: 63+75=138 Current State: 54:[8, 3, 138], Operations: ['63+75=138'] Exploring Operation: 138/3=46, Resulting Numbers: [8, 46] Generated Node #3: [8, 46] from Operation: 138/3=46 Current State: 54:[8, 46], Operations: ['63+75=138', '138/3=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[8, 63, 3, 75], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [8, 3, 12] Generated Node #0,0: 54:[8, 3, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[8, 3, 12], Operations: ['75-63=12'] Exploring Operation: 12-8=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 54:[3, 4] Operation: 12-8=4 Moving to Node #0,0,0 Current State: 54:[3, 4], Operations: ['75-63=12', '12-8=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 18, 24, 29, 27 ]
62
[ "24-18=6", "29+27=56", "6+56=62" ]
Current State: 62:[18, 24, 29, 27], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [29, 27, 6] Generated Node #2: [29, 27, 6] from Operation: 24-18=6 Current State: 62:[29, 27, 6], Operations: ['24-18=6'] Exploring Operation: 29+27=56, Resulting Numbers: [6, 56] Generated Node #3: [6, 56] from Operation: 29+27=56 Current State: 62:[6, 56], Operations: ['24-18=6', '29+27=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[18, 24, 29, 27], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [29, 27, 6] Generated Node #0,0: 62:[29, 27, 6] Operation: 24-18=6 Exploring Operation: 27-18=9, Resulting Numbers: [24, 29, 9] Generated Node #0,1: 62:[24, 29, 9] Operation: 27-18=9 Exploring Operation: 27-24=3, Resulting Numbers: [18, 29, 3] Generated Node #0,2: 62:[18, 29, 3] Operation: 27-24=3 Moving to Node #0,0 Current State: 62:[29, 27, 6], Operations: ['24-18=6'] Exploring Operation: 29+6=35, Resulting Numbers: [27, 35] Generated Node #0,0,0: 62:[27, 35] Operation: 29+6=35 Exploring Operation: 29-27=2, Resulting Numbers: [6, 2] Generated Node #0,0,1: 62:[6, 2] Operation: 29-27=2 Exploring Operation: 27+6=33, Resulting Numbers: [29, 33] Generated Node #0,0,2: 62:[29, 33] Operation: 27+6=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[6, 2], Operations: ['24-18=6', '29-27=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[29, 33], Operations: ['24-18=6', '27+6=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[18, 24, 29, 27], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [29, 27, 6] Generated Node #0,0: 62:[29, 27, 6] Operation: 24-18=6 Moving to Node #0,0 Current State: 62:[29, 27, 6], Operations: ['24-18=6'] Exploring Operation: 27+6=33, Resulting Numbers: [29, 33] Generated Node #0,0,2: 62:[29, 33] Operation: 27+6=33 Moving to Node #0,0,2 Current State: 62:[29, 33], Operations: ['24-18=6', '27+6=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 71, 57, 83, 9 ]
88
[ "71-57=14", "83-9=74", "14+74=88" ]
Current State: 88:[71, 57, 83, 9], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [83, 9, 14] Generated Node #2: [83, 9, 14] from Operation: 71-57=14 Current State: 88:[83, 9, 14], Operations: ['71-57=14'] Exploring Operation: 83-9=74, Resulting Numbers: [14, 74] Generated Node #3: [14, 74] from Operation: 83-9=74 Current State: 88:[14, 74], Operations: ['71-57=14', '83-9=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[71, 57, 83, 9], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [83, 9, 14] Generated Node #0,0: 88:[83, 9, 14] Operation: 71-57=14 Exploring Operation: 83-57=26, Resulting Numbers: [71, 9, 26] Generated Node #0,1: 88:[71, 9, 26] Operation: 83-57=26 Exploring Operation: 83-71=12, Resulting Numbers: [57, 9, 12] Generated Node #0,2: 88:[57, 9, 12] Operation: 83-71=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[83, 9, 14], Operations: ['71-57=14'] Exploring Operation: 83+9=92, Resulting Numbers: [14, 92] Generated Node #0,0,0: 88:[14, 92] Operation: 83+9=92 Exploring Operation: 9+14=23, Resulting Numbers: [83, 23] Generated Node #0,0,1: 88:[83, 23] Operation: 9+14=23 Exploring Operation: 14-9=5, Resulting Numbers: [83, 5] Generated Node #0,0,2: 88:[83, 5] Operation: 14-9=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[83, 23], Operations: ['71-57=14', '9+14=23'] Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 83*23=1909, Resulting Numbers: [1909] 1909,88 unequal: No Solution Exploring Operation: 83+23=106, Resulting Numbers: [106] 106,88 unequal: No Solution No 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: 88:[83, 5], Operations: ['71-57=14', '14-9=5'] Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,88 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[71, 57, 83, 9], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [83, 9, 14] Generated Node #0,0: 88:[83, 9, 14] Operation: 71-57=14 Moving to Node #0,0 Current State: 88:[83, 9, 14], Operations: ['71-57=14'] Exploring Operation: 14-9=5, Resulting Numbers: [83, 5] Generated Node #0,0,2: 88:[83, 5] Operation: 14-9=5 Moving to Node #0,0,2 Current State: 88:[83, 5], Operations: ['71-57=14', '14-9=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 31, 37, 13, 16 ]
15
[ "31*16=496", "37*13=481", "496-481=15" ]
Current State: 15:[31, 37, 13, 16], Operations: [] Exploring Operation: 31*16=496, Resulting Numbers: [37, 13, 496] Generated Node #2: [37, 13, 496] from Operation: 31*16=496 Current State: 15:[37, 13, 496], Operations: ['31*16=496'] Exploring Operation: 37*13=481, Resulting Numbers: [496, 481] Generated Node #3: [496, 481] from Operation: 37*13=481 Current State: 15:[496, 481], Operations: ['31*16=496', '37*13=481'] Exploring Operation: 496-481=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[31, 37, 13, 16], Operations: [] Exploring Operation: 37-13=24, Resulting Numbers: [31, 16, 24] Generated Node #0,0: 15:[31, 16, 24] Operation: 37-13=24 Exploring Operation: 31-16=15, Resulting Numbers: [37, 13, 15] Generated Node #0,1: 15:[37, 13, 15] Operation: 31-16=15 Exploring Operation: 31-13=18, Resulting Numbers: [37, 16, 18] Generated Node #0,2: 15:[37, 16, 18] Operation: 31-13=18 Exploring Operation: 37-16=21, Resulting Numbers: [31, 13, 21] Generated Node #0,3: 15:[31, 13, 21] Operation: 37-16=21 Exploring Operation: 37-31=6, Resulting Numbers: [13, 16, 6] Generated Node #0,4: 15:[13, 16, 6] Operation: 37-31=6 Moving to Node #0,4 Current State: 15:[13, 16, 6], Operations: ['37-31=6'] Exploring Operation: 16-6=10, Resulting Numbers: [13, 10] Generated Node #0,4,0: 15:[13, 10] Operation: 16-6=10 Exploring Operation: 16-13=3, Resulting Numbers: [6, 3] Generated Node #0,4,1: 15:[6, 3] Operation: 16-13=3 Exploring Operation: 16+6=22, Resulting Numbers: [13, 22] Generated Node #0,4,2: 15:[13, 22] Operation: 16+6=22 Exploring Operation: 13+6=19, Resulting Numbers: [16, 19] Generated Node #0,4,3: 15:[16, 19] Operation: 13+6=19 Exploring Operation: 13-6=7, Resulting Numbers: [16, 7] Generated Node #0,4,4: 15:[16, 7] Operation: 13-6=7 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 15:[6, 3], Operations: ['37-31=6', '16-13=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 15:[16, 7], Operations: ['37-31=6', '13-6=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 15:[16, 19], Operations: ['37-31=6', '13+6=19'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,15 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 15:[13, 10], Operations: ['37-31=6', '16-6=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,15 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 15:[13, 22], Operations: ['37-31=6', '16+6=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,15 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,15 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: 15:[31, 13, 21], Operations: ['37-16=21'] Exploring Operation: 31+13=44, Resulting Numbers: [21, 44] Generated Node #0,3,0: 15:[21, 44] Operation: 31+13=44 Exploring Operation: 31-21=10, Resulting Numbers: [13, 10] Generated Node #0,3,1: 15:[13, 10] Operation: 31-21=10 Exploring Operation: 13+21=34, Resulting Numbers: [31, 34] Generated Node #0,3,2: 15:[31, 34] Operation: 13+21=34 Exploring Operation: 21-13=8, Resulting Numbers: [31, 8] Generated Node #0,3,3: 15:[31, 8] Operation: 21-13=8 Exploring Operation: 31-13=18, Resulting Numbers: [21, 18] Generated Node #0,3,4: 15:[21, 18] Operation: 31-13=18 Moving to Node #0,1 Current State: 15:[37, 13, 15], Operations: ['31-16=15'] Exploring Operation: 37-15=22, Resulting Numbers: [13, 22] Generated Node #0,1,0: 15:[13, 22] Operation: 37-15=22 Exploring Operation: 13+15=28, Resulting Numbers: [37, 28] Generated Node #0,1,1: 15:[37, 28] Operation: 13+15=28 Exploring Operation: 37+13=50, Resulting Numbers: [15, 50] Generated Node #0,1,2: 15:[15, 50] Operation: 37+13=50 Exploring Operation: 15-13=2, Resulting Numbers: [37, 2] Generated Node #0,1,3: 15:[37, 2] Operation: 15-13=2 Exploring Operation: 37-13=24, Resulting Numbers: [15, 24] Generated Node #0,1,4: 15:[15, 24] Operation: 37-13=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[13, 22], Operations: ['31-16=15', '37-15=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,15 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 15:[15, 24], Operations: ['31-16=15', '37-13=24'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[37, 2], Operations: ['31-16=15', '15-13=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,15 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[37, 28], Operations: ['31-16=15', '13+15=28'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[15, 50], Operations: ['31-16=15', '37+13=50'] Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,15 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[31, 16, 24], Operations: ['37-13=24'] Exploring Operation: 31+16=47, Resulting Numbers: [24, 47] Generated Node #0,0,0: 15:[24, 47] Operation: 31+16=47 Exploring Operation: 31-24=7, Resulting Numbers: [16, 7] Generated Node #0,0,1: 15:[16, 7] Operation: 31-24=7 Exploring Operation: 24-16=8, Resulting Numbers: [31, 8] Generated Node #0,0,2: 15:[31, 8] Operation: 24-16=8 Exploring Operation: 31-16=15, Resulting Numbers: [24, 15] Generated Node #0,0,3: 15:[24, 15] Operation: 31-16=15 Exploring Operation: 31+24=55, Resulting Numbers: [16, 55] Generated Node #0,0,4: 15:[16, 55] Operation: 31+24=55 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[16, 7], Operations: ['37-13=24', '31-24=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[24, 15], Operations: ['37-13=24', '31-16=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[31, 8], Operations: ['37-13=24', '24-16=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,15 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[24, 47], Operations: ['37-13=24', '31+16=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,15 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 15:[16, 55], Operations: ['37-13=24', '31+24=55'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,15 unequal: No Solution Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 15:[37, 16, 18], Operations: ['31-13=18'] Exploring Operation: 18-16=2, Resulting Numbers: [37, 2] Generated Node #0,2,0: 15:[37, 2] Operation: 18-16=2 Exploring Operation: 37-18=19, Resulting Numbers: [16, 19] Generated Node #0,2,1: 15:[16, 19] Operation: 37-18=19 Exploring Operation: 37+16=53, Resulting Numbers: [18, 53] Generated Node #0,2,2: 15:[18, 53] Operation: 37+16=53 Exploring Operation: 37-16=21, Resulting Numbers: [18, 21] Generated Node #0,2,3: 15:[18, 21] Operation: 37-16=21 Exploring Operation: 37+18=55, Resulting Numbers: [16, 55] Generated Node #0,2,4: 15:[16, 55] Operation: 37+18=55 Moving to Node #0,2,1 Current State: 15:[16, 19], Operations: ['31-13=18', '37-18=19'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[13, 10], Operations: ['37-16=21', '31-21=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[18, 21], Operations: ['31-13=18', '37-16=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,15 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[21, 18], Operations: ['37-16=21', '31-13=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,15 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[31, 8], Operations: ['37-16=21', '21-13=8'] Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[37, 2], Operations: ['31-13=18', '18-16=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[31, 34], Operations: ['37-16=21', '13+21=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,15 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[21, 44], Operations: ['37-16=21', '31+13=44'] Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,15 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[16, 55], Operations: ['31-13=18', '37+18=55'] Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,15 unequal: No Solution Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[18, 53], Operations: ['31-13=18', '37+16=53'] Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,15 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,15 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 12, 98, 64, 86 ]
64
[ "98-12=86", "64+86=150", "150-86=64" ]
Current State: 64:[12, 98, 64, 86], Operations: [] Exploring Operation: 98-12=86, Resulting Numbers: [64, 86, 86] Generated Node #2: [64, 86, 86] from Operation: 98-12=86 Current State: 64:[64, 86, 86], Operations: ['98-12=86'] Exploring Operation: 64+86=150, Resulting Numbers: [150] 150,64 equal: Goal Reached Exploring Operation: 150-86=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[12, 98, 64, 86], Operations: [] Exploring Operation: 98-64=34, Resulting Numbers: [12, 86, 34] Generated Node #0,0: 64:[12, 86, 34] Operation: 98-64=34 Exploring Operation: 86-12=74, Resulting Numbers: [98, 64, 74] Generated Node #0,1: 64:[98, 64, 74] Operation: 86-12=74 Exploring Operation: 98-12=86, Resulting Numbers: [64, 86, 86] Generated Node #0,2: 64:[64, 86, 86] Operation: 98-12=86 Exploring Operation: 98-86=12, Resulting Numbers: [12, 64, 12] Generated Node #0,3: 64:[12, 64, 12] Operation: 98-86=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[12, 64, 12], Operations: ['98-86=12'] Exploring Operation: 12/12=1, Resulting Numbers: [64, 1] Generated Node #0,3,0: 64:[64, 1] Operation: 12/12=1 Exploring Operation: 12+64=76, Resulting Numbers: [12, 76] Generated Node #0,3,1: 64:[12, 76] Operation: 12+64=76 Exploring Operation: 12+12=24, Resulting Numbers: [64, 24] Generated Node #0,3,2: 64:[64, 24] Operation: 12+12=24 Exploring Operation: 12-12=0, Resulting Numbers: [64, 0] Generated Node #0,3,3: 64:[64, 0] Operation: 12-12=0 Moving to Node #0,3,0 Current State: 64:[64, 1], Operations: ['98-86=12', '12/12=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[12, 98, 64, 86], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [12, 64, 12] Generated Node #0,3: 64:[12, 64, 12] Operation: 98-86=12 Moving to Node #0,3 Current State: 64:[12, 64, 12], Operations: ['98-86=12'] Exploring Operation: 12/12=1, Resulting Numbers: [64, 1] Generated Node #0,3,0: 64:[64, 1] Operation: 12/12=1 Moving to Node #0,3,0 Current State: 64:[64, 1], Operations: ['98-86=12', '12/12=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 70, 17, 66, 36 ]
32
[ "70-66=4", "17*4=68", "68-36=32" ]
Current State: 32:[70, 17, 66, 36], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [17, 36, 4] Generated Node #2: [17, 36, 4] from Operation: 70-66=4 Current State: 32:[17, 36, 4], Operations: ['70-66=4'] Exploring Operation: 17*4=68, Resulting Numbers: [36, 68] Generated Node #3: [36, 68] from Operation: 17*4=68 Current State: 32:[36, 68], Operations: ['70-66=4', '17*4=68'] Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[70, 17, 66, 36], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [17, 36, 4] Generated Node #0,0: 32:[17, 36, 4] Operation: 70-66=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[17, 36, 4], Operations: ['70-66=4'] Exploring Operation: 36-4=32, Resulting Numbers: [17, 32] Generated Node #0,0,0: 32:[17, 32] Operation: 36-4=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[17, 32], Operations: ['70-66=4', '36-4=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 91, 27, 9, 52 ]
57
[ "91+27=118", "9+52=61", "118-61=57" ]
Current State: 57:[91, 27, 9, 52], Operations: [] Exploring Operation: 91+27=118, Resulting Numbers: [9, 52, 118] Generated Node #2: [9, 52, 118] from Operation: 91+27=118 Current State: 57:[9, 52, 118], Operations: ['91+27=118'] Exploring Operation: 9+52=61, Resulting Numbers: [118, 61] Generated Node #3: [118, 61] from Operation: 9+52=61 Current State: 57:[118, 61], Operations: ['91+27=118', '9+52=61'] Exploring Operation: 118-61=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[91, 27, 9, 52], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [9, 52, 64] Generated Node #0,0: 57:[9, 52, 64] Operation: 91-27=64 Moving to Node #0,0 Current State: 57:[9, 52, 64], Operations: ['91-27=64'] Exploring Operation: 64-9=55, Resulting Numbers: [52, 55] Generated Node #0,0,0: 57:[52, 55] Operation: 64-9=55 Moving to Node #0,0,0 Current State: 57:[52, 55], Operations: ['91-27=64', '64-9=55'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 24, 2, 72, 16 ]
100
[ "24/2=12", "72+16=88", "12+88=100" ]
Current State: 100:[24, 2, 72, 16], Operations: [] Exploring Operation: 24/2=12, Resulting Numbers: [72, 16, 12] Generated Node #2: [72, 16, 12] from Operation: 24/2=12 Current State: 100:[72, 16, 12], Operations: ['24/2=12'] Exploring Operation: 72+16=88, Resulting Numbers: [12, 88] Generated Node #3: [12, 88] from Operation: 72+16=88 Current State: 100:[12, 88], Operations: ['24/2=12', '72+16=88'] Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[24, 2, 72, 16], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [2, 16, 48] Generated Node #0,0: 100:[2, 16, 48] Operation: 72-24=48 Exploring Operation: 72-16=56, Resulting Numbers: [24, 2, 56] Generated Node #0,1: 100:[24, 2, 56] Operation: 72-16=56 Exploring Operation: 72/24=3, Resulting Numbers: [2, 16, 3] Generated Node #0,2: 100:[2, 16, 3] Operation: 72/24=3 Moving to Node #0,2 Current State: 100:[2, 16, 3], Operations: ['72/24=3'] Exploring Operation: 16*3=48, Resulting Numbers: [2, 48] Generated Node #0,2,0: 100:[2, 48] Operation: 16*3=48 Exploring Operation: 16+3=19, Resulting Numbers: [2, 19] Generated Node #0,2,1: 100:[2, 19] Operation: 16+3=19 Exploring Operation: 2+16=18, Resulting Numbers: [3, 18] Generated Node #0,2,2: 100:[3, 18] Operation: 2+16=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[2, 19], Operations: ['72/24=3', '16+3=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[2, 48], Operations: ['72/24=3', '16*3=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[3, 18], Operations: ['72/24=3', '2+16=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[2, 16, 48], Operations: ['72-24=48'] Exploring Operation: 48/16=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 100:[2, 3] Operation: 48/16=3 Exploring Operation: 16/2=8, Resulting Numbers: [48, 8] Generated Node #0,0,1: 100:[48, 8] Operation: 16/2=8 Exploring Operation: 2+16=18, Resulting Numbers: [48, 18] Generated Node #0,0,2: 100:[48, 18] Operation: 2+16=18 Moving to Node #0,1 Current State: 100:[24, 2, 56], Operations: ['72-16=56'] Exploring Operation: 24+2=26, Resulting Numbers: [56, 26] Generated Node #0,1,0: 100:[56, 26] Operation: 24+2=26 Exploring Operation: 56/2=28, Resulting Numbers: [24, 28] Generated Node #0,1,1: 100:[24, 28] Operation: 56/2=28 Exploring Operation: 56-2=54, Resulting Numbers: [24, 54] Generated Node #0,1,2: 100:[24, 54] Operation: 56-2=54 Moving to Node #0,0,0 Current State: 100:[2, 3], Operations: ['72-24=48', '48/16=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[48, 18], Operations: ['72-24=48', '2+16=18'] Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[48, 8], Operations: ['72-24=48', '16/2=8'] Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[24, 28], Operations: ['72-16=56', '56/2=28'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,100 unequal: No Solution Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[24, 54], Operations: ['72-16=56', '56-2=54'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,100 unequal: No Solution Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[56, 26], Operations: ['72-16=56', '24+2=26'] Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,100 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,100 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 68, 47, 40, 48 ]
27
[ "68+47=115", "40+48=88", "115-88=27" ]
Current State: 27:[68, 47, 40, 48], Operations: [] Exploring Operation: 68+47=115, Resulting Numbers: [40, 48, 115] Generated Node #2: [40, 48, 115] from Operation: 68+47=115 Current State: 27:[40, 48, 115], Operations: ['68+47=115'] Exploring Operation: 40+48=88, Resulting Numbers: [115, 88] Generated Node #3: [115, 88] from Operation: 40+48=88 Current State: 27:[115, 88], Operations: ['68+47=115', '40+48=88'] Exploring Operation: 115-88=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[68, 47, 40, 48], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [68, 47, 8] Generated Node #0,0: 27:[68, 47, 8] Operation: 48-40=8 Exploring Operation: 48-47=1, Resulting Numbers: [68, 40, 1] Generated Node #0,1: 27:[68, 40, 1] Operation: 48-47=1 Exploring Operation: 68-48=20, Resulting Numbers: [47, 40, 20] Generated Node #0,2: 27:[47, 40, 20] Operation: 68-48=20 Exploring Operation: 68-47=21, Resulting Numbers: [40, 48, 21] Generated Node #0,3: 27:[40, 48, 21] Operation: 68-47=21 Exploring Operation: 68-40=28, Resulting Numbers: [47, 48, 28] Generated Node #0,4: 27:[47, 48, 28] Operation: 68-40=28 Moving to Node #0,2 Current State: 27:[47, 40, 20], Operations: ['68-48=20'] Exploring Operation: 47-40=7, Resulting Numbers: [20, 7] Generated Node #0,2,0: 27:[20, 7] Operation: 47-40=7 Exploring Operation: 40/20=2, Resulting Numbers: [47, 2] Generated Node #0,2,1: 27:[47, 2] Operation: 40/20=2 Exploring Operation: 47+20=67, Resulting Numbers: [40, 67] Generated Node #0,2,2: 27:[40, 67] Operation: 47+20=67 Exploring Operation: 47-20=27, Resulting Numbers: [40, 27] Generated Node #0,2,3: 27:[40, 27] Operation: 47-20=27 Exploring Operation: 40-20=20, Resulting Numbers: [47, 20] Generated Node #0,2,4: 27:[47, 20] Operation: 40-20=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[20, 7], Operations: ['68-48=20', '47-40=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[68, 47, 40, 48], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [47, 40, 20] Generated Node #0,2: 27:[47, 40, 20] Operation: 68-48=20 Moving to Node #0,2 Current State: 27:[47, 40, 20], Operations: ['68-48=20'] Exploring Operation: 47-40=7, Resulting Numbers: [20, 7] Generated Node #0,2,0: 27:[20, 7] Operation: 47-40=7 Moving to Node #0,2,0 Current State: 27:[20, 7], Operations: ['68-48=20', '47-40=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 65, 35, 31, 10 ]
51
[ "65-35=30", "31-10=21", "30+21=51" ]
Current State: 51:[65, 35, 31, 10], Operations: [] Exploring Operation: 65-35=30, Resulting Numbers: [31, 10, 30] Generated Node #2: [31, 10, 30] from Operation: 65-35=30 Current State: 51:[31, 10, 30], Operations: ['65-35=30'] Exploring Operation: 31-10=21, Resulting Numbers: [30, 21] Generated Node #3: [30, 21] from Operation: 31-10=21 Current State: 51:[30, 21], Operations: ['65-35=30', '31-10=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[65, 35, 31, 10], Operations: [] Exploring Operation: 65-35=30, Resulting Numbers: [31, 10, 30] Generated Node #0,0: 51:[31, 10, 30] Operation: 65-35=30 Exploring Operation: 35-31=4, Resulting Numbers: [65, 10, 4] Generated Node #0,1: 51:[65, 10, 4] Operation: 35-31=4 Exploring Operation: 65-10=55, Resulting Numbers: [35, 31, 55] Generated Node #0,2: 51:[35, 31, 55] Operation: 65-10=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[65, 10, 4], Operations: ['35-31=4'] Exploring Operation: 65-10=55, Resulting Numbers: [4, 55] Generated Node #0,1,0: 51:[4, 55] Operation: 65-10=55 Exploring Operation: 10+4=14, Resulting Numbers: [65, 14] Generated Node #0,1,1: 51:[65, 14] Operation: 10+4=14 Exploring Operation: 65-4=61, Resulting Numbers: [10, 61] Generated Node #0,1,2: 51:[10, 61] Operation: 65-4=61 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[4, 55], Operations: ['35-31=4', '65-10=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,51 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[65, 35, 31, 10], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [65, 10, 4] Generated Node #0,1: 51:[65, 10, 4] Operation: 35-31=4 Moving to Node #0,1 Current State: 51:[65, 10, 4], Operations: ['35-31=4'] Exploring Operation: 65-10=55, Resulting Numbers: [4, 55] Generated Node #0,1,0: 51:[4, 55] Operation: 65-10=55 Moving to Node #0,1,0 Current State: 51:[4, 55], Operations: ['35-31=4', '65-10=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 87, 73, 85, 46 ]
29
[ "87+73=160", "85+46=131", "160-131=29" ]
Current State: 29:[87, 73, 85, 46], Operations: [] Exploring Operation: 87+73=160, Resulting Numbers: [85, 46, 160] Generated Node #2: [85, 46, 160] from Operation: 87+73=160 Current State: 29:[85, 46, 160], Operations: ['87+73=160'] Exploring Operation: 85+46=131, Resulting Numbers: [160, 131] Generated Node #3: [160, 131] from Operation: 85+46=131 Current State: 29:[160, 131], Operations: ['87+73=160', '85+46=131'] Exploring Operation: 160-131=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[87, 73, 85, 46], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [73, 46, 2] Generated Node #0,0: 29:[73, 46, 2] Operation: 87-85=2 Exploring Operation: 87-73=14, Resulting Numbers: [85, 46, 14] Generated Node #0,1: 29:[85, 46, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 29:[73, 46, 2], Operations: ['87-85=2'] Exploring Operation: 73-46=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 29:[2, 27] Operation: 73-46=27 Exploring Operation: 46/2=23, Resulting Numbers: [73, 23] Generated Node #0,0,1: 29:[73, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[2, 27], Operations: ['87-85=2', '73-46=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[87, 73, 85, 46], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [73, 46, 2] Generated Node #0,0: 29:[73, 46, 2] Operation: 87-85=2 Moving to Node #0,0 Current State: 29:[73, 46, 2], Operations: ['87-85=2'] Exploring Operation: 73-46=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 29:[2, 27] Operation: 73-46=27 Moving to Node #0,0,0 Current State: 29:[2, 27], Operations: ['87-85=2', '73-46=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 82, 34, 34, 5 ]
76
[ "82-5=77", "34/34=1", "77-1=76" ]
Current State: 76:[82, 34, 34, 5], Operations: [] Exploring Operation: 82-5=77, Resulting Numbers: [34, 34, 77] Generated Node #2: [34, 34, 77] from Operation: 82-5=77 Current State: 76:[34, 34, 77], Operations: ['82-5=77'] Exploring Operation: 34/34=1, Resulting Numbers: [77, 1] Generated Node #3: [77, 1] from Operation: 34/34=1 Current State: 76:[77, 1], Operations: ['82-5=77', '34/34=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[82, 34, 34, 5], Operations: [] Exploring Operation: 82-5=77, Resulting Numbers: [34, 34, 77] Generated Node #0,0: 76:[34, 34, 77] Operation: 82-5=77 Exploring Operation: 34+5=39, Resulting Numbers: [82, 34, 39] Generated Node #0,1: 76:[82, 34, 39] Operation: 34+5=39 Exploring Operation: 34/34=1, Resulting Numbers: [82, 5, 1] Generated Node #0,2: 76:[82, 5, 1] Operation: 34/34=1 Exploring Operation: 34-34=0, Resulting Numbers: [82, 5, 0] Generated Node #0,3: 76:[82, 5, 0] Operation: 34-34=0 Moving to Node #0,2 Current State: 76:[82, 5, 1], Operations: ['34/34=1'] Exploring Operation: 5-1=4, Resulting Numbers: [82, 4] Generated Node #0,2,0: 76:[82, 4] Operation: 5-1=4 Exploring Operation: 82-5=77, Resulting Numbers: [1, 77] Generated Node #0,2,1: 76:[1, 77] Operation: 82-5=77 Exploring Operation: 82*1=82, Resulting Numbers: [5, 82] Generated Node #0,2,2: 76:[5, 82] Operation: 82*1=82 Exploring Operation: 82-1=81, Resulting Numbers: [5, 81] Generated Node #0,2,3: 76:[5, 81] Operation: 82-1=81 Moving to Node #0,3 Current State: 76:[82, 5, 0], Operations: ['34-34=0'] Exploring Operation: 82-0=82, Resulting Numbers: [5, 82] Generated Node #0,3,0: 76:[5, 82] Operation: 82-0=82 Exploring Operation: 82*0=0, Resulting Numbers: [5, 0] Generated Node #0,3,1: 76:[5, 0] Operation: 82*0=0 Exploring Operation: 82+0=82, Resulting Numbers: [5, 82] Generated Node #0,3,2: 76:[5, 82] Operation: 82+0=82 Exploring Operation: 82-5=77, Resulting Numbers: [0, 77] Generated Node #0,3,3: 76:[0, 77] Operation: 82-5=77 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[5, 0], Operations: ['34-34=0', '82*0=0'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,76 unequal: No Solution No 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: 76:[0, 77], Operations: ['34-34=0', '82-5=77'] Exploring Operation: 0+77=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 0*77=0, Resulting Numbers: [0] 0,76 unequal: No Solution No 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: 76:[5, 82], Operations: ['34-34=0', '82-0=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 5*82=410, Resulting Numbers: [410] 410,76 unequal: No Solution No 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: 76:[5, 82], Operations: ['34-34=0', '82+0=82'] Exploring Operation: 5*82=410, Resulting Numbers: [410] 410,76 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,76 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: 76:[34, 34, 77], Operations: ['82-5=77'] Exploring Operation: 34+34=68, Resulting Numbers: [77, 68] Generated Node #0,0,0: 76:[77, 68] Operation: 34+34=68 Exploring Operation: 77-34=43, Resulting Numbers: [34, 43] Generated Node #0,0,1: 76:[34, 43] Operation: 77-34=43 Exploring Operation: 34-34=0, Resulting Numbers: [77, 0] Generated Node #0,0,2: 76:[77, 0] Operation: 34-34=0 Exploring Operation: 34/34=1, Resulting Numbers: [77, 1] Generated Node #0,0,3: 76:[77, 1] Operation: 34/34=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[77, 1], Operations: ['82-5=77', '34/34=1'] Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[82, 34, 34, 5], Operations: [] Exploring Operation: 82-5=77, Resulting Numbers: [34, 34, 77] Generated Node #0,0: 76:[34, 34, 77] Operation: 82-5=77 Moving to Node #0,0 Current State: 76:[34, 34, 77], Operations: ['82-5=77'] Exploring Operation: 34/34=1, Resulting Numbers: [77, 1] Generated Node #0,0,3: 76:[77, 1] Operation: 34/34=1 Moving to Node #0,0,3 Current State: 76:[77, 1], Operations: ['82-5=77', '34/34=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 63, 67, 2, 57 ]
49
[ "67-63=4", "2*4=8", "57-8=49" ]
Current State: 49:[63, 67, 2, 57], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [2, 57, 4] Generated Node #2: [2, 57, 4] from Operation: 67-63=4 Current State: 49:[2, 57, 4], Operations: ['67-63=4'] Exploring Operation: 2*4=8, Resulting Numbers: [57, 8] Generated Node #3: [57, 8] from Operation: 2*4=8 Current State: 49:[57, 8], Operations: ['67-63=4', '2*4=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[63, 67, 2, 57], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [67, 2, 6] Generated Node #0,0: 49:[67, 2, 6] Operation: 63-57=6 Exploring Operation: 67-57=10, Resulting Numbers: [63, 2, 10] Generated Node #0,1: 49:[63, 2, 10] Operation: 67-57=10 Exploring Operation: 67-63=4, Resulting Numbers: [2, 57, 4] Generated Node #0,2: 49:[2, 57, 4] Operation: 67-63=4 Moving to Node #0,2 Current State: 49:[2, 57, 4], Operations: ['67-63=4'] Exploring Operation: 57-2=55, Resulting Numbers: [4, 55] Generated Node #0,2,0: 49:[4, 55] Operation: 57-2=55 Exploring Operation: 2*4=8, Resulting Numbers: [57, 8] Generated Node #0,2,1: 49:[57, 8] Operation: 2*4=8 Exploring Operation: 2+4=6, Resulting Numbers: [57, 6] Generated Node #0,2,2: 49:[57, 6] Operation: 2+4=6 Moving to Node #0,1 Current State: 49:[63, 2, 10], Operations: ['67-57=10'] Exploring Operation: 63-2=61, Resulting Numbers: [10, 61] Generated Node #0,1,0: 49:[10, 61] Operation: 63-2=61 Exploring Operation: 10-2=8, Resulting Numbers: [63, 8] Generated Node #0,1,1: 49:[63, 8] Operation: 10-2=8 Exploring Operation: 63-10=53, Resulting Numbers: [2, 53] Generated Node #0,1,2: 49:[2, 53] Operation: 63-10=53 Moving to Node #0,0 Current State: 49:[67, 2, 6], Operations: ['63-57=6'] Exploring Operation: 2+6=8, Resulting Numbers: [67, 8] Generated Node #0,0,0: 49:[67, 8] Operation: 2+6=8 Exploring Operation: 67-2=65, Resulting Numbers: [6, 65] Generated Node #0,0,1: 49:[6, 65] Operation: 67-2=65 Exploring Operation: 67-6=61, Resulting Numbers: [2, 61] Generated Node #0,0,2: 49:[2, 61] Operation: 67-6=61 Moving to Node #0,2,0 Current State: 49:[4, 55], Operations: ['67-63=4', '57-2=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[57, 6], Operations: ['67-63=4', '2+4=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[57, 8], Operations: ['67-63=4', '2*4=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,49 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[63, 67, 2, 57], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [2, 57, 4] Generated Node #0,2: 49:[2, 57, 4] Operation: 67-63=4 Moving to Node #0,2 Current State: 49:[2, 57, 4], Operations: ['67-63=4'] Exploring Operation: 2*4=8, Resulting Numbers: [57, 8] Generated Node #0,2,1: 49:[57, 8] Operation: 2*4=8 Moving to Node #0,2,1 Current State: 49:[57, 8], Operations: ['67-63=4', '2*4=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.978299
hs_3
mult_heuristic
[ 11, 16, 6, 5 ]
77
[ "11*6=66", "16-5=11", "66+11=77" ]
Current State: 77:[11, 16, 6, 5], Operations: [] Exploring Operation: 11*6=66, Resulting Numbers: [16, 5, 66] Generated Node #2: [16, 5, 66] from Operation: 11*6=66 Current State: 77:[16, 5, 66], Operations: ['11*6=66'] Exploring Operation: 16-5=11, Resulting Numbers: [66, 11] Generated Node #3: [66, 11] from Operation: 16-5=11 Current State: 77:[66, 11], Operations: ['11*6=66', '16-5=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[11, 16, 6, 5], Operations: [] Exploring Operation: 16-5=11, Resulting Numbers: [11, 6, 11] Generated Node #0,0: 77:[11, 6, 11] Operation: 16-5=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[11, 6, 11], Operations: ['16-5=11'] Exploring Operation: 11-6=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 77:[11, 5] Operation: 11-6=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[11, 5], Operations: ['16-5=11', '11-6=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic