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
[ 3, 32, 67, 26 ]
27
[ "67-32=35", "35-26=9", "3*9=27" ]
Current State: 27:[3, 32, 67, 26], Operations: [] Exploring Operation: 67-32=35, Resulting Numbers: [3, 26, 35] Generated Node #2: [3, 26, 35] from Operation: 67-32=35 Current State: 27:[3, 26, 35], Operations: ['67-32=35'] Exploring Operation: 35-26=9, Resulting Numbers: [3, 9] Generated Node #3: [3, 9] from Operation: 35-26=9 Current State: 27:[3, 9], Operations: ['67-32=35', '35-26=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[3, 32, 67, 26], Operations: [] Exploring Operation: 67-32=35, Resulting Numbers: [3, 26, 35] Generated Node #0,0: 27:[3, 26, 35] Operation: 67-32=35 Moving to Node #0,0 Current State: 27:[3, 26, 35], Operations: ['67-32=35'] Exploring Operation: 35-26=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 27:[3, 9] Operation: 35-26=9 Moving to Node #0,0,0 Current State: 27:[3, 9], Operations: ['67-32=35', '35-26=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[3, 32, 67, 26], Operations: [] Exploring Operation: 67-32=35, Resulting Numbers: [3, 26, 35] Generated Node #0,0: 27:[3, 26, 35] Operation: 67-32=35 Moving to Node #0,0 Current State: 27:[3, 26, 35], Operations: ['67-32=35'] Exploring Operation: 35-26=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 27:[3, 9] Operation: 35-26=9 Moving to Node #0,0,0 Current State: 27:[3, 9], Operations: ['67-32=35', '35-26=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 57, 33, 11, 81 ]
90
[ "57*33=1881", "1881/11=171", "171-81=90" ]
Current State: 90:[57, 33, 11, 81], Operations: [] Exploring Operation: 57*33=1881, Resulting Numbers: [11, 81, 1881] Generated Node #2: [11, 81, 1881] from Operation: 57*33=1881 Current State: 90:[11, 81, 1881], Operations: ['57*33=1881'] Exploring Operation: 1881/11=171, Resulting Numbers: [81, 171] Generated Node #3: [81, 171] from Operation: 1881/11=171 Current State: 90:[81, 171], Operations: ['57*33=1881', '1881/11=171'] Exploring Operation: 171-81=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[57, 33, 11, 81], Operations: [] Exploring Operation: 57-11=46, Resulting Numbers: [33, 81, 46] Generated Node #0,0: 90:[33, 81, 46] Operation: 57-11=46 Exploring Operation: 57+33=90, Resulting Numbers: [11, 81, 90] Generated Node #0,1: 90:[11, 81, 90] Operation: 57+33=90 Exploring Operation: 81-57=24, Resulting Numbers: [33, 11, 24] Generated Node #0,2: 90:[33, 11, 24] Operation: 81-57=24 Moving to Node #0,1 Current State: 90:[11, 81, 90], Operations: ['57+33=90'] Exploring Operation: 90-81=9, Resulting Numbers: [11, 9] Generated Node #0,1,0: 90:[11, 9] Operation: 90-81=9 Exploring Operation: 81-11=70, Resulting Numbers: [90, 70] Generated Node #0,1,1: 90:[90, 70] Operation: 81-11=70 Exploring Operation: 11+81=92, Resulting Numbers: [90, 92] Generated Node #0,1,2: 90:[90, 92] Operation: 11+81=92 Moving to Node #0,2 Current State: 90:[33, 11, 24], Operations: ['81-57=24'] Exploring Operation: 33/11=3, Resulting Numbers: [24, 3] Generated Node #0,2,0: 90:[24, 3] Operation: 33/11=3 Exploring Operation: 24-11=13, Resulting Numbers: [33, 13] Generated Node #0,2,1: 90:[33, 13] Operation: 24-11=13 Exploring Operation: 33-24=9, Resulting Numbers: [11, 9] Generated Node #0,2,2: 90:[11, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[11, 9], Operations: ['81-57=24', '33-24=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,90 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[33, 13], Operations: ['81-57=24', '24-11=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,90 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 90:[24, 3], Operations: ['81-57=24', '33/11=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,90 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: 90:[33, 81, 46], Operations: ['57-11=46'] Exploring Operation: 81-33=48, Resulting Numbers: [46, 48] Generated Node #0,0,0: 90:[46, 48] Operation: 81-33=48 Exploring Operation: 81-46=35, Resulting Numbers: [33, 35] Generated Node #0,0,1: 90:[33, 35] Operation: 81-46=35 Exploring Operation: 46-33=13, Resulting Numbers: [81, 13] Generated Node #0,0,2: 90:[81, 13] Operation: 46-33=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[46, 48], Operations: ['57-11=46', '81-33=48'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,90 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[33, 35], Operations: ['57-11=46', '81-46=35'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,90 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[81, 13], Operations: ['57-11=46', '46-33=13'] Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,90 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,90 unequal: No Solution Exploring Operation: 81*13=1053, Resulting Numbers: [1053] 1053,90 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: 90:[11, 9], Operations: ['57+33=90', '90-81=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,90 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[90, 92], Operations: ['57+33=90', '11+81=92'] Exploring Operation: 92-90=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 90+92=182, Resulting Numbers: [182] 182,90 unequal: No Solution Exploring Operation: 90*92=8280, Resulting Numbers: [8280] 8280,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[90, 70], Operations: ['57+33=90', '81-11=70'] Exploring Operation: 90+70=160, Resulting Numbers: [160] 160,90 unequal: No Solution Exploring Operation: 90*70=6300, Resulting Numbers: [6300] 6300,90 unequal: No Solution Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,90 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 71, 64, 57, 28 ]
61
[ "71-64=7", "28/7=4", "57+4=61" ]
Current State: 61:[71, 64, 57, 28], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [57, 28, 7] Generated Node #2: [57, 28, 7] from Operation: 71-64=7 Current State: 61:[57, 28, 7], Operations: ['71-64=7'] Exploring Operation: 28/7=4, Resulting Numbers: [57, 4] Generated Node #3: [57, 4] from Operation: 28/7=4 Current State: 61:[57, 4], Operations: ['71-64=7', '28/7=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[71, 64, 57, 28], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [64, 57, 43] Generated Node #0,0: 61:[64, 57, 43] Operation: 71-28=43 Moving to Node #0,0 Current State: 61:[64, 57, 43], Operations: ['71-28=43'] Exploring Operation: 57+43=100, Resulting Numbers: [64, 100] Generated Node #0,0,0: 61:[64, 100] Operation: 57+43=100 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[64, 100], Operations: ['71-28=43', '57+43=100'] Exploring Operation: 100-64=36, Resulting Numbers: [36] 36,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 4, 81, 59, 4 ]
84
[ "81-59=22", "4*22=88", "88-4=84" ]
Current State: 84:[4, 81, 59, 4], Operations: [] Exploring Operation: 81-59=22, Resulting Numbers: [4, 4, 22] Generated Node #2: [4, 4, 22] from Operation: 81-59=22 Current State: 84:[4, 4, 22], Operations: ['81-59=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,84 equal: Goal Reached Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[4, 81, 59, 4], Operations: [] Exploring Operation: 81+4=85, Resulting Numbers: [4, 59, 85] Generated Node #0,0: 84:[4, 59, 85] Operation: 81+4=85 Exploring Operation: 59-4=55, Resulting Numbers: [4, 81, 55] Generated Node #0,1: 84:[4, 81, 55] Operation: 59-4=55 Exploring Operation: 81-59=22, Resulting Numbers: [4, 4, 22] Generated Node #0,2: 84:[4, 4, 22] Operation: 81-59=22 Exploring Operation: 59-4=55, Resulting Numbers: [81, 4, 55] Generated Node #0,3: 84:[81, 4, 55] Operation: 59-4=55 Exploring Operation: 4+81=85, Resulting Numbers: [59, 4, 85] Generated Node #0,4: 84:[59, 4, 85] Operation: 4+81=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[4, 4, 22], Operations: ['81-59=22'] Exploring Operation: 4+4=8, Resulting Numbers: [22, 8] Generated Node #0,2,0: 84:[22, 8] Operation: 4+4=8 Exploring Operation: 4+22=26, Resulting Numbers: [4, 26] Generated Node #0,2,1: 84:[4, 26] Operation: 4+22=26 Exploring Operation: 4+22=26, Resulting Numbers: [4, 26] Generated Node #0,2,2: 84:[4, 26] Operation: 4+22=26 Exploring Operation: 4*4=16, Resulting Numbers: [22, 16] Generated Node #0,2,3: 84:[22, 16] Operation: 4*4=16 Exploring Operation: 4/4=1, Resulting Numbers: [22, 1] Generated Node #0,2,4: 84:[22, 1] Operation: 4/4=1 Moving to Node #0,2,0 Current State: 84:[22, 8], Operations: ['81-59=22', '4+4=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,84 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[4, 26], Operations: ['81-59=22', '4+22=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[4, 26], Operations: ['81-59=22', '4+22=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,84 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,2,4 Current State: 84:[22, 1], Operations: ['81-59=22', '4/4=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,84 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[22, 16], Operations: ['81-59=22', '4*4=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[4, 81, 55], Operations: ['59-4=55'] Exploring Operation: 81-55=26, Resulting Numbers: [4, 26] Generated Node #0,1,0: 84:[4, 26] Operation: 81-55=26 Exploring Operation: 81-4=77, Resulting Numbers: [55, 77] Generated Node #0,1,1: 84:[55, 77] Operation: 81-4=77 Exploring Operation: 4+81=85, Resulting Numbers: [55, 85] Generated Node #0,1,2: 84:[55, 85] Operation: 4+81=85 Exploring Operation: 55-4=51, Resulting Numbers: [81, 51] Generated Node #0,1,3: 84:[81, 51] Operation: 55-4=51 Exploring Operation: 4+55=59, Resulting Numbers: [81, 59] Generated Node #0,1,4: 84:[81, 59] Operation: 4+55=59 Moving to Node #0,1,0 Current State: 84:[4, 26], Operations: ['59-4=55', '81-55=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,84 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[81, 51], Operations: ['59-4=55', '55-4=51'] Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 81*51=4131, Resulting Numbers: [4131] 4131,84 unequal: No Solution Exploring Operation: 81+51=132, Resulting Numbers: [132] 132,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[55, 85], Operations: ['59-4=55', '4+81=85'] Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 55*85=4675, Resulting Numbers: [4675] 4675,84 unequal: No Solution Exploring Operation: 55+85=140, Resulting Numbers: [140] 140,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[55, 77], Operations: ['59-4=55', '81-4=77'] Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,84 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[81, 59], Operations: ['59-4=55', '4+55=59'] Exploring Operation: 81*59=4779, Resulting Numbers: [4779] 4779,84 unequal: No Solution Exploring Operation: 81+59=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[81, 4, 55], Operations: ['59-4=55'] Exploring Operation: 55-4=51, Resulting Numbers: [81, 51] Generated Node #0,3,0: 84:[81, 51] Operation: 55-4=51 Exploring Operation: 81-55=26, Resulting Numbers: [4, 26] Generated Node #0,3,1: 84:[4, 26] Operation: 81-55=26 Exploring Operation: 81-4=77, Resulting Numbers: [55, 77] Generated Node #0,3,2: 84:[55, 77] Operation: 81-4=77 Exploring Operation: 4+55=59, Resulting Numbers: [81, 59] Generated Node #0,3,3: 84:[81, 59] Operation: 4+55=59 Exploring Operation: 81+4=85, Resulting Numbers: [55, 85] Generated Node #0,3,4: 84:[55, 85] Operation: 81+4=85 Moving to Node #0,3,1 Current State: 84:[4, 26], Operations: ['59-4=55', '81-55=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[81, 51], Operations: ['59-4=55', '55-4=51'] Exploring Operation: 81+51=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 81*51=4131, Resulting Numbers: [4131] 4131,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[55, 85], Operations: ['59-4=55', '81+4=85'] Exploring Operation: 55+85=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 55*85=4675, Resulting Numbers: [4675] 4675,84 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[55, 77], Operations: ['59-4=55', '81-4=77'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[81, 59], Operations: ['59-4=55', '4+55=59'] Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 81+59=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 81*59=4779, Resulting Numbers: [4779] 4779,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[4, 59, 85], Operations: ['81+4=85'] Exploring Operation: 4+59=63, Resulting Numbers: [85, 63] Generated Node #0,0,0: 84:[85, 63] Operation: 4+59=63 Exploring Operation: 59-4=55, Resulting Numbers: [85, 55] Generated Node #0,0,1: 84:[85, 55] Operation: 59-4=55 Exploring Operation: 85-4=81, Resulting Numbers: [59, 81] Generated Node #0,0,2: 84:[59, 81] Operation: 85-4=81 Exploring Operation: 85-59=26, Resulting Numbers: [4, 26] Generated Node #0,0,3: 84:[4, 26] Operation: 85-59=26 Exploring Operation: 4+85=89, Resulting Numbers: [59, 89] Generated Node #0,0,4: 84:[59, 89] Operation: 4+85=89 Moving to Node #0,0,3 Current State: 84:[4, 26], Operations: ['81+4=85', '85-59=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,84 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[85, 55], Operations: ['81+4=85', '59-4=55'] Exploring Operation: 85+55=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 85*55=4675, Resulting Numbers: [4675] 4675,84 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[59, 81], Operations: ['81+4=85', '85-4=81'] Exploring Operation: 59*81=4779, Resulting Numbers: [4779] 4779,84 unequal: No Solution Exploring Operation: 59+81=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[85, 63], Operations: ['81+4=85', '4+59=63'] Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,84 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,84 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,0,4 Current State: 84:[59, 89], Operations: ['81+4=85', '4+85=89'] Exploring Operation: 89-59=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 59+89=148, Resulting Numbers: [148] 148,84 unequal: No Solution Exploring Operation: 59*89=5251, Resulting Numbers: [5251] 5251,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 84:[59, 4, 85], Operations: ['4+81=85'] Exploring Operation: 85-59=26, Resulting Numbers: [4, 26] Generated Node #0,4,0: 84:[4, 26] Operation: 85-59=26 Exploring Operation: 4+85=89, Resulting Numbers: [59, 89] Generated Node #0,4,1: 84:[59, 89] Operation: 4+85=89 Exploring Operation: 85-4=81, Resulting Numbers: [59, 81] Generated Node #0,4,2: 84:[59, 81] Operation: 85-4=81 Exploring Operation: 59-4=55, Resulting Numbers: [85, 55] Generated Node #0,4,3: 84:[85, 55] Operation: 59-4=55 Exploring Operation: 59+4=63, Resulting Numbers: [85, 63] Generated Node #0,4,4: 84:[85, 63] Operation: 59+4=63 Moving to Node #0,4,0 Current State: 84:[4, 26], Operations: ['4+81=85', '85-59=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,84 unequal: No Solution Moving to Node #0,4,3 Current State: 84:[85, 55], Operations: ['4+81=85', '59-4=55'] Exploring Operation: 85*55=4675, Resulting Numbers: [4675] 4675,84 unequal: No Solution Exploring Operation: 85+55=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,4,2 Current State: 84:[59, 81], Operations: ['4+81=85', '85-4=81'] Exploring Operation: 59+81=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 59*81=4779, Resulting Numbers: [4779] 4779,84 unequal: No Solution Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,4,1 Current State: 84:[59, 89], Operations: ['4+81=85', '4+85=89'] Exploring Operation: 89-59=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 59*89=5251, Resulting Numbers: [5251] 5251,84 unequal: No Solution Exploring Operation: 59+89=148, Resulting Numbers: [148] 148,84 unequal: No Solution Moving to Node #0,4,4 Current State: 84:[85, 63], Operations: ['4+81=85', '59+4=63'] Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,84 unequal: No Solution Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,84 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 58, 61, 1, 60 ]
31
[ "60-58=2", "61+1=62", "62/2=31" ]
Current State: 31:[58, 61, 1, 60], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [61, 1, 2] Generated Node #2: [61, 1, 2] from Operation: 60-58=2 Current State: 31:[61, 1, 2], Operations: ['60-58=2'] Exploring Operation: 61+1=62, Resulting Numbers: [2, 62] Generated Node #3: [2, 62] from Operation: 61+1=62 Current State: 31:[2, 62], Operations: ['60-58=2', '61+1=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[58, 61, 1, 60], Operations: [] Exploring Operation: 58-1=57, Resulting Numbers: [61, 60, 57] Generated Node #0,0: 31:[61, 60, 57] Operation: 58-1=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[61, 60, 57], Operations: ['58-1=57'] Exploring Operation: 61-60=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 31:[57, 1] Operation: 61-60=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[57, 1], Operations: ['58-1=57', '61-60=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,31 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
[ 26, 5, 24, 23 ]
33
[ "26+24=50", "50/5=10", "23+10=33" ]
Current State: 33:[26, 5, 24, 23], Operations: [] Exploring Operation: 26+24=50, Resulting Numbers: [5, 23, 50] Generated Node #2: [5, 23, 50] from Operation: 26+24=50 Current State: 33:[5, 23, 50], Operations: ['26+24=50'] Exploring Operation: 50/5=10, Resulting Numbers: [23, 10] Generated Node #3: [23, 10] from Operation: 50/5=10 Current State: 33:[23, 10], Operations: ['26+24=50', '50/5=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[26, 5, 24, 23], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [5, 23, 2] Generated Node #0,0: 33:[5, 23, 2] Operation: 26-24=2 Exploring Operation: 26-23=3, Resulting Numbers: [5, 24, 3] Generated Node #0,1: 33:[5, 24, 3] Operation: 26-23=3 Exploring Operation: 24-23=1, Resulting Numbers: [26, 5, 1] Generated Node #0,2: 33:[26, 5, 1] Operation: 24-23=1 Moving to Node #0,1 Current State: 33:[5, 24, 3], Operations: ['26-23=3'] Exploring Operation: 24/3=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 33:[5, 8] Operation: 24/3=8 Exploring Operation: 5+24=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 33:[3, 29] Operation: 5+24=29 Exploring Operation: 24-5=19, Resulting Numbers: [3, 19] Generated Node #0,1,2: 33:[3, 19] Operation: 24-5=19 Moving to Node #0,2 Current State: 33:[26, 5, 1], Operations: ['24-23=1'] Exploring Operation: 26+1=27, Resulting Numbers: [5, 27] Generated Node #0,2,0: 33:[5, 27] Operation: 26+1=27 Exploring Operation: 5-1=4, Resulting Numbers: [26, 4] Generated Node #0,2,1: 33:[26, 4] Operation: 5-1=4 Exploring Operation: 26+5=31, Resulting Numbers: [1, 31] Generated Node #0,2,2: 33:[1, 31] Operation: 26+5=31 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[1, 31], Operations: ['24-23=1', '26+5=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[5, 27], Operations: ['24-23=1', '26+1=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,33 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[26, 4], Operations: ['24-23=1', '5-1=4'] Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,33 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 33:[5, 23, 2], Operations: ['26-24=2'] Exploring Operation: 23-5=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 33:[2, 18] Operation: 23-5=18 Exploring Operation: 5-2=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 33:[23, 3] Operation: 5-2=3 Exploring Operation: 5+23=28, Resulting Numbers: [2, 28] Generated Node #0,0,2: 33:[2, 28] Operation: 5+23=28 Moving to Node #0,1,1 Current State: 33:[3, 29], Operations: ['26-23=3', '5+24=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[5, 8], Operations: ['26-23=3', '24/3=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[2, 28], Operations: ['26-24=2', '5+23=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[3, 19], Operations: ['26-23=3', '24-5=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[2, 18], Operations: ['26-24=2', '23-5=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[23, 3], Operations: ['26-24=2', '5-2=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,33 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,33 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 78, 48, 53 ]
98
[ "15+78=93", "53-48=5", "93+5=98" ]
Current State: 98:[15, 78, 48, 53], Operations: [] Exploring Operation: 15+78=93, Resulting Numbers: [48, 53, 93] Generated Node #2: [48, 53, 93] from Operation: 15+78=93 Current State: 98:[48, 53, 93], Operations: ['15+78=93'] Exploring Operation: 53-48=5, Resulting Numbers: [93, 5] Generated Node #3: [93, 5] from Operation: 53-48=5 Current State: 98:[93, 5], Operations: ['15+78=93', '53-48=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[15, 78, 48, 53], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [15, 53, 30] Generated Node #0,0: 98:[15, 53, 30] Operation: 78-48=30 Exploring Operation: 78-15=63, Resulting Numbers: [48, 53, 63] Generated Node #0,1: 98:[48, 53, 63] Operation: 78-15=63 Exploring Operation: 15+78=93, Resulting Numbers: [48, 53, 93] Generated Node #0,2: 98:[48, 53, 93] Operation: 15+78=93 Exploring Operation: 78-53=25, Resulting Numbers: [15, 48, 25] Generated Node #0,3: 98:[15, 48, 25] Operation: 78-53=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[48, 53, 93], Operations: ['15+78=93'] Exploring Operation: 48+53=101, Resulting Numbers: [93, 101] Generated Node #0,2,0: 98:[93, 101] Operation: 48+53=101 Exploring Operation: 53-48=5, Resulting Numbers: [93, 5] Generated Node #0,2,1: 98:[93, 5] Operation: 53-48=5 Exploring Operation: 93-53=40, Resulting Numbers: [48, 40] Generated Node #0,2,2: 98:[48, 40] Operation: 93-53=40 Exploring Operation: 93-48=45, Resulting Numbers: [53, 45] Generated Node #0,2,3: 98:[53, 45] Operation: 93-48=45 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[93, 5], Operations: ['15+78=93', '53-48=5'] Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,98 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,98 unequal: No Solution Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[15, 78, 48, 53], Operations: [] Exploring Operation: 15+78=93, Resulting Numbers: [48, 53, 93] Generated Node #0,2: 98:[48, 53, 93] Operation: 15+78=93 Moving to Node #0,2 Current State: 98:[48, 53, 93], Operations: ['15+78=93'] Exploring Operation: 53-48=5, Resulting Numbers: [93, 5] Generated Node #0,2,1: 98:[93, 5] Operation: 53-48=5 Moving to Node #0,2,1 Current State: 98:[93, 5], Operations: ['15+78=93', '53-48=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 10, 30, 8, 31 ]
52
[ "10*30=300", "8*31=248", "300-248=52" ]
Current State: 52:[10, 30, 8, 31], Operations: [] Exploring Operation: 10*30=300, Resulting Numbers: [8, 31, 300] Generated Node #2: [8, 31, 300] from Operation: 10*30=300 Current State: 52:[8, 31, 300], Operations: ['10*30=300'] Exploring Operation: 8*31=248, Resulting Numbers: [300, 248] Generated Node #3: [300, 248] from Operation: 8*31=248 Current State: 52:[300, 248], Operations: ['10*30=300', '8*31=248'] Exploring Operation: 300-248=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[10, 30, 8, 31], Operations: [] Exploring Operation: 31-30=1, Resulting Numbers: [10, 8, 1] Generated Node #0,0: 52:[10, 8, 1] Operation: 31-30=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[10, 8, 1], Operations: ['31-30=1'] Exploring Operation: 10-8=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 52:[1, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 52:[1, 2], Operations: ['31-30=1', '10-8=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 93, 20, 45, 13 ]
98
[ "20+45=65", "65/13=5", "93+5=98" ]
Current State: 98:[93, 20, 45, 13], Operations: [] Exploring Operation: 20+45=65, Resulting Numbers: [93, 13, 65] Generated Node #2: [93, 13, 65] from Operation: 20+45=65 Current State: 98:[93, 13, 65], Operations: ['20+45=65'] Exploring Operation: 65/13=5, Resulting Numbers: [93, 5] Generated Node #3: [93, 5] from Operation: 65/13=5 Current State: 98:[93, 5], Operations: ['20+45=65', '65/13=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[93, 20, 45, 13], Operations: [] Exploring Operation: 20-13=7, Resulting Numbers: [93, 45, 7] Generated Node #0,0: 98:[93, 45, 7] Operation: 20-13=7 Exploring Operation: 93+13=106, Resulting Numbers: [20, 45, 106] Generated Node #0,1: 98:[20, 45, 106] Operation: 93+13=106 Exploring Operation: 93-45=48, Resulting Numbers: [20, 13, 48] Generated Node #0,2: 98:[20, 13, 48] Operation: 93-45=48 Exploring Operation: 45-20=25, Resulting Numbers: [93, 13, 25] Generated Node #0,3: 98:[93, 13, 25] Operation: 45-20=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[20, 13, 48], Operations: ['93-45=48'] Exploring Operation: 13+48=61, Resulting Numbers: [20, 61] Generated Node #0,2,0: 98:[20, 61] Operation: 13+48=61 Exploring Operation: 48-20=28, Resulting Numbers: [13, 28] Generated Node #0,2,1: 98:[13, 28] Operation: 48-20=28 Exploring Operation: 20+13=33, Resulting Numbers: [48, 33] Generated Node #0,2,2: 98:[48, 33] Operation: 20+13=33 Exploring Operation: 20-13=7, Resulting Numbers: [48, 7] Generated Node #0,2,3: 98:[48, 7] Operation: 20-13=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 98:[48, 7], Operations: ['93-45=48', '20-13=7'] Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,98 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[13, 28], Operations: ['93-45=48', '48-20=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[48, 33], Operations: ['93-45=48', '20+13=33'] Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[20, 61], Operations: ['93-45=48', '13+48=61'] Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,98 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[93, 45, 7], Operations: ['20-13=7'] Exploring Operation: 93+7=100, Resulting Numbers: [45, 100] Generated Node #0,0,0: 98:[45, 100] Operation: 93+7=100 Exploring Operation: 93-7=86, Resulting Numbers: [45, 86] Generated Node #0,0,1: 98:[45, 86] Operation: 93-7=86 Exploring Operation: 45+7=52, Resulting Numbers: [93, 52] Generated Node #0,0,2: 98:[93, 52] Operation: 45+7=52 Exploring Operation: 93-45=48, Resulting Numbers: [7, 48] Generated Node #0,0,3: 98:[7, 48] Operation: 93-45=48 Moving to Node #0,0,3 Current State: 98:[7, 48], Operations: ['20-13=7', '93-45=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,98 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[45, 100], Operations: ['20-13=7', '93+7=100'] Exploring Operation: 45+100=145, Resulting Numbers: [145] 145,98 unequal: No Solution Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 45*100=4500, Resulting Numbers: [4500] 4500,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[93, 52], Operations: ['20-13=7', '45+7=52'] Exploring Operation: 93*52=4836, Resulting Numbers: [4836] 4836,98 unequal: No Solution Exploring Operation: 93-52=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 93+52=145, Resulting Numbers: [145] 145,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[45, 86], Operations: ['20-13=7', '93-7=86'] Exploring Operation: 45+86=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 45*86=3870, Resulting Numbers: [3870] 3870,98 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[93, 13, 25], Operations: ['45-20=25'] Exploring Operation: 25-13=12, Resulting Numbers: [93, 12] Generated Node #0,3,0: 98:[93, 12] Operation: 25-13=12 Exploring Operation: 93+13=106, Resulting Numbers: [25, 106] Generated Node #0,3,1: 98:[25, 106] Operation: 93+13=106 Exploring Operation: 93-25=68, Resulting Numbers: [13, 68] Generated Node #0,3,2: 98:[13, 68] Operation: 93-25=68 Exploring Operation: 13+25=38, Resulting Numbers: [93, 38] Generated Node #0,3,3: 98:[93, 38] Operation: 13+25=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 98:[93, 12], Operations: ['45-20=25', '25-13=12'] Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 93*12=1116, Resulting Numbers: [1116] 1116,98 unequal: No Solution Exploring Operation: 93+12=105, Resulting Numbers: [105] 105,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 98:[93, 38], Operations: ['45-20=25', '13+25=38'] Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 93*38=3534, Resulting Numbers: [3534] 3534,98 unequal: No Solution Exploring Operation: 93+38=131, Resulting Numbers: [131] 131,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 98:[25, 106], Operations: ['45-20=25', '93+13=106'] Exploring Operation: 25*106=2650, Resulting Numbers: [2650] 2650,98 unequal: No Solution Exploring Operation: 25+106=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 106-25=81, Resulting Numbers: [81] 81,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 98:[13, 68], Operations: ['45-20=25', '93-25=68'] Exploring Operation: 13+68=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 13*68=884, Resulting Numbers: [884] 884,98 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[20, 45, 106], Operations: ['93+13=106'] Exploring Operation: 106-20=86, Resulting Numbers: [45, 86] Generated Node #0,1,0: 98:[45, 86] Operation: 106-20=86 Exploring Operation: 45-20=25, Resulting Numbers: [106, 25] Generated Node #0,1,1: 98:[106, 25] Operation: 45-20=25 Exploring Operation: 20+45=65, Resulting Numbers: [106, 65] Generated Node #0,1,2: 98:[106, 65] Operation: 20+45=65 Exploring Operation: 106-45=61, Resulting Numbers: [20, 61] Generated Node #0,1,3: 98:[20, 61] Operation: 106-45=61 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[45, 86], Operations: ['93+13=106', '106-20=86'] Exploring Operation: 45+86=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 45*86=3870, Resulting Numbers: [3870] 3870,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 98:[20, 61], Operations: ['93+13=106', '106-45=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,98 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[106, 25], Operations: ['93+13=106', '45-20=25'] Exploring Operation: 106*25=2650, Resulting Numbers: [2650] 2650,98 unequal: No Solution Exploring Operation: 106-25=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 106+25=131, Resulting Numbers: [131] 131,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[106, 65], Operations: ['93+13=106', '20+45=65'] Exploring Operation: 106-65=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 106+65=171, Resulting Numbers: [171] 171,98 unequal: No Solution Exploring Operation: 106*65=6890, Resulting Numbers: [6890] 6890,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 98, 10, 89, 6 ]
25
[ "98+10=108", "89-6=83", "108-83=25" ]
Current State: 25:[98, 10, 89, 6], Operations: [] Exploring Operation: 98+10=108, Resulting Numbers: [89, 6, 108] Generated Node #2: [89, 6, 108] from Operation: 98+10=108 Current State: 25:[89, 6, 108], Operations: ['98+10=108'] Exploring Operation: 89-6=83, Resulting Numbers: [108, 83] Generated Node #3: [108, 83] from Operation: 89-6=83 Current State: 25:[108, 83], Operations: ['98+10=108', '89-6=83'] Exploring Operation: 108-83=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[98, 10, 89, 6], Operations: [] Exploring Operation: 98-10=88, Resulting Numbers: [89, 6, 88] Generated Node #0,0: 25:[89, 6, 88] Operation: 98-10=88 Exploring Operation: 89-10=79, Resulting Numbers: [98, 6, 79] Generated Node #0,1: 25:[98, 6, 79] Operation: 89-10=79 Exploring Operation: 89-6=83, Resulting Numbers: [98, 10, 83] Generated Node #0,2: 25:[98, 10, 83] Operation: 89-6=83 Exploring Operation: 98-6=92, Resulting Numbers: [10, 89, 92] Generated Node #0,3: 25:[10, 89, 92] Operation: 98-6=92 Exploring Operation: 98-89=9, Resulting Numbers: [10, 6, 9] Generated Node #0,4: 25:[10, 6, 9] Operation: 98-89=9 Moving to Node #0,4 Current State: 25:[10, 6, 9], Operations: ['98-89=9'] Exploring Operation: 10+6=16, Resulting Numbers: [9, 16] Generated Node #0,4,0: 25:[9, 16] Operation: 10+6=16 Exploring Operation: 9-6=3, Resulting Numbers: [10, 3] Generated Node #0,4,1: 25:[10, 3] Operation: 9-6=3 Exploring Operation: 10-6=4, Resulting Numbers: [9, 4] Generated Node #0,4,2: 25:[9, 4] Operation: 10-6=4 Exploring Operation: 10-9=1, Resulting Numbers: [6, 1] Generated Node #0,4,3: 25:[6, 1] Operation: 10-9=1 Exploring Operation: 10+9=19, Resulting Numbers: [6, 19] Generated Node #0,4,4: 25:[6, 19] Operation: 10+9=19 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[9, 4], Operations: ['98-89=9', '10-6=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[6, 1], Operations: ['98-89=9', '10-9=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[10, 3], Operations: ['98-89=9', '9-6=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[6, 19], Operations: ['98-89=9', '10+9=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[98, 10, 89, 6], Operations: [] Exploring Operation: 98-89=9, Resulting Numbers: [10, 6, 9] Generated Node #0,4: 25:[10, 6, 9] Operation: 98-89=9 Moving to Node #0,4 Current State: 25:[10, 6, 9], Operations: ['98-89=9'] Exploring Operation: 10+9=19, Resulting Numbers: [6, 19] Generated Node #0,4,4: 25:[6, 19] Operation: 10+9=19 Moving to Node #0,4,4 Current State: 25:[6, 19], Operations: ['98-89=9', '10+9=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 99, 49, 53, 46 ]
92
[ "53-46=7", "49/7=7", "99-7=92" ]
Current State: 92:[99, 49, 53, 46], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [99, 49, 7] Generated Node #2: [99, 49, 7] from Operation: 53-46=7 Current State: 92:[99, 49, 7], Operations: ['53-46=7'] Exploring Operation: 49/7=7, Resulting Numbers: [99, 7] Generated Node #3: [99, 7] from Operation: 49/7=7 Current State: 92:[99, 7], Operations: ['53-46=7', '49/7=7'] Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[99, 49, 53, 46], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [49, 46, 46] Generated Node #0,0: 92:[49, 46, 46] Operation: 99-53=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[49, 46, 46], Operations: ['99-53=46'] Exploring Operation: 49-46=3, Resulting Numbers: [46, 3] Generated Node #0,0,0: 92:[46, 3] Operation: 49-46=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[46, 3], Operations: ['99-53=46', '49-46=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,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
[ 3, 2, 47, 48 ]
73
[ "3+47=50", "50/2=25", "48+25=73" ]
Current State: 73:[3, 2, 47, 48], Operations: [] Exploring Operation: 3+47=50, Resulting Numbers: [2, 48, 50] Generated Node #2: [2, 48, 50] from Operation: 3+47=50 Current State: 73:[2, 48, 50], Operations: ['3+47=50'] Exploring Operation: 50/2=25, Resulting Numbers: [48, 25] Generated Node #3: [48, 25] from Operation: 50/2=25 Current State: 73:[48, 25], Operations: ['3+47=50', '50/2=25'] Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[3, 2, 47, 48], Operations: [] Exploring Operation: 3+47=50, Resulting Numbers: [2, 48, 50] Generated Node #0,0: 73:[2, 48, 50] Operation: 3+47=50 Exploring Operation: 2*47=94, Resulting Numbers: [3, 48, 94] Generated Node #0,1: 73:[3, 48, 94] Operation: 2*47=94 Exploring Operation: 3+48=51, Resulting Numbers: [2, 47, 51] Generated Node #0,2: 73:[2, 47, 51] Operation: 3+48=51 Exploring Operation: 3*2=6, Resulting Numbers: [47, 48, 6] Generated Node #0,3: 73:[47, 48, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [47, 48, 5] Generated Node #0,4: 73:[47, 48, 5] Operation: 3+2=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[3, 48, 94], Operations: ['2*47=94'] Exploring Operation: 48/3=16, Resulting Numbers: [94, 16] Generated Node #0,1,0: 73:[94, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [94, 45] Generated Node #0,1,1: 73:[94, 45] Operation: 48-3=45 Exploring Operation: 3+94=97, Resulting Numbers: [48, 97] Generated Node #0,1,2: 73:[48, 97] Operation: 3+94=97 Exploring Operation: 94-3=91, Resulting Numbers: [48, 91] Generated Node #0,1,3: 73:[48, 91] Operation: 94-3=91 Exploring Operation: 3+48=51, Resulting Numbers: [94, 51] Generated Node #0,1,4: 73:[94, 51] Operation: 3+48=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 73:[48, 91], Operations: ['2*47=94', '94-3=91'] Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,73 unequal: No Solution Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,73 unequal: No Solution No 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: 73:[94, 51], Operations: ['2*47=94', '3+48=51'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 94+51=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 94*51=4794, Resulting Numbers: [4794] 4794,73 unequal: No Solution No 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: 73:[94, 45], Operations: ['2*47=94', '48-3=45'] Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,73 unequal: No Solution Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,73 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,73 unequal: No Solution No 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: 73:[48, 97], Operations: ['2*47=94', '3+94=97'] Exploring Operation: 48*97=4656, Resulting Numbers: [4656] 4656,73 unequal: No Solution Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 48+97=145, Resulting Numbers: [145] 145,73 unequal: No Solution No 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: 73:[94, 16], Operations: ['2*47=94', '48/3=16'] Exploring Operation: 94+16=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 94*16=1504, Resulting Numbers: [1504] 1504,73 unequal: No Solution Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,73 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: 73:[47, 48, 6], Operations: ['3*2=6'] Exploring Operation: 47+6=53, Resulting Numbers: [48, 53] Generated Node #0,3,0: 73:[48, 53] Operation: 47+6=53 Exploring Operation: 47+48=95, Resulting Numbers: [6, 95] Generated Node #0,3,1: 73:[6, 95] Operation: 47+48=95 Exploring Operation: 48-6=42, Resulting Numbers: [47, 42] Generated Node #0,3,2: 73:[47, 42] Operation: 48-6=42 Exploring Operation: 48+6=54, Resulting Numbers: [47, 54] Generated Node #0,3,3: 73:[47, 54] Operation: 48+6=54 Exploring Operation: 47-6=41, Resulting Numbers: [48, 41] Generated Node #0,3,4: 73:[48, 41] Operation: 47-6=41 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[48, 53], Operations: ['3*2=6', '47+6=53'] Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,73 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,73 unequal: No Solution No 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: 73:[47, 54], Operations: ['3*2=6', '48+6=54'] Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,73 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,73 unequal: No Solution No 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: 73:[47, 42], Operations: ['3*2=6', '48-6=42'] Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,73 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,73 unequal: No Solution No 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: 73:[48, 41], Operations: ['3*2=6', '47-6=41'] Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,73 unequal: No Solution Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,73 unequal: No Solution No 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: 73:[6, 95], Operations: ['3*2=6', '47+48=95'] Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,73 unequal: No Solution Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,73 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: 73:[2, 48, 50], Operations: ['3+47=50'] Exploring Operation: 2+48=50, Resulting Numbers: [50, 50] Generated Node #0,0,0: 73:[50, 50] Operation: 2+48=50 Exploring Operation: 48-2=46, Resulting Numbers: [50, 46] Generated Node #0,0,1: 73:[50, 46] Operation: 48-2=46 Exploring Operation: 2+50=52, Resulting Numbers: [48, 52] Generated Node #0,0,2: 73:[48, 52] Operation: 2+50=52 Exploring Operation: 50-2=48, Resulting Numbers: [48, 48] Generated Node #0,0,3: 73:[48, 48] Operation: 50-2=48 Exploring Operation: 2*48=96, Resulting Numbers: [50, 96] Generated Node #0,0,4: 73:[50, 96] Operation: 2*48=96 Moving to Node #0,0,0 Current State: 73:[50, 50], Operations: ['3+47=50', '2+48=50'] Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,73 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[50, 96], Operations: ['3+47=50', '2*48=96'] Exploring Operation: 50+96=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 50*96=4800, Resulting Numbers: [4800] 4800,73 unequal: No Solution Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[48, 52], Operations: ['3+47=50', '2+50=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[50, 46], Operations: ['3+47=50', '48-2=46'] Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,73 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[48, 48], Operations: ['3+47=50', '50-2=48'] Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,73 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[2, 47, 51], Operations: ['3+48=51'] Exploring Operation: 47-2=45, Resulting Numbers: [51, 45] Generated Node #0,2,0: 73:[51, 45] Operation: 47-2=45 Exploring Operation: 2+51=53, Resulting Numbers: [47, 53] Generated Node #0,2,1: 73:[47, 53] Operation: 2+51=53 Exploring Operation: 2+47=49, Resulting Numbers: [51, 49] Generated Node #0,2,2: 73:[51, 49] Operation: 2+47=49 Exploring Operation: 51-2=49, Resulting Numbers: [47, 49] Generated Node #0,2,3: 73:[47, 49] Operation: 51-2=49 Exploring Operation: 2*47=94, Resulting Numbers: [51, 94] Generated Node #0,2,4: 73:[51, 94] Operation: 2*47=94 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 73:[51, 94], Operations: ['3+48=51', '2*47=94'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 51*94=4794, Resulting Numbers: [4794] 4794,73 unequal: No Solution Exploring Operation: 51+94=145, Resulting Numbers: [145] 145,73 unequal: No Solution No 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: 73:[47, 53], Operations: ['3+48=51', '2+51=53'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,73 unequal: No Solution No 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: 73:[51, 49], Operations: ['3+48=51', '2+47=49'] Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,73 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,73 unequal: No Solution No 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: 73:[51, 45], Operations: ['3+48=51', '47-2=45'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 51*45=2295, Resulting Numbers: [2295] 2295,73 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,73 unequal: No Solution No 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: 73:[47, 49], Operations: ['3+48=51', '51-2=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,73 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[47, 48, 5], Operations: ['3+2=5'] Exploring Operation: 48+5=53, Resulting Numbers: [47, 53] Generated Node #0,4,0: 73:[47, 53] Operation: 48+5=53 Exploring Operation: 47+5=52, Resulting Numbers: [48, 52] Generated Node #0,4,1: 73:[48, 52] Operation: 47+5=52 Exploring Operation: 48-5=43, Resulting Numbers: [47, 43] Generated Node #0,4,2: 73:[47, 43] Operation: 48-5=43 Exploring Operation: 47-5=42, Resulting Numbers: [48, 42] Generated Node #0,4,3: 73:[48, 42] Operation: 47-5=42 Exploring Operation: 47+48=95, Resulting Numbers: [5, 95] Generated Node #0,4,4: 73:[5, 95] Operation: 47+48=95 Moving to Node #0,4,0 Current State: 73:[47, 53], Operations: ['3+2=5', '48+5=53'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[48, 52], Operations: ['3+2=5', '47+5=52'] Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,73 unequal: No Solution Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[47, 43], Operations: ['3+2=5', '48-5=43'] Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,73 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[48, 42], Operations: ['3+2=5', '47-5=42'] Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,73 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[5, 95], Operations: ['3+2=5', '47+48=95'] Exploring Operation: 5*95=475, Resulting Numbers: [475] 475,73 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 46, 28, 84, 70 ]
52
[ "46+84=130", "28*130=3640", "3640/70=52" ]
Current State: 52:[46, 28, 84, 70], Operations: [] Exploring Operation: 46+84=130, Resulting Numbers: [28, 70, 130] Generated Node #2: [28, 70, 130] from Operation: 46+84=130 Current State: 52:[28, 70, 130], Operations: ['46+84=130'] Exploring Operation: 28*130=3640, Resulting Numbers: [70, 3640] Generated Node #3: [70, 3640] from Operation: 28*130=3640 Current State: 52:[70, 3640], Operations: ['46+84=130', '28*130=3640'] Exploring Operation: 3640/70=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[46, 28, 84, 70], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [28, 70, 38] Generated Node #0,0: 52:[28, 70, 38] Operation: 84-46=38 Exploring Operation: 84/28=3, Resulting Numbers: [46, 70, 3] Generated Node #0,1: 52:[46, 70, 3] Operation: 84/28=3 Exploring Operation: 84-70=14, Resulting Numbers: [46, 28, 14] Generated Node #0,2: 52:[46, 28, 14] Operation: 84-70=14 Exploring Operation: 84-28=56, Resulting Numbers: [46, 70, 56] Generated Node #0,3: 52:[46, 70, 56] Operation: 84-28=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[46, 28, 14], Operations: ['84-70=14'] Exploring Operation: 46-28=18, Resulting Numbers: [14, 18] Generated Node #0,2,0: 52:[14, 18] Operation: 46-28=18 Exploring Operation: 28/14=2, Resulting Numbers: [46, 2] Generated Node #0,2,1: 52:[46, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [46, 14] Generated Node #0,2,2: 52:[46, 14] Operation: 28-14=14 Exploring Operation: 46-14=32, Resulting Numbers: [28, 32] Generated Node #0,2,3: 52:[28, 32] Operation: 46-14=32 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[14, 18], Operations: ['84-70=14', '46-28=18'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,52 unequal: No Solution No 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: 52:[46, 2], Operations: ['84-70=14', '28/14=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,52 unequal: No Solution No 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: 52:[46, 14], Operations: ['84-70=14', '28-14=14'] Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,52 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,52 unequal: No Solution No 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: 52:[28, 32], Operations: ['84-70=14', '46-14=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,52 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: 52:[46, 70, 3], Operations: ['84/28=3'] Exploring Operation: 46+3=49, Resulting Numbers: [70, 49] Generated Node #0,1,0: 52:[70, 49] Operation: 46+3=49 Exploring Operation: 70-3=67, Resulting Numbers: [46, 67] Generated Node #0,1,1: 52:[46, 67] Operation: 70-3=67 Exploring Operation: 46-3=43, Resulting Numbers: [70, 43] Generated Node #0,1,2: 52:[70, 43] Operation: 46-3=43 Exploring Operation: 70-46=24, Resulting Numbers: [3, 24] Generated Node #0,1,3: 52:[3, 24] Operation: 70-46=24 Moving to Node #0,1,3 Current State: 52:[3, 24], Operations: ['84/28=3', '70-46=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[46, 67], Operations: ['84/28=3', '70-3=67'] Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,52 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[70, 49], Operations: ['84/28=3', '46+3=49'] Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 70+49=119, Resulting Numbers: [119] 119,52 unequal: No Solution Exploring Operation: 70*49=3430, Resulting Numbers: [3430] 3430,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[70, 43], Operations: ['84/28=3', '46-3=43'] Exploring Operation: 70*43=3010, Resulting Numbers: [3010] 3010,52 unequal: No Solution Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,52 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,52 unequal: No Solution No 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: 52:[46, 70, 56], Operations: ['84-28=56'] Exploring Operation: 70-56=14, Resulting Numbers: [46, 14] Generated Node #0,3,0: 52:[46, 14] Operation: 70-56=14 Exploring Operation: 56-46=10, Resulting Numbers: [70, 10] Generated Node #0,3,1: 52:[70, 10] Operation: 56-46=10 Exploring Operation: 46+70=116, Resulting Numbers: [56, 116] Generated Node #0,3,2: 52:[56, 116] Operation: 46+70=116 Exploring Operation: 70-46=24, Resulting Numbers: [56, 24] Generated Node #0,3,3: 52:[56, 24] Operation: 70-46=24 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[56, 24], Operations: ['84-28=56', '70-46=24'] Exploring Operation: 56*24=1344, Resulting Numbers: [1344] 1344,52 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,52 unequal: No Solution No 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: 52:[46, 14], Operations: ['84-28=56', '70-56=14'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,52 unequal: No Solution No 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: 52:[70, 10], Operations: ['84-28=56', '56-46=10'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,52 unequal: No Solution No 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: 52:[56, 116], Operations: ['84-28=56', '46+70=116'] Exploring Operation: 116-56=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 56+116=172, Resulting Numbers: [172] 172,52 unequal: No Solution Exploring Operation: 56*116=6496, Resulting Numbers: [6496] 6496,52 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: 52:[28, 70, 38], Operations: ['84-46=38'] Exploring Operation: 70-28=42, Resulting Numbers: [38, 42] Generated Node #0,0,0: 52:[38, 42] Operation: 70-28=42 Exploring Operation: 70-38=32, Resulting Numbers: [28, 32] Generated Node #0,0,1: 52:[28, 32] Operation: 70-38=32 Exploring Operation: 28+38=66, Resulting Numbers: [70, 66] Generated Node #0,0,2: 52:[70, 66] Operation: 28+38=66 Exploring Operation: 38-28=10, Resulting Numbers: [70, 10] Generated Node #0,0,3: 52:[70, 10] Operation: 38-28=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[28, 32], Operations: ['84-46=38', '70-38=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,52 unequal: No Solution No 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: 52:[70, 10], Operations: ['84-46=38', '38-28=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,52 unequal: No Solution No 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: 52:[38, 42], Operations: ['84-46=38', '70-28=42'] Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,52 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,52 unequal: No Solution No 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: 52:[70, 66], Operations: ['84-46=38', '28+38=66'] Exploring Operation: 70+66=136, Resulting Numbers: [136] 136,52 unequal: No Solution Exploring Operation: 70*66=4620, Resulting Numbers: [4620] 4620,52 unequal: No Solution Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,52 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
[ 72, 79, 13, 64 ]
61
[ "79+64=143", "143/13=11", "72-11=61" ]
Current State: 61:[72, 79, 13, 64], Operations: [] Exploring Operation: 79+64=143, Resulting Numbers: [72, 13, 143] Generated Node #2: [72, 13, 143] from Operation: 79+64=143 Current State: 61:[72, 13, 143], Operations: ['79+64=143'] Exploring Operation: 143/13=11, Resulting Numbers: [72, 11] Generated Node #3: [72, 11] from Operation: 143/13=11 Current State: 61:[72, 11], Operations: ['79+64=143', '143/13=11'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[72, 79, 13, 64], Operations: [] Exploring Operation: 72-13=59, Resulting Numbers: [79, 64, 59] Generated Node #0,0: 61:[79, 64, 59] Operation: 72-13=59 Exploring Operation: 79-13=66, Resulting Numbers: [72, 64, 66] Generated Node #0,1: 61:[72, 64, 66] Operation: 79-13=66 Moving to Node #0,1 Current State: 61:[72, 64, 66], Operations: ['79-13=66'] Exploring Operation: 72-66=6, Resulting Numbers: [64, 6] Generated Node #0,1,0: 61:[64, 6] Operation: 72-66=6 Exploring Operation: 72-64=8, Resulting Numbers: [66, 8] Generated Node #0,1,1: 61:[66, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[64, 6], Operations: ['79-13=66', '72-66=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,61 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[66, 8], Operations: ['79-13=66', '72-64=8'] Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[79, 64, 59], Operations: ['72-13=59'] Exploring Operation: 79-59=20, Resulting Numbers: [64, 20] Generated Node #0,0,0: 61:[64, 20] Operation: 79-59=20 Exploring Operation: 79-64=15, Resulting Numbers: [59, 15] Generated Node #0,0,1: 61:[59, 15] Operation: 79-64=15 Moving to Node #0,0,0 Current State: 61:[64, 20], Operations: ['72-13=59', '79-59=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[59, 15], Operations: ['72-13=59', '79-64=15'] Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,61 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 17, 39, 60, 97 ]
68
[ "39+97=136", "136/17=8", "60+8=68" ]
Current State: 68:[17, 39, 60, 97], Operations: [] Exploring Operation: 39+97=136, Resulting Numbers: [17, 60, 136] Generated Node #2: [17, 60, 136] from Operation: 39+97=136 Current State: 68:[17, 60, 136], Operations: ['39+97=136'] Exploring Operation: 136/17=8, Resulting Numbers: [60, 8] Generated Node #3: [60, 8] from Operation: 136/17=8 Current State: 68:[60, 8], Operations: ['39+97=136', '136/17=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[17, 39, 60, 97], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [17, 39, 37] Generated Node #0,0: 68:[17, 39, 37] Operation: 97-60=37 Exploring Operation: 97-39=58, Resulting Numbers: [17, 60, 58] Generated Node #0,1: 68:[17, 60, 58] Operation: 97-39=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[17, 39, 37], Operations: ['97-60=37'] Exploring Operation: 39-17=22, Resulting Numbers: [37, 22] Generated Node #0,0,0: 68:[37, 22] Operation: 39-17=22 Exploring Operation: 39-37=2, Resulting Numbers: [17, 2] Generated Node #0,0,1: 68:[17, 2] Operation: 39-37=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[17, 2], Operations: ['97-60=37', '39-37=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[37, 22], Operations: ['97-60=37', '39-17=22'] Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[17, 60, 58], Operations: ['97-39=58'] Exploring Operation: 17+58=75, Resulting Numbers: [60, 75] Generated Node #0,1,0: 68:[60, 75] Operation: 17+58=75 Exploring Operation: 60-58=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 68:[17, 2] Operation: 60-58=2 Moving to Node #0,1,1 Current State: 68:[17, 2], Operations: ['97-39=58', '60-58=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[60, 75], Operations: ['97-39=58', '17+58=75'] Exploring Operation: 60+75=135, Resulting Numbers: [135] 135,68 unequal: No Solution Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 64, 65, 41, 74 ]
32
[ "65-64=1", "74-41=33", "33-1=32" ]
Current State: 32:[64, 65, 41, 74], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [41, 74, 1] Generated Node #2: [41, 74, 1] from Operation: 65-64=1 Current State: 32:[41, 74, 1], Operations: ['65-64=1'] Exploring Operation: 74-41=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 74-41=33 Current State: 32:[1, 33], Operations: ['65-64=1', '74-41=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[64, 65, 41, 74], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [65, 41, 10] Generated Node #0,0: 32:[65, 41, 10] Operation: 74-64=10 Exploring Operation: 65-64=1, Resulting Numbers: [41, 74, 1] Generated Node #0,1: 32:[41, 74, 1] Operation: 65-64=1 Exploring Operation: 74-65=9, Resulting Numbers: [64, 41, 9] Generated Node #0,2: 32:[64, 41, 9] Operation: 74-65=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[64, 41, 9], Operations: ['74-65=9'] Exploring Operation: 64-41=23, Resulting Numbers: [9, 23] Generated Node #0,2,0: 32:[9, 23] Operation: 64-41=23 Exploring Operation: 64-9=55, Resulting Numbers: [41, 55] Generated Node #0,2,1: 32:[41, 55] Operation: 64-9=55 Exploring Operation: 41-9=32, Resulting Numbers: [64, 32] Generated Node #0,2,2: 32:[64, 32] Operation: 41-9=32 Moving to Node #0,2,0 Current State: 32:[9, 23], Operations: ['74-65=9', '64-41=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[64, 65, 41, 74], Operations: [] Exploring Operation: 74-65=9, Resulting Numbers: [64, 41, 9] Generated Node #0,2: 32:[64, 41, 9] Operation: 74-65=9 Moving to Node #0,2 Current State: 32:[64, 41, 9], Operations: ['74-65=9'] Exploring Operation: 64-41=23, Resulting Numbers: [9, 23] Generated Node #0,2,0: 32:[9, 23] Operation: 64-41=23 Moving to Node #0,2,0 Current State: 32:[9, 23], Operations: ['74-65=9', '64-41=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 61, 38, 4, 78 ]
90
[ "38+78=116", "116/4=29", "61+29=90" ]
Current State: 90:[61, 38, 4, 78], Operations: [] Exploring Operation: 38+78=116, Resulting Numbers: [61, 4, 116] Generated Node #2: [61, 4, 116] from Operation: 38+78=116 Current State: 90:[61, 4, 116], Operations: ['38+78=116'] Exploring Operation: 116/4=29, Resulting Numbers: [61, 29] Generated Node #3: [61, 29] from Operation: 116/4=29 Current State: 90:[61, 29], Operations: ['38+78=116', '116/4=29'] Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[61, 38, 4, 78], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [4, 78, 23] Generated Node #0,0: 90:[4, 78, 23] Operation: 61-38=23 Exploring Operation: 61+38=99, Resulting Numbers: [4, 78, 99] Generated Node #0,1: 90:[4, 78, 99] Operation: 61+38=99 Exploring Operation: 78-61=17, Resulting Numbers: [38, 4, 17] Generated Node #0,2: 90:[38, 4, 17] Operation: 78-61=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[38, 4, 17], Operations: ['78-61=17'] Exploring Operation: 38+4=42, Resulting Numbers: [17, 42] Generated Node #0,2,0: 90:[17, 42] Operation: 38+4=42 Exploring Operation: 38-4=34, Resulting Numbers: [17, 34] Generated Node #0,2,1: 90:[17, 34] Operation: 38-4=34 Exploring Operation: 38-17=21, Resulting Numbers: [4, 21] Generated Node #0,2,2: 90:[4, 21] Operation: 38-17=21 Moving to Node #0,2,0 Current State: 90:[17, 42], Operations: ['78-61=17', '38+4=42'] Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,90 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[4, 21], Operations: ['78-61=17', '38-17=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[17, 34], Operations: ['78-61=17', '38-4=34'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[4, 78, 23], Operations: ['61-38=23'] Exploring Operation: 78+23=101, Resulting Numbers: [4, 101] Generated Node #0,0,0: 90:[4, 101] Operation: 78+23=101 Exploring Operation: 78-23=55, Resulting Numbers: [4, 55] Generated Node #0,0,1: 90:[4, 55] Operation: 78-23=55 Exploring Operation: 4+78=82, Resulting Numbers: [23, 82] Generated Node #0,0,2: 90:[23, 82] Operation: 4+78=82 Moving to Node #0,0,1 Current State: 90:[4, 55], Operations: ['61-38=23', '78-23=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,90 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[4, 101], Operations: ['61-38=23', '78+23=101'] Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,90 unequal: No Solution Exploring Operation: 4*101=404, Resulting Numbers: [404] 404,90 unequal: No Solution Exploring Operation: 4+101=105, Resulting Numbers: [105] 105,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[23, 82], Operations: ['61-38=23', '4+78=82'] Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,90 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[4, 78, 99], Operations: ['61+38=99'] Exploring Operation: 4+78=82, Resulting Numbers: [99, 82] Generated Node #0,1,0: 90:[99, 82] Operation: 4+78=82 Exploring Operation: 99-4=95, Resulting Numbers: [78, 95] Generated Node #0,1,1: 90:[78, 95] Operation: 99-4=95 Exploring Operation: 99-78=21, Resulting Numbers: [4, 21] Generated Node #0,1,2: 90:[4, 21] Operation: 99-78=21 Moving to Node #0,1,2 Current State: 90:[4, 21], Operations: ['61+38=99', '99-78=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[99, 82], Operations: ['61+38=99', '4+78=82'] Exploring Operation: 99+82=181, Resulting Numbers: [181] 181,90 unequal: No Solution Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 99*82=8118, Resulting Numbers: [8118] 8118,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[78, 95], Operations: ['61+38=99', '99-4=95'] Exploring Operation: 78+95=173, Resulting Numbers: [173] 173,90 unequal: No Solution Exploring Operation: 95-78=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 78*95=7410, Resulting Numbers: [7410] 7410,90 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
[ 89, 28, 13, 58 ]
49
[ "89+28=117", "117/13=9", "58-9=49" ]
Current State: 49:[89, 28, 13, 58], Operations: [] Exploring Operation: 89+28=117, Resulting Numbers: [13, 58, 117] Generated Node #2: [13, 58, 117] from Operation: 89+28=117 Current State: 49:[13, 58, 117], Operations: ['89+28=117'] Exploring Operation: 117/13=9, Resulting Numbers: [58, 9] Generated Node #3: [58, 9] from Operation: 117/13=9 Current State: 49:[58, 9], Operations: ['89+28=117', '117/13=9'] Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[89, 28, 13, 58], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [28, 13, 31] Generated Node #0,0: 49:[28, 13, 31] Operation: 89-58=31 Exploring Operation: 89-13=76, Resulting Numbers: [28, 58, 76] Generated Node #0,1: 49:[28, 58, 76] Operation: 89-13=76 Exploring Operation: 89-28=61, Resulting Numbers: [13, 58, 61] Generated Node #0,2: 49:[13, 58, 61] Operation: 89-28=61 Moving to Node #0,2 Current State: 49:[13, 58, 61], Operations: ['89-28=61'] Exploring Operation: 58-13=45, Resulting Numbers: [61, 45] Generated Node #0,2,0: 49:[61, 45] Operation: 58-13=45 Exploring Operation: 61-13=48, Resulting Numbers: [58, 48] Generated Node #0,2,1: 49:[58, 48] Operation: 61-13=48 Exploring Operation: 61-58=3, Resulting Numbers: [13, 3] Generated Node #0,2,2: 49:[13, 3] Operation: 61-58=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[58, 48], Operations: ['89-28=61', '61-13=48'] Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,49 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,49 unequal: No Solution No 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: 49:[13, 3], Operations: ['89-28=61', '61-58=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,49 unequal: No Solution No 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: 49:[61, 45], Operations: ['89-28=61', '58-13=45'] Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 61+45=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 61*45=2745, Resulting Numbers: [2745] 2745,49 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: 49:[28, 13, 31], Operations: ['89-58=31'] Exploring Operation: 28+13=41, Resulting Numbers: [31, 41] Generated Node #0,0,0: 49:[31, 41] Operation: 28+13=41 Exploring Operation: 28+31=59, Resulting Numbers: [13, 59] Generated Node #0,0,1: 49:[13, 59] Operation: 28+31=59 Exploring Operation: 31-28=3, Resulting Numbers: [13, 3] Generated Node #0,0,2: 49:[13, 3] Operation: 31-28=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[13, 3], Operations: ['89-58=31', '31-28=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,49 unequal: No Solution No 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: 49:[13, 59], Operations: ['89-58=31', '28+31=59'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,49 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,49 unequal: No Solution No 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: 49:[31, 41], Operations: ['89-58=31', '28+13=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,49 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,49 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: 49:[28, 58, 76], Operations: ['89-13=76'] Exploring Operation: 76-58=18, Resulting Numbers: [28, 18] Generated Node #0,1,0: 49:[28, 18] Operation: 76-58=18 Exploring Operation: 58-28=30, Resulting Numbers: [76, 30] Generated Node #0,1,1: 49:[76, 30] Operation: 58-28=30 Exploring Operation: 76-28=48, Resulting Numbers: [58, 48] Generated Node #0,1,2: 49:[58, 48] Operation: 76-28=48 Moving to Node #0,1,2 Current State: 49:[58, 48], Operations: ['89-13=76', '76-28=48'] Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[28, 18], Operations: ['89-13=76', '76-58=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[76, 30], Operations: ['89-13=76', '58-28=30'] Exploring Operation: 76+30=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 76*30=2280, Resulting Numbers: [2280] 2280,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 36, 86, 88 ]
17
[ "88-86=2", "36/2=18", "35-18=17" ]
Current State: 17:[35, 36, 86, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [35, 36, 2] Generated Node #2: [35, 36, 2] from Operation: 88-86=2 Current State: 17:[35, 36, 2], Operations: ['88-86=2'] Exploring Operation: 36/2=18, Resulting Numbers: [35, 18] Generated Node #3: [35, 18] from Operation: 36/2=18 Current State: 17:[35, 18], Operations: ['88-86=2', '36/2=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[35, 36, 86, 88], Operations: [] Exploring Operation: 86-36=50, Resulting Numbers: [35, 88, 50] Generated Node #0,0: 17:[35, 88, 50] Operation: 86-36=50 Exploring Operation: 88-86=2, Resulting Numbers: [35, 36, 2] Generated Node #0,1: 17:[35, 36, 2] Operation: 88-86=2 Exploring Operation: 86-35=51, Resulting Numbers: [36, 88, 51] Generated Node #0,2: 17:[36, 88, 51] Operation: 86-35=51 Exploring Operation: 88-36=52, Resulting Numbers: [35, 86, 52] Generated Node #0,3: 17:[35, 86, 52] Operation: 88-36=52 Moving to Node #0,1 Current State: 17:[35, 36, 2], Operations: ['88-86=2'] Exploring Operation: 35-2=33, Resulting Numbers: [36, 33] Generated Node #0,1,0: 17:[36, 33] Operation: 35-2=33 Exploring Operation: 36-35=1, Resulting Numbers: [2, 1] Generated Node #0,1,1: 17:[2, 1] Operation: 36-35=1 Exploring Operation: 36-2=34, Resulting Numbers: [35, 34] Generated Node #0,1,2: 17:[35, 34] Operation: 36-2=34 Exploring Operation: 36/2=18, Resulting Numbers: [35, 18] Generated Node #0,1,3: 17:[35, 18] Operation: 36/2=18 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[35, 18], Operations: ['88-86=2', '36/2=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[35, 36, 86, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [35, 36, 2] Generated Node #0,1: 17:[35, 36, 2] Operation: 88-86=2 Moving to Node #0,1 Current State: 17:[35, 36, 2], Operations: ['88-86=2'] Exploring Operation: 36/2=18, Resulting Numbers: [35, 18] Generated Node #0,1,3: 17:[35, 18] Operation: 36/2=18 Moving to Node #0,1,3 Current State: 17:[35, 18], Operations: ['88-86=2', '36/2=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 2, 48, 43, 3 ]
91
[ "3-2=1", "48+43=91", "1*91=91" ]
Current State: 91:[2, 48, 43, 3], Operations: [] Exploring Operation: 3-2=1, Resulting Numbers: [48, 43, 1] Generated Node #2: [48, 43, 1] from Operation: 3-2=1 Current State: 91:[48, 43, 1], Operations: ['3-2=1'] Exploring Operation: 48+43=91, Resulting Numbers: [1, 91] Generated Node #3: [1, 91] from Operation: 48+43=91 Current State: 91:[1, 91], Operations: ['3-2=1', '48+43=91'] Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[2, 48, 43, 3], Operations: [] Exploring Operation: 48+43=91, Resulting Numbers: [2, 3, 91] Generated Node #0,0: 91:[2, 3, 91] Operation: 48+43=91 Exploring Operation: 48-43=5, Resulting Numbers: [2, 3, 5] Generated Node #0,1: 91:[2, 3, 5] Operation: 48-43=5 Moving to Node #0,0 Current State: 91:[2, 3, 91], Operations: ['48+43=91'] Exploring Operation: 2*3=6, Resulting Numbers: [91, 6] Generated Node #0,0,0: 91:[91, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [91, 5] Generated Node #0,0,1: 91:[91, 5] Operation: 2+3=5 Moving to Node #0,1 Current State: 91:[2, 3, 5], Operations: ['48-43=5'] Exploring Operation: 2*3=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 91:[5, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [5, 5] Generated Node #0,1,1: 91:[5, 5] Operation: 2+3=5 Moving to Node #0,0,0 Current State: 91:[91, 6], Operations: ['48+43=91', '2*3=6'] Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[91, 5], Operations: ['48+43=91', '2+3=5'] Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[5, 6], Operations: ['48-43=5', '2*3=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[5, 5], Operations: ['48-43=5', '2+3=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,91 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 21, 5, 11 ]
63
[ "11-5=6", "21*6=126", "126-63=63" ]
Current State: 63:[63, 21, 5, 11], Operations: [] Exploring Operation: 11-5=6, Resulting Numbers: [63, 21, 6] Generated Node #2: [63, 21, 6] from Operation: 11-5=6 Current State: 63:[63, 21, 6], Operations: ['11-5=6'] Exploring Operation: 21*6=126, Resulting Numbers: [63, 126] Generated Node #3: [63, 126] from Operation: 21*6=126 Current State: 63:[63, 126], Operations: ['11-5=6', '21*6=126'] Exploring Operation: 126-63=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[63, 21, 5, 11], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [5, 11, 3] Generated Node #0,0: 63:[5, 11, 3] Operation: 63/21=3 Exploring Operation: 63+5=68, Resulting Numbers: [21, 11, 68] Generated Node #0,1: 63:[21, 11, 68] Operation: 63+5=68 Exploring Operation: 21-11=10, Resulting Numbers: [63, 5, 10] Generated Node #0,2: 63:[63, 5, 10] Operation: 21-11=10 Exploring Operation: 11-5=6, Resulting Numbers: [63, 21, 6] Generated Node #0,3: 63:[63, 21, 6] Operation: 11-5=6 Exploring Operation: 5+11=16, Resulting Numbers: [63, 21, 16] Generated Node #0,4: 63:[63, 21, 16] Operation: 5+11=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[63, 21, 6], Operations: ['11-5=6'] Exploring Operation: 63-6=57, Resulting Numbers: [21, 57] Generated Node #0,3,0: 63:[21, 57] Operation: 63-6=57 Exploring Operation: 63/21=3, Resulting Numbers: [6, 3] Generated Node #0,3,1: 63:[6, 3] Operation: 63/21=3 Exploring Operation: 63+6=69, Resulting Numbers: [21, 69] Generated Node #0,3,2: 63:[21, 69] Operation: 63+6=69 Exploring Operation: 21+6=27, Resulting Numbers: [63, 27] Generated Node #0,3,3: 63:[63, 27] Operation: 21+6=27 Exploring Operation: 21-6=15, Resulting Numbers: [63, 15] Generated Node #0,3,4: 63:[63, 15] Operation: 21-6=15 Moving to Node #0,3,1 Current State: 63:[6, 3], Operations: ['11-5=6', '63/21=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[21, 69], Operations: ['11-5=6', '63+6=69'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,63 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[63, 15], Operations: ['11-5=6', '21-6=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[21, 57], Operations: ['11-5=6', '63-6=57'] Exploring Operation: 21*57=1197, Resulting Numbers: [1197] 1197,63 unequal: No Solution Exploring Operation: 21+57=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[63, 27], Operations: ['11-5=6', '21+6=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,63 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[63, 5, 10], Operations: ['21-11=10'] Exploring Operation: 63-5=58, Resulting Numbers: [10, 58] Generated Node #0,2,0: 63:[10, 58] Operation: 63-5=58 Exploring Operation: 10/5=2, Resulting Numbers: [63, 2] Generated Node #0,2,1: 63:[63, 2] Operation: 10/5=2 Exploring Operation: 5+10=15, Resulting Numbers: [63, 15] Generated Node #0,2,2: 63:[63, 15] Operation: 5+10=15 Exploring Operation: 63+5=68, Resulting Numbers: [10, 68] Generated Node #0,2,3: 63:[10, 68] Operation: 63+5=68 Exploring Operation: 10-5=5, Resulting Numbers: [63, 5] Generated Node #0,2,4: 63:[63, 5] Operation: 10-5=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[63, 2], Operations: ['21-11=10', '10/5=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,63 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 63:[63, 5], Operations: ['21-11=10', '10-5=5'] Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,63 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[10, 58], Operations: ['21-11=10', '63-5=58'] Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,63 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[63, 15], Operations: ['21-11=10', '5+10=15'] Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,63 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 63:[10, 68], Operations: ['21-11=10', '63+5=68'] Exploring Operation: 10*68=680, Resulting Numbers: [680] 680,63 unequal: No Solution Exploring Operation: 10+68=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[5, 11, 3], Operations: ['63/21=3'] Exploring Operation: 11-3=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 63:[5, 8] Operation: 11-3=8 Exploring Operation: 5-3=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 63:[11, 2] Operation: 5-3=2 Exploring Operation: 5+3=8, Resulting Numbers: [11, 8] Generated Node #0,0,2: 63:[11, 8] Operation: 5+3=8 Exploring Operation: 5+11=16, Resulting Numbers: [3, 16] Generated Node #0,0,3: 63:[3, 16] Operation: 5+11=16 Exploring Operation: 11-5=6, Resulting Numbers: [3, 6] Generated Node #0,0,4: 63:[3, 6] Operation: 11-5=6 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 63:[3, 6], Operations: ['63/21=3', '11-5=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[5, 8], Operations: ['63/21=3', '11-3=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[11, 2], Operations: ['63/21=3', '5-3=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[11, 8], Operations: ['63/21=3', '5+3=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 63:[3, 16], Operations: ['63/21=3', '5+11=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[63, 21, 16], Operations: ['5+11=16'] Exploring Operation: 21+16=37, Resulting Numbers: [63, 37] Generated Node #0,4,0: 63:[63, 37] Operation: 21+16=37 Exploring Operation: 63-16=47, Resulting Numbers: [21, 47] Generated Node #0,4,1: 63:[21, 47] Operation: 63-16=47 Exploring Operation: 21-16=5, Resulting Numbers: [63, 5] Generated Node #0,4,2: 63:[63, 5] Operation: 21-16=5 Exploring Operation: 63/21=3, Resulting Numbers: [16, 3] Generated Node #0,4,3: 63:[16, 3] Operation: 63/21=3 Exploring Operation: 63+16=79, Resulting Numbers: [21, 79] Generated Node #0,4,4: 63:[21, 79] Operation: 63+16=79 Moving to Node #0,4,2 Current State: 63:[63, 5], Operations: ['5+11=16', '21-16=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,63 unequal: No Solution Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,63 unequal: No Solution Moving to Node #0,4,3 Current State: 63:[16, 3], Operations: ['5+11=16', '63/21=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,63 unequal: No Solution Moving to Node #0,4,0 Current State: 63:[63, 37], Operations: ['5+11=16', '21+16=37'] Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,63 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,63 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,63 unequal: No Solution Moving to Node #0,4,1 Current State: 63:[21, 47], Operations: ['5+11=16', '63-16=47'] Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,63 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,63 unequal: No Solution Moving to Node #0,4,4 Current State: 63:[21, 79], Operations: ['5+11=16', '63+16=79'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,63 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[21, 11, 68], Operations: ['63+5=68'] Exploring Operation: 68-11=57, Resulting Numbers: [21, 57] Generated Node #0,1,0: 63:[21, 57] Operation: 68-11=57 Exploring Operation: 21-11=10, Resulting Numbers: [68, 10] Generated Node #0,1,1: 63:[68, 10] Operation: 21-11=10 Exploring Operation: 68-21=47, Resulting Numbers: [11, 47] Generated Node #0,1,2: 63:[11, 47] Operation: 68-21=47 Exploring Operation: 21+11=32, Resulting Numbers: [68, 32] Generated Node #0,1,3: 63:[68, 32] Operation: 21+11=32 Exploring Operation: 11+68=79, Resulting Numbers: [21, 79] Generated Node #0,1,4: 63:[21, 79] Operation: 11+68=79 Moving to Node #0,1,0 Current State: 63:[21, 57], Operations: ['63+5=68', '68-11=57'] Exploring Operation: 21*57=1197, Resulting Numbers: [1197] 1197,63 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 21+57=78, Resulting Numbers: [78] 78,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[68, 10], Operations: ['63+5=68', '21-11=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[68, 32], Operations: ['63+5=68', '21+11=32'] Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,63 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,63 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[21, 79], Operations: ['63+5=68', '11+68=79'] Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,63 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[11, 47], Operations: ['63+5=68', '68-21=47'] Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,63 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
[ 6, 88, 62, 58 ]
38
[ "88-6=82", "62+58=120", "120-82=38" ]
Current State: 38:[6, 88, 62, 58], Operations: [] Exploring Operation: 88-6=82, Resulting Numbers: [62, 58, 82] Generated Node #2: [62, 58, 82] from Operation: 88-6=82 Current State: 38:[62, 58, 82], Operations: ['88-6=82'] Exploring Operation: 62+58=120, Resulting Numbers: [82, 120] Generated Node #3: [82, 120] from Operation: 62+58=120 Current State: 38:[82, 120], Operations: ['88-6=82', '62+58=120'] Exploring Operation: 120-82=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[6, 88, 62, 58], Operations: [] Exploring Operation: 88-6=82, Resulting Numbers: [62, 58, 82] Generated Node #0,0: 38:[62, 58, 82] Operation: 88-6=82 Exploring Operation: 62-58=4, Resulting Numbers: [6, 88, 4] Generated Node #0,1: 38:[6, 88, 4] Operation: 62-58=4 Exploring Operation: 88-58=30, Resulting Numbers: [6, 62, 30] Generated Node #0,2: 38:[6, 62, 30] Operation: 88-58=30 Exploring Operation: 62-6=56, Resulting Numbers: [88, 58, 56] Generated Node #0,3: 38:[88, 58, 56] Operation: 62-6=56 Exploring Operation: 88-62=26, Resulting Numbers: [6, 58, 26] Generated Node #0,4: 38:[6, 58, 26] Operation: 88-62=26 Moving to Node #0,4 Current State: 38:[6, 58, 26], Operations: ['88-62=26'] Exploring Operation: 58-26=32, Resulting Numbers: [6, 32] Generated Node #0,4,0: 38:[6, 32] Operation: 58-26=32 Exploring Operation: 6+58=64, Resulting Numbers: [26, 64] Generated Node #0,4,1: 38:[26, 64] Operation: 6+58=64 Exploring Operation: 26-6=20, Resulting Numbers: [58, 20] Generated Node #0,4,2: 38:[58, 20] Operation: 26-6=20 Exploring Operation: 58-6=52, Resulting Numbers: [26, 52] Generated Node #0,4,3: 38:[26, 52] Operation: 58-6=52 Exploring Operation: 6+26=32, Resulting Numbers: [58, 32] Generated Node #0,4,4: 38:[58, 32] Operation: 6+26=32 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 38:[6, 32], Operations: ['88-62=26', '58-26=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[6, 88, 62, 58], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [6, 58, 26] Generated Node #0,4: 38:[6, 58, 26] Operation: 88-62=26 Moving to Node #0,4 Current State: 38:[6, 58, 26], Operations: ['88-62=26'] Exploring Operation: 58-26=32, Resulting Numbers: [6, 32] Generated Node #0,4,0: 38:[6, 32] Operation: 58-26=32 Moving to Node #0,4,0 Current State: 38:[6, 32], Operations: ['88-62=26', '58-26=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 26, 25, 73, 5 ]
94
[ "26+73=99", "25/5=5", "99-5=94" ]
Current State: 94:[26, 25, 73, 5], Operations: [] Exploring Operation: 26+73=99, Resulting Numbers: [25, 5, 99] Generated Node #2: [25, 5, 99] from Operation: 26+73=99 Current State: 94:[25, 5, 99], Operations: ['26+73=99'] Exploring Operation: 25/5=5, Resulting Numbers: [99, 5] Generated Node #3: [99, 5] from Operation: 25/5=5 Current State: 94:[99, 5], Operations: ['26+73=99', '25/5=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[26, 25, 73, 5], Operations: [] Exploring Operation: 26-25=1, Resulting Numbers: [73, 5, 1] Generated Node #0,0: 94:[73, 5, 1] Operation: 26-25=1 Exploring Operation: 73-26=47, Resulting Numbers: [25, 5, 47] Generated Node #0,1: 94:[25, 5, 47] Operation: 73-26=47 Moving to Node #0,0 Current State: 94:[73, 5, 1], Operations: ['26-25=1'] Exploring Operation: 73+5=78, Resulting Numbers: [1, 78] Generated Node #0,0,0: 94:[1, 78] Operation: 73+5=78 Exploring Operation: 73-5=68, Resulting Numbers: [1, 68] Generated Node #0,0,1: 94:[1, 68] Operation: 73-5=68 Moving to Node #0,1 Current State: 94:[25, 5, 47], Operations: ['73-26=47'] Exploring Operation: 25+5=30, Resulting Numbers: [47, 30] Generated Node #0,1,0: 94:[47, 30] Operation: 25+5=30 Exploring Operation: 25/5=5, Resulting Numbers: [47, 5] Generated Node #0,1,1: 94:[47, 5] Operation: 25/5=5 Moving to Node #0,1,1 Current State: 94:[47, 5], Operations: ['73-26=47', '25/5=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[1, 78], Operations: ['26-25=1', '73+5=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 1+78=79, Resulting Numbers: [79] 79,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[47, 30], Operations: ['73-26=47', '25+5=30'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[1, 68], Operations: ['26-25=1', '73-5=68'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 61, 87, 47, 9 ]
30
[ "87-61=26", "47+9=56", "56-26=30" ]
Current State: 30:[61, 87, 47, 9], Operations: [] Exploring Operation: 87-61=26, Resulting Numbers: [47, 9, 26] Generated Node #2: [47, 9, 26] from Operation: 87-61=26 Current State: 30:[47, 9, 26], Operations: ['87-61=26'] Exploring Operation: 47+9=56, Resulting Numbers: [26, 56] Generated Node #3: [26, 56] from Operation: 47+9=56 Current State: 30:[26, 56], Operations: ['87-61=26', '47+9=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[61, 87, 47, 9], Operations: [] Exploring Operation: 87-61=26, Resulting Numbers: [47, 9, 26] Generated Node #0,0: 30:[47, 9, 26] Operation: 87-61=26 Exploring Operation: 87-47=40, Resulting Numbers: [61, 9, 40] Generated Node #0,1: 30:[61, 9, 40] Operation: 87-47=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[47, 9, 26], Operations: ['87-61=26'] Exploring Operation: 47-26=21, Resulting Numbers: [9, 21] Generated Node #0,0,0: 30:[9, 21] Operation: 47-26=21 Exploring Operation: 47-9=38, Resulting Numbers: [26, 38] Generated Node #0,0,1: 30:[26, 38] Operation: 47-9=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[9, 21], Operations: ['87-61=26', '47-26=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[61, 87, 47, 9], Operations: [] Exploring Operation: 87-61=26, Resulting Numbers: [47, 9, 26] Generated Node #0,0: 30:[47, 9, 26] Operation: 87-61=26 Moving to Node #0,0 Current State: 30:[47, 9, 26], Operations: ['87-61=26'] Exploring Operation: 47-26=21, Resulting Numbers: [9, 21] Generated Node #0,0,0: 30:[9, 21] Operation: 47-26=21 Moving to Node #0,0,0 Current State: 30:[9, 21], Operations: ['87-61=26', '47-26=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 68, 80, 49, 55 ]
92
[ "80-68=12", "49+55=104", "104-12=92" ]
Current State: 92:[68, 80, 49, 55], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [49, 55, 12] Generated Node #2: [49, 55, 12] from Operation: 80-68=12 Current State: 92:[49, 55, 12], Operations: ['80-68=12'] Exploring Operation: 49+55=104, Resulting Numbers: [12, 104] Generated Node #3: [12, 104] from Operation: 49+55=104 Current State: 92:[12, 104], Operations: ['80-68=12', '49+55=104'] Exploring Operation: 104-12=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[68, 80, 49, 55], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [49, 55, 12] Generated Node #0,0: 92:[49, 55, 12] Operation: 80-68=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[49, 55, 12], Operations: ['80-68=12'] Exploring Operation: 55-12=43, Resulting Numbers: [49, 43] Generated Node #0,0,0: 92:[49, 43] Operation: 55-12=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[49, 43], Operations: ['80-68=12', '55-12=43'] Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[68, 80, 49, 55], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [49, 55, 12] Generated Node #0,0: 92:[49, 55, 12] Operation: 80-68=12 Moving to Node #0,0 Current State: 92:[49, 55, 12], Operations: ['80-68=12'] Exploring Operation: 55-12=43, Resulting Numbers: [49, 43] Generated Node #0,0,0: 92:[49, 43] Operation: 55-12=43 Moving to Node #0,0,0 Current State: 92:[49, 43], Operations: ['80-68=12', '55-12=43'] Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 7, 19, 11 ]
91
[ "19-7=12", "11*12=132", "132-41=91" ]
Current State: 91:[41, 7, 19, 11], Operations: [] Exploring Operation: 19-7=12, Resulting Numbers: [41, 11, 12] Generated Node #2: [41, 11, 12] from Operation: 19-7=12 Current State: 91:[41, 11, 12], Operations: ['19-7=12'] Exploring Operation: 11*12=132, Resulting Numbers: [41, 132] Generated Node #3: [41, 132] from Operation: 11*12=132 Current State: 91:[41, 132], Operations: ['19-7=12', '11*12=132'] Exploring Operation: 132-41=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[41, 7, 19, 11], Operations: [] Exploring Operation: 41-11=30, Resulting Numbers: [7, 19, 30] Generated Node #0,0: 91:[7, 19, 30] Operation: 41-11=30 Exploring Operation: 41-7=34, Resulting Numbers: [19, 11, 34] Generated Node #0,1: 91:[19, 11, 34] Operation: 41-7=34 Exploring Operation: 41-19=22, Resulting Numbers: [7, 11, 22] Generated Node #0,2: 91:[7, 11, 22] Operation: 41-19=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[7, 11, 22], Operations: ['41-19=22'] Exploring Operation: 22-7=15, Resulting Numbers: [11, 15] Generated Node #0,2,0: 91:[11, 15] Operation: 22-7=15 Exploring Operation: 22-11=11, Resulting Numbers: [7, 11] Generated Node #0,2,1: 91:[7, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 91:[7, 2] Operation: 22/11=2 Moving to Node #0,2,1 Current State: 91:[7, 11], Operations: ['41-19=22', '22-11=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[11, 15], Operations: ['41-19=22', '22-7=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,91 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[7, 2], Operations: ['41-19=22', '22/11=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[7, 19, 30], Operations: ['41-11=30'] Exploring Operation: 30-19=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 91:[7, 11] Operation: 30-19=11 Exploring Operation: 19-7=12, Resulting Numbers: [30, 12] Generated Node #0,0,1: 91:[30, 12] Operation: 19-7=12 Exploring Operation: 30-7=23, Resulting Numbers: [19, 23] Generated Node #0,0,2: 91:[19, 23] Operation: 30-7=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[7, 11], Operations: ['41-11=30', '30-19=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,91 unequal: No Solution No 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: 91:[19, 23], Operations: ['41-11=30', '30-7=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,91 unequal: No Solution No 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: 91:[30, 12], Operations: ['41-11=30', '19-7=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,91 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,91 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: 91:[19, 11, 34], Operations: ['41-7=34'] Exploring Operation: 34-11=23, Resulting Numbers: [19, 23] Generated Node #0,1,0: 91:[19, 23] Operation: 34-11=23 Exploring Operation: 19-11=8, Resulting Numbers: [34, 8] Generated Node #0,1,1: 91:[34, 8] Operation: 19-11=8 Exploring Operation: 34-19=15, Resulting Numbers: [11, 15] Generated Node #0,1,2: 91:[11, 15] Operation: 34-19=15 Moving to Node #0,1,2 Current State: 91:[11, 15], Operations: ['41-7=34', '34-19=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[19, 23], Operations: ['41-7=34', '34-11=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,91 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[34, 8], Operations: ['41-7=34', '19-11=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,91 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,91 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
[ 57, 44, 17, 11 ]
36
[ "57-17=40", "44/11=4", "40-4=36" ]
Current State: 36:[57, 44, 17, 11], Operations: [] Exploring Operation: 57-17=40, Resulting Numbers: [44, 11, 40] Generated Node #2: [44, 11, 40] from Operation: 57-17=40 Current State: 36:[44, 11, 40], Operations: ['57-17=40'] Exploring Operation: 44/11=4, Resulting Numbers: [40, 4] Generated Node #3: [40, 4] from Operation: 44/11=4 Current State: 36:[40, 4], Operations: ['57-17=40', '44/11=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[57, 44, 17, 11], Operations: [] Exploring Operation: 57-11=46, Resulting Numbers: [44, 17, 46] Generated Node #0,0: 36:[44, 17, 46] Operation: 57-11=46 Exploring Operation: 57-17=40, Resulting Numbers: [44, 11, 40] Generated Node #0,1: 36:[44, 11, 40] Operation: 57-17=40 Exploring Operation: 44/11=4, Resulting Numbers: [57, 17, 4] Generated Node #0,2: 36:[57, 17, 4] Operation: 44/11=4 Exploring Operation: 57-44=13, Resulting Numbers: [17, 11, 13] Generated Node #0,3: 36:[17, 11, 13] Operation: 57-44=13 Exploring Operation: 44-11=33, Resulting Numbers: [57, 17, 33] Generated Node #0,4: 36:[57, 17, 33] Operation: 44-11=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[17, 11, 13], Operations: ['57-44=13'] Exploring Operation: 17-11=6, Resulting Numbers: [13, 6] Generated Node #0,3,0: 36:[13, 6] Operation: 17-11=6 Exploring Operation: 13-11=2, Resulting Numbers: [17, 2] Generated Node #0,3,1: 36:[17, 2] Operation: 13-11=2 Exploring Operation: 17-13=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 36:[11, 4] Operation: 17-13=4 Exploring Operation: 11+13=24, Resulting Numbers: [17, 24] Generated Node #0,3,3: 36:[17, 24] Operation: 11+13=24 Exploring Operation: 17+13=30, Resulting Numbers: [11, 30] Generated Node #0,3,4: 36:[11, 30] Operation: 17+13=30 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 36:[13, 6], Operations: ['57-44=13', '17-11=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 36:[17, 2], Operations: ['57-44=13', '13-11=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 36:[11, 4], Operations: ['57-44=13', '17-13=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 36:[17, 24], Operations: ['57-44=13', '11+13=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,36 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 36:[11, 30], Operations: ['57-44=13', '17+13=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,36 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[44, 11, 40], Operations: ['57-17=40'] Exploring Operation: 44+11=55, Resulting Numbers: [40, 55] Generated Node #0,1,0: 36:[40, 55] Operation: 44+11=55 Exploring Operation: 44-11=33, Resulting Numbers: [40, 33] Generated Node #0,1,1: 36:[40, 33] Operation: 44-11=33 Exploring Operation: 40-11=29, Resulting Numbers: [44, 29] Generated Node #0,1,2: 36:[44, 29] Operation: 40-11=29 Exploring Operation: 44-40=4, Resulting Numbers: [11, 4] Generated Node #0,1,3: 36:[11, 4] Operation: 44-40=4 Exploring Operation: 44/11=4, Resulting Numbers: [40, 4] Generated Node #0,1,4: 36:[40, 4] Operation: 44/11=4 Moving to Node #0,1,3 Current State: 36:[11, 4], Operations: ['57-17=40', '44-40=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[40, 4], Operations: ['57-17=40', '44/11=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[57, 44, 17, 11], Operations: [] Exploring Operation: 57-17=40, Resulting Numbers: [44, 11, 40] Generated Node #0,1: 36:[44, 11, 40] Operation: 57-17=40 Moving to Node #0,1 Current State: 36:[44, 11, 40], Operations: ['57-17=40'] Exploring Operation: 44/11=4, Resulting Numbers: [40, 4] Generated Node #0,1,4: 36:[40, 4] Operation: 44/11=4 Moving to Node #0,1,4 Current State: 36:[40, 4], Operations: ['57-17=40', '44/11=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 24, 19, 30, 63 ]
57
[ "24-19=5", "30/5=6", "63-6=57" ]
Current State: 57:[24, 19, 30, 63], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [30, 63, 5] Generated Node #2: [30, 63, 5] from Operation: 24-19=5 Current State: 57:[30, 63, 5], Operations: ['24-19=5'] Exploring Operation: 30/5=6, Resulting Numbers: [63, 6] Generated Node #3: [63, 6] from Operation: 30/5=6 Current State: 57:[63, 6], Operations: ['24-19=5', '30/5=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[24, 19, 30, 63], Operations: [] Exploring Operation: 24+30=54, Resulting Numbers: [19, 63, 54] Generated Node #0,0: 57:[19, 63, 54] Operation: 24+30=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[19, 63, 54], Operations: ['24+30=54'] Exploring Operation: 63-54=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 57:[19, 9] Operation: 63-54=9 Moving to Node #0,0,0 Current State: 57:[19, 9], Operations: ['24+30=54', '63-54=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,57 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
[ 67, 67, 10, 75 ]
66
[ "67/67=1", "75-10=65", "1+65=66" ]
Current State: 66:[67, 67, 10, 75], Operations: [] Exploring Operation: 67/67=1, Resulting Numbers: [10, 75, 1] Generated Node #2: [10, 75, 1] from Operation: 67/67=1 Current State: 66:[10, 75, 1], Operations: ['67/67=1'] Exploring Operation: 75-10=65, Resulting Numbers: [1, 65] Generated Node #3: [1, 65] from Operation: 75-10=65 Current State: 66:[1, 65], Operations: ['67/67=1', '75-10=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[67, 67, 10, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [67, 10, 8] Generated Node #0,0: 66:[67, 10, 8] Operation: 75-67=8 Exploring Operation: 75-10=65, Resulting Numbers: [67, 67, 65] Generated Node #0,1: 66:[67, 67, 65] Operation: 75-10=65 Exploring Operation: 75-67=8, Resulting Numbers: [67, 10, 8] Generated Node #0,2: 66:[67, 10, 8] Operation: 75-67=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[67, 67, 65], Operations: ['75-10=65'] Exploring Operation: 67-65=2, Resulting Numbers: [67, 2] Generated Node #0,1,0: 66:[67, 2] Operation: 67-65=2 Exploring Operation: 67-65=2, Resulting Numbers: [67, 2] Generated Node #0,1,1: 66:[67, 2] Operation: 67-65=2 Exploring Operation: 67/67=1, Resulting Numbers: [65, 1] Generated Node #0,1,2: 66:[65, 1] Operation: 67/67=1 Moving to Node #0,1,0 Current State: 66:[67, 2], Operations: ['75-10=65', '67-65=2'] Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,66 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[67, 2], Operations: ['75-10=65', '67-65=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[65, 1], Operations: ['75-10=65', '67/67=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[67, 67, 10, 75], Operations: [] Exploring Operation: 75-10=65, Resulting Numbers: [67, 67, 65] Generated Node #0,1: 66:[67, 67, 65] Operation: 75-10=65 Moving to Node #0,1 Current State: 66:[67, 67, 65], Operations: ['75-10=65'] Exploring Operation: 67/67=1, Resulting Numbers: [65, 1] Generated Node #0,1,2: 66:[65, 1] Operation: 67/67=1 Moving to Node #0,1,2 Current State: 66:[65, 1], Operations: ['75-10=65', '67/67=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 31, 58, 28, 21 ]
96
[ "31+58=89", "28-21=7", "89+7=96" ]
Current State: 96:[31, 58, 28, 21], Operations: [] Exploring Operation: 31+58=89, Resulting Numbers: [28, 21, 89] Generated Node #2: [28, 21, 89] from Operation: 31+58=89 Current State: 96:[28, 21, 89], Operations: ['31+58=89'] Exploring Operation: 28-21=7, Resulting Numbers: [89, 7] Generated Node #3: [89, 7] from Operation: 28-21=7 Current State: 96:[89, 7], Operations: ['31+58=89', '28-21=7'] Exploring Operation: 89+7=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[31, 58, 28, 21], Operations: [] Exploring Operation: 58-28=30, Resulting Numbers: [31, 21, 30] Generated Node #0,0: 96:[31, 21, 30] Operation: 58-28=30 Exploring Operation: 58-21=37, Resulting Numbers: [31, 28, 37] Generated Node #0,1: 96:[31, 28, 37] Operation: 58-21=37 Exploring Operation: 58-31=27, Resulting Numbers: [28, 21, 27] Generated Node #0,2: 96:[28, 21, 27] Operation: 58-31=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[31, 21, 30], Operations: ['58-28=30'] Exploring Operation: 31-21=10, Resulting Numbers: [30, 10] Generated Node #0,0,0: 96:[30, 10] Operation: 31-21=10 Exploring Operation: 30-21=9, Resulting Numbers: [31, 9] Generated Node #0,0,1: 96:[31, 9] Operation: 30-21=9 Exploring Operation: 31-30=1, Resulting Numbers: [21, 1] Generated Node #0,0,2: 96:[21, 1] Operation: 31-30=1 Moving to Node #0,0,1 Current State: 96:[31, 9], Operations: ['58-28=30', '30-21=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,96 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[30, 10], Operations: ['58-28=30', '31-21=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[21, 1], Operations: ['58-28=30', '31-30=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,96 unequal: No Solution No 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:[31, 28, 37], Operations: ['58-21=37'] Exploring Operation: 37-28=9, Resulting Numbers: [31, 9] Generated Node #0,1,0: 96:[31, 9] Operation: 37-28=9 Exploring Operation: 31-28=3, Resulting Numbers: [37, 3] Generated Node #0,1,1: 96:[37, 3] Operation: 31-28=3 Exploring Operation: 37-31=6, Resulting Numbers: [28, 6] Generated Node #0,1,2: 96:[28, 6] Operation: 37-31=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[31, 9], Operations: ['58-21=37', '37-28=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,96 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,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:[28, 6], Operations: ['58-21=37', '37-31=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,96 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,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,1 Current State: 96:[37, 3], Operations: ['58-21=37', '31-28=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,96 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,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,2 Current State: 96:[28, 21, 27], Operations: ['58-31=27'] Exploring Operation: 28-27=1, Resulting Numbers: [21, 1] Generated Node #0,2,0: 96:[21, 1] Operation: 28-27=1 Exploring Operation: 28-21=7, Resulting Numbers: [27, 7] Generated Node #0,2,1: 96:[27, 7] Operation: 28-21=7 Exploring Operation: 28+21=49, Resulting Numbers: [27, 49] Generated Node #0,2,2: 96:[27, 49] Operation: 28+21=49 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[21, 1], Operations: ['58-31=27', '28-27=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,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,2,1 Current State: 96:[27, 7], Operations: ['58-31=27', '28-21=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,96 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,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,2,2 Current State: 96:[27, 49], Operations: ['58-31=27', '28+21=49'] Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,96 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 98, 71, 60, 43 ]
46
[ "98*43=4214", "71*60=4260", "4260-4214=46" ]
Current State: 46:[98, 71, 60, 43], Operations: [] Exploring Operation: 98*43=4214, Resulting Numbers: [71, 60, 4214] Generated Node #2: [71, 60, 4214] from Operation: 98*43=4214 Current State: 46:[71, 60, 4214], Operations: ['98*43=4214'] Exploring Operation: 71*60=4260, Resulting Numbers: [4214, 4260] Generated Node #3: [4214, 4260] from Operation: 71*60=4260 Current State: 46:[4214, 4260], Operations: ['98*43=4214', '71*60=4260'] Exploring Operation: 4260-4214=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[98, 71, 60, 43], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [60, 43, 27] Generated Node #0,0: 46:[60, 43, 27] Operation: 98-71=27 Moving to Node #0,0 Current State: 46:[60, 43, 27], Operations: ['98-71=27'] Exploring Operation: 60-43=17, Resulting Numbers: [27, 17] Generated Node #0,0,0: 46:[27, 17] Operation: 60-43=17 Moving to Node #0,0,0 Current State: 46:[27, 17], Operations: ['98-71=27', '60-43=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,46 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 3, 85, 90, 37 ]
45
[ "85-3=82", "90+37=127", "127-82=45" ]
Current State: 45:[3, 85, 90, 37], Operations: [] Exploring Operation: 85-3=82, Resulting Numbers: [90, 37, 82] Generated Node #2: [90, 37, 82] from Operation: 85-3=82 Current State: 45:[90, 37, 82], Operations: ['85-3=82'] Exploring Operation: 90+37=127, Resulting Numbers: [82, 127] Generated Node #3: [82, 127] from Operation: 90+37=127 Current State: 45:[82, 127], Operations: ['85-3=82', '90+37=127'] Exploring Operation: 127-82=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 85, 90, 37], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [3, 85, 53] Generated Node #0,0: 45:[3, 85, 53] Operation: 90-37=53 Exploring Operation: 85-37=48, Resulting Numbers: [3, 90, 48] Generated Node #0,1: 45:[3, 90, 48] Operation: 85-37=48 Exploring Operation: 90-85=5, Resulting Numbers: [3, 37, 5] Generated Node #0,2: 45:[3, 37, 5] Operation: 90-85=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[3, 37, 5], Operations: ['90-85=5'] Exploring Operation: 3*5=15, Resulting Numbers: [37, 15] Generated Node #0,2,0: 45:[37, 15] Operation: 3*5=15 Exploring Operation: 3+37=40, Resulting Numbers: [5, 40] Generated Node #0,2,1: 45:[5, 40] Operation: 3+37=40 Exploring Operation: 37+5=42, Resulting Numbers: [3, 42] Generated Node #0,2,2: 45:[3, 42] Operation: 37+5=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[3, 42], Operations: ['90-85=5', '37+5=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[3, 85, 90, 37], Operations: [] Exploring Operation: 90-85=5, Resulting Numbers: [3, 37, 5] Generated Node #0,2: 45:[3, 37, 5] Operation: 90-85=5 Moving to Node #0,2 Current State: 45:[3, 37, 5], Operations: ['90-85=5'] Exploring Operation: 37+5=42, Resulting Numbers: [3, 42] Generated Node #0,2,2: 45:[3, 42] Operation: 37+5=42 Moving to Node #0,2,2 Current State: 45:[3, 42], Operations: ['90-85=5', '37+5=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 45, 4, 1, 6 ]
46
[ "45-4=41", "6-1=5", "41+5=46" ]
Current State: 46:[45, 4, 1, 6], Operations: [] Exploring Operation: 45-4=41, Resulting Numbers: [1, 6, 41] Generated Node #2: [1, 6, 41] from Operation: 45-4=41 Current State: 46:[1, 6, 41], Operations: ['45-4=41'] Exploring Operation: 6-1=5, Resulting Numbers: [41, 5] Generated Node #3: [41, 5] from Operation: 6-1=5 Current State: 46:[41, 5], Operations: ['45-4=41', '6-1=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[45, 4, 1, 6], Operations: [] Exploring Operation: 4-1=3, Resulting Numbers: [45, 6, 3] Generated Node #0,0: 46:[45, 6, 3] Operation: 4-1=3 Exploring Operation: 6-4=2, Resulting Numbers: [45, 1, 2] Generated Node #0,1: 46:[45, 1, 2] Operation: 6-4=2 Exploring Operation: 45+1=46, Resulting Numbers: [4, 6, 46] Generated Node #0,2: 46:[4, 6, 46] Operation: 45+1=46 Exploring Operation: 4*6=24, Resulting Numbers: [45, 1, 24] Generated Node #0,3: 46:[45, 1, 24] Operation: 4*6=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[45, 1, 2], Operations: ['6-4=2'] Exploring Operation: 45+1=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 46:[2, 46] Operation: 45+1=46 Exploring Operation: 45/1=45, Resulting Numbers: [2, 45] Generated Node #0,1,1: 46:[2, 45] Operation: 45/1=45 Exploring Operation: 45*1=45, Resulting Numbers: [2, 45] Generated Node #0,1,2: 46:[2, 45] Operation: 45*1=45 Exploring Operation: 1*2=2, Resulting Numbers: [45, 2] Generated Node #0,1,3: 46:[45, 2] Operation: 1*2=2 Moving to Node #0,1,0 Current State: 46:[2, 46], Operations: ['6-4=2', '45+1=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[2, 45], Operations: ['6-4=2', '45*1=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[2, 45], Operations: ['6-4=2', '45/1=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[45, 2], Operations: ['6-4=2', '1*2=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[45, 1, 24], Operations: ['4*6=24'] Exploring Operation: 45/1=45, Resulting Numbers: [24, 45] Generated Node #0,3,0: 46:[24, 45] Operation: 45/1=45 Exploring Operation: 45*1=45, Resulting Numbers: [24, 45] Generated Node #0,3,1: 46:[24, 45] Operation: 45*1=45 Exploring Operation: 24-1=23, Resulting Numbers: [45, 23] Generated Node #0,3,2: 46:[45, 23] Operation: 24-1=23 Exploring Operation: 45+1=46, Resulting Numbers: [24, 46] Generated Node #0,3,3: 46:[24, 46] Operation: 45+1=46 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[45, 23], Operations: ['4*6=24', '24-1=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,46 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[24, 46], Operations: ['4*6=24', '45+1=46'] Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,46 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[24, 45], Operations: ['4*6=24', '45/1=45'] Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,46 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[24, 45], Operations: ['4*6=24', '45*1=45'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,46 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[45, 6, 3], Operations: ['4-1=3'] Exploring Operation: 6-3=3, Resulting Numbers: [45, 3] Generated Node #0,0,0: 46:[45, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [45, 2] Generated Node #0,0,1: 46:[45, 2] Operation: 6/3=2 Exploring Operation: 45+6=51, Resulting Numbers: [3, 51] Generated Node #0,0,2: 46:[3, 51] Operation: 45+6=51 Exploring Operation: 45+3=48, Resulting Numbers: [6, 48] Generated Node #0,0,3: 46:[6, 48] Operation: 45+3=48 Moving to Node #0,0,1 Current State: 46:[45, 2], Operations: ['4-1=3', '6/3=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[45, 3], Operations: ['4-1=3', '6-3=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,46 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[6, 48], Operations: ['4-1=3', '45+3=48'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,46 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[3, 51], Operations: ['4-1=3', '45+6=51'] Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,46 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[4, 6, 46], Operations: ['45+1=46'] Exploring Operation: 4+46=50, Resulting Numbers: [6, 50] Generated Node #0,2,0: 46:[6, 50] Operation: 4+46=50 Exploring Operation: 4+6=10, Resulting Numbers: [46, 10] Generated Node #0,2,1: 46:[46, 10] Operation: 4+6=10 Exploring Operation: 6-4=2, Resulting Numbers: [46, 2] Generated Node #0,2,2: 46:[46, 2] Operation: 6-4=2 Exploring Operation: 4*6=24, Resulting Numbers: [46, 24] Generated Node #0,2,3: 46:[46, 24] Operation: 4*6=24 Moving to Node #0,2,2 Current State: 46:[46, 2], Operations: ['45+1=46', '6-4=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[46, 24], Operations: ['45+1=46', '4*6=24'] Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,46 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[46, 10], Operations: ['45+1=46', '4+6=10'] Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,46 unequal: No Solution Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[6, 50], Operations: ['45+1=46', '4+46=50'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,46 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
[ 70, 89, 68, 5 ]
92
[ "89-70=19", "68+5=73", "19+73=92" ]
Current State: 92:[70, 89, 68, 5], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [68, 5, 19] Generated Node #2: [68, 5, 19] from Operation: 89-70=19 Current State: 92:[68, 5, 19], Operations: ['89-70=19'] Exploring Operation: 68+5=73, Resulting Numbers: [19, 73] Generated Node #3: [19, 73] from Operation: 68+5=73 Current State: 92:[19, 73], Operations: ['89-70=19', '68+5=73'] Exploring Operation: 19+73=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[70, 89, 68, 5], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [70, 5, 21] Generated Node #0,0: 92:[70, 5, 21] Operation: 89-68=21 Exploring Operation: 89-70=19, Resulting Numbers: [68, 5, 19] Generated Node #0,1: 92:[68, 5, 19] Operation: 89-70=19 Exploring Operation: 70-68=2, Resulting Numbers: [89, 5, 2] Generated Node #0,2: 92:[89, 5, 2] Operation: 70-68=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[89, 5, 2], Operations: ['70-68=2'] Exploring Operation: 89+5=94, Resulting Numbers: [2, 94] Generated Node #0,2,0: 92:[2, 94] Operation: 89+5=94 Exploring Operation: 89+2=91, Resulting Numbers: [5, 91] Generated Node #0,2,1: 92:[5, 91] Operation: 89+2=91 Exploring Operation: 5-2=3, Resulting Numbers: [89, 3] Generated Node #0,2,2: 92:[89, 3] Operation: 5-2=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[2, 94], Operations: ['70-68=2', '89+5=94'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[70, 89, 68, 5], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [89, 5, 2] Generated Node #0,2: 92:[89, 5, 2] Operation: 70-68=2 Moving to Node #0,2 Current State: 92:[89, 5, 2], Operations: ['70-68=2'] Exploring Operation: 89+5=94, Resulting Numbers: [2, 94] Generated Node #0,2,0: 92:[2, 94] Operation: 89+5=94 Moving to Node #0,2,0 Current State: 92:[2, 94], Operations: ['70-68=2', '89+5=94'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 27, 35, 87, 2 ]
81
[ "35-27=8", "87+2=89", "89-8=81" ]
Current State: 81:[27, 35, 87, 2], Operations: [] Exploring Operation: 35-27=8, Resulting Numbers: [87, 2, 8] Generated Node #2: [87, 2, 8] from Operation: 35-27=8 Current State: 81:[87, 2, 8], Operations: ['35-27=8'] Exploring Operation: 87+2=89, Resulting Numbers: [8, 89] Generated Node #3: [8, 89] from Operation: 87+2=89 Current State: 81:[8, 89], Operations: ['35-27=8', '87+2=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[27, 35, 87, 2], Operations: [] Exploring Operation: 35-27=8, Resulting Numbers: [87, 2, 8] Generated Node #0,0: 81:[87, 2, 8] Operation: 35-27=8 Exploring Operation: 27+2=29, Resulting Numbers: [35, 87, 29] Generated Node #0,1: 81:[35, 87, 29] Operation: 27+2=29 Exploring Operation: 35-2=33, Resulting Numbers: [27, 87, 33] Generated Node #0,2: 81:[27, 87, 33] Operation: 35-2=33 Exploring Operation: 87-2=85, Resulting Numbers: [27, 35, 85] Generated Node #0,3: 81:[27, 35, 85] Operation: 87-2=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[87, 2, 8], Operations: ['35-27=8'] Exploring Operation: 87-2=85, Resulting Numbers: [8, 85] Generated Node #0,0,0: 81:[8, 85] Operation: 87-2=85 Exploring Operation: 87-8=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 81:[2, 79] Operation: 87-8=79 Exploring Operation: 8/2=4, Resulting Numbers: [87, 4] Generated Node #0,0,2: 81:[87, 4] Operation: 8/2=4 Exploring Operation: 2+8=10, Resulting Numbers: [87, 10] Generated Node #0,0,3: 81:[87, 10] Operation: 2+8=10 Moving to Node #0,0,1 Current State: 81:[2, 79], Operations: ['35-27=8', '87-8=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[27, 35, 87, 2], Operations: [] Exploring Operation: 35-27=8, Resulting Numbers: [87, 2, 8] Generated Node #0,0: 81:[87, 2, 8] Operation: 35-27=8 Moving to Node #0,0 Current State: 81:[87, 2, 8], Operations: ['35-27=8'] Exploring Operation: 87-8=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 81:[2, 79] Operation: 87-8=79 Moving to Node #0,0,1 Current State: 81:[2, 79], Operations: ['35-27=8', '87-8=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 94, 75, 76, 13 ]
89
[ "94+75=169", "169/13=13", "76+13=89" ]
Current State: 89:[94, 75, 76, 13], Operations: [] Exploring Operation: 94+75=169, Resulting Numbers: [76, 13, 169] Generated Node #2: [76, 13, 169] from Operation: 94+75=169 Current State: 89:[76, 13, 169], Operations: ['94+75=169'] Exploring Operation: 169/13=13, Resulting Numbers: [76, 13] Generated Node #3: [76, 13] from Operation: 169/13=13 Current State: 89:[76, 13], Operations: ['94+75=169', '169/13=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[94, 75, 76, 13], Operations: [] Exploring Operation: 75+13=88, Resulting Numbers: [94, 76, 88] Generated Node #0,0: 89:[94, 76, 88] Operation: 75+13=88 Exploring Operation: 94-13=81, Resulting Numbers: [75, 76, 81] Generated Node #0,1: 89:[75, 76, 81] Operation: 94-13=81 Exploring Operation: 75-13=62, Resulting Numbers: [94, 76, 62] Generated Node #0,2: 89:[94, 76, 62] Operation: 75-13=62 Exploring Operation: 94+13=107, Resulting Numbers: [75, 76, 107] Generated Node #0,3: 89:[75, 76, 107] Operation: 94+13=107 Exploring Operation: 76+13=89, Resulting Numbers: [94, 75, 89] Generated Node #0,4: 89:[94, 75, 89] Operation: 76+13=89 Moving to Node #0,0 Current State: 89:[94, 76, 88], Operations: ['75+13=88'] Exploring Operation: 76+88=164, Resulting Numbers: [94, 164] Generated Node #0,0,0: 89:[94, 164] Operation: 76+88=164 Exploring Operation: 94-88=6, Resulting Numbers: [76, 6] Generated Node #0,0,1: 89:[76, 6] Operation: 94-88=6 Exploring Operation: 94-76=18, Resulting Numbers: [88, 18] Generated Node #0,0,2: 89:[88, 18] Operation: 94-76=18 Exploring Operation: 88-76=12, Resulting Numbers: [94, 12] Generated Node #0,0,3: 89:[94, 12] Operation: 88-76=12 Exploring Operation: 94+76=170, Resulting Numbers: [88, 170] Generated Node #0,0,4: 89:[88, 170] Operation: 94+76=170 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[88, 18], Operations: ['75+13=88', '94-76=18'] Exploring Operation: 88*18=1584, Resulting Numbers: [1584] 1584,89 unequal: No Solution Exploring Operation: 88+18=106, Resulting Numbers: [106] 106,89 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[94, 164], Operations: ['75+13=88', '76+88=164'] Exploring Operation: 94+164=258, Resulting Numbers: [258] 258,89 unequal: No Solution Exploring Operation: 94*164=15416, Resulting Numbers: [15416] 15416,89 unequal: No Solution Exploring Operation: 164-94=70, Resulting Numbers: [70] 70,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[94, 12], Operations: ['75+13=88', '88-76=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,89 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[88, 170], Operations: ['75+13=88', '94+76=170'] Exploring Operation: 88+170=258, Resulting Numbers: [258] 258,89 unequal: No Solution Exploring Operation: 170-88=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 88*170=14960, Resulting Numbers: [14960] 14960,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[76, 6], Operations: ['75+13=88', '94-88=6'] Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,89 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: 89:[94, 75, 89], Operations: ['76+13=89'] Exploring Operation: 94-89=5, Resulting Numbers: [75, 5] Generated Node #0,4,0: 89:[75, 5] Operation: 94-89=5 Exploring Operation: 94+75=169, Resulting Numbers: [89, 169] Generated Node #0,4,1: 89:[89, 169] Operation: 94+75=169 Exploring Operation: 75+89=164, Resulting Numbers: [94, 164] Generated Node #0,4,2: 89:[94, 164] Operation: 75+89=164 Exploring Operation: 94-75=19, Resulting Numbers: [89, 19] Generated Node #0,4,3: 89:[89, 19] Operation: 94-75=19 Exploring Operation: 89-75=14, Resulting Numbers: [94, 14] Generated Node #0,4,4: 89:[94, 14] Operation: 89-75=14 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 89:[89, 19], Operations: ['76+13=89', '94-75=19'] Exploring Operation: 89*19=1691, Resulting Numbers: [1691] 1691,89 unequal: No Solution Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 89+19=108, Resulting Numbers: [108] 108,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 89:[89, 169], Operations: ['76+13=89', '94+75=169'] Exploring Operation: 169-89=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 89+169=258, Resulting Numbers: [258] 258,89 unequal: No Solution Exploring Operation: 89*169=15041, Resulting Numbers: [15041] 15041,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 89:[94, 164], Operations: ['76+13=89', '75+89=164'] Exploring Operation: 94+164=258, Resulting Numbers: [258] 258,89 unequal: No Solution Exploring Operation: 94*164=15416, Resulting Numbers: [15416] 15416,89 unequal: No Solution Exploring Operation: 164-94=70, Resulting Numbers: [70] 70,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 89:[94, 14], Operations: ['76+13=89', '89-75=14'] Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,89 unequal: No Solution Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 89:[75, 5], Operations: ['76+13=89', '94-89=5'] Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,89 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,89 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: 89:[75, 76, 81], Operations: ['94-13=81'] Exploring Operation: 75+76=151, Resulting Numbers: [81, 151] Generated Node #0,1,0: 89:[81, 151] Operation: 75+76=151 Exploring Operation: 76-75=1, Resulting Numbers: [81, 1] Generated Node #0,1,1: 89:[81, 1] Operation: 76-75=1 Exploring Operation: 76+81=157, Resulting Numbers: [75, 157] Generated Node #0,1,2: 89:[75, 157] Operation: 76+81=157 Exploring Operation: 81-75=6, Resulting Numbers: [76, 6] Generated Node #0,1,3: 89:[76, 6] Operation: 81-75=6 Exploring Operation: 75+81=156, Resulting Numbers: [76, 156] Generated Node #0,1,4: 89:[76, 156] Operation: 75+81=156 Moving to Node #0,2 Current State: 89:[94, 76, 62], Operations: ['75-13=62'] Exploring Operation: 94-76=18, Resulting Numbers: [62, 18] Generated Node #0,2,0: 89:[62, 18] Operation: 94-76=18 Exploring Operation: 76-62=14, Resulting Numbers: [94, 14] Generated Node #0,2,1: 89:[94, 14] Operation: 76-62=14 Exploring Operation: 94+62=156, Resulting Numbers: [76, 156] Generated Node #0,2,2: 89:[76, 156] Operation: 94+62=156 Exploring Operation: 94-62=32, Resulting Numbers: [76, 32] Generated Node #0,2,3: 89:[76, 32] Operation: 94-62=32 Exploring Operation: 76+62=138, Resulting Numbers: [94, 138] Generated Node #0,2,4: 89:[94, 138] Operation: 76+62=138 Moving to Node #0,3 Current State: 89:[75, 76, 107], Operations: ['94+13=107'] Exploring Operation: 76-75=1, Resulting Numbers: [107, 1] Generated Node #0,3,0: 89:[107, 1] Operation: 76-75=1 Exploring Operation: 107-75=32, Resulting Numbers: [76, 32] Generated Node #0,3,1: 89:[76, 32] Operation: 107-75=32 Exploring Operation: 75+76=151, Resulting Numbers: [107, 151] Generated Node #0,3,2: 89:[107, 151] Operation: 75+76=151 Exploring Operation: 107-76=31, Resulting Numbers: [75, 31] Generated Node #0,3,3: 89:[75, 31] Operation: 107-76=31 Exploring Operation: 75+107=182, Resulting Numbers: [76, 182] Generated Node #0,3,4: 89:[76, 182] Operation: 75+107=182 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[76, 32], Operations: ['94+13=107', '107-75=32'] Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,89 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[75, 31], Operations: ['94+13=107', '107-76=31'] Exploring Operation: 75+31=106, Resulting Numbers: [106] 106,89 unequal: No Solution Exploring Operation: 75*31=2325, Resulting Numbers: [2325] 2325,89 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[107, 151], Operations: ['94+13=107', '75+76=151'] Exploring Operation: 151-107=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 107*151=16157, Resulting Numbers: [16157] 16157,89 unequal: No Solution Exploring Operation: 107+151=258, Resulting Numbers: [258] 258,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[107, 1], Operations: ['94+13=107', '76-75=1'] Exploring Operation: 107*1=107, Resulting Numbers: [107] 107,89 unequal: No Solution Exploring Operation: 107/1=107, Resulting Numbers: [107] 107,89 unequal: No Solution Exploring Operation: 107+1=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 107-1=106, Resulting Numbers: [106] 106,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 89:[76, 182], Operations: ['94+13=107', '75+107=182'] Exploring Operation: 76+182=258, Resulting Numbers: [258] 258,89 unequal: No Solution Exploring Operation: 76*182=13832, Resulting Numbers: [13832] 13832,89 unequal: No Solution Exploring Operation: 182-76=106, Resulting Numbers: [106] 106,89 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: 89:[94, 138], Operations: ['75-13=62', '76+62=138'] Exploring Operation: 94*138=12972, Resulting Numbers: [12972] 12972,89 unequal: No Solution Exploring Operation: 94+138=232, Resulting Numbers: [232] 232,89 unequal: No Solution Exploring Operation: 138-94=44, Resulting Numbers: [44] 44,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[81, 151], Operations: ['94-13=81', '75+76=151'] Exploring Operation: 81*151=12231, Resulting Numbers: [12231] 12231,89 unequal: No Solution Exploring Operation: 81+151=232, Resulting Numbers: [232] 232,89 unequal: No Solution Exploring Operation: 151-81=70, Resulting Numbers: [70] 70,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[76, 32], Operations: ['75-13=62', '94-62=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[76, 156], Operations: ['75-13=62', '94+62=156'] Exploring Operation: 76+156=232, Resulting Numbers: [232] 232,89 unequal: No Solution Exploring Operation: 156-76=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 76*156=11856, Resulting Numbers: [11856] 11856,89 unequal: No Solution Moving to Node #0,1,4 Current State: 89:[76, 156], Operations: ['94-13=81', '75+81=156'] Exploring Operation: 76+156=232, Resulting Numbers: [232] 232,89 unequal: No Solution Exploring Operation: 156-76=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 76*156=11856, Resulting Numbers: [11856] 11856,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[94, 14], Operations: ['75-13=62', '76-62=14'] Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[75, 157], Operations: ['94-13=81', '76+81=157'] Exploring Operation: 157-75=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 75*157=11775, Resulting Numbers: [11775] 11775,89 unequal: No Solution Exploring Operation: 75+157=232, Resulting Numbers: [232] 232,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[81, 1], Operations: ['94-13=81', '76-75=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,89 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,89 unequal: No Solution Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[76, 6], Operations: ['94-13=81', '81-75=6'] Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,89 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[62, 18], Operations: ['75-13=62', '94-76=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,89 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 72, 88, 65, 89 ]
40
[ "88-72=16", "89-65=24", "16+24=40" ]
Current State: 40:[72, 88, 65, 89], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [65, 89, 16] Generated Node #2: [65, 89, 16] from Operation: 88-72=16 Current State: 40:[65, 89, 16], Operations: ['88-72=16'] Exploring Operation: 89-65=24, Resulting Numbers: [16, 24] Generated Node #3: [16, 24] from Operation: 89-65=24 Current State: 40:[16, 24], Operations: ['88-72=16', '89-65=24'] Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[72, 88, 65, 89], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [88, 65, 17] Generated Node #0,0: 40:[88, 65, 17] Operation: 89-72=17 Exploring Operation: 89-88=1, Resulting Numbers: [72, 65, 1] Generated Node #0,1: 40:[72, 65, 1] Operation: 89-88=1 Exploring Operation: 88-72=16, Resulting Numbers: [65, 89, 16] Generated Node #0,2: 40:[65, 89, 16] Operation: 88-72=16 Exploring Operation: 88-65=23, Resulting Numbers: [72, 89, 23] Generated Node #0,3: 40:[72, 89, 23] Operation: 88-65=23 Moving to Node #0,1 Current State: 40:[72, 65, 1], Operations: ['89-88=1'] Exploring Operation: 72*1=72, Resulting Numbers: [65, 72] Generated Node #0,1,0: 40:[65, 72] Operation: 72*1=72 Exploring Operation: 65-1=64, Resulting Numbers: [72, 64] Generated Node #0,1,1: 40:[72, 64] Operation: 65-1=64 Exploring Operation: 72-1=71, Resulting Numbers: [65, 71] Generated Node #0,1,2: 40:[65, 71] Operation: 72-1=71 Exploring Operation: 72-65=7, Resulting Numbers: [1, 7] Generated Node #0,1,3: 40:[1, 7] Operation: 72-65=7 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[1, 7], Operations: ['89-88=1', '72-65=7'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[72, 64], Operations: ['89-88=1', '65-1=64'] Exploring Operation: 72*64=4608, Resulting Numbers: [4608] 4608,40 unequal: No Solution Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 72+64=136, Resulting Numbers: [136] 136,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[65, 71], Operations: ['89-88=1', '72-1=71'] Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,40 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[65, 72], Operations: ['89-88=1', '72*1=72'] Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,40 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 40:[88, 65, 17], Operations: ['89-72=17'] Exploring Operation: 88+17=105, Resulting Numbers: [65, 105] Generated Node #0,0,0: 40:[65, 105] Operation: 88+17=105 Exploring Operation: 88-65=23, Resulting Numbers: [17, 23] Generated Node #0,0,1: 40:[17, 23] Operation: 88-65=23 Exploring Operation: 65-17=48, Resulting Numbers: [88, 48] Generated Node #0,0,2: 40:[88, 48] Operation: 65-17=48 Exploring Operation: 88-17=71, Resulting Numbers: [65, 71] Generated Node #0,0,3: 40:[65, 71] Operation: 88-17=71 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[17, 23], Operations: ['89-72=17', '88-65=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[72, 88, 65, 89], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [88, 65, 17] Generated Node #0,0: 40:[88, 65, 17] Operation: 89-72=17 Moving to Node #0,0 Current State: 40:[88, 65, 17], Operations: ['89-72=17'] Exploring Operation: 88-65=23, Resulting Numbers: [17, 23] Generated Node #0,0,1: 40:[17, 23] Operation: 88-65=23 Moving to Node #0,0,1 Current State: 40:[17, 23], Operations: ['89-72=17', '88-65=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 80, 17, 35, 90 ]
25
[ "80+90=170", "170/17=10", "35-10=25" ]
Current State: 25:[80, 17, 35, 90], Operations: [] Exploring Operation: 80+90=170, Resulting Numbers: [17, 35, 170] Generated Node #2: [17, 35, 170] from Operation: 80+90=170 Current State: 25:[17, 35, 170], Operations: ['80+90=170'] Exploring Operation: 170/17=10, Resulting Numbers: [35, 10] Generated Node #3: [35, 10] from Operation: 170/17=10 Current State: 25:[35, 10], Operations: ['80+90=170', '170/17=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[80, 17, 35, 90], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [17, 35, 10] Generated Node #0,0: 25:[17, 35, 10] Operation: 90-80=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[17, 35, 10], Operations: ['90-80=10'] Exploring Operation: 35-10=25, Resulting Numbers: [17, 25] Generated Node #0,0,0: 25:[17, 25] Operation: 35-10=25 Moving to Node #0,0,0 Current State: 25:[17, 25], Operations: ['90-80=10', '35-10=25'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,25 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
[ 20, 93, 85, 94 ]
87
[ "94-85=9", "20*9=180", "180-93=87" ]
Current State: 87:[20, 93, 85, 94], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [20, 93, 9] Generated Node #2: [20, 93, 9] from Operation: 94-85=9 Current State: 87:[20, 93, 9], Operations: ['94-85=9'] Exploring Operation: 20*9=180, Resulting Numbers: [93, 180] Generated Node #3: [93, 180] from Operation: 20*9=180 Current State: 87:[93, 180], Operations: ['94-85=9', '20*9=180'] Exploring Operation: 180-93=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[20, 93, 85, 94], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [20, 85, 1] Generated Node #0,0: 87:[20, 85, 1] Operation: 94-93=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[20, 85, 1], Operations: ['94-93=1'] Exploring Operation: 20+1=21, Resulting Numbers: [85, 21] Generated Node #0,0,0: 87:[85, 21] Operation: 20+1=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[85, 21], Operations: ['94-93=1', '20+1=21'] Exploring Operation: 85+21=106, Resulting Numbers: [106] 106,87 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
[ 5, 51, 75, 65 ]
53
[ "75-65=10", "10/5=2", "51+2=53" ]
Current State: 53:[5, 51, 75, 65], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [5, 51, 10] Generated Node #2: [5, 51, 10] from Operation: 75-65=10 Current State: 53:[5, 51, 10], Operations: ['75-65=10'] Exploring Operation: 10/5=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 10/5=2 Current State: 53:[51, 2], Operations: ['75-65=10', '10/5=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[5, 51, 75, 65], Operations: [] Exploring Operation: 75-5=70, Resulting Numbers: [51, 65, 70] Generated Node #0,0: 53:[51, 65, 70] Operation: 75-5=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[51, 65, 70], Operations: ['75-5=70'] Exploring Operation: 70-51=19, Resulting Numbers: [65, 19] Generated Node #0,0,0: 53:[65, 19] Operation: 70-51=19 Moving to Node #0,0,0 Current State: 53:[65, 19], Operations: ['75-5=70', '70-51=19'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 48, 47, 14 ]
13
[ "48-2=46", "47-14=33", "46-33=13" ]
Current State: 13:[2, 48, 47, 14], Operations: [] Exploring Operation: 48-2=46, Resulting Numbers: [47, 14, 46] Generated Node #2: [47, 14, 46] from Operation: 48-2=46 Current State: 13:[47, 14, 46], Operations: ['48-2=46'] Exploring Operation: 47-14=33, Resulting Numbers: [46, 33] Generated Node #3: [46, 33] from Operation: 47-14=33 Current State: 13:[46, 33], Operations: ['48-2=46', '47-14=33'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[2, 48, 47, 14], Operations: [] Exploring Operation: 47-14=33, Resulting Numbers: [2, 48, 33] Generated Node #0,0: 13:[2, 48, 33] Operation: 47-14=33 Exploring Operation: 48-14=34, Resulting Numbers: [2, 47, 34] Generated Node #0,1: 13:[2, 47, 34] Operation: 48-14=34 Exploring Operation: 48-47=1, Resulting Numbers: [2, 14, 1] Generated Node #0,2: 13:[2, 14, 1] Operation: 48-47=1 Exploring Operation: 48/2=24, Resulting Numbers: [47, 14, 24] Generated Node #0,3: 13:[47, 14, 24] Operation: 48/2=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[2, 14, 1], Operations: ['48-47=1'] Exploring Operation: 2*1=2, Resulting Numbers: [14, 2] Generated Node #0,2,0: 13:[14, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [14, 2] Generated Node #0,2,1: 13:[14, 2] Operation: 2/1=2 Exploring Operation: 2+1=3, Resulting Numbers: [14, 3] Generated Node #0,2,2: 13:[14, 3] Operation: 2+1=3 Exploring Operation: 14-1=13, Resulting Numbers: [2, 13] Generated Node #0,2,3: 13:[2, 13] Operation: 14-1=13 Moving to Node #0,2,2 Current State: 13:[14, 3], Operations: ['48-47=1', '2+1=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[2, 13], Operations: ['48-47=1', '14-1=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[14, 2], Operations: ['48-47=1', '2/1=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[14, 2], Operations: ['48-47=1', '2*1=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,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,3 Current State: 13:[47, 14, 24], Operations: ['48/2=24'] Exploring Operation: 47-24=23, Resulting Numbers: [14, 23] Generated Node #0,3,0: 13:[14, 23] Operation: 47-24=23 Exploring Operation: 47-14=33, Resulting Numbers: [24, 33] Generated Node #0,3,1: 13:[24, 33] Operation: 47-14=33 Exploring Operation: 47+14=61, Resulting Numbers: [24, 61] Generated Node #0,3,2: 13:[24, 61] Operation: 47+14=61 Exploring Operation: 24-14=10, Resulting Numbers: [47, 10] Generated Node #0,3,3: 13:[47, 10] Operation: 24-14=10 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 13:[14, 23], Operations: ['48/2=24', '47-24=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,13 unequal: No Solution No 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: 13:[24, 33], Operations: ['48/2=24', '47-14=33'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,13 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,13 unequal: No Solution No 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: 13:[47, 10], Operations: ['48/2=24', '24-14=10'] Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,13 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,13 unequal: No Solution No 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: 13:[24, 61], Operations: ['48/2=24', '47+14=61'] Exploring Operation: 24*61=1464, Resulting Numbers: [1464] 1464,13 unequal: No Solution Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,13 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,13 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: 13:[2, 48, 33], Operations: ['47-14=33'] Exploring Operation: 48-2=46, Resulting Numbers: [33, 46] Generated Node #0,0,0: 13:[33, 46] Operation: 48-2=46 Exploring Operation: 33-2=31, Resulting Numbers: [48, 31] Generated Node #0,0,1: 13:[48, 31] Operation: 33-2=31 Exploring Operation: 48/2=24, Resulting Numbers: [33, 24] Generated Node #0,0,2: 13:[33, 24] Operation: 48/2=24 Exploring Operation: 48-33=15, Resulting Numbers: [2, 15] Generated Node #0,0,3: 13:[2, 15] Operation: 48-33=15 Moving to Node #0,0,3 Current State: 13:[2, 15], Operations: ['47-14=33', '48-33=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,13 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[2, 48, 47, 14], Operations: [] Exploring Operation: 47-14=33, Resulting Numbers: [2, 48, 33] Generated Node #0,0: 13:[2, 48, 33] Operation: 47-14=33 Moving to Node #0,0 Current State: 13:[2, 48, 33], Operations: ['47-14=33'] Exploring Operation: 48-33=15, Resulting Numbers: [2, 15] Generated Node #0,0,3: 13:[2, 15] Operation: 48-33=15 Moving to Node #0,0,3 Current State: 13:[2, 15], Operations: ['47-14=33', '48-33=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 69, 13, 60, 63 ]
67
[ "69-13=56", "60+63=123", "123-56=67" ]
Current State: 67:[69, 13, 60, 63], Operations: [] Exploring Operation: 69-13=56, Resulting Numbers: [60, 63, 56] Generated Node #2: [60, 63, 56] from Operation: 69-13=56 Current State: 67:[60, 63, 56], Operations: ['69-13=56'] Exploring Operation: 60+63=123, Resulting Numbers: [56, 123] Generated Node #3: [56, 123] from Operation: 60+63=123 Current State: 67:[56, 123], Operations: ['69-13=56', '60+63=123'] Exploring Operation: 123-56=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[69, 13, 60, 63], Operations: [] Exploring Operation: 13+63=76, Resulting Numbers: [69, 60, 76] Generated Node #0,0: 67:[69, 60, 76] Operation: 13+63=76 Exploring Operation: 13+60=73, Resulting Numbers: [69, 63, 73] Generated Node #0,1: 67:[69, 63, 73] Operation: 13+60=73 Exploring Operation: 69-13=56, Resulting Numbers: [60, 63, 56] Generated Node #0,2: 67:[60, 63, 56] Operation: 69-13=56 Moving to Node #0,1 Current State: 67:[69, 63, 73], Operations: ['13+60=73'] Exploring Operation: 73-63=10, Resulting Numbers: [69, 10] Generated Node #0,1,0: 67:[69, 10] Operation: 73-63=10 Exploring Operation: 73-69=4, Resulting Numbers: [63, 4] Generated Node #0,1,1: 67:[63, 4] Operation: 73-69=4 Exploring Operation: 69-63=6, Resulting Numbers: [73, 6] Generated Node #0,1,2: 67:[73, 6] Operation: 69-63=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[69, 10], Operations: ['13+60=73', '73-63=10'] Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,67 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[63, 4], Operations: ['13+60=73', '73-69=4'] Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,67 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[69, 13, 60, 63], Operations: [] Exploring Operation: 13+60=73, Resulting Numbers: [69, 63, 73] Generated Node #0,1: 67:[69, 63, 73] Operation: 13+60=73 Moving to Node #0,1 Current State: 67:[69, 63, 73], Operations: ['13+60=73'] Exploring Operation: 73-69=4, Resulting Numbers: [63, 4] Generated Node #0,1,1: 67:[63, 4] Operation: 73-69=4 Moving to Node #0,1,1 Current State: 67:[63, 4], Operations: ['13+60=73', '73-69=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 61, 28, 6, 72 ]
99
[ "61-28=33", "72-6=66", "33+66=99" ]
Current State: 99:[61, 28, 6, 72], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [6, 72, 33] Generated Node #2: [6, 72, 33] from Operation: 61-28=33 Current State: 99:[6, 72, 33], Operations: ['61-28=33'] Exploring Operation: 72-6=66, Resulting Numbers: [33, 66] Generated Node #3: [33, 66] from Operation: 72-6=66 Current State: 99:[33, 66], Operations: ['61-28=33', '72-6=66'] Exploring Operation: 33+66=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[61, 28, 6, 72], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [61, 28, 12] Generated Node #0,0: 99:[61, 28, 12] Operation: 72/6=12 Exploring Operation: 28+72=100, Resulting Numbers: [61, 6, 100] Generated Node #0,1: 99:[61, 6, 100] Operation: 28+72=100 Exploring Operation: 72-61=11, Resulting Numbers: [28, 6, 11] Generated Node #0,2: 99:[28, 6, 11] Operation: 72-61=11 Exploring Operation: 61-28=33, Resulting Numbers: [6, 72, 33] Generated Node #0,3: 99:[6, 72, 33] Operation: 61-28=33 Moving to Node #0,2 Current State: 99:[28, 6, 11], Operations: ['72-61=11'] Exploring Operation: 28+11=39, Resulting Numbers: [6, 39] Generated Node #0,2,0: 99:[6, 39] Operation: 28+11=39 Exploring Operation: 28-11=17, Resulting Numbers: [6, 17] Generated Node #0,2,1: 99:[6, 17] Operation: 28-11=17 Exploring Operation: 28+6=34, Resulting Numbers: [11, 34] Generated Node #0,2,2: 99:[11, 34] Operation: 28+6=34 Exploring Operation: 11-6=5, Resulting Numbers: [28, 5] Generated Node #0,2,3: 99:[28, 5] Operation: 11-6=5 Moving to Node #0,3 Current State: 99:[6, 72, 33], Operations: ['61-28=33'] Exploring Operation: 72/6=12, Resulting Numbers: [33, 12] Generated Node #0,3,0: 99:[33, 12] Operation: 72/6=12 Exploring Operation: 72-33=39, Resulting Numbers: [6, 39] Generated Node #0,3,1: 99:[6, 39] Operation: 72-33=39 Exploring Operation: 72+33=105, Resulting Numbers: [6, 105] Generated Node #0,3,2: 99:[6, 105] Operation: 72+33=105 Exploring Operation: 6+72=78, Resulting Numbers: [33, 78] Generated Node #0,3,3: 99:[33, 78] Operation: 6+72=78 Moving to Node #0,1 Current State: 99:[61, 6, 100], Operations: ['28+72=100'] Exploring Operation: 100-61=39, Resulting Numbers: [6, 39] Generated Node #0,1,0: 99:[6, 39] Operation: 100-61=39 Exploring Operation: 100-6=94, Resulting Numbers: [61, 94] Generated Node #0,1,1: 99:[61, 94] Operation: 100-6=94 Exploring Operation: 61+6=67, Resulting Numbers: [100, 67] Generated Node #0,1,2: 99:[100, 67] Operation: 61+6=67 Exploring Operation: 61-6=55, Resulting Numbers: [100, 55] Generated Node #0,1,3: 99:[100, 55] Operation: 61-6=55 Moving to Node #0,0 Current State: 99:[61, 28, 12], Operations: ['72/6=12'] Exploring Operation: 61+28=89, Resulting Numbers: [12, 89] Generated Node #0,0,0: 99:[12, 89] Operation: 61+28=89 Exploring Operation: 61-12=49, Resulting Numbers: [28, 49] Generated Node #0,0,1: 99:[28, 49] Operation: 61-12=49 Exploring Operation: 61-28=33, Resulting Numbers: [12, 33] Generated Node #0,0,2: 99:[12, 33] Operation: 61-28=33 Exploring Operation: 61+12=73, Resulting Numbers: [28, 73] Generated Node #0,0,3: 99:[28, 73] Operation: 61+12=73 Moving to Node #0,2,2 Current State: 99:[11, 34], Operations: ['72-61=11', '28+6=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,99 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[12, 33], Operations: ['72/6=12', '61-28=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,99 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[33, 12], Operations: ['61-28=33', '72/6=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,99 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[28, 5], Operations: ['72-61=11', '11-6=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,99 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[6, 105], Operations: ['61-28=33', '72+33=105'] Exploring Operation: 6+105=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 6*105=630, Resulting Numbers: [630] 630,99 unequal: No Solution Exploring Operation: 105-6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[61, 28, 6, 72], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [6, 72, 33] Generated Node #0,3: 99:[6, 72, 33] Operation: 61-28=33 Moving to Node #0,3 Current State: 99:[6, 72, 33], Operations: ['61-28=33'] Exploring Operation: 72+33=105, Resulting Numbers: [6, 105] Generated Node #0,3,2: 99:[6, 105] Operation: 72+33=105 Moving to Node #0,3,2 Current State: 99:[6, 105], Operations: ['61-28=33', '72+33=105'] Exploring Operation: 105-6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 51, 9, 10, 52 ]
58
[ "51+9=60", "60/10=6", "52+6=58" ]
Current State: 58:[51, 9, 10, 52], Operations: [] Exploring Operation: 51+9=60, Resulting Numbers: [10, 52, 60] Generated Node #2: [10, 52, 60] from Operation: 51+9=60 Current State: 58:[10, 52, 60], Operations: ['51+9=60'] Exploring Operation: 60/10=6, Resulting Numbers: [52, 6] Generated Node #3: [52, 6] from Operation: 60/10=6 Current State: 58:[52, 6], Operations: ['51+9=60', '60/10=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[51, 9, 10, 52], Operations: [] Exploring Operation: 9+52=61, Resulting Numbers: [51, 10, 61] Generated Node #0,0: 58:[51, 10, 61] Operation: 9+52=61 Exploring Operation: 10-9=1, Resulting Numbers: [51, 52, 1] Generated Node #0,1: 58:[51, 52, 1] Operation: 10-9=1 Exploring Operation: 51+10=61, Resulting Numbers: [9, 52, 61] Generated Node #0,2: 58:[9, 52, 61] Operation: 51+10=61 Exploring Operation: 51+9=60, Resulting Numbers: [10, 52, 60] Generated Node #0,3: 58:[10, 52, 60] Operation: 51+9=60 Exploring Operation: 52-51=1, Resulting Numbers: [9, 10, 1] Generated Node #0,4: 58:[9, 10, 1] Operation: 52-51=1 Moving to Node #0,1 Current State: 58:[51, 52, 1], Operations: ['10-9=1'] Exploring Operation: 52-51=1, Resulting Numbers: [1, 1] Generated Node #0,1,0: 58:[1, 1] Operation: 52-51=1 Exploring Operation: 51*1=51, Resulting Numbers: [52, 51] Generated Node #0,1,1: 58:[52, 51] Operation: 51*1=51 Exploring Operation: 52+1=53, Resulting Numbers: [51, 53] Generated Node #0,1,2: 58:[51, 53] Operation: 52+1=53 Exploring Operation: 51/1=51, Resulting Numbers: [52, 51] Generated Node #0,1,3: 58:[52, 51] Operation: 51/1=51 Exploring Operation: 51+1=52, Resulting Numbers: [52, 52] Generated Node #0,1,4: 58:[52, 52] Operation: 51+1=52 Moving to Node #0,3 Current State: 58:[10, 52, 60], Operations: ['51+9=60'] Exploring Operation: 60-10=50, Resulting Numbers: [52, 50] Generated Node #0,3,0: 58:[52, 50] Operation: 60-10=50 Exploring Operation: 10+52=62, Resulting Numbers: [60, 62] Generated Node #0,3,1: 58:[60, 62] Operation: 10+52=62 Exploring Operation: 60/10=6, Resulting Numbers: [52, 6] Generated Node #0,3,2: 58:[52, 6] Operation: 60/10=6 Exploring Operation: 60-52=8, Resulting Numbers: [10, 8] Generated Node #0,3,3: 58:[10, 8] Operation: 60-52=8 Exploring Operation: 52-10=42, Resulting Numbers: [60, 42] Generated Node #0,3,4: 58:[60, 42] Operation: 52-10=42 Moving to Node #0,2 Current State: 58:[9, 52, 61], Operations: ['51+10=61'] Exploring Operation: 61-52=9, Resulting Numbers: [9, 9] Generated Node #0,2,0: 58:[9, 9] Operation: 61-52=9 Exploring Operation: 61-9=52, Resulting Numbers: [52, 52] Generated Node #0,2,1: 58:[52, 52] Operation: 61-9=52 Exploring Operation: 9+52=61, Resulting Numbers: [61, 61] Generated Node #0,2,2: 58:[61, 61] Operation: 9+52=61 Exploring Operation: 52-9=43, Resulting Numbers: [61, 43] Generated Node #0,2,3: 58:[61, 43] Operation: 52-9=43 Exploring Operation: 9+61=70, Resulting Numbers: [52, 70] Generated Node #0,2,4: 58:[52, 70] Operation: 9+61=70 Moving to Node #0,4 Current State: 58:[9, 10, 1], Operations: ['52-51=1'] Exploring Operation: 9-1=8, Resulting Numbers: [10, 8] Generated Node #0,4,0: 58:[10, 8] Operation: 9-1=8 Exploring Operation: 10-1=9, Resulting Numbers: [9, 9] Generated Node #0,4,1: 58:[9, 9] Operation: 10-1=9 Exploring Operation: 9*1=9, Resulting Numbers: [10, 9] Generated Node #0,4,2: 58:[10, 9] Operation: 9*1=9 Exploring Operation: 10-9=1, Resulting Numbers: [1, 1] Generated Node #0,4,3: 58:[1, 1] Operation: 10-9=1 Exploring Operation: 9+10=19, Resulting Numbers: [1, 19] Generated Node #0,4,4: 58:[1, 19] Operation: 9+10=19 Moving to Node #0,0 Current State: 58:[51, 10, 61], Operations: ['9+52=61'] Exploring Operation: 51+10=61, Resulting Numbers: [61, 61] Generated Node #0,0,0: 58:[61, 61] Operation: 51+10=61 Exploring Operation: 10+61=71, Resulting Numbers: [51, 71] Generated Node #0,0,1: 58:[51, 71] Operation: 10+61=71 Exploring Operation: 61-10=51, Resulting Numbers: [51, 51] Generated Node #0,0,2: 58:[51, 51] Operation: 61-10=51 Exploring Operation: 61-51=10, Resulting Numbers: [10, 10] Generated Node #0,0,3: 58:[10, 10] Operation: 61-51=10 Exploring Operation: 51-10=41, Resulting Numbers: [61, 41] Generated Node #0,0,4: 58:[61, 41] Operation: 51-10=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[61, 61], Operations: ['9+52=61', '51+10=61'] Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,58 unequal: No Solution Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,58 unequal: No Solution No 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: 58:[51, 51], Operations: ['9+52=61', '61-10=51'] Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 51*51=2601, Resulting Numbers: [2601] 2601,58 unequal: No Solution Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,58 unequal: No Solution No 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: 58:[61, 41], Operations: ['9+52=61', '51-10=41'] Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 61*41=2501, Resulting Numbers: [2501] 2501,58 unequal: No Solution Exploring Operation: 61+41=102, Resulting Numbers: [102] 102,58 unequal: No Solution No 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: 58:[10, 10], Operations: ['9+52=61', '61-51=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,58 unequal: No Solution No 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: 58:[51, 71], Operations: ['9+52=61', '10+61=71'] Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,58 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: 58:[1, 1], Operations: ['10-9=1', '52-51=1'] Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,58 unequal: No Solution Moving to Node #0,4,3 Current State: 58:[1, 1], Operations: ['52-51=1', '10-9=1'] Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[60, 62], Operations: ['51+9=60', '10+52=62'] Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,58 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[61, 61], Operations: ['51+10=61', '9+52=61'] Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,58 unequal: No Solution Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[52, 6], Operations: ['51+9=60', '60/10=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,58 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[51, 9, 10, 52], Operations: [] Exploring Operation: 51+9=60, Resulting Numbers: [10, 52, 60] Generated Node #0,3: 58:[10, 52, 60] Operation: 51+9=60 Moving to Node #0,3 Current State: 58:[10, 52, 60], Operations: ['51+9=60'] Exploring Operation: 60/10=6, Resulting Numbers: [52, 6] Generated Node #0,3,2: 58:[52, 6] Operation: 60/10=6 Moving to Node #0,3,2 Current State: 58:[52, 6], Operations: ['51+9=60', '60/10=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.939236
hs_5
mult_heuristic
[ 17, 23, 39, 38 ]
37
[ "17+23=40", "39+38=77", "77-40=37" ]
Current State: 37:[17, 23, 39, 38], Operations: [] Exploring Operation: 17+23=40, Resulting Numbers: [39, 38, 40] Generated Node #2: [39, 38, 40] from Operation: 17+23=40 Current State: 37:[39, 38, 40], Operations: ['17+23=40'] Exploring Operation: 39+38=77, Resulting Numbers: [40, 77] Generated Node #3: [40, 77] from Operation: 39+38=77 Current State: 37:[40, 77], Operations: ['17+23=40', '39+38=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[17, 23, 39, 38], Operations: [] Exploring Operation: 39-17=22, Resulting Numbers: [23, 38, 22] Generated Node #0,0: 37:[23, 38, 22] Operation: 39-17=22 Exploring Operation: 38-17=21, Resulting Numbers: [23, 39, 21] Generated Node #0,1: 37:[23, 39, 21] Operation: 38-17=21 Exploring Operation: 17+23=40, Resulting Numbers: [39, 38, 40] Generated Node #0,2: 37:[39, 38, 40] Operation: 17+23=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[39, 38, 40], Operations: ['17+23=40'] Exploring Operation: 40-38=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 37:[39, 2] Operation: 40-38=2 Exploring Operation: 40-39=1, Resulting Numbers: [38, 1] Generated Node #0,2,1: 37:[38, 1] Operation: 40-39=1 Exploring Operation: 39-38=1, Resulting Numbers: [40, 1] Generated Node #0,2,2: 37:[40, 1] Operation: 39-38=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[39, 2], Operations: ['17+23=40', '40-38=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[17, 23, 39, 38], Operations: [] Exploring Operation: 17+23=40, Resulting Numbers: [39, 38, 40] Generated Node #0,2: 37:[39, 38, 40] Operation: 17+23=40 Moving to Node #0,2 Current State: 37:[39, 38, 40], Operations: ['17+23=40'] Exploring Operation: 40-38=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 37:[39, 2] Operation: 40-38=2 Moving to Node #0,2,0 Current State: 37:[39, 2], Operations: ['17+23=40', '40-38=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 77, 86, 65, 21 ]
76
[ "86-65=21", "21/21=1", "77-1=76" ]
Current State: 76:[77, 86, 65, 21], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [77, 21, 21] Generated Node #2: [77, 21, 21] from Operation: 86-65=21 Current State: 76:[77, 21, 21], Operations: ['86-65=21'] Exploring Operation: 21/21=1, Resulting Numbers: [77, 1] Generated Node #3: [77, 1] from Operation: 21/21=1 Current State: 76:[77, 1], Operations: ['86-65=21', '21/21=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[77, 86, 65, 21], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [77, 21, 21] Generated Node #0,0: 76:[77, 21, 21] Operation: 86-65=21 Moving to Node #0,0 Current State: 76:[77, 21, 21], Operations: ['86-65=21'] Exploring Operation: 21/21=1, Resulting Numbers: [77, 1] Generated Node #0,0,0: 76:[77, 1] Operation: 21/21=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[77, 1], Operations: ['86-65=21', '21/21=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[77, 86, 65, 21], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [77, 21, 21] Generated Node #0,0: 76:[77, 21, 21] Operation: 86-65=21 Moving to Node #0,0 Current State: 76:[77, 21, 21], Operations: ['86-65=21'] Exploring Operation: 21/21=1, Resulting Numbers: [77, 1] Generated Node #0,0,0: 76:[77, 1] Operation: 21/21=1 Moving to Node #0,0,0 Current State: 76:[77, 1], Operations: ['86-65=21', '21/21=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 47, 74, 56 ]
64
[ "47-1=46", "74-56=18", "46+18=64" ]
Current State: 64:[1, 47, 74, 56], Operations: [] Exploring Operation: 47-1=46, Resulting Numbers: [74, 56, 46] Generated Node #2: [74, 56, 46] from Operation: 47-1=46 Current State: 64:[74, 56, 46], Operations: ['47-1=46'] Exploring Operation: 74-56=18, Resulting Numbers: [46, 18] Generated Node #3: [46, 18] from Operation: 74-56=18 Current State: 64:[46, 18], Operations: ['47-1=46', '74-56=18'] Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[1, 47, 74, 56], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [1, 74, 9] Generated Node #0,0: 64:[1, 74, 9] Operation: 56-47=9 Exploring Operation: 47-1=46, Resulting Numbers: [74, 56, 46] Generated Node #0,1: 64:[74, 56, 46] Operation: 47-1=46 Exploring Operation: 74-47=27, Resulting Numbers: [1, 56, 27] Generated Node #0,2: 64:[1, 56, 27] Operation: 74-47=27 Exploring Operation: 74-56=18, Resulting Numbers: [1, 47, 18] Generated Node #0,3: 64:[1, 47, 18] Operation: 74-56=18 Moving to Node #0,0 Current State: 64:[1, 74, 9], Operations: ['56-47=9'] Exploring Operation: 1*74=74, Resulting Numbers: [9, 74] Generated Node #0,0,0: 64:[9, 74] Operation: 1*74=74 Exploring Operation: 74-9=65, Resulting Numbers: [1, 65] Generated Node #0,0,1: 64:[1, 65] Operation: 74-9=65 Exploring Operation: 74-1=73, Resulting Numbers: [9, 73] Generated Node #0,0,2: 64:[9, 73] Operation: 74-1=73 Exploring Operation: 9-1=8, Resulting Numbers: [74, 8] Generated Node #0,0,3: 64:[74, 8] Operation: 9-1=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[1, 65], Operations: ['56-47=9', '74-9=65'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[1, 47, 74, 56], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [1, 74, 9] Generated Node #0,0: 64:[1, 74, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 64:[1, 74, 9], Operations: ['56-47=9'] Exploring Operation: 74-9=65, Resulting Numbers: [1, 65] Generated Node #0,0,1: 64:[1, 65] Operation: 74-9=65 Moving to Node #0,0,1 Current State: 64:[1, 65], Operations: ['56-47=9', '74-9=65'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 87, 79, 14, 16 ]
83
[ "87+79=166", "16-14=2", "166/2=83" ]
Current State: 83:[87, 79, 14, 16], Operations: [] Exploring Operation: 87+79=166, Resulting Numbers: [14, 16, 166] Generated Node #2: [14, 16, 166] from Operation: 87+79=166 Current State: 83:[14, 16, 166], Operations: ['87+79=166'] Exploring Operation: 16-14=2, Resulting Numbers: [166, 2] Generated Node #3: [166, 2] from Operation: 16-14=2 Current State: 83:[166, 2], Operations: ['87+79=166', '16-14=2'] Exploring Operation: 166/2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[87, 79, 14, 16], Operations: [] Exploring Operation: 14+16=30, Resulting Numbers: [87, 79, 30] Generated Node #0,0: 83:[87, 79, 30] Operation: 14+16=30 Exploring Operation: 87-14=73, Resulting Numbers: [79, 16, 73] Generated Node #0,1: 83:[79, 16, 73] Operation: 87-14=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[87, 79, 30], Operations: ['14+16=30'] Exploring Operation: 87-30=57, Resulting Numbers: [79, 57] Generated Node #0,0,0: 83:[79, 57] Operation: 87-30=57 Exploring Operation: 79+30=109, Resulting Numbers: [87, 109] Generated Node #0,0,1: 83:[87, 109] Operation: 79+30=109 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[79, 57], Operations: ['14+16=30', '87-30=57'] Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,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:[87, 109], Operations: ['14+16=30', '79+30=109'] Exploring Operation: 87+109=196, Resulting Numbers: [196] 196,83 unequal: No Solution Exploring Operation: 109-87=22, Resulting Numbers: [22] 22,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,1 Current State: 83:[79, 16, 73], Operations: ['87-14=73'] Exploring Operation: 16+73=89, Resulting Numbers: [79, 89] Generated Node #0,1,0: 83:[79, 89] Operation: 16+73=89 Exploring Operation: 79+16=95, Resulting Numbers: [73, 95] Generated Node #0,1,1: 83:[73, 95] Operation: 79+16=95 Moving to Node #0,1,0 Current State: 83:[79, 89], Operations: ['87-14=73', '16+73=89'] Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 79+89=168, Resulting Numbers: [168] 168,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[73, 95], Operations: ['87-14=73', '79+16=95'] Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 73+95=168, Resulting Numbers: [168] 168,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 24, 51, 97, 49 ]
75
[ "51-24=27", "97-49=48", "27+48=75" ]
Current State: 75:[24, 51, 97, 49], Operations: [] Exploring Operation: 51-24=27, Resulting Numbers: [97, 49, 27] Generated Node #2: [97, 49, 27] from Operation: 51-24=27 Current State: 75:[97, 49, 27], Operations: ['51-24=27'] Exploring Operation: 97-49=48, Resulting Numbers: [27, 48] Generated Node #3: [27, 48] from Operation: 97-49=48 Current State: 75:[27, 48], Operations: ['51-24=27', '97-49=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[24, 51, 97, 49], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [24, 97, 2] Generated Node #0,0: 75:[24, 97, 2] Operation: 51-49=2 Moving to Node #0,0 Current State: 75:[24, 97, 2], Operations: ['51-49=2'] Exploring Operation: 97-24=73, Resulting Numbers: [2, 73] Generated Node #0,0,0: 75:[2, 73] Operation: 97-24=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[2, 73], Operations: ['51-49=2', '97-24=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[24, 51, 97, 49], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [24, 97, 2] Generated Node #0,0: 75:[24, 97, 2] Operation: 51-49=2 Moving to Node #0,0 Current State: 75:[24, 97, 2], Operations: ['51-49=2'] Exploring Operation: 97-24=73, Resulting Numbers: [2, 73] Generated Node #0,0,0: 75:[2, 73] Operation: 97-24=73 Moving to Node #0,0,0 Current State: 75:[2, 73], Operations: ['51-49=2', '97-24=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 12, 91, 4, 54 ]
45
[ "12+91=103", "4+54=58", "103-58=45" ]
Current State: 45:[12, 91, 4, 54], Operations: [] Exploring Operation: 12+91=103, Resulting Numbers: [4, 54, 103] Generated Node #2: [4, 54, 103] from Operation: 12+91=103 Current State: 45:[4, 54, 103], Operations: ['12+91=103'] Exploring Operation: 4+54=58, Resulting Numbers: [103, 58] Generated Node #3: [103, 58] from Operation: 4+54=58 Current State: 45:[103, 58], Operations: ['12+91=103', '4+54=58'] Exploring Operation: 103-58=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[12, 91, 4, 54], Operations: [] Exploring Operation: 91-12=79, Resulting Numbers: [4, 54, 79] Generated Node #0,0: 45:[4, 54, 79] Operation: 91-12=79 Exploring Operation: 54-12=42, Resulting Numbers: [91, 4, 42] Generated Node #0,1: 45:[91, 4, 42] Operation: 54-12=42 Exploring Operation: 91-4=87, Resulting Numbers: [12, 54, 87] Generated Node #0,2: 45:[12, 54, 87] Operation: 91-4=87 Exploring Operation: 91-54=37, Resulting Numbers: [12, 4, 37] Generated Node #0,3: 45:[12, 4, 37] Operation: 91-54=37 Exploring Operation: 54-4=50, Resulting Numbers: [12, 91, 50] Generated Node #0,4: 45:[12, 91, 50] Operation: 54-4=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[12, 4, 37], Operations: ['91-54=37'] Exploring Operation: 12+37=49, Resulting Numbers: [4, 49] Generated Node #0,3,0: 45:[4, 49] Operation: 12+37=49 Exploring Operation: 4+37=41, Resulting Numbers: [12, 41] Generated Node #0,3,1: 45:[12, 41] Operation: 4+37=41 Exploring Operation: 12/4=3, Resulting Numbers: [37, 3] Generated Node #0,3,2: 45:[37, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [37, 8] Generated Node #0,3,3: 45:[37, 8] Operation: 12-4=8 Exploring Operation: 12+4=16, Resulting Numbers: [37, 16] Generated Node #0,3,4: 45:[37, 16] Operation: 12+4=16 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 45:[4, 49], Operations: ['91-54=37', '12+37=49'] Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,45 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[12, 91, 4, 54], Operations: [] Exploring Operation: 91-54=37, Resulting Numbers: [12, 4, 37] Generated Node #0,3: 45:[12, 4, 37] Operation: 91-54=37 Moving to Node #0,3 Current State: 45:[12, 4, 37], Operations: ['91-54=37'] Exploring Operation: 12+37=49, Resulting Numbers: [4, 49] Generated Node #0,3,0: 45:[4, 49] Operation: 12+37=49 Moving to Node #0,3,0 Current State: 45:[4, 49], Operations: ['91-54=37', '12+37=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 4, 10, 24, 3 ]
24
[ "24/4=6", "10*3=30", "30-6=24" ]
Current State: 24:[4, 10, 24, 3], Operations: [] Exploring Operation: 24/4=6, Resulting Numbers: [10, 3, 6] Generated Node #2: [10, 3, 6] from Operation: 24/4=6 Current State: 24:[10, 3, 6], Operations: ['24/4=6'] Exploring Operation: 10*3=30, Resulting Numbers: [6, 30] Generated Node #3: [6, 30] from Operation: 10*3=30 Current State: 24:[6, 30], Operations: ['24/4=6', '10*3=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[4, 10, 24, 3], Operations: [] Exploring Operation: 10+3=13, Resulting Numbers: [4, 24, 13] Generated Node #0,0: 24:[4, 24, 13] Operation: 10+3=13 Exploring Operation: 10-4=6, Resulting Numbers: [24, 3, 6] Generated Node #0,1: 24:[24, 3, 6] Operation: 10-4=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[24, 3, 6], Operations: ['10-4=6'] Exploring Operation: 24/6=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 24:[3, 4] Operation: 24/6=4 Exploring Operation: 24/3=8, Resulting Numbers: [6, 8] Generated Node #0,1,1: 24:[6, 8] Operation: 24/3=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 24:[3, 4], Operations: ['10-4=6', '24/6=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[6, 8], Operations: ['10-4=6', '24/3=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[4, 24, 13], Operations: ['10+3=13'] Exploring Operation: 24/4=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 24:[13, 6] Operation: 24/4=6 Exploring Operation: 13-4=9, Resulting Numbers: [24, 9] Generated Node #0,0,1: 24:[24, 9] Operation: 13-4=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[13, 6], Operations: ['10+3=13', '24/4=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[24, 9], Operations: ['10+3=13', '13-4=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 88, 86, 54, 23 ]
33
[ "88-86=2", "54-23=31", "2+31=33" ]
Current State: 33:[88, 86, 54, 23], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [54, 23, 2] Generated Node #2: [54, 23, 2] from Operation: 88-86=2 Current State: 33:[54, 23, 2], Operations: ['88-86=2'] Exploring Operation: 54-23=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 54-23=31 Current State: 33:[2, 31], Operations: ['88-86=2', '54-23=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[88, 86, 54, 23], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [88, 23, 32] Generated Node #0,0: 33:[88, 23, 32] Operation: 86-54=32 Exploring Operation: 88-86=2, Resulting Numbers: [54, 23, 2] Generated Node #0,1: 33:[54, 23, 2] Operation: 88-86=2 Exploring Operation: 88-54=34, Resulting Numbers: [86, 23, 34] Generated Node #0,2: 33:[86, 23, 34] Operation: 88-54=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[54, 23, 2], Operations: ['88-86=2'] Exploring Operation: 54/2=27, Resulting Numbers: [23, 27] Generated Node #0,1,0: 33:[23, 27] Operation: 54/2=27 Exploring Operation: 54-23=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 33:[2, 31] Operation: 54-23=31 Exploring Operation: 54-2=52, Resulting Numbers: [23, 52] Generated Node #0,1,2: 33:[23, 52] Operation: 54-2=52 Moving to Node #0,1,1 Current State: 33:[2, 31], Operations: ['88-86=2', '54-23=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[88, 86, 54, 23], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [54, 23, 2] Generated Node #0,1: 33:[54, 23, 2] Operation: 88-86=2 Moving to Node #0,1 Current State: 33:[54, 23, 2], Operations: ['88-86=2'] Exploring Operation: 54-23=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 33:[2, 31] Operation: 54-23=31 Moving to Node #0,1,1 Current State: 33:[2, 31], Operations: ['88-86=2', '54-23=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 80, 60, 33, 38 ]
91
[ "80-60=20", "33+38=71", "20+71=91" ]
Current State: 91:[80, 60, 33, 38], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [33, 38, 20] Generated Node #2: [33, 38, 20] from Operation: 80-60=20 Current State: 91:[33, 38, 20], Operations: ['80-60=20'] Exploring Operation: 33+38=71, Resulting Numbers: [20, 71] Generated Node #3: [20, 71] from Operation: 33+38=71 Current State: 91:[20, 71], Operations: ['80-60=20', '33+38=71'] Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[80, 60, 33, 38], Operations: [] Exploring Operation: 60+38=98, Resulting Numbers: [80, 33, 98] Generated Node #0,0: 91:[80, 33, 98] Operation: 60+38=98 Exploring Operation: 60+33=93, Resulting Numbers: [80, 38, 93] Generated Node #0,1: 91:[80, 38, 93] Operation: 60+33=93 Exploring Operation: 38-33=5, Resulting Numbers: [80, 60, 5] Generated Node #0,2: 91:[80, 60, 5] Operation: 38-33=5 Exploring Operation: 60-38=22, Resulting Numbers: [80, 33, 22] Generated Node #0,3: 91:[80, 33, 22] Operation: 60-38=22 Moving to Node #0,0 Current State: 91:[80, 33, 98], Operations: ['60+38=98'] Exploring Operation: 98-33=65, Resulting Numbers: [80, 65] Generated Node #0,0,0: 91:[80, 65] Operation: 98-33=65 Exploring Operation: 98-80=18, Resulting Numbers: [33, 18] Generated Node #0,0,1: 91:[33, 18] Operation: 98-80=18 Exploring Operation: 80-33=47, Resulting Numbers: [98, 47] Generated Node #0,0,2: 91:[98, 47] Operation: 80-33=47 Exploring Operation: 80+33=113, Resulting Numbers: [98, 113] Generated Node #0,0,3: 91:[98, 113] Operation: 80+33=113 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[33, 18], Operations: ['60+38=98', '98-80=18'] Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,91 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[98, 113], Operations: ['60+38=98', '80+33=113'] Exploring Operation: 98*113=11074, Resulting Numbers: [11074] 11074,91 unequal: No Solution Exploring Operation: 113-98=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 98+113=211, Resulting Numbers: [211] 211,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[80, 65], Operations: ['60+38=98', '98-33=65'] Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,91 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[98, 47], Operations: ['60+38=98', '80-33=47'] Exploring Operation: 98-47=51, Resulting Numbers: [51] 51,91 unequal: No Solution Exploring Operation: 98*47=4606, Resulting Numbers: [4606] 4606,91 unequal: No Solution Exploring Operation: 98+47=145, Resulting Numbers: [145] 145,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:[80, 38, 93], Operations: ['60+33=93'] Exploring Operation: 93-38=55, Resulting Numbers: [80, 55] Generated Node #0,1,0: 91:[80, 55] Operation: 93-38=55 Exploring Operation: 80+38=118, Resulting Numbers: [93, 118] Generated Node #0,1,1: 91:[93, 118] Operation: 80+38=118 Exploring Operation: 80-38=42, Resulting Numbers: [93, 42] Generated Node #0,1,2: 91:[93, 42] Operation: 80-38=42 Exploring Operation: 93-80=13, Resulting Numbers: [38, 13] Generated Node #0,1,3: 91:[38, 13] Operation: 93-80=13 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[38, 13], Operations: ['60+33=93', '93-80=13'] Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,91 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[93, 118], Operations: ['60+33=93', '80+38=118'] Exploring Operation: 93+118=211, Resulting Numbers: [211] 211,91 unequal: No Solution Exploring Operation: 93*118=10974, Resulting Numbers: [10974] 10974,91 unequal: No Solution Exploring Operation: 118-93=25, Resulting Numbers: [25] 25,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[93, 42], Operations: ['60+33=93', '80-38=42'] Exploring Operation: 93+42=135, Resulting Numbers: [135] 135,91 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,91 unequal: No Solution Exploring Operation: 93*42=3906, Resulting Numbers: [3906] 3906,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[80, 55], Operations: ['60+33=93', '93-38=55'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 80*55=4400, Resulting Numbers: [4400] 4400,91 unequal: No Solution Exploring Operation: 80+55=135, Resulting Numbers: [135] 135,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 91:[80, 33, 22], Operations: ['60-38=22'] Exploring Operation: 80+22=102, Resulting Numbers: [33, 102] Generated Node #0,3,0: 91:[33, 102] Operation: 80+22=102 Exploring Operation: 80-33=47, Resulting Numbers: [22, 47] Generated Node #0,3,1: 91:[22, 47] Operation: 80-33=47 Exploring Operation: 80+33=113, Resulting Numbers: [22, 113] Generated Node #0,3,2: 91:[22, 113] Operation: 80+33=113 Exploring Operation: 33-22=11, Resulting Numbers: [80, 11] Generated Node #0,3,3: 91:[80, 11] Operation: 33-22=11 Moving to Node #0,2 Current State: 91:[80, 60, 5], Operations: ['38-33=5'] Exploring Operation: 80+5=85, Resulting Numbers: [60, 85] Generated Node #0,2,0: 91:[60, 85] Operation: 80+5=85 Exploring Operation: 80-60=20, Resulting Numbers: [5, 20] Generated Node #0,2,1: 91:[5, 20] Operation: 80-60=20 Exploring Operation: 80/5=16, Resulting Numbers: [60, 16] Generated Node #0,2,2: 91:[60, 16] Operation: 80/5=16 Exploring Operation: 60/5=12, Resulting Numbers: [80, 12] Generated Node #0,2,3: 91:[80, 12] Operation: 60/5=12 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[5, 20], Operations: ['38-33=5', '80-60=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[80, 12], Operations: ['38-33=5', '60/5=12'] Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,91 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,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,2 Current State: 91:[60, 16], Operations: ['38-33=5', '80/5=16'] Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,91 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[60, 85], Operations: ['38-33=5', '80+5=85'] Exploring Operation: 60*85=5100, Resulting Numbers: [5100] 5100,91 unequal: No Solution Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 60+85=145, Resulting Numbers: [145] 145,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 91:[80, 11], Operations: ['60-38=22', '33-22=11'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[80, 60, 33, 38], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [80, 33, 22] Generated Node #0,3: 91:[80, 33, 22] Operation: 60-38=22 Moving to Node #0,3 Current State: 91:[80, 33, 22], Operations: ['60-38=22'] Exploring Operation: 33-22=11, Resulting Numbers: [80, 11] Generated Node #0,3,3: 91:[80, 11] Operation: 33-22=11 Moving to Node #0,3,3 Current State: 91:[80, 11], Operations: ['60-38=22', '33-22=11'] Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.945313
hs_4
mult_heuristic
[ 12, 10, 24, 54 ]
52
[ "12+10=22", "54-24=30", "22+30=52" ]
Current State: 52:[12, 10, 24, 54], Operations: [] Exploring Operation: 12+10=22, Resulting Numbers: [24, 54, 22] Generated Node #2: [24, 54, 22] from Operation: 12+10=22 Current State: 52:[24, 54, 22], Operations: ['12+10=22'] Exploring Operation: 54-24=30, Resulting Numbers: [22, 30] Generated Node #3: [22, 30] from Operation: 54-24=30 Current State: 52:[22, 30], Operations: ['12+10=22', '54-24=30'] Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[12, 10, 24, 54], Operations: [] Exploring Operation: 12-10=2, Resulting Numbers: [24, 54, 2] Generated Node #0,0: 52:[24, 54, 2] Operation: 12-10=2 Exploring Operation: 24-10=14, Resulting Numbers: [12, 54, 14] Generated Node #0,1: 52:[12, 54, 14] Operation: 24-10=14 Exploring Operation: 24/12=2, Resulting Numbers: [10, 54, 2] Generated Node #0,2: 52:[10, 54, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [10, 54, 12] Generated Node #0,3: 52:[10, 54, 12] Operation: 24-12=12 Exploring Operation: 12+10=22, Resulting Numbers: [24, 54, 22] Generated Node #0,4: 52:[24, 54, 22] Operation: 12+10=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[24, 54, 2], Operations: ['12-10=2'] Exploring Operation: 54-24=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 52:[2, 30] Operation: 54-24=30 Exploring Operation: 54/2=27, Resulting Numbers: [24, 27] Generated Node #0,0,1: 52:[24, 27] Operation: 54/2=27 Exploring Operation: 24+2=26, Resulting Numbers: [54, 26] Generated Node #0,0,2: 52:[54, 26] Operation: 24+2=26 Exploring Operation: 54-2=52, Resulting Numbers: [24, 52] Generated Node #0,0,3: 52:[24, 52] Operation: 54-2=52 Exploring Operation: 24/2=12, Resulting Numbers: [54, 12] Generated Node #0,0,4: 52:[54, 12] Operation: 24/2=12 Moving to Node #0,0,2 Current State: 52:[54, 26], Operations: ['12-10=2', '24+2=26'] Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[24, 52], Operations: ['12-10=2', '54-2=52'] Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[24, 27], Operations: ['12-10=2', '54/2=27'] Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,52 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[54, 12], Operations: ['12-10=2', '24/2=12'] Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,52 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,52 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[2, 30], Operations: ['12-10=2', '54-24=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,52 unequal: No Solution No 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: 52:[12, 54, 14], Operations: ['24-10=14'] Exploring Operation: 12+14=26, Resulting Numbers: [54, 26] Generated Node #0,1,0: 52:[54, 26] Operation: 12+14=26 Exploring Operation: 54-12=42, Resulting Numbers: [14, 42] Generated Node #0,1,1: 52:[14, 42] Operation: 54-12=42 Exploring Operation: 14-12=2, Resulting Numbers: [54, 2] Generated Node #0,1,2: 52:[54, 2] Operation: 14-12=2 Exploring Operation: 12+54=66, Resulting Numbers: [14, 66] Generated Node #0,1,3: 52:[14, 66] Operation: 12+54=66 Exploring Operation: 54-14=40, Resulting Numbers: [12, 40] Generated Node #0,1,4: 52:[12, 40] Operation: 54-14=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[54, 26], Operations: ['24-10=14', '12+14=26'] Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,52 unequal: No Solution No 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: 52:[54, 2], Operations: ['24-10=14', '14-12=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[12, 10, 24, 54], Operations: [] Exploring Operation: 24-10=14, Resulting Numbers: [12, 54, 14] Generated Node #0,1: 52:[12, 54, 14] Operation: 24-10=14 Moving to Node #0,1 Current State: 52:[12, 54, 14], Operations: ['24-10=14'] Exploring Operation: 14-12=2, Resulting Numbers: [54, 2] Generated Node #0,1,2: 52:[54, 2] Operation: 14-12=2 Moving to Node #0,1,2 Current State: 52:[54, 2], Operations: ['24-10=14', '14-12=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 54, 84, 89, 22 ]
97
[ "84-54=30", "89-22=67", "30+67=97" ]
Current State: 97:[54, 84, 89, 22], Operations: [] Exploring Operation: 84-54=30, Resulting Numbers: [89, 22, 30] Generated Node #2: [89, 22, 30] from Operation: 84-54=30 Current State: 97:[89, 22, 30], Operations: ['84-54=30'] Exploring Operation: 89-22=67, Resulting Numbers: [30, 67] Generated Node #3: [30, 67] from Operation: 89-22=67 Current State: 97:[30, 67], Operations: ['84-54=30', '89-22=67'] Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[54, 84, 89, 22], Operations: [] Exploring Operation: 84-22=62, Resulting Numbers: [54, 89, 62] Generated Node #0,0: 97:[54, 89, 62] Operation: 84-22=62 Exploring Operation: 54-22=32, Resulting Numbers: [84, 89, 32] Generated Node #0,1: 97:[84, 89, 32] Operation: 54-22=32 Exploring Operation: 54+22=76, Resulting Numbers: [84, 89, 76] Generated Node #0,2: 97:[84, 89, 76] Operation: 54+22=76 Exploring Operation: 89+22=111, Resulting Numbers: [54, 84, 111] Generated Node #0,3: 97:[54, 84, 111] Operation: 89+22=111 Exploring Operation: 84+22=106, Resulting Numbers: [54, 89, 106] Generated Node #0,4: 97:[54, 89, 106] Operation: 84+22=106 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[84, 89, 76], Operations: ['54+22=76'] Exploring Operation: 84+89=173, Resulting Numbers: [76, 173] Generated Node #0,2,0: 97:[76, 173] Operation: 84+89=173 Exploring Operation: 89-76=13, Resulting Numbers: [84, 13] Generated Node #0,2,1: 97:[84, 13] Operation: 89-76=13 Exploring Operation: 84-76=8, Resulting Numbers: [89, 8] Generated Node #0,2,2: 97:[89, 8] Operation: 84-76=8 Exploring Operation: 89+76=165, Resulting Numbers: [84, 165] Generated Node #0,2,3: 97:[84, 165] Operation: 89+76=165 Exploring Operation: 84+76=160, Resulting Numbers: [89, 160] Generated Node #0,2,4: 97:[89, 160] Operation: 84+76=160 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 97:[89, 160], Operations: ['54+22=76', '84+76=160'] Exploring Operation: 89+160=249, Resulting Numbers: [249] 249,97 unequal: No Solution Exploring Operation: 89*160=14240, Resulting Numbers: [14240] 14240,97 unequal: No Solution Exploring Operation: 160-89=71, Resulting Numbers: [71] 71,97 unequal: No Solution No 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: 97:[84, 165], Operations: ['54+22=76', '89+76=165'] Exploring Operation: 84*165=13860, Resulting Numbers: [13860] 13860,97 unequal: No Solution Exploring Operation: 165-84=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 84+165=249, Resulting Numbers: [249] 249,97 unequal: No Solution No 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: 97:[76, 173], Operations: ['54+22=76', '84+89=173'] Exploring Operation: 173-76=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[54, 84, 89, 22], Operations: [] Exploring Operation: 54+22=76, Resulting Numbers: [84, 89, 76] Generated Node #0,2: 97:[84, 89, 76] Operation: 54+22=76 Moving to Node #0,2 Current State: 97:[84, 89, 76], Operations: ['54+22=76'] Exploring Operation: 84+89=173, Resulting Numbers: [76, 173] Generated Node #0,2,0: 97:[76, 173] Operation: 84+89=173 Moving to Node #0,2,0 Current State: 97:[76, 173], Operations: ['54+22=76', '84+89=173'] Exploring Operation: 173-76=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 26, 49, 59, 69 ]
56
[ "49-26=23", "69/23=3", "59-3=56" ]
Current State: 56:[26, 49, 59, 69], Operations: [] Exploring Operation: 49-26=23, Resulting Numbers: [59, 69, 23] Generated Node #2: [59, 69, 23] from Operation: 49-26=23 Current State: 56:[59, 69, 23], Operations: ['49-26=23'] Exploring Operation: 69/23=3, Resulting Numbers: [59, 3] Generated Node #3: [59, 3] from Operation: 69/23=3 Current State: 56:[59, 3], Operations: ['49-26=23', '69/23=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[26, 49, 59, 69], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [26, 59, 20] Generated Node #0,0: 56:[26, 59, 20] Operation: 69-49=20 Exploring Operation: 69-59=10, Resulting Numbers: [26, 49, 10] Generated Node #0,1: 56:[26, 49, 10] Operation: 69-59=10 Exploring Operation: 49-26=23, Resulting Numbers: [59, 69, 23] Generated Node #0,2: 56:[59, 69, 23] Operation: 49-26=23 Exploring Operation: 59-49=10, Resulting Numbers: [26, 69, 10] Generated Node #0,3: 56:[26, 69, 10] Operation: 59-49=10 Moving to Node #0,0 Current State: 56:[26, 59, 20], Operations: ['69-49=20'] Exploring Operation: 59-26=33, Resulting Numbers: [20, 33] Generated Node #0,0,0: 56:[20, 33] Operation: 59-26=33 Exploring Operation: 26-20=6, Resulting Numbers: [59, 6] Generated Node #0,0,1: 56:[59, 6] Operation: 26-20=6 Exploring Operation: 26+20=46, Resulting Numbers: [59, 46] Generated Node #0,0,2: 56:[59, 46] Operation: 26+20=46 Exploring Operation: 59-20=39, Resulting Numbers: [26, 39] Generated Node #0,0,3: 56:[26, 39] Operation: 59-20=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[59, 6], Operations: ['69-49=20', '26-20=6'] Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,56 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[20, 33], Operations: ['69-49=20', '59-26=33'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,56 unequal: No Solution Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[59, 46], Operations: ['69-49=20', '26+20=46'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[26, 39], Operations: ['69-49=20', '59-20=39'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,56 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[26, 49, 10], Operations: ['69-59=10'] Exploring Operation: 49-10=39, Resulting Numbers: [26, 39] Generated Node #0,1,0: 56:[26, 39] Operation: 49-10=39 Exploring Operation: 26-10=16, Resulting Numbers: [49, 16] Generated Node #0,1,1: 56:[49, 16] Operation: 26-10=16 Exploring Operation: 49-26=23, Resulting Numbers: [10, 23] Generated Node #0,1,2: 56:[10, 23] Operation: 49-26=23 Exploring Operation: 49+10=59, Resulting Numbers: [26, 59] Generated Node #0,1,3: 56:[26, 59] Operation: 49+10=59 Moving to Node #0,3 Current State: 56:[26, 69, 10], Operations: ['59-49=10'] Exploring Operation: 69-26=43, Resulting Numbers: [10, 43] Generated Node #0,3,0: 56:[10, 43] Operation: 69-26=43 Exploring Operation: 69-10=59, Resulting Numbers: [26, 59] Generated Node #0,3,1: 56:[26, 59] Operation: 69-10=59 Exploring Operation: 26+10=36, Resulting Numbers: [69, 36] Generated Node #0,3,2: 56:[69, 36] Operation: 26+10=36 Exploring Operation: 26-10=16, Resulting Numbers: [69, 16] Generated Node #0,3,3: 56:[69, 16] Operation: 26-10=16 Moving to Node #0,2 Current State: 56:[59, 69, 23], Operations: ['49-26=23'] Exploring Operation: 69-59=10, Resulting Numbers: [23, 10] Generated Node #0,2,0: 56:[23, 10] Operation: 69-59=10 Exploring Operation: 69-23=46, Resulting Numbers: [59, 46] Generated Node #0,2,1: 56:[59, 46] Operation: 69-23=46 Exploring Operation: 59-23=36, Resulting Numbers: [69, 36] Generated Node #0,2,2: 56:[69, 36] Operation: 59-23=36 Exploring Operation: 69/23=3, Resulting Numbers: [59, 3] Generated Node #0,2,3: 56:[59, 3] Operation: 69/23=3 Moving to Node #0,2,3 Current State: 56:[59, 3], Operations: ['49-26=23', '69/23=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[26, 49, 59, 69], Operations: [] Exploring Operation: 49-26=23, Resulting Numbers: [59, 69, 23] Generated Node #0,2: 56:[59, 69, 23] Operation: 49-26=23 Moving to Node #0,2 Current State: 56:[59, 69, 23], Operations: ['49-26=23'] Exploring Operation: 69/23=3, Resulting Numbers: [59, 3] Generated Node #0,2,3: 56:[59, 3] Operation: 69/23=3 Moving to Node #0,2,3 Current State: 56:[59, 3], Operations: ['49-26=23', '69/23=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 21, 12, 52, 88 ]
69
[ "21+12=33", "88-52=36", "33+36=69" ]
Current State: 69:[21, 12, 52, 88], Operations: [] Exploring Operation: 21+12=33, Resulting Numbers: [52, 88, 33] Generated Node #2: [52, 88, 33] from Operation: 21+12=33 Current State: 69:[52, 88, 33], Operations: ['21+12=33'] Exploring Operation: 88-52=36, Resulting Numbers: [33, 36] Generated Node #3: [33, 36] from Operation: 88-52=36 Current State: 69:[33, 36], Operations: ['21+12=33', '88-52=36'] Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[21, 12, 52, 88], Operations: [] Exploring Operation: 21+52=73, Resulting Numbers: [12, 88, 73] Generated Node #0,0: 69:[12, 88, 73] Operation: 21+52=73 Exploring Operation: 88-52=36, Resulting Numbers: [21, 12, 36] Generated Node #0,1: 69:[21, 12, 36] Operation: 88-52=36 Exploring Operation: 88-21=67, Resulting Numbers: [12, 52, 67] Generated Node #0,2: 69:[12, 52, 67] Operation: 88-21=67 Exploring Operation: 88-12=76, Resulting Numbers: [21, 52, 76] Generated Node #0,3: 69:[21, 52, 76] Operation: 88-12=76 Exploring Operation: 12+52=64, Resulting Numbers: [21, 88, 64] Generated Node #0,4: 69:[21, 88, 64] Operation: 12+52=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[21, 12, 36], Operations: ['88-52=36'] Exploring Operation: 21+36=57, Resulting Numbers: [12, 57] Generated Node #0,1,0: 69:[12, 57] Operation: 21+36=57 Exploring Operation: 21-12=9, Resulting Numbers: [36, 9] Generated Node #0,1,1: 69:[36, 9] Operation: 21-12=9 Exploring Operation: 36-21=15, Resulting Numbers: [12, 15] Generated Node #0,1,2: 69:[12, 15] Operation: 36-21=15 Exploring Operation: 36-12=24, Resulting Numbers: [21, 24] Generated Node #0,1,3: 69:[21, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [21, 3] Generated Node #0,1,4: 69:[21, 3] Operation: 36/12=3 Moving to Node #0,1,4 Current State: 69:[21, 3], Operations: ['88-52=36', '36/12=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[21, 24], Operations: ['88-52=36', '36-12=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[12, 15], Operations: ['88-52=36', '36-21=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[36, 9], Operations: ['88-52=36', '21-12=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[12, 57], Operations: ['88-52=36', '21+36=57'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[21, 12, 52, 88], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [21, 12, 36] Generated Node #0,1: 69:[21, 12, 36] Operation: 88-52=36 Moving to Node #0,1 Current State: 69:[21, 12, 36], Operations: ['88-52=36'] Exploring Operation: 21+36=57, Resulting Numbers: [12, 57] Generated Node #0,1,0: 69:[12, 57] Operation: 21+36=57 Moving to Node #0,1,0 Current State: 69:[12, 57], Operations: ['88-52=36', '21+36=57'] Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
sum_heuristic
[ 52, 94, 39, 64 ]
40
[ "94-64=30", "52*30=1560", "1560/39=40" ]
Current State: 40:[52, 94, 39, 64], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [52, 39, 30] Generated Node #2: [52, 39, 30] from Operation: 94-64=30 Current State: 40:[52, 39, 30], Operations: ['94-64=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [39, 1560] Generated Node #3: [39, 1560] from Operation: 52*30=1560 Current State: 40:[39, 1560], Operations: ['94-64=30', '52*30=1560'] Exploring Operation: 1560/39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[52, 94, 39, 64], Operations: [] Exploring Operation: 64-39=25, Resulting Numbers: [52, 94, 25] Generated Node #0,0: 40:[52, 94, 25] Operation: 64-39=25 Exploring Operation: 94-39=55, Resulting Numbers: [52, 64, 55] Generated Node #0,1: 40:[52, 64, 55] Operation: 94-39=55 Exploring Operation: 94-52=42, Resulting Numbers: [39, 64, 42] Generated Node #0,2: 40:[39, 64, 42] Operation: 94-52=42 Exploring Operation: 64-52=12, Resulting Numbers: [94, 39, 12] Generated Node #0,3: 40:[94, 39, 12] Operation: 64-52=12 Exploring Operation: 94-64=30, Resulting Numbers: [52, 39, 30] Generated Node #0,4: 40:[52, 39, 30] Operation: 94-64=30 Moving to Node #0,4 Current State: 40:[52, 39, 30], Operations: ['94-64=30'] Exploring Operation: 39+30=69, Resulting Numbers: [52, 69] Generated Node #0,4,0: 40:[52, 69] Operation: 39+30=69 Exploring Operation: 52+30=82, Resulting Numbers: [39, 82] Generated Node #0,4,1: 40:[39, 82] Operation: 52+30=82 Exploring Operation: 52-30=22, Resulting Numbers: [39, 22] Generated Node #0,4,2: 40:[39, 22] Operation: 52-30=22 Exploring Operation: 39-30=9, Resulting Numbers: [52, 9] Generated Node #0,4,3: 40:[52, 9] Operation: 39-30=9 Exploring Operation: 52-39=13, Resulting Numbers: [30, 13] Generated Node #0,4,4: 40:[30, 13] Operation: 52-39=13 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 40:[39, 22], Operations: ['94-64=30', '52-30=22'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,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,3 Current State: 40:[52, 9], Operations: ['94-64=30', '39-30=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,40 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 40:[30, 13], Operations: ['94-64=30', '52-39=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,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,0 Current State: 40:[52, 69], Operations: ['94-64=30', '39+30=69'] Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 52*69=3588, Resulting Numbers: [3588] 3588,40 unequal: No Solution Exploring Operation: 52+69=121, Resulting Numbers: [121] 121,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,1 Current State: 40:[39, 82], Operations: ['94-64=30', '52+30=82'] Exploring Operation: 39+82=121, Resulting Numbers: [121] 121,40 unequal: No Solution Exploring Operation: 39*82=3198, Resulting Numbers: [3198] 3198,40 unequal: No Solution Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 40:[39, 64, 42], Operations: ['94-52=42'] Exploring Operation: 42-39=3, Resulting Numbers: [64, 3] Generated Node #0,2,0: 40:[64, 3] Operation: 42-39=3 Exploring Operation: 64-42=22, Resulting Numbers: [39, 22] Generated Node #0,2,1: 40:[39, 22] Operation: 64-42=22 Exploring Operation: 39+42=81, Resulting Numbers: [64, 81] Generated Node #0,2,2: 40:[64, 81] Operation: 39+42=81 Exploring Operation: 64-39=25, Resulting Numbers: [42, 25] Generated Node #0,2,3: 40:[42, 25] Operation: 64-39=25 Exploring Operation: 39+64=103, Resulting Numbers: [42, 103] Generated Node #0,2,4: 40:[42, 103] Operation: 39+64=103 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 40:[39, 22], Operations: ['94-52=42', '64-42=22'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[42, 25], Operations: ['94-52=42', '64-39=25'] Exploring Operation: 42*25=1050, Resulting Numbers: [1050] 1050,40 unequal: No Solution Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[64, 3], Operations: ['94-52=42', '42-39=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 40:[64, 81], Operations: ['94-52=42', '39+42=81'] Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,40 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,40 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 40:[42, 103], Operations: ['94-52=42', '39+64=103'] Exploring Operation: 42+103=145, Resulting Numbers: [145] 145,40 unequal: No Solution Exploring Operation: 42*103=4326, Resulting Numbers: [4326] 4326,40 unequal: No Solution Exploring Operation: 103-42=61, Resulting Numbers: [61] 61,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 40:[52, 64, 55], Operations: ['94-39=55'] Exploring Operation: 64-52=12, Resulting Numbers: [55, 12] Generated Node #0,1,0: 40:[55, 12] Operation: 64-52=12 Exploring Operation: 52+64=116, Resulting Numbers: [55, 116] Generated Node #0,1,1: 40:[55, 116] Operation: 52+64=116 Exploring Operation: 55-52=3, Resulting Numbers: [64, 3] Generated Node #0,1,2: 40:[64, 3] Operation: 55-52=3 Exploring Operation: 64-55=9, Resulting Numbers: [52, 9] Generated Node #0,1,3: 40:[52, 9] Operation: 64-55=9 Exploring Operation: 52+55=107, Resulting Numbers: [64, 107] Generated Node #0,1,4: 40:[64, 107] Operation: 52+55=107 Moving to Node #0,3 Current State: 40:[94, 39, 12], Operations: ['64-52=12'] Exploring Operation: 94-12=82, Resulting Numbers: [39, 82] Generated Node #0,3,0: 40:[39, 82] Operation: 94-12=82 Exploring Operation: 94+12=106, Resulting Numbers: [39, 106] Generated Node #0,3,1: 40:[39, 106] Operation: 94+12=106 Exploring Operation: 94-39=55, Resulting Numbers: [12, 55] Generated Node #0,3,2: 40:[12, 55] Operation: 94-39=55 Exploring Operation: 39-12=27, Resulting Numbers: [94, 27] Generated Node #0,3,3: 40:[94, 27] Operation: 39-12=27 Exploring Operation: 39+12=51, Resulting Numbers: [94, 51] Generated Node #0,3,4: 40:[94, 51] Operation: 39+12=51 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[12, 55], Operations: ['64-52=12', '94-39=55'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,40 unequal: No Solution Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[39, 82], Operations: ['64-52=12', '94-12=82'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 39+82=121, Resulting Numbers: [121] 121,40 unequal: No Solution Exploring Operation: 39*82=3198, Resulting Numbers: [3198] 3198,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[94, 27], Operations: ['64-52=12', '39-12=27'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 94*27=2538, Resulting Numbers: [2538] 2538,40 unequal: No Solution Exploring Operation: 94+27=121, Resulting Numbers: [121] 121,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 40:[94, 51], Operations: ['64-52=12', '39+12=51'] Exploring Operation: 94*51=4794, Resulting Numbers: [4794] 4794,40 unequal: No Solution Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 94+51=145, Resulting Numbers: [145] 145,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[39, 106], Operations: ['64-52=12', '94+12=106'] Exploring Operation: 106-39=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 39*106=4134, Resulting Numbers: [4134] 4134,40 unequal: No Solution Exploring Operation: 39+106=145, Resulting Numbers: [145] 145,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 40:[52, 94, 25], Operations: ['64-39=25'] Exploring Operation: 52-25=27, Resulting Numbers: [94, 27] Generated Node #0,0,0: 40:[94, 27] Operation: 52-25=27 Exploring Operation: 94-52=42, Resulting Numbers: [25, 42] Generated Node #0,0,1: 40:[25, 42] Operation: 94-52=42 Exploring Operation: 94-25=69, Resulting Numbers: [52, 69] Generated Node #0,0,2: 40:[52, 69] Operation: 94-25=69 Exploring Operation: 52+25=77, Resulting Numbers: [94, 77] Generated Node #0,0,3: 40:[94, 77] Operation: 52+25=77 Exploring Operation: 94+25=119, Resulting Numbers: [52, 119] Generated Node #0,0,4: 40:[52, 119] Operation: 94+25=119 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[25, 42], Operations: ['64-39=25', '94-52=42'] Exploring Operation: 25*42=1050, Resulting Numbers: [1050] 1050,40 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[52, 69], Operations: ['64-39=25', '94-25=69'] Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 52+69=121, Resulting Numbers: [121] 121,40 unequal: No Solution Exploring Operation: 52*69=3588, Resulting Numbers: [3588] 3588,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[94, 27], Operations: ['64-39=25', '52-25=27'] Exploring Operation: 94+27=121, Resulting Numbers: [121] 121,40 unequal: No Solution Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 94*27=2538, Resulting Numbers: [2538] 2538,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[94, 77], Operations: ['64-39=25', '52+25=77'] Exploring Operation: 94+77=171, Resulting Numbers: [171] 171,40 unequal: No Solution Exploring Operation: 94*77=7238, Resulting Numbers: [7238] 7238,40 unequal: No Solution Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 40:[52, 119], Operations: ['64-39=25', '94+25=119'] Exploring Operation: 52*119=6188, Resulting Numbers: [6188] 6188,40 unequal: No Solution Exploring Operation: 52+119=171, Resulting Numbers: [171] 171,40 unequal: No Solution Exploring Operation: 119-52=67, Resulting Numbers: [67] 67,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 40:[52, 9], Operations: ['94-39=55', '64-55=9'] Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,40 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[55, 12], Operations: ['94-39=55', '64-52=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,40 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[64, 3], Operations: ['94-39=55', '55-52=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,40 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[55, 116], Operations: ['94-39=55', '52+64=116'] Exploring Operation: 55+116=171, Resulting Numbers: [171] 171,40 unequal: No Solution Exploring Operation: 116-55=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 55*116=6380, Resulting Numbers: [6380] 6380,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[64, 107], Operations: ['94-39=55', '52+55=107'] Exploring Operation: 64*107=6848, Resulting Numbers: [6848] 6848,40 unequal: No Solution Exploring Operation: 107-64=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 64+107=171, Resulting Numbers: [171] 171,40 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 78, 30, 96, 56 ]
32
[ "56-30=26", "78/26=3", "96/3=32" ]
Current State: 32:[78, 30, 96, 56], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [78, 96, 26] Generated Node #2: [78, 96, 26] from Operation: 56-30=26 Current State: 32:[78, 96, 26], Operations: ['56-30=26'] Exploring Operation: 78/26=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 78/26=3 Current State: 32:[96, 3], Operations: ['56-30=26', '78/26=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[78, 30, 96, 56], Operations: [] Exploring Operation: 96-56=40, Resulting Numbers: [78, 30, 40] Generated Node #0,0: 32:[78, 30, 40] Operation: 96-56=40 Exploring Operation: 96-78=18, Resulting Numbers: [30, 56, 18] Generated Node #0,1: 32:[30, 56, 18] Operation: 96-78=18 Exploring Operation: 78-56=22, Resulting Numbers: [30, 96, 22] Generated Node #0,2: 32:[30, 96, 22] Operation: 78-56=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[30, 56, 18], Operations: ['96-78=18'] Exploring Operation: 30-18=12, Resulting Numbers: [56, 12] Generated Node #0,1,0: 32:[56, 12] Operation: 30-18=12 Exploring Operation: 56-30=26, Resulting Numbers: [18, 26] Generated Node #0,1,1: 32:[18, 26] Operation: 56-30=26 Exploring Operation: 56-18=38, Resulting Numbers: [30, 38] Generated Node #0,1,2: 32:[30, 38] Operation: 56-18=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[18, 26], Operations: ['96-78=18', '56-30=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,32 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[30, 38], Operations: ['96-78=18', '56-18=38'] Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,32 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,32 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[56, 12], Operations: ['96-78=18', '30-18=12'] Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,32 unequal: No Solution Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[78, 30, 40], Operations: ['96-56=40'] Exploring Operation: 78-30=48, Resulting Numbers: [40, 48] Generated Node #0,0,0: 32:[40, 48] Operation: 78-30=48 Exploring Operation: 40-30=10, Resulting Numbers: [78, 10] Generated Node #0,0,1: 32:[78, 10] Operation: 40-30=10 Exploring Operation: 78-40=38, Resulting Numbers: [30, 38] Generated Node #0,0,2: 32:[30, 38] Operation: 78-40=38 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[30, 38], Operations: ['96-56=40', '78-40=38'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,32 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[40, 48], Operations: ['96-56=40', '78-30=48'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 40*48=1920, Resulting Numbers: [1920] 1920,32 unequal: No Solution Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[78, 10], Operations: ['96-56=40', '40-30=10'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,32 unequal: No Solution Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,32 unequal: No Solution Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[30, 96, 22], Operations: ['78-56=22'] Exploring Operation: 30-22=8, Resulting Numbers: [96, 8] Generated Node #0,2,0: 32:[96, 8] Operation: 30-22=8 Exploring Operation: 96-22=74, Resulting Numbers: [30, 74] Generated Node #0,2,1: 32:[30, 74] Operation: 96-22=74 Exploring Operation: 96-30=66, Resulting Numbers: [22, 66] Generated Node #0,2,2: 32:[22, 66] Operation: 96-30=66 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[22, 66], Operations: ['78-56=22', '96-30=66'] Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,32 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 32:[30, 74], Operations: ['78-56=22', '96-22=74'] Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,32 unequal: No Solution Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,32 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 32:[96, 8], Operations: ['78-56=22', '30-22=8'] Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,32 unequal: No Solution Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 21, 85, 53, 43 ]
45
[ "21+85=106", "106/53=2", "43+2=45" ]
Current State: 45:[21, 85, 53, 43], Operations: [] Exploring Operation: 21+85=106, Resulting Numbers: [53, 43, 106] Generated Node #2: [53, 43, 106] from Operation: 21+85=106 Current State: 45:[53, 43, 106], Operations: ['21+85=106'] Exploring Operation: 106/53=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 106/53=2 Current State: 45:[43, 2], Operations: ['21+85=106', '106/53=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[21, 85, 53, 43], Operations: [] Exploring Operation: 85-53=32, Resulting Numbers: [21, 43, 32] Generated Node #0,0: 45:[21, 43, 32] Operation: 85-53=32 Exploring Operation: 53-43=10, Resulting Numbers: [21, 85, 10] Generated Node #0,1: 45:[21, 85, 10] Operation: 53-43=10 Exploring Operation: 53-21=32, Resulting Numbers: [85, 43, 32] Generated Node #0,2: 45:[85, 43, 32] Operation: 53-21=32 Exploring Operation: 85-21=64, Resulting Numbers: [53, 43, 64] Generated Node #0,3: 45:[53, 43, 64] Operation: 85-21=64 Exploring Operation: 85-43=42, Resulting Numbers: [21, 53, 42] Generated Node #0,4: 45:[21, 53, 42] Operation: 85-43=42 Moving to Node #0,4 Current State: 45:[21, 53, 42], Operations: ['85-43=42'] Exploring Operation: 42/21=2, Resulting Numbers: [53, 2] Generated Node #0,4,0: 45:[53, 2] Operation: 42/21=2 Exploring Operation: 53-21=32, Resulting Numbers: [42, 32] Generated Node #0,4,1: 45:[42, 32] Operation: 53-21=32 Exploring Operation: 53-42=11, Resulting Numbers: [21, 11] Generated Node #0,4,2: 45:[21, 11] Operation: 53-42=11 Exploring Operation: 42-21=21, Resulting Numbers: [53, 21] Generated Node #0,4,3: 45:[53, 21] Operation: 42-21=21 Exploring Operation: 21+42=63, Resulting Numbers: [53, 63] Generated Node #0,4,4: 45:[53, 63] Operation: 21+42=63 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 45:[21, 11], Operations: ['85-43=42', '53-42=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 45:[53, 2], Operations: ['85-43=42', '42/21=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,45 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 45:[53, 21], Operations: ['85-43=42', '42-21=21'] Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,45 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 45:[42, 32], Operations: ['85-43=42', '53-21=32'] Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 45:[53, 63], Operations: ['85-43=42', '21+42=63'] Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 53*63=3339, Resulting Numbers: [3339] 3339,45 unequal: No Solution Exploring Operation: 53+63=116, Resulting Numbers: [116] 116,45 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: 45:[21, 43, 32], Operations: ['85-53=32'] Exploring Operation: 32-21=11, Resulting Numbers: [43, 11] Generated Node #0,0,0: 45:[43, 11] Operation: 32-21=11 Exploring Operation: 43-21=22, Resulting Numbers: [32, 22] Generated Node #0,0,1: 45:[32, 22] Operation: 43-21=22 Exploring Operation: 21+32=53, Resulting Numbers: [43, 53] Generated Node #0,0,2: 45:[43, 53] Operation: 21+32=53 Exploring Operation: 21+43=64, Resulting Numbers: [32, 64] Generated Node #0,0,3: 45:[32, 64] Operation: 21+43=64 Exploring Operation: 43-32=11, Resulting Numbers: [21, 11] Generated Node #0,0,4: 45:[21, 11] Operation: 43-32=11 Moving to Node #0,3 Current State: 45:[53, 43, 64], Operations: ['85-21=64'] Exploring Operation: 64-43=21, Resulting Numbers: [53, 21] Generated Node #0,3,0: 45:[53, 21] Operation: 64-43=21 Exploring Operation: 53+43=96, Resulting Numbers: [64, 96] Generated Node #0,3,1: 45:[64, 96] Operation: 53+43=96 Exploring Operation: 43+64=107, Resulting Numbers: [53, 107] Generated Node #0,3,2: 45:[53, 107] Operation: 43+64=107 Exploring Operation: 53-43=10, Resulting Numbers: [64, 10] Generated Node #0,3,3: 45:[64, 10] Operation: 53-43=10 Exploring Operation: 64-53=11, Resulting Numbers: [43, 11] Generated Node #0,3,4: 45:[43, 11] Operation: 64-53=11 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 45:[43, 11], Operations: ['85-21=64', '64-53=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,45 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 45:[53, 21], Operations: ['85-21=64', '64-43=21'] Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,45 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[64, 10], Operations: ['85-21=64', '53-43=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,45 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 45:[64, 96], Operations: ['85-21=64', '53+43=96'] Exploring Operation: 64+96=160, Resulting Numbers: [160] 160,45 unequal: No Solution Exploring Operation: 96-64=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 64*96=6144, Resulting Numbers: [6144] 6144,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 45:[53, 107], Operations: ['85-21=64', '43+64=107'] Exploring Operation: 107-53=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 53+107=160, Resulting Numbers: [160] 160,45 unequal: No Solution Exploring Operation: 53*107=5671, Resulting Numbers: [5671] 5671,45 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: 45:[21, 85, 10], Operations: ['53-43=10'] Exploring Operation: 21+10=31, Resulting Numbers: [85, 31] Generated Node #0,1,0: 45:[85, 31] Operation: 21+10=31 Exploring Operation: 21-10=11, Resulting Numbers: [85, 11] Generated Node #0,1,1: 45:[85, 11] Operation: 21-10=11 Exploring Operation: 85+10=95, Resulting Numbers: [21, 95] Generated Node #0,1,2: 45:[21, 95] Operation: 85+10=95 Exploring Operation: 85-21=64, Resulting Numbers: [10, 64] Generated Node #0,1,3: 45:[10, 64] Operation: 85-21=64 Exploring Operation: 85-10=75, Resulting Numbers: [21, 75] Generated Node #0,1,4: 45:[21, 75] Operation: 85-10=75 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[10, 64], Operations: ['53-43=10', '85-21=64'] Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[21, 75], Operations: ['53-43=10', '85-10=75'] Exploring Operation: 21*75=1575, Resulting Numbers: [1575] 1575,45 unequal: No Solution Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 21+75=96, Resulting Numbers: [96] 96,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[85, 11], Operations: ['53-43=10', '21-10=11'] Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,45 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[85, 31], Operations: ['53-43=10', '21+10=31'] Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 85+31=116, Resulting Numbers: [116] 116,45 unequal: No Solution Exploring Operation: 85*31=2635, Resulting Numbers: [2635] 2635,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[21, 95], Operations: ['53-43=10', '85+10=95'] Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 21+95=116, Resulting Numbers: [116] 116,45 unequal: No Solution Exploring Operation: 21*95=1995, Resulting Numbers: [1995] 1995,45 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: 45:[85, 43, 32], Operations: ['53-21=32'] Exploring Operation: 43+32=75, Resulting Numbers: [85, 75] Generated Node #0,2,0: 45:[85, 75] Operation: 43+32=75 Exploring Operation: 85-43=42, Resulting Numbers: [32, 42] Generated Node #0,2,1: 45:[32, 42] Operation: 85-43=42 Exploring Operation: 85+32=117, Resulting Numbers: [43, 117] Generated Node #0,2,2: 45:[43, 117] Operation: 85+32=117 Exploring Operation: 85-32=53, Resulting Numbers: [43, 53] Generated Node #0,2,3: 45:[43, 53] Operation: 85-32=53 Exploring Operation: 43-32=11, Resulting Numbers: [85, 11] Generated Node #0,2,4: 45:[85, 11] Operation: 43-32=11 Moving to Node #0,0,0 Current State: 45:[43, 11], Operations: ['85-53=32', '32-21=11'] Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,45 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[21, 11], Operations: ['85-53=32', '43-32=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[43, 53], Operations: ['85-53=32', '21+32=53'] Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 43*53=2279, Resulting Numbers: [2279] 2279,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[43, 53], Operations: ['53-21=32', '85-32=53'] Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 43*53=2279, Resulting Numbers: [2279] 2279,45 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[32, 42], Operations: ['53-21=32', '85-43=42'] Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,45 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[32, 22], Operations: ['85-53=32', '43-21=22'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,45 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[32, 64], Operations: ['85-53=32', '21+43=64'] Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 32+64=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 32*64=2048, Resulting Numbers: [2048] 2048,45 unequal: No Solution Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[85, 11], Operations: ['53-21=32', '43-32=11'] Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[85, 75], Operations: ['53-21=32', '43+32=75'] Exploring Operation: 85*75=6375, Resulting Numbers: [6375] 6375,45 unequal: No Solution Exploring Operation: 85+75=160, Resulting Numbers: [160] 160,45 unequal: No Solution Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[43, 117], Operations: ['53-21=32', '85+32=117'] Exploring Operation: 43+117=160, Resulting Numbers: [160] 160,45 unequal: No Solution Exploring Operation: 43*117=5031, Resulting Numbers: [5031] 5031,45 unequal: No Solution Exploring Operation: 117-43=74, Resulting Numbers: [74] 74,45 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 11, 84, 78, 72 ]
89
[ "11+84=95", "78-72=6", "95-6=89" ]
Current State: 89:[11, 84, 78, 72], Operations: [] Exploring Operation: 11+84=95, Resulting Numbers: [78, 72, 95] Generated Node #2: [78, 72, 95] from Operation: 11+84=95 Current State: 89:[78, 72, 95], Operations: ['11+84=95'] Exploring Operation: 78-72=6, Resulting Numbers: [95, 6] Generated Node #3: [95, 6] from Operation: 78-72=6 Current State: 89:[95, 6], Operations: ['11+84=95', '78-72=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[11, 84, 78, 72], Operations: [] Exploring Operation: 11+72=83, Resulting Numbers: [84, 78, 83] Generated Node #0,0: 89:[84, 78, 83] Operation: 11+72=83 Exploring Operation: 11+84=95, Resulting Numbers: [78, 72, 95] Generated Node #0,1: 89:[78, 72, 95] Operation: 11+84=95 Exploring Operation: 11+78=89, Resulting Numbers: [84, 72, 89] Generated Node #0,2: 89:[84, 72, 89] Operation: 11+78=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[84, 78, 83], Operations: ['11+72=83'] Exploring Operation: 84-78=6, Resulting Numbers: [83, 6] Generated Node #0,0,0: 89:[83, 6] Operation: 84-78=6 Exploring Operation: 78+83=161, Resulting Numbers: [84, 161] Generated Node #0,0,1: 89:[84, 161] Operation: 78+83=161 Exploring Operation: 84+78=162, Resulting Numbers: [83, 162] Generated Node #0,0,2: 89:[83, 162] Operation: 84+78=162 Moving to Node #0,0,1 Current State: 89:[84, 161], Operations: ['11+72=83', '78+83=161'] Exploring Operation: 84*161=13524, Resulting Numbers: [13524] 13524,89 unequal: No Solution Exploring Operation: 161-84=77, Resulting Numbers: [77] 77,89 unequal: No Solution Exploring Operation: 84+161=245, Resulting Numbers: [245] 245,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[83, 162], Operations: ['11+72=83', '84+78=162'] Exploring Operation: 162-83=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 83*162=13446, Resulting Numbers: [13446] 13446,89 unequal: No Solution Exploring Operation: 83+162=245, Resulting Numbers: [245] 245,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[83, 6], Operations: ['11+72=83', '84-78=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[11, 84, 78, 72], Operations: [] Exploring Operation: 11+72=83, Resulting Numbers: [84, 78, 83] Generated Node #0,0: 89:[84, 78, 83] Operation: 11+72=83 Moving to Node #0,0 Current State: 89:[84, 78, 83], Operations: ['11+72=83'] Exploring Operation: 84-78=6, Resulting Numbers: [83, 6] Generated Node #0,0,0: 89:[83, 6] Operation: 84-78=6 Moving to Node #0,0,0 Current State: 89:[83, 6], Operations: ['11+72=83', '84-78=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 72, 94, 11, 64 ]
62
[ "94-72=22", "22/11=2", "64-2=62" ]
Current State: 62:[72, 94, 11, 64], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [11, 64, 22] Generated Node #2: [11, 64, 22] from Operation: 94-72=22 Current State: 62:[11, 64, 22], Operations: ['94-72=22'] Exploring Operation: 22/11=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 22/11=2 Current State: 62:[64, 2], Operations: ['94-72=22', '22/11=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[72, 94, 11, 64], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [11, 64, 22] Generated Node #0,0: 62:[11, 64, 22] Operation: 94-72=22 Exploring Operation: 94-64=30, Resulting Numbers: [72, 11, 30] Generated Node #0,1: 62:[72, 11, 30] Operation: 94-64=30 Exploring Operation: 94-11=83, Resulting Numbers: [72, 64, 83] Generated Node #0,2: 62:[72, 64, 83] Operation: 94-11=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[11, 64, 22], Operations: ['94-72=22'] Exploring Operation: 11+22=33, Resulting Numbers: [64, 33] Generated Node #0,0,0: 62:[64, 33] Operation: 11+22=33 Exploring Operation: 22/11=2, Resulting Numbers: [64, 2] Generated Node #0,0,1: 62:[64, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [64, 11] Generated Node #0,0,2: 62:[64, 11] Operation: 22-11=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[64, 2], Operations: ['94-72=22', '22/11=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[72, 94, 11, 64], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [11, 64, 22] Generated Node #0,0: 62:[11, 64, 22] Operation: 94-72=22 Moving to Node #0,0 Current State: 62:[11, 64, 22], Operations: ['94-72=22'] Exploring Operation: 22/11=2, Resulting Numbers: [64, 2] Generated Node #0,0,1: 62:[64, 2] Operation: 22/11=2 Moving to Node #0,0,1 Current State: 62:[64, 2], Operations: ['94-72=22', '22/11=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 36, 90, 11, 48 ]
89
[ "36+90=126", "48-11=37", "126-37=89" ]
Current State: 89:[36, 90, 11, 48], Operations: [] Exploring Operation: 36+90=126, Resulting Numbers: [11, 48, 126] Generated Node #2: [11, 48, 126] from Operation: 36+90=126 Current State: 89:[11, 48, 126], Operations: ['36+90=126'] Exploring Operation: 48-11=37, Resulting Numbers: [126, 37] Generated Node #3: [126, 37] from Operation: 48-11=37 Current State: 89:[126, 37], Operations: ['36+90=126', '48-11=37'] Exploring Operation: 126-37=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[36, 90, 11, 48], Operations: [] Exploring Operation: 36+48=84, Resulting Numbers: [90, 11, 84] Generated Node #0,0: 89:[90, 11, 84] Operation: 36+48=84 Exploring Operation: 36+11=47, Resulting Numbers: [90, 48, 47] Generated Node #0,1: 89:[90, 48, 47] Operation: 36+11=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[90, 11, 84], Operations: ['36+48=84'] Exploring Operation: 11+84=95, Resulting Numbers: [90, 95] Generated Node #0,0,0: 89:[90, 95] Operation: 11+84=95 Exploring Operation: 90-11=79, Resulting Numbers: [84, 79] Generated Node #0,0,1: 89:[84, 79] Operation: 90-11=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[90, 95], Operations: ['36+48=84', '11+84=95'] Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,89 unequal: No Solution No 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: 89:[84, 79], Operations: ['36+48=84', '90-11=79'] Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,89 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,89 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: 89:[90, 48, 47], Operations: ['36+11=47'] Exploring Operation: 90-47=43, Resulting Numbers: [48, 43] Generated Node #0,1,0: 89:[48, 43] Operation: 90-47=43 Exploring Operation: 48+47=95, Resulting Numbers: [90, 95] Generated Node #0,1,1: 89:[90, 95] Operation: 48+47=95 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[90, 95], Operations: ['36+11=47', '48+47=95'] Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,89 unequal: No Solution No 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: 89:[48, 43], Operations: ['36+11=47', '90-47=43'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 98, 7, 35, 16 ]
87
[ "98-16=82", "35/7=5", "82+5=87" ]
Current State: 87:[98, 7, 35, 16], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [7, 35, 82] Generated Node #2: [7, 35, 82] from Operation: 98-16=82 Current State: 87:[7, 35, 82], Operations: ['98-16=82'] Exploring Operation: 35/7=5, Resulting Numbers: [82, 5] Generated Node #3: [82, 5] from Operation: 35/7=5 Current State: 87:[82, 5], Operations: ['98-16=82', '35/7=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[98, 7, 35, 16], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [7, 35, 82] Generated Node #0,0: 87:[7, 35, 82] Operation: 98-16=82 Exploring Operation: 98-7=91, Resulting Numbers: [35, 16, 91] Generated Node #0,1: 87:[35, 16, 91] Operation: 98-7=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[7, 35, 82], Operations: ['98-16=82'] Exploring Operation: 35/7=5, Resulting Numbers: [82, 5] Generated Node #0,0,0: 87:[82, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [82, 28] Generated Node #0,0,1: 87:[82, 28] Operation: 35-7=28 Moving to Node #0,0,1 Current State: 87:[82, 28], Operations: ['98-16=82', '35-7=28'] Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[82, 5], Operations: ['98-16=82', '35/7=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[98, 7, 35, 16], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [7, 35, 82] Generated Node #0,0: 87:[7, 35, 82] Operation: 98-16=82 Moving to Node #0,0 Current State: 87:[7, 35, 82], Operations: ['98-16=82'] Exploring Operation: 35/7=5, Resulting Numbers: [82, 5] Generated Node #0,0,0: 87:[82, 5] Operation: 35/7=5 Moving to Node #0,0,0 Current State: 87:[82, 5], Operations: ['98-16=82', '35/7=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 51, 65, 83, 2 ]
46
[ "51*2=102", "65+83=148", "148-102=46" ]
Current State: 46:[51, 65, 83, 2], Operations: [] Exploring Operation: 51*2=102, Resulting Numbers: [65, 83, 102] Generated Node #2: [65, 83, 102] from Operation: 51*2=102 Current State: 46:[65, 83, 102], Operations: ['51*2=102'] Exploring Operation: 65+83=148, Resulting Numbers: [102, 148] Generated Node #3: [102, 148] from Operation: 65+83=148 Current State: 46:[102, 148], Operations: ['51*2=102', '65+83=148'] Exploring Operation: 148-102=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[51, 65, 83, 2], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [51, 2, 18] Generated Node #0,0: 46:[51, 2, 18] Operation: 83-65=18 Exploring Operation: 83-51=32, Resulting Numbers: [65, 2, 32] Generated Node #0,1: 46:[65, 2, 32] Operation: 83-51=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[51, 2, 18], Operations: ['83-65=18'] Exploring Operation: 51-2=49, Resulting Numbers: [18, 49] Generated Node #0,0,0: 46:[18, 49] Operation: 51-2=49 Exploring Operation: 2+18=20, Resulting Numbers: [51, 20] Generated Node #0,0,1: 46:[51, 20] Operation: 2+18=20 Moving to Node #0,0,0 Current State: 46:[18, 49], Operations: ['83-65=18', '51-2=49'] Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,46 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[51, 20], Operations: ['83-65=18', '2+18=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[65, 2, 32], Operations: ['83-51=32'] Exploring Operation: 65-2=63, Resulting Numbers: [32, 63] Generated Node #0,1,0: 46:[32, 63] Operation: 65-2=63 Exploring Operation: 65-32=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 46:[2, 33] Operation: 65-32=33 Moving to Node #0,1,1 Current State: 46:[2, 33], Operations: ['83-51=32', '65-32=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,46 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[32, 63], Operations: ['83-51=32', '65-2=63'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 32+63=95, Resulting Numbers: [95] 95,46 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
[ 5, 72, 99, 49 ]
63
[ "5+72=77", "99*49=4851", "4851/77=63" ]
Current State: 63:[5, 72, 99, 49], Operations: [] Exploring Operation: 5+72=77, Resulting Numbers: [99, 49, 77] Generated Node #2: [99, 49, 77] from Operation: 5+72=77 Current State: 63:[99, 49, 77], Operations: ['5+72=77'] Exploring Operation: 99*49=4851, Resulting Numbers: [77, 4851] Generated Node #3: [77, 4851] from Operation: 99*49=4851 Current State: 63:[77, 4851], Operations: ['5+72=77', '99*49=4851'] Exploring Operation: 4851/77=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[5, 72, 99, 49], Operations: [] Exploring Operation: 72-5=67, Resulting Numbers: [99, 49, 67] Generated Node #0,0: 63:[99, 49, 67] Operation: 72-5=67 Exploring Operation: 72-49=23, Resulting Numbers: [5, 99, 23] Generated Node #0,1: 63:[5, 99, 23] Operation: 72-49=23 Exploring Operation: 99-5=94, Resulting Numbers: [72, 49, 94] Generated Node #0,2: 63:[72, 49, 94] Operation: 99-5=94 Exploring Operation: 99-72=27, Resulting Numbers: [5, 49, 27] Generated Node #0,3: 63:[5, 49, 27] Operation: 99-72=27 Exploring Operation: 99-49=50, Resulting Numbers: [5, 72, 50] Generated Node #0,4: 63:[5, 72, 50] Operation: 99-49=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[5, 49, 27], Operations: ['99-72=27'] Exploring Operation: 5+49=54, Resulting Numbers: [27, 54] Generated Node #0,3,0: 63:[27, 54] Operation: 5+49=54 Exploring Operation: 49-27=22, Resulting Numbers: [5, 22] Generated Node #0,3,1: 63:[5, 22] Operation: 49-27=22 Exploring Operation: 49+27=76, Resulting Numbers: [5, 76] Generated Node #0,3,2: 63:[5, 76] Operation: 49+27=76 Exploring Operation: 27-5=22, Resulting Numbers: [49, 22] Generated Node #0,3,3: 63:[49, 22] Operation: 27-5=22 Exploring Operation: 49-5=44, Resulting Numbers: [27, 44] Generated Node #0,3,4: 63:[27, 44] Operation: 49-5=44 Moving to Node #0,3,1 Current State: 63:[5, 22], Operations: ['99-72=27', '49-27=22'] Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[5, 76], Operations: ['99-72=27', '49+27=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[27, 54], Operations: ['99-72=27', '5+49=54'] Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 27*54=1458, Resulting Numbers: [1458] 1458,63 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[49, 22], Operations: ['99-72=27', '27-5=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[27, 44], Operations: ['99-72=27', '49-5=44'] Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,63 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[5, 72, 50], Operations: ['99-49=50'] Exploring Operation: 72-50=22, Resulting Numbers: [5, 22] Generated Node #0,4,0: 63:[5, 22] Operation: 72-50=22 Exploring Operation: 72-5=67, Resulting Numbers: [50, 67] Generated Node #0,4,1: 63:[50, 67] Operation: 72-5=67 Exploring Operation: 5+72=77, Resulting Numbers: [50, 77] Generated Node #0,4,2: 63:[50, 77] Operation: 5+72=77 Exploring Operation: 50/5=10, Resulting Numbers: [72, 10] Generated Node #0,4,3: 63:[72, 10] Operation: 50/5=10 Exploring Operation: 5+50=55, Resulting Numbers: [72, 55] Generated Node #0,4,4: 63:[72, 55] Operation: 5+50=55 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 63:[5, 22], Operations: ['99-49=50', '72-50=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,63 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 63:[72, 10], Operations: ['99-49=50', '50/5=10'] Exploring Operation: 72+10=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 72*10=720, Resulting Numbers: [720] 720,63 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 63:[50, 67], Operations: ['99-49=50', '72-5=67'] Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,63 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 63:[72, 55], Operations: ['99-49=50', '5+50=55'] Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 72+55=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 72*55=3960, Resulting Numbers: [3960] 3960,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 63:[50, 77], Operations: ['99-49=50', '5+72=77'] Exploring Operation: 50*77=3850, Resulting Numbers: [3850] 3850,63 unequal: No Solution Exploring Operation: 50+77=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[5, 99, 23], Operations: ['72-49=23'] Exploring Operation: 5+23=28, Resulting Numbers: [99, 28] Generated Node #0,1,0: 63:[99, 28] Operation: 5+23=28 Exploring Operation: 99-5=94, Resulting Numbers: [23, 94] Generated Node #0,1,1: 63:[23, 94] Operation: 99-5=94 Exploring Operation: 23-5=18, Resulting Numbers: [99, 18] Generated Node #0,1,2: 63:[99, 18] Operation: 23-5=18 Exploring Operation: 99-23=76, Resulting Numbers: [5, 76] Generated Node #0,1,3: 63:[5, 76] Operation: 99-23=76 Exploring Operation: 5+99=104, Resulting Numbers: [23, 104] Generated Node #0,1,4: 63:[23, 104] Operation: 5+99=104 Moving to Node #0,1,3 Current State: 63:[5, 76], Operations: ['72-49=23', '99-23=76'] Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,63 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[23, 94], Operations: ['72-49=23', '99-5=94'] Exploring Operation: 23+94=117, Resulting Numbers: [117] 117,63 unequal: No Solution Exploring Operation: 23*94=2162, Resulting Numbers: [2162] 2162,63 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[99, 18], Operations: ['72-49=23', '23-5=18'] Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 99*18=1782, Resulting Numbers: [1782] 1782,63 unequal: No Solution Exploring Operation: 99+18=117, Resulting Numbers: [117] 117,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[99, 28], Operations: ['72-49=23', '5+23=28'] Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,63 unequal: No Solution Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[23, 104], Operations: ['72-49=23', '5+99=104'] Exploring Operation: 104-23=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 23+104=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 23*104=2392, Resulting Numbers: [2392] 2392,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[99, 49, 67], Operations: ['72-5=67'] Exploring Operation: 49+67=116, Resulting Numbers: [99, 116] Generated Node #0,0,0: 63:[99, 116] Operation: 49+67=116 Exploring Operation: 99-49=50, Resulting Numbers: [67, 50] Generated Node #0,0,1: 63:[67, 50] Operation: 99-49=50 Exploring Operation: 99+49=148, Resulting Numbers: [67, 148] Generated Node #0,0,2: 63:[67, 148] Operation: 99+49=148 Exploring Operation: 99-67=32, Resulting Numbers: [49, 32] Generated Node #0,0,3: 63:[49, 32] Operation: 99-67=32 Exploring Operation: 67-49=18, Resulting Numbers: [99, 18] Generated Node #0,0,4: 63:[99, 18] Operation: 67-49=18 Moving to Node #0,0,1 Current State: 63:[67, 50], Operations: ['72-5=67', '99-49=50'] Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 67*50=3350, Resulting Numbers: [3350] 3350,63 unequal: No Solution Exploring Operation: 67+50=117, Resulting Numbers: [117] 117,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[49, 32], Operations: ['72-5=67', '99-67=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,63 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,63 unequal: No Solution Moving to Node #0,0,4 Current State: 63:[99, 18], Operations: ['72-5=67', '67-49=18'] Exploring Operation: 99*18=1782, Resulting Numbers: [1782] 1782,63 unequal: No Solution Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 99+18=117, Resulting Numbers: [117] 117,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[99, 116], Operations: ['72-5=67', '49+67=116'] Exploring Operation: 99+116=215, Resulting Numbers: [215] 215,63 unequal: No Solution Exploring Operation: 116-99=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 99*116=11484, Resulting Numbers: [11484] 11484,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[67, 148], Operations: ['72-5=67', '99+49=148'] Exploring Operation: 67+148=215, Resulting Numbers: [215] 215,63 unequal: No Solution Exploring Operation: 148-67=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 67*148=9916, Resulting Numbers: [9916] 9916,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[72, 49, 94], Operations: ['99-5=94'] Exploring Operation: 94-49=45, Resulting Numbers: [72, 45] Generated Node #0,2,0: 63:[72, 45] Operation: 94-49=45 Exploring Operation: 49+94=143, Resulting Numbers: [72, 143] Generated Node #0,2,1: 63:[72, 143] Operation: 49+94=143 Exploring Operation: 94-72=22, Resulting Numbers: [49, 22] Generated Node #0,2,2: 63:[49, 22] Operation: 94-72=22 Exploring Operation: 72-49=23, Resulting Numbers: [94, 23] Generated Node #0,2,3: 63:[94, 23] Operation: 72-49=23 Exploring Operation: 72+49=121, Resulting Numbers: [94, 121] Generated Node #0,2,4: 63:[94, 121] Operation: 72+49=121 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[49, 22], Operations: ['99-5=94', '94-72=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,63 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[72, 45], Operations: ['99-5=94', '94-49=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,63 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 63:[94, 23], Operations: ['99-5=94', '72-49=23'] Exploring Operation: 94+23=117, Resulting Numbers: [117] 117,63 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 94*23=2162, Resulting Numbers: [2162] 2162,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[72, 143], Operations: ['99-5=94', '49+94=143'] Exploring Operation: 143-72=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 72*143=10296, Resulting Numbers: [10296] 10296,63 unequal: No Solution Exploring Operation: 72+143=215, Resulting Numbers: [215] 215,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 63:[94, 121], Operations: ['99-5=94', '72+49=121'] Exploring Operation: 94+121=215, Resulting Numbers: [215] 215,63 unequal: No Solution Exploring Operation: 94*121=11374, Resulting Numbers: [11374] 11374,63 unequal: No Solution Exploring Operation: 121-94=27, Resulting Numbers: [27] 27,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 31, 19, 55, 19 ]
31
[ "19-19=0", "55*0=0", "31+0=31" ]
Current State: 31:[31, 19, 55, 19], Operations: [] Exploring Operation: 19-19=0, Resulting Numbers: [31, 55, 0] Generated Node #2: [31, 55, 0] from Operation: 19-19=0 Current State: 31:[31, 55, 0], Operations: ['19-19=0'] Exploring Operation: 55*0=0, Resulting Numbers: [31, 0] Generated Node #3: [31, 0] from Operation: 55*0=0 Current State: 31:[31, 0], Operations: ['19-19=0', '55*0=0'] Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[31, 19, 55, 19], Operations: [] Exploring Operation: 19/19=1, Resulting Numbers: [31, 55, 1] Generated Node #0,0: 31:[31, 55, 1] Operation: 19/19=1 Exploring Operation: 19+19=38, Resulting Numbers: [31, 55, 38] Generated Node #0,1: 31:[31, 55, 38] Operation: 19+19=38 Exploring Operation: 55-19=36, Resulting Numbers: [31, 19, 36] Generated Node #0,2: 31:[31, 19, 36] Operation: 55-19=36 Exploring Operation: 55-31=24, Resulting Numbers: [19, 19, 24] Generated Node #0,3: 31:[19, 19, 24] Operation: 55-31=24 Exploring Operation: 55-19=36, Resulting Numbers: [31, 19, 36] Generated Node #0,4: 31:[31, 19, 36] Operation: 55-19=36 Moving to Node #0,2 Current State: 31:[31, 19, 36], Operations: ['55-19=36'] Exploring Operation: 36-19=17, Resulting Numbers: [31, 17] Generated Node #0,2,0: 31:[31, 17] Operation: 36-19=17 Exploring Operation: 19+36=55, Resulting Numbers: [31, 55] Generated Node #0,2,1: 31:[31, 55] Operation: 19+36=55 Exploring Operation: 31-19=12, Resulting Numbers: [36, 12] Generated Node #0,2,2: 31:[36, 12] Operation: 31-19=12 Exploring Operation: 31+19=50, Resulting Numbers: [36, 50] Generated Node #0,2,3: 31:[36, 50] Operation: 31+19=50 Exploring Operation: 36-31=5, Resulting Numbers: [19, 5] Generated Node #0,2,4: 31:[19, 5] Operation: 36-31=5 Moving to Node #0,4 Current State: 31:[31, 19, 36], Operations: ['55-19=36'] Exploring Operation: 31+19=50, Resulting Numbers: [36, 50] Generated Node #0,4,0: 31:[36, 50] Operation: 31+19=50 Exploring Operation: 36-19=17, Resulting Numbers: [31, 17] Generated Node #0,4,1: 31:[31, 17] Operation: 36-19=17 Exploring Operation: 19+36=55, Resulting Numbers: [31, 55] Generated Node #0,4,2: 31:[31, 55] Operation: 19+36=55 Exploring Operation: 36-31=5, Resulting Numbers: [19, 5] Generated Node #0,4,3: 31:[19, 5] Operation: 36-31=5 Exploring Operation: 31-19=12, Resulting Numbers: [36, 12] Generated Node #0,4,4: 31:[36, 12] Operation: 31-19=12 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 31:[31, 17], Operations: ['55-19=36', '36-19=17'] Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,31 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,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,4,0 Current State: 31:[36, 50], Operations: ['55-19=36', '31+19=50'] Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,31 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,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,4,2 Current State: 31:[31, 55], Operations: ['55-19=36', '19+36=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,31 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,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,4,4 Current State: 31:[36, 12], Operations: ['55-19=36', '31-19=12'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 36*12=432, Resulting Numbers: [432] 432,31 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,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,4,3 Current State: 31:[19, 5], Operations: ['55-19=36', '36-31=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 31:[31, 55, 38], Operations: ['19+19=38'] Exploring Operation: 31+55=86, Resulting Numbers: [38, 86] Generated Node #0,1,0: 31:[38, 86] Operation: 31+55=86 Exploring Operation: 38-31=7, Resulting Numbers: [55, 7] Generated Node #0,1,1: 31:[55, 7] Operation: 38-31=7 Exploring Operation: 55-31=24, Resulting Numbers: [38, 24] Generated Node #0,1,2: 31:[38, 24] Operation: 55-31=24 Exploring Operation: 31+38=69, Resulting Numbers: [55, 69] Generated Node #0,1,3: 31:[55, 69] Operation: 31+38=69 Exploring Operation: 55-38=17, Resulting Numbers: [31, 17] Generated Node #0,1,4: 31:[31, 17] Operation: 55-38=17 Moving to Node #0,3 Current State: 31:[19, 19, 24], Operations: ['55-31=24'] Exploring Operation: 19-19=0, Resulting Numbers: [24, 0] Generated Node #0,3,0: 31:[24, 0] Operation: 19-19=0 Exploring Operation: 19+24=43, Resulting Numbers: [19, 43] Generated Node #0,3,1: 31:[19, 43] Operation: 19+24=43 Exploring Operation: 19+19=38, Resulting Numbers: [24, 38] Generated Node #0,3,2: 31:[24, 38] Operation: 19+19=38 Exploring Operation: 19+24=43, Resulting Numbers: [19, 43] Generated Node #0,3,3: 31:[19, 43] Operation: 19+24=43 Exploring Operation: 19/19=1, Resulting Numbers: [24, 1] Generated Node #0,3,4: 31:[24, 1] Operation: 19/19=1 Moving to Node #0,0 Current State: 31:[31, 55, 1], Operations: ['19/19=1'] Exploring Operation: 55-1=54, Resulting Numbers: [31, 54] Generated Node #0,0,0: 31:[31, 54] Operation: 55-1=54 Exploring Operation: 55/1=55, Resulting Numbers: [31, 55] Generated Node #0,0,1: 31:[31, 55] Operation: 55/1=55 Exploring Operation: 31/1=31, Resulting Numbers: [55, 31] Generated Node #0,0,2: 31:[55, 31] Operation: 31/1=31 Exploring Operation: 31*1=31, Resulting Numbers: [55, 31] Generated Node #0,0,3: 31:[55, 31] Operation: 31*1=31 Exploring Operation: 55*1=55, Resulting Numbers: [31, 55] Generated Node #0,0,4: 31:[31, 55] Operation: 55*1=55 Moving to Node #0,2,0 Current State: 31:[31, 17], Operations: ['55-19=36', '36-19=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,31 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[38, 24], Operations: ['19+19=38', '55-31=24'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,31 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[31, 17], Operations: ['19+19=38', '55-38=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[24, 38], Operations: ['55-31=24', '19+19=38'] Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,31 unequal: No Solution Exploring Operation: 24+38=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,0,0 Current State: 31:[31, 54], Operations: ['19/19=1', '55-1=54'] Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[36, 12], Operations: ['55-19=36', '31-19=12'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 36*12=432, Resulting Numbers: [432] 432,31 unequal: No Solution Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[19, 43], Operations: ['55-31=24', '19+24=43'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[55, 31], Operations: ['19/19=1', '31*1=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[19, 43], Operations: ['55-31=24', '19+24=43'] Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,31 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[31, 55], Operations: ['55-19=36', '19+36=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[31, 55], Operations: ['19/19=1', '55*1=55'] Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[31, 55], Operations: ['19/19=1', '55/1=55'] Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[55, 31], Operations: ['19/19=1', '31/1=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[36, 50], Operations: ['55-19=36', '31+19=50'] Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,31 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[24, 1], Operations: ['55-31=24', '19/19=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[24, 0], Operations: ['55-31=24', '19-19=0'] Exploring Operation: 24-0=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 24+0=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 24*0=0, Resulting Numbers: [0] 0,31 unequal: No Solution Moving to Node #0,2,4 Current State: 31:[19, 5], Operations: ['55-19=36', '36-31=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[55, 7], Operations: ['19+19=38', '38-31=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,31 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[55, 69], Operations: ['19+19=38', '31+38=69'] Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,31 unequal: No Solution Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,31 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[38, 86], Operations: ['19+19=38', '31+55=86'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 38+86=124, Resulting Numbers: [124] 124,31 unequal: No Solution Exploring Operation: 38*86=3268, Resulting Numbers: [3268] 3268,31 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 64, 96, 39, 10 ]
16
[ "64*39=2496", "2496/96=26", "26-10=16" ]
Current State: 16:[64, 96, 39, 10], Operations: [] Exploring Operation: 64*39=2496, Resulting Numbers: [96, 10, 2496] Generated Node #2: [96, 10, 2496] from Operation: 64*39=2496 Current State: 16:[96, 10, 2496], Operations: ['64*39=2496'] Exploring Operation: 2496/96=26, Resulting Numbers: [10, 26] Generated Node #3: [10, 26] from Operation: 2496/96=26 Current State: 16:[10, 26], Operations: ['64*39=2496', '2496/96=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[64, 96, 39, 10], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [39, 10, 32] Generated Node #0,0: 16:[39, 10, 32] Operation: 96-64=32 Exploring Operation: 64-39=25, Resulting Numbers: [96, 10, 25] Generated Node #0,1: 16:[96, 10, 25] Operation: 64-39=25 Exploring Operation: 64-10=54, Resulting Numbers: [96, 39, 54] Generated Node #0,2: 16:[96, 39, 54] Operation: 64-10=54 Exploring Operation: 96-39=57, Resulting Numbers: [64, 10, 57] Generated Node #0,3: 16:[64, 10, 57] Operation: 96-39=57 Moving to Node #0,0 Current State: 16:[39, 10, 32], Operations: ['96-64=32'] Exploring Operation: 39+10=49, Resulting Numbers: [32, 49] Generated Node #0,0,0: 16:[32, 49] Operation: 39+10=49 Exploring Operation: 32-10=22, Resulting Numbers: [39, 22] Generated Node #0,0,1: 16:[39, 22] Operation: 32-10=22 Exploring Operation: 39-10=29, Resulting Numbers: [32, 29] Generated Node #0,0,2: 16:[32, 29] Operation: 39-10=29 Exploring Operation: 39-32=7, Resulting Numbers: [10, 7] Generated Node #0,0,3: 16:[10, 7] Operation: 39-32=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[10, 7], Operations: ['96-64=32', '39-32=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[39, 22], Operations: ['96-64=32', '32-10=22'] Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,16 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[32, 29], Operations: ['96-64=32', '39-10=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,16 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[32, 49], Operations: ['96-64=32', '39+10=49'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,16 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,16 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: 16:[64, 10, 57], Operations: ['96-39=57'] Exploring Operation: 64+10=74, Resulting Numbers: [57, 74] Generated Node #0,3,0: 16:[57, 74] Operation: 64+10=74 Exploring Operation: 64-57=7, Resulting Numbers: [10, 7] Generated Node #0,3,1: 16:[10, 7] Operation: 64-57=7 Exploring Operation: 64-10=54, Resulting Numbers: [57, 54] Generated Node #0,3,2: 16:[57, 54] Operation: 64-10=54 Exploring Operation: 57-10=47, Resulting Numbers: [64, 47] Generated Node #0,3,3: 16:[64, 47] Operation: 57-10=47 Moving to Node #0,1 Current State: 16:[96, 10, 25], Operations: ['64-39=25'] Exploring Operation: 96-25=71, Resulting Numbers: [10, 71] Generated Node #0,1,0: 16:[10, 71] Operation: 96-25=71 Exploring Operation: 96-10=86, Resulting Numbers: [25, 86] Generated Node #0,1,1: 16:[25, 86] Operation: 96-10=86 Exploring Operation: 25-10=15, Resulting Numbers: [96, 15] Generated Node #0,1,2: 16:[96, 15] Operation: 25-10=15 Exploring Operation: 96+10=106, Resulting Numbers: [25, 106] Generated Node #0,1,3: 16:[25, 106] Operation: 96+10=106 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[10, 71], Operations: ['64-39=25', '96-25=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 10*71=710, Resulting Numbers: [710] 710,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[25, 86], Operations: ['64-39=25', '96-10=86'] Exploring Operation: 25+86=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 25*86=2150, Resulting Numbers: [2150] 2150,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[96, 15], Operations: ['64-39=25', '25-10=15'] Exploring Operation: 96*15=1440, Resulting Numbers: [1440] 1440,16 unequal: No Solution Exploring Operation: 96+15=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 16:[25, 106], Operations: ['64-39=25', '96+10=106'] Exploring Operation: 106-25=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 25*106=2650, Resulting Numbers: [2650] 2650,16 unequal: No Solution Exploring Operation: 25+106=131, Resulting Numbers: [131] 131,16 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: 16:[96, 39, 54], Operations: ['64-10=54'] Exploring Operation: 54-39=15, Resulting Numbers: [96, 15] Generated Node #0,2,0: 16:[96, 15] Operation: 54-39=15 Exploring Operation: 96+39=135, Resulting Numbers: [54, 135] Generated Node #0,2,1: 16:[54, 135] Operation: 96+39=135 Exploring Operation: 96-39=57, Resulting Numbers: [54, 57] Generated Node #0,2,2: 16:[54, 57] Operation: 96-39=57 Exploring Operation: 96-54=42, Resulting Numbers: [39, 42] Generated Node #0,2,3: 16:[39, 42] Operation: 96-54=42 Moving to Node #0,3,1 Current State: 16:[10, 7], Operations: ['96-39=57', '64-57=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[39, 42], Operations: ['64-10=54', '96-54=42'] Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,16 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[64, 47], Operations: ['96-39=57', '57-10=47'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 64+47=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 64*47=3008, Resulting Numbers: [3008] 3008,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[54, 57], Operations: ['64-10=54', '96-39=57'] Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,16 unequal: No Solution Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[57, 54], Operations: ['96-39=57', '64-10=54'] Exploring Operation: 57*54=3078, Resulting Numbers: [3078] 3078,16 unequal: No Solution Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[96, 15], Operations: ['64-10=54', '54-39=15'] Exploring Operation: 96+15=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 96*15=1440, Resulting Numbers: [1440] 1440,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[57, 74], Operations: ['96-39=57', '64+10=74'] Exploring Operation: 57*74=4218, Resulting Numbers: [4218] 4218,16 unequal: No Solution Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 57+74=131, Resulting Numbers: [131] 131,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[54, 135], Operations: ['64-10=54', '96+39=135'] Exploring Operation: 54*135=7290, Resulting Numbers: [7290] 7290,16 unequal: No Solution Exploring Operation: 54+135=189, Resulting Numbers: [189] 189,16 unequal: No Solution Exploring Operation: 135-54=81, Resulting Numbers: [81] 81,16 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 55, 49, 40, 65 ]
22
[ "65-49=16", "55*16=880", "880/40=22" ]
Current State: 22:[55, 49, 40, 65], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [55, 40, 16] Generated Node #2: [55, 40, 16] from Operation: 65-49=16 Current State: 22:[55, 40, 16], Operations: ['65-49=16'] Exploring Operation: 55*16=880, Resulting Numbers: [40, 880] Generated Node #3: [40, 880] from Operation: 55*16=880 Current State: 22:[40, 880], Operations: ['65-49=16', '55*16=880'] Exploring Operation: 880/40=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[55, 49, 40, 65], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [55, 40, 16] Generated Node #0,0: 22:[55, 40, 16] Operation: 65-49=16 Exploring Operation: 65-55=10, Resulting Numbers: [49, 40, 10] Generated Node #0,1: 22:[49, 40, 10] Operation: 65-55=10 Exploring Operation: 55-49=6, Resulting Numbers: [40, 65, 6] Generated Node #0,2: 22:[40, 65, 6] Operation: 55-49=6 Exploring Operation: 65-40=25, Resulting Numbers: [55, 49, 25] Generated Node #0,3: 22:[55, 49, 25] Operation: 65-40=25 Moving to Node #0,1 Current State: 22:[49, 40, 10], Operations: ['65-55=10'] Exploring Operation: 49-40=9, Resulting Numbers: [10, 9] Generated Node #0,1,0: 22:[10, 9] Operation: 49-40=9 Exploring Operation: 49-10=39, Resulting Numbers: [40, 39] Generated Node #0,1,1: 22:[40, 39] Operation: 49-10=39 Exploring Operation: 40/10=4, Resulting Numbers: [49, 4] Generated Node #0,1,2: 22:[49, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [49, 30] Generated Node #0,1,3: 22:[49, 30] Operation: 40-10=30 Moving to Node #0,0 Current State: 22:[55, 40, 16], Operations: ['65-49=16'] Exploring Operation: 40-16=24, Resulting Numbers: [55, 24] Generated Node #0,0,0: 22:[55, 24] Operation: 40-16=24 Exploring Operation: 55-40=15, Resulting Numbers: [16, 15] Generated Node #0,0,1: 22:[16, 15] Operation: 55-40=15 Exploring Operation: 55+16=71, Resulting Numbers: [40, 71] Generated Node #0,0,2: 22:[40, 71] Operation: 55+16=71 Exploring Operation: 55-16=39, Resulting Numbers: [40, 39] Generated Node #0,0,3: 22:[40, 39] Operation: 55-16=39 Moving to Node #0,3 Current State: 22:[55, 49, 25], Operations: ['65-40=25'] Exploring Operation: 55-25=30, Resulting Numbers: [49, 30] Generated Node #0,3,0: 22:[49, 30] Operation: 55-25=30 Exploring Operation: 49-25=24, Resulting Numbers: [55, 24] Generated Node #0,3,1: 22:[55, 24] Operation: 49-25=24 Exploring Operation: 55-49=6, Resulting Numbers: [25, 6] Generated Node #0,3,2: 22:[25, 6] Operation: 55-49=6 Exploring Operation: 55+49=104, Resulting Numbers: [25, 104] Generated Node #0,3,3: 22:[25, 104] Operation: 55+49=104 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[25, 6], Operations: ['65-40=25', '55-49=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 22:[49, 30], Operations: ['65-40=25', '55-25=30'] Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,22 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 49-30=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,3,1 Current State: 22:[55, 24], Operations: ['65-40=25', '49-25=24'] Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,22 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[25, 104], Operations: ['65-40=25', '55+49=104'] Exploring Operation: 25*104=2600, Resulting Numbers: [2600] 2600,22 unequal: No Solution Exploring Operation: 104-25=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 25+104=129, Resulting Numbers: [129] 129,22 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: 22:[40, 65, 6], Operations: ['55-49=6'] Exploring Operation: 40-6=34, Resulting Numbers: [65, 34] Generated Node #0,2,0: 22:[65, 34] Operation: 40-6=34 Exploring Operation: 40+6=46, Resulting Numbers: [65, 46] Generated Node #0,2,1: 22:[65, 46] Operation: 40+6=46 Exploring Operation: 65-40=25, Resulting Numbers: [6, 25] Generated Node #0,2,2: 22:[6, 25] Operation: 65-40=25 Exploring Operation: 65-6=59, Resulting Numbers: [40, 59] Generated Node #0,2,3: 22:[40, 59] Operation: 65-6=59 Moving to Node #0,1,0 Current State: 22:[10, 9], Operations: ['65-55=10', '49-40=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,22 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[6, 25], Operations: ['55-49=6', '65-40=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[16, 15], Operations: ['65-49=16', '55-40=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,22 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[49, 4], Operations: ['65-55=10', '40/10=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[40, 39], Operations: ['65-55=10', '49-10=39'] Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,22 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[40, 39], Operations: ['65-49=16', '55-16=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,22 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[55, 24], Operations: ['65-49=16', '40-16=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,22 unequal: No Solution Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[49, 30], Operations: ['65-55=10', '40-10=30'] Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,22 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[65, 34], Operations: ['55-49=6', '40-6=34'] Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,22 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[40, 59], Operations: ['55-49=6', '65-6=59'] Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,22 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[65, 46], Operations: ['55-49=6', '40+6=46'] Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,22 unequal: No Solution Exploring Operation: 65*46=2990, Resulting Numbers: [2990] 2990,22 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[40, 71], Operations: ['65-49=16', '55+16=71'] Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,22 unequal: No Solution Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,22 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 80, 72, 85, 67 ]
33
[ "80+85=165", "72-67=5", "165/5=33" ]
Current State: 33:[80, 72, 85, 67], Operations: [] Exploring Operation: 80+85=165, Resulting Numbers: [72, 67, 165] Generated Node #2: [72, 67, 165] from Operation: 80+85=165 Current State: 33:[72, 67, 165], Operations: ['80+85=165'] Exploring Operation: 72-67=5, Resulting Numbers: [165, 5] Generated Node #3: [165, 5] from Operation: 72-67=5 Current State: 33:[165, 5], Operations: ['80+85=165', '72-67=5'] Exploring Operation: 165/5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[80, 72, 85, 67], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [72, 67, 5] Generated Node #0,0: 33:[72, 67, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 33:[72, 67, 5], Operations: ['85-80=5'] Exploring Operation: 72-67=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 33:[5, 5] Operation: 72-67=5 Moving to Node #0,0,0 Current State: 33:[5, 5], Operations: ['85-80=5', '72-67=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,33 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 88, 77, 38, 3 ]
24
[ "88-77=11", "38-3=35", "35-11=24" ]
Current State: 24:[88, 77, 38, 3], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [38, 3, 11] Generated Node #2: [38, 3, 11] from Operation: 88-77=11 Current State: 24:[38, 3, 11], Operations: ['88-77=11'] Exploring Operation: 38-3=35, Resulting Numbers: [11, 35] Generated Node #3: [11, 35] from Operation: 38-3=35 Current State: 24:[11, 35], Operations: ['88-77=11', '38-3=35'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[88, 77, 38, 3], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [38, 3, 11] Generated Node #0,0: 24:[38, 3, 11] Operation: 88-77=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[38, 3, 11], Operations: ['88-77=11'] Exploring Operation: 38-11=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 24:[3, 27] Operation: 38-11=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[3, 27], Operations: ['88-77=11', '38-11=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[88, 77, 38, 3], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [38, 3, 11] Generated Node #0,0: 24:[38, 3, 11] Operation: 88-77=11 Moving to Node #0,0 Current State: 24:[38, 3, 11], Operations: ['88-77=11'] Exploring Operation: 38-11=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 24:[3, 27] Operation: 38-11=27 Moving to Node #0,0,0 Current State: 24:[3, 27], Operations: ['88-77=11', '38-11=27'] Exploring Operation: 27-3=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
[ 20, 24, 21, 37 ]
96
[ "20+21=41", "41-37=4", "24*4=96" ]
Current State: 96:[20, 24, 21, 37], Operations: [] Exploring Operation: 20+21=41, Resulting Numbers: [24, 37, 41] Generated Node #2: [24, 37, 41] from Operation: 20+21=41 Current State: 96:[24, 37, 41], Operations: ['20+21=41'] Exploring Operation: 41-37=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 41-37=4 Current State: 96:[24, 4], Operations: ['20+21=41', '41-37=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[20, 24, 21, 37], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [24, 21, 17] Generated Node #0,0: 96:[24, 21, 17] Operation: 37-20=17 Exploring Operation: 24-20=4, Resulting Numbers: [21, 37, 4] Generated Node #0,1: 96:[21, 37, 4] Operation: 24-20=4 Exploring Operation: 21-20=1, Resulting Numbers: [24, 37, 1] Generated Node #0,2: 96:[24, 37, 1] Operation: 21-20=1 Exploring Operation: 37-21=16, Resulting Numbers: [20, 24, 16] Generated Node #0,3: 96:[20, 24, 16] Operation: 37-21=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[24, 21, 17], Operations: ['37-20=17'] Exploring Operation: 24-17=7, Resulting Numbers: [21, 7] Generated Node #0,0,0: 96:[21, 7] Operation: 24-17=7 Exploring Operation: 24-21=3, Resulting Numbers: [17, 3] Generated Node #0,0,1: 96:[17, 3] Operation: 24-21=3 Exploring Operation: 24+21=45, Resulting Numbers: [17, 45] Generated Node #0,0,2: 96:[17, 45] Operation: 24+21=45 Exploring Operation: 21-17=4, Resulting Numbers: [24, 4] Generated Node #0,0,3: 96:[24, 4] Operation: 21-17=4 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[24, 4], Operations: ['37-20=17', '21-17=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[20, 24, 21, 37], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [24, 21, 17] Generated Node #0,0: 96:[24, 21, 17] Operation: 37-20=17 Moving to Node #0,0 Current State: 96:[24, 21, 17], Operations: ['37-20=17'] Exploring Operation: 21-17=4, Resulting Numbers: [24, 4] Generated Node #0,0,3: 96:[24, 4] Operation: 21-17=4 Moving to Node #0,0,3 Current State: 96:[24, 4], Operations: ['37-20=17', '21-17=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 56, 76, 14, 1 ]
71
[ "56/14=4", "76-1=75", "75-4=71" ]
Current State: 71:[56, 76, 14, 1], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [76, 1, 4] Generated Node #2: [76, 1, 4] from Operation: 56/14=4 Current State: 71:[76, 1, 4], Operations: ['56/14=4'] Exploring Operation: 76-1=75, Resulting Numbers: [4, 75] Generated Node #3: [4, 75] from Operation: 76-1=75 Current State: 71:[4, 75], Operations: ['56/14=4', '76-1=75'] Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[56, 76, 14, 1], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [56, 14, 75] Generated Node #0,0: 71:[56, 14, 75] Operation: 76-1=75 Exploring Operation: 56+14=70, Resulting Numbers: [76, 1, 70] Generated Node #0,1: 71:[76, 1, 70] Operation: 56+14=70 Exploring Operation: 56+1=57, Resulting Numbers: [76, 14, 57] Generated Node #0,2: 71:[76, 14, 57] Operation: 56+1=57 Exploring Operation: 56*1=56, Resulting Numbers: [76, 14, 56] Generated Node #0,3: 71:[76, 14, 56] Operation: 56*1=56 Exploring Operation: 14+1=15, Resulting Numbers: [56, 76, 15] Generated Node #0,4: 71:[56, 76, 15] Operation: 14+1=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[56, 14, 75], Operations: ['76-1=75'] Exploring Operation: 75-14=61, Resulting Numbers: [56, 61] Generated Node #0,0,0: 71:[56, 61] Operation: 75-14=61 Exploring Operation: 14+75=89, Resulting Numbers: [56, 89] Generated Node #0,0,1: 71:[56, 89] Operation: 14+75=89 Exploring Operation: 56+14=70, Resulting Numbers: [75, 70] Generated Node #0,0,2: 71:[75, 70] Operation: 56+14=70 Exploring Operation: 56-14=42, Resulting Numbers: [75, 42] Generated Node #0,0,3: 71:[75, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [75, 4] Generated Node #0,0,4: 71:[75, 4] Operation: 56/14=4 Moving to Node #0,0,2 Current State: 71:[75, 70], Operations: ['76-1=75', '56+14=70'] Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,71 unequal: No Solution Exploring Operation: 75*70=5250, Resulting Numbers: [5250] 5250,71 unequal: No Solution Exploring Operation: 75+70=145, Resulting Numbers: [145] 145,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[56, 61], Operations: ['76-1=75', '75-14=61'] Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,71 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[56, 89], Operations: ['76-1=75', '14+75=89'] Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 56*89=4984, Resulting Numbers: [4984] 4984,71 unequal: No Solution Exploring Operation: 56+89=145, Resulting Numbers: [145] 145,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[75, 42], Operations: ['76-1=75', '56-14=42'] Exploring Operation: 75*42=3150, Resulting Numbers: [3150] 3150,71 unequal: No Solution Exploring Operation: 75+42=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[75, 4], Operations: ['76-1=75', '56/14=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[56, 76, 14, 1], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [56, 14, 75] Generated Node #0,0: 71:[56, 14, 75] Operation: 76-1=75 Moving to Node #0,0 Current State: 71:[56, 14, 75], Operations: ['76-1=75'] Exploring Operation: 56/14=4, Resulting Numbers: [75, 4] Generated Node #0,0,4: 71:[75, 4] Operation: 56/14=4 Moving to Node #0,0,4 Current State: 71:[75, 4], Operations: ['76-1=75', '56/14=4'] Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 99, 13, 72, 83 ]
24
[ "99-13=86", "86-83=3", "72/3=24" ]
Current State: 24:[99, 13, 72, 83], Operations: [] Exploring Operation: 99-13=86, Resulting Numbers: [72, 83, 86] Generated Node #2: [72, 83, 86] from Operation: 99-13=86 Current State: 24:[72, 83, 86], Operations: ['99-13=86'] Exploring Operation: 86-83=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 86-83=3 Current State: 24:[72, 3], Operations: ['99-13=86', '86-83=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[99, 13, 72, 83], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [13, 83, 27] Generated Node #0,0: 24:[13, 83, 27] Operation: 99-72=27 Exploring Operation: 99-13=86, Resulting Numbers: [72, 83, 86] Generated Node #0,1: 24:[72, 83, 86] Operation: 99-13=86 Exploring Operation: 72-13=59, Resulting Numbers: [99, 83, 59] Generated Node #0,2: 24:[99, 83, 59] Operation: 72-13=59 Exploring Operation: 99-83=16, Resulting Numbers: [13, 72, 16] Generated Node #0,3: 24:[13, 72, 16] Operation: 99-83=16 Exploring Operation: 83-72=11, Resulting Numbers: [99, 13, 11] Generated Node #0,4: 24:[99, 13, 11] Operation: 83-72=11 Moving to Node #0,3 Current State: 24:[13, 72, 16], Operations: ['99-83=16'] Exploring Operation: 13+16=29, Resulting Numbers: [72, 29] Generated Node #0,3,0: 24:[72, 29] Operation: 13+16=29 Exploring Operation: 13+72=85, Resulting Numbers: [16, 85] Generated Node #0,3,1: 24:[16, 85] Operation: 13+72=85 Exploring Operation: 16-13=3, Resulting Numbers: [72, 3] Generated Node #0,3,2: 24:[72, 3] Operation: 16-13=3 Exploring Operation: 72-16=56, Resulting Numbers: [13, 56] Generated Node #0,3,3: 24:[13, 56] Operation: 72-16=56 Exploring Operation: 72-13=59, Resulting Numbers: [16, 59] Generated Node #0,3,4: 24:[16, 59] Operation: 72-13=59 Moving to Node #0,0 Current State: 24:[13, 83, 27], Operations: ['99-72=27'] Exploring Operation: 83-13=70, Resulting Numbers: [27, 70] Generated Node #0,0,0: 24:[27, 70] Operation: 83-13=70 Exploring Operation: 13+83=96, Resulting Numbers: [27, 96] Generated Node #0,0,1: 24:[27, 96] Operation: 13+83=96 Exploring Operation: 83-27=56, Resulting Numbers: [13, 56] Generated Node #0,0,2: 24:[13, 56] Operation: 83-27=56 Exploring Operation: 13+27=40, Resulting Numbers: [83, 40] Generated Node #0,0,3: 24:[83, 40] Operation: 13+27=40 Exploring Operation: 27-13=14, Resulting Numbers: [83, 14] Generated Node #0,0,4: 24:[83, 14] Operation: 27-13=14 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[13, 56], Operations: ['99-72=27', '83-27=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,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:[27, 70], Operations: ['99-72=27', '83-13=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,24 unequal: No Solution Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,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:[83, 14], Operations: ['99-72=27', '27-13=14'] Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,24 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,24 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,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:[27, 96], Operations: ['99-72=27', '13+83=96'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,24 unequal: No Solution Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,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:[83, 40], Operations: ['99-72=27', '13+27=40'] Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,24 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,24 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,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:[99, 13, 11], Operations: ['83-72=11'] Exploring Operation: 13-11=2, Resulting Numbers: [99, 2] Generated Node #0,4,0: 24:[99, 2] Operation: 13-11=2 Exploring Operation: 99/11=9, Resulting Numbers: [13, 9] Generated Node #0,4,1: 24:[13, 9] Operation: 99/11=9 Exploring Operation: 13+11=24, Resulting Numbers: [99, 24] Generated Node #0,4,2: 24:[99, 24] Operation: 13+11=24 Exploring Operation: 99-13=86, Resulting Numbers: [11, 86] Generated Node #0,4,3: 24:[11, 86] Operation: 99-13=86 Exploring Operation: 99-11=88, Resulting Numbers: [13, 88] Generated Node #0,4,4: 24:[13, 88] Operation: 99-11=88 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 24:[13, 9], Operations: ['83-72=11', '99/11=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,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:[11, 86], Operations: ['83-72=11', '99-13=86'] Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 11*86=946, Resulting Numbers: [946] 946,24 unequal: No Solution Exploring Operation: 11+86=97, Resulting Numbers: [97] 97,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:[13, 88], Operations: ['83-72=11', '99-11=88'] Exploring Operation: 13+88=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 13*88=1144, Resulting Numbers: [1144] 1144,24 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,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:[99, 2], Operations: ['83-72=11', '13-11=2'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,24 unequal: No Solution Exploring Operation: 99*2=198, Resulting Numbers: [198] 198,24 unequal: No Solution Exploring Operation: 99+2=101, Resulting Numbers: [101] 101,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:[99, 24], Operations: ['83-72=11', '13+11=24'] Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,24 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,24 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,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:[72, 83, 86], Operations: ['99-13=86'] Exploring Operation: 72+83=155, Resulting Numbers: [86, 155] Generated Node #0,1,0: 24:[86, 155] Operation: 72+83=155 Exploring Operation: 72+86=158, Resulting Numbers: [83, 158] Generated Node #0,1,1: 24:[83, 158] Operation: 72+86=158 Exploring Operation: 86-72=14, Resulting Numbers: [83, 14] Generated Node #0,1,2: 24:[83, 14] Operation: 86-72=14 Exploring Operation: 83-72=11, Resulting Numbers: [86, 11] Generated Node #0,1,3: 24:[86, 11] Operation: 83-72=11 Exploring Operation: 86-83=3, Resulting Numbers: [72, 3] Generated Node #0,1,4: 24:[72, 3] Operation: 86-83=3 Moving to Node #0,2 Current State: 24:[99, 83, 59], Operations: ['72-13=59'] Exploring Operation: 99-59=40, Resulting Numbers: [83, 40] Generated Node #0,2,0: 24:[83, 40] Operation: 99-59=40 Exploring Operation: 99-83=16, Resulting Numbers: [59, 16] Generated Node #0,2,1: 24:[59, 16] Operation: 99-83=16 Exploring Operation: 99+83=182, Resulting Numbers: [59, 182] Generated Node #0,2,2: 24:[59, 182] Operation: 99+83=182 Exploring Operation: 83-59=24, Resulting Numbers: [99, 24] Generated Node #0,2,3: 24:[99, 24] Operation: 83-59=24 Exploring Operation: 99+59=158, Resulting Numbers: [83, 158] Generated Node #0,2,4: 24:[83, 158] Operation: 99+59=158 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[59, 16], Operations: ['72-13=59', '99-83=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,24 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,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:[83, 40], Operations: ['72-13=59', '99-59=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,24 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,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:[99, 24], Operations: ['72-13=59', '83-59=24'] Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,24 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,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:[59, 182], Operations: ['72-13=59', '99+83=182'] Exploring Operation: 59+182=241, Resulting Numbers: [241] 241,24 unequal: No Solution Exploring Operation: 59*182=10738, Resulting Numbers: [10738] 10738,24 unequal: No Solution Exploring Operation: 182-59=123, Resulting Numbers: [123] 123,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:[83, 158], Operations: ['72-13=59', '99+59=158'] Exploring Operation: 83+158=241, Resulting Numbers: [241] 241,24 unequal: No Solution Exploring Operation: 83*158=13114, Resulting Numbers: [13114] 13114,24 unequal: No Solution Exploring Operation: 158-83=75, Resulting Numbers: [75] 75,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 24:[13, 56], Operations: ['99-83=16', '72-16=56'] Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,24 unequal: No Solution Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[16, 59], Operations: ['99-83=16', '72-13=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[72, 3], Operations: ['99-83=16', '16-13=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[99, 13, 72, 83], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [13, 72, 16] Generated Node #0,3: 24:[13, 72, 16] Operation: 99-83=16 Moving to Node #0,3 Current State: 24:[13, 72, 16], Operations: ['99-83=16'] Exploring Operation: 16-13=3, Resulting Numbers: [72, 3] Generated Node #0,3,2: 24:[72, 3] Operation: 16-13=3 Moving to Node #0,3,2 Current State: 24:[72, 3], Operations: ['99-83=16', '16-13=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.925347
hs_5
mult_heuristic
[ 95, 4, 34, 38 ]
94
[ "4+34=38", "38/38=1", "95-1=94" ]
Current State: 94:[95, 4, 34, 38], Operations: [] Exploring Operation: 4+34=38, Resulting Numbers: [95, 38, 38] Generated Node #2: [95, 38, 38] from Operation: 4+34=38 Current State: 94:[95, 38, 38], Operations: ['4+34=38'] Exploring Operation: 38/38=1, Resulting Numbers: [95, 1] Generated Node #3: [95, 1] from Operation: 38/38=1 Current State: 94:[95, 1], Operations: ['4+34=38', '38/38=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[95, 4, 34, 38], Operations: [] Exploring Operation: 95-4=91, Resulting Numbers: [34, 38, 91] Generated Node #0,0: 94:[34, 38, 91] Operation: 95-4=91 Exploring Operation: 95-34=61, Resulting Numbers: [4, 38, 61] Generated Node #0,1: 94:[4, 38, 61] Operation: 95-34=61 Exploring Operation: 4+34=38, Resulting Numbers: [95, 38, 38] Generated Node #0,2: 94:[95, 38, 38] Operation: 4+34=38 Exploring Operation: 38-34=4, Resulting Numbers: [95, 4, 4] Generated Node #0,3: 94:[95, 4, 4] Operation: 38-34=4 Exploring Operation: 4+38=42, Resulting Numbers: [95, 34, 42] Generated Node #0,4: 94:[95, 34, 42] Operation: 4+38=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[95, 4, 4], Operations: ['38-34=4'] Exploring Operation: 4/4=1, Resulting Numbers: [95, 1] Generated Node #0,3,0: 94:[95, 1] Operation: 4/4=1 Exploring Operation: 95-4=91, Resulting Numbers: [4, 91] Generated Node #0,3,1: 94:[4, 91] Operation: 95-4=91 Exploring Operation: 4-4=0, Resulting Numbers: [95, 0] Generated Node #0,3,2: 94:[95, 0] Operation: 4-4=0 Exploring Operation: 95+4=99, Resulting Numbers: [4, 99] Generated Node #0,3,3: 94:[4, 99] Operation: 95+4=99 Exploring Operation: 95-4=91, Resulting Numbers: [4, 91] Generated Node #0,3,4: 94:[4, 91] Operation: 95-4=91 Moving to Node #0,3,0 Current State: 94:[95, 1], Operations: ['38-34=4', '4/4=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[95, 4, 34, 38], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [95, 4, 4] Generated Node #0,3: 94:[95, 4, 4] Operation: 38-34=4 Moving to Node #0,3 Current State: 94:[95, 4, 4], Operations: ['38-34=4'] Exploring Operation: 4/4=1, Resulting Numbers: [95, 1] Generated Node #0,3,0: 94:[95, 1] Operation: 4/4=1 Moving to Node #0,3,0 Current State: 94:[95, 1], Operations: ['38-34=4', '4/4=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 84, 80, 36, 16 ]
24
[ "84-80=4", "36-16=20", "4+20=24" ]
Current State: 24:[84, 80, 36, 16], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [36, 16, 4] Generated Node #2: [36, 16, 4] from Operation: 84-80=4 Current State: 24:[36, 16, 4], Operations: ['84-80=4'] Exploring Operation: 36-16=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 36-16=20 Current State: 24:[4, 20], Operations: ['84-80=4', '36-16=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[84, 80, 36, 16], Operations: [] Exploring Operation: 84-36=48, Resulting Numbers: [80, 16, 48] Generated Node #0,0: 24:[80, 16, 48] Operation: 84-36=48 Exploring Operation: 80/16=5, Resulting Numbers: [84, 36, 5] Generated Node #0,1: 24:[84, 36, 5] Operation: 80/16=5 Exploring Operation: 84-80=4, Resulting Numbers: [36, 16, 4] Generated Node #0,2: 24:[36, 16, 4] Operation: 84-80=4 Moving to Node #0,2 Current State: 24:[36, 16, 4], Operations: ['84-80=4'] Exploring Operation: 36/4=9, Resulting Numbers: [16, 9] Generated Node #0,2,0: 24:[16, 9] Operation: 36/4=9 Exploring Operation: 36-4=32, Resulting Numbers: [16, 32] Generated Node #0,2,1: 24:[16, 32] Operation: 36-4=32 Exploring Operation: 36-16=20, Resulting Numbers: [4, 20] Generated Node #0,2,2: 24:[4, 20] Operation: 36-16=20 Moving to Node #0,1 Current State: 24:[84, 36, 5], Operations: ['80/16=5'] Exploring Operation: 84-5=79, Resulting Numbers: [36, 79] Generated Node #0,1,0: 24:[36, 79] Operation: 84-5=79 Exploring Operation: 36-5=31, Resulting Numbers: [84, 31] Generated Node #0,1,1: 24:[84, 31] Operation: 36-5=31 Exploring Operation: 84-36=48, Resulting Numbers: [5, 48] Generated Node #0,1,2: 24:[5, 48] Operation: 84-36=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[5, 48], Operations: ['80/16=5', '84-36=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,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:[36, 79], Operations: ['80/16=5', '84-5=79'] Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,24 unequal: No Solution Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,24 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[84, 31], Operations: ['80/16=5', '36-5=31'] Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,24 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,24 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,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:[80, 16, 48], Operations: ['84-36=48'] Exploring Operation: 80/16=5, Resulting Numbers: [48, 5] Generated Node #0,0,0: 24:[48, 5] Operation: 80/16=5 Exploring Operation: 48/16=3, Resulting Numbers: [80, 3] Generated Node #0,0,1: 24:[80, 3] Operation: 48/16=3 Exploring Operation: 80-48=32, Resulting Numbers: [16, 32] Generated Node #0,0,2: 24:[16, 32] Operation: 80-48=32 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[16, 32], Operations: ['84-36=48', '80-48=32'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 16+32=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,0,0 Current State: 24:[48, 5], Operations: ['84-36=48', '80/16=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,24 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,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:[80, 3], Operations: ['84-36=48', '48/16=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,24 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 24:[4, 20], Operations: ['84-80=4', '36-16=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[84, 80, 36, 16], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [36, 16, 4] Generated Node #0,2: 24:[36, 16, 4] Operation: 84-80=4 Moving to Node #0,2 Current State: 24:[36, 16, 4], Operations: ['84-80=4'] Exploring Operation: 36-16=20, Resulting Numbers: [4, 20] Generated Node #0,2,2: 24:[4, 20] Operation: 36-16=20 Moving to Node #0,2,2 Current State: 24:[4, 20], Operations: ['84-80=4', '36-16=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 67, 21, 2, 40 ]
69
[ "67-40=27", "21*2=42", "27+42=69" ]
Current State: 69:[67, 21, 2, 40], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [21, 2, 27] Generated Node #2: [21, 2, 27] from Operation: 67-40=27 Current State: 69:[21, 2, 27], Operations: ['67-40=27'] Exploring Operation: 21*2=42, Resulting Numbers: [27, 42] Generated Node #3: [27, 42] from Operation: 21*2=42 Current State: 69:[27, 42], Operations: ['67-40=27', '21*2=42'] Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[67, 21, 2, 40], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [21, 2, 27] Generated Node #0,0: 69:[21, 2, 27] Operation: 67-40=27 Moving to Node #0,0 Current State: 69:[21, 2, 27], Operations: ['67-40=27'] Exploring Operation: 21+2=23, Resulting Numbers: [27, 23] Generated Node #0,0,0: 69:[27, 23] Operation: 21+2=23 Moving to Node #0,0,0 Current State: 69:[27, 23], Operations: ['67-40=27', '21+2=23'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 34, 99, 2, 37 ]
31
[ "37-34=3", "99/3=33", "33-2=31" ]
Current State: 31:[34, 99, 2, 37], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [99, 2, 3] Generated Node #2: [99, 2, 3] from Operation: 37-34=3 Current State: 31:[99, 2, 3], Operations: ['37-34=3'] Exploring Operation: 99/3=33, Resulting Numbers: [2, 33] Generated Node #3: [2, 33] from Operation: 99/3=33 Current State: 31:[2, 33], Operations: ['37-34=3', '99/3=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[34, 99, 2, 37], Operations: [] Exploring Operation: 99-37=62, Resulting Numbers: [34, 2, 62] Generated Node #0,0: 31:[34, 2, 62] Operation: 99-37=62 Exploring Operation: 99-34=65, Resulting Numbers: [2, 37, 65] Generated Node #0,1: 31:[2, 37, 65] Operation: 99-34=65 Moving to Node #0,0 Current State: 31:[34, 2, 62], Operations: ['99-37=62'] Exploring Operation: 62/2=31, Resulting Numbers: [34, 31] Generated Node #0,0,0: 31:[34, 31] Operation: 62/2=31 Exploring Operation: 34-2=32, Resulting Numbers: [62, 32] Generated Node #0,0,1: 31:[62, 32] Operation: 34-2=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[34, 31], Operations: ['99-37=62', '62/2=31'] Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[62, 32], Operations: ['99-37=62', '34-2=32'] Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 31:[2, 37, 65], Operations: ['99-34=65'] Exploring Operation: 65-37=28, Resulting Numbers: [2, 28] Generated Node #0,1,0: 31:[2, 28] Operation: 65-37=28 Exploring Operation: 37-2=35, Resulting Numbers: [65, 35] Generated Node #0,1,1: 31:[65, 35] Operation: 37-2=35 Moving to Node #0,1,0 Current State: 31:[2, 28], Operations: ['99-34=65', '65-37=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[65, 35], Operations: ['99-34=65', '37-2=35'] Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,31 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 56, 40, 85, 45 ]
57
[ "85-40=45", "45/45=1", "56+1=57" ]
Current State: 57:[56, 40, 85, 45], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [56, 45, 45] Generated Node #2: [56, 45, 45] from Operation: 85-40=45 Current State: 57:[56, 45, 45], Operations: ['85-40=45'] Exploring Operation: 45/45=1, Resulting Numbers: [56, 1] Generated Node #3: [56, 1] from Operation: 45/45=1 Current State: 57:[56, 1], Operations: ['85-40=45', '45/45=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[56, 40, 85, 45], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [56, 40, 40] Generated Node #0,0: 57:[56, 40, 40] Operation: 85-45=40 Exploring Operation: 85-40=45, Resulting Numbers: [56, 45, 45] Generated Node #0,1: 57:[56, 45, 45] Operation: 85-40=45 Exploring Operation: 45-40=5, Resulting Numbers: [56, 85, 5] Generated Node #0,2: 57:[56, 85, 5] Operation: 45-40=5 Moving to Node #0,1 Current State: 57:[56, 45, 45], Operations: ['85-40=45'] Exploring Operation: 56-45=11, Resulting Numbers: [45, 11] Generated Node #0,1,0: 57:[45, 11] Operation: 56-45=11 Exploring Operation: 45/45=1, Resulting Numbers: [56, 1] Generated Node #0,1,1: 57:[56, 1] Operation: 45/45=1 Exploring Operation: 45-45=0, Resulting Numbers: [56, 0] Generated Node #0,1,2: 57:[56, 0] Operation: 45-45=0 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[56, 1], Operations: ['85-40=45', '45/45=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[56, 40, 85, 45], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [56, 45, 45] Generated Node #0,1: 57:[56, 45, 45] Operation: 85-40=45 Moving to Node #0,1 Current State: 57:[56, 45, 45], Operations: ['85-40=45'] Exploring Operation: 45/45=1, Resulting Numbers: [56, 1] Generated Node #0,1,1: 57:[56, 1] Operation: 45/45=1 Moving to Node #0,1,1 Current State: 57:[56, 1], Operations: ['85-40=45', '45/45=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 9, 49, 24, 27 ]
57
[ "9*24=216", "216/27=8", "49+8=57" ]
Current State: 57:[9, 49, 24, 27], Operations: [] Exploring Operation: 9*24=216, Resulting Numbers: [49, 27, 216] Generated Node #2: [49, 27, 216] from Operation: 9*24=216 Current State: 57:[49, 27, 216], Operations: ['9*24=216'] Exploring Operation: 216/27=8, Resulting Numbers: [49, 8] Generated Node #3: [49, 8] from Operation: 216/27=8 Current State: 57:[49, 8], Operations: ['9*24=216', '216/27=8'] Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[9, 49, 24, 27], Operations: [] Exploring Operation: 9+49=58, Resulting Numbers: [24, 27, 58] Generated Node #0,0: 57:[24, 27, 58] Operation: 9+49=58 Exploring Operation: 27-9=18, Resulting Numbers: [49, 24, 18] Generated Node #0,1: 57:[49, 24, 18] Operation: 27-9=18 Exploring Operation: 49-27=22, Resulting Numbers: [9, 24, 22] Generated Node #0,2: 57:[9, 24, 22] Operation: 49-27=22 Exploring Operation: 27/9=3, Resulting Numbers: [49, 24, 3] Generated Node #0,3: 57:[49, 24, 3] Operation: 27/9=3 Moving to Node #0,3 Current State: 57:[49, 24, 3], Operations: ['27/9=3'] Exploring Operation: 24-3=21, Resulting Numbers: [49, 21] Generated Node #0,3,0: 57:[49, 21] Operation: 24-3=21 Exploring Operation: 24/3=8, Resulting Numbers: [49, 8] Generated Node #0,3,1: 57:[49, 8] Operation: 24/3=8 Exploring Operation: 49+3=52, Resulting Numbers: [24, 52] Generated Node #0,3,2: 57:[24, 52] Operation: 49+3=52 Exploring Operation: 49-24=25, Resulting Numbers: [3, 25] Generated Node #0,3,3: 57:[3, 25] Operation: 49-24=25 Moving to Node #0,1 Current State: 57:[49, 24, 18], Operations: ['27-9=18'] Exploring Operation: 49+24=73, Resulting Numbers: [18, 73] Generated Node #0,1,0: 57:[18, 73] Operation: 49+24=73 Exploring Operation: 49+18=67, Resulting Numbers: [24, 67] Generated Node #0,1,1: 57:[24, 67] Operation: 49+18=67 Exploring Operation: 24-18=6, Resulting Numbers: [49, 6] Generated Node #0,1,2: 57:[49, 6] Operation: 24-18=6 Exploring Operation: 49-24=25, Resulting Numbers: [18, 25] Generated Node #0,1,3: 57:[18, 25] Operation: 49-24=25 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[18, 25], Operations: ['27-9=18', '49-24=25'] Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,57 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[49, 6], Operations: ['27-9=18', '24-18=6'] Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,57 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[24, 67], Operations: ['27-9=18', '49+18=67'] Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[18, 73], Operations: ['27-9=18', '49+24=73'] Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,57 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: 57:[24, 27, 58], Operations: ['9+49=58'] Exploring Operation: 24+27=51, Resulting Numbers: [58, 51] Generated Node #0,0,0: 57:[58, 51] Operation: 24+27=51 Exploring Operation: 27-24=3, Resulting Numbers: [58, 3] Generated Node #0,0,1: 57:[58, 3] Operation: 27-24=3 Exploring Operation: 58-27=31, Resulting Numbers: [24, 31] Generated Node #0,0,2: 57:[24, 31] Operation: 58-27=31 Exploring Operation: 58-24=34, Resulting Numbers: [27, 34] Generated Node #0,0,3: 57:[27, 34] Operation: 58-24=34 Moving to Node #0,2 Current State: 57:[9, 24, 22], Operations: ['49-27=22'] Exploring Operation: 9+24=33, Resulting Numbers: [22, 33] Generated Node #0,2,0: 57:[22, 33] Operation: 9+24=33 Exploring Operation: 24-9=15, Resulting Numbers: [22, 15] Generated Node #0,2,1: 57:[22, 15] Operation: 24-9=15 Exploring Operation: 22-9=13, Resulting Numbers: [24, 13] Generated Node #0,2,2: 57:[24, 13] Operation: 22-9=13 Exploring Operation: 24-22=2, Resulting Numbers: [9, 2] Generated Node #0,2,3: 57:[9, 2] Operation: 24-22=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[22, 15], Operations: ['49-27=22', '24-9=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[9, 2], Operations: ['49-27=22', '24-22=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[24, 13], Operations: ['49-27=22', '22-9=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,57 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[22, 33], Operations: ['49-27=22', '9+24=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 57:[58, 3], Operations: ['9+49=58', '27-24=3'] Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,57 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,57 unequal: No Solution Moving to Node #0,3,3 Current State: 57:[3, 25], Operations: ['27/9=3', '49-24=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[58, 51], Operations: ['9+49=58', '24+27=51'] Exploring Operation: 58+51=109, Resulting Numbers: [109] 109,57 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 58*51=2958, Resulting Numbers: [2958] 2958,57 unequal: No Solution Moving to Node #0,3,2 Current State: 57:[24, 52], Operations: ['27/9=3', '49+3=52'] Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,57 unequal: No Solution Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,57 unequal: No Solution Moving to Node #0,3,0 Current State: 57:[49, 21], Operations: ['27/9=3', '24-3=21'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,57 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,57 unequal: No Solution Moving to Node #0,3,1 Current State: 57:[49, 8], Operations: ['27/9=3', '24/3=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,57 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[9, 49, 24, 27], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [49, 24, 3] Generated Node #0,3: 57:[49, 24, 3] Operation: 27/9=3 Moving to Node #0,3 Current State: 57:[49, 24, 3], Operations: ['27/9=3'] Exploring Operation: 24/3=8, Resulting Numbers: [49, 8] Generated Node #0,3,1: 57:[49, 8] Operation: 24/3=8 Moving to Node #0,3,1 Current State: 57:[49, 8], Operations: ['27/9=3', '24/3=8'] Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.943576
hs_4
sum_heuristic
[ 40, 54, 60, 57 ]
23
[ "40+54=94", "60+57=117", "117-94=23" ]
Current State: 23:[40, 54, 60, 57], Operations: [] Exploring Operation: 40+54=94, Resulting Numbers: [60, 57, 94] Generated Node #2: [60, 57, 94] from Operation: 40+54=94 Current State: 23:[60, 57, 94], Operations: ['40+54=94'] Exploring Operation: 60+57=117, Resulting Numbers: [94, 117] Generated Node #3: [94, 117] from Operation: 60+57=117 Current State: 23:[94, 117], Operations: ['40+54=94', '60+57=117'] Exploring Operation: 117-94=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[40, 54, 60, 57], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [54, 57, 20] Generated Node #0,0: 23:[54, 57, 20] Operation: 60-40=20 Exploring Operation: 60-54=6, Resulting Numbers: [40, 57, 6] Generated Node #0,1: 23:[40, 57, 6] Operation: 60-54=6 Exploring Operation: 60-57=3, Resulting Numbers: [40, 54, 3] Generated Node #0,2: 23:[40, 54, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[54, 57, 20], Operations: ['60-40=20'] Exploring Operation: 57-54=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 23:[20, 3] Operation: 57-54=3 Exploring Operation: 57-20=37, Resulting Numbers: [54, 37] Generated Node #0,0,1: 23:[54, 37] Operation: 57-20=37 Exploring Operation: 54-20=34, Resulting Numbers: [57, 34] Generated Node #0,0,2: 23:[57, 34] Operation: 54-20=34 Moving to Node #0,0,0 Current State: 23:[20, 3], Operations: ['60-40=20', '57-54=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[40, 54, 60, 57], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [54, 57, 20] Generated Node #0,0: 23:[54, 57, 20] Operation: 60-40=20 Moving to Node #0,0 Current State: 23:[54, 57, 20], Operations: ['60-40=20'] Exploring Operation: 57-54=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 23:[20, 3] Operation: 57-54=3 Moving to Node #0,0,0 Current State: 23:[20, 3], Operations: ['60-40=20', '57-54=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 98, 36, 28, 4 ]
74
[ "98-28=70", "36*4=144", "144-70=74" ]
Current State: 74:[98, 36, 28, 4], Operations: [] Exploring Operation: 98-28=70, Resulting Numbers: [36, 4, 70] Generated Node #2: [36, 4, 70] from Operation: 98-28=70 Current State: 74:[36, 4, 70], Operations: ['98-28=70'] Exploring Operation: 36*4=144, Resulting Numbers: [70, 144] Generated Node #3: [70, 144] from Operation: 36*4=144 Current State: 74:[70, 144], Operations: ['98-28=70', '36*4=144'] Exploring Operation: 144-70=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[98, 36, 28, 4], Operations: [] Exploring Operation: 98-28=70, Resulting Numbers: [36, 4, 70] Generated Node #0,0: 74:[36, 4, 70] Operation: 98-28=70 Moving to Node #0,0 Current State: 74:[36, 4, 70], Operations: ['98-28=70'] Exploring Operation: 4+70=74, Resulting Numbers: [36, 74] Generated Node #0,0,0: 74:[36, 74] Operation: 4+70=74 Moving to Node #0,0,0 Current State: 74:[36, 74], Operations: ['98-28=70', '4+70=74'] Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,74 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 48, 17, 11, 6 ]
20
[ "48/6=8", "17+11=28", "28-8=20" ]
Current State: 20:[48, 17, 11, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [17, 11, 8] Generated Node #2: [17, 11, 8] from Operation: 48/6=8 Current State: 20:[17, 11, 8], Operations: ['48/6=8'] Exploring Operation: 17+11=28, Resulting Numbers: [8, 28] Generated Node #3: [8, 28] from Operation: 17+11=28 Current State: 20:[8, 28], Operations: ['48/6=8', '17+11=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[48, 17, 11, 6], Operations: [] Exploring Operation: 48-6=42, Resulting Numbers: [17, 11, 42] Generated Node #0,0: 20:[17, 11, 42] Operation: 48-6=42 Exploring Operation: 48-11=37, Resulting Numbers: [17, 6, 37] Generated Node #0,1: 20:[17, 6, 37] Operation: 48-11=37 Exploring Operation: 48-17=31, Resulting Numbers: [11, 6, 31] Generated Node #0,2: 20:[11, 6, 31] Operation: 48-17=31 Exploring Operation: 48/6=8, Resulting Numbers: [17, 11, 8] Generated Node #0,3: 20:[17, 11, 8] Operation: 48/6=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[17, 11, 8], Operations: ['48/6=8'] Exploring Operation: 17-11=6, Resulting Numbers: [8, 6] Generated Node #0,3,0: 20:[8, 6] Operation: 17-11=6 Exploring Operation: 11+8=19, Resulting Numbers: [17, 19] Generated Node #0,3,1: 20:[17, 19] Operation: 11+8=19 Exploring Operation: 17-8=9, Resulting Numbers: [11, 9] Generated Node #0,3,2: 20:[11, 9] Operation: 17-8=9 Exploring Operation: 11-8=3, Resulting Numbers: [17, 3] Generated Node #0,3,3: 20:[17, 3] Operation: 11-8=3 Moving to Node #0,3,2 Current State: 20:[11, 9], Operations: ['48/6=8', '17-8=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[48, 17, 11, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [17, 11, 8] Generated Node #0,3: 20:[17, 11, 8] Operation: 48/6=8 Moving to Node #0,3 Current State: 20:[17, 11, 8], Operations: ['48/6=8'] Exploring Operation: 17-8=9, Resulting Numbers: [11, 9] Generated Node #0,3,2: 20:[11, 9] Operation: 17-8=9 Moving to Node #0,3,2 Current State: 20:[11, 9], Operations: ['48/6=8', '17-8=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 77, 88, 21, 41 ]
17
[ "88*21=1848", "1848/77=24", "41-24=17" ]
Current State: 17:[77, 88, 21, 41], Operations: [] Exploring Operation: 88*21=1848, Resulting Numbers: [77, 41, 1848] Generated Node #2: [77, 41, 1848] from Operation: 88*21=1848 Current State: 17:[77, 41, 1848], Operations: ['88*21=1848'] Exploring Operation: 1848/77=24, Resulting Numbers: [41, 24] Generated Node #3: [41, 24] from Operation: 1848/77=24 Current State: 17:[41, 24], Operations: ['88*21=1848', '1848/77=24'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[77, 88, 21, 41], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [21, 41, 11] Generated Node #0,0: 17:[21, 41, 11] Operation: 88-77=11 Exploring Operation: 77-41=36, Resulting Numbers: [88, 21, 36] Generated Node #0,1: 17:[88, 21, 36] Operation: 77-41=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[21, 41, 11], Operations: ['88-77=11'] Exploring Operation: 41-21=20, Resulting Numbers: [11, 20] Generated Node #0,0,0: 17:[11, 20] Operation: 41-21=20 Exploring Operation: 41-11=30, Resulting Numbers: [21, 30] Generated Node #0,0,1: 17:[21, 30] Operation: 41-11=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[11, 20], Operations: ['88-77=11', '41-21=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[21, 30], Operations: ['88-77=11', '41-11=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[88, 21, 36], Operations: ['77-41=36'] Exploring Operation: 88-21=67, Resulting Numbers: [36, 67] Generated Node #0,1,0: 17:[36, 67] Operation: 88-21=67 Exploring Operation: 88-36=52, Resulting Numbers: [21, 52] Generated Node #0,1,1: 17:[21, 52] Operation: 88-36=52 Moving to Node #0,1,1 Current State: 17:[21, 52], Operations: ['77-41=36', '88-36=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[36, 67], Operations: ['77-41=36', '88-21=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,17 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
[ 45, 39, 24, 93 ]
97
[ "45-39=6", "24/6=4", "93+4=97" ]
Current State: 97:[45, 39, 24, 93], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [24, 93, 6] Generated Node #2: [24, 93, 6] from Operation: 45-39=6 Current State: 97:[24, 93, 6], Operations: ['45-39=6'] Exploring Operation: 24/6=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 24/6=4 Current State: 97:[93, 4], Operations: ['45-39=6', '24/6=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[45, 39, 24, 93], Operations: [] Exploring Operation: 45+39=84, Resulting Numbers: [24, 93, 84] Generated Node #0,0: 97:[24, 93, 84] Operation: 45+39=84 Exploring Operation: 45+24=69, Resulting Numbers: [39, 93, 69] Generated Node #0,1: 97:[39, 93, 69] Operation: 45+24=69 Exploring Operation: 39+24=63, Resulting Numbers: [45, 93, 63] Generated Node #0,2: 97:[45, 93, 63] Operation: 39+24=63 Moving to Node #0,0 Current State: 97:[24, 93, 84], Operations: ['45+39=84'] Exploring Operation: 93-24=69, Resulting Numbers: [84, 69] Generated Node #0,0,0: 97:[84, 69] Operation: 93-24=69 Exploring Operation: 24+93=117, Resulting Numbers: [84, 117] Generated Node #0,0,1: 97:[84, 117] Operation: 24+93=117 Exploring Operation: 24+84=108, Resulting Numbers: [93, 108] Generated Node #0,0,2: 97:[93, 108] Operation: 24+84=108 Moving to Node #0,1 Current State: 97:[39, 93, 69], Operations: ['45+24=69'] Exploring Operation: 39+69=108, Resulting Numbers: [93, 108] Generated Node #0,1,0: 97:[93, 108] Operation: 39+69=108 Exploring Operation: 93-39=54, Resulting Numbers: [69, 54] Generated Node #0,1,1: 97:[69, 54] Operation: 93-39=54 Exploring Operation: 39+93=132, Resulting Numbers: [69, 132] Generated Node #0,1,2: 97:[69, 132] Operation: 39+93=132 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[93, 108], Operations: ['45+24=69', '39+69=108'] Exploring Operation: 108-93=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 93*108=10044, Resulting Numbers: [10044] 10044,97 unequal: No Solution Exploring Operation: 93+108=201, Resulting Numbers: [201] 201,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[69, 132], Operations: ['45+24=69', '39+93=132'] Exploring Operation: 132-69=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 69+132=201, Resulting Numbers: [201] 201,97 unequal: No Solution Exploring Operation: 69*132=9108, Resulting Numbers: [9108] 9108,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[69, 54], Operations: ['45+24=69', '93-39=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[45, 93, 63], Operations: ['39+24=63'] Exploring Operation: 93-45=48, Resulting Numbers: [63, 48] Generated Node #0,2,0: 97:[63, 48] Operation: 93-45=48 Exploring Operation: 45+63=108, Resulting Numbers: [93, 108] Generated Node #0,2,1: 97:[93, 108] Operation: 45+63=108 Exploring Operation: 45+93=138, Resulting Numbers: [63, 138] Generated Node #0,2,2: 97:[63, 138] Operation: 45+93=138 Moving to Node #0,0,2 Current State: 97:[93, 108], Operations: ['45+39=84', '24+84=108'] Exploring Operation: 108-93=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 93*108=10044, Resulting Numbers: [10044] 10044,97 unequal: No Solution Exploring Operation: 93+108=201, Resulting Numbers: [201] 201,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[93, 108], Operations: ['39+24=63', '45+63=108'] Exploring Operation: 93+108=201, Resulting Numbers: [201] 201,97 unequal: No Solution Exploring Operation: 108-93=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 93*108=10044, Resulting Numbers: [10044] 10044,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[84, 117], Operations: ['45+39=84', '24+93=117'] Exploring Operation: 84*117=9828, Resulting Numbers: [9828] 9828,97 unequal: No Solution Exploring Operation: 84+117=201, Resulting Numbers: [201] 201,97 unequal: No Solution Exploring Operation: 117-84=33, Resulting Numbers: [33] 33,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[84, 69], Operations: ['45+39=84', '93-24=69'] Exploring Operation: 84+69=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 84*69=5796, Resulting Numbers: [5796] 5796,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[63, 138], Operations: ['39+24=63', '45+93=138'] Exploring Operation: 138-63=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 63*138=8694, Resulting Numbers: [8694] 8694,97 unequal: No Solution Exploring Operation: 63+138=201, Resulting Numbers: [201] 201,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[63, 48], Operations: ['39+24=63', '93-45=48'] Exploring Operation: 63+48=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 63*48=3024, Resulting Numbers: [3024] 3024,97 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 68, 61, 81, 9 ]
56
[ "81-68=13", "9*13=117", "117-61=56" ]
Current State: 56:[68, 61, 81, 9], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [61, 9, 13] Generated Node #2: [61, 9, 13] from Operation: 81-68=13 Current State: 56:[61, 9, 13], Operations: ['81-68=13'] Exploring Operation: 9*13=117, Resulting Numbers: [61, 117] Generated Node #3: [61, 117] from Operation: 9*13=117 Current State: 56:[61, 117], Operations: ['81-68=13', '9*13=117'] Exploring Operation: 117-61=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[68, 61, 81, 9], Operations: [] Exploring Operation: 68-61=7, Resulting Numbers: [81, 9, 7] Generated Node #0,0: 56:[81, 9, 7] Operation: 68-61=7 Exploring Operation: 81-61=20, Resulting Numbers: [68, 9, 20] Generated Node #0,1: 56:[68, 9, 20] Operation: 81-61=20 Exploring Operation: 81-68=13, Resulting Numbers: [61, 9, 13] Generated Node #0,2: 56:[61, 9, 13] Operation: 81-68=13 Exploring Operation: 81/9=9, Resulting Numbers: [68, 61, 9] Generated Node #0,3: 56:[68, 61, 9] Operation: 81/9=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[61, 9, 13], Operations: ['81-68=13'] Exploring Operation: 61-9=52, Resulting Numbers: [13, 52] Generated Node #0,2,0: 56:[13, 52] Operation: 61-9=52 Exploring Operation: 61-13=48, Resulting Numbers: [9, 48] Generated Node #0,2,1: 56:[9, 48] Operation: 61-13=48 Exploring Operation: 13-9=4, Resulting Numbers: [61, 4] Generated Node #0,2,2: 56:[61, 4] Operation: 13-9=4 Exploring Operation: 9+13=22, Resulting Numbers: [61, 22] Generated Node #0,2,3: 56:[61, 22] Operation: 9+13=22 Moving to Node #0,2,0 Current State: 56:[13, 52], Operations: ['81-68=13', '61-9=52'] Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 13*52=676, Resulting Numbers: [676] 676,56 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[61, 4], Operations: ['81-68=13', '13-9=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[9, 48], Operations: ['81-68=13', '61-13=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,56 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[61, 22], Operations: ['81-68=13', '9+13=22'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 61+22=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 61*22=1342, Resulting Numbers: [1342] 1342,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[68, 61, 9], Operations: ['81/9=9'] Exploring Operation: 68-9=59, Resulting Numbers: [61, 59] Generated Node #0,3,0: 56:[61, 59] Operation: 68-9=59 Exploring Operation: 68-61=7, Resulting Numbers: [9, 7] Generated Node #0,3,1: 56:[9, 7] Operation: 68-61=7 Exploring Operation: 61-9=52, Resulting Numbers: [68, 52] Generated Node #0,3,2: 56:[68, 52] Operation: 61-9=52 Exploring Operation: 68+9=77, Resulting Numbers: [61, 77] Generated Node #0,3,3: 56:[61, 77] Operation: 68+9=77 Moving to Node #0,3,1 Current State: 56:[9, 7], Operations: ['81/9=9', '68-61=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[61, 59], Operations: ['81/9=9', '68-9=59'] Exploring Operation: 61*59=3599, Resulting Numbers: [3599] 3599,56 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[68, 52], Operations: ['81/9=9', '61-9=52'] Exploring Operation: 68*52=3536, Resulting Numbers: [3536] 3536,56 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[61, 77], Operations: ['81/9=9', '68+9=77'] Exploring Operation: 61+77=138, Resulting Numbers: [138] 138,56 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 61*77=4697, Resulting Numbers: [4697] 4697,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[68, 9, 20], Operations: ['81-61=20'] Exploring Operation: 68-20=48, Resulting Numbers: [9, 48] Generated Node #0,1,0: 56:[9, 48] Operation: 68-20=48 Exploring Operation: 68-9=59, Resulting Numbers: [20, 59] Generated Node #0,1,1: 56:[20, 59] Operation: 68-9=59 Exploring Operation: 9+20=29, Resulting Numbers: [68, 29] Generated Node #0,1,2: 56:[68, 29] Operation: 9+20=29 Exploring Operation: 20-9=11, Resulting Numbers: [68, 11] Generated Node #0,1,3: 56:[68, 11] Operation: 20-9=11 Moving to Node #0,1,0 Current State: 56:[9, 48], Operations: ['81-61=20', '68-20=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[20, 59], Operations: ['81-61=20', '68-9=59'] Exploring Operation: 20*59=1180, Resulting Numbers: [1180] 1180,56 unequal: No Solution Exploring Operation: 20+59=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[68, 29], Operations: ['81-61=20', '9+20=29'] Exploring Operation: 68*29=1972, Resulting Numbers: [1972] 1972,56 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 68+29=97, Resulting Numbers: [97] 97,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[68, 11], Operations: ['81-61=20', '20-9=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,56 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[81, 9, 7], Operations: ['68-61=7'] Exploring Operation: 81-7=74, Resulting Numbers: [9, 74] Generated Node #0,0,0: 56:[9, 74] Operation: 81-7=74 Exploring Operation: 9-7=2, Resulting Numbers: [81, 2] Generated Node #0,0,1: 56:[81, 2] Operation: 9-7=2 Exploring Operation: 81/9=9, Resulting Numbers: [7, 9] Generated Node #0,0,2: 56:[7, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [7, 72] Generated Node #0,0,3: 56:[7, 72] Operation: 81-9=72 Moving to Node #0,0,2 Current State: 56:[7, 9], Operations: ['68-61=7', '81/9=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[7, 72], Operations: ['68-61=7', '81-9=72'] Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,56 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[9, 74], Operations: ['68-61=7', '81-7=74'] Exploring Operation: 9+74=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 9*74=666, Resulting Numbers: [666] 666,56 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[81, 2], Operations: ['68-61=7', '9-7=2'] Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,56 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,56 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
[ 30, 63, 98, 93 ]
99
[ "30+63=93", "93/93=1", "98+1=99" ]
Current State: 99:[30, 63, 98, 93], Operations: [] Exploring Operation: 30+63=93, Resulting Numbers: [98, 93, 93] Generated Node #2: [98, 93, 93] from Operation: 30+63=93 Current State: 99:[98, 93, 93], Operations: ['30+63=93'] Exploring Operation: 93/93=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 93/93=1 Current State: 99:[98, 1], Operations: ['30+63=93', '93/93=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[30, 63, 98, 93], Operations: [] Exploring Operation: 63-30=33, Resulting Numbers: [98, 93, 33] Generated Node #0,0: 99:[98, 93, 33] Operation: 63-30=33 Moving to Node #0,0 Current State: 99:[98, 93, 33], Operations: ['63-30=33'] Exploring Operation: 98-93=5, Resulting Numbers: [33, 5] Generated Node #0,0,0: 99:[33, 5] Operation: 98-93=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[33, 5], Operations: ['63-30=33', '98-93=5'] Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,99 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
[ 35, 32, 14, 66 ]
42
[ "32+66=98", "98/14=7", "35+7=42" ]
Current State: 42:[35, 32, 14, 66], Operations: [] Exploring Operation: 32+66=98, Resulting Numbers: [35, 14, 98] Generated Node #2: [35, 14, 98] from Operation: 32+66=98 Current State: 42:[35, 14, 98], Operations: ['32+66=98'] Exploring Operation: 98/14=7, Resulting Numbers: [35, 7] Generated Node #3: [35, 7] from Operation: 98/14=7 Current State: 42:[35, 7], Operations: ['32+66=98', '98/14=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[35, 32, 14, 66], Operations: [] Exploring Operation: 66-32=34, Resulting Numbers: [35, 14, 34] Generated Node #0,0: 42:[35, 14, 34] Operation: 66-32=34 Exploring Operation: 35-32=3, Resulting Numbers: [14, 66, 3] Generated Node #0,1: 42:[14, 66, 3] Operation: 35-32=3 Exploring Operation: 66-35=31, Resulting Numbers: [32, 14, 31] Generated Node #0,2: 42:[32, 14, 31] Operation: 66-35=31 Exploring Operation: 66-14=52, Resulting Numbers: [35, 32, 52] Generated Node #0,3: 42:[35, 32, 52] Operation: 66-14=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[35, 14, 34], Operations: ['66-32=34'] Exploring Operation: 35-14=21, Resulting Numbers: [34, 21] Generated Node #0,0,0: 42:[34, 21] Operation: 35-14=21 Exploring Operation: 34-14=20, Resulting Numbers: [35, 20] Generated Node #0,0,1: 42:[35, 20] Operation: 34-14=20 Exploring Operation: 14+34=48, Resulting Numbers: [35, 48] Generated Node #0,0,2: 42:[35, 48] Operation: 14+34=48 Exploring Operation: 35-34=1, Resulting Numbers: [14, 1] Generated Node #0,0,3: 42:[14, 1] Operation: 35-34=1 Moving to Node #0,0,3 Current State: 42:[14, 1], Operations: ['66-32=34', '35-34=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[35, 20], Operations: ['66-32=34', '34-14=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[34, 21], Operations: ['66-32=34', '35-14=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,42 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[35, 48], Operations: ['66-32=34', '14+34=48'] Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 35*48=1680, Resulting Numbers: [1680] 1680,42 unequal: No Solution Exploring Operation: 35+48=83, Resulting Numbers: [83] 83,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:[32, 14, 31], Operations: ['66-35=31'] Exploring Operation: 32-14=18, Resulting Numbers: [31, 18] Generated Node #0,2,0: 42:[31, 18] Operation: 32-14=18 Exploring Operation: 32-31=1, Resulting Numbers: [14, 1] Generated Node #0,2,1: 42:[14, 1] Operation: 32-31=1 Exploring Operation: 31-14=17, Resulting Numbers: [32, 17] Generated Node #0,2,2: 42:[32, 17] Operation: 31-14=17 Exploring Operation: 14+31=45, Resulting Numbers: [32, 45] Generated Node #0,2,3: 42:[32, 45] Operation: 14+31=45 Moving to Node #0,2,1 Current State: 42:[14, 1], Operations: ['66-35=31', '32-31=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[32, 17], Operations: ['66-35=31', '31-14=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,42 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[31, 18], Operations: ['66-35=31', '32-14=18'] Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,42 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[32, 45], Operations: ['66-35=31', '14+31=45'] Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,42 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,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:[14, 66, 3], Operations: ['35-32=3'] Exploring Operation: 66-14=52, Resulting Numbers: [3, 52] Generated Node #0,1,0: 42:[3, 52] Operation: 66-14=52 Exploring Operation: 66-3=63, Resulting Numbers: [14, 63] Generated Node #0,1,1: 42:[14, 63] Operation: 66-3=63 Exploring Operation: 66/3=22, Resulting Numbers: [14, 22] Generated Node #0,1,2: 42:[14, 22] Operation: 66/3=22 Exploring Operation: 14*3=42, Resulting Numbers: [66, 42] Generated Node #0,1,3: 42:[66, 42] Operation: 14*3=42 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[14, 22], Operations: ['35-32=3', '66/3=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,42 unequal: No Solution No 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: 42:[3, 52], Operations: ['35-32=3', '66-14=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,42 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,42 unequal: No Solution No 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: 42:[14, 63], Operations: ['35-32=3', '66-3=63'] Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,42 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,42 unequal: No Solution No 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: 42:[66, 42], Operations: ['35-32=3', '14*3=42'] Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,42 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,42 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: 42:[35, 32, 52], Operations: ['66-14=52'] Exploring Operation: 35-32=3, Resulting Numbers: [52, 3] Generated Node #0,3,0: 42:[52, 3] Operation: 35-32=3 Exploring Operation: 52-35=17, Resulting Numbers: [32, 17] Generated Node #0,3,1: 42:[32, 17] Operation: 52-35=17 Exploring Operation: 35+32=67, Resulting Numbers: [52, 67] Generated Node #0,3,2: 42:[52, 67] Operation: 35+32=67 Exploring Operation: 52-32=20, Resulting Numbers: [35, 20] Generated Node #0,3,3: 42:[35, 20] Operation: 52-32=20 Moving to Node #0,3,3 Current State: 42:[35, 20], Operations: ['66-14=52', '52-32=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,42 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[52, 3], Operations: ['66-14=52', '35-32=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,42 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[32, 17], Operations: ['66-14=52', '52-35=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,42 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[52, 67], Operations: ['66-14=52', '35+32=67'] Exploring Operation: 52+67=119, Resulting Numbers: [119] 119,42 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 52*67=3484, Resulting Numbers: [3484] 3484,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
[ 9, 8, 40, 12 ]
15
[ "12-9=3", "40/8=5", "3*5=15" ]
Current State: 15:[9, 8, 40, 12], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [8, 40, 3] Generated Node #2: [8, 40, 3] from Operation: 12-9=3 Current State: 15:[8, 40, 3], Operations: ['12-9=3'] Exploring Operation: 40/8=5, Resulting Numbers: [3, 5] Generated Node #3: [3, 5] from Operation: 40/8=5 Current State: 15:[3, 5], Operations: ['12-9=3', '40/8=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[9, 8, 40, 12], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [9, 12, 5] Generated Node #0,0: 15:[9, 12, 5] Operation: 40/8=5 Moving to Node #0,0 Current State: 15:[9, 12, 5], Operations: ['40/8=5'] Exploring Operation: 12-9=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 15:[5, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[5, 3], Operations: ['40/8=5', '12-9=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[9, 8, 40, 12], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [9, 12, 5] Generated Node #0,0: 15:[9, 12, 5] Operation: 40/8=5 Moving to Node #0,0 Current State: 15:[9, 12, 5], Operations: ['40/8=5'] Exploring Operation: 12-9=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 15:[5, 3] Operation: 12-9=3 Moving to Node #0,0,0 Current State: 15:[5, 3], Operations: ['40/8=5', '12-9=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 48, 54, 65, 70 ]
33
[ "48+54=102", "65+70=135", "135-102=33" ]
Current State: 33:[48, 54, 65, 70], Operations: [] Exploring Operation: 48+54=102, Resulting Numbers: [65, 70, 102] Generated Node #2: [65, 70, 102] from Operation: 48+54=102 Current State: 33:[65, 70, 102], Operations: ['48+54=102'] Exploring Operation: 65+70=135, Resulting Numbers: [102, 135] Generated Node #3: [102, 135] from Operation: 65+70=135 Current State: 33:[102, 135], Operations: ['48+54=102', '65+70=135'] Exploring Operation: 135-102=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[48, 54, 65, 70], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [48, 54, 5] Generated Node #0,0: 33:[48, 54, 5] Operation: 70-65=5 Exploring Operation: 65-54=11, Resulting Numbers: [48, 70, 11] Generated Node #0,1: 33:[48, 70, 11] Operation: 65-54=11 Exploring Operation: 70-48=22, Resulting Numbers: [54, 65, 22] Generated Node #0,2: 33:[54, 65, 22] Operation: 70-48=22 Exploring Operation: 65-48=17, Resulting Numbers: [54, 70, 17] Generated Node #0,3: 33:[54, 70, 17] Operation: 65-48=17 Exploring Operation: 70-54=16, Resulting Numbers: [48, 65, 16] Generated Node #0,4: 33:[48, 65, 16] Operation: 70-54=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[48, 54, 5], Operations: ['70-65=5'] Exploring Operation: 48-5=43, Resulting Numbers: [54, 43] Generated Node #0,0,0: 33:[54, 43] Operation: 48-5=43 Exploring Operation: 48+5=53, Resulting Numbers: [54, 53] Generated Node #0,0,1: 33:[54, 53] Operation: 48+5=53 Exploring Operation: 54+5=59, Resulting Numbers: [48, 59] Generated Node #0,0,2: 33:[48, 59] Operation: 54+5=59 Exploring Operation: 54-5=49, Resulting Numbers: [48, 49] Generated Node #0,0,3: 33:[48, 49] Operation: 54-5=49 Exploring Operation: 54-48=6, Resulting Numbers: [5, 6] Generated Node #0,0,4: 33:[5, 6] Operation: 54-48=6 Moving to Node #0,0,4 Current State: 33:[5, 6], Operations: ['70-65=5', '54-48=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[48, 49], Operations: ['70-65=5', '54-5=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,33 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[54, 43], Operations: ['70-65=5', '48-5=43'] Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,33 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[54, 53], Operations: ['70-65=5', '48+5=53'] Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,33 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[48, 59], Operations: ['70-65=5', '54+5=59'] Exploring Operation: 48*59=2832, Resulting Numbers: [2832] 2832,33 unequal: No Solution Exploring Operation: 48+59=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[48, 70, 11], Operations: ['65-54=11'] Exploring Operation: 48-11=37, Resulting Numbers: [70, 37] Generated Node #0,1,0: 33:[70, 37] Operation: 48-11=37 Exploring Operation: 70-11=59, Resulting Numbers: [48, 59] Generated Node #0,1,1: 33:[48, 59] Operation: 70-11=59 Exploring Operation: 70+11=81, Resulting Numbers: [48, 81] Generated Node #0,1,2: 33:[48, 81] Operation: 70+11=81 Exploring Operation: 70-48=22, Resulting Numbers: [11, 22] Generated Node #0,1,3: 33:[11, 22] Operation: 70-48=22 Exploring Operation: 48+11=59, Resulting Numbers: [70, 59] Generated Node #0,1,4: 33:[70, 59] Operation: 48+11=59 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[11, 22], Operations: ['65-54=11', '70-48=22'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[48, 54, 65, 70], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [48, 70, 11] Generated Node #0,1: 33:[48, 70, 11] Operation: 65-54=11 Moving to Node #0,1 Current State: 33:[48, 70, 11], Operations: ['65-54=11'] Exploring Operation: 70-48=22, Resulting Numbers: [11, 22] Generated Node #0,1,3: 33:[11, 22] Operation: 70-48=22 Moving to Node #0,1,3 Current State: 33:[11, 22], Operations: ['65-54=11', '70-48=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 57, 50, 60, 33 ]
39
[ "60-57=3", "33/3=11", "50-11=39" ]
Current State: 39:[57, 50, 60, 33], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [50, 33, 3] Generated Node #2: [50, 33, 3] from Operation: 60-57=3 Current State: 39:[50, 33, 3], Operations: ['60-57=3'] Exploring Operation: 33/3=11, Resulting Numbers: [50, 11] Generated Node #3: [50, 11] from Operation: 33/3=11 Current State: 39:[50, 11], Operations: ['60-57=3', '33/3=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[57, 50, 60, 33], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [50, 33, 3] Generated Node #0,0: 39:[50, 33, 3] Operation: 60-57=3 Moving to Node #0,0 Current State: 39:[50, 33, 3], Operations: ['60-57=3'] Exploring Operation: 50-33=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 39:[3, 17] Operation: 50-33=17 Moving to Node #0,0,0 Current State: 39:[3, 17], Operations: ['60-57=3', '50-33=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,39 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 58, 16, 78, 2 ]
89
[ "78-16=62", "62/2=31", "58+31=89" ]
Current State: 89:[58, 16, 78, 2], Operations: [] Exploring Operation: 78-16=62, Resulting Numbers: [58, 2, 62] Generated Node #2: [58, 2, 62] from Operation: 78-16=62 Current State: 89:[58, 2, 62], Operations: ['78-16=62'] Exploring Operation: 62/2=31, Resulting Numbers: [58, 31] Generated Node #3: [58, 31] from Operation: 62/2=31 Current State: 89:[58, 31], Operations: ['78-16=62', '62/2=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[58, 16, 78, 2], Operations: [] Exploring Operation: 58*2=116, Resulting Numbers: [16, 78, 116] Generated Node #0,0: 89:[16, 78, 116] Operation: 58*2=116 Exploring Operation: 16*2=32, Resulting Numbers: [58, 78, 32] Generated Node #0,1: 89:[58, 78, 32] Operation: 16*2=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[58, 78, 32], Operations: ['16*2=32'] Exploring Operation: 58+32=90, Resulting Numbers: [78, 90] Generated Node #0,1,0: 89:[78, 90] Operation: 58+32=90 Exploring Operation: 78+32=110, Resulting Numbers: [58, 110] Generated Node #0,1,1: 89:[58, 110] Operation: 78+32=110 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[78, 90], Operations: ['16*2=32', '58+32=90'] Exploring Operation: 78+90=168, Resulting Numbers: [168] 168,89 unequal: No Solution Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,89 unequal: No Solution No 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: 89:[58, 110], Operations: ['16*2=32', '78+32=110'] Exploring Operation: 110-58=52, Resulting Numbers: [52] 52,89 unequal: No Solution Exploring Operation: 58+110=168, Resulting Numbers: [168] 168,89 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: 89:[16, 78, 116], Operations: ['58*2=116'] Exploring Operation: 16+78=94, Resulting Numbers: [116, 94] Generated Node #0,0,0: 89:[116, 94] Operation: 16+78=94 Exploring Operation: 116-16=100, Resulting Numbers: [78, 100] Generated Node #0,0,1: 89:[78, 100] Operation: 116-16=100 Moving to Node #0,0,1 Current State: 89:[78, 100], Operations: ['58*2=116', '116-16=100'] Exploring Operation: 100-78=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 78+100=178, Resulting Numbers: [178] 178,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[116, 94], Operations: ['58*2=116', '16+78=94'] Exploring Operation: 116-94=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 116+94=210, Resulting Numbers: [210] 210,89 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
[ 13, 41, 21, 16 ]
17
[ "13+41=54", "21+16=37", "54-37=17" ]
Current State: 17:[13, 41, 21, 16], Operations: [] Exploring Operation: 13+41=54, Resulting Numbers: [21, 16, 54] Generated Node #2: [21, 16, 54] from Operation: 13+41=54 Current State: 17:[21, 16, 54], Operations: ['13+41=54'] Exploring Operation: 21+16=37, Resulting Numbers: [54, 37] Generated Node #3: [54, 37] from Operation: 21+16=37 Current State: 17:[54, 37], Operations: ['13+41=54', '21+16=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[13, 41, 21, 16], Operations: [] Exploring Operation: 41-13=28, Resulting Numbers: [21, 16, 28] Generated Node #0,0: 17:[21, 16, 28] Operation: 41-13=28 Exploring Operation: 41-21=20, Resulting Numbers: [13, 16, 20] Generated Node #0,1: 17:[13, 16, 20] Operation: 41-21=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[13, 16, 20], Operations: ['41-21=20'] Exploring Operation: 20-13=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 17:[16, 7] Operation: 20-13=7 Exploring Operation: 13+16=29, Resulting Numbers: [20, 29] Generated Node #0,1,1: 17:[20, 29] Operation: 13+16=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[16, 7], Operations: ['41-21=20', '20-13=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[20, 29], Operations: ['41-21=20', '13+16=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[21, 16, 28], Operations: ['41-13=28'] Exploring Operation: 28-21=7, Resulting Numbers: [16, 7] Generated Node #0,0,0: 17:[16, 7] Operation: 28-21=7 Exploring Operation: 28-16=12, Resulting Numbers: [21, 12] Generated Node #0,0,1: 17:[21, 12] Operation: 28-16=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[21, 12], Operations: ['41-13=28', '28-16=12'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[16, 7], Operations: ['41-13=28', '28-21=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 11, 55, 74, 52 ]
82
[ "55-11=44", "74+52=126", "126-44=82" ]
Current State: 82:[11, 55, 74, 52], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [74, 52, 44] Generated Node #2: [74, 52, 44] from Operation: 55-11=44 Current State: 82:[74, 52, 44], Operations: ['55-11=44'] Exploring Operation: 74+52=126, Resulting Numbers: [44, 126] Generated Node #3: [44, 126] from Operation: 74+52=126 Current State: 82:[44, 126], Operations: ['55-11=44', '74+52=126'] Exploring Operation: 126-44=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[11, 55, 74, 52], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [74, 52, 5] Generated Node #0,0: 82:[74, 52, 5] Operation: 55/11=5 Exploring Operation: 55-52=3, Resulting Numbers: [11, 74, 3] Generated Node #0,1: 82:[11, 74, 3] Operation: 55-52=3 Exploring Operation: 55-11=44, Resulting Numbers: [74, 52, 44] Generated Node #0,2: 82:[74, 52, 44] Operation: 55-11=44 Exploring Operation: 52-11=41, Resulting Numbers: [55, 74, 41] Generated Node #0,3: 82:[55, 74, 41] Operation: 52-11=41 Moving to Node #0,1 Current State: 82:[11, 74, 3], Operations: ['55-52=3'] Exploring Operation: 11-3=8, Resulting Numbers: [74, 8] Generated Node #0,1,0: 82:[74, 8] Operation: 11-3=8 Exploring Operation: 11*3=33, Resulting Numbers: [74, 33] Generated Node #0,1,1: 82:[74, 33] Operation: 11*3=33 Exploring Operation: 11+74=85, Resulting Numbers: [3, 85] Generated Node #0,1,2: 82:[3, 85] Operation: 11+74=85 Exploring Operation: 74+3=77, Resulting Numbers: [11, 77] Generated Node #0,1,3: 82:[11, 77] Operation: 74+3=77 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[3, 85], Operations: ['55-52=3', '11+74=85'] Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,82 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[11, 55, 74, 52], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [11, 74, 3] Generated Node #0,1: 82:[11, 74, 3] Operation: 55-52=3 Moving to Node #0,1 Current State: 82:[11, 74, 3], Operations: ['55-52=3'] Exploring Operation: 11+74=85, Resulting Numbers: [3, 85] Generated Node #0,1,2: 82:[3, 85] Operation: 11+74=85 Moving to Node #0,1,2 Current State: 82:[3, 85], Operations: ['55-52=3', '11+74=85'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 30, 19, 91, 4 ]
12
[ "91-19=72", "72/4=18", "30-18=12" ]
Current State: 12:[30, 19, 91, 4], Operations: [] Exploring Operation: 91-19=72, Resulting Numbers: [30, 4, 72] Generated Node #2: [30, 4, 72] from Operation: 91-19=72 Current State: 12:[30, 4, 72], Operations: ['91-19=72'] Exploring Operation: 72/4=18, Resulting Numbers: [30, 18] Generated Node #3: [30, 18] from Operation: 72/4=18 Current State: 12:[30, 18], Operations: ['91-19=72', '72/4=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[30, 19, 91, 4], Operations: [] Exploring Operation: 91-30=61, Resulting Numbers: [19, 4, 61] Generated Node #0,0: 12:[19, 4, 61] Operation: 91-30=61 Exploring Operation: 19-4=15, Resulting Numbers: [30, 91, 15] Generated Node #0,1: 12:[30, 91, 15] Operation: 19-4=15 Exploring Operation: 91-19=72, Resulting Numbers: [30, 4, 72] Generated Node #0,2: 12:[30, 4, 72] Operation: 91-19=72 Exploring Operation: 30-4=26, Resulting Numbers: [19, 91, 26] Generated Node #0,3: 12:[19, 91, 26] Operation: 30-4=26 Exploring Operation: 30-19=11, Resulting Numbers: [91, 4, 11] Generated Node #0,4: 12:[91, 4, 11] Operation: 30-19=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[19, 4, 61], Operations: ['91-30=61'] Exploring Operation: 4+61=65, Resulting Numbers: [19, 65] Generated Node #0,0,0: 12:[19, 65] Operation: 4+61=65 Exploring Operation: 19+4=23, Resulting Numbers: [61, 23] Generated Node #0,0,1: 12:[61, 23] Operation: 19+4=23 Exploring Operation: 61-4=57, Resulting Numbers: [19, 57] Generated Node #0,0,2: 12:[19, 57] Operation: 61-4=57 Exploring Operation: 61-19=42, Resulting Numbers: [4, 42] Generated Node #0,0,3: 12:[4, 42] Operation: 61-19=42 Exploring Operation: 19-4=15, Resulting Numbers: [61, 15] Generated Node #0,0,4: 12:[61, 15] Operation: 19-4=15 Moving to Node #0,0,3 Current State: 12:[4, 42], Operations: ['91-30=61', '61-19=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,12 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[61, 15], Operations: ['91-30=61', '19-4=15'] Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,12 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[19, 57], Operations: ['91-30=61', '61-4=57'] Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 19*57=1083, Resulting Numbers: [1083] 1083,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[19, 65], Operations: ['91-30=61', '4+61=65'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,12 unequal: No Solution Exploring Operation: 19*65=1235, Resulting Numbers: [1235] 1235,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[61, 23], Operations: ['91-30=61', '19+4=23'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,12 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[30, 4, 72], Operations: ['91-19=72'] Exploring Operation: 72-30=42, Resulting Numbers: [4, 42] Generated Node #0,2,0: 12:[4, 42] Operation: 72-30=42 Exploring Operation: 72/4=18, Resulting Numbers: [30, 18] Generated Node #0,2,1: 12:[30, 18] Operation: 72/4=18 Exploring Operation: 72-4=68, Resulting Numbers: [30, 68] Generated Node #0,2,2: 12:[30, 68] Operation: 72-4=68 Exploring Operation: 30-4=26, Resulting Numbers: [72, 26] Generated Node #0,2,3: 12:[72, 26] Operation: 30-4=26 Exploring Operation: 30+4=34, Resulting Numbers: [72, 34] Generated Node #0,2,4: 12:[72, 34] Operation: 30+4=34 Moving to Node #0,2,1 Current State: 12:[30, 18], Operations: ['91-19=72', '72/4=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[30, 19, 91, 4], Operations: [] Exploring Operation: 91-19=72, Resulting Numbers: [30, 4, 72] Generated Node #0,2: 12:[30, 4, 72] Operation: 91-19=72 Moving to Node #0,2 Current State: 12:[30, 4, 72], Operations: ['91-19=72'] Exploring Operation: 72/4=18, Resulting Numbers: [30, 18] Generated Node #0,2,1: 12:[30, 18] Operation: 72/4=18 Moving to Node #0,2,1 Current State: 12:[30, 18], Operations: ['91-19=72', '72/4=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 68, 64, 20, 4 ]
64
[ "68-64=4", "20-4=16", "4*16=64" ]
Current State: 64:[68, 64, 20, 4], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [20, 4, 4] Generated Node #2: [20, 4, 4] from Operation: 68-64=4 Current State: 64:[20, 4, 4], Operations: ['68-64=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,64 equal: Goal Reached Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[68, 64, 20, 4], Operations: [] Exploring Operation: 20-4=16, Resulting Numbers: [68, 64, 16] Generated Node #0,0: 64:[68, 64, 16] Operation: 20-4=16 Exploring Operation: 68-4=64, Resulting Numbers: [64, 20, 64] Generated Node #0,1: 64:[64, 20, 64] Operation: 68-4=64 Exploring Operation: 68-64=4, Resulting Numbers: [20, 4, 4] Generated Node #0,2: 64:[20, 4, 4] Operation: 68-64=4 Moving to Node #0,0 Current State: 64:[68, 64, 16], Operations: ['20-4=16'] Exploring Operation: 68-16=52, Resulting Numbers: [64, 52] Generated Node #0,0,0: 64:[64, 52] Operation: 68-16=52 Exploring Operation: 68-64=4, Resulting Numbers: [16, 4] Generated Node #0,0,1: 64:[16, 4] Operation: 68-64=4 Exploring Operation: 64/16=4, Resulting Numbers: [68, 4] Generated Node #0,0,2: 64:[68, 4] Operation: 64/16=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[16, 4], Operations: ['20-4=16', '68-64=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[68, 64, 20, 4], Operations: [] Exploring Operation: 20-4=16, Resulting Numbers: [68, 64, 16] Generated Node #0,0: 64:[68, 64, 16] Operation: 20-4=16 Moving to Node #0,0 Current State: 64:[68, 64, 16], Operations: ['20-4=16'] Exploring Operation: 68-64=4, Resulting Numbers: [16, 4] Generated Node #0,0,1: 64:[16, 4] Operation: 68-64=4 Moving to Node #0,0,1 Current State: 64:[16, 4], Operations: ['20-4=16', '68-64=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 61, 85, 29, 60 ]
66
[ "85+60=145", "145/29=5", "61+5=66" ]
Current State: 66:[61, 85, 29, 60], Operations: [] Exploring Operation: 85+60=145, Resulting Numbers: [61, 29, 145] Generated Node #2: [61, 29, 145] from Operation: 85+60=145 Current State: 66:[61, 29, 145], Operations: ['85+60=145'] Exploring Operation: 145/29=5, Resulting Numbers: [61, 5] Generated Node #3: [61, 5] from Operation: 145/29=5 Current State: 66:[61, 5], Operations: ['85+60=145', '145/29=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[61, 85, 29, 60], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [61, 29, 25] Generated Node #0,0: 66:[61, 29, 25] Operation: 85-60=25 Exploring Operation: 85-61=24, Resulting Numbers: [29, 60, 24] Generated Node #0,1: 66:[29, 60, 24] Operation: 85-61=24 Exploring Operation: 85-29=56, Resulting Numbers: [61, 60, 56] Generated Node #0,2: 66:[61, 60, 56] Operation: 85-29=56 Moving to Node #0,0 Current State: 66:[61, 29, 25], Operations: ['85-60=25'] Exploring Operation: 61-29=32, Resulting Numbers: [25, 32] Generated Node #0,0,0: 66:[25, 32] Operation: 61-29=32 Exploring Operation: 61-25=36, Resulting Numbers: [29, 36] Generated Node #0,0,1: 66:[29, 36] Operation: 61-25=36 Exploring Operation: 29-25=4, Resulting Numbers: [61, 4] Generated Node #0,0,2: 66:[61, 4] Operation: 29-25=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[25, 32], Operations: ['85-60=25', '61-29=32'] Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,66 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,66 unequal: No Solution Exploring Operation: 32-25=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,0,2 Current State: 66:[61, 4], Operations: ['85-60=25', '29-25=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,66 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,66 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,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,1 Current State: 66:[29, 36], Operations: ['85-60=25', '61-25=36'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,66 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,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:[29, 60, 24], Operations: ['85-61=24'] Exploring Operation: 29-24=5, Resulting Numbers: [60, 5] Generated Node #0,1,0: 66:[60, 5] Operation: 29-24=5 Exploring Operation: 60-24=36, Resulting Numbers: [29, 36] Generated Node #0,1,1: 66:[29, 36] Operation: 60-24=36 Exploring Operation: 60-29=31, Resulting Numbers: [24, 31] Generated Node #0,1,2: 66:[24, 31] Operation: 60-29=31 Moving to Node #0,2 Current State: 66:[61, 60, 56], Operations: ['85-29=56'] Exploring Operation: 61-60=1, Resulting Numbers: [56, 1] Generated Node #0,2,0: 66:[56, 1] Operation: 61-60=1 Exploring Operation: 61-56=5, Resulting Numbers: [60, 5] Generated Node #0,2,1: 66:[60, 5] Operation: 61-56=5 Exploring Operation: 60-56=4, Resulting Numbers: [61, 4] Generated Node #0,2,2: 66:[61, 4] Operation: 60-56=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[61, 4], Operations: ['85-29=56', '60-56=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,66 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,66 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[60, 5], Operations: ['85-29=56', '61-56=5'] Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[56, 1], Operations: ['85-29=56', '61-60=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,66 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 66:[24, 31], Operations: ['85-61=24', '60-29=31'] Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,66 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[60, 5], Operations: ['85-61=24', '29-24=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[29, 36], Operations: ['85-61=24', '60-24=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,66 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 95, 83, 17, 14 ]
60
[ "95+83=178", "17*14=238", "238-178=60" ]
Current State: 60:[95, 83, 17, 14], Operations: [] Exploring Operation: 95+83=178, Resulting Numbers: [17, 14, 178] Generated Node #2: [17, 14, 178] from Operation: 95+83=178 Current State: 60:[17, 14, 178], Operations: ['95+83=178'] Exploring Operation: 17*14=238, Resulting Numbers: [178, 238] Generated Node #3: [178, 238] from Operation: 17*14=238 Current State: 60:[178, 238], Operations: ['95+83=178', '17*14=238'] Exploring Operation: 238-178=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[95, 83, 17, 14], Operations: [] Exploring Operation: 95-83=12, Resulting Numbers: [17, 14, 12] Generated Node #0,0: 60:[17, 14, 12] Operation: 95-83=12 Exploring Operation: 95-17=78, Resulting Numbers: [83, 14, 78] Generated Node #0,1: 60:[83, 14, 78] Operation: 95-17=78 Moving to Node #0,0 Current State: 60:[17, 14, 12], Operations: ['95-83=12'] Exploring Operation: 17+14=31, Resulting Numbers: [12, 31] Generated Node #0,0,0: 60:[12, 31] Operation: 17+14=31 Exploring Operation: 17-14=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 60:[12, 3] Operation: 17-14=3 Moving to Node #0,1 Current State: 60:[83, 14, 78], Operations: ['95-17=78'] Exploring Operation: 83-78=5, Resulting Numbers: [14, 5] Generated Node #0,1,0: 60:[14, 5] Operation: 83-78=5 Exploring Operation: 83-14=69, Resulting Numbers: [78, 69] Generated Node #0,1,1: 60:[78, 69] Operation: 83-14=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[14, 5], Operations: ['95-17=78', '83-78=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[78, 69], Operations: ['95-17=78', '83-14=69'] Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,60 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 60:[12, 3], Operations: ['95-83=12', '17-14=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[12, 31], Operations: ['95-83=12', '17+14=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,60 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 35, 51, 40, 80 ]
67
[ "40-35=5", "80/5=16", "51+16=67" ]
Current State: 67:[35, 51, 40, 80], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [51, 80, 5] Generated Node #2: [51, 80, 5] from Operation: 40-35=5 Current State: 67:[51, 80, 5], Operations: ['40-35=5'] Exploring Operation: 80/5=16, Resulting Numbers: [51, 16] Generated Node #3: [51, 16] from Operation: 80/5=16 Current State: 67:[51, 16], Operations: ['40-35=5', '80/5=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[35, 51, 40, 80], Operations: [] Exploring Operation: 35+40=75, Resulting Numbers: [51, 80, 75] Generated Node #0,0: 67:[51, 80, 75] Operation: 35+40=75 Exploring Operation: 35+51=86, Resulting Numbers: [40, 80, 86] Generated Node #0,1: 67:[40, 80, 86] Operation: 35+51=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[51, 80, 75], Operations: ['35+40=75'] Exploring Operation: 75-51=24, Resulting Numbers: [80, 24] Generated Node #0,0,0: 67:[80, 24] Operation: 75-51=24 Exploring Operation: 80-51=29, Resulting Numbers: [75, 29] Generated Node #0,0,1: 67:[75, 29] Operation: 80-51=29 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[75, 29], Operations: ['35+40=75', '80-51=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,67 unequal: No Solution No 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: 67:[80, 24], Operations: ['35+40=75', '75-51=24'] Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,67 unequal: No Solution Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,67 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: 67:[40, 80, 86], Operations: ['35+51=86'] Exploring Operation: 86-40=46, Resulting Numbers: [80, 46] Generated Node #0,1,0: 67:[80, 46] Operation: 86-40=46 Exploring Operation: 80-40=40, Resulting Numbers: [86, 40] Generated Node #0,1,1: 67:[86, 40] Operation: 80-40=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[80, 46], Operations: ['35+51=86', '86-40=46'] Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 80+46=126, Resulting Numbers: [126] 126,67 unequal: No Solution No 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: 67:[86, 40], Operations: ['35+51=86', '80-40=40'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,67 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
[ 48, 64, 94, 72 ]
38
[ "64-48=16", "94-72=22", "16+22=38" ]
Current State: 38:[48, 64, 94, 72], Operations: [] Exploring Operation: 64-48=16, Resulting Numbers: [94, 72, 16] Generated Node #2: [94, 72, 16] from Operation: 64-48=16 Current State: 38:[94, 72, 16], Operations: ['64-48=16'] Exploring Operation: 94-72=22, Resulting Numbers: [16, 22] Generated Node #3: [16, 22] from Operation: 94-72=22 Current State: 38:[16, 22], Operations: ['64-48=16', '94-72=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[48, 64, 94, 72], Operations: [] Exploring Operation: 94-48=46, Resulting Numbers: [64, 72, 46] Generated Node #0,0: 38:[64, 72, 46] Operation: 94-48=46 Exploring Operation: 94-72=22, Resulting Numbers: [48, 64, 22] Generated Node #0,1: 38:[48, 64, 22] Operation: 94-72=22 Exploring Operation: 94-64=30, Resulting Numbers: [48, 72, 30] Generated Node #0,2: 38:[48, 72, 30] Operation: 94-64=30 Moving to Node #0,1 Current State: 38:[48, 64, 22], Operations: ['94-72=22'] Exploring Operation: 64-22=42, Resulting Numbers: [48, 42] Generated Node #0,1,0: 38:[48, 42] Operation: 64-22=42 Exploring Operation: 64-48=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 38:[22, 16] Operation: 64-48=16 Exploring Operation: 48-22=26, Resulting Numbers: [64, 26] Generated Node #0,1,2: 38:[64, 26] Operation: 48-22=26 Moving to Node #0,2 Current State: 38:[48, 72, 30], Operations: ['94-64=30'] Exploring Operation: 72-48=24, Resulting Numbers: [30, 24] Generated Node #0,2,0: 38:[30, 24] Operation: 72-48=24 Exploring Operation: 48-30=18, Resulting Numbers: [72, 18] Generated Node #0,2,1: 38:[72, 18] Operation: 48-30=18 Exploring Operation: 72-30=42, Resulting Numbers: [48, 42] Generated Node #0,2,2: 38:[48, 42] Operation: 72-30=42 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[30, 24], Operations: ['94-64=30', '72-48=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,38 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[48, 42], Operations: ['94-64=30', '72-30=42'] Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[72, 18], Operations: ['94-64=30', '48-30=18'] Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,38 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: 38:[64, 72, 46], Operations: ['94-48=46'] Exploring Operation: 72-46=26, Resulting Numbers: [64, 26] Generated Node #0,0,0: 38:[64, 26] Operation: 72-46=26 Exploring Operation: 64-46=18, Resulting Numbers: [72, 18] Generated Node #0,0,1: 38:[72, 18] Operation: 64-46=18 Exploring Operation: 72-64=8, Resulting Numbers: [46, 8] Generated Node #0,0,2: 38:[46, 8] Operation: 72-64=8 Moving to Node #0,1,1 Current State: 38:[22, 16], Operations: ['94-72=22', '64-48=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[48, 64, 94, 72], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [48, 64, 22] Generated Node #0,1: 38:[48, 64, 22] Operation: 94-72=22 Moving to Node #0,1 Current State: 38:[48, 64, 22], Operations: ['94-72=22'] Exploring Operation: 64-48=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 38:[22, 16] Operation: 64-48=16 Moving to Node #0,1,1 Current State: 38:[22, 16], Operations: ['94-72=22', '64-48=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.977431
hs_3
sum_heuristic